@dialpad/dialtone 9.118.0 → 9.119.0
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/tokens/doc.json +24090 -24090
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js +12 -12
- package/dist/vue2/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue2/localization/index.cjs +1 -5
- package/dist/vue2/localization/index.cjs.map +1 -1
- package/dist/vue2/localization/index.js +21 -4865
- package/dist/vue2/localization/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
"use strict";var ir=Object.defineProperty;var ar=(e,t,n)=>t in e?ir(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ce=(e,t,n)=>ar(e,typeof t!="symbol"?t+"":t,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("vue"),lr=(e,t,n)=>{const r=e[t];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((u,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})};class be{constructor(t){this.value=t}valueOf(){return this.value}}class C extends be{constructor(t="???"){super(t)}toString(t){return`{${this.value}}`}}class $ extends be{constructor(t,n={}){super(t),this.opts=n}toString(t){try{return t.memoizeIntlObject(Intl.NumberFormat,this.opts).format(this.value)}catch(n){return t.reportError(n),this.value.toString(10)}}}class ie extends be{constructor(t,n={}){super(t),this.opts=n}toString(t){try{return t.memoizeIntlObject(Intl.DateTimeFormat,this.opts).format(this.value)}catch(n){return t.reportError(n),new Date(this.value).toISOString()}}}const ut=100,cr="",fr="";function dr(e,t,n){if(n===t||n instanceof $&&t instanceof $&&n.value===t.value)return!0;if(t instanceof $&&typeof n=="string"){let r=e.memoizeIntlObject(Intl.PluralRules,t.opts).select(t.value);if(n===r)return!0}return!1}function ot(e,t,n){return t[n]?J(e,t[n].value):(e.reportError(new RangeError("No default")),new C)}function Ne(e,t){const n=[],r=Object.create(null);for(const u of t)u.type==="narg"?r[u.name]=le(e,u.value):n.push(le(e,u));return{positional:n,named:r}}function le(e,t){switch(t.type){case"str":return t.value;case"num":return new $(t.value,{minimumFractionDigits:t.precision});case"var":return _r(e,t);case"mesg":return hr(e,t);case"term":return pr(e,t);case"func":return Er(e,t);case"select":return gr(e,t);default:return new C}}function _r(e,{name:t}){let n;if(e.params)if(Object.prototype.hasOwnProperty.call(e.params,t))n=e.params[t];else return new C(`$${t}`);else if(e.args&&Object.prototype.hasOwnProperty.call(e.args,t))n=e.args[t];else return e.reportError(new ReferenceError(`Unknown variable: $${t}`)),new C(`$${t}`);if(n instanceof be)return n;switch(typeof n){case"string":return n;case"number":return new $(n);case"object":if(n instanceof Date)return new ie(n.getTime());default:return e.reportError(new TypeError(`Variable type not supported: $${t}, ${typeof n}`)),new C(`$${t}`)}}function hr(e,{name:t,attr:n}){const r=e.bundle._messages.get(t);if(!r)return e.reportError(new ReferenceError(`Unknown message: ${t}`)),new C(t);if(n){const u=r.attributes[n];return u?J(e,u):(e.reportError(new ReferenceError(`Unknown attribute: ${n}`)),new C(`${t}.${n}`))}return r.value?J(e,r.value):(e.reportError(new ReferenceError(`No value: ${t}`)),new C(t))}function pr(e,{name:t,attr:n,args:r}){const u=`-${t}`,o=e.bundle._terms.get(u);if(!o)return e.reportError(new ReferenceError(`Unknown term: ${u}`)),new C(u);if(n){const i=o.attributes[n];if(i){e.params=Ne(e,r).named;const f=J(e,i);return e.params=null,f}return e.reportError(new ReferenceError(`Unknown attribute: ${n}`)),new C(`${u}.${n}`)}e.params=Ne(e,r).named;const s=J(e,o.value);return e.params=null,s}function Er(e,{name:t,args:n}){let r=e.bundle._functions[t];if(!r)return e.reportError(new ReferenceError(`Unknown function: ${t}()`)),new C(`${t}()`);if(typeof r!="function")return e.reportError(new TypeError(`Function ${t}() is not callable`)),new C(`${t}()`);try{let u=Ne(e,n);return r(u.positional,u.named)}catch(u){return e.reportError(u),new C(`${t}()`)}}function gr(e,{selector:t,variants:n,star:r}){let u=le(e,t);if(u instanceof C)return ot(e,n,r);for(const o of n){const s=le(e,o.key);if(dr(e,u,s))return J(e,o.value)}return ot(e,n,r)}function wn(e,t){if(e.dirty.has(t))return e.reportError(new RangeError("Cyclic reference")),new C;e.dirty.add(t);const n=[],r=e.bundle._useIsolating&&t.length>1;for(const u of t){if(typeof u=="string"){n.push(e.bundle._transform(u));continue}if(e.placeables++,e.placeables>ut)throw e.dirty.delete(t),new RangeError(`Too many placeables expanded: ${e.placeables}, max allowed is ${ut}`);r&&n.push(cr),n.push(le(e,u).toString(e)),r&&n.push(fr)}return e.dirty.delete(t),n.join("")}function J(e,t){return typeof t=="string"?e.bundle._transform(t):wn(e,t)}class mr{constructor(t,n,r){this.dirty=new WeakSet,this.params=null,this.placeables=0,this.bundle=t,this.errors=n,this.args=r}reportError(t){if(!this.errors||!(t instanceof Error))throw t;this.errors.push(t)}memoizeIntlObject(t,n){let r=this.bundle._intls.get(t);r||(r={},this.bundle._intls.set(t,r));let u=JSON.stringify(n);return r[u]||(r[u]=new t(this.bundle.locales,n)),r[u]}}function ye(e,t){const n=Object.create(null);for(const[r,u]of Object.entries(e))t.includes(r)&&(n[r]=u.valueOf());return n}const st=["unitDisplay","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function vr(e,t){let n=e[0];if(n instanceof C)return new C(`NUMBER(${n.valueOf()})`);if(n instanceof $)return new $(n.valueOf(),{...n.opts,...ye(t,st)});if(n instanceof ie)return new $(n.valueOf(),{...ye(t,st)});throw new TypeError("Invalid argument to NUMBER")}const it=["dateStyle","timeStyle","fractionalSecondDigits","dayPeriod","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function yr(e,t){let n=e[0];if(n instanceof C)return new C(`DATETIME(${n.valueOf()})`);if(n instanceof ie)return new ie(n.valueOf(),{...n.opts,...ye(t,it)});if(n instanceof $)return new ie(n.valueOf(),{...ye(t,it)});throw new TypeError("Invalid argument to DATETIME")}const at=new Map;function Ar(e){const t=Array.isArray(e)?e.join(" "):e;let n=at.get(t);return n===void 0&&(n=new Map,at.set(t,n)),n}class He{constructor(t,{functions:n,useIsolating:r=!0,transform:u=o=>o}={}){this._terms=new Map,this._messages=new Map,this.locales=Array.isArray(t)?t:[t],this._functions={NUMBER:vr,DATETIME:yr,...n},this._useIsolating=r,this._transform=u,this._intls=Ar(t)}hasMessage(t){return this._messages.has(t)}getMessage(t){return this._messages.get(t)}addResource(t,{allowOverrides:n=!1}={}){const r=[];for(let u=0;u<t.body.length;u++){let o=t.body[u];if(o.id.startsWith("-")){if(n===!1&&this._terms.has(o.id)){r.push(new Error(`Attempt to override an existing term: "${o.id}"`));continue}this._terms.set(o.id,o)}else{if(n===!1&&this._messages.has(o.id)){r.push(new Error(`Attempt to override an existing message: "${o.id}"`));continue}this._messages.set(o.id,o)}}return r}formatPattern(t,n=null,r=null){if(typeof t=="string")return this._transform(t);let u=new mr(this,r,n);try{return wn(u,t).toString(u)}catch(o){if(u.errors&&o instanceof Error)return u.errors.push(o),new C().toString(u);throw o}}}class br extends Array{static from(t){return t instanceof this?t:new this(t)}}class wr extends br{constructor(t){if(super(),Symbol.iterator in Object(t))this.iterator=t[Symbol.iterator]();else throw new TypeError("Argument must implement the iteration protocol.")}[Symbol.iterator](){const t=this;let n=0;return{next(){return t.length<=n&&t.push(t.iterator.next()),t[n++]}}}touchNext(t=1){let n=0;for(;n++<t;){const r=this[this.length-1];if(r&&r.done)break;this.push(this.iterator.next())}return this[this.length-1]}}function Or(e,t){return Array.isArray(t)?t.map(n=>lt(e,n)):lt(e,t)}function lt(e,t){for(const n of e)if(n.hasMessage(t))return n;return null}function Sr(e,t){const n=new He(e,{functions:t._functions,useIsolating:t._useIsolating,transform:t._transform});return n._terms=new Map(t._terms),n._messages=new Map(t._messages),n}function Tr(e,t){if(!e)throw new Error(`[fluent-vue] ${t}`)}function Q(e,...t){console.warn(`[fluent-vue] ${e}`,...t)}var On=class{constructor(e,t){this.options=t,this.format=(n,r)=>{const u=this.getBundle(n),o=this.getMessage(u,n);return this._format(u,o,r)??n},this.formatAttrs=(n,r)=>{const u=this.getBundle(n),o=this.getMessage(u,n);return this._formatAttrs(u,o,r)??{}},this.formatWithAttrs=(n,r)=>{const u=this.getBundle(n),o=this.getMessage(u,n),s=this._format(u,o,r);return{value:s??n,attributes:this._formatAttrs(u,o,r)??{},hasValue:s!==null}},this.$t=this.format,this.$ta=this.formatAttrs,this.bundles=e}getBundle(e){return Or(this.bundles.value,e)}getMessage(e,t){const n=e==null?void 0:e.getMessage(t);return n===void 0?(this.options.warnMissing(t),null):n}formatPattern(e,t,n,r){const u=[],o=r;if(o!=null&&this.options.mapVariable!=null)for(const[i,f]of Object.entries(o)){const h=this.options.mapVariable(f);h!=null&&(o[i]=h)}const s=e.formatPattern(n,o,u);for(const i of u)Q(`Error when formatting message with key [${t}]`,i);return s}_format(e,t,n){return e===null||t===null||t.value===null?null:this.formatPattern(e,t.id,t.value,n)}_formatAttrs(e,t,n){if(e===null||t===null)return null;const r={};for(const[u,o]of Object.entries(t.attributes))r[u]=this.formatPattern(e,t.id,o,n);return r}};function*Cr(e,t){for(const n of e)yield*t(n)}function Z(e,t,n=!1){if(t==null)return e;const r=t.$options;if(r._fluent!=null)return r._fluent;const u=Sn(e,r.fluent);return!n&&!(typeof window>"u")&&(r._fluent=u),u}function Sn(e,t){if(t==null)return e;const n=R.computed(()=>wr.from(Cr(e.bundles.value,r=>Object.entries(t).map(([u,o])=>{const s=u.split(/[\s+,]/);if(r.locales.filter(h=>s.includes(h)).length===0)return r;const f=Sr(s,r);return f.addResource(o,{allowOverrides:!0}),f}))));return new On(n,e.options)}var Ir=Symbol("root-context"),Dr=Object.create,Tn=Object.defineProperty,kr=Object.getOwnPropertyDescriptor,je=Object.getOwnPropertyNames,Rr=Object.getPrototypeOf,xr=Object.prototype.hasOwnProperty,Pr=(e,t)=>function(){return e&&(t=(0,e[je(e)[0]])(e=0)),t},Nr=(e,t)=>function(){return t||(0,e[je(e)[0]])((t={exports:{}}).exports,t),t.exports},Lr=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of je(t))!xr.call(e,u)&&u!==n&&Tn(e,u,{get:()=>t[u],enumerable:!(r=kr(t,u))||r.enumerable});return e},Vr=(e,t,n)=>(n=e!=null?Dr(Rr(e)):{},Lr(Tn(n,"default",{value:e,enumerable:!0}),e)),he=Pr({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),Fr=Nr({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){he(),t.exports=r;function n(o){return o instanceof Buffer?Buffer.from(o):new o.constructor(o.buffer.slice(),o.byteOffset,o.length)}function r(o){if(o=o||{},o.circles)return u(o);const s=new Map;if(s.set(Date,a=>new Date(a)),s.set(Map,(a,p)=>new Map(f(Array.from(a),p))),s.set(Set,(a,p)=>new Set(f(Array.from(a),p))),o.constructorHandlers)for(const a of o.constructorHandlers)s.set(a[0],a[1]);let i=null;return o.proto?A:h;function f(a,p){const c=Object.keys(a),_=new Array(c.length);for(let v=0;v<c.length;v++){const E=c[v],g=a[E];typeof g!="object"||g===null?_[E]=g:g.constructor!==Object&&(i=s.get(g.constructor))?_[E]=i(g,p):ArrayBuffer.isView(g)?_[E]=n(g):_[E]=p(g)}return _}function h(a){if(typeof a!="object"||a===null)return a;if(Array.isArray(a))return f(a,h);if(a.constructor!==Object&&(i=s.get(a.constructor)))return i(a,h);const p={};for(const c in a){if(Object.hasOwnProperty.call(a,c)===!1)continue;const _=a[c];typeof _!="object"||_===null?p[c]=_:_.constructor!==Object&&(i=s.get(_.constructor))?p[c]=i(_,h):ArrayBuffer.isView(_)?p[c]=n(_):p[c]=h(_)}return p}function A(a){if(typeof a!="object"||a===null)return a;if(Array.isArray(a))return f(a,A);if(a.constructor!==Object&&(i=s.get(a.constructor)))return i(a,A);const p={};for(const c in a){const _=a[c];typeof _!="object"||_===null?p[c]=_:_.constructor!==Object&&(i=s.get(_.constructor))?p[c]=i(_,A):ArrayBuffer.isView(_)?p[c]=n(_):p[c]=A(_)}return p}}function u(o){const s=[],i=[],f=new Map;if(f.set(Date,c=>new Date(c)),f.set(Map,(c,_)=>new Map(A(Array.from(c),_))),f.set(Set,(c,_)=>new Set(A(Array.from(c),_))),o.constructorHandlers)for(const c of o.constructorHandlers)f.set(c[0],c[1]);let h=null;return o.proto?p:a;function A(c,_){const v=Object.keys(c),E=new Array(v.length);for(let g=0;g<v.length;g++){const O=v[g],b=c[O];if(typeof b!="object"||b===null)E[O]=b;else if(b.constructor!==Object&&(h=f.get(b.constructor)))E[O]=h(b,_);else if(ArrayBuffer.isView(b))E[O]=n(b);else{const I=s.indexOf(b);I!==-1?E[O]=i[I]:E[O]=_(b)}}return E}function a(c){if(typeof c!="object"||c===null)return c;if(Array.isArray(c))return A(c,a);if(c.constructor!==Object&&(h=f.get(c.constructor)))return h(c,a);const _={};s.push(c),i.push(_);for(const v in c){if(Object.hasOwnProperty.call(c,v)===!1)continue;const E=c[v];if(typeof E!="object"||E===null)_[v]=E;else if(E.constructor!==Object&&(h=f.get(E.constructor)))_[v]=h(E,a);else if(ArrayBuffer.isView(E))_[v]=n(E);else{const g=s.indexOf(E);g!==-1?_[v]=i[g]:_[v]=a(E)}}return s.pop(),i.pop(),_}function p(c){if(typeof c!="object"||c===null)return c;if(Array.isArray(c))return A(c,p);if(c.constructor!==Object&&(h=f.get(c.constructor)))return h(c,p);const _={};s.push(c),i.push(_);for(const v in c){const E=c[v];if(typeof E!="object"||E===null)_[v]=E;else if(E.constructor!==Object&&(h=f.get(E.constructor)))_[v]=h(E,p);else if(ArrayBuffer.isView(E))_[v]=n(E);else{const g=s.indexOf(E);g!==-1?_[v]=i[g]:_[v]=p(E)}}return s.pop(),i.pop(),_}}}});he();he();he();var Br=typeof navigator<"u",m=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{},ct;typeof navigator<"u"&&((ct=navigator.userAgent)==null||ct.toLowerCase().includes("electron"));he();var Ur=Vr(Fr()),Mr=/(?:^|[-_/])(\w)/g;function $r(e,t){return t?t.toUpperCase():""}function Kr(e){return e&&`${e}`.replace(Mr,$r)}function zr(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const r=n.lastIndexOf("/"),u=n.substring(r+1);{const o=u.lastIndexOf(t);return u.substring(0,o)}}var ft=(0,Ur.default)({circles:!0});const Hr={trailing:!0};function ee(e,t=25,n={}){if(n={...Hr,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,u,o=[],s,i;const f=(h,A)=>(s=jr(e,h,A),s.finally(()=>{if(s=null,n.trailing&&i&&!u){const a=f(h,i);return i=null,a}}),s);return function(...h){return s?(n.trailing&&(i=h),s):new Promise(A=>{const a=!u&&n.leading;clearTimeout(u),u=setTimeout(()=>{u=null;const p=n.leading?r:f(this,h);for(const c of o)c(p);o=[]},t),a?(r=f(this,h),A(r)):o.push(A)})}}async function jr(e,t,n){return await e.apply(t,n)}function Le(e,t={},n){for(const r in e){const u=e[r],o=n?`${n}:${r}`:r;typeof u=="object"&&u!==null?Le(u,t,o):typeof u=="function"&&(t[o]=u)}return t}const Gr={run:e=>e()},Wr=()=>Gr,Cn=typeof console.createTask<"u"?console.createTask:Wr;function qr(e,t){const n=t.shift(),r=Cn(n);return e.reduce((u,o)=>u.then(()=>r.run(()=>o(...t))),Promise.resolve())}function Yr(e,t){const n=t.shift(),r=Cn(n);return Promise.all(e.map(u=>r.run(()=>u(...t))))}function Ie(e,t){for(const n of[...e])n(t)}class Zr{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const u=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let s=o.message;s||(s=`${u} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,u=(...o)=>(typeof r=="function"&&r(),r=void 0,u=void 0,n(...o));return r=this.hook(t,u),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const u of r)this.hook(t,u)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Le(t),r=Object.keys(n).map(u=>this.hook(u,n[u]));return()=>{for(const u of r.splice(0,r.length))u()}}removeHooks(t){const n=Le(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(qr,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Yr,t,...n)}callHookWith(t,n,...r){const u=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Ie(this._before,u);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&u&&Ie(this._after,u)}):(this._after&&u&&Ie(this._after,u),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function In(){return new Zr}var Xr=Object.create,Dn=Object.defineProperty,Jr=Object.getOwnPropertyDescriptor,Ge=Object.getOwnPropertyNames,Qr=Object.getPrototypeOf,eu=Object.prototype.hasOwnProperty,tu=(e,t)=>function(){return e&&(t=(0,e[Ge(e)[0]])(e=0)),t},kn=(e,t)=>function(){return t||(0,e[Ge(e)[0]])((t={exports:{}}).exports,t),t.exports},nu=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of Ge(t))!eu.call(e,u)&&u!==n&&Dn(e,u,{get:()=>t[u],enumerable:!(r=Jr(t,u))||r.enumerable});return e},ru=(e,t,n)=>(n=e!=null?Xr(Qr(e)):{},nu(Dn(n,"default",{value:e,enumerable:!0}),e)),l=tu({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),uu=kn({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){l(),function(n){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},u=["်","ް"],o={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},s={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},i={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},f=[";","?",":","@","&","=","+","$",",","/"].join(""),h=[";","?",":","@","&","=","+","$",","].join(""),A=[".","!","~","*","'","(",")"].join(""),a=function(E,g){var O="-",b="",I="",H=!0,N={},W,j,d,y,S,F,L,k,nt,M,w,pe,B,q,K="";if(typeof E!="string")return"";if(typeof g=="string"&&(O=g),L=i.en,k=s.en,typeof g=="object"){W=g.maintainCase||!1,N=g.custom&&typeof g.custom=="object"?g.custom:N,d=+g.truncate>1&&g.truncate||!1,y=g.uric||!1,S=g.uricNoSlash||!1,F=g.mark||!1,H=!(g.symbols===!1||g.lang===!1),O=g.separator||O,y&&(K+=f),S&&(K+=h),F&&(K+=A),L=g.lang&&i[g.lang]&&H?i[g.lang]:H?i.en:{},k=g.lang&&s[g.lang]?s[g.lang]:g.lang===!1||g.lang===!0?{}:s.en,g.titleCase&&typeof g.titleCase.length=="number"&&Array.prototype.toString.call(g.titleCase)?(g.titleCase.forEach(function(V){N[V+""]=V+""}),j=!0):j=!!g.titleCase,g.custom&&typeof g.custom.length=="number"&&Array.prototype.toString.call(g.custom)&&g.custom.forEach(function(V){N[V+""]=V+""}),Object.keys(N).forEach(function(V){var oe;V.length>1?oe=new RegExp("\\b"+c(V)+"\\b","gi"):oe=new RegExp(c(V),"gi"),E=E.replace(oe,N[V])});for(w in N)K+=w}for(K+=O,K=c(K),E=E.replace(/(^\s+|\s+$)/g,""),B=!1,q=!1,M=0,pe=E.length;M<pe;M++)w=E[M],_(w,N)?B=!1:k[w]?(w=B&&k[w].match(/[A-Za-z0-9]/)?" "+k[w]:k[w],B=!1):w in r?(M+1<pe&&u.indexOf(E[M+1])>=0?(I+=w,w=""):q===!0?(w=o[I]+r[w],I=""):w=B&&r[w].match(/[A-Za-z0-9]/)?" "+r[w]:r[w],B=!1,q=!1):w in o?(I+=w,w="",M===pe-1&&(w=o[I]),q=!0):L[w]&&!(y&&f.indexOf(w)!==-1)&&!(S&&h.indexOf(w)!==-1)?(w=B||b.substr(-1).match(/[A-Za-z0-9]/)?O+L[w]:L[w],w+=E[M+1]!==void 0&&E[M+1].match(/[A-Za-z0-9]/)?O:"",B=!0):(q===!0?(w=o[I]+w,I="",q=!1):B&&(/[A-Za-z0-9]/.test(w)||b.substr(-1).match(/A-Za-z0-9]/))&&(w=" "+w),B=!1),b+=w.replace(new RegExp("[^\\w\\s"+K+"_-]","g"),O);return j&&(b=b.replace(/(\w)(\S*)/g,function(V,oe,rt){var Te=oe.toUpperCase()+(rt!==null?rt:"");return Object.keys(N).indexOf(Te.toLowerCase())<0?Te:Te.toLowerCase()})),b=b.replace(/\s+/g,O).replace(new RegExp("\\"+O+"+","g"),O).replace(new RegExp("(^\\"+O+"+|\\"+O+"+$)","g"),""),d&&b.length>d&&(nt=b.charAt(d)===O,b=b.slice(0,d),nt||(b=b.slice(0,b.lastIndexOf(O)))),!W&&!j&&(b=b.toLowerCase()),b},p=function(E){return function(O){return a(O,E)}},c=function(E){return E.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},_=function(v,E){for(var g in E)if(E[g]===v)return!0};if(typeof t<"u"&&t.exports)t.exports=a,t.exports.createSlug=p;else if(typeof define<"u"&&define.amd)define([],function(){return a});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=a,n.createSlug=p}catch{}}(e)}}),ou=kn({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){l(),t.exports=uu()}});l();l();l();l();l();l();l();l();function su(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":n}function iu(e){const t=e.__file;if(t)return Kr(zr(t,".vue"))}function dt(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function We(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function Rn(e){var t,n;const r=(t=e.subTree)==null?void 0:t.type,u=We(e);return u?((n=u==null?void 0:u.types)==null?void 0:n.Fragment)===r:!1}function we(e){var t,n,r;const u=su((e==null?void 0:e.type)||{});if(u)return u;if((e==null?void 0:e.root)===e)return"Root";for(const s in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[s]===(e==null?void 0:e.type))return dt(e,s);for(const s in(r=e.appContext)==null?void 0:r.components)if(e.appContext.components[s]===(e==null?void 0:e.type))return dt(e,s);const o=iu((e==null?void 0:e.type)||{});return o||"Anonymous Component"}function au(e){var t,n,r;const u=(r=(n=(t=e==null?void 0:e.appContext)==null?void 0:t.app)==null?void 0:n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?r:0,o=e===(e==null?void 0:e.root)?"root":e.uid;return`${u}:${o}`}function Ve(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function lu(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var Ee;function cu(e){return Ee||(Ee=document.createRange()),Ee.selectNode(e),Ee.getBoundingClientRect()}function fu(e){const t=lu();if(!e.children)return t;for(let n=0,r=e.children.length;n<r;n++){const u=e.children[n];let o;if(u.component)o=G(u.component);else if(u.el){const s=u.el;s.nodeType===1||s.getBoundingClientRect?o=s.getBoundingClientRect():s.nodeType===3&&s.data.trim()&&(o=cu(s))}o&&du(t,o)}return t}function du(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}var _t={top:0,left:0,right:0,bottom:0,width:0,height:0};function G(e){const t=e.subTree.el;return typeof window>"u"?_t:Rn(e)?fu(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?G(e.subTree.component):_t}l();function qe(e){return Rn(e)?_u(e.subTree):e.subTree?[e.subTree.el]:[]}function _u(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...qe(n.component)):n!=null&&n.el&&t.push(n.el)}),t}var xn="__vue-devtools-component-inspector__",Pn="__vue-devtools-component-inspector__card__",Nn="__vue-devtools-component-inspector__name__",Ln="__vue-devtools-component-inspector__indicator__",Vn={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},hu={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},pu={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function re(){return document.getElementById(xn)}function Eu(){return document.getElementById(Pn)}function gu(){return document.getElementById(Ln)}function mu(){return document.getElementById(Nn)}function Ye(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function Ze(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:xn,Object.assign(n.style,{...Vn,...Ye(e.bounds),...e.style});const r=document.createElement("span");r.id=Pn,Object.assign(r.style,{...hu,top:e.bounds.top<35?0:"-35px"});const u=document.createElement("span");u.id=Nn,u.innerHTML=`<${e.name}> `;const o=document.createElement("i");return o.id=Ln,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(o.style,pu),r.appendChild(u),r.appendChild(o),n.appendChild(r),document.body.appendChild(n),n}function Xe(e){const t=re(),n=Eu(),r=mu(),u=gu();t&&(Object.assign(t.style,{...Vn,...Ye(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),r.innerHTML=`<${e.name}> `,u.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function vu(e){const t=G(e);if(!t.width&&!t.height)return;const n=we(e);re()?Xe({bounds:t,name:n}):Ze({bounds:t,name:n})}function Fn(){const e=re();e&&(e.style.display="none")}var Fe=null;function Be(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(Fe=n,n.vnode.el)){const u=G(n),o=we(n);re()?Xe({bounds:u,name:o}):Ze({bounds:u,name:o})}}}function yu(e,t){if(e.preventDefault(),e.stopPropagation(),Fe){const n=au(Fe);t(n)}}var Ae=null;function Au(){Fn(),window.removeEventListener("mouseover",Be),window.removeEventListener("click",Ae,!0),Ae=null}function bu(){return window.addEventListener("mouseover",Be),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),yu(n,r=>{window.removeEventListener("click",t,!0),Ae=null,window.removeEventListener("mouseover",Be);const u=re();u&&(u.style.display="none"),e(JSON.stringify({id:r}))})}Ae=t,window.addEventListener("click",t,!0)})}function wu(e){const t=Ve(x.value,e.id);if(t){const[n]=qe(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const r=G(t),u=document.createElement("div"),o={...Ye(r),position:"absolute"};Object.assign(u.style,o),document.body.appendChild(u),u.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(u)},2e3)}setTimeout(()=>{const r=G(t);if(r.width||r.height){const u=we(t),o=re();o?Xe({name:u,bounds:r}):Ze({...e,name:u,bounds:r}),setTimeout(()=>{o&&(o.style.display="none")},1500)}},1200)}}l();var ht,pt;(pt=(ht=m).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(ht.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function Ou(e){let t=0;const n=setInterval(()=>{m.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function Su(){const e=m.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function Tu(){return new Promise(e=>{function t(){Su(),e(m.__VUE_INSPECTOR__)}m.__VUE_INSPECTOR__?t():Ou(()=>{t()})})}l();l();function Cu(e){return!!(e&&e.__v_isReadonly)}function Bn(e){return Cu(e)?Bn(e.__v_raw):!!(e&&e.__v_isReactive)}function De(e){return!!(e&&e.__v_isRef===!0)}function se(e){const t=e&&e.__v_raw;return t?se(t):e}var Iu=class{constructor(){this.refEditor=new Du}set(e,t,n,r){const u=Array.isArray(t)?t:t.split(".");for(;u.length>1;){const i=u.shift();e instanceof Map&&(e=e.get(i)),e instanceof Set?e=Array.from(e.values())[i]:e=e[i],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const o=u[0],s=this.refEditor.get(e)[o];r?r(e,o,n):this.refEditor.isRef(s)?this.refEditor.set(s,n):e[o]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let r=0;r<n.length;r++)if(e instanceof Map?e=e.get(n[r]):e=e[n[r]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const r=Array.isArray(t)?t.slice():t.split("."),u=n?2:1;for(;e&&r.length>u;){const o=r.shift();e=e[o],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,r[0])}createDefaultSetCallback(e){return(t,n,r)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):se(t)instanceof Map?t.delete(n):se(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const u=t[e.newKey||n];this.refEditor.isRef(u)?this.refEditor.set(u,r):se(t)instanceof Map?t.set(e.newKey||n,r):se(t)instanceof Set?t.add(r):t[e.newKey||n]=r}}}},Du=class{set(e,t){if(De(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(u=>e.add(u));return}const n=Object.keys(t);if(e instanceof Map){const u=new Set(e.keys());n.forEach(o=>{e.set(o,Reflect.get(t,o)),u.delete(o)}),u.forEach(o=>e.delete(o));return}const r=new Set(Object.keys(e));n.forEach(u=>{Reflect.set(e,u,Reflect.get(t,u)),r.delete(u)}),r.forEach(u=>Reflect.deleteProperty(e,u))}}get(e){return De(e)?e.value:e}isRef(e){return De(e)||Bn(e)}};l();l();l();var ku="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function Ru(){if(!Br||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(ku);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}l();l();l();var Et,gt;(gt=(Et=m).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(Et.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var xu=new Proxy(m.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function Pu(e,t){D.timelineLayersState[t.id]=!1,xu.push({...e,descriptorId:t.id,appRecord:We(t.app)})}var mt,vt;(vt=(mt=m).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(mt.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var Je=new Proxy(m.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),Un=ee(()=>{ue.hooks.callHook("sendInspectorToClient",Mn())});function Nu(e,t){var n,r;Je.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(r=e.stateFilterPlaceholder)!=null?r:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:We(t.app)}),Un()}function Mn(){return Je.filter(e=>e.descriptor.app===x.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,r=e.options;return{id:r.id,label:r.label,logo:n.logo,icon:`custom-ic-baseline-${(t=r==null?void 0:r.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function me(e,t){return Je.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function Lu(){const e=In();e.hook("addInspector",({inspector:r,plugin:u})=>{Nu(r,u.descriptor)});const t=ee(async({inspectorId:r,plugin:u})=>{var o;if(!r||!((o=u==null?void 0:u.descriptor)!=null&&o.app)||D.highPerfModeEnabled)return;const s=me(r,u.descriptor.app),i={app:u.descriptor.app,inspectorId:r,filter:(s==null?void 0:s.treeFilter)||"",rootNodes:[]};await new Promise(f=>{e.callHookWith(async h=>{await Promise.all(h.map(A=>A(i))),f()},"getInspectorTree")}),e.callHookWith(async f=>{await Promise.all(f.map(h=>h({inspectorId:r,rootNodes:i.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=ee(async({inspectorId:r,plugin:u})=>{var o;if(!r||!((o=u==null?void 0:u.descriptor)!=null&&o.app)||D.highPerfModeEnabled)return;const s=me(r,u.descriptor.app),i={app:u.descriptor.app,inspectorId:r,nodeId:(s==null?void 0:s.selectedNodeId)||"",state:null},f={currentTab:`custom-inspector:${r}`};i.nodeId&&await new Promise(h=>{e.callHookWith(async A=>{await Promise.all(A.map(a=>a(i,f))),h()},"getInspectorState")}),e.callHookWith(async h=>{await Promise.all(h.map(A=>A({inspectorId:r,nodeId:i.nodeId,state:i.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:r,nodeId:u,plugin:o})=>{const s=me(r,o.descriptor.app);s&&(s.selectedNodeId=u)}),e.hook("timelineLayerAdded",({options:r,plugin:u})=>{Pu(r,u.descriptor)}),e.hook("timelineEventAdded",({options:r,plugin:u})=>{var o;const s=["performance","component-event","keyboard","mouse"];D.highPerfModeEnabled||!((o=D.timelineLayersState)!=null&&o[u.descriptor.id])&&!s.includes(r.layerId)||e.callHookWith(async i=>{await Promise.all(i.map(f=>f(r)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:r})=>{const u=r.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!u)return null;const o=u.id.toString();return[...u.instanceMap].filter(([i])=>i.split(":")[0]===o).map(([,i])=>i)}),e.hook("getComponentBounds",async({instance:r})=>G(r)),e.hook("getComponentName",({instance:r})=>we(r)),e.hook("componentHighlight",({uid:r})=>{const u=x.value.instanceMap.get(r);u&&vu(u)}),e.hook("componentUnhighlight",()=>{Fn()}),e}var yt,At;(At=(yt=m).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(yt.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var bt,wt;(wt=(bt=m).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(bt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Ot,St;(St=(Ot=m).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Ot.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var Tt,Ct;(Ct=(Tt=m).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(Tt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var It,Dt;(Dt=(It=m).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(It.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var X="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function Vu(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:Ru()}}var kt,Rt;(Rt=(kt=m)[X])!=null||(kt[X]=Vu());var Fu=ee(e=>{ue.hooks.callHook("devtoolsStateUpdated",{state:e})});ee((e,t)=>{ue.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var Oe=new Proxy(m.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?m.__VUE_DEVTOOLS_KIT_APP_RECORDS__:m.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),x=new Proxy(m.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?m.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?m.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:m.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function $n(){Fu({...m[X],appRecords:Oe.value,activeAppRecordId:x.id,tabs:m.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:m.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function Bu(e){m.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,$n()}function Uu(e){m.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,$n()}var D=new Proxy(m[X],{get(e,t){return t==="appRecords"?Oe:t==="activeAppRecordId"?x.id:t==="tabs"?m.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?m.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:m[X][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return e[t]=n,m[X][t]=n,!0}});function Mu(e={}){var t,n,r;const{file:u,host:o,baseUrl:s=window.location.origin,line:i=0,column:f=0}=e;if(u){if(o==="chrome-extension"){const h=u.replace(/\\/g,"\\\\"),A=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${A}__open-in-editor?file=${encodeURI(u)}`).then(a=>{if(!a.ok){const p=`Opening component ${h} failed`;console.log(`%c${p}`,"color:red")}})}else if(D.vitePluginDetected){const h=(r=m.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?r:s;m.__VUE_INSPECTOR__.openInEditor(h,u,i,f)}}}l();l();l();l();l();var xt,Pt;(Pt=(xt=m).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(xt.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var Qe=new Proxy(m.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function Ue(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function et(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function $u(e){var t,n,r;const u=(n=(t=Qe.find(o=>{var s;return o[0].id===e&&!!((s=o[0])!=null&&s.settings)}))==null?void 0:t[0])!=null?n:null;return(r=u==null?void 0:u.settings)!=null?r:null}function Kn(e,t){var n,r,u;const o=et(e);if(o){const s=localStorage.getItem(o);if(s)return JSON.parse(s)}if(e){const s=(r=(n=Qe.find(i=>i[0].id===e))==null?void 0:n[0])!=null?r:null;return Ue((u=s==null?void 0:s.settings)!=null?u:{})}return Ue(t)}function Ku(e,t){const n=et(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(Ue(t)))}function zu(e,t,n){const r=et(e),u=localStorage.getItem(r),o=JSON.parse(u||"{}"),s={...o,[t]:n};localStorage.setItem(r,JSON.stringify(s)),ue.hooks.callHookWith(i=>{i.forEach(f=>f({pluginId:e,key:t,oldValue:o[t],newValue:n,settings:s}))},"setPluginSettings")}l();l();l();l();l();l();l();l();l();l();l();var Nt,Lt,P=(Lt=(Nt=m).__VUE_DEVTOOLS_HOOK)!=null?Lt:Nt.__VUE_DEVTOOLS_HOOK=In(),Hu={vueAppInit(e){P.hook("app:init",e)},vueAppUnmount(e){P.hook("app:unmount",e)},vueAppConnected(e){P.hook("app:connected",e)},componentAdded(e){return P.hook("component:added",e)},componentEmit(e){return P.hook("component:emit",e)},componentUpdated(e){return P.hook("component:updated",e)},componentRemoved(e){return P.hook("component:removed",e)},setupDevtoolsPlugin(e){P.hook("devtools-plugin:setup",e)},perfStart(e){return P.hook("perf:start",e)},perfEnd(e){return P.hook("perf:end",e)}},zn={on:Hu,setupDevToolsPlugin(e,t){return P.callHook("devtools-plugin:setup",e,t)}},ju=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(D.highPerfModeEnabled)return;const n=Mn().find(r=>r.packageName===this.plugin.descriptor.packageName);if(n!=null&&n.id){if(e){const r=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];P.callHook("component:updated",...r)}else P.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&Ku(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){D.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){D.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return D.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){D.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return Kn(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},Gu=ju;l();l();l();l();var Wu="__vue_devtool_undefined__",qu="__vue_devtool_infinity__",Yu="__vue_devtool_negative_infinity__",Zu="__vue_devtool_nan__";l();l();var Xu={[Wu]:"undefined",[Zu]:"NaN",[qu]:"Infinity",[Yu]:"-Infinity"};Object.entries(Xu).reduce((e,[t,n])=>(e[n]=t,e),{});l();l();l();l();l();var Vt,Ft;(Ft=(Vt=m).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(Vt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function Ju(e,t){return zn.setupDevToolsPlugin(e,t)}function Qu(e,t){const[n,r]=e;if(n.app!==t)return;const u=new Gu({plugin:{setupFn:r,descriptor:n},ctx:ue});n.packageName==="vuex"&&u.on.editInspectorState(o=>{u.sendInspectorState(o.inspectorId)}),r(u)}function Hn(e,t){m.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||D.highPerfModeEnabled&&!(t!=null&&t.inspectingComponent)||(m.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),Qe.forEach(n=>{Qu(n,e)}))}l();l();var ce="__VUE_DEVTOOLS_ROUTER__",te="__VUE_DEVTOOLS_ROUTER_INFO__",Bt,Ut;(Ut=(Bt=m)[te])!=null||(Bt[te]={currentRoute:null,routes:[]});var Mt,$t;($t=(Mt=m)[ce])!=null||(Mt[ce]={});new Proxy(m[te],{get(e,t){return m[te][t]}});new Proxy(m[ce],{get(e,t){if(t==="value")return m[ce]}});function eo(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function tt(e){return e.map(t=>{let{path:n,name:r,children:u,meta:o}=t;return u!=null&&u.length&&(u=tt(u)),{path:n,name:r,children:u,meta:o}})}function to(e){if(e){const{fullPath:t,hash:n,href:r,path:u,name:o,matched:s,params:i,query:f}=e;return{fullPath:t,hash:n,href:r,path:u,name:o,params:i,query:f,matched:tt(s)}}return e}function no(e,t){function n(){var r;const u=(r=e.app)==null?void 0:r.config.globalProperties.$router,o=to(u==null?void 0:u.currentRoute.value),s=tt(eo(u)),i=console.warn;console.warn=()=>{},m[te]={currentRoute:o?ft(o):{},routes:ft(s)},m[ce]=u,console.warn=i}n(),zn.on.componentUpdated(ee(()=>{var r;((r=t.value)==null?void 0:r.app)===e.app&&(n(),!D.highPerfModeEnabled&&ue.hooks.callHook("routerInfoUpdated",{state:m[te]}))},200))}function ro(e){return{async getInspectorTree(t){const n={...t,app:x.value.app,rootNodes:[]};return await new Promise(r=>{e.callHookWith(async u=>{await Promise.all(u.map(o=>o(n))),r()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:x.value.app,state:null},r={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(u=>{e.callHookWith(async o=>{await Promise.all(o.map(s=>s(n,r))),u()},"getInspectorState")}),n.state},editInspectorState(t){const n=new Iu,r={...t,app:x.value.app,set:(u,o=t.path,s=t.state.value,i)=>{n.set(u,o,s,i||n.createDefaultSetCallback(t.state))}};e.callHookWith(u=>{u.forEach(o=>o(r))},"editInspectorState")},sendInspectorState(t){const n=me(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return bu()},cancelInspectComponentInspector(){return Au()},getComponentRenderCode(t){const n=Ve(x.value,t);if(n)return(n==null?void 0:n.type)instanceof Function?n.type.toString():n.render.toString()},scrollToComponent(t){return wu({id:t})},openInEditor:Mu,getVueInspector:Tu,toggleApp(t,n){const r=Oe.value.find(u=>u.id===t);r&&(Uu(t),Bu(r),no(r,x),Un(),Hn(r.app,n))},inspectDOM(t){const n=Ve(x.value,t);if(n){const[r]=qe(n);r&&(m.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}},updatePluginSettings(t,n,r){zu(t,n,r)},getPluginSettings(t){return{options:$u(t),values:Kn(t)}}}}l();var Kt,zt;(zt=(Kt=m).__VUE_DEVTOOLS_ENV__)!=null||(Kt.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var Ht=Lu(),jt,Gt;(Gt=(jt=m).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(jt.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:Ht,get state(){return{...D,activeAppRecordId:x.id,activeAppRecord:x.value,appRecords:Oe.value}},api:ro(Ht)});var ue=m.__VUE_DEVTOOLS_KIT_CONTEXT__;l();ru(ou());var Wt,qt;(qt=(Wt=m).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(Wt.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set});l();function uo(e){D.highPerfModeEnabled=e??!D.highPerfModeEnabled,!e&&x.value&&Hn(x.value.app)}l();l();l();function oo(e){D.devtoolsClientDetected={...D.devtoolsClientDetected,...e};const t=Object.values(D.devtoolsClientDetected).some(Boolean);uo(!t)}var Yt,Zt;(Zt=(Yt=m).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(Yt.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=oo);l();l();l();l();l();l();l();var so=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},jn=class{constructor(e){this.generateIdentifier=e,this.kv=new so}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},io=class extends jn{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};l();l();function ao(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function lo(e,t){const n=ao(e);if("find"in n)return n.find(t);const r=n;for(let u=0;u<r.length;u++){const o=r[u];if(t(o))return o}}function ne(e,t){Object.entries(e).forEach(([n,r])=>t(r,n))}function ve(e,t){return e.indexOf(t)!==-1}function Xt(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(t(r))return r}}var co=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return lo(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};l();l();var fo=e=>Object.prototype.toString.call(e).slice(8,-1),Gn=e=>typeof e>"u",_o=e=>e===null,fe=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,Me=e=>fe(e)&&Object.keys(e).length===0,z=e=>Array.isArray(e),ho=e=>typeof e=="string",po=e=>typeof e=="number"&&!isNaN(e),Eo=e=>typeof e=="boolean",go=e=>e instanceof RegExp,de=e=>e instanceof Map,_e=e=>e instanceof Set,Wn=e=>fo(e)==="Symbol",mo=e=>e instanceof Date&&!isNaN(e.valueOf()),vo=e=>e instanceof Error,Jt=e=>typeof e=="number"&&isNaN(e),yo=e=>Eo(e)||_o(e)||Gn(e)||po(e)||ho(e)||Wn(e),Ao=e=>typeof e=="bigint",bo=e=>e===1/0||e===-1/0,wo=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),Oo=e=>e instanceof URL;l();var qn=e=>e.replace(/\./g,"\\."),ke=e=>e.map(String).map(qn).join("."),ae=e=>{const t=[];let n="";for(let u=0;u<e.length;u++){let o=e.charAt(u);if(o==="\\"&&e.charAt(u+1)==="."){n+=".",u++;continue}if(o==="."){t.push(n),n="";continue}n+=o}const r=n;return t.push(r),t};l();function U(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var Yn=[U(Gn,"undefined",()=>null,()=>{}),U(Ao,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),U(mo,"Date",e=>e.toISOString(),e=>new Date(e)),U(vo,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n}),U(go,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),U(_e,"set",e=>[...e.values()],e=>new Set(e)),U(de,"map",e=>[...e.entries()],e=>new Map(e)),U(e=>Jt(e)||bo(e),"number",e=>Jt(e)?"NaN":e>0?"Infinity":"-Infinity",Number),U(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),U(Oo,"URL",e=>e.toString(),e=>new URL(e))];function Se(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var Zn=Se((e,t)=>Wn(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),So=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),Xn=Se(wo,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=So[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function Jn(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var Qn=Se(Jn,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const r={};return n.forEach(u=>{r[u]=e[u]}),r},(e,t,n)=>{const r=n.classRegistry.getValue(t[1]);if(!r)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(r.prototype),e)}),er=Se((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),To=[Qn,Zn,er,Xn],Qt=(e,t)=>{const n=Xt(To,u=>u.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const r=Xt(Yn,u=>u.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation}},tr={};Yn.forEach(e=>{tr[e.annotation]=e});var Co=(e,t,n)=>{if(z(t))switch(t[0]){case"symbol":return Zn.untransform(e,t,n);case"class":return Qn.untransform(e,t,n);case"custom":return er.untransform(e,t,n);case"typed-array":return Xn.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const r=tr[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}};l();var Y=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function nr(e){if(ve(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(ve(e,"prototype"))throw new Error("prototype is not allowed as a property");if(ve(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Io=(e,t)=>{nr(t);for(let n=0;n<t.length;n++){const r=t[n];if(_e(e))e=Y(e,+r);else if(de(e)){const u=+r,o=+t[++n]==0?"key":"value",s=Y(e,u);switch(o){case"key":e=s;break;case"value":e=e.get(s);break}}else e=e[r]}return e},$e=(e,t,n)=>{if(nr(t),t.length===0)return n(e);let r=e;for(let o=0;o<t.length-1;o++){const s=t[o];if(z(r)){const i=+s;r=r[i]}else if(fe(r))r=r[s];else if(_e(r)){const i=+s;r=Y(r,i)}else if(de(r)){if(o===t.length-2)break;const f=+s,h=+t[++o]==0?"key":"value",A=Y(r,f);switch(h){case"key":r=A;break;case"value":r=r.get(A);break}}}const u=t[t.length-1];if(z(r)?r[+u]=n(r[+u]):fe(r)&&(r[u]=n(r[u])),_e(r)){const o=Y(r,+u),s=n(o);o!==s&&(r.delete(o),r.add(s))}if(de(r)){const o=+t[t.length-2],s=Y(r,o);switch(+u==0?"key":"value"){case"key":{const f=n(s);r.set(f,r.get(s)),f!==s&&r.delete(s);break}case"value":{r.set(s,n(r.get(s)));break}}}return e};function Ke(e,t,n=[]){if(!e)return;if(!z(e)){ne(e,(o,s)=>Ke(o,t,[...n,...ae(s)]));return}const[r,u]=e;u&&ne(u,(o,s)=>{Ke(o,t,[...n,...ae(s)])}),t(r,n)}function Do(e,t,n){return Ke(t,(r,u)=>{e=$e(e,u,o=>Co(o,r,n))}),e}function ko(e,t){function n(r,u){const o=Io(e,ae(u));r.map(ae).forEach(s=>{e=$e(e,s,()=>o)})}if(z(t)){const[r,u]=t;r.forEach(o=>{e=$e(e,ae(o),()=>e)}),u&&ne(u,n)}else ne(t,n);return e}var Ro=(e,t)=>fe(e)||z(e)||de(e)||_e(e)||Jn(e,t);function xo(e,t,n){const r=n.get(e);r?r.push(t):n.set(e,[t])}function Po(e,t){const n={};let r;return e.forEach(u=>{if(u.length<=1)return;t||(u=u.map(i=>i.map(String)).sort((i,f)=>i.length-f.length));const[o,...s]=u;o.length===0?r=s.map(ke):n[ke(o)]=s.map(ke)}),r?Me(n)?[r]:[r,n]:Me(n)?void 0:n}var rr=(e,t,n,r,u=[],o=[],s=new Map)=>{var i;const f=yo(e);if(!f){xo(e,u,t);const _=s.get(e);if(_)return r?{transformedValue:null}:_}if(!Ro(e,n)){const _=Qt(e,n),v=_?{transformedValue:_.value,annotations:[_.type]}:{transformedValue:e};return f||s.set(e,v),v}if(ve(o,e))return{transformedValue:null};const h=Qt(e,n),A=(i=h==null?void 0:h.value)!=null?i:e,a=z(A)?[]:{},p={};ne(A,(_,v)=>{if(v==="__proto__"||v==="constructor"||v==="prototype")throw new Error(`Detected property ${v}. This is a prototype pollution risk, please remove it from your object.`);const E=rr(_,t,n,r,[...u,v],[...o,e],s);a[v]=E.transformedValue,z(E.annotations)?p[v]=E.annotations:fe(E.annotations)&&ne(E.annotations,(g,O)=>{p[qn(v)+"."+O]=g})});const c=Me(p)?{transformedValue:a,annotations:h?[h.type]:void 0}:{transformedValue:a,annotations:h?[h.type,p]:p};return f||s.set(e,c),c};l();l();function ur(e){return Object.prototype.toString.call(e).slice(8,-1)}function en(e){return ur(e)==="Array"}function No(e){if(ur(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function Lo(e,t,n,r,u){const o={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";o==="enumerable"&&(e[t]=n),u&&o==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function ze(e,t={}){if(en(e))return e.map(u=>ze(u,t));if(!No(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((u,o)=>{if(en(t.props)&&!t.props.includes(o))return u;const s=e[o],i=ze(s,t);return Lo(u,o,i,e,t.nonenumerable),u},{})}var T=class{constructor({dedupe:e=!1}={}){this.classRegistry=new io,this.symbolRegistry=new jn(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new co,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=rr(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const u=Po(t,this.dedupe);return u&&(r.meta={...r.meta,referentialEqualities:u}),r}deserialize(e){const{json:t,meta:n}=e;let r=ze(t);return n!=null&&n.values&&(r=Do(r,n.values,this)),n!=null&&n.referentialEqualities&&(r=ko(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};T.defaultInstance=new T;T.serialize=T.defaultInstance.serialize.bind(T.defaultInstance);T.deserialize=T.defaultInstance.deserialize.bind(T.defaultInstance);T.stringify=T.defaultInstance.stringify.bind(T.defaultInstance);T.parse=T.defaultInstance.parse.bind(T.defaultInstance);T.registerClass=T.defaultInstance.registerClass.bind(T.defaultInstance);T.registerSymbol=T.defaultInstance.registerSymbol.bind(T.defaultInstance);T.registerCustom=T.defaultInstance.registerCustom.bind(T.defaultInstance);T.allowErrorProps=T.defaultInstance.allowErrorProps.bind(T.defaultInstance);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var tn,nn;(nn=(tn=m).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(tn.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var rn,un;(un=(rn=m).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(rn.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var on,sn;(sn=(on=m).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(on.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var an,ln;(ln=(an=m).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(an.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var cn,fn;(fn=(cn=m).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(cn.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var dn,_n;(_n=(dn=m).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(dn.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);l();l();l();l();l();l();l();var Vo="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Fo="âḃćḋèḟĝḫíĵǩĺṁńŏṗɋŕśṭůṿẘẋẏẓḀḂḈḊḔḞḠḢḬĴḴĻḾŊÕṔɊŔṠṮŨṼẄẌŸƵ";function Bo(e,t){let n="";t.prefix&&(n+=t.prefix);for(let r=0;r<e.length;r++){const u=e[r],o=t.accents?Fo[Vo.indexOf(u)]??u:u;n+=o}return t.suffix&&(n+=t.suffix),n}function Uo(e,t,n){let r;const u=new Map,o=t.warnMissing;t.warnMissing=f=>{const h=R.getCurrentInstance();o(f),h&&(u.set(h,u.get(h)??new Set),u.get(h).add(f))};const s=new WeakSet;R.watchEffect(()=>{const f=n.bundles;for(const h of f){if(s.has(h))continue;const A=h._transform;h._transform=a=>(A!=null&&(a=A(a)),r!=null&&(a=r(a)),a),s.add(h)}},{flush:"sync"});const i=R.computed(()=>[...n.bundles].map(f=>{const h=new He(f.locales,{functions:f._functions,useIsolating:f._useIsolating});return h._terms=f._terms,h._messages=f._messages,h}));Ju({id:"fluent-vue",label:"fluent-vue",packageName:"fluent-vue",homepage:"https://fluent-vue.demivan.me",logo:"https://fluent-vue.demivan.me/assets/logo.svg",componentStateTypes:["fluent-vue"],app:e,settings:{components:{label:"Components"},showLocalized:{defaultValue:!0,label:"Mark localized",description:"Mark localized components in component tree",type:"boolean"},markMissing:{defaultValue:!0,label:"Mark missing",description:"Mark missing translations in component tree",type:"boolean"},showI18n:{defaultValue:!0,label:"Mark i18n",description:"Mark i18n components in component tree",type:"boolean"},pseudo:{label:"Pseudolocalization"},pseudoEnable:{defaultValue:!1,label:"Enable",description:"Enable pseudolocalization",type:"boolean"},pseudoAccents:{defaultValue:!0,label:"Accents",description:"Enable pseudolocalization accents",type:"boolean"},pseudoPrefix:{label:"Prefix",type:"text",description:"Prefix to wrap translation",defaultValue:"["},pseudoSuffix:{label:"Suffix",type:"text",description:"Suffix to wrap translation",defaultValue:"]"}}},f=>{f.on.visitComponentTree(({treeNode:a,componentInstance:p})=>{var c;const _=f.getSettings();_.showI18n&&a.name===t.componentName&&a.tags.push({label:"fluent-vue",textColor:0,backgroundColor:4307075}),_.showLocalized&&((c=p==null?void 0:p.proxy)==null?void 0:c.$options.fluent)!=null&&a.tags.push({label:"localized",textColor:0,backgroundColor:4307075});const v=u.get(p);_.markMissing&&v!=null&&v.size>0&&a.tags.push({label:"missing translations",textColor:16777215,backgroundColor:11534368})}),f.on.inspectComponent(({componentInstance:a,instanceData:p})=>{var c;const _=u.get(a);if(_)for(const g of _.values())p.state.push({type:"Missing translations",key:g,editable:!1,value:{_custom:{type:"custom",display:'<span style="color:#B00020">Missing</span>'}}});const v=(c=a==null?void 0:a.proxy)==null?void 0:c.$options.fluent;if(!v)return;const E=i.value;for(const[g,O]of Object.entries(v)){const b=E.find(I=>I.locales.includes(g));if(b!=null)for(const I of O.body){const H=b.hasMessage(I.id);p.state.push({type:`Component translations (${g})`,key:I.id,editable:!1,value:{_custom:{type:"custom",display:(I.value?b.formatPattern(I.value,{},[]):"")+(H?' <span style="color:#ffa726">Global</span>':"")}}})}}}),f.on.getInspectorTree(a=>{a.inspectorId==="fluent-vue-inspector"&&(a.rootNodes=[{id:"global",label:"Global translations"},{id:"missing",label:"Missing translations"}])});const h=new Set;f.on.getInspectorState(async a=>{if(a.inspectorId==="fluent-vue-inspector"){if(a.nodeId==="global"){a.state={};for(const p of i.value)a.state[p.locales.join(",")]=[...p._messages.entries()].map(([c,_])=>({key:_.id,value:_.value?p.formatPattern(_.value,{},[]):""}))}if(a.nodeId==="missing"){a.state={};for(const p of i.value){const c=p.locales.join(",");for(const[_,v]of u.entries())for(const E of v)a.state[c]=a.state[c]??[],a.state[c].push({key:E,editable:!0,value:{_custom:{type:"component",value:h.has(_),display:await f.getComponentName(_)}}})}}}}),f.on.editInspectorState(a=>{if(a.inspectorId==="fluent-vue-inspector"&&a.nodeId==="missing"){const p=a.path[0],[c]=u.entries().find(([_,v])=>v.has(p))??[];c!=null&&(a.state.value?(h.add(c),f.highlightElement(c)):(h.delete(c),f.unhighlightElement()))}});function A(a){a.pseudoEnable?r=p=>Bo(p,{prefix:a.pseudoPrefix??void 0,suffix:a.pseudoSuffix??void 0,accents:a.pseudoAccents??!1}):r=void 0,n.bundles=[...n.bundles]}f.on.setPluginSettings(a=>{A(a.settings)}),A(f.getSettings()),f.addInspector({id:"fluent-vue-inspector",label:"fluent-vue"})})}function Mo(e){Tr(typeof DOMParser<"u","DOMParser is not available. Please provide a custom parseMarkup function.");const n=new DOMParser().parseFromString(e,"text/html");return Array.from(n.body.childNodes)}function $o(e){Q(`Could not find translation for key [${e}]`)}function Ko(e){return e.warnMissing===!0||e.warnMissing==null?$o:e.warnMissing===!1?()=>{}:e.warnMissing}function zo(e){var t,n,r,u,o,s;return{warnMissing:Ko(e),parseMarkup:e.parseMarkup??Mo,mapVariable:e.mapVariable,globalFormatName:((n=(t=e.globals)==null?void 0:t.functions)==null?void 0:n.format)??"$t",globalFormatAttrsName:((u=(r=e.globals)==null?void 0:r.functions)==null?void 0:u.formatAttrs)??"$ta",directiveName:((o=e.globals)==null?void 0:o.directive)??"t",componentName:((s=e.globals)==null?void 0:s.component)??"i18n",componentTag:e.componentTag??"span"}}var Ho=/-(\w)/g;function jo(e){return e.replace(Ho,(t,n)=>n.toUpperCase())}function or(e){const t=e==null?void 0:e.$parent,n=t==null?void 0:t.$options;return n!=null&&n.fluent==null?or(t):t}var Go=/<|&#?\w+;/;function Wo(e,t){return R.defineComponent({name:e.componentName,props:{path:{type:String,required:!0},tag:{type:[String,Boolean],default:e.componentTag},args:{type:Object,default:()=>({})},html:{type:Boolean,default:!1},noTag:{type:Boolean,default:!1}},setup(n,{slots:r,attrs:u}){const o=R.getCurrentInstance(),s=or(o==null?void 0:o.proxy),i=Z(t,s),f=R.computed(()=>{const p=Object.assign({},n.args,...Object.keys(r).map(v=>({[v]:`${v}`}))),c=i.formatWithAttrs(n.path,p),_=Object.fromEntries(Object.entries(c.attributes).map(([v,E])=>[jo(v),E]));return{value:c.value,attributes:_}}),h=p=>p==null?void 0:p.split("").map(c=>c.startsWith("")?r[c.replace("","")](f.value.attributes):c),A=p=>{if(p.nodeType===3)return h(p.nodeValue);if(p.nodeType===1){const c=p;return R.h(c.nodeName.toLowerCase(),{...Object.fromEntries(Array.from(c.attributes).map(_=>[_.name,_.value]))},Array.from(c.childNodes).map(_=>A(_)))}return Q(`Unsupported node type: ${p.nodeType}. If you need support for it, please, create an issue in fluent-vue repository.`),[]},a=R.computed(()=>!n.html||!Go.test(f.value.value)?h(f.value.value):i.options.parseMarkup(f.value.value).map(A));return()=>n.tag===!1||n.noTag?a.value:R.h(n.tag,{...u},a.value)}})}var Re={global:["title","aria-label","aria-valuetext","aria-moz-hint"],a:["download"],area:["download","alt"],input:["alt","placeholder"],menuitem:["label"],menu:["label"],optgroup:["label"],option:["label"],track:["label"],img:["alt"],textarea:["placeholder"],th:["abbr"]};function qo(e,t,n=[]){if(n.includes(e))return!0;const r=e.toLowerCase(),u=t.localName;if(Re.global.includes(r))return!0;if(Re[u]==null)return!1;if(Re[u].includes(r))return!0;if(t.namespaceURI==="http://www.w3.org/1999/xhtml"&&u==="input"&&r==="value"){const o=t.type.toLowerCase();if(o==="submit"||o==="button"||o==="reset")return!0}return!1}function hn(e,t,n){const r=n.arg;if(r===void 0){Q("v-t directive is missing arg with translation key");return}const u=t.formatWithAttrs(r,n.value);u.hasValue&&(e.textContent=u.value);const o=Object.keys(n.modifiers);for(const[s,i]of Object.entries(u.attributes))qo(s,e,o)?e.setAttribute(s,i):Q(`Attribute '${s}' on element <${e.tagName.toLowerCase()}> is not localizable. Remove it from the translation. Translation key: ${r}`)}function Yo(e){return{mounted(t,n){R.watchEffect(()=>{const r=Z(e,n.instance);hn(t,r,n)})},updated(t,n){const r=Z(e,n.instance);hn(t,r,n)},getSSRProps(t){const n=Z(e,t.instance);if(t.arg===void 0)return Q("v-t directive is missing arg with translation key"),{};const r=n.formatWithAttrs(t.arg,t.value),u=r.attributes;return r.hasValue&&(u.textContent=r.value),u}}}function Zo(e){const t=R.shallowRef(e.bundles),n=zo(e),r=new On(t,n);return{get bundles(){return t.value},set bundles(u){t.value=u},mergedWith:u=>Sn(r,u),format:r.format.bind(r),formatAttrs:r.formatAttrs.bind(r),formatWithAttrs:r.formatWithAttrs.bind(r),$t:r.format.bind(r),$ta:r.formatAttrs.bind(r),install(u){{const o=u;process.env.NODE_ENV!=="production"&&Uo(o,n,this),o.provide(Ir,r),o.config.globalProperties[n.globalFormatName]=function(s,i){return Z(r,this).format(s,i)},o.config.globalProperties[n.globalFormatAttrsName]=function(s,i){return Z(r,this).formatAttrs(s,i)},o.directive(n.directiveName,Yo(r))}u.component(n.componentName,Wo(n,r))}}}const Xo={useCache:!0},Jo=`No bundles! you must await .ready before installing
|
|
2
|
-
LocaleManager as a plugin. Either instantiate with warmUp = true (default) or
|
|
3
|
-
call and await .change() manually.`.replace(`
|
|
4
|
-
`," ");class Qo{constructor({bundleSource:t,preferredLocale:n,allowedLocales:r,namespaces:u,fallbackLocale:o,warmUp:s=!0}){this.localStorageKey="user-locale",this.allowedLocales=[],this.currentNamespaces=new Set,this._resolveReady=null,this.fluent=null,this._cachedBundles=null,this._cachedHash=null,this.preferredLocale=null,this.bundleSource=t,this.fallbackLocale=o,this.setOptions({allowedLocales:r,preferredLocale:n,namespaces:u}),this.ready=new Promise(i=>{this._resolveReady=i}),s&&this.warmUp()}async warmUp(){if(this._resolveReady===null)throw new Error("you should not have called this!");if(this.currentNamespaces.size===0)throw new Error("provide at least one namespace when using auto-init!");try{await this.getCurrentBundles(),this._resolveReady(null)}catch(t){t instanceof Error?this._resolveReady(t):this._resolveReady(new Error(`${t}`))}finally{this._resolveReady=null}}get fluentFormat(){var t;if((t=this.fluent)!=null&&t.format)return this.fluent.format;throw new Error("fluent not ready")}get fluentFormatAttrs(){var t;if((t=this.fluent)!=null&&t.formatAttrs)return this.fluent.formatAttrs;throw new Error("fluent not ready")}async change(t){const n={...Xo,...t};n.useCache||(this._cachedHash=null,this._cachedBundles=null),this.setOptions({allowedLocales:n.allowedLocales,preferredLocale:n.preferredLocale,namespaces:n.namespaces});const r=await this.getCurrentBundles();this.fluent!==null&&(this.fluent.bundles=r),this._resolveReady&&this._resolveReady(null)}initFluent(){return Zo({bundles:this.currentBundles})}determineLocale({preferredLocale:t,allowedLocales:n}){if(t)return t;if(n&&n.length>0)return n[0];const r=this.getStoredLocale();if(r)return r;const u=this.getBrowserLocale();return u||this.fallbackLocale}getStoredLocale(){return localStorage.getItem(this.localStorageKey)}saveLocale(t){localStorage.setItem(this.localStorageKey,t)}getBrowserLocale(){const t=navigator.languages;return t.length>0?t[0]:null}get fluentPlugin(){return this.fluent===null&&(this.fluent=this.initFluent()),this.fluent}get currentBundles(){if(this._cachedBundles===null)throw new Error(Jo);return this._cachedBundles}get activeLocales(){return!this.preferredLocale||this.preferredLocale===this.fallbackLocale?[this.fallbackLocale]:[this.preferredLocale,this.fallbackLocale]}setOptions({preferredLocale:t,allowedLocales:n,namespaces:r}){n&&this.setAllowedLocales(n),this.setPreferredLocale(this.determineLocale({allowedLocales:n,preferredLocale:t})),r&&this.addNamespaces(r)}setPreferredLocale(t){this.preferredLocale=t;const n=this.allowedLocales.indexOf(t);n!==-1&&this.allowedLocales.splice(n,1),this.allowedLocales.unshift(t),this.setCurrentLocaleProp(this.preferredLocale),this.saveLocale(t)}setAllowedLocales(t){this.allowedLocales=[...t],this.allowedLocales.includes(this.fallbackLocale)||this.allowedLocales.push(this.fallbackLocale)}addNamespaces(t){for(const n of t)this.currentNamespaces.add(n)}async getCurrentBundles(){if(this.currentNamespaces.size===0)throw new Error("no namespaces set!");const t=this.activeLocales,n=[...this.currentNamespaces],r=this.hashState(t,n);return this.getCachedBundles(r)??this.loadBundles(t,n)}async loadBundles(t,n){const r=await this.bundleSource.getBundles(t,n);return this._cachedHash=this.hashState(t,n),this._cachedBundles=r,r}getCachedBundles(t){return this._cachedBundles===null||this._cachedHash!==t?null:this._cachedBundles}hashState(t,n){return`${t}|${[...n].sort()}`}}const xe=/^(-?[a-zA-Z][\w-]*) *= */gm,pn=/\.([a-zA-Z][\w-]*) *= */y,es=/\*?\[/y,Pe=/(-?[0-9]+(?:\.([0-9]+))?)/y,ts=/([a-zA-Z][\w-]*)/y,En=/([$-])?([a-zA-Z][\w-]*)(?:\.([a-zA-Z][\w-]*))?/y,ns=/^[A-Z][A-Z0-9_-]*$/,ge=/([^{}\n\r]+)/y,rs=/([^\\"\n\r]*)/y,gn=/\\([\\"])/y,mn=/\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{6})/y,us=/^\n+/,vn=/ +$/,os=/ *\r?\n/g,ss=/( *)$/,is=/{\s*/y,yn=/\s*}/y,as=/\[\s*/y,ls=/\s*] */y,cs=/\s*\(\s*/y,fs=/\s*->\s*/y,ds=/\s*:\s*/y,_s=/\s*,?\s*/y,hs=/\s+/y;class ps{constructor(t){this.body=[],xe.lastIndex=0;let n=0;for(;;){let d=xe.exec(t);if(d===null)break;n=xe.lastIndex;try{this.body.push(f(d[1]))}catch(y){if(y instanceof SyntaxError)continue;throw y}}function r(d){return d.lastIndex=n,d.test(t)}function u(d,y){if(t[n]===d)return n++,!0;if(y)throw new y(`Expected ${d}`);return!1}function o(d,y){if(r(d))return n=d.lastIndex,!0;if(y)throw new y(`Expected ${d.toString()}`);return!1}function s(d){d.lastIndex=n;let y=d.exec(t);if(y===null)throw new SyntaxError(`Expected ${d.toString()}`);return n=d.lastIndex,y}function i(d){return s(d)[1]}function f(d){let y=A(),S=h();if(y===null&&Object.keys(S).length===0)throw new SyntaxError("Expected message value or attributes");return{id:d,value:y,attributes:S}}function h(){let d=Object.create(null);for(;r(pn);){let y=i(pn),S=A();if(S===null)throw new SyntaxError("Expected attribute value");d[y]=S}return d}function A(){let d;if(r(ge)&&(d=i(ge)),t[n]==="{"||t[n]==="}")return a(d?[d]:[],1/0);let y=N();return y?d?a([d,y],y.length):(y.value=W(y.value,us),a([y],y.length)):d?W(d,vn):null}function a(d=[],y){for(;;){if(r(ge)){d.push(i(ge));continue}if(t[n]==="{"){d.push(p());continue}if(t[n]==="}")throw new SyntaxError("Unbalanced closing brace");let k=N();if(k){d.push(k),y=Math.min(y,k.length);continue}break}let S=d.length-1,F=d[S];typeof F=="string"&&(d[S]=W(F,vn));let L=[];for(let k of d)k instanceof An&&(k=k.value.slice(0,k.value.length-y)),k&&L.push(k);return L}function p(){o(is,SyntaxError);let d=c();if(o(yn))return d;if(o(fs)){let y=E();return o(yn,SyntaxError),{type:"select",selector:d,...y}}throw new SyntaxError("Unclosed placeable")}function c(){if(t[n]==="{")return p();if(r(En)){let[,d,y,S=null]=s(En);if(d==="$")return{type:"var",name:y};if(o(cs)){let F=_();if(d==="-")return{type:"term",name:y,attr:S,args:F};if(ns.test(y))return{type:"func",name:y,args:F};throw new SyntaxError("Function names must be all upper-case")}return d==="-"?{type:"term",name:y,attr:S,args:[]}:{type:"mesg",name:y,attr:S}}return O()}function _(){let d=[];for(;;){switch(t[n]){case")":return n++,d;case void 0:throw new SyntaxError("Unclosed argument list")}d.push(v()),o(_s)}}function v(){let d=c();return d.type!=="mesg"?d:o(ds)?{type:"narg",name:d.name,value:O()}:d}function E(){let d=[],y=0,S;for(;r(es);){u("*")&&(S=y);let F=g(),L=A();if(L===null)throw new SyntaxError("Expected variant value");d[y++]={key:F,value:L}}if(y===0)return null;if(S===void 0)throw new SyntaxError("Expected default variant");return{variants:d,star:S}}function g(){o(as,SyntaxError);let d;return r(Pe)?d=b():d={type:"str",value:i(ts)},o(ls,SyntaxError),d}function O(){if(r(Pe))return b();if(t[n]==='"')return I();throw new SyntaxError("Invalid expression")}function b(){let[,d,y=""]=s(Pe),S=y.length;return{type:"num",value:parseFloat(d),precision:S}}function I(){u('"',SyntaxError);let d="";for(;;){if(d+=i(rs),t[n]==="\\"){d+=H();continue}if(u('"'))return{type:"str",value:d};throw new SyntaxError("Unclosed string literal")}}function H(){if(r(gn))return i(gn);if(r(mn)){let[,d,y]=s(mn),S=parseInt(d||y,16);return S<=55295||57344<=S?String.fromCodePoint(S):"�"}throw new SyntaxError("Unknown escape sequence")}function N(){let d=n;switch(o(hs),t[n]){case".":case"[":case"*":case"}":case void 0:return!1;case"{":return j(t.slice(d,n))}return t[n-1]===" "?j(t.slice(d,n)):!1}function W(d,y){return d.replace(y,"")}function j(d){let y=d.replace(os,`
|
|
5
|
-
`),S=ss.exec(d)[1].length;return new An(y,S)}}}class An{constructor(t,n){this.value=t,this.length=n}}class bn{constructor(t){Ce(this,"bundles",new Map);Ce(this,"keys",new Set);for(const[n,r,u]of t.resources){const o=this.getKey(n,r);if(this.keys.has(o))throw new Error(`${o} was provided more than once!`);this.keys.add(o),this.getBundle(n).addResource(new ps(u))}}static async dynamicResources(t){const n=[];for(const[r,u,o]of t)if(typeof o=="string")n.push([r,u,o]);else{const s=await o;if(typeof s.default!="string")throw new Error(".ftl text needs to be the default export!");n.push([r,u,s.default])}return n}getBundle(t){if(this.bundles.has(t))return this.bundles.get(t);const n=new He(t);return this.bundles.set(t,n),n}getKey(t,n){return`${n}/${t}`}async getBundles(t,n){const r=[];for(const u of t){for(const o of n){const s=this.getKey(u,o);if(!this.keys.has(s))throw new Error(`resource ${s} was not provided at init!`)}r.push(this.getBundle(u))}return r}}var Es=Object.defineProperty,gs=(e,t,n)=>t in e?Es(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ms=(e,t,n)=>(gs(e,t+"",n),n);class vs extends Qo{constructor(){super(...arguments),ms(this,"currentLocaleProp",R.observable({value:null}))}setCurrentLocaleProp(t){this.currentLocaleProp=R.observable({value:t})}install(){this.fluent===null&&(this.fluent=this.initFluent()),R.prototype.$localeManager=this}}const sr={ENGLISH:"en-US",DIALPADISTAN:"dp-DP",SPANISH:"es-LA"},ys={async install(e){const t=Object.values(sr),n="dialtone",r=new bn({resources:await bn.dynamicResources(t.map(s=>[s,n,lr(Object.assign({"./dp-DP.ftl":()=>Promise.resolve().then(()=>require("./dp-DP.cjs")),"./en-US.ftl":()=>Promise.resolve().then(()=>require("./en-US.cjs")),"./es-LA.ftl":()=>Promise.resolve().then(()=>require("./es-LA.cjs"))}),`./${s}.ftl`,2)]))}),u=t[0],o=new vs({bundleSource:r,preferredLocale:u,allowedLocales:t,fallbackLocale:u,namespaces:[n]});await o.ready,e.use(o)}};exports.DialtoneLocalizationPlugin=ys;exports.allowedLocales=sr;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@dialpad/i18n-vue2"),c=(l,e,o)=>{const n=l[e];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((t,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==o?". Note that variables only represent file names one level deep.":""))))})},i={ENGLISH:"en-US",DIALPADISTAN:"dp-DP",SPANISH:"es-LA"},u={async install(l){const e=Object.values(i),o="dialtone",n=new r.RawBundleSource({resources:await r.RawBundleSource.dynamicResources(e.map(s=>[s,o,c(Object.assign({"./dp-DP.ftl":()=>Promise.resolve().then(()=>require("./dp-DP.cjs")),"./en-US.ftl":()=>Promise.resolve().then(()=>require("./en-US.cjs")),"./es-LA.ftl":()=>Promise.resolve().then(()=>require("./es-LA.cjs"))}),`./${s}.ftl`,2)]))}),t=e[0],a=new r.LocaleManager({bundleSource:n,preferredLocale:t,allowedLocales:e,fallbackLocale:t,namespaces:[o]});await a.ready,l.use(a)}};exports.DialtoneLocalizationPlugin=u;exports.allowedLocales=i;
|
|
6
2
|
//# sourceMappingURL=index.cjs.map
|