@ozdao/prometheus-framework 0.1.54 → 0.1.56

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. package/dist/_virtual/vue.runtime.esm-bundler.cjs +1 -0
  2. package/dist/_virtual/vue.runtime.esm-bundler.js +6 -0
  3. package/dist/node_modules/@intlify/core-base/dist/core-base.esm-bundler.cjs +6 -0
  4. package/dist/node_modules/@intlify/core-base/dist/core-base.esm-bundler.js +887 -0
  5. package/dist/node_modules/@intlify/devtools-if/dist/devtools-if.esm-bundler.cjs +5 -0
  6. package/dist/node_modules/@intlify/devtools-if/dist/devtools-if.esm-bundler.js +12 -0
  7. package/dist/node_modules/@intlify/message-compiler/dist/message-compiler.esm-bundler.cjs +5 -0
  8. package/dist/node_modules/@intlify/message-compiler/dist/message-compiler.esm-bundler.js +54 -0
  9. package/dist/node_modules/@intlify/shared/dist/shared.esm-bundler.cjs +6 -0
  10. package/dist/node_modules/@intlify/shared/dist/shared.esm-bundler.js +109 -0
  11. package/dist/node_modules/@intlify/vue-devtools/dist/vue-devtools.esm-bundler.cjs +5 -0
  12. package/dist/node_modules/@intlify/vue-devtools/dist/vue-devtools.esm-bundler.js +19 -0
  13. package/dist/node_modules/vue-i18n/dist/vue-i18n.runtime.esm-bundler.cjs +5 -0
  14. package/dist/node_modules/vue-i18n/dist/vue-i18n.runtime.esm-bundler.js +1111 -0
  15. package/dist/node_modules/vue-router/dist/vue-router.cjs +5 -0
  16. package/dist/node_modules/vue-router/dist/vue-router.js +37 -0
  17. package/dist/prometheus-framework/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.cjs +1 -0
  18. package/dist/prometheus-framework/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +700 -0
  19. package/dist/prometheus-framework/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.cjs +14 -0
  20. package/dist/prometheus-framework/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +3863 -0
  21. package/dist/prometheus-framework/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.cjs +1 -0
  22. package/dist/prometheus-framework/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +1023 -0
  23. package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +1 -0
  24. package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js +176 -0
  25. package/dist/prometheus-framework/node_modules/vue/dist/vue.runtime.esm-bundler.cjs +1 -0
  26. package/dist/prometheus-framework/node_modules/vue/dist/vue.runtime.esm-bundler.js +163 -0
  27. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +72 -2
  29. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  30. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -72
  31. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/components/Select/Select.vue.js +78 -2
  33. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  34. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +2 -78
  35. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/auth/store/auth.js +17 -18
  37. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  41. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -1
  42. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +61 -2
  43. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -4
  44. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +2 -61
  45. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  49. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  51. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  59. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  61. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  63. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  65. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  69. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  77. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  81. package/dist/style.css +1 -1
  82. package/package.json +3 -3
  83. package/src/modules/auth/store/auth.js +4 -7
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./_commonjsHelpers.cjs"),r=require("../prometheus-framework/node_modules/vue/dist/vue.runtime.esm-bundler.cjs"),t=e.getAugmentedNamespace(r);exports.default=t;
@@ -0,0 +1,6 @@
1
+ import { getAugmentedNamespace as e } from "./_commonjsHelpers.js";
2
+ import * as r from "../prometheus-framework/node_modules/vue/dist/vue.runtime.esm-bundler.js";
3
+ const t = /* @__PURE__ */ e(r);
4
+ export {
5
+ t as default
6
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../shared/dist/shared.esm-bundler.cjs"),V=require("../../message-compiler/dist/message-compiler.esm-bundler.cjs"),J=require("../../devtools-if/dist/devtools-if.esm-bundler.cjs");/*!
2
+ * core-base v9.2.2
3
+ * (c) 2022 kazuya kawaguchi
4
+ * Released under the MIT License.
5
+ */const R=[];R[0]={w:[0],i:[3,0],"[":[4],o:[7]};R[1]={w:[1],".":[2],"[":[4],o:[7]};R[2]={w:[2],i:[3,0],0:[3,0]};R[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};R[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};R[5]={"'":[4,0],o:8,l:[5,0]};R[6]={'"':[4,0],o:8,l:[6,0]};const Ae=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Fe(e){return Ae.test(e)}function De(e){const n=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return n===r&&(n===34||n===39)?e.slice(1,-1):e}function Se(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Me(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Fe(n)?De(n):"*"+n}function Q(e){const n=[];let r=-1,a=0,i=0,l,o,m,s,c,f,E;const u=[];u[0]=()=>{o===void 0?o=m:o+=m},u[1]=()=>{o!==void 0&&(n.push(o),o=void 0)},u[2]=()=>{u[0](),i++},u[3]=()=>{if(i>0)i--,a=4,u[0]();else{if(i=0,o===void 0||(o=Me(o),o===!1))return!1;u[1]()}};function d(){const A=e[r+1];if(a===5&&A==="'"||a===6&&A==='"')return r++,m="\\"+A,u[0](),!0}for(;a!==null;)if(r++,l=e[r],!(l==="\\"&&d())){if(s=Se(l),E=R[a],c=E[s]||E.l||8,c===8||(a=c[0],c[1]!==void 0&&(f=u[c[1]],f&&(m=l,f()===!1))))return;if(a===7)return n}}const G=new Map;function ee(e,n){return t.isObject(e)?e[n]:null}function ve(e,n){if(!t.isObject(e))return null;let r=G.get(n);if(r||(r=Q(n),r&&G.set(n,r)),!r)return null;const a=r.length;let i=e,l=0;for(;l<a;){const o=i[r[l]];if(o===void 0)return null;i=o,l++}return i}const Ce=e=>e,Ie=e=>"",te="text",he=e=>e.length===0?"":e.join(""),Le=t.toDisplayString;function Y(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Re(e){const n=t.isNumber(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(t.isNumber(e.named.count)||t.isNumber(e.named.n))?t.isNumber(e.named.count)?e.named.count:t.isNumber(e.named.n)?e.named.n:n:n}function we(e,n){n.count||(n.count=e),n.n||(n.n=e)}function ne(e={}){const n=e.locale,r=Re(e),a=t.isObject(e.pluralRules)&&t.isString(n)&&t.isFunction(e.pluralRules[n])?e.pluralRules[n]:Y,i=t.isObject(e.pluralRules)&&t.isString(n)&&t.isFunction(e.pluralRules[n])?Y:void 0,l=O=>O[a(r,O.length,i)],o=e.list||[],m=O=>o[O],s=e.named||{};t.isNumber(e.pluralIndex)&&we(r,s);const c=O=>s[O];function f(O){const _=t.isFunction(e.messages)?e.messages(O):t.isObject(e.messages)?e.messages[O]:!1;return _||(e.parent?e.parent.message(O):Ie)}const E=O=>e.modifiers?e.modifiers[O]:Ce,u=t.isPlainObject(e.processor)&&t.isFunction(e.processor.normalize)?e.processor.normalize:he,d=t.isPlainObject(e.processor)&&t.isFunction(e.processor.interpolate)?e.processor.interpolate:Le,A=t.isPlainObject(e.processor)&&t.isString(e.processor.type)?e.processor.type:te,D={list:m,named:c,plural:l,linked:(O,..._)=>{const[b,g]=_;let F="text",N="";_.length===1?t.isObject(b)?(N=b.modifier||N,F=b.type||F):t.isString(b)&&(N=b||N):_.length===2&&(t.isString(b)&&(N=b||N),t.isString(g)&&(F=g||F));let T=f(O)(D);return F==="vnode"&&t.isArray(T)&&N&&(T=T[0]),N?E(N)(T,F):T},message:f,type:A,interpolate:d,normalize:u};return D}let y=null;function ke(e){y=e}function re(e,n,r){y&&y.emit(J.IntlifyDevToolsHooks.I18nInit,{timestamp:Date.now(),i18n:e,version:n,meta:r})}const ae=ye(J.IntlifyDevToolsHooks.FunctionTranslate);function ye(e){return n=>y&&y.emit(e,n)}const M={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7},Ve={[M.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[M.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[M.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[M.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[M.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[M.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale."};function k(e,...n){return t.format(Ve[e],...n)}function se(e,n,r){return[...new Set([r,...t.isArray(n)?n:t.isObject(n)?Object.keys(n):t.isString(n)?[n]:[r]])]}function We(e,n,r){const a=t.isString(r)?r:U,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let l=i.__localeChainCache.get(a);if(!l){l=[];let o=[r];for(;t.isArray(o);)o=H(l,o,n);const m=t.isArray(n)||!t.isPlainObject(n)?n:n.default?n.default:null;o=t.isString(m)?[m]:m,t.isArray(o)&&H(l,o,!1),i.__localeChainCache.set(a,l)}return l}function H(e,n,r){let a=!0;for(let i=0;i<n.length&&t.isBoolean(a);i++){const l=n[i];t.isString(l)&&(a=Pe(e,n[i],r))}return a}function Pe(e,n,r){let a;const i=n.split("-");do{const l=i.join("-");a=je(e,l,r),i.splice(-1,1)}while(i.length&&a===!0);return a}function je(e,n,r){let a=!1;if(!e.includes(n)&&(a=!0,n)){a=n[n.length-1]!=="!";const i=n.replace(/!/g,"");e.push(i),(t.isArray(r)||t.isPlainObject(r))&&r[i]&&(a=r[i])}return a}const ie="9.2.2",W=-1,U="en-US",$="",z=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Be(){return{upper:(e,n)=>n==="text"&&t.isString(e)?e.toUpperCase():n==="vnode"&&t.isObject(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&t.isString(e)?e.toLowerCase():n==="vnode"&&t.isObject(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&t.isString(e)?z(e):n==="vnode"&&t.isObject(e)&&"__v_isVNode"in e?z(e.children):e}}let Ue,le;function $e(e){le=e}let oe;function xe(e){oe=e}let ce=null;const Ke=e=>{ce=e},me=()=>ce;let ue=null;const Ge=e=>{ue=e},Ye=()=>ue;let Z=0;function He(e={}){const n=t.isString(e.version)?e.version:ie,r=t.isString(e.locale)?e.locale:U,a=t.isArray(e.fallbackLocale)||t.isPlainObject(e.fallbackLocale)||t.isString(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,i=t.isPlainObject(e.messages)?e.messages:{[r]:{}},l=t.isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},o=t.isPlainObject(e.numberFormats)?e.numberFormats:{[r]:{}},m=t.assign({},e.modifiers||{},Be()),s=e.pluralRules||{},c=t.isFunction(e.missing)?e.missing:null,f=t.isBoolean(e.missingWarn)||t.isRegExp(e.missingWarn)?e.missingWarn:!0,E=t.isBoolean(e.fallbackWarn)||t.isRegExp(e.fallbackWarn)?e.fallbackWarn:!0,u=!!e.fallbackFormat,d=!!e.unresolving,A=t.isFunction(e.postTranslation)?e.postTranslation:null,p=t.isPlainObject(e.processor)?e.processor:null,D=t.isBoolean(e.warnHtmlMessage)?e.warnHtmlMessage:!0,O=!!e.escapeParameter,_=t.isFunction(e.messageCompiler)?e.messageCompiler:Ue,b=t.isFunction(e.messageResolver)?e.messageResolver:le||ee,g=t.isFunction(e.localeFallbacker)?e.localeFallbacker:oe||se,F=t.isObject(e.fallbackContext)?e.fallbackContext:void 0,N=t.isFunction(e.onWarn)?e.onWarn:t.warn,T=e,S=t.isObject(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,v=t.isObject(T.__numberFormatters)?T.__numberFormatters:new Map,I=t.isObject(T.__meta)?T.__meta:{};Z++;const h={version:n,cid:Z,locale:r,fallbackLocale:a,messages:i,modifiers:m,pluralRules:s,missing:c,missingWarn:f,fallbackWarn:E,fallbackFormat:u,unresolving:d,postTranslation:A,processor:p,warnHtmlMessage:D,escapeParameter:O,messageCompiler:_,messageResolver:b,localeFallbacker:g,fallbackContext:F,onWarn:N,__meta:I};return h.datetimeFormats=l,h.numberFormats=o,h.__datetimeFormatters=S,h.__numberFormatters=v,process.env.NODE_ENV!=="production"&&(h.__v_emitter=T.__v_emitter!=null?T.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&re(h,n,I),h}function P(e,n){return e instanceof RegExp?e.test(n):e}function fe(e,n){return e instanceof RegExp?e.test(n):e}function j(e,n,r,a,i){const{missing:l,onWarn:o}=e;if(process.env.NODE_ENV!=="production"){const m=e.__v_emitter;m&&m.emit("missing",{locale:r,key:n,type:i,groupId:`${i}:${n}`})}if(l!==null){const m=l(e,r,n,i);return t.isString(m)?m:n}else return process.env.NODE_ENV!=="production"&&fe(a,n)&&o(k(M.NOT_FOUND_KEY,{key:n,locale:r})),n}function ze(e,n,r){const a=e;a.__localeChainCache=new Map,e.localeFallbacker(e,r,n)}let _e=V.CompileErrorCodes.__EXTEND_POINT__;const B=()=>++_e,L={INVALID_ARGUMENT:_e,INVALID_DATE_ARGUMENT:B(),INVALID_ISO_DATE_ARGUMENT:B(),__EXTEND_POINT__:B()};function w(e){return V.createCompileError(e,null,process.env.NODE_ENV!=="production"?{messages:Ze}:void 0)}const Ze={[L.INVALID_ARGUMENT]:"Invalid arguments",[L.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[L.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string"},q=()=>"",C=e=>t.isFunction(e);function qe(e,...n){const{fallbackFormat:r,postTranslation:a,unresolving:i,messageCompiler:l,fallbackLocale:o,messages:m}=e,[s,c]=Ee(...n),f=t.isBoolean(c.missingWarn)?c.missingWarn:e.missingWarn,E=t.isBoolean(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,u=t.isBoolean(c.escapeParameter)?c.escapeParameter:e.escapeParameter,d=!!c.resolvedMessage,A=t.isString(c.default)||t.isBoolean(c.default)?t.isBoolean(c.default)?l?s:()=>s:c.default:r?l?s:()=>s:"",p=r||A!=="",D=t.isString(c.locale)?c.locale:e.locale;u&&Xe(c);let[O,_,b]=d?[s,D,m[D]||{}]:ge(e,s,D,o,E,f),g=O,F=s;if(!d&&!(t.isString(g)||C(g))&&p&&(g=A,F=g),!d&&(!(t.isString(g)||C(g))||!t.isString(_)))return i?W:s;if(process.env.NODE_ENV!=="production"&&t.isString(g)&&e.messageCompiler==null)return t.warn(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${s}'.`),s;let N=!1;const T=()=>{N=!0},S=C(g)?g:de(e,s,_,g,F,T);if(N)return g;const v=et(e,_,b,c),I=ne(v),h=Je(e,S,I),x=a?a(h,s):h;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:t.isString(s)?s:C(g)?g.key:"",locale:_||(C(g)?g.locale:""),format:t.isString(g)?g:C(g)?g.source:"",message:x};K.meta=t.assign({},e.__meta,me()||{}),ae(K)}return x}function Xe(e){t.isArray(e.list)?e.list=e.list.map(n=>t.isString(n)?t.escapeHtml(n):n):t.isObject(e.named)&&Object.keys(e.named).forEach(n=>{t.isString(e.named[n])&&(e.named[n]=t.escapeHtml(e.named[n]))})}function ge(e,n,r,a,i,l){const{messages:o,onWarn:m,messageResolver:s,localeFallbacker:c}=e,f=c(e,a,r);let E={},u,d=null,A=r,p=null;const D="translate";for(let O=0;O<f.length;O++){if(u=p=f[O],process.env.NODE_ENV!=="production"&&r!==u&&P(i,n)&&m(k(M.FALLBACK_TO_TRANSLATE,{key:n,target:u})),process.env.NODE_ENV!=="production"&&r!==u){const N=e.__v_emitter;N&&N.emit("fallback",{type:D,key:n,from:A,to:p,groupId:`${D}:${n}`})}E=o[u]||{};let _=null,b,g;if(process.env.NODE_ENV!=="production"&&t.inBrowser&&(_=window.performance.now(),b="intlify-message-resolve-start",g="intlify-message-resolve-end",t.mark&&t.mark(b)),(d=s(E,n))===null&&(d=E[n]),process.env.NODE_ENV!=="production"&&t.inBrowser){const N=window.performance.now(),T=e.__v_emitter;T&&_&&d&&T.emit("message-resolve",{type:"message-resolve",key:n,message:d,time:N-_,groupId:`${D}:${n}`}),b&&g&&t.mark&&t.measure&&(t.mark(g),t.measure("intlify message resolve",b,g))}if(t.isString(d)||t.isFunction(d))break;const F=j(e,n,u,l,D);F!==n&&(d=F),A=p}return[d,u,E]}function de(e,n,r,a,i,l){const{messageCompiler:o,warnHtmlMessage:m}=e;if(C(a)){const u=a;return u.locale=u.locale||r,u.key=u.key||n,u}if(o==null){const u=()=>a;return u.locale=r,u.key=n,u}let s=null,c,f;process.env.NODE_ENV!=="production"&&t.inBrowser&&(s=window.performance.now(),c="intlify-message-compilation-start",f="intlify-message-compilation-end",t.mark&&t.mark(c));const E=o(a,Qe(e,r,i,a,m,l));if(process.env.NODE_ENV!=="production"&&t.inBrowser){const u=window.performance.now(),d=e.__v_emitter;d&&s&&d.emit("message-compilation",{type:"message-compilation",message:a,time:u-s,groupId:`translate:${n}`}),c&&f&&t.mark&&t.measure&&(t.mark(f),t.measure("intlify message compilation",c,f))}return E.locale=r,E.key=n,E.source=a,E}function Je(e,n,r){let a=null,i,l;process.env.NODE_ENV!=="production"&&t.inBrowser&&(a=window.performance.now(),i="intlify-message-evaluation-start",l="intlify-message-evaluation-end",t.mark&&t.mark(i));const o=n(r);if(process.env.NODE_ENV!=="production"&&t.inBrowser){const m=window.performance.now(),s=e.__v_emitter;s&&a&&s.emit("message-evaluation",{type:"message-evaluation",value:o,time:m-a,groupId:`translate:${n.key}`}),i&&l&&t.mark&&t.measure&&(t.mark(l),t.measure("intlify message evaluation",i,l))}return o}function Ee(...e){const[n,r,a]=e,i={};if(!t.isString(n)&&!t.isNumber(n)&&!C(n))throw w(L.INVALID_ARGUMENT);const l=t.isNumber(n)?String(n):(C(n),n);return t.isNumber(r)?i.plural=r:t.isString(r)?i.default=r:t.isPlainObject(r)&&!t.isEmptyObject(r)?i.named=r:t.isArray(r)&&(i.list=r),t.isNumber(a)?i.plural=a:t.isString(a)?i.default=a:t.isPlainObject(a)&&t.assign(i,a),[l,i]}function Qe(e,n,r,a,i,l){return{warnHtmlMessage:i,onError:o=>{if(l&&l(o),process.env.NODE_ENV!=="production"){const m=`Message compilation error: ${o.message}`,s=o.location&&t.generateCodeFrame(a,o.location.start.offset,o.location.end.offset),c=e.__v_emitter;c&&c.emit("compile-error",{message:a,error:o.message,start:o.location&&o.location.start.offset,end:o.location&&o.location.end.offset,groupId:`translate:${r}`}),console.error(s?`${m}
6
+ ${s}`:m)}else throw o},onCacheKey:o=>t.generateFormatCacheKey(n,r,o)}}function et(e,n,r,a){const{modifiers:i,pluralRules:l,messageResolver:o,fallbackLocale:m,fallbackWarn:s,missingWarn:c,fallbackContext:f}=e,u={locale:n,modifiers:i,pluralRules:l,messages:d=>{let A=o(r,d);if(A==null&&f){const[,,p]=ge(f,d,n,m,s,c);A=o(p,d)}if(t.isString(A)){let p=!1;const O=de(e,d,n,A,d,()=>{p=!0});return p?q:O}else return C(A)?A:q}};return e.processor&&(u.processor=e.processor),a.list&&(u.list=a.list),a.named&&(u.named=a.named),t.isNumber(a.plural)&&(u.pluralIndex=a.plural),u}const X=typeof Intl<"u",Oe={dateTimeFormat:X&&typeof Intl.DateTimeFormat<"u",numberFormat:X&&typeof Intl.NumberFormat<"u"};function tt(e,...n){const{datetimeFormats:r,unresolving:a,fallbackLocale:i,onWarn:l,localeFallbacker:o}=e,{__datetimeFormatters:m}=e;if(process.env.NODE_ENV!=="production"&&!Oe.dateTimeFormat)return l(k(M.CANNOT_FORMAT_DATE)),$;const[s,c,f,E]=Ne(...n),u=t.isBoolean(f.missingWarn)?f.missingWarn:e.missingWarn,d=t.isBoolean(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,A=!!f.part,p=t.isString(f.locale)?f.locale:e.locale,D=o(e,i,p);if(!t.isString(s)||s==="")return new Intl.DateTimeFormat(p,E).format(c);let O={},_,b=null,g=p,F=null;const N="datetime format";for(let v=0;v<D.length;v++){if(_=F=D[v],process.env.NODE_ENV!=="production"&&p!==_&&P(d,s)&&l(k(M.FALLBACK_TO_DATE_FORMAT,{key:s,target:_})),process.env.NODE_ENV!=="production"&&p!==_){const I=e.__v_emitter;I&&I.emit("fallback",{type:N,key:s,from:g,to:F,groupId:`${N}:${s}`})}if(O=r[_]||{},b=O[s],t.isPlainObject(b))break;j(e,s,_,u,N),g=F}if(!t.isPlainObject(b)||!t.isString(_))return a?W:s;let T=`${_}__${s}`;t.isEmptyObject(E)||(T=`${T}__${JSON.stringify(E)}`);let S=m.get(T);return S||(S=new Intl.DateTimeFormat(_,t.assign({},b,E)),m.set(T,S)),A?S.formatToParts(c):S.format(c)}const Te=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ne(...e){const[n,r,a,i]=e,l={};let o={},m;if(t.isString(n)){const s=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw w(L.INVALID_ISO_DATE_ARGUMENT);const c=s[3]?s[3].trim().startsWith("T")?`${s[1].trim()}${s[3].trim()}`:`${s[1].trim()}T${s[3].trim()}`:s[1].trim();m=new Date(c);try{m.toISOString()}catch{throw w(L.INVALID_ISO_DATE_ARGUMENT)}}else if(t.isDate(n)){if(isNaN(n.getTime()))throw w(L.INVALID_DATE_ARGUMENT);m=n}else if(t.isNumber(n))m=n;else throw w(L.INVALID_ARGUMENT);return t.isString(r)?l.key=r:t.isPlainObject(r)&&Object.keys(r).forEach(s=>{Te.includes(s)?o[s]=r[s]:l[s]=r[s]}),t.isString(a)?l.locale=a:t.isPlainObject(a)&&(o=a),t.isPlainObject(i)&&(o=i),[l.key||"",m,l,o]}function nt(e,n,r){const a=e;for(const i in r){const l=`${n}__${i}`;a.__datetimeFormatters.has(l)&&a.__datetimeFormatters.delete(l)}}function rt(e,...n){const{numberFormats:r,unresolving:a,fallbackLocale:i,onWarn:l,localeFallbacker:o}=e,{__numberFormatters:m}=e;if(process.env.NODE_ENV!=="production"&&!Oe.numberFormat)return l(k(M.CANNOT_FORMAT_NUMBER)),$;const[s,c,f,E]=pe(...n),u=t.isBoolean(f.missingWarn)?f.missingWarn:e.missingWarn,d=t.isBoolean(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,A=!!f.part,p=t.isString(f.locale)?f.locale:e.locale,D=o(e,i,p);if(!t.isString(s)||s==="")return new Intl.NumberFormat(p,E).format(c);let O={},_,b=null,g=p,F=null;const N="number format";for(let v=0;v<D.length;v++){if(_=F=D[v],process.env.NODE_ENV!=="production"&&p!==_&&P(d,s)&&l(k(M.FALLBACK_TO_NUMBER_FORMAT,{key:s,target:_})),process.env.NODE_ENV!=="production"&&p!==_){const I=e.__v_emitter;I&&I.emit("fallback",{type:N,key:s,from:g,to:F,groupId:`${N}:${s}`})}if(O=r[_]||{},b=O[s],t.isPlainObject(b))break;j(e,s,_,u,N),g=F}if(!t.isPlainObject(b)||!t.isString(_))return a?W:s;let T=`${_}__${s}`;t.isEmptyObject(E)||(T=`${T}__${JSON.stringify(E)}`);let S=m.get(T);return S||(S=new Intl.NumberFormat(_,t.assign({},b,E)),m.set(T,S)),A?S.formatToParts(c):S.format(c)}const be=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function pe(...e){const[n,r,a,i]=e,l={};let o={};if(!t.isNumber(n))throw w(L.INVALID_ARGUMENT);const m=n;return t.isString(r)?l.key=r:t.isPlainObject(r)&&Object.keys(r).forEach(s=>{be.includes(s)?o[s]=r[s]:l[s]=r[s]}),t.isString(a)?l.locale=a:t.isPlainObject(a)&&(o=a),t.isPlainObject(i)&&(o=i),[l.key||"",m,l,o]}function at(e,n,r){const a=e;for(const i in r){const l=`${n}__${i}`;a.__numberFormatters.has(l)&&a.__numberFormatters.delete(l)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(t.getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1);exports.CompileErrorCodes=V.CompileErrorCodes;exports.createCompileError=V.createCompileError;exports.CoreErrorCodes=L;exports.CoreWarnCodes=M;exports.DATETIME_FORMAT_OPTIONS_KEYS=Te;exports.DEFAULT_LOCALE=U;exports.DEFAULT_MESSAGE_DATA_TYPE=te;exports.MISSING_RESOLVE_VALUE=$;exports.NOT_REOSLVED=W;exports.NUMBER_FORMAT_OPTIONS_KEYS=be;exports.VERSION=ie;exports.clearDateTimeFormat=nt;exports.clearNumberFormat=at;exports.createCoreContext=He;exports.createCoreError=w;exports.createMessageContext=ne;exports.datetime=tt;exports.fallbackWithLocaleChain=We;exports.fallbackWithSimple=se;exports.getAdditionalMeta=me;exports.getFallbackContext=Ye;exports.getWarnMessage=k;exports.handleMissing=j;exports.initI18nDevTools=re;exports.isMessageFunction=C;exports.isTranslateFallbackWarn=P;exports.isTranslateMissingWarn=fe;exports.number=rt;exports.parse=Q;exports.parseDateTimeArgs=Ne;exports.parseNumberArgs=pe;exports.parseTranslateArgs=Ee;exports.registerLocaleFallbacker=xe;exports.registerMessageResolver=$e;exports.resolveValue=ve;exports.resolveWithKeyValue=ee;exports.setAdditionalMeta=Ke;exports.setDevToolsHook=ke;exports.setFallbackContext=Ge;exports.translate=qe;exports.translateDevTools=ae;exports.updateFallbackLocale=ze;