=n?"full":t>=n-.5?"half":"empty",u={variant:o,disabled:i,readonly:s};return e("span",{staticClass:"b-rating-star",class:{focused:r&&t===n||!kn(t)&&n===l,"b-rating-star-empty":"empty"===c,"b-rating-star-half":"half"===c,"b-rating-star-full":"full"===c},attrs:{tabindex:i||s?null:"-1"},on:{click:this.onClick}},[e("span",{staticClass:"b-rating-icon"},[this.normalizeSlot(c,u)])])}}),Jf=Dr(Re(If(If(If(If(If({},xs),Rf),Ne(wd,["required","autofocus"])),xd),{},{color:Sr(Zt),iconClear:Sr(Zt,"x"),iconEmpty:Sr(Zt,"star"),iconFull:Sr(Zt,"star-fill"),iconHalf:Sr(Zt,"star-half"),inline:Sr(Ut,!1),locale:Sr(tn),noBorder:Sr(Ut,!1),precision:Sr(ln),readonly:Sr(Ut,!1),showClear:Sr(Ut,!1),showValue:Sr(Ut,!1),showValueMax:Sr(Ut,!1),stars:Sr(ln,5,(function(e){return kn(e)>=3})),variant:Sr(Zt)})),"BFormRating"),Yf=Dt({name:"BFormRating",components:{BIconStar:oo,BIconStarHalf:so,BIconStarFill:io,BIconX:lo},mixins:[Cs,Nf,Cd],props:Jf,data:function(){var e=_n(this[Hf],null),t=Uf(this.stars);return{localValue:ge(e)?null:Gf(e,0,t),hasFocus:!1}},computed:{computedStars:function(){return Uf(this.stars)},computedRating:function(){var e=_n(this.localValue,0),t=kn(this.precision,3);return Gf(_n(e.toFixed(t)),0,this.computedStars)},computedLocale:function(){var e=mn(this.locale).filter(Ye);return new Intl.NumberFormat(e).resolvedOptions().locale},isInteractive:function(){return!this.disabled&&!this.readonly},isRTL:function(){return Os(this.computedLocale)},formattedRating:function(){var e=kn(this.precision),t=this.showValueMax,n=this.computedLocale,r={notation:"standard",minimumFractionDigits:isNaN(e)?0:e,maximumFractionDigits:isNaN(e)?3:e},a=this.computedStars.toLocaleString(n),o=this.localValue;return o=ge(o)?t?"-":"":o.toLocaleString(n,r),t?"".concat(o,"/").concat(a):o}},watch:(Sf={},Bf(Sf,Hf,(function(e,t){if(e!==t){var n=_n(e,null);this.localValue=ge(n)?null:Gf(n,0,this.computedStars)}})),Bf(Sf,"localValue",(function(e,t){e!==t&&e!==(this.value||0)&&this.$emit(Vf,e||null)})),Bf(Sf,"disabled",(function(e){e&&(this.hasFocus=!1,this.blur())})),Sf),methods:{focus:function(){this.disabled||fr(this.$el)},blur:function(){this.disabled||mr(this.$el)},onKeydown:function(e){var t=e.keyCode;if(this.isInteractive&&fn([wo,go,ko,Oo],t)){Rr(e,{propagation:!1});var n=kn(this.localValue,0),r=this.showClear?0:1,a=this.computedStars,o=this.isRTL?-1:1;t===wo?this.localValue=Gf(n-o,r,a)||null:t===ko?this.localValue=Gf(n+o,r,a):t===go?this.localValue=Gf(n-1,r,a)||null:t===Oo&&(this.localValue=Gf(n+1,r,a))}},onSelected:function(e){this.isInteractive&&(this.localValue=e)},onFocus:function(e){this.hasFocus=!!this.isInteractive&&"focus"===e.type},renderIcon:function(e){return this.$createElement(ho,{props:{icon:e,variant:this.disabled||this.color?null:this.variant||null}})},iconEmptyFn:function(){return this.renderIcon(this.iconEmpty)},iconHalfFn:function(){return this.renderIcon(this.iconHalf)},iconFullFn:function(){return this.renderIcon(this.iconFull)},iconClearFn:function(){return this.$createElement(ho,{props:{icon:this.iconClear}})}},render:function(e){var t=this,n=this.disabled,r=this.readonly,a=this.name,o=this.form,i=this.inline,s=this.variant,l=this.color,c=this.noBorder,u=this.hasFocus,d=this.computedRating,p=this.computedStars,f=this.formattedRating,m=this.showClear,h=this.isRTL,g=this.isInteractive,v=this.$scopedSlots,b=[];if(m&&!n&&!r){var y=e("span",{staticClass:"b-rating-icon"},[(v["icon-clear"]||this.iconClearFn)()]);b.push(e("span",{staticClass:"b-rating-star b-rating-star-clear flex-grow-1",class:{focused:u&&0===d},attrs:{tabindex:g?"-1":null},on:{click:function(){return t.onSelected(null)}},key:"clear"},[y]))}for(var w=0;w1&&void 0!==arguments[1]?arguments[1]:null;if(Ce(e)){var n=Ze(e,this.valueField),r=Ze(e,this.textField),a=Ze(e,this.optionsField,null);return ge(a)?{value:he(n)?t||r:n,text:String(he(r)?t:r),html:Ze(e,this.htmlField),disabled:Boolean(Ze(e,this.disabledField))}:{label:String(Ze(e,this.labelField)||r),options:this.normalizeOptions(a)}}return{value:t||e,text:String(e),disabled:!1}}}}),sm=Dr({disabled:Sr(Ut,!1),value:Sr(void 0,void 0,!0)},"BFormSelectOption"),lm=Dt({name:"BFormSelectOption",functional:!0,props:sm,render:function(e,t){var n=t.props,r=t.data,a=t.children,o=n.value;return e("option",xt(r,{attrs:{disabled:n.disabled},domProps:{value:o}}),a)}});function cm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function um(e){for(var t=1;t0?e:500},computedInterval:function(){var e=kn(this.repeatInterval,0);return e>0?e:100},computedThreshold:function(){return ha(kn(this.repeatThreshold,10),1)},computedStepMultiplier:function(){return ha(kn(this.repeatStepMultiplier,4),1)},computedPrecision:function(){var e=this.computedStep;return ba(e)===e?0:(e.toString().split(".")[1]||"").length},computedMultiplier:function(){return ya(10,this.computedPrecision||0)},valueAsFixed:function(){var e=this.localValue;return ge(e)?"":e.toFixed(this.computedPrecision)},computedLocale:function(){var e=mn(this.locale).filter(Ye);return new Intl.NumberFormat(e).resolvedOptions().locale},computedRTL:function(){return Os(this.computedLocale)},defaultFormatter:function(){var e=this.computedPrecision;return new Intl.NumberFormat(this.computedLocale,{style:"decimal",useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:e,maximumFractionDigits:e,notation:"standard"}).format},computedFormatter:function(){var e=this.formatterFn;return Lr(e)?e:this.defaultFormatter},computedAttrs:function(){return _m(_m({},this.bvAttrs),{},{role:"group",lang:this.computedLocale,tabindex:this.disabled?null:"-1",title:this.ariaLabel})},computedSpinAttrs:function(){var e=this.spinId,t=this.localValue,n=this.computedRequired,r=this.disabled,a=this.state,o=this.computedFormatter,i=!ge(t);return _m(_m({dir:this.computedRTL?"rtl":"ltr"},this.bvAttrs),{},{id:e,role:"spinbutton",tabindex:r?null:"0","aria-live":"off","aria-label":this.ariaLabel||null,"aria-controls":this.ariaControls||null,"aria-invalid":!1===a||!i&&n?"true":null,"aria-required":n?"true":null,"aria-valuemin":Sn(this.computedMin),"aria-valuemax":Sn(this.computedMax),"aria-valuenow":i?t:null,"aria-valuetext":i?o(t):null})}},watch:(vm={},Om(vm,Tm,(function(e){this.localValue=_n(e,null)})),Om(vm,"localValue",(function(e){this.$emit(Pm,e)})),Om(vm,"disabled",(function(e){e&&this.clearRepeat()})),Om(vm,"readonly",(function(e){e&&this.clearRepeat()})),vm),created:function(){this.$_autoDelayTimer=null,this.$_autoRepeatTimer=null,this.$_keyIsDown=!1},beforeDestroy:function(){this.clearRepeat()},deactivated:function(){this.clearRepeat()},methods:{focus:function(){this.disabled||fr(this.$refs.spinner)},blur:function(){this.disabled||mr(this.$refs.spinner)},emitChange:function(){this.$emit("change",this.localValue)},stepValue:function(e){var t=this.localValue;if(!this.disabled&&!ge(t)){var n=this.computedStep*e,r=this.computedMin,a=this.computedMax,o=this.computedMultiplier,i=this.wrap;t=wa((t-r)/n)*n+r+n,t=wa(t*o)/o,this.localValue=t>a?i?r:a:t0&&void 0!==arguments[0]?arguments[0]:1,t=this.localValue;ge(t)?this.localValue=this.computedMin:this.stepValue(1*e)},stepDown:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.localValue;ge(t)?this.localValue=this.wrap?this.computedMax:this.computedMin:this.stepValue(-1*e)},onKeydown:function(e){var t=e.keyCode,n=e.altKey,r=e.ctrlKey,a=e.metaKey;if(!(this.disabled||this.readonly||n||r||a)&&fn(Sm,t)){if(Rr(e,{propagation:!1}),this.$_keyIsDown)return;this.resetTimers(),fn([Oo,go],t)?(this.$_keyIsDown=!0,t===Oo?this.handleStepRepeat(e,this.stepUp):t===go&&this.handleStepRepeat(e,this.stepDown)):33===t?this.stepUp(this.computedStepMultiplier):34===t?this.stepDown(this.computedStepMultiplier):t===yo?this.localValue=this.computedMin:t===vo&&(this.localValue=this.computedMax)}},onKeyup:function(e){var t=e.keyCode,n=e.altKey,r=e.ctrlKey,a=e.metaKey;this.disabled||this.readonly||n||r||a||fn(Sm,t)&&(Rr(e,{propagation:!1}),this.resetTimers(),this.$_keyIsDown=!1,this.emitChange())},handleStepRepeat:function(e,t){var n=this,r=e||{},a=r.type,o=r.button;if(!this.disabled&&!this.readonly){if("mousedown"===a&&o)return;this.resetTimers(),t(1);var i=this.computedThreshold,s=this.computedStepMultiplier,l=this.computedDelay,c=this.computedInterval;this.$_autoDelayTimer=setTimeout((function(){var e=0;n.$_autoRepeatTimer=setInterval((function(){t(ee.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&n.indexOf(e)===t}))},Qm=function(e){return we(e)?e:Te(e)&&e.target.value||""},Xm=Dr(Re(Rm(Rm(Rm(Rm(Rm(Rm({},xs),Gm),wd),xd),jd),{},{addButtonText:Sr(Zt,"Add"),addButtonVariant:Sr(Zt,"outline-secondary"),addOnChange:Sr(Ut,!1),duplicateTagText:Sr(Zt,"Duplicate tag(s)"),feedbackAriaLive:Sr(Zt,"assertive"),ignoreInputFocusSelector:Sr(tn,Km),inputAttrs:Sr(Yt,{}),inputClass:Sr(en),inputId:Sr(Zt),inputType:Sr(Zt,"text",(function(e){return fn(Ym,e)})),invalidTagText:Sr(Zt,"Invalid tag(s)"),limit:Sr(Jt),limitTagsText:Sr(Zt,"Tag limit reached"),noAddOnEnter:Sr(Ut,!1),noOuterFocus:Sr(Ut,!1),noTagRemove:Sr(Ut,!1),placeholder:Sr(Zt,"Add tag..."),removeOnDelete:Sr(Ut,!1),separator:Sr(tn),tagClass:Sr(en),tagPills:Sr(Ut,!1),tagRemoveLabel:Sr(Zt,"Remove tag"),tagRemovedLabel:Sr(Zt,"Tag removed"),tagValidator:Sr(Wt),tagVariant:Sr(Zt,"secondary")})),"BFormTags"),eh=Dt({name:"BFormTags",mixins:[Ro,Cs,Um,kd,Cd,Td,wn],props:Xm,data:function(){return{hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:{all:[],valid:[],invalid:[],duplicate:[]},focusState:null}},computed:{computedInputId:function(){return this.inputId||this.safeId("__input__")},computedInputType:function(){return fn(Ym,this.inputType)?this.inputType:"text"},computedInputAttrs:function(){var e=this.disabled,t=this.form;return Rm(Rm({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:e,form:t})},computedInputHandlers:function(){return Rm(Rm({},Ne(this.bvListeners,["focusin","focusout"])),{},{blur:this.onInputBlur,change:this.onInputChange,focus:this.onInputFocus,input:this.onInputInput,keydown:this.onInputKeydown,reset:this.reset})},computedSeparator:function(){return mn(this.separator).filter(we).filter(Ye).join("")},computedSeparatorRegExp:function(){var e=this.computedSeparator;return e?new RegExp("[".concat(Pn(e).replace(D,"\\s"),"]+")):null},computedJoiner:function(){var e=this.computedSeparator.charAt(0);return" "!==e?"".concat(e," "):e},computeIgnoreInputFocusSelector:function(){return mn(this.ignoreInputFocusSelector).filter(Ye).join(",").trim()},disableAddButton:function(){var e=this,t=qn(this.newTag);return""===t||!this.splitTags(t).some((function(t){return!fn(e.tags,t)&&e.validateTag(t)}))},duplicateTags:function(){return this.tagsState.duplicate},hasDuplicateTags:function(){return this.duplicateTags.length>0},invalidTags:function(){return this.tagsState.invalid},hasInvalidTags:function(){return this.invalidTags.length>0},isLimitReached:function(){var e=this.limit;return ke(e)&&e>=0&&this.tags.length>=e}},watch:(Em={},Hm(Em,Wm,(function(e){this.tags=Zm(e)})),Hm(Em,"tags",(function(e,t){xo(e,this[Wm])||this.$emit(Jm,e),xo(e,t)||(e=mn(e).filter(Ye),t=mn(t).filter(Ye),this.removedTags=t.filter((function(t){return!fn(e,t)})))})),Hm(Em,"tagsState",(function(e,t){xo(e,t)||this.$emit("tag-state",e.valid,e.invalid,e.duplicate)})),Em),created:function(){this.tags=Zm(this[Wm])},mounted:function(){var e=Jn("form",this.$el);e&&Br(e,"reset",this.reset,Rt)},beforeDestroy:function(){var e=Jn("form",this.$el);e&&Mr(e,"reset",this.reset,Rt)},methods:{addTag:function(e){if(e=we(e)?e:this.newTag,!this.disabled&&""!==qn(e)&&!this.isLimitReached){var t=this.parseTags(e);if(t.valid.length>0||0===t.all.length)if(Wn(this.getInput(),"select"))this.newTag="";else{var n=[].concat(Bm(t.invalid),Bm(t.duplicate));this.newTag=t.all.filter((function(e){return fn(n,e)})).join(this.computedJoiner).concat(n.length>0?this.computedJoiner.charAt(0):"")}t.valid.length>0&&(this.tags=mn(this.tags,t.valid)),this.tagsState=t,this.focus()}},removeTag:function(e){this.disabled||(this.tags=this.tags.filter((function(t){return t!==e})))},reset:function(){var e=this;this.newTag="",this.tags=[],this.$nextTick((function(){e.removedTags=[],e.tagsState={all:[],valid:[],invalid:[],duplicate:[]}}))},onInputInput:function(e){if(!(this.disabled||Te(e)&&e.target.composing)){var t=Qm(e),n=this.computedSeparatorRegExp;this.newTag!==t&&(this.newTag=t),t=Sn(t).replace(A,""),n&&n.test(t.slice(-1))?this.addTag():this.tagsState=""===t?{all:[],valid:[],invalid:[],duplicate:[]}:this.parseTags(t)}},onInputChange:function(e){if(!this.disabled&&this.addOnChange){var t=Qm(e);this.newTag!==t&&(this.newTag=t),this.addTag()}},onInputKeydown:function(e){if(!this.disabled&&Te(e)){var t=e.keyCode,n=e.target.value||"";this.noAddOnEnter||t!==bo?!this.removeOnDelete||8!==t&&46!==t||""!==n||(Rr(e,{propagation:!1}),this.tags=this.tags.slice(0,-1)):(Rr(e,{propagation:!1}),this.addTag())}},onClick:function(e){var t=this,n=this.computeIgnoreInputFocusSelector;n&&Jn(n,e.target,!0)||this.$nextTick((function(){t.focus()}))},onInputFocus:function(e){var t=this;"out"!==this.focusState&&(this.focusState="in",this.$nextTick((function(){En((function(){t.hasFocus&&(t.$emit("focus",e),t.focusState=null)}))})))},onInputBlur:function(e){var t=this;"in"!==this.focusState&&(this.focusState="out",this.$nextTick((function(){En((function(){t.hasFocus||(t.$emit("blur",e),t.focusState=null)}))})))},onFocusin:function(e){this.hasFocus=!0,this.$emit("focusin",e)},onFocusout:function(e){this.hasFocus=!1,this.$emit("focusout",e)},handleAutofocus:function(){var e=this;this.$nextTick((function(){En((function(){e.autofocus&&e.focus()}))}))},focus:function(){this.disabled||fr(this.getInput())},blur:function(){this.disabled||mr(this.getInput())},splitTags:function(e){e=Sn(e);var t=this.computedSeparatorRegExp;return(t?e.split(t):[e]).map(qn).filter(Ye)},parseTags:function(e){var t=this,n=this.splitTags(e),r={all:n,valid:[],invalid:[],duplicate:[]};return n.forEach((function(e){fn(t.tags,e)||fn(r.valid,e)?fn(r.duplicate,e)||r.duplicate.push(e):t.validateTag(e)?r.valid.push(e):fn(r.invalid,e)||r.invalid.push(e)})),r},validateTag:function(e){var t=this.tagValidator;return!Lr(t)||t(e)},getInput:function(){return Gn("#".concat(Zp(this.computedInputId)),this.$el)},defaultRender:function(e){var t=e.addButtonText,n=e.addButtonVariant,r=e.addTag,a=e.disableAddButton,o=e.disabled,i=e.duplicateTagText,s=e.inputAttrs,l=e.inputClass,c=e.inputHandlers,u=e.inputType,d=e.invalidTagText,p=e.isDuplicate,f=e.isInvalid,m=e.isLimitReached,h=e.limitTagsText,g=e.noTagRemove,v=e.placeholder,b=e.removeTag,y=e.tagClass,w=e.tagPills,k=e.tagRemoveLabel,_=e.tagVariant,O=e.tags,x=this.$createElement,C=O.map((function(e){return e=Sn(e),x(Im,{class:y,props:{disabled:o,noRemove:g,pill:w,removeLabel:k,tag:"li",title:e,variant:_},on:{remove:function(){return b(e)}},key:"tags_".concat(e)},e)})),j=d&&f?this.safeId("__invalid_feedback__"):null,T=i&&p?this.safeId("__duplicate_feedback__"):null,P=h&&m?this.safeId("__limit_feedback__"):null,S=[s["aria-describedby"],j,T,P].filter(Ye).join(" "),q=x("input",{staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:l,style:{outline:0,minWidth:"5rem"},attrs:Rm(Rm({},s),{},{"aria-describedby":S||null,type:u,placeholder:v||null}),domProps:{value:s.value},on:c,directives:[{name:"model",value:s.value}],ref:"input"}),$=x(pi,{staticClass:"b-form-tags-button py-0",class:{invisible:a},style:{fontSize:"90%"},props:{disabled:a||m,variant:n},on:{click:function(){return r()}},ref:"button"},[this.normalizeSlot("add-button-text")||t]),F=this.safeId("__tag_list__"),D=x("li",{staticClass:"b-form-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":F},key:"tags_field"},[x("div",{staticClass:"d-flex",attrs:{role:"group"}},[q,$])]),z=x("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:F},key:"tags_list"},[C,D]),L=x();if(d||i||h){var E=this.feedbackAriaLive,A=this.computedJoiner,I=x();j&&(I=x(fd,{props:{id:j,ariaLive:E,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join(A)]));var B=x();T&&(B=x(dd,{props:{id:T,ariaLive:E},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join(A)]));var M=x();P&&(M=x(dd,{props:{id:P,ariaLive:E},key:"tags_limit_feedback"},[h])),L=x("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[I,B,M])}return[z,L]}},render:function(e){var t=this.name,n=this.disabled,r=this.required,a=this.form,o=this.tags,i=this.computedInputId,s=this.hasFocus,l=this.noOuterFocus,c=Rm({tags:o.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,reset:this.reset,inputId:i,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},Me(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),u=this.normalizeSlot("default",c)||this.defaultRender(c),d=e("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:i,"aria-live":s?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),p=e("div",{staticClass:"sr-only",attrs:{id:this.safeId("__removed_tags__"),role:"status","aria-live":s?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),f=e();if(t&&!n){var m=o.length>0;f=(m?o:[""]).map((function(n){return e("input",{class:{"sr-only":!m},attrs:{type:m?"hidden":"text",value:n,required:r,name:t,form:a},key:"tag_input_".concat(n)})}))}return e("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:s&&!l&&!n,disabled:n},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:n||l?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[d,p,u,f])}}),th=pt({components:{BFormTags:eh,BTags:eh,BFormTag:Im,BTag:Im}});function nh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rh(e){for(var t=1;td?s:"".concat(d,"px")}},render:function(e){return e("textarea",{class:this.computedClass,style:this.computedStyle,directives:[{name:"b-visible",value:this.visibleCallback,modifiers:{640:!0}}],attrs:this.computedAttrs,domProps:{value:this.localValue},on:this.computedListeners,ref:"input"})}}),lh=pt({components:{BFormTextarea:sh,BTextarea:sh}});function ch(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function uh(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]&&arguments[1];if(ge(t)||ge(n)||a&&ge(r))return"";var o=[t,n,a?r:0];return o.map(wh).join(":")}({hours:this.modelHours,minutes:this.modelMinutes,seconds:this.modelSeconds},this.showSeconds)},resolvedOptions:function(){var e=mn(this.locale).filter(Ye),t={hour:"numeric",minute:"numeric",second:"numeric"};ve(this.hour12)||(t.hour12=!!this.hour12);var n=new Intl.DateTimeFormat(e,t).resolvedOptions(),r=n.hour12||!1,a=n.hourCycle||(r?"h12":"h23");return{locale:n.locale,hour12:r,hourCycle:a}},computedLocale:function(){return this.resolvedOptions.locale},computedLang:function(){return(this.computedLocale||"").replace(/-u-.*$/,"")},computedRTL:function(){return Os(this.computedLang)},computedHourCycle:function(){return this.resolvedOptions.hourCycle},is12Hour:function(){return!!this.resolvedOptions.hour12},context:function(){return{locale:this.computedLocale,isRTL:this.computedRTL,hourCycle:this.computedHourCycle,hour12:this.is12Hour,hours:this.modelHours,minutes:this.modelMinutes,seconds:this.showSeconds?this.modelSeconds:0,value:this.computedHMS,formatted:this.formattedTimeString}},valueId:function(){return this.safeId()||null},computedAriaLabelledby:function(){return[this.ariaLabelledby,this.valueId].filter(Ye).join(" ")||null},timeFormatter:function(){var e={hour12:this.is12Hour,hourCycle:this.computedHourCycle,hour:"numeric",minute:"numeric",timeZone:"UTC"};return this.showSeconds&&(e.second="numeric"),us(this.computedLocale,e)},numberFormatter:function(){return new Intl.NumberFormat(this.computedLocale,{style:"decimal",minimumIntegerDigits:2,minimumFractionDigits:0,maximumFractionDigits:0,notation:"standard"}).format},formattedTimeString:function(){var e=this.modelHours,t=this.modelMinutes,n=this.showSeconds&&this.modelSeconds||0;return this.computedHMS?this.timeFormatter(ss(Date.UTC(0,0,1,e,t,n))):this.labelNoTimeSelected||" "},spinScopedSlots:function(){var e=this.$createElement;return{increment:function(t){var n=t.hasFocus;return e(Qa,{props:{scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})},decrement:function(t){var n=t.hasFocus;return e(Qa,{props:{flipV:!0,scale:n?1.5:1.25},attrs:{"aria-hidden":"true"}})}}}},watch:(oh={},dh(oh,bh,(function(e,t){if(e!==t&&!xo(kh(e),kh(this.computedHMS))){var n=kh(e),r=n.hours,a=n.minutes,o=n.seconds,i=n.ampm;this.modelHours=r,this.modelMinutes=a,this.modelSeconds=o,this.modelAmpm=i}})),dh(oh,"computedHMS",(function(e,t){e!==t&&this.$emit(yh,e)})),dh(oh,"context",(function(e,t){xo(e,t)||this.$emit("context",e)})),dh(oh,"modelAmpm",(function(e,t){var n=this;if(e!==t){var r=ge(this.modelHours)?0:this.modelHours;this.$nextTick((function(){0===e&&r>11?n.modelHours=r-12:1===e&&r<12&&(n.modelHours=r+12)}))}})),dh(oh,"modelHours",(function(e,t){e!==t&&(this.modelAmpm=e>11?1:0)})),oh),created:function(){var e=this;this.$nextTick((function(){e.$emit("context",e.context)}))},mounted:function(){this.setLive(!0)},activated:function(){this.setLive(!0)},deactivated:function(){this.setLive(!1)},beforeDestroy:function(){this.setLive(!1)},methods:{focus:function(){this.disabled||fr(this.$refs.spinners[0])},blur:function(){if(!this.disabled){var e=Bn();Yn(this.$el,e)&&mr(e)}},formatHours:function(e){var t=this.computedHourCycle;return e=0===(e=this.is12Hour&&e>12?e-12:e)&&"h12"===t?12:0===e&&"h24"===t?24:12===e&&"h11"===t?0:e,this.numberFormatter(e)},formatMinutes:function(e){return this.numberFormatter(e)},formatSeconds:function(e){return this.numberFormatter(e)},formatAmpm:function(e){return 0===e?this.labelAm:1===e?this.labelPm:""},setHours:function(e){this.modelHours=e},setMinutes:function(e){this.modelMinutes=e},setSeconds:function(e){this.modelSeconds=e},setAmpm:function(e){this.modelAmpm=e},onSpinLeftRight:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.type,n=e.keyCode;if(!this.disabled&&"keydown"===t&&(n===wo||n===ko)){Rr(e);var r=this.$refs.spinners||[],a=r.map((function(e){return!!e.hasFocus})).indexOf(!0);a=(a+=n===wo?-1:1)>=r.length?0:a<0?r.length-1:a,fr(r[a])}},setLive:function(e){var t=this;e?this.$nextTick((function(){En((function(){t.isLive=!0}))})):this.isLive=!1}},render:function(e){var t=this;if(this.hidden)return e();var n=this.disabled,r=this.readonly,a=this.computedLocale,o=this.computedAriaLabelledby,i=this.labelIncrement,s=this.labelDecrement,l=this.valueId,c=this.focus,u=[],d=function(o,c,d){var p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},f=t.safeId("_spinbutton_".concat(c,"_"))||null;return u.push(f),e($m,dh({class:d,props:uh({id:f,placeholder:"--",vertical:!0,required:!0,disabled:n,readonly:r,locale:a,labelIncrement:i,labelDecrement:s,wrap:!0,ariaControls:l,min:0},p),scopedSlots:t.spinScopedSlots,on:{change:o},key:c,ref:"spinners"},$t,!0))},p=function(){return e("div",{staticClass:"d-flex flex-column",class:{"text-muted":n||r},attrs:{"aria-hidden":"true"}},[e(Xa,{props:{shiftV:4,scale:.5}}),e(Xa,{props:{shiftV:-4,scale:.5}})])},f=[];f.push(d(this.setHours,"hours","b-time-hours",{value:this.modelHours,max:23,step:1,formatterFn:this.formatHours,ariaLabel:this.labelHours})),f.push(p()),f.push(d(this.setMinutes,"minutes","b-time-minutes",{value:this.modelMinutes,max:59,step:this.minutesStep||1,formatterFn:this.formatMinutes,ariaLabel:this.labelMinutes})),this.showSeconds&&(f.push(p()),f.push(d(this.setSeconds,"seconds","b-time-seconds",{value:this.modelSeconds,max:59,step:this.secondsStep||1,formatterFn:this.formatSeconds,ariaLabel:this.labelSeconds}))),this.isLive&&this.is12Hour&&f.push(d(this.setAmpm,"ampm","b-time-ampm",{value:this.modelAmpm,max:1,formatterFn:this.formatAmpm,ariaLabel:this.labelAmpm,required:!1})),f=e("div",{staticClass:"d-flex align-items-center justify-content-center mx-auto",attrs:{role:"group",tabindex:n||r?null:"-1","aria-labelledby":o},on:{keydown:this.onSpinLeftRight,click:function(e){e.target===e.currentTarget&&c()}}},f);var m=e("output",{staticClass:"form-control form-control-sm text-center",class:{disabled:n||r},attrs:{id:l,role:"status",for:u.filter(Ye).join(" ")||null,tabindex:n?null:"-1","aria-live":this.isLive?"polite":"off","aria-atomic":"true"},on:{click:c,focus:c}},[e("bdi",this.formattedTimeString),this.computedHMS?e("span",{staticClass:"sr-only"}," (".concat(this.labelSelected,") ")):""]),h=e(this.headerTag,{staticClass:"b-time-header",class:{"sr-only":this.hideHeader}},[m]),g=this.normalizeSlot(),v=g?e(this.footerTag,{staticClass:"b-time-footer"},g):e();return e("div",{staticClass:"b-time d-inline-flex flex-column text-center",attrs:{role:"group",lang:this.computedLang||null,"aria-labelledby":o||null,"aria-disabled":n?"true":null,"aria-readonly":r&&!n?"true":null}},[h,f,v])}});function xh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ch(e){for(var t=1;t0&&i.push(e("span"," "));var l=this.labelResetButton;i.push(e(pi,{props:{size:"sm",disabled:n||r,variant:this.resetButtonVariant},attrs:{"aria-label":l||null},on:{click:this.onResetButton},key:"reset-btn"},l))}if(!this.noCloseButton){i.length>0&&i.push(e("span"," "));var c=this.labelCloseButton;i.push(e(pi,{props:{size:"sm",disabled:n,variant:this.closeButtonVariant},attrs:{"aria-label":c||null},on:{click:this.onCloseButton},key:"close-btn"},c))}i.length>0&&(i=[e("div",{staticClass:"b-form-date-controls d-flex flex-wrap",class:{"justify-content-between":i.length>1,"justify-content-end":i.length<2}},i)]);var u=e(Oh,{staticClass:"b-form-time-control",props:Ch(Ch({},$r(Fh,a)),{},{value:t,hidden:!this.isVisible}),on:{input:this.onInput,context:this.onContext},ref:"time"},i);return e(wp,{staticClass:"b-form-timepicker",props:Ch(Ch({},$r(Dh,a)),{},{id:this.safeId(),value:t,formattedValue:t?this.formattedValue:"",placeholder:o,rtl:this.isRTL,lang:this.computedLang}),on:{show:this.onShow,shown:this.onShown,hidden:this.onHidden},scopedSlots:jh({},"button-content",this.$scopedSlots["button-content"]||this.defaultButtonFn),ref:"control"},[u])}}),Eh=pt({components:{BFormTimepicker:Lh,BTimepicker:Lh}}),Ah=pt({components:{BImg:il,BImgLazy:ql}}),Ih=Dr({tag:Sr(Zt,"div")},"BInputGroupText"),Bh=Dt({name:"BInputGroupText",functional:!0,props:Ih,render:function(e,t){var n=t.props,r=t.data,a=t.children;return e(n.tag,xt(r,{staticClass:"input-group-text"}),a)}}),Mh=Dr({append:Sr(Ut,!1),id:Sr(Zt),isText:Sr(Ut,!1),tag:Sr(Zt,"div")},"BInputGroupAddon"),Nh=Dt({name:"BInputGroupAddon",functional:!0,props:Mh,render:function(e,t){var n=t.props,r=t.data,a=t.children,o=n.append;return e(n.tag,xt(r,{class:{"input-group-append":o,"input-group-prepend":!o},attrs:{id:n.id}}),n.isText?[e(Bh,a)]:a)}});function Rh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hh(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:null;return e&&e.$options._scopeId||t};var Dg=Dt({mixins:[$g],computed:{scopedStyleAttrs:function(){var e,t,n,r=Fg(this.bvParent);return r?(n="",(t=r)in(e={})?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e):{}}}});function zg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lg(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},r=e.$root?e.$root.$options.bvEventRoot||e.$root:null;return new t(Lg(Lg({},n),{},{parent:e,bvParent:e,bvEventRoot:r}))},Ig=Dt({abstract:!0,name:"BVTransporterTarget",props:{nodes:Sr(Qt)},data:function(e){return{updatedNodes:e.nodes}},destroyed:function(){var e;(e=this.$el)&&e.parentNode&&e.parentNode.removeChild(e)},render:function(e){var t=this.updatedNodes,n=be(t)?t({}):t;return(n=mn(n).filter(Ye))&&n.length>0&&!n[0].text?n[0]:e()}}),Bg={container:Sr([ce,Zt],"body"),disabled:Sr(Ut,!1),tag:Sr(Zt,"div")},Mg=Dt({name:"BVTransporter",mixins:[wn],props:Bg,watch:{disabled:{immediate:!0,handler:function(e){e?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(c){var e=this.container;return we(e)?Gn(e):e}return null},mountTarget:function(){if(!this.$_target){var e=this.getContainer();if(e){var t=document.createElement("div");e.appendChild(t),this.$_target=Ag(this,Ig,{el:t,propsData:{nodes:mn(this.normalizeSlot())}})}}},updateTarget:function(){if(c&&this.$_target){var e=this.$scopedSlots.default;this.disabled||(e&&this.$_defaultFn!==e?this.$_target.updatedNodes=e:e||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=e}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(e){if(this.disabled){var t=mn(this.normalizeSlot()).filter(Ye);if(t.length>0&&!t[0].text)return t[0]}return e()}}),Ng=qt?Dt({name:"BVTransporter",mixins:[wn],props:Bg,render:function(e){if(this.disabled){var t=mn(this.normalizeSlot()).filter(Ye);if(t.length>0)return t[0]}return e(r.default.Teleport,{to:this.container},this.normalizeSlot())}}):Mg;function Rg(e){return(Rg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Hg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vg(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return Gg(this,o),t=a.call(this,e,n),ze(Xg(t),{trigger:{enumerable:!0,configurable:!1,writable:!1}}),t}return t=o,r=[{key:"Defaults",get:function(){return Vg(Vg({},Jg(ev(o),"Defaults",this)),{},{trigger:null})}}],(n=null)&&Wg(t.prototype,n),r&&Wg(t,r),Object.defineProperty(t,"prototype",{writable:!1}),o}(Xc),nv=new(Dt({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(e,t){c&&(this.getScrollbarWidth(),e>0&&0===t?(this.checkScrollbar(),this.setScrollbar(),Zn(document.body,"modal-open")):0===e&&t>0&&(this.resetScrollbar(),Qn(document.body,"modal-open")),er(document.body,"data-modal-open-count",String(e)))},modals:function(e){var t=this;this.checkScrollbar(),En((function(){t.updateModals(e||[])}))}},methods:{registerModal:function(e){e&&-1===this.modals.indexOf(e)&&this.modals.push(e)},unregisterModal:function(e){var t=this.modals.indexOf(e);t>-1&&(this.modals.splice(t,1),e._isBeingDestroyed||e._isDestroyed||this.resetModal(e))},getBaseZIndex:function(){if(c&&ge(this.baseZIndex)){var e=document.createElement("div");Zn(e,"modal-backdrop"),Zn(e,"d-none"),ar(e,"display","none"),document.body.appendChild(e),this.baseZIndex=kn(lr(e).zIndex,1040),document.body.removeChild(e)}return this.baseZIndex||1040},getScrollbarWidth:function(){if(c&&ge(this.scrollbarWidth)){var e=document.createElement("div");Zn(e,"modal-scrollbar-measure"),document.body.appendChild(e),this.scrollbarWidth=sr(e).width-e.clientWidth,document.body.removeChild(e)}return this.scrollbarWidth||0},updateModals:function(e){var t=this,n=this.getBaseZIndex(),r=this.getScrollbarWidth();e.forEach((function(e,a){e.zIndex=n+a,e.scrollbarWidth=r,e.isTop=a===t.modals.length-1,e.isBodyOverflowing=t.isBodyOverflowing}))},resetModal:function(e){e&&(e.zIndex=this.getBaseZIndex(),e.isTop=!0,e.isBodyOverflowing=!1)},checkScrollbar:function(){var e=sr(document.body),t=e.left,n=e.right;this.isBodyOverflowing=t+n0&&void 0!==arguments[0]&&arguments[0];this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e&&(this.$_observer=Vl(this.$refs.content,this.checkModalOverflow.bind(this),pv))},updateModel:function(e){e!==this[cv]&&this.$emit(uv,e)},buildEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new tv(e,av(av({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},t),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!this.isVisible&&!this.isOpening)if(this.isClosing)this.$once("hidden",this.show);else{this.isOpening=!0,this.$_returnFocus=this.$_returnFocus||this.getActiveElement();var e=this.buildEvent("show",{cancelable:!0});if(this.emitEvent(e),e.defaultPrevented||this.isVisible)return this.isOpening=!1,void this.updateModel(!1);this.doShow()}},hide:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(this.isVisible&&!this.isClosing){this.isClosing=!0;var t=this.buildEvent("hide",{cancelable:"FORCE"!==e,trigger:e||null});if("ok"===e?this.$emit("ok",t):"cancel"===e?this.$emit("cancel",t):"headerclose"===e&&this.$emit("close",t),this.emitEvent(t),t.defaultPrevented||!this.isVisible)return this.isClosing=!1,void this.updateModel(!0);this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(e){e&&(this.$_returnFocus=e),this.isVisible?this.hide("toggle"):this.show()},getActiveElement:function(){var e=Bn(c?[document.body]:[]);return e&&e.focus?e:null},doShow:function(){var e=this;nv.modalsAreOpen&&this.noStacking?this.listenOnRootOnce(Vr("BModal","hidden"),this.doShow):(nv.registerModal(this),this.isHidden=!1,this.$nextTick((function(){e.isVisible=!0,e.isOpening=!1,e.updateModel(!0),e.$nextTick((function(){e.setObserver(!0)}))})))},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var e=this;this.isBlock=!0,En((function(){En((function(){e.isShow=!0}))}))},onAfterEnter:function(){var e=this;this.checkModalOverflow(),this.isTransitioning=!1,En((function(){e.emitEvent(e.buildEvent("shown")),e.setEnforceFocus(!0),e.$nextTick((function(){e.focusFirst()}))}))},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var e=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick((function(){e.isClosing=!1,nv.unregisterModal(e),e.returnFocusTo(),e.emitEvent(e.buildEvent("hidden"))}))},emitEvent:function(e){var t=e.type;this.emitOnRoot(Vr("BModal",t),e,e.componentId),this.$emit(t,e)},onDialogMousedown:function(){var e=this,t=this.$refs.modal;Br(t,"mouseup",(function n(r){Mr(t,"mouseup",n,Ht),r.target===t&&(e.ignoreBackdropClick=!0)}),Ht)},onClickOut:function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:this.isVisible&&!this.noCloseOnBackdrop&&Yn(document.body,e.target)&&(Yn(this.$refs.content,e.target)||this.hide("backdrop"))},onOk:function(){this.hide("ok")},onCancel:function(){this.hide("cancel")},onClose:function(){this.hide("headerclose")},onEsc:function(e){27===e.keyCode&&this.isVisible&&!this.noCloseOnEsc&&this.hide("esc")},focusHandler:function(e){var t=this.$refs.content,n=e.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!t||document===n||Yn(t,n)||this.computeIgnoreEnforceFocusSelector&&Jn(this.computeIgnoreEnforceFocusSelector,n,!0))){var r=pr(this.$refs.content),a=this.$refs["bottom-trap"],o=this.$refs["top-trap"];if(a&&n===a){if(fr(r[0]))return}else if(o&&n===o&&fr(r[r.length-1]))return;fr(t,{preventScroll:!0})}},setEnforceFocus:function(e){this.listenDocument(e,"focusin",this.focusHandler)},setResizeEvent:function(e){this.listenWindow(e,"resize",this.checkModalOverflow),this.listenWindow(e,"orientationchange",this.checkModalOverflow)},showHandler:function(e,t){e===this.modalId&&(this.$_returnFocus=t||this.getActiveElement(),this.show())},hideHandler:function(e){e===this.modalId&&this.hide("event")},toggleHandler:function(e,t){e===this.modalId&&this.toggle(t)},modalListener:function(e){this.noStacking&&e.vueTarget!==this&&this.hide()},focusFirst:function(){var e=this;c&&En((function(){var t=e.$refs.modal,n=e.$refs.content,r=e.getActiveElement();if(t&&n&&(!r||!Yn(n,r))){var a=e.$refs["ok-button"],o=e.$refs["cancel-button"],i=e.$refs["close-button"],s=e.autoFocusButton,l="ok"===s&&a?a.$el||a:"cancel"===s&&o?o.$el||o:"headerclose"===s&&i?i.$el||i:n;fr(l),l===n&&e.$nextTick((function(){t.scrollTop=0}))}}))},returnFocusTo:function(){var e=this.returnFocus||this.$_returnFocus||null;this.$_returnFocus=null,this.$nextTick((function(){(e=we(e)?Gn(e):e)&&(e=e.$el||e,fr(e))}))},checkModalOverflow:function(){if(this.isVisible){var e=this.$refs.modal;this.isModalOverflowing=e.scrollHeight>document.documentElement.clientHeight}},makeModal:function(e){var t=e();if(!this.hideHeader){var n=this.normalizeSlot("modal-header",this.slotScope);if(!n){var r=e();this.hideHeaderClose||(r=e(Wr,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot("modal-header-close")])),n=[e(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot("modal-title")?{}:$i(this.titleHtml,this.title)},this.normalizeSlot("modal-title",this.slotScope)),r]}t=e(this.headerTag,{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[n])}var a=e("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot("default",this.slotScope)),o=e();if(!this.hideFooter){var i=this.normalizeSlot("modal-footer",this.slotScope);if(!i){var s=e();this.okOnly||(s=e(pi,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-cancel")?{}:$i(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot("modal-cancel"))),i=[s,e(pi,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-ok")?{}:$i(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot("modal-ok"))]}o=e(this.footerTag,{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[i])}var l=e("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[t,a,o]),c=e(),u=e();this.isVisible&&!this.noEnforceFocus&&(c=e("span",{attrs:{tabindex:"0"},ref:"top-trap"}),u=e("span",{attrs:{tabindex:"0"},ref:"bottom-trap"}));var d=e("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[c,l,u]),p=e("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[d]);p=e("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[p]);var f=e();return!this.hideBackdrop&&this.isVisible&&(f=e("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot("modal-backdrop"))),f=e(ta,{props:{noFade:this.noFade}},[f]),e("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this._uid)},[p,f])}},render:function(e){return this.static?this.lazy&&this.isHidden?e():this.makeModal(e):this.isHidden?e():e(Ng,[this.makeModal(e)])}}),hv=Ur("BModal","show"),gv="__bv_modal_directive__",vv=function(e){var t=e.modifiers,n=void 0===t?{}:t,r=e.arg,a=e.value;return we(a)?a:we(r)?r:Ae(n).reverse()[0]},bv=function(e){return e&&Wn(e,".dropdown-menu > li, li.nav-item")&&Gn("a, button",e)||e},yv=function(e){e&&"BUTTON"!==e.tagName&&(rr(e,"role")||er(e,"role","button"),"A"===e.tagName||rr(e,"tabindex")||er(e,"tabindex","0"))},wv=function(e){var t=e[gv]||{},n=t.trigger,r=t.handler;n&&r&&(Mr(n,"click",r,Rt),Mr(n,"keydown",r,Rt),Mr(e,"click",r,Rt),Mr(e,"keydown",r,Rt)),delete e[gv]},kv=function(e,t,n){var r=e[gv]||{},a=vv(t),o=bv(e);a===r.target&&o===r.trigger||(wv(e),function(e,t,n){var r=vv(t),a=bv(e);if(r&&a){var o=function(e){var a=e.currentTarget;if(!Hn(a)){var o=e.type,i=e.keyCode;"click"!==o&&("keydown"!==o||i!==bo&&i!==_o)||zo(qc(n,t)).$emit(hv,r,a)}};e[gv]={handler:o,target:r,trigger:a},yv(a),Br(a,"click",o,Rt),"BUTTON"!==a.tagName&&"button"===nr(a,"role")&&Br(a,"keydown",o,Rt)}}(e,t,n)),yv(o)},_v={inserted:kv,updated:function(){},componentUpdated:kv,unbind:wv};function Ov(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:qv;if(!et("$bvModal")&&!tt("$bvModal")){var a=Ag(e,t,{propsData:Cv(Cv(Cv({},Fv(br("BModal"))),{},{hideHeaderClose:!0,hideHeader:!(n.title||n.titleHtml)},Ne(n,Ae($v))),{},{lazy:!1,busy:!1,visible:!1,noStacking:!1,noEnforceFocus:!1})});return Ae($v).forEach((function(e){he(n[e])||(a.$slots[$v[e]]=mn(n[e]))})),new Promise((function(e,t){var n=!1;a.$once(Mt,(function(){n||t(new Error("BootstrapVue MsgBox destroyed before resolve"))})),a.$on("hide",(function(t){if(!t.defaultPrevented){var a=r(t);t.defaultPrevented||(n=!0,e(a))}}));var o=document.createElement("div");document.body.appendChild(o),a.$mount(o)}))}},r=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(t&&!tt("$bvModal")&&!et("$bvModal")&&be(a))return n(e,Cv(Cv({},Fv(r)),{},{msgBoxContent:t}),a)},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Fe(this,{_vm:t,_root:zo(t)}),ze(this,{_vm:{enumerable:!0,configurable:!1,writable:!1},_root:{enumerable:!0,configurable:!1,writable:!1}})}var t,n,a;return t=e,(n=[{key:"show",value:function(e){if(e&&this._root){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),a=1;a1?n-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:{},n=Cv(Cv({},t),{},{okOnly:!0,okDisabled:!1,hideFooter:!1,msgBoxContent:e});return r(this._vm,e,n,(function(){return!0}))}},{key:"msgBoxConfirm",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Cv(Cv({},t),{},{okOnly:!1,okDisabled:!1,cancelDisabled:!1,hideFooter:!1});return r(this._vm,e,n,(function(e){var t=e.trigger;return"ok"===t||"cancel"!==t&&null}))}}])&&Ov(t.prototype,n),a&&Ov(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.mixin({beforeCreate:function(){this._bv__modal=new a(this)}}),Ie(e.prototype,"$bvModal")||Le(e.prototype,"$bvModal",{get:function(){return this&&this._bv__modal||Xe('"'.concat("$bvModal",'" must be accessed from a Vue instance "this" context.'),"BModal"),this._bv__modal}})}}})}});function zv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lv=Dr({align:Sr(Zt),cardHeader:Sr(Ut,!1),fill:Sr(Ut,!1),justified:Sr(Ut,!1),pills:Sr(Ut,!1),small:Sr(Ut,!1),tabs:Sr(Ut,!1),tag:Sr(Zt,"ul"),vertical:Sr(Ut,!1)},"BNav"),Ev=Dt({name:"BNav",functional:!0,props:Lv,render:function(e,t){var n,r,a=t.props,o=t.data,i=t.children,s=a.tabs,l=a.pills,c=a.vertical,u=a.align,d=a.cardHeader;return e(a.tag,xt(o,{staticClass:"nav",class:(n={"nav-tabs":s,"nav-pills":l&&!s,"card-header-tabs":!c&&d&&s,"card-header-pills":!c&&d&&l&&!s,"flex-column":c,"nav-fill":!c&&a.fill,"nav-justified":!c&&a.justified},zv(n,(r=u,"justify-content-".concat(r="left"===r?"start":"right"===r?"end":r)),!c&&u),zv(n,"small",a.small),n)}),i)}});function Av(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Iv(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&t<=1})),overlayTag:Sr(Zt,"div"),rounded:Sr(an,!1),show:Sr(Ut,!1),spinnerSmall:Sr(Ut,!1),spinnerType:Sr(Zt,"border"),spinnerVariant:Sr(Zt),variant:Sr(Zt,"light"),wrapTag:Sr(Zt,"div"),zIndex:Sr(ln,10)},"BOverlay"),Sb=pt({components:{BOverlay:Dt({name:"BOverlay",mixins:[wn],props:Pb,computed:{computedRounded:function(){var e=this.rounded;return!0===e||""===e?"rounded":e?"rounded-".concat(e):""},computedVariant:function(){var e=this.variant;return e&&!this.bgColor?"bg-".concat(e):""},slotScope:function(){return{spinnerType:this.spinnerType||null,spinnerVariant:this.spinnerVariant||null,spinnerSmall:this.spinnerSmall}}},methods:{defaultOverlayFn:function(e){var t=e.spinnerType,n=e.spinnerVariant,r=e.spinnerSmall;return this.$createElement(_b,{props:{type:t,variant:n,small:r}})}},render:function(e){var t=this,n=this.show,r=this.fixed,a=this.noFade,o=this.noWrap,i=this.slotScope,s=e();if(n){var l=e("div",{staticClass:"position-absolute",class:[this.computedVariant,this.computedRounded],style:xb(xb({},Tb),{},{opacity:this.opacity,backgroundColor:this.bgColor||null,backdropFilter:this.blur?"blur(".concat(this.blur,")"):null})}),c=e("div",{staticClass:"position-absolute",style:this.noCenter?xb({},Tb):{top:"50%",left:"50%",transform:"translateX(-50%) translateY(-50%)"}},[this.normalizeSlot("overlay",i)||this.defaultOverlayFn(i)]);s=e(this.overlayTag,{staticClass:"b-overlay",class:{"position-absolute":!o||o&&!r,"position-fixed":o&&r},style:xb(xb({},Tb),{},{zIndex:this.zIndex||10}),on:{click:function(e){return t.$emit("click",e)}},key:"overlay"},[l,c])}return s=e(ta,{props:{noFade:a,appear:!0},on:{"after-enter":function(){return t.$emit("shown")},"after-leave":function(){return t.$emit("hidden")}}},[s]),o?s:e(this.wrapTag,{staticClass:"b-overlay-wrap position-relative",attrs:{"aria-busy":n?"true":null}},o?[s]:[this.normalizeSlot(),s])}})}});function qb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $b(e){for(var t=1;tt?t:n<1?1:n},Mb=function(e){if(e.keyCode===_o)return Rr(e,{immediatePropagation:!0}),e.currentTarget.click(),!1},Nb=Dr(Re($b($b({},Lb),{},{align:Sr(Zt,"left"),ariaLabel:Sr(Zt,"Pagination"),disabled:Sr(Ut,!1),ellipsisClass:Sr(en),ellipsisText:Sr(Zt,"…"),firstClass:Sr(en),firstNumber:Sr(Ut,!1),firstText:Sr(Zt,"«"),hideEllipsis:Sr(Ut,!1),hideGotoEndButtons:Sr(Ut,!1),labelFirstPage:Sr(Zt,"Go to first page"),labelLastPage:Sr(Zt,"Go to last page"),labelNextPage:Sr(Zt,"Go to next page"),labelPage:Sr(sn,"Go to page"),labelPrevPage:Sr(Zt,"Go to previous page"),lastClass:Sr(en),lastNumber:Sr(Ut,!1),lastText:Sr(Zt,"»"),limit:Sr(ln,5,(function(e){return!(kn(e,0)<1)||(Xe('Prop "limit" must be a number greater than "0"',"BPagination"),!1)})),nextClass:Sr(en),nextText:Sr(Zt,"›"),pageClass:Sr(en),pills:Sr(Ut,!1),prevClass:Sr(en),prevText:Sr(Zt,"‹"),size:Sr(Zt)})),"pagination"),Rb=Dt({mixins:[zb,wn],props:Nb,data:function(){var e=kn(this[Eb],0);return{currentPage:e=e>0?e:-1,localNumberOfPages:1,localLimit:5}},computed:{btnSize:function(){var e=this.size;return e?"pagination-".concat(e):""},alignment:function(){var e=this.align;return"center"===e?"justify-content-center":"end"===e||"right"===e?"justify-content-end":"fill"===e?"text-center":""},styleClass:function(){return this.pills?"b-pagination-pills":""},computedCurrentPage:function(){return Bb(this.currentPage,this.localNumberOfPages)},paginationParams:function(){var e=this.localLimit,t=this.localNumberOfPages,n=this.computedCurrentPage,r=this.hideEllipsis,a=this.firstNumber,o=this.lastNumber,i=!1,s=!1,l=e,c=1;t<=e?l=t:n3?(r&&!o||(s=!0,l=e-(a?0:1)),l=ma(l,e)):t-n+23?(r&&!a||(i=!0,l=e-(o?0:1)),c=t-l+1):(e>3&&(l=e-(r?0:2),i=!(r&&!a),s=!(r&&!o)),c=n-ba(l/2)),c<1?(c=1,i=!1):c>t-l&&(c=t-l+1,s=!1),i&&a&&c<4&&(l+=2,c=1,i=!1);var u=c+l-1;return s&&o&&u>t-3&&(l+=u===t-2?2:3,s=!1),e<=3&&(a&&1===c?l=ma(l+1,t,e+1):o&&t===c+l-1&&(c=ha(c-1,1),l=ma(t-c+1,t,e+1))),{showFirstDots:i,showLastDots:s,numberOfLinks:l=ma(l,t-c+1),startNumber:c}},pageList:function(){var e=this.paginationParams,t=e.numberOfLinks,n=e.startNumber,r=this.computedCurrentPage,a=function(e,t){return hn(t,(function(t,n){return{number:e+n,classes:null}}))}(n,t);if(a.length>3){var o=r-n,i="bv-d-xs-down-none";if(0===o)for(var s=3;so+1;u--)a[u].classes=i}}return a}},watch:(jb={},Fb(jb,Eb,(function(e,t){e!==t&&(this.currentPage=Bb(e,this.localNumberOfPages))})),Fb(jb,"currentPage",(function(e,t){e!==t&&this.$emit(Ab,e>0?e:null)})),Fb(jb,"limit",(function(e,t){e!==t&&(this.localLimit=Ib(e))})),jb),created:function(){var e=this;this.localLimit=Ib(this.limit),this.$nextTick((function(){e.currentPage=e.currentPage>e.localNumberOfPages?e.localNumberOfPages:e.currentPage}))},methods:{handleKeyNav:function(e){var t=e.keyCode,n=e.shiftKey;this.isNav||(t===wo||t===Oo?(Rr(e,{propagation:!1}),n?this.focusFirst():this.focusPrev()):t!==ko&&t!==go||(Rr(e,{propagation:!1}),n?this.focusLast():this.focusNext()))},getButtons:function(){return Un("button.page-link, a.page-link",this.$el).filter((function(e){return Rn(e)}))},focusCurrent:function(){var e=this;this.$nextTick((function(){var t=e.getButtons().find((function(t){return kn(nr(t,"aria-posinset"),0)===e.computedCurrentPage}));fr(t)||e.focusFirst()}))},focusFirst:function(){var e=this;this.$nextTick((function(){var t=e.getButtons().find((function(e){return!Hn(e)}));fr(t)}))},focusLast:function(){var e=this;this.$nextTick((function(){var t=e.getButtons().reverse().find((function(e){return!Hn(e)}));fr(t)}))},focusPrev:function(){var e=this;this.$nextTick((function(){var t=e.getButtons(),n=t.indexOf(Bn());n>0&&!Hn(t[n-1])&&fr(t[n-1])}))},focusNext:function(){var e=this;this.$nextTick((function(){var t=e.getButtons(),n=t.indexOf(Bn());ns,m=n<1?1:n>s?s:n,v={disabled:p,page:m,index:m-1},b=t.normalizeSlot(o,v)||Sn(l)||e(),y=e(p?"span":i?Qo:"button",{staticClass:"page-link",class:{"flex-grow-1":!i&&!p&&f},props:p||!i?{}:t.linkProps(n),attrs:{role:i?null:"menuitem",type:i||p?null:"button",tabindex:p||i?null:"-1","aria-label":a,"aria-controls":ja(t).ariaControls||null,"aria-disabled":p?"true":null},on:p?{}:{"!click":function(e){t.onClick(e,n)},keydown:Mb}},[b]);return e("li",{key:d,staticClass:"page-item",class:[{disabled:p,"flex-fill":f,"d-flex":f&&!i&&!p},c],attrs:{role:i?null:"presentation","aria-hidden":p?"true":null}},[y])},b=function(n){return e("li",{staticClass:"page-item",class:["disabled","bv-d-xs-down-none",f?"flex-fill":"",t.ellipsisClass],attrs:{role:"separator"},key:"ellipsis-".concat(n?"last":"first")},[e("span",{staticClass:"page-link"},[t.normalizeSlot("ellipsis-text")||Sn(t.ellipsisText)||e()])])},y=function(n,o){var l=n.number,c=h(l)&&!g,u=r?null:c||g&&0===o?"0":"-1",d={role:i?null:"menuitemradio",type:i||r?null:"button","aria-disabled":r?"true":null,"aria-controls":ja(t).ariaControls||null,"aria-label":Lr(a)?a(l):"".concat(be(a)?a():a," ").concat(l),"aria-checked":i?null:c?"true":"false","aria-current":i&&c?"page":null,"aria-posinset":i?null:l,"aria-setsize":i?null:s,tabindex:i?null:u},p=Sn(t.makePage(l)),m={page:l,index:l-1,content:p,active:c,disabled:r},v=e(r?"span":i?Qo:"button",{props:r||!i?{}:t.linkProps(l),staticClass:"page-link",class:{"flex-grow-1":!i&&!r&&f},attrs:d,on:r?{}:{"!click":function(e){t.onClick(e,l)},keydown:Mb}},[t.normalizeSlot("page",m)||p]);return e("li",{staticClass:"page-item",class:[{disabled:r,active:c,"flex-fill":f,"d-flex":f&&!i&&!r},n.classes,t.pageClass],attrs:{role:i?null:"presentation"},key:"page-".concat(l)},[v])},w=e();this.firstNumber||this.hideGotoEndButtons||(w=v(1,this.labelFirstPage,"first-text",this.firstText,this.firstClass,1,"pagination-goto-first")),m.push(w),m.push(v(l-1,this.labelPrevPage,"prev-text",this.prevText,this.prevClass,1,"pagination-goto-prev")),m.push(this.firstNumber&&1!==c[0]?y({number:1},0):e()),m.push(d?b(!1):e()),this.pageList.forEach((function(e,n){var r=d&&t.firstNumber&&1!==c[0]?1:0;m.push(y(e,n+r))})),m.push(p?b(!0):e()),m.push(this.lastNumber&&c[c.length-1]!==s?y({number:s},-1):e()),m.push(v(l+1,this.labelNextPage,"next-text",this.nextText,this.nextClass,s,"pagination-goto-next"));var k=e();this.lastNumber||this.hideGotoEndButtons||(k=v(s,this.labelLastPage,"last-text",this.lastText,this.lastClass,s,"pagination-goto-last")),m.push(k);var _=e("ul",{staticClass:"pagination",class:["b-pagination",this.btnSize,this.alignment,this.styleClass],attrs:{role:i?null:"menubar","aria-disabled":r?"true":"false","aria-label":i?null:o||null},on:i?{}:{keydown:this.handleKeyNav},ref:"ul"},m);return i?e("nav",{attrs:{"aria-disabled":r?"true":null,"aria-hidden":r?"true":"false","aria-label":i&&o||null}},[_]):_}});function Hb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vb(e){for(var t=1;te.numberOfPages)&&(this.currentPage=1),this.localNumberOfPages=e.numberOfPages}},created:function(){var e=this;this.localNumberOfPages=this.numberOfPages;var t=kn(this[Eb],0);t>0?this.currentPage=t:this.$nextTick((function(){e.currentPage=0}))},methods:{onClick:function(e,t){var n=this;if(t!==this.currentPage){var r=e.target,a=new Xc("page-click",{cancelable:!0,vueTarget:this,target:r});this.$emit(a.type,a,t),a.defaultPrevented||(this.currentPage=t,this.$emit("change",this.currentPage),this.$nextTick((function(){Rn(r)&&n.$el.contains(r)?fr(r):n.focusCurrent()})))}},makePage:function(e){return e},linkProps:function(){return{}}}})}});function Kb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zb(e){for(var t=1;t0?this.localNumberOfPages=this.pages.length:this.localNumberOfPages=(e=this.numberOfPages,ha(kn(e,0),1)),this.$nextTick((function(){t.guessCurrentPage()}))},onClick:function(e,t){var n=this;if(t!==this.currentPage){var r=e.currentTarget||e.target,a=new Xc("page-click",{cancelable:!0,vueTarget:this,target:r});this.$emit(a.type,a,t),a.defaultPrevented||(En((function(){n.currentPage=t,n.$emit("change",t)})),this.$nextTick((function(){mr(r)})))}},getPageInfo:function(e){if(!Oe(this.pages)||0===this.pages.length||he(this.pages[e-1])){var t="".concat(this.baseUrl).concat(e);return{link:this.useRouter?{path:t}:t,text:Sn(e)}}var n=this.pages[e-1];if(xe(n)){var r=n.link;return{link:xe(r)?r:this.useRouter?{path:r}:r,text:Sn(n.text||e)}}return{link:Sn(n),text:Sn(e)}},makePage:function(e){var t=this.pageGen,n=this.getPageInfo(e);return Lr(t)?t(e,n):n.text},makeLink:function(e){var t=this.linkGen,n=this.getPageInfo(e);return Lr(t)?t(e,n):n.link},linkProps:function(e){var t=$r(Xb,this),n=this.makeLink(e);return this.useRouter||xe(n)?t.to=n:t.href=n,t},resolveLink:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{(e=document.createElement("a")).href=za({to:t},"a","/","/"),document.body.appendChild(e);var n=e,r=n.pathname,a=n.hash,o=n.search;return document.body.removeChild(e),{path:r,hash:a,query:$a(o)}}catch(t){try{e&&e.parentNode&&e.parentNode.removeChild(e)}catch(e){}return{}}},resolveRoute:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{var t=this.$router.resolve(e,this.$route).route;return{path:t.path,hash:t.hash,query:t.query}}catch(e){return{}}},guessCurrentPage:function(){var e=this.$router,t=this.$route,n=this.computedValue;if(!this.noPageDetect&&!n&&(c||!c&&e))for(var r=e&&t?{path:t.path,hash:t.hash,query:t.query}:{},a=c?window.location||document.location:null,o=a?{path:a.pathname,hash:a.hash,query:$a(a.search)}:{},i=1;!n&&i<=this.localNumberOfPages;i++){var s=this.makeLink(i);n=e&&(xe(s)||this.useRouter)?xo(this.resolveRoute(s),r)?i:null:c?xo(this.resolveLink(s),o)?i:null:-1}this.currentPage=n>0?n:0}}})}}),ny={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left",TOPLEFT:"top",TOPRIGHT:"top",RIGHTTOP:"right",RIGHTBOTTOM:"right",BOTTOMLEFT:"bottom",BOTTOMRIGHT:"bottom",LEFTTOP:"left",LEFTBOTTOM:"left"},ry={AUTO:0,TOPLEFT:-1,TOP:0,TOPRIGHT:1,RIGHTTOP:-1,RIGHT:0,RIGHTBOTTOM:1,BOTTOMLEFT:-1,BOTTOM:0,BOTTOMRIGHT:1,LEFTTOP:-1,LEFT:0,LEFTBOTTOM:1},ay={arrowPadding:Sr(ln,6),boundary:Sr([ce,Zt],"scrollParent"),boundaryPadding:Sr(ln,5),fallbackPlacement:Sr(tn,"flip"),offset:Sr(ln,0),placement:Sr(Zt,"top"),target:Sr([ce,ue])},oy=Dt({name:"BVPopper",mixins:[$g],props:ay,data:function(){return{noFade:!1,localShow:!0,attachment:this.getAttachment(this.placement)}},computed:{templateType:function(){return"unknown"},popperConfig:function(){var e=this,t=this.placement;return{placement:this.getAttachment(t),modifiers:{offset:{offset:this.getOffset(t)},flip:{behavior:this.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{padding:this.boundaryPadding,boundariesElement:this.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e.popperPlacementChange(t)},onUpdate:function(t){e.popperPlacementChange(t)}}}},created:function(){var e=this;this.$_popper=null,this.localShow=!0,this.$on("show",(function(t){e.popperCreate(t)}));var t=function(){e.$nextTick((function(){En((function(){e.$destroy()}))}))};this.bvParent.$once(Mt,t),this.$once("hidden",t)},beforeMount:function(){this.attachment=this.getAttachment(this.placement)},updated:function(){this.updatePopper()},beforeDestroy:function(){this.destroyPopper()},destroyed:function(){var e=this.$el;e&&e.parentNode&&e.parentNode.removeChild(e)},methods:{hide:function(){this.localShow=!1},getAttachment:function(e){return ny[String(e).toUpperCase()]||"auto"},getOffset:function(e){if(!this.offset){var t=this.$refs.arrow||Gn(".arrow",this.$el),n=_n(lr(t).width,0)+_n(this.arrowPadding,0);switch(ry[String(e).toUpperCase()]||0){case 1:return"+50%p - ".concat(n,"px");case-1:return"-50%p + ".concat(n,"px");default:return 0}}return this.offset},popperCreate:function(e){this.destroyPopper(),this.$_popper=new Kc.a(this.target,e,this.popperConfig)},destroyPopper:function(){this.$_popper&&this.$_popper.destroy(),this.$_popper=null},updatePopper:function(){this.$_popper&&this.$_popper.scheduleUpdate()},popperPlacementChange:function(e){this.attachment=this.getAttachment(e.placement)},renderTemplate:function(e){return e("div")}},render:function(e){var t=this,n=this.noFade;return e(ta,{props:{appear:!0,noFade:n},on:{beforeEnter:function(e){return t.$emit("show",e)},afterEnter:function(e){return t.$emit("shown",e)},beforeLeave:function(e){return t.$emit("hide",e)},afterLeave:function(e){return t.$emit("hidden",e)}}},[this.localShow?this.renderTemplate(e):e()])}});function iy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sy(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=!1;Ae(yy).forEach((function(r){he(t[r])||e[r]===t[r]||(e[r]=t[r],"title"===r&&(n=!0))})),n&&this.localShow&&this.fixTitle()},createTemplateAndShow:function(){var e=this.getContainer(),t=this.getTemplate(),n=this.$_tip=Ag(this,t,{propsData:{id:this.computedId,html:this.html,placement:this.placement,fallbackPlacement:this.fallbackPlacement,target:this.getPlacementTarget(),boundary:this.getBoundary(),offset:kn(this.offset,0),arrowPadding:kn(this.arrowPadding,0),boundaryPadding:kn(this.boundaryPadding,0)}});this.handleTemplateUpdate(),n.$once("show",this.onTemplateShow),n.$once("shown",this.onTemplateShown),n.$once("hide",this.onTemplateHide),n.$once("hidden",this.onTemplateHidden),n.$once(Mt,this.destroyTemplate),n.$on("focusin",this.handleEvent),n.$on("focusout",this.handleEvent),n.$on("mouseenter",this.handleEvent),n.$on("mouseleave",this.handleEvent),n.$mount(e.appendChild(document.createElement("div")))},hideTemplate:function(){this.$_tip&&this.$_tip.hide(),this.clearActiveTriggers(),this.$_hoverState=""},destroyTemplate:function(){this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.localPlacementTarget=null;try{this.$_tip.$destroy()}catch(e){}this.$_tip=null,this.removeAriaDescribedby(),this.restoreTitle(),this.localShow=!1},getTemplateElement:function(){return this.$_tip?this.$_tip.$el:null},handleTemplateUpdate:function(){var e=this,t=this.$_tip;if(t){["title","content","variant","customClass","noFade","interactive"].forEach((function(n){t[n]!==e[n]&&(t[n]=e[n])}))}},show:function(){var e=this.getTarget();if(e&&Yn(document.body,e)&&Rn(e)&&!this.dropdownOpen()&&(!ve(this.title)&&""!==this.title||!ve(this.content)&&""!==this.content)&&!this.$_tip&&!this.localShow){this.localShow=!0;var t=this.buildEvent("show",{cancelable:!0});this.emitEvent(t),t.defaultPrevented?this.destroyTemplate():(this.fixTitle(),this.addAriaDescribedby(),this.createTemplateAndShow())}},hide:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.getTemplateElement();if(t&&this.localShow){var n=this.buildEvent("hide",{cancelable:!e});this.emitEvent(n),n.defaultPrevented||this.hideTemplate()}else this.restoreTitle()},forceHide:function(){this.getTemplateElement()&&this.localShow&&(this.setWhileOpenListeners(!1),this.clearHoverTimeout(),this.$_hoverState="",this.clearActiveTriggers(),this.$_tip&&(this.$_tip.noFade=!0),this.hide(!0))},enable:function(){this.$_enabled=!0,this.emitEvent(this.buildEvent("enabled"))},disable:function(){this.$_enabled=!1,this.emitEvent(this.buildEvent("disabled"))},onTemplateShow:function(){this.setWhileOpenListeners(!0)},onTemplateShown:function(){var e=this.$_hoverState;this.$_hoverState="","out"===e&&this.leave(null),this.emitEvent(this.buildEvent("shown"))},onTemplateHide:function(){this.setWhileOpenListeners(!1)},onTemplateHidden:function(){this.destroyTemplate(),this.emitEvent(this.buildEvent("hidden"))},getTarget:function(){var e=this.target;return we(e)?e=Kn(e.replace(/^#/,"")):be(e)?e=e():e&&(e=e.$el||e),In(e)?e:null},getPlacementTarget:function(){return this.getTarget()},getTargetId:function(){var e=this.getTarget();return e&&e.id?e.id:null},getContainer:function(){var e=!!this.container&&(this.container.$el||this.container),t=document.body,n=this.getTarget();return!1===e?Jn(by,n)||t:we(e)&&Kn(e.replace(/^#/,""))||t},getBoundary:function(){return this.boundary?this.boundary.$el||this.boundary:"scrollParent"},isInModal:function(){var e=this.getTarget();return e&&Jn(gy,e)},isDropdown:function(){var e=this.getTarget();return e&&Xn(e,"dropdown")},dropdownOpen:function(){var e=this.getTarget();return this.isDropdown()&&e&&Gn(".dropdown-menu.show",e)},clearHoverTimeout:function(){clearTimeout(this.$_hoverTimeout),this.$_hoverTimeout=null},clearVisibilityInterval:function(){clearInterval(this.$_visibleInterval),this.$_visibleInterval=null},clearActiveTriggers:function(){for(var e in this.activeTrigger)this.activeTrigger[e]=!1},addAriaDescribedby:function(){var e=this.getTarget(),t=nr(e,"aria-describedby")||"";t=t.split(/\s+/).concat(this.computedId).join(" ").trim(),er(e,"aria-describedby",t)},removeAriaDescribedby:function(){var e=this,t=this.getTarget(),n=nr(t,"aria-describedby")||"";(n=n.split(/\s+/).filter((function(t){return t!==e.computedId})).join(" ").trim())?er(t,"aria-describedby",n):tr(t,"aria-describedby")},fixTitle:function(){var e=this.getTarget();if(rr(e,"title")){var t=nr(e,"title");er(e,"title",""),t&&er(e,"data-original-title",t)}},restoreTitle:function(){var e=this.getTarget();if(rr(e,"data-original-title")){var t=nr(e,"data-original-title");tr(e,"data-original-title"),t&&er(e,"title",t)}},buildEvent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Xc(e,py({cancelable:!1,target:this.getTarget(),relatedTarget:this.getTemplateElement()||null,componentId:this.computedId,vueTarget:this},t))},emitEvent:function(e){var t=e.type;this.emitOnRoot(Vr(this.templateType,t),e),this.$emit(t,e)},listen:function(){var e=this,t=this.getTarget();t&&(this.setRootListener(!0),this.computedTriggers.forEach((function(n){"click"===n?Br(t,"click",e.handleEvent,Ht):"focus"===n?(Br(t,"focusin",e.handleEvent,Ht),Br(t,"focusout",e.handleEvent,Ht)):"blur"===n?Br(t,"focusout",e.handleEvent,Ht):"hover"===n&&(Br(t,"mouseenter",e.handleEvent,Ht),Br(t,"mouseleave",e.handleEvent,Ht))}),this))},unListen:function(){var e=this,t=this.getTarget();this.setRootListener(!1),["click","focusin","focusout","mouseenter","mouseleave"].forEach((function(n){t&&Mr(t,n,e.handleEvent,Ht)}),this)},setRootListener:function(e){var t=e?"listenOnRoot":"listenOffRoot",n=this.templateType;this[t](Ur(n,"hide"),this.doHide),this[t](Ur(n,"show"),this.doShow),this[t](Ur(n,"disable"),this.doDisable),this[t](Ur(n,"enable"),this.doEnable)},setWhileOpenListeners:function(e){this.setModalListener(e),this.setDropdownListener(e),this.visibleCheck(e),this.setOnTouchStartListener(e)},visibleCheck:function(e){var t=this;this.clearVisibilityInterval();var n=this.getTarget();e&&(this.$_visibleInterval=setInterval((function(){!t.getTemplateElement()||!t.localShow||n.parentNode&&Rn(n)||t.forceHide()}),100))},setModalListener:function(e){this.isInModal()&&this[e?"listenOnRoot":"listenOffRoot"](vy,this.forceHide)},setOnTouchStartListener:function(e){var t=this;"ontouchstart"in document.documentElement&&pn(document.body.children).forEach((function(n){Nr(e,n,"mouseover",t.$_noop)}))},setDropdownListener:function(e){var t=this.getTarget();if(t&&this.bvEventRoot&&this.isDropdown){var n=function(e){if(!qt)return e.__vue__;for(var t=e;t;){if(nu.has(t))return nu.get(t);t=t.parentNode}return null}(t);n&&n[e?"$on":"$off"]("shown",this.forceHide)}},handleEvent:function(e){var t=this.getTarget();if(t&&!Hn(t)&&this.$_enabled&&!this.dropdownOpen()){var n=e.type,r=this.computedTriggers;if("click"===n&&fn(r,"click"))this.click(e);else if("mouseenter"===n&&fn(r,"hover"))this.enter(e);else if("focusin"===n&&fn(r,"focus"))this.enter(e);else if("focusout"===n&&(fn(r,"focus")||fn(r,"blur"))||"mouseleave"===n&&fn(r,"hover")){var a=this.getTemplateElement(),o=e.target,i=e.relatedTarget;if(a&&Yn(a,o)&&Yn(t,i)||a&&Yn(t,o)&&Yn(a,i)||a&&Yn(a,o)&&Yn(a,i)||Yn(t,o)&&Yn(t,i))return;this.leave(e)}}},doHide:function(e){e&&this.getTargetId()!==e&&this.computedId!==e||this.forceHide()},doShow:function(e){e&&this.getTargetId()!==e&&this.computedId!==e||this.show()},doDisable:function(e){e&&this.getTargetId()!==e&&this.computedId!==e||this.disable()},doEnable:function(e){e&&this.getTargetId()!==e&&this.computedId!==e||this.enable()},click:function(e){this.$_enabled&&!this.dropdownOpen()&&(fr(e.currentTarget),this.activeTrigger.click=!this.activeTrigger.click,this.isWithActiveTrigger?this.enter(null):this.leave(null))},toggle:function(){this.$_enabled&&!this.dropdownOpen()&&(this.localShow?this.leave(null):this.enter(null))},enter:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&(this.activeTrigger["focusin"===t.type?"focus":"hover"]=!0),this.localShow||"in"===this.$_hoverState?this.$_hoverState="in":(this.clearHoverTimeout(),this.$_hoverState="in",this.computedDelay.show?(this.fixTitle(),this.$_hoverTimeout=setTimeout((function(){"in"===e.$_hoverState?e.show():e.localShow||e.restoreTitle()}),this.computedDelay.show)):this.show())},leave:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&(this.activeTrigger["focusout"===t.type?"focus":"hover"]=!1,"focusout"===t.type&&fn(this.computedTriggers,"blur")&&(this.activeTrigger.click=!1,this.activeTrigger.hover=!1)),this.isWithActiveTrigger||(this.clearHoverTimeout(),this.$_hoverState="out",this.computedDelay.hide?this.$_hoverTimeout=setTimeout((function(){"out"===e.$_hoverState&&e.hide()}),this.computedDelay.hide):this.hide())}}});function ky(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oy=Dr((_y(my={boundary:Sr([ce,Yt,Zt],"scrollParent"),boundaryPadding:Sr(ln,50),container:Sr([ce,Yt,Zt]),customClass:Sr(Zt),delay:Sr(cn,50)},"disabled",Sr(Ut,!1)),_y(my,"fallbackPlacement",Sr(tn,"flip")),_y(my,"id",Sr(Zt)),_y(my,"noFade",Sr(Ut,!1)),_y(my,"noninteractive",Sr(Ut,!1)),_y(my,"offset",Sr(ln,0)),_y(my,"placement",Sr(Zt,"top")),_y(my,"show",Sr(Ut,!1)),_y(my,"target",Sr([ce,ue,Wt,Yt,Zt],void 0,!0)),_y(my,"title",Sr(Zt)),_y(my,"triggers",Sr(tn,"hover focus")),_y(my,"variant",Sr(Zt)),my),"BTooltip"),xy=Dt({name:"BTooltip",mixins:[wn,$g],inheritAttrs:!1,props:Oy,data:function(){return{localShow:this.show,localTitle:"",localContent:""}},computed:{templateData:function(){return function(e){for(var t=1;t0&&e[Ly].updateData(t)}))}var o={title:r.title,content:r.content,triggers:r.trigger,placement:r.placement,fallbackPlacement:r.fallbackPlacement,variant:r.variant,customClass:r.customClass,container:r.container,boundary:r.boundary,delay:r.delay,offset:r.offset,noFade:!r.animation,id:r.id,disabled:r.disabled,html:r.html},i=e[Ly].__bv_prev_data__;if(e[Ly].__bv_prev_data__=o,!xo(o,i)){var s={target:e};Ae(o).forEach((function(t){o[t]!==i[t]&&(s[t]="title"!==t&&"content"!==t||!be(o[t])?o[t]:o[t](e))})),e[Ly].updateData(s)}}},Jy=pt({directives:{VBPopover:{bind:function(e,t,n){Wy(e,t,n)},componentUpdated:function(e,t,n){It((function(){Wy(e,t,n)}))},unbind:function(e){!function(e){e[Ly]&&(e[Ly].$destroy(),e[Ly]=null),delete e[Ly]}(e)}}}}),Yy=pt({components:{BPopover:$y},plugins:{VBPopoverPlugin:Jy}}),Ky=Dr({animated:Sr(Ut,null),label:Sr(Zt),labelHtml:Sr(Zt),max:Sr(ln,null),precision:Sr(ln,null),showProgress:Sr(Ut,null),showValue:Sr(Ut,null),striped:Sr(Ut,null),value:Sr(ln,0),variant:Sr(Zt)},"BProgressBar"),Zy=Dt({name:"BProgressBar",mixins:[wn],inject:{getBvProgress:{default:function(){return function(){return{}}}}},props:Ky,computed:{bvProgress:function(){return this.getBvProgress()},progressBarClasses:function(){var e=this.computedAnimated,t=this.computedVariant;return[t?"bg-".concat(t):"",this.computedStriped||e?"progress-bar-striped":"",e?"progress-bar-animated":""]},progressBarStyles:function(){return{width:this.computedValue/this.computedMax*100+"%"}},computedValue:function(){return _n(this.value,0)},computedMax:function(){var e=_n(this.max)||_n(this.bvProgress.max,0);return e>0?e:100},computedPrecision:function(){return ha(kn(this.precision,kn(this.bvProgress.precision,0)),0)},computedProgress:function(){var e=this.computedPrecision,t=ya(10,e);return On(100*t*this.computedValue/this.computedMax/t,e)},computedVariant:function(){return this.variant||this.bvProgress.variant},computedStriped:function(){return ye(this.striped)?this.striped:this.bvProgress.striped||!1},computedAnimated:function(){return ye(this.animated)?this.animated:this.bvProgress.animated||!1},computedShowProgress:function(){return ye(this.showProgress)?this.showProgress:this.bvProgress.showProgress||!1},computedShowValue:function(){return ye(this.showValue)?this.showValue:this.bvProgress.showValue||!1}},render:function(e){var t,n=this.label,r=this.labelHtml,a=this.computedValue,o=this.computedPrecision,i={};return this.hasNormalizedSlot()?t=this.normalizeSlot():n||r?i=$i(r,n):this.computedShowProgress?t=this.computedProgress:this.computedShowValue&&(t=On(a,o)),e("div",{staticClass:"progress-bar",class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":Sn(this.computedMax),"aria-valuenow":On(a,o)},domProps:i},t)}});function Qy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xy(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.noCloseOnRouteChange||e.fullPath===t.fullPath||this.hide()})),tw),created:function(){this.$_returnFocusEl=null},mounted:function(){var e=this;this.listenOnRoot(cw,this.handleToggle),this.listenOnRoot(lw,this.handleSync),this.$nextTick((function(){e.emitState(e.localShow)}))},activated:function(){this.emitSync()},beforeDestroy:function(){this.localShow=!1,this.$_returnFocusEl=null},methods:{hide:function(){this.localShow=!1},emitState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(uw,this.safeId(),e)},emitSync:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.localShow;this.emitOnRoot(dw,this.safeId(),e)},handleToggle:function(e){e&&e===this.safeId()&&(this.localShow=!this.localShow)},handleSync:function(e){var t=this;e&&e===this.safeId()&&this.$nextTick((function(){t.emitSync(t.localShow)}))},onKeydown:function(e){var t=e.keyCode;!this.noCloseOnEsc&&27===t&&this.localShow&&this.hide()},onBackdropClick:function(){this.localShow&&!this.noCloseOnBackdrop&&this.hide()},onTopTrapFocus:function(){var e=pr(this.$refs.content);this.enforceFocus(e.reverse()[0])},onBottomTrapFocus:function(){var e=pr(this.$refs.content);this.enforceFocus(e[0])},onBeforeEnter:function(){this.$_returnFocusEl=Bn(c?[document.body]:[]),this.isOpen=!0},onAfterEnter:function(e){Yn(e,Bn())||this.enforceFocus(e),this.$emit("shown")},onAfterLeave:function(){this.enforceFocus(this.$_returnFocusEl),this.$_returnFocusEl=null,this.isOpen=!1,this.$emit("hidden")},enforceFocus:function(e){this.noEnforceFocus||fr(e)}},render:function(e){var t,n=this.bgVariant,r=this.width,a=this.textVariant,o=this.localShow,i=""===this.shadow||this.shadow,s=e(this.tag,{staticClass:"b-sidebar",class:[(t={shadow:!0===i},sw(t,"shadow-".concat(i),i&&!0!==i),sw(t,"".concat("b-sidebar","-right"),this.right),sw(t,"bg-".concat(n),n),sw(t,"text-".concat(a),a),t),this.sidebarClass],style:{width:r},attrs:this.computedAttrs,directives:[{name:"show",value:o}],ref:"content"},[kw(e,this)]);s=e("transition",{props:this.transitionProps,on:{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[s]);var l=e(ta,{props:{noFade:this.noSlide}},[_w(e,this)]),c=e(),u=e();return this.backdrop&&o&&(c=e("div",{attrs:{tabindex:"0"},on:{focus:this.onTopTrapFocus}}),u=e("div",{attrs:{tabindex:"0"},on:{focus:this.onBottomTrapFocus}})),e("div",{staticClass:"b-sidebar-outer",style:{zIndex:this.zIndex},attrs:{tabindex:"-1"},on:{keydown:this.onKeydown}},[c,s,u,l])}})},plugins:{VBTogglePlugin:Jc}});function xw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cw=Dr({animation:Sr(Zt,"wave"),height:Sr(Zt),size:Sr(Zt),type:Sr(Zt,"text"),variant:Sr(Zt),width:Sr(Zt)},"BSkeleton"),jw=Dt({name:"BSkeleton",functional:!0,props:Cw,render:function(e,t){var n,r=t.data,a=t.props,o=a.size,i=a.animation,s=a.variant;return e("div",xt(r,{staticClass:"b-skeleton",style:{width:o||a.width,height:o||a.height},class:(n={},xw(n,"b-skeleton-".concat(a.type),!0),xw(n,"b-skeleton-animate-".concat(i),i),xw(n,"bg-".concat(s),s),n)}))}});function Tw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pw(e){for(var t=1;t0}}});var Lw={stacked:Sr(an,!1)},Ew=Dt({props:Lw,computed:{isStacked:function(){var e=this.stacked;return""===e||e},isStackedAlways:function(){return!0===this.isStacked},stackedTableClasses:function(){var e,t,n,r=this.isStackedAlways;return e={"b-table-stacked":r},t="b-table-stacked-".concat(this.stacked),n=!r&&this.isStacked,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}}});function Aw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Iw(e){for(var t=1;t0&&!i,[o,{"table-striped":this.striped,"table-hover":t,"table-dark":this.dark,"table-bordered":this.bordered,"table-borderless":this.borderless,"table-sm":this.small,border:this.outlined,"b-table-fixed":this.fixed,"b-table-caption-top":this.captionTop,"b-table-no-border-collapse":this.noBorderCollapse},n?"".concat(this.dark?"bg":"table","-").concat(n):"",a,r]},tableAttrs:function(){var e=ja(this),t=e.computedItems,n=e.filteredItems,r=e.computedFields,a=e.selectableTableAttrs,o=e.computedBusy,i=this.isTableSimple?{}:{"aria-busy":Sn(o),"aria-colcount":Sn(r.length),"aria-describedby":this.bvAttrs["aria-describedby"]||this.$refs.caption?this.captionId:null};return Iw(Iw(Iw({"aria-rowcount":t&&n&&n.length>t.length?Sn(n.length):null},this.bvAttrs),{},{id:this.safeId(),role:this.bvAttrs.role||"table"},i),a)}},render:function(e){var t=ja(this),n=t.wrapperClasses,r=t.renderCaption,a=t.renderColgroup,o=t.renderThead,i=t.renderTbody,s=t.renderTfoot,l=[];this.isTableSimple?l.push(this.normalizeSlot()):(l.push(r?r():null),l.push(a?a():null),l.push(o?o():null),l.push(i?i():null),l.push(s?s():null));var c=e("table",{staticClass:"table b-table",class:this.tableClasses,attrs:this.tableAttrs,key:"b-table"},l.filter(Ye));return n.length>0?e("div",{class:n,style:this.wrapperStyles,key:"wrap"},[c]):c}});function Rw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hw(e){for(var t=1;t0},Zw=Dr({animation:Sr(Zt),columns:Sr(Jt,5,Kw),hideHeader:Sr(Ut,!1),rows:Sr(Jt,3,Kw),showFooter:Sr(Ut,!1),tableProps:Sr(Yt,{})},"BSkeletonTable"),Qw=Dt({name:"BSkeletonTable",functional:!0,props:Zw,render:function(e,t){var n=t.data,r=t.props,a=r.animation,o=r.columns,i=e("th",[e(jw,{props:{animation:a}})]),s=e("tr",hn(o,i)),l=e("td",[e(jw,{props:{width:"75%",animation:a}})]),c=e("tr",hn(o,l)),u=e("tbody",hn(r.rows,c)),d=r.hideHeader?e():e("thead",[s]),p=r.showFooter?e("tfoot",[s]):e();return e(Gw,xt(n,{props:Jw({},r.tableProps)}),[d,u,p])}}),Xw=Dr({loading:Sr(Ut,!1)},"BSkeletonWrapper"),ek=pt({components:{BSkeleton:jw,BSkeletonIcon:$w,BSkeletonImg:Dw,BSkeletonTable:Qw,BSkeletonWrapper:Dt({name:"BSkeletonWrapper",functional:!0,props:Xw,render:function(e,t){var n=t.data,r=t.props,a=t.slots,o=t.scopedSlots,i=a(),s=o||{},l={};return r.loading?e("div",xt(n,{attrs:{role:"alert","aria-live":"polite","aria-busy":!0},staticClass:"b-skeleton-wrapper",key:"loading"}),yn("loading",l,s,i)):yn("default",l,s,i)}})}}),tk=pt({components:{BSpinner:_b}});function nk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ak=Dr({variant:Sr(Zt)},"BTr"),ok=Dt({name:"BTr",mixins:[Do,Ro,wn],provide:function(){var e=this;return{getBvTableTr:function(){return e}}},inject:{getBvTableRowGroup:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:ak,computed:{bvTableRowGroup:function(){return this.getBvTableRowGroup()},inTbody:function(){return this.bvTableRowGroup.isTbody},inThead:function(){return this.bvTableRowGroup.isThead},inTfoot:function(){return this.bvTableRowGroup.isTfoot},isDark:function(){return this.bvTableRowGroup.isDark},isStacked:function(){return this.bvTableRowGroup.isStacked},isResponsive:function(){return this.bvTableRowGroup.isResponsive},isStickyHeader:function(){return this.bvTableRowGroup.isStickyHeader},hasStickyHeader:function(){return!this.isStacked&&this.bvTableRowGroup.hasStickyHeader},tableVariant:function(){return this.bvTableRowGroup.tableVariant},headVariant:function(){return this.inThead?this.bvTableRowGroup.headVariant:null},footVariant:function(){return this.inTfoot?this.bvTableRowGroup.footVariant:null},isRowDark:function(){return"light"!==this.headVariant&&"light"!==this.footVariant&&("dark"===this.headVariant||"dark"===this.footVariant||this.isDark)},trClasses:function(){var e=this.variant;return[e?"".concat(this.isRowDark?"bg":"table","-").concat(e):null]},trAttrs:function(){return function(e){for(var t=1;t0?e:null},pk=function(e){return ve(e)||dk(e)>0},fk=Dr({colspan:Sr(ln,null,pk),rowspan:Sr(ln,null,pk),stackedHeading:Sr(Zt),stickyColumn:Sr(Ut,!1),variant:Sr(Zt)},"BTableCell"),mk=Dt({name:"BTableCell",mixins:[Do,Ro,wn],inject:{getBvTableTr:{default:function(){return function(){return{}}}}},inheritAttrs:!1,props:fk,computed:{bvTableTr:function(){return this.getBvTableTr()},tag:function(){return"td"},inTbody:function(){return this.bvTableTr.inTbody},inThead:function(){return this.bvTableTr.inThead},inTfoot:function(){return this.bvTableTr.inTfoot},isDark:function(){return this.bvTableTr.isDark},isStacked:function(){return this.bvTableTr.isStacked},isStackedCell:function(){return this.inTbody&&this.isStacked},isResponsive:function(){return this.bvTableTr.isResponsive},isStickyHeader:function(){return this.bvTableTr.isStickyHeader},hasStickyHeader:function(){return this.bvTableTr.hasStickyHeader},isStickyColumn:function(){return!this.isStacked&&(this.isResponsive||this.hasStickyHeader)&&this.stickyColumn},rowVariant:function(){return this.bvTableTr.variant},headVariant:function(){return this.bvTableTr.headVariant},footVariant:function(){return this.bvTableTr.footVariant},tableVariant:function(){return this.bvTableTr.tableVariant},computedColspan:function(){return dk(this.colspan)},computedRowspan:function(){return dk(this.rowspan)},cellClasses:function(){var e=this.variant,t=this.headVariant,n=this.isStickyColumn;return(!e&&this.isStickyHeader&&!t||!e&&n&&this.inTfoot&&!this.footVariant||!e&&n&&this.inThead&&!t||!e&&n&&this.inTbody)&&(e=this.rowVariant||this.tableVariant||"b-table-default"),[e?"".concat(this.isDark?"bg":"table","-").concat(e):null,n?"b-table-sticky-column":null]},cellAttrs:function(){var e=this.stackedHeading,t=this.inThead||this.inTfoot,n=this.computedColspan,r=this.computedRowspan,a="cell",o=null;return t?(a="columnheader",o=n>0?"colspan":"col"):Mn(this.tag,"th")&&(a="rowheader",o=r>0?"rowgroup":"row"),ck(ck({colspan:n,rowspan:r,role:a,scope:o},this.bvAttrs),{},{"data-label":this.isStackedCell&&!ve(e)?Sn(e):null})}},render:function(e){var t=[this.normalizeSlot()];return e(this.tag,{class:this.cellClasses,attrs:this.cellAttrs,on:this.bvListeners},[this.isStackedCell?e("div",[t]):t])}});var hk,gk,vk,bk=(hk={},gk="busy",vk=Sr(Ut,!1),gk in hk?Object.defineProperty(hk,gk,{value:vk,enumerable:!0,configurable:!0,writable:!0}):hk[gk]=vk,hk),yk=Dt({props:bk,data:function(){return{localBusy:!1}},computed:{computedBusy:function(){return this.busy||this.localBusy}},watch:{localBusy:function(e,t){e!==t&&this.$emit("update:busy",e)}},methods:{stopIfBusy:function(e){return!!this.computedBusy&&(Rr(e),!0)},renderBusy:function(){var e=this.tbodyTrClass,t=this.tbodyTrAttr,n=this.$createElement;return this.computedBusy&&this.hasNormalizedSlot("table-busy")?n(ok,{staticClass:"b-table-busy-slot",class:[be(e)?e(null,"table-busy"):e],attrs:be(t)?t(null,"table-busy"):t,key:"table-busy-slot"},[n(mk,{props:{colspan:this.computedFields.length||null}},[this.normalizeSlot("table-busy")])]):null}}}),wk={caption:Sr(Zt),captionHtml:Sr(Zt)},kk=Dt({props:wk,computed:{captionId:function(){return this.isStacked?this.safeId("_caption_"):null}},methods:{renderCaption:function(){var e=this.caption,t=this.captionHtml,n=this.$createElement,r=n(),a=this.hasNormalizedSlot("table-caption");return(a||e||t)&&(r=n("caption",{attrs:{id:this.captionId},domProps:a?{}:$i(t,e),key:"caption",ref:"caption"},this.normalizeSlot("table-caption"))),r}}}),_k={},Ok=Dt({methods:{renderColgroup:function(){var e=this.computedFields,t=this.$createElement,n=t();return this.hasNormalizedSlot("table-colgroup")&&(n=t("colgroup",{key:"colgroup"},[this.normalizeSlot("table-colgroup",{columns:e.length,fields:e})])),n}}}),xk={emptyFilteredHtml:Sr(Zt),emptyFilteredText:Sr(Zt,"There are no records matching your request"),emptyHtml:Sr(Zt),emptyText:Sr(Zt,"There are no records to show"),showEmpty:Sr(Ut,!1)},Ck=Dt({props:xk,methods:{renderEmpty:function(){var e=ja(this),t=e.computedItems,n=e.computedBusy,r=this.$createElement,a=r();if(this.showEmpty&&(!t||0===t.length)&&(!n||!this.hasNormalizedSlot("table-busy"))){var o=this.computedFields,i=this.isFiltered,s=this.emptyText,l=this.emptyHtml,c=this.emptyFilteredText,u=this.emptyFilteredHtml,d=this.tbodyTrClass,p=this.tbodyTrAttr;(a=this.normalizeSlot(i?"emptyfiltered":"empty",{emptyFilteredHtml:u,emptyFilteredText:c,emptyHtml:l,emptyText:s,fields:o,items:t}))||(a=r("div",{class:["text-center","my-2"],domProps:i?$i(u,c):$i(l,s)})),a=r(mk,{props:{colspan:o.length||null}},[r("div",{attrs:{role:"alert","aria-live":"polite"}},[a])]),a=r(ok,{staticClass:"b-table-empty-row",class:[be(d)?d(null,"row-empty"):d],attrs:be(p)?p(null,"row-empty"):p,key:i?"b-empty-filtered-row":"b-empty-row"},[a])}return a}}}),jk=function e(t){return ve(t)?"":xe(t)&&!je(t)?Ae(t).sort().map((function(n){return e(t[n])})).filter((function(e){return!!e})).join(" "):Sn(t)};function Tk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pk(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:{},a=Ae(r).reduce((function(t,n){var a=r[n],o=a.filterByFormatted,i=be(o)?o:o?a.formatter:null;return be(i)&&(t[n]=i(e[n],n,e)),t}),Be(e)),o=Ae(a).filter((function(e){return!(Dk[e]||Oe(t)&&t.length>0&&fn(t,e)||Oe(n)&&n.length>0&&!fn(n,e))}));return Me(a,o)};function Ek(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&Xe('Prop "filter-debounce" is deprecated. Use the debounce feature of "" instead.',"BTable"),e},localFiltering:function(){return!this.hasProvider||!!this.noProviderFiltering},filteredCheck:function(){return{filteredItems:this.filteredItems,localItems:this.localItems,localFilter:this.localFilter}},localFilterFn:function(){var e=this.filterFunction;return Lr(e)?e:null},filteredItems:function(){var e=this.localItems,t=this.localFilter,n=this.localFiltering?this.filterFnFactory(this.localFilterFn,t)||this.defaultFilterFnFactory(t):null;return n&&e.length>0?e.filter(n):e}},watch:{computedFilterDebounce:function(e){!e&&this.$_filterTimer&&(this.clearFilterTimer(),this.localFilter=this.filterSanitize(this.filter))},filter:{deep:!0,handler:function(e){var t=this,n=this.computedFilterDebounce;this.clearFilterTimer(),n&&n>0?this.$_filterTimer=setTimeout((function(){t.localFilter=t.filterSanitize(e)}),n):this.localFilter=this.filterSanitize(e)}},filteredCheck:function(e){var t=e.filteredItems,n=e.localFilter,r=!1;n?xo(n,[])||xo(n,{})?r=!1:n&&(r=!0):r=!1,r&&this.$emit("filtered",t,t.length),this.isFiltered=r},isFiltered:function(e,t){if(!1===e&&!0===t){var n=this.localItems;this.$emit("filtered",n,n.length)}}},created:function(){var e=this;this.$_filterTimer=null,this.$nextTick((function(){e.isFiltered=Boolean(e.localFilter)}))},beforeDestroy:function(){this.clearFilterTimer()},methods:{clearFilterTimer:function(){clearTimeout(this.$_filterTimer),this.$_filterTimer=null},filterSanitize:function(e){return!this.localFiltering||this.localFilterFn||we(e)||Pe(e)?Je(e):""},filterFnFactory:function(e,t){if(!e||!be(e)||!t||xo(t,[])||xo(t,{}))return null;return function(n){return e(n,t)}},defaultFilterFnFactory:function(e){var t=this;if(!e||!we(e)&&!Pe(e))return null;var n=e;if(we(n)){var r=Pn(e).replace(D,"\\s+");n=new RegExp(".*".concat(r,".*"),"i")}return function(e){return n.lastIndex=0,n.test((r=e,a=t.computedFilterIgnored,o=t.computedFilterIncluded,i=t.computedFieldsObj,xe(r)?jk(Lk(r,a,o,i)):""));var r,a,o,i}}}}),Bk=function(e,t){var n=[];if(Oe(e)&&e.filter(Ye).forEach((function(e){if(we(e))n.push({key:e,label:jn(e)});else if(xe(e)&&e.key&&we(e.key))n.push(Be(e));else if(xe(e)&&1===Ae(e).length){var t=Ae(e)[0],r=function(e,t){var n=null;return we(t)?n={key:e,label:t}:be(t)?n={key:e,formatter:t}:xe(t)?(n=Be(t)).key=n.key||e:!1!==t&&(n={key:e}),n}(t,e[t]);r&&n.push(r)}})),0===n.length&&Oe(t)&&t.length>0){var r=t[0];Ae(r).forEach((function(e){Dk[e]||n.push({key:e,label:jn(e)})}))}var a={};return n.filter((function(e){return!a[e.key]&&(a[e.key]=!0,e.label=we(e.label)?e.label:jn(e.key),!0)}))};function Mk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nk(e){for(var t=1;t0&&e.some(Ye)},selectableIsMultiSelect:function(){return this.isSelectable&&fn(["range","multi"],this.selectMode)},selectableTableClasses:function(){var e,t=this.isSelectable;return n_(e={"b-table-selectable":t},"b-table-select-".concat(this.selectMode),t),n_(e,"b-table-selecting",this.selectableHasSelection),n_(e,"b-table-selectable-no-click",t&&!this.hasSelectableRowClick),e},selectableTableAttrs:function(){if(!this.isSelectable)return{};var e=this.bvAttrs.role||"grid";return{role:e,"aria-multiselectable":"grid"===e?Sn(this.selectableIsMultiSelect):null}}},watch:{computedItems:function(e,t){var n=!1;if(this.isSelectable&&this.selectedRows.length>0){n=Oe(e)&&Oe(t)&&e.length===t.length;for(var r=0;n&&r=0&&e0&&(this.selectedLastClicked=-1,this.selectedRows=this.selectableIsMultiSelect?hn(e,!0):[!0])},isRowSelected:function(e){return!(!ke(e)||!this.selectedRows[e])},clearSelected:function(){this.selectedLastClicked=-1,this.selectedRows=[]},selectableRowClasses:function(e){if(this.isSelectable&&this.isRowSelected(e)){var t=this.selectedVariant;return n_({"b-table-row-selected":!0},"".concat(this.dark?"bg":"table","-").concat(t),t)}return{}},selectableRowAttrs:function(e){return{"aria-selected":this.isSelectable?this.isRowSelected(e)?"true":"false":null}},setSelectionHandlers:function(e){var t=e&&!this.noSelectOnClick?"$on":"$off";this[t]("row-clicked",this.selectionHandler),this[t]("filtered",this.clearSelected),this[t]("context-changed",this.clearSelected)},selectionHandler:function(e,t,n){if(this.isSelectable&&!this.noSelectOnClick){var r=this.selectMode,a=this.selectedLastRow,o=this.selectedRows.slice(),i=!o[t];if("single"===r)o=[];else if("range"===r)if(a>-1&&n.shiftKey){for(var s=ma(a,t);s<=ha(a,t);s++)o[s]=!0;i=!0}else n.ctrlKey||n.metaKey||(o=[],i=!0),i&&(this.selectedLastRow=t);o[t]=i,this.selectedRows=o}else this.clearSelected()}}}),l_=function(e,t){return e.map((function(e,t){return[t,e]})).sort(function(e,t){return this(e[1],t[1])||e[0]-t[0]}.bind(t)).map((function(e){return e[1]}))},c_=function(e){return ve(e)?"":_e(e)?_n(e,e):e};function u_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d_(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},r=n.sortBy,a=void 0===r?null:r,o=n.formatter,i=void 0===o?null:o,s=n.locale,l=void 0===s?void 0:s,c=n.localeOptions,u=void 0===c?{}:c,d=n.nullLast,p=void 0!==d&&d,f=Ze(e,a,null),m=Ze(t,a,null);return be(i)&&(f=i(f,a,e),m=i(m,a,t)),f=c_(f),m=c_(m),je(f)&&je(m)||ke(f)&&ke(m)?fm?1:0:p&&""===f&&""!==m?1:p&&""!==f&&""===m?-1:jk(f).localeCompare(jk(m),l,u)}(e,i,{sortBy:t,formatter:p,locale:r,localeOptions:u,nullLast:a})),(s||0)*(n?-1:1)}))}return c}},watch:(a_={isSortable:function(e){e?this.isSortable&&this.$on("head-clicked",this.handleSort):this.$off("head-clicked",this.handleSort)}},p_(a_,"sortDesc",(function(e){e!==this.localSortDesc&&(this.localSortDesc=e||!1)})),p_(a_,"sortBy",(function(e){e!==this.localSortBy&&(this.localSortBy=e||"")})),p_(a_,"localSortDesc",(function(e,t){e!==t&&this.$emit("update:sortDesc",e)})),p_(a_,"localSortBy",(function(e,t){e!==t&&this.$emit("update:sortBy",e)})),a_),created:function(){this.isSortable&&this.$on("head-clicked",this.handleSort)},methods:{handleSort:function(e,t,n,r){var a=this;if(this.isSortable&&(!r||!this.noFooterSorting)){var o=!1,i=function(){var e=t.sortDirection||a.sortDirection;"asc"===e?a.localSortDesc=!1:"desc"===e&&(a.localSortDesc=!0)};if(t.sortable){var s=!this.localSorting&&t.sortKey?t.sortKey:e;this.localSortBy===s?this.localSortDesc=!this.localSortDesc:(this.localSortBy=s,i()),o=!0}else this.localSortBy&&!this.noSortReset&&(this.localSortBy="",i(),o=!0);o&&this.$emit("sort-changed",this.context)}},sortTheadThClasses:function(e,t,n){return{"b-table-sort-icon-left":t.sortable&&this.sortIconLeft&&!(n&&this.noFooterSorting)}},sortTheadThAttrs:function(e,t,n){var r,a=this.isSortable,o=this.noFooterSorting,i=this.localSortDesc,s=this.localSortBy,l=this.localSorting;if(!a||n&&o)return{};var c=t.sortable,u=l?e:null!==(r=t.sortKey)&&void 0!==r?r:e;return{"aria-sort":c&&s===u?i?"descending":"ascending":c?"none":null}},sortTheadThLabel:function(e,t,n){if(!this.isSortable||n&&this.noFooterSorting)return null;var r=this.localSortBy,a=this.localSortDesc,o=this.labelSortAsc,i=this.labelSortDesc,s="";if(t.sortable)if(r===e)s=a?o:i;else{s=a?i:o;var l=this.sortDirection||t.sortDirection;"asc"===l?s=o:"desc"===l&&(s=i)}else this.noSortReset||(s=r?this.labelSortClear:"");return qn(s)||null}}});function g_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v_(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:document,t=cr();return!!(t&&""!==t.toString().trim()&&t.containsNode&&In(e))&&t.containsNode(e,!0)},x_=Dr(fk,"BTh"),C_=Dt({name:"BTh",extends:mk,props:x_,computed:{tag:function(){return"th"}}});function j_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T_(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(y=String((s-1)*l+t+1));var w=Sn(Ze(e,i))||null,k=w||Sn(t),_=w?this.safeId("_row_".concat(w)):null,O=ja(this).selectableRowClasses?this.selectableRowClasses(t):{},x=ja(this).selectableRowAttrs?this.selectableRowAttrs(t):{},C=be(c)?c(e,"row"):c,j=be(u)?u(e,"row"):u;if(g.push(p(ok,P_({class:[C,O,m?"b-table-has-details":""],props:{variant:e[$k]||null},attrs:T_(T_({id:_},j),{},{tabindex:h?"0":null,"data-pk":w||null,"aria-details":v,"aria-owns":v,"aria-rowindex":y},x),on:{mouseenter:this.rowHovered,mouseleave:this.rowUnhovered},key:"__b-table-row-".concat(k,"__"),ref:"item-rows"},$t,!0),b)),m){var T={item:e,index:t,fields:a,toggleDetails:this.toggleDetailsFactory(f,e)};ja(this).supportsSelectableRows&&(T.rowSelected=this.isRowSelected(t),T.selectRow=function(){return n.selectRow(t)},T.unselectRow=function(){return n.unselectRow(t)});var P=p(mk,{props:{colspan:a.length},class:this.detailsTdClass},[this.normalizeSlot("row-details",T)]);o&&g.push(p("tr",{staticClass:"d-none",attrs:{"aria-hidden":"true",role:"presentation"},key:"__b-table-details-stripe__".concat(k)}));var S=be(this.tbodyTrClass)?this.tbodyTrClass(e,"row-details"):this.tbodyTrClass,q=be(this.tbodyTrAttr)?this.tbodyTrAttr(e,"row-details"):this.tbodyTrAttr;g.push(p(ok,{staticClass:"b-table-details",class:[S],props:{variant:e[$k]||null},attrs:T_(T_({},q),{},{id:v,tabindex:"-1"}),key:"__b-table-details__".concat(k)},[P]))}else f&&(g.push(p()),o&&g.push(p()));return g}}});function F_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D_(e){for(var t=1;t0&&n&&n.length>0?pn(t.children).filter((function(e){return fn(n,e)})):[]},getTbodyTrIndex:function(e){if(!In(e))return-1;var t="TR"===e.tagName?e:Jn("tr",e,!0);return t?this.getTbodyTrs().indexOf(t):-1},emitTbodyRowEvent:function(e,t){if(e&&this.hasListener(e)&&t&&t.target){var n=this.getTbodyTrIndex(t.target);if(n>-1){var r=this.computedItems[n];this.$emit(e,r,n,t)}}},tbodyRowEventStopped:function(e){return this.stopIfBusy&&this.stopIfBusy(e)},onTbodyRowKeydown:function(e){var t=e.target,n=e.keyCode;if(!this.tbodyRowEventStopped(e)&&"TR"===t.tagName&&Nn(t)&&0===t.tabIndex)if(fn([bo,_o],n))Rr(e),this.onTBodyRowClicked(e);else if(fn([Oo,go,yo,vo],n)){var r=this.getTbodyTrIndex(t);if(r>-1){Rr(e);var a=this.getTbodyTrs(),o=e.shiftKey;n===yo||o&&n===Oo?fr(a[0]):n===vo||o&&n===go?fr(a[a.length-1]):n===Oo&&r>0?fr(a[r-1]):n===go&&re.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]&&arguments[0],n=ja(this),r=n.computedFields,a=n.isSortable,o=n.isSelectable,i=n.headVariant,s=n.footVariant,l=n.headRowVariant,c=n.footRowVariant,u=this.$createElement;if(this.isStackedAlways||0===r.length)return u();var d=a||this.hasListener("head-clicked"),p=o?this.selectAllRows:Ml,f=o?this.clearSelected:Ml,m=function(n,r){var o=n.label,i=n.labelHtml,s=n.variant,l=n.stickyColumn,c=n.key,m=null;n.label.trim()||n.headerTitle||(m=jn(n.key));var h={};d&&(h.click=function(r){e.headClicked(r,n,t)},h.keydown=function(r){var a=r.keyCode;a!==bo&&a!==_o||e.headClicked(r,n,t)});var g=a?e.sortTheadThAttrs(c,n,t):{},v=a?e.sortTheadThClasses(c,n,t):null,b=a?e.sortTheadThLabel(c,n,t):null,y={class:[{"position-relative":b},e.fieldClasses(n),v],props:{variant:s,stickyColumn:l},style:n.thStyle||{},attrs:Q_(Q_({tabindex:d&&n.sortable?"0":null,abbr:n.headerAbbr||null,title:n.headerTitle||null,"aria-colindex":r+1,"aria-label":m},e.getThValues(null,c,n.thAttr,t?"foot":"head",{})),g),on:h,key:c},w=[eO(c),eO(c.toLowerCase()),eO()];t&&(w=[tO(c),tO(c.toLowerCase()),tO()].concat(Y_(w)));var k={label:o,column:c,field:n,isFoot:t,selectAllRows:p,clearSelected:f},_=e.normalizeSlot(w,k)||u("div",{domProps:$i(i,o)}),O=b?u("span",{staticClass:"sr-only"}," (".concat(b,")")):null;return u(C_,y,[_,O].filter(Ye))},h=r.map(m).filter(Ye),g=[];if(t)g.push(u(ok,{class:this.tfootTrClass,props:{variant:ve(c)?l:c}},h));else{var v={columns:r.length,fields:r,selectAllRows:p,clearSelected:f};g.push(this.normalizeSlot("thead-top",v)||u()),g.push(u(ok,{class:this.theadTrClass,props:{variant:l}},h))}return u(t?R_:J_,{class:(t?this.tfootClass:this.theadClass)||null,props:t?{footVariant:s||i||null}:{headVariant:i||null},key:t?"bv-tfoot":"bv-thead"},g)}}}),aO=Dt({methods:{renderTopRow:function(){var e=this.computedFields,t=this.stacked,n=this.tbodyTrClass,r=this.tbodyTrAttr,a=this.$createElement;return this.hasNormalizedSlot("top-row")&&!0!==t&&""!==t?a(ok,{staticClass:"b-table-top-row",class:[be(n)?n(null,"row-top"):n],attrs:be(r)?r(null,"row-top"):r,key:"b-top-row"},[this.normalizeSlot("top-row",{columns:e.length,fields:e})]):a()}}});function oO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function iO(e){for(var t=1;t0&&void 0!==arguments[0])||arguments[0];if(this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,t){var n=function(){e.$nextTick((function(){En((function(){e.updateTabs()}))}))};this.$_observer=Vl(this.$refs.content,n,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["id"]})}},getTabs:function(){var e=this.registeredTabs,t=[];if(c&&e.length>0){var n=e.map((function(e){return"#".concat(e.safeId())})).join(", ");t=Un(n,this.$el).map((function(e){return e.id})).filter(Ye)}return l_(e,(function(e,n){return t.indexOf(e.safeId())-t.indexOf(n.safeId())}))},updateTabs:function(){var e=this.getTabs(),t=e.indexOf(e.slice().reverse().find((function(e){return e.localActive&&!e.disabled})));if(t<0){var n=this.currentTab;n>=e.length?t=e.indexOf(e.slice().reverse().find(jO)):e[n]&&!e[n].disabled&&(t=n)}t<0&&(t=e.indexOf(e.find(jO))),e.forEach((function(e,n){e.localActive=n===t})),this.tabs=e,this.currentTab=t},getButtonForTab:function(e){return(this.$refs.buttons||[]).find((function(t){return t.tab===e}))},updateButton:function(e){var t=this.getButtonForTab(e);t&&t.$forceUpdate&&t.$forceUpdate()},activateTab:function(e){var t=this.currentTab,n=this.tabs,r=!1;if(e){var a=n.indexOf(e);if(a!==t&&a>-1&&!e.disabled){var o=new Xc("activate-tab",{cancelable:!0,vueTarget:this,componentId:this.safeId()});this.$emit(o.type,a,t,o),o.defaultPrevented||(this.currentTab=a,r=!0)}}return r||this[xO]===t||this.$emit(CO,t),r},deactivateTab:function(e){return!!e&&this.activateTab(this.tabs.filter((function(t){return t!==e})).find(jO))},focusButton:function(e){var t=this;this.$nextTick((function(){fr(t.getButtonForTab(e))}))},emitTabClick:function(e,t){Te(t)&&e&&e.$emit&&!e.disabled&&e.$emit("click",t)},clickTab:function(e,t){this.activateTab(e),this.emitTabClick(e,t)},firstTab:function(e){var t=this.tabs.find(jO);this.activateTab(t)&&e&&(this.focusButton(t),this.emitTabClick(t,e))},previousTab:function(e){var t=ha(this.currentTab,0),n=this.tabs.slice(0,t).reverse().find(jO);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},nextTab:function(e){var t=ha(this.currentTab,-1),n=this.tabs.slice(t+1).find(jO);this.activateTab(n)&&e&&(this.focusButton(n),this.emitTabClick(n,e))},lastTab:function(e){var t=this.tabs.slice().reverse().find(jO);this.activateTab(t)&&e&&(this.focusButton(t),this.emitTabClick(t,e))}},render:function(e){var t=this,n=this.align,r=this.card,a=this.end,o=this.fill,i=this.firstTab,s=this.justified,l=this.lastTab,c=this.nextTab,u=this.noKeyNav,d=this.noNavStyle,p=this.pills,f=this.previousTab,m=this.small,h=this.tabs,g=this.vertical,v=h.find((function(e){return e.localActive&&!e.disabled})),b=h.find((function(e){return!e.disabled})),y=h.map((function(n,r){var a,o=n.safeId,s=null;return u||(s=-1,(n===v||!v&&n===b)&&(s=null)),e(TO,bO({props:{controls:o?o():null,id:n.controlledBy||(o?o("_BV_tab_button_"):null),noKeyNav:u,posInSet:r+1,setSize:h.length,tab:n,tabIndex:s},on:(a={},bO(a,"click",(function(e){t.clickTab(n,e)})),bO(a,"first",i),bO(a,"prev",f),bO(a,"next",c),bO(a,"last",l),a),key:n._uid||r,ref:"buttons"},$t,!0))})),w=e(Ev,{class:this.localNavClass,attrs:{role:"tablist",id:this.safeId("_BV_tab_controls_")},props:{fill:o,justified:s,align:n,tabs:!d&&!p,pills:!d&&p,vertical:g,small:m,cardHeader:r&&!g},ref:"nav"},[this.normalizeSlot("tabs-start")||e(),y,this.normalizeSlot("tabs-end")||e()]);w=e("div",{class:[{"card-header":r&&!g&&!a,"card-footer":r&&!g&&a,"col-auto":g},this.navWrapperClass],key:"bv-tabs-nav"},[w]);var k=this.normalizeSlot()||[],_=e();0===k.length&&(_=e("div",{class:["tab-pane","active",{"card-body":r}],key:"bv-empty-tab"},this.normalizeSlot("empty")));var O=e("div",{staticClass:"tab-content",class:[{col:g},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")},key:"bv-content",ref:"content"},[k,_]);return e(this.tag,{staticClass:"tabs",class:{row:g,"no-gutters":g&&r},attrs:{id:this.safeId()}},[a?O:e(),w,a?e():O])}});function $O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function FO(e){for(var t=1;t" with name "'.concat(e,'" already exists in the document.'),"BToaster"),this.dead=!0):this.doRender=!0},beforeDestroy:function(){this.doRender&&this.emitOnRoot(Vr("BToaster","destroyed"),this.name)},destroyed:function(){var e=this.$el;e&&e.parentNode&&e.parentNode.removeChild(e)},render:function(e){var t=e("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){var n=e(IO.PortalTarget,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:BO}});t=e("div",{staticClass:"b-toaster",class:[this.staticName],attrs:{id:this.staticName,role:this.role||null,"aria-live":this.ariaLive,"aria-atomic":this.ariaAtomic}},[n])}return t}});function RO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function HO(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return new Xc(e,HO(HO({cancelable:!1,target:this.$el||null,relatedTarget:null},t),{},{vueTarget:this,componentId:this.safeId()}))},emitEvent:function(e){var t=e.type;this.emitOnRoot(Vr("BToast",t),e),this.$emit(t,e)},ensureToaster:function(){if(!this.static){var e=this.computedToaster;if(!IO.Wormhole.hasTarget(e)){var t=document.createElement("div");document.body.appendChild(t),Ag(this.bvEventRoot,NO,{propsData:{name:e}}).$mount(t)}}},startDismissTimer:function(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer:function(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler:function(e){var t=this.$refs["b-toast"];Nr(e,t,"mouseenter",this.onPause,Ht),Nr(e,t,"mouseleave",this.onUnPause,Ht)},onPause:function(){if(!this.noAutoHide&&!this.noHoverPause&&this.$_dismissTimer&&!this.resumeDismiss){var e=Date.now()-this.dismissStarted;e>0&&(this.clearDismissTimer(),this.resumeDismiss=ha(this.computedDuration-e,1e3))}},onUnPause:function(){this.noAutoHide||this.noHoverPause||!this.resumeDismiss?this.resumeDismiss=this.dismissStarted=0:this.startDismissTimer()},onLinkClick:function(){var e=this;this.$nextTick((function(){En((function(){e.hide()}))}))},onBeforeEnter:function(){this.isTransitioning=!0},onAfterEnter:function(){this.isTransitioning=!1;var e=this.buildEvent("shown");this.emitEvent(e),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave:function(){this.isTransitioning=!0},onAfterLeave:function(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;var e=this.buildEvent("hidden");this.emitEvent(e),this.doRender=!1},makeToast:function(e){var t=this,n=this.title,r=this.slotScope,a=Fa(this),o=[],i=this.normalizeSlot("toast-title",r);i?o.push(i):n&&o.push(e("strong",{staticClass:"mr-2"},n)),this.noCloseButton||o.push(e(Wr,{staticClass:"ml-auto mb-1",on:{click:function(){t.hide()}}}));var s=e();o.length>0&&(s=e(this.headerTag,{staticClass:"toast-header",class:this.headerClass},o));var l=e(a?Qo:"div",{staticClass:"toast-body",class:this.bodyClass,props:a?$r(KO,this):{},on:a?{click:this.onLinkClick}:{}},this.normalizeSlot("default",r));return e("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-".concat(this._uid),ref:"toast"},[s,l])}},render:function(e){if(!this.doRender||!this.isMounted)return e();var t=this.order,n=this.static,r=this.isHiding,a=this.isStatus,o="b-toast-".concat(this._uid),i=e("div",{staticClass:"b-toast",class:this.toastClasses,attrs:HO(HO({},n?{}:this.scopedStyleAttrs),{},{id:this.safeId("_toast_outer"),role:r?null:a?"status":"alert","aria-live":r?null:a?"polite":"assertive","aria-atomic":r?null:"true"}),key:o,ref:"b-toast"},[e(ta,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(e):e()])]);return e(IO.Portal,{props:{name:o,to:this.computedToaster,order:t,slim:!0,disabled:n}},[i])}});function XO(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{};e&&!et("$bvToast")&&n(tx(tx({},ix(t)),{},{toastContent:e}),this._vm)}},{key:"show",value:function(e){e&&this._root.$emit(Ur("BToast","show"),e)}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._root.$emit(Ur("BToast","hide"),e)}}])&&XO(t.prototype,r),a&&XO(t,a),Object.defineProperty(t,"prototype",{writable:!1}),e}();e.mixin({beforeCreate:function(){this._bv__toast=new r(this)}}),Ie(e.prototype,"$bvToast")||Le(e.prototype,"$bvToast",{get:function(){return this&&this._bv__toast||Xe('"'.concat("$bvToast",'" must be accessed from a Vue instance "this" context.'),"BToast"),this._bv__toast}})}}})}});function lx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cx(e){for(var t=1;t=n){var r=this.$targets[this.$targets.length-1];this.$activeTarget!==r&&this.activate(r)}else{if(this.$activeTarget&&e0)return this.$activeTarget=null,void this.clear();for(var a=this.$offsets.length;a--;)this.$activeTarget!==this.$targets[a]&&e>=this.$offsets[a]&&(he(this.$offsets[a+1])||e0&&this.$root&&this.$root.$emit(Ex,e,n)}},{key:"clear",value:function(){var e=this;Un("".concat(this.$selector,", ").concat(".nav-item"),this.$el).filter((function(e){return Xn(e,"active")})).forEach((function(t){return e.setActiveState(t,!1)}))}},{key:"setActiveState",value:function(e,t){e&&(t?Zn(e,"active"):Qn(e,"active"))}}])&&Fx(t.prototype,n),r&&Fx(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Rx="__BV_Scrollspy__",Hx=/^\d+$/,Vx=/^(auto|position|offset)$/,Ux=function(e,t,n){if(c){var r=function(e){var t={};return e.arg&&(t.element="#".concat(e.arg)),Ae(e.modifiers).forEach((function(e){Hx.test(e)?t.offset=kn(e,0):Vx.test(e)&&(t.method=e)})),we(e.value)?t.element=e.value:ke(e.value)?t.offset=wa(e.value):xe(e.value)&&Ae(e.value).filter((function(e){return!!Nx.DefaultType[e]})).forEach((function(n){t[n]=e.value[n]})),t}(t);e[Rx]?e[Rx].updateConfig(r,zo(qc(n,t))):e[Rx]=new Nx(e,r,zo(qc(n,t)))}},Gx={install:dt({plugins:{componentsPlugin:jx,directivesPlugin:pt({plugins:{VBHoverPlugin:Tx,VBModalPlugin:Px,VBPopoverPlugin:Jy,VBScrollspyPlugin:pt({directives:{VBScrollspy:{bind:function(e,t,n){Ux(e,t,n)},inserted:function(e,t,n){Ux(e,t,n)},update:function(e,t,n){t.value!==t.oldValue&&Ux(e,t,n)},componentUpdated:function(e,t,n){t.value!==t.oldValue&&Ux(e,t,n)},unbind:function(e){!function(e){e[Rx]&&(e[Rx].dispose(),e[Rx]=null,delete e[Rx])}(e)}}}}),VBTogglePlugin:Jc,VBTooltipPlugin:Cx,VBVisiblePlugin:pt({directives:{VBVisible:xl}})}})}}),NAME:"BootstrapVue"},Wx=n(30),Jx=n.n(Wx),Yx={install(e){Object.defineProperty(e.prototype,"is",{value:{email:e=>!!new RegExp(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/).test(e),before:e=>new Datenew Date>new Date(e+" 9:00")}})}},Kx={install(e){Object.defineProperty(e.prototype,"cookie",{value:(e,t,n,r)=>{if("w"===e){const e=void 0!==r?r:31536e6,a=new Date,o=new Date;o.setTime(a.getTime()+e),document.cookie=[t,"=",encodeURIComponent(n),";expires=",o.toGMTString(),";path=/;samesite=lax;secure"].join("")}else{if(new RegExp(["(?:; )?",t,"=([^;]*);?"].join("")).test(document.cookie))return decodeURIComponent(RegExp.$1)}return null}})}},Zx=n(2),Qx=n(4),Xx=n(9);function eC(e,t,n,r,a,o,i,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),i?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=l):a&&(l=s?function(){a.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var tC=eC({created:function(){this.analytics(this.$t("site"))},mounted:function(){var e=[{},{}];/(team)/i.test(this.$t("host"))||document.querySelectorAll("link[rel*=icon]").forEach((function(e){return e.parentNode.removeChild(e)})),new RegExp(["(agenda","blog","book","calc","carte","cloud","colibri","date","drive","dvd","forms","games","key","lab","libre","listes","mindmap","piaf","space","start","stats","status","talk","team","tube","vox","zic","alt.","contact.","degooglisons-internet","forum.","participer.","soutenir.","wiki.)"].join("|"),"i").test(this.$t("host"))&&(e[0].file="favicon/sites/".concat(this.$t("site"),".png"),e[1].file="ati/sites/".concat(this.$t("site"),".png")),/(pad)/i.test(this.$t("host"))&&(e[0].file="favicon/sites/pad.png",e[1].file="ati/sites/pad.png"),/(team)/i.test(this.$t("host"))||(e[0].file=e[0].file||"favicon/violet.png",e[0].link=document.createElement("link"),Object.assign(e[0].link,{rel:"icon",type:"image/png",href:"".concat(this.$t("baseurl"),"img/icons/").concat(e[0].file)}),document.getElementsByTagName("head")[0].appendChild(e[0].link),e[1].file=e[1].file||"ati/orange.png",e[1].link=document.createElement("link"),Object.assign(e[1].link,{rel:"apple-touch-icon",type:"image/png",href:"".concat(this.$t("baseurl"),"img/icons/").concat(e[1].file)}),document.getElementsByTagName("head")[0].appendChild(e[1].link));var t=document.createElement("link");Object.assign(t,{rel:"alternate",type:"application/rss+xml",href:this.$t("link.rss"),title:this.$i18n.t("fnav.sites.rss.t1")}),document.getElementsByTagName("head")[0].appendChild(t)},methods:{analytics:function(e){var t={id:"",url:"https://stats.framasoft.org/",mode:"img"};switch(e){case"soft":t.id="1";break;case"blog":t.id="3";break;case"pad":case"etherpad":t.id="4";break;case"key":t.id="5";break;case"dvd":t.id="6";break;case"book":t.id="7";break;case"zic":t.id="9";break;case"date":t.id="10";break;case"calc":t.id="11";break;case"mindmap":t.id="12";break;case"soutenir":t.id="18";break;case"contact":t.id="19";break;case"start":t.id="23";break;case"10ans":t.id="25";break;case"games":t.id="28";break;case"git":t.id="29";break;case"degooglisons-internet":t.id="30";break;case"participer":case"colibri":t.id="33";break;case"cloud":t.id="35";break;case"status":t.id="37";break;case"stats":t.id="39";break;case"drive":t.id="40";break;case"carte":t.id="43";break;case"forms":t.id="44";break;case"vox":t.id="47";break;case"team":t.id="48";break;case"talk":t.id="50";break;case"agenda":t.id="53";break;case"listes":t.id="54";break;case"troll":t.id="57";break;case"docs":t.id="60";break;case"libre":t.id="61";break;case"piaf":t.id="62";break;case"contributopia":t.id="63";break;case"joinmobilizon":case"mobilizon":t.id="69";break;case"prout":t.id="78";break;case"space":t.id="85"}if(""!==t.id&&"yes"!==navigator.doNotTrack&&"1"!==navigator.doNotTrack&&"1"!==navigator.msDoNotTrack&&"1"!==window.doNotTrack&&!navigator.globalPrivacyControl)if("js"===t.mode){var n=window._paq||[];n.push(["trackPageView"]),n.push(["enableLinkTracking"]),function(){var e=t.url;n.push(["setTrackerUrl",[e,"p.php"].join("")]),n.push(["setSiteId",t.id]);var r=document,a=r.createElement("script"),o=r.getElementsByTagName("script")[0];a.async=!0,a.src=[e,"p.js"].join(""),o.parentNode.insertBefore(a,o)}()}else!function(){var e=document,n=e.createElement("img"),r=e.getElementsByTagName("body")[0];n.style="position:fixed;border:0;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);",n.alt="",n.src=[t.url,"p.php?idsite=",t.id,"&rec=1","&url=",encodeURIComponent(e.location.href),"&urlref=",encodeURIComponent(e.referrer)].join(""),r.appendChild(n)}()}}},(function(){return(0,this._self._c)("span")}),[],!1,null,null,null).exports,nC=eC({props:{site:{type:String,required:!0},view:{type:String,default:""}},methods:{goToInfo:function(e){this.$root.$children[0].$children[0].$children.find((function(e){return"sidebar-menu"===e.$options._componentTag})).$emit("goToInfo",e)}}},(function(){var e=this,t=e._self._c;return t("span",{staticClass:"btn btn-block btn-light p-0"},[e.$te("fnav.sites.".concat(e.site,".d1"))&&"grid"!==e.view&&"c-follow"!==e.$t("taxonomy.".concat(e.site,"[0]"))?t("b-button",{attrs:{block:"",variant:" "},on:{click:function(t){return e.goToInfo(e.site)}}},[t("i",{class:"".concat(e.$t("icon.".concat(e.site))," fa-lg fa-fw fa-block-center")}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$te("color.".concat(e.site))?e.$t("color.".concat(e.site)):e.$t("fnav.sites.".concat(e.site,".t1")))}}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s("(".concat(e.$t("txt.infos"),")"))}})]):t("b-button",{attrs:{block:"",href:/^fnav/.test(e.$t("fnav.sites.".concat(e.site,".link")))?e.$t("link.".concat(e.site)):e.$t("fnav.sites.".concat(e.site,".link")),rel:"noopener",target:"_blank",variant:" "}},[t("i",{class:"".concat(e.$t("icon.".concat(e.site))," fa-lg fa-fw fa-block-center")}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$te("color.".concat(e.site))?e.$t("color.".concat(e.site)):e.$t("fnav.sites.".concat(e.site,".t1")))}}),e._v(" "),t("i",{staticClass:"fas fa-up-right-from-square fa-xs"}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s("(".concat(e.$t("txt.newWindow"),")"))}})])],1)}),[],!1,null,null,null).exports;function rC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return aC(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aC(e,t)}(e,t)||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 aC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&Object.keys(this.categories).forEach((function(t){e.categories[t].forEach((function(n){var r=e.$t(e.search.replace(/\+ ?/,"_"),"-kLl@").split("_"),a=new RegExp("(".concat(r.join("|"),")"),"g"),o=[e.$t("txt.".concat(n)),e.$t("fnav.sites.".concat(n,".t1")),e.$t("fnav.sites.".concat(n,".d1"))].join(" ");a.test(e.$t(o,"-kLl@"))&&(e.result.push(n),e.result.push(t))}))}))}}},(function(){var e=this,t=e._self._c;return t("section",{staticClass:"px-2",attrs:{id:"fsb-search"}},[t("div",{staticClass:"search-results"},e._l(Object.keys(e.$t("searchLabels")),(function(n){return t("div",{key:n,class:e.searchClass(n)},[t("h2",{staticClass:"h5",domProps:{innerHTML:e._s(e.$t("searchLabels.".concat(n)))}}),e._v(" "),t("ul",{staticClass:"list-group"},e._l(e.categories["c-".concat(n)],(function(n){return t("li",{key:n,class:"list-group-item border-0 ".concat(e.result.includes(n)?"search":""," fs-").concat(n)},[e.$te("fnav.sites.".concat(n,".d1"))&&"c-follow"!==e.$t("taxonomy.".concat(n,"[0]"))?t("button",{staticClass:"btn btn-link float-right my-1 p-0",attrs:{title:e.$t("txt.info-about",{site:n})},on:{click:function(t){return e.goToInfo(n)}}},[t("i",{staticClass:"fas fa-circle-info fc-g6"}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s(e.$t("txt.infos"))}})]):e._e(),e._v(" "),t("a",{staticClass:"text-decoration-none",attrs:{href:/^fnav/.test(e.$t("fnav.sites.".concat(n,".link")))?e.$t("link.".concat(n)):e.$t("fnav.sites.".concat(n,".link")),rel:"noopener",target:"_blank"}},[t("i",{class:"".concat(e.$t("icon.".concat(n))," fa-lg fa-fw fc-g6")}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$te("color.".concat(n))?e.$t("color.".concat(n)):e.$t("fnav.sites.".concat(n,".t1")))}}),e._v(" "),t("i",{staticClass:"fas fa-up-right-from-square fa-xs fc-d6"}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s("(".concat(e.$t("txt.newWindow"),")"))}})])])})),0)])})),0),e._v(" "),e.search.length>2?t("div",{staticClass:"exo-search"},[t("hr"),e._v(" "),t("p",{staticClass:"mb-2"},[t("span",{domProps:{innerHTML:e._s(e.$t("txt.search"))}}),e._v(" "),t("i",[t("b",{domProps:{textContent:e._s(e.search)}})]),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("txt.on"))}})]),e._v(" "),t("b-row",{staticClass:"no-gutters mx-n1"},[t("b-col",{staticClass:"m-1"},[t("b-button",{attrs:{block:"",href:"https://duckduckgo.com/?q=".concat(e.search),rel:"noopener",size:"sm",target:"_blank",variant:"light border text-left"}},[t("i",{staticClass:"fas fa-magnifying-glass fa-sm fa-shape-circle fa-white fc-g6"}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("search.web"))}})])],1)],1),e._v(" "),t("b-row",{staticClass:"no-gutters mx-n1"},[t("b-col",{staticClass:"m-1"},[t("b-button",{attrs:{block:"",href:"https://duckduckgo.com/?q=".concat(e.search," (site:").concat(e.framaworld),rel:"noopener",size:"sm",target:"_blank",variant:"light border text-left"}},[t("i",{staticClass:"fas fa-magnifying-glass fa-sm fa-shape-circle fa-white fc-f6"}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("search.frama"))}})])],1)],1),e._v(" "),t("b-row",{staticClass:"no-gutters mx-n1"},[t("b-col",{staticClass:"m-1"},[t("b-button",{attrs:{block:"",href:"https://framablog.org/?s=".concat(e.search),rel:"noopener",size:"sm",target:"_blank",variant:"light border text-left"}},[t("i",{class:"".concat(e.$t("icon.blog")," fa-sm fa-shape-circle fa-white fc-o7")}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("search.blog"))}})])],1),e._v(" "),t("b-col",{staticClass:"m-1"},[t("b-button",{attrs:{block:"",href:"https://framacolibri.org/search?q=".concat(e.search),rel:"noopener",size:"sm",target:"_blank",variant:"light border text-left"}},[t("i",{class:"".concat(e.$t("icon.colibri")," fa-sm fa-shape-circle fa-white fc-o6")}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("search.colibri"))}})])],1)],1),e._v(" "),t("b-row",{staticClass:"no-gutters mx-n1"},[t("b-col",{staticClass:"m-1"},[t("b-button",{attrs:{block:"",href:"https://framalibre.org/recherche-par-crit-res?keys=".concat(e.search),rel:"noopener",size:"sm",target:"_blank",variant:"light border text-left"}},[t("i",{class:"".concat(e.$t("icon.libre")," fa-sm fa-shape-circle fa-white fc-f7")}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("search.libre"))}})])],1),e._v(" "),t("b-col",{staticClass:"m-1"},[t("b-button",{attrs:{block:"",href:"https://framatube.org/search?search=".concat(e.search,"&searchTarget=local"),rel:"noopener",size:"sm",target:"_blank",variant:"light border text-left"}},[t("i",{class:"".concat(e.$t("icon.tube")," fa-sm fa-shape-circle fa-white fc-o7")}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("search.tube"))}})])],1)],1)],1):e._e()])}),[],!1,null,null,null).exports,Status:eC({data:function(){return{state:{status:!1},id:this.$te("status.".concat(this.$t("site")))?this.$t("status.".concat(this.$t("site"))):"0",status:[]}},created:function(){this.checkStatus()},methods:{checkStatus:function(){var e=this;"0"===this.id||this.state.status||fetch("https://status.framasoft.org/api/v1/components?id=".concat(this.id)).then((function(e){return e.json()})).then((function(t){if(t.data[0].status>1){var n=t.data[0].status<4?"warning":"danger";e.loadLastIncident(e.id,n)}e.state.status=!0})).catch((function(e){console.error(e)})),this.loadScheduledIncidents(),this.$parent.$parent.status=this.status},loadLastIncident:function(e,t){var n=this;fetch("https://status.framasoft.org/api/v1/incidents?component_id=".concat(e,"&sort=id&order=desc")).then((function(e){return e.json()})).then((function(e){e.data.length>0&&n.status.unshift({id:"incident_0",question:e.data[0].name,answer:"".concat(n.$t(e.data[0].message.replace("\r\n"," "),"-k"),"
"),variant:t})})).catch((function(e){console.error(e)}))},loadScheduledIncidents:function(){var e=this;fetch("https://status.framasoft.org/api/v1/incidents?component_id=0&sort=id&order=desc").then((function(e){return e.json()})).then((function(t){for(var n=0;n".concat(e.$t(t.data[n].message.replace("\r\n"," "),"-k"),""),variant:"info"})}}})).catch((function(e){console.error(e)}))}}},(function(){var e=this._self._c;return this.status.length>0?e("b-badge",{attrs:{pill:"",variant:this.status[0].variant}},[e("span",{domProps:{textContent:this._s(this.status.length)}})]):this._e()}),[],!1,null,null,null).exports,ContactForm:eC({components:{},props:{section:{type:String,required:!0}},data:function(){return{wpcf:["Annonce d'un événement libre","Invitation à un événement","Partenariat","Contact presse","Newsletter","Questions sur l'association","Prestation / Emploi : réponse ou candidature spontanée"],bienveillance:!1,ext:[".gif",".png",".jpg",".jpeg",".svg",".pdf",".txt",".doc",".docx",".pps",".ppt",".pptx",".odt",".odg",".odp",".log",".rtf",".tex",".csv",".xls",".xslx",".vcf",".xml",".gpx",".css",".gz"],form:{_wpcf7:"423",_wpcf7_version:"5.1.1",_wpcf7_locale:"en_US",_wpcf7_unit_tag:"wpcf7-f423-p5-o1",_wpcf7_container_post:"5","g-recaptcha-response":"","mailou-158":"","your-name":"","your-email":"",concerne:"","your-subject":"","your-message":"","your-file":null,"your-referrer":"".concat(document.referrer," ; ").concat(document.location.href),"your-languages":"".concat(window.navigator.languages," Viewport : ").concat(window.innerWidth,"x").concat(window.innerHeight)},general:!(Object.keys(this.$t("txt")).indexOf(this.$t("site"))>-1),ok:{name:null,email:null,subject:null,concerne:null,message:null},success:{into:"",message:"",status:""},submit:!1}},watch:{section:function(e){this.general||"contact-faq"!==e||(this.form.concerne=this.$t("txt.".concat(this.$t("site")))),"contact-participate"===e&&(this.form.concerne="Participer")}},methods:{check:function(e){var t=document.getElementById("f-cf-".concat(e));switch(e){case"email":t.validity.valueMissing?(this.ok.email=!1,t.setCustomValidity(this.$i18n.messages[this.$i18n.locale].contact.form.error_empty)):t.validity.typeMismatch?(this.ok.email=!1,t.setCustomValidity(this.$i18n.messages[this.$i18n.locale].contact.form.error_email)):(this.ok.email=!0,t.setCustomValidity(""));break;default:t.validity.valueMissing||""===t.value?(this.ok[e]=!1,t.setCustomValidity(this.$i18n.messages[this.$i18n.locale].contact.form.error_empty)):(this.ok[e]=!0,t.setCustomValidity(""))}},sendMail:function(e){var t=this;if(!this.submit){this.submit=!0;var n=new FormData;Object.entries(this.form).map((function(e){var t=rC(e,2),r=t[0],a=t[1];return n.append(r,a)})),fetch("https://contact.framasoft.org/wp-json/contact-form-7/v1/contact-forms/423/feedback",{method:"POST",body:n}).then((function(e){return e.json()})).then((function(e){t.success=e})).catch((function(e){return console.error(e)}))}e.preventDefault()},noUnsubscribe:function(){return!1},noEmergency:function(){return/(urgent|emergency|urgence)/.test(this.$t("".concat(this.form["your-subject"]),"-klL@"))},noInclusive:function(){return/(ecriture-inclusi|point-median)/.test(this.$t("".concat(this.form["your-subject"]," ").concat(this.form["your-message"]),"-klL@"))}}},(function(){var e=this,t=e._self._c;return t("section",{attrs:{id:"f-contact-form"}},[""===e.success.status?t("div",[t("div",{staticClass:"subtitle",domProps:{innerHTML:e._s("".concat(e.$t("feedback.contact")," ").concat(e.$t("txt.soft")," "))}}),e._v(" "),/(date|forms)/.test(e.$t("site"))?t("b-card",{staticClass:"bg-light mb-4",attrs:{"no-body":""}},[t("b-card-body",{domProps:{innerHTML:e._s(e.$t("reminder.".concat(e.$t("site"))))}})],1):e._e(),e._v(" "),t("b-form",{on:{submit:function(t){return t.preventDefault(),e.sendMail.apply(null,arguments)}}},[t("div",[t("b-form-group",{attrs:{id:"f-cf-name-wrapper","label-for":"f-cf-name","label-sr-only":"",label:"".concat(e.$t("contact.form.name")," (").concat(e.$t("contact.form.required"),")")}},[t("b-input-group",[t("b-input-group-prepend",[t("i",{staticClass:"fas fa-user fa-lg fa-fw fc-g6"})]),e._v(" "),t("b-form-input",{attrs:{id:"f-cf-name",placeholder:e.$t("contact.form.name"),type:"text",required:"",trim:"",state:e.ok.name},on:{focusout:function(t){return e.check("name")}},model:{value:e.form["your-name"],callback:function(t){e.$set(e.form,"your-name",t)},expression:"form['your-name']"}})],1)],1),e._v(" "),t("b-form-group",{attrs:{id:"f-cf-email-wrapper","label-for":"f-cf-email","label-sr-only":"",label:"".concat(e.$t("contact.form.email")," (").concat(e.$t("contact.form.required"),")")}},[t("b-input-group",[t("b-input-group-prepend",[t("i",{staticClass:"far fa-envelope fa-lg fa-fw fc-g6"})]),e._v(" "),t("b-form-input",{attrs:{id:"f-cf-email",placeholder:e.$t("contact.form.email"),type:"email",required:"",trim:"",state:e.ok.email},on:{focusout:function(t){return e.check("email")}},model:{value:e.form["your-email"],callback:function(t){e.$set(e.form,"your-email",t)},expression:"form['your-email']"}})],1),e._v(" "),t("p",{staticClass:"alert",domProps:{innerHTML:e._s(e.$t("contact.alert.email"))}})],1)],1),e._v(" "),t("div",[t("b-form-group",{attrs:{id:"f-cf-subject-wrapper","label-for":"f-cf-subject","label-sr-only":"",label:"".concat(e.$t("contact.form.subject")," (").concat(e.$t("contact.form.required"),")")}},[t("b-input-group",[t("b-input-group-prepend",[t("i",{staticClass:"fas fa-question fa-lg fa-fw fc-g6"})]),e._v(" "),t("b-form-input",{attrs:{id:"f-cf-subject",placeholder:e.$t("contact.form.subject"),type:"text",required:"",trim:"",state:e.ok.subject},on:{focusout:function(t){return e.check("subject")}},model:{value:e.form["your-subject"],callback:function(t){e.$set(e.form,"your-subject",t)},expression:"form['your-subject']"}})],1)],1),e._v(" "),t("b-form-group",{directives:[{name:"show",rawName:"v-show",value:"contact-participate"!==e.section,expression:"section !== 'contact-participate'"}],attrs:{id:"f-cf-concerne-wrapper","label-for":"f-cf-concerne","label-sr-only":"",label:"".concat(e.$t("contact.form.concerne")," (").concat(e.$t("contact.form.required"),")")}},[t("b-input-group",[t("b-input-group-prepend",[t("i",{staticClass:"fas fa-crosshairs fa-lg fa-fw fc-g6"})]),e._v(" "),t("b-form-select",{attrs:{id:"f-cf-concerne",required:"",state:e.ok.concerne},on:{change:function(t){return e.check("concerne")}},model:{value:e.form.concerne,callback:function(t){e.$set(e.form,"concerne",t)},expression:"form.concerne"}},[e.general||"soft"===e.$t("site")?e._e():t("option",{domProps:{value:this.$t("txt.".concat(this.$t("site"))),textContent:e._s(this.$t("txt.".concat(this.$t("site"))))}}),e._v(" "),t("option",{attrs:{value:""},domProps:{textContent:e._s("---")}}),e._v(" "),e._l(e.wpcf,(function(n,r){return t("option",{key:r,domProps:{value:n,textContent:e._s(e.$t("contact.concerne[".concat(r,"]")))}})}))],2)],1)],1),e._v(" "),t("b-form-group",{attrs:{id:"f-cf-message-wrapper","label-for":"f-cf-message","label-sr-only":"",label:"".concat(e.$t("contact.form.message")," (").concat(e.$t("contact.form.required"),")")}},[t("b-input-group",[t("b-input-group-prepend",[t("i",{staticClass:"fas fa-pen fa-lg fa-fw fc-g6"})]),e._v(" "),t("b-form-textarea",{attrs:{id:"f-cf-message",placeholder:e.$t("contact.form.message"),cols:"40",rows:"10",required:""},on:{focusin:function(t){e.bienveillance=!0,e.check("concerne")},focusout:function(t){return e.check("message")}},model:{value:e.form["your-message"],callback:function(t){e.$set(e.form,"your-message",t)},expression:"form['your-message']"}}),e._v(" "),t("p",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticClass:"alert alert-info",domProps:{innerHTML:e._s(e.$t("contact.alert.kindness").replace("-1),category:this.$t("txt.".concat(this.$t("site")),"-l"),mainFaq:[],faq:[],state:{mainFaq:!1,faq:!1,toggle:"all"}}},watch:{open:function(e){e&&this.loadFaq()},search:function(e){""!==e&&this.searchUpdate()}},methods:{loadFaq:function(){for(var e=this.$t("faq.ranking.misc"),t=0;t([\S\s]*?)<\/a>/g,"$2"),variant:""};if(!this.state.faq){if(!this.general&&this.$te("faq.ranking.".concat(this.category))){e=this.$t("faq.ranking.".concat(this.category));for(var n=0;n([\S\s]*?)<\/a>/g,"$2"),variant:""}}0===this.faq.length&&(this.faq=this.mainFaq,this.state.mainFaq=!0),this.status.length>0&&(this.faq=this.status.concat(this.faq)),this.state.faq=!0}},toggleAnswer:function(e){this.state.toggle=["all",e][+("all"===this.state.toggle)],this.$emit("scrolltop")},showContact:function(){/(framateam|framapiaf|alt.framasoft)/.test(this.$t("host"))||/(user\/regist)/.test(this.$t("url"))?window.open("".concat(this.$t("link.contact"),"/#").concat(this.$t("lname")),"_blank"):(this.$emit("scrolltop"),this.$emit("goToContact"))},addMainFaq:function(){this.faq=this.faq.concat(this.mainFaq),this.state.mainFaq=!0},searchUpdate:function(){var e=this.$t(this.search.replace(/\+ ?/,"_"),"-kLl@").split("_"),t=new RegExp("(".concat(e.join("|"),")"),"g");this.state.mainFaq||this.addMainFaq(),this.state.toggle="all";for(var n=1;n").concat(e.$t("txt.".concat(e.$t("site"))),""))}}):t("div",{staticClass:"subtitle",domProps:{innerHTML:e._s(e.$t("feedback.mainFaq"))}}),e._v(" "),/(date|forms)/.test(e.$t("site"))?t("b-card",{staticClass:"bg-light mb-4",attrs:{id:"f-fb-reminder","no-body":""}},[t("b-card-body",[t("div",{domProps:{innerHTML:e._s(e.$t("reminder.".concat(e.$t("site"))))}})])],1):e._e(),e._v(" "),t("b-list-group",e._l(e.faq,(function(n,r){return t("b-list-group-item",{key:r,attrs:{active:e.state.toggle===n.id,variant:n.variant}},[t("a",{directives:[{name:"show",rawName:"v-show",value:e.state.toggle===n.id,expression:"state.toggle === item.id"}],staticClass:"pull-right close",attrs:{href:"#!","aria-hidden":"true",onclick:"return false"},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.toggleAnswer(n.id)}}},[e._v("×")]),e._v(" "),t("a",{staticClass:"toggle",attrs:{id:n.id,href:"".concat(e.$t("link.contact"),"/faq/#").concat(n.id),onclick:"return false"},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.toggleAnswer(n.id)}}}),e._v(" "),t("h3",{staticClass:"list-group-item-heading",domProps:{innerHTML:e._s(n.question)},on:{click:function(t){return e.toggleAnswer(n.id)}}}),e._v(" "),t("div",{staticClass:"list-group-item-text",domProps:{innerHTML:e._s(n.answer)}}),e._v(" "),t("p",{staticClass:"text-center mb-0"},[t("b-button",{directives:[{name:"show",rawName:"v-show",value:e.state.toggle===n.id,expression:"state.toggle === item.id"}],attrs:{variant:"light",size:"sm"},on:{click:function(t){return e.toggleAnswer(n.id)}}},[t("span",{domProps:{textContent:e._s(e.$t("txt.close"))}})])],1)])})),1),e._v(" "),!e.state.mainFaq&&e.state.faq&&"all"===e.state.toggle?t("p",{staticClass:"mb-0 mt-3"},[t("b-button",{attrs:{block:"",variant:"outline-warning text-center"},on:{click:function(t){return e.addMainFaq()}}},[t("span",{domProps:{innerHTML:e._s(e.$t("feedback.more"))}})])],1):e._e()],1),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:"all"===e.state.toggle,expression:"state.toggle === 'all'"}],staticClass:"no-answer"},[t("p",{directives:[{name:"show",rawName:"v-show",value:e.state.faq,expression:"state.faq"}],domProps:{innerHTML:e._s(e.$t("feedback.noanswer"))}}),e._v(" "),t("div",{domProps:{innerHTML:e._s(e.$t("feedback.help.next"))}}),e._v(" "),t("b-row",[t("b-col",{attrs:{sm:"6"}},[t("a",{staticClass:"btn btn-block",attrs:{href:"".concat(e.$t("link.contact"),"/#").concat(e.$t("lname")),onclick:"return false;"},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.showContact()}}},[t("i",{staticClass:"fas fa-envelope fa-lg fc-o7 fa-shape-circle fa-white fa-block-center"}),e._v(" "),t("span",{domProps:{innerHTML:e._s("".concat(e.$t("feedback.contact")," ").concat(e.$t("color.soft")))}})])]),e._v(" "),t("b-col",{attrs:{sm:"6"}},[t("a",{staticClass:"btn btn-block",attrs:{href:e.$t("link.colibri")}},[t("i",{staticClass:"fas fa-comment fa-lg fc-o7 fa-shape-circle fa-white fa-block-center"}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("feedback.forum"))}})])])],1)],1)])}),[],!1,null,null,null).exports,Participate:eC({data:function(){return{general:!(Object.keys(this.$t("txt")).indexOf(this.$t("site"))>-1),faq:[],html:{git:' \n git ',source:' \n source ',link:"".concat(this.$t("link.contact"),"#issue-git")},state:{faq:!1,toggle:"all"}}},methods:{showContact:function(){this.$parent.$parent.$parent.section="contact-participate",this.$parent.$parent.$parent.$refs["f-fb-top"].scrollIntoView()}}},(function(){var e=this,t=e._self._c;return t("section",{attrs:{id:"f-fb-participate"}},[e.$te("txt.".concat(e.$t("site")))?t("div",{staticClass:"subtitle",domProps:{innerHTML:e._s("".concat(e.$t("feedback.participate.title")," ").concat(e.$t("txt.".concat(e.$t("site")),"-t")," "))}}):e._e(),e._v(" "),t("div",{domProps:{innerHTML:e._s(e.$t("participate.dev",e.html))}}),e._v(" "),t("b-row",{attrs:{"align-h":"center"}},[e.$te("src.".concat(e.$t("site")))?t("b-col",{attrs:{sm:"6"}},[t("a",{staticClass:"btn btn-block",attrs:{href:e.$t("src.".concat(e.$t("site")))}},[t("i",{staticClass:"fas fa-code-branch fa-lg fc-f7 fa-shape-circle fa-white fa-block-center"}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("soft.".concat(e.$t("site"))))}})])]):e._e(),e._v(" "),e.$te("git.".concat(e.$t("site")))?t("b-col",{attrs:{sm:"6"}},[t("a",{staticClass:"btn btn-block",attrs:{href:e.$t("git.".concat(e.$t("site")))}},[t("i",{staticClass:"fab fa-git fa-lg fc-f7 fa-shape-circle fa-white fa-block-center"}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("color.".concat(e.$t("site"))))}})])]):e._e()],1),e._v(" "),t("div",{domProps:{innerHTML:e._s(e.$t("participate.other"))}}),e._v(" "),t("div",{domProps:{innerHTML:e._s(e.$t("feedback.participate.next"))}}),e._v(" "),t("b-row",{attrs:{"align-h":"center"}},[t("b-col",{attrs:{sm:"6"}},[t("a",{staticClass:"btn btn-block mt-3",attrs:{href:"".concat(e.$t("link.colibri"),"/c/qualite/23/")}},[t("i",{staticClass:"fas fa-comment fa-lg fc-o7 fa-shape-circle fa-white fa-block-center"}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("feedback.participate.forum"))}})])])],1)],1)}),[],!1,null,null,null).exports},data:function(){var e=this,t=Object.keys(this.$t("taxonomy")).sort(),n={},r=[[]],a=0;return t.forEach((function(t){void 0===n[e.$t("taxonomy.".concat(t,"[0]"))]&&(n[e.$t("taxonomy.".concat(t,"[0]"))]=[]),n[e.$t("taxonomy.".concat(t,"[0]"))].push(t),r[a].length>0&&r[a][r[a].length-1][0]!==t[0]&&(r[a+=1]=[]),r[a].push(t)})),n["c-follow"]=["newsletter","rss","mastodon","fpeertube","fmobilizon","twitter","facebook","wikipedia"],{categories:n,collapse:["",""],doc:this.$te("doc.".concat(this.$t("site"))),info:"",modal:{about:!1,docs:!1},pages:r,search:"",sidebarClass:"",sites:{},state:{helpMenu:!0,sidebar:!1},status:[],view:"category"}},watch:{collapse:function(){this.updateSidebarClass()},search:function(){this.view=this.view.replace("info","category"),this.updateSidebarClass()},view:function(){this.updateSidebarClass()}},mounted:function(){var e=this,t=[],n=["Control","F","Shift"];window.addEventListener("keydown",(function(r){n.includes(r.key)?(t.push(r.key),t.sort(),3===t.length&&t.join()===n.join()&&e.toggleFramaSidebar()):t.splice(0,t.length),t.length>=3&&t.splice(0,t.length)}),!0),this.updateSidebarClass(),setInterval((function(){e.state.sidebar="true"===(document.getElementsByTagName("html")[0].getAttribute("data-sidebar")||!1)}),200),this.$on("goToInfo",(function(t){e.goToInfo(t)}))},methods:{initContactForm:function(){var e=this.$children[0].$children.find((function(e){return"ContactForm"===e.$options._componentTag}));e.submit=!1,e.success.status=""},goToInfo:function(e){this.view="info",this.info=e},searchAll:function(){"category"===this.view&&""===this.search&&(this.search=" ")},sidebarVisibility:function(e){document.getElementsByTagName("html")[0].setAttribute("data-sidebar",e),this.state.sidebar=e},updateSidebarClass:function(){this.sidebarClass="d-print-none s-".concat(this.view," ").concat(""!==this.search?"s-search":""," ").concat(""!==this.collapse[0]?"c-lvl1 c-".concat(this.collapse[0]):""," ").concat(""!==this.collapse[1]?"c-lvl2 c-".concat(this.collapse[1]):"")}}},iC=(n(128),eC(oC,(function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"f-sidebar"}},[t("button",{directives:[{name:"show",rawName:"v-show",value:!e.state.sidebar,expression:"!state.sidebar"},{name:"b-toggle",rawName:"v-b-toggle.f-b-sidebar",modifiers:{"f-b-sidebar":!0}}],attrs:{id:"f-corner",title:"Afficher le menu Framasoft"},on:{click:function(t){return e.searchAll()}}},[e._m(0)]),e._v(" "),t("b-sidebar",{class:e.sidebarClass,attrs:{id:"f-b-sidebar","aria-labelledby":"f-brand",backdrop:"","header-class":"position-sticky sticky-top p-0 fb-g4","no-header-close":"",right:"",shadow:"","text-variant":" ",tag:"aside",visible:e.state.sidebar},on:{shown:function(t){return e.sidebarVisibility(!0)},hidden:function(t){return e.sidebarVisibility(!1)}},scopedSlots:e._u([{key:"title",fn:function(){return[t("div",{directives:[{name:"show",rawName:"v-show",value:!/^help/.test(e.view),expression:"!/^help/.test(view)"}],staticClass:"m-2"},[t("b-button-close",{directives:[{name:"b-toggle",rawName:"v-b-toggle.f-b-sidebar",modifiers:{"f-b-sidebar":!0}}],staticClass:"fixed-top py-1 px-2",staticStyle:{left:"auto"},attrs:{"aria-label":e.$t("txt.close")}}),e._v(" "),t("h1",{staticClass:"mx-2 mt-3 h3 d-flex justify-content-center align-items-center"},[t("a",{staticClass:"d-flex align-items-center",staticStyle:{"font-size":"2.25rem"},attrs:{id:"f-brand",href:e.$t("link.soft")}},[t("img",{staticClass:"d-inline",attrs:{alt:"",src:"".concat(e.$t("baseurl"),"img/logo-no-padding.svg")}}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("color.soft"))}})])]),e._v(" "),t("b-row",{staticClass:"m-0"},[t("b-button",{attrs:{id:"btn-about",variant:"light btn-sm mx-1",title:e.$t("about.title",{name:e.$te("txt.".concat(e.$t("site")))?e.$t("txt.".concat(e.$t("site"))):e.$t("txt.soft")})},on:{click:function(t){e.modal.about=!0}}},[t("i",{staticClass:"fas fa-question fa-fw fc-g6"}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s(e.$t("about.btn"))}})]),e._v(" "),t("b-button",{attrs:{id:"btn-soutenir",href:"".concat(e.$t("link.soutenir"),"/?f=nav"),rel:"noopener",variant:"warning btn-sm ml-auto",target:"_blank",title:e.$t("fnav.soutenir.t1","-t")}},[t("i",{class:"".concat(e.$t("icon.soutenir")," fa-lg fa-fw fa-white")}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("fnav.soutenir.name","-t"))}})])],1),e._v(" "),t("b-row",{staticClass:"mx-0 mt-2"},[t("b-input-group",{attrs:{size:"sm"}},[t("b-input-group-prepend",[t("b-button-group",{staticClass:"mr-2 ml-1",attrs:{size:"sm"}},[t("b-button",{attrs:{variant:"light border-0 ".concat("grid"===e.view?"active":"")},on:{click:function(t){e.view="grid",e.search=""}}},[t("i",{staticClass:"fas fa-grip-vertical fa-fw fc-g6"}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s(e.$t("fnav.view.grid"))}})]),e._v(" "),t("b-button",{attrs:{variant:"light border-0 ".concat("category"===e.view?"active":"")},on:{click:function(t){e.view="category",e.search=""}}},[t("i",{staticClass:"fas fa-bars fa-fw fc-g6"}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s(e.$t("fnav.view.category"))}})])],1),e._v(" "),t("label",{staticClass:"sr-only",attrs:{for:"fsb-search-input"},domProps:{innerHTML:e._s(e.$t("txt.search"))}})],1),e._v(" "),t("b-input",{staticClass:"border-0 px-2 py-1 fb-g2",attrs:{id:"fsb-search-input",placeholder:e.$t("txt.search"),type:"text"},on:{focusin:function(t){e.state.helpMenu=!1,e.info=""},focusout:function(t){e.state.helpMenu=!0}},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}}),e._v(" "),t("b-input-group-append",[t("b-button",{directives:[{name:"show",rawName:"v-show",value:""===e.search,expression:"search === ''"}],attrs:{"aria-hidden":"true",variant:"light"}},[t("i",{staticClass:"fas fa-magnifying-glass fc-g7"})]),e._v(" "),t("b-button",{directives:[{name:"show",rawName:"v-show",value:""!==e.search,expression:"search !== ''"}],attrs:{variant:"light"},on:{click:function(t){e.search=""}}},[t("i",{staticClass:"fas fa-delete-left fc-g7"}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s(e.$t("txt.clear"))}})])],1)],1)],1)],1),e._v(" "),t("b-row",{directives:[{name:"show",rawName:"v-show",value:/^help/.test(e.view),expression:"/^help/.test(view)"}],staticClass:"fb-o7 fc-light mx-0"},[t("div",{staticClass:"col-2 h5 my-0 pl-0"},[t("b-button",{attrs:{variant:"link"},on:{click:function(t){e.view="category"}}},[t("i",{staticClass:"fas fa-chevron-left fa-white"}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s(e.$t("txt.back"))}})])],1),e._v(" "),t("h2",{staticClass:"col-8 h5 text-white text-center mt-2 px-0"},[t("b",{domProps:{innerHTML:e._s(e.$t("fnav.sites.aide.name"))}})]),e._v(" "),t("div",{staticClass:"col-2 h5 text-white text-right my-0 pr-3"},[t("b-button",{directives:[{name:"b-toggle",rawName:"v-b-toggle.f-b-sidebar",modifiers:{"f-b-sidebar":!0}}],attrs:{variant:"link"}},[t("i",{staticClass:"fas fa-xmark fa-white"}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s(e.$t("txt.close"))}})])],1)])]},proxy:!0},{key:"default",fn:function(){return[t("div",{directives:[{name:"show",rawName:"v-show",value:!/^help/.test(e.view),expression:"!/^help/.test(view)"}],staticClass:"p-2"},[t("Categories",{directives:[{name:"show",rawName:"v-show",value:"category"===e.view&&""===e.search,expression:"view === 'category' && search === ''"}],attrs:{categories:e.categories},on:{collapseChange:function(t){return e.updateSidebarClass()}}}),e._v(" "),t("Grid",{directives:[{name:"show",rawName:"v-show",value:"grid"===e.view&&""===e.search,expression:"view === 'grid' && search === ''"}],attrs:{pages:e.pages}}),e._v(" "),t("Info",{directives:[{name:"show",rawName:"v-show",value:"info"===e.view&&""!==e.info,expression:"view === 'info' && info !== ''"}],attrs:{site:e.info},on:{goBack:function(t){e.view="category",e.info=""}}}),e._v(" "),t("Search",{directives:[{name:"show",rawName:"v-show",value:""!==e.search,expression:"search !== ''"}],attrs:{search:e.search,categories:e.categories}})],1),e._v(" "),"contact"!==e.$t("site")?t("div",{directives:[{name:"show",rawName:"v-show",value:/^help/.test(e.view),expression:"/^help/.test(view)"}],staticClass:"p-3 fb-o2",attrs:{id:"f-fb-menu"}},[t("a",{ref:"f-fb-top",attrs:{id:"f-fb-top"}}),e._v(" "),t("FAQ",{directives:[{name:"show",rawName:"v-show",value:"help s-faq"===e.view,expression:"view === 'help s-faq'"}],attrs:{open:"help s-faq"===e.view,search:e.search,status:e.status},on:{scrolltop:function(t){return e.$refs["f-fb-top"].scrollIntoView()},goToContact:function(t){e.view="help s-contact"}}}),e._v(" "),t("Participate",{directives:[{name:"show",rawName:"v-show",value:"help s-feedback"===e.view,expression:"view === 'help s-feedback'"}]}),e._v(" "),t("ContactForm",{directives:[{name:"show",rawName:"v-show",value:/contact/.test(e.view),expression:"/contact/.test(view)"}],attrs:{section:"contact faq"}})],1):e._e()]},proxy:!0},{key:"footer",fn:function(){return["contact"!==e.$t("site")?t("b-row",{directives:[{name:"show",rawName:"v-show",value:!/^help/.test(e.view)&&""===e.search&&e.state.helpMenu&&""===e.info,expression:"!/^help/.test(view) && search === '' && state.helpMenu && info ===''"}],staticClass:"m-0"},[t("div",{staticClass:"fb-g4 px-3 pt-1 pb-3 w-100",attrs:{id:"fsb-feedback"}},[t("h2",{staticClass:"h5 text-center mt-1 px-0",domProps:{innerHTML:e._s(e.$t("fnav.sites.aide.name"))}}),e._v(" "),t("a",{staticClass:"btn btn-default btn-block px-3 d-flex align-items-center",attrs:{href:e.$t("link.docs")+(e.doc?"/".concat(e.$t("doc.".concat(e.$t("site"),"[0]")),"/index.html"):""),onclick:"return false;"},on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.modal.docs=!0}}},[t("i",{class:"".concat(e.$t("icon.doc")," fa-fw fa-lg fc-o6 fa-shape-circle fa-white mr-3 mt-0")}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("feedback.menu.docs"))}})]),e._v(" "),t("a",{staticClass:"btn btn-default btn-block px-3 d-flex align-items-center",attrs:{href:"".concat(e.$t("link.contact"),"/faq/#").concat(e.$t("lname")),onclick:"return false;"},on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.view="help s-faq",e.initContactForm()}}},[e.state.sidebar?t("Status"):e._e(),e._v(" "),t("i",{staticClass:"fas fa-question fa-fw fa-lg fc-g6 fa-shape-circle fa-white mr-3 mt-0"}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("feedback.menu.faq"))}})],1),e._v(" "),t("a",{staticClass:"btn btn-default btn-block px-3 d-flex align-items-center",attrs:{href:"#feedback",onclick:"return false;"},on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.view="help s-feedback"}}},[t("i",{staticClass:"fas fa-paw fa-fw fa-lg fc-f7 fa-shape-circle fa-white mr-3 mt-0"}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("feedback.menu.participate"))}})])])]):e._e(),e._v(" "),t("b-row",{directives:[{name:"show",rawName:"v-show",value:/^info/.test(e.view)&&""!==e.info,expression:"/^info/.test(view) && info !== ''"}],staticClass:"m-0 pt-2 pb-3 fb-g4 text-uppercase",attrs:{"align-v":"center"}},[t("b-col",[e.$te("doc.".concat(e.info))?t("a",{staticClass:"btn p-0",attrs:{href:"".concat(e.$t("link.docs"),"/").concat(e.$t("doc.".concat(e.info,"[0]"))),title:e.$t("txt.docs")}},[t("i",{class:"".concat(e.$t("icon.doc")," fa-fw fc-o6 fa-shape-circle fa-white mt-0")}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s(e.$t("txt.docs"))}})]):e._e()]),e._v(" "),t("b-col",[t("b-button",{attrs:{block:"",href:e.$te("fnav.sites.".concat(e.info,".link"))?e.$t("fnav.sites.".concat(e.info,".link")):e.$t("link.".concat(e.info)),rel:"noopener",target:"_blank",variant:"primary btn-sm"}},[t("span",{domProps:{innerHTML:e._s(e.$t("txt.go"))}}),e._v(" "),t("i",{staticClass:"fas fa-chevron-right mt-n1"}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s("(".concat(e.$t("txt.newWindow"),")"))}})])],1)],1),e._v(" "),"contact"!==e.$t("site")?t("b-row",{directives:[{name:"show",rawName:"v-show",value:/^help/.test(e.view),expression:"/^help/.test(view)"}],staticClass:"m-0"},[t("div",{directives:[{name:"show",rawName:"v-show",value:"help s-faq"===e.view,expression:"view === 'help s-faq'"}],staticClass:"search-form"},[t("label",{staticClass:"sr-only",attrs:{for:"fsb-help-search"},domProps:{innerHTML:e._s(e.$t("txt.search"))}}),e._v(" "),t("b-input-group",{attrs:{size:"lg"}},[t("b-form-input",{attrs:{id:"fsb-help-search",placeholder:e.$t("txt.search"),type:"text",size:"40"},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}}),e._v(" "),t("b-input-group-append",{staticClass:"border-top fb-light"},[t("b-button",{directives:[{name:"show",rawName:"v-show",value:""===e.search,expression:"search === ''"}],attrs:{"aria-hidden":"true",variant:"light fb-light"}},[t("i",{staticClass:"fas fa-magnifying-glass fc-g7"})]),e._v(" "),t("b-button",{directives:[{name:"show",rawName:"v-show",value:""!==e.search,expression:"search !== ''"}],attrs:{variant:"light fb-light"},on:{click:function(t){e.search=""}}},[t("i",{staticClass:"fas fa-delete-left fc-g7"}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s(e.$t("txt.close"))}})])],1)],1)],1)]):e._e()]},proxy:!0}])}),e._v(" "),t("ModalDocs",{attrs:{open:e.modal.docs},on:{close:function(t){e.modal.docs=!1}}}),e._v(" "),t("ModalAbout",{attrs:{open:e.modal.about},on:{close:function(t){e.modal.about=!1}}})],1)}),[function(){var e=this._self._c;return e("div",{staticClass:"logo-menu"},[e("span",{staticClass:"text-uppercase"},[this._v("Menu")]),this._v(" "),e("i",{staticClass:"fac fa-framasoft-alt fa-white mt-3 ml-1 fa-3x"})])}],!1,null,null,null).exports),sC={components:{Info:eC({data:function(){var e=["",""];switch(/\/test\/verbose.*\.html$/.test(this.$t("url"))&&(e[0]="info",e[1]=this.$t("alert.test")),/(dvd|key|start|zic)/.test(this.$t("site"))&&(e[0]="warning",e[1]=this.$t("alert.archives",{site:this.$t("color.".concat(this.$t("site")))})),this.$t("site")){case"archives.book":case"book":e[0]="info",e[1]=this.$t("alert.book")}return{config:e,state:{alert:!this.cookie("r","f-alert")}}},created:function(){""!==this.config[0]&&(this.$parent.$parent.busy=!0)}},(function(){var e=this,t=e._self._c;return t("div",{staticStyle:{display:"none"},attrs:{id:"f-alert"}},[""!==e.config[0]&&e.state.alert?t("b-alert",{attrs:{show:e.state.alert,variant:e.config[0],dismissible:"","dismiss-label":e.$t("txt.close")},on:{dismissed:function(t){e.state.alert=!1,e.cookie("w","f-alert",!0,6048e5)}}},[t("div",{staticClass:"text-center",domProps:{innerHTML:e._s(e.config[1])}})]):e._e()],1)}),[],!1,null,null,null).exports},data:function(){for(var e=1,t=[{date:"2023/11/09"},{date:"2023/11/22"},{date:"2023/11/28"},{date:"2023/12/05"},{date:"2023/12/12"},{date:"2023/12/19"},{date:"2023/12/26"},{date:"2023/12/30"}],n=0;n'),document.body.classList.add("w-0".concat(this.active))}},lC=(n(130),eC(sC,(function(){var e=this._self._c;return e("portal",{attrs:{"target-el":"#fp-alert","target-class":"f-bs4"}},[e("info")],1)}),[],!1,null,null,null).exports),cC={data:function(){var e=["",""];switch(/\/test\/verbose.*\.html$/.test(this.$t("url"))&&(e=[this.$t("modal.test.title"),this.$t("modal.test.md")]),this.$t("site")){case"etherpad":/(beta\.framapad)/.test(this.$t("host"))&&(e=[this.$t("modal.beta-pad.title"),this.$t("modal.beta-pad.md")]);break;case"calc":this.is.before("2023/3/29")&&!/^\/abc\//.test(this.$t("url"))&&(e=[this.$t("modal.calc.title"),this.$t("modal.calc.md")]);break;case"date":/(beta\.framadate)/.test(this.$t("host"))&&(e=[this.$t("modal.beta-date.title"),this.$t("modal.beta-date.md")]),/(preprod\.framadate)/.test(this.$t("host"))&&(e=[this.$t("modal.preprod-date.title"),this.$t("modal.preprod-date.md")])}return{config:e,state:{info:!this.cookie("r","modal-info")}}},methods:{close:function(){this.cookie("w","modal-info",!0,6048e5)},nevershow:function(){this.cookie("w","modal-info",!0)}}},uC=(n(132),eC(cC,(function(){var e=this,t=e._self._c;return""!==e.config[0]?t("b-modal",{attrs:{id:"f-modal-info",static:!0,lazy:!0,title:e.config[0],"header-close-label":e.$t("txt.close"),"cancel-title-html":e.$t("txt.close"),"cancel-variant":"light","ok-title-html":e.$t("txt.nevershow")},on:{esc:function(t){return e.close()},backdrop:function(t){return e.close()},headerclose:function(t){return e.close()},cancel:function(t){return e.close()},ok:function(t){return e.nevershow()}},model:{value:e.state.info,callback:function(t){e.$set(e.state,"info",t)},expression:"state.info"}},[t("div",{domProps:{innerHTML:e._s(e.config[1])}})]):e._e()}),[],!1,null,null,null).exports),dC={methods:{goToLoginForm:function(){}}},pC=(n(134),eC(dC,(function(){var e=this,t=e._self._c;return t("header",{staticClass:"f-bs4",attrs:{id:"ft-header"}},[t("b-container",{staticClass:"px-md-0"},[t("b-row",{staticClass:"justify-content-md-between",attrs:{"align-v":"center"}},[t("b-col",{staticClass:"text-center text-md-left",attrs:{md:"5"}},[t("h1",{staticClass:"d-inline-block"},[t("a",{attrs:{href:"/"}},[t("img",{attrs:{alt:"",src:"".concat(e.$t("baseurl"),"img/icons/ati/sites/team.svg")}}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("color.team"))}})])])]),e._v(" "),t("b-col",{staticClass:"d-flex justify-content-center justify-content-md-end",attrs:{md:"7"}},[t("b-nav",{staticClass:"list-unstyled justify-content-center",attrs:{pills:""}},[t("b-nav-text",[t("a",{staticClass:"btn btn-outline-secondary text-uppercase mx-1 border-0",attrs:{href:"https://mattermost.com/download/#mattermostApps"},domProps:{innerHTML:e._s(e.$t("team.header.apps"))}})]),e._v(" "),t("b-nav-text",[t("a",{staticClass:"btn btn-outline-secondary text-uppercase mx-1 border-0",attrs:{href:"".concat(e.$t("link.team"),"/signup_user_complete")},domProps:{innerHTML:e._s(e.$t("team.header.signup"))}})]),e._v(" "),t("b-nav-text",[t("a",{staticClass:"btn btn-primary text-uppercase mx-1 border-0",attrs:{href:"".concat(e.$t("link.team"),"/login"),onclick:"if (document.getElementById('login_section')) {\n document.getElementById('login_section')\n .scrollIntoView({ behavior: 'smooth' });\n } else {\n window.location.href = `${this.$t('link.team')}/login`;\n };\n return false;"},domProps:{innerHTML:e._s(e.$t("team.header.signin"))}})])],1)],1)],1)],1)],1)}),[],!1,null,null,null).exports),fC={props:{open:{type:Boolean,required:!0},link:{type:String,required:!0}},data:()=>({state:{docs:!1}}),watch:{open(e){e&&(this.state.docs=!0)}},methods:{close(){this.state.docs=!1,this.$parent.docs=!1}}},mC=(n(136),{components:{ModalDocs:eC(fC,(function(){var e=this,t=e._self._c;return t("b-modal",{attrs:{id:"c-modal-docs",size:"lg",static:!0,lazy:!0,title:e.$t("feedback.menu.docs"),"title-sr-only":!0,"hide-header":!0,"cancel-title-html":e.$t("txt.close"),"cancel-variant":"light","button-size":"sm"},on:{hidden:function(t){return e.close()}},model:{value:e.state.docs,callback:function(t){e.$set(e.state,"docs",t)},expression:"state.docs"}},[t("div",{staticClass:"clearfix"},[t("div",{staticClass:"embed-responsive embed-responsive-1by1"},[!0===e.state.docs?t("iframe",{staticClass:"embed-responsive-item",attrs:{src:e.link}}):e._e()])])])}),[],!1,null,null,null).exports},data:function(){return{docs:!1}}}),hC=(n(138),eC(mC,(function(){var e=this,t=e._self._c;return t("div",[t("section",{staticClass:"main-row f-bs4",attrs:{id:"ft-intro"}},[t("b-container",[t("b-row",[t("b-col",{staticClass:"pl-0",attrs:{md:"7",lg:"6"}},[t("b-row",{staticClass:"buttons m-0",attrs:{tag:"ul"}},[t("b-col",{staticClass:"pb-2 pb-md-3 pl-0",attrs:{md:"6",tag:"li"}},[t("b-button",{attrs:{block:"",href:e.$t("hos.data.docs"),size:"lg",variant:"outline-warning",onclick:"return false;"},on:{click:function(t){e.docs=!0}}},[t("i",{staticClass:"fas fa-circle-play mr-1"}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("team.intro.btn-tour"))}})])],1)],1)],1)],1),e._v(" "),t("b-row",{staticClass:"d-none d-sm-flex",attrs:{id:"learn-more","aria-hidden":"true","align-h":"center"}},[t("input",{staticClass:"sr-only",attrs:{id:"btn-learn-more",type:"checkbox"},on:{change:function(t){e.$parent.$children[2].$children[1].$refs["ft-what"].scrollIntoView({behavior:"smooth"})}}}),e._v(" "),t("label",{staticClass:"btn btn-sm btn-link p-0",attrs:{for:"btn-learn-more"}},[t("span",{domProps:{innerHTML:e._s(e.$t("team.intro.more",e.$t("hos.data")))}}),e._v(" "),t("i",{staticClass:"fas fa-lg fa-chevron-down d-block fc-g8"})])])],1)],1),e._v(" "),t("modal-docs",{attrs:{link:e.$t("hos.data.docs"),open:e.docs}})],1)}),[],!1,null,null,null).exports),gC={props:{img:{type:String,default:""}}},vC=(n(140),{components:{WebScreen:eC(gC,(function(){var e=this._self._c;return e("div",{staticClass:"web-browser"},[this._m(0),this._v(" "),e("img",{staticClass:"img-fluid",attrs:{alt:"",src:this.img}})])}),[function(){var e=this._self._c;return e("div",{staticClass:"toolbar"},[e("i",{staticClass:"fas fa-circle"}),this._v(" "),e("i",{staticClass:"fas fa-circle"}),this._v(" "),e("i",{staticClass:"fas fa-circle"}),this._v(" "),e("div",{staticClass:"search-bar"}),this._v(" "),e("i",{staticClass:"fas fa-circle"})])}],!1,null,null,null).exports},data:function(){return{tabs:{count:Object.keys(this.$t("team.what")).filter((function(e){return e.includes("tab")})).length,tabindex:0,animate:!0}}},created:function(){var e=this,t=setInterval((function(){e.tabs.animate?e.tabs.tabindex+1'))})),document.querySelectorAll('a[href*="/channels"]').forEach((function(e){var t=e;t.onclick=function(e){window.location.href=t.href,e.preventDefault()}}))},mounted:function(){var e=this,t=window.location.href.split("/"),n=document.body.id||"";setInterval((function(){t=window.location.href.split("/"),n=document.body.id||"";var r="channels"===t[4]||"tutorial"===t[4]?"ct-".concat(t[4].split("?")[0]):"ct-".concat(t[3].split("?")[0]);"ct-"!==r||document.body.classList.contains("outMM")||document.body.classList.add("outMM"),document.querySelector("#root .get-app .get-app__continue")&&(localStorage.setItem("__landing-preference__https://framateam.org","browser"),document.querySelector("#root .get-app .get-app__continue").click()),n!==r&&(document.body.id=r),(n!==r||document.querySelector(".outMM")||document.querySelector("#ct-login.outMM")&&!document.querySelector("#root #fp-team-title")&&!document.querySelector("#root #how"))&&e.updateDisplay(r),document.querySelectorAll('a[href*="docs.mattermost.com/help"], a[href*="docs.mattermost.com/index"]').forEach((function(e){return Object.assign(e,{href:e.href.replace("docs.mattermost.com","docs.framasoft.org/fr/mattermost")})}))}),1e3)},methods:{updateDisplay:function(e){var t={body:document.getElementsByTagName("body")[0],title:document.querySelector(".tutorial__steps h1"),vname:document.getElementById("valid_name"),sdesc:document.getElementById("site_description"),gitlab:document.querySelector("#gitlab"),lsection:document.querySelector(".login-body"),lid:document.getElementById("input_loginId"),lpwd:document.getElementById("input_password-input"),root:document.getElementById("root")};switch(/ct-(channels|admin-console|tutorial)/.test(e)&&(t.body.classList.contains("outMM")&&t.body.classList.remove("outMM"),t.body.classList.contains("inMM")||t.body.classList.add("inMM")),/ct-(select_team|reset_password|create_team|signup_user_complete|signup_email|login)/.test(e)&&(t.body.classList.contains("inMM")&&t.body.classList.remove("inMM"),t.body.classList.contains("outMM")||t.body.classList.add("outMM")),e){case"ct-tutorial":t.title&&(t.title.innerHTML=this.$t("color.team"));break;case"ct-signup_user_complete":t.gitlab&&(t.gitlab.innerHTML=this.$i18n.t("team.create_framagit"));break;case"ct-signup_email":t.vname&&(t.vname.innerHTML=t.vname.innerHTML.replace("des symboles '.', '-' et '_'","symboles . , - ou _ "));break;case"ct-login":t.lsection&&(document.querySelector("#root #fp-team-title")||t.lsection.insertAdjacentElement("beforebegin",document.getElementById("fp-team-title")),document.querySelector("#root #fp-team-intro")||document.querySelector("#root .header-footer-route-container").insertAdjacentElement("beforeend",document.getElementById("fp-team-intro")),document.querySelector("#how")||t.root.insertAdjacentHTML("afterend",document.getElementById("fp-team-prez").innerHTML),t.lid.placeholder=this.$i18n.t("team.email"),t.lpwd.placeholder=this.$i18n.t("team.password"),t.gitlab&&t.gitlab.innerHTML!==this.$i18n.t("team.connect_framagit")&&(t.gitlab.innerHTML=this.$i18n.t("team.connect_framagit"),document.querySelector(".hfroute-header .alternate-link")&&(document.querySelector(".hfroute-header .alternate-link").setAttribute("class","ft-signup"),t.gitlab.insertAdjacentElement("beforebegin",document.querySelector(".ft-signup")))))}document.querySelector(".outMM")&&t.root&&!document.querySelector("body > #ft-header")&&t.root.insertAdjacentHTML("beforebegin",document.getElementById("fp-team-header").innerHTML),t.body.id=e}}},(function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"f-bs4",staticStyle:{display:"none"},attrs:{id:"fp-team-header"}},[t("header-component")],1),e._v(" "),t("div",{staticClass:"f-bs4",staticStyle:{display:"none"},attrs:{id:"fp-team-title"}},[t("h1",{domProps:{innerHTML:e._s(e.$t("team.intro.title"))}}),e._v(" "),t("h2",{domProps:{innerHTML:e._s(e.$t("team.intro.subtitle"))}})]),e._v(" "),t("div",{staticClass:"f-bs4",staticStyle:{display:"none"},attrs:{id:"fp-team-intro"}},[t("intro")],1),e._v(" "),t("portal",{attrs:{"target-el":"#fp-team-prez","target-class":"f-bs4"}},[t("what"),e._v(" "),t("limit"),e._v(" "),t("how"),e._v(" "),t("why"),e._v(" "),t("who")],1)],1)}),[],!1,null,null,null).exports,xC={components:{PopoverContact:eC({props:{from:{type:String,required:!0}}},(function(){var e=this,t=e._self._c;return t("a",{class:"header"===e.from?"dropdown-item":"",attrs:{id:"f-".concat(e.from,"-contact"),href:e.$t("link.contact"),onclick:"return false",target:"header"===e.from?"_blank":"_self"},on:{click:function(t){t.stopPropagation(),t.preventDefault(),e.$refs["f-".concat(e.from,"-contact-popover")].$emit("open")}}},["header"===e.from?t("i",{class:"".concat(e.$t("icon.contact")," fa-lg fa-fw")}):e._e(),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("fnav.sites.contact.name"))}}),e._v(" "),"header"===e.from?t("span",[t("i",{staticClass:"fas fa-up-right-from-square new-window"}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s("(".concat(e.$t("txt.newWindow"),")"))}})]):e._e(),e._v(" "),t("b-popover",{ref:"f-".concat(e.from,"-contact-popover"),attrs:{target:"f-".concat(e.from,"-contact"),title:e.$t("reminder.title"),triggers:"click",placement:"header"===e.from?"leftbottom":"top",container:"f-".concat(e.from)}},[t("b-row",[t("b-col",{domProps:{innerHTML:e._s(e.$t("reminder.".concat(e.$t("site"))))}})],1),e._v(" "),t("b-row",{staticClass:"border-top mx-0"},[t("b-col",{staticClass:"px-0 py-2",attrs:{cols:"12"}},[t("p",{staticClass:"m-0",domProps:{innerHTML:e._s(e.$t("reminder.label"))}})]),e._v(" "),t("b-col",{staticClass:"p-0 pr-1",attrs:{cols:"6"}},[t("b-button",{attrs:{variant:"outline-light text-secondary border",size:"sm",block:"",href:e.$t("link.contact")},domProps:{innerHTML:e._s(e.$t("reminder.btn.soft"))}})],1),e._v(" "),t("b-col",{staticClass:"p-0 pl-1",attrs:{cols:"6"}},[t("b-button",{attrs:{variant:"outline-light text-secondary border",size:"sm",block:"",href:"#"},domProps:{innerHTML:e._s(e.$t("reminder.btn.".concat(e.$t("site"))))},on:{click:function(t){e.$refs["f-".concat(e.from,"-contact-popover")].$emit("close")}}})],1)],1)],1)],1)}),[],!1,null,null,null).exports},data:function(){return{state:{footer:"position: relative"}}},created:function(){document.querySelector("body").insertAdjacentHTML("beforeend",'')},mounted:function(){window.addEventListener("click",this.footerPosition),window.addEventListener("load",this.footerPosition),window.addEventListener("resize",this.footerPosition),window.addEventListener("scroll",this.footerPosition)},methods:{footerPosition:function(){var e=this;this.state.footer=document.body.scrollHeight(").concat(e.$t("host"),") "))}}),e._v(" "),t("ul",{staticClass:"list-unstyled"},e._l(e.$t("fnav.footer.site"),(function(n){return t("li",{key:n},["aide"===n?t("a",{attrs:{href:e.$te("txt.".concat(e.$t("site")))?e.$t("fnav.sites.".concat(n,".link")).replace(/#(aide|help)$/,"#".concat(e.$t("txt.".concat(e.$t("site")),"-lL@"))):e.$t("fnav.sites.".concat(n,".link"))},domProps:{innerHTML:e._s(e.$t("fnav.sites.".concat(n,".name")))},on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.toggleFramaSidebar(),e.$parent.$children[1].view="help s-faq"}}}):"credits"===n&&e.$te("txt.".concat(e.$t("site")))?t("a",{attrs:{href:e.$t("fnav.sites.".concat(n,".link")).replace(/$/,"/#".concat(e.$t("site")))},domProps:{innerHTML:e._s(e.$t("fnav.sites.".concat(n,".name")))}}):"doc"===n&&e.$te("doc.".concat(e.$t("site"),"[").concat(+("en"===e.$t("lang")),"]"))?t("a",{attrs:{href:e.$t("fnav.sites.".concat(n,".link")).replace(/$/,"/".concat(e.$t("doc.".concat(e.$t("site"),"[").concat(+("en"===e.$t("lang")),"]"))))},domProps:{innerHTML:e._s(e.$t("fnav.sites.".concat(n,".name")))},on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.$parent.$children[1].modal.docs=!0}}}):t("a",{attrs:{href:e.$te("fnav.sites.".concat(n,".link"))?e.$t("fnav.sites.".concat(n,".link")):e.$t("link.".concat(n))},domProps:{innerHTML:e._s(e.$t("fnav.sites.".concat(n,".name")))}})])})),0)])])],1),e._v(" "),t("b-col",{attrs:{md:"4"}},[t("h1",{domProps:{innerHTML:e._s(e.$t("fnav.categories.follow.title"))}}),e._v(" "),t("ul",{staticClass:"list-inline"},e._l(e.$t("fnav.footer.follow"),(function(n){return t("li",{directives:[{name:"b-popover",rawName:"v-b-popover:f-footer.top.hover.focus.html",value:e.$t("fnav.sites.".concat(n,".d1")),expression:"$t(`fnav.sites.${key}.d1`)",arg:"f-footer",modifiers:{top:!0,hover:!0,focus:!0,html:!0}}],key:n,class:"list-inline-item fs_".concat(n),attrs:{title:e.$t("fnav.sites.".concat(n,".t1"),"-t")}},[t("a",{attrs:{href:e.$te("fnav.sites.".concat(n,".link"))?e.$t("fnav.sites.".concat(n,".link")):e.$t("link.".concat(n))}},[t("i",{class:"".concat(e.$t("icon.".concat(n))," fa-2x fa-fw fc-g8")}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s(e.$te("fnav.sites.".concat(n,".name"))?e.$t("fnav.sites.".concat(n,".name"),"-t"):e.$t("txt.".concat(n)))}})])])})),0),e._v(" "),t("h2",{domProps:{innerHTML:e._s(e.$t("fnav.sites.newsletter.name"))}}),e._v(" "),t("form",{attrs:{action:"https://listmonk.framasoft.org/subscription/form",method:"post"}},[t("label",{staticClass:"sr-only",attrs:{for:"f-nl-email"},domProps:{innerHTML:e._s(e.$t("txt.yourEmail"))}}),e._v(" "),t("b-input-group",{staticClass:"mb-2",attrs:{size:"sm"}},[t("b-form-input",{attrs:{id:"f-nl-email","aria-describedby":"nlHelp",name:"email",type:"email",size:"40",title:e.$t("txt.typeYourEmail"),placeholder:e.$t("txt.yourEmail")}}),e._v(" "),t("b-input-group-append",[t("b-button",{attrs:{variant:"dark",type:"submit"}},[t("i",{staticClass:"fas fa-bell fc-g2"}),e._v(" "),t("span",{domProps:{innerHTML:e._s(e.$t("txt.subscribe"))}}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s(e.$t("txt.toTheNewsletter"))}})])],1)],1),e._v(" "),t("div",{staticStyle:{display:"none"}},[t("input",{attrs:{id:"c9c93",checked:"",name:"l",type:"checkbox",value:"c9c93baf-1117-44f4-9e32-a37ed4a97f58"}})])],1),e._v(" "),t("p",{attrs:{id:"nlHelp"},domProps:{innerHTML:e._s(e.$t("fnav.sites.newsletter.d2"))}})])],1)],1)],1)])}),[],!1,null,null,null).exports),jC={data:function(){return{btn:!1}},mounted:function(){var e=this;window.addEventListener("scroll",(function(){e.btn=window.pageYOffset>window.innerHeight}))},methods:{backTop:function(){document.body.scrollIntoView({behavior:"smooth"})}}},TC=(n(154),eC(jC,(function(){var e=this,t=e._self._c;return t("a",{directives:[{name:"show",rawName:"v-show",value:e.btn,expression:"btn"}],attrs:{id:"f-backtop",href:"#",title:e.$t("txt.backTop")},on:{click:function(t){return t.preventDefault(),e.backTop()}}},[t("i",{staticClass:"fas fa-chevron-up fa-lg fa-fw fc-light"}),e._v(" "),t("span",{staticClass:"sr-only",domProps:{innerHTML:e._s(e.$t("txt.backTop"))}})])}),[],!1,null,null,null)),PC=eC({components:{Meta:tC,SidebarMenu:iC,Alert:lC,ModalInfo:uC,Framateam:OC,FooterMenu:CC,BackTop:TC.exports},data:function(){return{version:"23.7.4",js:function(){}}},created:function(){var e=document.getElementsByTagName("html");e[0].setAttribute("data-url",this.$t("url")),e[0].setAttribute("data-inframe",this.$t("inframe")),e[0].setAttribute("id","f--");var t=document.createElement("link");Object.assign(t,{rel:"stylesheet",href:"".concat(this.$t("baseurl"),"main.css")}),document.getElementsByTagName("head")[0].appendChild(t)},mounted:function(){var e=this,t=document.getElementsByTagName("html");setInterval((function(){var n=t[0].getAttribute("lang");n&&e.$i18n.locale!==n&&e.$i18n.locale!==n.substring(0,2)&&e.$i18n.messages.translations&&(e.$i18n.messages.translations.available.includes(n)?e.$i18n.locale=n:e.$i18n.messages.translations.available.includes(n.substring(0,2))?e.$i18n.locale=n.substring(0,2):e.$i18n.locale=e.$i18n.fallbackLocale)}),1e3),this.customJS(this.$t("site")),"function"==typeof this.js&&this.js()},methods:{isLang:function(e,t){if("b"!==t){var n="",r=document.getElementsByTagName("html"),a=document.getElementsByTagName("script");if(r[0].getAttribute("lang"))n=r[0].getAttribute("lang");else if(r[0].getAttribute("locale"))n=r[0].getAttribute("locale");else for(var o=0;o-1||a[o].getAttribute("property")&&a[o].getAttribute("content")&&a[o].getAttribute("property").indexOf("locale")>-1)&&(n=a[o].getAttribute("content"));return n.substr(0,2).toLowerCase()===e}for(var i=navigator.languages||[navigator.language||navigator.userLanguage],s=0;s div").text();/anonymous-edit/.test(t)&&!/⚠️/.test(t)&&(jQuery(".umap-edit-enabled #map #umap-alert-container > div").html("⚠️ ".concat(t.replace(e,'\n \n 🔗 \n \n
'))),jQuery(".umap-edit-enabled #map #umap-alert-container").css({"background-color":"var(--f-v2)",color:"var(--f-v8)","font-size":"1rem",top:"60px"}),jQuery(".umap-edit-enabled #map #umap-alert-container .umap-close-link span").hide(),jQuery(".umap-edit-enabled #map #umap-alert-container .umap-close-icon").css("background-position","-52px -13px"))}),500);break;case"date":this.js=function(){var e=document.querySelector("#message-container .alert-danger");e&&(e.innerHTML=e.innerHTML.replace("Merci de réessayer.",'Merci de réessayer. (NB : il est possible aussi qu’il s’agisse\n d’un bug, mais\n \n il peut être contourné \n )')))};break;case"docs":"true"===this.$t("inframe")&&(this.js=function(){document.querySelector(".with-summary")&&document.querySelector(".with-summary").classList.remove("with-summary")});break;case"libre":this.js=function(){"true"===this.$t("inframe")&&document.querySelectorAll("a").forEach((function(e){return Object.assign(e,{target:"_blank"})}));var e=document.getElementById("user-register-form");e&&e.insertAdjacentHTML("beforeEnd",'Rappel : '.concat(this.$t("color.libre")," est\n seulement un annuaire collaboratif de ressources libres.\n Il ne permet pas de créer un compte unique pour\n accéder à l’ensemble des services de Framasoft.
"))};break;case"mindmap":this.js=function(){var e=document.getElementsByTagName("html"),t=navigator.languages||[navigator.language];if(!e[0].getAttribute("lang")&&document.getElementById("SignIn"))return e[0].lang="fr"===t[0].substring(0,2)?"fr":"en",void(this.$i18n.locale=e[0].lang);document.getElementById("userSettingsBtn")&&"Compte"===document.getElementById("userSettingsBtn").innerHTML&&(e[0].lang="fr"!==e[0].getAttribute("lang")?"fr":"en",this.$i18n.locale=e[0].lang)};break;case"etherpad":this.js=function(){jQuery("#loading").delay(2e3).append('\n Si le pad refuse de s’afficher, essayez de télécharger \n l’export html \n ou txt \n de votre document.
'))};break;case"vox":this.js=function(){var e=this;setInterval((function(){/^fr/.test(e.$i18n.locale)&&document.querySelectorAll('a[href*="help.loomio.com"]').forEach((function(e){return Object.assign(e,{href:"https://docs.framasoft.org/fr/loomio/index.html"})}))}),1e3)}}}}},(function(){var e=this,t=e._self._c;return t("div",[t("Meta"),e._v(" "),/:\/\/framagenda.org\/apps\/registration/.test(e.$t("url"))?e._e():t("sidebar-menu"),e._v(" "),t("alert"),e._v(" "),t("modal-info"),e._v(" "),/:\/\/framateam.org/.test(e.$t("url"))?t("framateam"):e._e(),e._v(" "),t("footer-menu"),e._v(" "),t("back-top")],1)}),[],!1,null,null,null),SC=eC({name:"FNav",components:{Nav:PC.exports},data:function(){return{i18n:"production"!==this.$t("config.mode")?this.$i18n.messages:""}}},(function(){var e=this._self._c;return e("div",{staticClass:"f-bs4",staticStyle:{display:"none"},attrs:{id:"f-nav"}},[e("Nav")],1)}),[],!1,null,null,null).exports;n(156);r.default.use(Gx),r.default.use(Jx.a),r.default.use(Yx),r.default.use(Kx),r.default.use(Zx.a),r.default.use(Qx.a),r.default.prototype.$t=function(e,t,n){return Qx.a.$t(e,t,n,Xx.a)},r.default.prototype.toggleFramaSidebar=function(){var e="true"===(document.getElementsByTagName("html")[0].getAttribute("data-sidebar")||!1);document.getElementsByTagName("html")[0].setAttribute("data-sidebar",!e)};var qC=function(){null===document.getElementById("f-nav")&&document.querySelector("body").insertAdjacentHTML("afterbegin",'
'),new r.default({el:"#f-nav",i18n:Xx.a,mounted:function(){document.dispatchEvent(new Event("render-event"))},render:function(e){return e(SC)}})},$C=document.getElementsByTagName("script");/\/nav.js$/.test($C[$C.length-1].src)?window.addEventListener("DOMContentLoaded",(function(){qC()})):qC()}]);
//# sourceMappingURL=nav.js.map