YUI.add("intl-messageformat",(function(e,t){var r=(()=>{var e,t,r=Object.create,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,h=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let h of o(t))s.call(e,h)||h===r||n(e,h,{get:()=>t[h],enumerable:!(a=i(t,h))||a.enumerable});return e},u=(e={"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.js"(e,t){var r,n,i,o,a,s,h,u,c,l,f,p,m,E,b,y,_,g,v,d,T,H,B,A,P;!(function(e){var r="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};function n(e,t){return e!==r&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(r,n){return e[r]=t?t(r,n):n}}"function"==typeof define&&define.amd?define("tslib",["exports"],(function(t){e(n(r,n(t)))})):"object"==typeof t&&"object"==typeof t.exports?e(n(r,n(t.exports))):e(n(r))})((function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])};r=function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)},n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},o=function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},a=function(e,t){return function(r,n){t(r,n,e)}},s=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{h(n.next(e))}catch(e){o(e)}}function s(e){try{h(n.throw(e))}catch(e){o(e)}}function h(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}h((n=n.apply(e,t||[])).next())}))},u=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return(function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}})([o,s])}}},c=function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||P(t,e,r)},P=Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]},l=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},p=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e},m=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n},E=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},b=function(e){return this instanceof b?(this.v=e,this):new b(e)},y=function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){o.push([e,t,r,n])>1||s(e,t)}))})}function s(e,t){try{(r=i[e](t)).value instanceof b?Promise.resolve(r.value.v).then(h,u):c(o[0][2],r)}catch(e){c(o[0][3],e)}var r}function h(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}},_=function(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:b(e[n](t)),done:"return"===n}:i?i(t):t}:i}},g=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=l(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){!(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,i,(t=e[r](t)).done,t.value)}))}}},v=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};var S=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};d=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&P(t,e,r);return S(t,e),t},T=function(e){return e&&e.__esModule?e:{default:e}},H=function(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},B=function(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r},A=function(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)},e("__extends",r),e("__assign",n),e("__rest",i),e("__decorate",o),e("__param",a),e("__metadata",s),e("__awaiter",h),e("__generator",u),e("__exportStar",c),e("__createBinding",P),e("__values",l),e("__read",f),e("__spread",p),e("__spreadArrays",m),e("__spreadArray",E),e("__await",b),e("__asyncGenerator",y),e("__asyncDelegator",_),e("__asyncValues",g),e("__makeTemplateObject",v),e("__importStar",d),e("__importDefault",T),e("__classPrivateFieldGet",H),e("__classPrivateFieldSet",B),e("__classPrivateFieldIn",A)}))}},function(){return t||(0,e[o(e)[0]])((t={exports:{}}).exports,t),t.exports}),c={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(c,{ErrorCode:()=>We,FormatError:()=>tt,IntlMessageFormat:()=>ut,InvalidValueError:()=>rt,InvalidValueTypeError:()=>nt,MissingValueError:()=>it,PART_TYPE:()=>$e,default:()=>ct,formatToParts:()=>at,isFormatXMLElementFn:()=>ot});var l,f,p,m,E,b,y=((e,t,i)=>(i=null!=e?r(a(e)):{},h(!t&&e&&e.__esModule?i:n(i,"default",{value:e,enumerable:!0}),e)))(u(),1),{__extends:_,__assign:g,__rest:v,__decorate:d,__param:T,__metadata:H,__awaiter:B,__generator:A,__exportStar:P,__createBinding:S,__values:L,__read:I,__spread:N,__spreadArrays:O,__spreadArray:w,__await:R,__asyncGenerator:C,__asyncDelegator:M,__asyncValues:U,__makeTemplateObject:G,__importStar:D,__importDefault:F,__classPrivateFieldGet:k,__classPrivateFieldSet:j,__classPrivateFieldIn:x}=y.default;function V(e){return e.type===p.literal}function X(e){return e.type===p.argument}function K(e){return e.type===p.number}function Y(e){return e.type===p.date}function Z(e){return e.type===p.time}function z(e){return e.type===p.select}function W(e){return e.type===p.plural}function Q(e){return e.type===p.pound}function J(e){return e.type===p.tag}function q(e){return!(!e||"object"!=typeof e||e.type!==E.number)}function $(e){return!(!e||"object"!=typeof e||e.type!==E.dateTime)}(f=l||(l={}))[f.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",f[f.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",f[f.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",f[f.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",f[f.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",f[f.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",f[f.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",f[f.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",f[f.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",f[f.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",f[f.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",f[f.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",f[f.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",f[f.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",f[f.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",f[f.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",f[f.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",f[f.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",f[f.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",f[f.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",f[f.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",f[f.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",f[f.INVALID_TAG=23]="INVALID_TAG",f[f.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",f[f.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",f[f.UNCLOSED_TAG=27]="UNCLOSED_TAG",(m=p||(p={}))[m.literal=0]="literal",m[m.argument=1]="argument",m[m.number=2]="number",m[m.date=3]="date",m[m.time=4]="time",m[m.select=5]="select",m[m.plural=6]="plural",m[m.pound=7]="pound",m[m.tag=8]="tag",(b=E||(E={}))[b.number=0]="number",b[b.dateTime=1]="dateTime";var ee=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,te=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function re(e){var t={};return e.replace(te,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var ne=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var ie=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,oe=/^(@+)?(\+|#+)?[rs]?$/g,ae=/(\*)(0+)|(#+)(0+)|(0+)/g,se=/^(0+)$/;function he(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(oe,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function ue(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function ce(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!se.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function le(e){var t=ue(e);return t||{}}function fe(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=g(g(g({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return g(g({},e),le(t))}),{}));continue;case"engineering":t=g(g(g({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return g(g({},e),le(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(ae,(function(e,r,n,i,o,a){if(r)t.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(se.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(ie.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ie,(function(e,r,n,i,o,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var o=i.options[0];"w"===o?t=g(g({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=g(g({},t),he(o)))}else if(oe.test(i.stem))t=g(g({},t),he(i.stem));else{var a=ue(i.stem);a&&(t=g(g({},t),a));var s=ce(i.stem);s&&(t=g(g({},t),s))}}return t}var pe,me={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Ee(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(me[r||""]||me[n||""]||me["".concat(n,"-001")]||me["001"])[0]}var be=new RegExp("^".concat(ee.source,"*")),ye=new RegExp("".concat(ee.source,"*$"));function _e(e,t){return{start:e,end:t}}var ge=!!String.prototype.startsWith,ve=!!String.fromCodePoint,de=!!Object.fromEntries,Te=!!String.prototype.codePointAt,He=!!String.prototype.trimStart,Be=!!String.prototype.trimEnd,Ae=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Pe=!0;try{Pe="a"===(null===(pe=Me("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===pe?void 0:pe[0])}catch(e){Pe=!1}var Se,Le,Ie=ge?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ne=ve?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;i>o;){if((r=e[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Oe=de?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],a=i[1];t[o]=a}return t},we=Te?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},Re=He?function(e){return e.trimStart()}:function(e){return e.replace(be,"")},Ce=Be?function(e){return e.trimEnd()}:function(e){return e.replace(ye,"")};function Me(e,t){return new RegExp(e,t)}Pe?(Le=Me("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Se=function(e,t){var r;return Le.lastIndex=t,null!==(r=Le.exec(e)[1])&&void 0!==r?r:""}):Se=function(e,t){for(var r=[];;){var n=we(e,t);if(void 0===n||De(n)||Fe(n))break;r.push(n),t+=n>=65536?2:1}return Ne.apply(void 0,r)};var Ue=(function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(l.UNMATCHED_CLOSING_TAG,_e(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Ge(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:p.pound,location:_e(a,this.clonePosition())})}}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:p.literal,value:"<".concat(n,"/>"),location:_e(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ge(this.char()))return this.error(l.INVALID_TAG,_e(a,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(l.UNMATCHED_CLOSING_TAG,_e(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:p.tag,value:n,children:o,location:_e(r,this.clonePosition())},err:null}:this.error(l.INVALID_TAG,_e(a,this.clonePosition())))}return this.error(l.UNCLOSED_TAG,_e(r,this.clonePosition()))}return this.error(l.INVALID_TAG,_e(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var s=_e(r,this.clonePosition());return{val:{type:p.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ge(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return Ne.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),Ne(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,_e(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(l.EMPTY_ARGUMENT,_e(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(l.MALFORMED_ARGUMENT,_e(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,_e(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:p.argument,value:n,location:_e(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,_e(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(l.MALFORMED_ARGUMENT,_e(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Se(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:_e(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(l.EXPECT_ARGUMENT_TYPE,_e(o,s));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace()
;var u=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(b=Ce(d.val)).length)return this.error(l.EXPECT_ARGUMENT_STYLE,_e(this.clonePosition(),this.clonePosition()));h={style:b,styleLocation:_e(u,this.clonePosition())}}if((T=this.tryParseArgumentClose(n)).err)return T;var c=_e(n,this.clonePosition());if(h&&Ie(null==h?void 0:h.style,"::",0)){var f=Re(h.style.slice(2));if("number"===a)return(d=this.parseNumberSkeletonFromString(f,h.styleLocation)).err?d:{val:{type:p.number,value:r,location:c,style:d.val},err:null};if(0===f.length)return this.error(l.EXPECT_DATE_TIME_SKELETON,c);var m=f;this.locale&&(m=(function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var a=1+(1&o),s=o<2?1:3+(o>>1),h=Ee(t);for("H"!=h&&"k"!=h||(s=0);s-- >0;)r+="a";for(;a-- >0;)r=h+r}else r+="J"===i?"H":i}return r})(f,this.locale));var b={type:E.dateTime,pattern:m,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?re(m):{}};return{val:{type:"date"===a?p.date:p.time,value:r,location:c,style:b},err:null}}return{val:{type:"number"===a?p.number:"date"===a?p.date:p.time,value:r,location:c,style:null!==(i=null==h?void 0:h.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(l.EXPECT_SELECT_ARGUMENT_OPTIONS,_e(y,g({},y)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),v=0;if("select"!==a&&"offset"===_.value){if(!this.bumpIf(":"))return this.error(l.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,_e(this.clonePosition(),this.clonePosition()));var d;if(this.bumpSpace(),(d=this.tryParseDecimalInteger(l.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,l.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),_=this.parseIdentifierIfPossible(),v=d.val}var T,H=this.tryParsePluralOrSelectOptions(e,a,t,_);if(H.err)return H;if((T=this.tryParseArgumentClose(n)).err)return T;var B=_e(n,this.clonePosition());return"select"===a?{val:{type:p.select,value:r,options:Oe(H.val),location:B},err:null}:{val:{type:p.plural,value:r,options:Oe(H.val),offset:v,pluralType:"plural"===a?"cardinal":"ordinal",location:B},err:null};default:return this.error(l.INVALID_ARGUMENT_TYPE,_e(o,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,_e(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(l.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,_e(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=(function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(ne).filter((function(e){return e.length>0}));r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],a=i.slice(1),s=0,h=a;s<h.length;s++)if(0===h[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:a})}return t})(e)}catch(e){return this.error(l.INVALID_NUMBER_SKELETON,t)}return{val:{type:E.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?fe(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,o=!1,a=[],s=new Set,h=n.value,u=n.location;;){if(0===h.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(l.EXPECT_PLURAL_ARGUMENT_SELECTOR,l.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=_e(c,this.clonePosition()),h=this.message.slice(c.offset,this.offset())}if(s.has(h))return this.error("select"===t?l.DUPLICATE_SELECT_ARGUMENT_SELECTOR:l.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===h&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?l.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:l.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,_e(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,r);if(m.err)return m;var E=this.tryParseArgumentClose(p);if(E.err)return E;a.push([h,{value:m.val,location:_e(p,this.clonePosition())}]),s.add(h),this.bumpSpace(),h=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===a.length?this.error("select"===t?l.EXPECT_SELECT_ARGUMENT_SELECTOR:l.EXPECT_PLURAL_ARGUMENT_SELECTOR,_e(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(l.MISSING_OTHER_CLAUSE,_e(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=_e(n,this.clonePosition());return i?Ae(o*=r)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=we(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Ie(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&De(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e})();function Ge(e){return e>=97&&e<=122||e>=65&&e<=90}function De(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Fe(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ke(e){e.forEach((function(e){if(delete e.location,z(e)||W(e))for(var t in e.options)delete e.options[t].location,ke(e.options[t].value);else K(e)&&q(e.style)||(Y(e)||Z(e))&&$(e.style)?delete e.style.location:J(e)&&ke(e.children)}))}function je(e,t){void 0===t&&(t={}),t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Ue(e,t).parse();if(r.err){var n=SyntaxError(l[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||ke(r.val),r.val}function xe(e,t){var r=t&&t.cache?t.cache:Je,n=t&&t.serializer?t.serializer:Ze;return(t&&t.strategy?t.strategy:Ye)(e,{cache:r,serializer:n})}function Ve(e,t,r,n){var i,o=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:r(n),a=t.get(o);return void 0===a&&(a=e.call(this,n),t.set(o,a)),a}function Xe(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}function Ke(e,t,r,n,i){return r.bind(t,e,n,i)}function Ye(e,t){return Ke(e,this,1===e.length?Ve:Xe,t.cache.create(),t.serializer)}var Ze=function(){return JSON.stringify(arguments)};function ze(){this.cache=Object.create(null)}ze.prototype.get=function(e){return this.cache[e]},ze.prototype.set=function(e,t){this.cache[e]=t};var We,Qe,Je={create:function(){return new ze}},qe={variadic:function(e,t){return Ke(e,this,Xe,t.cache.create(),t.serializer)},monadic:function(e,t){return Ke(e,this,Ve,t.cache.create(),t.serializer)}};(Qe=We||(We={})).MISSING_VALUE="MISSING_VALUE",Qe.INVALID_VALUE="INVALID_VALUE",Qe.MISSING_INTL_API="MISSING_INTL_API";var $e,et,tt=(function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return _(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t})(Error),rt=(function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),We.INVALID_VALUE,i)||this}return _(t,e),t})(tt),nt=(function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),We.INVALID_VALUE,n)||this}return _(t,e),t})(tt),it=(function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),We.MISSING_VALUE,r)||this}return _(t,e),t})(tt);function ot(e){return"function"==typeof e}function at(e,t,r,n,i,o,a){if(1===e.length&&V(e[0]))return[{type:$e.literal,value:e[0].value}];for(var s=[],h=0,u=e;h<u.length;h++){var c=u[h];if(V(c))s.push({type:$e.literal,value:c.value});else if(Q(c))"number"==typeof o&&s.push({type:$e.literal,value:r.getNumberFormat(t).format(o)});else{var l=c.value;if(!i||!(l in i))throw new it(l,a);var f=i[l];if(X(c))f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),s.push({type:"string"==typeof f?$e.literal:$e.object,value:f});else if(Y(c)){var p="string"==typeof c.style?n.date[c.style]:$(c.style)?c.style.parsedOptions:void 0;s.push({type:$e.literal,value:r.getDateTimeFormat(t,p).format(f)})}else if(Z(c)){p="string"==typeof c.style?n.time[c.style]:$(c.style)?c.style.parsedOptions:n.time.medium;s.push({type:$e.literal,value:r.getDateTimeFormat(t,p).format(f)})}else if(K(c)){(p="string"==typeof c.style?n.number[c.style]:q(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(f*=p.scale||1),s.push({type:$e.literal,value:r.getNumberFormat(t,p).format(f)})}else{if(J(c)){var m=c.children,E=c.value,b=i[E];if(!ot(b))throw new nt(E,"function",a);var y=b(at(m,t,r,n,i,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),s.push.apply(s,y.map((function(e){return{type:"string"==typeof e?$e.literal:$e.object,value:e}})))}if(z(c)){if(!(_=c.options[f]||c.options.other))throw new rt(c.value,f,Object.keys(c.options),a);s.push.apply(s,at(_.value,t,r,n,i))}else if(W(c)){var _;if(!(_=c.options["=".concat(f)])){if(!Intl.PluralRules)throw new tt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',We.MISSING_INTL_API,a);var g=r.getPluralRules(t,{type:c.pluralType}).select(f-(c.offset||0));_=c.options[g]||c.options.other}if(!_)throw new rt(c.value,f,Object.keys(c.options),a);s.push.apply(s,at(_.value,t,r,n,i,f-(c.offset||0)))}else;}}}return(function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===$e.literal&&t.type===$e.literal?r.value+=t.value:e.push(t),e}),[])})(s)}function st(e,t){return t?Object.keys(e).reduce((function(r,n){var i,o;return r[n]=(i=e[n],(o=t[n])?g(g(g({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=g(g({},i[t]),o[t]||{}),e}),{})):i),r}),g({},e)):e}function ht(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}(et=$e||($e={}))[et.literal=0]="literal",et[et.object=1]="object";var ut=(function(){function e(t,r,n,i){void 0===r&&(r=e.defaultLocale);var o,a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===$e.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return at(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=a.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{},h=(s.formatters,v(s,["formatters"]));this.ast=e.__parse(t,g(g({},h),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=st(e.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:xe((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,w([void 0],t,!1)))}),{cache:ht(o.number),strategy:qe.variadic}),getDateTimeFormat:xe((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,w([void 0],t,!1)))}),{cache:ht(o.dateTime),strategy:qe.variadic}),getPluralRules:xe((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,w([void 0],t,!1)))}),{cache:ht(o.pluralRules),strategy:qe.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=je,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e})(),ct=ut;return(e=>h(n({},"__esModule",{value:!0}),e))(c)})();e.config.global.IntlMessageFormat=r.default}),"@VERSION@",{es:!0});YUI.add("handlebars-intl",(function(e,t){!(function(e,t){"use strict";var r=e.Intl||e.IntlPolyfill;"function"==typeof define&&define.amd&&define(["intl-messageformat"],(function(e){return t(r,e)})),"object"==typeof exports&&(module.exports=t(r,require("intl-messageformat"))),e.HandlebarsHelperIntl=t(r,e.IntlMessageFormat)})("undefined"!=typeof global?global:this,(function(e,t){"use strict";if(!e)throw new ReferenceError("Intl must be available.");if(!t)throw new ReferenceError("IntlMessageFormat must be available.");var r={registerWith:function(e){var r,n=e.SafeString,o=e.createFrame,l=e.Utils.escapeExpression,f={intl:function(e){if(!e.fn)throw new ReferenceError("{{#intl}} must be invoked as a block helper");var t=o(e.data),r=i({},t.intl,e.hash);return t.intl=r,e.fn(this,{data:t})},intlDate:function(e,t,r){if(!((e=new Date(e))&&e.getTime()))return"";r||(r=t,t=null);var n=r.hash,o=r.data,l=o.intl&&o.intl.locales;t?("string"==typeof t&&(t=s("formats.date."+t,r)),t=i({},t,n)):t=n;return a("date",l,t).format(e)},intlNumber:function(e,t,r){if("number"!=typeof e)return"";r||(r=t,t=null);var n=r.hash,o=r.data,l=o.intl&&o.intl.locales;t?("string"==typeof t&&(t=s("formats.number."+t,r)),t=i({},t,n)):t=n;return a("number",l,t).format(e)},intlGet:s,intlMessage:u,intlHTMLMessage:function(){var e,t,r=[].slice.call(arguments).pop(),a=r.hash;for(e in a)a.hasOwnProperty(e)&&"string"==typeof(t=a[e])&&(a[e]=l(t));return new n(String(u.apply(this,arguments)))}};for(r in f)f.hasOwnProperty(r)&&e.registerHelper(r,f[r]);function s(e,t){var r,n,a,i=t.data&&t.data.intl,o=e.split(".");try{for(a=0,n=o.length;a<n;a++)r=i=i[o[a]]}finally{if(void 0===r)throw new ReferenceError("Could not find Intl object: "+e)}return r}function u(e,r){r||(r=e,e=null);var n=r.hash;if(!e&&"string"!=typeof e&&!n.intlName)throw new ReferenceError("{{intlMessage}} must be provided a message or intlName");var a=r.data.intl||{},i=a.locales,o=a.formats;return!e&&n.intlName&&(e=s(n.intlName,r)),"function"==typeof e?e(n):("function"!=typeof e.format&&(e=new t(e,i,o,{ignoreTag:!0})),e.format(n))}}},n={number:{},date:{}};function a(t,r,a){var i,o,l,f,s,u,c;if(JSON){if(a){for(l in i=[],a)a.hasOwnProperty(l)&&i.push(l);for(i.sort(),f=0,s=i.length;f<s;f+=1)(o={})[l=i[f]]=a[l],i[f]=o}u=JSON.stringify([r,i])}if(c=n[t][u])return c;switch(t){case"number":c=new e.NumberFormat(r,a);break;case"date":c=new e.DateTimeFormat(r,a)}return u&&(n[t][u]=c),c}function i(e){var t,r,n,a,i=Array.prototype.slice.call(arguments,1);for(t=0,r=i.length;t<r;t+=1)if(n=i[t])for(a in n)n.hasOwnProperty(a)&&(e[a]=n[a]);return e}return r}))}),"@VERSION@",{es:!0,requires:["intl-messageformat"]});YUI.add("god-message",(function(i){"use strict";i.godMessage=function(n){var o,r,g,c,e,f="GOD_MESSAGE_MISSING";if(void 0===n.intlName)return f;if(r=n.intlName.split("."),!(i.config.flickr&&i.config.flickr.god&&i.config.flickr.god.lang&&i.config.flickr.god.lang))return f;o=i.clone(i.config.flickr.god.lang);try{for(e=0,c=r.length;e<c;e++)g=o=o[r[e]]}catch(i){return f}return void 0===g?f:g}}),"@VERSION@",{requires:["oop"]});YUI.add("cldr-numbers",(function(o,t){o[t]={data:{"en-US":{"1000-count-one":"0K","1000-count-other":"0K","10000-count-one":"00K","10000-count-other":"00K","100000-count-one":"000K","100000-count-other":"000K","1000000-count-one":"0M","1000000-count-other":"0M","10000000-count-one":"00M","10000000-count-other":"00M","100000000-count-one":"000M","100000000-count-other":"000M","1000000000-count-one":"0B","1000000000-count-other":"0B","10000000000-count-one":"00B","10000000000-count-other":"00B","100000000000-count-one":"000B","100000000000-count-other":"000B","1000000000000-count-one":"0T","1000000000000-count-other":"0T","10000000000000-count-one":"00T","10000000000000-count-other":"00T","100000000000000-count-one":"000T","100000000000000-count-other":"000T"},"zh-HK":{"1000-count-other":"0K","10000-count-other":"00K","100000-count-other":"000K","1000000-count-other":"0M","10000000-count-other":"00M","100000000-count-other":"000M","1000000000-count-other":"0B","10000000000-count-other":"00B","100000000000-count-other":"000B","1000000000000-count-other":"0T","10000000000000-count-other":"00T","100000000000000-count-other":"000T"},"de-DE":{"1000-count-one":"0","1000-count-other":"0","10000-count-one":"0","10000-count-other":"0","100000-count-one":"0","100000-count-other":"0","1000000-count-one":"0 Mio'.'","1000000-count-other":"0 Mio'.'","10000000-count-one":"00 Mio'.'","10000000-count-other":"00 Mio'.'","100000000-count-one":"000 Mio'.'","100000000-count-other":"000 Mio'.'","1000000000-count-one":"0 Mrd'.'","1000000000-count-other":"0 Mrd'.'","10000000000-count-one":"00 Mrd'.'","10000000000-count-other":"00 Mrd'.'","100000000000-count-one":"000 Mrd'.'","100000000000-count-other":"000 Mrd'.'","1000000000000-count-one":"0 Bio'.'","1000000000000-count-other":"0 Bio'.'","10000000000000-count-one":"00 Bio'.'","10000000000000-count-other":"00 Bio'.'","100000000000000-count-one":"000 Bio'.'","100000000000000-count-other":"000 Bio'.'"},"es-US":{"1000-count-one":"0","1000-count-other":"0","10000-count-one":"00k","10000-count-other":"00k","100000-count-one":"000k","100000-count-other":"000k","1000000-count-one":"0 M","1000000-count-other":"0 M","10000000-count-one":"00 M","10000000-count-other":"00 M","100000000-count-one":"000 M","100000000-count-other":"000 M","1000000000-count-one":"0k M","1000000000-count-other":"0k M","10000000000-count-one":"00k M","10000000000-count-other":"00k M","100000000000-count-one":"000k M","100000000000-count-other":"000k M","1000000000000-count-one":"0 B","1000000000000-count-other":"0 B","10000000000000-count-one":"00 B","10000000000000-count-other":"00 B","100000000000000-count-one":"000 B","100000000000000-count-other":"000 B"},"fr-FR":{"1000-count-one":"0 k","1000-count-other":"0 k","10000-count-one":"00 k","10000-count-other":"00 k","100000-count-one":"000 k","100000-count-other":"000 k","1000000-count-one":"0 M","1000000-count-other":"0 M","10000000-count-one":"00 M","10000000-count-other":"00 M","100000000-count-one":"000 M","100000000-count-other":"000 M","1000000000-count-one":"0 Md","1000000000-count-other":"0 Md","10000000000-count-one":"00 Md","10000000000-count-other":"00 Md","100000000000-count-one":"000 Md","100000000000-count-other":"000 Md","1000000000000-count-one":"0 Bn","1000000000000-count-other":"0 Bn","10000000000000-count-one":"00 Bn","10000000000000-count-other":"00 Bn","100000000000000-count-one":"000 Bn","100000000000000-count-other":"000 Bn"},"ko-KR":{"1000-count-other":"0천","10000-count-other":"0만","100000-count-other":"00만","1000000-count-other":"000만","10000000-count-other":"0000만","100000000-count-other":"0억","1000000000-count-other":"00억","10000000000-count-other":"000억","100000000000-count-other":"0000억","1000000000000-count-other":"0조","10000000000000-count-other":"00조","100000000000000-count-other":"000조"},"it-IT":{"1000-count-one":"0","1000-count-other":"0","10000-count-one":"0","10000-count-other":"0","100000-count-one":"0","100000-count-other":"0","1000000-count-one":"0 Mln","1000000-count-other":"0 Mln","10000000-count-one":"00 Mln","10000000-count-other":"00 Mln","100000000-count-one":"000 Mln","100000000-count-other":"000 Mln","1000000000-count-one":"0 Mld","1000000000-count-other":"0 Mld","10000000000-count-one":"00 Mld","10000000000-count-other":"00 Mld","100000000000-count-one":"000 Mld","100000000000-count-other":"000 Mld","1000000000000-count-one":"0 Bln","1000000000000-count-other":"0 Bln","10000000000000-count-one":"00 Bln","10000000000000-count-other":"00 Bln","100000000000000-count-one":"000 Bln","100000000000000-count-other":"000 Bln"},"pt-BR":{"1000-count-one":"0 mil","1000-count-other":"0 mil","10000-count-one":"00 mil","10000-count-other":"00 mil","100000-count-one":"000 mil","100000-count-other":"000 mil","1000000-count-one":"0 mi","1000000-count-other":"0 mi","10000000-count-one":"00 mi","10000000-count-other":"00 mi","100000000-count-one":"000 mi","100000000-count-other":"000 mi","1000000000-count-one":"0 bi","1000000000-count-other":"0 bi","10000000000-count-one":"00 bi","10000000000-count-other":"00 bi","100000000000-count-one":"000 bi","100000000000-count-other":"000 bi","1000000000000-count-one":"0 tri","1000000000000-count-other":"0 tri","10000000000000-count-one":"00 tri","10000000000000-count-other":"00 tri","100000000000000-count-one":"000 tri","100000000000000-count-other":"000 tri"},"vi-VN":{"1000-count-other":"0 N","10000-count-other":"00 N","100000-count-other":"000 N","1000000-count-other":"0 Tr","10000000-count-other":"00 Tr","100000000-count-other":"000 Tr","1000000000-count-other":"0 T","10000000000-count-other":"00 T","100000000000-count-other":"000 T","1000000000000-count-other":"0 NT","10000000000000-count-other":"00 NT","100000000000000-count-other":"000 NT"},"id-ID":{"1000-count-other":"0 rb","10000-count-other":"00 rb","100000-count-other":"000 rb","1000000-count-other":"0 jt","10000000-count-other":"00 jt","100000000-count-other":"000 jt","1000000000-count-other":"0 M","10000000000-count-other":"00 M","100000000000-count-other":"000 M","1000000000000-count-other":"0 T","10000000000000-count-other":"00 T","100000000000000-count-other":"000 T"}}}}),"@VERSION@");YUI.add("intl-number",(function(e,o){var t=require("hermes-core/flog")(o),n=e["cldr-numbers"];e.IntlNumber={format:function(e,o,t){var r,c,i,u,a,s,l,f,m,h="en-US",g=n.data["en-US"],p=n.data[o],y="",d="",S="";if(e<1e3)return e.toLocaleString(o,{maximumFractionDigits:t});if(e<2e3)y="1000-count-one",d="1000-count-other";else if(e<1e4)y="1000-count-other",d="1000-count-one";else if(e<2e4)y="10000-count-one",d="10000-count-other";else if(e<1e5)y="10000-count-other",d="10000-count-one";else if(e<2e5)y="100000-count-one",d="100000-count-other";else if(e<1e6)y="100000-count-other",d="100000-count-one";else if(e<2e6)y="1000000-count-one",d="1000000-count-other";else if(e<1e7)y="1000000-count-other",d="1000000-count-one";else if(e<2e7)y="10000000-count-one",d="10000000-count-other";else if(e<1e8)y="10000000-count-other",d="10000000-count-one";else if(e<2e8)y="100000000-count-one",d="100000000-count-other";else if(e<1e9)y="100000000-count-other",d="100000000-count-one";else if(e<2e9)y="1000000000-count-one",d="1000000000-count-other";else{if(!(e<1e10))return e.toLocaleString(o,{maximumFractionDigits:t});y="1000000000-count-other",d="1000000000-count-one"}return(r=p[y]||p[d])||(o=h,r=g[y]),r&&"0"!==r?(i=(r=r.replace(/'/g,"")).split(""),u=[],a=e.toString().split(""),s=0,l=0,i.forEach((function(e,o){"0"===e&&l++})),a.forEach((function(e,o){o<l&&u.push(a[s++])})),t&&(u.push("."),a.forEach((function(e,o){var t=a[s];o>=s&&(void 0!==t&&"."!==t&&u.push(t),s++)}))),i.forEach((function(e,o){o>=l&&(S+=e)})),c=parseFloat(u.join("")),parseInt(c.toFixed(t)).toString().length>l?(m=Math.pow(10,Math.ceil(Math.log10(e))),this.format(m,o,t)):(f=c.toLocaleString(o,{maximumFractionDigits:t}),S?f+S:f)):e.toLocaleString(o,{maximumFractionDigits:t})},formatCurrency:function(o,n,r,c){var i={style:"currency",currency:"USD"};return n&&(i.currency=n),e.Object.isEmpty(c)||(c.hasOwnProperty("maximumFractionDigits")&&(i.minimumFractionDigits=0),c.hasOwnProperty("currency")&&t.error("Error: you cannot declare currency as an option")),i=Object.assign({},i,c),r.indexOf("_")>-1&&(r=r.replace("_","-")),new Intl.NumberFormat(r,i).format(o)}}}),"@VERSION@",{requires:["cldr-numbers"],optionalRequires:["hermes-core"]});YUI.add("string-helper",(function(r){r.StringHelper={preventOrphans:function(r,t){var e=(r="string"==typeof r?r:"").split(" ").length;return t&&e<t?r:r.replace(/\s+(\S*)$/," $1")},preventOrphansHtml:function(r){return r=(r=(r="string"==typeof r?r:"").trim()).replace(/\s+((\S|<[^>]+>)*)$/g,"&nbsp;$1")},escapeHtml:function(r){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return r.replace(/[&<>"']/g,(function(r){return t[r]}))},stripTags:function(r){return r?String(r).replace(/<\/?[^>]+>/g,""):""}}}),"@VERSION@",{requires:[]});YUI.add("handlebars-helpers",(function(e){"use strict";var t,n,r,i=e.Handlebars,s={outlet:function(e,t){var n,r;return t=void 0===t||t,e?e.render?(r=e,n=YUI.Env.isServer?r.get("container").get("outerHTML"):'<div id="'+r.getId()+'" class="hb-placeholder"></div>'):n=YUI.Env.isServer&&t?e.get("outerHTML"):t?'<div id="'+e._yuid+'"></div>':e:n="",new i.SafeString(n)},photoDescription:function(e,t,n){var r;return t?new i.SafeString(e.split("\n").map((function(e){return""===e.trim()?"&nbsp;":"<p>"+(n?e:s.addLinkToHash(e))+"</p>"})).join("").split("<br>").map((function(e){return""===e.trim()?"&nbsp;":n?e:s.addLinkToHash(e)})).join("")):new i.SafeString(e.split("\n").map((function(e){return r="<p>",""===e.trim()?r+="&nbsp;":r+=n?e:s.addLinkToHash(e),r+"</p>"})).join(""))},photoAttribution:function(e,t,n){var r,i="";return e.owner&&e.owner.displayname&&(i=e.owner.displayname),t&&t["remove-by-attribution"]||(e.isOwner?(r="common.BY_YOU",i=""):r="common.BY_USER"),n.fn({user:i,intlName:r})},commentPermalinkId:function(e){return"comment"+e.split("-")[2]},contactUrl:function(e){return"/photos/"+e.pathAlias||e.id},renderTrustedMarkupWithLineBreaks:function(t){return t=t.replace(/(\r\n|\n|\r)/gm,"<br>"),e.Handlebars.helpers.renderTrustedMarkup(t)},renderSafeInlineComment:function(t,n){var r=r||120,i="";return((t=t.replace(/(\r\n|\n|\r)/gm," "))?t.length:0)?(n&&(n=" "+n),e.Handlebars.helpers.stripTags(t).length<=r?i=t:(i=e.Handlebars.helpers.stripTags(t)).length>r&&(i=e.Handlebars.helpers.truncate(i,r.toString(),!1,n)),e.Handlebars.helpers.renderTrustedMarkupWithLineBreaks(i)):i},stripTags:function(e){var t="";return e&&(t=String(e).replace(/<\/?[^>]+>/g,"")),t},photoNote:function(e){return e=e.replace(/(\r\n|\n|\r)/gm,"<p>&nbsp;</p>"),new i.SafeString(e)},canRemoveTag:function(t,n,r,i){return e.Handlebars.helpers.canRemoveAnyTag(t,n,r,null,i)},canRemoveAnyTag:function(e,t,n,r,i){return n||t&&e===t||r&&r===t?i.fn(this):""},formatNumber:function(t,n){var r=n.hash.decimals||1;try{t="number"!=typeof t?parseInt(t,10):t}catch(e){}return e.IntlNumber.format(t,n.data.intl.locales,r)},formatCurrency:function(t,n,r,i){try{return e.IntlNumber.formatCurrency(t,n,r,i.hash)}catch(e){return console.error(e),"-"}},obfuscateInternals:function(e){return e=e.toString(),parseInt(e.split("").map((function(e){return e.charCodeAt(0)})).join(""),10).toString(16)},renderMetaInfo:function(e){return e||"boolean"==typeof e?e.indexOf&&e.indexOf("<")>-1?e:new i.SafeString(e):""},addLinkToHash:function(e){return(e=(e=(e=e.replace(/<[\s]*[\/]*[\s]*script[\s]*>/gi,"")).replace(/<[\s]*[\/]*[\s]*iframe[\s]*>/gi,"")).replace(/<[^>]*(\son[a-zA-Z]+=)[^>]*>/gi,"")).replace(/\s#[^#\s]+/gi,(function(t,n,r){return n>0&&"&"===e.slice(n-1,n)?t:' <a href="/photos/tags/'+escape(t.slice(2))+'">#'+t.slice(2).replace(/"/g,"")+"</a>"}))},isFlipped:function(e,t){var n=t.data.flippers||this.flippers;if(e)return n[e]?t.fn(this):t.inverse(this)},inSegment:function(e,t){var n=t.data.segments||this.segments;if(e)return n.includes(e)?t.fn(this):t.inverse(this)},notInSegment:function(e,t){var n=t.data.segments||this.segments;if(e)return n.includes(e)?t.inverse(this):t.fn(this)},isNotFlipped:function(e,t){var n=t.data.flippers||this.flippers;if(e)return n[e]?t.inverse(this):t.fn(this)},urlPhoto:function(t,n){return e.URLHelper.getPhotoPage({photoId:t.id,pathAlias:t.owner.pathAlias,contextSuffix:n})},getTagSearchUrl:function(e){return"/search/?tags="+e},shortUrlPhoto:function(t,n){return t?e.URLHelper.getShortURL(t.id,n):window.location.href},friendlyDateScrappySubphoto:function(t,n,r,i){var s,a="";return a=r?8===n?"photo-page-scrappy.TAKEN_CIRCA":6===n?"photo-page-scrappy.TAKEN_SOMETIME_IN":4===n?"photo-page-scrappy.TAKEN_IN_MONTH":"photo-page-scrappy.TAKEN_ON_INTL":"photo-page-scrappy.UPLOADED_ON_INTL",s=r&&8===n?"granularity"in t&&"year"in t?t.year:t.replace(/^([\d]+)(.*)/g,"$1"):(t instanceof Date||("granularity"in t&&"year"in t?(t=e.moment(t.year+"-"+t.month+"-"+t.day+" "+t.hour+":"+t.minute+":"+t.second,"YYYY-M-D HH:mm:ss")).tzOffset&&t.utcOffset(t.tzOffset):t="string"==typeof t&&t.indexOf("-")>-1?e.moment(t):e.moment(t,"X")),6===n&&r?t.format("YYYY"):t.toDate()),i.fn({intlName:a,intlDate:s})},friendlyDate:function(t,n){return 8===n?"Circa "+t.replace(/^([\d]+)(.*)/g,"$1"):(t instanceof Date||(t="string"==typeof t&&t.indexOf("-")>-1?e.moment(t):e.moment(t,"X")),6===n?"Sometime in "+t.format("YYYY"):4===n?t.format("MMMM")+" "+t.format("YYYY"):t.format("MMMM D, YYYY"))},friendlyDataSize:function(e){var t,n,r,i=parseInt(e,10)||1;return t=Math.ceil(Math.log(i)/Math.LN10),n=Math.floor(t/3),r=i/Math.pow(10,3*n),r=Math.floor(100*r)/100,0===e&&(r=0),r+["B","KB","MB","GB","TB"][n]},_friendlySinceDate:function(t,n,r){var i=e.moment(t,"X");return 0===i.unix()?a():a(i,n,r)},friendlySinceDate:function(t,n,r,i){return i.fn(e.Handlebars.helpers._friendlySinceDate(t,n,r))},capitalize:function(e){return e[0].toLocaleUpperCase()+e.slice(1)},preventOrphans:function(t,n){var s=n.hash.skipStringsShorterThan||0;return r.isSafeString(t)?new i.SafeString(e.StringHelper.preventOrphans(t.string,s)):e.StringHelper.preventOrphans(t,s)},preventOrphansHtml:function(t,n){return r.isSafeString(t)?new i.SafeString(e.StringHelper.preventOrphansHtml(t.string)):new i.SafeString(e.StringHelper.preventOrphansHtml(t))},renderTrustedMarkup:function(e){if(e)return new i.SafeString(e)},randomLine:function(e){var t,n=e.fn(this);return n?("\n"===(n=n.trim())[0]&&(n=n.slice(1)),"\n"===n[n.length-1]&&(n=n.slice(0,n.length-1)),(t=n.split("\n"))[Math.floor(t.length*Math.random())]):"\x3c!-- no lines to return --\x3e"},configVal:function(e,t,r){return void 0!==t&&e&&n[e]?(n._index=n._index||{},n._index[e]||(n._index[e]=n[e].reduce((function(e,t){return r.hash.intl?e[t.value+""]=t.key:e[t.value+""]=t.text,e}),{})),n._index[e][t+""]||""):""},eachConfigVal:function(e,t){return(n[e]||[]).map((function(e){return t.fn(e)})).join("")},licenseString:function(e,t){for(var r=0;r<n.licenseDisplay.length;r++)if(e.toString()===n.licenseDisplay[r].value)return t.fn(n.licenseDisplay[r])},truncate:function(e,t,n,i,s){return r.truncate(e,t,{respectWords:!1!==n,ellipsis:"string"==typeof i?i:"...",escape:void 0===s||s})},shouldTruncateNumber:function(t,n){var r=n.hash.limit||9;return e.Handlebars.helpers.formatNumber(t,n).length>r},json:function(e){var t;return"object"==typeof e?((t=JSON.stringify(e,null,"")).indexOf("\u2028")>-1&&(t=t.replace(/\u2028/g,"\\u2028")),t.indexOf("\u2029")>-1&&(t=t.replace(/\u2029/g,"\\u2029")),t=t.replace(/\//g,"\\/")):t="{}",new i.SafeString(t)},ifCond:function(e,t,n,r){switch(t){case"===":return e===n?r.fn(this):r.inverse(this);case"!==":return e!==n?r.fn(this):r.inverse(this);case"<":return e<n?r.fn(this):r.inverse(this);case"<=":return e<=n?r.fn(this):r.inverse(this);case">":return e>n?r.fn(this):r.inverse(this);case">=":return e>=n?r.fn(this):r.inverse(this);case"in":return(n+"").trim().replace(/\s*[,;]\s*/,",").split(/[,;]/).indexOf(e)>=0?r.fn(this):r.inverse(this);case"||":return e||n?r.fn(this):r.inverse(this);case"&&":return e&&n?r.fn(this):r.inverse(this);default:return r.inverse(this)}},fallback:function(e,t,n){return null==e||""===e?t:e},log:function(){for(var e=new Array(arguments.length),t=0;t<e.length;++t)e[t]=arguments[t];console[YUI.Env.isServer?"warn":"log"].apply(console,Array.prototype.slice.call(e,0,e.length-1))},protocol:function(){return e.config.flickr.url.protocol},host:function(){return e.config.flickr.url.host},assetRoot:function(){return e.config.flickr.urls.assetRoot},godMessage:function(t){return e.godMessage(t.hash)},flickrConfig:function(t){return e.Object.getValue(e.config.flickr,t.split("."))},chainHelpers:function(){for(var e,t,n,r=new Array(arguments.length),i=0;i<r.length;++i)r[i]=arguments[i];return e=r.shift(),"object"==typeof r[r.length-1]&&(n=r.pop()),r.forEach((function(r){"string"==typeof r&&((t=r.split(" ")).push(n),e=s[t.shift()].apply(this,[e].concat(t)))})),e},multiHighlightString:function(e,t,n){var r,s,a,o,u="",l=0,c=!1;for(e=e||"",t=t||[],e=i.Utils.escapeExpression(e),t=t.sort((function(e,t){return e.end-t.end})),o=0,r=e.length,s=t.length;o<s;o++){for(a=t[o],c=!1;l<a.start&&l<r;)u+=e[l++];for(l<a.end&&(u+='<span class="'+n+'">',c=!0);l<a.end&&l<r;)u+=e[l++];c&&(u+="</span>")}for(;l<r;)u+=e[l++];return new i.SafeString(u)},ifDefined:function(e,t){return void 0===e?t.inverse(this):t.fn(this)},spaceball:function(){return"https://combo.staticflickr.com/pw/images/spaceball.gif"},eq:function(e,t){return e===t},ne:function(e,t){return e!==t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t},lt:function(e,t){return e<t},lte:function(e,t){return e<=t},not:function(e){return!e},and:function(){return Array.prototype.slice.call(arguments,0,-1).every(Boolean)},or:function(){return Array.prototype.slice.call(arguments,0,-1).some(Boolean)},formatRequestID:function(t){return e.moment().utc().format()+"-"+t+"@"+(YUI.Env.isServer?"server":"client")},getAppCookie:function(e,t){return e.getCookie(t)}};for(t in s)e.Handlebars.registerHelper(t,s[t]);function a(t,n,r){var i,s,a,o,u,l,c,f="relative-dates.",p="";return t?(i=e.moment.duration(t.diff(e.moment())),s=Math.round(Math.abs(+i)/1e3),a=Math.round(s/60),o=Math.round(a/60),u=Math.round(o/24),l=Math.round(u/365),r&&(p=i>0?"_FUTURE":"_PAST"),{intlName:f+{s:"SECOND_",ss:"SECONDS_",m:"MINUTE_",mm:"MINUTES_",h:"HOUR_",hh:"HOURS_",d:"DAY_",dd:"DAYS_",M:"MONTH_",MM:"MONTHS_",y:"YEAR_",yy:"YEARS_"}[(c=s<45&&["s",s]||1===a&&["m"]||a<45&&["mm",a]||1===o&&["h"]||o<22&&["hh",o]||1===u&&["d"]||u<=25&&["dd",u]||u<=45&&["M"]||u<345&&["MM",Math.round(u/30)]||1===l&&["y"]||["yy",l])[0]]+(n?"SHORT":"LONG")+p,time:c[1]}):{intlName:f+"NO_DATE"}}e.config.global.HandlebarsHelperIntl.registerWith(e.Handlebars),r={truncate:function(e,t,n){return e||(e=""),n||(n={}),e.length>t&&(e=n.respectWords?e.substr(0,t+1).split(/([^\w])/).reduce((function(e,n){return e.length+n.length>t-1?e:e+=n}),""):e.substr(0,t-1),e+=n.ellipsis),n.escape?e:new i.SafeString(e)},isSafeString:function(e){return e&&"string"==typeof e.string}},n={licenseDisplay:[{value:"0",text:"All rights reserved",key:"settings.ALL_RIGHTS_RESERVED"},{value:"10",text:"Public Domain Work",key:"settings.PUBLIC_DOMAIN_WORK"},{value:"9",text:"Public Domain Dedication (CC0)",key:"settings.PUBLIC_DOMAIN_DEDICATION"},{value:"4",text:"Attribution",key:"settings.ATTRIBUTION"},{value:"5",text:"Attribution-ShareAlike",key:"settings.ATTRIBUTION_SHAREALIKE"},{value:"6",text:"Attribution-NoDerivs",key:"settings.ATTRIBUTION_NODERIVS"},{value:"2",text:"Attribution-NonCommercial",key:"settings.ATTRIBUTION_NONCOMMERCIAL"},{value:"1",text:"Attribution-NonCommercial-ShareAlike",key:"settings.ATTRIBUTION_NONCOMMERCIAL_SHAREALIKE"},{value:"3",text:"Attribution-NonCommercial-NoDerivs",key:"settings.ATTRIBUTION_NONCOMMERCIAL_NODERIVS"},{value:"7",text:"No known copyright restrictions",key:"settings.NO_COPYRIGHT_RESTRICTIONS"},{value:"8",text:"United States government work",key:"settings.US_GOV_WORK"}],licenseUrls:[{value:"0",text:"https://flickrhelp.com/hc/en-us/articles/4404078674324-Change-Your-Photo-s-License-in-Flickr"},{value:"1",text:"https://creativecommons.org/licenses/by-nc-sa/2.0/"},{value:"2",text:"https://creativecommons.org/licenses/by-nc/2.0/"},{value:"3",text:"https://creativecommons.org/licenses/by-nc-nd/2.0/"},{value:"4",text:"https://creativecommons.org/licenses/by/2.0/"},{value:"5",text:"https://creativecommons.org/licenses/by-sa/2.0/"},{value:"6",text:"https://creativecommons.org/licenses/by-nd/2.0/"},{value:"7",text:"/commons/usage/"},{value:"8",text:"http://www.usa.gov/copyright.shtml"},{value:"9",text:"https://creativecommons.org/publicdomain/zero/1.0/"},{value:"10",text:"https://creativecommons.org/publicdomain/mark/1.0/"}]}}),"@VERSION@",{requires:["handlebars-base","url-helper","moment","datatype-number","flipper","handlebars-intl","god-message","intl-number","string-helper","moment"]});YUI.add("localizable",(function(n,e){var t=n.config.global.IntlMessageFormat,a=function(){var n={};return function(e,t){var a=e.join(".");return n.hasOwnProperty(a)?n[a]:n[a]=t()}},r=a(),l=a(),s=function(e,a,r){var s=n.Intl.get("hermes/"+e,null,a);return n.Object.each(s,(function(n,i){s[i]=l([a,e,i],(function(){return new t(n,a,r,{ignoreTag:!0})}))})),s};n.Localizable={appContext:{},langBundles:[],langFormatters:{date:{monthYear:{month:"long",year:"numeric"},monthYearShort:{month:"short",year:"numeric"},month:{month:"long"},year:{year:"numeric"}},number:{USD:{style:"currency",currency:"USD"}}},defaultLang:n.config.lang,getLang:function(){return this.appContext.lang||this.defaultLang},getLangBundles:function(){return e=this.langBundles,t=this.getLang(),a=this.langFormatters,l={},n.Array.each(e,(function(n){l[n]=r([t,n],(function(){return s(n,t,a)}))})),l;var e,t,a,l},intlMessage:function(e){var t=this.getLangBundles();return t.locales=this.getLang(),n.Handlebars.helpers.intlMessage({hash:e,data:{intl:t}})},intlHTMLMessage:function(e){var t=this.getLangBundles();return t.locales=this.getLang(),n.Handlebars.helpers.intlHTMLMessage({hash:e,data:{intl:t}})}}}),"@VERSION@",{requires:["handlebars-base","handlebars-helpers","intl-messageformat"]});YUI.add("experiments-fullscreen",(function(e){var t;(t=function(e){this.flipper=e.flipper,this.appContext=e}).prototype.disableRealFullscreenButtons=function(){return!this.mode},t.prototype.getMode=function(){return this.mode},t.prototype.enableFullscreen=function(){this.mode=!0},t.prototype.disableFullscreen=function(){this.mode=!1},e.namespace("Experiments").Fullscreen=t}),"@VERSION@",{requires:[]});YUI.add("experiments-opt-out",(function(t,e){var p,i=require("hermes-core/flog")(e);(p=function(t){this.appContext=t,this.optOutEnabled=void 0}).prototype.enabled=function(){var t=this.appContext.flipper.isFlipped("reboot_photo_page_optin_type");if(void 0===this.optOutEnabled){if(!this.appContext.flipper.isFlipped("buckets"))return this.optOutEnabled=!0,i.log("Buckets not flipped; optOutEnabled is true"),this.optOutEnabled;switch(t){case"optin":default:this.optOutEnabled=!0;break;case"forced_in":this.optOutEnabled=!1}}return this.optOutEnabled},t.namespace("Experiments").OptOut=p}),"@VERSION@",{requires:[],optionalRequires:["hermes-core"]});