@europeana/portal
Version:
Europeana Portal
2 lines • 21.1 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[82],{1047:function(t,e,r){"use strict";r.d(e,"a",(function(){return G}));var n=r(6),o=(r(14),r(28),r(80),r(41),r(107),r(21),r(22),r(38),r(8)),c=r(2),l=r(9),d=r(53),f=r(1),h=r(30),v=r(15),j=r(19),m=r(320),O=r(3),y=r(10),T=r(33),_=r(7),x=r(50),w=r(64),I=r(4),k=r(0),A=r(23),S=r(62),P=r(63),C=r(57),R=r(25),D=r(29),F=r(93),L=r(128),z=r(151),B=r(977);function E(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function V(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?E(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):E(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var{mixin:$,props:U,prop:J,event:M}=Object(w.a)("value",{type:f.b,defaultValue:[]}),H=["text","email","tel","url","number"],N=[".b-form-tag","button","input","select"].join(" "),W=t=>Object(j.b)(t).map((t=>Object(A.h)(Object(A.g)(t)))).filter(((t,e,r)=>t.length>0&&r.indexOf(t)===e)),K=t=>Object(_.m)(t)?t:Object(_.d)(t)&&t.target.value||"",Q=Object(k.d)(Object(I.m)(V(V(V(V(V(V({},R.b),U),S.b),P.b),C.b),{},{addButtonText:Object(k.c)(f.q,"Add"),addButtonVariant:Object(k.c)(f.q,"outline-secondary"),addOnChange:Object(k.c)(f.g,!1),duplicateTagText:Object(k.c)(f.q,"Duplicate tag(s)"),ignoreInputFocusSelector:Object(k.c)(f.f,N),inputAttrs:Object(k.c)(f.m,{}),inputClass:Object(k.c)(f.e),inputId:Object(k.c)(f.q),inputType:Object(k.c)(f.q,"text",(t=>Object(j.a)(H,t))),invalidTagText:Object(k.c)(f.q,"Invalid tag(s)"),limit:Object(k.c)(f.k),limitTagsText:Object(k.c)(f.q,"Tag limit reached"),noAddOnEnter:Object(k.c)(f.g,!1),noOuterFocus:Object(k.c)(f.g,!1),noTagRemove:Object(k.c)(f.g,!1),placeholder:Object(k.c)(f.q,"Add tag..."),removeOnDelete:Object(k.c)(f.g,!1),separator:Object(k.c)(f.f),tagClass:Object(k.c)(f.e),tagPills:Object(k.c)(f.g,!1),tagRemoveLabel:Object(k.c)(f.q,"Remove tag"),tagRemovedLabel:Object(k.c)(f.q,"Tag removed"),tagValidator:Object(k.c)(f.j),tagVariant:Object(k.c)(f.q,"secondary")})),c.O),G=o.default.extend({name:c.O,mixins:[R.a,$,S.a,P.a,C.a,D.a],props:Q,data:()=>({hasFocus:!1,newTag:"",tags:[],removedTags:[],tagsState:{all:[],valid:[],invalid:[],duplicate:[]}}),computed:{computedInputId(){return this.inputId||this.safeId("__input__")},computedInputType(){return Object(j.a)(H,this.inputType)?this.inputType:"text"},computedInputAttrs(){var{disabled:t,form:form}=this;return V(V({},this.inputAttrs),{},{id:this.computedInputId,value:this.newTag,disabled:t,form:form})},computedInputHandlers(){return{input:this.onInputInput,change:this.onInputChange,keydown:this.onInputKeydown,reset:this.reset}},computedSeparator(){return Object(j.b)(this.separator).filter(_.m).filter(T.a).join("")},computedSeparatorRegExp(){var t,e=this.computedSeparator;return e?new RegExp("[".concat((t=e,Object(A.a)(t).replace(h.p,"\\s")),"]+")):null},computedJoiner(){var t=this.computedSeparator.charAt(0);return" "!==t?"".concat(t," "):t},computeIgnoreInputFocusSelector(){return Object(j.b)(this.ignoreInputFocusSelector).filter(T.a).join(",").trim()},disableAddButton(){var t=Object(A.h)(this.newTag);return""===t||!this.splitTags(t).some((t=>!Object(j.a)(this.tags,t)&&this.validateTag(t)))},duplicateTags(){return this.tagsState.duplicate},hasDuplicateTags(){return this.duplicateTags.length>0},invalidTags(){return this.tagsState.invalid},hasInvalidTags(){return this.invalidTags.length>0},isLimitReached(){var{limit:t}=this;return Object(_.g)(t)&&t>=0&&this.tags.length>=t}},watch:{[J](t){this.tags=W(t)},tags(t,e){Object(x.a)(t,this[J])||this.$emit(M,t),Object(x.a)(t,e)||(t=Object(j.b)(t).filter(T.a),e=Object(j.b)(e).filter(T.a),this.removedTags=e.filter((e=>!Object(j.a)(t,e))))},tagsState(t,e){Object(x.a)(t,e)||this.$emit(l.Q,t.valid,t.invalid,t.duplicate)}},created(){this.tags=W(this[J])},mounted(){var t=Object(O.e)("form",this.$el);t&&(Object(y.b)(t,"reset",this.reset,l.U),this.$on(l.V,(()=>{Object(y.a)(t,"reset",this.reset,l.U)})))},methods:{addTag(t){if(t=Object(_.m)(t)?t:this.newTag,!this.disabled&&""!==Object(A.h)(t)&&!this.isLimitReached){var e=this.parseTags(t);if(e.valid.length>0||0===e.all.length)if(Object(O.v)(this.getInput(),"select"))this.newTag="";else{var r=[...e.invalid,...e.duplicate];this.newTag=e.all.filter((t=>Object(j.a)(r,t))).join(this.computedJoiner).concat(r.length>0?this.computedJoiner.charAt(0):"")}e.valid.length>0&&(this.tags=Object(j.b)(this.tags,e.valid)),this.tagsState=e,this.focus()}},removeTag(t){this.disabled||(this.tags=this.tags.filter((e=>e!==t)),this.$nextTick((()=>{this.focus()})))},reset(){this.newTag="",this.tags=[],this.$nextTick((()=>{this.removedTags=[],this.tagsState={all:[],valid:[],invalid:[],duplicate:[]}}))},onInputInput(t){if(!(this.disabled||Object(_.d)(t)&&t.target.composing)){var e=K(t),r=this.computedSeparatorRegExp;this.newTag!==e&&(this.newTag=e),e=Object(A.i)(e),r&&r.test(e.slice(-1))?this.addTag():this.tagsState=""===e?{all:[],valid:[],invalid:[],duplicate:[]}:this.parseTags(e)}},onInputChange(t){if(!this.disabled&&this.addOnChange){var e=K(t);this.newTag!==e&&(this.newTag=e),this.addTag()}},onInputKeydown(t){if(!this.disabled&&Object(_.d)(t)){var{keyCode:e}=t,r=t.target.value||"";this.noAddOnEnter||e!==d.e?!this.removeOnDelete||e!==d.a&&e!==d.b||""!==r||(Object(y.f)(t,{propagation:!1}),this.tags=this.tags.slice(0,-1)):(Object(y.f)(t,{propagation:!1}),this.addTag())}},onClick(t){var e=this.computeIgnoreInputFocusSelector,{target:r}=t;this.disabled||Object(O.q)(r)||e&&Object(O.e)(e,r,!0)||this.$nextTick((()=>{this.focus()}))},onFocusin(){this.hasFocus=!0},onFocusout(){this.hasFocus=!1},handleAutofocus(){this.$nextTick((()=>{Object(O.B)((()=>{this.autofocus&&!this.disabled&&this.focus()}))}))},focus(){this.disabled||Object(O.d)(this.getInput())},blur(){this.disabled||Object(O.c)(this.getInput())},splitTags(t){t=Object(A.g)(t);var e=this.computedSeparatorRegExp;return(e?t.split(e):[t]).map(A.h).filter(T.a)},parseTags(t){var e=this.splitTags(t),r={all:e,valid:[],invalid:[],duplicate:[]};return e.forEach((t=>{Object(j.a)(this.tags,t)||Object(j.a)(r.valid,t)?Object(j.a)(r.duplicate,t)||r.duplicate.push(t):this.validateTag(t)?r.valid.push(t):Object(j.a)(r.invalid,t)||r.invalid.push(t)})),r},validateTag(t){var{tagValidator:e}=this;return!Object(k.b)(e)||e(t)},getInput(){return Object(O.C)("#".concat(Object(m.a)(this.computedInputId)),this.$el)},defaultRender(t){var{addButtonText:e,addButtonVariant:r,addTag:n,disableAddButton:o,disabled:c,duplicateTagText:l,inputAttrs:d,inputClass:f,inputHandlers:h,inputType:j,invalidTagText:m,isDuplicate:O,isInvalid:y,isLimitReached:_,limitTagsText:x,noTagRemove:w,placeholder:I,removeTag:k,tagClass:S,tagPills:P,tagRemoveLabel:C,tagVariant:R,tags:D}=t,E=this.$createElement,$=D.map((t=>(t=Object(A.g)(t),E(B.a,{class:S,props:{disabled:c,noRemove:w,pill:P,removeLabel:C,tag:"li",title:t,variant:R},on:{remove:()=>k(t)},key:"tags_".concat(t)},t)))),U=m&&y?this.safeId("__invalid_feedback__"):null,J=l&&O?this.safeId("__duplicate_feedback__"):null,M=x&&_?this.safeId("__limit_feedback__"):null,H=[d["aria-describedby"],U,J,M].filter(T.a).join(" "),N=E("input",{staticClass:"b-form-tags-input w-100 flex-grow-1 p-0 m-0 bg-transparent border-0",class:f,style:{outline:0,minWidth:"5rem"},attrs:V(V({},d),{},{"aria-describedby":H||null,type:j,placeholder:I||null}),domProps:{value:d.value},on:h,directives:[{name:"model",value:d.value}],ref:"input"}),W=E(F.a,{staticClass:"b-form-tags-button py-0",class:{invisible:o},style:{fontSize:"90%"},props:{disabled:o||_,variant:r},on:{click:()=>n()},ref:"button"},[this.normalizeSlot(v.a)||e]),K=this.safeId("__tag_list__"),Q=E("li",{staticClass:"b-from-tags-field flex-grow-1",attrs:{role:"none","aria-live":"off","aria-controls":K},key:"tags_field"},[E("div",{staticClass:"d-flex",attrs:{role:"group"}},[N,W])]),G=E("ul",{staticClass:"b-form-tags-list list-unstyled mb-0 d-flex flex-wrap align-items-center",attrs:{id:K},key:"tags_list"},[$,Q]),X=E();if(m||l||x){var Y=this.computedJoiner,Z=E();U&&(Z=E(L.a,{props:{id:U,forceShow:!0},key:"tags_invalid_feedback"},[this.invalidTagText,": ",this.invalidTags.join(Y)]));var tt=E();J&&(tt=E(z.a,{props:{id:J},key:"tags_duplicate_feedback"},[this.duplicateTagText,": ",this.duplicateTags.join(Y)]));var et=E();M&&(et=E(z.a,{props:{id:M},key:"tags_limit_feedback"},[x])),X=E("div",{attrs:{"aria-live":"polite","aria-atomic":"true"},key:"tags_feedback"},[Z,tt,et])}return[G,X]}},render(t){var{name:e,disabled:r,required:n,form:form,tags:o,computedInputId:c,hasFocus:l,noOuterFocus:d}=this,f=V({tags:o.slice(),inputAttrs:this.computedInputAttrs,inputType:this.computedInputType,inputHandlers:this.computedInputHandlers,removeTag:this.removeTag,addTag:this.addTag,reset:this.reset,inputId:c,isInvalid:this.hasInvalidTags,invalidTags:this.invalidTags.slice(),isDuplicate:this.hasDuplicateTags,duplicateTags:this.duplicateTags.slice(),isLimitReached:this.isLimitReached,disableAddButton:this.disableAddButton},Object(I.k)(this.$props,["addButtonText","addButtonVariant","disabled","duplicateTagText","form","inputClass","invalidTagText","limit","limitTagsText","noTagRemove","placeholder","required","separator","size","state","tagClass","tagPills","tagRemoveLabel","tagVariant"])),h=this.normalizeSlot(v.f,f)||this.defaultRender(f),j=t("output",{staticClass:"sr-only",attrs:{id:this.safeId("__selected_tags__"),role:"status",for:c,"aria-live":l?"polite":"off","aria-atomic":"true","aria-relevant":"additions text"}},this.tags.join(", ")),m=t("div",{staticClass:"sr-only",attrs:{id:this.safeId("__removed_tags__"),role:"status","aria-live":l?"assertive":"off","aria-atomic":"true"}},this.removedTags.length>0?"(".concat(this.tagRemovedLabel,") ").concat(this.removedTags.join(", ")):""),O=t();if(e&&!r){var y=o.length>0;O=(y?o:[""]).map((r=>t("input",{class:{"sr-only":!y},attrs:{type:y?"hidden":"text",value:r,required:n,name:e,form:form},key:"tag_input_".concat(r)})))}return t("div",{staticClass:"b-form-tags form-control h-auto",class:[{focus:l&&!d&&!r,disabled:r},this.sizeFormClass,this.stateClass],attrs:{id:this.safeId(),role:"group",tabindex:r||d?null:"-1","aria-describedby":this.safeId("__selected_tags__")},on:{click:this.onClick,focusin:this.onFocusin,focusout:this.onFocusout}},[j,m,h,O])}})},681:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},686:function(t,e){var r=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},687:function(t,e,r){(function(t){var n=r(161),o=r(743),c=e&&!e.nodeType&&e,l=c&&"object"==typeof t&&t&&!t.nodeType&&t,d=l&&l.exports===c?n.Buffer:void 0,f=(d?d.isBuffer:void 0)||o;t.exports=f}).call(this,r(681)(t))},688:function(t,e,r){var n=r(744),o=r(745),c=r(746),l=c&&c.isTypedArray,d=l?o(l):n;t.exports=d},735:function(t,e,r){var n=r(686),o=r(736),c=Object.prototype.hasOwnProperty;t.exports=function(object){if(!n(object))return o(object);var t=[];for(var e in Object(object))c.call(object,e)&&"constructor"!=e&&t.push(e);return t}},736:function(t,e,r){var n=r(737)(Object.keys,Object);t.exports=n},737:function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},738:function(t,e,r){var n=r(739),o=r(360),c=r(740),l=r(365),d=r(741),f=r(194),h=r(363),v="[object Map]",j="[object Promise]",m="[object Set]",O="[object WeakMap]",y="[object DataView]",T=h(n),_=h(o),x=h(c),w=h(l),I=h(d),k=f;(n&&k(new n(new ArrayBuffer(1)))!=y||o&&k(new o)!=v||c&&k(c.resolve())!=j||l&&k(new l)!=m||d&&k(new d)!=O)&&(k=function(t){var e=f(t),r="[object Object]"==e?t.constructor:void 0,n=r?h(r):"";if(n)switch(n){case T:return y;case _:return v;case x:return j;case w:return m;case I:return O}return e}),t.exports=k},739:function(t,e,r){var n=r(162)(r(161),"DataView");t.exports=n},740:function(t,e,r){var n=r(162)(r(161),"Promise");t.exports=n},741:function(t,e,r){var n=r(162)(r(161),"WeakMap");t.exports=n},742:function(t,e,r){var n=r(362),o=r(357);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},743:function(t,e){t.exports=function(){return!1}},744:function(t,e,r){var n=r(194),o=r(357),c=r(195),l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l["[object Arguments]"]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l["[object Map]"]=l["[object Number]"]=l["[object Object]"]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1,t.exports=function(t){return c(t)&&o(t.length)&&!!l[n(t)]}},745:function(t,e){t.exports=function(t){return function(e){return t(e)}}},746:function(t,e,r){(function(t){var n=r(361),o=e&&!e.nodeType&&e,c=o&&"object"==typeof t&&t&&!t.nodeType&&t,l=c&&c.exports===o&&n.process,d=function(){try{var t=c&&c.require&&c.require("util").types;return t||l&&l.binding&&l.binding("util")}catch(t){}}();t.exports=d}).call(this,r(681)(t))},810:function(t,e,r){var n=r(369),o=r(964),c=r(370);t.exports=function(t,e,r,l,d,f){var h=1&r,v=t.length,j=e.length;if(v!=j&&!(h&&j>v))return!1;var m=f.get(t),O=f.get(e);if(m&&O)return m==e&&O==t;var y=-1,T=!0,_=2&r?new n:void 0;for(f.set(t,e),f.set(e,t);++y<v;){var x=t[y],w=e[y];if(l)var I=h?l(w,x,y,e,t,f):l(x,w,y,t,e,f);if(void 0!==I){if(I)continue;T=!1;break}if(_){if(!o(e,(function(t,e){if(!c(_,e)&&(x===t||d(x,t,r,l,f)))return _.push(e)}))){T=!1;break}}else if(x!==w&&!d(x,w,r,l,f)){T=!1;break}}return f.delete(t),f.delete(e),T}},955:function(t,e,r){var n=r(956);t.exports=function(t,e){return n(t,e)}},956:function(t,e,r){var n=r(957),o=r(195);t.exports=function t(e,r,c,l,d){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,c,l,t,d))}},957:function(t,e,r){var n=r(958),o=r(810),c=r(965),l=r(968),d=r(738),f=r(143),h=r(687),v=r(688),j="[object Arguments]",m="[object Array]",O="[object Object]",y=Object.prototype.hasOwnProperty;t.exports=function(object,t,e,r,T,_){var x=f(object),w=f(t),I=x?m:d(object),k=w?m:d(t),A=(I=I==j?O:I)==O,S=(k=k==j?O:k)==O,P=I==k;if(P&&h(object)){if(!h(t))return!1;x=!0,A=!1}if(P&&!A)return _||(_=new n),x||v(object)?o(object,t,e,r,T,_):c(object,t,I,e,r,T,_);if(!(1&e)){var C=A&&y.call(object,"__wrapped__"),R=S&&y.call(t,"__wrapped__");if(C||R){var D=C?object.value():object,F=R?t.value():t;return _||(_=new n),T(D,F,e,r,_)}}return!!P&&(_||(_=new n),l(object,t,e,r,T,_))}},958:function(t,e,r){var n=r(359),o=r(959),c=r(960),l=r(961),d=r(962),f=r(963);function h(t){var data=this.__data__=new n(t);this.size=data.size}h.prototype.clear=o,h.prototype.delete=c,h.prototype.get=l,h.prototype.has=d,h.prototype.set=f,t.exports=h},959:function(t,e,r){var n=r(359);t.exports=function(){this.__data__=new n,this.size=0}},960:function(t,e){t.exports=function(t){var data=this.__data__,e=data.delete(t);return this.size=data.size,e}},961:function(t,e){t.exports=function(t){return this.__data__.get(t)}},962:function(t,e){t.exports=function(t){return this.__data__.has(t)}},963:function(t,e,r){var n=r(359),o=r(360),c=r(260);t.exports=function(t,e){var data=this.__data__;if(data instanceof n){var r=data.__data__;if(!o||r.length<199)return r.push([t,e]),this.size=++data.size,this;data=this.__data__=new c(r)}return data.set(t,e),this.size=data.size,this}},964:function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},965:function(t,e,r){var n=r(163),o=r(966),c=r(261),l=r(810),d=r(967),f=r(266),h=n?n.prototype:void 0,v=h?h.valueOf:void 0;t.exports=function(object,t,e,r,n,h,j){switch(e){case"[object DataView]":if(object.byteLength!=t.byteLength||object.byteOffset!=t.byteOffset)return!1;object=object.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(object.byteLength!=t.byteLength||!h(new o(object),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return c(+object,+t);case"[object Error]":return object.name==t.name&&object.message==t.message;case"[object RegExp]":case"[object String]":return object==t+"";case"[object Map]":var m=d;case"[object Set]":var O=1&r;if(m||(m=f),object.size!=t.size&&!O)return!1;var y=j.get(object);if(y)return y==t;r|=2,j.set(object,t);var T=l(m(object),m(t),r,n,h,j);return j.delete(object),T;case"[object Symbol]":if(v)return v.call(object)==v.call(t)}return!1}},966:function(t,e,r){var n=r(161).Uint8Array;t.exports=n},967:function(t,e){t.exports=function(map){var t=-1,e=Array(map.size);return map.forEach((function(r,n){e[++t]=[n,r]})),e}},968:function(t,e,r){var n=r(969),o=Object.prototype.hasOwnProperty;t.exports=function(object,t,e,r,c,l){var d=1&e,f=n(object),h=f.length;if(h!=n(t).length&&!d)return!1;for(var v=h;v--;){var j=f[v];if(!(d?j in t:o.call(t,j)))return!1}var m=l.get(object),O=l.get(t);if(m&&O)return m==t&&O==object;var y=!0;l.set(object,t),l.set(t,object);for(var T=d;++v<h;){var _=object[j=f[v]],x=t[j];if(r)var w=d?r(x,_,j,t,object,l):r(_,x,j,object,t,l);if(!(void 0===w?_===x||c(_,x,e,r,l):w)){y=!1;break}T||(T="constructor"==j)}if(y&&!T){var I=object.constructor,k=t.constructor;I==k||!("constructor"in object)||!("constructor"in t)||"function"==typeof I&&I instanceof I&&"function"==typeof k&&k instanceof k||(y=!1)}return l.delete(object),l.delete(t),y}},969:function(t,e,r){var n=r(970),o=r(971),c=r(974);t.exports=function(object){return n(object,c,o)}},970:function(t,e,r){var n=r(367),o=r(143);t.exports=function(object,t,e){var r=t(object);return o(object)?r:n(r,e(object))}},971:function(t,e,r){var n=r(972),o=r(973),c=Object.prototype.propertyIsEnumerable,l=Object.getOwnPropertySymbols,d=l?function(object){return null==object?[]:(object=Object(object),n(l(object),(function(symbol){return c.call(object,symbol)})))}:o;t.exports=d},972:function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,c=[];++r<n;){var l=t[r];e(l,r,t)&&(c[o++]=l)}return c}},973:function(t,e){t.exports=function(){return[]}},974:function(t,e,r){var n=r(975),o=r(735),c=r(742);t.exports=function(object){return c(object)?n(object):o(object)}},975:function(t,e,r){var n=r(976),o=r(257),c=r(143),l=r(687),d=r(262),f=r(688),h=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=c(t),v=!r&&o(t),j=!r&&!v&&l(t),m=!r&&!v&&!j&&f(t),O=r||v||j||m,y=O?n(t.length,String):[],T=y.length;for(var _ in t)!e&&!h.call(t,_)||O&&("length"==_||j&&("offset"==_||"parent"==_)||m&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||d(_,T))||y.push(_);return y}},976:function(t,e){t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},977:function(t,e,r){"use strict";r.d(e,"a",(function(){return w}));var n=r(6),o=r(8),c=r(2),l=r(9),d=r(1),f=r(53),h=r(4),v=r(0),j=r(25),m=r(29),O=r(226),y=r(87);function T(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function _(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?T(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):T(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var x=Object(v.d)(Object(h.m)(_(_({},j.b),{},{disabled:Object(v.c)(d.g,!1),noRemove:Object(v.c)(d.g,!1),pill:Object(v.c)(d.g,!1),removeLabel:Object(v.c)(d.q,"Remove tag"),tag:Object(v.c)(d.q,"span"),title:Object(v.c)(d.q),variant:Object(v.c)(d.q,"secondary")})),c.N),w=o.default.extend({name:c.N,mixins:[j.a,m.a],props:x,methods:{onRemove(t){var{type:e,keyCode:r}=t;this.disabled||"click"!==e&&("keydown"!==e||r!==f.b)||this.$emit(l.F)}},render(t){var{title:title,tag:e,variant:r,pill:n,disabled:o}=this,c=this.safeId(),l=this.safeId("_taglabel_"),d=t();this.noRemove||o||(d=t(y.a,{staticClass:"b-form-tag-remove",props:{ariaLabel:this.removeLabel},attrs:{"aria-controls":c,"aria-describedby":l,"aria-keyshortcuts":"Delete"},on:{click:this.onRemove,keydown:this.onRemove}}));var f=t("span",{staticClass:"b-form-tag-content flex-grow-1 text-truncate",attrs:{id:l}},this.normalizeSlot()||title);return t(O.a,{staticClass:"b-form-tag d-inline-flex align-items-baseline mw-100",class:{disabled:o},props:{tag:e,variant:r,pill:n},attrs:{id:c,title:title||null,"aria-labelledby":l}},[f,d])}})}}]);
//# sourceMappingURL=0b943bf.modern.js.map