diff --git a/app/Models/Device.php b/app/Models/Device.php index 96cdc756c1..cf539ec7b4 100644 --- a/app/Models/Device.php +++ b/app/Models/Device.php @@ -464,6 +464,17 @@ class Device extends BaseModel ]); } + public function scopeWhereAttributeDisabled(Builder $query, string $attribute): Builder + { + return $query->leftJoin('devices_attribs', function (JoinClause $query) use ($attribute) { + $query->on('devices.device_id', 'devices_attribs.device_id') + ->where('devices_attribs.attrib_type', $attribute); + })->where(function (Builder $query) { + $query->whereNull('devices_attribs.attrib_value') + ->orWhere('devices_attribs.attrib_value', '!=', 'true'); + }); + } + public function scopeWhereUptime($query, $uptime, $modifier = '<') { return $query->where([ @@ -472,17 +483,9 @@ class Device extends BaseModel ]); } - public function scopeCanPing(Builder $query) + public function scopeCanPing(Builder $query): Builder { - return $query->where('disabled', 0) - ->leftJoin('devices_attribs', function (JoinClause $query) { - $query->on('devices.device_id', 'devices_attribs.device_id') - ->where('devices_attribs.attrib_type', 'override_icmp_disable'); - }) - ->where(function (Builder $query) { - $query->whereNull('devices_attribs.attrib_value') - ->orWhere('devices_attribs.attrib_value', '!=', 'true'); - }); + return $this->scopeWhereAttributeDisabled($query->where('disabled', 0), 'override_icmp_disable'); } public function scopeHasAccess($query, User $user) diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 469563db3c..6b896c7692 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -143,11 +143,24 @@ class AppServiceProvider extends ServiceProvider $ip = substr($value, 0, strpos($value, '/') ?: strlen($value)); // allow prefixes too return IP::isValid($ip) || Validate::hostname($value); - }, __('The :attribute must a valid IP address/network or hostname.')); + }); Validator::extend('is_regex', function ($attribute, $value) { return @preg_match($value, '') !== false; - }, __(':attribute is not a valid regular expression')); + }); + + Validator::extend('keys_in', function ($attribute, $value, $parameters, $validator) { + $extra_keys = is_array($value) ? array_diff(array_keys($value), $parameters) : []; + + $validator->addReplacer('keys_in', function ($message, $attribute, $rule, $parameters) use ($extra_keys) { + return str_replace( + [':extra', ':values'], + [implode(',', $extra_keys), implode(',', $parameters)], + $message); + }); + + return is_array($value) && empty($extra_keys); + }); Validator::extend('zero_or_exists', function ($attribute, $value, $parameters, $validator) { if ($value === 0) { @@ -157,6 +170,6 @@ class AppServiceProvider extends ServiceProvider $validator = Validator::make([$attribute => $value], [$attribute => 'exists:' . implode(',', $parameters)]); return $validator->passes(); - }, __('validation.exists')); + }, trans('validation.exists')); } } diff --git a/doc/Extensions/Oxidized.md b/doc/Extensions/Oxidized.md index 7d558fd1bd..32ecd6e680 100644 --- a/doc/Extensions/Oxidized.md +++ b/doc/Extensions/Oxidized.md @@ -33,16 +33,16 @@ working Oxidized setup which is already taking config snapshots for your devices. When you have that, you only need the following config to enable the display of device configs within the device page itself: -```php -$config['oxidized']['enabled'] = TRUE; -$config['oxidized']['url'] = 'http://127.0.0.1:8888'; +```bash +lnms config:set oxidized.enabled true +lnms config:set oxidized.url http://127.0.0.1:8888 ``` LibreNMS supports config versioning if Oxidized does. This is known to work with the git output module. -```php -$config['oxidized']['features']['versioning'] = true; +```bash +lnms config:set oxidized.features.versioning true ``` Oxidized supports various ways to utilise credentials to login to @@ -52,14 +52,14 @@ supports sending groups back to Oxidized so that you can then define group credentials within Oxidized. To enable this support please switch on 'Enable the return of groups to Oxidized': -```php -$config['oxidized']['group_support'] = true; +```bash +lnms config:set oxidized.group_support true ``` You can set a default group that devices will fall back to with: -```php -$config['oxidized']['default_group'] = 'default'; +```bash +lnms config:set oxidized.default_group default ``` # SELinux @@ -101,11 +101,10 @@ time. LibreNMS is able to reload the Oxidized list of nodes, each time a device is added to LibreNMS. To do so, edit the option in Global Settings>External Settings>Oxidized Integration or add the following -to your config.php. - -```php -$config['oxidized']['reload_nodes'] = true; +to your config. +```bash +lnms config:set oxidized.reload_nodes true ``` # Creating overrides @@ -121,38 +120,56 @@ Matching of hosts can be done using `hostname`, `sysname`, `os`, key and value, or a 'regex' key and value. The order of matching is: - `hostname` -- `sysname` +- `sysName` - `sysDescr` - `hardware` - `os` - `location` - `ip` -To match on the device hostnames or sysnames that contain 'lon-sw' or -if the location contains 'London' then you would place the following -within config.php: +To match on the device hostnames or sysNames that contain 'lon-sw' or +if the location contains 'London' then you would set the following: -```php -$config['oxidized']['maps']['group']['hostname'][] = array('regex' => '/^lon-sw/', 'group' => 'london-switches'); -$config['oxidized']['maps']['group']['sysname'][] = array('regex' => '/^lon-sw/', 'group' => 'london-switches'); -$config['oxidized']['maps']['group']['location'][] = array('regex' => '/london/', 'group' => 'london-switches'); +```bash +lnms config:set oxidized.maps.group.hostname.+ '{"regex": "/^lon-sw/", "value": "london-switches"}' +lnms config:set oxidized.maps.group.sysName.+ '{"regex": "/^lon-sw/", "value": "london-switches"}' +lnms config:set oxidized.maps.group.location.+ '{"regex": "/london/", "value": "london-switches"}' ``` To match on a device os of edgeos then please use the following: -```php -$config['oxidized']['maps']['group']['os'][] = array('match' => 'edgeos', 'group' => 'wireless'); +```bash +lnms config:set oxidized.maps.group.os.+ '{"match": "edgeos", "value": "wireless"}' ``` -Matching on OS requires system name of the OS. For example, 'match' => -'RouterOS' will not work, while 'match' => 'routeros' will. +Matching on OS requires system name of the OS. For example, "match": "RouterOS" +will not work, while "match": "routeros" will. -To override the IP Oxidized uses to poll the device, you can add the -following within config.php: +To edit an existing map, you must use the index to override it. -```php -$config['oxidized']['maps']['ip']['sysname'][] = array('regex' => '/^my.node/', 'ip' => '192.168.1.10'); -$config['oxidized']['maps']['ip']['sysname'][] = array('match' => 'my-other.node', 'ip' => '192.168.1.20'); +```bash +lnms config:get oxidized.maps.os.os +array ( + 0 => + array ( + 'match' => 'airos-af-ltu', + 'value' => 'airfiber', + ), + 1 => + array ( + 'match' => 'airos-af', + 'value' => 'airfiber', + ), +) + +lnms config:set oxidized.maps.os.os.1 '{"match": "airos-af", "value": "something-else"}' +``` + +To override the IP Oxidized uses to poll the device, set the following: + +```bash +lnms config:set oxidized.maps.ip.sysName.+ '{"regex": "/^my.node/", "value": "192.168.1.10"}' +lnms config:set oxidized.maps.ip.sysName.+ '{"match": "my-other.node", "value": "192.168.1.20"}' ``` This allows extending the configuration further by providing a @@ -160,16 +177,16 @@ completely flexible model for custom flags and settings, for example, below shows the ability to add an ssh_proxy host within Oxidized simply by adding the below to your configuration: -```php -$config['oxidized']['maps']['ssh_proxy']['sysname'][] = array('regex' => '/^my.node/', 'ssh_proxy' => 'my-ssh-gateway.node'); +```bash +lnms config:set oxidized.maps.ssh_proxy.sysName.+ '{"regex": "/^my.node/", "value": "my-ssh-gateway.node"}' ``` Or of course, any custom value that could be needed or wanted can be applied, for example, setting a "myAttribute" to "Super cool value" for any configured and enabled "routeros" device. -```php -$config['oxidized']['maps']['myAttribute']['os'][] = array('match' => 'routeros', 'myAttribute' => 'Super cool value'); +```bash +lnms config:set oxidized.maps.myAttribute.os.+ '{"match": "routeros", "value": "Super cool value"}' ``` Verify the return of groups by querying the API: @@ -195,11 +212,11 @@ you can edit those devices in Device -> Edit -> Misc and enable "Exclude from Oxidized?" It's also possible to exclude certain device types and OS' from being -output via the API. This is currently only possible via config.php: +output via the API. -```php -$config['oxidized']['ignore_types'] = array('server','power'); -$config['oxidized']['ignore_os'] = array('linux','windows'); +```bash +lnms config:set oxidized.ignore_types '["server", "power"]' +lnms config:set oxidized.ignore_os '["linux", "windows"]' ``` # Trigger configuration backups diff --git a/html/css/dark.css b/html/css/dark.css index 2048a9adc2..e1f5d361b4 100644 --- a/html/css/dark.css +++ b/html/css/dark.css @@ -1,6 +1,3 @@ - body { - background: #333; - } .fa-nav-icons { color: #bfc0c0; } @@ -186,7 +183,7 @@ } small { font-size: 80%; - color: #FFF; + color: #FFF; } sub, sup { @@ -7212,3 +7209,7 @@ .vis-legend-text { color: black; } + +.expandable:hover span { + background-color: #2e3338; +} diff --git a/html/css/styles.css b/html/css/styles.css index 79af9e6754..f3d56787f9 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -2388,3 +2388,18 @@ label { .logon-message { white-space: pre-wrap; } + +.expandable { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.expandable:hover { + overflow: visible; +} +.expandable:hover span { + position: relative; + background-color: white; + padding: 2px 3px 2px 0; + z-index: 5; +} diff --git a/html/js/app.js b/html/js/app.js index b4bd4d0a1e..bac289534e 100644 --- a/html/js/app.js +++ b/html/js/app.js @@ -1 +1 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[773],{1585:(t,e,n)=>{"use strict";var a=n(538),s=n(7152);a.Z.use(s.Z);var i=new s.Z({locale:document.querySelector("html").getAttribute("lang"),fallbackLocale:"en",silentFallbackWarn:!0,silentTranslationWarn:!0,messages:window.vuei18nLocales}),r=n(9010),o=n.n(r),l=n(8314),c=n(9938),u=n.n(c),d=n(7907),p=n.n(d),v=n(9283);n(9147),window.Vue=n(538).Z;var f=n(6106);f.keys().map((function(t){return Vue.component(t.split("/").pop().split(".")[0],f(t).default)})),Vue.use(o()),Vue.use(l.ZP),Vue.component("v-select",u()),Vue.component("multiselect",p()),Vue.use(v.ZP),Vue.filter("ucfirst",(function(t){return t?(t=t.toString()).charAt(0).toUpperCase()+t.slice(1):""}));new Vue({el:"#app",i18n:i})},9147:(t,e,n)=>{window._=n(6486);try{window.Popper=n(8981).Z}catch(t){}window.axios=n(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var a=document.head.querySelector('meta[name="csrf-token"]');a?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=a.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token"),n(7097)},3234:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".accordion-item-trigger-icon[data-v-af5cb116]{transition:transform .2s ease}.accordion-item-trigger.collapsed .accordion-item-trigger-icon[data-v-af5cb116]{transform:rotate(-90deg)}",""]);const i=s},6203:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,"#settings-search[data-v-0db2ec2e]{border-radius:4px}#settings-search[data-v-0db2ec2e]::-webkit-search-cancel-button{-webkit-appearance:searchfield-cancel-button}ul.settings-list[data-v-0db2ec2e]{list-style-type:none}",""]);const i=s},1163:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".tab-content{width:100%}",""]);const i=s},9389:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".setting-container[data-v-64edb5ca]{margin-bottom:10px}",""]);const i=s},7014:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".input-group[data-v-6182757a]{margin-bottom:3px}.input-group-addon[data-v-6182757a]:not(.disabled){cursor:move}",""]);const i=s},5731:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".form-control[data-v-685cdc22]{padding-right:12px}",""]);const i=s},6777:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".input-group[data-v-946d0f4c]{padding-bottom:3px}",""]);const i=s},115:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,"div[data-v-e69e1a5e]{color:red}",""]);const i=s},5558:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".authlevel[data-v-2e6100d1]{font-size:18px;text-align:left}.fa-minus-circle[data-v-2e6100d1]{cursor:pointer}.snmp3-add-button[data-v-2e6100d1]{margin-top:5px}",""]);const i=s},8842:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".panel.with-nav-tabs .panel-heading[data-v-6072cc1c]{padding:5px 5px 0}.panel.with-nav-tabs .nav-tabs[data-v-6072cc1c]{border-bottom:none}.panel.with-nav-tabs .nav-justified[data-v-6072cc1c]{margin-bottom:-1px}.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-6072cc1c],.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-6072cc1c]:focus,.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-6072cc1c]:hover{color:#777}.with-nav-tabs.panel-default .nav-tabs>.open>a[data-v-6072cc1c],.with-nav-tabs.panel-default .nav-tabs>.open>a[data-v-6072cc1c]:focus,.with-nav-tabs.panel-default .nav-tabs>.open>a[data-v-6072cc1c]:hover,.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-6072cc1c]:focus,.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-6072cc1c]:hover{color:#777;background-color:#ddd;border-color:transparent}.with-nav-tabs.panel-default .nav-tabs>li.active>a[data-v-6072cc1c],.with-nav-tabs.panel-default .nav-tabs>li.active>a[data-v-6072cc1c]:focus,.with-nav-tabs.panel-default .nav-tabs>li.active>a[data-v-6072cc1c]:hover{color:#555;background-color:#fff;border-color:#ddd #ddd transparent}.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu[data-v-6072cc1c]{background-color:#f5f5f5;border-color:#ddd}.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>li>a[data-v-6072cc1c]{color:#777}.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>li>a[data-v-6072cc1c]:focus,.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>li>a[data-v-6072cc1c]:hover{background-color:#ddd}.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>.active>a[data-v-6072cc1c],.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>.active>a[data-v-6072cc1c]:focus,.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>.active>a[data-v-6072cc1c]:hover{color:#fff;background-color:#555}",""]);const i=s},2401:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var a=n(3645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,".enter-active[data-v-00169edd],.leave-active[data-v-00169edd]{overflow:hidden;transition:height .2s linear}",""]);const i=s},5067:()=>{},7939:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"Accordion",props:{multiple:{type:Boolean,default:!1}},methods:{setActive:function(t){this.$children.forEach((function(e){e.slug()===t&&(e.isActive=!0)}))},activeChanged:function(t){this.multiple||this.$children.forEach((function(e){e.slug()!==t&&(e.isActive=!1)}))}},mounted:function(){this.$on("expanded",this.activeChanged)}};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"panel-group",attrs:{role:"tablist"}},[t._t("default")],2)}),[],!1,null,"7626d1af",null).exports},2749:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"AccordionItem",props:{name:{type:String,required:!0},text:String,active:Boolean,icon:String},data:function(){return{isActive:this.active}},mounted:function(){window.location.hash===this.hash()&&(this.isActive=!0)},watch:{active:function(t){this.isActive=t},isActive:function(t){this.$parent.$emit(t?"expanded":"collapsed",this.slug())}},methods:{slug:function(){return this.name.toString().toLowerCase().replace(/\s+/g,"-")},hash:function(){return"#"+this.slug()}}};var s=n(3379),i=n.n(s),r=n(3234),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading",attrs:{role:"tab",id:t.slug()}},[n("h4",{staticClass:"panel-title"},[n("a",{staticClass:"accordion-item-trigger",class:{collapsed:!t.isActive},attrs:{role:"button","data-parent":"#accordion","data-href":t.hash()},on:{click:function(e){t.isActive=!t.isActive}}},[n("i",{staticClass:"fa fa-chevron-down accordion-item-trigger-icon"}),t._v(" "),t.icon?n("i",{class:["fa","fa-fw",t.icon]}):t._e(),t._v("\n "+t._s(t.text||t.name)+"\n ")])])]),t._v(" "),n("transition-collapse-height",[t.isActive?n("div",{class:["panel-collapse","collapse",{in:t.isActive}],attrs:{id:t.slug()+"-content",role:"tabpanel"}},[n("div",{staticClass:"panel-body"},[t._t("default")],2)]):t._e()])],1)}),[],!1,null,"af5cb116",null).exports},7360:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"BaseSetting",props:{name:{type:String,required:!0},value:{required:!0},disabled:Boolean,required:Boolean,pattern:String,options:{}}};const s=(0,n(1900).Z)(a,undefined,undefined,!1,null,null,null).exports},3953:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={mounted:function(){console.log("Component mounted.")}};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{staticClass:"row justify-content-center"},[n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-header"},[t._v("Example Component")]),t._v(" "),n("div",{staticClass:"card-body"},[t._v("\n I'm an example component.\n ")])])])])])}],!1,null,null,null).exports},8585:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"LibrenmsSetting",props:{setting:{type:Object,required:!0},prefix:{type:String,default:"settings"},id:{required:!1}},data:function(){return{value:this.setting.value,feedback:""}},methods:{persistValue:function(t){var e=this;axios.put(route(this.prefix+".update",this.getRouteParams()),{value:t}).then((function(t){e.value=t.data.value,e.$emit("setting-updated",{name:e.setting.name,value:e.value}),e.feedback="has-success",setTimeout((function(){return e.feedback=""}),3e3)})).catch((function(t){e.feedback="has-error",toastr.error(t.response.data.message);["text","email","password"].includes(e.setting.type)||(e.value=t.response.data.value,e.$emit("setting-updated",{name:e.setting.name,value:e.value}),setTimeout((function(){return e.feedback=""}),3e3))}))},debouncePersistValue:_.debounce((function(t){this.persistValue(t)}),500),changeValue:function(t){["select","boolean","multiple"].includes(this.setting.type)?this.persistValue(t):this.debouncePersistValue(t),this.value=t},getUnits:function(){var t=this.prefix+".units."+this.setting.units;return this.$te(t)?this.$t(t):this.setting.units},getDescription:function(){var t=this.prefix+".settings."+this.setting.name+".description";return this.$te(t)||this.$te(t,this.$i18n.fallbackLocale)?this.$t(t):this.setting.name},getHelp:function(){var t=this.$t(this.prefix+".settings."+this.setting.name+".help");return this.setting.overridden&&(t+="

"+this.$t(this.prefix+".readonly")),t},hasHelp:function(){var t=this.prefix+".settings."+this.setting.name+".help";return this.$te(t)||this.$te(t,this.$i18n.fallbackLocale)},resetToDefault:function(){var t=this;axios.delete(route(this.prefix+".destroy",this.getRouteParams())).then((function(e){t.value=e.data.value,t.feedback="has-success",setTimeout((function(){return t.feedback=""}),3e3)})).catch((function(e){t.feedback="has-error",setTimeout((function(){return t.feedback=""}),3e3),toastr.error(e.response.data.message)}))},resetToInitial:function(){this.changeValue(this.setting.value)},showResetToDefault:function(){return!this.setting.overridden&&!_.isEqual(this.value,this.setting.default)},showUndo:function(){return!_.isEqual(this.setting.value,this.value)},getRouteParams:function(){var t=[this.setting.name];return this.id&&t.unshift(this.id),t},getComponent:function(){var t="Setting"+this.setting.type.toString().replace(/(-[a-z]|^[a-z])/g,(function(t){return t.toUpperCase().replace("-","")}));return void 0!==Vue.options.components[t]?t:"SettingNull"}}};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["form-group","has-feedback",t.setting.class,t.feedback]},[n("label",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.setting.name},expression:"{ content: setting.name }"}],staticClass:"col-sm-5 control-label",attrs:{for:t.setting.name}},[t._v("\n "+t._s(t.getDescription())+"\n "),t.setting.units?n("span",[t._v("("+t._s(t.getUnits())+")")]):t._e()]),t._v(" "),n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:!!t.setting.disabled&&t.$t(this.prefix+".readonly")},expression:"{ content: setting.disabled ? $t(this.prefix + '.readonly') : false }"}],staticClass:"col-sm-5"},[n(t.getComponent(),{tag:"component",attrs:{value:t.value,name:t.setting.name,pattern:t.setting.pattern,disabled:t.setting.overridden,required:t.setting.required,options:t.setting.options},on:{input:function(e){return t.changeValue(e)},change:function(e){return t.changeValue(e)}}}),t._v(" "),n("span",{staticClass:"form-control-feedback"})],1),t._v(" "),n("div",{staticClass:"col-sm-2"},[n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.$t("Reset to default")},expression:"{ content: $t('Reset to default') }"}],staticClass:"btn btn-default",style:{opacity:t.showResetToDefault()?1:0},attrs:{type:"button"},on:{click:t.resetToDefault}},[n("i",{staticClass:"fa fa-refresh"})]),t._v(" "),n("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.$t("Undo")},expression:"{ content: $t('Undo') }"}],staticClass:"btn btn-primary",style:{opacity:t.showUndo()?1:0},attrs:{type:"button"},on:{click:t.resetToInitial}},[n("i",{staticClass:"fa fa-undo"})]),t._v(" "),t.hasHelp()?n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.getHelp(),trigger:"hover click"},expression:"{content: getHelp(), trigger: 'hover click'}"}],staticClass:"fa fa-fw fa-lg fa-question-circle"}):t._e()])])}),[],!1,null,"55ffb6ad",null).exports},7302:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],a=!0,s=!1,i=void 0;try{for(var r,o=t[Symbol.iterator]();!(a=(r=o.next()).done)&&(n.push(r.value),!e||n.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==o.return||o.return()}finally{if(s)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n{"use strict";n.r(e),n.d(e,{default:()=>u});const a={name:"PollerSettings",props:{pollers:Object,settings:Object},data:function(){return{advanced:!1}}};var s=n(3379),i=n.n(s),r=n(1163),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;var l=n(9389),c={insert:"head",singleton:!1};i()(l.Z,c);l.Z.locals;const u=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("h3",{staticClass:"panel-title"},[t._v("\n "+t._s(t.$t("Poller Settings"))+"\n "),n("span",{staticClass:"pull-right"},[t._v("Advanced "),n("toggle-button",{model:{value:t.advanced,callback:function(e){t.advanced=e},expression:"advanced"}})],1)])]),t._v(" "),n("div",{staticClass:"panel-body"},[n("vue-tabs",{attrs:{direction:"vertical",type:"pills"}},t._l(t.pollers,(function(e,a){return n("v-tab",{key:a,attrs:{title:e.poller_name}},t._l(t.settings[a],(function(a){return!a.advanced||t.advanced?n("div",{key:a.name,staticClass:"setting-container clearfix"},[n("librenms-setting",{attrs:{prefix:"poller.settings",setting:a,id:e.id}})],1):t._e()})),0)})),1)],1)])}),[],!1,null,"64edb5ca",null).exports},3874:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var a=n(7360),s=n(9980),i=n.n(s);const r={name:"SettingArray",mixins:[a.default],components:{draggable:i()},data:function(){return{localList:this.value,newItem:""}},methods:{addItem:function(){this.disabled||(this.localList.push(this.newItem),this.$emit("input",this.localList),this.newItem="")},removeItem:function(t){this.disabled||(this.localList.splice(t,1),this.$emit("input",this.localList))},updateItem:function(t,e){this.disabled||this.localList[t]===e||(this.localList[t]=e,this.$emit("input",this.localList))},dragged:function(){this.disabled||this.$emit("input",this.localList)}},watch:{value:function(t){this.localList=t}}};var o=n(3379),l=n.n(o),c=n(7014),u={insert:"head",singleton:!1};l()(c.Z,u);c.Z.locals;const d=(0,n(1900).Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:!!t.disabled&&t.$t("settings.readonly"),expression:"disabled ? $t('settings.readonly') : false"}]},[n("draggable",{attrs:{disabled:t.disabled},on:{end:function(e){return t.dragged()}},model:{value:t.localList,callback:function(e){t.localList=e},expression:"localList"}},t._l(t.localList,(function(e,a){return n("div",{staticClass:"input-group"},[n("span",{class:["input-group-addon",t.disabled?"disabled":""]},[t._v(t._s(a+1)+".")]),t._v(" "),n("input",{staticClass:"form-control",attrs:{type:"text",readonly:t.disabled},domProps:{value:e},on:{blur:function(e){return t.updateItem(a,e.target.value)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.updateItem(a,e.target.value)}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[t.disabled?t._e():n("button",{staticClass:"btn btn-danger",attrs:{type:"button"},on:{click:function(e){return t.removeItem(a)}}},[n("i",{staticClass:"fa fa-minus-circle"})])])])})),0),t._v(" "),t.disabled?t._e():n("div",[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.newItem,expression:"newItem"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.newItem},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.addItem(e)},input:function(e){e.target.composing||(t.newItem=e.target.value)}}}),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addItem}},[n("i",{staticClass:"fa fa-plus-circle"})])])])])],1)}),[],!1,null,"6182757a",null).exports},6136:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingBoolean",mixins:[n(7360).default]};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("toggle-button",{attrs:{name:t.name,value:t.value,sync:!0,required:t.required,disabled:t.disabled},on:{change:function(e){return t.$emit("change",e.value)}}})}),[],!1,null,"1887659c",null).exports},288:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingDashboardSelect",mixins:[n(7360).default],data:function(){return{ajaxData:{results:[]},default:{id:0,text:this.$t("No Default Dashboard")}}},mounted:function(){var t=this;axios.get(route("ajax.select.dashboard")).then((function(e){return t.ajaxData=e.data}))},computed:{localOptions:function(){return[this.default].concat(this.ajaxData.results)},selected:function(){var t=this;return 0===this.value?this.default:this.ajaxData.results.find((function(e){return e.id===t.value}))}}};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("v-select",{attrs:{options:t.localOptions,label:"text",clearable:!1,value:t.selected,required:t.required,disabled:t.disabled},on:{input:function(e){return t.$emit("input",e.id)}}})}),[],!1,null,"bfcfc78a",null).exports},518:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingDirectory",mixins:[n(7360).default]};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"text",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"62a123fd",null).exports},4282:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingEmail",mixins:[n(7360).default]};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"email",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"6a570371",null).exports},5724:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingExecutable",mixins:[n(7360).default]};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"text",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"a969f868",null).exports},418:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"SettingInteger",mixins:[n(7360).default],methods:{parseNumber:function(t){var e=parseFloat(t);return isNaN(e)?t:e}}};var s=n(3379),i=n.n(s),r=n(5731),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"number",name:t.name,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){t.$emit("input",t.parseNumber(e.target.value))}}})}),[],!1,null,"685cdc22",null).exports},888:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"SettingLdapGroups",mixins:[n(7360).default],data:function(){return{localList:this.value,newItem:"",newItemLevel:1}},methods:{addItem:function(){this.$set(this.localList,this.newItem,{level:this.newItemLevel}),this.newItem="",this.newItemLevel=1},removeItem:function(t){this.$delete(this.localList,t)},updateItem:function(t,e){var n=this;this.localList=Object.keys(this.localList).reduce((function(a,s){return a[s===t?e:s]=n.localList[s],a}),{})},updateLevel:function(t,e){this.$set(this.localList,t,{level:e})}},watch:{localList:function(){this.$emit("input",this.localList)}}};var s=n(3379),i=n.n(s),r=n(6777),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:!!t.disabled&&t.$t("settings.readonly"),expression:"disabled ? $t('settings.readonly') : false"}],staticClass:"form-inline"},[t._l(t.localList,(function(e,a){return n("div",{staticClass:"input-group"},[n("input",{staticClass:"form-control",attrs:{type:"text",readonly:t.disabled},domProps:{value:a},on:{blur:function(e){return t.updateItem(a,e.target.value)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.updateItem(a,e.target.value)}}}),t._v(" "),n("span",{staticClass:"input-group-btn",staticStyle:{width:"0"}}),t._v(" "),n("select",{staticClass:"form-control",on:{change:function(e){return t.updateLevel(a,e.target.value)}}},[n("option",{attrs:{value:"1"},domProps:{selected:1===e.level}},[t._v(t._s(t.$t("Normal")))]),t._v(" "),n("option",{attrs:{value:"5"},domProps:{selected:5===e.level}},[t._v(t._s(t.$t("Global Read")))]),t._v(" "),n("option",{attrs:{value:"10"},domProps:{selected:10===e.level}},[t._v(t._s(t.$t("Admin")))])]),t._v(" "),n("span",{staticClass:"input-group-btn"},[t.disabled?t._e():n("button",{staticClass:"btn btn-danger",attrs:{type:"button"},on:{click:function(e){return t.removeItem(a)}}},[n("i",{staticClass:"fa fa-minus-circle"})])])])})),t._v(" "),t.disabled?t._e():n("div",[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.newItem,expression:"newItem"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.newItem},on:{input:function(e){e.target.composing||(t.newItem=e.target.value)}}}),t._v(" "),n("span",{staticClass:"input-group-btn",staticStyle:{width:"0"}}),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.newItemLevel,expression:"newItemLevel"}],staticClass:"form-control",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.newItemLevel=e.target.multiple?n:n[0]}}},[n("option",{attrs:{value:"1"}},[t._v(t._s(t.$t("Normal")))]),t._v(" "),n("option",{attrs:{value:"5"}},[t._v(t._s(t.$t("Global Read")))]),t._v(" "),n("option",{attrs:{value:"10"}},[t._v(t._s(t.$t("Admin")))])]),t._v(" "),n("span",{staticClass:"input-group-btn"},[n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addItem}},[n("i",{staticClass:"fa fa-plus-circle"})])])])])],2)}),[],!1,null,"946d0f4c",null).exports},8062:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],a=!0,s=!1,i=void 0;try{for(var r,o=t[Symbol.iterator]();!(a=(r=o.next()).done)&&(n.push(r.value),!e||n.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==o.return||o.return()}finally{if(s)throw i}}return n}(t,e)||i(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||i(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){if(t){if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"SettingNull",props:["name"]};var s=n(3379),i=n.n(s),r=n(115),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",[t._v("Invalid type for: "+t._s(t.name))])}),[],!1,null,"e69e1a5e",null).exports},5745:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingPassword",mixins:[n(7360).default]};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"password",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"b4576b66",null).exports},9819:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingSelect",mixins:[n(7360).default],methods:{getText:function(t,e){var n="settings.settings.".concat(t,".options.").concat(e);return this.$te(n)?this.$t(n):e}}};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("select",{staticClass:"form-control",attrs:{name:t.name,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},t._l(t.options,(function(e,a){return n("option",{domProps:{value:a,selected:t.value===a,textContent:t._s(t.getText(t.name,e))}})})),0)}),[],!1,null,"108ca35b",null).exports},5578:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"SettingSnmp3auth",mixins:[n(7360).default],data:function(){return{localList:this.value}},methods:{addItem:function(){this.localList.push({authlevel:"noAuthNoPriv",authalgo:"MD5",authname:"",authpass:"",cryptoalgo:"AES",cryptopass:""}),this.$emit("input",this.localList)},removeItem:function(t){this.localList.splice(t,1),this.$emit("input",this.localList)},updateItem:function(t,e,n){this.localList[t][e]=n,this.$emit("input",this.localList)},dragged:function(){this.$emit("input",this.localList)}},watch:{value:function(t){this.localList=t}}};var s=n(3379),i=n.n(s),r=n(5558),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("draggable",{attrs:{disabled:t.disabled},on:{end:function(e){return t.dragged()}},model:{value:t.localList,callback:function(e){t.localList=e},expression:"localList"}},t._l(t.localList,(function(e,a){return n("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("h3",{staticClass:"panel-title"},[t._v(t._s(a+1)+". "),t.disabled?t._e():n("span",{staticClass:"pull-right text-danger",on:{click:function(e){return t.removeItem(a)}}},[n("i",{staticClass:"fa fa-minus-circle"})])])]),t._v(" "),n("div",{staticClass:"panel-body"},[n("form",{on:{onsubmit:function(t){t.preventDefault()}}},[n("div",{staticClass:"form-group"},[n("div",{staticClass:"col-sm-12"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.authlevel,expression:"item.authlevel"}],staticClass:"form-control",attrs:{id:"authlevel",disabled:t.disabled},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"authlevel",n.target.multiple?a:a[0])},function(e){return t.updateItem(a,e.target.id,e.target.value)}]}},[n("option",{attrs:{value:"noAuthNoPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.noAuthNoPriv"))}}),t._v(" "),n("option",{attrs:{value:"authNoPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.authNoPriv"))}}),t._v(" "),n("option",{attrs:{value:"authPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.authPriv"))}})])])]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:"auth"===e.authlevel.toString().substring(0,4),expression:"item.authlevel.toString().substring(0, 4) === 'auth'"}],attrs:{name:"algo",disabled:t.disabled}},[n("legend",{staticClass:"h4",domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.auth"))}}),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authalgo"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authalgo"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.authalgo,expression:"item.authalgo"}],staticClass:"form-control",attrs:{id:"authalgo",name:"authalgo"},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"authalgo",n.target.multiple?a:a[0])},function(e){return t.updateItem(a,e.target.id,e.target.value)}]}},[n("option",{attrs:{value:"MD5"}},[t._v("MD5")]),t._v(" "),n("option",{attrs:{value:"SHA"}},[t._v("SHA")])])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authname"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authname"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{staticClass:"form-control",attrs:{type:"text",id:"authname"},domProps:{value:e.authname},on:{input:function(e){return t.updateItem(a,e.target.id,e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authpass"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authpass"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{staticClass:"form-control",attrs:{type:"text",id:"authpass"},domProps:{value:e.authpass},on:{input:function(e){return t.updateItem(a,e.target.id,e.target.value)}}})])])]),t._v(" "),n("fieldset",{directives:[{name:"show",rawName:"v-show",value:"authPriv"===e.authlevel,expression:"item.authlevel === 'authPriv'"}],attrs:{name:"crypt",disabled:t.disabled}},[n("legend",{staticClass:"h4",domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.crypto"))}}),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"cryptoalgo"}},[t._v("Cryptoalgo")]),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.cryptoalgo,expression:"item.cryptoalgo"}],staticClass:"form-control",attrs:{id:"cryptoalgo"},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"cryptoalgo",n.target.multiple?a:a[0])},function(e){return t.updateItem(a,e.target.id,e.target.value)}]}},[n("option",{attrs:{value:"AES"}},[t._v("AES")]),t._v(" "),n("option",{attrs:{value:"DES"}},[t._v("DES")])])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-sm-3 control-label",attrs:{for:"cryptopass"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authpass"))}}),t._v(" "),n("div",{staticClass:"col-sm-9"},[n("input",{staticClass:"form-control",attrs:{type:"text",id:"cryptopass"},domProps:{value:e.cryptopass},on:{input:function(e){return t.updateItem(a,e.target.id,e.target.value)}}})])])])])])])])})),0),t._v(" "),t.disabled?t._e():n("div",{staticClass:"row snmp3-add-button"},[n("div",{staticClass:"col-sm-12"},[n("button",{staticClass:"btn btn-primary",on:{click:function(e){return t.addItem()}}},[n("i",{staticClass:"fa fa-plus-circle"}),t._v(" "+t._s(t.$t("New")))])])])],1)}),[],!1,null,"2e6100d1",null).exports},4855:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"SettingText",mixins:[n(7360).default]};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"text",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"28baf02e",null).exports},8834:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});const a={name:"Tab",props:{name:{required:!0},text:String,selected:{type:Boolean,default:!1},icon:String},data:function(){return{isActive:this.selected}}};const s=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"tab-pane",attrs:{role:"tabpanel",id:t.name}},[t._t("default")],2)}),[],!1,null,"387f82f4",null).exports},4498:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"Tabs",props:{selected:String},data:function(){return{tabs:[],activeTab:null}},created:function(){this.tabs=this.$children},mounted:function(){this.activeTab=this.selected},watch:{selected:function(t){this.activeTab=t},activeTab:function(t){this.tabs.forEach((function(e){return e.isActive=e.name===t})),this.$emit("tab-selected",t)}}};var s=n(3379),i=n.n(s),r=n(8842),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"panel with-nav-tabs panel-default"},[n("div",{staticClass:"panel-heading"},[n("ul",{staticClass:"nav nav-tabs",attrs:{role:"tablist"}},[t._l(t.tabs,(function(e){return n("li",{key:e.name,class:{active:e.isActive},attrs:{role:"presentation"}},[n("a",{attrs:{role:"tab","aria-controls":e.name},on:{click:function(n){t.activeTab=e.name}}},[e.icon?n("i",{class:["fa","fa-fw",e.icon]}):t._e(),t._v("\n "+t._s(e.text||e.name)+" \n ")])])})),t._v(" "),n("li",{staticClass:"pull-right"},[t._t("header")],2)],2)]),t._v(" "),n("div",{staticClass:"panel-body"},[t._t("default")],2)])])}),[],!1,null,"6072cc1c",null).exports},5467:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});const a={name:"TransitionCollapseHeight",methods:{beforeEnter:function(t){requestAnimationFrame((function(){t.style.height||(t.style.height="0px"),t.style.display=null}))},enter:function(t){requestAnimationFrame((function(){requestAnimationFrame((function(){t.style.height=t.scrollHeight+"px"}))}))},afterEnter:function(t){t.style.height=null},beforeLeave:function(t){requestAnimationFrame((function(){t.style.height||(t.style.height=t.offsetHeight+"px")}))},leave:function(t){requestAnimationFrame((function(){requestAnimationFrame((function(){t.style.height="0px"}))}))},afterLeave:function(t){t.style.height=null}}};var s=n(3379),i=n.n(s),r=n(2401),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const l=(0,n(1900).Z)(a,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("transition",{attrs:{"enter-active-class":"enter-active","leave-active-class":"leave-active"},on:{"before-enter":t.beforeEnter,enter:t.enter,"after-enter":t.afterEnter,"before-leave":t.beforeLeave,leave:t.leave,"after-leave":t.afterLeave}},[t._t("default")],2)}),[],!1,null,"00169edd",null).exports},6106:(t,e,n)=>{var a={"./components/Accordion.vue":7939,"./components/AccordionItem.vue":2749,"./components/BaseSetting.vue":7360,"./components/ExampleComponent.vue":3953,"./components/LibrenmsSetting.vue":8585,"./components/LibrenmsSettings.vue":7302,"./components/PollerSettings.vue":6795,"./components/SettingArray.vue":3874,"./components/SettingBoolean.vue":6136,"./components/SettingDashboardSelect.vue":288,"./components/SettingDirectory.vue":518,"./components/SettingEmail.vue":4282,"./components/SettingExecutable.vue":5724,"./components/SettingInteger.vue":418,"./components/SettingLdapGroups.vue":888,"./components/SettingMultiple.vue":8062,"./components/SettingNull.vue":7305,"./components/SettingPassword.vue":5745,"./components/SettingSelect.vue":9819,"./components/SettingSnmp3auth.vue":5578,"./components/SettingText.vue":4855,"./components/Tab.vue":8834,"./components/Tabs.vue":4498,"./components/TransitionCollapseHeight.vue":5467};function s(t){var e=i(t);return n(e)}function i(t){if(!n.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}s.keys=function(){return Object.keys(a)},s.resolve=i,t.exports=s,s.id=6106}},0,[[1585,929,898],[5067,929,898]]]); \ No newline at end of file +(self.webpackChunk=self.webpackChunk||[]).push([[773],{1585:(t,e,a)=>{"use strict";var n=a(538),s=a(7152);n.Z.use(s.Z);var i=new s.Z({locale:document.querySelector("html").getAttribute("lang"),fallbackLocale:"en",silentFallbackWarn:!0,silentTranslationWarn:!0,messages:window.vuei18nLocales}),o=a(9010),r=a.n(o),l=a(8314),u=a(9938),c=a.n(u),d=a(7907),p=a.n(d),v=a(9283),m=a(7611),f=a.n(m);a(9147),window.Vue=a(538).Z;var h=a(5642);h.keys().map((function(t){return Vue.component(t.split("/").pop().split(".")[0],h(t).default)})),Vue.use(r()),Vue.use(l.ZP),Vue.component("v-select",c()),Vue.component("multiselect",p()),Vue.use(v.ZP),Vue.use(f()),Vue.filter("ucfirst",(function(t){return t?(t=t.toString()).charAt(0).toUpperCase()+t.slice(1):""}));new Vue({el:"#app",i18n:i})},9147:(t,e,a)=>{window._=a(6486);try{window.Popper=a(8981).Z}catch(t){}window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var n=document.head.querySelector('meta[name="csrf-token"]');n?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=n.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token"),a(7097)},4305:(t,e,a)=>{"use strict";a.d(e,{Z:()=>i});var n=a(3645),s=a.n(n)()((function(t){return t[1]}));s.push([t.id,".accordion-item-trigger-icon[data-v-16b90b68]{transition:transform .2s ease}.accordion-item-trigger.collapsed .accordion-item-trigger-icon[data-v-16b90b68]{transform:rotate(-90deg)}",""]);const i=s},9357:(t,e,a)=>{"use strict";a.d(e,{Z:()=>i});var n=a(3645),s=a.n(n)()((function(t){return t[1]}));s.push([t.id,".disable-events[data-v-d23a875a]{pointer-events:none}",""]);const i=s},9377:(t,e,a)=>{"use strict";a.d(e,{Z:()=>i});var n=a(3645),s=a.n(n)()((function(t){return t[1]}));s.push([t.id,"#settings-search[data-v-2d230312]{border-radius:4px}#settings-search[data-v-2d230312]::-webkit-search-cancel-button{-webkit-appearance:searchfield-cancel-button}ul.settings-list[data-v-2d230312]{list-style-type:none}",""]);const i=s},1163:(t,e,a)=>{"use strict";a.d(e,{Z:()=>i});var n=a(3645),s=a.n(n)()((function(t){return t[1]}));s.push([t.id,".tab-content{width:100%}",""]);const i=s},2601:(t,e,a)=>{"use strict";a.d(e,{Z:()=>i});var n=a(3645),s=a.n(n)()((function(t){return t[1]}));s.push([t.id,".setting-container[data-v-5ab9fce1]{margin-bottom:10px}",""]);const i=s},8519:(t,e,a)=>{"use strict";a.d(e,{Z:()=>i});var n=a(3645),s=a.n(n)()((function(t){return t[1]}));s.push([t.id,".input-group[data-v-9d2dd8fa]{margin-bottom:3px}.input-group-addon[data-v-9d2dd8fa]:not(.disabled){cursor:move}",""]);const i=s},7510:(t,e,a)=>{"use strict";a.d(e,{Z:()=>i});var n=a(3645),s=a.n(n)()((function(t){return t[1]}));s.push([t.id,".form-control[data-v-72c868aa]{padding-right:12px}",""]);const i=s},3221:(t,e,a)=>{"use strict";a.d(e,{Z:()=>i});var n=a(3645),s=a.n(n)()((function(t){return t[1]}));s.push([t.id,".input-group[data-v-c6860f1e]{padding-bottom:3px}",""]);const i=s},8377:(t,e,a)=>{"use strict";a.d(e,{Z:()=>i});var n=a(3645),s=a.n(n)()((function(t){return t[1]}));s.push([t.id,"div[data-v-f45258b0]{color:red}",""]);const i=s},6608:(t,e,a)=>{"use strict";a.d(e,{Z:()=>i});var n=a(3645),s=a.n(n)()((function(t){return t[1]}));s.push([t.id,".expandable[data-v-b42c6d38]{padding:5px;height:30px}.buttons[data-v-b42c6d38]{white-space:nowrap;padding:0 5px}.new-btn-div[data-v-b42c6d38]{margin-bottom:5px}.panel-body[data-v-b42c6d38]{padding:5px 0}",""]);const i=s},1818:(t,e,a)=>{"use strict";a.d(e,{Z:()=>i});var n=a(3645),s=a.n(n)()((function(t){return t[1]}));s.push([t.id,".authlevel[data-v-26c6b91a]{font-size:18px;text-align:left}.fa-minus-circle[data-v-26c6b91a]{cursor:pointer}.snmp3-add-button[data-v-26c6b91a]{margin-top:5px}",""]);const i=s},1505:(t,e,a)=>{"use strict";a.d(e,{Z:()=>i});var n=a(3645),s=a.n(n)()((function(t){return t[1]}));s.push([t.id,".panel.with-nav-tabs .panel-heading[data-v-2ac3a533]{padding:5px 5px 0}.panel.with-nav-tabs .nav-tabs[data-v-2ac3a533]{border-bottom:none}.panel.with-nav-tabs .nav-justified[data-v-2ac3a533]{margin-bottom:-1px}.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-2ac3a533],.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-2ac3a533]:focus,.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-2ac3a533]:hover{color:#777}.with-nav-tabs.panel-default .nav-tabs>.open>a[data-v-2ac3a533],.with-nav-tabs.panel-default .nav-tabs>.open>a[data-v-2ac3a533]:focus,.with-nav-tabs.panel-default .nav-tabs>.open>a[data-v-2ac3a533]:hover,.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-2ac3a533]:focus,.with-nav-tabs.panel-default .nav-tabs>li>a[data-v-2ac3a533]:hover{color:#777;background-color:#ddd;border-color:transparent}.with-nav-tabs.panel-default .nav-tabs>li.active>a[data-v-2ac3a533],.with-nav-tabs.panel-default .nav-tabs>li.active>a[data-v-2ac3a533]:focus,.with-nav-tabs.panel-default .nav-tabs>li.active>a[data-v-2ac3a533]:hover{color:#555;background-color:#fff;border-color:#ddd #ddd transparent}.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu[data-v-2ac3a533]{background-color:#f5f5f5;border-color:#ddd}.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>li>a[data-v-2ac3a533]{color:#777}.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>li>a[data-v-2ac3a533]:focus,.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>li>a[data-v-2ac3a533]:hover{background-color:#ddd}.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>.active>a[data-v-2ac3a533],.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>.active>a[data-v-2ac3a533]:focus,.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>.active>a[data-v-2ac3a533]:hover{color:#fff;background-color:#555}",""]);const i=s},9462:(t,e,a)=>{"use strict";a.d(e,{Z:()=>i});var n=a(3645),s=a.n(n)()((function(t){return t[1]}));s.push([t.id,".enter-active[data-v-54390bb4],.leave-active[data-v-54390bb4]{overflow:hidden;transition:height .2s linear}",""]);const i=s},5067:()=>{},4479:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});const n={name:"Accordion",props:{multiple:{type:Boolean,default:!1}},methods:{setActive:function(t){this.$children.forEach((function(e){e.slug()===t&&(e.isActive=!0)}))},activeChanged:function(t){this.multiple||this.$children.forEach((function(e){e.slug()!==t&&(e.isActive=!1)}))}},mounted:function(){this.$on("expanded",this.activeChanged)}};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"panel-group",attrs:{role:"tablist"}},[t._t("default")],2)}),[],!1,null,"11dcbcb8",null).exports},9754:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>l});const n={name:"AccordionItem",props:{name:{type:String,required:!0},text:String,active:Boolean,icon:String},data:function(){return{isActive:this.active}},mounted:function(){window.location.hash===this.hash()&&(this.isActive=!0)},watch:{active:function(t){this.isActive=t},isActive:function(t){this.$parent.$emit(t?"expanded":"collapsed",this.slug())}},methods:{slug:function(){return this.name.toString().toLowerCase().replace(/\s+/g,"-")},hash:function(){return"#"+this.slug()}}};var s=a(3379),i=a.n(s),o=a(4305),r={insert:"head",singleton:!1};i()(o.Z,r);o.Z.locals;const l=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"panel panel-default"},[a("div",{staticClass:"panel-heading",attrs:{role:"tab",id:t.slug()}},[a("h4",{staticClass:"panel-title"},[a("a",{staticClass:"accordion-item-trigger",class:{collapsed:!t.isActive},attrs:{role:"button","data-parent":"#accordion","data-href":t.hash()},on:{click:function(e){t.isActive=!t.isActive}}},[a("i",{staticClass:"fa fa-chevron-down accordion-item-trigger-icon"}),t._v(" "),t.icon?a("i",{class:["fa","fa-fw",t.icon]}):t._e(),t._v("\n "+t._s(t.text||t.name)+"\n ")])])]),t._v(" "),a("transition-collapse-height",[t.isActive?a("div",{class:["panel-collapse","collapse",{in:t.isActive}],attrs:{id:t.slug()+"-content",role:"tabpanel"}},[a("div",{staticClass:"panel-body"},[t._t("default")],2)]):t._e()])],1)}),[],!1,null,"16b90b68",null).exports},7360:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});const n={name:"BaseSetting",props:{name:{type:String,required:!0},value:{required:!0},disabled:Boolean,required:Boolean,pattern:String,"update-status":String,options:{}}};const s=(0,a(1900).Z)(n,undefined,undefined,!1,null,null,null).exports},3953:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});const n={mounted:function(){console.log("Component mounted.")}};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"container"},[a("div",{staticClass:"row justify-content-center"},[a("div",{staticClass:"col-md-8"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[t._v("Example Component")]),t._v(" "),a("div",{staticClass:"card-body"},[t._v("\n I'm an example component.\n ")])])])])])}],!1,null,null,null).exports},4280:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>l});const n={name:"LibrenmsSetting",props:{setting:{type:Object,required:!0},prefix:{type:String,default:"settings"},id:{required:!1}},data:function(){return{value:this.setting.value,updateStatus:"none",feedback:""}},methods:{persistValue:function(t){var e=this;this.updateStatus="pending",axios.put(route(this.prefix+".update",this.getRouteParams()),{value:t}).then((function(t){e.value=t.data.value,e.$emit("setting-updated",{name:e.setting.name,value:e.value}),e.updateStatus="success",e.feedback="has-success",setTimeout((function(){return e.feedback=""}),3e3)})).catch((function(t){e.feedback="has-error",e.updateStatus="error",toastr.error(t.response.data.message);["text","email","password"].includes(e.setting.type)||(e.value=t.response.data.value,e.$emit("setting-updated",{name:e.setting.name,value:e.value}),setTimeout((function(){return e.feedback=""}),3e3))}))},debouncePersistValue:_.debounce((function(t){this.persistValue(t)}),500),changeValue:function(t){["select","boolean","multiple"].includes(this.setting.type)?this.persistValue(t):this.debouncePersistValue(t),this.value=t},getUnits:function(){var t=this.prefix+".units."+this.setting.units;return this.$te(t)?this.$t(t):this.setting.units},getDescription:function(){var t=this.prefix+".settings."+this.setting.name+".description";return this.$te(t)||this.$te(t,this.$i18n.fallbackLocale)?this.$t(t):this.setting.name},getHelp:function(){var t=this.$t(this.prefix+".settings."+this.setting.name+".help");return this.setting.overridden&&(t+="

"+this.$t(this.prefix+".readonly")),t},hasHelp:function(){var t=this.prefix+".settings."+this.setting.name+".help";return this.$te(t)||this.$te(t,this.$i18n.fallbackLocale)},resetToDefault:function(){var t=this;axios.delete(route(this.prefix+".destroy",this.getRouteParams())).then((function(e){t.value=e.data.value,t.feedback="has-success",setTimeout((function(){return t.feedback=""}),3e3)})).catch((function(e){t.feedback="has-error",setTimeout((function(){return t.feedback=""}),3e3),toastr.error(e.response.data.message)}))},resetToInitial:function(){this.changeValue(this.setting.value)},showResetToDefault:function(){return!this.setting.overridden&&!_.isEqual(this.value,this.setting.default)},showUndo:function(){return!_.isEqual(this.setting.value,this.value)},getRouteParams:function(){var t=[this.setting.name];return this.id&&t.unshift(this.id),t},getComponent:function(){var t="Setting"+this.setting.type.toString().replace(/(-[a-z]|^[a-z])/g,(function(t){return t.toUpperCase().replace("-","")}));return void 0!==Vue.options.components[t]?t:"SettingNull"}}};var s=a(3379),i=a.n(s),o=a(9357),r={insert:"head",singleton:!1};i()(o.Z,r);o.Z.locals;const l=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:["form-group","has-feedback",t.setting.class,t.feedback]},[a("label",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.setting.name},expression:"{ content: setting.name }"}],staticClass:"col-sm-5 control-label",attrs:{for:t.setting.name}},[t._v("\n "+t._s(t.getDescription())+"\n "),t.setting.units?a("span",[t._v("("+t._s(t.getUnits())+")")]):t._e()]),t._v(" "),a("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:!!t.setting.disabled&&t.$t(this.prefix+".readonly")},expression:"{ content: setting.disabled ? $t(this.prefix + '.readonly') : false }"}],staticClass:"col-sm-5"},[a(t.getComponent(),{tag:"component",attrs:{value:t.value,name:t.setting.name,pattern:t.setting.pattern,disabled:t.setting.overridden,required:t.setting.required,options:t.setting.options,"update-status":t.updateStatus},on:{input:function(e){return t.changeValue(e)},change:function(e){return t.changeValue(e)}}}),t._v(" "),a("span",{staticClass:"form-control-feedback"})],1),t._v(" "),a("div",{staticClass:"col-sm-2"},[a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.$t("Reset to default")},expression:"{ content: $t('Reset to default') }"}],staticClass:"btn btn-default",class:{"disable-events":!t.showResetToDefault()},style:{opacity:t.showResetToDefault()?1:0},attrs:{type:"button"},on:{click:t.resetToDefault}},[a("i",{staticClass:"fa fa-refresh"})]),t._v(" "),a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.$t("Undo")},expression:"{ content: $t('Undo') }"}],staticClass:"btn btn-primary",class:{"disable-events":!t.showUndo()},style:{opacity:t.showUndo()?1:0},attrs:{type:"button"},on:{click:t.resetToInitial}},[a("i",{staticClass:"fa fa-undo"})]),t._v(" "),t.hasHelp()?a("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:{content:t.getHelp(),trigger:"hover click"},expression:"{content: getHelp(), trigger: 'hover click'}"}],staticClass:"fa fa-fw fa-lg fa-question-circle"}):t._e()])])}),[],!1,null,"d23a875a",null).exports},7792:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>c});function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var a=[],n=!0,s=!1,i=void 0;try{for(var o,r=t[Symbol.iterator]();!(n=(o=r.next()).done)&&(a.push(o.value),!e||a.length!==e);n=!0);}catch(t){s=!0,i=t}finally{try{n||null==r.return||r.return()}finally{if(s)throw i}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return s(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=new Array(e);a{"use strict";a.r(e),a.d(e,{default:()=>c});const n={name:"PollerSettings",props:{pollers:Object,settings:Object},data:function(){return{advanced:!1}}};var s=a(3379),i=a.n(s),o=a(1163),r={insert:"head",singleton:!1};i()(o.Z,r);o.Z.locals;var l=a(2601),u={insert:"head",singleton:!1};i()(l.Z,u);l.Z.locals;const c=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"panel panel-default"},[a("div",{staticClass:"panel-heading"},[a("h3",{staticClass:"panel-title"},[t._v("\n "+t._s(t.$t("Poller Settings"))+"\n "),a("span",{staticClass:"pull-right"},[t._v("Advanced "),a("toggle-button",{model:{value:t.advanced,callback:function(e){t.advanced=e},expression:"advanced"}})],1)])]),t._v(" "),a("div",{staticClass:"panel-body"},[a("vue-tabs",{attrs:{direction:"vertical",type:"pills"}},t._l(t.pollers,(function(e,n){return a("v-tab",{key:n,attrs:{title:e.poller_name}},t._l(t.settings[n],(function(n){return!n.advanced||t.advanced?a("div",{key:n.name,staticClass:"setting-container clearfix"},[a("librenms-setting",{attrs:{prefix:"poller.settings",setting:n,id:e.id}})],1):t._e()})),0)})),1)],1)])}),[],!1,null,"5ab9fce1",null).exports},9331:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>d});var n=a(7360),s=a(9980),i=a.n(s);const o={name:"SettingArray",mixins:[n.default],components:{draggable:i()},data:function(){return{localList:this.value,newItem:""}},methods:{addItem:function(){this.disabled||(this.localList.push(this.newItem),this.$emit("input",this.localList),this.newItem="")},removeItem:function(t){this.disabled||(this.localList.splice(t,1),this.$emit("input",this.localList))},updateItem:function(t,e){this.disabled||this.localList[t]===e||(this.localList[t]=e,this.$emit("input",this.localList))},dragged:function(){this.disabled||this.$emit("input",this.localList)}},watch:{value:function(t){this.localList=t}}};var r=a(3379),l=a.n(r),u=a(8519),c={insert:"head",singleton:!1};l()(u.Z,c);u.Z.locals;const d=(0,a(1900).Z)(o,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:!!t.disabled&&t.$t("settings.readonly"),expression:"disabled ? $t('settings.readonly') : false"}]},[a("draggable",{attrs:{disabled:t.disabled},on:{end:function(e){return t.dragged()}},model:{value:t.localList,callback:function(e){t.localList=e},expression:"localList"}},t._l(t.localList,(function(e,n){return a("div",{staticClass:"input-group"},[a("span",{class:["input-group-addon",t.disabled?"disabled":""]},[t._v(t._s(n+1)+".")]),t._v(" "),a("input",{staticClass:"form-control",attrs:{type:"text",readonly:t.disabled},domProps:{value:e},on:{blur:function(e){return t.updateItem(n,e.target.value)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.updateItem(n,e.target.value)}}}),t._v(" "),a("span",{staticClass:"input-group-btn"},[t.disabled?t._e():a("button",{staticClass:"btn btn-danger",attrs:{type:"button"},on:{click:function(e){return t.removeItem(n)}}},[a("i",{staticClass:"fa fa-minus-circle"})])])])})),0),t._v(" "),t.disabled?t._e():a("div",[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.newItem,expression:"newItem"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.newItem},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.addItem(e)},input:function(e){e.target.composing||(t.newItem=e.target.value)}}}),t._v(" "),a("span",{staticClass:"input-group-btn"},[a("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addItem}},[a("i",{staticClass:"fa fa-plus-circle"})])])])])],1)}),[],!1,null,"9d2dd8fa",null).exports},4561:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});const n={name:"SettingBoolean",mixins:[a(7360).default]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("toggle-button",{attrs:{name:t.name,value:t.value,sync:!0,required:t.required,disabled:t.disabled},on:{change:function(e){return t.$emit("change",e.value)}}})}),[],!1,null,"ab7ed6ee",null).exports},8189:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});const n={name:"SettingDashboardSelect",mixins:[a(7360).default],data:function(){return{ajaxData:{results:[]},default:{id:0,text:this.$t("No Default Dashboard")}}},mounted:function(){var t=this;axios.get(route("ajax.select.dashboard")).then((function(e){return t.ajaxData=e.data}))},computed:{localOptions:function(){return[this.default].concat(this.ajaxData.results)},selected:function(){var t=this;return 0===this.value?this.default:this.ajaxData.results.find((function(e){return e.id===t.value}))}}};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("v-select",{attrs:{options:t.localOptions,label:"text",clearable:!1,value:t.selected,required:t.required,disabled:t.disabled},on:{input:function(e){return t.$emit("input",e.id)}}})}),[],!1,null,"2476e5f8",null).exports},6852:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});const n={name:"SettingDirectory",mixins:[a(7360).default]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"text",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"a44ee658",null).exports},4846:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});const n={name:"SettingEmail",mixins:[a(7360).default]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"email",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"62ce370c",null).exports},9068:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});const n={name:"SettingExecutable",mixins:[a(7360).default]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"text",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"a93fcd56",null).exports},9326:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>l});const n={name:"SettingInteger",mixins:[a(7360).default],methods:{parseNumber:function(t){var e=parseFloat(t);return isNaN(e)?t:e}}};var s=a(3379),i=a.n(s),o=a(7510),r={insert:"head",singleton:!1};i()(o.Z,r);o.Z.locals;const l=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"number",name:t.name,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){t.$emit("input",t.parseNumber(e.target.value))}}})}),[],!1,null,"72c868aa",null).exports},448:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>l});const n={name:"SettingLdapGroups",mixins:[a(7360).default],data:function(){return{localList:this.value,newItem:"",newItemLevel:1}},methods:{addItem:function(){this.$set(this.localList,this.newItem,{level:this.newItemLevel}),this.newItem="",this.newItemLevel=1},removeItem:function(t){this.$delete(this.localList,t)},updateItem:function(t,e){var a=this;this.localList=Object.keys(this.localList).reduce((function(n,s){return n[s===t?e:s]=a.localList[s],n}),{})},updateLevel:function(t,e){this.$set(this.localList,t,{level:e})}},watch:{localList:function(){this.$emit("input",this.localList)}}};var s=a(3379),i=a.n(s),o=a(3221),r={insert:"head",singleton:!1};i()(o.Z,r);o.Z.locals;const l=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:!!t.disabled&&t.$t("settings.readonly"),expression:"disabled ? $t('settings.readonly') : false"}],staticClass:"form-inline"},[t._l(t.localList,(function(e,n){return a("div",{staticClass:"input-group"},[a("input",{staticClass:"form-control",attrs:{type:"text",readonly:t.disabled},domProps:{value:n},on:{blur:function(e){return t.updateItem(n,e.target.value)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.updateItem(n,e.target.value)}}}),t._v(" "),a("span",{staticClass:"input-group-btn",staticStyle:{width:"0"}}),t._v(" "),a("select",{staticClass:"form-control",on:{change:function(e){return t.updateLevel(n,e.target.value)}}},[a("option",{attrs:{value:"1"},domProps:{selected:1===e.level}},[t._v(t._s(t.$t("Normal")))]),t._v(" "),a("option",{attrs:{value:"5"},domProps:{selected:5===e.level}},[t._v(t._s(t.$t("Global Read")))]),t._v(" "),a("option",{attrs:{value:"10"},domProps:{selected:10===e.level}},[t._v(t._s(t.$t("Admin")))])]),t._v(" "),a("span",{staticClass:"input-group-btn"},[t.disabled?t._e():a("button",{staticClass:"btn btn-danger",attrs:{type:"button"},on:{click:function(e){return t.removeItem(n)}}},[a("i",{staticClass:"fa fa-minus-circle"})])])])})),t._v(" "),t.disabled?t._e():a("div",[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.newItem,expression:"newItem"}],staticClass:"form-control",attrs:{type:"text"},domProps:{value:t.newItem},on:{input:function(e){e.target.composing||(t.newItem=e.target.value)}}}),t._v(" "),a("span",{staticClass:"input-group-btn",staticStyle:{width:"0"}}),t._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.newItemLevel,expression:"newItemLevel"}],staticClass:"form-control",on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.newItemLevel=e.target.multiple?a:a[0]}}},[a("option",{attrs:{value:"1"}},[t._v(t._s(t.$t("Normal")))]),t._v(" "),a("option",{attrs:{value:"5"}},[t._v(t._s(t.$t("Global Read")))]),t._v(" "),a("option",{attrs:{value:"10"}},[t._v(t._s(t.$t("Admin")))])]),t._v(" "),a("span",{staticClass:"input-group-btn"},[a("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.addItem}},[a("i",{staticClass:"fa fa-plus-circle"})])])])])],2)}),[],!1,null,"c6860f1e",null).exports},6813:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>l});function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var a=[],n=!0,s=!1,i=void 0;try{for(var o,r=t[Symbol.iterator]();!(n=(o=r.next()).done)&&(a.push(o.value),!e||a.length!==e);n=!0);}catch(t){s=!0,i=t}finally{try{n||null==r.return||r.return()}finally{if(s)throw i}}return a}(t,e)||i(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||i(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){if(t){if("string"==typeof t)return o(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=new Array(e);a{"use strict";a.r(e),a.d(e,{default:()=>l});const n={name:"SettingNull",props:["name"]};var s=a(3379),i=a.n(s),o=a(8377),r={insert:"head",singleton:!1};i()(o.Z,r);o.Z.locals;const l=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",[t._v("Invalid type for: "+t._s(t.name))])}),[],!1,null,"f45258b0",null).exports},4970:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>l});const n={name:"SettingOxidizedMaps",mixins:[a(7360).default],data:function(){return{mapModalIndex:null,mapModalSource:null,mapModalMatchType:null,mapModalMatchValue:null,mapModalTarget:null,mapModalReplacement:null}},methods:{showModal:function(t){this.fillForm(t),this.$modal.show("maps")},submitModal:function(){var t=this.maps,e={target:this.mapModalTarget,source:this.mapModalSource,matchType:this.mapModalMatchType,matchValue:this.mapModalMatchValue,replacement:this.mapModalReplacement};this.mapModalIndex?t[this.mapModalIndex]=e:t.push(e),console.log(t,e),this.updateValue(t)},fillForm:function(t){var e=this.maps.hasOwnProperty(t);this.mapModalIndex=t,this.mapModalSource=e?this.maps[t].source:null,this.mapModalMatchType=e?this.maps[t].matchType:null,this.mapModalMatchValue=e?this.maps[t].matchValue:null,this.mapModalTarget=e?this.maps[t].target:null,this.mapModalReplacement=e?this.maps[t].replacement:null},deleteItem:function(t){var e=this.maps;e.splice(t,1),this.updateValue(e)},updateValue:function(t){var e={};t.forEach((function(t){void 0===e[t.target]&&(e[t.target]={}),void 0===e[t.target][t.source]&&(e[t.target][t.source]=[]);var a={};a[t.matchType]=t.matchValue,a.value=t.replacement,e[t.target][t.source].push(a)})),this.$emit("input",e)},formatSource:function(t,e){return e.hasOwnProperty("regex")?t+" ~ "+e.regex:e.hasOwnProperty("match")?t+" = "+e.match:"invalid"},formatTarget:function(t,e){return t+" > "+(e.hasOwnProperty("value")?e.value:e[t])}},watch:{updateStatus:function(){"success"===this.updateStatus&&this.$modal.hide("maps")}},computed:{maps:function(){var t=this,e=[];return Object.keys(this.value).forEach((function(a){Object.keys(t.value[a]).forEach((function(n){t.value[a][n].forEach((function(t){var s=t.hasOwnProperty("regex")?"regex":"match";e.push({target:a,source:n,matchType:s,matchValue:t[s],replacement:t.hasOwnProperty("value")?t.value:t[a]})}))}))})),e}}};var s=a(3379),i=a.n(s),o=a(6608),r={insert:"head",singleton:!1};i()(o.Z,r);o.Z.locals;const l=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{directives:[{name:"show",rawName:"v-show",value:!t.disabled,expression:"! disabled"}],staticClass:"new-btn-div"},[a("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.showModal(null)}}},[a("i",{staticClass:"fa fa-plus"}),t._v(" "+t._s(t.$t("New Map Rule")))])]),t._v(" "),t._l(t.maps,(function(e,n){return a("div",{staticClass:"panel panel-default"},[a("div",{staticClass:"panel-body"},[a("div",{staticClass:"col-md-5 expandable"},[a("span",[t._v(t._s(e.source)+" "+t._s("regex"===e.matchType?"~":"=")+" "+t._s(e.matchValue))])]),t._v(" "),a("div",{staticClass:"col-md-4 expandable"},[a("span",[t._v(t._s(e.target)+" < "+t._s(e.replacement))])]),t._v(" "),a("div",{staticClass:"col-md-3 buttons"},[a("div",{directives:[{name:"tooltip",rawName:"v-tooltip",value:!!t.disabled&&t.$t("settings.readonly"),expression:"disabled ? $t('settings.readonly') : false"}],staticClass:"btn-group"},[a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("Edit"),expression:"$t('Edit')"}],staticClass:"btn btn-sm btn-info",attrs:{type:"button",disabled:t.disabled},on:{click:function(e){return t.showModal(n)}}},[a("i",{staticClass:"fa fa-lg fa-edit"})]),t._v(" "),a("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("Delete"),expression:"$t('Delete')"}],staticClass:"btn btn-sm btn-danger",attrs:{type:"button",disabled:t.disabled},on:{click:function(e){return t.deleteItem(n)}}},[a("i",{staticClass:"fa fa-lg fa-remove"})])])])])])})),t._v(" "),a("modal",{attrs:{name:"maps",height:"auto"}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"modal-header"},[a("button",{staticClass:"close",attrs:{type:"button"},on:{click:function(e){return t.$modal.hide("maps")}}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]),t._v(" "),a("h4",{staticClass:"modal-title"},[t._v(t._s(t.mapModalIndex?t.$t("Edit Map Rule"):t.$t("New Map Rule")))])]),t._v(" "),a("div",{staticClass:"modal-body"},[a("div",{staticClass:"form-group"},[a("label",{staticClass:"col-sm-4 control-label",attrs:{for:"source"}},[t._v("Source")]),t._v(" "),a("div",{staticClass:"col-sm-8"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.mapModalSource,expression:"mapModalSource"}],staticClass:"form-control",attrs:{id:"source"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.mapModalSource=e.target.multiple?a:a[0]}}},[a("option",{attrs:{value:"hostname"}},[t._v("hostname")]),t._v(" "),a("option",{attrs:{value:"os"}},[t._v("os")]),t._v(" "),a("option",{attrs:{value:"type"}},[t._v("type")])])])]),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{staticClass:"col-sm-4",attrs:{for:"match_value"}},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.mapModalMatchType,expression:"mapModalMatchType"}],staticClass:"form-control",attrs:{id:"match_type"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.mapModalMatchType=e.target.multiple?a:a[0]}}},[a("option",{attrs:{value:"match"}},[t._v("Match (=)")]),t._v(" "),a("option",{attrs:{value:"regex"}},[t._v("Regex (~)")])])]),t._v(" "),a("div",{staticClass:"col-sm-8"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.mapModalMatchValue,expression:"mapModalMatchValue"}],staticClass:"form-control",attrs:{type:"text",id:"match_value",placeholder:""},domProps:{value:t.mapModalMatchValue},on:{input:function(e){e.target.composing||(t.mapModalMatchValue=e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"form-horizontal",attrs:{role:"form"}},[a("div",{staticClass:"form-group"},[a("label",{staticClass:"col-sm-4 control-label",attrs:{for:"target"}},[t._v("Target")]),t._v(" "),a("div",{staticClass:"col-sm-8"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.mapModalTarget,expression:"mapModalTarget"}],staticClass:"form-control",attrs:{id:"target"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.mapModalTarget=e.target.multiple?a:a[0]}}},[a("option",{attrs:{value:"os"}},[t._v("os")]),t._v(" "),a("option",{attrs:{value:"group"}},[t._v("group")]),t._v(" "),a("option",{attrs:{value:"ip"}},[t._v("ip")])])])]),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{staticClass:"col-sm-4 control-label",attrs:{for:"value"}},[t._v("Replacement")]),t._v(" "),a("div",{staticClass:"col-sm-8"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.mapModalReplacement,expression:"mapModalReplacement"}],staticClass:"form-control",attrs:{type:"text",id:"value",placeholder:""},domProps:{value:t.mapModalReplacement},on:{input:function(e){e.target.composing||(t.mapModalReplacement=e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"form-group"},[a("div",{staticClass:"col-sm-8 col-sm-offset-4"},[a("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.submitModal}},[t._v(t._s(t.$t("Submit")))])])])])])])])],2)}),[],!1,null,"b42c6d38",null).exports},5333:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});const n={name:"SettingPassword",mixins:[a(7360).default]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"password",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"452744d4",null).exports},418:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});const n={name:"SettingSelect",mixins:[a(7360).default],methods:{getText:function(t,e){var a="settings.settings.".concat(t,".options.").concat(e);return this.$te(a)?this.$t(a):e}}};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("select",{staticClass:"form-control",attrs:{name:t.name,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}},t._l(t.options,(function(e,n){return a("option",{domProps:{value:n,selected:t.value===n,textContent:t._s(t.getText(t.name,e))}})})),0)}),[],!1,null,"a6c05438",null).exports},6192:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>l});const n={name:"SettingSnmp3auth",mixins:[a(7360).default],data:function(){return{localList:this.value}},methods:{addItem:function(){this.localList.push({authlevel:"noAuthNoPriv",authalgo:"MD5",authname:"",authpass:"",cryptoalgo:"AES",cryptopass:""}),this.$emit("input",this.localList)},removeItem:function(t){this.localList.splice(t,1),this.$emit("input",this.localList)},updateItem:function(t,e,a){this.localList[t][e]=a,this.$emit("input",this.localList)},dragged:function(){this.$emit("input",this.localList)}},watch:{value:function(t){this.localList=t}}};var s=a(3379),i=a.n(s),o=a(1818),r={insert:"head",singleton:!1};i()(o.Z,r);o.Z.locals;const l=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("draggable",{attrs:{disabled:t.disabled},on:{end:function(e){return t.dragged()}},model:{value:t.localList,callback:function(e){t.localList=e},expression:"localList"}},t._l(t.localList,(function(e,n){return a("div",[a("div",{staticClass:"panel panel-default"},[a("div",{staticClass:"panel-heading"},[a("h3",{staticClass:"panel-title"},[t._v(t._s(n+1)+". "),t.disabled?t._e():a("span",{staticClass:"pull-right text-danger",on:{click:function(e){return t.removeItem(n)}}},[a("i",{staticClass:"fa fa-minus-circle"})])])]),t._v(" "),a("div",{staticClass:"panel-body"},[a("form",{on:{onsubmit:function(t){t.preventDefault()}}},[a("div",{staticClass:"form-group"},[a("div",{staticClass:"col-sm-12"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.authlevel,expression:"item.authlevel"}],staticClass:"form-control",attrs:{id:"authlevel",disabled:t.disabled},on:{change:[function(a){var n=Array.prototype.filter.call(a.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"authlevel",a.target.multiple?n:n[0])},function(e){return t.updateItem(n,e.target.id,e.target.value)}]}},[a("option",{attrs:{value:"noAuthNoPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.noAuthNoPriv"))}}),t._v(" "),a("option",{attrs:{value:"authNoPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.authNoPriv"))}}),t._v(" "),a("option",{attrs:{value:"authPriv"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.level.authPriv"))}})])])]),t._v(" "),a("fieldset",{directives:[{name:"show",rawName:"v-show",value:"auth"===e.authlevel.toString().substring(0,4),expression:"item.authlevel.toString().substring(0, 4) === 'auth'"}],attrs:{name:"algo",disabled:t.disabled}},[a("legend",{staticClass:"h4",domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.auth"))}}),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authalgo"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authalgo"))}}),t._v(" "),a("div",{staticClass:"col-sm-9"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.authalgo,expression:"item.authalgo"}],staticClass:"form-control",attrs:{id:"authalgo",name:"authalgo"},on:{change:[function(a){var n=Array.prototype.filter.call(a.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"authalgo",a.target.multiple?n:n[0])},function(e){return t.updateItem(n,e.target.id,e.target.value)}]}},[a("option",{attrs:{value:"MD5"}},[t._v("MD5")]),t._v(" "),a("option",{attrs:{value:"SHA"}},[t._v("SHA")])])])]),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authname"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authname"))}}),t._v(" "),a("div",{staticClass:"col-sm-9"},[a("input",{staticClass:"form-control",attrs:{type:"text",id:"authname"},domProps:{value:e.authname},on:{input:function(e){return t.updateItem(n,e.target.id,e.target.value)}}})])]),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{staticClass:"col-sm-3 control-label",attrs:{for:"authpass"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authpass"))}}),t._v(" "),a("div",{staticClass:"col-sm-9"},[a("input",{staticClass:"form-control",attrs:{type:"text",id:"authpass"},domProps:{value:e.authpass},on:{input:function(e){return t.updateItem(n,e.target.id,e.target.value)}}})])])]),t._v(" "),a("fieldset",{directives:[{name:"show",rawName:"v-show",value:"authPriv"===e.authlevel,expression:"item.authlevel === 'authPriv'"}],attrs:{name:"crypt",disabled:t.disabled}},[a("legend",{staticClass:"h4",domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.crypto"))}}),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{staticClass:"col-sm-3 control-label",attrs:{for:"cryptoalgo"}},[t._v("Cryptoalgo")]),t._v(" "),a("div",{staticClass:"col-sm-9"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.cryptoalgo,expression:"item.cryptoalgo"}],staticClass:"form-control",attrs:{id:"cryptoalgo"},on:{change:[function(a){var n=Array.prototype.filter.call(a.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"cryptoalgo",a.target.multiple?n:n[0])},function(e){return t.updateItem(n,e.target.id,e.target.value)}]}},[a("option",{attrs:{value:"AES"}},[t._v("AES")]),t._v(" "),a("option",{attrs:{value:"DES"}},[t._v("DES")])])])]),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{staticClass:"col-sm-3 control-label",attrs:{for:"cryptopass"},domProps:{textContent:t._s(t.$t("settings.settings.snmp.v3.fields.authpass"))}}),t._v(" "),a("div",{staticClass:"col-sm-9"},[a("input",{staticClass:"form-control",attrs:{type:"text",id:"cryptopass"},domProps:{value:e.cryptopass},on:{input:function(e){return t.updateItem(n,e.target.id,e.target.value)}}})])])])])])])])})),0),t._v(" "),t.disabled?t._e():a("div",{staticClass:"row snmp3-add-button"},[a("div",{staticClass:"col-sm-12"},[a("button",{staticClass:"btn btn-primary",on:{click:function(e){return t.addItem()}}},[a("i",{staticClass:"fa fa-plus-circle"}),t._v(" "+t._s(t.$t("New")))])])])],1)}),[],!1,null,"26c6b91a",null).exports},2383:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});const n={name:"SettingText",mixins:[a(7360).default]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{staticClass:"form-control",attrs:{type:"text",name:t.name,pattern:t.pattern,required:t.required,disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}})}),[],!1,null,"8426bf9c",null).exports},1891:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});const n={name:"Tab",props:{name:{required:!0},text:String,selected:{type:Boolean,default:!1},icon:String},data:function(){return{isActive:this.selected}}};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"tab-pane",attrs:{role:"tabpanel",id:t.name}},[t._t("default")],2)}),[],!1,null,"1af9694b",null).exports},3053:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>l});const n={name:"Tabs",props:{selected:String},data:function(){return{tabs:[],activeTab:null}},created:function(){this.tabs=this.$children},mounted:function(){this.activeTab=this.selected},watch:{selected:function(t){this.activeTab=t},activeTab:function(t){this.tabs.forEach((function(e){return e.isActive=e.name===t})),this.$emit("tab-selected",t)}}};var s=a(3379),i=a.n(s),o=a(1505),r={insert:"head",singleton:!1};i()(o.Z,r);o.Z.locals;const l=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"panel with-nav-tabs panel-default"},[a("div",{staticClass:"panel-heading"},[a("ul",{staticClass:"nav nav-tabs",attrs:{role:"tablist"}},[t._l(t.tabs,(function(e){return a("li",{key:e.name,class:{active:e.isActive},attrs:{role:"presentation"}},[a("a",{attrs:{role:"tab","aria-controls":e.name},on:{click:function(a){t.activeTab=e.name}}},[e.icon?a("i",{class:["fa","fa-fw",e.icon]}):t._e(),t._v("\n "+t._s(e.text||e.name)+" \n ")])])})),t._v(" "),a("li",{staticClass:"pull-right"},[t._t("header")],2)],2)]),t._v(" "),a("div",{staticClass:"panel-body"},[t._t("default")],2)])])}),[],!1,null,"2ac3a533",null).exports},6948:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>l});const n={name:"TransitionCollapseHeight",methods:{beforeEnter:function(t){requestAnimationFrame((function(){t.style.height||(t.style.height="0px"),t.style.display=null}))},enter:function(t){requestAnimationFrame((function(){requestAnimationFrame((function(){t.style.height=t.scrollHeight+"px"}))}))},afterEnter:function(t){t.style.height=null},beforeLeave:function(t){requestAnimationFrame((function(){t.style.height||(t.style.height=t.offsetHeight+"px")}))},leave:function(t){requestAnimationFrame((function(){requestAnimationFrame((function(){t.style.height="0px"}))}))},afterLeave:function(t){t.style.height=null}}};var s=a(3379),i=a.n(s),o=a(9462),r={insert:"head",singleton:!1};i()(o.Z,r);o.Z.locals;const l=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("transition",{attrs:{"enter-active-class":"enter-active","leave-active-class":"leave-active"},on:{"before-enter":t.beforeEnter,enter:t.enter,"after-enter":t.afterEnter,"before-leave":t.beforeLeave,leave:t.leave,"after-leave":t.afterLeave}},[t._t("default")],2)}),[],!1,null,"54390bb4",null).exports},5642:(t,e,a)=>{var n={"./components/Accordion.vue":4479,"./components/AccordionItem.vue":9754,"./components/BaseSetting.vue":7360,"./components/ExampleComponent.vue":3953,"./components/LibrenmsSetting.vue":4280,"./components/LibrenmsSettings.vue":7792,"./components/PollerSettings.vue":8286,"./components/SettingArray.vue":9331,"./components/SettingBoolean.vue":4561,"./components/SettingDashboardSelect.vue":8189,"./components/SettingDirectory.vue":6852,"./components/SettingEmail.vue":4846,"./components/SettingExecutable.vue":9068,"./components/SettingInteger.vue":9326,"./components/SettingLdapGroups.vue":448,"./components/SettingMultiple.vue":6813,"./components/SettingNull.vue":7829,"./components/SettingOxidizedMaps.vue":4970,"./components/SettingPassword.vue":5333,"./components/SettingSelect.vue":418,"./components/SettingSnmp3auth.vue":6192,"./components/SettingText.vue":2383,"./components/Tab.vue":1891,"./components/Tabs.vue":3053,"./components/TransitionCollapseHeight.vue":6948};function s(t){var e=i(t);return a(e)}function i(t){if(!a.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}s.keys=function(){return Object.keys(n)},s.resolve=i,t.exports=s,s.id=5642}},0,[[1585,929,898],[5067,929,898]]]); \ No newline at end of file diff --git a/html/js/vendor.js b/html/js/vendor.js index 65cc9d5aa4..04851336be 100644 --- a/html/js/vendor.js +++ b/html/js/vendor.js @@ -1,2 +1,2 @@ /*! For license information please see vendor.js.LICENSE.txt */ -(self.webpackChunk=self.webpackChunk||[]).push([[898],{9669:(t,e,n)=>{t.exports=n(1609)},5448:(t,e,n)=>{"use strict";var r=n(4867),i=n(6026),o=n(4372),a=n(5327),s=n(4097),u=n(4109),c=n(7985),l=n(5061);t.exports=function(t){return new Promise((function(e,n){var f=t.data,p=t.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.Authorization="Basic "+btoa(h+":"+v)}var g=s(t.baseURL,t.url);if(d.open(t.method.toUpperCase(),a(g,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in d?u(d.getAllResponseHeaders()):null,o={data:t.responseType&&"text"!==t.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:r,config:t,request:d};i(e,n,o),d=null}},d.onabort=function(){d&&(n(l("Request aborted",t,"ECONNABORTED",d)),d=null)},d.onerror=function(){n(l("Network Error",t,null,d)),d=null},d.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var m=(t.withCredentials||c(g))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;m&&(p[t.xsrfHeaderName]=m)}if("setRequestHeader"in d&&r.forEach(p,(function(t,e){void 0===f&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){d&&(d.abort(),n(t),d=null)})),f||(f=null),d.send(f)}))}},1609:(t,e,n)=>{"use strict";var r=n(4867),i=n(1849),o=n(321),a=n(7185);function s(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var u=s(n(5655));u.Axios=o,u.create=function(t){return s(a(u.defaults,t))},u.Cancel=n(5263),u.CancelToken=n(4972),u.isCancel=n(6502),u.all=function(t){return Promise.all(t)},u.spread=n(8713),u.isAxiosError=n(6268),t.exports=u,t.exports.default=u},5263:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},4972:(t,e,n)=>{"use strict";var r=n(5263);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},6502:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:(t,e,n)=>{"use strict";var r=n(4867),i=n(5327),o=n(782),a=n(3572),s=n(7185);function u(t){this.defaults=t,this.interceptors={request:new o,response:new o}}u.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},u.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=u},782:(t,e,n)=>{"use strict";var r=n(4867);function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},4097:(t,e,n)=>{"use strict";var r=n(1793),i=n(7303);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},5061:(t,e,n)=>{"use strict";var r=n(481);t.exports=function(t,e,n,i,o){var a=new Error(t);return r(a,e,n,i,o)}},3572:(t,e,n)=>{"use strict";var r=n(4867),i=n(8527),o=n(6502),a=n(5655);function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return s(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},481:t=>{"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},7185:(t,e,n)=>{"use strict";var r=n(4867);t.exports=function(t,e){e=e||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function u(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function c(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=u(void 0,t[i])):n[i]=u(t[i],e[i])}r.forEach(i,(function(t){r.isUndefined(e[t])||(n[t]=u(void 0,e[t]))})),r.forEach(o,c),r.forEach(a,(function(i){r.isUndefined(e[i])?r.isUndefined(t[i])||(n[i]=u(void 0,t[i])):n[i]=u(void 0,e[i])})),r.forEach(s,(function(r){r in e?n[r]=u(t[r],e[r]):r in t&&(n[r]=u(void 0,t[r]))}));var l=i.concat(o).concat(a).concat(s),f=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===l.indexOf(t)}));return r.forEach(f,c),n}},6026:(t,e,n)=>{"use strict";var r=n(5061);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},8527:(t,e,n)=>{"use strict";var r=n(4867);t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},5655:(t,e,n)=>{"use strict";var r=n(4155),i=n(4867),o=n(6016),a={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,c={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r&&"[object process]"===Object.prototype.toString.call(r))&&(u=n(5448)),u),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(s(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){c.headers[t]=i.merge(a)})),t.exports=c},1849:t=>{"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r{"use strict";var r=n(4867);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(i(e)+"="+i(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},7303:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:(t,e,n)=>{"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},6268:t=>{"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},7985:(t,e,n)=>{"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},6016:(t,e,n)=>{"use strict";var r=n(4867);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},4109:(t,e,n)=>{"use strict";var r=n(4867),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(a[e]&&i.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},8713:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},4867:(t,e,n)=>{"use strict";var r=n(1849),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===i.call(t)}function l(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n{var e=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,r){var i,o,a,s,u;for(a in r)if(i=t[a],o=r[a],i&&e.test(a))if("class"===a&&("string"==typeof i&&(u=i,t[a]=i={},i[u]=!0),"string"==typeof o&&(u=o,r[a]=o={},o[u]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in o)i[s]=n(i[s],o[s]);else if(Array.isArray(i))t[a]=i.concat(o);else if(Array.isArray(o))t[a]=[i].concat(o);else for(s in o)i[s]=o[s];else t[a]=r[a];return t}),{})}},3645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o{"use strict";n(8091).polyfill()},8091:t=>{"use strict";function e(t,e){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var n=Object(t),r=1;r{var r=n(852)(n(5639),"DataView");t.exports=r},1989:(t,e,n)=>{var r=n(1789),i=n(401),o=n(7667),a=n(1327),s=n(1866);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{var r=n(7040),i=n(4125),o=n(2117),a=n(7518),s=n(4705);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{var r=n(852)(n(5639),"Map");t.exports=r},3369:(t,e,n)=>{var r=n(4785),i=n(1285),o=n(6e3),a=n(9916),s=n(5265);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e{var r=n(852)(n(5639),"Promise");t.exports=r},8525:(t,e,n)=>{var r=n(852)(n(5639),"Set");t.exports=r},8668:(t,e,n)=>{var r=n(3369),i=n(619),o=n(2385);function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e{var r=n(8407),i=n(7465),o=n(3779),a=n(7599),s=n(4758),u=n(4309);function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,t.exports=c},2705:(t,e,n)=>{var r=n(5639).Symbol;t.exports=r},1149:(t,e,n)=>{var r=n(5639).Uint8Array;t.exports=r},577:(t,e,n)=>{var r=n(852)(n(5639),"WeakMap");t.exports=r},6874:t=>{t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},4963:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n{var r=n(2545),i=n(5694),o=n(1469),a=n(4144),s=n(5776),u=n(6719),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),l=!n&&i(t),f=!n&&!l&&a(t),p=!n&&!l&&!f&&u(t),d=n||l||f||p,h=d?r(t.length,String):[],v=h.length;for(var g in t)!e&&!c.call(t,g)||d&&("length"==g||f&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,v))||h.push(g);return h}},2488:t=>{t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n{var r=n(9465),i=n(7813);t.exports=function(t,e,n){(void 0!==n&&!i(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},4865:(t,e,n)=>{var r=n(9465),i=n(7813),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},8470:(t,e,n)=>{var r=n(7813);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},9465:(t,e,n)=>{var r=n(8777);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},3118:(t,e,n)=>{var r=n(3218),i=Object.create,o=function(){function t(){}return function(e){if(!r(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=o},8483:(t,e,n)=>{var r=n(5063)();t.exports=r},8866:(t,e,n)=>{var r=n(2488),i=n(1469);t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},4239:(t,e,n)=>{var r=n(2705),i=n(9607),o=n(2333),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},9454:(t,e,n)=>{var r=n(4239),i=n(7005);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},939:(t,e,n)=>{var r=n(2492),i=n(7005);t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,s))}},2492:(t,e,n)=>{var r=n(6384),i=n(7114),o=n(8351),a=n(6096),s=n(4160),u=n(1469),c=n(4144),l=n(6719),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,v,g,m){var y=u(t),b=u(e),_=y?p:s(t),w=b?p:s(e),x=(_=_==f?d:_)==d,O=(w=w==f?d:w)==d,S=_==w;if(S&&c(t)){if(!c(e))return!1;y=!0,x=!1}if(S&&!x)return m||(m=new r),y||l(t)?i(t,e,n,v,g,m):o(t,e,_,n,v,g,m);if(!(1&n)){var C=x&&h.call(t,"__wrapped__"),T=O&&h.call(e,"__wrapped__");if(C||T){var k=C?t.value():t,E=T?e.value():e;return m||(m=new r),g(k,E,n,v,m)}}return!!S&&(m||(m=new r),a(t,e,n,v,g,m))}},8458:(t,e,n)=>{var r=n(3560),i=n(5346),o=n(3218),a=n(346),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?p:s).test(a(t))}},8749:(t,e,n)=>{var r=n(4239),i=n(1780),o=n(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[r(t)]}},280:(t,e,n)=>{var r=n(5726),i=n(6916),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},313:(t,e,n)=>{var r=n(3218),i=n(5726),o=n(3498),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=i(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}},2980:(t,e,n)=>{var r=n(6384),i=n(6556),o=n(8483),a=n(9783),s=n(3218),u=n(1704),c=n(6390);t.exports=function t(e,n,l,f,p){e!==n&&o(n,(function(o,u){if(p||(p=new r),s(o))a(e,n,u,l,t,f,p);else{var d=f?f(c(e,u),o,u+"",e,n,p):void 0;void 0===d&&(d=o),i(e,u,d)}}),u)}},9783:(t,e,n)=>{var r=n(6556),i=n(4626),o=n(7133),a=n(278),s=n(8517),u=n(5694),c=n(1469),l=n(9246),f=n(4144),p=n(3560),d=n(3218),h=n(8630),v=n(6719),g=n(6390),m=n(9881);t.exports=function(t,e,n,y,b,_,w){var x=g(t,n),O=g(e,n),S=w.get(O);if(S)r(t,n,S);else{var C=_?_(x,O,n+"",t,e,w):void 0,T=void 0===C;if(T){var k=c(O),E=!k&&f(O),$=!k&&!E&&v(O);C=O,k||E||$?c(x)?C=x:l(x)?C=a(x):E?(T=!1,C=i(O,!0)):$?(T=!1,C=o(O,!0)):C=[]:h(O)||u(O)?(C=x,u(x)?C=m(x):d(x)&&!p(x)||(C=s(O))):T=!1}T&&(w.set(O,C),b(C,O,y,_,w),w.delete(O)),r(t,n,C)}}},5976:(t,e,n)=>{var r=n(6557),i=n(5357),o=n(61);t.exports=function(t,e){return o(i(t,e,r),t+"")}},6560:(t,e,n)=>{var r=n(5703),i=n(8777),o=n(6557),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=a},2545:t=>{t.exports=function(t,e){for(var n=-1,r=Array(t);++n{t.exports=function(t){return function(e){return t(e)}}},4757:t=>{t.exports=function(t,e){return t.has(e)}},4318:(t,e,n)=>{var r=n(1149);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},4626:(t,e,n)=>{t=n.nmd(t);var r=n(5639),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}},7133:(t,e,n)=>{var r=n(4318);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},278:t=>{t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n{var r=n(4865),i=n(9465);t.exports=function(t,e,n,o){var a=!n;n||(n={});for(var s=-1,u=e.length;++s{var r=n(5639)["__core-js_shared__"];t.exports=r},1463:(t,e,n)=>{var r=n(5976),i=n(6612);t.exports=function(t){return r((function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++r{t.exports=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(!1===n(o[u],u,o))break}return e}}},8777:(t,e,n)=>{var r=n(852),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},7114:(t,e,n)=>{var r=n(8668),i=n(2908),o=n(4757);t.exports=function(t,e,n,a,s,u){var c=1&n,l=t.length,f=e.length;if(l!=f&&!(c&&f>l))return!1;var p=u.get(t),d=u.get(e);if(p&&d)return p==e&&d==t;var h=-1,v=!0,g=2&n?new r:void 0;for(u.set(t,e),u.set(e,t);++h{var r=n(2705),i=n(1149),o=n(7813),a=n(7114),s=n(8776),u=n(1814),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;t.exports=function(t,e,n,r,c,f,p){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!f(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=s;case"[object Set]":var h=1&r;if(d||(d=u),t.size!=e.size&&!h)return!1;var v=p.get(t);if(v)return v==e;r|=2,p.set(t,e);var g=a(d(t),d(e),r,c,f,p);return p.delete(t),g;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},6096:(t,e,n)=>{var r=n(8234),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,o,a,s){var u=1&n,c=r(t),l=c.length;if(l!=r(e).length&&!u)return!1;for(var f=l;f--;){var p=c[f];if(!(u?p in e:i.call(e,p)))return!1}var d=s.get(t),h=s.get(e);if(d&&h)return d==e&&h==t;var v=!0;s.set(t,e),s.set(e,t);for(var g=u;++f{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},8234:(t,e,n)=>{var r=n(8866),i=n(9551),o=n(3674);t.exports=function(t){return r(t,o,i)}},5050:(t,e,n)=>{var r=n(7019);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},852:(t,e,n)=>{var r=n(8458),i=n(7801);t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},5924:(t,e,n)=>{var r=n(5569)(Object.getPrototypeOf,Object);t.exports=r},9607:(t,e,n)=>{var r=n(2705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}},9551:(t,e,n)=>{var r=n(4963),i=n(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return o.call(t,e)})))}:i;t.exports=s},4160:(t,e,n)=>{var r=n(8552),i=n(7071),o=n(3818),a=n(8525),s=n(577),u=n(4239),c=n(346),l="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",v=c(r),g=c(i),m=c(o),y=c(a),b=c(s),_=u;(r&&_(new r(new ArrayBuffer(1)))!=h||i&&_(new i)!=l||o&&_(o.resolve())!=f||a&&_(new a)!=p||s&&_(new s)!=d)&&(_=function(t){var e=u(t),n="[object Object]"==e?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case v:return h;case g:return l;case m:return f;case y:return p;case b:return d}return e}),t.exports=_},7801:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},1789:(t,e,n)=>{var r=n(4536);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:(t,e,n)=>{var r=n(4536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(e,t)?e[t]:void 0}},1327:(t,e,n)=>{var r=n(4536),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},1866:(t,e,n)=>{var r=n(4536);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},8517:(t,e,n)=>{var r=n(3118),i=n(5924),o=n(5726);t.exports=function(t){return"function"!=typeof t.constructor||o(t)?{}:r(i(t))}},5776:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t{var r=n(7813),i=n(8612),o=n(5776),a=n(3218);t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&o(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},7019:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:(t,e,n)=>{var r,i=n(4429),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},5726:t=>{var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},7040:t=>{t.exports=function(){this.__data__=[],this.size=0}},4125:(t,e,n)=>{var r=n(8470),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():i.call(e,n,1),--this.size,!0)}},2117:(t,e,n)=>{var r=n(8470);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},7518:(t,e,n)=>{var r=n(8470);t.exports=function(t){return r(this.__data__,t)>-1}},4705:(t,e,n)=>{var r=n(8470);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},4785:(t,e,n)=>{var r=n(1989),i=n(8407),o=n(7071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},1285:(t,e,n)=>{var r=n(5050);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},6e3:(t,e,n)=>{var r=n(5050);t.exports=function(t){return r(this,t).get(t)}},9916:(t,e,n)=>{var r=n(5050);t.exports=function(t){return r(this,t).has(t)}},5265:(t,e,n)=>{var r=n(5050);t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},8776:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},4536:(t,e,n)=>{var r=n(852)(Object,"create");t.exports=r},6916:(t,e,n)=>{var r=n(5569)(Object.keys,Object);t.exports=r},3498:t=>{t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},1167:(t,e,n)=>{t=n.nmd(t);var r=n(1957),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},2333:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:t=>{t.exports=function(t,e){return function(n){return t(e(n))}}},5357:(t,e,n)=>{var r=n(6874),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),u=Array(s);++a{var r=n(1957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},6390:t=>{t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},619:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2385:t=>{t.exports=function(t){return this.__data__.has(t)}},1814:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},61:(t,e,n)=>{var r=n(6560),i=n(1275)(r);t.exports=i},1275:t=>{var e=Date.now;t.exports=function(t){var n=0,r=0;return function(){var i=e(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},7465:(t,e,n)=>{var r=n(8407);t.exports=function(){this.__data__=new r,this.size=0}},3779:t=>{t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},7599:t=>{t.exports=function(t){return this.__data__.get(t)}},4758:t=>{t.exports=function(t){return this.__data__.has(t)}},4309:(t,e,n)=>{var r=n(8407),i=n(7071),o=n(3369);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},346:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},5703:t=>{t.exports=function(t){return function(){return t}}},7813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},6557:t=>{t.exports=function(t){return t}},5694:(t,e,n)=>{var r=n(9454),i=n(7005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=u},1469:t=>{var e=Array.isArray;t.exports=e},8612:(t,e,n)=>{var r=n(3560),i=n(1780);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},9246:(t,e,n)=>{var r=n(8612),i=n(7005);t.exports=function(t){return i(t)&&r(t)}},4144:(t,e,n)=>{t=n.nmd(t);var r=n(5639),i=n(5062),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,s=a&&a.exports===o?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||i;t.exports=u},8446:(t,e,n)=>{var r=n(939);t.exports=function(t,e){return r(t,e)}},3560:(t,e,n)=>{var r=n(4239),i=n(3218);t.exports=function(t){if(!i(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3218:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},8630:(t,e,n)=>{var r=n(4239),i=n(5924),o=n(7005),a=Function.prototype,s=Object.prototype,u=a.toString,c=s.hasOwnProperty,l=u.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var e=i(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==l}},6719:(t,e,n)=>{var r=n(8749),i=n(1717),o=n(1167),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},3674:(t,e,n)=>{var r=n(4636),i=n(280),o=n(8612);t.exports=function(t){return o(t)?r(t):i(t)}},1704:(t,e,n)=>{var r=n(4636),i=n(313),o=n(8612);t.exports=function(t){return o(t)?r(t,!0):i(t)}},6486:function(t,e,n){var r;t=n.nmd(t),function(){var i,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",u=16,c=32,l=64,f=128,p=256,d=1/0,h=9007199254740991,v=NaN,g=4294967295,m=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",c],["partialRight",l],["rearg",p]],y="[object Arguments]",b="[object Array]",_="[object Boolean]",w="[object Date]",x="[object Error]",O="[object Function]",S="[object GeneratorFunction]",C="[object Map]",T="[object Number]",k="[object Object]",E="[object Promise]",$="[object RegExp]",A="[object Set]",j="[object String]",D="[object Symbol]",L="[object WeakMap]",P="[object ArrayBuffer]",I="[object DataView]",N="[object Float32Array]",M="[object Float64Array]",F="[object Int8Array]",R="[object Int16Array]",B="[object Int32Array]",V="[object Uint8Array]",z="[object Uint8ClampedArray]",H="[object Uint16Array]",U="[object Uint32Array]",W=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,G=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,Y=RegExp(K.source),J=RegExp(X.source),Z=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,tt=/<%=([\s\S]+?)%>/g,et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nt=/^\w*$/,rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,it=/[\\^$.*+?()[\]{}|]/g,ot=RegExp(it.source),at=/^\s+|\s+$/g,st=/^\s+/,ut=/\s+$/,ct=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,lt=/\{\n\/\* \[wrapped with (.+)\] \*/,ft=/,? & /,pt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dt=/\\(\\)?/g,ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,vt=/\w*$/,gt=/^[-+]0x[0-9a-f]+$/i,mt=/^0b[01]+$/i,yt=/^\[object .+?Constructor\]$/,bt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,wt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xt=/($^)/,Ot=/['\n\r\u2028\u2029\\]/g,St="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ct="\\u2700-\\u27bf",Tt="a-z\\xdf-\\xf6\\xf8-\\xff",kt="A-Z\\xc0-\\xd6\\xd8-\\xde",Et="\\ufe0e\\ufe0f",$t="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",At="['’]",jt="[\\ud800-\\udfff]",Dt="["+$t+"]",Lt="["+St+"]",Pt="\\d+",It="[\\u2700-\\u27bf]",Nt="["+Tt+"]",Mt="[^\\ud800-\\udfff"+$t+Pt+Ct+Tt+kt+"]",Ft="\\ud83c[\\udffb-\\udfff]",Rt="[^\\ud800-\\udfff]",Bt="(?:\\ud83c[\\udde6-\\uddff]){2}",Vt="[\\ud800-\\udbff][\\udc00-\\udfff]",zt="["+kt+"]",Ht="(?:"+Nt+"|"+Mt+")",Ut="(?:"+zt+"|"+Mt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",qt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Gt="(?:"+Lt+"|"+Ft+")"+"?",Kt="[\\ufe0e\\ufe0f]?",Xt=Kt+Gt+("(?:\\u200d(?:"+[Rt,Bt,Vt].join("|")+")"+Kt+Gt+")*"),Yt="(?:"+[It,Bt,Vt].join("|")+")"+Xt,Jt="(?:"+[Rt+Lt+"?",Lt,Bt,Vt,jt].join("|")+")",Zt=RegExp(At,"g"),Qt=RegExp(Lt,"g"),te=RegExp(Ft+"(?="+Ft+")|"+Jt+Xt,"g"),ee=RegExp([zt+"?"+Nt+"+"+Wt+"(?="+[Dt,zt,"$"].join("|")+")",Ut+"+"+qt+"(?="+[Dt,zt+Ht,"$"].join("|")+")",zt+"?"+Ht+"+"+Wt,zt+"+"+qt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Pt,Yt].join("|"),"g"),ne=RegExp("[\\u200d\\ud800-\\udfff"+St+Et+"]"),re=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ie=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],oe=-1,ae={};ae[N]=ae[M]=ae[F]=ae[R]=ae[B]=ae[V]=ae[z]=ae[H]=ae[U]=!0,ae[y]=ae[b]=ae[P]=ae[_]=ae[I]=ae[w]=ae[x]=ae[O]=ae[C]=ae[T]=ae[k]=ae[$]=ae[A]=ae[j]=ae[L]=!1;var se={};se[y]=se[b]=se[P]=se[I]=se[_]=se[w]=se[N]=se[M]=se[F]=se[R]=se[B]=se[C]=se[T]=se[k]=se[$]=se[A]=se[j]=se[D]=se[V]=se[z]=se[H]=se[U]=!0,se[x]=se[O]=se[L]=!1;var ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ce=parseFloat,le=parseInt,fe="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pe="object"==typeof self&&self&&self.Object===Object&&self,de=fe||pe||Function("return this")(),he=e&&!e.nodeType&&e,ve=he&&t&&!t.nodeType&&t,ge=ve&&ve.exports===he,me=ge&&fe.process,ye=function(){try{var t=ve&&ve.require&&ve.require("util").types;return t||me&&me.binding&&me.binding("util")}catch(t){}}(),be=ye&&ye.isArrayBuffer,_e=ye&&ye.isDate,we=ye&&ye.isMap,xe=ye&&ye.isRegExp,Oe=ye&&ye.isSet,Se=ye&&ye.isTypedArray;function Ce(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Te(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i-1}function De(t,e,n){for(var r=-1,i=null==t?0:t.length;++r-1;);return n}function tn(t,e){for(var n=t.length;n--&&Ve(e,t[n],0)>-1;);return n}function en(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var nn=qe({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),rn=qe({"&":"&","<":"<",">":">",'"':""","'":"'"});function on(t){return"\\"+ue[t]}function an(t){return ne.test(t)}function sn(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function un(t,e){return function(n){return t(e(n))}}function cn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n",""":'"',"'":"'"});var vn=function t(e){var n,r=(e=null==e?de:vn.defaults(de.Object(),e,vn.pick(de,ie))).Array,St=e.Date,Ct=e.Error,Tt=e.Function,kt=e.Math,Et=e.Object,$t=e.RegExp,At=e.String,jt=e.TypeError,Dt=r.prototype,Lt=Tt.prototype,Pt=Et.prototype,It=e["__core-js_shared__"],Nt=Lt.toString,Mt=Pt.hasOwnProperty,Ft=0,Rt=(n=/[^.]+$/.exec(It&&It.keys&&It.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Bt=Pt.toString,Vt=Nt.call(Et),zt=de._,Ht=$t("^"+Nt.call(Mt).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ut=ge?e.Buffer:i,Wt=e.Symbol,qt=e.Uint8Array,Gt=Ut?Ut.allocUnsafe:i,Kt=un(Et.getPrototypeOf,Et),Xt=Et.create,Yt=Pt.propertyIsEnumerable,Jt=Dt.splice,te=Wt?Wt.isConcatSpreadable:i,ne=Wt?Wt.iterator:i,ue=Wt?Wt.toStringTag:i,fe=function(){try{var t=po(Et,"defineProperty");return t({},"",{}),t}catch(t){}}(),pe=e.clearTimeout!==de.clearTimeout&&e.clearTimeout,he=St&&St.now!==de.Date.now&&St.now,ve=e.setTimeout!==de.setTimeout&&e.setTimeout,me=kt.ceil,ye=kt.floor,Fe=Et.getOwnPropertySymbols,qe=Ut?Ut.isBuffer:i,gn=e.isFinite,mn=Dt.join,yn=un(Et.keys,Et),bn=kt.max,_n=kt.min,wn=St.now,xn=e.parseInt,On=kt.random,Sn=Dt.reverse,Cn=po(e,"DataView"),Tn=po(e,"Map"),kn=po(e,"Promise"),En=po(e,"Set"),$n=po(e,"WeakMap"),An=po(Et,"create"),jn=$n&&new $n,Dn={},Ln=Bo(Cn),Pn=Bo(Tn),In=Bo(kn),Nn=Bo(En),Mn=Bo($n),Fn=Wt?Wt.prototype:i,Rn=Fn?Fn.valueOf:i,Bn=Fn?Fn.toString:i;function Vn(t){if(rs(t)&&!qa(t)&&!(t instanceof Wn)){if(t instanceof Un)return t;if(Mt.call(t,"__wrapped__"))return Vo(t)}return new Un(t)}var zn=function(){function t(){}return function(e){if(!ns(e))return{};if(Xt)return Xt(e);t.prototype=e;var n=new t;return t.prototype=i,n}}();function Hn(){}function Un(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=i}function Wn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function qn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function cr(t,e,n,r,o,a){var s,u=1&e,c=2&e,l=4&e;if(n&&(s=o?n(t,r,o,a):n(t)),s!==i)return s;if(!ns(t))return t;var f=qa(t);if(f){if(s=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Mt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!u)return Ai(t,s)}else{var p=go(t),d=p==O||p==S;if(Ya(t))return Si(t,u);if(p==k||p==y||d&&!o){if(s=c||d?{}:yo(t),!u)return c?function(t,e){return ji(t,vo(t),e)}(t,function(t,e){return t&&ji(e,Ps(e),t)}(s,t)):function(t,e){return ji(t,ho(t),e)}(t,or(s,t))}else{if(!se[p])return o?t:{};s=function(t,e,n){var r=t.constructor;switch(e){case P:return Ci(t);case _:case w:return new r(+t);case I:return function(t,e){var n=e?Ci(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case N:case M:case F:case R:case B:case V:case z:case H:case U:return Ti(t,n);case C:return new r;case T:case j:return new r(t);case $:return function(t){var e=new t.constructor(t.source,vt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case A:return new r;case D:return i=t,Rn?Et(Rn.call(i)):{}}var i}(t,p,u)}}a||(a=new Yn);var h=a.get(t);if(h)return h;a.set(t,s),us(t)?t.forEach((function(r){s.add(cr(r,e,n,r,t,a))})):is(t)&&t.forEach((function(r,i){s.set(i,cr(r,e,n,i,t,a))}));var v=f?i:(l?c?oo:io:c?Ps:Ls)(t);return ke(v||t,(function(r,i){v&&(r=t[i=r]),nr(s,i,cr(r,e,n,i,t,a))})),s}function lr(t,e,n){var r=n.length;if(null==t)return!r;for(t=Et(t);r--;){var o=n[r],a=e[o],s=t[o];if(s===i&&!(o in t)||!a(s))return!1}return!0}function fr(t,e,n){if("function"!=typeof t)throw new jt(o);return Lo((function(){t.apply(i,n)}),e)}function pr(t,e,n,r){var i=-1,o=je,a=!0,s=t.length,u=[],c=e.length;if(!s)return u;n&&(e=Le(e,Ye(n))),r?(o=De,a=!1):e.length>=200&&(o=Ze,a=!1,e=new Xn(e));t:for(;++i-1},Gn.prototype.set=function(t,e){var n=this.__data__,r=rr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new qn,map:new(Tn||Gn),string:new qn}},Kn.prototype.delete=function(t){var e=lo(this,t).delete(t);return this.size-=e?1:0,e},Kn.prototype.get=function(t){return lo(this,t).get(t)},Kn.prototype.has=function(t){return lo(this,t).has(t)},Kn.prototype.set=function(t,e){var n=lo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Xn.prototype.add=Xn.prototype.push=function(t){return this.__data__.set(t,a),this},Xn.prototype.has=function(t){return this.__data__.has(t)},Yn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Yn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Yn.prototype.get=function(t){return this.__data__.get(t)},Yn.prototype.has=function(t){return this.__data__.has(t)},Yn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Gn){var r=n.__data__;if(!Tn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(t,e),this.size=n.size,this};var dr=Pi(wr),hr=Pi(xr,!0);function vr(t,e){var n=!0;return dr(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function gr(t,e,n){for(var r=-1,o=t.length;++r0&&n(s)?e>1?yr(s,e-1,n,r,i):Pe(i,s):r||(i[i.length]=s)}return i}var br=Ii(),_r=Ii(!0);function wr(t,e){return t&&br(t,e,Ls)}function xr(t,e){return t&&_r(t,e,Ls)}function Or(t,e){return Ae(e,(function(e){return Qa(t[e])}))}function Sr(t,e){for(var n=0,r=(e=_i(e,t)).length;null!=t&&ne}function Er(t,e){return null!=t&&Mt.call(t,e)}function $r(t,e){return null!=t&&e in Et(t)}function Ar(t,e,n){for(var o=n?De:je,a=t[0].length,s=t.length,u=s,c=r(s),l=1/0,f=[];u--;){var p=t[u];u&&e&&(p=Le(p,Ye(e))),l=_n(p.length,l),c[u]=!n&&(e||a>=120&&p.length>=120)?new Xn(u&&p):i}p=t[0];var d=-1,h=c[0];t:for(;++d=s?u:u*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}function qr(t,e,n){for(var r=-1,i=e.length,o={};++r-1;)s!==t&&Jt.call(s,u,1),Jt.call(t,u,1);return t}function Kr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;_o(i)?Jt.call(t,i,1):pi(t,i)}}return t}function Xr(t,e){return t+ye(On()*(e-t+1))}function Yr(t,e){var n="";if(!t||e<1||e>h)return n;do{e%2&&(n+=t),(e=ye(e/2))&&(t+=t)}while(e);return n}function Jr(t,e){return Po(Eo(t,e,ou),t+"")}function Zr(t){return Zn(zs(t))}function Qr(t,e){var n=zs(t);return Mo(n,ur(e,0,n.length))}function ti(t,e,n,r){if(!ns(t))return t;for(var o=-1,a=(e=_i(e,t)).length,s=a-1,u=t;null!=u&&++oo?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=r(o);++i>>1,a=t[o];null!==a&&!ls(a)&&(n?a<=e:a=200){var c=e?null:Yi(t);if(c)return ln(c);a=!1,i=Ze,u=new Xn}else u=e?[]:s;t:for(;++r=r?t:ii(t,e,n)}var Oi=pe||function(t){return de.clearTimeout(t)};function Si(t,e){if(e)return t.slice();var n=t.length,r=Gt?Gt(n):new t.constructor(n);return t.copy(r),r}function Ci(t){var e=new t.constructor(t.byteLength);return new qt(e).set(new qt(t)),e}function Ti(t,e){var n=e?Ci(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function ki(t,e){if(t!==e){var n=t!==i,r=null===t,o=t==t,a=ls(t),s=e!==i,u=null===e,c=e==e,l=ls(e);if(!u&&!l&&!a&&t>e||a&&s&&c&&!u&&!l||r&&s&&c||!n&&c||!o)return 1;if(!r&&!a&&!l&&t1?n[o-1]:i,s=o>2?n[2]:i;for(a=t.length>3&&"function"==typeof a?(o--,a):i,s&&wo(n[0],n[1],s)&&(a=o<3?i:a,o=1),e=Et(e);++r-1?o[a?e[s]:s]:i}}function Bi(t){return ro((function(e){var n=e.length,r=n,a=Un.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new jt(o);if(a&&!u&&"wrapper"==so(s))var u=new Un([],!0)}for(r=u?r:n;++r1&&b.reverse(),d&&lu))return!1;var l=a.get(t),f=a.get(e);if(l&&f)return l==e&&f==t;var p=-1,d=!0,h=2&n?new Xn:i;for(a.set(t,e),a.set(e,t);++p-1&&t%1==0&&t1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(ct,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return ke(m,(function(n){var r="_."+n[0];e&n[1]&&!je(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(lt);return e?e[1].split(ft):[]}(r),n)))}function No(t){var e=0,n=0;return function(){var r=wn(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(i,arguments)}}function Mo(t,e){var n=-1,r=t.length,o=r-1;for(e=e===i?r:e;++n1?t[e-1]:i;return n="function"==typeof n?(t.pop(),n):i,sa(t,n)}));function ha(t){var e=Vn(t);return e.__chain__=!0,e}function va(t,e){return e(t)}var ga=ro((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return sr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Wn&&_o(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:va,args:[o],thisArg:i}),new Un(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(i),t}))):this.thru(o)}));var ma=Di((function(t,e,n){Mt.call(t,n)?++t[n]:ar(t,n,1)}));var ya=Ri(Wo),ba=Ri(qo);function _a(t,e){return(qa(t)?ke:dr)(t,co(e,3))}function wa(t,e){return(qa(t)?Ee:hr)(t,co(e,3))}var xa=Di((function(t,e,n){Mt.call(t,n)?t[n].push(e):ar(t,n,[e])}));var Oa=Jr((function(t,e,n){var i=-1,o="function"==typeof e,a=Ka(t)?r(t.length):[];return dr(t,(function(t){a[++i]=o?Ce(e,t,n):jr(t,e,n)})),a})),Sa=Di((function(t,e,n){ar(t,n,e)}));function Ca(t,e){return(qa(t)?Le:Br)(t,co(e,3))}var Ta=Di((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var ka=Jr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&wo(t,e[0],e[1])?e=[]:n>2&&wo(e[0],e[1],e[2])&&(e=[e[0]]),Wr(t,yr(e,1),[])})),Ea=he||function(){return de.Date.now()};function $a(t,e,n){return e=n?i:e,e=t&&null==e?t.length:e,Zi(t,f,i,i,i,i,e)}function Aa(t,e){var n;if("function"!=typeof e)throw new jt(o);return t=gs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=i),n}}var ja=Jr((function(t,e,n){var r=1;if(n.length){var i=cn(n,uo(ja));r|=c}return Zi(t,r,e,n,i)})),Da=Jr((function(t,e,n){var r=3;if(n.length){var i=cn(n,uo(Da));r|=c}return Zi(e,r,t,n,i)}));function La(t,e,n){var r,a,s,u,c,l,f=0,p=!1,d=!1,h=!0;if("function"!=typeof t)throw new jt(o);function v(e){var n=r,o=a;return r=a=i,f=e,u=t.apply(o,n)}function g(t){return f=t,c=Lo(y,e),p?v(t):u}function m(t){var n=t-l;return l===i||n>=e||n<0||d&&t-f>=s}function y(){var t=Ea();if(m(t))return b(t);c=Lo(y,function(t){var n=e-(t-l);return d?_n(n,s-(t-f)):n}(t))}function b(t){return c=i,h&&r?v(t):(r=a=i,u)}function _(){var t=Ea(),n=m(t);if(r=arguments,a=this,l=t,n){if(c===i)return g(l);if(d)return Oi(c),c=Lo(y,e),v(l)}return c===i&&(c=Lo(y,e)),u}return e=ys(e)||0,ns(n)&&(p=!!n.leading,s=(d="maxWait"in n)?bn(ys(n.maxWait)||0,e):s,h="trailing"in n?!!n.trailing:h),_.cancel=function(){c!==i&&Oi(c),f=0,r=l=a=c=i},_.flush=function(){return c===i?u:b(Ea())},_}var Pa=Jr((function(t,e){return fr(t,1,e)})),Ia=Jr((function(t,e,n){return fr(t,ys(e)||0,n)}));function Na(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new jt(o);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Na.Cache||Kn),n}function Ma(t){if("function"!=typeof t)throw new jt(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Na.Cache=Kn;var Fa=wi((function(t,e){var n=(e=1==e.length&&qa(e[0])?Le(e[0],Ye(co())):Le(yr(e,1),Ye(co()))).length;return Jr((function(r){for(var i=-1,o=_n(r.length,n);++i=e})),Wa=Dr(function(){return arguments}())?Dr:function(t){return rs(t)&&Mt.call(t,"callee")&&!Yt.call(t,"callee")},qa=r.isArray,Ga=be?Ye(be):function(t){return rs(t)&&Tr(t)==P};function Ka(t){return null!=t&&es(t.length)&&!Qa(t)}function Xa(t){return rs(t)&&Ka(t)}var Ya=qe||yu,Ja=_e?Ye(_e):function(t){return rs(t)&&Tr(t)==w};function Za(t){if(!rs(t))return!1;var e=Tr(t);return e==x||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!as(t)}function Qa(t){if(!ns(t))return!1;var e=Tr(t);return e==O||e==S||"[object AsyncFunction]"==e||"[object Proxy]"==e}function ts(t){return"number"==typeof t&&t==gs(t)}function es(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=h}function ns(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function rs(t){return null!=t&&"object"==typeof t}var is=we?Ye(we):function(t){return rs(t)&&go(t)==C};function os(t){return"number"==typeof t||rs(t)&&Tr(t)==T}function as(t){if(!rs(t)||Tr(t)!=k)return!1;var e=Kt(t);if(null===e)return!0;var n=Mt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Nt.call(n)==Vt}var ss=xe?Ye(xe):function(t){return rs(t)&&Tr(t)==$};var us=Oe?Ye(Oe):function(t){return rs(t)&&go(t)==A};function cs(t){return"string"==typeof t||!qa(t)&&rs(t)&&Tr(t)==j}function ls(t){return"symbol"==typeof t||rs(t)&&Tr(t)==D}var fs=Se?Ye(Se):function(t){return rs(t)&&es(t.length)&&!!ae[Tr(t)]};var ps=Gi(Rr),ds=Gi((function(t,e){return t<=e}));function hs(t){if(!t)return[];if(Ka(t))return cs(t)?dn(t):Ai(t);if(ne&&t[ne])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[ne]());var e=go(t);return(e==C?sn:e==A?ln:zs)(t)}function vs(t){return t?(t=ys(t))===d||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function gs(t){var e=vs(t),n=e%1;return e==e?n?e-n:e:0}function ms(t){return t?ur(gs(t),0,g):0}function ys(t){if("number"==typeof t)return t;if(ls(t))return v;if(ns(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ns(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(at,"");var n=mt.test(t);return n||bt.test(t)?le(t.slice(2),n?2:8):gt.test(t)?v:+t}function bs(t){return ji(t,Ps(t))}function _s(t){return null==t?"":li(t)}var ws=Li((function(t,e){if(Co(e)||Ka(e))ji(e,Ls(e),t);else for(var n in e)Mt.call(e,n)&&nr(t,n,e[n])})),xs=Li((function(t,e){ji(e,Ps(e),t)})),Os=Li((function(t,e,n,r){ji(e,Ps(e),t,r)})),Ss=Li((function(t,e,n,r){ji(e,Ls(e),t,r)})),Cs=ro(sr);var Ts=Jr((function(t,e){t=Et(t);var n=-1,r=e.length,o=r>2?e[2]:i;for(o&&wo(e[0],e[1],o)&&(r=1);++n1),e})),ji(t,oo(t),n),r&&(n=cr(n,7,eo));for(var i=e.length;i--;)pi(n,e[i]);return n}));var Fs=ro((function(t,e){return null==t?{}:function(t,e){return qr(t,e,(function(e,n){return $s(t,n)}))}(t,e)}));function Rs(t,e){if(null==t)return{};var n=Le(oo(t),(function(t){return[t]}));return e=co(e),qr(t,n,(function(t,n){return e(t,n[0])}))}var Bs=Ji(Ls),Vs=Ji(Ps);function zs(t){return null==t?[]:Je(t,Ls(t))}var Hs=Mi((function(t,e,n){return e=e.toLowerCase(),t+(n?Us(e):e)}));function Us(t){return Zs(_s(t).toLowerCase())}function Ws(t){return(t=_s(t))&&t.replace(wt,nn).replace(Qt,"")}var qs=Mi((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Gs=Mi((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ks=Ni("toLowerCase");var Xs=Mi((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Ys=Mi((function(t,e,n){return t+(n?" ":"")+Zs(e)}));var Js=Mi((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Zs=Ni("toUpperCase");function Qs(t,e,n){return t=_s(t),(e=n?i:e)===i?function(t){return re.test(t)}(t)?function(t){return t.match(ee)||[]}(t):function(t){return t.match(pt)||[]}(t):t.match(e)||[]}var tu=Jr((function(t,e){try{return Ce(t,i,e)}catch(t){return Za(t)?t:new Ct(t)}})),eu=ro((function(t,e){return ke(e,(function(e){e=Ro(e),ar(t,e,ja(t[e],t))})),t}));function nu(t){return function(){return t}}var ru=Bi(),iu=Bi(!0);function ou(t){return t}function au(t){return Nr("function"==typeof t?t:cr(t,1))}var su=Jr((function(t,e){return function(n){return jr(n,t,e)}})),uu=Jr((function(t,e){return function(n){return jr(t,n,e)}}));function cu(t,e,n){var r=Ls(e),i=Or(e,r);null!=n||ns(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Or(e,Ls(e)));var o=!(ns(n)&&"chain"in n&&!n.chain),a=Qa(t);return ke(i,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=Ai(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Pe([this.value()],arguments))})})),t}function lu(){}var fu=Ui(Le),pu=Ui($e),du=Ui(Me);function hu(t){return xo(t)?We(Ro(t)):function(t){return function(e){return Sr(e,t)}}(t)}var vu=qi(),gu=qi(!0);function mu(){return[]}function yu(){return!1}var bu=Hi((function(t,e){return t+e}),0),_u=Xi("ceil"),wu=Hi((function(t,e){return t/e}),1),xu=Xi("floor");var Ou,Su=Hi((function(t,e){return t*e}),1),Cu=Xi("round"),Tu=Hi((function(t,e){return t-e}),0);return Vn.after=function(t,e){if("function"!=typeof e)throw new jt(o);return t=gs(t),function(){if(--t<1)return e.apply(this,arguments)}},Vn.ary=$a,Vn.assign=ws,Vn.assignIn=xs,Vn.assignInWith=Os,Vn.assignWith=Ss,Vn.at=Cs,Vn.before=Aa,Vn.bind=ja,Vn.bindAll=eu,Vn.bindKey=Da,Vn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return qa(t)?t:[t]},Vn.chain=ha,Vn.chunk=function(t,e,n){e=(n?wo(t,e,n):e===i)?1:bn(gs(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var a=0,s=0,u=r(me(o/e));ao?0:o+n),(r=r===i||r>o?o:gs(r))<0&&(r+=o),r=n>r?0:ms(r);n>>0)?(t=_s(t))&&("string"==typeof e||null!=e&&!ss(e))&&!(e=li(e))&&an(t)?xi(dn(t),0,n):t.split(e,n):[]},Vn.spread=function(t,e){if("function"!=typeof t)throw new jt(o);return e=null==e?0:bn(gs(e),0),Jr((function(n){var r=n[e],i=xi(n,0,e);return r&&Pe(i,r),Ce(t,this,i)}))},Vn.tail=function(t){var e=null==t?0:t.length;return e?ii(t,1,e):[]},Vn.take=function(t,e,n){return t&&t.length?ii(t,0,(e=n||e===i?1:gs(e))<0?0:e):[]},Vn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,(e=r-(e=n||e===i?1:gs(e)))<0?0:e,r):[]},Vn.takeRightWhile=function(t,e){return t&&t.length?hi(t,co(e,3),!1,!0):[]},Vn.takeWhile=function(t,e){return t&&t.length?hi(t,co(e,3)):[]},Vn.tap=function(t,e){return e(t),t},Vn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new jt(o);return ns(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),La(t,e,{leading:r,maxWait:e,trailing:i})},Vn.thru=va,Vn.toArray=hs,Vn.toPairs=Bs,Vn.toPairsIn=Vs,Vn.toPath=function(t){return qa(t)?Le(t,Ro):ls(t)?[t]:Ai(Fo(_s(t)))},Vn.toPlainObject=bs,Vn.transform=function(t,e,n){var r=qa(t),i=r||Ya(t)||fs(t);if(e=co(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:ns(t)&&Qa(o)?zn(Kt(t)):{}}return(i?ke:wr)(t,(function(t,r,i){return e(n,t,r,i)})),n},Vn.unary=function(t){return $a(t,1)},Vn.union=ra,Vn.unionBy=ia,Vn.unionWith=oa,Vn.uniq=function(t){return t&&t.length?fi(t):[]},Vn.uniqBy=function(t,e){return t&&t.length?fi(t,co(e,2)):[]},Vn.uniqWith=function(t,e){return e="function"==typeof e?e:i,t&&t.length?fi(t,i,e):[]},Vn.unset=function(t,e){return null==t||pi(t,e)},Vn.unzip=aa,Vn.unzipWith=sa,Vn.update=function(t,e,n){return null==t?t:di(t,e,bi(n))},Vn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:di(t,e,bi(n),r)},Vn.values=zs,Vn.valuesIn=function(t){return null==t?[]:Je(t,Ps(t))},Vn.without=ua,Vn.words=Qs,Vn.wrap=function(t,e){return Ra(bi(e),t)},Vn.xor=ca,Vn.xorBy=la,Vn.xorWith=fa,Vn.zip=pa,Vn.zipObject=function(t,e){return mi(t||[],e||[],nr)},Vn.zipObjectDeep=function(t,e){return mi(t||[],e||[],ti)},Vn.zipWith=da,Vn.entries=Bs,Vn.entriesIn=Vs,Vn.extend=xs,Vn.extendWith=Os,cu(Vn,Vn),Vn.add=bu,Vn.attempt=tu,Vn.camelCase=Hs,Vn.capitalize=Us,Vn.ceil=_u,Vn.clamp=function(t,e,n){return n===i&&(n=e,e=i),n!==i&&(n=(n=ys(n))==n?n:0),e!==i&&(e=(e=ys(e))==e?e:0),ur(ys(t),e,n)},Vn.clone=function(t){return cr(t,4)},Vn.cloneDeep=function(t){return cr(t,5)},Vn.cloneDeepWith=function(t,e){return cr(t,5,e="function"==typeof e?e:i)},Vn.cloneWith=function(t,e){return cr(t,4,e="function"==typeof e?e:i)},Vn.conformsTo=function(t,e){return null==e||lr(t,e,Ls(e))},Vn.deburr=Ws,Vn.defaultTo=function(t,e){return null==t||t!=t?e:t},Vn.divide=wu,Vn.endsWith=function(t,e,n){t=_s(t),e=li(e);var r=t.length,o=n=n===i?r:ur(gs(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},Vn.eq=za,Vn.escape=function(t){return(t=_s(t))&&J.test(t)?t.replace(X,rn):t},Vn.escapeRegExp=function(t){return(t=_s(t))&&ot.test(t)?t.replace(it,"\\$&"):t},Vn.every=function(t,e,n){var r=qa(t)?$e:vr;return n&&wo(t,e,n)&&(e=i),r(t,co(e,3))},Vn.find=ya,Vn.findIndex=Wo,Vn.findKey=function(t,e){return Re(t,co(e,3),wr)},Vn.findLast=ba,Vn.findLastIndex=qo,Vn.findLastKey=function(t,e){return Re(t,co(e,3),xr)},Vn.floor=xu,Vn.forEach=_a,Vn.forEachRight=wa,Vn.forIn=function(t,e){return null==t?t:br(t,co(e,3),Ps)},Vn.forInRight=function(t,e){return null==t?t:_r(t,co(e,3),Ps)},Vn.forOwn=function(t,e){return t&&wr(t,co(e,3))},Vn.forOwnRight=function(t,e){return t&&xr(t,co(e,3))},Vn.get=Es,Vn.gt=Ha,Vn.gte=Ua,Vn.has=function(t,e){return null!=t&&mo(t,e,Er)},Vn.hasIn=$s,Vn.head=Ko,Vn.identity=ou,Vn.includes=function(t,e,n,r){t=Ka(t)?t:zs(t),n=n&&!r?gs(n):0;var i=t.length;return n<0&&(n=bn(i+n,0)),cs(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Ve(t,e,n)>-1},Vn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:gs(n);return i<0&&(i=bn(r+i,0)),Ve(t,e,i)},Vn.inRange=function(t,e,n){return e=vs(e),n===i?(n=e,e=0):n=vs(n),function(t,e,n){return t>=_n(e,n)&&t=-9007199254740991&&t<=h},Vn.isSet=us,Vn.isString=cs,Vn.isSymbol=ls,Vn.isTypedArray=fs,Vn.isUndefined=function(t){return t===i},Vn.isWeakMap=function(t){return rs(t)&&go(t)==L},Vn.isWeakSet=function(t){return rs(t)&&"[object WeakSet]"==Tr(t)},Vn.join=function(t,e){return null==t?"":mn.call(t,e)},Vn.kebabCase=qs,Vn.last=Zo,Vn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=gs(n))<0?bn(r+o,0):_n(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):Be(t,He,o,!0)},Vn.lowerCase=Gs,Vn.lowerFirst=Ks,Vn.lt=ps,Vn.lte=ds,Vn.max=function(t){return t&&t.length?gr(t,ou,kr):i},Vn.maxBy=function(t,e){return t&&t.length?gr(t,co(e,2),kr):i},Vn.mean=function(t){return Ue(t,ou)},Vn.meanBy=function(t,e){return Ue(t,co(e,2))},Vn.min=function(t){return t&&t.length?gr(t,ou,Rr):i},Vn.minBy=function(t,e){return t&&t.length?gr(t,co(e,2),Rr):i},Vn.stubArray=mu,Vn.stubFalse=yu,Vn.stubObject=function(){return{}},Vn.stubString=function(){return""},Vn.stubTrue=function(){return!0},Vn.multiply=Su,Vn.nth=function(t,e){return t&&t.length?Ur(t,gs(e)):i},Vn.noConflict=function(){return de._===this&&(de._=zt),this},Vn.noop=lu,Vn.now=Ea,Vn.pad=function(t,e,n){t=_s(t);var r=(e=gs(e))?pn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Wi(ye(i),n)+t+Wi(me(i),n)},Vn.padEnd=function(t,e,n){t=_s(t);var r=(e=gs(e))?pn(t):0;return e&&re){var r=t;t=e,e=r}if(n||t%1||e%1){var o=On();return _n(t+o*(e-t+ce("1e-"+((o+"").length-1))),e)}return Xr(t,e)},Vn.reduce=function(t,e,n){var r=qa(t)?Ie:Ge,i=arguments.length<3;return r(t,co(e,4),n,i,dr)},Vn.reduceRight=function(t,e,n){var r=qa(t)?Ne:Ge,i=arguments.length<3;return r(t,co(e,4),n,i,hr)},Vn.repeat=function(t,e,n){return e=(n?wo(t,e,n):e===i)?1:gs(e),Yr(_s(t),e)},Vn.replace=function(){var t=arguments,e=_s(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Vn.result=function(t,e,n){var r=-1,o=(e=_i(e,t)).length;for(o||(o=1,t=i);++rh)return[];var n=g,r=_n(t,g);e=co(e),t-=g;for(var i=Xe(r,e);++n=a)return t;var u=n-pn(r);if(u<1)return r;var c=s?xi(s,0,u).join(""):t.slice(0,u);if(o===i)return c+r;if(s&&(u+=c.length-u),ss(o)){if(t.slice(u).search(o)){var l,f=c;for(o.global||(o=$t(o.source,_s(vt.exec(o))+"g")),o.lastIndex=0;l=o.exec(f);)var p=l.index;c=c.slice(0,p===i?u:p)}}else if(t.indexOf(li(o),u)!=u){var d=c.lastIndexOf(o);d>-1&&(c=c.slice(0,d))}return c+r},Vn.unescape=function(t){return(t=_s(t))&&Y.test(t)?t.replace(K,hn):t},Vn.uniqueId=function(t){var e=++Ft;return _s(t)+e},Vn.upperCase=Js,Vn.upperFirst=Zs,Vn.each=_a,Vn.eachRight=wa,Vn.first=Ko,cu(Vn,(Ou={},wr(Vn,(function(t,e){Mt.call(Vn.prototype,e)||(Ou[e]=t)})),Ou),{chain:!1}),Vn.VERSION="4.17.20",ke(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Vn[t].placeholder=Vn})),ke(["drop","take"],(function(t,e){Wn.prototype[t]=function(n){n=n===i?1:bn(gs(n),0);var r=this.__filtered__&&!e?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=_n(n,r.__takeCount__):r.__views__.push({size:_n(n,g),type:t+(r.__dir__<0?"Right":"")}),r},Wn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),ke(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Wn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:co(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),ke(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Wn.prototype[t]=function(){return this[n](1).value()[0]}})),ke(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Wn.prototype[t]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(ou)},Wn.prototype.find=function(t){return this.filter(t).head()},Wn.prototype.findLast=function(t){return this.reverse().find(t)},Wn.prototype.invokeMap=Jr((function(t,e){return"function"==typeof t?new Wn(this):this.map((function(n){return jr(n,t,e)}))})),Wn.prototype.reject=function(t){return this.filter(Ma(co(t)))},Wn.prototype.slice=function(t,e){t=gs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Wn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==i&&(n=(e=gs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Wn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Wn.prototype.toArray=function(){return this.take(g)},wr(Wn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Vn[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);o&&(Vn.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,u=e instanceof Wn,c=s[0],l=u||qa(e),f=function(t){var e=o.apply(Vn,Pe([t],s));return r&&p?e[0]:e};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var p=this.__chain__,d=!!this.__actions__.length,h=a&&!p,v=u&&!d;if(!a&&l){e=v?e:new Wn(this);var g=t.apply(e,s);return g.__actions__.push({func:va,args:[f],thisArg:i}),new Un(g,p)}return h&&v?t.apply(this,s):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})})),ke(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Dt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Vn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(qa(i)?i:[],t)}return this[n]((function(n){return e.apply(qa(n)?n:[],t)}))}})),wr(Wn.prototype,(function(t,e){var n=Vn[e];if(n){var r=n.name+"";Mt.call(Dn,r)||(Dn[r]=[]),Dn[r].push({name:e,func:n})}})),Dn[Vi(i,2).name]=[{name:"wrapper",func:i}],Wn.prototype.clone=function(){var t=new Wn(this.__wrapped__);return t.__actions__=Ai(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ai(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ai(this.__views__),t},Wn.prototype.reverse=function(){if(this.__filtered__){var t=new Wn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Wn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=qa(t),r=e<0,i=n?t.length:0,o=function(t,e,n){var r=-1,i=n.length;for(;++r=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},Vn.prototype.plant=function(t){for(var e,n=this;n instanceof Hn;){var r=Vo(n);r.__index__=0,r.__values__=i,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},Vn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Wn){var e=t;return this.__actions__.length&&(e=new Wn(this)),(e=e.reverse()).__actions__.push({func:va,args:[na],thisArg:i}),new Un(e,this.__chain__)}return this.thru(na)},Vn.prototype.toJSON=Vn.prototype.valueOf=Vn.prototype.value=function(){return vi(this.__wrapped__,this.__actions__)},Vn.prototype.first=Vn.prototype.head,ne&&(Vn.prototype[ne]=function(){return this}),Vn}();de._=vn,(r=function(){return vn}.call(e,n,e,t))===i||(t.exports=r)}.call(this)},3857:(t,e,n)=>{var r=n(2980),i=n(1463)((function(t,e,n){r(t,e,n)}));t.exports=i},479:t=>{t.exports=function(){return[]}},5062:t=>{t.exports=function(){return!1}},9881:(t,e,n)=>{var r=n(8363),i=n(1704);t.exports=function(t){return r(t,i(t))}},8981:(t,e,n)=>{"use strict";n.d(e,{Z:()=>ct});var r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,i=function(){for(var t=["Edge","Trident","Firefox"],e=0;e=0)return 1;return 0}();var o=r&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),i))}};function a(t){return t&&"[object Function]"==={}.toString.call(t)}function s(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function u(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=s(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:c(u(t))}function l(t){return t&&t.referenceNode?t.referenceNode:t}var f=r&&!(!window.MSInputMethodContext||!document.documentMode),p=r&&/MSIE 10/.test(navigator.userAgent);function d(t){return 11===t?f:10===t?p:f||p}function h(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?h(n):n:t?t.ownerDocument.documentElement:document.documentElement}function v(t){return null!==t.parentNode?v(t.parentNode):t}function g(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,s,u=o.commonAncestorContainer;if(t!==u&&e!==u||r.contains(i))return"BODY"===(s=(a=u).nodeName)||"HTML"!==s&&h(a.firstElementChild)!==a?h(u):u;var c=v(t);return c.host?g(c.host,e):g(t,v(e).host)}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||i;return o[n]}return t[n]}function y(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=m(e,"top"),i=m(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function b(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function _(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],d(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function w(t){var e=t.body,n=t.documentElement,r=d(10)&&getComputedStyle(n);return{height:_("Height",e,n,r),width:_("Width",e,n,r)}}var x=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},O=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=d(10),i="HTML"===e.nodeName,o=k(t),a=k(e),u=c(t),l=s(e),f=parseFloat(l.borderTopWidth),p=parseFloat(l.borderLeftWidth);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=T({top:o.top-a.top-f,left:o.left-a.left-p,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!r&&i){var v=parseFloat(l.marginTop),g=parseFloat(l.marginLeft);h.top-=f-v,h.bottom-=f-v,h.left-=p-g,h.right-=p-g,h.marginTop=v,h.marginLeft=g}return(r&&!n?e.contains(u):e===u&&"BODY"!==u.nodeName)&&(h=y(h,e)),h}function $(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=E(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:m(n),s=e?0:m(n,"left"),u={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o};return T(u)}function A(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===s(t,"position"))return!0;var n=u(t);return!!n&&A(n)}function j(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===s(e,"transform");)e=e.parentElement;return e||document.documentElement}function D(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?j(t):g(t,l(e));if("viewport"===r)o=$(a,i);else{var s=void 0;"scrollParent"===r?"BODY"===(s=c(u(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===r?t.ownerDocument.documentElement:r;var f=E(s,a,i);if("HTML"!==s.nodeName||A(a))o=f;else{var p=w(t.ownerDocument),d=p.height,h=p.width;o.top+=f.top-f.marginTop,o.bottom=d+f.top,o.left+=f.left-f.marginLeft,o.right=h+f.left}}var v="number"==typeof(n=n||0);return o.left+=v?n:n.left||0,o.top+=v?n:n.top||0,o.right-=v?n:n.right||0,o.bottom-=v?n:n.bottom||0,o}function L(t){return t.width*t.height}function P(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=D(n,r,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},u=Object.keys(s).map((function(t){return C({key:t},s[t],{area:L(s[t])})})).sort((function(t,e){return e.area-t.area})),c=u.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),l=c.length>0?c[0].key:u[0].key,f=t.split("-")[1];return l+(f?"-"+f:"")}function I(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?j(e):g(e,l(n));return E(n,i,r)}function N(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function M(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function F(t,e,n){n=n.split("-")[0];var r=N(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",u=o?"height":"width",c=o?"width":"height";return i[a]=e[a]+e[u]/2-r[u]/2,i[s]=n===s?e[s]-r[c]:e[M(s)],i}function R(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function B(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=R(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&a(n)&&(e.offsets.popper=T(e.offsets.popper),e.offsets.reference=T(e.offsets.reference),e=n(e,t))})),e}function V(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=I(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=P(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=F(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=B(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function z(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function H(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=et.indexOf(t),r=et.slice(n+1).concat(et.slice(0,n));return e?r.reverse():r}var rt="flip",it="clockwise",ot="counterclockwise";function at(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(R(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return T(s)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,r){Y(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))}))})),i}var st={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",c=s?"width":"height",l={start:S({},u,o[u]),end:S({},u,o[u]+o[c]-a[c])};t.offsets.popper=C({},a,l[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],u=void 0;return u=Y(+n)?[+n,0]:at(n,o,a,s),"left"===s?(o.top+=u[0],o.left-=u[1]):"right"===s?(o.top+=u[0],o.left+=u[1]):"top"===s?(o.left+=u[0],o.top-=u[1]):"bottom"===s&&(o.left+=u[0],o.top+=u[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||h(t.instance.popper);t.instance.reference===n&&(n=h(n));var r=H("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var u=D(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=s,e.boundaries=u;var c=e.priority,l=t.offsets.popper,f={primary:function(t){var n=l[t];return l[t]u[t]&&!e.escapeWithReference&&(r=Math.min(l[n],u[t]-("right"===t?l.width:l.height))),S({},n,r)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";l=C({},l,f[e](t))})),t.offsets.popper=l,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",u=a?"left":"top",c=a?"width":"height";return n[s]o(r[s])&&(t.offsets.popper[u]=o(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!Q(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,a=o.popper,u=o.reference,c=-1!==["left","right"].indexOf(i),l=c?"height":"width",f=c?"Top":"Left",p=f.toLowerCase(),d=c?"left":"top",h=c?"bottom":"right",v=N(r)[l];u[h]-va[h]&&(t.offsets.popper[p]+=u[p]+v-a[h]),t.offsets.popper=T(t.offsets.popper);var g=u[p]+u[l]/2-v/2,m=s(t.instance.popper),y=parseFloat(m["margin"+f]),b=parseFloat(m["border"+f+"Width"]),_=g-t.offsets.popper[p]-y-b;return _=Math.max(Math.min(a[l]-v,_),0),t.arrowElement=r,t.offsets.arrow=(S(n={},p,Math.round(_)),S(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(z(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=D(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=M(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case rt:a=[r,i];break;case it:a=nt(r);break;case ot:a=nt(r,!0);break;default:a=e.behavior}return a.forEach((function(s,u){if(r!==s||a.length===u+1)return t;r=t.placement.split("-")[0],i=M(r);var c=t.offsets.popper,l=t.offsets.reference,f=Math.floor,p="left"===r&&f(c.right)>f(l.left)||"right"===r&&f(c.left)f(l.top)||"bottom"===r&&f(c.top)f(n.right),v=f(c.top)f(n.bottom),m="left"===r&&d||"right"===r&&h||"top"===r&&v||"bottom"===r&&g,y=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(y&&"start"===o&&d||y&&"end"===o&&h||!y&&"start"===o&&v||!y&&"end"===o&&g),_=!!e.flipVariationsByContent&&(y&&"start"===o&&h||y&&"end"===o&&d||!y&&"start"===o&&g||!y&&"end"===o&&v),w=b||_;(p||m||w)&&(t.flipped=!0,(p||m)&&(r=a[u+1]),w&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=C({},t.offsets.popper,F(t.instance.popper,t.offsets.reference,t.placement)),t=B(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),t.placement=M(e),t.offsets.popper=T(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=R(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};x(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=C({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(C({},t.Defaults.modifiers,i.modifiers)).forEach((function(e){r.options.modifiers[e]=C({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return C({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&a(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return O(t,[{key:"update",value:function(){return V.call(this)}},{key:"destroy",value:function(){return U.call(this)}},{key:"enableEventListeners",value:function(){return K.call(this)}},{key:"disableEventListeners",value:function(){return X.call(this)}}]),t}();ut.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,ut.placements=tt,ut.Defaults=st;const ct=ut},4155:t=>{var e,n,r=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(t){n=o}}();var s,u=[],c=!1,l=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&p())}function p(){if(!c){var t=a(f);c=!0;for(var e=u.length;e;){for(s=u,u=[];++l1)for(var n=1;n{"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(){return(o=Object.assign||function(t){for(var e=1;e=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function u(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);exe,MultiDrag:()=>be,Sortable:()=>Bt,Swap:()=>ue});function c(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var l=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),f=c(/Edge/i),p=c(/firefox/i),d=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),h=c(/iP(ad|od|hone)/i),v=c(/chrome/i)&&c(/android/i),g={capture:!1,passive:!1};function m(t,e,n){t.addEventListener(e,n,!l&&g)}function y(t,e,n){t.removeEventListener(e,n,!l&&g)}function b(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function _(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function w(t,e,n,r){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&b(t,e):b(t,e))||r&&t===n)return t;if(t===n)break}while(t=_(t))}return null}var x,O=/\s+/g;function S(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var r=(" "+t.className+" ").replace(O," ").replace(" "+e+" "," ");t.className=(r+(n?" "+e:"")).replace(O," ")}}function C(t,e,n){var r=t&&t.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in r||-1!==e.indexOf("webkit")||(e="-webkit-"+e),r[e]=n+("string"==typeof n?"":"px")}}function T(t,e){var n="";if("string"==typeof t)n=t;else do{var r=C(t,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function k(t,e,n){if(t){var r=t.getElementsByTagName(e),i=0,o=r.length;if(n)for(;i=o:i<=o))return r;if(r===E())break;r=I(r,!1)}return!1}function j(t,e,n){for(var r=0,i=0,o=t.children;i2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=s(n,["evt"]);q.pluginEvent.bind(Bt)(t,e,a({dragEl:Y,parentEl:J,ghostEl:Z,rootEl:Q,nextEl:tt,lastDownEl:et,cloneEl:nt,cloneHidden:rt,dragStarted:gt,putSortable:ct,activeSortable:Bt.active,originalEvent:r,oldIndex:it,oldDraggableIndex:at,newIndex:ot,newDraggableIndex:st,hideGhostForTarget:Nt,unhideGhostForTarget:Mt,cloneNowHidden:function(){rt=!0},cloneNowShown:function(){rt=!1},dispatchSortableEvent:function(t){X({sortable:e,name:t,originalEvent:r})}},i))};function X(t){G(a({putSortable:ct,cloneEl:nt,targetEl:Y,rootEl:Q,oldIndex:it,oldDraggableIndex:at,newIndex:ot,newDraggableIndex:st},t))}var Y,J,Z,Q,tt,et,nt,rt,it,ot,at,st,ut,ct,lt,ft,pt,dt,ht,vt,gt,mt,yt,bt,_t,wt=!1,xt=!1,Ot=[],St=!1,Ct=!1,Tt=[],kt=!1,Et=[],$t="undefined"!=typeof document,At=h,jt=f||l?"cssFloat":"float",Dt=$t&&!v&&!h&&"draggable"in document.createElement("div"),Lt=function(){if($t){if(l)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Pt=function(t,e){var n=C(t),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=j(t,0,e),o=j(t,1,e),a=i&&C(i),s=o&&C(o),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+$(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+$(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&"none"!==a.float){var l="left"===a.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==l?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||u>=r&&"none"===n[jt]||o&&"none"===n[jt]&&u+c>r)?"vertical":"horizontal"},It=function(t){function e(t,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==t&&(n||s))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(r,i,o,a),n)(r,i,o,a);var u=(n?r:i).options.group.name;return!0===t||"string"==typeof t&&t===u||t.join&&t.indexOf(u)>-1}}var n={},i=t.group;i&&"object"==r(i)||(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n},Nt=function(){!Lt&&Z&&C(Z,"display","none")},Mt=function(){!Lt&&Z&&C(Z,"display","")};$t&&document.addEventListener("click",(function(t){if(xt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),xt=!1,!1}),!0);var Ft=function(t){if(Y){t=t.touches?t.touches[0]:t;var e=(i=t.clientX,o=t.clientY,Ot.some((function(t){if(!D(t)){var e=$(t),n=t[z].options.emptyInsertThreshold,r=i>=e.left-n&&i<=e.right+n,s=o>=e.top-n&&o<=e.bottom+n;return n&&r&&s?a=t:void 0}})),a);if(e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[z]._onDragOver(n)}}var i,o,a},Rt=function(t){Y&&Y.parentNode[z]._isOutsideThisEl(t.target)};function Bt(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=o({},e),t[z]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Pt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Bt.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in q.initializePlugins(this,t,n),n)!(r in e)&&(e[r]=n[r]);for(var i in It(e),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!e.forceFallback&&Dt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?m(t,"pointerdown",this._onTapStart):(m(t,"mousedown",this._onTapStart),m(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(m(t,"dragover",this),m(t,"dragenter",this)),Ot.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),o(this,H())}function Vt(t,e,n,r,i,o,a,s){var u,c,p=t[z],d=p.options.onMove;return!window.CustomEvent||l||f?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=e,u.from=t,u.dragged=n,u.draggedRect=r,u.related=i||e,u.relatedRect=o||$(e),u.willInsertAfter=s,u.originalEvent=a,t.dispatchEvent(u),d&&(c=d.call(p,u,a)),c}function zt(t){t.draggable=!1}function Ht(){kt=!1}function Ut(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,r=0;n--;)r+=e.charCodeAt(n);return r.toString(36)}function Wt(t){return setTimeout(t,0)}function qt(t){return clearTimeout(t)}Bt.prototype={constructor:Bt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(mt=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,Y):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,r=this.options,i=r.preventOnFilter,o=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,c=r.filter;if(function(t){Et.length=0;var e=t.getElementsByTagName("input"),n=e.length;for(;n--;){var r=e[n];r.checked&&Et.push(r)}}(n),!Y&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||r.disabled||u.isContentEditable||(s=w(s,r.draggable,n,!1))&&s.animated||et===s)){if(it=L(s),at=L(s,r.draggable),"function"==typeof c){if(c.call(this,t,s,this))return X({sortable:e,rootEl:u,name:"filter",targetEl:s,toEl:n,fromEl:n}),K("filter",e,{evt:t}),void(i&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(r){if(r=w(u,r.trim(),n,!1))return X({sortable:e,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),K("filter",e,{evt:t}),!0}))))return void(i&&t.cancelable&&t.preventDefault());r.handle&&!w(u,r.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,e,n){var r,i=this,o=i.el,a=i.options,s=o.ownerDocument;if(n&&!Y&&n.parentNode===o){var u=$(n);if(Q=o,J=(Y=n).parentNode,tt=Y.nextSibling,et=n,ut=a.group,Bt.dragged=Y,lt={target:Y,clientX:(e||t).clientX,clientY:(e||t).clientY},ht=lt.clientX-u.left,vt=lt.clientY-u.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,Y.style["will-change"]="all",r=function(){K("delayEnded",i,{evt:t}),Bt.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!p&&i.nativeDraggable&&(Y.draggable=!0),i._triggerDragStart(t,e),X({sortable:i,name:"choose",originalEvent:t}),S(Y,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){k(Y,t.trim(),zt)})),m(s,"dragover",Ft),m(s,"mousemove",Ft),m(s,"touchmove",Ft),m(s,"mouseup",i._onDrop),m(s,"touchend",i._onDrop),m(s,"touchcancel",i._onDrop),p&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Y.draggable=!0),K("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!e||this.nativeDraggable&&(f||l))r();else{if(Bt.eventCanceled)return void this._onDrop();m(s,"mouseup",i._disableDelayedDrag),m(s,"touchend",i._disableDelayedDrag),m(s,"touchcancel",i._disableDelayedDrag),m(s,"mousemove",i._delayedDragTouchMoveHandler),m(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&m(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){Y&&zt(Y),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;y(t,"mouseup",this._disableDelayedDrag),y(t,"touchend",this._disableDelayedDrag),y(t,"touchcancel",this._disableDelayedDrag),y(t,"mousemove",this._delayedDragTouchMoveHandler),y(t,"touchmove",this._delayedDragTouchMoveHandler),y(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?m(document,"pointermove",this._onTouchMove):m(document,e?"touchmove":"mousemove",this._onTouchMove):(m(Y,"dragend",this),m(Q,"dragstart",this._onDragStart));try{document.selection?Wt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(wt=!1,Q&&Y){K("dragStarted",this,{evt:e}),this.nativeDraggable&&m(document,"dragover",Rt);var n=this.options;!t&&S(Y,n.dragClass,!1),S(Y,n.ghostClass,!0),Bt.active=this,t&&this._appendGhost(),X({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(ft){this._lastX=ft.clientX,this._lastY=ft.clientY,Nt();for(var t=document.elementFromPoint(ft.clientX,ft.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(ft.clientX,ft.clientY))!==e;)e=t;if(Y.parentNode[z]._isOutsideThisEl(t),e)do{if(e[z]){if(e[z]._onDragOver({clientX:ft.clientX,clientY:ft.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Mt()}},_onTouchMove:function(t){if(lt){var e=this.options,n=e.fallbackTolerance,r=e.fallbackOffset,i=t.touches?t.touches[0]:t,o=Z&&T(Z,!0),a=Z&&o&&o.a,s=Z&&o&&o.d,u=At&&_t&&P(_t),c=(i.clientX-lt.clientX+r.x)/(a||1)+(u?u[0]-Tt[0]:0)/(a||1),l=(i.clientY-lt.clientY+r.y)/(s||1)+(u?u[1]-Tt[1]:0)/(s||1);if(!Bt.active&&!wt){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))r.right+i||t.clientX<=r.right&&t.clientY>r.bottom&&t.clientX>=r.left:t.clientX>r.right&&t.clientY>r.top||t.clientX<=r.right&&t.clientY>r.bottom+i}(t,i,this)&&!g.animated){if(g===Y)return R(!1);if(g&&o===t.target&&(s=g),s&&(n=$(s)),!1!==Vt(Q,o,Y,e,s,n,t,!!s))return M(),o.appendChild(Y),J=o,B(),R(!0)}else if(s.parentNode===o){n=$(s);var m,y,b,_=Y.parentNode!==o,x=!function(t,e,n){var r=n?t.left:t.top,i=n?t.right:t.bottom,o=n?t.width:t.height,a=n?e.left:e.top,s=n?e.right:e.bottom,u=n?e.width:e.height;return r===a||i===s||r+o/2===a+u/2}(Y.animated&&Y.toRect||e,s.animated&&s.toRect||n,i),O=i?"top":"left",T=A(s,"top","top")||A(Y,"top","top"),k=T?T.scrollTop:void 0;if(mt!==s&&(y=n[O],St=!1,Ct=!x&&u.invertSwap||_),0!==(m=function(t,e,n,r,i,o,a,s){var u=r?t.clientY:t.clientX,c=r?n.height:n.width,l=r?n.top:n.left,f=r?n.bottom:n.right,p=!1;if(!a)if(s&&btl+c*o/2:uf-bt)return-yt}else if(u>l+c*(1-i)/2&&uf-c*o/2))return u>l+c/2?1:-1;return 0}(t,s,n,i,x?1:u.swapThreshold,null==u.invertedSwapThreshold?u.swapThreshold:u.invertedSwapThreshold,Ct,mt===s))){var E=L(Y);do{E-=m,b=J.children[E]}while(b&&("none"===C(b,"display")||b===Z))}if(0===m||b===s)return R(!1);mt=s,yt=m;var j=s.nextElementSibling,P=!1,I=Vt(Q,o,Y,e,s,n,t,P=1===m);if(!1!==I)return 1!==I&&-1!==I||(P=1===I),kt=!0,setTimeout(Ht,30),M(),P&&!j?o.appendChild(Y):s.parentNode.insertBefore(Y,P?j:s),T&&F(T,0,k-T.scrollTop),J=Y.parentNode,void 0===y||Ct||(bt=Math.abs(y-$(s)[O])),B(),R(!0)}if(o.contains(Y))return R(!1)}return!1}function N(u,c){K(u,h,a({evt:t,isOwner:f,axis:i?"vertical":"horizontal",revert:r,dragRect:e,targetRect:n,canSort:p,fromSortable:d,target:s,completed:R,onMove:function(n,r){return Vt(Q,o,Y,e,n,$(n),t,r)},changed:B},c))}function M(){N("dragOverAnimationCapture"),h.captureAnimationState(),h!==d&&d.captureAnimationState()}function R(e){return N("dragOverCompleted",{insertion:e}),e&&(f?l._hideClone():l._showClone(h),h!==d&&(S(Y,ct?ct.options.ghostClass:l.options.ghostClass,!1),S(Y,u.ghostClass,!0)),ct!==h&&h!==Bt.active?ct=h:h===Bt.active&&ct&&(ct=null),d===h&&(h._ignoreWhileAnimating=s),h.animateAll((function(){N("dragOverAnimationComplete"),h._ignoreWhileAnimating=null})),h!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===Y&&!Y.animated||s===o&&!s.animated)&&(mt=null),u.dragoverBubble||t.rootEl||s===document||(Y.parentNode[z]._isOutsideThisEl(t.target),!e&&Ft(t)),!u.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),v=!0}function B(){ot=L(Y),st=L(Y,u.draggable),X({sortable:h,name:"change",toEl:o,newIndex:ot,newDraggableIndex:st,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){y(document,"mousemove",this._onTouchMove),y(document,"touchmove",this._onTouchMove),y(document,"pointermove",this._onTouchMove),y(document,"dragover",Ft),y(document,"mousemove",Ft),y(document,"touchmove",Ft)},_offUpEvents:function(){var t=this.el.ownerDocument;y(t,"mouseup",this._onDrop),y(t,"touchend",this._onDrop),y(t,"pointerup",this._onDrop),y(t,"touchcancel",this._onDrop),y(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;ot=L(Y),st=L(Y,n.draggable),K("drop",this,{evt:t}),J=Y&&Y.parentNode,ot=L(Y),st=L(Y,n.draggable),Bt.eventCanceled||(wt=!1,Ct=!1,St=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),qt(this.cloneId),qt(this._dragStartId),this.nativeDraggable&&(y(document,"drop",this),y(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),d&&C(document.body,"user-select",""),C(Y,"transform",""),t&&(gt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),Z&&Z.parentNode&&Z.parentNode.removeChild(Z),(Q===J||ct&&"clone"!==ct.lastPutMode)&&nt&&nt.parentNode&&nt.parentNode.removeChild(nt),Y&&(this.nativeDraggable&&y(Y,"dragend",this),zt(Y),Y.style["will-change"]="",gt&&!wt&&S(Y,ct?ct.options.ghostClass:this.options.ghostClass,!1),S(Y,this.options.chosenClass,!1),X({sortable:this,name:"unchoose",toEl:J,newIndex:null,newDraggableIndex:null,originalEvent:t}),Q!==J?(ot>=0&&(X({rootEl:J,name:"add",toEl:J,fromEl:Q,originalEvent:t}),X({sortable:this,name:"remove",toEl:J,originalEvent:t}),X({rootEl:J,name:"sort",toEl:J,fromEl:Q,originalEvent:t}),X({sortable:this,name:"sort",toEl:J,originalEvent:t})),ct&&ct.save()):ot!==it&&ot>=0&&(X({sortable:this,name:"update",toEl:J,originalEvent:t}),X({sortable:this,name:"sort",toEl:J,originalEvent:t})),Bt.active&&(null!=ot&&-1!==ot||(ot=it,st=at),X({sortable:this,name:"end",toEl:J,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){K("nulling",this),Q=Y=J=Z=tt=nt=et=rt=lt=ft=gt=ot=st=it=at=mt=yt=ct=ut=Bt.dragged=Bt.ghost=Bt.clone=Bt.active=null,Et.forEach((function(t){t.checked=!0})),Et.length=pt=dt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":Y&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move");t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,r=0,i=n.length,o=this.options;r1&&(he.forEach((function(t){r.addAnimationState({target:t,rect:me?$(t):i}),V(t),t.fromRect=i,e.removeAnimationState(t)})),me=!1,function(t,e){he.forEach((function(n,r){var i=e.children[n.sortableIndex+(t?Number(r):0)];i?e.insertBefore(n,i):e.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,r=t.insertion,i=t.activeSortable,o=t.parentEl,a=t.putSortable,s=this.options;if(r){if(n&&i._hideClone(),ge=!1,s.animation&&he.length>1&&(me||!n&&!i.options.sort&&!a)){var u=$(fe,!1,!0,!0);he.forEach((function(t){t!==fe&&(B(t,u),o.appendChild(t))})),me=!0}if(!n)if(me||we(),he.length>1){var c=de;i._showClone(e),i.options.animation&&!de&&c&&ve.forEach((function(t){i.addAnimationState({target:t,rect:pe}),t.fromRect=pe,t.thisAnimationDuration=null}))}else i._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,r=t.activeSortable;if(he.forEach((function(t){t.thisAnimationDuration=null})),r.options.animation&&!n&&r.multiDrag.isMultiDrag){pe=o({},e);var i=T(fe,!0);pe.top-=i.f,pe.left-=i.e}},dragOverAnimationComplete:function(){me&&(me=!1,we())},drop:function(t){var e=t.originalEvent,n=t.rootEl,r=t.parentEl,i=t.sortable,o=t.dispatchSortableEvent,a=t.oldIndex,s=t.putSortable,u=s||this.sortable;if(e){var c=this.options,l=r.children;if(!ye)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),S(fe,c.selectedClass,!~he.indexOf(fe)),~he.indexOf(fe))he.splice(he.indexOf(fe),1),ce=null,G({sortable:i,rootEl:n,name:"deselect",targetEl:fe,originalEvt:e});else{if(he.push(fe),G({sortable:i,rootEl:n,name:"select",targetEl:fe,originalEvt:e}),e.shiftKey&&ce&&i.el.contains(ce)){var f,p,d=L(ce),h=L(fe);if(~d&&~h&&d!==h)for(h>d?(p=d,f=h):(p=h,f=d+1);p1){var v=$(fe),g=L(fe,":not(."+this.options.selectedClass+")");if(!ge&&c.animation&&(fe.thisAnimationDuration=null),u.captureAnimationState(),!ge&&(c.animation&&(fe.fromRect=v,he.forEach((function(t){if(t.thisAnimationDuration=null,t!==fe){var e=me?$(t):v;t.fromRect=e,u.addAnimationState({target:t,rect:e})}}))),we(),he.forEach((function(t){l[g]?r.insertBefore(t,l[g]):r.appendChild(t),g++})),a===L(fe))){var m=!1;he.forEach((function(t){t.sortableIndex===L(t)||(m=!0)})),m&&o("update")}he.forEach((function(t){V(t)})),u.animateAll()}le=u}(n===r||s&&"clone"!==s.lastPutMode)&&ve.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=ye=!1,ve.length=0},destroyGlobal:function(){this._deselectMultiDrag(),y(document,"pointerup",this._deselectMultiDrag),y(document,"mouseup",this._deselectMultiDrag),y(document,"touchend",this._deselectMultiDrag),y(document,"keydown",this._checkKeyDown),y(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==ye&&ye||le!==this.sortable||t&&w(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;he.length;){var e=he[0];S(e,this.options.selectedClass,!1),he.shift(),G({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[z];e&&e.options.multiDrag&&!~he.indexOf(t)&&(le&&le!==e&&(le.multiDrag._deselectMultiDrag(),le=e),S(t,e.options.selectedClass,!0),he.push(t))},deselect:function(t){var e=t.parentNode[z],n=he.indexOf(t);e&&e.options.multiDrag&&~n&&(S(t,e.options.selectedClass,!1),he.splice(n,1))}},eventProperties:function(){var t=this,e=[],n=[];return he.forEach((function(r){var i;e.push({multiDragElement:r,index:r.sortableIndex}),i=me&&r!==fe?-1:me?L(r,":not(."+t.options.selectedClass+")"):L(r),n.push({multiDragElement:r,index:i})})),{items:u(he),clones:[].concat(ve),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function _e(t,e){ve.forEach((function(n,r){var i=e.children[n.sortableIndex+(t?Number(r):0)];i?e.insertBefore(n,i):e.appendChild(n)}))}function we(){he.forEach((function(t){t!==fe&&t.parentNode&&t.parentNode.removeChild(t)}))}Bt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):this.options.supportPointer?m(document,"pointermove",this._handleFallbackAutoScroll):e.touches?m(document,"touchmove",this._handleFallbackAutoScroll):m(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?y(document,"dragover",this._handleAutoScroll):(y(document,"pointermove",this._handleFallbackAutoScroll),y(document,"touchmove",this._handleFallbackAutoScroll),y(document,"mousemove",this._handleFallbackAutoScroll)),ne(),ee(),clearTimeout(x),x=void 0},nulling:function(){Jt=Kt=Gt=te=Zt=Xt=Yt=null,Qt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,r=(t.touches?t.touches[0]:t).clientX,i=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(r,i);if(Jt=t,e||f||l||d){ie(t,this.options,o,e);var a=I(o,!0);!te||Zt&&r===Xt&&i===Yt||(Zt&&ne(),Zt=setInterval((function(){var o=I(document.elementFromPoint(r,i),!0);o!==a&&(a=o,ee()),ie(t,n.options,o,e)}),10),Xt=r,Yt=i)}else{if(!this.options.bubbleScroll||I(o,!0)===E())return void ee();ie(t,this.options,I(o,!1),!1)}}},o(t,{pluginName:"scroll",initializeByDefault:!0})}),Bt.mount(se,ae);const xe=Bt},3379:(t,e,n)=>{"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function s(t){for(var e=-1,n=0;n{"use strict";n.d(e,{ZP:()=>it});var r=n(8981),i=n(8446),o=n.n(i);let a;function s(){s.init||(s.init=!0,a=-1!==function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}())}function u(t,e,n,r,i,o,a,s,u,c){"boolean"!=typeof a&&(u=s,s=a,a=!1);var l,f="function"==typeof n?n.options:n;if(t&&t.render&&(f.render=t.render,f.staticRenderFns=t.staticRenderFns,f._compiled=!0,i&&(f.functional=!0)),r&&(f._scopeId=r),o?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},f._ssrRegister=l):e&&(l=a?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),l)if(f.functional){var p=f.render;f.render=function(t,e){return l.call(e),p(t,e)}}else{var d=f.beforeCreate;f.beforeCreate=d?[].concat(d,l):[l]}return n}const c={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted(){s(),this.$nextTick((()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()}));const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",a&&this.$el.appendChild(t),t.data="about:blank",a||this.$el.appendChild(t)},beforeDestroy(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!a&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};var l=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})};l._withStripped=!0;const f=u({render:l,staticRenderFns:[]},undefined,c,"data-v-8859cc6c",false,undefined,!1,void 0,void 0,void 0);var p={version:"1.0.0",install:function(t){t.component("resize-observer",f),t.component("ResizeObserver",f)}},d=null;"undefined"!=typeof window?d=window.Vue:void 0!==n.g&&(d=n.g.Vue),d&&d.use(p);var h=n(3857),v=n.n(h);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){for(var n=0;n

',trigger:"hover focus",offset:0},E=[],$=function(){function t(e,n){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),y(this,"_events",[]),y(this,"_setTooltipNodeEvent",(function(t,e,n,i){var o=t.relatedreference||t.toElement||t.relatedTarget;return!!r._tooltipNode.contains(o)&&(r._tooltipNode.addEventListener(t.type,(function n(o){var a=o.relatedreference||o.toElement||o.relatedTarget;r._tooltipNode.removeEventListener(t.type,n),e.contains(a)||r._scheduleHide(e,i.delay,i,o)})),!0)})),n=_(_({},k),n),e.jquery&&(e=e[0]),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.reference=e,this.options=n,this._isOpen=!1,this._init()}var e,n,i;return e=t,(n=[{key:"show",value:function(){this._show(this.reference,this.options)}},{key:"hide",value:function(){this._hide()}},{key:"dispose",value:function(){this._dispose()}},{key:"toggle",value:function(){return this._isOpen?this.hide():this.show()}},{key:"setClasses",value:function(t){this._classes=t}},{key:"setContent",value:function(t){this.options.title=t,this._tooltipNode&&this._setContent(t,this.options)}},{key:"setOptions",value:function(t){var e=!1,n=t&&t.classes||F.options.defaultClass;o()(this._classes,n)||(this.setClasses(n),e=!0),t=L(t);var r=!1,i=!1;for(var a in this.options.offset===t.offset&&this.options.placement===t.placement||(r=!0),(this.options.template!==t.template||this.options.trigger!==t.trigger||this.options.container!==t.container||e)&&(i=!0),t)this.options[a]=t[a];if(this._tooltipNode)if(i){var s=this._isOpen;this.dispose(),this._init(),s&&this.show()}else r&&this.popperInstance.update()}},{key:"_init",value:function(){var t="string"==typeof this.options.trigger?this.options.trigger.split(" "):[];this._isDisposed=!1,this._enableDocumentTouch=-1===t.indexOf("manual"),t=t.filter((function(t){return-1!==["click","hover","focus"].indexOf(t)})),this._setEventListeners(this.reference,t,this.options),this.$_originalTitle=this.reference.getAttribute("title"),this.reference.removeAttribute("title"),this.reference.setAttribute("data-original-title",this.$_originalTitle)}},{key:"_create",value:function(t,e){var n=this,r=window.document.createElement("div");r.innerHTML=e.trim();var i=r.childNodes[0];return i.id=this.options.ariaId||"tooltip_".concat(Math.random().toString(36).substr(2,10)),i.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(i.addEventListener("mouseenter",(function(e){return n._scheduleHide(t,n.options.delay,n.options,e)})),i.addEventListener("click",(function(e){return n._scheduleHide(t,n.options.delay,n.options,e)}))),i}},{key:"_setContent",value:function(t,e){var n=this;this.asyncContent=!1,this._applyContent(t,e).then((function(){n.popperInstance&&n.popperInstance.update()}))}},{key:"_applyContent",value:function(t,e){var n=this;return new Promise((function(r,i){var o=e.html,a=n._tooltipNode;if(a){var s=a.querySelector(n.options.innerSelector);if(1===t.nodeType){if(o){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(t)}}else{if("function"==typeof t){var u=t();return void(u&&"function"==typeof u.then?(n.asyncContent=!0,e.loadingClass&&O(a,e.loadingClass),e.loadingContent&&n._applyContent(e.loadingContent,e),u.then((function(t){return e.loadingClass&&S(a,e.loadingClass),n._applyContent(t,e)})).then(r).catch(i)):n._applyContent(u,e).then(r).catch(i))}o?s.innerHTML=t:s.innerText=t}r()}}))}},{key:"_show",value:function(t,e){if(!e||"string"!=typeof e.container||document.querySelector(e.container)){clearTimeout(this._disposeTimer),delete(e=Object.assign({},e)).offset;var n=!0;this._tooltipNode&&(O(this._tooltipNode,this._classes),n=!1);var r=this._ensureShown(t,e);return n&&this._tooltipNode&&O(this._tooltipNode,this._classes),O(t,["v-tooltip-open"]),r}}},{key:"_ensureShown",value:function(t,e){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,E.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(e.title,e),this;var i=t.getAttribute("title")||e.title;if(!i)return this;var o=this._create(t,e.template);this._tooltipNode=o,t.setAttribute("aria-describedby",o.id);var a=this._findContainer(e.container,t);this._append(o,a);var s=_(_({},e.popperOptions),{},{placement:e.placement});return s.modifiers=_(_({},s.modifiers),{},{arrow:{element:this.options.arrowSelector}}),e.boundariesElement&&(s.modifiers.preventOverflow={boundariesElement:e.boundariesElement}),this.popperInstance=new r.Z(t,o,s),this._setContent(i,e),requestAnimationFrame((function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame((function(){n._isDisposed?n.dispose():n._isOpen&&o.setAttribute("aria-hidden","false")}))):n.dispose()})),this}},{key:"_noLongerOpen",value:function(){var t=E.indexOf(this);-1!==t&&E.splice(t,1)}},{key:"_hide",value:function(){var t=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var e=F.options.disposeTimeout;return null!==e&&(this._disposeTimer=setTimeout((function(){t._tooltipNode&&(t._tooltipNode.removeEventListener("mouseenter",t.hide),t._tooltipNode.removeEventListener("click",t.hide),t._removeTooltipNode())}),e)),S(this.reference,["v-tooltip-open"]),this}},{key:"_removeTooltipNode",value:function(){if(this._tooltipNode){var t=this._tooltipNode.parentNode;t&&(t.removeChild(this._tooltipNode),this.reference.removeAttribute("aria-describedby")),this._tooltipNode=null}}},{key:"_dispose",value:function(){var t=this;return this._isDisposed=!0,this.reference.removeAttribute("data-original-title"),this.$_originalTitle&&this.reference.setAttribute("title",this.$_originalTitle),this._events.forEach((function(e){var n=e.func,r=e.event;t.reference.removeEventListener(r,n)})),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||this._removeTooltipNode()):this._noLongerOpen(),this}},{key:"_findContainer",value:function(t,e){return"string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t}},{key:"_append",value:function(t,e){e.appendChild(t)}},{key:"_setEventListeners",value:function(t,e,n){var r=this,i=[],o=[];e.forEach((function(t){switch(t){case"hover":i.push("mouseenter"),o.push("mouseleave"),r.options.hideOnTargetClick&&o.push("click");break;case"focus":i.push("focus"),o.push("blur"),r.options.hideOnTargetClick&&o.push("click");break;case"click":i.push("click"),o.push("click")}})),i.forEach((function(e){var i=function(e){!0!==r._isOpen&&(e.usedByTooltip=!0,r._scheduleShow(t,n.delay,n,e))};r._events.push({event:e,func:i}),t.addEventListener(e,i)})),o.forEach((function(e){var i=function(e){!0!==e.usedByTooltip&&r._scheduleHide(t,n.delay,n,e)};r._events.push({event:e,func:i}),t.addEventListener(e,i)}))}},{key:"_onDocumentTouch",value:function(t){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,t)}},{key:"_scheduleShow",value:function(t,e,n){var r=this,i=e&&e.show||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){return r._show(t,n)}),i)}},{key:"_scheduleHide",value:function(t,e,n,r){var i=this,o=e&&e.hide||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout((function(){if(!1!==i._isOpen&&i._tooltipNode.ownerDocument.body.contains(i._tooltipNode)){if("mouseleave"===r.type&&i._setTooltipNodeEvent(r,t,e,n))return;i._hide(t,n)}}),o)}}])&&m(e.prototype,n),i&&m(e,i),t}();"undefined"!=typeof document&&document.addEventListener("touchstart",(function(t){for(var e=0;e
',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,defaultHideOnTargetClick:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultOpenClass:"open",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}};function L(t){var e={placement:void 0!==t.placement?t.placement:F.options.defaultPlacement,delay:void 0!==t.delay?t.delay:F.options.defaultDelay,html:void 0!==t.html?t.html:F.options.defaultHtml,template:void 0!==t.template?t.template:F.options.defaultTemplate,arrowSelector:void 0!==t.arrowSelector?t.arrowSelector:F.options.defaultArrowSelector,innerSelector:void 0!==t.innerSelector?t.innerSelector:F.options.defaultInnerSelector,trigger:void 0!==t.trigger?t.trigger:F.options.defaultTrigger,offset:void 0!==t.offset?t.offset:F.options.defaultOffset,container:void 0!==t.container?t.container:F.options.defaultContainer,boundariesElement:void 0!==t.boundariesElement?t.boundariesElement:F.options.defaultBoundariesElement,autoHide:void 0!==t.autoHide?t.autoHide:F.options.autoHide,hideOnTargetClick:void 0!==t.hideOnTargetClick?t.hideOnTargetClick:F.options.defaultHideOnTargetClick,loadingClass:void 0!==t.loadingClass?t.loadingClass:F.options.defaultLoadingClass,loadingContent:void 0!==t.loadingContent?t.loadingContent:F.options.defaultLoadingContent,popperOptions:_({},void 0!==t.popperOptions?t.popperOptions:F.options.defaultPopperOptions)};if(e.offset){var n=g(e.offset),r=e.offset;("number"===n||"string"===n&&-1===r.indexOf(","))&&(r="0, ".concat(r)),e.popperOptions.modifiers||(e.popperOptions.modifiers={}),e.popperOptions.modifiers.offset={offset:r}}return e.trigger&&-1!==e.trigger.indexOf("click")&&(e.hideOnTargetClick=!1),e}function P(t,e){for(var n=t.placement,r=0;r2&&void 0!==arguments[2]?arguments[2]:{},r=I(e),i=void 0!==e.classes?e.classes:F.options.defaultClass,o=_({title:r},L(_(_({},"object"===g(e)?e:{}),{},{placement:P(e,n)}))),a=t._tooltip=new $(t,o);a.setClasses(i),a._vueEl=t;var s=void 0!==e.targetClasses?e.targetClasses:F.options.defaultTargetClass;return t._tooltipTargetClasses=s,O(t,s),a}(t,r,i),void 0!==r.show&&r.show!==t._tooltipOldShow&&(t._tooltipOldShow=r.show,r.show?n.show():n.hide())):N(t)}var F={options:D,bind:M,update:M,unbind:function(t){N(t)}};function R(t){t.addEventListener("click",V),t.addEventListener("touchstart",z,!!C&&{passive:!0})}function B(t){t.removeEventListener("click",V),t.removeEventListener("touchstart",z),t.removeEventListener("touchend",H),t.removeEventListener("touchcancel",U)}function V(t){var e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function z(t){if(1===t.changedTouches.length){var e=t.currentTarget;e.$_vclosepopover_touch=!0;var n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",H),e.addEventListener("touchcancel",U)}}function H(t){var e=t.currentTarget;if(e.$_vclosepopover_touch=!1,1===t.changedTouches.length){var n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function U(t){t.currentTarget.$_vclosepopover_touch=!1}var W={bind:function(t,e){var n=e.value,r=e.modifiers;t.$_closePopoverModifiers=r,(void 0===n||n)&&R(t)},update:function(t,e){var n=e.value,r=e.oldValue,i=e.modifiers;t.$_closePopoverModifiers=i,n!==r&&(void 0===n||n?R(t):B(t))},unbind:function(t){B(t)}};function q(t){var e=F.options.popover[t];return void 0===e?F.options[t]:e}var G=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(G=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var K=[],X=function(){};"undefined"!=typeof window&&(X=window.Element);var Y={name:"VPopover",components:{ResizeObserver:f},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return q("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return q("defaultDelay")}},offset:{type:[String,Number],default:function(){return q("defaultOffset")}},trigger:{type:String,default:function(){return q("defaultTrigger")}},container:{type:[String,Object,X,Boolean],default:function(){return q("defaultContainer")}},boundariesElement:{type:[String,X],default:function(){return q("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return q("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return q("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return F.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return F.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return F.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return F.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return F.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return F.options.popover.defaultHandleResize}},openGroup:{type:String,default:null},openClass:{type:[String,Array],default:function(){return F.options.popover.defaultOpenClass}},ariaId:{default:null}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return y({},this.openClass,this.isOpen)},popoverId:function(){return"popover_".concat(null!=this.ariaId?this.ariaId:this.id)}},watch:{open:function(t){t?this.show():this.hide()},disabled:function(t,e){t!==e&&(t?this.hide():this.open&&this.show())},container:function(t){if(this.isOpen&&this.popperInstance){var e=this.$refs.popover,n=this.$refs.trigger,r=this.$_findContainer(this.container,n);if(!r)return void console.warn("No container for popover",this);r.appendChild(e),this.popperInstance.scheduleUpdate()}},trigger:function(t){this.$_removeEventListeners(),this.$_addEventListeners()},placement:function(t){var e=this;this.$_updatePopper((function(){e.popperInstance.options.placement=t}))},offset:"$_restartPopper",boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t),this.$_init(),this.open&&this.show()},deactivated:function(){this.hide()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.event,r=(e.skipDelay,e.force),i=void 0!==r&&r;!i&&this.disabled||(this.$_scheduleShow(n),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame((function(){t.$_beingShowed=!1}))},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.event;t.skipDelay;this.$_scheduleHide(e),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var t=this,e=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var i=this.$_findContainer(this.container,e);if(!i)return void console.warn("No container for popover",this);i.appendChild(n),this.$_mounted=!0,this.isOpen=!1,this.popperInstance&&requestAnimationFrame((function(){t.hidden||(t.isOpen=!0)}))}if(!this.popperInstance){var o=_(_({},this.popperOptions),{},{placement:this.placement});if(o.modifiers=_(_({},o.modifiers),{},{arrow:_(_({},o.modifiers&&o.modifiers.arrow),{},{element:this.$refs.arrow})}),this.offset){var a=this.$_getOffset();o.modifiers.offset=_(_({},o.modifiers&&o.modifiers.offset),{},{offset:a})}this.boundariesElement&&(o.modifiers.preventOverflow=_(_({},o.modifiers&&o.modifiers.preventOverflow),{},{boundariesElement:this.boundariesElement})),this.popperInstance=new r.Z(e,n,o),requestAnimationFrame((function(){if(t.hidden)return t.hidden=!1,void t.$_hide();!t.$_isDisposed&&t.popperInstance?(t.popperInstance.scheduleUpdate(),requestAnimationFrame((function(){if(t.hidden)return t.hidden=!1,void t.$_hide();t.$_isDisposed?t.dispose():t.isOpen=!0}))):t.dispose()}))}var s=this.openGroup;if(s)for(var u,c=0;c1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),t)this.$_show();else{var e=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),e)}},$_scheduleHide:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var r=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout((function(){if(t.isOpen){if(e&&"mouseleave"===e.type)if(t.$_setTooltipNodeEvent(e))return;t.$_hide()}}),r)}},$_setTooltipNodeEvent:function(t){var e=this,n=this.$refs.trigger,r=this.$refs.popover,i=t.relatedreference||t.toElement||t.relatedTarget;return!!r.contains(i)&&(r.addEventListener(t.type,(function i(o){var a=o.relatedreference||o.toElement||o.relatedTarget;r.removeEventListener(t.type,i),n.contains(a)||e.hide({event:o})})),!0)},$_removeEventListeners:function(){var t=this.$refs.trigger;this.$_events.forEach((function(e){var n=e.func,r=e.event;t.removeEventListener(r,n)})),this.$_events=[]},$_updatePopper:function(t){this.popperInstance&&(t(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var t=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),t&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout((function(){e.$_preventOpen=!1}),300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};function J(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=function(n){var r=K[n];if(r.$refs.popover){var i=r.$refs.popover.contains(t.target);requestAnimationFrame((function(){(t.closeAllPopover||t.closePopover&&i||r.autoHide&&!i)&&r.$_handleGlobalClose(t,e)}))}},r=0;r1&&void 0!==arguments[1]?arguments[1]:{};if(!t.installed){t.installed=!0;var r={};v()(r,D,n),nt.options=r,F.options=r,e.directive("tooltip",F),e.directive("close-popover",W),e.component("VPopover",et)}},get enabled(){return A.enabled},set enabled(t){A.enabled=t}},rt=null;"undefined"!=typeof window?rt=window.Vue:void 0!==n.g&&(rt=n.g.Vue),rt&&rt.use(nt);const it=nt},7152:(t,e,n)=>{"use strict";n.d(e,{Z:()=>J});var r=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function i(t,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}var o=Array.isArray;function a(t){return null!==t&&"object"==typeof t}function s(t){return"string"==typeof t}var u=Object.prototype.toString;function c(t){return"[object Object]"===u.call(t)}function l(t){return null==t}function f(t){return"function"==typeof t}function p(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=null,r=null;return 1===t.length?a(t[0])||o(t[0])?r=t[0]:"string"==typeof t[0]&&(n=t[0]):2===t.length&&("string"==typeof t[0]&&(n=t[0]),(a(t[1])||o(t[1]))&&(r=t[1])),{locale:n,params:r}}function d(t){return JSON.parse(JSON.stringify(t))}function h(t,e){return!!~t.indexOf(e)}var v=Object.prototype.hasOwnProperty;function g(t,e){return v.call(t,e)}function m(t){for(var e=arguments,n=Object(t),r=1;r/g,">").replace(/"/g,""").replace(/'/g,"'"))})),t}var _={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n)if(t.i18n instanceof X){if(t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{};t.__i18n.forEach((function(t){e=m(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(t){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(c(t.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof X?this.$root.$i18n:null;if(n&&(t.i18n.root=this.$root,t.i18n.formatter=n.formatter,t.i18n.fallbackLocale=n.fallbackLocale,t.i18n.formatFallbackMessages=n.formatFallbackMessages,t.i18n.silentTranslationWarn=n.silentTranslationWarn,t.i18n.silentFallbackWarn=n.silentFallbackWarn,t.i18n.pluralizationRules=n.pluralizationRules,t.i18n.preserveDirectiveContent=n.preserveDirectiveContent),t.__i18n)try{var r=t.i18n&&t.i18n.messages?t.i18n.messages:{};t.__i18n.forEach((function(t){r=m(r,JSON.parse(t))})),t.i18n.messages=r}catch(t){0}var i=t.i18n.sharedMessages;i&&c(i)&&(t.i18n.messages=m(t.i18n.messages,i)),this._i18n=new X(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof X?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof X&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n?(t.i18n instanceof X||c(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof X||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof X)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}},w={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,r=e.parent,i=e.props,o=e.slots,a=r.$i18n;if(a){var s=i.path,u=i.locale,c=i.places,l=o(),f=a.i(s,u,function(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}(l)||c?function(t,e){var n=e?function(t){0;return Array.isArray(t)?t.reduce(O,{}):Object.assign({},t)}(e):{};if(!t)return n;var r=(t=t.filter((function(t){return t.tag||""!==t.text.trim()}))).every(S);0;return t.reduce(r?x:O,n)}(l.default,c):l),p=i.tag&&!0!==i.tag||!1===i.tag?i.tag:"span";return p?t(p,n,f):f}}};function x(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function O(t,e,n){return t[n]=e,t}function S(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var C,T={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,i=e.parent,o=e.data,u=i.$i18n;if(!u)return null;var c=null,l=null;s(n.format)?c=n.format:a(n.format)&&(n.format.key&&(c=n.format.key),l=Object.keys(n.format).reduce((function(t,e){var i;return h(r,e)?Object.assign({},t,((i={})[e]=n.format[e],i)):t}),null));var f=n.locale||u.locale,p=u._ntp(n.value,f,c,l),d=p.map((function(t,e){var n,r=o.scopedSlots&&o.scopedSlots[t.type];return r?r(((n={})[t.type]=t.value,n.index=e,n.parts=p,n)):t.value})),v=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return v?t(v,{attrs:o.attrs,class:o.class,staticClass:o.staticClass},d):d}};function k(t,e,n){A(t,n)&&j(t,e,n)}function E(t,e,n,r){if(A(t,n)){var i=n.context.$i18n;(function(t,e){var n=e.context;return t._locale===n.$i18n.locale})(t,n)&&y(e.value,e.oldValue)&&y(t._localeMessage,i.getLocaleMessage(i.locale))||j(t,e,n)}}function $(t,e,n,r){if(n.context){var o=n.context.$i18n||{};e.modifiers.preserve||o.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale,t._localeMessage=void 0,delete t._localeMessage}else i("Vue instance does not exists in VNode context")}function A(t,e){var n=e.context;return n?!!n.$i18n||(i("VueI18n instance does not exists in Vue instance"),!1):(i("Vue instance does not exists in VNode context"),!1)}function j(t,e,n){var r,o,a=function(t){var e,n,r,i;s(t)?e=t:c(t)&&(e=t.path,n=t.locale,r=t.args,i=t.choice);return{path:e,locale:n,args:r,choice:i}}(e.value),u=a.path,l=a.locale,f=a.args,p=a.choice;if(u||l||f)if(u){var d=n.context;t._vt=t.textContent=null!=p?(r=d.$i18n).tc.apply(r,[u,p].concat(D(l,f))):(o=d.$i18n).t.apply(o,[u].concat(D(l,f))),t._locale=d.$i18n.locale,t._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}else i("`path` is required in v-t directive");else i("value type not supported")}function D(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||c(e))&&n.push(e),n}function L(t){L.installed=!0;(C=t).version&&Number(C.version.split(".")[0]);(function(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var i=this.$i18n;return i._tc.apply(i,[t,i.locale,i._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}})(C),C.mixin(_),C.directive("t",{bind:k,update:E,unbind:$}),C.component(w.name,w),C.component(T.name,T),C.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var P=function(){this._caches=Object.create(null)};P.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,r="";for(;n0)f--,l=4,p[0]();else{if(f=0,void 0===n)return!1;if(!1===(n=B(n)))return!1;p[1]()}};null!==l;)if(c++,"\\"!==(e=t[c])||!d()){if(i=R(e),8===(o=(s=M[l])[i]||s.else||8))return;if(l=o[0],(a=p[o[1]])&&(r=void 0===(r=o[2])?e:r,!1===a()))return;if(7===l)return u}}(t))&&(this._cache[t]=e),e||[]},V.prototype.getPathValue=function(t,e){if(!a(t))return null;var n=this.parsePath(e);if(0===n.length)return null;for(var r=n.length,i=t,o=0;o/,U=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,W=/^@(?:\.([a-z]+))?:/,q=/[()]/g,G={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},K=new P,X=function(t){var e=this;void 0===t&&(t={}),!C&&"undefined"!=typeof window&&window.Vue&&L(window.Vue);var n=t.locale||"en-US",r=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),i=t.messages||{},o=t.dateTimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||K,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new V,this._dataListeners=[],this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,this.getChoiceIndex=function(t,n){var r=Object.getPrototypeOf(e);if(r&&r.getChoiceIndex)return r.getChoiceIndex.call(e,t,n);var i,o;return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):(i=t,o=n,i=Math.abs(i),2===o?i?i>1?1:0:1:i?Math.min(i,2):0)},this._exist=function(t,n){return!(!t||!n)&&(!l(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])})),this._initVM({locale:n,fallbackLocale:r,messages:i,dateTimeFormats:o,numberFormats:a})},Y={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};X.prototype._checkLocaleMessage=function(t,e,n){var r=function(t,e,n,a){if(c(n))Object.keys(n).forEach((function(i){var o=n[i];c(o)?(a.push(i),a.push("."),r(t,e,o,a),a.pop(),a.pop()):(a.push(i),r(t,e,o,a),a.pop())}));else if(o(n))n.forEach((function(n,i){c(n)?(a.push("["+i+"]"),a.push("."),r(t,e,n,a),a.pop(),a.pop()):(a.push("["+i+"]"),r(t,e,n,a),a.pop())}));else if(s(n)){if(H.test(n)){var u="Detected HTML in message '"+n+"' of keypath '"+a.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?i(u):"error"===t&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(u)}}};r(e,t,n,[])},X.prototype._initVM=function(t){var e=C.config.silent;C.config.silent=!0,this._vm=new C({data:t}),C.config.silent=e},X.prototype.destroyVM=function(){this._vm.$destroy()},X.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},X.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)t.splice(n,1)}}(this._dataListeners,t)},X.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){for(var e=t._dataListeners.length;e--;)C.nextTick((function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()}))}),{deep:!0})},X.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},X.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Y.vm.get=function(){return this._vm},Y.messages.get=function(){return d(this._getMessages())},Y.dateTimeFormats.get=function(){return d(this._getDateTimeFormats())},Y.numberFormats.get=function(){return d(this._getNumberFormats())},Y.availableLocales.get=function(){return Object.keys(this.messages).sort()},Y.locale.get=function(){return this._vm.locale},Y.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Y.fallbackLocale.get=function(){return this._vm.fallbackLocale},Y.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Y.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Y.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Y.missing.get=function(){return this._missing},Y.missing.set=function(t){this._missing=t},Y.formatter.get=function(){return this._formatter},Y.formatter.set=function(t){this._formatter=t},Y.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Y.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Y.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Y.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Y.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Y.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Y.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Y.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var r=this._getMessages();Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])}))}},Y.postTranslation.get=function(){return this._postTranslation},Y.postTranslation.set=function(t){this._postTranslation=t},X.prototype._getMessages=function(){return this._vm.messages},X.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},X.prototype._getNumberFormats=function(){return this._vm.numberFormats},X.prototype._warnDefault=function(t,e,n,r,i,o){if(!l(n))return n;if(this._missing){var a=this._missing.apply(null,[t,e,r,i]);if(s(a))return a}else 0;if(this._formatFallbackMessages){var u=p.apply(void 0,i);return this._render(e,o,u.params,e)}return e},X.prototype._isFallbackRoot=function(t){return!t&&!l(this._root)&&this._fallbackRoot},X.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},X.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},X.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},X.prototype._interpolate=function(t,e,n,r,i,a,u){if(!e)return null;var p,d=this._path.getPathValue(e,n);if(o(d)||c(d))return d;if(l(d)){if(!c(e))return null;if(!s(p=e[n])&&!f(p))return null}else{if(!s(d)&&!f(d))return null;p=d}return s(p)&&(p.indexOf("@:")>=0||p.indexOf("@.")>=0)&&(p=this._link(t,e,p,r,"raw",a,u)),this._render(p,i,a,n)},X.prototype._link=function(t,e,n,r,i,a,s){var u=n,c=u.match(U);for(var l in c)if(c.hasOwnProperty(l)){var f=c[l],p=f.match(W),d=p[0],v=p[1],g=f.replace(d,"").replace(q,"");if(h(s,g))return u;s.push(g);var m=this._interpolate(t,e,g,r,"raw"===i?"string":i,"raw"===i?void 0:a,s);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;m=y._translate(y._getMessages(),y.locale,y.fallbackLocale,g,r,i,a)}m=this._warnDefault(t,g,m,r,o(a)?a:[a],i),this._modifiers.hasOwnProperty(v)?m=this._modifiers[v](m):G.hasOwnProperty(v)&&(m=G[v](m)),s.pop(),u=m?u.replace(f,m):u}return u},X.prototype._createMessageContext=function(t){var e=o(t)?t:[],n=a(t)?t:{};return{list:function(t){return e[t]},named:function(t){return n[t]}}},X.prototype._render=function(t,e,n,r){if(f(t))return t(this._createMessageContext(n));var i=this._formatter.interpolate(t,n,r);return i||(i=K.interpolate(t,n,r)),"string"!==e||s(i)?i:i.join("")},X.prototype._appendItemToChain=function(t,e,n){var r=!1;return h(t,e)||(r=!0,e&&(r="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(r=n[e]))),r},X.prototype._appendLocaleToChain=function(t,e,n){var r,i=e.split("-");do{var o=i.join("-");r=this._appendItemToChain(t,o,n),i.splice(-1,1)}while(i.length&&!0===r);return r},X.prototype._appendBlockToChain=function(t,e,n){for(var r=!0,i=0;i0;)o[a]=arguments[a+4];if(!t)return"";var s=p.apply(void 0,o);this._escapeParameterHtml&&(s.params=b(s.params));var u=s.locale||e,c=this._translate(n,u,this.fallbackLocale,t,r,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(i=this._root).$t.apply(i,[t].concat(o))}return c=this._warnDefault(u,t,c,r,o,"string"),this._postTranslation&&null!=c&&(c=this._postTranslation(c,t)),c},X.prototype.t=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},X.prototype._i=function(t,e,n,r,i){var o=this._translate(n,e,this.fallbackLocale,t,r,"raw",i);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,i)}return this._warnDefault(e,t,o,r,[i],"raw")},X.prototype.i=function(t,e,n){return t?(s(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},X.prototype._tc=function(t,e,n,r,i){for(var o,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!t)return"";void 0===i&&(i=1);var u={count:i,n:i},c=p.apply(void 0,a);return c.params=Object.assign(u,c.params),a=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((o=this)._t.apply(o,[t,e,n,r].concat(a)),i)},X.prototype.fetchChoice=function(t,e){if(!t||!s(t))return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},X.prototype.tc=function(t,e){for(var n,r=[],i=arguments.length-2;i-- >0;)r[i]=arguments[i+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},X.prototype._te=function(t,e,n){for(var r=[],i=arguments.length-3;i-- >0;)r[i]=arguments[i+3];var o=p.apply(void 0,r).locale||e;return this._exist(n[o],t)},X.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},X.prototype.getLocaleMessage=function(t){return d(this._vm.messages[t]||{})},X.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},X.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,m({},this._vm.messages[t]||{},e))},X.prototype.getDateTimeFormat=function(t){return d(this._vm.dateTimeFormats[t]||{})},X.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},X.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,m(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},X.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},X.prototype._localizeDateTime=function(t,e,n,r,i){for(var o=e,a=r[o],s=this._getLocaleChain(e,n),u=0;u0;)e[n]=arguments[n+1];var r=this.locale,i=null;return 1===e.length?s(e[0])?i=e[0]:a(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(i=e[0].key)):2===e.length&&(s(e[0])&&(i=e[0]),s(e[1])&&(r=e[1])),this._d(t,r,i)},X.prototype.getNumberFormat=function(t){return d(this._vm.numberFormats[t]||{})},X.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},X.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,m(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},X.prototype._clearNumberFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},X.prototype._getNumberFormatter=function(t,e,n,r,i,o){for(var a=e,s=r[a],u=this._getLocaleChain(e,n),c=0;c0;)e[n]=arguments[n+1];var i=this.locale,o=null,u=null;return 1===e.length?s(e[0])?o=e[0]:a(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(o=e[0].key),u=Object.keys(e[0]).reduce((function(t,n){var i;return h(r,n)?Object.assign({},t,((i={})[n]=e[0][n],i)):t}),null)):2===e.length&&(s(e[0])&&(o=e[0]),s(e[1])&&(i=e[1])),this._n(t,i,o,u)},X.prototype._ntp=function(t,e,n,r){if(!X.availabilities.numberFormat)return[];if(!n)return(r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e)).formatToParts(t);var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),o=i&&i.formatToParts(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return o||[]},Object.defineProperties(X.prototype,Y),Object.defineProperty(X,"availabilities",{get:function(){if(!z){var t="undefined"!=typeof Intl;z={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return z}}),X.install=L,X.version="8.22.2";const J=X},9010:function(t){var e;e=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=2)}([function(t,e,n){n(8);var r=n(6)(n(1),n(7),"data-v-25adc6c0",null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o="#75c791",a="#fff";e.default={name:"ToggleButton",props:{value:{type:Boolean,default:!1},name:{type:String},disabled:{type:Boolean,default:!1},tag:{type:String},sync:{type:Boolean,default:!1},speed:{type:Number,default:300},color:{type:[String,Object],validator:function(t){return n.i(r.a)(t)||n.i(r.b)(t,"checked")||n.i(r.b)(t,"unchecked")||n.i(r.b)(t,"disabled")}},switchColor:{type:[String,Object],validator:function(t){return n.i(r.a)(t)||n.i(r.b)(t,"checked")||n.i(r.b)(t,"unchecked")}},cssColors:{type:Boolean,default:!1},labels:{type:[Boolean,Object],default:!1,validator:function(t){return"object"===(void 0===t?"undefined":i(t))?t.checked||t.unchecked:"boolean"==typeof t}},height:{type:Number,default:22},width:{type:Number,default:50},margin:{type:Number,default:3},fontSize:{type:Number}},computed:{className:function(){return["vue-js-switch",{toggled:this.toggled,disabled:this.disabled}]},coreStyle:function(){return{width:n.i(r.c)(this.width),height:n.i(r.c)(this.height),backgroundColor:this.cssColors?null:this.disabled?this.colorDisabled:this.colorCurrent,borderRadius:n.i(r.c)(Math.round(this.height/2))}},buttonRadius:function(){return this.height-2*this.margin},distance:function(){return n.i(r.c)(this.width-this.height+this.margin)},buttonStyle:function(){var t="transform "+this.speed+"ms",e=n.i(r.c)(this.margin),i=this.toggled?n.i(r.d)(this.distance,e):n.i(r.d)(e,e),o=this.switchColor?this.switchColorCurrent:null;return{width:n.i(r.c)(this.buttonRadius),height:n.i(r.c)(this.buttonRadius),transition:t,transform:i,background:o}},labelStyle:function(){return{lineHeight:n.i(r.c)(this.height),fontSize:this.fontSize?n.i(r.c)(this.fontSize):null}},colorChecked:function(){var t=this.color;return n.i(r.e)(t)?n.i(r.f)(t,"checked",o):t||o},colorUnchecked:function(){return n.i(r.f)(this.color,"unchecked","#bfcbd9")},colorDisabled:function(){return n.i(r.f)(this.color,"disabled",this.colorCurrent)},colorCurrent:function(){return this.toggled?this.colorChecked:this.colorUnchecked},labelChecked:function(){return n.i(r.f)(this.labels,"checked","on")},labelUnchecked:function(){return n.i(r.f)(this.labels,"unchecked","off")},switchColorChecked:function(){return n.i(r.f)(this.switchColor,"checked",a)},switchColorUnchecked:function(){return n.i(r.f)(this.switchColor,"unchecked",a)},switchColorCurrent:function(){return this.switchColor,n.i(r.e)(this.switchColor)?this.toggled?this.switchColorChecked:this.switchColorUnchecked:this.switchColor||a}},watch:{value:function(t){this.sync&&(this.toggled=!!t)}},data:function(){return{toggled:!!this.value}},methods:{toggle:function(t){var e=!this.toggled;this.sync||(this.toggled=e),this.$emit("input",e),this.$emit("change",{value:e,tag:this.tag,srcEvent:t})}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),i=n.n(r);n.d(e,"ToggleButton",(function(){return i.a}));var o=!1;e.default={install:function(t){o||(t.component("ToggleButton",i.a),o=!0)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"f",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return c}));var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(t){return"string"==typeof t},o=function(t){return"object"===(void 0===t?"undefined":r(t))},a=function(t,e){return o(t)&&t.hasOwnProperty(e)},s=function(t,e,n){return a(t,e)?t[e]:n},u=function(t){return t+"px"},c=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0px";return"translate3d("+t+", "+e+", "+n+")"}},function(t,e,n){(t.exports=n(5)()).push([t.i,".vue-js-switch[data-v-25adc6c0]{display:inline-block;position:relative;vertical-align:middle;user-select:none;font-size:10px;cursor:pointer}.vue-js-switch .v-switch-input[data-v-25adc6c0]{opacity:0;position:absolute;width:1px;height:1px}.vue-js-switch .v-switch-label[data-v-25adc6c0]{position:absolute;top:0;font-weight:600;color:#fff;z-index:1}.vue-js-switch .v-switch-label.v-left[data-v-25adc6c0]{left:10px}.vue-js-switch .v-switch-label.v-right[data-v-25adc6c0]{right:10px}.vue-js-switch .v-switch-core[data-v-25adc6c0]{display:block;position:relative;box-sizing:border-box;outline:0;margin:0;transition:border-color .3s,background-color .3s;user-select:none}.vue-js-switch .v-switch-core .v-switch-button[data-v-25adc6c0]{display:block;position:absolute;overflow:hidden;top:0;left:0;border-radius:100%;background-color:#fff;z-index:2}.vue-js-switch.disabled[data-v-25adc6c0]{pointer-events:none;opacity:.6}",""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i{"use strict";function r(t,e,n,r,i,o,a,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:c}}n.d(e,{Z:()=>r})},7907:function(t){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=60)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(49)("wks"),i=n(30),o=n(0).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(0),i=n(10),o=n(8),a=n(6),s=n(11),u=function(t,e,n){var c,l,f,p,d=t&u.F,h=t&u.G,v=t&u.S,g=t&u.P,m=t&u.B,y=h?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=h?i:i[e]||(i[e]={}),_=b.prototype||(b.prototype={});for(c in h&&(n=e),n)f=((l=!d&&y&&void 0!==y[c])?y:n)[c],p=m&&l?s(f,r):g&&"function"==typeof f?s(Function.call,f):f,y&&a(y,c,f,t&u.U),b[c]!=f&&o(b,c,p),g&&_[c]!=f&&(_[c]=f)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,n){t.exports=!n(7)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(0),i=n(8),o=n(12),a=n(30)("src"),s=Function.toString,u=(""+s).split("toString");n(10).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,a)||i(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(13),i=n(25);t.exports=n(4)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(14);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(2),i=n(41),o=n(29),a=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports={}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";var r=n(7);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var r=n(23),i=n(16);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(53),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(11),i=n(23),o=n(28),a=n(19),s=n(64);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,f=6==t,p=5==t||f,d=e||s;return function(e,s,h){for(var v,g,m=o(e),y=i(m),b=r(s,h,3),_=a(y.length),w=0,x=n?d(e,_):u?d(e,0):void 0;_>w;w++)if((p||w in y)&&(g=b(v=y[w],w,m),t))if(n)x[w]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:x.push(v)}else if(l)return!1;return f?-1:c||l?l:x}}},function(t,e,n){var r=n(5),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(9);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports=!1},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(13).f,i=n(12),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(49)("keys"),i=n(30);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){"use strict";var r=n(0),i=n(12),o=n(9),a=n(67),s=n(29),u=n(7),c=n(77).f,l=n(45).f,f=n(13).f,p=n(51).trim,d=r.Number,h=d,v=d.prototype,g="Number"==o(n(44)(v)),m="trim"in String.prototype,y=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,r,i,o=(e=m?e.trim():p(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var a,u=e.slice(2),c=0,l=u.length;ci)return NaN;return parseInt(u,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(g?u((function(){v.valueOf.call(n)})):"Number"!=o(n))?a(new h(y(e)),n,d):y(e)};for(var b,_=n(4)?c(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;_.length>w;w++)i(h,b=_[w])&&!i(d,b)&&f(d,b,l(h,b));d.prototype=v,v.constructor=d,n(6)(r,"Number",d)}},function(t,e,n){"use strict";function r(t){return!(0===t||(!Array.isArray(t)||0!==t.length)&&t)}function i(t){return function(){return!t.apply(void 0,arguments)}}function o(t,e){return void 0===t&&(t="undefined"),null===t&&(t="null"),!1===t&&(t="false"),-1!==t.toString().toLowerCase().indexOf(e.trim())}function a(t,e,n,r){return t.filter((function(t){return o(r(t,n),e)}))}function s(t){return t.filter((function(t){return!t.$isLabel}))}function u(t,e){return function(n){return n.reduce((function(n,r){return r[t]&&r[t].length?(n.push({$groupLabel:r[e],$isLabel:!0}),n.concat(r[t])):n}),[])}}function c(t,e,r,i,o){return function(s){return s.map((function(s){var u;if(!s[r])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];var c=a(s[r],t,e,o);return c.length?(u={},n.i(h.a)(u,i,s[i]),n.i(h.a)(u,r,c),u):[]}))}}var l=n(59),f=n(54),p=(n.n(f),n(95)),d=(n.n(p),n(31)),h=(n.n(d),n(58)),v=n(91),g=(n.n(v),n(98)),m=(n.n(g),n(92)),y=(n.n(m),n(88)),b=(n.n(y),n(97)),_=(n.n(b),n(89)),w=(n.n(_),n(96)),x=(n.n(w),n(93)),O=(n.n(x),n(90)),S=(n.n(O),function(){for(var t=arguments.length,e=new Array(t),n=0;n-1},isSelected:function(t){var e=this.trackBy?t[this.trackBy]:t;return this.valueKeys.indexOf(e)>-1},isOptionDisabled:function(t){return!!t.$isDisabled},getOptionLabel:function(t){if(r(t))return"";if(t.isTag)return t.label;if(t.$isLabel)return t.$groupLabel;var e=this.customLabel(t,this.label);return r(e)?"":e},select:function(t,e){if(t.$isLabel&&this.groupSelect)this.selectGroup(t);else if(!(-1!==this.blockKeys.indexOf(e)||this.disabled||t.$isDisabled||t.$isLabel)&&(!this.max||!this.multiple||this.internalValue.length!==this.max)&&("Tab"!==e||this.pointerDirty)){if(t.isTag)this.$emit("tag",t.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(t))return void("Tab"!==e&&this.removeElement(t));this.$emit("select",t,this.id),this.multiple?this.$emit("input",this.internalValue.concat([t]),this.id):this.$emit("input",t,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup:function(t){var e=this,n=this.options.find((function(n){return n[e.groupLabel]===t.$groupLabel}));if(n)if(this.wholeGroupSelected(n)){this.$emit("remove",n[this.groupValues],this.id);var r=this.internalValue.filter((function(t){return-1===n[e.groupValues].indexOf(t)}));this.$emit("input",r,this.id)}else{var i=n[this.groupValues].filter((function(t){return!(e.isOptionDisabled(t)||e.isSelected(t))}));this.$emit("select",i,this.id),this.$emit("input",this.internalValue.concat(i),this.id)}},wholeGroupSelected:function(t){var e=this;return t[this.groupValues].every((function(t){return e.isSelected(t)||e.isOptionDisabled(t)}))},wholeGroupDisabled:function(t){return t[this.groupValues].every(this.isOptionDisabled)},removeElement:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this.disabled&&!t.$isDisabled){if(!this.allowEmpty&&this.internalValue.length<=1)return void this.deactivate();var r="object"===n.i(l.a)(t)?this.valueKeys.indexOf(t[this.trackBy]):this.valueKeys.indexOf(t);if(this.$emit("remove",t,this.id),this.multiple){var i=this.internalValue.slice(0,r).concat(this.internalValue.slice(r+1));this.$emit("input",i,this.id)}else this.$emit("input",null,this.id);this.closeOnSelect&&e&&this.deactivate()}},removeLastElement:function(){-1===this.blockKeys.indexOf("Delete")&&0===this.search.length&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate:function(){var t=this;this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&0===this.pointer&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.$nextTick((function(){return t.$refs.search.focus()}))):this.$el.focus(),this.$emit("open",this.id))},deactivate:function(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search.blur():this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle:function(){this.isOpen?this.deactivate():this.activate()},adjustPosition:function(){if("undefined"!=typeof window){var t=this.$el.getBoundingClientRect().top,e=window.innerHeight-this.$el.getBoundingClientRect().bottom;e>this.maxHeight||e>t||"below"===this.openDirection||"bottom"===this.openDirection?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(e-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(t-40,this.maxHeight))}}}}},function(t,e,n){"use strict";var r=n(54),i=(n.n(r),n(31));n.n(i),e.a={data:function(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition:function(){return this.pointer*this.optionHeight},visibleElements:function(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions:function(){this.pointerAdjust()},isOpen:function(){this.pointerDirty=!1}},methods:{optionHighlight:function(t,e){return{"multiselect__option--highlight":t===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(e)}},groupHighlight:function(t,e){var n=this;if(!this.groupSelect)return["multiselect__option--group","multiselect__option--disabled"];var r=this.options.find((function(t){return t[n.groupLabel]===e.$groupLabel}));return r&&!this.wholeGroupDisabled(r)?["multiselect__option--group",{"multiselect__option--highlight":t===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(r)}]:"multiselect__option--disabled"},addPointerElement:function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Enter").key;this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],t),this.pointerReset()},pointerForward:function(){this.pointer0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset:function(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust:function(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet:function(t){this.pointer=t,this.pointerDirty=!0}}}},function(t,e,n){"use strict";var r=n(36),i=n(74),o=n(15),a=n(18);t.exports=n(72)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r=n(31),i=(n.n(r),n(32)),o=n(33);e.a={name:"vue-multiselect",mixins:[i.a,o.a],props:{name:{type:String,default:""},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:function(t){return"and ".concat(t," more")}},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{isSingleLabelVisible:function(){return(this.singleValue||0===this.singleValue)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible:function(){return!(this.internalValue.length||this.searchable&&this.isOpen)},visibleValues:function(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue:function(){return this.internalValue[0]},deselectLabelText:function(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText:function(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText:function(){return this.showLabels?this.selectLabel:""},selectGroupLabelText:function(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText:function(){return this.showLabels?this.selectedLabel:""},inputStyle:function(){if(this.searchable||this.multiple&&this.value&&this.value.length)return this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}},contentStyle:function(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove:function(){return"above"===this.openDirection||"top"===this.openDirection||"below"!==this.openDirection&&"bottom"!==this.openDirection&&"above"===this.preferredOpenDirection},showSearchInput:function(){return this.searchable&&(!this.hasSingleSelectedSlot||!this.visibleSingleValue&&0!==this.visibleSingleValue||this.isOpen)}}}},function(t,e,n){var r=n(1)("unscopables"),i=Array.prototype;null==i[r]&&n(8)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(18),i=n(19),o=n(85);t.exports=function(t){return function(e,n,a){var s,u=r(e),c=i(u.length),l=o(a,c);if(t&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(9),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:o?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){"use strict";var r=n(2);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},function(t,e,n){t.exports=!n(4)&&!n(7)((function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(9);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=i(e),this.reject=i(n)}var i=n(14);t.exports.f=function(t){return new r(t)}},function(t,e,n){var r=n(2),i=n(76),o=n(22),a=n(27)("IE_PROTO"),s=function(){},u=function(){var t,e=n(21)("iframe"),r=o.length;for(e.style.display="none",n(40).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(" diff --git a/resources/js/components/SettingOxidizedMaps.vue b/resources/js/components/SettingOxidizedMaps.vue new file mode 100644 index 0000000000..1f8c82b25c --- /dev/null +++ b/resources/js/components/SettingOxidizedMaps.vue @@ -0,0 +1,242 @@ + + + + + + + diff --git a/resources/lang/en/settings.php b/resources/lang/en/settings.php index e19a6afeba..a164e84746 100644 --- a/resources/lang/en/settings.php +++ b/resources/lang/en/settings.php @@ -949,9 +949,21 @@ return [ 'group_support' => [ 'description' => 'Enable the return of groups to Oxidized', ], + 'ignore_os' => [ + 'description' => 'Do not backup these OS', + 'help' => 'Do not backup the listed OS with Oxidized. The OS must match the LibreNMS OS name (these are all lowercase with no spaces). Only allows existing OS.', + ], + 'ignore_types' => [ + 'description' => 'Do not backup these device types', + 'help' => 'Do not backup the listed device types with Oxidized. Only allows existing types.', + ], 'reload_nodes' => [ 'description' => 'Reload Oxidized nodes list, each time a device is added', ], + 'maps' => [ + 'description' => 'Variable Mapping', + 'help' => 'Used to set group or other variables or map OS names that differ.', + ], 'url' => [ 'description' => 'URL to your Oxidized API', 'help' => 'Oxidized API url (For example: http://127.0.0.1:8888)', diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index 0274d28621..7c7db35179 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -62,9 +62,12 @@ return [ 'in_array' => 'The :attribute field does not exist in :other.', 'integer' => 'The :attribute must be an integer.', 'ip' => 'The :attribute must be a valid IP address.', + 'ip_or_hostname' => 'The :attribute must a valid IP address/network or hostname.', 'ipv4' => 'The :attribute must be a valid IPv4 address.', 'ipv6' => 'The :attribute must be a valid IPv6 address.', + 'is_regex' => 'The :attribute is not a valid regular expression', 'json' => 'The :attribute must be a valid JSON string.', + 'keys_in' => 'The :attribute contains invalid keys: :extra. Valid keys: :values', 'lt' => [ 'numeric' => 'The :attribute must be less than :value.', 'file' => 'The :attribute must be less than :value kilobytes.', diff --git a/resources/views/layouts/librenmsv1.blade.php b/resources/views/layouts/librenmsv1.blade.php index 7434e7307b..b67ee6b117 100644 --- a/resources/views/layouts/librenmsv1.blade.php +++ b/resources/views/layouts/librenmsv1.blade.php @@ -40,8 +40,8 @@ - - + + @foreach(LibreNMS\Config::get('webui.custom_css', []) as $custom_css) @endforeach