define("@linkedin/xmessageformat-js",["exports","@linkedin/jsecure"],(function(e,t){"use strict"
function n(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
if(Reflect.construct.sham)return!1
if("function"==typeof Proxy)return!0
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
return function(){var n,r=i(e)
if(t){var o=i(this).constructor
n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments)
return a(this,n)}}function a(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return e}(e)}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]
for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){var n=Object.keys(e)
if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e)
t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{}
t%2?c(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return(t=g(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
if(null!=n){var r,o,a,i,s=[],c=!0,u=!1
try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return
c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(l){u=!0,o=l}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(!e)return
if("string"==typeof e)return d(e,t)
var n=Object.prototype.toString.call(e).slice(8,-1)
"Object"===n&&e.constructor&&(n=e.constructor.name)
if("Map"===n||"Set"===n)return Array.from(e)
if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length)
for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n]
return r}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(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,g(r.key),r)}}function h(e,t,n){return t&&_(e.prototype,t),n&&_(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function g(e){var t=function(e,t){if("object"!==f(e)||null===e)return e
var n=e[Symbol.toPrimitive]
if(void 0!==n){var r=n.call(e,t||"default")
if("object"!==f(r))return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string")
return"symbol"===f(t)?t:String(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.PossessiveFormatter=e.PluralFormatter=e.NumberFormatter=e.NameFormatter=e.NAME_STYLES=e.DateFormatter=e.DEFAULT_TIME_PATTERN=e.DEFAULT_NAME_STYLE=e.DEFAULT_DATE_PATTERN=e.DATE_FORMAT_MAP=e.ChooserFormatter=void 0,e.Rtl=function(){return{isRtl:(t=" \n\r\t\f \u2028\u2029".split(""),n="~!@#$%^&*()_+`1234567890-={}|[]\\:\";'<>?,./".split(""),r=t.concat(n),"֐","ۿ",e=/&(?:(lt|gt|amp|quot|nbsp)|#x([\da-f]{1,4})|#(\d{1,5}));/gi,o=function(t){return null==t?null:"".concat(t).replace(e,Gt)},a=Xt(r,"֐","ۿ"),function(e){return-1!==a(o(e))})}
var e
var t,n,r,o,a},e.TruncationFormatter=e.TimeFormatter=e.TIME_FORMAT_MAP=void 0,e.default=bn,e.formatCurrency=function(e,t,n){return Ht({amount:e,currencyCode:t},n)},e.formatDate=wt,e.formatInteger=function(e,t){return $t(e,t,{parameters:{integer:{key:"integer",value:[],delimiter:"",order:-1}}})},e.formatName=Yt,e.formatNumber=function(e,t){return $t(e,t)},e.formatTime=rn,e.fromString=function(e,t){return xn(wn(e),t)},e.getOutputFilter=function(){return kn},e.getRules=kt,e.getSantizeUrl=me,e.getUserDataFilter=function(){return se()},e.isRule=xt,e.makeInterpolator=xn,e.render=function(e,t,n){if(1===e.length&&"string"==typeof e[0])return kn(e[0])
return kn(An(e,t,n))},e.setOutputFilter=function(e){kn=e},e.setSanitizeUrl=function(e){le=e},e.setUserDataFilter=function(e){ce(e)},e.toAst=wn
var y=function(){function e(t){p(this,e),this.source=t,this.index=0,this.cursor=t.charCodeAt(0),this.previousCharCode=0,0===t.length&&(this.cursor=0)}return h(e,[{key:"isEscaped",get:function(){return 92===this.previousCharCode}},{key:"hasNext",get:function(){return 0!==this.cursor}},{key:"currentChar",get:function(){return this.index<this.source.length?this.source.charAt(this.index):""}},{key:"currentCharCode",get:function(){return this.cursor}},{key:"next",value:function(){this.previousCharCode=this.cursor,this.index++,this.index<this.source.length?this.cursor=this.source.charCodeAt(this.index):this.cursor=0}},{key:"toString",value:function(){return"index ".concat(this.index,' in string "').concat(this.source,'"')}}]),e}(),v=/[a-zA-Z]/,b=/[1-9]/,w=/[0-9]/,k=/[a-zA-Z0-9]/,x=/[a-zA-Z0-9_\-~.|\[\]\/]/,A=/[#]/,C=/[#+<]/,E=/[#+<]/,O={number:-1,keyword:""}
function I(e,t){throw new SyntaxError("XMessage parsing error: ".concat(e," at ").concat(t.toString()))}function L(e,t,n){var r={}
return function(e){for(var t=[],n=[],r=[];e.hasNext;)123===e.currentCharCode?t.push(e.currentChar):125===e.currentCharCode&&t.pop(),0===t.length&&124===e.currentCharCode?(0===r.length&&I('Unexpected "|" in style list.',e),n.push(r.join("")),r.length=0,e.next()):(r.push(e.currentChar),e.next())
return r.length>0&&(n.push(r.join("")),r.length=0),n}(e).map((function(e,r){return function(e,t,n){var r=A
"choice"===t&&(r=C),"plural"===t&&(r=E)
for(var o=[],a="",i="",s=[];e.hasNext;)r.test(e.currentChar)&&(0===o.length?I('Error parsing style key/value. Found delimiter "'.concat(e.currentChar,'" but expected key.'),e):""===i&&(i=o.join(""),o.length=0,a=e.currentChar,e.next())),o.push(e.currentChar),e.next()
if(""===a)i=o.join(""),o.length=0
else{if(o.length>0){var c=o.join("")
void 0!==c&&(s=S(c))}o.length=0}return(i.startsWith(" ")||i.endsWith(" "))&&I("leading/trailing spaces not allowed in keys",e),"map"===t&&""!==i&&void 0===s&&I('missing style value for "'.concat(i,'"'),e),{key:i,value:s,delimiter:a,order:n}}(new y(e),t,r+n)})).forEach((function(t,o){t.order=o+n,Object.prototype.hasOwnProperty.call(r,t.key)?I('Found duplicate style key "'.concat(t.key,'". Styles must have unique names.'),e):r[t.key]=t})),r}function N(e,t){switch(t){case"date":case"number":return function(e){for(var t={};e.hasNext;){for(var n=[];e.hasNext&&124!==e.currentCharCode;)n.push(e.currentChar),e.next()
var r=n.join("");(r.startsWith(" ")||r.endsWith(" "))&&I("leading/trailing spaces not allowed in values",e),t[r]={key:r,value:null,delimiter:"",order:0},e.hasNext&&e.next()}return t}(e)
default:return L(e,t,0)}}function T(e){var t=O,n="simple",r="",o={}
return e.hasNext?(t=function(e){var t=[],n=[],r=-1,o="",a=!1
if(48===e.currentCharCode&&(t.push(e.currentChar),e.next(),a=!0),a&&e.hasNext&&44!==e.currentCharCode&&58!==e.currentCharCode&&I('Could not parse index; expected ":" or end of identifier but found "'.concat(e.currentChar,'"'),e),b.test(e.currentChar))for(;e.currentChar&&w.test(e.currentChar);)t.push(e.currentChar),e.next()
if(58===e.currentCharCode)for(e.next(),e.currentChar&&k.test(e.currentChar)?(n.push(e.currentChar),e.next()):I('Expected letter (a-zA-Z) or number (0-9) but found "'.concat(e.currentChar,'"'),e);e.currentChar&&x.test(e.currentChar);)n.push(e.currentChar),e.next()
else 0===t.length&&e.hasNext&&I('Unexpected character; expected ":" but found "'.concat(e.currentChar,'"'),e)
return 44===e.currentCharCode||0===e.currentCharCode?(r=parseInt(t.join(""),10),isNaN(r)&&(r=-1),o=n.join("")):I('Unexpected character; expected "," or end of identifier but found "'.concat(e.currentChar,'"'),e),{number:r,keyword:o}}(e),44===e.currentCharCode?(e.next(),n=function(e){var t=[]
if(0===e.currentCharCode)I('Unable to parse type. Expected letter (a-zA-Z) but found end of identifier after ","',e)
else for(;e.currentChar&&v.test(e.currentChar);)t.push(e.currentChar),e.next()
return t.join("")}(e),44===e.currentCharCode&&(e.next(),r=function(e,t){var n=""
if("list"===t){for(var r=[];e.hasNext&&44!==e.currentCharCode;)r.push(e.currentChar),e.next()
n=r.join("")}return n}(e,n),44!==e.currentCharCode&&124!==e.currentCharCode||e.next(),e.currentCharCode&&(o=N(e,n)))):n="simple"):I("Error parsing placeholder. Unexpected end of input.",e),e.currentCharCode&&I('Unexpected character "'.concat(e.currentChar,'".'),e),"list"===n?{type:"list",parameters:o,subType:r,index:t}:{type:n,parameters:o,index:t}}function M(e){return"string"==typeof e?e:(t=e.text,T(new y(t)))
var t}function S(e){if(-1===e.indexOf("{")&&-1===e.indexOf("'"))return[e]
for(var t=function(e){for(var t=[],n=[],r=[],o=new y(e),a=!1;o.hasNext;)if(92!==o.currentCharCode||o.isEscaped)if(o.isEscaped)r.push(o.currentChar),o.next()
else{if(0===n.length&&39===o.currentCharCode){if(o.next(),39===o.currentCharCode){r.push("'"),o.next()
continue}a=!a,r.length>0&&(t.push(r.join("")),r.length=0)}a?(o.hasNext&&r.push(o.currentChar),o.next()):125!==o.currentCharCode||o.isEscaped||0!==n.length?123===o.currentCharCode?(0===n.length?r.length>0&&(t.push(r.join("")),r.length=0):r.push(o.currentChar),n.push(o.currentChar),o.next()):125===o.currentCharCode?(n.pop(),0===n.length?r.length>0?(t.push({text:r.join("")}),r.length=0):I("Unexpected end of placeholder (found no content)",o):r.push(o.currentChar),o.next()):(o.hasNext&&r.push(o.currentChar),o.next()):I('Unexpected "}"',o)}else o.next()
return 0!==n.length&&I('Unexpected end of placeholder (unmatched "{")',o),r.length>0&&(t.push(r.join("")),r.length=0),t}(e),n=[],r=0;r<t.length;++r){var o=t[r]
o&&(n[r]=M(o))}return n}var P=function(){function e(t){p(this,e),this.value=j(t)}return h(e,[{key:"toString",value:function(){switch(f(this.value)){case"object":case"function":break
default:return String(this.value)}return""}}]),e}()
function j(e){return e instanceof P?e.value:e}function F(e){return e instanceof P?e:new P(e)}function U(e,t){var n=e.parameters
return Object.prototype.hasOwnProperty.call(n,t)}var D={eq:function(e,t){return e===t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t},endsWith:function(e,t){return"".concat(e).endsWith("".concat(t))}}
function R(e,t,n){var r=""
if(e.parameters){var o=e.parameters
for(var a in o)if(Object.prototype.hasOwnProperty.call(o,a)&&!t.test(a)){r='Invalid style "'.concat(a,'"'),n&&(r+=" ".concat(n))
break}}return r}function W(e,t,n){var r,o="Placeholder must have exactly ".concat(t," style(s)"),a="Placeholder must have at least ".concat(t," style(s)"),i=Object.keys(e.parameters)
return i.length>0?"eq"===n&&i.length!==t?r=o:"gte"===n&&i.length<t&&(r=a):t>0&&(r="Placeholder must have styles"),r}function V(e,t){return W(e,t,"eq")}function q(e,t,n){var r
return t.forEach((function(t){var o=e[t]
o&&("without"===n?(!o.value||o.value.length>0)&&(r='Invalid value for style "'.concat(t,'"')):"with"===n&&(o.value||(r='Style "'.concat(t,'" must have a value'))))})),r}function Y(e,t){return q(e.parameters,t,"with")}var z=new RegExp("^(".concat(["text","title"].join("|"),")$"))
function J(e){var t=function(e,t){var n
if(e.parameters)for(var r=e.parameters,o=0;o<t.length;o++){var a=t[o]
a&&!Object.prototype.hasOwnProperty.call(r,a)&&(n='Missing required style key "'.concat(String(a),'"'))}else n="Placeholder must have styles"
return n}(e,["text"])
return t||(t=R(e,z,'The anchor placeholder only supports "text" and "title" styles.')),t}var H=new RegExp("^(true|false)$")
function $(e){var t=function(e,t){return W(e,t,"gte")}(e,1)
return t||(t=R(e,H,'The key must be either "true" or "false".')),t}var Z=/-?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/,B=/^(zero|singular|dual|few|many|plural|other)$/
var K=["name","text"],G=/^(?:familiar|family|full|given|list|maiden|micro|possessive|salutation|prefix|suffix)$/
var X=/^(familiar|family|full|given|list|maiden|micro|possessive|salutation|prefix|suffix|compact)$/
var Q=new RegExp("^(".concat(["sep","nosep"].join("|"),")$"))
function ee(e){var t=V(e,1)
return t||(t=R(e,Q,"Invalid style for suffix placeholder.")),t||(t=function(e,t){return q(e.parameters,t,"without")}(e,["nosep","sep"])),t}var te=new RegExp("prefix|possessive|suffix")
function ne(e){switch(e.type){case"anchor":return J(e)
case"boolean":return $(e)
case"choice":return function(e){var t,n,r,o,a=e.parameters,i=!1,s=[]
for(o in a){var c=a[o]
c&&(s[c.order]=c),B.test(o)&&(i=!0)}for(var u=0;u<s.length;u++){var l=s[u]
if(l&&Z.test(l.key))if(r=parseInt(l.key,10),void 0===n)n=r
else{if(!(n<r)){t="Invalid number order. Cannot list ".concat(r," after ").concat(n,". Numbers must be ascending.")
break}n=r}else if(l&&B.test(l.key))i=!0
else if(l){t='Invalid category key "'.concat(l.key,'".')
break}}return i&&(a.singular?a.plural||(t='Missing required category "plural"'):t='Missing required category "singular"'),t}(e)
case"list":return function(e){var t
return""!==e.subType&&-1===K.indexOf(e.subType)&&(t='Invalid list subtype "'.concat(e.subType,'"')),t||(t=R(e,G,"Invalid style for list placeholder.")),t||(t=Y(e,["prefix","suffix"])),t}(e)
case"map":case"select":return function(e){var t
return e.parameters?0===Object.keys(e.parameters).length&&(t="MapPlaceholder must have at least one style argument."):t="MapPlaceholder must have parameters.",t}(e)
case"name":return function(e){var t=R(e,X,"Invalid style for name placeholder.")
return t||(t=Y(e,["prefix","suffix"])),t}(e)
case"suffix":return ee(e)
case"text":return function(e){return R(e,te,"Invalid style for text placeholder.")}(e)
case"possessive":return function(e){return V(e,0)}(e)
default:return}}function re(e){var t
if("string"!=typeof e){if((t=function(e){return e?e.index?void 0:"Placeholder must have an index.":"Placeholder is invalid."}(e))||(t=ne(e)),t)throw new Error("".concat(t))
for(var n in e.parameters)if(oe(e.parameters,n)){var r=e.parameters[n]
r&&r.value&&r.value instanceof Array&&r.value.forEach(re)}}}function oe(e,t){return t in e}var ae,ie=/{(\d+)}/g
function se(){return ae}function ce(e){ae=function(t){if(t instanceof P)return t
var n=e(t)
return new P(n)}}function ue(e){return t.default.htmlEncode(e)}ce(ue)
var le=function(e){return t.default.sanitizeUrl(null!==e?e:void 0)}
function me(){return le}function de(e){console.warn(e)}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]
return e.replace(ie,(function(e,n){if(n){var r=t[n]
if(r)return r}return e||""}))}function pe(e,t){for(var n=e.length,r=0;r<n;++r){var o=e[r]
if(Object.prototype.hasOwnProperty.call(t,o))return t[o]}return null}function _e(e,t){var n=e.parameters[t]
if(n)return n.value}function he(e,t){var n=e.parameters
if(n)for(var r=Object.keys(n),o=0;o<r.length;o++){var a=n[r[o]]
if(a.order===t)return a}}function ge(e,t,n,r,o){var a=_e(t,n),i=se()
if("string"==typeof a&&""===a)return a
if(void 0!==a){for(var s="",c=0;c<a.length;++c){var u=a[c]
u&&(s+="string"==typeof u?u:j(i(e(u,r,o))))}return F(s)}return""}var ye=/['"<>]/
function ve(e){if(null==e)return""
var t=String(j(e)),n=ye.test(t)?ue(t):t
return null!==n?n:""}function be(e){return null===e||"string"==typeof e}var we={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"},ke={month:"long"},xe={month:"short",day:"numeric"},Ae={year:"2-digit"},Ce={month:"short"},Ee={month:"numeric"},Oe={weekday:"long"},Ie={year:"numeric"},Le={year:"numeric",month:"short",day:"numeric"},Ne={weekday:"short"},Te={day:"numeric"},Me={year:"numeric",month:"numeric",day:"numeric"},Se=Ce,Pe={month:"long"},je=Oe,Fe=Ne,Ue=Te,De=Ie,Re=u(u({},ke),Ue),We=u(u({},Se),Ue),Ve=u(u(u({},ke),Ue),De),qe=u(u(u({},Se),Ue),De),Ye=u(u(u({},Pe),Ue),De),ze=u(u({},ke),De),Je=u(u({},Se),De),He={mdy:Ve,"mdy.long":Ve,"mdy.medium":qe,"mdy.short":Ye,my:ze,"my.long":ze,"my.medium":Je,"my.short":Je,md:Re,"md.long":Re,"md.medium":We,"md.short":We,m:ke,"m.long":ke,"m.medium":Se,"m.short":Ee,d:je,"d.long":je,"d.medium":Fe,"d.short":Ue,y:De,"y.long":De,"y.medium":De,"y.short":De},$e={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"},Ze={year:"numeric",month:"long",day:"numeric"},Be={year:"numeric",month:"long"},Ke={year:"numeric",month:"short"},Ge={month:"long",day:"numeric"},Xe={en_US:{intlLocale:"en",date:{intlOptions:{time:$e,"time.long":$e,"time.medium":$e,"time.short":{year:"2-digit",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"},mdy:Ze,"mdy.long":Ze,"mdy.medium":Le,"mdy.short":Me,my:Be,"my.long":Be,"my.medium":Ke,"my.short":Ke,md:Ge,"md.long":Ge,"md.medium":xe,"md.short":xe,m:Pe,"m.long":Pe,"m.medium":Ce,"m.short":Ee,d:Oe,"d.long":Oe,"d.medium":Ne,"d.short":Te,"d.narrow":{weekday:"narrow"},y:Ie,"y.long":Ie,"y.medium":Ie,"y.short":Ae}},possessive:{fallback:"’s",rules:{".*[Ss]$":"’",".*[A-RT-Z]$":"’s",".*[a-rt-z]$":"’s"}},list:{start:"{0}, {1}",middle:"{0}, {1}",end:"{0}, and {1}",2:"{0} and {1}"}}}
function Qe(e){return Xe[e]}var et=1,tt=[0,1,2,3,4,5],nt=["SINGULAR","PLURAL","DUAL","FEW","MANY","ZERO"],rt={equals:{1:0},endsWith:{0:et,1:et,2:et,3:et,4:et,5:et,6:et,7:et,8:et,9:et}}
function ot(e,t,n){var r=Math.floor(e),o=function(e,t){var n
return t.forEach((function(t){if(void 0!==t.arg&&null!==t.arg&&"gte"===t.comparison)(0,D.eq)(e,t.arg)&&(!n||t.arg>n.arg)&&(n=t)
else if(t.comparison){(0,D[t.comparison])(e,t.arg)&&(!n||t.arg>n.arg)&&(n=t)}})),n}(r,t)
if(o)return o
var a=function(e,t){if(e&&null!=t){var n="".concat(t)
if(e.equals&&void 0!==e.equals[n])return e.equals[n]
if(e.endsWith)for(var r=Math.min(2,n.length);r>0;r--){var o=n.slice(-1*r)
if(void 0!==e.endsWith[o])return e.endsWith[o]}}}(n,r)
if(void 0!==a){var i,s,c,u=tt.indexOf(a)
if(-1!==u)i=null===(c=nt[u])||void 0===c?void 0:c.toLowerCase()
for(var l=0;l<t.length;l++){var m=t[l]
if((null==m?void 0:m.category)===i)return m
"plural"===(null==m?void 0:m.category)&&(s=m)}if(s)return s}}var at=function(){function e(){p(this,e)}return h(e,[{key:"format",value:function(e,t,n){var r,o,a=Qe(n),i=a.chooser?a.chooser:rt
return t.some((function(e){return!!e.category}))?r=ot(e,t,i):t.forEach((function(t){t.comparison&&((0,D[t.comparison])(e,t.arg)&&(!r||void 0!==t.arg&&void 0!==r.arg&&t.arg>r.arg)&&(r=t))})),r?"function"==typeof(o=r.text)?o():o:""}}]),e}()
e.ChooserFormatter=at
var it=function(){function e(){p(this,e),this._formatters=new Map}return h(e,[{key:"getWithDefault",value:function(e,t){return function(e,t,n){if(e.has(t))return e.get(t)
var r=n()
return e.set(t,r),r}(this._formatters,e,t)}}]),e}()
function st(e){var t=new Date(e.getTime())
return t.setMinutes(e.getMinutes()-e.getTimezoneOffset()),t}function ct(e){return e instanceof Date}function ut(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]
if(ct(e)){if(t)return st(e)}else{if("number"==typeof e)return new Date(e)
if("string"==typeof e){var n=Date.parse(e)
return isNaN(n)?new Date(Number(e)):new Date(n)}}return e}function lt(e,t){var n=e[t]
return n?s(Object.create(null),n):void 0}var mt={time:we,"time.long":we,"time.medium":we,"time.short":{year:"2-digit",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"}},dt={intlOptions:u(u({},He),mt)},ft={fmt_d:Oe,fmt_d_short:Te,fmt_d_medium:Ne,fmt_d_long:Oe,fmt_m:Pe,fmt_m_short:Ee,fmt_m_medium:Ce,fmt_m_long:Pe,fmt_y:Ie,fmt_y_short:Ae,fmt_md_medium:xe,fmt_md_long:{month:"long",day:"numeric"},fmt_my_medium:{year:"numeric",month:"short"},fmt_my_long:{year:"numeric",month:"long"},fmt_mdy_short:Me,fmt_mdy_medium:Le,fmt_mdy_long:{year:"numeric",month:"long",day:"numeric"},fmt_mdy_hm_short:{year:"2-digit",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric"},fmt_mdy_hm_long:we},pt={hm:{hour:"numeric",minute:"numeric"},hms:{hour:"numeric",minute:"numeric",second:"numeric"}}
function _t(e){return e<10?"0".concat(e):e}var ht,gt=function(e){n(r,e)
var t=o(r)
function r(){return p(this,r),t.apply(this,arguments)}return h(r,[{key:"format",value:function(e,t,n,r){var o=Qe(t).intlLocale,a=(Qe(t).date||dt).calendar
if("fmt_mdy_iso"===n)return function(e){return"".concat(e.getUTCFullYear(),"-").concat(_t(e.getUTCMonth()+1),"-").concat(_t(e.getUTCDate()))}(ut(e,r))
var i=lt(ft,n)
if(!i)throw new Error("[XMessage] Unsupported date format")
return r||(i.timeZone="UTC"),this.getWithDefault("".concat(o,"-").concat(n,"-").concat(!!i.timeZone),(function(){return i.calendar=a,new Intl.DateTimeFormat(o,i)})).format(ut(e))}}]),r}(it)
e.DateFormatter=gt
var yt={fmt_d:"d",fmt_d_short:"d.short",fmt_d_narrow:"d.narrow",fmt_d_medium:"d.medium",fmt_d_long:"d.long",fmt_m:"m",fmt_m_short:"m.short",fmt_m_medium:"m.medium",fmt_m_long:"m.long",fmt_y:"y",fmt_y_short:"y.short",fmt_md_medium:"md.medium",fmt_md_long:"md.long",fmt_my_medium:"my.medium",fmt_my_long:"my.long",fmt_mdy_short:"mdy.short",fmt_mdy_medium:"mdy.medium",fmt_mdy_long:"mdy.long",fmt_mdy_hm_short:"time.short",fmt_mdy_hm_long:"time.long",fmt_mdy_iso:"iso",iso:"iso"}
e.DATE_FORMAT_MAP=yt
var vt,bt={short:"fmt_mdy_short",medium:"fmt_mdy_medium",long:"fmt_mdy_long",full:"fmt_mdy_long"}
function wt(e,t,n,r){return yt[t]||(!function(e){return!!bt[e]}(t)?(console.log('Unknown date pattern "'.concat(t,'", falling back to "').concat("fmt_mdy_medium",'". Note: custom date patterns are not supported.')),t="fmt_mdy_medium"):(console.log('The date pattern "'.concat(t,'" is deprecated, falling back to "').concat(bt[t],'".')),t=bt[t])),ht||(ht=new gt),ht.format(e,n,t,r)}function kt(e,t){var n=Qe(e),r=n[t]
return r||n}function xt(e){return"object"===f(e)&&!("intlLocale"in e)}e.DEFAULT_DATE_PATTERN="fmt_mdy_medium",function(e){e[e.FAMILIAR_NAME=0]="FAMILIAR_NAME",e[e.FULL_NAME=1]="FULL_NAME",e[e.LIST_VIEW=2]="LIST_VIEW",e[e.MICROFORMAT=3]="MICROFORMAT"}(vt||(vt={}))
e.DEFAULT_NAME_STYLE="familiar"
var At,Ct=["familiar","family","full","given","list","maiden","micro","salutation"]
e.NAME_STYLES=Ct
var Et=function(e,t){return"".concat(e," ").concat(t)},Ot=function(e,t){return"".concat(t," ").concat(e)},It=function(e,t){return"".concat(t).concat(e)},Lt=function(e,t,n){return"".concat(n?" (".concat(n,")"):""," ")},Nt=function(e){return"".concat(e?" ".concat(e):"")},Tt=function(e){return function(t){return t?'<span class="'.concat(e,'">').concat(t,"</span>"):""}},Mt=Tt("given-name"),St=Tt("family-name"),Pt=Tt("additional-name"),jt=function(e,t,n){return"".concat(e).concat(Nt(n)).concat(Nt(t))},Ft=function(e){return function(t,n,r){return"".concat(t).concat(Nt(n)).concat(r?" ".concat(e," ").concat(r):"")}},Ut=/(^\s+|\s+$)/g
function Dt(e,t){if(!e)return""
var n,r=e.replace(Ut,"")
return t&&(r="".concat(null==(n=r)?null:n.toString().replace(/(.)/g,(function(e){return"<"===e?"&lt;":">"===e?"&gt;":"&"===e?"&amp;":'"'===e?"&quot;":"'"===e?"&#39;":"\\"===e?"&#92;":"="===e?"&#61;":"\0"===e?"�;":e})))),r}var Rt=[19968,40895,12448,12543,65377,65439,12352,12447]
function Wt(e,t){return function(e){if(!e)return!1
var t=e.charCodeAt(0)
return t>=44032&&t<=55215}(e.lastName)?"CJK":function(e){if(!e)return!1
for(var t=e.charCodeAt(0),n=0;n<Rt.length;n+=2){var r=Rt[n],o=Rt[n+1]
if(r&&o&&t>=r&&t<=o)return!0}return!1}(e.lastName)?"ja_JP"===t?"CJK-ja_JP":"CJK":t}var Vt=new(function(){function e(){p(this,e),this.templates=[]}return h(e,[{key:"preprocess",value:function(e,t,n){return[Mt(e),St(t),Pt(n)]}},{key:"add",value:function(e,t,n){var r=this.templates.indexOf(e);-1===r?this.templates.push(e,[t,n]):this.templates[r+1].push(t,n)}},{key:"run",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2?arguments[2]:void 0,r=this.templates.indexOf(e)
if(r>-1){var o=this.templates[r+1],a=o.indexOf(t);-1===a&&(a=o.indexOf("default"))
var i=o[a+1]
return i(n[0]||"",n[1]||"",n[2]||"")}throw new Error("Could not find template function for ".concat(e," with ").concat(t," locale."))}}]),e}())
Vt.add(vt.FAMILIAR_NAME,"default",(function(e){return e})),Vt.add(vt.FAMILIAR_NAME,"de_DE",Et),Vt.add(vt.FAMILIAR_NAME,"pl_PL",Et),Vt.add(vt.FAMILIAR_NAME,"hi_IN",Et),Vt.add(vt.FAMILIAR_NAME,"ro_RO",Et),Vt.add(vt.FAMILIAR_NAME,"tr_TR",Et),Vt.add(vt.FAMILIAR_NAME,"CJK",It),Vt.add(vt.FAMILIAR_NAME,"CJK-ja_JP",Ot),Vt.add(vt.FULL_NAME,"default",(function(e,t,n){return"".concat(e).concat(Lt(0,0,n)).concat(t)})),Vt.add(vt.FULL_NAME,"ar_AE",jt),Vt.add(vt.FULL_NAME,"hi_IN",jt),Vt.add(vt.FULL_NAME,"th_TH",jt),Vt.add(vt.FULL_NAME,"cs_CZ",(function(e,t,n){return"".concat(e).concat(Nt(t)).concat(n?" (roz. ".concat(n,")"):"")})),Vt.add(vt.FULL_NAME,"de_DE",Ft("geb.")),Vt.add(vt.FULL_NAME,"CJK-ja_JP",(function(e,t,n){return"".concat(t).concat(Nt(e)).concat(Lt(0,0,n))})),Vt.add(vt.FULL_NAME,"CJK",(function(e,t,n){return"".concat(It(e,t)).concat(Lt(0,0,n))})),Vt.add(vt.FULL_NAME,"ms_MY",(function(e,t,n){return"".concat(e).concat(Nt(t)).concat(Lt(0,0,n))})),Vt.add(vt.FULL_NAME,"nl_NL",(function(e,t,n){return"".concat(e," ").concat(t).concat(n?"-".concat(n):"")})),Vt.add(vt.FULL_NAME,"pl_PL",Ft("z d.")),Vt.add(vt.LIST_VIEW,"default",(function(e,t){return"".concat(t?"".concat(t,", "):"").concat(e)})),Vt.add(vt.LIST_VIEW,"CJK",It),Vt.add(vt.LIST_VIEW,"CJK-ja_JP",Ot),Vt.add(vt.LIST_VIEW,"ar_AE",Et),Vt.add(vt.LIST_VIEW,"hi_IN",Et),Vt.add(vt.LIST_VIEW,"in_ID",Et),Vt.add(vt.LIST_VIEW,"ms_MY",Et),Vt.add(vt.LIST_VIEW,"th_TH",Et)
var qt=function(){function e(){p(this,e)}return h(e,[{key:"format",value:function(e,t,n){var r=function(e){if(e){if(Array.isArray(e))return e.indexOf("MICROFORMAT")>-1
if("string"==typeof e)return"MICROFORMAT"===e}return!1}(t),o=r||!!e.lastNameWithHighlight,a=Dt(e.firstName,o),i=e.lastNameWithHighlight?Dt(e.lastNameWithHighlight,!1):Dt(e.lastName,o),s=Dt(e.maidenName,o),c=Wt(e,n)
if(r){var u=m(Vt.preprocess(a,i,s),3)
a=u[0],i=u[1],s=u[2]}return Vt.run(function(e){if(!e)return vt.FAMILIAR_NAME
var t="string"==typeof e?[e]:e
return Array.isArray(t)?t.indexOf("FULL_NAME")>-1?vt.FULL_NAME:t.indexOf("LIST_VIEW")>-1?vt.LIST_VIEW:vt.FAMILIAR_NAME:vt.FAMILIAR_NAME}(t),c,[a,i,s]).replace(Ut,"")}}]),e}()
function Yt(e,t,n){var r=""
if(void 0!==e){var o={firstName:e.givenName||e.firstName,lastName:e.familyName||e.lastName,maidenName:e.maidenName},a=t||"familiar"
switch(-1===Ct.indexOf(a)&&(console.log('Unrecognized name format "'.concat(a,'", falling back to "').concat("familiar",'".')),a="familiar"),a){case"given":r=o.firstName||""
break
case"family":r=o.lastName||""
break
case"maiden":r=o.maidenName||""
break
default:var i="full"===a?"FULL_NAME":"familiar"===a?"FAMILIAR_NAME":"list"===a?"LIST_VIEW":"FULL_NAME"
At||(At=new qt),r=At.format(o,i,n)}}return r}e.NameFormatter=qt
var zt,Jt=function(e){n(r,e)
var t=o(r)
function r(){return p(this,r),t.apply(this,arguments)}return h(r,[{key:"formatNumber",value:function(e,t,n){var r=Qe(t),o=n?Object.keys(n):[]
if(o.length>0&&o[0]&&!["integer","percent"].includes(o[0]))throw new Error("[XMessage] Unsupported number argument")
var a=o.length>1&&"compact"===o[1]?"compact":void 0,i=o.length>0&&"percent"===o[0]?o[0]:"decimal",s=o.length>0&&"integer"===o[0]?0:void 0
return this.getWithDefault("".concat(t,"-").concat(i,"-").concat(a,"-").concat(s),(function(){var e={style:i,maximumFractionDigits:s,notation:a}
return new Intl.NumberFormat(r.intlLocale,e)})).format(e)}},{key:"formatCurrency",value:function(e,t,n){var r=n?Object.keys(n.parameters):[],o=r.length>1?r[1]:"symbol",a=Qe(t),i=r.length>2?r[2]:void 0
return this.getWithDefault("".concat(t,"-").concat(e.currencyCode,"-").concat(o,"-").concat(i),(function(){var t={style:"currency",currency:e.currencyCode,currencyDisplay:o,notation:i}
return new Intl.NumberFormat(a.intlLocale,t)})).format(e.amount)}}]),r}(it)
function Ht(e,t,n){return zt||(zt=new Jt),zt.formatCurrency(e,t,n)}function $t(e,t,n){return zt||(zt=new Jt),zt.formatNumber(e,t,n?n.parameters:void 0)}e.NumberFormatter=Jt
var Zt=function(e){n(r,e)
var t=o(r)
function r(){return p(this,r),t.apply(this,arguments)}return h(r,[{key:"format",value:function(e,t){var n=Qe(t).intlLocale,r={}
return this.getWithDefault(n,(function(){return new Intl.PluralRules(n,r)})).select(e)}}]),r}(it)
e.PluralFormatter=Zt
var Bt=function(){function e(){p(this,e)}return h(e,[{key:"format",value:function(e,t){var n,r=Qe(t).possessive
if(r){n=r.fallback
for(var o=Object.keys(r.rules),a=0;a<o.length;a++){var i=o[a]
if(i&&new RegExp(i).test(e)){n=r.rules[i]
break}}return n||""}return""}}]),e}()
e.PossessiveFormatter=Bt
var Kt=["nbsp"," ","lt","<","gt",">","amp","&","quot",'"'],Gt=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r]
var o=n[0],a=n[1],i=n[2]
return o?Kt[Kt.indexOf(o)+1]||"":a?String.fromCharCode(parseInt(a,16)||65533):i?String.fromCharCode(parseInt(i,10)||65533):"�"}
function Xt(e,t,n){return function(r){if(null==r)return-1
var o=0,a="\0",i=r.length
for(o=0;o<i&&(a=r.charAt(o),!(e.indexOf(a)<0));o++);return o>=i?-1:a>=t&&a<=n?o:-1}}var Qt,en=function(e){n(r,e)
var t=o(r)
function r(){return p(this,r),t.apply(this,arguments)}return h(r,[{key:"format",value:function(e,t,n,r){var o=Qe(t).intlLocale,a=lt(pt,n)
return r||(a.timeZone="UTC"),this.getWithDefault("".concat(o,"-").concat(n,"-").concat(!!a.timeZone),(function(){return new Intl.DateTimeFormat(o,a)})).format(e)}}]),r}(it)
e.TimeFormatter=en
var tn={fmt_hm:"hm",fmt_hms:"hms"}
e.TIME_FORMAT_MAP=tn
var nn={short:"fmt_hm",medium:"fmt_hms",long:"fmt_hms",full:"fmt_hms"}
function rn(e,t,n,r){var o=t
if(!tn[t])if(nn[t]){console.log('The time pattern "'.concat(t,'" is deprecated, falling back to "').concat(nn[t],'".'))
var a=nn[t]
a&&(o=a)}else console.log('Unknown time pattern "'.concat(t,'", falling back to "').concat("fmt_hms",'". Note: custom time patterns are not supported.')),o="fmt_hms"
var i=tn[o]||"hm"
return Qt||(Qt=new en),Qt.format(e,n,i,r)}e.DEFAULT_TIME_PATTERN="fmt_hms"
var on=function(){function e(t){p(this,e),this.ellipsis="...",void 0!==t&&(this.ellipsis=t)}return h(e,[{key:"format",value:function(e,t){if(!e||"string"!=typeof e)return""
if(void 0===t)return"..."
if(!t||"number"!=typeof t||t>=e.length||t<0)return e
for(var n=e.substr(0,t),r=n.split(""),o=t-1,a="",i=/\s|\?|!|\.|,|;|:/g;o>=0;){var s=r[o]
if(void 0===s||i.test(s))break
o--}return a=o>0?n.substr(0,o):n,a+=this.ellipsis}}]),e}()
e.TruncationFormatter=on
var an,sn=/-?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+-]?\d+)?/,cn=/^(zero|singular|dual|few|many|plural|other)$/
function un(e,t){var n=t instanceof P,r=n?j(t):t
if(e){var o=e.prefix,a=e.suffix
o&&"string"==typeof o.value[0]&&(r=o.value[0]+r),a&&"string"==typeof a.value[0]&&(r+=a.value[0])}return n?F(r):r}function ln(e,t,n,r){var o
if("name"===e?n&&"object"===f(n)&&(o=function(e,t,n){var r=pe(Ct,t)
return Yt(e,r?r.key:"familiar",n)}(n,t,r)):"string"!=typeof n&&"number"!=typeof n||(o=n),void 0===o)throw new Error("Malformed list section of list placeholder")
return un(t,se()(o))}var mn,dn=new Bt
function fn(e,t,n,r,o){var a,i=t.parameters
if(void 0!==n)if(i.currency&&"object"===f(n))a=Ht(n,o,t)
else if("number"==typeof n)a=$t(n,o,t)
else if("string"==typeof n){var s=Number(n)
isNaN(s)||(a=$t(s,o,t))}return se()(a)}function pn(e,t,n,r){return t?"string"==typeof t?t:e(t,n,r):""}function _n(e,t,n,r){return t?t.map((function(t){return pn(e,t,n,r)})).join(""):""}function hn(e,t,n,r){return"string"==typeof t?function(e,t){return"string"==typeof e?e:"function"==typeof t?t(e.index.number,e.index.keyword):t[e.index.number]}(t,n):e(t,n,r)}function gn(e,t,n,r,o){var a=t.parameters[n]
if(function(e){for(var t=Object.keys(e.parameters),n=0;n<t.length;n++){var r=t[n]
if(r&&t.indexOf(r,n+1)>0)throw new Error("[XMessage] duplicate ".concat(r," keys in select placeholder"))
if(r){var o=e.parameters[r]
if(!o||0===o.value.length)throw new Error("[XMessage] select key ".concat(r," without a value"))}}}(t),a&&a.value){for(var i="",s=0;s<a.value.length;s++){var c=a.value[s];(c||"string"==typeof c)&&(i+=hn(e,c,r,o))}return i}if(t.parameters.default&&("string"==typeof t.parameters.default.value[0]||"object"===f(t.parameters.default.value[0])))return hn(e,t.parameters.default.value[0],r,o)
throw new Error("[XMessage] No value resolved for select placeholder")}function yn(e,t,n){var r=""
return r=void 0===n?"{".concat(-1!==t.index.number?t.index.number:"").concat(""!==t.index.keyword?":".concat(t.index.keyword):"","}"):String(n),se()(r)}var vn=new Bt
function bn(e,t,n){if(e&&t&&n){var r=function(e,t){if(e&&e.index&&t){var n=e.index,r=n.number,o=n.keyword
if("function"==typeof t)return t(r,o)
var a=t[r>-1?r:0]
if(null!=a)return"string"==typeof o&&""!==o?a[o]:a
if("string"==typeof o&&""!==o&&t&&"object"===f(t)&&!Array.isArray(t))return t[o]}}(e,t)
if(null==r)return F((o=e.index,a=o.number,i=o.keyword,s=-1!==a?a.toString():"",c=""!==i?":".concat(i):"","{".concat(s).concat(c,"}")))
switch(e.type){case"anchor":return function(e,t,n,r,o){var a=me(),i=se(),s=n,c=ve(a(be(s)?s:s.href)),u=ve(be(s)?null:i(s.id)),l=ve(be(s)?null:i(s.class)),d=j(ge(e,t,"text",r,o)),f=ve(ge(e,t,"title",r,o)),p={}
be(s)?(l&&(p.class=l),u&&(p.id=u)):Object.keys(s).forEach((function(e){"href"!==e&&"title"!==e&&(p[ve(i(e))]=ve(i(s[e])))}))
var _="<a"
return c&&(_+=' href="'.concat(c,'"')),Object.entries(p).forEach((function(e){var t=m(e,2),n=t[0],r=t[1]
_+=" ".concat(n,'="').concat(r,'"')})),f&&(_+=' title="'.concat(f,'"')),F(_+=">".concat(d,"</a>"))}(bn,e,r,t,n)
case"boolean":return function(e,t,n,r,o){var a=n,i=""
if(!0===a||"true"===a)U(t,"true")&&(i=ge(e,t,"true",r,o))
else{if(!1!==a&&"false"!==a)throw new Error('Invalid argument for BooleanPlaceholder. Expected boolean or "true" or "false" but found "'.concat(a,'"'))
U(t,"false")&&(i=ge(e,t,"false",r,o))}return i}(bn,e,r,t,n)
case"choice":return function(e,t,n,r,o){for(var a,i=n,s=[],c=t.parameters,u=0,l=Object.keys(c),m=0;m<l.length;m++){(a=c[l[m]])&&(s[a.order]=a)}var d,p=f(i)
"number"!=typeof i||isNaN(i)?"string"==typeof i?sn.test(i)?u=parseFloat(i):(de("Invalid value for 'choice' placeholder. \"".concat(i,'" is not a number. Defaulting to 0.')),u=0):"object"===p&&(u=Array.isArray(i)?i.length:Object.keys(i).length):u=i
var _=s.map((function(e,t){var n={text:t.toString(),comparison:"eq",arg:-1}
if(cn.test(e.key))n.text=t.toString(),n.comparison="eq",n.category=e.key
else{switch(n.text=t.toString(),e.delimiter){case"<":n.comparison="gt"
break
case"+":case"#":n.comparison="gte"
break
default:n.comparison="eq"}n.arg=parseFloat(e.key),d||(d=n)}return n}))
an||(an=new at)
var h=an.format(u,_,o)
return void 0!==h&&""!==h?ge(e,t,s[parseInt(h,10)].key,r,o):d?ge(e,t,"".concat(d.arg),r,o):""}(bn,e,r,t,n)
case"date":return function(e,t,n,r,o){var a=he(t,0),i="fmt_mdy_medium"
return a&&(i=a.key),"fmt_d_narrow"===i&&(de('The pattern "'.concat(i,'" is not to be used in XMessage strings. Falling back to "').concat("fmt_mdy_medium",'".')),i="fmt_mdy_medium"),wt(n,i,o,!1)}(0,e,r,0,n)
case"list":return function(e,t,n,r,o){var a,i,s,c,u,l=t.subType||"text",m="",d=kt(o,"list")||kt("default","list")
if(n&&n instanceof Array&&(i=(a=n.length)-1,a>0&&"object"===f(d)&&"start"in d))switch(a){case 1:m="".concat(ln(l,t.parameters,n[0],o))
break
case 2:m=fe(d[2],["".concat(ln(l,t.parameters,n[0],o)),"".concat(ln(l,t.parameters,n[1],o))])
break
default:c=0,u=1
do{m=fe(d[s=0===c?"start":u<i?"middle":"end"],"start"===s?["".concat(ln(l,t.parameters,n[c],o)),"".concat(ln(l,t.parameters,n[u],o))]:[m,"".concat(ln(l,t.parameters,n[u],o))]),c++,u++}while("end"!==s)}return m}(0,e,r,0,n)
case"map":return function(e,t,n,r,o){var a=n
return ge(e,t,void 0!==a&&_e(t,a=a.toString())?a:"DEFAULT_TEXT",r,o)}(bn,e,r,t,n)
case"name":return function(e,t,n,r,o){var a,i=pe(Ct,t.parameters)
a=Yt(n,i?i.key:void 0,o),t.parameters.possessive&&(a+=dn.format(a,o))
var s=se()(a)
return a=un(t.parameters,s)}(0,e,r,0,n)
case"number":return fn(0,e,r,0,n)
case"plural":return function(e,t,n,r,o){var a
mn||(mn=new Zt)
var i,s=t.parameters[n]
if(s&&"#"===s.delimiter)i=s
else if("number"==typeof n)i=t.parameters[mn.format(n,o)]
else if("string"==typeof n){var c=Number(n)
isNaN(c)||(i=t.parameters[mn.format(c,o)])}for(var l=t.parameters,m=[],d=Object.keys(l),f=0;f<d.length;f++){var p=d[f]
if(p){var _=l[p]
"number"==typeof(null==_?void 0:_.order)&&(m[_.order]=_)}}var h,g=m.map((function(e,t){var n={text:t.toString(),comparison:"eq",arg:parseFloat(e.key)}
switch(e.delimiter){case"<":n.comparison="gt"
break
case"+":case"#":n.comparison="gte"
break
default:n.comparison="eq"}if(isNaN(n.arg)&&!e.key.match(/zero|one|two|few|many|other/))throw new Error("Invalid plural key: ".concat(e.key))
return n}))
if(i&&i.value){var y=t.index.number
if(!(y>-1))return _n(e,i.value,r,o)
var v=i.value[y]
if(v)return pn(e,v,r,o)}if("number"==typeof n&&(g.forEach((function(e){e.comparison&&((0,D[e.comparison])(n,e.arg)&&(!h||void 0!==e.arg&&e.arg>h.arg)&&(h=e))})),h)){var b=m[parseInt(h.text,10)]
if(!b)throw new Error("No plural style found from ".concat(h.text))
return b.value&&"string"!=typeof b.value&&"string"!=typeof b.value[0]?$t(n,o,{parameters:{integer:u(u({},b),{},{key:"integer",delimiter:"#"})}}):_n(e,b.value,r,o)}var w=m[null!=g&&null!==(a=g[0])&&void 0!==a&&a.arg&&("number"!=typeof n||n<=g[0].arg)?0:g.length-1]
if(w)return _n(e,w.value,r,o)
throw new Error("Malformed plural placeholder. Please open an issue with the following info:\n\n  Placeholder:\n  ".concat(JSON.stringify(t,null,2),"\n\n  Resolved Value:\n  ").concat(JSON.stringify(n,null,2),"\n\n  Locale:\n  ").concat(o,"\n\n  Context:\n  ").concat(JSON.stringify(r,null,2),"\n  "))}(bn,e,r,t,n)
case"possessive":return function(e,t,n,r,o){var a="",i=new Bt
return void 0!==n&&(a=i.format(n,o)),a}(0,0,r,0,n)
case"select":return gn(bn,e,r,t,n)
case"simple":return yn(0,e,r)
case"suffix":return function(e,t,n,r,o){var a,i,s,c,u,l,m,d,f="",p=!1,_=t.parameters
if(void 0!==n){_&&(p=!!_.sep)
var h=kt(o,"suffix")
if(xt(h)&&"hardVowels"in h)switch(m=(h.hardVowels||"")+(h.softVowels||""),h.strategy){case"reverseSearchForVowel":if(n.length>0){for(u=l=n.length-1;u>=0&&" "!==c&&"\t"!==c;u--)if(c=n.charAt(u),-1!==m.indexOf(c))return d=u===l,s=h.hardVowels&&h.hardVowels.indexOf(c)>-1?h.hardVowelSuffix:h.fallbackSuffix,f=String(d?h.bufferChar:"")+s,p?h.separator+f:f
for(a in h.nonVowelToSuffix)if(Object.prototype.hasOwnProperty.call(h.nonVowelToSuffix,a)&&(i=h.nonVowelToSuffix[a],new RegExp(a).test(n.charAt(l)))){s=i
break}s||(s=h.defaultBufferChar),f=p?h.separator+s:s
break}}}return f}(0,e,r,0,n)
case"text":return function(e,t,n,r,o){var a=yn(0,t,n)
return void 0!==a&&t.parameters.possessive&&(a=F("".concat(a).concat(vn.format(a,o)))),un(t.parameters,a)}(0,e,r,0,n)
case"time":return function(e,t,n,r,o){var a=he(t,0),i="fmt_hms"
return a&&(i=a.key),rn(n,i,o,!1)}(0,e,r,0,n)}}var o,a,i,s,c
return""}function wn(e){var t=S(e)
return t.forEach((function(e){return re(e)})),t}var kn=function(e){return t.default.sanitizeHTML(e)}
function xn(e,t){if(e&&1===e.length&&"string"==typeof e[0]){var n=e[0]
return function(){return kn(n)}}return function(n){return kn(An(e,t,n))}}function An(e,t,n){for(var r="",o=0;o<e.length;++o){var a=e[o]
a&&(r+="string"==typeof a?a:bn(a,n,t))}return r}})),define("@linkedin/ember-cli-pemberly-i18n/app-strings",["exports"],(function(e){"use strict"
e.default={"settings-web":{en_US:{"artdeco-dropdown/templates/components/artdeco-dropdown-item":{i18n_selected:"Selected"},"artdeco-modal/templates/components/artdeco-modal":{dismiss_button:"Dismiss",dialog_content_start:"Dialog content start.",dialog_content_end:"Dialog content end."},"artdeco-toggle/templates/components/artdeco-toggle":{ad_toggled_text:"On",ad_untoggled_text:"Off"},"ember-cli-artdeco-typeahead/templates/components/artdeco-typeahead-results-list":{a11ySuggestions:"{:resultsCount,choice,0#No suggestions found|singular#One suggestion. Use up and down keys to navigate|plural#Multiple suggestions. Use up and down keys to navigate}",a11yLoading:"Loading"},"ember-cli-artdeco-typeahead/templates/components/artdeco-typeahead":{a11ySuggestions:"{:resultsCount,choice,0#No suggestions found|singular#One suggestion. Use up and down keys to navigate|plural#Multiple suggestions. Use up and down keys to navigate}",a11yLoading:"Loading"},"hue-web-form-elements/components/hue-web-search-input":{clear_tag:"Clear {:label}"},"hue-web-form-elements/components/hue-web-select":{error_tag:"Error:"},"hue-web-form-elements/components/hue-web-switch":{i18n_toggled_text:"On",i18n_untoggled_text:"Off"},"hue-web-form-elements/components/private/hue-web-text-entry-container":{counter_indicator_int:"{:current,number,integer}/{:max,number,integer}",counter_indicator:"{:current}/{:max}",counter_sr_label_int:"{:current,number,integer} characters of maximum {:max,number,integer}.",counter_sr_label:"{:current} characters of maximum {:max}.",error_required_with_label:"{:label} is required.",error_required_no_label:"This field is required.",error_charlimit_with_label_int:"{:label} can’t be more than {:max,number,integer} characters.",error_charlimit_with_label:"{:label} can’t be more than {:max} characters.",error_charlimit_no_label_int:"This field can’t be more than {:max,number,integer} characters.",error_charlimit_no_label:"This field can’t be more than {:max} characters.",error_tag:"Error:"},"hue-web-global-alert/components/-private/hue-web-global-alert-dismiss-button":{close_text:"close"},"hue-web-global-alert/components/-private/hue-web-global-alert-icon-counter":{alert_counter:"{:currentAlertIndex}/{:totalAlertCount}"},"hue-web-global-alert/components/hue-web-global-alert-item":{alert_counter:"{:currentAlertIndex}/{:totalAlertCount}"},"hue-web-global-alert/components/hue-web-global-alert":{alert_heading:"Important LinkedIn Alerts",alert_not_available:"There are no alerts at the moment."},"hue-web-modal/components/private/modal":{dismiss_button:"Dismiss",dialog_content_start:"Dialog content start.",dialog_content_end:"Dialog content end."},"hue-web-progress-indicator/components/hue-web-progress-indicator":{i18n_a11y_loading_text:"Loading"},"hue-web-tab/components/-private/hue-web-tablist":{overflow_trigger_label:"More"},"member-settings-desktop/templates/application":{i18n_footer:"footer"},"member-settings-desktop/templates/components/main-nav":{i18n_back_to_linkedin:"Back to LinkedIn.com",i18n_linkedin:"LinkedIn"},"member-settings-desktop/templates/components/settings/message":{message_change_saved:"Change saved"},"member-settings-mobile/templates/components/mobile-footer":{help_center:"Help Center",imprint:"Imprint",privacy_policy:"Privacy Policy",injobs_privacy_policy:"LinkedIn Privacy Policy",accessibility:"Accessibility",recommendation_transparency:"Recommendation Transparency",user_agreement:"User Agreement",end_user_license:"End User License Agreement",sign_out:"Sign Out",developer_tools:"Developer Tools","10_tuesday":"10% Tuesday",chameleon_overlay:"Chameleon Overlay",app_version_string:"VERSION: {:version}",china_privacy_addendum:"China Privacy Policy Addendum",china_android_third_party_sdk:"LinkedIn Mobile App (China) Addendum"},"settings-web/templates/components/lego/i18n-settings-resource":{notifications_i18n_inline_callout_primary_description:"Your notification settings are regrouped and simplified",notifications_i18n_inline_callout_secondary_description:"Your previous setting choices aren’t changed.",ads_i18n_inline_callout_secondary_description:"Your member settings are accessible wherever you use LinkedIn. We use privacy enhancing technologies to ensure that we do not link your iOS app activity data to third-party data.",account_i18n_inline_callout_primary_description:"Verify for free",account_i18n_inline_callout_secondary_description:"Show authenticity to boost trust.",account_i18n_inline_callout_cta_text:"Get verified"},"settings-web/templates/components/page-not-exist":{page_not_exist:"Hmm, this page doesn’t exist",go_to_settings:"Go to Settings",go_to_homepage:"Go to Homepage",sorry_page_not_found:"Sorry, we couldn’t find the page you’re looking for"},"settings-web/templates/dark-mode":{notation_description:"If you choose Device settings, this app will use the mode that’s already selected in this device’s settings.",device_settings:"Device settings",dark_mode:"Dark mode",light_mode:"Light mode"},"settings-web/templates/error":{something_went_wrong:"Something went wrong",not_you_is_us:"It’s not you, it’s us",please_try_again:"Please try again.",go_to_settings:"Go to Settings",go_to_homepage:"Go to Homepage"},"settings-web/templates/no-connection":{check_your_connection:"Check your connection",not_connect_to_internet:"You don’t seem to be connected to the Internet",check_connection_try_again:"Please check your connection and try again",try_again:"Try again"},"settings-web/templates/page-title":{settings:"Settings",account_preferences:"Account Preferences",sign_in_and_security:"Sign In & Security",visibility:"Visibility",data_privacy:"Data Privacy",advertising_data:"Advertising Data",communications:"Communications"},"settings-web/templates/passkey":{passkey_title:"Passkeys","inline-error_text":"Sorry, something went wrong. Please try again."},"settings-web/templates/verifications":{verifications_title:"Verifications","inline-error_text":"Sorry, something went wrong. Please try again."},"shared-components/components/back-link":{back:"Back"},"shared-components/components/category-menu":{i18n_more:"More"},"shared-components/components/custom-settings/profile-viewing-options/preview":{i18n_anonymous_member:"Anonymous LinkedIn Member",i18n_others_will_see_message:"This is what others will see:",i18n_degree_1st:"1st"},"shared-components/components/custom-settings/whatsapp/edit-number-form":{i18n_use_different_number:"Use a different WhatsApp number",i18n_choose_phone_number:"Choose a phone number you&apos;ve shared with LinkedIn or\n   use a different number as your WhatsApp number",i18n_whatsapp_disclaimer:"By continuing, you agree to receive messages from LinkedIn at the WhatsApp number above,\n   which may also be used to secure your account. {:learnMoreUrl,anchor,text#Learn more}",i18n_label_whatsapp_number_input:"WhatsApp number",i18n_label_country_list:"Country"},"shared-components/components/custom-settings/whatsapp/manage-number":{i18n_update_whatsapp_phone_number_cta:"Update",i18n_remove_whatsapp_phone_number_cta:"Remove",i18n_missing_whatsapp_phone_number_text:"Don&apos;t miss important job & career-related updates from LinkedIn. Get notified on WhatsApp.",i18n_missing_whatsapp_phone_number_headline:"No WhatsApp number added",i18n_add_whatsapp_phone_number_cta:"Add WhatsApp Number",i18n_whatsapp_phone_error_message:"Something went wrong. Try refreshing the page.",i18n_whatsapp_number_added:"WhatsApp number added.",i18n_whatsapp_number_updated:"WhatsApp number updated."},"shared-components/components/custom-settings/whatsapp/put-number":{i18n_title_add_whatsapp_number:"Add your WhatsApp number",i18n_title_update_whatsapp_number:"Update WhatsApp number",i18n_title_verify_whatsapp_number:"Verify your number",i18n_page_number:"{:pageNum} of 2",i18n_button_continue:"Continue",i18n_enter_valid_whatsapp_number:"Please enter a valid WhatsApp number",i18n_enter_valid_code:"Please enter a valid code",i18n_button_back:"Back",i18n_button_done:"Done"},"shared-components/components/custom-settings/whatsapp/remove-number":{i18n_whatsapp_confirm_remove_number_header:"Are you sure?",i18n_whatsapp_confirm_remove_number_content:"Your WhatsApp number will be removed.",i18n_whatsapp_confirm_remove_number_cta:"Remove",i18n_whatsapp_cancel_remove_number_cta:"Cancel",i18n_whatsapp_confirm_remove_number_a11y_text:"Confirm remove WhatsApp number",i18n_whatsapp_cancel_remove_number_a11y_text:"Cancel remove WhatsApp number"},"shared-components/components/custom-settings/whatsapp/verify-code":{i18n_verification_code_sent:"We sent a code to {:whatsAppNumber}.\n   Please check your WhatsApp and enter the code here.",i18n_verification_code_resent:"We resent a code to {:whatsAppNumber}.\n   Please check your WhatsApp and enter the code here.",i18n_label_six_digit_code:"6-digit code",i18n_did_not_receive_code:"Didn&apos;t receive the code?",i18n_button_resend:"Resend"},"shared-components/components/custom-settings/zephyr/connect-we-chat-settings-card":{i18n_connect_wechat_button_text_connected:"Connected",i18n_connect_wechat_modal_content:"Are you sure you want to disconnect from WeChat account?",i18n_connect_wechat_modal_cancel_button:"Cancel",i18n_connect_wechat_modal_confirm_button:"Confirm"},"shared-components/components/education-card":{i18n_language_primary_description:"The LinkedIn app uses the same language that is currently set on your device",i18n_default_primary_description:"This feature is optimized for our desktop site.",i18n_language_steps_description:'Your language setting is currently set to <strong class="t-bold">{:locale}</strong>. If you’ve accidentally changed the language to one you don’t understand, do the following:',i18n_language_additional_info:"Once the language setting on the device has changed, the LinkedIn App will automatically update the language.",i18n_language_step_one_go_to_home:"Go to home screen of your device.",i18n_language_step_two_open_settings:'Open device <strong class="t-bold">Settings</strong>.',i18n_language_step_three_search_language:'Search for the <strong class="t-bold">Language</strong> setting.',i18n_language_step_four_pick_language:'Pick a <strong class="t-bold">Language</strong> from the list.',i18n_language_step_five_confirm:"Confirm your selection."},"shared-components/components/email-pin-challenge":{i18n_email_pin_challenge_title:"We sent a code to your email",i18n_email_pin_challenge_subtitle:"Enter the 6-digit verification code sent to {:handle}",i18n_email_pin_challenge_input_placeholder:"6-digit code",i18n_email_pin_challenge_submit:"Submit",i18n_email_pin_challenge_spam_message:"If you don’t see the email in your inbox, check your spam folder.",i18n_email_pin_challenge_incorrect_num_digits:"Please enter a 6-digit code.",i18n_email_pin_challenge_incorrect_code:"The verification code you entered isn't valid. Please check the code and try again.",i18n_email_pin_challenge_cant_access_email:"Can’t access this email?",i18n_email_pin_challenge_which_email_message:"How would you like us to send the code?",i18n_email_pin_challenge_send_code:"Send code",i18n_email_pin_challenge_send_code_via_email:"Send code via email"},"shared-components/components/footer":{i18n_incareer_personal_data_collection_list:"Personal Data Collection List",i18n_incareer_mobile_data_addendum:"InCareer Mobile App Addendum",i18n_help_center:"Help Center",i18n_professional_community_policies:"Professional Community Policies",i18n_imprint:"Imprint",i18n_privacy_policy:"Privacy Policy",i18n_your_california_privacy_choices:"Your California privacy choices",i18n_incareer_privacy_policy:"LinkedIn Privacy Policy",i18n_incareer_privacy_policy_addendum:"China Privacy Policy Addendum",i18n_accessibility:"Accessibility",il8n_recommendation_transparency:"Recommendation Transparency",i18n_user_agreement:"User Agreement",i18n_end_user_license:"End User License Agreement",i18n_sign_out:"Sign Out",i18n_developer_tools:"Developer Tools",i18n_10_tuesday:"10% Tuesday",i18n_chameleon_overlay:"Chameleon Overlay",i18n_app_version_string:"VERSION: {:version}"},"shared-components/components/header":{settings_title:"Settings",go_to_help_center:"Help Center",back:"Back"},"shared-components/components/highlight":{important_to_know:"Important to know",how_this_works:"How this works"},"shared-components/components/inline-callout":{i18n_learn_more:"Learn More",i18n_learn_more_for_a11y:"Learn More about how to manage your notification settings"},"shared-components/components/inline-feedback-error":{"inline-error_text":"Sorry, something went wrong. Please try again."},"shared-components/components/navbar":{i18n_linkedin:"LinkedIn",i18n_incareer:"InCareer"},"shared-components/components/notification-category-card":{i18n_toggle_off_helper_description:"When Notifications are turned on, you may choose to receive the ones relevant to you."},"shared-components/components/notification-parent-child":{toggle_On:"On",toggle_Off:"Off"},"shared-components/components/notification-subcategory-card":{i18n_notification_subcategory_subheader:"Choose where you get notified",i18n_primary_secondary_settings_secondary_subheader:"Choose email frequency",i18n_inapp_setting_notation_description:"When In-app notifications are turned on, you may choose to receive push notifications.",i18n_whatsapp_setting_notation_description:"When turned on, you'll receive LinkedIn notifications on your WhatsApp number."},"shared-components/components/parent-child":{toggle_On:"On",toggle_Off:"Off"},"shared-components/components/passkey-card":{i18n_passkey_primary_description_text:"With passkeys you don’t need to remember complex passwords. You can use your device’s unlock method like face, fingerprint or PIN to sign in.",i18n_passkey_secondary_description_text:"If you remove a passkey from settings, you won’t be able to sign in with the same passkey again. To completely remove a passkey from all your devices, you still need to manually remove it from your passkey/password manager.",i18n_passkey_learn_more:"Learn more",i18n_passkey_remove_all_passkeys:"Remove all passkeys",i18n_passkey_passkey:"Passkey",i18n_passkey_remove:"Remove",i18n_passkey_enter_password_title:"Enter Password",i18n_passkey_password_subtitle:"Password",i18n_passkey_enter_password_description_all:"Enter your password to remove all passkeys",i18n_passkey_enter_password_description_one:"Enter your password to remove this passkey",i18n_passkey_remove_passkey_button:"Remove Passkey",i18n_passkey_create_passkey:"Create a passkey",i18n_passkey_enter_password_description_add_passkey:"Enter your password to add a new passkey",i18n_passkey_approx_location:"(Approximate location)"},"shared-components/components/password-prompt":{i18n_password_prompt_password:"Password",i18n_password_prompt_forgot_password:"Forgot password",i18n_passkey_enter_password_description_mobile:"Enter your LinkedIn password to make this change",i18n_password_prompt_done:"Done",i18n_password_prompt_incorrect_password:"Hmm, that’s not the right password. Please try again or {:linkInfo,anchor,text#reset your password}"},"shared-components/components/profile-dropdown":{i18n_view_profile:"View Profile",i18n_help_center:"Help Center",i18n_sign_out:"Sign Out",i18n_something_went_wrong:"Sorry, something went wrong. Please try again."},"shared-components/components/profile-picture":{i18n_your_profile_photo:"Your profile photo"},"shared-components/components/profile-settings":{i18_settings:"Settings",i18n_last_changed_on:"Last changed on"},"shared-components/components/scaffold-layout/layout":{i18n_show_less:"Show less",i18n_show_more:"Show more"},"shared-components/components/settings-iframe":{i18n_settings:"{:title}-settings"},"shared-components/components/toggle":{toggle_On:"On",toggle_Off:"Off"},"shared-components/components/verifications-card":{i18n_no_verified_information_description:"You don’t have a verified work email associated with your account.",i18n_verified_information_primary_description:"You have one or more work email verifications associated with your account. You can delete them at any time.",i18n_verified_information_secondary_description:"To manage your email addresses associated with your account, go to your",i18n_email_settings_link:"email settings.",i18n_learn_more:"Learn more about verifications.",i18n_verified_information_primary_description_text:"These are your verifications. You can delete them at any time.",i18n_delete_verifications_confirmation_text:"Are you sure you want to delete this verification? We won't be able to restore it, but you can re-verify again later.",i18n_no_verified_information_description_text:"You don’t have verifications, such as verified work email, associated with your account yet.",i18n_delete_verifications_header:"Delete verifications",i18n_delete_verifications_confirmation:"We can’t restore verifications once they’re deleted. Are you sure you want to delete the verifications?",i18n_cancel_text:"Cancel",i18n_confirm_text:"Yes, delete",i18n_delete_all:"Delete all"},"shared-components/components/verifications-evidences":{i18n_cancel_text:"Cancel",i18n_delete_text:"Delete",i18n_confirm_text:"Yes, delete",i18n_delete_all:"Delete all"}}}}}))

//# sourceMappingURL=support_en_US.map