@uportal/eyebrow-user-info
Advanced tools
Comparing version 1.33.2 to 1.34.0
module.exports = { | ||
presets: ['@babel/preset-env'], | ||
plugins: [['@babel/plugin-transform-runtime', {useESModules: true}]], | ||
plugins: [['@babel/plugin-transform-runtime', { useESModules: true }]] | ||
}; |
@@ -1,2 +0,2 @@ | ||
(function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="5a74")})({2350:function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"===typeof btoa){var i=r(o),a=o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"});return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function r(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return"/*# "+n+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"===typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"===typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"===typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},"257e":function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.r(t),n.d(t,"default",function(){return r})},"262e":function(e,t,n){"use strict";n.r(t),n.d(t,"default",function(){return o});var r=n("b380");function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(r["a"])(e,t)}},"35d6":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=i[0],s=i[1],l=i[2],u=i[3],c={id:e+":"+o,css:s,media:l,sourceMap:u};r[a]?r[a].parts.push(c):n.push(r[a]={id:a,parts:[c]})}return n}function o(e,t,n){var o=r(e,t);i(o,n)}function i(e,t){const n=t._injectedStyles||(t._injectedStyles={});for(var r=0;r<e.length;r++){var o=e[r],i=n[o.id];if(!i){for(var a=0;a<o.parts.length;a++)s(o.parts[a],t);n[o.id]=!0}}}function a(e){var t=document.createElement("style");return t.type="text/css",e.appendChild(t),t}function s(e,t){var n=a(t),r=e.css,o=e.media,i=e.sourceMap;if(o&&n.setAttribute("media",o),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),n.styleSheet)n.styleSheet.cssText=r;else{while(n.firstChild)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(r))}}n.r(t),n.d(t,"default",function(){return o})},3742:function(e,t,n){var r=n("d03e");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("8a474f50",r,e)}},"3edb":function(e,t,n){"use strict";n.r(t);var r=n("3742"),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t["default"]=o.a},"4ea4":function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},"5a74":function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&(Object({NODE_ENV:"production",BASE_URL:"/"}).NEED_CURRENTSCRIPT_POLYFILL&&n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=r[1]));var o=n("8bbf"),i=n.n(o),a=n("b803"),s=n.n(a);n("2350"),n("35d6");function l(e,t,n,r,o,i,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}var u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.userInfo},[n("div",{ref:"dropdownMenu",class:e.$style.dropdown},[n("div",{class:e.menuIsDark?[e.$style.lighter,e.$style.dropdownMenu]:e.$style.dropdownMenu,on:{click:function(t){return e.toggleDropdown(t)}}},[n("div",{class:e.$style.userName},[n("span",{class:e.$style.label},[e._v(e._s(e.displayName))])]),n("div",{class:e.$style.userAvatar},[n("img",{style:"height: "+e.avatarSize+"; width: "+e.avatarSize+";",attrs:{src:e.picture,alt:"avatar"}})])]),n("div",{class:e.visible?e.$style.dropdownContent:[e.$style.dropdownContent,e.$style.closed]},[n("div",{class:e.$style.userDetails},[n("div",{class:e.$style.userAvatar},[e.moreLink?n("a",{attrs:{href:e.moreLink,title:e.translate("userInfoPortletUrl.title")}},[n("img",{attrs:{src:e.picture,alt:"avatar"}})]):n("img",{attrs:{src:e.picture,alt:"avatar"}})]),n("div",{class:e.$style.wrapperInfo},[n("div",{class:e.$style.userName},[n("span",{class:e.$style.label},[e._v(e._s(e.displayName))])]),n("div",{class:e.$style.userMail},[n("span",{class:e.$style.label},[e._v(e._s(e.email))])])])]),e.logoutLink?n("div",{class:e.$style.signOut},[n("a",{attrs:{href:e.logoutLink,title:e.translate("buttons.logout")}},[n("span",[e._v(e._s(e.translate("buttons.logout")))]),n("i",{class:[e.$style.fa,e.$style.faSignOut],attrs:{"aria-hidden":"true"}})])]):e._e()])])])},c=[],f=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher"];function p(e,t){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}function d(e,t){"undefined"!==typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}function h(e){return null!==e&&"object"===typeof e}var b=Object.prototype.toString,y="[object Object]";function m(e){return b.call(e)===y}function g(e){return null===e||void 0===e}function v(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var n=null,r=null;return 1===e.length?h(e[0])||Array.isArray(e[0])?r=e[0]:"string"===typeof e[0]&&(n=e[0]):2===e.length&&("string"===typeof e[0]&&(n=e[0]),(h(e[1])||Array.isArray(e[1]))&&(r=e[1])),{locale:n,params:r}}function w(e){return JSON.parse(JSON.stringify(e))}function _(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var E=Object.prototype.hasOwnProperty;function I(e,t){return E.call(e,t)}function k(e){for(var t=arguments,n=Object(e),r=1;r<arguments.length;r++){var o=t[r];if(void 0!==o&&null!==o){var i=void 0;for(i in o)I(o,i)&&(h(o[i])?n[i]=k(n[i],o[i]):n[i]=o[i])}}return n}function x(e,t){if(e===t)return!0;var n=h(e),r=h(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every(function(e,n){return x(e,t[n])});if(o||i)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return x(e[n],t[n])})}catch(l){return!1}}function $(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[e,r.locale,r._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){var n=[],r=arguments.length-2;while(r-- >0)n[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[e,o.locale,o._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){var t,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){var t,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}}var U={beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n)if(e.i18n instanceof xe){if(e.__i18n)try{var t={};e.__i18n.forEach(function(e){t=k(t,JSON.parse(e))}),Object.keys(t).forEach(function(n){e.i18n.mergeLocaleMessage(n,t[n])})}catch(i){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(m(e.i18n)){if(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof xe&&(e.i18n.root=this.$root,e.i18n.formatter=this.$root.$i18n.formatter,e.i18n.fallbackLocale=this.$root.$i18n.fallbackLocale,e.i18n.formatFallbackMessages=this.$root.$i18n.formatFallbackMessages,e.i18n.silentTranslationWarn=this.$root.$i18n.silentTranslationWarn,e.i18n.silentFallbackWarn=this.$root.$i18n.silentFallbackWarn,e.i18n.pluralizationRules=this.$root.$i18n.pluralizationRules,e.i18n.preserveDirectiveContent=this.$root.$i18n.preserveDirectiveContent),e.__i18n)try{var n={};e.__i18n.forEach(function(e){n=k(n,JSON.parse(e))}),e.i18n.messages=n}catch(i){0}var r=e.i18n,o=r.sharedMessages;o&&m(o)&&(e.i18n.messages=k(e.i18n.messages,o)),this._i18n=new xe(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale())}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof xe?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof xe&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n?e.i18n instanceof xe?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):m(e.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof xe?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof xe&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick(function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher),e._i18n=null})}}},F={name:"i18n",functional:!0,props:{tag:{type:String},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,r=t.parent,o=t.props,i=t.slots,a=r.$i18n;if(a){var s=o.path,l=o.locale,u=o.places,c=i(),f=a.i(s,l,M(c)||u?O(c.default,u):c),p=o.tag||"span";return p?e(p,n,f):f}}};function M(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}function O(e,t){var n=t?S(t):{};if(!e)return n;var r=e.every(L);return e.reduce(r?j:C,n)}function S(e){return Array.isArray(e)?e.reduce(C,{}):Object.assign({},e)}function j(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function C(e,t,n){return e[n]=t,e}function L(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var T,D={name:"i18n-n",functional:!0,props:{tag:{type:String,default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,r=t.parent,o=t.data,i=r.$i18n;if(!i)return null;var a=null,s=null;"string"===typeof n.format?a=n.format:h(n.format)&&(n.format.key&&(a=n.format.key),s=Object.keys(n.format).reduce(function(e,t){var r;return f.includes(t)?Object.assign({},e,(r={},r[t]=n.format[t],r)):e},null));var l=n.locale||i.locale,u=i._ntp(n.value,l,a,s),c=u.map(function(e,t){var n,r=o.scopedSlots&&o.scopedSlots[e.type];return r?r((n={},n[e.type]=e.value,n.index=t,n.parts=u,n)):e.value});return e(n.tag,{attrs:o.attrs,class:o["class"],staticClass:o.staticClass},c)}};function N(e,t,n){W(e,n)&&H(e,t,n)}function R(e,t,n,r){if(W(e,n)){var o=n.context.$i18n;P(e,n)&&x(t.value,t.oldValue)&&x(e._localeMessage,o.getLocaleMessage(o.locale))||H(e,t,n)}}function A(e,t,n,r){var o=n.context;if(o){var i=n.context.$i18n||{};t.modifiers.preserve||i.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e["_vt"],e._locale=void 0,delete e["_locale"],e._localeMessage=void 0,delete e["_localeMessage"]}else p("Vue instance does not exists in VNode context")}function W(e,t){var n=t.context;return n?!!n.$i18n||(p("VueI18n instance does not exists in Vue instance"),!1):(p("Vue instance does not exists in VNode context"),!1)}function P(e,t){var n=t.context;return e._locale===n.$i18n.locale}function H(e,t,n){var r,o,i=t.value,a=z(i),s=a.path,l=a.locale,u=a.args,c=a.choice;if(s||l||u)if(s){var f=n.context;e._vt=e.textContent=c?(r=f.$i18n).tc.apply(r,[s,c].concat(V(l,u))):(o=f.$i18n).t.apply(o,[s].concat(V(l,u))),e._locale=f.$i18n.locale,e._localeMessage=f.$i18n.getLocaleMessage(f.$i18n.locale)}else p("`path` is required in v-t directive");else p("value type not supported")}function z(e){var t,n,r,o;return"string"===typeof e?t=e:m(e)&&(t=e.path,n=e.locale,r=e.args,o=e.choice),{path:t,locale:n,args:r,choice:o}}function V(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||m(t))&&n.push(t),n}function J(e){J.installed=!0,T=e;T.version&&Number(T.version.split(".")[0]);$(T),T.mixin(U),T.directive("t",{bind:N,update:R,unbind:A}),T.component(F.name,F),T.component(D.name,D);var t=T.config.optionMergeStrategies;t.i18n=function(e,t){return void 0===t?e:t}}var B=function(){this._caches=Object.create(null)};B.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=Z(e),this._caches[e]=n),G(n,t)};var q=/^(?:\d)+/,X=/^(?:\w)+/;function Z(e){var t=[],n=0,r="";while(n<e.length){var o=e[n++];if("{"===o){r&&t.push({type:"text",value:r}),r="";var i="";o=e[n++];while(void 0!==o&&"}"!==o)i+=o,o=e[n++];var a="}"===o,s=q.test(i)?"list":a&&X.test(i)?"named":"unknown";t.push({value:i,type:s})}else"%"===o?"{"!==e[n]&&(r+=o):r+=o}return r&&t.push({type:"text",value:r}),t}function G(e,t){var n=[],r=0,o=Array.isArray(t)?"list":h(t)?"named":"unknown";if("unknown"===o)return n;while(r<e.length){var i=e[r];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===o&&n.push(t[i.value]);break;case"unknown":0;break}r++}return n}var Y=0,K=1,Q=2,ee=3,te=0,ne=1,re=2,oe=3,ie=4,ae=5,se=6,le=7,ue=8,ce=[];ce[te]={ws:[te],ident:[oe,Y],"[":[ie],eof:[le]},ce[ne]={ws:[ne],".":[re],"[":[ie],eof:[le]},ce[re]={ws:[re],ident:[oe,Y],0:[oe,Y],number:[oe,Y]},ce[oe]={ident:[oe,Y],0:[oe,Y],number:[oe,Y],ws:[ne,K],".":[re,K],"[":[ie,K],eof:[le,K]},ce[ie]={"'":[ae,Y],'"':[se,Y],"[":[ie,Q],"]":[ne,ee],eof:ue,else:[ie,Y]},ce[ae]={"'":[ie,Y],eof:ue,else:[ae,Y]},ce[se]={'"':[ie,Y],eof:ue,else:[se,Y]};var fe=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function pe(e){return fe.test(e)}function de(e){var t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t!==n||34!==t&&39!==t?e:e.slice(1,-1)}function he(e){if(void 0===e||null===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function be(e){var t=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(pe(t)?de(t):"*"+t)}function ye(e){var t,n,r,o,i,a,s,l=[],u=-1,c=te,f=0,p=[];function d(){var t=e[u+1];if(c===ae&&"'"===t||c===se&&'"'===t)return u++,r="\\"+t,p[Y](),!0}p[K]=function(){void 0!==n&&(l.push(n),n=void 0)},p[Y]=function(){void 0===n?n=r:n+=r},p[Q]=function(){p[Y](),f++},p[ee]=function(){if(f>0)f--,c=ie,p[Y]();else{if(f=0,n=be(n),!1===n)return!1;p[K]()}};while(null!==c)if(u++,t=e[u],"\\"!==t||!d()){if(o=he(t),s=ce[c],i=s[o]||s["else"]||ue,i===ue)return;if(c=i[0],a=p[i[1]],a&&(r=i[2],r=void 0===r?t:r,!1===a()))return;if(c===le)return l}}var me=function(){this._cache=Object.create(null)};me.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=ye(e),t&&(this._cache[e]=t)),t||[]},me.prototype.getPathValue=function(e,t){if(!h(e))return null;var n=this.parsePath(t);if(0===n.length)return null;var r=n.length,o=e,i=0;while(i<r){var a=o[n[i]];if(void 0===a)return null;o=a,i++}return o};var ge,ve=/<\/?[\w\s="\/.':;#-\/]+>/,we=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,_e=/^@(?:\.([a-z]+))?:/,Ee=/[()]/g,Ie={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()}},ke=new B,xe=function(e){var t=this;void 0===e&&(e={}),!T&&"undefined"!==typeof window&&window.Vue&&J(window.Vue);var n=e.locale||"en-US",r=e.fallbackLocale||"en-US",o=e.messages||{},i=e.dateTimeFormats||{},a=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||ke,this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new me,this._dataListeners=[],this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._exist=function(e,n){return!(!e||!n)&&(!g(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach(function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,o[e])}),this._initVM({locale:n,fallbackLocale:r,messages:o,dateTimeFormats:i,numberFormats:a})},$e={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0}};xe.prototype._checkLocaleMessage=function(e,t,n){var r=[],o=function(e,t,n,r){if(m(n))Object.keys(n).forEach(function(i){var a=n[i];m(a)?(r.push(i),r.push("."),o(e,t,a,r),r.pop(),r.pop()):(r.push(i),o(e,t,a,r),r.pop())});else if(Array.isArray(n))n.forEach(function(n,i){m(n)?(r.push("["+i+"]"),r.push("."),o(e,t,n,r),r.pop(),r.pop()):(r.push("["+i+"]"),o(e,t,n,r),r.pop())});else if("string"===typeof n){var i=ve.test(n);if(i){var a="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?p(a):"error"===e&&d(a)}}};o(t,e,n,r)},xe.prototype._initVM=function(e){var t=T.config.silent;T.config.silent=!0,this._vm=new T({data:e}),T.config.silent=t},xe.prototype.destroyVM=function(){this._vm.$destroy()},xe.prototype.subscribeDataChanging=function(e){this._dataListeners.push(e)},xe.prototype.unsubscribeDataChanging=function(e){_(this._dataListeners,e)},xe.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",function(){var t=e._dataListeners.length;while(t--)T.nextTick(function(){e._dataListeners[t]&&e._dataListeners[t].$forceUpdate()})},{deep:!0})},xe.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var e=this._vm;return this._root.$i18n.vm.$watch("locale",function(t){e.$set(e,"locale",t),e.$forceUpdate()},{immediate:!0})},$e.vm.get=function(){return this._vm},$e.messages.get=function(){return w(this._getMessages())},$e.dateTimeFormats.get=function(){return w(this._getDateTimeFormats())},$e.numberFormats.get=function(){return w(this._getNumberFormats())},$e.availableLocales.get=function(){return Object.keys(this.messages).sort()},$e.locale.get=function(){return this._vm.locale},$e.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},$e.fallbackLocale.get=function(){return this._vm.fallbackLocale},$e.fallbackLocale.set=function(e){this._vm.$set(this._vm,"fallbackLocale",e)},$e.formatFallbackMessages.get=function(){return this._formatFallbackMessages},$e.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},$e.missing.get=function(){return this._missing},$e.missing.set=function(e){this._missing=e},$e.formatter.get=function(){return this._formatter},$e.formatter.set=function(e){this._formatter=e},$e.silentTranslationWarn.get=function(){return this._silentTranslationWarn},$e.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},$e.silentFallbackWarn.get=function(){return this._silentFallbackWarn},$e.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},$e.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},$e.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},$e.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},$e.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var r=this._getMessages();Object.keys(r).forEach(function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,r[e])})}},xe.prototype._getMessages=function(){return this._vm.messages},xe.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},xe.prototype._getNumberFormats=function(){return this._vm.numberFormats},xe.prototype._warnDefault=function(e,t,n,r,o){if(!g(n))return n;if(this._missing){var i=this._missing.apply(null,[e,t,r,o]);if("string"===typeof i)return i}else 0;if(this._formatFallbackMessages){var a=v.apply(void 0,o);return this._render(t,"string",a.params,t)}return t},xe.prototype._isFallbackRoot=function(e){return!e&&!g(this._root)&&this._fallbackRoot},xe.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},xe.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},xe.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},xe.prototype._interpolate=function(e,t,n,r,o,i,a){if(!t)return null;var s,l=this._path.getPathValue(t,n);if(Array.isArray(l)||m(l))return l;if(g(l)){if(!m(t))return null;if(s=t[n],"string"!==typeof s)return null}else{if("string"!==typeof l)return null;s=l}return(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(e,t,s,r,"raw",i,a)),this._render(s,o,i,n)},xe.prototype._link=function(e,t,n,r,o,i,a){var s=n,l=s.match(we);for(var u in l)if(l.hasOwnProperty(u)){var c=l[u],f=c.match(_e),p=f[0],d=f[1],h=c.replace(p,"").replace(Ee,"");if(a.includes(h))return s;a.push(h);var b=this._interpolate(e,t,h,r,"raw"===o?"string":o,"raw"===o?void 0:i,a);if(this._isFallbackRoot(b)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;b=y._translate(y._getMessages(),y.locale,y.fallbackLocale,h,r,o,i)}b=this._warnDefault(e,h,b,r,Array.isArray(i)?i:[i]),Ie.hasOwnProperty(d)&&(b=Ie[d](b)),a.pop(),s=b?s.replace(c,b):s}return s},xe.prototype._render=function(e,t,n,r){var o=this._formatter.interpolate(e,n,r);return o||(o=ke.interpolate(e,n,r)),"string"===t?o.join(""):o},xe.prototype._translate=function(e,t,n,r,o,i,a){var s=this._interpolate(t,e[t],r,o,i,a,[r]);return g(s)?(s=this._interpolate(n,e[n],r,o,i,a,[r]),g(s)?null:s):s},xe.prototype._t=function(e,t,n,r){var o,i=[],a=arguments.length-4;while(a-- >0)i[a]=arguments[a+4];if(!e)return"";var s=v.apply(void 0,i),l=s.locale||t,u=this._translate(n,l,this.fallbackLocale,e,r,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[e].concat(i))}return this._warnDefault(l,e,u,r,i)},xe.prototype.t=function(e){var t,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},xe.prototype._i=function(e,t,n,r,o){var i=this._translate(n,t,this.fallbackLocale,e,r,"raw",o);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,o)}return this._warnDefault(t,e,i,r,[o])},xe.prototype.i=function(e,t,n){return e?("string"!==typeof t&&(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},xe.prototype._tc=function(e,t,n,r,o){var i,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!e)return"";void 0===o&&(o=1);var l={count:o,n:o},u=v.apply(void 0,a);return u.params=Object.assign(l,u.params),a=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((i=this)._t.apply(i,[e,t,n,r].concat(a)),o)},xe.prototype.fetchChoice=function(e,t){if(!e&&"string"!==typeof e)return null;var n=e.split("|");return t=this.getChoiceIndex(t,n.length),n[t]?n[t].trim():e},xe.prototype.getChoiceIndex=function(e,t){var n=function(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0};return this.locale in this.pluralizationRules?this.pluralizationRules[this.locale].apply(this,[e,t]):n(e,t)},xe.prototype.tc=function(e,t){var n,r=[],o=arguments.length-2;while(o-- >0)r[o]=arguments[o+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(r))},xe.prototype._te=function(e,t,n){var r=[],o=arguments.length-3;while(o-- >0)r[o]=arguments[o+3];var i=v.apply(void 0,r).locale||t;return this._exist(n[i],e)},xe.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},xe.prototype.getLocaleMessage=function(e){return w(this._vm.messages[e]||{})},xe.prototype.setLocaleMessage=function(e,t){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(e,this._warnHtmlInMessage,t),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,e,t)},xe.prototype.mergeLocaleMessage=function(e,t){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(e,this._warnHtmlInMessage,t),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,e,k(this._vm.messages[e]||{},t))},xe.prototype.getDateTimeFormat=function(e){return w(this._vm.dateTimeFormats[e]||{})},xe.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t)},xe.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,k(this._vm.dateTimeFormats[e]||{},t))},xe.prototype._localizeDateTime=function(e,t,n,r,o){var i=t,a=r[i];if((g(a)||g(a[o]))&&(i=n,a=r[i]),g(a)||g(a[o]))return null;var s=a[o],l=i+"__"+o,u=this._dateTimeFormatters[l];return u||(u=this._dateTimeFormatters[l]=new Intl.DateTimeFormat(i,s)),u.format(e)},xe.prototype._d=function(e,t,n){if(!n)return new Intl.DateTimeFormat(t).format(e);var r=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return r||""},xe.prototype.d=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var r=this.locale,o=null;return 1===t.length?"string"===typeof t[0]?o=t[0]:h(t[0])&&(t[0].locale&&(r=t[0].locale),t[0].key&&(o=t[0].key)):2===t.length&&("string"===typeof t[0]&&(o=t[0]),"string"===typeof t[1]&&(r=t[1])),this._d(e,r,o)},xe.prototype.getNumberFormat=function(e){return w(this._vm.numberFormats[e]||{})},xe.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t)},xe.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,k(this._vm.numberFormats[e]||{},t))},xe.prototype._getNumberFormatter=function(e,t,n,r,o,i){var a=t,s=r[a];if((g(s)||g(s[o]))&&(a=n,s=r[a]),g(s)||g(s[o]))return null;var l,u=s[o];if(i)l=new Intl.NumberFormat(a,Object.assign({},u,i));else{var c=a+"__"+o;l=this._numberFormatters[c],l||(l=this._numberFormatters[c]=new Intl.NumberFormat(a,u))}return l},xe.prototype._n=function(e,t,n,r){if(!xe.availabilities.numberFormat)return"";if(!n){var o=r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t);return o.format(e)}var i=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),a=i&&i.format(e);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},r))}return a||""},xe.prototype.n=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var r=this.locale,o=null,i=null;return 1===t.length?"string"===typeof t[0]?o=t[0]:h(t[0])&&(t[0].locale&&(r=t[0].locale),t[0].key&&(o=t[0].key),i=Object.keys(t[0]).reduce(function(e,n){var r;return f.includes(n)?Object.assign({},e,(r={},r[n]=t[0][n],r)):e},null)):2===t.length&&("string"===typeof t[0]&&(o=t[0]),"string"===typeof t[1]&&(r=t[1])),this._n(e,r,o,i)},xe.prototype._ntp=function(e,t,n,r){if(!xe.availabilities.numberFormat)return[];if(!n){var o=r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t);return o.formatToParts(e)}var i=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),a=i&&i.formatToParts(e);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,r)}return a||[]},Object.defineProperties(xe.prototype,$e),Object.defineProperty(xe,"availabilities",{get:function(){if(!ge){var e="undefined"!==typeof Intl;ge={dateTimeFormat:e&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:e&&"undefined"!==typeof Intl.NumberFormat}}return ge}}),xe.install=J,xe.version="8.14.0";var Ue=xe;function Fe(e){var t=["languages","language","browserLanguage","userLanguage","systemLanguage"],n=t.flatMap(function(e){return navigator[e]}).filter(function(e){return e}).map(function(e){return e.substring(0,2)}).filter(function(e,t,n){return n.indexOf(e)===t}),r=n.find(function(t){return e.includes(t)});return r||"en"}function Me(){var e=n("88b1"),t={};return e.keys().forEach(function(n){var r=n.match(/([a-z0-9]+)\./i);if(r&&r.length>1){var o=r[1];t[o]=e(n)}}),t}i.a.use(Ue);var Oe=new Ue({locale:Fe(["fr","en"]),fallbackLocale:"en",messages:Me()}),Se={name:"EyebrowUserInfo",props:{displayName:{type:String,required:!0},email:{type:String,default:""},picture:{type:String,required:!0},moreLink:{type:String,default:null},logoutLink:{type:String,default:null},menuIsDark:{type:Boolean,default:!0},avatarSize:{type:String,default:"28px"}},data:function(){return{visible:!1}},created:function(){document.addEventListener("click",this.documentClick)},destroyed:function(){document.removeEventListener("click",this.documentClick)},methods:{translate:function(e,t){return Oe.t(e,t)},toggleDropdown:function(e){e.preventDefault(),this.visible=!this.visible},getEventTarget:function(e){var t=e.target||window;if(e.composed&&"function"===typeof e.composedPath){var n=e.composedPath();t=n[0]}return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t},documentClick:function(e){var t=this.$refs.dropdownMenu,n=this.getEventTarget(e);t===n||t.contains(n)||(this.visible=!1)}}},je=Se;function Ce(e){var t=n("3edb");t.__inject__&&t.__inject__(e),this["$style"]=t.locals||t}var Le=l(je,u,c,!1,Ce,null,null,!0),Te=Le.exports;window.customElements.define("eyebrow-user-info",s()(i.a,Te))},"7e84":function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.r(t),n.d(t,"default",function(){return r})},"88b1":function(e,t,n){var r={"./en.json":"edd4","./fr.json":"f693"};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id="88b1"},"8bbf":function(e,t){e.exports=Vue},9072:function(e,t,n){"use strict";n.r(t);var r=n("7e84"),o=n("b380");function i(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function a(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function s(e,t,n){return s=a()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=Function.bind.apply(e,r),a=new i;return n&&Object(o["a"])(a,n.prototype),a},s.apply(null,arguments)}function l(e){var t="function"===typeof Map?new Map:void 0;return l=function(e){if(null===e||!i(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return s(e,arguments,Object(r["default"])(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Object(o["a"])(n,e)},l(e)}n.d(t,"default",function(){return l})},"99de":function(e,t,n){"use strict";function r(e){return r="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},r(e)}function o(e){return o="function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)},o(e)}n.r(t);var i=n("257e");function a(e,t){return!t||"object"!==o(t)&&"function"!==typeof t?Object(i["default"])(e):t}n.d(t,"default",function(){return a})},b380:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,"a",function(){return r})},b803:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("d4ec")),i=r(n("bee2")),a=r(n("99de")),s=r(n("7e84")),l=r(n("257e")),u=r(n("262e")),c=r(n("9072")),f=/-(\w)/g,p=function(e){return e.replace(f,function(e,t){return t?t.toUpperCase():""})},d=/\B([A-Z])/g,h=function(e){return e.replace(d,"-$1").toLowerCase()};function b(e){var t={};return e.forEach(function(e){t[e]=void 0}),t}function y(e,t,n){e[t]=[].concat(e[t]||[]),e[t].unshift(n)}function m(e,t){if(e){var n=e.$options[t]||[];n.forEach(function(t){t.call(e)})}}function g(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}var v=function(e){return/function Boolean/.test(String(e))},w=function(e){return/function Number/.test(String(e))};function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.type;if(v(r))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e;if(w(r)){var o=parseFloat(e,10);return isNaN(o)?e:o}return e}function E(e,t){for(var n=[],r=0,o=t.length;r<o;r++)n.push(I(e,t[r]));return n}function I(e,t){if(3===t.nodeType)return t.data.trim()?t.data:null;if(1===t.nodeType){var n={attrs:k(t),domProps:{innerHTML:t.innerHTML}};return n.attrs.slot&&(n.slot=n.attrs.slot,delete n.attrs.slot),e(t.tagName,n)}return null}function k(e){for(var t={},n=0,r=e.attributes.length;n<r;n++){var o=e.attributes[n];t[o.nodeName]=o.nodeValue}return t}function x(e,t){var n,r,f,d="function"===typeof t&&!t.cid,v=!1;function w(e){if(!v){var t="function"===typeof e?e.options:e,o=Array.isArray(t.props)?t.props:Object.keys(t.props||{});n=o.map(h),r=o.map(p);var i=Array.isArray(t.props)?{}:t.props||{};f=r.reduce(function(e,t,n){return e[t]=i[o[n]],e},{}),y(t,"beforeCreate",function(){var e=this,t=this.$emit;this.$emit=function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.$root.$options.customElement.dispatchEvent(g(n,o)),t.call.apply(t,[e,n].concat(o))}}),y(t,"created",function(){var e=this;r.forEach(function(t){e.$root.props[t]=e[t]})}),r.forEach(function(e){Object.defineProperty(k.prototype,e,{get:function(){return this._wrapper.props[e]},set:function(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})}),v=!0}}function I(e,t){var n=p(t),r=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[n]=_(r,t,f[n])}var k=function(c){function f(){var n;(0,o.default)(this,f),n=(0,a.default)(this,(0,s.default)(f).call(this)),n.attachShadow({mode:"open"});var r=n._wrapper=new e({name:"shadow-root",customElement:(0,l.default)(n),shadowRoot:n.shadowRoot,data:function(){return{props:{},slotChildren:[]}},render:function(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}}),i=new MutationObserver(function(e){for(var t=!1,o=0;o<e.length;o++){var i=e[o];v&&"attributes"===i.type&&i.target===(0,l.default)(n)?I((0,l.default)(n),i.attributeName):t=!0}t&&(r.slotChildren=Object.freeze(E(r.$createElement,n.childNodes)))});return i.observe((0,l.default)(n),{childList:!0,subtree:!0,characterData:!0,attributes:!0}),n}return(0,u.default)(f,c),(0,i.default)(f,[{key:"connectedCallback",value:function(){var e=this,o=this._wrapper;if(o._isMounted)m(this.vueComponent,"activated");else{var i=function(){o.props=b(r),n.forEach(function(t){I(e,t)})};v?i():t().then(function(e){(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),w(e),i()}),o.slotChildren=Object.freeze(E(o.$createElement,this.childNodes)),o.$mount(),this.shadowRoot.appendChild(o.$el)}}},{key:"disconnectedCallback",value:function(){m(this.vueComponent,"deactivated")}},{key:"vueComponent",get:function(){return this._wrapper.$refs.inner}}]),f}((0,c.default)(HTMLElement));return d||w(t),k}var $=x;t.default=$},bee2:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.r(t),n.d(t,"default",function(){return o})},d03e:function(e,t,n){t=e.exports=n("2350")(!1),t.push([e.i,'.EyebrowUserInfo-user-info .EyebrowUserInfo-fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome,sans-serif;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.EyebrowUserInfo-user-info .EyebrowUserInfo-fa-sign-out:before{content:"\\F08B"}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown{height:100%;width:100%;position:relative;display:inline-block;right:0}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-menu{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#000}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-menu.EyebrowUserInfo-lighter{color:#fff}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-menu :not(:first-child){margin-left:5px}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-menu>.EyebrowUserInfo-user-name{display:block}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-menu>.EyebrowUserInfo-user-avatar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-menu>.EyebrowUserInfo-user-avatar>img{background-color:#d0d0d0;border-radius:50%;overflow:hidden}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content{position:absolute;min-width:280px;background-color:#fff;color:#000;-webkit-box-shadow:0 5px 5px -3px #888,5px 5px 5px -4px #888;box-shadow:0 5px 5px -3px #888,5px 5px 5px -4px #888;z-index:15;right:0;text-align:initial;visibility:visible;opacity:1;-webkit-transition:opacity .8s,visibility .8s;transition:opacity .8s,visibility .8s;-webkit-animation:EyebrowUserInfo-fade .8s;animation:EyebrowUserInfo-fade .8s}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content.EyebrowUserInfo-closed{visibility:hidden;opacity:0}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>div.EyebrowUserInfo-user-details{padding:25px 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;font-size:14px}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>div.EyebrowUserInfo-user-details>*{margin:0 0 0 15px}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>div.EyebrowUserInfo-user-details>:last-child{margin-right:15px}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>div.EyebrowUserInfo-user-details>.EyebrowUserInfo-user-avatar{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>div.EyebrowUserInfo-user-details>.EyebrowUserInfo-user-avatar img{background-color:#d0d0d0;border-radius:50%;height:68px;width:68px}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>div.EyebrowUserInfo-user-details .EyebrowUserInfo-wrapper-info{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-item-align:center;align-self:center}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>.EyebrowUserInfo-sign-out{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#d0d0d0;width:100%;text-align:right}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>.EyebrowUserInfo-sign-out:hover{background-color:#b7b7b7}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>.EyebrowUserInfo-sign-out>a{padding-right:15px;text-decoration:none;color:inherit;width:100%}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>.EyebrowUserInfo-sign-out>a>*{line-height:32px;vertical-align:top}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>.EyebrowUserInfo-sign-out>a>span{text-transform:uppercase;margin-right:5px}',""]),t.locals={userInfo:"EyebrowUserInfo-user-info",fa:"EyebrowUserInfo-fa",faSignOut:"EyebrowUserInfo-fa-sign-out",dropdown:"EyebrowUserInfo-dropdown",dropdownMenu:"EyebrowUserInfo-dropdown-menu",lighter:"EyebrowUserInfo-lighter",userName:"EyebrowUserInfo-user-name",userAvatar:"EyebrowUserInfo-user-avatar",dropdownContent:"EyebrowUserInfo-dropdown-content",fade:"EyebrowUserInfo-fade",closed:"EyebrowUserInfo-closed",userDetails:"EyebrowUserInfo-user-details",wrapperInfo:"EyebrowUserInfo-wrapper-info",signOut:"EyebrowUserInfo-sign-out"}},d4ec:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.r(t),n.d(t,"default",function(){return r})},edd4:function(e){e.exports=JSON.parse('{"userInfoPortletUrl.title":"See my account information","buttons.logout":"Sign out"}')},f693:function(e){e.exports=JSON.parse('{"userInfoPortletUrl.title":"Voir les informations de mon compte","buttons.logout":"Déconnexion"}')},f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)}}); | ||
(function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="5a74")})({2350:function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"===typeof btoa){var i=r(o),a=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function r(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return"/*# "+n+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,n){"string"===typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"===typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"===typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},"257e":function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.r(t),n.d(t,"default",(function(){return r}))},"262e":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var r=n("b380");function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(r["a"])(e,t)}},"35d6":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],a=i[0],s=i[1],l=i[2],u=i[3],c={id:e+":"+o,css:s,media:l,sourceMap:u};r[a]?r[a].parts.push(c):n.push(r[a]={id:a,parts:[c]})}return n}function o(e,t,n){var o=r(e,t);i(o,n)}function i(e,t){const n=t._injectedStyles||(t._injectedStyles={});for(var r=0;r<e.length;r++){var o=e[r],i=n[o.id];if(!i){for(var a=0;a<o.parts.length;a++)s(o.parts[a],t);n[o.id]=!0}}}function a(e){var t=document.createElement("style");return t.type="text/css",e.appendChild(t),t}function s(e,t){var n=a(t),r=e.css,o=e.media,i=e.sourceMap;if(o&&n.setAttribute("media",o),i&&(r+="\n/*# sourceURL="+i.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),n.styleSheet)n.styleSheet.cssText=r;else{while(n.firstChild)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(r))}}n.r(t),n.d(t,"default",(function(){return o}))},3742:function(e,t,n){var r=n("d03e");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var o=n("35d6").default;e.exports.__inject__=function(e){o("8a474f50",r,e)}},"3edb":function(e,t,n){"use strict";n.r(t);var r=n("3742"),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t["default"]=o.a},"4ea4":function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},"5a74":function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&(Object({NODE_ENV:"production",BASE_URL:"/"}).NEED_CURRENTSCRIPT_POLYFILL&&n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var o=n("8bbf"),i=n.n(o),a=n("b803"),s=n.n(a);n("2350"),n("35d6");function l(e,t,n,r,o,i,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}var u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.userInfo},[n("div",{ref:"dropdownMenu",class:e.$style.dropdown},[n("div",{class:e.menuIsDark?[e.$style.lighter,e.$style.dropdownMenu]:e.$style.dropdownMenu,on:{click:function(t){return e.toggleDropdown(t)}}},[n("div",{class:e.$style.userName},[n("span",{class:e.$style.label},[e._v(e._s(e.displayName))])]),n("div",{class:e.$style.userAvatar},[n("img",{style:"height: "+e.avatarSize+"; width: "+e.avatarSize+";",attrs:{src:e.picture,alt:"avatar"}})])]),n("div",{class:e.visible?e.$style.dropdownContent:[e.$style.dropdownContent,e.$style.closed]},[n("div",{class:e.$style.userDetails},[n("div",{class:e.$style.userAvatar},[e.moreLink?n("a",{attrs:{href:e.moreLink,title:e.translate("userInfoPortletUrl.title")}},[n("img"),n("img",{attrs:{src:e.picture,alt:"avatar"}})]):n("img",{attrs:{src:e.picture,alt:"avatar"}})]),n("div",{class:e.$style.wrapperInfo},[n("div",{class:e.$style.userName},[n("span",{class:e.$style.label},[e._v(e._s(e.displayName))])]),n("div",{class:e.$style.userMail},[n("span",{class:e.$style.label},[e._v(e._s(e.email))])])])]),e.logoutLink?n("div",{class:e.$style.signOut},[n("a",{attrs:{href:e.logoutLink,title:e.translate("buttons.logout")}},[n("span",[e._v(e._s(e.translate("buttons.logout")))]),n("i",{class:[e.$style.fa,e.$style.faSignOut],attrs:{"aria-hidden":"true"}})])]):e._e()])])])},c=[],f=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher"];function p(e,t){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}function d(e,t){"undefined"!==typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}function h(e){return null!==e&&"object"===typeof e}var b=Object.prototype.toString,y="[object Object]";function m(e){return b.call(e)===y}function g(e){return null===e||void 0===e}function v(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var n=null,r=null;return 1===e.length?h(e[0])||Array.isArray(e[0])?r=e[0]:"string"===typeof e[0]&&(n=e[0]):2===e.length&&("string"===typeof e[0]&&(n=e[0]),(h(e[1])||Array.isArray(e[1]))&&(r=e[1])),{locale:n,params:r}}function w(e){return JSON.parse(JSON.stringify(e))}function _(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var E=Object.prototype.hasOwnProperty;function I(e,t){return E.call(e,t)}function x(e){for(var t=arguments,n=Object(e),r=1;r<arguments.length;r++){var o=t[r];if(void 0!==o&&null!==o){var i=void 0;for(i in o)I(o,i)&&(h(o[i])?n[i]=x(n[i],o[i]):n[i]=o[i])}}return n}function k(e,t){if(e===t)return!0;var n=h(e),r=h(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every((function(e,n){return k(e,t[n])}));if(o||i)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return k(e[n],t[n])}))}catch(l){return!1}}function $(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[e,r.locale,r._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){var n=[],r=arguments.length-2;while(r-- >0)n[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[e,o.locale,o._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){var t,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){var t,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}}var U={beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n)if(e.i18n instanceof ke){if(e.__i18n)try{var t={};e.__i18n.forEach((function(e){t=x(t,JSON.parse(e))})),Object.keys(t).forEach((function(n){e.i18n.mergeLocaleMessage(n,t[n])}))}catch(i){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(m(e.i18n)){if(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ke&&(e.i18n.root=this.$root,e.i18n.formatter=this.$root.$i18n.formatter,e.i18n.fallbackLocale=this.$root.$i18n.fallbackLocale,e.i18n.formatFallbackMessages=this.$root.$i18n.formatFallbackMessages,e.i18n.silentTranslationWarn=this.$root.$i18n.silentTranslationWarn,e.i18n.silentFallbackWarn=this.$root.$i18n.silentFallbackWarn,e.i18n.pluralizationRules=this.$root.$i18n.pluralizationRules,e.i18n.preserveDirectiveContent=this.$root.$i18n.preserveDirectiveContent),e.__i18n)try{var n={};e.__i18n.forEach((function(e){n=x(n,JSON.parse(e))})),e.i18n.messages=n}catch(i){0}var r=e.i18n,o=r.sharedMessages;o&&m(o)&&(e.i18n.messages=x(e.i18n.messages,o)),this._i18n=new ke(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale())}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ke?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof ke&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n?e.i18n instanceof ke?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):m(e.i18n)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ke?(this._i18n.subscribeDataChanging(this),this._subscribing=!0):e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof ke&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher),e._i18n=null}))}}},F={name:"i18n",functional:!0,props:{tag:{type:String},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,r=t.parent,o=t.props,i=t.slots,a=r.$i18n;if(a){var s=o.path,l=o.locale,u=o.places,c=i(),f=a.i(s,l,M(c)||u?O(c.default,u):c),p=o.tag||"span";return p?e(p,n,f):f}}};function M(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}function O(e,t){var n=t?S(t):{};if(!e)return n;e=e.filter((function(e){return e.tag||""!==e.text.trim()}));var r=e.every(L);return e.reduce(r?j:C,n)}function S(e){return Array.isArray(e)?e.reduce(C,{}):Object.assign({},e)}function j(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function C(e,t,n){return e[n]=t,e}function L(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var T,D={name:"i18n-n",functional:!0,props:{tag:{type:String,default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,r=t.parent,o=t.data,i=r.$i18n;if(!i)return null;var a=null,s=null;"string"===typeof n.format?a=n.format:h(n.format)&&(n.format.key&&(a=n.format.key),s=Object.keys(n.format).reduce((function(e,t){var r;return f.includes(t)?Object.assign({},e,(r={},r[t]=n.format[t],r)):e}),null));var l=n.locale||i.locale,u=i._ntp(n.value,l,a,s),c=u.map((function(e,t){var n,r=o.scopedSlots&&o.scopedSlots[e.type];return r?r((n={},n[e.type]=e.value,n.index=t,n.parts=u,n)):e.value}));return e(n.tag,{attrs:o.attrs,class:o["class"],staticClass:o.staticClass},c)}};function N(e,t,n){W(e,n)&&H(e,t,n)}function R(e,t,n,r){if(W(e,n)){var o=n.context.$i18n;P(e,n)&&k(t.value,t.oldValue)&&k(e._localeMessage,o.getLocaleMessage(o.locale))||H(e,t,n)}}function A(e,t,n,r){var o=n.context;if(o){var i=n.context.$i18n||{};t.modifiers.preserve||i.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e["_vt"],e._locale=void 0,delete e["_locale"],e._localeMessage=void 0,delete e["_localeMessage"]}else p("Vue instance does not exists in VNode context")}function W(e,t){var n=t.context;return n?!!n.$i18n||(p("VueI18n instance does not exists in Vue instance"),!1):(p("Vue instance does not exists in VNode context"),!1)}function P(e,t){var n=t.context;return e._locale===n.$i18n.locale}function H(e,t,n){var r,o,i=t.value,a=z(i),s=a.path,l=a.locale,u=a.args,c=a.choice;if(s||l||u)if(s){var f=n.context;e._vt=e.textContent=c?(r=f.$i18n).tc.apply(r,[s,c].concat(V(l,u))):(o=f.$i18n).t.apply(o,[s].concat(V(l,u))),e._locale=f.$i18n.locale,e._localeMessage=f.$i18n.getLocaleMessage(f.$i18n.locale)}else p("`path` is required in v-t directive");else p("value type not supported")}function z(e){var t,n,r,o;return"string"===typeof e?t=e:m(e)&&(t=e.path,n=e.locale,r=e.args,o=e.choice),{path:t,locale:n,args:r,choice:o}}function V(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||m(t))&&n.push(t),n}function J(e){J.installed=!0,T=e;T.version&&Number(T.version.split(".")[0]);$(T),T.mixin(U),T.directive("t",{bind:N,update:R,unbind:A}),T.component(F.name,F),T.component(D.name,D);var t=T.config.optionMergeStrategies;t.i18n=function(e,t){return void 0===t?e:t}}var B=function(){this._caches=Object.create(null)};B.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=Z(e),this._caches[e]=n),G(n,t)};var q=/^(?:\d)+/,X=/^(?:\w)+/;function Z(e){var t=[],n=0,r="";while(n<e.length){var o=e[n++];if("{"===o){r&&t.push({type:"text",value:r}),r="";var i="";o=e[n++];while(void 0!==o&&"}"!==o)i+=o,o=e[n++];var a="}"===o,s=q.test(i)?"list":a&&X.test(i)?"named":"unknown";t.push({value:i,type:s})}else"%"===o?"{"!==e[n]&&(r+=o):r+=o}return r&&t.push({type:"text",value:r}),t}function G(e,t){var n=[],r=0,o=Array.isArray(t)?"list":h(t)?"named":"unknown";if("unknown"===o)return n;while(r<e.length){var i=e[r];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===o&&n.push(t[i.value]);break;case"unknown":0;break}r++}return n}var Y=0,K=1,Q=2,ee=3,te=0,ne=1,re=2,oe=3,ie=4,ae=5,se=6,le=7,ue=8,ce=[];ce[te]={ws:[te],ident:[oe,Y],"[":[ie],eof:[le]},ce[ne]={ws:[ne],".":[re],"[":[ie],eof:[le]},ce[re]={ws:[re],ident:[oe,Y],0:[oe,Y],number:[oe,Y]},ce[oe]={ident:[oe,Y],0:[oe,Y],number:[oe,Y],ws:[ne,K],".":[re,K],"[":[ie,K],eof:[le,K]},ce[ie]={"'":[ae,Y],'"':[se,Y],"[":[ie,Q],"]":[ne,ee],eof:ue,else:[ie,Y]},ce[ae]={"'":[ie,Y],eof:ue,else:[ae,Y]},ce[se]={'"':[ie,Y],eof:ue,else:[se,Y]};var fe=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function pe(e){return fe.test(e)}function de(e){var t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t!==n||34!==t&&39!==t?e:e.slice(1,-1)}function he(e){if(void 0===e||null===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function be(e){var t=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(pe(t)?de(t):"*"+t)}function ye(e){var t,n,r,o,i,a,s,l=[],u=-1,c=te,f=0,p=[];function d(){var t=e[u+1];if(c===ae&&"'"===t||c===se&&'"'===t)return u++,r="\\"+t,p[Y](),!0}p[K]=function(){void 0!==n&&(l.push(n),n=void 0)},p[Y]=function(){void 0===n?n=r:n+=r},p[Q]=function(){p[Y](),f++},p[ee]=function(){if(f>0)f--,c=ie,p[Y]();else{if(f=0,void 0===n)return!1;if(n=be(n),!1===n)return!1;p[K]()}};while(null!==c)if(u++,t=e[u],"\\"!==t||!d()){if(o=he(t),s=ce[c],i=s[o]||s["else"]||ue,i===ue)return;if(c=i[0],a=p[i[1]],a&&(r=i[2],r=void 0===r?t:r,!1===a()))return;if(c===le)return l}}var me=function(){this._cache=Object.create(null)};me.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=ye(e),t&&(this._cache[e]=t)),t||[]},me.prototype.getPathValue=function(e,t){if(!h(e))return null;var n=this.parsePath(t);if(0===n.length)return null;var r=n.length,o=e,i=0;while(i<r){var a=o[n[i]];if(void 0===a)return null;o=a,i++}return o};var ge,ve=/<\/?[\w\s="/.':;#-\/]+>/,we=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,_e=/^@(?:\.([a-z]+))?:/,Ee=/[()]/g,Ie={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()}},xe=new B,ke=function(e){var t=this;void 0===e&&(e={}),!T&&"undefined"!==typeof window&&window.Vue&&J(window.Vue);var n=e.locale||"en-US",r=e.fallbackLocale||"en-US",o=e.messages||{},i=e.dateTimeFormats||{},a=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||xe,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new me,this._dataListeners=[],this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._exist=function(e,n){return!(!e||!n)&&(!g(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,o[e])})),this._initVM({locale:n,fallbackLocale:r,messages:o,dateTimeFormats:i,numberFormats:a})},$e={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0}};ke.prototype._checkLocaleMessage=function(e,t,n){var r=[],o=function(e,t,n,r){if(m(n))Object.keys(n).forEach((function(i){var a=n[i];m(a)?(r.push(i),r.push("."),o(e,t,a,r),r.pop(),r.pop()):(r.push(i),o(e,t,a,r),r.pop())}));else if(Array.isArray(n))n.forEach((function(n,i){m(n)?(r.push("["+i+"]"),r.push("."),o(e,t,n,r),r.pop(),r.pop()):(r.push("["+i+"]"),o(e,t,n,r),r.pop())}));else if("string"===typeof n){var i=ve.test(n);if(i){var a="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?p(a):"error"===e&&d(a)}}};o(t,e,n,r)},ke.prototype._initVM=function(e){var t=T.config.silent;T.config.silent=!0,this._vm=new T({data:e}),T.config.silent=t},ke.prototype.destroyVM=function(){this._vm.$destroy()},ke.prototype.subscribeDataChanging=function(e){this._dataListeners.push(e)},ke.prototype.unsubscribeDataChanging=function(e){_(this._dataListeners,e)},ke.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){var t=e._dataListeners.length;while(t--)T.nextTick((function(){e._dataListeners[t]&&e._dataListeners[t].$forceUpdate()}))}),{deep:!0})},ke.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var e=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){e.$set(e,"locale",t),e.$forceUpdate()}),{immediate:!0})},$e.vm.get=function(){return this._vm},$e.messages.get=function(){return w(this._getMessages())},$e.dateTimeFormats.get=function(){return w(this._getDateTimeFormats())},$e.numberFormats.get=function(){return w(this._getNumberFormats())},$e.availableLocales.get=function(){return Object.keys(this.messages).sort()},$e.locale.get=function(){return this._vm.locale},$e.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},$e.fallbackLocale.get=function(){return this._vm.fallbackLocale},$e.fallbackLocale.set=function(e){this._vm.$set(this._vm,"fallbackLocale",e)},$e.formatFallbackMessages.get=function(){return this._formatFallbackMessages},$e.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},$e.missing.get=function(){return this._missing},$e.missing.set=function(e){this._missing=e},$e.formatter.get=function(){return this._formatter},$e.formatter.set=function(e){this._formatter=e},$e.silentTranslationWarn.get=function(){return this._silentTranslationWarn},$e.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},$e.silentFallbackWarn.get=function(){return this._silentFallbackWarn},$e.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},$e.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},$e.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},$e.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},$e.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var r=this._getMessages();Object.keys(r).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,r[e])}))}},ke.prototype._getMessages=function(){return this._vm.messages},ke.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},ke.prototype._getNumberFormats=function(){return this._vm.numberFormats},ke.prototype._warnDefault=function(e,t,n,r,o){if(!g(n))return n;if(this._missing){var i=this._missing.apply(null,[e,t,r,o]);if("string"===typeof i)return i}else 0;if(this._formatFallbackMessages){var a=v.apply(void 0,o);return this._render(t,"string",a.params,t)}return t},ke.prototype._isFallbackRoot=function(e){return!e&&!g(this._root)&&this._fallbackRoot},ke.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},ke.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},ke.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},ke.prototype._interpolate=function(e,t,n,r,o,i,a){if(!t)return null;var s,l=this._path.getPathValue(t,n);if(Array.isArray(l)||m(l))return l;if(g(l)){if(!m(t))return null;if(s=t[n],"string"!==typeof s)return null}else{if("string"!==typeof l)return null;s=l}return(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(e,t,s,r,"raw",i,a)),this._render(s,o,i,n)},ke.prototype._link=function(e,t,n,r,o,i,a){var s=n,l=s.match(we);for(var u in l)if(l.hasOwnProperty(u)){var c=l[u],f=c.match(_e),p=f[0],d=f[1],h=c.replace(p,"").replace(Ee,"");if(a.includes(h))return s;a.push(h);var b=this._interpolate(e,t,h,r,"raw"===o?"string":o,"raw"===o?void 0:i,a);if(this._isFallbackRoot(b)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;b=y._translate(y._getMessages(),y.locale,y.fallbackLocale,h,r,o,i)}b=this._warnDefault(e,h,b,r,Array.isArray(i)?i:[i]),this._modifiers.hasOwnProperty(d)?b=this._modifiers[d](b):Ie.hasOwnProperty(d)&&(b=Ie[d](b)),a.pop(),s=b?s.replace(c,b):s}return s},ke.prototype._render=function(e,t,n,r){var o=this._formatter.interpolate(e,n,r);return o||(o=xe.interpolate(e,n,r)),"string"===t?o.join(""):o},ke.prototype._translate=function(e,t,n,r,o,i,a){var s=this._interpolate(t,e[t],r,o,i,a,[r]);return g(s)?(s=this._interpolate(n,e[n],r,o,i,a,[r]),g(s)?null:s):s},ke.prototype._t=function(e,t,n,r){var o,i=[],a=arguments.length-4;while(a-- >0)i[a]=arguments[a+4];if(!e)return"";var s=v.apply(void 0,i),l=s.locale||t,u=this._translate(n,l,this.fallbackLocale,e,r,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[e].concat(i))}return this._warnDefault(l,e,u,r,i)},ke.prototype.t=function(e){var t,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},ke.prototype._i=function(e,t,n,r,o){var i=this._translate(n,t,this.fallbackLocale,e,r,"raw",o);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,o)}return this._warnDefault(t,e,i,r,[o])},ke.prototype.i=function(e,t,n){return e?("string"!==typeof t&&(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},ke.prototype._tc=function(e,t,n,r,o){var i,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!e)return"";void 0===o&&(o=1);var l={count:o,n:o},u=v.apply(void 0,a);return u.params=Object.assign(l,u.params),a=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((i=this)._t.apply(i,[e,t,n,r].concat(a)),o)},ke.prototype.fetchChoice=function(e,t){if(!e&&"string"!==typeof e)return null;var n=e.split("|");return t=this.getChoiceIndex(t,n.length),n[t]?n[t].trim():e},ke.prototype.getChoiceIndex=function(e,t){var n=function(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0};return this.locale in this.pluralizationRules?this.pluralizationRules[this.locale].apply(this,[e,t]):n(e,t)},ke.prototype.tc=function(e,t){var n,r=[],o=arguments.length-2;while(o-- >0)r[o]=arguments[o+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(r))},ke.prototype._te=function(e,t,n){var r=[],o=arguments.length-3;while(o-- >0)r[o]=arguments[o+3];var i=v.apply(void 0,r).locale||t;return this._exist(n[i],e)},ke.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},ke.prototype.getLocaleMessage=function(e){return w(this._vm.messages[e]||{})},ke.prototype.setLocaleMessage=function(e,t){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(e,this._warnHtmlInMessage,t),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,e,t)},ke.prototype.mergeLocaleMessage=function(e,t){("warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||(this._checkLocaleMessage(e,this._warnHtmlInMessage,t),"error"!==this._warnHtmlInMessage))&&this._vm.$set(this._vm.messages,e,x(this._vm.messages[e]||{},t))},ke.prototype.getDateTimeFormat=function(e){return w(this._vm.dateTimeFormats[e]||{})},ke.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t)},ke.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,x(this._vm.dateTimeFormats[e]||{},t))},ke.prototype._localizeDateTime=function(e,t,n,r,o){var i=t,a=r[i];if((g(a)||g(a[o]))&&(i=n,a=r[i]),g(a)||g(a[o]))return null;var s=a[o],l=i+"__"+o,u=this._dateTimeFormatters[l];return u||(u=this._dateTimeFormatters[l]=new Intl.DateTimeFormat(i,s)),u.format(e)},ke.prototype._d=function(e,t,n){if(!n)return new Intl.DateTimeFormat(t).format(e);var r=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return r||""},ke.prototype.d=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var r=this.locale,o=null;return 1===t.length?"string"===typeof t[0]?o=t[0]:h(t[0])&&(t[0].locale&&(r=t[0].locale),t[0].key&&(o=t[0].key)):2===t.length&&("string"===typeof t[0]&&(o=t[0]),"string"===typeof t[1]&&(r=t[1])),this._d(e,r,o)},ke.prototype.getNumberFormat=function(e){return w(this._vm.numberFormats[e]||{})},ke.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t)},ke.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,x(this._vm.numberFormats[e]||{},t))},ke.prototype._getNumberFormatter=function(e,t,n,r,o,i){var a=t,s=r[a];if((g(s)||g(s[o]))&&(a=n,s=r[a]),g(s)||g(s[o]))return null;var l,u=s[o];if(i)l=new Intl.NumberFormat(a,Object.assign({},u,i));else{var c=a+"__"+o;l=this._numberFormatters[c],l||(l=this._numberFormatters[c]=new Intl.NumberFormat(a,u))}return l},ke.prototype._n=function(e,t,n,r){if(!ke.availabilities.numberFormat)return"";if(!n){var o=r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t);return o.format(e)}var i=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),a=i&&i.format(e);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},r))}return a||""},ke.prototype.n=function(e){var t=[],n=arguments.length-1;while(n-- >0)t[n]=arguments[n+1];var r=this.locale,o=null,i=null;return 1===t.length?"string"===typeof t[0]?o=t[0]:h(t[0])&&(t[0].locale&&(r=t[0].locale),t[0].key&&(o=t[0].key),i=Object.keys(t[0]).reduce((function(e,n){var r;return f.includes(n)?Object.assign({},e,(r={},r[n]=t[0][n],r)):e}),null)):2===t.length&&("string"===typeof t[0]&&(o=t[0]),"string"===typeof t[1]&&(r=t[1])),this._n(e,r,o,i)},ke.prototype._ntp=function(e,t,n,r){if(!ke.availabilities.numberFormat)return[];if(!n){var o=r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t);return o.formatToParts(e)}var i=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),a=i&&i.formatToParts(e);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,r)}return a||[]},Object.defineProperties(ke.prototype,$e),Object.defineProperty(ke,"availabilities",{get:function(){if(!ge){var e="undefined"!==typeof Intl;ge={dateTimeFormat:e&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:e&&"undefined"!==typeof Intl.NumberFormat}}return ge}}),ke.install=J,ke.version="8.15.0";var Ue=ke;function Fe(e){var t=["languages","language","browserLanguage","userLanguage","systemLanguage"],n=t.flatMap((function(e){return navigator[e]})).filter((function(e){return e})).map((function(e){return e.substring(0,2)})).filter((function(e,t,n){return n.indexOf(e)===t})),r=n.find((function(t){return e.includes(t)}));return r||"en"}function Me(){var e=n("88b1"),t={};return e.keys().forEach((function(n){var r=n.match(/([a-z0-9]+)\./i);if(r&&r.length>1){var o=r[1];t[o]=e(n)}})),t}i.a.use(Ue);var Oe=new Ue({locale:Fe(["fr","en"]),fallbackLocale:"en",messages:Me()}),Se={name:"EyebrowUserInfo",props:{displayName:{type:String,required:!0},email:{type:String,default:""},picture:{type:String,required:!0},moreLink:{type:String,default:null},logoutLink:{type:String,default:null},menuIsDark:{type:Boolean,default:!0},avatarSize:{type:String,default:"28px"}},data:function(){return{visible:!1}},created:function(){document.addEventListener("click",this.documentClick)},destroyed:function(){document.removeEventListener("click",this.documentClick)},methods:{translate:function(e,t){return Oe.t(e,t)},toggleDropdown:function(e){e.preventDefault(),this.visible=!this.visible},getEventTarget:function(e){var t=e.target||window;if(e.composed&&"function"===typeof e.composedPath){var n=e.composedPath();t=n[0]}return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t},documentClick:function(e){var t=this.$refs.dropdownMenu,n=this.getEventTarget(e);t===n||t.contains(n)||(this.visible=!1)}}},je=Se;function Ce(e){var t=n("3edb");t.__inject__&&t.__inject__(e),this["$style"]=t.locals||t}var Le=l(je,u,c,!1,Ce,null,null,!0),Te=Le.exports;window.customElements.define("eyebrow-user-info",s()(i.a,Te))},"7e84":function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.r(t),n.d(t,"default",(function(){return r}))},"88b1":function(e,t,n){var r={"./en.json":"edd4","./fr.json":"f693"};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id="88b1"},"8bbf":function(e,t){e.exports=Vue},9072:function(e,t,n){"use strict";n.r(t);var r=n("7e84"),o=n("b380");function i(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function a(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function s(e,t,n){return s=a()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=Function.bind.apply(e,r),a=new i;return n&&Object(o["a"])(a,n.prototype),a},s.apply(null,arguments)}function l(e){var t="function"===typeof Map?new Map:void 0;return l=function(e){if(null===e||!i(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return s(e,arguments,Object(r["default"])(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Object(o["a"])(n,e)},l(e)}n.d(t,"default",(function(){return l}))},"99de":function(e,t,n){"use strict";function r(e){return r="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},r(e)}function o(e){return o="function"===typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)},o(e)}n.r(t);var i=n("257e");function a(e,t){return!t||"object"!==o(t)&&"function"!==typeof t?Object(i["default"])(e):t}n.d(t,"default",(function(){return a}))},b380:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,"a",(function(){return r}))},b803:function(e,t,n){"use strict";var r=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("d4ec")),i=r(n("bee2")),a=r(n("99de")),s=r(n("7e84")),l=r(n("257e")),u=r(n("262e")),c=r(n("9072")),f=/-(\w)/g,p=function(e){return e.replace(f,(function(e,t){return t?t.toUpperCase():""}))},d=/\B([A-Z])/g,h=function(e){return e.replace(d,"-$1").toLowerCase()};function b(e){var t={};return e.forEach((function(e){t[e]=void 0})),t}function y(e,t,n){e[t]=[].concat(e[t]||[]),e[t].unshift(n)}function m(e,t){if(e){var n=e.$options[t]||[];n.forEach((function(t){t.call(e)}))}}function g(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}var v=function(e){return/function Boolean/.test(String(e))},w=function(e){return/function Number/.test(String(e))};function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.type;if(v(r))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e;if(w(r)){var o=parseFloat(e,10);return isNaN(o)?e:o}return e}function E(e,t){for(var n=[],r=0,o=t.length;r<o;r++)n.push(I(e,t[r]));return n}function I(e,t){if(3===t.nodeType)return t.data.trim()?t.data:null;if(1===t.nodeType){var n={attrs:x(t),domProps:{innerHTML:t.innerHTML}};return n.attrs.slot&&(n.slot=n.attrs.slot,delete n.attrs.slot),e(t.tagName,n)}return null}function x(e){for(var t={},n=0,r=e.attributes.length;n<r;n++){var o=e.attributes[n];t[o.nodeName]=o.nodeValue}return t}function k(e,t){var n,r,f,d="function"===typeof t&&!t.cid,v=!1;function w(e){if(!v){var t="function"===typeof e?e.options:e,o=Array.isArray(t.props)?t.props:Object.keys(t.props||{});n=o.map(h),r=o.map(p);var i=Array.isArray(t.props)?{}:t.props||{};f=r.reduce((function(e,t,n){return e[t]=i[o[n]],e}),{}),y(t,"beforeCreate",(function(){var e=this,t=this.$emit;this.$emit=function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.$root.$options.customElement.dispatchEvent(g(n,o)),t.call.apply(t,[e,n].concat(o))}})),y(t,"created",(function(){var e=this;r.forEach((function(t){e.$root.props[t]=e[t]}))})),r.forEach((function(e){Object.defineProperty(x.prototype,e,{get:function(){return this._wrapper.props[e]},set:function(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})})),v=!0}}function I(e,t){var n=p(t),r=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[n]=_(r,t,f[n])}var x=function(c){function f(){var n;(0,o.default)(this,f),n=(0,a.default)(this,(0,s.default)(f).call(this)),n.attachShadow({mode:"open"});var r=n._wrapper=new e({name:"shadow-root",customElement:(0,l.default)(n),shadowRoot:n.shadowRoot,data:function(){return{props:{},slotChildren:[]}},render:function(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}}),i=new MutationObserver((function(e){for(var t=!1,o=0;o<e.length;o++){var i=e[o];v&&"attributes"===i.type&&i.target===(0,l.default)(n)?I((0,l.default)(n),i.attributeName):t=!0}t&&(r.slotChildren=Object.freeze(E(r.$createElement,n.childNodes)))}));return i.observe((0,l.default)(n),{childList:!0,subtree:!0,characterData:!0,attributes:!0}),n}return(0,u.default)(f,c),(0,i.default)(f,[{key:"connectedCallback",value:function(){var e=this,o=this._wrapper;if(o._isMounted)m(this.vueComponent,"activated");else{var i=function(){o.props=b(r),n.forEach((function(t){I(e,t)}))};v?i():t().then((function(e){(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),w(e),i()})),o.slotChildren=Object.freeze(E(o.$createElement,this.childNodes)),o.$mount(),this.shadowRoot.appendChild(o.$el)}}},{key:"disconnectedCallback",value:function(){m(this.vueComponent,"deactivated")}},{key:"vueComponent",get:function(){return this._wrapper.$refs.inner}}]),f}((0,c.default)(HTMLElement));return d||w(t),x}var $=k;t.default=$},bee2:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.r(t),n.d(t,"default",(function(){return o}))},d03e:function(e,t,n){t=e.exports=n("2350")(!1),t.push([e.i,'.EyebrowUserInfo-user-info .EyebrowUserInfo-fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome,sans-serif;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.EyebrowUserInfo-user-info .EyebrowUserInfo-fa-sign-out:before{content:"\\F08B"}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown{height:100%;width:100%;position:relative;display:inline-block;right:0}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-menu{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#000}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-menu.EyebrowUserInfo-lighter{color:#fff}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-menu :not(:first-child){margin-left:5px}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-menu>.EyebrowUserInfo-user-name{display:block}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-menu>.EyebrowUserInfo-user-avatar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-menu>.EyebrowUserInfo-user-avatar>img{background-color:#d0d0d0;border-radius:50%;overflow:hidden}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content{position:absolute;min-width:280px;background-color:#fff;color:#000;-webkit-box-shadow:0 5px 5px -3px #888,5px 5px 5px -4px #888;box-shadow:0 5px 5px -3px #888,5px 5px 5px -4px #888;z-index:15;right:0;text-align:initial;visibility:visible;opacity:1;-webkit-transition:opacity .8s,visibility .8s;transition:opacity .8s,visibility .8s;-webkit-animation:EyebrowUserInfo-fade .8s;animation:EyebrowUserInfo-fade .8s}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content.EyebrowUserInfo-closed{visibility:hidden;opacity:0}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>div.EyebrowUserInfo-user-details{padding:25px 10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;font-size:14px}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>div.EyebrowUserInfo-user-details>*{margin:0 0 0 15px}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>div.EyebrowUserInfo-user-details>:last-child{margin-right:15px}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>div.EyebrowUserInfo-user-details>.EyebrowUserInfo-user-avatar{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>div.EyebrowUserInfo-user-details>.EyebrowUserInfo-user-avatar img{background-color:#d0d0d0;border-radius:50%;height:68px;width:68px}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>div.EyebrowUserInfo-user-details .EyebrowUserInfo-wrapper-info{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-item-align:center;align-self:center}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>.EyebrowUserInfo-sign-out{display:-webkit-box;display:-ms-flexbox;display:flex;background-color:#d0d0d0;width:100%;text-align:right}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>.EyebrowUserInfo-sign-out:hover{background-color:#b7b7b7}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>.EyebrowUserInfo-sign-out>a{padding-right:15px;text-decoration:none;color:inherit;width:100%}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>.EyebrowUserInfo-sign-out>a>*{line-height:32px;vertical-align:top}.EyebrowUserInfo-user-info>.EyebrowUserInfo-dropdown>.EyebrowUserInfo-dropdown-content>.EyebrowUserInfo-sign-out>a>span{text-transform:uppercase;margin-right:5px}',""]),t.locals={userInfo:"EyebrowUserInfo-user-info",fa:"EyebrowUserInfo-fa",faSignOut:"EyebrowUserInfo-fa-sign-out",dropdown:"EyebrowUserInfo-dropdown",dropdownMenu:"EyebrowUserInfo-dropdown-menu",lighter:"EyebrowUserInfo-lighter",userName:"EyebrowUserInfo-user-name",userAvatar:"EyebrowUserInfo-user-avatar",dropdownContent:"EyebrowUserInfo-dropdown-content",fade:"EyebrowUserInfo-fade",closed:"EyebrowUserInfo-closed",userDetails:"EyebrowUserInfo-user-details",wrapperInfo:"EyebrowUserInfo-wrapper-info",signOut:"EyebrowUserInfo-sign-out"}},d4ec:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.r(t),n.d(t,"default",(function(){return r}))},edd4:function(e){e.exports=JSON.parse('{"userInfoPortletUrl.title":"See my account information","buttons.logout":"Sign out"}')},f693:function(e){e.exports=JSON.parse('{"userInfoPortletUrl.title":"Voir les informations de mon compte","buttons.logout":"Déconnexion"}')},f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)}}); | ||
//# sourceMappingURL=eyebrow-user-info.min.js.map |
{ | ||
"name": "@uportal/eyebrow-user-info", | ||
"version": "1.33.2", | ||
"version": "1.34.0", | ||
"scripts": { | ||
"start": "vue-cli-service serve", | ||
"prebuild": "babel node_modules/@vue/web-component-wrapper/dist/vue-wc-wrapper.js -o node_modules/@vue/web-component-wrapper/dist/vue-wc-wrapper.js", | ||
"build": "vue-cli-service build --name eyebrow-user-info --target wc './src/components/EyebrowUserInfo.vue'", | ||
"build": "vue-cli-service build --name eyebrow-user-info --target wc \"./src/components/EyebrowUserInfo.vue\"", | ||
"lint": "vue-cli-service lint" | ||
@@ -19,3 +19,3 @@ }, | ||
"@babel/preset-env": "^7.2.0", | ||
"@kazupon/vue-i18n-loader": "^0.4.0", | ||
"@kazupon/vue-i18n-loader": "^0.5.0", | ||
"@vue/cli-plugin-babel": "^3.2.2", | ||
@@ -60,3 +60,4 @@ "@vue/cli-plugin-eslint": "^3.2.2", | ||
}, | ||
"homepage": "https://github.com/uPortal-contrib/uPortal-web-components#readme" | ||
"homepage": "https://github.com/uPortal-contrib/uPortal-web-components#readme", | ||
"gitHead": "c97474c78026f601306f9f405706a1f0838f2348" | ||
} |
@@ -19,17 +19,17 @@ import Vue from 'vue'; | ||
'userLanguage', | ||
'systemLanguage', | ||
'systemLanguage' | ||
]; | ||
const allLangs = browserLanguagePropertyKeys | ||
// merge all values into flattened array | ||
.flatMap((key) => navigator[key]) | ||
// Remove undefined values | ||
.filter((v) => v) | ||
// Shorten strings to use two chars (en-US -> en) | ||
.map((v) => v.substring(0, 2)) | ||
// Returns unique values | ||
.filter((v, i, a) => a.indexOf(v) === i); | ||
// merge all values into flattened array | ||
.flatMap(key => navigator[key]) | ||
// Remove undefined values | ||
.filter(v => v) | ||
// Shorten strings to use two chars (en-US -> en) | ||
.map(v => v.substring(0, 2)) | ||
// Returns unique values | ||
.filter((v, i, a) => a.indexOf(v) === i); | ||
// Returns first language matched in available languages | ||
const detectedLocale = allLangs.find((x) => availableLanguages.includes(x)); | ||
const detectedLocale = allLangs.find(x => availableLanguages.includes(x)); | ||
@@ -43,3 +43,3 @@ // If no locale is detected, fallback to 'en' | ||
const messages = {}; | ||
locales.keys().forEach((key) => { | ||
locales.keys().forEach(key => { | ||
const matched = key.match(/([a-z0-9]+)\./i); | ||
@@ -59,3 +59,3 @@ if (matched && matched.length > 1) { | ||
fallbackLocale: 'en', | ||
messages: loadLocaleMessages(), | ||
messages: loadLocaleMessages() | ||
}); |
@@ -9,3 +9,3 @@ import Vue from 'vue'; | ||
i18n, | ||
render: (h) => h(App), | ||
render: h => h(App) | ||
}).$mount('#app'); |
module.exports = { | ||
chainWebpack: (config) => { | ||
chainWebpack: config => { | ||
config.module | ||
.rule('i18n') | ||
.resourceQuery(/blockType=i18n/) | ||
.type('javascript/auto') | ||
.use('i18n') | ||
.loader('@kazupon/vue-i18n-loader'); | ||
.rule('i18n') | ||
.resourceQuery(/blockType=i18n/) | ||
.type('javascript/auto') | ||
.use('i18n') | ||
.loader('@kazupon/vue-i18n-loader'); | ||
}, | ||
@@ -13,4 +13,4 @@ | ||
i18n: { | ||
enableInSFC: true, | ||
}, | ||
enableInSFC: true | ||
} | ||
}, | ||
@@ -22,6 +22,6 @@ css: { | ||
localIdentName: '[name]-[local]', | ||
camelCase: 'only', | ||
}, | ||
}, | ||
}, | ||
camelCase: 'only' | ||
} | ||
} | ||
} | ||
}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3051
1
722095
19