Files
Modern-Password-Generator/node_modules/vue-i18n/dist/vue-i18n.global.prod.js

7 lines
57 KiB
JavaScript
Raw Normal View History

/*!
* vue-i18n v9.14.5
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/
var VueI18n=function(e,t){"use strict";function n(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const r="undefined"!=typeof window,a=(e,t=!1)=>t?Symbol.for(e):Symbol(e),o=(e,t,n)=>l({l:e,k:t,s:n}),l=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),s=e=>"number"==typeof e&&isFinite(e),c=e=>"[object Date]"===y(e),u=e=>"[object RegExp]"===y(e),i=e=>I(e)&&0===Object.keys(e).length,f=Object.assign,m=Object.create,_=(e=null)=>m(e);function p(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function d(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}const g=Object.prototype.hasOwnProperty;function E(e,t){return g.call(e,t)}const b=Array.isArray,v=e=>"function"==typeof e,k=e=>"string"==typeof e,h=e=>"boolean"==typeof e,L=e=>null!==e&&"object"==typeof e,N=e=>L(e)&&v(e.then)&&v(e.catch),T=Object.prototype.toString,y=e=>T.call(e),I=e=>{if(!L(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object};function O(e,t=""){return e.reduce(((e,n,r)=>0===r?e+n:e+t+n),"")}function C(e){let t=e;return()=>++t}const P=e=>!L(e)||b(e);function A(e,t){if(P(e)||P(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:e,des:t}=n.pop();Object.keys(e).forEach((r=>{"__proto__"!==r&&(L(e[r])&&!L(t[r])&&(t[r]=Array.isArray(e[r])?[]:_()),P(t[r])||P(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))}))}}function R(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}const F={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2};const S={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,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17};function D(e,t,n={}){const{domain:r,messages:a,args:o}=n,l=new SyntaxError(String(e));return l.code=e,t&&(l.location=t),l.domain=r,l}function M(e){throw e}const w=" ",x="\r",W="\n",U=String.fromCharCode(8232),$=String.fromCharCode(8233);function H(e){const t=e;let n=0,r=1,a=1,o=0;const l=e=>t[e]===x&&t[e+1]===W,s=e=>t[e]===$,c=e=>t[e]===U,u=e=>l(e)||(e=>t[e]===W)(e)||s(e)||c(e),i=e=>l(e)||s(e)||c(e)?W:t[e];function f(){return o=0,u(n)&&(r++,a=0),l(n)&&n++,n++,a++,t[n]}return{index:()=>n,line:()=>r,column:()=>a,peekOffset:()=>o,charAt:i,currentChar:()=>i(n),currentPeek:()=>i(n+o),next:f,peek:function(){return l(n+o)&&o++,o++,t[n+o]},reset:function(){n=0,r=1,a=1,o=0},resetPeek:function(e=0){o=e},skipToPeek:function(){const e=n+o;for(;e!==n;)f();o=0}}}const j=void 0,V="'";function X(e,t={}){const n=!1!==t.location,r=H(e),a=()=>r.index(),o=()=>{return e=r.line(),t=r.column(),n=r.index(),{line:e,column:t,offset:n};var e,t,n},l=o(),s=a(),c={currentType:14,offset:s,startLoc:l,endLoc:l,lastType:14,lastOffset:s,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:i}=t;function f(e,t,r){e.endLoc=o(),e.currentType=t;const a={type:t};return n&&(a.loc=R(e.startLoc,e.endLoc)),null!=r&&(a.value=r),a}const m=e=>f(e,14);function _(e,t){return e.currentChar()===t?(e.next(),t):(S.EXPECTED_TOKEN,o(),"")}function p(e){let t="";for(;e.currentPeek()===w||e.currentPeek()===W;)t+=e.currentPeek(),e.peek();return t}function d(e){const t=p(e);return e.skipToPeek(),t}function g(e){if(e===j)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function E(e,t){const{currentType:n}=t;if(2!==n)return!1;p(e);const r=function(e){if(e===j)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}funct