Socket
Socket
Sign inDemoInstall

@intlify/message-compiler

Package Overview
Dependencies
Maintainers
2
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intlify/message-compiler - npm Package Compare versions

Comparing version 9.3.0-beta.17 to 9.3.0-beta.18

0

dist/e2e/bridge/basic.spec.d.ts
export {};
//# sourceMappingURL=basic.spec.d.ts.map
export {};
//# sourceMappingURL=component.spec.d.ts.map
export {};
//# sourceMappingURL=datetime-format.spec.d.ts.map
export {};
//# sourceMappingURL=number-format.spec.d.ts.map
export {};
//# sourceMappingURL=translation.spec.d.ts.map
export {};
//# sourceMappingURL=plural.spec.d.ts.map
export {};
//# sourceMappingURL=global.spec.d.ts.map
export {};
//# sourceMappingURL=inherit-locale.spec.d.ts.map
export {};
//# sourceMappingURL=local.spec.d.ts.map
export {};
//# sourceMappingURL=datetime-format.spec.d.ts.map
export {};
//# sourceMappingURL=number-format.spec.d.ts.map
export {};
//# sourceMappingURL=translation.spec.d.ts.map
export {};
//# sourceMappingURL=composition.spec.d.ts.map
export {};
//# sourceMappingURL=datetime.spec.d.ts.map
export {};
//# sourceMappingURL=basic.spec.d.ts.map
export {};
//# sourceMappingURL=object.spec.d.ts.map
export {};
//# sourceMappingURL=plural.spec.d.ts.map
export {};
//# sourceMappingURL=preserve.spec.d.ts.map
export {};
//# sourceMappingURL=basic.spec.d.ts.map
export {};
//# sourceMappingURL=component.spec.d.ts.map
export {};
//# sourceMappingURL=default-format.spec.d.ts.map
export {};
//# sourceMappingURL=format.spec.d.ts.map
export {};
//# sourceMappingURL=option.spec.d.ts.map
export {};
//# sourceMappingURL=suppress.spec.d.ts.map
export {};
//# sourceMappingURL=linked.spec.d.ts.map
export {};
//# sourceMappingURL=list.spec.d.ts.map
export {};
//# sourceMappingURL=literal.spec.d.ts.map
export {};
//# sourceMappingURL=named.spec.d.ts.map
export {};
//# sourceMappingURL=ruby.spec.d.ts.map
export {};
//# sourceMappingURL=linked.spec.d.ts.map
export {};
//# sourceMappingURL=list.spec.d.ts.map
export {};
//# sourceMappingURL=named.spec.d.ts.map
export {};
//# sourceMappingURL=plural.spec.d.ts.map

@@ -0,0 +0,0 @@ import type { Page } from 'playwright';

export {};
//# sourceMappingURL=handler.spec.d.ts.map
export {};
//# sourceMappingURL=option.spec.d.ts.map
export {};
//# sourceMappingURL=suppress.spec.d.ts.map
export {};
//# sourceMappingURL=number.spec.d.ts.map
export {};
//# sourceMappingURL=basic.spec.d.ts.map
export {};
//# sourceMappingURL=custom.spec.d.ts.map
export {};
//# sourceMappingURL=global.spec.d.ts.map
export {};
//# sourceMappingURL=inherit-locale.spec.d.ts.map
export {};
//# sourceMappingURL=local.spec.d.ts.map
export {};
//# sourceMappingURL=started.spec.d.ts.map

2

dist/message-compiler.esm-browser.js
/*!
* message-compiler v9.3.0-beta.17
* message-compiler v9.3.0-beta.18
* (c) 2023 kazuya kawaguchi

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* message-compiler v9.3.0-beta.17
* message-compiler v9.3.0-beta.18
* (c) 2023 kazuya kawaguchi

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* message-compiler v9.3.0-beta.17
* message-compiler v9.3.0-beta.18
* (c) 2023 kazuya kawaguchi

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* message-compiler v9.3.0-beta.17
* message-compiler v9.3.0-beta.18
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/
var IntlifyMessageCompiler=function(e){"use strict";const t=Object.assign,n=e=>"string"==typeof e,r={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15},c={[r.EXPECTED_TOKEN]:"Expected token: '{0}'",[r.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[r.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[r.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[r.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[r.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[r.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[r.EMPTY_PLACEHOLDER]:"Empty placeholder",[r.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[r.INVALID_LINKED_FORMAT]:"Invalid linked format",[r.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[r.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[r.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[r.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function o(e,t,n={}){const{domain:r,messages:c,args:o}=n,s=new SyntaxError(String(e));return s.code=e,t&&(s.location=t),s.domain=r,s}const s=/<\/?[\w\s="/.':;#-\/]+>/;function u(e,t,n){return{line:e,column:t,offset:n}}function a(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}const i=" ",l="\r",E="\n",f=String.fromCharCode(8232),L=String.fromCharCode(8233);function N(e){const t=e;let n=0,r=1,c=1,o=0;const s=e=>t[e]===l&&t[e+1]===E,u=e=>t[e]===L,a=e=>t[e]===f,i=e=>s(e)||(e=>t[e]===E)(e)||u(e)||a(e),N=e=>s(e)||u(e)||a(e)?E:t[e];function _(){return o=0,i(n)&&(r++,c=0),s(n)&&n++,n++,c++,t[n]}return{index:()=>n,line:()=>r,column:()=>c,peekOffset:()=>o,charAt:N,currentChar:()=>N(n),currentPeek:()=>N(n+o),next:_,peek:function(){return s(n+o)&&o++,o++,t[n+o]},reset:function(){n=0,r=1,c=1,o=0},resetPeek:function(e=0){o=e},skipToPeek:function(){const e=n+o;for(;e!==n;)_();o=0}}}const _=void 0,d="'";function p(e,t={}){const n=!1!==t.location,c=N(e),o=()=>c.index(),s=()=>u(c.line(),c.column(),c.index()),l=s(),f=o(),L={currentType:14,offset:f,startLoc:l,endLoc:l,lastType:14,lastOffset:f,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},p=()=>L,{onError:C}=t;function T(e,t,r){e.endLoc=s(),e.currentType=t;const c={type:t};return n&&(c.loc=a(e.startLoc,e.endLoc)),null!=r&&(c.value=r),c}const A=e=>T(e,14);function I(e,t){return e.currentChar()===t?(e.next(),t):(r.EXPECTED_TOKEN,s(),"")}function k(e){let t="";for(;e.currentPeek()===i||e.currentPeek()===E;)t+=e.currentPeek(),e.peek();return t}function h(e){const t=k(e);return e.skipToPeek(),t}function P(e){if(e===_)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function S(e,t){const{currentType:n}=t;if(2!==n)return!1;k(e);const r=function(e){if(e===_)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}function O(e){k(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function D(e,t=!0){const n=(t=!1,r="",c=!1)=>{const o=e.currentPeek();return"{"===o?"%"!==r&&t:"@"!==o&&o?"%"===o?(e.peek(),n(t,"%",!0)):"|"===o?!("%"!==r&&!c)||!(r===i||r===E):o===i?(e.peek(),n(!0,i,c)):o!==E||(e.peek(),n(!0,E,c)):"%"===r||t},r=n();return t&&e.resetPeek(),r}function y(e,t){const n=e.currentChar();return n===_?_:t(n)?(e.next(),n):null}function m(e){return y(e,(e=>{const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}))}function x(e){return y(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57}))}function U(e){return y(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}))}function b(e){let t="",n="";for(;t=x(e);)n+=t;return n}function R(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!D(e))break;t+=n,e.next()}else if(n===i||n===E)if(D(e))t+=n,e.next();else{if(O(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function v(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return M(e,t,4);case"U":return M(e,t,6);default:return r.UNKNOWN_ESCAPE_SEQUENCE,s(),""}}function M(e,t,n){I(e,t);let c="";for(let o=0;o<n;o++){const t=U(e);if(!t){r.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),e.currentChar();break}c+=t}return`\\${t}${c}`}function X(e){h(e);const t=I(e,"|");return h(e),t}function g(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&(r.NOT_ALLOW_NEST_PLACEHOLDER,s()),e.next(),n=T(t,2,"{"),h(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&(r.EMPTY_PLACEHOLDER,s()),e.next(),n=T(t,3,"}"),t.braceNest--,t.braceNest>0&&h(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&(r.UNTERMINATED_CLOSING_BRACE,s()),n=Y(e,t)||A(t),t.braceNest=0,n;default:let c=!0,o=!0,u=!0;if(O(e))return t.braceNest>0&&(r.UNTERMINATED_CLOSING_BRACE,s()),n=T(t,1,X(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return r.UNTERMINATED_CLOSING_BRACE,s(),t.braceNest=0,K(e,t);if(c=function(e,t){const{currentType:n}=t;if(2!==n)return!1;k(e);const r=P(e.currentPeek());return e.resetPeek(),r}(e,t))return n=T(t,5,function(e){h(e);let t="",n="";for(;t=m(e);)n+=t;return e.currentChar()===_&&(r.UNTERMINATED_CLOSING_BRACE,s()),n}(e)),h(e),n;if(o=S(e,t))return n=T(t,6,function(e){h(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${b(e)}`):t+=b(e),e.currentChar()===_&&(r.UNTERMINATED_CLOSING_BRACE,s()),t}(e)),h(e),n;if(u=function(e,t){const{currentType:n}=t;if(2!==n)return!1;k(e);const r=e.currentPeek()===d;return e.resetPeek(),r}(e,t))return n=T(t,7,function(e){h(e),I(e,"'");let t="",n="";const c=e=>e!==d&&e!==E;for(;t=y(e,c);)n+="\\"===t?v(e):t;const o=e.currentChar();return o===E||o===_?(r.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),o===E&&(e.next(),I(e,"'")),n):(I(e,"'"),n)}(e)),h(e),n;if(!c&&!o&&!u)return n=T(t,13,function(e){h(e);let t="",n="";const r=e=>"{"!==e&&"}"!==e&&e!==i&&e!==E;for(;t=y(e,r);)n+=t;return n}(e)),r.INVALID_TOKEN_IN_PLACEHOLDER,s(),n.value,h(e),n}return n}function Y(e,t){const{currentType:n}=t;let c=null;const o=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||o!==E&&o!==i||(r.INVALID_LINKED_FORMAT,s()),o){case"@":return e.next(),c=T(t,8,"@"),t.inLinked=!0,c;case".":return h(e),e.next(),T(t,9,".");case":":return h(e),e.next(),T(t,10,":");default:return O(e)?(c=T(t,1,X(e)),t.braceNest=0,t.inLinked=!1,c):function(e,t){const{currentType:n}=t;if(8!==n)return!1;k(e);const r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;k(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(h(e),Y(e,t)):function(e,t){const{currentType:n}=t;if(9!==n)return!1;k(e);const r=P(e.currentPeek());return e.resetPeek(),r}(e,t)?(h(e),T(t,12,function(e){let t="",n="";for(;t=m(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(10!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?P(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===i||!t)&&(t===E?(e.peek(),r()):P(t))},c=r();return e.resetPeek(),c}(e,t)?(h(e),"{"===o?g(e,t)||c:T(t,11,function(e){const t=(n=!1,r)=>{const c=e.currentChar();return"{"!==c&&"%"!==c&&"@"!==c&&"|"!==c&&c?c===i?r:c===E?(r+=c,e.next(),t(n,r)):(r+=c,e.next(),t(!0,r)):r};return t(!1,"")}(e))):(8===n&&(r.INVALID_LINKED_FORMAT,s()),t.braceNest=0,t.inLinked=!1,K(e,t))}}function K(e,t){let n={type:14};if(t.braceNest>0)return g(e,t)||A(t);if(t.inLinked)return Y(e,t)||A(t);switch(e.currentChar()){case"{":return g(e,t)||A(t);case"}":return r.UNBALANCED_CLOSING_BRACE,s(),e.next(),T(t,3,"}");case"@":return Y(e,t)||A(t);default:if(O(e))return n=T(t,1,X(e)),t.braceNest=0,t.inLinked=!1,n;const{isModulo:c,hasSpace:o}=function(e){const t=k(e),n="%"===e.currentPeek()&&"{"===e.peek();return e.resetPeek(),{isModulo:n,hasSpace:t.length>0}}(e);if(c)return o?T(t,0,R(e)):T(t,4,function(e){h(e);const t=e.currentChar();return"%"!==t&&(r.EXPECTED_TOKEN,s()),e.next(),"%"}(e));if(D(e))return T(t,0,R(e))}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:r}=L;return L.lastType=e,L.lastOffset=t,L.lastStartLoc=n,L.lastEndLoc=r,L.offset=o(),L.startLoc=s(),c.currentChar()===_?T(L,14):K(c,L)},currentOffset:o,currentPosition:s,context:p}}const C="parser",T=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function A(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function I(e={}){const n=!1!==e.location,{onError:c}=e;function o(e,t,r){const c={type:e,start:t,end:t};return n&&(c.loc={start:r,end:r}),c}function s(e,t,r,c){e.end=t,c&&(e.type=c),n&&e.loc&&(e.loc.end=r)}function u(e,t){const n=e.context(),r=o(3,n.offset,n.startLoc);return r.value=t,s(r,e.currentOffset(),e.currentPosition()),r}function a(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:c}=n,u=o(5,r,c);return u.index=parseInt(t,10),e.nextToken(),s(u,e.currentOffset(),e.currentPosition()),u}function i(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:c}=n,u=o(4,r,c);return u.key=t,e.nextToken(),s(u,e.currentOffset(),e.currentPosition()),u}function l(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:c}=n,u=o(9,r,c);return u.value=t.replace(T,A),e.nextToken(),s(u,e.currentOffset(),e.currentPosition()),u}function E(e){const t=e.context(),n=o(6,t.offset,t.startLoc);let c=e.nextToken();if(9===c.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:c,lastStartLoc:u}=n,a=o(8,c,u);return 12!==t.type?(r.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,a.value="",s(a,c,u),{nextConsumeToken:t,node:a}):(null==t.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,k(t)),a.value=t.value||"",s(a,e.currentOffset(),e.currentPosition()),{node:a})}(e);n.modifier=t.node,c=t.nextConsumeToken||e.nextToken()}switch(10!==c.type&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(c)),c=e.nextToken(),2===c.type&&(c=e.nextToken()),c.type){case 11:null==c.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(c)),n.key=function(e,t){const n=e.context(),r=o(7,n.offset,n.startLoc);return r.value=t,s(r,e.currentOffset(),e.currentPosition()),r}(e,c.value||"");break;case 5:null==c.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(c)),n.key=i(e,c.value||"");break;case 6:null==c.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(c)),n.key=a(e,c.value||"");break;case 7:null==c.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(c)),n.key=l(e,c.value||"");break;default:r.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc;const u=e.context(),E=o(7,u.offset,u.startLoc);return E.value="",s(E,u.offset,u.startLoc),n.key=E,s(n,u.offset,u.startLoc),{nextConsumeToken:c,node:n}}return s(n,e.currentOffset(),e.currentPosition()),{node:n}}function f(e){const t=e.context(),n=o(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let c=null;do{const o=c||e.nextToken();switch(c=null,o.type){case 0:null==o.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(o)),n.items.push(u(e,o.value||""));break;case 6:null==o.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(o)),n.items.push(a(e,o.value||""));break;case 5:null==o.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(o)),n.items.push(i(e,o.value||""));break;case 7:null==o.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(o)),n.items.push(l(e,o.value||""));break;case 8:const s=E(e);n.items.push(s.node),c=s.nextConsumeToken||null}}while(14!==t.currentType&&1!==t.currentType);return s(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function L(e){const t=e.context(),{offset:n,startLoc:c}=t,u=f(e);return 14===t.currentType?u:function(e,t,n,c){const u=e.context();let a=0===c.items.length;const i=o(1,t,n);i.cases=[],i.cases.push(c);do{const t=f(e);a||(a=0===t.items.length),i.cases.push(t)}while(14!==u.currentType);return a&&r.MUST_HAVE_MESSAGES_IN_PLURAL,s(i,e.currentOffset(),e.currentPosition()),i}(e,n,c,u)}return{parse:function(c){const u=p(c,t({},e)),a=u.context(),i=o(0,a.offset,a.startLoc);return n&&i.loc&&(i.loc.source=c),i.body=L(u),14!==a.currentType&&(r.UNEXPECTED_LEXICAL_ANALYSIS,a.lastStartLoc,c[a.offset]),s(i,u.currentOffset(),u.currentPosition()),i}}}function k(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function h(e,t){for(let n=0;n<e.length;n++)P(e[n],t)}function P(e,t){switch(e.type){case 1:h(e.cases,t),t.helper("plural");break;case 2:h(e.items,t);break;case 6:P(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named")}}function S(e,t={}){const n=function(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&P(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function O(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?O(e,t.body):e.push("null")}(e,t);break;case 1:!function(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const c=t.cases.length;for(let n=0;n<c&&(O(e,t.cases[n]),n!==c-1);n++)e.push(", ");e.deindent(r()),e.push("])")}}(e,t);break;case 2:!function(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const c=t.items.length;for(let o=0;o<c&&(O(e,t.items[o]),o!==c-1);o++)e.push(", ");e.deindent(r()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),O(e,t.key),t.modifier?(e.push(", "),O(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}(e,t);break;case 8:case 7:case 9:case 3:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t)}}const D=(e,t={})=>{const r=n(t.mode)?t.mode:"normal",c=n(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,s=null!=t.breakLineCode?t.breakLineCode:"arrow"===r?";":"\n",u=t.needIndent?t.needIndent:"arrow"!==r,a=e.helpers||[],i=function(e,t){const{sourceMap:n,filename:r,breakLineCode:c,needIndent:o}=t,s={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:c,needIndent:o,indentLevel:0};function u(e,t){s.code+=e}function a(e,t=!0){const n=t?c:"";u(o?n+" ".repeat(e):n)}return{context:()=>s,push:u,indent:function(e=!0){const t=++s.indentLevel;e&&a(t)},deindent:function(e=!0){const t=--s.indentLevel;e&&a(t)},newline:function(){a(s.indentLevel)},helper:e=>`_${e}`,needIndent:()=>s.needIndent}}(e,{mode:r,filename:c,sourceMap:o,breakLineCode:s,needIndent:u});i.push("normal"===r?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(u),a.length>0&&(i.push(`const { ${a.map((e=>`${e}: _${e}`)).join(", ")} } = ctx`),i.newline()),i.push("return "),O(i,e),i.deindent(u),i.push("}");const{code:l,map:E}=i.context();return{ast:e,code:l,map:E?E.toJSON():void 0}};return e.CompileErrorCodes=r,e.ERROR_DOMAIN=C,e.LocationStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}},e.baseCompile=function(e,n={}){const r=t({},n),c=I(r).parse(e);return S(c,r),D(c,r)},e.createCompileError=o,e.createLocation=a,e.createParser=I,e.createPosition=u,e.defaultOnError=function(e){throw e},e.detectHtmlTag=e=>s.test(e),e.errorMessages=c,e}({});
var IntlifyMessageCompiler=function(e){"use strict";const t=Object.assign,n=e=>"string"==typeof e,r={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15},c={[r.EXPECTED_TOKEN]:"Expected token: '{0}'",[r.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[r.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[r.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[r.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[r.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[r.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[r.EMPTY_PLACEHOLDER]:"Empty placeholder",[r.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[r.INVALID_LINKED_FORMAT]:"Invalid linked format",[r.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[r.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[r.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[r.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function o(e,t,n={}){const{domain:r,messages:c,args:o}=n,s=new SyntaxError(String(e));return s.code=e,t&&(s.location=t),s.domain=r,s}const s=/<\/?[\w\s="/.':;#-\/]+>/;function u(e,t,n){return{line:e,column:t,offset:n}}function a(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}const i=" ",l="\r",E="\n",f=String.fromCharCode(8232),L=String.fromCharCode(8233);function N(e){const t=e;let n=0,r=1,c=1,o=0;const s=e=>t[e]===l&&t[e+1]===E,u=e=>t[e]===L,a=e=>t[e]===f,i=e=>s(e)||(e=>t[e]===E)(e)||u(e)||a(e),N=e=>s(e)||u(e)||a(e)?E:t[e];function _(){return o=0,i(n)&&(r++,c=0),s(n)&&n++,n++,c++,t[n]}return{index:()=>n,line:()=>r,column:()=>c,peekOffset:()=>o,charAt:N,currentChar:()=>N(n),currentPeek:()=>N(n+o),next:_,peek:function(){return s(n+o)&&o++,o++,t[n+o]},reset:function(){n=0,r=1,c=1,o=0},resetPeek:function(e=0){o=e},skipToPeek:function(){const e=n+o;for(;e!==n;)_();o=0}}}const _=void 0,d="'";function p(e,t={}){const n=!1!==t.location,c=N(e),o=()=>c.index(),s=()=>u(c.line(),c.column(),c.index()),l=s(),f=o(),L={currentType:14,offset:f,startLoc:l,endLoc:l,lastType:14,lastOffset:f,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},p=()=>L,{onError:C}=t;function T(e,t,r){e.endLoc=s(),e.currentType=t;const c={type:t};return n&&(c.loc=a(e.startLoc,e.endLoc)),null!=r&&(c.value=r),c}const A=e=>T(e,14);function I(e,t){return e.currentChar()===t?(e.next(),t):(r.EXPECTED_TOKEN,s(),"")}function k(e){let t="";for(;e.currentPeek()===i||e.currentPeek()===E;)t+=e.currentPeek(),e.peek();return t}function h(e){const t=k(e);return e.skipToPeek(),t}function P(e){if(e===_)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function S(e,t){const{currentType:n}=t;if(2!==n)return!1;k(e);const r=function(e){if(e===_)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}function O(e){k(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function D(e,t=!0){const n=(t=!1,r="",c=!1)=>{const o=e.currentPeek();return"{"===o?"%"!==r&&t:"@"!==o&&o?"%"===o?(e.peek(),n(t,"%",!0)):"|"===o?!("%"!==r&&!c)||!(r===i||r===E):o===i?(e.peek(),n(!0,i,c)):o!==E||(e.peek(),n(!0,E,c)):"%"===r||t},r=n();return t&&e.resetPeek(),r}function y(e,t){const n=e.currentChar();return n===_?_:t(n)?(e.next(),n):null}function m(e){return y(e,(e=>{const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}))}function x(e){return y(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57}))}function U(e){return y(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}))}function b(e){let t="",n="";for(;t=x(e);)n+=t;return n}function R(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!D(e))break;t+=n,e.next()}else if(n===i||n===E)if(D(e))t+=n,e.next();else{if(O(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function v(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return M(e,t,4);case"U":return M(e,t,6);default:return r.UNKNOWN_ESCAPE_SEQUENCE,s(),""}}function M(e,t,n){I(e,t);let c="";for(let o=0;o<n;o++){const t=U(e);if(!t){r.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),e.currentChar();break}c+=t}return`\\${t}${c}`}function X(e){h(e);const t=I(e,"|");return h(e),t}function g(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&(r.NOT_ALLOW_NEST_PLACEHOLDER,s()),e.next(),n=T(t,2,"{"),h(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&(r.EMPTY_PLACEHOLDER,s()),e.next(),n=T(t,3,"}"),t.braceNest--,t.braceNest>0&&h(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&(r.UNTERMINATED_CLOSING_BRACE,s()),n=Y(e,t)||A(t),t.braceNest=0,n;default:let c=!0,o=!0,u=!0;if(O(e))return t.braceNest>0&&(r.UNTERMINATED_CLOSING_BRACE,s()),n=T(t,1,X(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return r.UNTERMINATED_CLOSING_BRACE,s(),t.braceNest=0,K(e,t);if(c=function(e,t){const{currentType:n}=t;if(2!==n)return!1;k(e);const r=P(e.currentPeek());return e.resetPeek(),r}(e,t))return n=T(t,5,function(e){h(e);let t="",n="";for(;t=m(e);)n+=t;return e.currentChar()===_&&(r.UNTERMINATED_CLOSING_BRACE,s()),n}(e)),h(e),n;if(o=S(e,t))return n=T(t,6,function(e){h(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${b(e)}`):t+=b(e),e.currentChar()===_&&(r.UNTERMINATED_CLOSING_BRACE,s()),t}(e)),h(e),n;if(u=function(e,t){const{currentType:n}=t;if(2!==n)return!1;k(e);const r=e.currentPeek()===d;return e.resetPeek(),r}(e,t))return n=T(t,7,function(e){h(e),I(e,"'");let t="",n="";const c=e=>e!==d&&e!==E;for(;t=y(e,c);)n+="\\"===t?v(e):t;const o=e.currentChar();return o===E||o===_?(r.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),o===E&&(e.next(),I(e,"'")),n):(I(e,"'"),n)}(e)),h(e),n;if(!c&&!o&&!u)return n=T(t,13,function(e){h(e);let t="",n="";const r=e=>"{"!==e&&"}"!==e&&e!==i&&e!==E;for(;t=y(e,r);)n+=t;return n}(e)),r.INVALID_TOKEN_IN_PLACEHOLDER,s(),n.value,h(e),n}return n}function Y(e,t){const{currentType:n}=t;let c=null;const o=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||o!==E&&o!==i||(r.INVALID_LINKED_FORMAT,s()),o){case"@":return e.next(),c=T(t,8,"@"),t.inLinked=!0,c;case".":return h(e),e.next(),T(t,9,".");case":":return h(e),e.next(),T(t,10,":");default:return O(e)?(c=T(t,1,X(e)),t.braceNest=0,t.inLinked=!1,c):function(e,t){const{currentType:n}=t;if(8!==n)return!1;k(e);const r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;k(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(h(e),Y(e,t)):function(e,t){const{currentType:n}=t;if(9!==n)return!1;k(e);const r=P(e.currentPeek());return e.resetPeek(),r}(e,t)?(h(e),T(t,12,function(e){let t="",n="";for(;t=m(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(10!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?P(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===i||!t)&&(t===E?(e.peek(),r()):P(t))},c=r();return e.resetPeek(),c}(e,t)?(h(e),"{"===o?g(e,t)||c:T(t,11,function(e){const t=(n=!1,r)=>{const c=e.currentChar();return"{"!==c&&"%"!==c&&"@"!==c&&"|"!==c&&c?c===i?r:c===E?(r+=c,e.next(),t(n,r)):(r+=c,e.next(),t(!0,r)):r};return t(!1,"")}(e))):(8===n&&(r.INVALID_LINKED_FORMAT,s()),t.braceNest=0,t.inLinked=!1,K(e,t))}}function K(e,t){let n={type:14};if(t.braceNest>0)return g(e,t)||A(t);if(t.inLinked)return Y(e,t)||A(t);switch(e.currentChar()){case"{":return g(e,t)||A(t);case"}":return r.UNBALANCED_CLOSING_BRACE,s(),e.next(),T(t,3,"}");case"@":return Y(e,t)||A(t);default:if(O(e))return n=T(t,1,X(e)),t.braceNest=0,t.inLinked=!1,n;const{isModulo:c,hasSpace:o}=function(e){const t=k(e),n="%"===e.currentPeek()&&"{"===e.peek();return e.resetPeek(),{isModulo:n,hasSpace:t.length>0}}(e);if(c)return o?T(t,0,R(e)):T(t,4,function(e){h(e);const t=e.currentChar();return"%"!==t&&(r.EXPECTED_TOKEN,s()),e.next(),"%"}(e));if(D(e))return T(t,0,R(e))}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:r}=L;return L.lastType=e,L.lastOffset=t,L.lastStartLoc=n,L.lastEndLoc=r,L.offset=o(),L.startLoc=s(),c.currentChar()===_?T(L,14):K(c,L)},currentOffset:o,currentPosition:s,context:p}}const C="parser",T=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function A(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function I(e={}){const n=!1!==e.location,{onError:c}=e;function o(e,t,r){const c={type:e,start:t,end:t};return n&&(c.loc={start:r,end:r}),c}function s(e,t,r,c){e.end=t,c&&(e.type=c),n&&e.loc&&(e.loc.end=r)}function u(e,t){const n=e.context(),r=o(3,n.offset,n.startLoc);return r.value=t,s(r,e.currentOffset(),e.currentPosition()),r}function a(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:c}=n,u=o(5,r,c);return u.index=parseInt(t,10),e.nextToken(),s(u,e.currentOffset(),e.currentPosition()),u}function i(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:c}=n,u=o(4,r,c);return u.key=t,e.nextToken(),s(u,e.currentOffset(),e.currentPosition()),u}function l(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:c}=n,u=o(9,r,c);return u.value=t.replace(T,A),e.nextToken(),s(u,e.currentOffset(),e.currentPosition()),u}function E(e){const t=e.context(),n=o(6,t.offset,t.startLoc);let c=e.nextToken();if(9===c.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:c,lastStartLoc:u}=n,a=o(8,c,u);return 12!==t.type?(r.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,a.value="",s(a,c,u),{nextConsumeToken:t,node:a}):(null==t.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,k(t)),a.value=t.value||"",s(a,e.currentOffset(),e.currentPosition()),{node:a})}(e);n.modifier=t.node,c=t.nextConsumeToken||e.nextToken()}switch(10!==c.type&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(c)),c=e.nextToken(),2===c.type&&(c=e.nextToken()),c.type){case 11:null==c.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(c)),n.key=function(e,t){const n=e.context(),r=o(7,n.offset,n.startLoc);return r.value=t,s(r,e.currentOffset(),e.currentPosition()),r}(e,c.value||"");break;case 5:null==c.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(c)),n.key=i(e,c.value||"");break;case 6:null==c.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(c)),n.key=a(e,c.value||"");break;case 7:null==c.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(c)),n.key=l(e,c.value||"");break;default:r.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc;const u=e.context(),E=o(7,u.offset,u.startLoc);return E.value="",s(E,u.offset,u.startLoc),n.key=E,s(n,u.offset,u.startLoc),{nextConsumeToken:c,node:n}}return s(n,e.currentOffset(),e.currentPosition()),{node:n}}function f(e){const t=e.context(),n=o(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let c=null;do{const o=c||e.nextToken();switch(c=null,o.type){case 0:null==o.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(o)),n.items.push(u(e,o.value||""));break;case 6:null==o.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(o)),n.items.push(a(e,o.value||""));break;case 5:null==o.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(o)),n.items.push(i(e,o.value||""));break;case 7:null==o.value&&(r.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,k(o)),n.items.push(l(e,o.value||""));break;case 8:const s=E(e);n.items.push(s.node),c=s.nextConsumeToken||null}}while(14!==t.currentType&&1!==t.currentType);return s(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}function L(e){const t=e.context(),{offset:n,startLoc:c}=t,u=f(e);return 14===t.currentType?u:function(e,t,n,c){const u=e.context();let a=0===c.items.length;const i=o(1,t,n);i.cases=[],i.cases.push(c);do{const t=f(e);a||(a=0===t.items.length),i.cases.push(t)}while(14!==u.currentType);return a&&r.MUST_HAVE_MESSAGES_IN_PLURAL,s(i,e.currentOffset(),e.currentPosition()),i}(e,n,c,u)}return{parse:function(c){const u=p(c,t({},e)),a=u.context(),i=o(0,a.offset,a.startLoc);return n&&i.loc&&(i.loc.source=c),i.body=L(u),14!==a.currentType&&(r.UNEXPECTED_LEXICAL_ANALYSIS,a.lastStartLoc,c[a.offset]),s(i,u.currentOffset(),u.currentPosition()),i}}}function k(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function h(e,t){for(let n=0;n<e.length;n++)P(e[n],t)}function P(e,t){switch(e.type){case 1:h(e.cases,t),t.helper("plural");break;case 2:h(e.items,t);break;case 6:P(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named")}}function S(e,t={}){const n=function(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&P(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function O(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?O(e,t.body):e.push("null")}(e,t);break;case 1:!function(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const c=t.cases.length;for(let n=0;n<c&&(O(e,t.cases[n]),n!==c-1);n++)e.push(", ");e.deindent(r()),e.push("])")}}(e,t);break;case 2:!function(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const c=t.items.length;for(let o=0;o<c&&(O(e,t.items[o]),o!==c-1);o++)e.push(", ");e.deindent(r()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),O(e,t.key),t.modifier?(e.push(", "),O(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}(e,t);break;case 8:case 7:case 9:case 3:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t)}}return e.CompileErrorCodes=r,e.ERROR_DOMAIN=C,e.LocationStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}},e.baseCompile=function(e,r={}){const c=t({},r),o=I(c).parse(e);return S(o,c),((e,t={})=>{const r=n(t.mode)?t.mode:"normal",c=n(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,s=null!=t.breakLineCode?t.breakLineCode:"arrow"===r?";":"\n",u=t.needIndent?t.needIndent:"arrow"!==r,a=e.helpers||[],i=function(e,t){const{sourceMap:n,filename:r,breakLineCode:c,needIndent:o}=t,s={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:c,needIndent:o,indentLevel:0};function u(e,t){s.code+=e}function a(e,t=!0){const n=t?c:"";u(o?n+" ".repeat(e):n)}return{context:()=>s,push:u,indent:function(e=!0){const t=++s.indentLevel;e&&a(t)},deindent:function(e=!0){const t=--s.indentLevel;e&&a(t)},newline:function(){a(s.indentLevel)},helper:e=>`_${e}`,needIndent:()=>s.needIndent}}(e,{mode:r,filename:c,sourceMap:o,breakLineCode:s,needIndent:u});i.push("normal"===r?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(u),a.length>0&&(i.push(`const { ${a.map((e=>`${e}: _${e}`)).join(", ")} } = ctx`),i.newline()),i.push("return "),O(i,e),i.deindent(u),i.push("}");const{code:l,map:E}=i.context();return{ast:e,code:l,map:E?E.toJSON():void 0}})(o,c)},e.createCompileError=o,e.createLocation=a,e.createParser=I,e.createPosition=u,e.defaultOnError=function(e){throw e},e.detectHtmlTag=e=>s.test(e),e.errorMessages=c,e}({});
export declare function setup(): Promise<() => Promise<void>>;
//# sourceMappingURL=vitest.globalSetup.d.ts.map
export {};
//# sourceMappingURL=vitest.setup.d.ts.map
{
"name": "@intlify/message-compiler",
"version": "9.3.0-beta.17",
"version": "9.3.0-beta.18",
"description": "@intlify/message-compiler",

@@ -37,6 +37,6 @@ "keywords": [

"source-map": "0.6.1",
"@intlify/shared": "9.3.0-beta.17"
"@intlify/shared": "9.3.0-beta.18"
},
"engines": {
"node": ">= 14"
"node": ">= 16"
},

@@ -43,0 +43,0 @@ "buildOptions": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc