gt-node 0.3.5 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";var t=require("gt-i18n/internal"),e=require("node:async_hooks"),r=require("generaltranslation"),n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var i=function(){return i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};function a(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}function s(t,e,r,n){var o,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,r,a):o(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a}function c(t,e){return function(r,n){e(r,n,t)}}function h(t,e,r,n,o,i){function a(t){if(void 0!==t&&"function"!=typeof t)throw new TypeError("Function expected");return t}for(var s,c=n.kind,h="getter"===c?"get":"setter"===c?"set":"value",u=!e&&t?n.static?t:t.prototype:null,l=e||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),f=!1,p=r.length-1;p>=0;p--){var d={};for(var v in n)d[v]="access"===v?{}:n[v];for(var v in n.access)d.access[v]=n.access[v];d.addInitializer=function(t){if(f)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(t||null))};var y=(0,r[p])("accessor"===c?{get:l.get,set:l.set}:l[h],d);if("accessor"===c){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw new TypeError("Object expected");(s=a(y.get))&&(l.get=s),(s=a(y.set))&&(l.set=s),(s=a(y.init))&&o.unshift(s)}else(s=a(y))&&("field"===c?o.unshift(s):l[h]=s)}u&&Object.defineProperty(u,n.name,l),f=!0}function u(t,e,r){for(var n=arguments.length>2,o=0;o<e.length;o++)r=n?e[o].call(t,r):e[o].call(t);return n?r:void 0}function l(t){return"symbol"==typeof t?t:"".concat(t)}function f(t,e,r){return"symbol"==typeof e&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function p(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function d(t,e,r,n){return new(r||(r=Promise))(function(o,i){function a(t){try{c(n.next(t))}catch(t){i(t)}}function s(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(a,s)}c((n=n.apply(t,e||[])).next())})}function v(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var y=Object.create?function(t,e,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]};function g(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||y(e,t,r)}function _(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function m(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(b(arguments[e]));return t}function E(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),o=0;for(e=0;e<r;e++)for(var i=arguments[e],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}function B(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}function w(t){return this instanceof w?(this.v=t,this):new w(t)}function S(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(t,e||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(t){return function(e){return Promise.resolve(e).then(t,h)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(t,e){o[t]&&(n[t]=function(e){return new Promise(function(r,n){i.push([t,e,r,n])>1||s(t,e)})},e&&(n[t]=e(n[t])))}function s(t,e){try{!function(t){t.value instanceof w?Promise.resolve(t.value.v).then(c,h):u(i[0][2],t)}(o[t](e))}catch(t){u(i[0][3],t)}}function c(t){s("next",t)}function h(t){s("throw",t)}function u(t,e){t(e),i.shift(),i.length&&s(i[0][0],i[0][1])}}function T(t){var e,r;return e={},n("next"),n("throw",function(t){throw t}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(n,o){e[n]=t[n]?function(e){return(r=!r)?{value:w(t[n](e)),done:!1}:o?o(e):e}:o}}function H(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=_(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise(function(n,o){(function(t,e,r,n){Promise.resolve(n).then(function(e){t({value:e,done:r})},e)})(n,o,(e=t[r](e)).done,e.value)})}}}function A(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var x=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},P=function(t){return P=Object.getOwnPropertyNames||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[e.length]=r);return e},P(t)};function C(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r=P(t),n=0;n<r.length;n++)"default"!==r[n]&&y(e,t,r[n]);return x(e,t),e}function O(t){return t&&t.__esModule?t:{default:t}}function L(t,e,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)}function M(t,e,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(t,r):o?o.value=r:e.set(t,r),r}function k(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}function I(t,e,r){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(o=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}var R="function"==typeof SuppressedError?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};function N(t){function e(e){t.error=t.hasError?new R(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var r,n=0;return function o(){for(;r=t.stack.pop();)try{if(!r.async&&1===n)return n=0,t.stack.push(r),Promise.resolve().then(o);if(r.dispose){var i=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(i).then(o,function(t){return e(t),o()})}else n|=1}catch(t){e(t)}if(1===n)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}function D(t,e){return"string"==typeof t&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(t,r,n,o,i){return r?e?".jsx":".js":!n||o&&i?n+o+"."+i.toLowerCase()+"js":t}):t}var U={__extends:o,__assign:i,__rest:a,__decorate:s,__param:c,__esDecorate:h,__runInitializers:u,__propKey:l,__setFunctionName:f,__metadata:p,__awaiter:d,__generator:v,__createBinding:y,__exportStar:g,__values:_,__read:b,__spread:m,__spreadArrays:E,__spreadArray:B,__await:w,__asyncGenerator:S,__asyncDelegator:T,__asyncValues:H,__makeTemplateObject:A,__importStar:C,__importDefault:O,__classPrivateFieldGet:L,__classPrivateFieldSet:M,__classPrivateFieldIn:k,__addDisposableResource:I,__disposeResources:N,__rewriteRelativeImportExtension:D},G=Object.freeze({__proto__:null,__addDisposableResource:I,get __assign(){return i},__asyncDelegator:T,__asyncGenerator:S,__asyncValues:H,__await:w,__awaiter:d,__classPrivateFieldGet:L,__classPrivateFieldIn:k,__classPrivateFieldSet:M,__createBinding:y,__decorate:s,__disposeResources:N,__esDecorate:h,__exportStar:g,__extends:o,__generator:v,__importDefault:O,__importStar:C,__makeTemplateObject:A,__metadata:p,__param:c,__propKey:l,__read:b,__rest:a,__rewriteRelativeImportExtension:D,__runInitializers:u,__setFunctionName:f,__spread:m,__spreadArray:B,__spreadArrays:E,__values:_,default:U});var j,F,z,K=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.run=function(t,e){return this.storeAdapter.run({locale:t},e)},e}(t.I18nManager),X="async-storage-adapter",V=function(t){function r(r){var n=t.call(this)||this;return n.type=X,n.store=null!=r?r:new e.AsyncLocalStorage,n}return o(r,t),r.prototype.run=function(t,e){return this.store.run(t,e)},r.prototype.getItem=function(t){var e=this.store.getStore();if(e)return e[t]},r.prototype.setItem=function(t,e){var r=this.store.getStore();if(!r)throw new Error("setItem() called outside of an async context. Make sure you are inside a run() call.");r[t]=e},r.prototype.removeItem=function(t){},r}(t.StorageAdapter);!function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(j||(j={})),function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(F||(F={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(z||(z={}));var W=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Y=/(?:[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 $(t){var e={};return t.replace(Y,function(t){var r=t.length;switch(t[0]){case"G":e.era=4===r?"long":5===r?"narrow":"short";break;case"y":e.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":e.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":e.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":e.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][r-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][r-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][r-1];break;case"k":e.hourCycle="h24",e.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":e.minute=["numeric","2-digit"][r-1];break;case"s":e.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":e.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""}),e}var Z=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function q(t){return t.replace(/^(.*?)-/,"")}var J=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Q=/^(@+)?(\+|#+)?[rs]?$/g,tt=/(\*)(0+)|(#+)(0+)|(0+)/g,et=/^(0+)$/;function rt(t){var e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(Q,function(t,r,n){return"string"!=typeof n?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):"+"===n?e.minimumSignificantDigits=r.length:"#"===r[0]?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""}),e}function nt(t){switch(t){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 ot(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!et.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function it(t){var e=nt(t);return e||{}}function at(t){for(var e={},r=0,n=t;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=o.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=q(o.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=i(i(i({},e),{notation:"scientific"}),o.options.reduce(function(t,e){return i(i({},t),it(e))},{}));continue;case"engineering":e=i(i(i({},e),{notation:"engineering"}),o.options.reduce(function(t,e){return i(i({},t),it(e))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(o.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(tt,function(t,r,n,o,i,a){if(r)e.minimumIntegerDigits=n.length;else{if(o&&i)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(et.test(o.stem))e.minimumIntegerDigits=o.stem.length;else if(J.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(J,function(t,r,n,o,i,a){return"*"===n?e.minimumFractionDigits=r.length:o&&"#"===o[0]?e.maximumFractionDigits=o.length:i&&a?(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length+a.length):(e.minimumFractionDigits=r.length,e.maximumFractionDigits=r.length),""});var a=o.options[0];"w"===a?e=i(i({},e),{trailingZeroDisplay:"stripIfInteger"}):a&&(e=i(i({},e),rt(a)))}else if(Q.test(o.stem))e=i(i({},e),rt(o.stem));else{var s=nt(o.stem);s&&(e=i(i({},e),s));var c=ot(o.stem);c&&(e=i(i({},e),c))}}return e}var st,ct={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function ht(t){var e=t.hourCycle;if(void 0===e&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){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=t.language;return"root"!==n&&(r=t.maximize().region),(ct[r||""]||ct[n||""]||ct["".concat(n,"-001")]||ct["001"])[0]}var ut=new RegExp("^".concat(W.source,"*")),lt=new RegExp("".concat(W.source,"*$"));function ft(t,e){return{start:t,end:e}}var pt=!!String.prototype.startsWith&&"_a".startsWith("a",1),dt=!!String.fromCodePoint,vt=!!Object.fromEntries,yt=!!String.prototype.codePointAt,gt=!!String.prototype.trimStart,_t=!!String.prototype.trimEnd,bt=!!Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},mt=!0;try{mt="a"===(null===(st=xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===st?void 0:st[0])}catch(fn){mt=!1}var Et,Bt=pt?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},wt=dt?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,n="",o=t.length,i=0;o>i;){if((r=t[i++])>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},St=vt?Object.fromEntries:function(t){for(var e={},r=0,n=t;r<n.length;r++){var o=n[r],i=o[0],a=o[1];e[i]=a}return e},Tt=yt?function(t,e){return t.codePointAt(e)}:function(t,e){var r=t.length;if(!(e<0||e>=r)){var n,o=t.charCodeAt(e);return o<55296||o>56319||e+1===r||(n=t.charCodeAt(e+1))<56320||n>57343?o:n-56320+(o-55296<<10)+65536}},Ht=gt?function(t){return t.trimStart()}:function(t){return t.replace(ut,"")},At=_t?function(t){return t.trimEnd()}:function(t){return t.replace(lt,"")};function xt(t,e){return new RegExp(t,e)}if(mt){var Pt=xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Et=function(t,e){var r;return Pt.lastIndex=e,null!==(r=Pt.exec(t)[1])&&void 0!==r?r:""}}else Et=function(t,e){for(var r=[];;){var n=Tt(t,e);if(void 0===n||Mt(n)||kt(n))break;r.push(n),e+=n>=65536?2:1}return wt.apply(void 0,r)};var Ct=function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var n=[];!this.isEOF();){var o=this.char();if(123===o){if((i=this.parseArgument(t,r)).err)return i;n.push(i.val)}else{if(125===o&&t>0)break;if(35!==o||"plural"!==e&&"selectordinal"!==e){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(j.UNMATCHED_CLOSING_TAG,ft(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Ot(this.peek()||0)){if((i=this.parseTag(t,e)).err)return i;n.push(i.val)}else{var i;if((i=this.parseLiteral(t,e)).err)return i;n.push(i.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:F.pound,location:ft(a,this.clonePosition())})}}}return{val:n,err:null}},t.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:F.literal,value:"<".concat(n,"/>"),location:ft(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,e,!0);if(o.err)return o;var i=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ot(this.char()))return this.error(j.INVALID_TAG,ft(a,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(j.UNMATCHED_CLOSING_TAG,ft(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:F.tag,value:n,children:i,location:ft(r,this.clonePosition())},err:null}:this.error(j.INVALID_TAG,ft(a,this.clonePosition())))}return this.error(j.UNCLOSED_TAG,ft(r,this.clonePosition()))}return this.error(j.INVALID_TAG,ft(r,this.clonePosition()))},t.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Lt(this.char());)this.bump();return this.message.slice(t,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(e);if(o)n+=o;else{var i=this.tryParseUnquoted(t,e);if(i)n+=i;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var s=ft(r,this.clonePosition());return{val:{type:F.literal,value:n,location:s},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ot(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(t){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"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(r);this.bump()}return wt.apply(void 0,e)},t.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&t>0?null:(this.bump(),wt(r))},t.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,ft(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(j.EMPTY_ARGUMENT,ft(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(j.MALFORMED_ARGUMENT,ft(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,ft(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:F.argument,value:n,location:ft(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,ft(r,this.clonePosition())):this.parseArgumentOptions(t,e,n,r);default:return this.error(j.MALFORMED_ARGUMENT,ft(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=Et(this.message,e),n=e+r.length;return this.bumpTo(n),{value:r,location:ft(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,n){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(j.EXPECT_ARGUMENT_TYPE,ft(a,c));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((_=this.parseSimpleArgStyleIfPossible()).err)return _;if(0===(d=At(_.val)).length)return this.error(j.EXPECT_ARGUMENT_STYLE,ft(this.clonePosition(),this.clonePosition()));h={style:d,styleLocation:ft(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var l=ft(n,this.clonePosition());if(h&&Bt(null==h?void 0:h.style,"::",0)){var f=Ht(h.style.slice(2));if("number"===s)return(_=this.parseNumberSkeletonFromString(f,h.styleLocation)).err?_:{val:{type:F.number,value:r,location:l,style:_.val},err:null};if(0===f.length)return this.error(j.EXPECT_DATE_TIME_SKELETON,l);var p=f;this.locale&&(p=function(t,e){for(var r="",n=0;n<t.length;n++){var o=t.charAt(n);if("j"===o){for(var i=0;n+1<t.length&&t.charAt(n+1)===o;)i++,n++;var a=1+(1&i),s=i<2?1:3+(i>>1),c=ht(e);for("H"!=c&&"k"!=c||(s=0);s-- >0;)r+="a";for(;a-- >0;)r=c+r}else r+="J"===o?"H":o}return r}(f,this.locale));var d={type:z.dateTime,pattern:p,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?$(p):{}};return{val:{type:"date"===s?F.date:F.time,value:r,location:l,style:d},err:null}}return{val:{type:"number"===s?F.number:"date"===s?F.date:F.time,value:r,location:l,style:null!==(o=null==h?void 0:h.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(j.EXPECT_SELECT_ARGUMENT_OPTIONS,ft(v,i({},v)));this.bumpSpace();var y=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===y.value){if(!this.bumpIf(":"))return this.error(j.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ft(this.clonePosition(),this.clonePosition()));var _;if(this.bumpSpace(),(_=this.tryParseDecimalInteger(j.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,j.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return _;this.bumpSpace(),y=this.parseIdentifierIfPossible(),g=_.val}var b,m=this.tryParsePluralOrSelectOptions(t,s,e,y);if(m.err)return m;if((b=this.tryParseArgumentClose(n)).err)return b;var E=ft(n,this.clonePosition());return"select"===s?{val:{type:F.select,value:r,options:St(m.val),location:E},err:null}:{val:{type:F.plural,value:r,options:St(m.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(j.INVALID_ARGUMENT_TYPE,ft(a,c))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,ft(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(j.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ft(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=t.split(Z).filter(function(t){return t.length>0}),r=[],n=0,o=e;n<o.length;n++){var i=o[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],s=i.slice(1),c=0,h=s;c<h.length;c++)if(0===h[c].length)throw new Error("Invalid number skeleton");r.push({stem:a,options:s})}return r}(t)}catch(t){return this.error(j.INVALID_NUMBER_SKELETON,e)}return{val:{type:z.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?at(r):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,e,r,n){for(var o,i=!1,a=[],s=new Set,c=n.value,h=n.location;;){if(0===c.length){var u=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var l=this.tryParseDecimalInteger(j.EXPECT_PLURAL_ARGUMENT_SELECTOR,j.INVALID_PLURAL_ARGUMENT_SELECTOR);if(l.err)return l;h=ft(u,this.clonePosition()),c=this.message.slice(u.offset,this.offset())}if(s.has(c))return this.error("select"===e?j.DUPLICATE_SELECT_ARGUMENT_SELECTOR:j.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);"other"===c&&(i=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?j.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:j.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ft(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(t+1,e,r);if(p.err)return p;var d=this.tryParseArgumentClose(f);if(d.err)return d;a.push([c,{value:p.val,location:ft(f,this.clonePosition())}]),s.add(c),this.bumpSpace(),c=(o=this.parseIdentifierIfPossible()).value,h=o.location}return 0===a.length?this.error("select"===e?j.EXPECT_SELECT_ARGUMENT_SELECTOR:j.EXPECT_PLURAL_ARGUMENT_SELECTOR,ft(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(j.MISSING_OTHER_CLAUSE,ft(this.clonePosition(),this.clonePosition())):{val:a,err:null}},t.prototype.tryParseDecimalInteger=function(t,e){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var s=ft(n,this.clonePosition());return o?bt(i*=r)?{val:i,err:null}:this.error(e,s):this.error(t,s)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=Tt(this.message,t);if(void 0===e)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return e},t.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(Bt(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(t){var e=this.offset(),r=this.message.indexOf(t,e);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(e>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Mt(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),r=this.message.charCodeAt(e+(t>=65536?2:1));return null!=r?r:null},t}();function Ot(t){return t>=97&&t<=122||t>=65&&t<=90}function Lt(t){return 45===t||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function Mt(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function kt(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function It(t){t.forEach(function(t){if(delete t.location,function(t){return t.type===F.select}(t)||function(t){return t.type===F.plural}(t))for(var e in t.options)delete t.options[e].location,It(t.options[e].value);else(function(t){return t.type===F.number})(t)&&function(t){return!(!t||"object"!=typeof t||t.type!==z.number)}(t.style)?delete t.style.location:!function(t){return t.type===F.date}(t)&&!function(t){return t.type===F.time}(t)||!function(t){return!(!t||"object"!=typeof t||t.type!==z.dateTime)}(t.style)?function(t){return t.type===F.tag}(t)&&It(t.children):delete t.style.location})}var Rt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Nt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Dt(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if("function"==typeof e){var r=function t(){var r=!1;try{r=this instanceof t}catch{}return r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})}),r}var Ut,Gt={};function jt(){if(Ut)return Gt;var t,e;return Ut=1,Object.defineProperty(Gt,"__esModule",{value:!0}),Gt.SKELETON_TYPE=Gt.TYPE=void 0,Gt.isLiteralElement=function(e){return e.type===t.literal},Gt.isArgumentElement=function(e){return e.type===t.argument},Gt.isNumberElement=function(e){return e.type===t.number},Gt.isDateElement=function(e){return e.type===t.date},Gt.isTimeElement=function(e){return e.type===t.time},Gt.isSelectElement=function(e){return e.type===t.select},Gt.isPluralElement=function(e){return e.type===t.plural},Gt.isPoundElement=function(e){return e.type===t.pound},Gt.isTagElement=function(e){return e.type===t.tag},Gt.isNumberSkeleton=function(t){return!(!t||"object"!=typeof t||t.type!==e.number)},Gt.isDateTimeSkeleton=function(t){return!(!t||"object"!=typeof t||t.type!==e.dateTime)},Gt.createLiteralElement=function(e){return{type:t.literal,value:e}},Gt.createNumberElement=function(e,r){return{type:t.number,value:e,style:r}},function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(t||(Gt.TYPE=t={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(e||(Gt.SKELETON_TYPE=e={})),Gt}var Ft,zt,Kt,Xt=jt(),Vt={},Wt=Dt(G);!function(){if(Ft)return Vt;Ft=1,Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.printAST=r,Vt.doPrintAST=n,Vt.printDateTimeSkeleton=a;var t=Wt,e=jt();function r(t){return n(t,!1)}function n(s,c){var h=s.map(function(h,u){return(0,e.isLiteralElement)(h)?function(t,e,r,n){var i=t.value,a=i;r||"'"!==a[0]||(a="''".concat(a.slice(1)));n||"'"!==a[a.length-1]||(a="".concat(a.slice(0,a.length-1),"''"));return a=o(a),e?a.replace("#","'#'"):a}(h,c,0===u,u===s.length-1):(0,e.isArgumentElement)(h)?function(t){var e=t.value;return"{".concat(e,"}")}(h):(0,e.isDateElement)(h)||(0,e.isTimeElement)(h)||(0,e.isNumberElement)(h)?function(t){return"{".concat(t.value,", ").concat(e.TYPE[t.type]).concat(t.style?", ".concat((r=t.style,"string"==typeof r?o(r):r.type===e.SKELETON_TYPE.dateTime?"::".concat(a(r)):"::".concat(r.tokens.map(i).join(" ")))):"","}");var r}(h):(0,e.isPluralElement)(h)?function(e){var r="cardinal"===e.pluralType?"plural":"selectordinal",o=[e.value,r,t.__spreadArray([e.offset?"offset:".concat(e.offset):""],Object.keys(e.options).map(function(t){return"".concat(t,"{").concat(n(e.options[t].value,!0),"}")}),!0).filter(Boolean).join(" ")].join(",");return"{".concat(o,"}")}(h):(0,e.isSelectElement)(h)?function(t){var e=[t.value,"select",Object.keys(t.options).map(function(e){return"".concat(e,"{").concat(n(t.options[e].value,!1),"}")}).join(" ")].join(",");return"{".concat(e,"}")}(h):(0,e.isPoundElement)(h)?"#":(0,e.isTagElement)(h)?function(t){return"<".concat(t.value,">").concat(r(t.children),"</").concat(t.value,">")}(h):void 0});return h.join("")}function o(t){return t.replace(/([{}](?:[\s\S]*[{}])?)/,"'$1'")}function i(t){var e=t.stem,r=t.options;return 0===r.length?e:"".concat(e).concat(r.map(function(t){return"/".concat(t)}).join(""))}function a(t){return t.pattern}}();var Yt=(Kt||(Kt=1,zt=function(t,e){e||(e={}),"function"==typeof e&&(e={cmp:e});var r,n="boolean"==typeof e.cycles&&e.cycles,o=e.cmp&&(r=e.cmp,function(t){return function(e,n){var o={key:e,value:t[e]},i={key:n,value:t[n]};return r(o,i)}}),i=[];return function t(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return JSON.stringify(e);var r,a;if(Array.isArray(e)){for(a="[",r=0;r<e.length;r++)r&&(a+=","),a+=t(e[r])||"null";return a+"]"}if(null===e)return"null";if(-1!==i.indexOf(e)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=i.push(e)-1,c=Object.keys(e).sort(o&&o(e));for(a="",r=0;r<c.length;r++){var h=c[r],u=t(e[h]);u&&(a&&(a+=","),a+=JSON.stringify(h)+":"+u)}return i.splice(s,1),"{"+a+"}"}}(t)}),zt),$t=Nt(Yt),Zt={exports:{}};var qt,Jt={exports:{}};function Qt(){return qt||(qt=1,Jt.exports=(t=t||function(t,e){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==Rt&&Rt.crypto&&(r=Rt.crypto),!r)try{r=require("crypto")}catch(t){}var n=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function t(){}return function(e){var r;return t.prototype=e,r=new t,t.prototype=null,r}}(),i={},a=i.lib={},s=a.Base={extend:function(t){var e=o(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},c=a.WordArray=s.extend({init:function(t,r){t=this.words=t||[],this.sigBytes=r!=e?r:4*t.length},toString:function(t){return(t||u).stringify(this)},concat:function(t){var e=this.words,r=t.words,n=this.sigBytes,o=t.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var a=r[i>>>2]>>>24-i%4*8&255;e[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var s=0;s<o;s+=4)e[n+s>>>2]=r[s>>>2];return this.sigBytes+=o,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=s.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],r=0;r<t;r+=4)e.push(n());return new c.init(e,t)}}),h=i.enc={},u=h.Hex={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o++){var i=e[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new c.init(r,e/2)}},l=h.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o++){var i=e[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new c.init(r,e)}},f=h.Utf8={stringify:function(t){try{return decodeURIComponent(escape(l.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return l.parse(unescape(encodeURIComponent(t)))}},p=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=f.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r,n=this._data,o=n.words,i=n.sigBytes,a=this.blockSize,s=i/(4*a),h=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*a,u=t.min(4*h,i);if(h){for(var l=0;l<h;l+=a)this._doProcessBlock(o,l);r=o.splice(0,h),n.sigBytes-=u}return new c.init(r,u)},clone:function(){var t=s.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});a.Hasher=p.extend({cfg:s.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,r){return new t.init(r).finalize(e)}},_createHmacHelper:function(t){return function(e,r){return new d.HMAC.init(t,r).finalize(e)}}});var d=i.algo={};return i}(Math),t)),Jt.exports;var t}var te,ee={exports:{}};function re(){return te||(te=1,ee.exports=(t=Qt(),function(e){var r=t,n=r.lib,o=n.Base,i=n.WordArray,a=r.x64={};a.Word=o.extend({init:function(t,e){this.high=t,this.low=e}}),a.WordArray=o.extend({init:function(t,r){t=this.words=t||[],this.sigBytes=r!=e?r:8*t.length},toX32:function(){for(var t=this.words,e=t.length,r=[],n=0;n<e;n++){var o=t[n];r.push(o.high),r.push(o.low)}return i.create(r,this.sigBytes)},clone:function(){for(var t=o.clone.call(this),e=t.words=this.words.slice(0),r=e.length,n=0;n<r;n++)e[n]=e[n].clone();return t}})}(),t)),ee.exports;var t}var ne,oe={exports:{}};function ie(){return ne||(ne=1,oe.exports=(t=Qt(),function(){if("function"==typeof ArrayBuffer){var e=t.lib.WordArray,r=e.init,n=e.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var e=t.byteLength,n=[],o=0;o<e;o++)n[o>>>2]|=t[o]<<24-o%4*8;r.call(this,n,e)}else r.apply(this,arguments)};n.prototype=e}}(),t.lib.WordArray)),oe.exports;var t}var ae,se={exports:{}};function ce(){return ae||(ae=1,se.exports=(t=Qt(),function(){var e=t,r=e.lib.WordArray,n=e.enc;function o(t){return t<<8&4278255360|t>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o+=2){var i=e[o>>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(i))}return n.join("")},parse:function(t){for(var e=t.length,n=[],o=0;o<e;o++)n[o>>>1]|=t.charCodeAt(o)<<16-o%2*16;return r.create(n,2*e)}},n.Utf16LE={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],i=0;i<r;i+=2){var a=o(e[i>>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(a))}return n.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i<e;i++)n[i>>>1]|=o(t.charCodeAt(i)<<16-i%2*16);return r.create(n,2*e)}}}(),t.enc.Utf16)),se.exports;var t}var he,ue={exports:{}};function le(){return he||(he=1,ue.exports=(t=Qt(),function(){var e=t,r=e.lib.WordArray;function n(t,e,n){for(var o=[],i=0,a=0;a<e;a++)if(a%4){var s=n[t.charCodeAt(a-1)]<<a%4*2|n[t.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return r.create(o,i)}e.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,n=this._map;t.clamp();for(var o=[],i=0;i<r;i+=3)for(var a=(e[i>>>2]>>>24-i%4*8&255)<<16|(e[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|e[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<r;s++)o.push(n.charAt(a>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(t){var e=t.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<r.length;i++)o[r.charCodeAt(i)]=i}var a=r.charAt(64);if(a){var s=t.indexOf(a);-1!==s&&(e=s)}return n(t,e,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),t.enc.Base64)),ue.exports;var t}var fe,pe={exports:{}};function de(){return fe||(fe=1,pe.exports=(t=Qt(),function(){var e=t,r=e.lib.WordArray;function n(t,e,n){for(var o=[],i=0,a=0;a<e;a++)if(a%4){var s=n[t.charCodeAt(a-1)]<<a%4*2|n[t.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return r.create(o,i)}e.enc.Base64url={stringify:function(t,e){void 0===e&&(e=!0);var r=t.words,n=t.sigBytes,o=e?this._safe_map:this._map;t.clamp();for(var i=[],a=0;a<n;a+=3)for(var s=(r[a>>>2]>>>24-a%4*8&255)<<16|(r[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|r[a+2>>>2]>>>24-(a+2)%4*8&255,c=0;c<4&&a+.75*c<n;c++)i.push(o.charAt(s>>>6*(3-c)&63));var h=o.charAt(64);if(h)for(;i.length%4;)i.push(h);return i.join("")},parse:function(t,e){void 0===e&&(e=!0);var r=t.length,o=e?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<o.length;a++)i[o.charCodeAt(a)]=a}var s=o.charAt(64);if(s){var c=t.indexOf(s);-1!==c&&(r=c)}return n(t,r,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),t.enc.Base64url)),pe.exports;var t}var ve,ye={exports:{}};function ge(){return ve||(ve=1,ye.exports=(t=Qt(),function(e){var r=t,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var n=e+r,o=t[n];t[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=t[e+0],c=t[e+1],p=t[e+2],d=t[e+3],v=t[e+4],y=t[e+5],g=t[e+6],_=t[e+7],b=t[e+8],m=t[e+9],E=t[e+10],B=t[e+11],w=t[e+12],S=t[e+13],T=t[e+14],H=t[e+15],A=i[0],x=i[1],P=i[2],C=i[3];A=h(A,x,P,C,a,7,s[0]),C=h(C,A,x,P,c,12,s[1]),P=h(P,C,A,x,p,17,s[2]),x=h(x,P,C,A,d,22,s[3]),A=h(A,x,P,C,v,7,s[4]),C=h(C,A,x,P,y,12,s[5]),P=h(P,C,A,x,g,17,s[6]),x=h(x,P,C,A,_,22,s[7]),A=h(A,x,P,C,b,7,s[8]),C=h(C,A,x,P,m,12,s[9]),P=h(P,C,A,x,E,17,s[10]),x=h(x,P,C,A,B,22,s[11]),A=h(A,x,P,C,w,7,s[12]),C=h(C,A,x,P,S,12,s[13]),P=h(P,C,A,x,T,17,s[14]),A=u(A,x=h(x,P,C,A,H,22,s[15]),P,C,c,5,s[16]),C=u(C,A,x,P,g,9,s[17]),P=u(P,C,A,x,B,14,s[18]),x=u(x,P,C,A,a,20,s[19]),A=u(A,x,P,C,y,5,s[20]),C=u(C,A,x,P,E,9,s[21]),P=u(P,C,A,x,H,14,s[22]),x=u(x,P,C,A,v,20,s[23]),A=u(A,x,P,C,m,5,s[24]),C=u(C,A,x,P,T,9,s[25]),P=u(P,C,A,x,d,14,s[26]),x=u(x,P,C,A,b,20,s[27]),A=u(A,x,P,C,S,5,s[28]),C=u(C,A,x,P,p,9,s[29]),P=u(P,C,A,x,_,14,s[30]),A=l(A,x=u(x,P,C,A,w,20,s[31]),P,C,y,4,s[32]),C=l(C,A,x,P,b,11,s[33]),P=l(P,C,A,x,B,16,s[34]),x=l(x,P,C,A,T,23,s[35]),A=l(A,x,P,C,c,4,s[36]),C=l(C,A,x,P,v,11,s[37]),P=l(P,C,A,x,_,16,s[38]),x=l(x,P,C,A,E,23,s[39]),A=l(A,x,P,C,S,4,s[40]),C=l(C,A,x,P,a,11,s[41]),P=l(P,C,A,x,d,16,s[42]),x=l(x,P,C,A,g,23,s[43]),A=l(A,x,P,C,m,4,s[44]),C=l(C,A,x,P,w,11,s[45]),P=l(P,C,A,x,H,16,s[46]),A=f(A,x=l(x,P,C,A,p,23,s[47]),P,C,a,6,s[48]),C=f(C,A,x,P,_,10,s[49]),P=f(P,C,A,x,T,15,s[50]),x=f(x,P,C,A,y,21,s[51]),A=f(A,x,P,C,w,6,s[52]),C=f(C,A,x,P,d,10,s[53]),P=f(P,C,A,x,E,15,s[54]),x=f(x,P,C,A,c,21,s[55]),A=f(A,x,P,C,b,6,s[56]),C=f(C,A,x,P,H,10,s[57]),P=f(P,C,A,x,g,15,s[58]),x=f(x,P,C,A,S,21,s[59]),A=f(A,x,P,C,v,6,s[60]),C=f(C,A,x,P,B,10,s[61]),P=f(P,C,A,x,p,15,s[62]),x=f(x,P,C,A,m,21,s[63]),i[0]=i[0]+A|0,i[1]=i[1]+x|0,i[2]=i[2]+P|0,i[3]=i[3]+C|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var i=e.floor(n/4294967296),a=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,c=s.words,h=0;h<4;h++){var u=c[h];c[h]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});function h(t,e,r,n,o,i,a){var s=t+(e&r|~e&n)+o+a;return(s<<i|s>>>32-i)+e}function u(t,e,r,n,o,i,a){var s=t+(e&n|r&~n)+o+a;return(s<<i|s>>>32-i)+e}function l(t,e,r,n,o,i,a){var s=t+(e^r^n)+o+a;return(s<<i|s>>>32-i)+e}function f(t,e,r,n,o,i,a){var s=t+(r^(e|~n))+o+a;return(s<<i|s>>>32-i)+e}r.MD5=i._createHelper(c),r.HmacMD5=i._createHmacHelper(c)}(Math),t.MD5)),ye.exports;var t}var _e,be={exports:{}};function me(){return _e||(_e=1,be.exports=(t=Qt(),function(){var e=t,r=e.lib,n=r.WordArray,o=r.Hasher,i=e.algo,a=[],s=i.SHA1=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],c=r[4],h=0;h<80;h++){if(h<16)a[h]=0|t[e+h];else{var u=a[h-3]^a[h-8]^a[h-14]^a[h-16];a[h]=u<<1|u>>>31}var l=(n<<5|n>>>27)+c+a[h];l+=h<20?1518500249+(o&i|~o&s):h<40?1859775393+(o^i^s):h<60?(o&i|o&s|i&s)-1894007588:(o^i^s)-899497514,c=s,s=i,i=o<<30|o>>>2,o=n,n=l}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),e[15+(n+64>>>9<<4)]=r,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA1=o._createHelper(s),e.HmacSHA1=o._createHmacHelper(s)}(),t.SHA1)),be.exports;var t}var Ee,Be={exports:{}};function we(){return Ee||(Ee=1,Be.exports=(t=Qt(),function(e){var r=t,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.algo,s=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(t){return 4294967296*(t-(0|t))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(s[o]=r(e.pow(n,.5))),c[o]=r(e.pow(n,1/3)),o++),n++}();var h=[],u=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=r[5],l=r[6],f=r[7],p=0;p<64;p++){if(p<16)h[p]=0|t[e+p];else{var d=h[p-15],v=(d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3,y=h[p-2],g=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;h[p]=v+h[p-7]+g+h[p-16]}var _=n&o^n&i^o&i,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),m=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&l)+c[p]+h[p];f=l,l=u,u=s,s=a+m|0,a=i,i=o,o=n,n=m+(b+_)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0,r[5]=r[5]+u|0,r[6]=r[6]+l|0,r[7]=r[7]+f|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});r.SHA256=i._createHelper(u),r.HmacSHA256=i._createHmacHelper(u)}(Math),t.SHA256)),Be.exports;var t}var Se,Te={exports:{}};var He,Ae={exports:{}};function xe(){return He||(He=1,Ae.exports=(t=Qt(),re(),function(){var e=t,r=e.lib.Hasher,n=e.x64,o=n.Word,i=n.WordArray,a=e.algo;function s(){return o.create.apply(o,arguments)}var c=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],h=[];!function(){for(var t=0;t<80;t++)h[t]=s()}();var u=a.SHA512=r.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=r[5],l=r[6],f=r[7],p=n.high,d=n.low,v=o.high,y=o.low,g=i.high,_=i.low,b=a.high,m=a.low,E=s.high,B=s.low,w=u.high,S=u.low,T=l.high,H=l.low,A=f.high,x=f.low,P=p,C=d,O=v,L=y,M=g,k=_,I=b,R=m,N=E,D=B,U=w,G=S,j=T,F=H,z=A,K=x,X=0;X<80;X++){var V,W,Y=h[X];if(X<16)W=Y.high=0|t[e+2*X],V=Y.low=0|t[e+2*X+1];else{var $=h[X-15],Z=$.high,q=$.low,J=(Z>>>1|q<<31)^(Z>>>8|q<<24)^Z>>>7,Q=(q>>>1|Z<<31)^(q>>>8|Z<<24)^(q>>>7|Z<<25),tt=h[X-2],et=tt.high,rt=tt.low,nt=(et>>>19|rt<<13)^(et<<3|rt>>>29)^et>>>6,ot=(rt>>>19|et<<13)^(rt<<3|et>>>29)^(rt>>>6|et<<26),it=h[X-7],at=it.high,st=it.low,ct=h[X-16],ht=ct.high,ut=ct.low;W=(W=(W=J+at+((V=Q+st)>>>0<Q>>>0?1:0))+nt+((V+=ot)>>>0<ot>>>0?1:0))+ht+((V+=ut)>>>0<ut>>>0?1:0),Y.high=W,Y.low=V}var lt,ft=N&U^~N&j,pt=D&G^~D&F,dt=P&O^P&M^O&M,vt=C&L^C&k^L&k,yt=(P>>>28|C<<4)^(P<<30|C>>>2)^(P<<25|C>>>7),gt=(C>>>28|P<<4)^(C<<30|P>>>2)^(C<<25|P>>>7),_t=(N>>>14|D<<18)^(N>>>18|D<<14)^(N<<23|D>>>9),bt=(D>>>14|N<<18)^(D>>>18|N<<14)^(D<<23|N>>>9),mt=c[X],Et=mt.high,Bt=mt.low,wt=z+_t+((lt=K+bt)>>>0<K>>>0?1:0),St=gt+vt;z=j,K=F,j=U,F=G,U=N,G=D,N=I+(wt=(wt=(wt=wt+ft+((lt+=pt)>>>0<pt>>>0?1:0))+Et+((lt+=Bt)>>>0<Bt>>>0?1:0))+W+((lt+=V)>>>0<V>>>0?1:0))+((D=R+lt|0)>>>0<R>>>0?1:0)|0,I=M,R=k,M=O,k=L,O=P,L=C,P=wt+(yt+dt+(St>>>0<gt>>>0?1:0))+((C=lt+St|0)>>>0<lt>>>0?1:0)|0}d=n.low=d+C,n.high=p+P+(d>>>0<C>>>0?1:0),y=o.low=y+L,o.high=v+O+(y>>>0<L>>>0?1:0),_=i.low=_+k,i.high=g+M+(_>>>0<k>>>0?1:0),m=a.low=m+R,a.high=b+I+(m>>>0<R>>>0?1:0),B=s.low=B+D,s.high=E+N+(B>>>0<D>>>0?1:0),S=u.low=S+G,u.high=w+U+(S>>>0<G>>>0?1:0),H=l.low=H+F,l.high=T+j+(H>>>0<F>>>0?1:0),x=f.low=x+K,f.high=A+z+(x>>>0<K>>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),e[31+(n+128>>>10<<5)]=r,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});e.SHA512=r._createHelper(u),e.HmacSHA512=r._createHmacHelper(u)}(),t.SHA512)),Ae.exports;var t}var Pe,Ce={exports:{}};var Oe,Le={exports:{}};function Me(){return Oe||(Oe=1,Le.exports=(t=Qt(),re(),function(e){var r=t,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.x64.Word,s=r.algo,c=[],h=[],u=[];!function(){for(var t=1,e=0,r=0;r<24;r++){c[t+5*e]=(r+1)*(r+2)/2%64;var n=(2*t+3*e)%5;t=e%5,e=n}for(t=0;t<5;t++)for(e=0;e<5;e++)h[t+5*e]=e+(2*t+3*e)%5*5;for(var o=1,i=0;i<24;i++){for(var s=0,l=0,f=0;f<7;f++){if(1&o){var p=(1<<f)-1;p<32?l^=1<<p:s^=1<<p-32}128&o?o=o<<1^113:o<<=1}u[i]=a.create(s,l)}}();var l=[];!function(){for(var t=0;t<25;t++)l[t]=a.create()}();var f=s.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var t=this._state=[],e=0;e<25;e++)t[e]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(t,e){for(var r=this._state,n=this.blockSize/2,o=0;o<n;o++){var i=t[e+2*o],a=t[e+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(x=r[o]).high^=a,x.low^=i}for(var s=0;s<24;s++){for(var f=0;f<5;f++){for(var p=0,d=0,v=0;v<5;v++)p^=(x=r[f+5*v]).high,d^=x.low;var y=l[f];y.high=p,y.low=d}for(f=0;f<5;f++){var g=l[(f+4)%5],_=l[(f+1)%5],b=_.high,m=_.low;for(p=g.high^(b<<1|m>>>31),d=g.low^(m<<1|b>>>31),v=0;v<5;v++)(x=r[f+5*v]).high^=p,x.low^=d}for(var E=1;E<25;E++){var B=(x=r[E]).high,w=x.low,S=c[E];S<32?(p=B<<S|w>>>32-S,d=w<<S|B>>>32-S):(p=w<<S-32|B>>>64-S,d=B<<S-32|w>>>64-S);var T=l[h[E]];T.high=p,T.low=d}var H=l[0],A=r[0];for(H.high=A.high,H.low=A.low,f=0;f<5;f++)for(v=0;v<5;v++){var x=r[E=f+5*v],P=l[E],C=l[(f+1)%5+5*v],O=l[(f+2)%5+5*v];x.high=P.high^~C.high&O.high,x.low=P.low^~C.low&O.low}x=r[0];var L=u[s];x.high^=L.high,x.low^=L.low}},_doFinalize:function(){var t=this._data,r=t.words;this._nDataBytes;var n=8*t.sigBytes,i=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*r.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,c=s/8,h=[],u=0;u<c;u++){var l=a[u],f=l.high,p=l.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),h.push(p),h.push(f)}return new o.init(h,s)},clone:function(){for(var t=i.clone.call(this),e=t._state=this._state.slice(0),r=0;r<25;r++)e[r]=e[r].clone();return t}});r.SHA3=i._createHelper(f),r.HmacSHA3=i._createHmacHelper(f)}(Math),t.SHA3)),Le.exports;var t}var ke,Ie={exports:{}};var Re,Ne={exports:{}};function De(){return Re||(Re=1,Ne.exports=(t=Qt(),void function(){var e=t,r=e.lib.Base,n=e.enc.Utf8;e.algo.HMAC=r.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=n.parse(e));var r=t.blockSize,o=4*r;e.sigBytes>o&&(e=t.finalize(e)),e.clamp();for(var i=this._oKey=e.clone(),a=this._iKey=e.clone(),s=i.words,c=a.words,h=0;h<r;h++)s[h]^=1549556828,c[h]^=909522486;i.sigBytes=a.sigBytes=o,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,r=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(r))}})}())),Ne.exports;var t}var Ue,Ge={exports:{}};var je,Fe={exports:{}};function ze(){return je||(je=1,Fe.exports=(t=Qt(),me(),De(),function(){var e=t,r=e.lib,n=r.Base,o=r.WordArray,i=e.algo,a=i.MD5,s=i.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var r,n=this.cfg,i=n.hasher.create(),a=o.create(),s=a.words,c=n.keySize,h=n.iterations;s.length<c;){r&&i.update(r),r=i.update(t).finalize(e),i.reset();for(var u=1;u<h;u++)r=i.finalize(r),i.reset();a.concat(r)}return a.sigBytes=4*c,a}});e.EvpKDF=function(t,e,r){return s.create(r).compute(t,e)}}(),t.EvpKDF)),Fe.exports;var t}var Ke,Xe={exports:{}};function Ve(){return Ke||(Ke=1,Xe.exports=(t=Qt(),ze(),void(t.lib.Cipher||function(e){var r=t,n=r.lib,o=n.Base,i=n.WordArray,a=n.BufferedBlockAlgorithm,s=r.enc;s.Utf8;var c=s.Base64,h=r.algo.EvpKDF,u=n.Cipher=a.extend({cfg:o.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,r){this.cfg=this.cfg.extend(r),this._xformMode=t,this._key=e,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){return t&&this._append(t),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?b:g}return function(e){return{encrypt:function(r,n,o){return t(n).encrypt(e,r,n,o)},decrypt:function(r,n,o){return t(n).decrypt(e,r,n,o)}}}}()});n.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var l=r.mode={},f=n.BlockCipherMode=o.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}}),p=l.CBC=function(){var t=f.extend();function r(t,r,n){var o,i=this._iv;i?(o=i,this._iv=e):o=this._prevBlock;for(var a=0;a<n;a++)t[r+a]^=o[a]}return t.Encryptor=t.extend({processBlock:function(t,e){var n=this._cipher,o=n.blockSize;r.call(this,t,e,o),n.encryptBlock(t,e),this._prevBlock=t.slice(e,e+o)}}),t.Decryptor=t.extend({processBlock:function(t,e){var n=this._cipher,o=n.blockSize,i=t.slice(e,e+o);n.decryptBlock(t,e),r.call(this,t,e,o),this._prevBlock=i}}),t}(),d=(r.pad={}).Pkcs7={pad:function(t,e){for(var r=4*e,n=r-t.sigBytes%r,o=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(o);var c=i.create(a,n);t.concat(c)},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}};n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:p,padding:d}),reset:function(){var t;u.reset.call(this);var e=this.cfg,r=e.iv,n=e.mode;this._xformMode==this._ENC_XFORM_MODE?t=n.createEncryptor:(t=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==t?this._mode.init(this,r&&r.words):(this._mode=t.call(n,this,r&&r.words),this._mode.__creator=t)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t,e=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(e.pad(this._data,this.blockSize),t=this._process(!0)):(t=this._process(!0),e.unpad(t)),t},blockSize:4});var v=n.CipherParams=o.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}}),y=(r.format={}).OpenSSL={stringify:function(t){var e=t.ciphertext,r=t.salt;return(r?i.create([1398893684,1701076831]).concat(r).concat(e):e).toString(c)},parse:function(t){var e,r=c.parse(t),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(e=i.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),v.create({ciphertext:r,salt:e})}},g=n.SerializableCipher=o.extend({cfg:o.extend({format:y}),encrypt:function(t,e,r,n){n=this.cfg.extend(n);var o=t.createEncryptor(r,n),i=o.finalize(e),a=o.cfg;return v.create({ciphertext:i,key:r,iv:a.iv,algorithm:t,mode:a.mode,padding:a.padding,blockSize:t.blockSize,formatter:n.format})},decrypt:function(t,e,r,n){return n=this.cfg.extend(n),e=this._parse(e,n.format),t.createDecryptor(r,n).finalize(e.ciphertext)},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),_=(r.kdf={}).OpenSSL={execute:function(t,e,r,n,o){if(n||(n=i.random(8)),o)a=h.create({keySize:e+r,hasher:o}).compute(t,n);else var a=h.create({keySize:e+r}).compute(t,n);var s=i.create(a.words.slice(e),4*r);return a.sigBytes=4*e,v.create({key:a,iv:s,salt:n})}},b=n.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:_}),encrypt:function(t,e,r,n){var o=(n=this.cfg.extend(n)).kdf.execute(r,t.keySize,t.ivSize,n.salt,n.hasher);n.iv=o.iv;var i=g.encrypt.call(this,t,e,o.key,n);return i.mixIn(o),i},decrypt:function(t,e,r,n){n=this.cfg.extend(n),e=this._parse(e,n.format);var o=n.kdf.execute(r,t.keySize,t.ivSize,e.salt,n.hasher);return n.iv=o.iv,g.decrypt.call(this,t,e,o.key,n)}})}()))),Xe.exports;var t}var We,Ye={exports:{}};function $e(){return We||(We=1,Ye.exports=(t=Qt(),Ve(),t.mode.CFB=function(){var e=t.lib.BlockCipherMode.extend();function r(t,e,r,n){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,n.encryptBlock(o,0);for(var a=0;a<r;a++)t[e+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(t,e){var n=this._cipher,o=n.blockSize;r.call(this,t,e,o,n),this._prevBlock=t.slice(e,e+o)}}),e.Decryptor=e.extend({processBlock:function(t,e){var n=this._cipher,o=n.blockSize,i=t.slice(e,e+o);r.call(this,t,e,o,n),this._prevBlock=i}}),e}(),t.mode.CFB)),Ye.exports;var t}var Ze,qe={exports:{}};function Je(){return Ze||(Ze=1,qe.exports=(r=Qt(),Ve(),r.mode.CTR=(t=r.lib.BlockCipherMode.extend(),e=t.Encryptor=t.extend({processBlock:function(t,e){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._counter;o&&(i=this._counter=o.slice(0),this._iv=void 0);var a=i.slice(0);r.encryptBlock(a,0),i[n-1]=i[n-1]+1|0;for(var s=0;s<n;s++)t[e+s]^=a[s]}}),t.Decryptor=e,t),r.mode.CTR)),qe.exports;var t,e,r}var Qe,tr={exports:{}};function er(){return Qe||(Qe=1,tr.exports=(t=Qt(),Ve(),
1
+ "use strict";var t=require("gt-i18n/internal"),e=require("node:async_hooks"),r=require("generaltranslation"),n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var i=function(){return i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};function a(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}function s(t,e,r,n){var o,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,r,a):o(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a}function c(t,e){return function(r,n){e(r,n,t)}}function h(t,e,r,n,o,i){function a(t){if(void 0!==t&&"function"!=typeof t)throw new TypeError("Function expected");return t}for(var s,c=n.kind,h="getter"===c?"get":"setter"===c?"set":"value",u=!e&&t?n.static?t:t.prototype:null,l=e||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),f=!1,p=r.length-1;p>=0;p--){var d={};for(var v in n)d[v]="access"===v?{}:n[v];for(var v in n.access)d.access[v]=n.access[v];d.addInitializer=function(t){if(f)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(t||null))};var y=(0,r[p])("accessor"===c?{get:l.get,set:l.set}:l[h],d);if("accessor"===c){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw new TypeError("Object expected");(s=a(y.get))&&(l.get=s),(s=a(y.set))&&(l.set=s),(s=a(y.init))&&o.unshift(s)}else(s=a(y))&&("field"===c?o.unshift(s):l[h]=s)}u&&Object.defineProperty(u,n.name,l),f=!0}function u(t,e,r){for(var n=arguments.length>2,o=0;o<e.length;o++)r=n?e[o].call(t,r):e[o].call(t);return n?r:void 0}function l(t){return"symbol"==typeof t?t:"".concat(t)}function f(t,e,r){return"symbol"==typeof e&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function p(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function d(t,e,r,n){return new(r||(r=Promise))(function(o,i){function a(t){try{c(n.next(t))}catch(t){i(t)}}function s(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(a,s)}c((n=n.apply(t,e||[])).next())})}function v(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var y=Object.create?function(t,e,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]};function g(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||y(e,t,r)}function _(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function m(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(b(arguments[e]));return t}function E(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),o=0;for(e=0;e<r;e++)for(var i=arguments[e],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}function B(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}function w(t){return this instanceof w?(this.v=t,this):new w(t)}function S(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(t,e||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(t){return function(e){return Promise.resolve(e).then(t,h)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(t,e){o[t]&&(n[t]=function(e){return new Promise(function(r,n){i.push([t,e,r,n])>1||s(t,e)})},e&&(n[t]=e(n[t])))}function s(t,e){try{!function(t){t.value instanceof w?Promise.resolve(t.value.v).then(c,h):u(i[0][2],t)}(o[t](e))}catch(t){u(i[0][3],t)}}function c(t){s("next",t)}function h(t){s("throw",t)}function u(t,e){t(e),i.shift(),i.length&&s(i[0][0],i[0][1])}}function T(t){var e,r;return e={},n("next"),n("throw",function(t){throw t}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(n,o){e[n]=t[n]?function(e){return(r=!r)?{value:w(t[n](e)),done:!1}:o?o(e):e}:o}}function H(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=_(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise(function(n,o){(function(t,e,r,n){Promise.resolve(n).then(function(e){t({value:e,done:r})},e)})(n,o,(e=t[r](e)).done,e.value)})}}}function A(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var x=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},P=function(t){return P=Object.getOwnPropertyNames||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[e.length]=r);return e},P(t)};function C(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r=P(t),n=0;n<r.length;n++)"default"!==r[n]&&y(e,t,r[n]);return x(e,t),e}function O(t){return t&&t.__esModule?t:{default:t}}function L(t,e,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)}function M(t,e,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(t,r):o?o.value=r:e.set(t,r),r}function k(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}function I(t,e,r){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(o=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}var R="function"==typeof SuppressedError?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};function N(t){function e(e){t.error=t.hasError?new R(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var r,n=0;return function o(){for(;r=t.stack.pop();)try{if(!r.async&&1===n)return n=0,t.stack.push(r),Promise.resolve().then(o);if(r.dispose){var i=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(i).then(o,function(t){return e(t),o()})}else n|=1}catch(t){e(t)}if(1===n)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}function D(t,e){return"string"==typeof t&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(t,r,n,o,i){return r?e?".jsx":".js":!n||o&&i?n+o+"."+i.toLowerCase()+"js":t}):t}var U={__extends:o,__assign:i,__rest:a,__decorate:s,__param:c,__esDecorate:h,__runInitializers:u,__propKey:l,__setFunctionName:f,__metadata:p,__awaiter:d,__generator:v,__createBinding:y,__exportStar:g,__values:_,__read:b,__spread:m,__spreadArrays:E,__spreadArray:B,__await:w,__asyncGenerator:S,__asyncDelegator:T,__asyncValues:H,__makeTemplateObject:A,__importStar:C,__importDefault:O,__classPrivateFieldGet:L,__classPrivateFieldSet:M,__classPrivateFieldIn:k,__addDisposableResource:I,__disposeResources:N,__rewriteRelativeImportExtension:D},G=Object.freeze({__proto__:null,__addDisposableResource:I,get __assign(){return i},__asyncDelegator:T,__asyncGenerator:S,__asyncValues:H,__await:w,__awaiter:d,__classPrivateFieldGet:L,__classPrivateFieldIn:k,__classPrivateFieldSet:M,__createBinding:y,__decorate:s,__disposeResources:N,__esDecorate:h,__exportStar:g,__extends:o,__generator:v,__importDefault:O,__importStar:C,__makeTemplateObject:A,__metadata:p,__param:c,__propKey:l,__read:b,__rest:a,__rewriteRelativeImportExtension:D,__runInitializers:u,__setFunctionName:f,__spread:m,__spreadArray:B,__spreadArrays:E,__values:_,default:U});var j,F,z,K=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.run=function(t,e){return this.storeAdapter.run({locale:t},e)},e}(t.I18nManager),X="async-storage-adapter",V=function(t){function r(r){var n=t.call(this)||this;return n.type=X,n.store=null!=r?r:new e.AsyncLocalStorage,n}return o(r,t),r.prototype.run=function(t,e){return this.store.run(t,e)},r.prototype.getItem=function(t){var e=this.store.getStore();if(e)return e[t]},r.prototype.setItem=function(t,e){var r=this.store.getStore();if(!r)throw new Error("setItem() called outside of an async context. Make sure you are inside a run() call.");r[t]=e},r.prototype.removeItem=function(t){},r}(t.StorageAdapter);!function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(j||(j={})),function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(F||(F={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(z||(z={}));var W=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Y=/(?:[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 $(t){var e={};return t.replace(Y,function(t){var r=t.length;switch(t[0]){case"G":e.era=4===r?"long":5===r?"narrow":"short";break;case"y":e.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":e.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":e.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":e.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][r-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][r-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][r-1];break;case"k":e.hourCycle="h24",e.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":e.minute=["numeric","2-digit"][r-1];break;case"s":e.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":e.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""}),e}var Z=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function q(t){return t.replace(/^(.*?)-/,"")}var J=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Q=/^(@+)?(\+|#+)?[rs]?$/g,tt=/(\*)(0+)|(#+)(0+)|(0+)/g,et=/^(0+)$/;function rt(t){var e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(Q,function(t,r,n){return"string"!=typeof n?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):"+"===n?e.minimumSignificantDigits=r.length:"#"===r[0]?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""}),e}function nt(t){switch(t){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 ot(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!et.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function it(t){var e=nt(t);return e||{}}function at(t){for(var e={},r=0,n=t;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=o.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=q(o.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=i(i(i({},e),{notation:"scientific"}),o.options.reduce(function(t,e){return i(i({},t),it(e))},{}));continue;case"engineering":e=i(i(i({},e),{notation:"engineering"}),o.options.reduce(function(t,e){return i(i({},t),it(e))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(o.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(tt,function(t,r,n,o,i,a){if(r)e.minimumIntegerDigits=n.length;else{if(o&&i)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(et.test(o.stem))e.minimumIntegerDigits=o.stem.length;else if(J.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(J,function(t,r,n,o,i,a){return"*"===n?e.minimumFractionDigits=r.length:o&&"#"===o[0]?e.maximumFractionDigits=o.length:i&&a?(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length+a.length):(e.minimumFractionDigits=r.length,e.maximumFractionDigits=r.length),""});var a=o.options[0];"w"===a?e=i(i({},e),{trailingZeroDisplay:"stripIfInteger"}):a&&(e=i(i({},e),rt(a)))}else if(Q.test(o.stem))e=i(i({},e),rt(o.stem));else{var s=nt(o.stem);s&&(e=i(i({},e),s));var c=ot(o.stem);c&&(e=i(i({},e),c))}}return e}var st,ct={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function ht(t){var e=t.hourCycle;if(void 0===e&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){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=t.language;return"root"!==n&&(r=t.maximize().region),(ct[r||""]||ct[n||""]||ct["".concat(n,"-001")]||ct["001"])[0]}var ut=new RegExp("^".concat(W.source,"*")),lt=new RegExp("".concat(W.source,"*$"));function ft(t,e){return{start:t,end:e}}var pt=!!String.prototype.startsWith&&"_a".startsWith("a",1),dt=!!String.fromCodePoint,vt=!!Object.fromEntries,yt=!!String.prototype.codePointAt,gt=!!String.prototype.trimStart,_t=!!String.prototype.trimEnd,bt=!!Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},mt=!0;try{mt="a"===(null===(st=xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===st?void 0:st[0])}catch(un){mt=!1}var Et,Bt=pt?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},wt=dt?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,n="",o=t.length,i=0;o>i;){if((r=t[i++])>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},St=vt?Object.fromEntries:function(t){for(var e={},r=0,n=t;r<n.length;r++){var o=n[r],i=o[0],a=o[1];e[i]=a}return e},Tt=yt?function(t,e){return t.codePointAt(e)}:function(t,e){var r=t.length;if(!(e<0||e>=r)){var n,o=t.charCodeAt(e);return o<55296||o>56319||e+1===r||(n=t.charCodeAt(e+1))<56320||n>57343?o:n-56320+(o-55296<<10)+65536}},Ht=gt?function(t){return t.trimStart()}:function(t){return t.replace(ut,"")},At=_t?function(t){return t.trimEnd()}:function(t){return t.replace(lt,"")};function xt(t,e){return new RegExp(t,e)}if(mt){var Pt=xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Et=function(t,e){var r;return Pt.lastIndex=e,null!==(r=Pt.exec(t)[1])&&void 0!==r?r:""}}else Et=function(t,e){for(var r=[];;){var n=Tt(t,e);if(void 0===n||Mt(n)||kt(n))break;r.push(n),e+=n>=65536?2:1}return wt.apply(void 0,r)};var Ct=function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var n=[];!this.isEOF();){var o=this.char();if(123===o){if((i=this.parseArgument(t,r)).err)return i;n.push(i.val)}else{if(125===o&&t>0)break;if(35!==o||"plural"!==e&&"selectordinal"!==e){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(j.UNMATCHED_CLOSING_TAG,ft(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Ot(this.peek()||0)){if((i=this.parseTag(t,e)).err)return i;n.push(i.val)}else{var i;if((i=this.parseLiteral(t,e)).err)return i;n.push(i.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:F.pound,location:ft(a,this.clonePosition())})}}}return{val:n,err:null}},t.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:F.literal,value:"<".concat(n,"/>"),location:ft(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,e,!0);if(o.err)return o;var i=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ot(this.char()))return this.error(j.INVALID_TAG,ft(a,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(j.UNMATCHED_CLOSING_TAG,ft(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:F.tag,value:n,children:i,location:ft(r,this.clonePosition())},err:null}:this.error(j.INVALID_TAG,ft(a,this.clonePosition())))}return this.error(j.UNCLOSED_TAG,ft(r,this.clonePosition()))}return this.error(j.INVALID_TAG,ft(r,this.clonePosition()))},t.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Lt(this.char());)this.bump();return this.message.slice(t,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(e);if(o)n+=o;else{var i=this.tryParseUnquoted(t,e);if(i)n+=i;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var s=ft(r,this.clonePosition());return{val:{type:F.literal,value:n,location:s},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ot(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(t){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"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(r);this.bump()}return wt.apply(void 0,e)},t.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&t>0?null:(this.bump(),wt(r))},t.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,ft(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(j.EMPTY_ARGUMENT,ft(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(j.MALFORMED_ARGUMENT,ft(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,ft(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:F.argument,value:n,location:ft(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,ft(r,this.clonePosition())):this.parseArgumentOptions(t,e,n,r);default:return this.error(j.MALFORMED_ARGUMENT,ft(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=Et(this.message,e),n=e+r.length;return this.bumpTo(n),{value:r,location:ft(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,n){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(j.EXPECT_ARGUMENT_TYPE,ft(a,c));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((_=this.parseSimpleArgStyleIfPossible()).err)return _;if(0===(d=At(_.val)).length)return this.error(j.EXPECT_ARGUMENT_STYLE,ft(this.clonePosition(),this.clonePosition()));h={style:d,styleLocation:ft(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var l=ft(n,this.clonePosition());if(h&&Bt(null==h?void 0:h.style,"::",0)){var f=Ht(h.style.slice(2));if("number"===s)return(_=this.parseNumberSkeletonFromString(f,h.styleLocation)).err?_:{val:{type:F.number,value:r,location:l,style:_.val},err:null};if(0===f.length)return this.error(j.EXPECT_DATE_TIME_SKELETON,l);var p=f;this.locale&&(p=function(t,e){for(var r="",n=0;n<t.length;n++){var o=t.charAt(n);if("j"===o){for(var i=0;n+1<t.length&&t.charAt(n+1)===o;)i++,n++;var a=1+(1&i),s=i<2?1:3+(i>>1),c=ht(e);for("H"!=c&&"k"!=c||(s=0);s-- >0;)r+="a";for(;a-- >0;)r=c+r}else r+="J"===o?"H":o}return r}(f,this.locale));var d={type:z.dateTime,pattern:p,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?$(p):{}};return{val:{type:"date"===s?F.date:F.time,value:r,location:l,style:d},err:null}}return{val:{type:"number"===s?F.number:"date"===s?F.date:F.time,value:r,location:l,style:null!==(o=null==h?void 0:h.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(j.EXPECT_SELECT_ARGUMENT_OPTIONS,ft(v,i({},v)));this.bumpSpace();var y=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===y.value){if(!this.bumpIf(":"))return this.error(j.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ft(this.clonePosition(),this.clonePosition()));var _;if(this.bumpSpace(),(_=this.tryParseDecimalInteger(j.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,j.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return _;this.bumpSpace(),y=this.parseIdentifierIfPossible(),g=_.val}var b,m=this.tryParsePluralOrSelectOptions(t,s,e,y);if(m.err)return m;if((b=this.tryParseArgumentClose(n)).err)return b;var E=ft(n,this.clonePosition());return"select"===s?{val:{type:F.select,value:r,options:St(m.val),location:E},err:null}:{val:{type:F.plural,value:r,options:St(m.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(j.INVALID_ARGUMENT_TYPE,ft(a,c))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(j.EXPECT_ARGUMENT_CLOSING_BRACE,ft(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(j.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ft(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=t.split(Z).filter(function(t){return t.length>0}),r=[],n=0,o=e;n<o.length;n++){var i=o[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var a=i[0],s=i.slice(1),c=0,h=s;c<h.length;c++)if(0===h[c].length)throw new Error("Invalid number skeleton");r.push({stem:a,options:s})}return r}(t)}catch(t){return this.error(j.INVALID_NUMBER_SKELETON,e)}return{val:{type:z.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?at(r):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,e,r,n){for(var o,i=!1,a=[],s=new Set,c=n.value,h=n.location;;){if(0===c.length){var u=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var l=this.tryParseDecimalInteger(j.EXPECT_PLURAL_ARGUMENT_SELECTOR,j.INVALID_PLURAL_ARGUMENT_SELECTOR);if(l.err)return l;h=ft(u,this.clonePosition()),c=this.message.slice(u.offset,this.offset())}if(s.has(c))return this.error("select"===e?j.DUPLICATE_SELECT_ARGUMENT_SELECTOR:j.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);"other"===c&&(i=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?j.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:j.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,ft(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(t+1,e,r);if(p.err)return p;var d=this.tryParseArgumentClose(f);if(d.err)return d;a.push([c,{value:p.val,location:ft(f,this.clonePosition())}]),s.add(c),this.bumpSpace(),c=(o=this.parseIdentifierIfPossible()).value,h=o.location}return 0===a.length?this.error("select"===e?j.EXPECT_SELECT_ARGUMENT_SELECTOR:j.EXPECT_PLURAL_ARGUMENT_SELECTOR,ft(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(j.MISSING_OTHER_CLAUSE,ft(this.clonePosition(),this.clonePosition())):{val:a,err:null}},t.prototype.tryParseDecimalInteger=function(t,e){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var s=ft(n,this.clonePosition());return o?bt(i*=r)?{val:i,err:null}:this.error(e,s):this.error(t,s)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=Tt(this.message,t);if(void 0===e)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return e},t.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(Bt(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(t){var e=this.offset(),r=this.message.indexOf(t,e);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(e>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Mt(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),r=this.message.charCodeAt(e+(t>=65536?2:1));return null!=r?r:null},t}();function Ot(t){return t>=97&&t<=122||t>=65&&t<=90}function Lt(t){return 45===t||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function Mt(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function kt(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function It(t){t.forEach(function(t){if(delete t.location,function(t){return t.type===F.select}(t)||function(t){return t.type===F.plural}(t))for(var e in t.options)delete t.options[e].location,It(t.options[e].value);else(function(t){return t.type===F.number})(t)&&function(t){return!(!t||"object"!=typeof t||t.type!==z.number)}(t.style)?delete t.style.location:!function(t){return t.type===F.date}(t)&&!function(t){return t.type===F.time}(t)||!function(t){return!(!t||"object"!=typeof t||t.type!==z.dateTime)}(t.style)?function(t){return t.type===F.tag}(t)&&It(t.children):delete t.style.location})}var Rt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Nt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Dt(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if("function"==typeof e){var r=function t(){var r=!1;try{r=this instanceof t}catch{}return r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})}),r}var Ut,Gt={};function jt(){if(Ut)return Gt;var t,e;return Ut=1,Object.defineProperty(Gt,"__esModule",{value:!0}),Gt.SKELETON_TYPE=Gt.TYPE=void 0,Gt.isLiteralElement=function(e){return e.type===t.literal},Gt.isArgumentElement=function(e){return e.type===t.argument},Gt.isNumberElement=function(e){return e.type===t.number},Gt.isDateElement=function(e){return e.type===t.date},Gt.isTimeElement=function(e){return e.type===t.time},Gt.isSelectElement=function(e){return e.type===t.select},Gt.isPluralElement=function(e){return e.type===t.plural},Gt.isPoundElement=function(e){return e.type===t.pound},Gt.isTagElement=function(e){return e.type===t.tag},Gt.isNumberSkeleton=function(t){return!(!t||"object"!=typeof t||t.type!==e.number)},Gt.isDateTimeSkeleton=function(t){return!(!t||"object"!=typeof t||t.type!==e.dateTime)},Gt.createLiteralElement=function(e){return{type:t.literal,value:e}},Gt.createNumberElement=function(e,r){return{type:t.number,value:e,style:r}},function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(t||(Gt.TYPE=t={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(e||(Gt.SKELETON_TYPE=e={})),Gt}var Ft,zt,Kt,Xt=jt(),Vt={},Wt=Dt(G);!function(){if(Ft)return Vt;Ft=1,Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.printAST=r,Vt.doPrintAST=n,Vt.printDateTimeSkeleton=a;var t=Wt,e=jt();function r(t){return n(t,!1)}function n(s,c){var h=s.map(function(h,u){return(0,e.isLiteralElement)(h)?function(t,e,r,n){var i=t.value,a=i;r||"'"!==a[0]||(a="''".concat(a.slice(1)));n||"'"!==a[a.length-1]||(a="".concat(a.slice(0,a.length-1),"''"));return a=o(a),e?a.replace("#","'#'"):a}(h,c,0===u,u===s.length-1):(0,e.isArgumentElement)(h)?function(t){var e=t.value;return"{".concat(e,"}")}(h):(0,e.isDateElement)(h)||(0,e.isTimeElement)(h)||(0,e.isNumberElement)(h)?function(t){return"{".concat(t.value,", ").concat(e.TYPE[t.type]).concat(t.style?", ".concat((r=t.style,"string"==typeof r?o(r):r.type===e.SKELETON_TYPE.dateTime?"::".concat(a(r)):"::".concat(r.tokens.map(i).join(" ")))):"","}");var r}(h):(0,e.isPluralElement)(h)?function(e){var r="cardinal"===e.pluralType?"plural":"selectordinal",o=[e.value,r,t.__spreadArray([e.offset?"offset:".concat(e.offset):""],Object.keys(e.options).map(function(t){return"".concat(t,"{").concat(n(e.options[t].value,!0),"}")}),!0).filter(Boolean).join(" ")].join(",");return"{".concat(o,"}")}(h):(0,e.isSelectElement)(h)?function(t){var e=[t.value,"select",Object.keys(t.options).map(function(e){return"".concat(e,"{").concat(n(t.options[e].value,!1),"}")}).join(" ")].join(",");return"{".concat(e,"}")}(h):(0,e.isPoundElement)(h)?"#":(0,e.isTagElement)(h)?function(t){return"<".concat(t.value,">").concat(r(t.children),"</").concat(t.value,">")}(h):void 0});return h.join("")}function o(t){return t.replace(/([{}](?:[\s\S]*[{}])?)/,"'$1'")}function i(t){var e=t.stem,r=t.options;return 0===r.length?e:"".concat(e).concat(r.map(function(t){return"/".concat(t)}).join(""))}function a(t){return t.pattern}}();var Yt=(Kt||(Kt=1,zt=function(t,e){e||(e={}),"function"==typeof e&&(e={cmp:e});var r,n="boolean"==typeof e.cycles&&e.cycles,o=e.cmp&&(r=e.cmp,function(t){return function(e,n){var o={key:e,value:t[e]},i={key:n,value:t[n]};return r(o,i)}}),i=[];return function t(e){if(e&&e.toJSON&&"function"==typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!=typeof e)return JSON.stringify(e);var r,a;if(Array.isArray(e)){for(a="[",r=0;r<e.length;r++)r&&(a+=","),a+=t(e[r])||"null";return a+"]"}if(null===e)return"null";if(-1!==i.indexOf(e)){if(n)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=i.push(e)-1,c=Object.keys(e).sort(o&&o(e));for(a="",r=0;r<c.length;r++){var h=c[r],u=t(e[h]);u&&(a&&(a+=","),a+=JSON.stringify(h)+":"+u)}return i.splice(s,1),"{"+a+"}"}}(t)}),zt),$t=Nt(Yt),Zt={exports:{}};var qt,Jt={exports:{}};function Qt(){return qt||(qt=1,Jt.exports=(t=t||function(t,e){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==Rt&&Rt.crypto&&(r=Rt.crypto),!r)try{r=require("crypto")}catch(t){}var n=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function t(){}return function(e){var r;return t.prototype=e,r=new t,t.prototype=null,r}}(),i={},a=i.lib={},s=a.Base={extend:function(t){var e=o(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},c=a.WordArray=s.extend({init:function(t,r){t=this.words=t||[],this.sigBytes=r!=e?r:4*t.length},toString:function(t){return(t||u).stringify(this)},concat:function(t){var e=this.words,r=t.words,n=this.sigBytes,o=t.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i++){var a=r[i>>>2]>>>24-i%4*8&255;e[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var s=0;s<o;s+=4)e[n+s>>>2]=r[s>>>2];return this.sigBytes+=o,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=s.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],r=0;r<t;r+=4)e.push(n());return new c.init(e,t)}}),h=i.enc={},u=h.Hex={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o++){var i=e[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new c.init(r,e/2)}},l=h.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o++){var i=e[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new c.init(r,e)}},f=h.Utf8={stringify:function(t){try{return decodeURIComponent(escape(l.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return l.parse(unescape(encodeURIComponent(t)))}},p=a.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=f.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r,n=this._data,o=n.words,i=n.sigBytes,a=this.blockSize,s=i/(4*a),h=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*a,u=t.min(4*h,i);if(h){for(var l=0;l<h;l+=a)this._doProcessBlock(o,l);r=o.splice(0,h),n.sigBytes-=u}return new c.init(r,u)},clone:function(){var t=s.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0});a.Hasher=p.extend({cfg:s.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,r){return new t.init(r).finalize(e)}},_createHmacHelper:function(t){return function(e,r){return new d.HMAC.init(t,r).finalize(e)}}});var d=i.algo={};return i}(Math),t)),Jt.exports;var t}var te,ee={exports:{}};function re(){return te||(te=1,ee.exports=(t=Qt(),function(e){var r=t,n=r.lib,o=n.Base,i=n.WordArray,a=r.x64={};a.Word=o.extend({init:function(t,e){this.high=t,this.low=e}}),a.WordArray=o.extend({init:function(t,r){t=this.words=t||[],this.sigBytes=r!=e?r:8*t.length},toX32:function(){for(var t=this.words,e=t.length,r=[],n=0;n<e;n++){var o=t[n];r.push(o.high),r.push(o.low)}return i.create(r,this.sigBytes)},clone:function(){for(var t=o.clone.call(this),e=t.words=this.words.slice(0),r=e.length,n=0;n<r;n++)e[n]=e[n].clone();return t}})}(),t)),ee.exports;var t}var ne,oe={exports:{}};function ie(){return ne||(ne=1,oe.exports=(t=Qt(),function(){if("function"==typeof ArrayBuffer){var e=t.lib.WordArray,r=e.init,n=e.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var e=t.byteLength,n=[],o=0;o<e;o++)n[o>>>2]|=t[o]<<24-o%4*8;r.call(this,n,e)}else r.apply(this,arguments)};n.prototype=e}}(),t.lib.WordArray)),oe.exports;var t}var ae,se={exports:{}};function ce(){return ae||(ae=1,se.exports=(t=Qt(),function(){var e=t,r=e.lib.WordArray,n=e.enc;function o(t){return t<<8&4278255360|t>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o+=2){var i=e[o>>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(i))}return n.join("")},parse:function(t){for(var e=t.length,n=[],o=0;o<e;o++)n[o>>>1]|=t.charCodeAt(o)<<16-o%2*16;return r.create(n,2*e)}},n.Utf16LE={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],i=0;i<r;i+=2){var a=o(e[i>>>2]>>>16-i%4*8&65535);n.push(String.fromCharCode(a))}return n.join("")},parse:function(t){for(var e=t.length,n=[],i=0;i<e;i++)n[i>>>1]|=o(t.charCodeAt(i)<<16-i%2*16);return r.create(n,2*e)}}}(),t.enc.Utf16)),se.exports;var t}var he,ue={exports:{}};function le(){return he||(he=1,ue.exports=(t=Qt(),function(){var e=t,r=e.lib.WordArray;function n(t,e,n){for(var o=[],i=0,a=0;a<e;a++)if(a%4){var s=n[t.charCodeAt(a-1)]<<a%4*2|n[t.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return r.create(o,i)}e.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,n=this._map;t.clamp();for(var o=[],i=0;i<r;i+=3)for(var a=(e[i>>>2]>>>24-i%4*8&255)<<16|(e[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|e[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<r;s++)o.push(n.charAt(a>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(t){var e=t.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<r.length;i++)o[r.charCodeAt(i)]=i}var a=r.charAt(64);if(a){var s=t.indexOf(a);-1!==s&&(e=s)}return n(t,e,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),t.enc.Base64)),ue.exports;var t}var fe,pe={exports:{}};function de(){return fe||(fe=1,pe.exports=(t=Qt(),function(){var e=t,r=e.lib.WordArray;function n(t,e,n){for(var o=[],i=0,a=0;a<e;a++)if(a%4){var s=n[t.charCodeAt(a-1)]<<a%4*2|n[t.charCodeAt(a)]>>>6-a%4*2;o[i>>>2]|=s<<24-i%4*8,i++}return r.create(o,i)}e.enc.Base64url={stringify:function(t,e){void 0===e&&(e=!0);var r=t.words,n=t.sigBytes,o=e?this._safe_map:this._map;t.clamp();for(var i=[],a=0;a<n;a+=3)for(var s=(r[a>>>2]>>>24-a%4*8&255)<<16|(r[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|r[a+2>>>2]>>>24-(a+2)%4*8&255,c=0;c<4&&a+.75*c<n;c++)i.push(o.charAt(s>>>6*(3-c)&63));var h=o.charAt(64);if(h)for(;i.length%4;)i.push(h);return i.join("")},parse:function(t,e){void 0===e&&(e=!0);var r=t.length,o=e?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var a=0;a<o.length;a++)i[o.charCodeAt(a)]=a}var s=o.charAt(64);if(s){var c=t.indexOf(s);-1!==c&&(r=c)}return n(t,r,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),t.enc.Base64url)),pe.exports;var t}var ve,ye={exports:{}};function ge(){return ve||(ve=1,ye.exports=(t=Qt(),function(e){var r=t,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=a.MD5=i.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var n=e+r,o=t[n];t[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=t[e+0],c=t[e+1],p=t[e+2],d=t[e+3],v=t[e+4],y=t[e+5],g=t[e+6],_=t[e+7],b=t[e+8],m=t[e+9],E=t[e+10],B=t[e+11],w=t[e+12],S=t[e+13],T=t[e+14],H=t[e+15],A=i[0],x=i[1],P=i[2],C=i[3];A=h(A,x,P,C,a,7,s[0]),C=h(C,A,x,P,c,12,s[1]),P=h(P,C,A,x,p,17,s[2]),x=h(x,P,C,A,d,22,s[3]),A=h(A,x,P,C,v,7,s[4]),C=h(C,A,x,P,y,12,s[5]),P=h(P,C,A,x,g,17,s[6]),x=h(x,P,C,A,_,22,s[7]),A=h(A,x,P,C,b,7,s[8]),C=h(C,A,x,P,m,12,s[9]),P=h(P,C,A,x,E,17,s[10]),x=h(x,P,C,A,B,22,s[11]),A=h(A,x,P,C,w,7,s[12]),C=h(C,A,x,P,S,12,s[13]),P=h(P,C,A,x,T,17,s[14]),A=u(A,x=h(x,P,C,A,H,22,s[15]),P,C,c,5,s[16]),C=u(C,A,x,P,g,9,s[17]),P=u(P,C,A,x,B,14,s[18]),x=u(x,P,C,A,a,20,s[19]),A=u(A,x,P,C,y,5,s[20]),C=u(C,A,x,P,E,9,s[21]),P=u(P,C,A,x,H,14,s[22]),x=u(x,P,C,A,v,20,s[23]),A=u(A,x,P,C,m,5,s[24]),C=u(C,A,x,P,T,9,s[25]),P=u(P,C,A,x,d,14,s[26]),x=u(x,P,C,A,b,20,s[27]),A=u(A,x,P,C,S,5,s[28]),C=u(C,A,x,P,p,9,s[29]),P=u(P,C,A,x,_,14,s[30]),A=l(A,x=u(x,P,C,A,w,20,s[31]),P,C,y,4,s[32]),C=l(C,A,x,P,b,11,s[33]),P=l(P,C,A,x,B,16,s[34]),x=l(x,P,C,A,T,23,s[35]),A=l(A,x,P,C,c,4,s[36]),C=l(C,A,x,P,v,11,s[37]),P=l(P,C,A,x,_,16,s[38]),x=l(x,P,C,A,E,23,s[39]),A=l(A,x,P,C,S,4,s[40]),C=l(C,A,x,P,a,11,s[41]),P=l(P,C,A,x,d,16,s[42]),x=l(x,P,C,A,g,23,s[43]),A=l(A,x,P,C,m,4,s[44]),C=l(C,A,x,P,w,11,s[45]),P=l(P,C,A,x,H,16,s[46]),A=f(A,x=l(x,P,C,A,p,23,s[47]),P,C,a,6,s[48]),C=f(C,A,x,P,_,10,s[49]),P=f(P,C,A,x,T,15,s[50]),x=f(x,P,C,A,y,21,s[51]),A=f(A,x,P,C,w,6,s[52]),C=f(C,A,x,P,d,10,s[53]),P=f(P,C,A,x,E,15,s[54]),x=f(x,P,C,A,c,21,s[55]),A=f(A,x,P,C,b,6,s[56]),C=f(C,A,x,P,H,10,s[57]),P=f(P,C,A,x,g,15,s[58]),x=f(x,P,C,A,S,21,s[59]),A=f(A,x,P,C,v,6,s[60]),C=f(C,A,x,P,B,10,s[61]),P=f(P,C,A,x,p,15,s[62]),x=f(x,P,C,A,m,21,s[63]),i[0]=i[0]+A|0,i[1]=i[1]+x|0,i[2]=i[2]+P|0,i[3]=i[3]+C|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var i=e.floor(n/4294967296),a=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,c=s.words,h=0;h<4;h++){var u=c[h];c[h]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});function h(t,e,r,n,o,i,a){var s=t+(e&r|~e&n)+o+a;return(s<<i|s>>>32-i)+e}function u(t,e,r,n,o,i,a){var s=t+(e&n|r&~n)+o+a;return(s<<i|s>>>32-i)+e}function l(t,e,r,n,o,i,a){var s=t+(e^r^n)+o+a;return(s<<i|s>>>32-i)+e}function f(t,e,r,n,o,i,a){var s=t+(r^(e|~n))+o+a;return(s<<i|s>>>32-i)+e}r.MD5=i._createHelper(c),r.HmacMD5=i._createHmacHelper(c)}(Math),t.MD5)),ye.exports;var t}var _e,be={exports:{}};function me(){return _e||(_e=1,be.exports=(t=Qt(),function(){var e=t,r=e.lib,n=r.WordArray,o=r.Hasher,i=e.algo,a=[],s=i.SHA1=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],c=r[4],h=0;h<80;h++){if(h<16)a[h]=0|t[e+h];else{var u=a[h-3]^a[h-8]^a[h-14]^a[h-16];a[h]=u<<1|u>>>31}var l=(n<<5|n>>>27)+c+a[h];l+=h<20?1518500249+(o&i|~o&s):h<40?1859775393+(o^i^s):h<60?(o&i|o&s|i&s)-1894007588:(o^i^s)-899497514,c=s,s=i,i=o<<30|o>>>2,o=n,n=l}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),e[15+(n+64>>>9<<4)]=r,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA1=o._createHelper(s),e.HmacSHA1=o._createHmacHelper(s)}(),t.SHA1)),be.exports;var t}var Ee,Be={exports:{}};function we(){return Ee||(Ee=1,Be.exports=(t=Qt(),function(e){var r=t,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.algo,s=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(t){return 4294967296*(t-(0|t))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(s[o]=r(e.pow(n,.5))),c[o]=r(e.pow(n,1/3)),o++),n++}();var h=[],u=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=r[5],l=r[6],f=r[7],p=0;p<64;p++){if(p<16)h[p]=0|t[e+p];else{var d=h[p-15],v=(d<<25|d>>>7)^(d<<14|d>>>18)^d>>>3,y=h[p-2],g=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;h[p]=v+h[p-7]+g+h[p-16]}var _=n&o^n&i^o&i,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),m=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&l)+c[p]+h[p];f=l,l=u,u=s,s=a+m|0,a=i,i=o,o=n,n=m+(b+_)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0,r[5]=r[5]+u|0,r[6]=r[6]+l|0,r[7]=r[7]+f|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});r.SHA256=i._createHelper(u),r.HmacSHA256=i._createHmacHelper(u)}(Math),t.SHA256)),Be.exports;var t}var Se,Te={exports:{}};var He,Ae={exports:{}};function xe(){return He||(He=1,Ae.exports=(t=Qt(),re(),function(){var e=t,r=e.lib.Hasher,n=e.x64,o=n.Word,i=n.WordArray,a=e.algo;function s(){return o.create.apply(o,arguments)}var c=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],h=[];!function(){for(var t=0;t<80;t++)h[t]=s()}();var u=a.SHA512=r.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],a=r[3],s=r[4],u=r[5],l=r[6],f=r[7],p=n.high,d=n.low,v=o.high,y=o.low,g=i.high,_=i.low,b=a.high,m=a.low,E=s.high,B=s.low,w=u.high,S=u.low,T=l.high,H=l.low,A=f.high,x=f.low,P=p,C=d,O=v,L=y,M=g,k=_,I=b,R=m,N=E,D=B,U=w,G=S,j=T,F=H,z=A,K=x,X=0;X<80;X++){var V,W,Y=h[X];if(X<16)W=Y.high=0|t[e+2*X],V=Y.low=0|t[e+2*X+1];else{var $=h[X-15],Z=$.high,q=$.low,J=(Z>>>1|q<<31)^(Z>>>8|q<<24)^Z>>>7,Q=(q>>>1|Z<<31)^(q>>>8|Z<<24)^(q>>>7|Z<<25),tt=h[X-2],et=tt.high,rt=tt.low,nt=(et>>>19|rt<<13)^(et<<3|rt>>>29)^et>>>6,ot=(rt>>>19|et<<13)^(rt<<3|et>>>29)^(rt>>>6|et<<26),it=h[X-7],at=it.high,st=it.low,ct=h[X-16],ht=ct.high,ut=ct.low;W=(W=(W=J+at+((V=Q+st)>>>0<Q>>>0?1:0))+nt+((V+=ot)>>>0<ot>>>0?1:0))+ht+((V+=ut)>>>0<ut>>>0?1:0),Y.high=W,Y.low=V}var lt,ft=N&U^~N&j,pt=D&G^~D&F,dt=P&O^P&M^O&M,vt=C&L^C&k^L&k,yt=(P>>>28|C<<4)^(P<<30|C>>>2)^(P<<25|C>>>7),gt=(C>>>28|P<<4)^(C<<30|P>>>2)^(C<<25|P>>>7),_t=(N>>>14|D<<18)^(N>>>18|D<<14)^(N<<23|D>>>9),bt=(D>>>14|N<<18)^(D>>>18|N<<14)^(D<<23|N>>>9),mt=c[X],Et=mt.high,Bt=mt.low,wt=z+_t+((lt=K+bt)>>>0<K>>>0?1:0),St=gt+vt;z=j,K=F,j=U,F=G,U=N,G=D,N=I+(wt=(wt=(wt=wt+ft+((lt+=pt)>>>0<pt>>>0?1:0))+Et+((lt+=Bt)>>>0<Bt>>>0?1:0))+W+((lt+=V)>>>0<V>>>0?1:0))+((D=R+lt|0)>>>0<R>>>0?1:0)|0,I=M,R=k,M=O,k=L,O=P,L=C,P=wt+(yt+dt+(St>>>0<gt>>>0?1:0))+((C=lt+St|0)>>>0<lt>>>0?1:0)|0}d=n.low=d+C,n.high=p+P+(d>>>0<C>>>0?1:0),y=o.low=y+L,o.high=v+O+(y>>>0<L>>>0?1:0),_=i.low=_+k,i.high=g+M+(_>>>0<k>>>0?1:0),m=a.low=m+R,a.high=b+I+(m>>>0<R>>>0?1:0),B=s.low=B+D,s.high=E+N+(B>>>0<D>>>0?1:0),S=u.low=S+G,u.high=w+U+(S>>>0<G>>>0?1:0),H=l.low=H+F,l.high=T+j+(H>>>0<F>>>0?1:0),x=f.low=x+K,f.high=A+z+(x>>>0<K>>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),e[31+(n+128>>>10<<5)]=r,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});e.SHA512=r._createHelper(u),e.HmacSHA512=r._createHmacHelper(u)}(),t.SHA512)),Ae.exports;var t}var Pe,Ce={exports:{}};var Oe,Le={exports:{}};function Me(){return Oe||(Oe=1,Le.exports=(t=Qt(),re(),function(e){var r=t,n=r.lib,o=n.WordArray,i=n.Hasher,a=r.x64.Word,s=r.algo,c=[],h=[],u=[];!function(){for(var t=1,e=0,r=0;r<24;r++){c[t+5*e]=(r+1)*(r+2)/2%64;var n=(2*t+3*e)%5;t=e%5,e=n}for(t=0;t<5;t++)for(e=0;e<5;e++)h[t+5*e]=e+(2*t+3*e)%5*5;for(var o=1,i=0;i<24;i++){for(var s=0,l=0,f=0;f<7;f++){if(1&o){var p=(1<<f)-1;p<32?l^=1<<p:s^=1<<p-32}128&o?o=o<<1^113:o<<=1}u[i]=a.create(s,l)}}();var l=[];!function(){for(var t=0;t<25;t++)l[t]=a.create()}();var f=s.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var t=this._state=[],e=0;e<25;e++)t[e]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(t,e){for(var r=this._state,n=this.blockSize/2,o=0;o<n;o++){var i=t[e+2*o],a=t[e+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(x=r[o]).high^=a,x.low^=i}for(var s=0;s<24;s++){for(var f=0;f<5;f++){for(var p=0,d=0,v=0;v<5;v++)p^=(x=r[f+5*v]).high,d^=x.low;var y=l[f];y.high=p,y.low=d}for(f=0;f<5;f++){var g=l[(f+4)%5],_=l[(f+1)%5],b=_.high,m=_.low;for(p=g.high^(b<<1|m>>>31),d=g.low^(m<<1|b>>>31),v=0;v<5;v++)(x=r[f+5*v]).high^=p,x.low^=d}for(var E=1;E<25;E++){var B=(x=r[E]).high,w=x.low,S=c[E];S<32?(p=B<<S|w>>>32-S,d=w<<S|B>>>32-S):(p=w<<S-32|B>>>64-S,d=B<<S-32|w>>>64-S);var T=l[h[E]];T.high=p,T.low=d}var H=l[0],A=r[0];for(H.high=A.high,H.low=A.low,f=0;f<5;f++)for(v=0;v<5;v++){var x=r[E=f+5*v],P=l[E],C=l[(f+1)%5+5*v],O=l[(f+2)%5+5*v];x.high=P.high^~C.high&O.high,x.low=P.low^~C.low&O.low}x=r[0];var L=u[s];x.high^=L.high,x.low^=L.low}},_doFinalize:function(){var t=this._data,r=t.words;this._nDataBytes;var n=8*t.sigBytes,i=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*r.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,c=s/8,h=[],u=0;u<c;u++){var l=a[u],f=l.high,p=l.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),h.push(p),h.push(f)}return new o.init(h,s)},clone:function(){for(var t=i.clone.call(this),e=t._state=this._state.slice(0),r=0;r<25;r++)e[r]=e[r].clone();return t}});r.SHA3=i._createHelper(f),r.HmacSHA3=i._createHmacHelper(f)}(Math),t.SHA3)),Le.exports;var t}var ke,Ie={exports:{}};var Re,Ne={exports:{}};function De(){return Re||(Re=1,Ne.exports=(t=Qt(),void function(){var e=t,r=e.lib.Base,n=e.enc.Utf8;e.algo.HMAC=r.extend({init:function(t,e){t=this._hasher=new t.init,"string"==typeof e&&(e=n.parse(e));var r=t.blockSize,o=4*r;e.sigBytes>o&&(e=t.finalize(e)),e.clamp();for(var i=this._oKey=e.clone(),a=this._iKey=e.clone(),s=i.words,c=a.words,h=0;h<r;h++)s[h]^=1549556828,c[h]^=909522486;i.sigBytes=a.sigBytes=o,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,r=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(r))}})}())),Ne.exports;var t}var Ue,Ge={exports:{}};var je,Fe={exports:{}};function ze(){return je||(je=1,Fe.exports=(t=Qt(),me(),De(),function(){var e=t,r=e.lib,n=r.Base,o=r.WordArray,i=e.algo,a=i.MD5,s=i.EvpKDF=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var r,n=this.cfg,i=n.hasher.create(),a=o.create(),s=a.words,c=n.keySize,h=n.iterations;s.length<c;){r&&i.update(r),r=i.update(t).finalize(e),i.reset();for(var u=1;u<h;u++)r=i.finalize(r),i.reset();a.concat(r)}return a.sigBytes=4*c,a}});e.EvpKDF=function(t,e,r){return s.create(r).compute(t,e)}}(),t.EvpKDF)),Fe.exports;var t}var Ke,Xe={exports:{}};function Ve(){return Ke||(Ke=1,Xe.exports=(t=Qt(),ze(),void(t.lib.Cipher||function(e){var r=t,n=r.lib,o=n.Base,i=n.WordArray,a=n.BufferedBlockAlgorithm,s=r.enc;s.Utf8;var c=s.Base64,h=r.algo.EvpKDF,u=n.Cipher=a.extend({cfg:o.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,r){this.cfg=this.cfg.extend(r),this._xformMode=t,this._key=e,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){return t&&this._append(t),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?b:g}return function(e){return{encrypt:function(r,n,o){return t(n).encrypt(e,r,n,o)},decrypt:function(r,n,o){return t(n).decrypt(e,r,n,o)}}}}()});n.StreamCipher=u.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var l=r.mode={},f=n.BlockCipherMode=o.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}}),p=l.CBC=function(){var t=f.extend();function r(t,r,n){var o,i=this._iv;i?(o=i,this._iv=e):o=this._prevBlock;for(var a=0;a<n;a++)t[r+a]^=o[a]}return t.Encryptor=t.extend({processBlock:function(t,e){var n=this._cipher,o=n.blockSize;r.call(this,t,e,o),n.encryptBlock(t,e),this._prevBlock=t.slice(e,e+o)}}),t.Decryptor=t.extend({processBlock:function(t,e){var n=this._cipher,o=n.blockSize,i=t.slice(e,e+o);n.decryptBlock(t,e),r.call(this,t,e,o),this._prevBlock=i}}),t}(),d=(r.pad={}).Pkcs7={pad:function(t,e){for(var r=4*e,n=r-t.sigBytes%r,o=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(o);var c=i.create(a,n);t.concat(c)},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}};n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:p,padding:d}),reset:function(){var t;u.reset.call(this);var e=this.cfg,r=e.iv,n=e.mode;this._xformMode==this._ENC_XFORM_MODE?t=n.createEncryptor:(t=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==t?this._mode.init(this,r&&r.words):(this._mode=t.call(n,this,r&&r.words),this._mode.__creator=t)},_doProcessBlock:function(t,e){this._mode.processBlock(t,e)},_doFinalize:function(){var t,e=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(e.pad(this._data,this.blockSize),t=this._process(!0)):(t=this._process(!0),e.unpad(t)),t},blockSize:4});var v=n.CipherParams=o.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}}),y=(r.format={}).OpenSSL={stringify:function(t){var e=t.ciphertext,r=t.salt;return(r?i.create([1398893684,1701076831]).concat(r).concat(e):e).toString(c)},parse:function(t){var e,r=c.parse(t),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(e=i.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),v.create({ciphertext:r,salt:e})}},g=n.SerializableCipher=o.extend({cfg:o.extend({format:y}),encrypt:function(t,e,r,n){n=this.cfg.extend(n);var o=t.createEncryptor(r,n),i=o.finalize(e),a=o.cfg;return v.create({ciphertext:i,key:r,iv:a.iv,algorithm:t,mode:a.mode,padding:a.padding,blockSize:t.blockSize,formatter:n.format})},decrypt:function(t,e,r,n){return n=this.cfg.extend(n),e=this._parse(e,n.format),t.createDecryptor(r,n).finalize(e.ciphertext)},_parse:function(t,e){return"string"==typeof t?e.parse(t,this):t}}),_=(r.kdf={}).OpenSSL={execute:function(t,e,r,n,o){if(n||(n=i.random(8)),o)a=h.create({keySize:e+r,hasher:o}).compute(t,n);else var a=h.create({keySize:e+r}).compute(t,n);var s=i.create(a.words.slice(e),4*r);return a.sigBytes=4*e,v.create({key:a,iv:s,salt:n})}},b=n.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:_}),encrypt:function(t,e,r,n){var o=(n=this.cfg.extend(n)).kdf.execute(r,t.keySize,t.ivSize,n.salt,n.hasher);n.iv=o.iv;var i=g.encrypt.call(this,t,e,o.key,n);return i.mixIn(o),i},decrypt:function(t,e,r,n){n=this.cfg.extend(n),e=this._parse(e,n.format);var o=n.kdf.execute(r,t.keySize,t.ivSize,e.salt,n.hasher);return n.iv=o.iv,g.decrypt.call(this,t,e,o.key,n)}})}()))),Xe.exports;var t}var We,Ye={exports:{}};function $e(){return We||(We=1,Ye.exports=(t=Qt(),Ve(),t.mode.CFB=function(){var e=t.lib.BlockCipherMode.extend();function r(t,e,r,n){var o,i=this._iv;i?(o=i.slice(0),this._iv=void 0):o=this._prevBlock,n.encryptBlock(o,0);for(var a=0;a<r;a++)t[e+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(t,e){var n=this._cipher,o=n.blockSize;r.call(this,t,e,o,n),this._prevBlock=t.slice(e,e+o)}}),e.Decryptor=e.extend({processBlock:function(t,e){var n=this._cipher,o=n.blockSize,i=t.slice(e,e+o);r.call(this,t,e,o,n),this._prevBlock=i}}),e}(),t.mode.CFB)),Ye.exports;var t}var Ze,qe={exports:{}};function Je(){return Ze||(Ze=1,qe.exports=(r=Qt(),Ve(),r.mode.CTR=(t=r.lib.BlockCipherMode.extend(),e=t.Encryptor=t.extend({processBlock:function(t,e){var r=this._cipher,n=r.blockSize,o=this._iv,i=this._counter;o&&(i=this._counter=o.slice(0),this._iv=void 0);var a=i.slice(0);r.encryptBlock(a,0),i[n-1]=i[n-1]+1|0;for(var s=0;s<n;s++)t[e+s]^=a[s]}}),t.Decryptor=e,t),r.mode.CTR)),qe.exports;var t,e,r}var Qe,tr={exports:{}};function er(){return Qe||(Qe=1,tr.exports=(t=Qt(),Ve(),
2
2
  /** @preserve
3
3
  * Counter block mode compatible with Dr Brian Gladman fileenc.c
4
4
  * derived from CryptoJS.mode.CTR
@@ -15,5 +15,5 @@ t.mode.CTRGladman=function(){var e=t.lib.BlockCipherMode.extend();function r(t){
15
15
 
16
16
  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
17
17
  */
18
- function(){var e=t,r=e.lib,n=r.WordArray,o=r.Hasher,i=e.algo,a=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),h=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=n.create([0,1518500249,1859775393,2400959708,2840853838]),l=n.create([1352829926,1548603684,1836072691,2053994217,0]),f=i.RIPEMD160=o.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var n=e+r,o=t[n];t[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,f,b,m,E,B,w,S,T,H,A,x=this._hash.words,P=u.words,C=l.words,O=a.words,L=s.words,M=c.words,k=h.words;for(B=i=x[0],w=f=x[1],S=b=x[2],T=m=x[3],H=E=x[4],r=0;r<80;r+=1)A=i+t[e+O[r]]|0,A+=r<16?p(f,b,m)+P[0]:r<32?d(f,b,m)+P[1]:r<48?v(f,b,m)+P[2]:r<64?y(f,b,m)+P[3]:g(f,b,m)+P[4],A=(A=_(A|=0,M[r]))+E|0,i=E,E=m,m=_(b,10),b=f,f=A,A=B+t[e+L[r]]|0,A+=r<16?g(w,S,T)+C[0]:r<32?y(w,S,T)+C[1]:r<48?v(w,S,T)+C[2]:r<64?d(w,S,T)+C[3]:p(w,S,T)+C[4],A=(A=_(A|=0,k[r]))+H|0,B=H,H=T,T=_(S,10),S=w,w=A;A=x[1]+b+T|0,x[1]=x[2]+m+H|0,x[2]=x[3]+E+B|0,x[3]=x[4]+i+w|0,x[4]=x[0]+f+S|0,x[0]=A},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),t.sigBytes=4*(e.length+1),this._process();for(var o=this._hash,i=o.words,a=0;a<5;a++){var s=i[a];i[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function p(t,e,r){return t^e^r}function d(t,e,r){return t&e|~t&r}function v(t,e,r){return(t|~e)^r}function y(t,e,r){return t&r|e&~r}function g(t,e,r){return t^(e|~r)}function _(t,e){return t<<e|t>>>32-e}e.RIPEMD160=o._createHelper(f),e.HmacRIPEMD160=o._createHmacHelper(f)}(),t.RIPEMD160)),Ie.exports;var t}(),De(),function(){return Ue||(Ue=1,Ge.exports=(t=Qt(),we(),De(),function(){var e=t,r=e.lib,n=r.Base,o=r.WordArray,i=e.algo,a=i.SHA256,s=i.HMAC,c=i.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:25e4}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var r=this.cfg,n=s.create(r.hasher,t),i=o.create(),a=o.create([1]),c=i.words,h=a.words,u=r.keySize,l=r.iterations;c.length<u;){var f=n.update(e).finalize(a);n.reset();for(var p=f.words,d=p.length,v=f,y=1;y<l;y++){v=n.finalize(v),n.reset();for(var g=v.words,_=0;_<d;_++)p[_]^=g[_]}i.concat(f),h[0]++}return i.sigBytes=4*u,i}});e.PBKDF2=function(t,e,r){return c.create(r).compute(t,e)}}(),t.PBKDF2)),Ge.exports;var t}(),ze(),Ve(),$e(),Je(),er(),or(),function(){return ir?ar.exports:(ir=1,ar.exports=(e=Qt(),Ve(),e.mode.ECB=((t=e.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(t,e){this._cipher.encryptBlock(t,e)}}),t.Decryptor=t.extend({processBlock:function(t,e){this._cipher.decryptBlock(t,e)}}),t),e.mode.ECB));var t,e}(),function(){return sr?cr.exports:(sr=1,cr.exports=(t=Qt(),Ve(),t.pad.AnsiX923={pad:function(t,e){var r=t.sigBytes,n=4*e,o=n-r%n,i=r+o-1;t.clamp(),t.words[i>>>2]|=o<<24-i%4*8,t.sigBytes+=o},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Ansix923));var t}(),function(){return hr?ur.exports:(hr=1,ur.exports=(t=Qt(),Ve(),t.pad.Iso10126={pad:function(e,r){var n=4*r,o=n-e.sigBytes%n;e.concat(t.lib.WordArray.random(o-1)).concat(t.lib.WordArray.create([o<<24],1))},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Iso10126));var t}(),function(){return lr?fr.exports:(lr=1,fr.exports=(t=Qt(),Ve(),t.pad.Iso97971={pad:function(e,r){e.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(e,r)},unpad:function(e){t.pad.ZeroPadding.unpad(e),e.sigBytes--}},t.pad.Iso97971));var t}(),function(){return pr||(pr=1,dr.exports=(t=Qt(),Ve(),t.pad.ZeroPadding={pad:function(t,e){var r=4*e;t.clamp(),t.sigBytes+=r-(t.sigBytes%r||r)},unpad:function(t){var e=t.words,r=t.sigBytes-1;for(r=t.sigBytes-1;r>=0;r--)if(e[r>>>2]>>>24-r%4*8&255){t.sigBytes=r+1;break}}},t.pad.ZeroPadding)),dr.exports;var t}(),function(){return vr?yr.exports:(vr=1,yr.exports=(t=Qt(),Ve(),t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding));var t}(),function(){return gr||(gr=1,_r.exports=(t=Qt(),Ve(),function(){var e=t,r=e.lib.CipherParams,n=e.enc.Hex;e.format.Hex={stringify:function(t){return t.ciphertext.toString(n)},parse:function(t){var e=n.parse(t);return r.create({ciphertext:e})}}}(),t.format.Hex)),_r.exports;var t}(),function(){return br||(br=1,mr.exports=(t=Qt(),le(),ge(),ze(),Ve(),function(){var e=t,r=e.lib.BlockCipher,n=e.algo,o=[],i=[],a=[],s=[],c=[],h=[],u=[],l=[],f=[],p=[];!function(){for(var t=[],e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;var r=0,n=0;for(e=0;e<256;e++){var d=n^n<<1^n<<2^n<<3^n<<4;d=d>>>8^255&d^99,o[r]=d,i[d]=r;var v=t[r],y=t[v],g=t[y],_=257*t[d]^16843008*d;a[r]=_<<24|_>>>8,s[r]=_<<16|_>>>16,c[r]=_<<8|_>>>24,h[r]=_,_=16843009*g^65537*y^257*v^16843008*r,u[d]=_<<24|_>>>8,l[d]=_<<16|_>>>16,f[d]=_<<8|_>>>24,p[d]=_,r?(r=v^t[t[t[g^v]]],n^=t[t[n]]):r=n=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],v=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,r=t.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],a=0;a<n;a++)a<r?i[a]=e[a]:(h=i[a-1],a%r?r>6&&a%r==4&&(h=o[h>>>24]<<24|o[h>>>16&255]<<16|o[h>>>8&255]<<8|o[255&h]):(h=o[(h=h<<8|h>>>24)>>>24]<<24|o[h>>>16&255]<<16|o[h>>>8&255]<<8|o[255&h],h^=d[a/r|0]<<24),i[a]=i[a-r]^h);for(var s=this._invKeySchedule=[],c=0;c<n;c++){if(a=n-c,c%4)var h=i[a];else h=i[a-4];s[c]=c<4||a<=4?h:u[o[h>>>24]]^l[o[h>>>16&255]]^f[o[h>>>8&255]]^p[o[255&h]]}}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,a,s,c,h,o)},decryptBlock:function(t,e){var r=t[e+1];t[e+1]=t[e+3],t[e+3]=r,this._doCryptBlock(t,e,this._invKeySchedule,u,l,f,p,i),r=t[e+1],t[e+1]=t[e+3],t[e+3]=r},_doCryptBlock:function(t,e,r,n,o,i,a,s){for(var c=this._nRounds,h=t[e]^r[0],u=t[e+1]^r[1],l=t[e+2]^r[2],f=t[e+3]^r[3],p=4,d=1;d<c;d++){var v=n[h>>>24]^o[u>>>16&255]^i[l>>>8&255]^a[255&f]^r[p++],y=n[u>>>24]^o[l>>>16&255]^i[f>>>8&255]^a[255&h]^r[p++],g=n[l>>>24]^o[f>>>16&255]^i[h>>>8&255]^a[255&u]^r[p++],_=n[f>>>24]^o[h>>>16&255]^i[u>>>8&255]^a[255&l]^r[p++];h=v,u=y,l=g,f=_}v=(s[h>>>24]<<24|s[u>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^r[p++],y=(s[u>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&h])^r[p++],g=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[h>>>8&255]<<8|s[255&u])^r[p++],_=(s[f>>>24]<<24|s[h>>>16&255]<<16|s[u>>>8&255]<<8|s[255&l])^r[p++],t[e]=v,t[e+1]=y,t[e+2]=g,t[e+3]=_},keySize:8});e.AES=r._createHelper(v)}(),t.AES)),mr.exports;var t}(),wr(),function(){return Sr||(Sr=1,Tr.exports=(t=Qt(),le(),ge(),ze(),Ve(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=n.RC4=r.extend({_doReset:function(){for(var t=this._key,e=t.words,r=t.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var i=0;o<256;o++){var a=o%r,s=e[a>>>2]>>>24-a%4*8&255;i=(i+n[o]+s)%256;var c=n[o];n[o]=n[i],n[i]=c}this._i=this._j=0},_doProcessBlock:function(t,e){t[e]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var t=this._S,e=this._i,r=this._j,n=0,o=0;o<4;o++){r=(r+t[e=(e+1)%256])%256;var i=t[e];t[e]=t[r],t[r]=i,n|=t[(t[e]+t[r])%256]<<24-8*o}return this._i=e,this._j=r,n}e.RC4=r._createHelper(o);var a=n.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)i.call(this)}});e.RC4Drop=r._createHelper(a)}(),t.RC4)),Tr.exports;var t}(),function(){return Hr||(Hr=1,Ar.exports=(t=Qt(),le(),ge(),ze(),Ve(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.Rabbit=r.extend({_doReset:function(){for(var t=this._key.words,e=this.cfg.iv,r=0;r<4;r++)t[r]=16711935&(t[r]<<8|t[r]>>>24)|4278255360&(t[r]<<24|t[r]>>>8);var n=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],o=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)o[r]^=n[r+4&7];if(e){var i=e.words,a=i[0],s=i[1],h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=h>>>16|4294901760&u,f=u<<16|65535&h;for(o[0]^=h,o[1]^=l,o[2]^=u,o[3]^=f,o[4]^=h,o[5]^=l,o[6]^=u,o[7]^=f,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(t,e){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),t[e+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var t=this._X,e=this._C,r=0;r<8;r++)i[r]=e[r];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<i[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<i[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<i[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<i[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<i[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<i[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<i[6]>>>0?1:0)|0,this._b=e[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=t[r]+e[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,h=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=c^h}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=r._createHelper(s)}(),t.Rabbit)),Ar.exports;var t}(),function(){return xr||(xr=1,Pr.exports=(t=Qt(),le(),ge(),ze(),Ve(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.RabbitLegacy=r.extend({_doReset:function(){var t=this._key.words,e=this.cfg.iv,r=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],n=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var o=0;o<4;o++)c.call(this);for(o=0;o<8;o++)n[o]^=r[o+4&7];if(e){var i=e.words,a=i[0],s=i[1],h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=h>>>16|4294901760&u,f=u<<16|65535&h;for(n[0]^=h,n[1]^=l,n[2]^=u,n[3]^=f,n[4]^=h,n[5]^=l,n[6]^=u,n[7]^=f,o=0;o<4;o++)c.call(this)}},_doProcessBlock:function(t,e){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),t[e+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var t=this._X,e=this._C,r=0;r<8;r++)i[r]=e[r];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<i[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<i[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<i[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<i[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<i[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<i[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<i[6]>>>0?1:0)|0,this._b=e[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=t[r]+e[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,h=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=c^h}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=r._createHelper(s)}(),t.RabbitLegacy)),Pr.exports;var t}(),Lr())),Zt.exports),Rr=Nt(Ir),Nr="https://cdn.gtx.dev",Dr="en";"function"==typeof SuppressedError&&SuppressedError;var Ur="DEFAULT_TERMINATOR_KEY";function Gr(t){var e=t.icuString,r=t.shouldVisit,n=t.visitor,o=t.options,a=o.recurseIntoVisited,s=void 0===a||a,c=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(o,["recurseIntoVisited"]),h=function(t,e){void 0===e&&(e={}),e=i({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new Ct(t,e).parse();if(r.err){var n=SyntaxError(j[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==e?void 0:e.captureLocation)||It(r.val),r.val}(e,c);return u(h),h;function u(t){t.map(l)}function l(t){var e=!1;r(t)&&(n(t),e=!0),e&&!s||(t.type===F.select||t.type===F.plural?Object.values(t.options).map(function(t){return t.value}).map(u):t.type===F.tag&&u(t.children))}}var jr="_gt_",Fr=new RegExp("^".concat(jr,"$"));function zr(t){var e;return t.type===Xt.TYPE.select&&Fr.test(t.value)&&!!t.options.other&&(0===t.options.other.value.length||t.options.other.value.length>0&&(null===(e=t.options.other.value[0])||void 0===e?void 0:e.type)===Xt.TYPE.literal)}function Kr(t){var e=t.replace(/['\']/g,"''"),r=/[{}<>]/,n=e.search(r);if(-1===n)return e;for(var o=-1,i=e.length-1;i>=0;i--)if(r.test(e[i])){o=i;break}return e.slice(0,n)+"'"+e.slice(n,o+1)+"'"+e.slice(o+1)}function Xr(t){return t}var Vr=Xr;function Wr(t){if(!t.includes(jr))return t;var e=[];Gr({icuString:t,shouldVisit:zr,visitor:function(t){var r,n,o,i,a,s,c,h;e.push({start:null!==(n=null===(r=t.location)||void 0===r?void 0:r.start.offset)&&void 0!==n?n:0,end:null!==(i=null===(o=t.location)||void 0===o?void 0:o.end.offset)&&void 0!==i?i:0,otherStart:null!==(s=null===(a=t.options.other.location)||void 0===a?void 0:a.start.offset)&&void 0!==s?s:0,otherEnd:null!==(h=null===(c=t.options.other.location)||void 0===c?void 0:c.end.offset)&&void 0!==h?h:0})},options:{recurseIntoVisited:!1,captureLocation:!0}});for(var r=[],n=0,o=0;o<e.length;o++){var i=e[o],a=i.start,s=i.end,c=i.otherStart,h=i.otherEnd;r.push(t.slice(n,a)),r.push(t.slice(a,a+4+1)),r.push(String(o+1)),r.push(t.slice(a+4+1,c)),r.push("{}"),r.push(t.slice(h,s)),n=s}return r.push(t.slice(n,t.length)),r.join("")}var Yr=function(){return Yr=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Yr.apply(this,arguments)};function $r(t){return Rr.SHA256(t).toString(Rr.enc.Hex).slice(0,16)}function Zr(t,e){var r=t.source,n=t.context,o=t.id,i=t.maxChars,a=t.dataFormat;void 0===e&&(e=$r);var s={dataFormat:a};return s.source="JSX"===a?Jr(r):r,s=Yr(Yr(Yr(Yr({},s),o&&{id:o}),n&&{context:n}),null!=i&&{maxChars:Math.abs(i)}),e($t(s))}"function"==typeof SuppressedError&&SuppressedError;var qr=function(t){if(t&&"object"==typeof t){var e={};if("c"in t&&t.c&&(e.c=Jr(t.c)),"d"in t){var r=null==t?void 0:t.d;(null==r?void 0:r.b)&&(e.b=Object.fromEntries(Object.entries(r.b).map(function(t){return[t[0],Jr(t[1])]}))),(null==r?void 0:r.t)&&(e.t=r.t)}return function(t){var e=t;if(e&&"object"==typeof e&&"string"==typeof e.k){var r=Object.keys(e);if(1===r.length)return!0;if(2===r.length){if("number"==typeof e.i)return!0;if("string"==typeof e.v)return!0}if(3===r.length&&"string"==typeof e.v&&"number"==typeof e.i)return!0}return!1}(t)?Yr({k:t.k},t.v&&{v:t.v}):e}return t};function Jr(t){return Array.isArray(t)?t.map(qr):qr(t)}var Qr=function(t,e){return Qr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},Qr(t,e)},tn=function(){return tn=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},tn.apply(this,arguments)};function en(t,e,r,n){return new(r||(r=Promise))(function(o,i){function a(t){try{c(n.next(t))}catch(t){i(t)}}function s(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(a,s)}c((n=n.apply(t,e||[])).next())})}function rn(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}function nn(t,e,r){for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var on,an=function(t){console.warn(t)},sn=function(t){console.error(t)};function cn(t){return t.loadTranslations?on.CUSTOM:t.cacheUrl?on.REMOTE:void 0!==t.cacheUrl&&t.cacheUrl!==Nr||!t.projectId?on.DISABLED:on.GT_REMOTE}!function(t){t.GT_REMOTE="gt-remote",t.REMOTE="remote",t.CUSTOM="custom",t.DISABLED="disabled"}(on||(on={}));var hn,un=function(){function t(t){var e;this.cache=new Map,this.resolvedCache=new Map,this.translationEntryTTL=null===t.cacheExpiryTime?-1:null!==(e=t.cacheExpiryTime)&&void 0!==e?e:6e4;var n=function(t){var e=cn(t);switch(e===on.DISABLED&&an("I18nManager: No translation loader found. No translations will be loaded."),e){case on.REMOTE:case on.GT_REMOTE:return function(t){var e=this,n=function(t){var e=t.cacheUrl,r=void 0===e?Nr:e,n=t.projectId,o=t._versionId,i=t._branchId,a=o?"/".concat(o):"",s=i?"?branchId=".concat(i):"";return"".concat(r,"/").concat(n,"/[locale]")+a+s}(t);return function(o){return en(e,void 0,void 0,function(){var e,i;return rn(this,function(a){switch(a.label){case 0:return o=r.resolveCanonicalLocale(o,t.customMapping),e=n.replace("[locale]",o),[4,fetch(e)];case 1:if(!(i=a.sent()).ok)throw new Error("Failed to load translations from ".concat(e));return[4,i.json()];case 2:return[2,a.sent()]}})})}}({cacheUrl:t.cacheUrl,projectId:t.projectId,_versionId:t._versionId,_branchId:t._branchId,customMapping:t.customMapping});case on.CUSTOM:return t.loadTranslations;case on.DISABLED:return function(){var t=this;return function(e){return en(t,void 0,void 0,function(){return rn(this,function(t){return[2,{}]})})}}()}}(t);this.translationLoader=this.attachResolveCaptureToTranslationLoader(this.protectTranslationLoader(n))}return t.prototype.protectTranslationLoader=function(t){var e=this;return function(r){return en(e,void 0,void 0,function(){var e;return rn(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,t(r)];case 1:return[2,n.sent()||{}];case 2:return e=n.sent(),sn("Failed to load translations "+e),this.cache.delete(r),[2,{}];case 3:return[2]}})})}},t.prototype.attachResolveCaptureToTranslationLoader=function(t){var e=this;return function(r){return en(e,void 0,void 0,function(){var e;return rn(this,function(n){switch(n.label){case 0:return[4,t(r)];case 1:return e=n.sent(),this.resolvedCache.set(r,e),[2,e]}})})}},t.prototype.handleCacheMiss=function(t){return en(this,void 0,void 0,function(){var e,r,n;return rn(this,function(o){return e=this.translationLoader(t),r=this.translationEntryTTL<0?this.translationEntryTTL:Date.now()+this.translationEntryTTL,n={promise:e,expiresAt:r},this.cache.set(t,n),[2,e]})})},t.prototype.isCacheHit=function(t){if(!this.cache.has(t))return!1;var e=this.cache.get(t).expiresAt;return e<0||e>Date.now()},t.prototype.getTranslations=function(t){return en(this,void 0,void 0,function(){return rn(this,function(e){return this.isCacheHit(t)?[2,this.cache.get(t).promise]:[2,this.handleCacheMiss(t)]})})},t.prototype.getTranslationsSync=function(t){return this.resolvedCache.get(t)},t.prototype.getTranslationLoader=function(){return this.translationLoader},t}();function ln(t){return void 0!==t.runtimeUrl&&"https://runtime2.gtx.dev"!==t.runtimeUrl||!t.projectId||!t.devApiKey&&!t.apiKey?t.runtimeUrl?hn.CUSTOM:hn.DISABLED:hn.GT}function fn(t){return cn(t)===on.GT_REMOTE||ln(t)===hn.GT}!function(t){t.GT="gt",t.CUSTOM="custom",t.DISABLED="disabled"}(hn||(hn={}));var pn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="fallback-storage-adapter",e.storage={},e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Qr(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,t),e.prototype.getItem=function(t){return this.storage[t]},e.prototype.setItem=function(t,e){this.storage[t]=e},e.prototype.removeItem=function(t){delete this.storage[t]},e}(function(){});function dn(t,e){return Zr(tn(tn(tn(tn({source:Wr(t)},(null==e?void 0:e.$context)&&{context:e.$context}),(null==e?void 0:e.$id)&&{id:e.$id}),null!=(null==e?void 0:e.$maxChars)&&{maxChars:Math.abs(e.$maxChars)}),{dataFormat:"ICU"}))}var vn=function(){function t(t){var e,n,o,i,a=this;this.resolveTranslationSync=function(t,e){var r=a.getLocale(),n=a.translationsManager.getTranslationsSync(r);if(n)return n[dn(t,e)]},function(t,e,r){if(void 0===r&&(r=!0),t.forEach(function(t){switch(t.type){case"error":sn(e+t.message);break;case"warning":an(e+t.message)}}),r&&t.some(function(t){return"error"===t.type}))throw new Error("Validation errors occurred")}(function(t){var e=[];return e.push.apply(e,function(t){var e=[],r=t.projectId,n=t.loadTranslations;switch(cn(t)){case on.REMOTE:case on.GT_REMOTE:r||e.push({type:"warning",message:"projectId is required when loading translations from a remote store"});break;case on.CUSTOM:n||e.push({type:"error",message:"loadTranslations is required when loading translations from a custom loader"});case on.DISABLED:}return e}(t)),e.push.apply(e,function(t){var e=[];switch(ln(t)){case hn.CUSTOM:case hn.GT:t.projectId||e.push({type:"warning",message:"projectId is required"}),t.devApiKey||t.apiKey||e.push({type:"warning",message:"devApiKey or apiKey is required"});case hn.DISABLED:}return e}(t)),e.push.apply(e,function(t){var e=[];if(!fn(t))return e;var n=t.defaultLocale,o=t.locales,i=t.customMapping;return new Set(nn(nn([],n?[n]:[]),o||[])).forEach(function(t){r.isValidLocale(t,i)||e.push({type:"error",message:"Invalid locale: ".concat(t)})}),e}(t)),e}(t),"I18nManager: "),this.config=(o=fn(n=t),i=function(t){var e=t.defaultLocale,r=t.locales,n=t.customMapping;return{defaultLocale:e,locales:Array.from(new Set(nn([e],r))),customMapping:n||{}}}({defaultLocale:n.defaultLocale||Dr,locales:n.locales||[Dr],customMapping:n.customMapping}),tn({enableI18n:void 0===n.enableI18n||n.enableI18n,projectId:n.projectId,devApiKey:n.devApiKey,apiKey:n.apiKey,runtimeUrl:n.runtimeUrl},o?function(t){var e=r.standardizeLocale(t.defaultLocale),n=t.locales.map(function(e){var n,o,i,a;return("string"==typeof(null===(n=t.customMapping)||void 0===n?void 0:n[e])?null===(o=t.customMapping)||void 0===o?void 0:o[e]:null===(a=null===(i=t.customMapping)||void 0===i?void 0:i[e])||void 0===a?void 0:a.code)?e:r.standardizeLocale(e)}),o=Object.fromEntries(Object.entries(t.customMapping||{}).map(function(t){var e=t[0],n=t[1];return[e,"string"==typeof n?r.standardizeLocale(n):tn(tn({},n),n.code?{code:r.standardizeLocale(n.code)}:{})]}));return{defaultLocale:e,locales:n,customMapping:o}}(i):i)),this.storeAdapter=null!==(e=t.storeAdapter)&&void 0!==e?e:new pn,this.translationsManager=new un(t)}return t.prototype.getAdapterType=function(){return this.storeAdapter.type},t.prototype.getLocale=function(){return this.storeAdapter.getItem("locale")||(an("getLocale() invoked outside of translation context, falling back to default locale"),this.config.defaultLocale)},t.prototype.setLocale=function(t){this.storeAdapter.setItem("locale",t)},t.prototype.getDefaultLocale=function(){return this.config.defaultLocale},t.prototype.getLocales=function(){return this.config.locales},t.prototype.getGTClass=function(){return new r.GT({sourceLocale:this.config.defaultLocale,targetLocale:this.getLocale(),locales:this.config.locales,customMapping:this.config.customMapping,projectId:this.config.projectId,baseUrl:this.config.runtimeUrl||void 0,apiKey:this.config.apiKey,devApiKey:this.config.devApiKey})},t.prototype.isTranslationEnabled=function(){return this.config.enableI18n},t.prototype.getTranslationLoader=function(){return this.translationsManager.getTranslationLoader()},t.prototype.getTranslations=function(){return en(this,arguments,void 0,function(t){return void 0===t&&(t=this.getLocale()),rn(this,function(e){if(!this.config.locales.includes(t))throw new Error("Locale ".concat(t," not found in config"));return[2,this.translationsManager.getTranslations(t)]})})},t.prototype.getTranslationResolver=function(){return en(this,arguments,void 0,function(t){var e;return void 0===t&&(t=this.getLocale()),rn(this,function(r){switch(r.label){case 0:return!1===this.config.enableI18n||t===this.config.defaultLocale?[2,function(t){return t}]:[4,this.translationsManager.getTranslations(t)];case 1:return e=r.sent(),[2,function(t,r){var n=dn(t,r);return e[n]}]}})})},t.prototype.requiresTranslation=function(t){void 0===t&&(t=this.getLocale());var e=this.getDefaultLocale(),r=this.getGTClass(),n=this.getLocales();return this.config.enableI18n&&r.requiresTranslation(e,t,n)},t.prototype.requiresDialectTranslation=function(t){void 0===t&&(t=this.getLocale());var e=this.getDefaultLocale(),r=this.getGTClass();return this.requiresTranslation(t)&&r.isSameLanguage(e,t)},t}(),yn=void 0;function gn(){return yn||(an("getI18nManager(): Translation failed because I18nManager not initialized."),yn=new vn({defaultLocale:Dr,locales:[Dr]})),yn}Object.defineProperty(exports,"getGT",{enumerable:!0,get:function(){return t.getGT}}),Object.defineProperty(exports,"getMessages",{enumerable:!0,get:function(){return t.getMessages}}),exports.declareStatic=Vr,exports.declareVar=function(t,e){var r=Kr(String(null!=t?t:"")),n=" other {".concat(r,"}"),o="";if(null==e?void 0:e.$name){var i=Kr(e.$name);o=" ".concat("_gt_var_name"," {").concat(i,"}")}return"{".concat(jr,", select,").concat(n).concat(o,"}")},exports.decodeMsg=function(t){return"string"==typeof t&&-1!==t.lastIndexOf(":")?t.slice(0,t.lastIndexOf(":")):t},exports.decodeOptions=function(t){if(-1===t.lastIndexOf(":"))return null;var e=t.slice(t.lastIndexOf(":")+1);try{return JSON.parse(function(t){if("undefined"!=typeof Buffer)return Buffer.from(t,"base64").toString("utf8");for(var e=atob(t),r=new Uint8Array(e.length),n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return(new TextDecoder).decode(r)}(e))}catch(t){return null}},exports.decodeVars=function(t){if(!t.includes(jr))return t;var e=[];Gr({icuString:t,shouldVisit:zr,visitor:function(t){var r,n,o,i;e.push({start:null!==(n=null===(r=t.location)||void 0===r?void 0:r.start.offset)&&void 0!==n?n:0,end:null!==(i=null===(o=t.location)||void 0===o?void 0:o.end.offset)&&void 0!==i?i:0,value:t.options.other.value.length>0?t.options.other.value[0].value:""})},options:{recurseIntoVisited:!1,captureLocation:!0}});for(var r=0,n=[],o=0;o<e.length;o++)n.push(t.slice(r,e[o].start)),n.push(e[o].value),r=e[o].end;return r<t.length&&n.push(t.slice(r)),n.join("")},exports.derive=Xr,exports.getDefaultLocale=function(){return gn().getDefaultLocale()},exports.getLocale=function(){return gn().getLocale()},exports.getLocaleProperties=function(t){return gn().getGTClass().getLocaleProperties(t)},exports.getLocales=function(){return gn().getLocales()},exports.initializeGT=function(e){!function(e){t.setI18nManager(e)}(new K(i(i({},e),{storeAdapter:new V})))},exports.msg=function t(e,n){var o;if("string"!=typeof e)return n?e.map(function(e,r){return t(e,tn(tn({},n),n.$id&&{$id:"".concat(n.$id,".").concat(r)}))}):e;if(!n)return e;var i=function(t){return Object.fromEntries(Object.entries(t).filter(function(t){var e=t[0];return"$id"!==e&&"$context"!==e&&"$maxChars"!==e&&"$hash"!==e&&"$_hash"!==e&&"$_source"!==e&&"$_fallback"!==e}))}(n),a=e;try{a=r.formatMessage(e,{locales:[Dr],variables:tn(tn({},i),(o={},o[jr]="other",o))})}catch(n){return an(function(t){return'String interpolation failed for message: "'.concat(t,'".')}(e)),e}var s=e,c=n.$_hash||dn(e,n),h=tn(tn({},n),{$_source:s,$_hash:c}),u=function(t){if("undefined"!=typeof Buffer)return Buffer.from(t,"utf8").toString("base64");for(var e=(new TextEncoder).encode(t),r="",n=0;n<e.length;n++)r+=String.fromCharCode(e[n]);return btoa(r)}(JSON.stringify(h));return"".concat(a,":").concat(u)},exports.withGT=function(e,r){var n=t.getI18nManager();if(!function(t){return t.getAdapterType()===X&&"run"in t&&"function"==typeof t.run}(n))throw new Error("I18nManager not initialized. Invoke configGT() to initialize.");return n.run(e,r)};
18
+ function(){var e=t,r=e.lib,n=r.WordArray,o=r.Hasher,i=e.algo,a=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),h=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=n.create([0,1518500249,1859775393,2400959708,2840853838]),l=n.create([1352829926,1548603684,1836072691,2053994217,0]),f=i.RIPEMD160=o.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=0;r<16;r++){var n=e+r,o=t[n];t[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,f,b,m,E,B,w,S,T,H,A,x=this._hash.words,P=u.words,C=l.words,O=a.words,L=s.words,M=c.words,k=h.words;for(B=i=x[0],w=f=x[1],S=b=x[2],T=m=x[3],H=E=x[4],r=0;r<80;r+=1)A=i+t[e+O[r]]|0,A+=r<16?p(f,b,m)+P[0]:r<32?d(f,b,m)+P[1]:r<48?v(f,b,m)+P[2]:r<64?y(f,b,m)+P[3]:g(f,b,m)+P[4],A=(A=_(A|=0,M[r]))+E|0,i=E,E=m,m=_(b,10),b=f,f=A,A=B+t[e+L[r]]|0,A+=r<16?g(w,S,T)+C[0]:r<32?y(w,S,T)+C[1]:r<48?v(w,S,T)+C[2]:r<64?d(w,S,T)+C[3]:p(w,S,T)+C[4],A=(A=_(A|=0,k[r]))+H|0,B=H,H=T,T=_(S,10),S=w,w=A;A=x[1]+b+T|0,x[1]=x[2]+m+H|0,x[2]=x[3]+E+B|0,x[3]=x[4]+i+w|0,x[4]=x[0]+f+S|0,x[0]=A},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),t.sigBytes=4*(e.length+1),this._process();for(var o=this._hash,i=o.words,a=0;a<5;a++){var s=i[a];i[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return o},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function p(t,e,r){return t^e^r}function d(t,e,r){return t&e|~t&r}function v(t,e,r){return(t|~e)^r}function y(t,e,r){return t&r|e&~r}function g(t,e,r){return t^(e|~r)}function _(t,e){return t<<e|t>>>32-e}e.RIPEMD160=o._createHelper(f),e.HmacRIPEMD160=o._createHmacHelper(f)}(),t.RIPEMD160)),Ie.exports;var t}(),De(),function(){return Ue||(Ue=1,Ge.exports=(t=Qt(),we(),De(),function(){var e=t,r=e.lib,n=r.Base,o=r.WordArray,i=e.algo,a=i.SHA256,s=i.HMAC,c=i.PBKDF2=n.extend({cfg:n.extend({keySize:4,hasher:a,iterations:25e4}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,e){for(var r=this.cfg,n=s.create(r.hasher,t),i=o.create(),a=o.create([1]),c=i.words,h=a.words,u=r.keySize,l=r.iterations;c.length<u;){var f=n.update(e).finalize(a);n.reset();for(var p=f.words,d=p.length,v=f,y=1;y<l;y++){v=n.finalize(v),n.reset();for(var g=v.words,_=0;_<d;_++)p[_]^=g[_]}i.concat(f),h[0]++}return i.sigBytes=4*u,i}});e.PBKDF2=function(t,e,r){return c.create(r).compute(t,e)}}(),t.PBKDF2)),Ge.exports;var t}(),ze(),Ve(),$e(),Je(),er(),or(),function(){return ir?ar.exports:(ir=1,ar.exports=(e=Qt(),Ve(),e.mode.ECB=((t=e.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(t,e){this._cipher.encryptBlock(t,e)}}),t.Decryptor=t.extend({processBlock:function(t,e){this._cipher.decryptBlock(t,e)}}),t),e.mode.ECB));var t,e}(),function(){return sr?cr.exports:(sr=1,cr.exports=(t=Qt(),Ve(),t.pad.AnsiX923={pad:function(t,e){var r=t.sigBytes,n=4*e,o=n-r%n,i=r+o-1;t.clamp(),t.words[i>>>2]|=o<<24-i%4*8,t.sigBytes+=o},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Ansix923));var t}(),function(){return hr?ur.exports:(hr=1,ur.exports=(t=Qt(),Ve(),t.pad.Iso10126={pad:function(e,r){var n=4*r,o=n-e.sigBytes%n;e.concat(t.lib.WordArray.random(o-1)).concat(t.lib.WordArray.create([o<<24],1))},unpad:function(t){var e=255&t.words[t.sigBytes-1>>>2];t.sigBytes-=e}},t.pad.Iso10126));var t}(),function(){return lr?fr.exports:(lr=1,fr.exports=(t=Qt(),Ve(),t.pad.Iso97971={pad:function(e,r){e.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(e,r)},unpad:function(e){t.pad.ZeroPadding.unpad(e),e.sigBytes--}},t.pad.Iso97971));var t}(),function(){return pr||(pr=1,dr.exports=(t=Qt(),Ve(),t.pad.ZeroPadding={pad:function(t,e){var r=4*e;t.clamp(),t.sigBytes+=r-(t.sigBytes%r||r)},unpad:function(t){var e=t.words,r=t.sigBytes-1;for(r=t.sigBytes-1;r>=0;r--)if(e[r>>>2]>>>24-r%4*8&255){t.sigBytes=r+1;break}}},t.pad.ZeroPadding)),dr.exports;var t}(),function(){return vr?yr.exports:(vr=1,yr.exports=(t=Qt(),Ve(),t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding));var t}(),function(){return gr||(gr=1,_r.exports=(t=Qt(),Ve(),function(){var e=t,r=e.lib.CipherParams,n=e.enc.Hex;e.format.Hex={stringify:function(t){return t.ciphertext.toString(n)},parse:function(t){var e=n.parse(t);return r.create({ciphertext:e})}}}(),t.format.Hex)),_r.exports;var t}(),function(){return br||(br=1,mr.exports=(t=Qt(),le(),ge(),ze(),Ve(),function(){var e=t,r=e.lib.BlockCipher,n=e.algo,o=[],i=[],a=[],s=[],c=[],h=[],u=[],l=[],f=[],p=[];!function(){for(var t=[],e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;var r=0,n=0;for(e=0;e<256;e++){var d=n^n<<1^n<<2^n<<3^n<<4;d=d>>>8^255&d^99,o[r]=d,i[d]=r;var v=t[r],y=t[v],g=t[y],_=257*t[d]^16843008*d;a[r]=_<<24|_>>>8,s[r]=_<<16|_>>>16,c[r]=_<<8|_>>>24,h[r]=_,_=16843009*g^65537*y^257*v^16843008*r,u[d]=_<<24|_>>>8,l[d]=_<<16|_>>>16,f[d]=_<<8|_>>>24,p[d]=_,r?(r=v^t[t[t[g^v]]],n^=t[t[n]]):r=n=1}}();var d=[0,1,2,4,8,16,32,64,128,27,54],v=n.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,r=t.sigBytes/4,n=4*((this._nRounds=r+6)+1),i=this._keySchedule=[],a=0;a<n;a++)a<r?i[a]=e[a]:(h=i[a-1],a%r?r>6&&a%r==4&&(h=o[h>>>24]<<24|o[h>>>16&255]<<16|o[h>>>8&255]<<8|o[255&h]):(h=o[(h=h<<8|h>>>24)>>>24]<<24|o[h>>>16&255]<<16|o[h>>>8&255]<<8|o[255&h],h^=d[a/r|0]<<24),i[a]=i[a-r]^h);for(var s=this._invKeySchedule=[],c=0;c<n;c++){if(a=n-c,c%4)var h=i[a];else h=i[a-4];s[c]=c<4||a<=4?h:u[o[h>>>24]]^l[o[h>>>16&255]]^f[o[h>>>8&255]]^p[o[255&h]]}}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,a,s,c,h,o)},decryptBlock:function(t,e){var r=t[e+1];t[e+1]=t[e+3],t[e+3]=r,this._doCryptBlock(t,e,this._invKeySchedule,u,l,f,p,i),r=t[e+1],t[e+1]=t[e+3],t[e+3]=r},_doCryptBlock:function(t,e,r,n,o,i,a,s){for(var c=this._nRounds,h=t[e]^r[0],u=t[e+1]^r[1],l=t[e+2]^r[2],f=t[e+3]^r[3],p=4,d=1;d<c;d++){var v=n[h>>>24]^o[u>>>16&255]^i[l>>>8&255]^a[255&f]^r[p++],y=n[u>>>24]^o[l>>>16&255]^i[f>>>8&255]^a[255&h]^r[p++],g=n[l>>>24]^o[f>>>16&255]^i[h>>>8&255]^a[255&u]^r[p++],_=n[f>>>24]^o[h>>>16&255]^i[u>>>8&255]^a[255&l]^r[p++];h=v,u=y,l=g,f=_}v=(s[h>>>24]<<24|s[u>>>16&255]<<16|s[l>>>8&255]<<8|s[255&f])^r[p++],y=(s[u>>>24]<<24|s[l>>>16&255]<<16|s[f>>>8&255]<<8|s[255&h])^r[p++],g=(s[l>>>24]<<24|s[f>>>16&255]<<16|s[h>>>8&255]<<8|s[255&u])^r[p++],_=(s[f>>>24]<<24|s[h>>>16&255]<<16|s[u>>>8&255]<<8|s[255&l])^r[p++],t[e]=v,t[e+1]=y,t[e+2]=g,t[e+3]=_},keySize:8});e.AES=r._createHelper(v)}(),t.AES)),mr.exports;var t}(),wr(),function(){return Sr||(Sr=1,Tr.exports=(t=Qt(),le(),ge(),ze(),Ve(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=n.RC4=r.extend({_doReset:function(){for(var t=this._key,e=t.words,r=t.sigBytes,n=this._S=[],o=0;o<256;o++)n[o]=o;o=0;for(var i=0;o<256;o++){var a=o%r,s=e[a>>>2]>>>24-a%4*8&255;i=(i+n[o]+s)%256;var c=n[o];n[o]=n[i],n[i]=c}this._i=this._j=0},_doProcessBlock:function(t,e){t[e]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var t=this._S,e=this._i,r=this._j,n=0,o=0;o<4;o++){r=(r+t[e=(e+1)%256])%256;var i=t[e];t[e]=t[r],t[r]=i,n|=t[(t[e]+t[r])%256]<<24-8*o}return this._i=e,this._j=r,n}e.RC4=r._createHelper(o);var a=n.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)i.call(this)}});e.RC4Drop=r._createHelper(a)}(),t.RC4)),Tr.exports;var t}(),function(){return Hr||(Hr=1,Ar.exports=(t=Qt(),le(),ge(),ze(),Ve(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.Rabbit=r.extend({_doReset:function(){for(var t=this._key.words,e=this.cfg.iv,r=0;r<4;r++)t[r]=16711935&(t[r]<<8|t[r]>>>24)|4278255360&(t[r]<<24|t[r]>>>8);var n=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],o=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)o[r]^=n[r+4&7];if(e){var i=e.words,a=i[0],s=i[1],h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=h>>>16|4294901760&u,f=u<<16|65535&h;for(o[0]^=h,o[1]^=l,o[2]^=u,o[3]^=f,o[4]^=h,o[5]^=l,o[6]^=u,o[7]^=f,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(t,e){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),t[e+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var t=this._X,e=this._C,r=0;r<8;r++)i[r]=e[r];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<i[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<i[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<i[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<i[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<i[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<i[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<i[6]>>>0?1:0)|0,this._b=e[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=t[r]+e[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,h=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=c^h}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=r._createHelper(s)}(),t.Rabbit)),Ar.exports;var t}(),function(){return xr||(xr=1,Pr.exports=(t=Qt(),le(),ge(),ze(),Ve(),function(){var e=t,r=e.lib.StreamCipher,n=e.algo,o=[],i=[],a=[],s=n.RabbitLegacy=r.extend({_doReset:function(){var t=this._key.words,e=this.cfg.iv,r=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],n=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var o=0;o<4;o++)c.call(this);for(o=0;o<8;o++)n[o]^=r[o+4&7];if(e){var i=e.words,a=i[0],s=i[1],h=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),u=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=h>>>16|4294901760&u,f=u<<16|65535&h;for(n[0]^=h,n[1]^=l,n[2]^=u,n[3]^=f,n[4]^=h,n[5]^=l,n[6]^=u,n[7]^=f,o=0;o<4;o++)c.call(this)}},_doProcessBlock:function(t,e){var r=this._X;c.call(this),o[0]=r[0]^r[5]>>>16^r[3]<<16,o[1]=r[2]^r[7]>>>16^r[5]<<16,o[2]=r[4]^r[1]>>>16^r[7]<<16,o[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)o[n]=16711935&(o[n]<<8|o[n]>>>24)|4278255360&(o[n]<<24|o[n]>>>8),t[e+n]^=o[n]},blockSize:4,ivSize:2});function c(){for(var t=this._X,e=this._C,r=0;r<8;r++)i[r]=e[r];for(e[0]=e[0]+1295307597+this._b|0,e[1]=e[1]+3545052371+(e[0]>>>0<i[0]>>>0?1:0)|0,e[2]=e[2]+886263092+(e[1]>>>0<i[1]>>>0?1:0)|0,e[3]=e[3]+1295307597+(e[2]>>>0<i[2]>>>0?1:0)|0,e[4]=e[4]+3545052371+(e[3]>>>0<i[3]>>>0?1:0)|0,e[5]=e[5]+886263092+(e[4]>>>0<i[4]>>>0?1:0)|0,e[6]=e[6]+1295307597+(e[5]>>>0<i[5]>>>0?1:0)|0,e[7]=e[7]+3545052371+(e[6]>>>0<i[6]>>>0?1:0)|0,this._b=e[7]>>>0<i[7]>>>0?1:0,r=0;r<8;r++){var n=t[r]+e[r],o=65535&n,s=n>>>16,c=((o*o>>>17)+o*s>>>15)+s*s,h=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=c^h}t[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,t[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,t[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,t[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,t[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,t[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,t[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,t[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=r._createHelper(s)}(),t.RabbitLegacy)),Pr.exports;var t}(),Lr())),Zt.exports),Rr=Nt(Ir),Nr="https://cdn.gtx.dev",Dr="en";"function"==typeof SuppressedError&&SuppressedError;var Ur="DEFAULT_TERMINATOR_KEY";function Gr(t){var e=t.icuString,r=t.shouldVisit,n=t.visitor,o=t.options,a=o.recurseIntoVisited,s=void 0===a||a,c=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(o,["recurseIntoVisited"]),h=function(t,e){void 0===e&&(e={}),e=i({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new Ct(t,e).parse();if(r.err){var n=SyntaxError(j[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==e?void 0:e.captureLocation)||It(r.val),r.val}(e,c);return u(h),h;function u(t){t.map(l)}function l(t){var e=!1;r(t)&&(n(t),e=!0),e&&!s||(t.type===F.select||t.type===F.plural?Object.values(t.options).map(function(t){return t.value}).map(u):t.type===F.tag&&u(t.children))}}var jr="_gt_",Fr=new RegExp("^".concat(jr,"$"));function zr(t){var e;return t.type===Xt.TYPE.select&&Fr.test(t.value)&&!!t.options.other&&(0===t.options.other.value.length||t.options.other.value.length>0&&(null===(e=t.options.other.value[0])||void 0===e?void 0:e.type)===Xt.TYPE.literal)}function Kr(t){var e=t.replace(/['\']/g,"''"),r=/[{}<>]/,n=e.search(r);if(-1===n)return e;for(var o=-1,i=e.length-1;i>=0;i--)if(r.test(e[i])){o=i;break}return e.slice(0,n)+"'"+e.slice(n,o+1)+"'"+e.slice(o+1)}function Xr(t){return t}var Vr=Xr;function Wr(t){if(!t.includes(jr))return t;var e=[];Gr({icuString:t,shouldVisit:zr,visitor:function(t){var r,n,o,i,a,s,c,h;e.push({start:null!==(n=null===(r=t.location)||void 0===r?void 0:r.start.offset)&&void 0!==n?n:0,end:null!==(i=null===(o=t.location)||void 0===o?void 0:o.end.offset)&&void 0!==i?i:0,otherStart:null!==(s=null===(a=t.options.other.location)||void 0===a?void 0:a.start.offset)&&void 0!==s?s:0,otherEnd:null!==(h=null===(c=t.options.other.location)||void 0===c?void 0:c.end.offset)&&void 0!==h?h:0})},options:{recurseIntoVisited:!1,captureLocation:!0}});for(var r=[],n=0,o=0;o<e.length;o++){var i=e[o],a=i.start,s=i.end,c=i.otherStart,h=i.otherEnd;r.push(t.slice(n,a)),r.push(t.slice(a,a+4+1)),r.push(String(o+1)),r.push(t.slice(a+4+1,c)),r.push("{}"),r.push(t.slice(h,s)),n=s}return r.push(t.slice(n,t.length)),r.join("")}var Yr=function(){return Yr=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Yr.apply(this,arguments)};function $r(t){return Rr.SHA256(t).toString(Rr.enc.Hex).slice(0,16)}function Zr(t,e){var r=t.source,n=t.context,o=t.id,i=t.maxChars,a=t.dataFormat;void 0===e&&(e=$r);var s={dataFormat:a};return s.source="JSX"===a?Jr(r):r,s=Yr(Yr(Yr(Yr({},s),o&&{id:o}),n&&{context:n}),null!=i&&{maxChars:Math.abs(i)}),e($t(s))}"function"==typeof SuppressedError&&SuppressedError;var qr=function(t){if(t&&"object"==typeof t){var e={};if("c"in t&&t.c&&(e.c=Jr(t.c)),"d"in t){var r=null==t?void 0:t.d;(null==r?void 0:r.b)&&(e.b=Object.fromEntries(Object.entries(r.b).map(function(t){return[t[0],Jr(t[1])]}))),(null==r?void 0:r.t)&&(e.t=r.t)}return function(t){var e=t;if(e&&"object"==typeof e&&"string"==typeof e.k){var r=Object.keys(e);if(1===r.length)return!0;if(2===r.length){if("number"==typeof e.i)return!0;if("string"==typeof e.v)return!0}if(3===r.length&&"string"==typeof e.v&&"number"==typeof e.i)return!0}return!1}(t)?Yr({k:t.k},t.v&&{v:t.v}):e}return t};function Jr(t){return Array.isArray(t)?t.map(qr):qr(t)}var Qr=function(t,e){return Qr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},Qr(t,e)},tn=function(){return tn=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},tn.apply(this,arguments)};function en(t,e,r,n){return new(r||(r=Promise))(function(o,i){function a(t){try{c(n.next(t))}catch(t){i(t)}}function s(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(a,s)}c((n=n.apply(t,e||[])).next())})}function rn(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}function nn(t,e,r){for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var on,an=function(t){console.warn(t)},sn=function(t){console.error(t)};function cn(t){return t.loadTranslations?on.CUSTOM:t.cacheUrl?on.REMOTE:void 0!==t.cacheUrl&&t.cacheUrl!==Nr||!t.projectId?on.DISABLED:on.GT_REMOTE}!function(t){t.GT_REMOTE="gt-remote",t.REMOTE="remote",t.CUSTOM="custom",t.DISABLED="disabled"}(on||(on={}));var hn,un=function(){function t(t){var e;this.cache=new Map,this.resolvedCache=new Map,this.translationEntryTTL=null===t.cacheExpiryTime?-1:null!==(e=t.cacheExpiryTime)&&void 0!==e?e:6e4;var n=function(t){var e=cn(t);switch(e===on.DISABLED&&an("I18nManager: No translation loader found. No translations will be loaded."),e){case on.REMOTE:case on.GT_REMOTE:return function(t){var e=this,n=function(t){var e=t.cacheUrl,r=void 0===e?Nr:e,n=t.projectId,o=t._versionId,i=t._branchId,a=o?"/".concat(o):"",s=i?"?branchId=".concat(i):"";return"".concat(r,"/").concat(n,"/[locale]")+a+s}(t);return function(o){return en(e,void 0,void 0,function(){var e,i;return rn(this,function(a){switch(a.label){case 0:return o=r.resolveCanonicalLocale(o,t.customMapping),e=n.replace("[locale]",o),[4,fetch(e)];case 1:if(!(i=a.sent()).ok)throw new Error("Failed to load translations from ".concat(e));return[4,i.json()];case 2:return[2,a.sent()]}})})}}({cacheUrl:t.cacheUrl,projectId:t.projectId,_versionId:t._versionId,_branchId:t._branchId,customMapping:t.customMapping});case on.CUSTOM:return t.loadTranslations;case on.DISABLED:return function(){var t=this;return function(e){return en(t,void 0,void 0,function(){return rn(this,function(t){return[2,{}]})})}}()}}(t);this.translationLoader=this.attachResolveCaptureToTranslationLoader(this.protectTranslationLoader(n))}return t.prototype.protectTranslationLoader=function(t){var e=this;return function(r){return en(e,void 0,void 0,function(){var e;return rn(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,t(r)];case 1:return[2,n.sent()||{}];case 2:return e=n.sent(),sn("Failed to load translations "+e),this.cache.delete(r),[2,{}];case 3:return[2]}})})}},t.prototype.attachResolveCaptureToTranslationLoader=function(t){var e=this;return function(r){return en(e,void 0,void 0,function(){var e;return rn(this,function(n){switch(n.label){case 0:return[4,t(r)];case 1:return e=n.sent(),this.resolvedCache.set(r,e),[2,e]}})})}},t.prototype.handleCacheMiss=function(t){return en(this,void 0,void 0,function(){var e,r,n;return rn(this,function(o){return e=this.translationLoader(t),r=this.translationEntryTTL<0?this.translationEntryTTL:Date.now()+this.translationEntryTTL,n={promise:e,expiresAt:r},this.cache.set(t,n),[2,e]})})},t.prototype.isCacheHit=function(t){if(!this.cache.has(t))return!1;var e=this.cache.get(t).expiresAt;return e<0||e>Date.now()},t.prototype.getTranslations=function(t){return en(this,void 0,void 0,function(){return rn(this,function(e){return this.isCacheHit(t)?[2,this.cache.get(t).promise]:[2,this.handleCacheMiss(t)]})})},t.prototype.getTranslationsSync=function(t){return this.resolvedCache.get(t)},t.prototype.getTranslationLoader=function(){return this.translationLoader},t}();function ln(t){return void 0!==t.runtimeUrl&&"https://runtime2.gtx.dev"!==t.runtimeUrl||!t.projectId||!t.devApiKey&&!t.apiKey?t.runtimeUrl?hn.CUSTOM:hn.DISABLED:hn.GT}function fn(t){return cn(t)===on.GT_REMOTE||ln(t)===hn.GT}!function(t){t.GT="gt",t.CUSTOM="custom",t.DISABLED="disabled"}(hn||(hn={}));var pn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="fallback-storage-adapter",e.storage={},e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Qr(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,t),e.prototype.getItem=function(t){return this.storage[t]},e.prototype.setItem=function(t,e){this.storage[t]=e},e.prototype.removeItem=function(t){delete this.storage[t]},e}(function(){});function dn(t,e){return Zr(tn(tn(tn(tn({source:Wr(t)},(null==e?void 0:e.$context)&&{context:e.$context}),(null==e?void 0:e.$id)&&{id:e.$id}),null!=(null==e?void 0:e.$maxChars)&&{maxChars:Math.abs(e.$maxChars)}),{dataFormat:"ICU"}))}var vn=function(){function t(t){var e,n,o,i,a=this;this.resolveTranslationSync=function(t,e){var r=a.getLocale(),n=a.translationsManager.getTranslationsSync(r);if(n)return n[dn(t,e)]},function(t,e,r){if(void 0===r&&(r=!0),t.forEach(function(t){switch(t.type){case"error":sn(e+t.message);break;case"warning":an(e+t.message)}}),r&&t.some(function(t){return"error"===t.type}))throw new Error("Validation errors occurred")}(function(t){var e=[];return e.push.apply(e,function(t){var e=[],r=t.projectId,n=t.loadTranslations;switch(cn(t)){case on.REMOTE:case on.GT_REMOTE:r||e.push({type:"warning",message:"projectId is required when loading translations from a remote store"});break;case on.CUSTOM:n||e.push({type:"error",message:"loadTranslations is required when loading translations from a custom loader"});case on.DISABLED:}return e}(t)),e.push.apply(e,function(t){var e=[];switch(ln(t)){case hn.CUSTOM:case hn.GT:t.projectId||e.push({type:"warning",message:"projectId is required"}),t.devApiKey||t.apiKey||e.push({type:"warning",message:"devApiKey or apiKey is required"});case hn.DISABLED:}return e}(t)),e.push.apply(e,function(t){var e=[];if(!fn(t))return e;var n=t.defaultLocale,o=t.locales,i=t.customMapping;return new Set(nn(nn([],n?[n]:[]),o||[])).forEach(function(t){r.isValidLocale(t,i)||e.push({type:"error",message:"Invalid locale: ".concat(t)})}),e}(t)),e}(t),"I18nManager: "),this.config=(o=fn(n=t),i=function(t){var e=t.defaultLocale,r=t.locales,n=t.customMapping;return{defaultLocale:e,locales:Array.from(new Set(nn([e],r))),customMapping:n||{}}}({defaultLocale:n.defaultLocale||Dr,locales:n.locales||[Dr],customMapping:n.customMapping}),tn({enableI18n:void 0===n.enableI18n||n.enableI18n,projectId:n.projectId,devApiKey:n.devApiKey,apiKey:n.apiKey,runtimeUrl:n.runtimeUrl,_versionId:n._versionId},o?function(t){var e=r.standardizeLocale(t.defaultLocale),n=t.locales.map(function(e){var n,o,i,a;return("string"==typeof(null===(n=t.customMapping)||void 0===n?void 0:n[e])?null===(o=t.customMapping)||void 0===o?void 0:o[e]:null===(a=null===(i=t.customMapping)||void 0===i?void 0:i[e])||void 0===a?void 0:a.code)?e:r.standardizeLocale(e)}),o=Object.fromEntries(Object.entries(t.customMapping||{}).map(function(t){var e=t[0],n=t[1];return[e,"string"==typeof n?r.standardizeLocale(n):tn(tn({},n),n.code?{code:r.standardizeLocale(n.code)}:{})]}));return{defaultLocale:e,locales:n,customMapping:o}}(i):i)),this.storeAdapter=null!==(e=t.storeAdapter)&&void 0!==e?e:new pn,this.translationsManager=new un(t)}return t.prototype.getAdapterType=function(){return this.storeAdapter.type},t.prototype.getLocale=function(){return this.storeAdapter.getItem("locale")||(an("getLocale() invoked outside of translation context, falling back to default locale"),this.config.defaultLocale)},t.prototype.setLocale=function(t){this.storeAdapter.setItem("locale",t)},t.prototype.getDefaultLocale=function(){return this.config.defaultLocale},t.prototype.getLocales=function(){return this.config.locales},t.prototype.getVersionId=function(){return this.config._versionId},t.prototype.getGTClass=function(){return new r.GT({sourceLocale:this.config.defaultLocale,targetLocale:this.getLocale(),locales:this.config.locales,customMapping:this.config.customMapping,projectId:this.config.projectId,baseUrl:this.config.runtimeUrl||void 0,apiKey:this.config.apiKey,devApiKey:this.config.devApiKey})},t.prototype.isTranslationEnabled=function(){return this.config.enableI18n},t.prototype.getTranslationLoader=function(){return this.translationsManager.getTranslationLoader()},t.prototype.getTranslations=function(){return en(this,arguments,void 0,function(t){return void 0===t&&(t=this.getLocale()),rn(this,function(e){if(!this.config.locales.includes(t))throw new Error("Locale ".concat(t," not found in config"));return[2,this.translationsManager.getTranslations(t)]})})},t.prototype.getTranslationResolver=function(){return en(this,arguments,void 0,function(t){var e;return void 0===t&&(t=this.getLocale()),rn(this,function(r){switch(r.label){case 0:return!1===this.config.enableI18n||t===this.config.defaultLocale?[2,function(t){return t}]:[4,this.translationsManager.getTranslations(t)];case 1:return e=r.sent(),[2,function(t,r){var n=dn(t,r);return e[n]}]}})})},t.prototype.requiresTranslation=function(t){void 0===t&&(t=this.getLocale());var e=this.getDefaultLocale(),r=this.getGTClass(),n=this.getLocales();return this.config.enableI18n&&r.requiresTranslation(e,t,n)},t.prototype.requiresDialectTranslation=function(t){void 0===t&&(t=this.getLocale());var e=this.getDefaultLocale(),r=this.getGTClass();return this.requiresTranslation(t)&&r.isSameLanguage(e,t)},t}(),yn=void 0;function gn(){return yn||(an("getI18nManager(): Translation failed because I18nManager not initialized."),yn=new vn({defaultLocale:Dr,locales:[Dr]})),yn}Object.defineProperty(exports,"getGT",{enumerable:!0,get:function(){return t.getGT}}),Object.defineProperty(exports,"getMessages",{enumerable:!0,get:function(){return t.getMessages}}),exports.declareStatic=Vr,exports.declareVar=function(t,e){var r=Kr(String(null!=t?t:"")),n=" other {".concat(r,"}"),o="";if(null==e?void 0:e.$name){var i=Kr(e.$name);o=" ".concat("_gt_var_name"," {").concat(i,"}")}return"{".concat(jr,", select,").concat(n).concat(o,"}")},exports.decodeMsg=function(t){return"string"==typeof t&&-1!==t.lastIndexOf(":")?t.slice(0,t.lastIndexOf(":")):t},exports.decodeOptions=function(t){if(-1===t.lastIndexOf(":"))return null;var e=t.slice(t.lastIndexOf(":")+1);try{return JSON.parse(function(t){if("undefined"!=typeof Buffer)return Buffer.from(t,"base64").toString("utf8");for(var e=atob(t),r=new Uint8Array(e.length),n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return(new TextDecoder).decode(r)}(e))}catch(t){return null}},exports.decodeVars=function(t){if(!t.includes(jr))return t;var e=[];Gr({icuString:t,shouldVisit:zr,visitor:function(t){var r,n,o,i;e.push({start:null!==(n=null===(r=t.location)||void 0===r?void 0:r.start.offset)&&void 0!==n?n:0,end:null!==(i=null===(o=t.location)||void 0===o?void 0:o.end.offset)&&void 0!==i?i:0,value:t.options.other.value.length>0?t.options.other.value[0].value:""})},options:{recurseIntoVisited:!1,captureLocation:!0}});for(var r=0,n=[],o=0;o<e.length;o++)n.push(t.slice(r,e[o].start)),n.push(e[o].value),r=e[o].end;return r<t.length&&n.push(t.slice(r)),n.join("")},exports.derive=Xr,exports.getDefaultLocale=function(){return gn().getDefaultLocale()},exports.getLocale=function(){return gn().getLocale()},exports.getLocaleProperties=function(t){return gn().getGTClass().getLocaleProperties(t)},exports.getLocales=function(){return gn().getLocales()},exports.getVersionId=function(){return gn().getVersionId()},exports.initializeGT=function(e){!function(e){t.setI18nManager(e)}(new K(i(i({},e),{storeAdapter:new V})))},exports.msg=function t(e,n){var o;if("string"!=typeof e)return n?e.map(function(e,r){return t(e,tn(tn({},n),n.$id&&{$id:"".concat(n.$id,".").concat(r)}))}):e;if(!n)return e;var i=function(t){return Object.fromEntries(Object.entries(t).filter(function(t){var e=t[0];return"$id"!==e&&"$context"!==e&&"$maxChars"!==e&&"$hash"!==e&&"$_hash"!==e&&"$_source"!==e&&"$_fallback"!==e}))}(n),a=e;try{a=r.formatMessage(e,{locales:[Dr],variables:tn(tn({},i),(o={},o[jr]="other",o))})}catch(n){return an(function(t){return'String interpolation failed for message: "'.concat(t,'".')}(e)),e}var s=e,c=n.$_hash||dn(e,n),h=tn(tn({},n),{$_source:s,$_hash:c}),u=function(t){if("undefined"!=typeof Buffer)return Buffer.from(t,"utf8").toString("base64");for(var e=(new TextEncoder).encode(t),r="",n=0;n<e.length;n++)r+=String.fromCharCode(e[n]);return btoa(r)}(JSON.stringify(h));return"".concat(a,":").concat(u)},exports.withGT=function(e,r){var n=t.getI18nManager();if(!function(t){return t.getAdapterType()===X&&"run"in t&&"function"==typeof t.run}(n))throw new Error("I18nManager not initialized. Invoke configGT() to initialize.");return n.run(e,r)};
19
19
  //# sourceMappingURL=index.cjs.min.cjs.map