@arbocollab/arbo-web-search 0.0.10-alpha.4 → 0.0.11
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.
package/dist/es/index.es.js
CHANGED
|
@@ -52215,7 +52215,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
52215
52215
|
};
|
|
52216
52216
|
}
|
|
52217
52217
|
});
|
|
52218
|
-
const version = "0.0.
|
|
52218
|
+
const version = "0.0.11";
|
|
52219
52219
|
/*!
|
|
52220
52220
|
* shared v11.2.8
|
|
52221
52221
|
* (c) 2025 kazuya kawaguchi
|
package/dist/umd/index.umd.js
CHANGED
|
@@ -63,5 +63,5 @@ function TV(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&c
|
|
|
63
63
|
* vue-i18n v11.2.8
|
|
64
64
|
* (c) 2025 kazuya kawaguchi
|
|
65
65
|
* Released under the MIT License.
|
|
66
|
-
*/const zB=24,UB=25,WB=26,HB=27,YB=28,KB=29,qB=30,QB=31,GB=32,JB=33,ZB=34;function XB(e,...t){return OF(e,null,"production"!==a.env.NODE_ENV?{messages:ez,args:t}:void 0)}const ez={[zB]:"Unexpected return type in composer",[UB]:"Invalid argument",[WB]:"Must be called at the top of a `setup` function",[HB]:"Need to install with `app.use` function",[GB]:"Unexpected error",[YB]:"Required in value: {0}",[KB]:"Invalid value",[qB]:"Cannot setup vue-devtools plugin",[QB]:"Need to install with `provide` function",[JB]:"Not compatible legacy VueI18n.",[ZB]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},tz=RV("__translateVNode"),az=RV("__datetimeParts"),nz=RV("__numberParts"),oz=RV("__enableEmitter"),rz=RV("__disableEmitter"),iz=RV("__setPluralRules"),sz=RV("__injectWithOption"),lz=RV("__dispose"),cz=8,dz=9,uz=10,pz=11,mz=12,fz=13,hz={[cz]:"Fall back to {type} '{key}' with root locale.",[dz]:"Not found parent scope. use the global scope.",[uz]:"Ignore object flatten: '{key}' key has an string value",[pz]:"Legacy API mode has been deprecated in v11. Use Composition API mode instead.\nAbout how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html",[mz]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[fz]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function bz(e,...t){return LV(hz[e],...t)}function gz(e){if(!eF(e))return e;if(KF(e))return e;for(const t in e)if(QV(e,t))if(t.includes(".")){const n=t.split("."),o=n.length-1;let r=e,i=!1;for(let e=0;e<o;e++){if("__proto__"===n[e])throw new Error(`unsafe key: ${n[e]}`);if(n[e]in r||(r[n[e]]=UV()),!eF(r[n[e]])){"production"!==a.env.NODE_ENV&&TV(bz(uz,{key:n[e]})),i=!0;break}r=r[n[e]]}if(i||(KF(r)?r$.includes(n[o])||delete e[t]:(r[n[o]]=e[t],delete e[t])),!KF(r)){const e=r[n[o]];eF(e)&&gz(e)}}else eF(e[t])&&gz(e[t]);return e}function vz(e,t){const{messages:a,__i18n:n,messageResolver:o,flatJson:r}=t,i=nF(a)?a:GV(n)?UV():{[e]:UV()};if(GV(n)&&n.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:a}=e;t?(i[t]=i[t]||UV(),sF(a,i[t])):sF(a,i)}else ZV(e)&&sF(JSON.parse(e),i)})),null==o&&r)for(const s in i)QV(i,s)&&gz(i[s]);return i}function _z(e){return e.type}function yz(e,t,a){let n=eF(t.messages)?t.messages:UV();"__i18nGlobal"in a&&(n=vz(e.locale.value,{messages:n,__i18n:a.__i18nGlobal}));const o=Object.keys(n);if(o.length&&o.forEach((t=>{e.mergeLocaleMessage(t,n[t])})),eF(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach((a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])}))}if(eF(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach((a=>{e.mergeNumberFormat(a,t.numberFormats[a])}))}}function wz(e){return Zr(Rr,null,e,0)}function xz(){return fi()}const kz=()=>[],Az=()=>!1;let Ez=0;function Oz(e){return(t,a,n,o)=>e(a,n,xz()||void 0,o)}function Sz(e={}){const{__root:t,__injectWithOption:n}=e,o=void 0===t,r=e.flatJson,i=IV?Lt:Rt;let s=!XV(e.inheritLocale)||e.inheritLocale;const l=i(t&&s?t.locale.value:ZV(e.locale)?e.locale:q$),c=i(t&&s?t.fallbackLocale.value:ZV(e.fallbackLocale)||GV(e.fallbackLocale)||nF(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:l.value),d=i(vz(l.value,e)),u=i(nF(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),p=i(nF(e.numberFormats)?e.numberFormats:{[l.value]:{}});let m=t?t.missingWarn:!XV(e.missingWarn)&&!FV(e.missingWarn)||e.missingWarn,f=t?t.fallbackWarn:!XV(e.fallbackWarn)&&!FV(e.fallbackWarn)||e.fallbackWarn,h=t?t.fallbackRoot:!XV(e.fallbackRoot)||e.fallbackRoot,b=!!e.fallbackFormat,g=JV(e.missing)?e.missing:null,v=JV(e.missing)?Oz(e.missing):null,_=JV(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:!XV(e.warnHtmlMessage)||e.warnHtmlMessage,w=!!e.escapeParameter;const x=t?t.modifiers:nF(e.modifiers)?e.modifiers:{};let k,A=e.pluralRules||t&&t.pluralRules;k=(()=>{o&&aB(null);const t={version:"11.2.8",locale:l.value,fallbackLocale:c.value,messages:d.value,modifiers:x,pluralRules:A,missing:null===v?void 0:v,missingWarn:m,fallbackWarn:f,fallbackFormat:b,unresolving:!0,postTranslation:null===_?void 0:_,warnHtmlMessage:y,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=u.value,t.numberFormats=p.value,t.__datetimeFormatters=nF(k)?k.__datetimeFormatters:void 0,t.__numberFormatters=nF(k)?k.__numberFormatters:void 0,"production"!==a.env.NODE_ENV&&(t.__v_emitter=nF(k)?k.__v_emitter:void 0);const n=oB(t);return o&&aB(n),n})(),cB(k,l.value,c.value);const E=Pi({get:()=>l.value,set:e=>{k.locale=e,l.value=e}}),O=Pi({get:()=>c.value,set:e=>{k.fallbackLocale=e,c.value=e,cB(k,l.value,e)}}),S=Pi((()=>d.value)),T=Pi((()=>u.value)),C=Pi((()=>p.value));const D=(e,n,r,i,s,b)=>{let g;l.value,c.value,d.value,u.value,p.value;try{"production"!==a.env.NODE_ENV||__INTLIFY_PROD_DEVTOOLS__,o||(k.fallbackContext=t?tB:void 0),g=e(k)}finally{"production"!==a.env.NODE_ENV||__INTLIFY_PROD_DEVTOOLS__,o||(k.fallbackContext=void 0)}if("translate exists"!==r&&VV(g)&&-1===g||"translate exists"===r&&!g){const[e,o]=n();if("production"!==a.env.NODE_ENV&&t&&ZV(e)&&(v=o,"translate"!==r||!v.resolvedMessage)&&(h&&(iB(f,e)||sB(m,e))&&TV(bz(cz,{key:e,type:r})),"production"!==a.env.NODE_ENV)){const{__v_emitter:t}=k;t&&h&&t.emit("fallback",{type:r,key:e,to:"global",groupId:`${r}:${e}`})}return t&&h?i(t):s(e)}if(b(g))return g;throw XB(zB);var v};function I(...e){return D((t=>Reflect.apply(IB,null,[t,...e])),(()=>PB(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>ZV(e)))}const N={normalize:function(e){return e.map((e=>ZV(e)||VV(e)||XV(e)?wz(String(e)):e))},interpolate:e=>e,type:"vnode"};function M(e){return d.value[e]||{}}Ez++,t&&IV&&(br(t.locale,(e=>{s&&(l.value=e,k.locale=e,cB(k,l.value,c.value))})),br(t.fallbackLocale,(e=>{s&&(c.value=e,k.fallbackLocale=e,cB(k,l.value,c.value))})));const P={id:Ez,locale:E,fallbackLocale:O,get inheritLocale(){return s},set inheritLocale(e){s=e,e&&t&&(l.value=t.locale.value,c.value=t.fallbackLocale.value,cB(k,l.value,c.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:S,get modifiers(){return x},get pluralRules(){return A||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(e){m=e,k.missingWarn=m},get fallbackWarn(){return f},set fallbackWarn(e){f=e,k.fallbackWarn=f},get fallbackRoot(){return h},set fallbackRoot(e){h=e},get fallbackFormat(){return b},set fallbackFormat(e){b=e,k.fallbackFormat=b},get warnHtmlMessage(){return y},set warnHtmlMessage(e){y=e,k.warnHtmlMessage=e},get escapeParameter(){return w},set escapeParameter(e){w=e,k.escapeParameter=e},t:I,getLocaleMessage:M,setLocaleMessage:function(e,t){if(r){const a={[e]:t};for(const e in a)QV(a,e)&&gz(a[e]);t=a[e]}d.value[e]=t,k.messages=d.value},mergeLocaleMessage:function(e,t){d.value[e]=d.value[e]||{};const a={[e]:t};if(r)for(const n in a)QV(a,n)&&gz(a[n]);sF(t=a[e],d.value[e]),k.messages=d.value},getPostTranslationHandler:function(){return JV(_)?_:null},setPostTranslationHandler:function(e){_=e,k.postTranslation=e},getMissingHandler:function(){return g},setMissingHandler:function(e){null!==e&&(v=Oz(e)),g=e,k.missing=v},[iz]:function(e){A=e,k.pluralRules=A}};return P.datetimeFormats=T,P.numberFormats=C,P.rt=function(...e){const[t,a,n]=e;if(n&&!eF(n))throw XB(UB);return I(t,a,BV({resolvedMessage:!0},n||{}))},P.te=function(e,t){return D((()=>{if(!e)return!1;const a=M(ZV(t)?t:l.value),n=k.messageResolver(a,e);return KF(n)||DB(n)||ZV(n)}),(()=>[e]),"translate exists",(a=>Reflect.apply(a.te,a,[e,t])),Az,(e=>XV(e)))},P.tm=function(e){const a=function(e){let t=null;const a=C$(k,c.value,l.value);for(let n=0;n<a.length;n++){const o=d.value[a[n]]||{},r=k.messageResolver(o,e);if(null!=r){t=r;break}}return t}(e);return null!=a?a:t&&t.tm(e)||{}},P.d=function(...e){return D((t=>Reflect.apply(hB,null,[t,...e])),(()=>gB(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>""),(e=>ZV(e)||GV(e)))},P.n=function(...e){return D((t=>Reflect.apply(_B,null,[t,...e])),(()=>wB(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>""),(e=>ZV(e)||GV(e)))},P.getDateTimeFormat=function(e){return u.value[e]||{}},P.setDateTimeFormat=function(e,t){u.value[e]=t,k.datetimeFormats=u.value,vB(k,e,t)},P.mergeDateTimeFormat=function(e,t){u.value[e]=BV(u.value[e]||{},t),k.datetimeFormats=u.value,vB(k,e,t)},P.getNumberFormat=function(e){return p.value[e]||{}},P.setNumberFormat=function(e,t){p.value[e]=t,k.numberFormats=p.value,xB(k,e,t)},P.mergeNumberFormat=function(e,t){p.value[e]=BV(p.value[e]||{},t),k.numberFormats=p.value,xB(k,e,t)},P[sz]=n,P[tz]=function(...e){return D((t=>{let a;const n=t;try{n.processor=N,a=Reflect.apply(IB,null,[n,...e])}finally{n.processor=null}return a}),(()=>PB(...e)),"translate",(t=>t[tz](...e)),(e=>[wz(e)]),(e=>GV(e)))},P[az]=function(...e){return D((t=>Reflect.apply(hB,null,[t,...e])),(()=>gB(...e)),"datetime format",(t=>t[az](...e)),kz,(e=>ZV(e)||GV(e)))},P[nz]=function(...e){return D((t=>Reflect.apply(_B,null,[t,...e])),(()=>wB(...e)),"number format",(t=>t[nz](...e)),kz,(e=>ZV(e)||GV(e)))},"production"!==a.env.NODE_ENV&&(P[oz]=e=>{k.__v_emitter=e},P[rz]=()=>{k.__v_emitter=void 0}),P}const Tz="vue-i18n: composer properties",Cz="Vue I18n DevTools",Dz="Vue I18n DevTools",Iz="Vue I18n",Nz="Search for scopes ...",Mz=16764185;let Pz;async function Lz(e,t){return new Promise(((a,n)=>{try{BB({id:"vue-devtools-plugin-vue-i18n",label:Cz,packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Tz],app:e},(n=>{Pz=n,n.on.visitComponentTree((({componentInstance:e,treeNode:a})=>{!function(e,t,a){const n="composition"===a.mode?a.global:a.global.__composer;if(e&&e.__VUE_I18N__&&e.__VUE_I18N__!==n){const a={label:`i18n (${Rz(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(a)}}(e,a,t)})),n.on.inspectComponent((({componentInstance:e,instanceData:a})=>{e.__VUE_I18N__&&a&&("legacy"===t.mode?e.__VUE_I18N__!==t.global.__composer&&jz(a,e.__VUE_I18N__):jz(a,e.__VUE_I18N__))})),n.addInspector({id:"vue-i18n-resource-inspector",label:Dz,icon:"language",treeFilterPlaceholder:Nz}),n.on.getInspectorTree((a=>{a.app===e&&"vue-i18n-resource-inspector"===a.inspectorId&&function(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const a="composition"===t.mode?t.global:t.global.__composer;for(const[n,o]of t.__instances){const r="composition"===t.mode?o:o.__composer;a!==r&&e.rootNodes.push({id:r.id.toString(),label:`${Rz(n)} Scope`})}}(a,t)}));const o=new Map;n.on.getInspectorState((async a=>{if(a.app===e&&"vue-i18n-resource-inspector"===a.inspectorId)if(n.unhighlightElement(),function(e,t){const a=zz(e.nodeId,t);a&&(e.state=function(e){const t={},a="Locale related info",n=[{type:a,key:"locale",editable:!0,value:e.locale.value},{type:a,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:a,key:"availableLocales",editable:!1,value:e.availableLocales},{type:a,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[a]=n;const o="Locale messages info",r=[{type:o,key:"messages",editable:!1,value:Vz(e.messages.value)}];t[o]=r;{const a="Datetime formats info",n=[{type:a,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[a]=n;const o="Datetime formats info",r=[{type:o,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[o]=r}return t}(a))}(a,t),"global"===a.nodeId){if(!o.has(a.app)){const[e]=await n.getComponentInstances(a.app);o.set(a.app,e)}n.highlightElement(o.get(a.app))}else{const e=function(e,t){let a=null;if("global"!==e)for(const[n,o]of t.__instances.entries())if(o.id.toString()===e){a=n;break}return a}(a.nodeId,t);e&&n.highlightElement(e)}})),n.on.editInspectorState((a=>{a.app===e&&"vue-i18n-resource-inspector"===a.inspectorId&&function(e,t){const a=zz(e.nodeId,t);if(a){const[t]=e.path;"locale"===t&&ZV(e.state.value)?a.locale.value=e.state.value:"fallbackLocale"===t&&(ZV(e.state.value)||GV(e.state.value)||eF(e.state.value))?a.fallbackLocale.value=e.state.value:"inheritLocale"===t&&XV(e.state.value)&&(a.inheritLocale=e.state.value)}}(a,t)})),n.addTimelineLayer({id:"vue-i18n-timeline",label:Iz,color:Mz}),a(!0)}))}catch(sS){console.error(sS),n(!1)}}))}function Rz(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function jz(e,t){const a=Tz;e.state.push({type:a,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:a,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:a,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:a,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:a,key:"messages",editable:!1,value:Vz(t.messages.value)}),e.state.push({type:a,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:a,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Vz(e){const t={};return Object.keys(e).forEach((a=>{const n=e[a];var o;JV(n)&&"source"in n?t[a]={_custom:{type:"function",display:"<span>ƒ</span> "+((o=n).source?`("${$z(o.source)}")`:"(?)")}}:KF(n)&&n.loc&&n.loc.source?t[a]=n.loc.source:eF(n)?t[a]=Vz(n):t[a]=n})),t}const Fz={"<":"<",">":">",'"':""","&":"&"};function $z(e){return e.replace(/[<>"&]/g,Bz)}function Bz(e){return Fz[e]||e}function zz(e,t){if("global"===e)return"composition"===t.mode?t.global:t.global.__composer;{const a=Array.from(t.__instances.values()).find((t=>t.id.toString()===e));return a?"composition"===t.mode?a:a.__composer:null}}function Uz(e,t){if(Pz){let a;t&&"groupId"in t&&(a=t.groupId,delete t.groupId),Pz.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:a,time:Date.now(),meta:{},data:t||{},logType:"compile-error"===e?"error":"fallback"===e||"missing"===e?"warning":"default"}})}}function Wz(e={}){const t=Sz(function(e){const t=ZV(e.locale)?e.locale:q$,a=ZV(e.fallbackLocale)||GV(e.fallbackLocale)||nF(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,n=JV(e.missing)?e.missing:void 0,o=!XV(e.silentTranslationWarn)&&!FV(e.silentTranslationWarn)||!e.silentTranslationWarn,r=!XV(e.silentFallbackWarn)&&!FV(e.silentFallbackWarn)||!e.silentFallbackWarn,i=!XV(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,l=nF(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=JV(e.postTranslation)?e.postTranslation:void 0,u=!ZV(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,p=!!e.escapeParameterHtml,m=!XV(e.sync)||e.sync;let f=e.messages;if(nF(e.sharedMessages)){const t=e.sharedMessages;f=Object.keys(t).reduce(((e,a)=>{const n=e[a]||(e[a]={});return BV(n,t[a]),e}),f||{})}const{__i18n:h,__root:b,__injectWithOption:g}=e,v=e.datetimeFormats,_=e.numberFormats;return{locale:t,fallbackLocale:a,messages:f,flatJson:e.flatJson,datetimeFormats:v,numberFormats:_,missing:n,missingWarn:o,fallbackWarn:r,fallbackRoot:i,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:u,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:m,__i18n:h,__root:b,__injectWithOption:g}}(e)),{__extender:n}=e,o={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return XV(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=XV(e)?!e:e},get silentFallbackWarn(){return XV(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=XV(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t:(...e)=>Reflect.apply(t.t,t,[...e]),rt:(...e)=>Reflect.apply(t.rt,t,[...e]),te:(e,a)=>t.te(e,a),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,a){t.setLocaleMessage(e,a)},mergeLocaleMessage(e,a){t.mergeLocaleMessage(e,a)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,a){t.setDateTimeFormat(e,a)},mergeDateTimeFormat(e,a){t.mergeDateTimeFormat(e,a)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,a){t.setNumberFormat(e,a)},mergeNumberFormat(e,a){t.mergeNumberFormat(e,a)}};return o.__extender=n,"production"!==a.env.NODE_ENV&&(o.__enableEmitter=e=>{const a=t;a[oz]&&a[oz](e)},o.__disableEmitter=()=>{const e=t;e[rz]&&e[rz]()}),o}function Hz(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[iz](t.pluralizationRules||e.pluralizationRules);const a=vz(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(a).forEach((t=>e.mergeLocaleMessage(t,a[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((a=>e.mergeNumberFormat(a,t.numberFormats[a]))),e}const Yz={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function Kz(){return Lr}const qz=Cn({name:"i18n-t",props:BV({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>VV(e)||!isNaN(e)}},Yz),setup(e,t){const{slots:a,attrs:n}=t,o=e.i18n||aU({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(a).filter((e=>"_"!==e[0])),i=UV();e.locale&&(i.locale=e.locale),void 0!==e.plural&&(i.plural=ZV(e.plural)?+e.plural:e.plural);const s=function({slots:e},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce(((e,t)=>[...e,...t.type===Lr?t.children:[t]]),[]);return t.reduce(((t,a)=>{const n=e[a];return n&&(t[a]=n()),t}),UV())}(t,r),l=o[tz](e.keypath,s,i),c=BV(UV(),n);return Li(ZV(e.tag)||eF(e.tag)?e.tag:Kz(),c,l)}}});function Qz(e,t,a,n){const{slots:o,attrs:r}=t;return()=>{const t={part:!0};let i=UV();e.locale&&(t.locale=e.locale),ZV(e.format)?t.key=e.format:eF(e.format)&&(ZV(e.format.key)&&(t.key=e.format.key),i=Object.keys(e.format).reduce(((t,n)=>a.includes(n)?BV(UV(),t,{[n]:e.format[n]}):t),UV()));const s=n(e.value,t,i);let l=[t.key];GV(s)?l=s.map(((e,t)=>{const a=o[e.type],n=a?a({[e.type]:e.value,index:t,parts:s}):[e.value];var r;return GV(r=n)&&!ZV(r[0])&&(n[0].key=`${e.type}-${t}`),n})):ZV(s)&&(l=[s]);const c=BV(UV(),r);return Li(ZV(e.tag)||eF(e.tag)?e.tag:Kz(),c,l)}}const Gz=Cn({name:"i18n-n",props:BV({value:{type:Number,required:!0},format:{type:[String,Object]}},Yz),setup(e,t){const a=e.i18n||aU({useScope:e.scope,__useComponent:!0});return Qz(e,t,yB,((...e)=>a[nz](...e)))}});function Jz(e){if(ZV(e))return{path:e};if(nF(e)){if(!("path"in e))throw XB(YB,"path");return e}throw XB(KB)}function Zz(e){const{path:t,locale:a,args:n,choice:o,plural:r}=e,i={},s=n||{};return ZV(a)&&(i.locale=a),VV(o)&&(i.plural=o),VV(r)&&(i.plural=r),[t,s,i]}function Xz(e,t,...n){const o=nF(n[0])?n[0]:{};(!XV(o.globalInstall)||o.globalInstall)&&([qz.name,"I18nT"].forEach((t=>e.component(t,qz))),[Gz.name,"I18nN"].forEach((t=>e.component(t,Gz))),[rU.name,"I18nD"].forEach((t=>e.component(t,rU)))),e.directive("t",function(e){const t=t=>{"production"!==a.env.NODE_ENV&&DV(bz(mz));const{instance:n,value:o}=t;if(!n||!n.$)throw XB(GB);const r=function(e,t){const a=e;if("composition"===e.mode)return a.__getInstance(t)||e.global;{const n=a.__getInstance(t);return null!=n?n.__composer:e.global.__composer}}(e,n.$),i=Jz(o);return[Reflect.apply(r.t,r,[...Zz(i)]),r]};return{created:(a,n)=>{const[o,r]=t(n);IV&&e.global===r&&(a.__i18nWatcher=br(r.locale,(()=>{n.instance&&n.instance.$forceUpdate()}))),a.__composer=r,a.textContent=o},unmounted:e=>{IV&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const a=e.__composer,n=Jz(t);e.textContent=Reflect.apply(a.t,a,[...Zz(n)])}},getSSRProps:e=>{const[a]=t(e);return{textContent:a}}}}(t))}const eU=RV("global-vue-i18n");function tU(e={}){const t=__VUE_I18N_LEGACY_API__&&XV(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__;"production"!==a.env.NODE_ENV&&t&&DV(bz(pz));const n=!XV(e.globalInjection)||e.globalInjection,o=new Map,[r,i]=function(e,t){const a=ue(),n=__VUE_I18N_LEGACY_API__&&t?a.run((()=>Wz(e))):a.run((()=>Sz(e)));if(null==n)throw XB(GB);return[a,n]}(e,t),s=RV("production"!==a.env.NODE_ENV?"vue-i18n":"");const l={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(e,...o){if("production"!==a.env.NODE_ENV&&(e.__VUE_I18N__=l),e.__VUE_I18N_SYMBOL__=s,e.provide(e.__VUE_I18N_SYMBOL__,l),nF(o[0])){const e=o[0];l.__composerExtend=e.__composerExtend,l.__vueI18nExtend=e.__vueI18nExtend}let r=null;!t&&n&&(r=function(e,t){const a=Object.create(null);nU.forEach((e=>{const n=Object.getOwnPropertyDescriptor(t,e);if(!n)throw XB(GB);const o=Pt(n.value)?{get:()=>n.value.value,set(e){n.value.value=e}}:{get:()=>n.get&&n.get()};Object.defineProperty(a,e,o)})),e.config.globalProperties.$i18n=a,oU.forEach((a=>{const n=Object.getOwnPropertyDescriptor(t,a);if(!n||!n.value)throw XB(GB);Object.defineProperty(e.config.globalProperties,`$${a}`,n)}));const n=()=>{delete e.config.globalProperties.$i18n,oU.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return n}(e,l.global)),__VUE_I18N_FULL_INSTALL__&&Xz(e,l,...o),__VUE_I18N_LEGACY_API__&&t&&e.mixin(function(e,t,n){return{beforeCreate(){const a=xz();if(!a)throw XB(GB);const o=this.$options;if(o.i18n){const a=o.i18n;if(o.__i18n&&(a.__i18n=o.__i18n),a.__root=t,this===this.$root)this.$i18n=Hz(e,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=Wz(a);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Hz(e,o);else{this.$i18n=Wz({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&yz(t,o,o),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(a,this.$i18n)},mounted(){if("production"!==a.env.NODE_ENV&&this.$i18n){const e=xz();if(!e)return;const t=this.$i18n;e.__VUE_I18N__=t.__composer;const a=this.__v_emitter=rF();t.__enableEmitter&&t.__enableEmitter(a),a.on("*",Uz)}},unmounted(){const e=xz();if(!e)throw XB(GB);const t=this.$i18n;"production"!==a.env.NODE_ENV&&e.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Uz),delete this.__v_emitter),this.$i18n&&(t.__disableEmitter&&t.__disableEmitter(),delete e.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}(i,i.__composer,l));const c=e.unmount;if(e.unmount=()=>{r&&r(),l.dispose(),c()},"production"!==a.env.NODE_ENV){if(!(await Lz(e,l)))throw XB(qB);const a=rF();if(t){const e=i;e.__enableEmitter&&e.__enableEmitter(a)}else{const e=i;e[oz]&&e[oz](a)}a.on("*",Uz)}},get global(){return i},dispose(){r.stop()},__instances:o,__getInstance:function(e){return o.get(e)||null},__setInstance:function(e,t){o.set(e,t)},__deleteInstance:function(e){o.delete(e)}};return l}function aU(e={}){const t=xz();if(null==t)throw XB(WB);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw XB(HB);const n=function(e){const t=Po(e.isCE?eU:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw XB(e.isCE?QB:GB);return t}(t),o=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),r=_z(t),i=function(e,t){return $V(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,r);if("global"===i)return yz(o,e,r),o;if("parent"===i){let r=function(e,t,a=!1){let n=null;const o=t.root;let r=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,a);for(;null!=r;){const t=e;if("composition"===e.mode)n=t.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const e=t.__getInstance(r);null!=e&&(n=e.__composer,a&&n&&!n[sz]&&(n=null))}if(null!=n)break;if(o===r)break;r=r.parent}return n}(n,t,e.__useComponent);return null==r&&("production"!==a.env.NODE_ENV&&TV(bz(dz)),r=o),r}const s=n;let l=s.__getInstance(t);if(null==l){const n=BV({},e);"__i18n"in r&&(n.__i18n=r.__i18n),o&&(n.__root=o),l=Sz(n),s.__composerExtend&&(l[lz]=s.__composerExtend(l)),function(e,t,n){let o=null;zn((()=>{if("production"!==a.env.NODE_ENV){t.__VUE_I18N__=n,o=rF();const e=n;e[oz]&&e[oz](o),o.on("*",Uz)}}),t),Yn((()=>{const r=n;"production"!==a.env.NODE_ENV&&(o&&o.off("*",Uz),r[rz]&&r[rz](),delete t.__VUE_I18N__),e.__deleteInstance(t);const i=r[lz];i&&(i(),delete r[lz])}),t)}(s,t,l),s.__setInstance(t,l)}else"production"!==a.env.NODE_ENV&&"local"===i&&TV(bz(fz));return l}const nU=["locale","fallbackLocale","availableLocales"],oU=["t","rt","d","n","tm","te"];const rU=Cn({name:"i18n-d",props:BV({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Yz),setup(e,t){const a=e.i18n||aU({useScope:e.scope,__useComponent:!0});return Qz(e,t,bB,((...e)=>a[az](...e)))}});var iU;if("boolean"!=typeof __VUE_I18N_FULL_INSTALL__&&(HV().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!=typeof __VUE_I18N_LEGACY_API__&&(HV().__VUE_I18N_LEGACY_API__=!0),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(HV().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(HV().__INTLIFY_PROD_DEVTOOLS__=!1),G$=function(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ZV(e)){const n=!XV(t.warnHtmlMessage)||t.warnHtmlMessage;"production"!==a.env.NODE_ENV&&d$(e,n);const o=(t.onCacheKey||u$)(e),r=p$[o];if(r)return r;const{ast:i,detectError:s}=function(e,t={}){let a=!1;const n=t.onError||SF;return t.onError=e=>{a=!0,n(e)},{...YF(e,t),detectError:a}}(e,{...t,location:"production"!==a.env.NODE_ENV,jit:!0}),l=s$(i);return s?l:p$[o]=l}{if("production"!==a.env.NODE_ENV&&!KF(e))return TV(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const t=p$[n];return t||(p$[n]=s$(e))}return s$(e)}},J$=function(e,t){if(!eF(e))return null;let a=j$.get(t);if(a||(a=function(e){const t=[];let a,n,o,r,i,s,l,c=-1,d=0,u=0;const p=[];function m(){const t=e[c+1];if(5===d&&"'"===t||6===d&&'"'===t)return c++,o="\\"+t,p[0](),!0}for(p[0]=()=>{void 0===n?n=o:n+=o},p[1]=()=>{void 0!==n&&(t.push(n),n=void 0)},p[2]=()=>{p[0](),u++},p[3]=()=>{if(u>0)u--,d=4,p[0]();else{if(u=0,void 0===n)return!1;if(n=R$(n),!1===n)return!1;p[1]()}};null!==d;)if(c++,a=e[c],"\\"!==a||!m()){if(r=L$(a),l=M$[d],i=l[r]||l.l||8,8===i)return;if(d=i[0],void 0!==i[1]&&(s=p[i[1]],s&&(o=a,!1===s())))return;if(7===d)return t}}(t),a&&j$.set(t,a)),!a)return null;const n=a.length;let o=e,r=0;for(;r<n;){const e=a[r];if(r$.includes(e)&&KF(o))return null;const t=o[e];if(void 0===t)return null;if(JV(o))return null;o=t,r++}return o},Z$=C$,"production"!==a.env.NODE_ENV||__INTLIFY_PROD_DEVTOOLS__){const e=HV();e.__INTLIFY__=!0,iU=e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__,m$=iU}a.env.NODE_ENV;const sU=async()=>{const e=await async function(){return tU({legacy:!1,locale:"en",fallbackLocale:"en",messages:{en:{errorMessages:dm}}})}();return function(e){om=e}(e.global),e},lU={ArboTabs:iR,ArboToggle:fR,ArboInput:vy,ArboIcon:Zb,ArboButton:y_,ArboTooltip:m_,ArboThumbnail:lR,TessAvatar:wR,TessBreadcrumb:qR,TessAvatarGroup:ER,TessMoreActions:VR,TessHoverTile:GR,TessTimeTag:ZR},cU=async()=>{console.log("Initializing global search...","0.0.10-alpha.4");const e=dl(SV);e.provide("switchInstance",e.config.globalProperties.switchInstance);const t=function(){const e=ue(!0),t=e.run((()=>Lt({})));let n=[],o=[];const r=It({install(e){Ou(r),r._a=e,e.provide(Su,r),e.config.globalProperties.$pinia=r,"production"!==a.env.NODE_ENV&&"test"!==a.env.NODE_ENV&&Iu&&op(e,r),o.forEach((e=>n.push(e))),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return"production"!==a.env.NODE_ENV&&"test"!==a.env.NODE_ENV&&Iu&&"undefined"!=typeof Proxy&&r.use(lp),r}(),n=await sU();return Object.entries(lU).forEach((([t,a])=>{e.component(t,a)})),e.directive("arbo-tooltip",yO),e.directive("auto-focus",qy),e.use(n),console.log("Global search initialized successfully",n),e.config.errorHandler=(e,t,a)=>{console.error("Error:",e),console.error("Vue component:",t),console.error("Additional info:",a)},e.use(t),e},dU=()=>({baseDomain:sessionStorage.getItem("BASE_URL")||"",reviewDomain:sessionStorage.getItem("BASE_REVIEW_URL")||"",ws_code:Fh()}),uU=e=>e.ctrlKey||e.metaKey,pU=(e,t,a,n)=>{const o=Boolean(a&&Object.keys(a).length>0);if(e.preventDefault(),uU(e))window.open(t,"_blank");else{const e=new URLSearchParams(a).toString(),r=o?`${t}${t.includes("?")?"&":"?"}${e}`:t;try{n&&"function"==typeof n?n():window.location.href=r}catch(sS){console.error("Error replacing URL:",sS)}}},mU=(e,t,a)=>{if(e.preventDefault(),uU(e))window.open(t,"_blank");else{const e=new URLSearchParams(a).toString(),n=`${t}${t.includes("?")?"&":"?"}${e}`;try{window.location.href=n}catch(sS){console.error("Error replacing URL:",sS)}}};window.createGlobalSearchInstance=cU;const fU=cU;e.createGlobalSearchInstance=fU,e.createGlobalSearchPopup=e=>{const t=document.createElement("div");return t.classList.add("arbo-global-search"),t.id=e,t.setAttribute("el-id","popup-app"),document.body.appendChild(t),(()=>{const e=document.createElement("style");e.textContent="\n .arbo-global-search {\n display: none;\n position: fixed;\n top: 128px;\n left: calc(50vw - 500px);\n max-width: 1000px;\n width: 1000px;\n max-height: 80vh;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 888;\n }\n .arbo-global-search.show {\n display: block;\n }\n .arbo-global-search:before {\n content: '';\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: -1;\n background-color: rgba(0, 0, 0, 0.5);\n }\n ",document.head.appendChild(e)})(),t},e.default=fU,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
|
66
|
+
*/const zB=24,UB=25,WB=26,HB=27,YB=28,KB=29,qB=30,QB=31,GB=32,JB=33,ZB=34;function XB(e,...t){return OF(e,null,"production"!==a.env.NODE_ENV?{messages:ez,args:t}:void 0)}const ez={[zB]:"Unexpected return type in composer",[UB]:"Invalid argument",[WB]:"Must be called at the top of a `setup` function",[HB]:"Need to install with `app.use` function",[GB]:"Unexpected error",[YB]:"Required in value: {0}",[KB]:"Invalid value",[qB]:"Cannot setup vue-devtools plugin",[QB]:"Need to install with `provide` function",[JB]:"Not compatible legacy VueI18n.",[ZB]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},tz=RV("__translateVNode"),az=RV("__datetimeParts"),nz=RV("__numberParts"),oz=RV("__enableEmitter"),rz=RV("__disableEmitter"),iz=RV("__setPluralRules"),sz=RV("__injectWithOption"),lz=RV("__dispose"),cz=8,dz=9,uz=10,pz=11,mz=12,fz=13,hz={[cz]:"Fall back to {type} '{key}' with root locale.",[dz]:"Not found parent scope. use the global scope.",[uz]:"Ignore object flatten: '{key}' key has an string value",[pz]:"Legacy API mode has been deprecated in v11. Use Composition API mode instead.\nAbout how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html",[mz]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[fz]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function bz(e,...t){return LV(hz[e],...t)}function gz(e){if(!eF(e))return e;if(KF(e))return e;for(const t in e)if(QV(e,t))if(t.includes(".")){const n=t.split("."),o=n.length-1;let r=e,i=!1;for(let e=0;e<o;e++){if("__proto__"===n[e])throw new Error(`unsafe key: ${n[e]}`);if(n[e]in r||(r[n[e]]=UV()),!eF(r[n[e]])){"production"!==a.env.NODE_ENV&&TV(bz(uz,{key:n[e]})),i=!0;break}r=r[n[e]]}if(i||(KF(r)?r$.includes(n[o])||delete e[t]:(r[n[o]]=e[t],delete e[t])),!KF(r)){const e=r[n[o]];eF(e)&&gz(e)}}else eF(e[t])&&gz(e[t]);return e}function vz(e,t){const{messages:a,__i18n:n,messageResolver:o,flatJson:r}=t,i=nF(a)?a:GV(n)?UV():{[e]:UV()};if(GV(n)&&n.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:a}=e;t?(i[t]=i[t]||UV(),sF(a,i[t])):sF(a,i)}else ZV(e)&&sF(JSON.parse(e),i)})),null==o&&r)for(const s in i)QV(i,s)&&gz(i[s]);return i}function _z(e){return e.type}function yz(e,t,a){let n=eF(t.messages)?t.messages:UV();"__i18nGlobal"in a&&(n=vz(e.locale.value,{messages:n,__i18n:a.__i18nGlobal}));const o=Object.keys(n);if(o.length&&o.forEach((t=>{e.mergeLocaleMessage(t,n[t])})),eF(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach((a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])}))}if(eF(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach((a=>{e.mergeNumberFormat(a,t.numberFormats[a])}))}}function wz(e){return Zr(Rr,null,e,0)}function xz(){return fi()}const kz=()=>[],Az=()=>!1;let Ez=0;function Oz(e){return(t,a,n,o)=>e(a,n,xz()||void 0,o)}function Sz(e={}){const{__root:t,__injectWithOption:n}=e,o=void 0===t,r=e.flatJson,i=IV?Lt:Rt;let s=!XV(e.inheritLocale)||e.inheritLocale;const l=i(t&&s?t.locale.value:ZV(e.locale)?e.locale:q$),c=i(t&&s?t.fallbackLocale.value:ZV(e.fallbackLocale)||GV(e.fallbackLocale)||nF(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:l.value),d=i(vz(l.value,e)),u=i(nF(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),p=i(nF(e.numberFormats)?e.numberFormats:{[l.value]:{}});let m=t?t.missingWarn:!XV(e.missingWarn)&&!FV(e.missingWarn)||e.missingWarn,f=t?t.fallbackWarn:!XV(e.fallbackWarn)&&!FV(e.fallbackWarn)||e.fallbackWarn,h=t?t.fallbackRoot:!XV(e.fallbackRoot)||e.fallbackRoot,b=!!e.fallbackFormat,g=JV(e.missing)?e.missing:null,v=JV(e.missing)?Oz(e.missing):null,_=JV(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:!XV(e.warnHtmlMessage)||e.warnHtmlMessage,w=!!e.escapeParameter;const x=t?t.modifiers:nF(e.modifiers)?e.modifiers:{};let k,A=e.pluralRules||t&&t.pluralRules;k=(()=>{o&&aB(null);const t={version:"11.2.8",locale:l.value,fallbackLocale:c.value,messages:d.value,modifiers:x,pluralRules:A,missing:null===v?void 0:v,missingWarn:m,fallbackWarn:f,fallbackFormat:b,unresolving:!0,postTranslation:null===_?void 0:_,warnHtmlMessage:y,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=u.value,t.numberFormats=p.value,t.__datetimeFormatters=nF(k)?k.__datetimeFormatters:void 0,t.__numberFormatters=nF(k)?k.__numberFormatters:void 0,"production"!==a.env.NODE_ENV&&(t.__v_emitter=nF(k)?k.__v_emitter:void 0);const n=oB(t);return o&&aB(n),n})(),cB(k,l.value,c.value);const E=Pi({get:()=>l.value,set:e=>{k.locale=e,l.value=e}}),O=Pi({get:()=>c.value,set:e=>{k.fallbackLocale=e,c.value=e,cB(k,l.value,e)}}),S=Pi((()=>d.value)),T=Pi((()=>u.value)),C=Pi((()=>p.value));const D=(e,n,r,i,s,b)=>{let g;l.value,c.value,d.value,u.value,p.value;try{"production"!==a.env.NODE_ENV||__INTLIFY_PROD_DEVTOOLS__,o||(k.fallbackContext=t?tB:void 0),g=e(k)}finally{"production"!==a.env.NODE_ENV||__INTLIFY_PROD_DEVTOOLS__,o||(k.fallbackContext=void 0)}if("translate exists"!==r&&VV(g)&&-1===g||"translate exists"===r&&!g){const[e,o]=n();if("production"!==a.env.NODE_ENV&&t&&ZV(e)&&(v=o,"translate"!==r||!v.resolvedMessage)&&(h&&(iB(f,e)||sB(m,e))&&TV(bz(cz,{key:e,type:r})),"production"!==a.env.NODE_ENV)){const{__v_emitter:t}=k;t&&h&&t.emit("fallback",{type:r,key:e,to:"global",groupId:`${r}:${e}`})}return t&&h?i(t):s(e)}if(b(g))return g;throw XB(zB);var v};function I(...e){return D((t=>Reflect.apply(IB,null,[t,...e])),(()=>PB(...e)),"translate",(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>ZV(e)))}const N={normalize:function(e){return e.map((e=>ZV(e)||VV(e)||XV(e)?wz(String(e)):e))},interpolate:e=>e,type:"vnode"};function M(e){return d.value[e]||{}}Ez++,t&&IV&&(br(t.locale,(e=>{s&&(l.value=e,k.locale=e,cB(k,l.value,c.value))})),br(t.fallbackLocale,(e=>{s&&(c.value=e,k.fallbackLocale=e,cB(k,l.value,c.value))})));const P={id:Ez,locale:E,fallbackLocale:O,get inheritLocale(){return s},set inheritLocale(e){s=e,e&&t&&(l.value=t.locale.value,c.value=t.fallbackLocale.value,cB(k,l.value,c.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:S,get modifiers(){return x},get pluralRules(){return A||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(e){m=e,k.missingWarn=m},get fallbackWarn(){return f},set fallbackWarn(e){f=e,k.fallbackWarn=f},get fallbackRoot(){return h},set fallbackRoot(e){h=e},get fallbackFormat(){return b},set fallbackFormat(e){b=e,k.fallbackFormat=b},get warnHtmlMessage(){return y},set warnHtmlMessage(e){y=e,k.warnHtmlMessage=e},get escapeParameter(){return w},set escapeParameter(e){w=e,k.escapeParameter=e},t:I,getLocaleMessage:M,setLocaleMessage:function(e,t){if(r){const a={[e]:t};for(const e in a)QV(a,e)&&gz(a[e]);t=a[e]}d.value[e]=t,k.messages=d.value},mergeLocaleMessage:function(e,t){d.value[e]=d.value[e]||{};const a={[e]:t};if(r)for(const n in a)QV(a,n)&&gz(a[n]);sF(t=a[e],d.value[e]),k.messages=d.value},getPostTranslationHandler:function(){return JV(_)?_:null},setPostTranslationHandler:function(e){_=e,k.postTranslation=e},getMissingHandler:function(){return g},setMissingHandler:function(e){null!==e&&(v=Oz(e)),g=e,k.missing=v},[iz]:function(e){A=e,k.pluralRules=A}};return P.datetimeFormats=T,P.numberFormats=C,P.rt=function(...e){const[t,a,n]=e;if(n&&!eF(n))throw XB(UB);return I(t,a,BV({resolvedMessage:!0},n||{}))},P.te=function(e,t){return D((()=>{if(!e)return!1;const a=M(ZV(t)?t:l.value),n=k.messageResolver(a,e);return KF(n)||DB(n)||ZV(n)}),(()=>[e]),"translate exists",(a=>Reflect.apply(a.te,a,[e,t])),Az,(e=>XV(e)))},P.tm=function(e){const a=function(e){let t=null;const a=C$(k,c.value,l.value);for(let n=0;n<a.length;n++){const o=d.value[a[n]]||{},r=k.messageResolver(o,e);if(null!=r){t=r;break}}return t}(e);return null!=a?a:t&&t.tm(e)||{}},P.d=function(...e){return D((t=>Reflect.apply(hB,null,[t,...e])),(()=>gB(...e)),"datetime format",(t=>Reflect.apply(t.d,t,[...e])),(()=>""),(e=>ZV(e)||GV(e)))},P.n=function(...e){return D((t=>Reflect.apply(_B,null,[t,...e])),(()=>wB(...e)),"number format",(t=>Reflect.apply(t.n,t,[...e])),(()=>""),(e=>ZV(e)||GV(e)))},P.getDateTimeFormat=function(e){return u.value[e]||{}},P.setDateTimeFormat=function(e,t){u.value[e]=t,k.datetimeFormats=u.value,vB(k,e,t)},P.mergeDateTimeFormat=function(e,t){u.value[e]=BV(u.value[e]||{},t),k.datetimeFormats=u.value,vB(k,e,t)},P.getNumberFormat=function(e){return p.value[e]||{}},P.setNumberFormat=function(e,t){p.value[e]=t,k.numberFormats=p.value,xB(k,e,t)},P.mergeNumberFormat=function(e,t){p.value[e]=BV(p.value[e]||{},t),k.numberFormats=p.value,xB(k,e,t)},P[sz]=n,P[tz]=function(...e){return D((t=>{let a;const n=t;try{n.processor=N,a=Reflect.apply(IB,null,[n,...e])}finally{n.processor=null}return a}),(()=>PB(...e)),"translate",(t=>t[tz](...e)),(e=>[wz(e)]),(e=>GV(e)))},P[az]=function(...e){return D((t=>Reflect.apply(hB,null,[t,...e])),(()=>gB(...e)),"datetime format",(t=>t[az](...e)),kz,(e=>ZV(e)||GV(e)))},P[nz]=function(...e){return D((t=>Reflect.apply(_B,null,[t,...e])),(()=>wB(...e)),"number format",(t=>t[nz](...e)),kz,(e=>ZV(e)||GV(e)))},"production"!==a.env.NODE_ENV&&(P[oz]=e=>{k.__v_emitter=e},P[rz]=()=>{k.__v_emitter=void 0}),P}const Tz="vue-i18n: composer properties",Cz="Vue I18n DevTools",Dz="Vue I18n DevTools",Iz="Vue I18n",Nz="Search for scopes ...",Mz=16764185;let Pz;async function Lz(e,t){return new Promise(((a,n)=>{try{BB({id:"vue-devtools-plugin-vue-i18n",label:Cz,packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Tz],app:e},(n=>{Pz=n,n.on.visitComponentTree((({componentInstance:e,treeNode:a})=>{!function(e,t,a){const n="composition"===a.mode?a.global:a.global.__composer;if(e&&e.__VUE_I18N__&&e.__VUE_I18N__!==n){const a={label:`i18n (${Rz(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(a)}}(e,a,t)})),n.on.inspectComponent((({componentInstance:e,instanceData:a})=>{e.__VUE_I18N__&&a&&("legacy"===t.mode?e.__VUE_I18N__!==t.global.__composer&&jz(a,e.__VUE_I18N__):jz(a,e.__VUE_I18N__))})),n.addInspector({id:"vue-i18n-resource-inspector",label:Dz,icon:"language",treeFilterPlaceholder:Nz}),n.on.getInspectorTree((a=>{a.app===e&&"vue-i18n-resource-inspector"===a.inspectorId&&function(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const a="composition"===t.mode?t.global:t.global.__composer;for(const[n,o]of t.__instances){const r="composition"===t.mode?o:o.__composer;a!==r&&e.rootNodes.push({id:r.id.toString(),label:`${Rz(n)} Scope`})}}(a,t)}));const o=new Map;n.on.getInspectorState((async a=>{if(a.app===e&&"vue-i18n-resource-inspector"===a.inspectorId)if(n.unhighlightElement(),function(e,t){const a=zz(e.nodeId,t);a&&(e.state=function(e){const t={},a="Locale related info",n=[{type:a,key:"locale",editable:!0,value:e.locale.value},{type:a,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:a,key:"availableLocales",editable:!1,value:e.availableLocales},{type:a,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[a]=n;const o="Locale messages info",r=[{type:o,key:"messages",editable:!1,value:Vz(e.messages.value)}];t[o]=r;{const a="Datetime formats info",n=[{type:a,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[a]=n;const o="Datetime formats info",r=[{type:o,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[o]=r}return t}(a))}(a,t),"global"===a.nodeId){if(!o.has(a.app)){const[e]=await n.getComponentInstances(a.app);o.set(a.app,e)}n.highlightElement(o.get(a.app))}else{const e=function(e,t){let a=null;if("global"!==e)for(const[n,o]of t.__instances.entries())if(o.id.toString()===e){a=n;break}return a}(a.nodeId,t);e&&n.highlightElement(e)}})),n.on.editInspectorState((a=>{a.app===e&&"vue-i18n-resource-inspector"===a.inspectorId&&function(e,t){const a=zz(e.nodeId,t);if(a){const[t]=e.path;"locale"===t&&ZV(e.state.value)?a.locale.value=e.state.value:"fallbackLocale"===t&&(ZV(e.state.value)||GV(e.state.value)||eF(e.state.value))?a.fallbackLocale.value=e.state.value:"inheritLocale"===t&&XV(e.state.value)&&(a.inheritLocale=e.state.value)}}(a,t)})),n.addTimelineLayer({id:"vue-i18n-timeline",label:Iz,color:Mz}),a(!0)}))}catch(sS){console.error(sS),n(!1)}}))}function Rz(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function jz(e,t){const a=Tz;e.state.push({type:a,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:a,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:a,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:a,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:a,key:"messages",editable:!1,value:Vz(t.messages.value)}),e.state.push({type:a,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:a,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Vz(e){const t={};return Object.keys(e).forEach((a=>{const n=e[a];var o;JV(n)&&"source"in n?t[a]={_custom:{type:"function",display:"<span>ƒ</span> "+((o=n).source?`("${$z(o.source)}")`:"(?)")}}:KF(n)&&n.loc&&n.loc.source?t[a]=n.loc.source:eF(n)?t[a]=Vz(n):t[a]=n})),t}const Fz={"<":"<",">":">",'"':""","&":"&"};function $z(e){return e.replace(/[<>"&]/g,Bz)}function Bz(e){return Fz[e]||e}function zz(e,t){if("global"===e)return"composition"===t.mode?t.global:t.global.__composer;{const a=Array.from(t.__instances.values()).find((t=>t.id.toString()===e));return a?"composition"===t.mode?a:a.__composer:null}}function Uz(e,t){if(Pz){let a;t&&"groupId"in t&&(a=t.groupId,delete t.groupId),Pz.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:a,time:Date.now(),meta:{},data:t||{},logType:"compile-error"===e?"error":"fallback"===e||"missing"===e?"warning":"default"}})}}function Wz(e={}){const t=Sz(function(e){const t=ZV(e.locale)?e.locale:q$,a=ZV(e.fallbackLocale)||GV(e.fallbackLocale)||nF(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,n=JV(e.missing)?e.missing:void 0,o=!XV(e.silentTranslationWarn)&&!FV(e.silentTranslationWarn)||!e.silentTranslationWarn,r=!XV(e.silentFallbackWarn)&&!FV(e.silentFallbackWarn)||!e.silentFallbackWarn,i=!XV(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,l=nF(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=JV(e.postTranslation)?e.postTranslation:void 0,u=!ZV(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,p=!!e.escapeParameterHtml,m=!XV(e.sync)||e.sync;let f=e.messages;if(nF(e.sharedMessages)){const t=e.sharedMessages;f=Object.keys(t).reduce(((e,a)=>{const n=e[a]||(e[a]={});return BV(n,t[a]),e}),f||{})}const{__i18n:h,__root:b,__injectWithOption:g}=e,v=e.datetimeFormats,_=e.numberFormats;return{locale:t,fallbackLocale:a,messages:f,flatJson:e.flatJson,datetimeFormats:v,numberFormats:_,missing:n,missingWarn:o,fallbackWarn:r,fallbackRoot:i,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:u,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:m,__i18n:h,__root:b,__injectWithOption:g}}(e)),{__extender:n}=e,o={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return XV(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=XV(e)?!e:e},get silentFallbackWarn(){return XV(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=XV(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t:(...e)=>Reflect.apply(t.t,t,[...e]),rt:(...e)=>Reflect.apply(t.rt,t,[...e]),te:(e,a)=>t.te(e,a),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,a){t.setLocaleMessage(e,a)},mergeLocaleMessage(e,a){t.mergeLocaleMessage(e,a)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,a){t.setDateTimeFormat(e,a)},mergeDateTimeFormat(e,a){t.mergeDateTimeFormat(e,a)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,a){t.setNumberFormat(e,a)},mergeNumberFormat(e,a){t.mergeNumberFormat(e,a)}};return o.__extender=n,"production"!==a.env.NODE_ENV&&(o.__enableEmitter=e=>{const a=t;a[oz]&&a[oz](e)},o.__disableEmitter=()=>{const e=t;e[rz]&&e[rz]()}),o}function Hz(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[iz](t.pluralizationRules||e.pluralizationRules);const a=vz(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(a).forEach((t=>e.mergeLocaleMessage(t,a[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((a=>e.mergeNumberFormat(a,t.numberFormats[a]))),e}const Yz={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function Kz(){return Lr}const qz=Cn({name:"i18n-t",props:BV({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>VV(e)||!isNaN(e)}},Yz),setup(e,t){const{slots:a,attrs:n}=t,o=e.i18n||aU({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(a).filter((e=>"_"!==e[0])),i=UV();e.locale&&(i.locale=e.locale),void 0!==e.plural&&(i.plural=ZV(e.plural)?+e.plural:e.plural);const s=function({slots:e},t){if(1===t.length&&"default"===t[0])return(e.default?e.default():[]).reduce(((e,t)=>[...e,...t.type===Lr?t.children:[t]]),[]);return t.reduce(((t,a)=>{const n=e[a];return n&&(t[a]=n()),t}),UV())}(t,r),l=o[tz](e.keypath,s,i),c=BV(UV(),n);return Li(ZV(e.tag)||eF(e.tag)?e.tag:Kz(),c,l)}}});function Qz(e,t,a,n){const{slots:o,attrs:r}=t;return()=>{const t={part:!0};let i=UV();e.locale&&(t.locale=e.locale),ZV(e.format)?t.key=e.format:eF(e.format)&&(ZV(e.format.key)&&(t.key=e.format.key),i=Object.keys(e.format).reduce(((t,n)=>a.includes(n)?BV(UV(),t,{[n]:e.format[n]}):t),UV()));const s=n(e.value,t,i);let l=[t.key];GV(s)?l=s.map(((e,t)=>{const a=o[e.type],n=a?a({[e.type]:e.value,index:t,parts:s}):[e.value];var r;return GV(r=n)&&!ZV(r[0])&&(n[0].key=`${e.type}-${t}`),n})):ZV(s)&&(l=[s]);const c=BV(UV(),r);return Li(ZV(e.tag)||eF(e.tag)?e.tag:Kz(),c,l)}}const Gz=Cn({name:"i18n-n",props:BV({value:{type:Number,required:!0},format:{type:[String,Object]}},Yz),setup(e,t){const a=e.i18n||aU({useScope:e.scope,__useComponent:!0});return Qz(e,t,yB,((...e)=>a[nz](...e)))}});function Jz(e){if(ZV(e))return{path:e};if(nF(e)){if(!("path"in e))throw XB(YB,"path");return e}throw XB(KB)}function Zz(e){const{path:t,locale:a,args:n,choice:o,plural:r}=e,i={},s=n||{};return ZV(a)&&(i.locale=a),VV(o)&&(i.plural=o),VV(r)&&(i.plural=r),[t,s,i]}function Xz(e,t,...n){const o=nF(n[0])?n[0]:{};(!XV(o.globalInstall)||o.globalInstall)&&([qz.name,"I18nT"].forEach((t=>e.component(t,qz))),[Gz.name,"I18nN"].forEach((t=>e.component(t,Gz))),[rU.name,"I18nD"].forEach((t=>e.component(t,rU)))),e.directive("t",function(e){const t=t=>{"production"!==a.env.NODE_ENV&&DV(bz(mz));const{instance:n,value:o}=t;if(!n||!n.$)throw XB(GB);const r=function(e,t){const a=e;if("composition"===e.mode)return a.__getInstance(t)||e.global;{const n=a.__getInstance(t);return null!=n?n.__composer:e.global.__composer}}(e,n.$),i=Jz(o);return[Reflect.apply(r.t,r,[...Zz(i)]),r]};return{created:(a,n)=>{const[o,r]=t(n);IV&&e.global===r&&(a.__i18nWatcher=br(r.locale,(()=>{n.instance&&n.instance.$forceUpdate()}))),a.__composer=r,a.textContent=o},unmounted:e=>{IV&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const a=e.__composer,n=Jz(t);e.textContent=Reflect.apply(a.t,a,[...Zz(n)])}},getSSRProps:e=>{const[a]=t(e);return{textContent:a}}}}(t))}const eU=RV("global-vue-i18n");function tU(e={}){const t=__VUE_I18N_LEGACY_API__&&XV(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__;"production"!==a.env.NODE_ENV&&t&&DV(bz(pz));const n=!XV(e.globalInjection)||e.globalInjection,o=new Map,[r,i]=function(e,t){const a=ue(),n=__VUE_I18N_LEGACY_API__&&t?a.run((()=>Wz(e))):a.run((()=>Sz(e)));if(null==n)throw XB(GB);return[a,n]}(e,t),s=RV("production"!==a.env.NODE_ENV?"vue-i18n":"");const l={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(e,...o){if("production"!==a.env.NODE_ENV&&(e.__VUE_I18N__=l),e.__VUE_I18N_SYMBOL__=s,e.provide(e.__VUE_I18N_SYMBOL__,l),nF(o[0])){const e=o[0];l.__composerExtend=e.__composerExtend,l.__vueI18nExtend=e.__vueI18nExtend}let r=null;!t&&n&&(r=function(e,t){const a=Object.create(null);nU.forEach((e=>{const n=Object.getOwnPropertyDescriptor(t,e);if(!n)throw XB(GB);const o=Pt(n.value)?{get:()=>n.value.value,set(e){n.value.value=e}}:{get:()=>n.get&&n.get()};Object.defineProperty(a,e,o)})),e.config.globalProperties.$i18n=a,oU.forEach((a=>{const n=Object.getOwnPropertyDescriptor(t,a);if(!n||!n.value)throw XB(GB);Object.defineProperty(e.config.globalProperties,`$${a}`,n)}));const n=()=>{delete e.config.globalProperties.$i18n,oU.forEach((t=>{delete e.config.globalProperties[`$${t}`]}))};return n}(e,l.global)),__VUE_I18N_FULL_INSTALL__&&Xz(e,l,...o),__VUE_I18N_LEGACY_API__&&t&&e.mixin(function(e,t,n){return{beforeCreate(){const a=xz();if(!a)throw XB(GB);const o=this.$options;if(o.i18n){const a=o.i18n;if(o.__i18n&&(a.__i18n=o.__i18n),a.__root=t,this===this.$root)this.$i18n=Hz(e,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=Wz(a);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Hz(e,o);else{this.$i18n=Wz({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&yz(t,o,o),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(a,this.$i18n)},mounted(){if("production"!==a.env.NODE_ENV&&this.$i18n){const e=xz();if(!e)return;const t=this.$i18n;e.__VUE_I18N__=t.__composer;const a=this.__v_emitter=rF();t.__enableEmitter&&t.__enableEmitter(a),a.on("*",Uz)}},unmounted(){const e=xz();if(!e)throw XB(GB);const t=this.$i18n;"production"!==a.env.NODE_ENV&&e.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Uz),delete this.__v_emitter),this.$i18n&&(t.__disableEmitter&&t.__disableEmitter(),delete e.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}(i,i.__composer,l));const c=e.unmount;if(e.unmount=()=>{r&&r(),l.dispose(),c()},"production"!==a.env.NODE_ENV){if(!(await Lz(e,l)))throw XB(qB);const a=rF();if(t){const e=i;e.__enableEmitter&&e.__enableEmitter(a)}else{const e=i;e[oz]&&e[oz](a)}a.on("*",Uz)}},get global(){return i},dispose(){r.stop()},__instances:o,__getInstance:function(e){return o.get(e)||null},__setInstance:function(e,t){o.set(e,t)},__deleteInstance:function(e){o.delete(e)}};return l}function aU(e={}){const t=xz();if(null==t)throw XB(WB);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw XB(HB);const n=function(e){const t=Po(e.isCE?eU:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw XB(e.isCE?QB:GB);return t}(t),o=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),r=_z(t),i=function(e,t){return $V(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,r);if("global"===i)return yz(o,e,r),o;if("parent"===i){let r=function(e,t,a=!1){let n=null;const o=t.root;let r=function(e,t=!1){if(null==e)return null;return t&&e.vnode.ctx||e.parent}(t,a);for(;null!=r;){const t=e;if("composition"===e.mode)n=t.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const e=t.__getInstance(r);null!=e&&(n=e.__composer,a&&n&&!n[sz]&&(n=null))}if(null!=n)break;if(o===r)break;r=r.parent}return n}(n,t,e.__useComponent);return null==r&&("production"!==a.env.NODE_ENV&&TV(bz(dz)),r=o),r}const s=n;let l=s.__getInstance(t);if(null==l){const n=BV({},e);"__i18n"in r&&(n.__i18n=r.__i18n),o&&(n.__root=o),l=Sz(n),s.__composerExtend&&(l[lz]=s.__composerExtend(l)),function(e,t,n){let o=null;zn((()=>{if("production"!==a.env.NODE_ENV){t.__VUE_I18N__=n,o=rF();const e=n;e[oz]&&e[oz](o),o.on("*",Uz)}}),t),Yn((()=>{const r=n;"production"!==a.env.NODE_ENV&&(o&&o.off("*",Uz),r[rz]&&r[rz](),delete t.__VUE_I18N__),e.__deleteInstance(t);const i=r[lz];i&&(i(),delete r[lz])}),t)}(s,t,l),s.__setInstance(t,l)}else"production"!==a.env.NODE_ENV&&"local"===i&&TV(bz(fz));return l}const nU=["locale","fallbackLocale","availableLocales"],oU=["t","rt","d","n","tm","te"];const rU=Cn({name:"i18n-d",props:BV({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Yz),setup(e,t){const a=e.i18n||aU({useScope:e.scope,__useComponent:!0});return Qz(e,t,bB,((...e)=>a[az](...e)))}});var iU;if("boolean"!=typeof __VUE_I18N_FULL_INSTALL__&&(HV().__VUE_I18N_FULL_INSTALL__=!0),"boolean"!=typeof __VUE_I18N_LEGACY_API__&&(HV().__VUE_I18N_LEGACY_API__=!0),"boolean"!=typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(HV().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),"boolean"!=typeof __INTLIFY_PROD_DEVTOOLS__&&(HV().__INTLIFY_PROD_DEVTOOLS__=!1),G$=function(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ZV(e)){const n=!XV(t.warnHtmlMessage)||t.warnHtmlMessage;"production"!==a.env.NODE_ENV&&d$(e,n);const o=(t.onCacheKey||u$)(e),r=p$[o];if(r)return r;const{ast:i,detectError:s}=function(e,t={}){let a=!1;const n=t.onError||SF;return t.onError=e=>{a=!0,n(e)},{...YF(e,t),detectError:a}}(e,{...t,location:"production"!==a.env.NODE_ENV,jit:!0}),l=s$(i);return s?l:p$[o]=l}{if("production"!==a.env.NODE_ENV&&!KF(e))return TV(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const t=p$[n];return t||(p$[n]=s$(e))}return s$(e)}},J$=function(e,t){if(!eF(e))return null;let a=j$.get(t);if(a||(a=function(e){const t=[];let a,n,o,r,i,s,l,c=-1,d=0,u=0;const p=[];function m(){const t=e[c+1];if(5===d&&"'"===t||6===d&&'"'===t)return c++,o="\\"+t,p[0](),!0}for(p[0]=()=>{void 0===n?n=o:n+=o},p[1]=()=>{void 0!==n&&(t.push(n),n=void 0)},p[2]=()=>{p[0](),u++},p[3]=()=>{if(u>0)u--,d=4,p[0]();else{if(u=0,void 0===n)return!1;if(n=R$(n),!1===n)return!1;p[1]()}};null!==d;)if(c++,a=e[c],"\\"!==a||!m()){if(r=L$(a),l=M$[d],i=l[r]||l.l||8,8===i)return;if(d=i[0],void 0!==i[1]&&(s=p[i[1]],s&&(o=a,!1===s())))return;if(7===d)return t}}(t),a&&j$.set(t,a)),!a)return null;const n=a.length;let o=e,r=0;for(;r<n;){const e=a[r];if(r$.includes(e)&&KF(o))return null;const t=o[e];if(void 0===t)return null;if(JV(o))return null;o=t,r++}return o},Z$=C$,"production"!==a.env.NODE_ENV||__INTLIFY_PROD_DEVTOOLS__){const e=HV();e.__INTLIFY__=!0,iU=e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__,m$=iU}a.env.NODE_ENV;const sU=async()=>{const e=await async function(){return tU({legacy:!1,locale:"en",fallbackLocale:"en",messages:{en:{errorMessages:dm}}})}();return function(e){om=e}(e.global),e},lU={ArboTabs:iR,ArboToggle:fR,ArboInput:vy,ArboIcon:Zb,ArboButton:y_,ArboTooltip:m_,ArboThumbnail:lR,TessAvatar:wR,TessBreadcrumb:qR,TessAvatarGroup:ER,TessMoreActions:VR,TessHoverTile:GR,TessTimeTag:ZR},cU=async()=>{console.log("Initializing global search...","0.0.11");const e=dl(SV);e.provide("switchInstance",e.config.globalProperties.switchInstance);const t=function(){const e=ue(!0),t=e.run((()=>Lt({})));let n=[],o=[];const r=It({install(e){Ou(r),r._a=e,e.provide(Su,r),e.config.globalProperties.$pinia=r,"production"!==a.env.NODE_ENV&&"test"!==a.env.NODE_ENV&&Iu&&op(e,r),o.forEach((e=>n.push(e))),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return"production"!==a.env.NODE_ENV&&"test"!==a.env.NODE_ENV&&Iu&&"undefined"!=typeof Proxy&&r.use(lp),r}(),n=await sU();return Object.entries(lU).forEach((([t,a])=>{e.component(t,a)})),e.directive("arbo-tooltip",yO),e.directive("auto-focus",qy),e.use(n),console.log("Global search initialized successfully",n),e.config.errorHandler=(e,t,a)=>{console.error("Error:",e),console.error("Vue component:",t),console.error("Additional info:",a)},e.use(t),e},dU=()=>({baseDomain:sessionStorage.getItem("BASE_URL")||"",reviewDomain:sessionStorage.getItem("BASE_REVIEW_URL")||"",ws_code:Fh()}),uU=e=>e.ctrlKey||e.metaKey,pU=(e,t,a,n)=>{const o=Boolean(a&&Object.keys(a).length>0);if(e.preventDefault(),uU(e))window.open(t,"_blank");else{const e=new URLSearchParams(a).toString(),r=o?`${t}${t.includes("?")?"&":"?"}${e}`:t;try{n&&"function"==typeof n?n():window.location.href=r}catch(sS){console.error("Error replacing URL:",sS)}}},mU=(e,t,a)=>{if(e.preventDefault(),uU(e))window.open(t,"_blank");else{const e=new URLSearchParams(a).toString(),n=`${t}${t.includes("?")?"&":"?"}${e}`;try{window.location.href=n}catch(sS){console.error("Error replacing URL:",sS)}}};window.createGlobalSearchInstance=cU;const fU=cU;e.createGlobalSearchInstance=fU,e.createGlobalSearchPopup=e=>{const t=document.createElement("div");return t.classList.add("arbo-global-search"),t.id=e,t.setAttribute("el-id","popup-app"),document.body.appendChild(t),(()=>{const e=document.createElement("style");e.textContent="\n .arbo-global-search {\n display: none;\n position: fixed;\n top: 128px;\n left: calc(50vw - 500px);\n max-width: 1000px;\n width: 1000px;\n max-height: 80vh;\n background-color: rgba(0, 0, 0, 0.5);\n z-index: 888;\n }\n .arbo-global-search.show {\n display: block;\n }\n .arbo-global-search:before {\n content: '';\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: -1;\n background-color: rgba(0, 0, 0, 0.5);\n }\n ",document.head.appendChild(e)})(),t},e.default=fU,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
|
67
67
|
//# sourceMappingURL=index.umd.js.map
|