text: (self.webpackChunkestafette_ci_web=self.webpackChunkestafette_ci_web||[]).push([[976],{5343:function(t,e,n){"use strict";n.d(e,{K:function(){return T}});var i=n(538),r=n(4689),o=n(3294),u=n(2299),l=n(494),a=n(1572),s=n(6410),c=n(8735),p=n(3284),f=n(7040),d=n(451),h=n(2023),v=n(8137),m=n(9035),b=n(5505),O=n(3727),y=(0,n(4602).l)("value"),g=y.mixin,j=y.props,P=y.prop,S=y.event,x=n(8280),w=n(7668),z=n(7548),N=(0,d.y2)({disabledField:(0,d.pi)(u.N0,"disabled"),htmlField:(0,d.pi)(u.N0,"html"),options:(0,d.pi)(u.XO,[]),textField:(0,d.pi)(u.N0,"text"),valueField:(0,d.pi)(u.N0,"value")},"formOptionControls"),U=i.Z.extend({props:N,computed:{formOptions:function(){return this.normalizeOptions(this.options)}},methods:{normalizeOption:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,p.PO)(t)){var n=(0,w.U)(t,this.valueField),i=(0,w.U)(t,this.textField);return{value:(0,p.o8)(n)?e||i:n,text:(0,c.o)(String((0,p.o8)(i)?e:i)),html:(0,w.U)(t,this.htmlField),disabled:Boolean((0,w.U)(t,this.disabledField))}}return{value:e||t,text:(0,c.o)(String(t)),disabled:!1}},normalizeOptions:function(t){var e=this;return(0,p.kJ)(t)?t.map((function(t){return e.normalizeOption(t)})):(0,p.PO)(t)?((0,z.ZK)('Setting prop "options" to an object is deprecated. Use the array format instead.',this.$options.name),(0,f.XP)(t).map((function(n){return e.normalizeOption(t[n]||{},n)}))):[]}}});function F(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function D(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?F(Object(n),!0).forEach((function(e){_(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function _(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var k=(0,d.y2)((0,f.GE)(D(D({},N),{},{labelField:(0,d.pi)(u.N0,"label"),optionsField:(0,d.pi)(u.N0,"options")})),"formOptions"),C=i.Z.extend({mixins:[U],props:k,methods:{normalizeOption:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,p.PO)(t)){var n=(0,w.U)(t,this.valueField),i=(0,w.U)(t,this.textField),r=(0,w.U)(t,this.optionsField,null);return(0,p.Ft)(r)?{value:(0,p.o8)(n)?e||i:n,text:String((0,p.o8)(i)?e:i),html:(0,w.U)(t,this.htmlField),disabled:Boolean((0,w.U)(t,this.disabledField))}:{label:String((0,w.U)(t,this.labelField)||i),options:this.normalizeOptions(r)}}return{value:e||t,text:String(t),disabled:!1}}}}),Z=n(9558),$=(0,d.y2)({disabled:(0,d.pi)(u.U5,!1),value:(0,d.pi)(u.r1,void 0,!0)},r.vg),I=i.Z.extend({name:r.vg,functional:!0,props:$,render:function(t,e){var n=e.props,i=e.data,r=e.children,o=n.value,u=n.disabled;return t("option",(0,Z.b)(i,{attrs:{disabled:u},domProps:{value:o}}),r)}});function V(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function E(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?V(Object(n),!0).forEach((function(e){J(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function J(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var K=(0,d.y2)((0,f.GE)(E(E({},N),{},{label:(0,d.pi)(u.N0,void 0,!0)})),r.Rj),X=i.Z.extend({name:r.Rj,mixins:[x.Z,U],props:K,render:function(t){var e=this.label,n=this.formOptions.map((function(e,n){var i=e.value,r=e.text,o=e.html,u=e.disabled;return t(I,{attrs:{value:i,disabled:u},domProps:(0,c.U)(o,r),key:"option_".concat(n)})}));return t("optgroup",{attrs:{label:e}},[this.normalizeSlot(l.D$),n,this.normalizeSlot()])}});function q(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function A(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?q(Object(n),!0).forEach((function(e){B(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function B(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var R=(0,d.y2)((0,f.GE)(A(A(A(A(A(A(A({},O.N),j),h.N),v.N),m.N),b.N),{},{ariaInvalid:(0,d.pi)(u.gL,!1),multiple:(0,d.pi)(u.U5,!1),selectSize:(0,d.pi)(u.jg,0)})),r.$S),T=i.Z.extend({name:r.$S,mixins:[O.t,g,h.X,m.j,b.J,v.i,C,x.Z],props:R,data:function(){return{localValue:this[P]}},computed:{computedSelectSize:function(){return this.plain||0!==this.selectSize?this.selectSize:null},inputClass:function(){return[this.plain?"form-control":"custom-select",this.size&&this.plain?"form-control-".concat(this.size):null,this.size&&!this.plain?"custom-select-".concat(this.size):null,this.stateClass]}},watch:{value:function(t){this.localValue=t},localValue:function(){this.$emit(S,this.localValue)}},methods:{focus:function(){(0,s.KS)(this.$refs.input)},blur:function(){(0,s.Cx)(this.$refs.input)},onChange:function(t){var e=this,n=t.target,i=(0,a.Dp)(n.options).filter((function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));this.localValue=n.multiple?i:i[0],this.$nextTick((function(){e.$emit(o.z2,e.localValue)}))}},render:function(t){var e=this.name,n=this.disabled,i=this.required,r=this.computedSelectSize,o=this.localValue,u=this.formOptions.map((function(e,n){var i=e.value,r=e.label,o=e.options,u=e.disabled,l="option_".concat(n);return(0,p.kJ)(o)?t(X,{props:{label:r,options:o},key:l}):t(I,{props:{value:i,disabled:u},domProps:(0,c.U)(e.html,e.text),key:l})}));return t("select",{class:this.inputClass,attrs:{id:this.safeId(),name:e,form:this.form||null,multiple:this.multiple||null,size:r,disabled:n,required:i,"aria-required":i?"true":null,"aria-invalid":this.computedAriaInvalid},on:{change:this.onChange},directives:[{name:"model",value:o}],ref:"input"},[this.normalizeSlot(l.D$),u,this.normalizeSlot()])}})},3663:function(t,e,n){"use strict";n.d(e,{d1:function(){return i},oD:function(){return r},RV:function(){return o},bt:function(){return u},K2:function(){return l},RZ:function(){return a},QI:function(){return s},Cq:function(){return c},YO:function(){return p},m5:function(){return f},XS:function(){return d}});var i=8,r=46,o=40,u=35,l=13,a=27,s=36,c=37,p=39,f=32,d=38},2023:function(t,e,n){"use strict";n.d(e,{N:function(){return a},X:function(){return s}});var i=n(538),r=n(2299),o=n(6410),u=n(451),l="input, textarea, select",a=(0,u.y2)({autofocus:(0,u.pi)(r.U5,!1),disabled:(0,u.pi)(r.U5,!1),form:(0,u.pi)(r.N0),id:(0,u.pi)(r.N0),name:(0,u.pi)(r.N0),required:(0,u.pi)(r.U5,!1)},"formControls"),s=i.Z.extend({props:a,mounted:function(){this.handleAutofocus()},activated:function(){this.handleAutofocus()},methods:{handleAutofocus:function(){var t=this;this.$nextTick((function(){(0,o.bz)((function(){var e=t.$el;t.autofocus&&(0,o.pn)(e)&&((0,o.wB)(e,l)||(e=(0,o.Ys)(l,e)),(0,o.KS)(e))}))}))}}})},8137:function(t,e,n){"use strict";n.d(e,{N:function(){return u},i:function(){return l}});var i=n(538),r=n(2299),o=n(451),u=(0,o.y2)({plain:(0,o.pi)(r.U5,!1)},"formControls"),l=i.Z.extend({props:u,computed:{custom:function(){return!this.plain}}})},9035:function(t,e,n){"use strict";n.d(e,{N:function(){return u},j:function(){return l}});var i=n(538),r=n(2299),o=n(451),u=(0,o.y2)({size:(0,o.pi)(r.N0)},"formControls"),l=i.Z.extend({props:u,computed:{sizeFormClass:function(){return[this.size?"form-control-".concat(this.size):null]}}})},5505:function(t,e,n){"use strict";n.d(e,{N:function(){return l},J:function(){return a}});var i=n(538),r=n(2299),o=n(3284),u=n(451),l=(0,u.y2)({state:(0,u.pi)(r.U5,null)},"formState"),a=i.Z.extend({props:l,computed:{computedState:function(){return(0,o.jn)(this.state)?this.state:null},stateClass:function(){var t=this.computedState;return!0===t?"is-valid":!1===t?"is-invalid":null},computedAriaInvalid:function(){var t=this.ariaInvalid;return!0===t||"true"===t||""===t||!1===this.computedState?"true":t}}})},3727:function(t,e,n){"use strict";n.d(e,{N:function(){return u},t:function(){return l}});var i=n(538),r=n(1915),o=n(2299),u={id:(0,n(451).pi)(o.N0)},l=i.Z.extend({props:u,data:function(){return{localId_:null}},computed:{safeId:function(){var t=this.id||this.localId_;return function(e){return t?(e=String(e||"").replace(/\s+/g,"_"))?t+"_"+e:t:null}}},mounted:function(){var t=this;this.$nextTick((function(){t.localId_="__BVID__".concat(t[r.X$])}))}})},7668:function(t,e,n){"use strict";n.d(e,{U:function(){return l}});var i=n(824),r=n(8265),o=n(3284),u=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(!(e=(0,o.kJ)(e)?e.join("."):e)||!(0,o.Kn)(t))return n;if(e in t)return t[e];var u=(e=String(e).replace(i.OX,".$1")).split(".").filter(r.y);return 0===u.length?n:u.every((function(e){return(0,o.Kn)(t)&&e in t&&!(0,o.Jp)(t=t[e])}))?t:(0,o.Ft)(t)?null:n},l=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=u(t,e);return(0,o.Jp)(i)?n:i}},8735:function(t,e,n){"use strict";n.d(e,{o:function(){return r},U:function(){return o}});var i=n(824),r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(i.ny,"")},o=function(t,e){return t?{innerHTML:t}:e?{textContent:e}:{}}},4602:function(t,e,n){"use strict";n.d(e,{l:function(){return a}});var i=n(538),r=n(3294),o=n(2299),u=n(451);function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.type,a=void 0===n?o.r1:n,s=e.defaultValue,c=void 0===s?void 0:s,p=e.validator,f=void 0===p?void 0:p,d=e.event,h=void 0===d?r.gn:d,v=l({},t,(0,u.pi)(a,c,f)),m=i.Z.extend({model:{prop:t,event:h},props:v});return{mixin:m,props:v,prop:t,event:h}}}}]);