diff --git a/docs/assets/main-CvtU58Hr.js b/docs/assets/main-BgyoX0sz.js similarity index 98% rename from docs/assets/main-CvtU58Hr.js rename to docs/assets/main-BgyoX0sz.js index 494ca82e..3358f199 100644 --- a/docs/assets/main-CvtU58Hr.js +++ b/docs/assets/main-BgyoX0sz.js @@ -48,7 +48,7 @@ * vue-i18n v10.0.5 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const VERSION="10.0.5";function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}const I18nErrorCodes={UNEXPECTED_RETURN_TYPE:CORE_ERROR_CODES_EXTEND_POINT,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(e,...t){return createCompileError(e,null,void 0)}const TranslateVNodeSymbol=makeSymbol("__translateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules"),InejctWithOptionSymbol=makeSymbol("__injectWithOption"),DisposeSymbol=makeSymbol("__dispose");function handleFlatJson(e){if(!isObject(e))return e;for(const t in e)if(hasOwn(e,t))if(!t.includes("."))isObject(e[t])&&handleFlatJson(e[t]);else{const n=t.split("."),o=n.length-1;let s=e,a=!1;for(let l=0;l{if("locale"in r&&"resource"in r){const{locale:c,resource:d}=r;c?(l[c]=l[c]||create(),deepCopy(d,l[c])):deepCopy(d,l)}else isString(r)&&deepCopy(JSON.parse(r),l)}),s==null&&a)for(const r in l)hasOwn(l,r)&&handleFlatJson(l[r]);return l}function getComponentOptions(e){return e.type}function adjustI18nResources(e,t,n){let o=isObject(t.messages)?t.messages:create();"__i18nGlobal"in n&&(o=getLocaleMessages(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const s=Object.keys(o);s.length&&s.forEach(a=>{e.mergeLocaleMessage(a,o[a])});{if(isObject(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(isObject(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function createTextNode(e){return createVNode(Text,null,e,0)}const DEVTOOLS_META="__INTLIFY_META__",NOOP_RETURN_ARRAY=()=>[],NOOP_RETURN_FALSE=()=>!1;let composerID=0;function defineCoreMissingHandler(e){return(t,n,o,s)=>e(n,o,getCurrentInstance()||void 0,s)}const getMetaInfo=()=>{const e=getCurrentInstance();let t=null;return e&&(t=getComponentOptions(e)[DEVTOOLS_META])?{[DEVTOOLS_META]:t}:null};function createComposer(e={}){const{__root:t,__injectWithOption:n}=e,o=t===void 0,s=e.flatJson,a=inBrowser?ref:shallowRef;let l=isBoolean(e.inheritLocale)?e.inheritLocale:!0;const r=a(t&&l?t.locale.value:isString(e.locale)?e.locale:DEFAULT_LOCALE),c=a(t&&l?t.fallbackLocale.value:isString(e.fallbackLocale)||isArray(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r.value),d=a(getLocaleMessages(r.value,e)),u=a(isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[r.value]:{}}),m=a(isPlainObject(e.numberFormats)?e.numberFormats:{[r.value]:{}});let f=t?t.missingWarn:isBoolean(e.missingWarn)||isRegExp(e.missingWarn)?e.missingWarn:!0,v=t?t.fallbackWarn:isBoolean(e.fallbackWarn)||isRegExp(e.fallbackWarn)?e.fallbackWarn:!0,y=t?t.fallbackRoot:isBoolean(e.fallbackRoot)?e.fallbackRoot:!0,$=!!e.fallbackFormat,b=isFunction(e.missing)?e.missing:null,k=isFunction(e.missing)?defineCoreMissingHandler(e.missing):null,_=isFunction(e.postTranslation)?e.postTranslation:null,B=t?t.warnHtmlMessage:isBoolean(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const E=t?t.modifiers:isPlainObject(e.modifiers)?e.modifiers:{};let V=e.pluralRules||t&&t.pluralRules,w;w=(()=>{o&&setFallbackContext(null);const D={version:VERSION,locale:r.value,fallbackLocale:c.value,messages:d.value,modifiers:E,pluralRules:V,missing:k===null?void 0:k,missingWarn:f,fallbackWarn:v,fallbackFormat:$,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:B,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};D.datetimeFormats=u.value,D.numberFormats=m.value,D.__datetimeFormatters=isPlainObject(w)?w.__datetimeFormatters:void 0,D.__numberFormatters=isPlainObject(w)?w.__numberFormatters:void 0;const M=createCoreContext(D);return o&&setFallbackContext(M),M})(),updateFallbackLocale(w,r.value,c.value);function q(){return[r.value,c.value,d.value,u.value,m.value]}const S=computed({get:()=>r.value,set:D=>{r.value=D,w.locale=r.value}}),I=computed({get:()=>c.value,set:D=>{c.value=D,w.fallbackLocale=c.value,updateFallbackLocale(w,r.value,D)}}),L=computed(()=>d.value),H=computed(()=>u.value),J=computed(()=>m.value);function te(){return isFunction(_)?_:null}function ee(D){_=D,w.postTranslation=D}function ne(){return b}function Z(D){D!==null&&(k=defineCoreMissingHandler(D)),b=D,w.missing=k}const se=(D,M,X,Q,le,ae)=>{q();let fe;try{__INTLIFY_PROD_DEVTOOLS__,o||(w.fallbackContext=t?getFallbackContext():void 0),fe=D(w)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(w.fallbackContext=void 0)}if(X!=="translate exists"&&isNumber(fe)&&fe===NOT_REOSLVED||X==="translate exists"&&!fe){const[de,pe]=M();return t&&y?Q(t):le(de)}else{if(ae(fe))return fe;throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)}};function ie(...D){return se(M=>Reflect.apply(translate,null,[M,...D]),()=>parseTranslateArgs(...D),"translate",M=>Reflect.apply(M.t,M,[...D]),M=>M,M=>isString(M))}function U(...D){const[M,X,Q]=D;if(Q&&!isObject(Q))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);return ie(M,X,assign({resolvedMessage:!0},Q||{}))}function j(...D){return se(M=>Reflect.apply(datetime,null,[M,...D]),()=>parseDateTimeArgs(...D),"datetime format",M=>Reflect.apply(M.d,M,[...D]),()=>MISSING_RESOLVE_VALUE,M=>isString(M))}function G(...D){return se(M=>Reflect.apply(number,null,[M,...D]),()=>parseNumberArgs(...D),"number format",M=>Reflect.apply(M.n,M,[...D]),()=>MISSING_RESOLVE_VALUE,M=>isString(M))}function K(D){return D.map(M=>isString(M)||isNumber(M)||isBoolean(M)?createTextNode(String(M)):M)}const re={normalize:K,interpolate:D=>D,type:"vnode"};function ue(...D){return se(M=>{let X;const Q=M;try{Q.processor=re,X=Reflect.apply(translate,null,[Q,...D])}finally{Q.processor=null}return X},()=>parseTranslateArgs(...D),"translate",M=>M[TranslateVNodeSymbol](...D),M=>[createTextNode(M)],M=>isArray(M))}function oe(...D){return se(M=>Reflect.apply(number,null,[M,...D]),()=>parseNumberArgs(...D),"number format",M=>M[NumberPartsSymbol](...D),NOOP_RETURN_ARRAY,M=>isString(M)||isArray(M))}function ve(...D){return se(M=>Reflect.apply(datetime,null,[M,...D]),()=>parseDateTimeArgs(...D),"datetime format",M=>M[DatetimePartsSymbol](...D),NOOP_RETURN_ARRAY,M=>isString(M)||isArray(M))}function me(D){V=D,w.pluralRules=V}function xe(D,M){return se(()=>{if(!D)return!1;const X=isString(M)?M:r.value,Q=A(X),le=w.messageResolver(Q,D);return isMessageAST(le)||isMessageFunction(le)||isString(le)},()=>[D],"translate exists",X=>Reflect.apply(X.te,X,[D,M]),NOOP_RETURN_FALSE,X=>isBoolean(X))}function ke(D){let M=null;const X=fallbackWithLocaleChain(w,c.value,r.value);for(let Q=0;Q{l&&(r.value=D,w.locale=D,updateFallbackLocale(w,r.value,c.value))}),watch(t.fallbackLocale,D=>{l&&(c.value=D,w.fallbackLocale=D,updateFallbackLocale(w,r.value,c.value))}));const Y={id:composerID,locale:S,fallbackLocale:I,get inheritLocale(){return l},set inheritLocale(D){l=D,D&&t&&(r.value=t.locale.value,c.value=t.fallbackLocale.value,updateFallbackLocale(w,r.value,c.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:L,get modifiers(){return E},get pluralRules(){return V||{}},get isGlobal(){return o},get missingWarn(){return f},set missingWarn(D){f=D,w.missingWarn=f},get fallbackWarn(){return v},set fallbackWarn(D){v=D,w.fallbackWarn=v},get fallbackRoot(){return y},set fallbackRoot(D){y=D},get fallbackFormat(){return $},set fallbackFormat(D){$=D,w.fallbackFormat=$},get warnHtmlMessage(){return B},set warnHtmlMessage(D){B=D,w.warnHtmlMessage=D},get escapeParameter(){return g},set escapeParameter(D){g=D,w.escapeParameter=D},t:ie,getLocaleMessage:A,setLocaleMessage:O,mergeLocaleMessage:z,getPostTranslationHandler:te,setPostTranslationHandler:ee,getMissingHandler:ne,setMissingHandler:Z,[SetPluralRulesSymbol]:me};return Y.datetimeFormats=H,Y.numberFormats=J,Y.rt=U,Y.te=xe,Y.tm=N,Y.d=j,Y.n=G,Y.getDateTimeFormat=W,Y.setDateTimeFormat=x,Y.mergeDateTimeFormat=C,Y.getNumberFormat=P,Y.setNumberFormat=F,Y.mergeNumberFormat=R,Y[InejctWithOptionSymbol]=n,Y[TranslateVNodeSymbol]=ue,Y[DatetimePartsSymbol]=ve,Y[NumberPartsSymbol]=oe,Y}function convertComposerOptions(e){const t=isString(e.locale)?e.locale:DEFAULT_LOCALE,n=isString(e.fallbackLocale)||isArray(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=isFunction(e.missing)?e.missing:void 0,s=isBoolean(e.silentTranslationWarn)||isRegExp(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=isBoolean(e.silentFallbackWarn)||isRegExp(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,l=isBoolean(e.fallbackRoot)?e.fallbackRoot:!0,r=!!e.formatFallbackMessages,c=isPlainObject(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,u=isFunction(e.postTranslation)?e.postTranslation:void 0,m=isString(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,v=isBoolean(e.sync)?e.sync:!0;let y=e.messages;if(isPlainObject(e.sharedMessages)){const E=e.sharedMessages;y=Object.keys(E).reduce((w,T)=>{const q=w[T]||(w[T]={});return assign(q,E[T]),w},y||{})}const{__i18n:$,__root:b,__injectWithOption:k}=e,_=e.datetimeFormats,B=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:y,flatJson:g,datetimeFormats:_,numberFormats:B,missing:o,missingWarn:s,fallbackWarn:a,fallbackRoot:l,fallbackFormat:r,modifiers:c,pluralRules:d,postTranslation:u,warnHtmlMessage:m,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:v,__i18n:$,__root:b,__injectWithOption:k}}function createVueI18n(e={}){const t=createComposer(convertComposerOptions(e)),{__extender:n}=e,o={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},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(s){t.setMissingHandler(s)},get silentTranslationWarn(){return isBoolean(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=isBoolean(s)?!s:s},get silentFallbackWarn(){return isBoolean(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=isBoolean(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){return Reflect.apply(t.t,t,[...s])},rt(...s){return Reflect.apply(t.rt,t,[...s])},tc(...s){const[a,l,r]=s,c={plural:1};let d=null,u=null;if(!isString(a))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);const m=a;return isString(l)?c.locale=l:isNumber(l)?c.plural=l:isArray(l)?d=l:isPlainObject(l)&&(u=l),isString(r)?c.locale=r:isArray(r)?d=r:isPlainObject(r)&&(u=r),Reflect.apply(t.t,t,[m,d||u||{},c])},te(s,a){return t.te(s,a)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,a){t.setLocaleMessage(s,a)},mergeLocaleMessage(s,a){t.mergeLocaleMessage(s,a)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,a){t.setDateTimeFormat(s,a)},mergeDateTimeFormat(s,a){t.mergeDateTimeFormat(s,a)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,a){t.setNumberFormat(s,a)},mergeNumberFormat(s,a){t.mergeNumberFormat(s,a)}};return o.__extender=n,o}function defineMixin(e,t,n){return{beforeCreate(){const o=getCurrentInstance();if(!o)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const a=s.i18n;if(s.__i18n&&(a.__i18n=s.__i18n),a.__root=t,this===this.$root)this.$i18n=mergeToGlobal(e,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=createVueI18n(a);const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=mergeToGlobal(e,s);else{this.$i18n=createVueI18n({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&adjustI18nResources(t,s,s),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,l)=>this.$i18n.te(a,l),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=getCurrentInstance();if(!o)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(o),delete this.$i18n}}}function mergeToGlobal(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[SetPluralRulesSymbol](t.pluralizationRules||e.pluralizationRules);const n=getLocaleMessages(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const baseFormatProps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function getInterpolateArg({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,s)=>[...o,...s.type===Fragment?s.children:[s]],[]):t.reduce((n,o)=>{const s=e[o];return s&&(n[o]=s()),n},create())}function getFragmentableTag(){return Fragment}const TranslationImpl=defineComponent({name:"i18n-t",props:assign({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>isNumber(e)||!isNaN(e)}},baseFormatProps),setup(e,t){const{slots:n,attrs:o}=t,s=e.i18n||useI18n({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(m=>m!=="_"),l=create();e.locale&&(l.locale=e.locale),e.plural!==void 0&&(l.plural=isString(e.plural)?+e.plural:e.plural);const r=getInterpolateArg(t,a),c=s[TranslateVNodeSymbol](e.keypath,r,l),d=assign(create(),o),u=isString(e.tag)||isObject(e.tag)?e.tag:getFragmentableTag();return h(u,d,c)}}}),Translation=TranslationImpl;function isVNode(e){return isArray(e)&&!isString(e[0])}function renderFormatter(e,t,n,o){const{slots:s,attrs:a}=t;return()=>{const l={part:!0};let r=create();e.locale&&(l.locale=e.locale),isString(e.format)?l.key=e.format:isObject(e.format)&&(isString(e.format.key)&&(l.key=e.format.key),r=Object.keys(e.format).reduce((f,v)=>n.includes(v)?assign(create(),f,{[v]:e.format[v]}):f,create()));const c=o(e.value,l,r);let d=[l.key];isArray(c)?d=c.map((f,v)=>{const y=s[f.type],$=y?y({[f.type]:f.value,index:v,parts:c}):[f.value];return isVNode($)&&($[0].key=`${f.type}-${v}`),$}):isString(c)&&(d=[c]);const u=assign(create(),a),m=isString(e.tag)||isObject(e.tag)?e.tag:getFragmentableTag();return h(m,u,d)}}const NumberFormatImpl=defineComponent({name:"i18n-n",props:assign({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup(e,t){const n=e.i18n||useI18n({useScope:e.scope,__useComponent:!0});return renderFormatter(e,t,NUMBER_FORMAT_OPTIONS_KEYS,(...o)=>n[NumberPartsSymbol](...o))}}),NumberFormat=NumberFormatImpl,DatetimeFormatImpl=defineComponent({name:"i18n-d",props:assign({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup(e,t){const n=e.i18n||useI18n({useScope:e.scope,__useComponent:!0});return renderFormatter(e,t,DATETIME_FORMAT_OPTIONS_KEYS,(...o)=>n[DatetimePartsSymbol](...o))}}),DatetimeFormat=DatetimeFormatImpl;function getComposer$1(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function vTDirective(e){const t=l=>{const{instance:r,value:c}=l;if(!r||!r.$)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const d=getComposer$1(e,r.$),u=parseValue(c);return[Reflect.apply(d.t,d,[...makeParams(u)]),d]};return{created:(l,r)=>{const[c,d]=t(r);inBrowser&&e.global===d&&(l.__i18nWatcher=watch(d.locale,()=>{r.instance&&r.instance.$forceUpdate()})),l.__composer=d,l.textContent=c},unmounted:l=>{inBrowser&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:r})=>{if(l.__composer){const c=l.__composer,d=parseValue(r);l.textContent=Reflect.apply(c.t,c,[...makeParams(d)])}},getSSRProps:l=>{const[r]=t(l);return{textContent:r}}}}function parseValue(e){if(isString(e))return{path:e};if(isPlainObject(e)){if(!("path"in e))throw createI18nError(I18nErrorCodes.REQUIRED_VALUE,"path");return e}else throw createI18nError(I18nErrorCodes.INVALID_VALUE)}function makeParams(e){const{path:t,locale:n,args:o,choice:s,plural:a}=e,l={},r=o||{};return isString(n)&&(l.locale=n),isNumber(s)&&(l.plural=s),isNumber(a)&&(l.plural=a),[t,r,l]}function apply(e,t,...n){const o=isPlainObject(n[0])?n[0]:{};(isBoolean(o.globalInstall)?o.globalInstall:!0)&&([Translation.name,"I18nT"].forEach(a=>e.component(a,Translation)),[NumberFormat.name,"I18nN"].forEach(a=>e.component(a,NumberFormat)),[DatetimeFormat.name,"I18nD"].forEach(a=>e.component(a,DatetimeFormat))),e.directive("t",vTDirective(t))}const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n(e={},t){const n=__VUE_I18N_LEGACY_API__&&isBoolean(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=isBoolean(e.globalInjection)?e.globalInjection:!0,s=new Map,[a,l]=createGlobal(e,n),r=makeSymbol("");function c(f){return s.get(f)||null}function d(f,v){s.set(f,v)}function u(f){s.delete(f)}const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(f,...v){if(f.__VUE_I18N_SYMBOL__=r,f.provide(f.__VUE_I18N_SYMBOL__,m),isPlainObject(v[0])){const b=v[0];m.__composerExtend=b.__composerExtend,m.__vueI18nExtend=b.__vueI18nExtend}let y=null;!n&&o&&(y=injectGlobalFields(f,m.global)),__VUE_I18N_FULL_INSTALL__&&apply(f,m,...v),__VUE_I18N_LEGACY_API__&&n&&f.mixin(defineMixin(l,l.__composer,m));const $=f.unmount;f.unmount=()=>{y&&y(),m.dispose(),$()}},get global(){return l},dispose(){a.stop()},__instances:s,__getInstance:c,__setInstance:d,__deleteInstance:u};return m}function useI18n(e={}){const t=getCurrentInstance();if(t==null)throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw createI18nError(I18nErrorCodes.NOT_INSTALLED);const n=getI18nInstance(t),o=getGlobalComposer(n),s=getComponentOptions(t),a=getScope(e,s);if(a==="global")return adjustI18nResources(o,e,s),o;if(a==="parent"){let c=getComposer(n,t,e.__useComponent);return c==null&&(c=o),c}const l=n;let r=l.__getInstance(t);if(r==null){const c=assign({},e);"__i18n"in s&&(c.__i18n=s.__i18n),o&&(c.__root=o),r=createComposer(c),l.__composerExtend&&(r[DisposeSymbol]=l.__composerExtend(r)),setupLifeCycle(l,t,r),l.__setInstance(t,r)}return r}function createGlobal(e,t,n){const o=effectScope(),s=__VUE_I18N_LEGACY_API__&&t?o.run(()=>createVueI18n(e)):o.run(()=>createComposer(e));if(s==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[o,s]}function getI18nInstance(e){const t=inject(e.isCE?I18nInjectionKey:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw createI18nError(e.isCE?I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return t}function getScope(e,t){return isEmptyObject(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function getGlobalComposer(e){return e.mode==="composition"?e.global:e.global.__composer}function getComposer(e,t,n=!1){let o=null;const s=t.root;let a=getParentComponentInstance(t,n);for(;a!=null;){const l=e;if(e.mode==="composition")o=l.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const r=l.__getInstance(a);r!=null&&(o=r.__composer,n&&o&&!o[InejctWithOptionSymbol]&&(o=null))}if(o!=null||s===a)break;a=a.parent}return o}function getParentComponentInstance(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function setupLifeCycle(e,t,n){onMounted(()=>{},t),onUnmounted(()=>{const o=n;e.__deleteInstance(t);const s=o[DisposeSymbol];s&&(s(),delete o[DisposeSymbol])},t)}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm","te"];function injectGlobalFields(e,t){const n=Object.create(null);return globalExportProps.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const l=isRef(a.value)?{get(){return a.value.value},set(r){a.value.value=r}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,s,l)}),e.config.globalProperties.$i18n=n,globalExportMethods.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a||!a.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,a)}),()=>{delete e.config.globalProperties.$i18n,globalExportMethods.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}initFeatureFlags();registerMessageCompiler(compile);registerMessageResolver(resolveValue);registerLocaleFallbacker(fallbackWithLocaleChain);if(__INTLIFY_PROD_DEVTOOLS__){const e=getGlobalThis();e.__INTLIFY__=!0,setDevToolsHook(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const parseResponseData=(e,t,n,o,s)=>{let a=n.length,l=e.settings.pega_marketing[t];if(t.indexOf("extraOfferPages")===0&&typeof e.settings.pega_marketing.extraOfferPages<"u"){const d=parseInt(t.replace("extraOfferPages",""),10)-1;l=e.settings.pega_marketing.extraOfferPages[d]}l&&l.placement&&(a=l.placement.split(",").length,a>n.length&&(a=n.length));let r=[];l&&l.attributes&&l.attributes!==""&&(r=l.attributes.split(",")),l&&l.showSingleOffer&&(a=a>1?1:a);let c=!1;for(let d=0;d{console.log(`send capture information for ${n.name} rank=${n.rank} outcome=${o} response:${a.Status}`)})}else{if(t.initCDH)return;const s=document.createElement("script");s.onload=function(){t.initCDH=!0,e(t,n,o)},s.setAttribute("src","../js/realtimecontainerscript.js"),document.head.appendChild(s)}},initNBAM=function e(t,n,o,s,a){if(typeof window.getNBAMServiceControl<"u"){const l=window.getNBAMServiceControl(t.settings.pega_marketing.apiLevel,!1);window.CDHRequestTimeout=t.settings.pega_marketing.requestTimeout,l.initialize(t.settings.pega_marketing.Host,t.settings.pega_marketing.Port);let r="";if(t.settings.pega_marketing[n]&&t.settings.pega_marketing[n].containerName)r=t.settings.pega_marketing[n].containerName;else if(n.indexOf("extraOfferPages")===0&&typeof t.settings.pega_marketing.extraOfferPages<"u"){const u=parseInt(n.replace("extraOfferPages",""),10)-1;r=t.settings.pega_marketing.extraOfferPages[u].containerName}if(r===""){t.loading=!1;return}let c="Tile";if(t.settings.pega_marketing[n]&&t.settings.pega_marketing[n].placement)c=t.settings.pega_marketing[n].placement;else if(n.indexOf("extraOfferPages")===0&&typeof t.settings.pega_marketing.extraOfferPages<"u"){const u=parseInt(n.replace("extraOfferPages",""),10)-1;c=t.settings.pega_marketing.extraOfferPages[u].placement}const d=t.intent.trim();try{l.getOffers(o,t.settings.pega_marketing.contextName,r,t.ExternalID,t.settings.pega_marketing.channel,s,a,u=>{u.RankedResults=u.ContainerList[0].RankedResults,u.OffersList&&u.OffersList.length>0?parseResponseData(t,n,u.OffersList,r,o):u.RankedResults&&u.RankedResults.length>0?parseResponseData(t,n,u.RankedResults,r,o):t.errorloading=!0,t.loading=!1},d,c,t.settings.pega_marketing.appID,()=>{t.loading=!1,t.errorloading=!0})}catch{t.loading=!1,t.errorloading=!0}}else{if(t.initCDH)return;const l=document.createElement("script");l.onload=function(){t.initCDH=!0,e(t,n,o,s,a)},l.setAttribute("src","../js/realtimecontainerscript.js"),document.head.appendChild(l)}},mergeAccount=function e(t){if(!(t.settings.pega_marketing.Host===""||!t.settings.pega_marketing.enableMergeAccount))if(typeof window.getNBAMServiceControl<"u"){const n=window.getNBAMServiceControl(t.settings.pega_marketing.apiLevel,!1);n.initialize(t.settings.pega_marketing.Host,t.settings.pega_marketing.Port);let o="";if(t.userId!==-1&&t.settings.users[t.userId].customerID&&(o=t.settings.users[t.userId].customerID),o===""){console.log("No customerID present - skip mergeAccount");return}n.mergeAccount(o,t.ExternalID,t.settings.pega_marketing.contextName,t.settings.pega_marketing.appID,null)}else{if(t.initCDH)return;const n=document.createElement("script");n.onload=function(){t.initCDH=!0,e(t)},n.setAttribute("src","../js/realtimecontainerscript.js"),document.head.appendChild(n)}},sendRTSEvent=function e(t,n){if(t.settings.pega_marketing.Host!=="")if(typeof window.getNBAMServiceControl<"u"){const o=window.getNBAMServiceControl(t.settings.pega_marketing.apiLevel,!1);o.initialize(t.settings.pega_marketing.Host,t.settings.pega_marketing.Port);let s=n.customerID;s===""&&document.cookie.split("MKTID=").length>1&&(s=document.cookie.split("MKTID=")[1].split(";")[0]),o.sendRTSEvent(s,n,null)}else{if(t.initCDH)return;const o=document.createElement("script");o.onload=function(){t.initCDH=!0,e(t,n)},o.setAttribute("src","../js/realtimecontainerscript.js"),document.head.appendChild(o)}},sendClickStreamEvent=function e(t,n,o,s){if(!(t.settings.pega_marketing.Host===""||!t.settings.pega_marketing.enableClickStream))if(typeof window.getNBAMServiceControl<"u"){const a=window.getNBAMServiceControl(t.settings.pega_marketing.apiLevel,!1);a.initialize(t.settings.pega_marketing.Host,t.settings.pega_marketing.Port);let l="";s&&(l=parseInt((new Date-s)/1e3,10));let r="",c="";if(t.userId!==-1&&t.settings.users[t.userId].customerID&&(c=t.settings.users[t.userId].customerID),c===""&&document.cookie.split("MKTID=").length>1&&(r=document.cookie.split("MKTID=")[1].split(";")[0]),t.settings.pega_marketing.enableMergeAccount&&(r=t.ExternalID),c===""&&r==="")return;const d=t.isMobilePhone?"Mobile":"PC",u={CustomerID:c,EventType:n,PageType:o,PageLocation:window.location.href,DeviceType:d,PageViewActiveTime:l,EventTimestamp:new Date().toISOString().replaceAll("-","").replaceAll(":","").replace("Z"," GMT"),CookieID:r};a.sendClickStreamEvent(u,null)}else{if(t.initCDH)return;const a=document.createElement("script");a.onload=function(){t.initCDH=!0,e(t,n,s)},a.setAttribute("src","../js/realtimecontainerscript.js"),document.head.appendChild(a)}},messages={},datetimeFormats={},numberFormats={};let isDefaultLocaleLoaded=!1;for(const i in window.settings.i18n.languages){const lang=window.settings.i18n.languages[i];messages[lang]={message:eval(`window.lang${lang.toUpperCase()}`)},datetimeFormats[lang]=eval(`window.dateFormat${lang.toUpperCase()}`),numberFormats[lang]=eval(`window.numberFormat${lang.toUpperCase()}`),lang===window.settings.i18n.defaultlocale&&(isDefaultLocaleLoaded=!0)}isDefaultLocaleLoaded||([window.settings.i18n.defaultlocale]=window.settings.i18n.languages);const i18n=createI18n({locale:window.settings.i18n.defaultlocale,messages,datetimeFormats,numberFormats}),setCookie=function(e,t,n){const o=new Date;o.setTime(o.getTime()+n*24*60*60*1e3);const s=`expires=${o.toGMTString()}`;document.cookie=`${e}=${t};${s};path=/`},getCookie=function(e){const t=`${e}=`,o=decodeURIComponent(document.cookie).split(";");for(let s=0;s"u"&&(t.settings.general.connection.PegaURL=""),typeof t.settings.general.connection.authService>"u"&&(t.settings.general.connection.authService="pega"),typeof t.settings.general.connection.themeID>"u"&&(t.settings.general.connection.themeID=""),typeof t.settings.general.connection.webEmbedUseFormWidth>"u"&&(t.settings.general.connection.webEmbedUseFormWidth=!1),typeof t.settings.pega_chat.DMMProactiveChatNewSessionTimeout>"u"&&(t.settings.pega_chat.DMMProactiveChatNewSessionTimeout=0),typeof t.settings.pega_chat.DMMProactiveChatNewSessionCode>"u"&&(t.settings.pega_chat.DMMProactiveChatNewSessionCode="5sonPage");for(const n in t.settings.users)typeof t.settings.users[n].hide_from_dropdown>"u"&&(t.settings.users[n].hide_from_dropdown=!1);return typeof t.settings.CustomEvents>"u"&&(t.settings.CustomEvents=[{CustomEventAction:"HighlightElement",CustomEventName:"Custom Event 1",ElementName:"",SendAcknowledgement:!1,AcknowledgeOn:"After5Seconds"},{CustomEventAction:"HighlightElement",CustomEventName:"Custom Event 2",ElementName:"",SendAcknowledgement:!1,AcknowledgeOn:"After5Seconds"},{CustomEventAction:"HighlightElement",CustomEventName:"Custom Event 3",ElementName:"",SendAcknowledgement:!1,AcknowledgeOn:"After5Seconds"}]),t};let mainconfigTmp;if(typeof window.settings>"u")window.location.href=`${window.location.href}/`;else{let e=!1;(/iPhone/.test(navigator.userAgent)||/Android/.test(navigator.userAgent))&&(e=!0),e&&(document.documentElement.className="phone"),mainconfigTmp={settings:window.settings,app:window.app,isMobilePhone:e,offerURL:"",offerIndex:0,homeHeroImg:"",currentPage:"",previousPage:"",intent:"",reloadOffer:1,reloadMashup:1,reloadToDoMashup:1,reloadActivityMashup:1e3,isAuthenticated:!1,isSidePanelVisible:!1,isDeepLink:!1,deepLinkExtraParam:{},phonePageName:"",userId:-1,quickLinkId:-1,viewBill:-1,viewBanner:-1,toDo:-1,viewKMHelp:-1,KMArticleID:"",CDHContainer:{},logoutURL:{},homeHeroAction:-1,offerAction:-1,isRTSEnabled:!1,currentLocale:window.settings.i18n.defaultlocale,mainTitle:document.title};const t=localStorage.getItem(`config_${mainconfigTmp.app.industry}`);if(t!=null){const o=JSON.parse(t);o.settings&&(mainconfigTmp.settings=o.settings)}if(mainconfigTmp=upgradeConfig(mainconfigTmp),mainconfigTmp.ExternalID="",mainconfigTmp.settings.pega_marketing.enableMergeAccount){let o=sessionStorage.getItem("ExternalID");o||(o="uplus-"+Date.now(),sessionStorage.setItem("ExternalID",o)),mainconfigTmp.ExternalID=o}if(mainconfigTmp.initCDH=!1,mainconfigTmp.settings.pega_chat.ShowAsButton&&(document.documentElement.className=`${document.documentElement.className} chat-button`),window.history&&window.history.state!==null){const o=window.history.state;mainconfigTmp.userId===-1&&o!==null&&typeof o.userId<"u"?(o.userId!==-1&&(mainconfigTmp.isAuthenticated=!0),mainconfigTmp.userId=o.userId,typeof o.quickLinkId<"u"?(mainconfigTmp.quickLinkId=o.quickLinkId,e&&(mainconfigTmp.phonePageName="help"),window.history.replaceState({userId:mainconfigTmp.userId,quickLinkId:mainconfigTmp.quickLinkId},"",`quicklink${mainconfigTmp.quickLinkId}`)):e?(typeof o.page<"u"?mainconfigTmp.phonePageName=o.page:mainconfigTmp.phonePageName=window.location.pathname.substring(window.location.pathname.lastIndexOf("/")+1),window.history.replaceState(mainconfigTmp.isAuthenticated?{}:{userId:mainconfigTmp.userId},"",mainconfigTmp.phonePageName)):window.history.replaceState({userId:mainconfigTmp.userId},"",o.page)):window.location.pathname.indexOf("/heroaction")!==-1?(e&&(mainconfigTmp.phonePageName="heroaction"),mainconfigTmp.homeHeroAction=1,window.history.replaceState({},"","heroaction")):e&&(typeof o.page<"u"?mainconfigTmp.phonePageName=o.page:mainconfigTmp.phonePageName=window.location.pathname.substring(window.location.pathname.lastIndexOf("/")+1),window.history.replaceState({},"",mainconfigTmp.phonePageName))}if(mainconfigTmp.isAuthenticated===!1&&getCookie("UserName")!==""){const o=getCookie("UserName");for(const s in mainconfigTmp.settings.users)if(mainconfigTmp.settings.users[s].username===o){mainconfigTmp.isAuthenticated=!0,mainconfigTmp.userId=s;break}}const n={};if(window.location.search.substr(1).split("&").forEach(o=>{n[o.split("=")[0]]=o.split("=")[1]}),n.username||n.pega_userid){for(const o in mainconfigTmp.settings.users)if(typeof n.pega_userid<"u"&&mainconfigTmp.settings.users[o].pega_userid===n.pega_userid||typeof n.username<"u"&&mainconfigTmp.settings.users[o].username===n.username){mainconfigTmp.isAuthenticated=!0,mainconfigTmp.userId=o,mainconfigTmp.isDeepLink=!0;break}if(n.quicklinkclass){for(const o in mainconfigTmp.settings.quicklinks)if(mainconfigTmp.settings.quicklinks[o].objclass===n.quicklinkclass){mainconfigTmp.quickLinkId=o,mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.quicklinkclass,delete mainconfigTmp.deepLinkExtraParam.username,delete mainconfigTmp.deepLinkExtraParam.pega_userid,e&&(mainconfigTmp.phonePageName="help"),window.history.replaceState({userId:mainconfigTmp.userId},"",`quicklink${mainconfigTmp.quickLinkId}`);break}}mainconfigTmp.settings.todo.objclass===n.todoclass&&(mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.todoclass,delete mainconfigTmp.deepLinkExtraParam.username,delete mainconfigTmp.deepLinkExtraParam.pega_userid,e&&(mainconfigTmp.phonePageName="account"),window.history.replaceState({userId:mainconfigTmp.userId},"","account")),n.viewBill&&(mainconfigTmp.viewBill=1,mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.viewBill,delete mainconfigTmp.deepLinkExtraParam.username,delete mainconfigTmp.deepLinkExtraParam.pega_userid),n.viewBanner&&(mainconfigTmp.viewBanner=1,mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.viewBanner,delete mainconfigTmp.deepLinkExtraParam.username,delete mainconfigTmp.deepLinkExtraParam.pega_userid),n.viewKMHelp&&(mainconfigTmp.viewKMHelp=1,mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.viewKMHelp,delete mainconfigTmp.deepLinkExtraParam.username,delete mainconfigTmp.deepLinkExtraParam.pega_userid)}if(n.homeHeroAction&&(mainconfigTmp.homeHeroAction=1,e&&(mainconfigTmp.phonePageName="heroaction"),mainconfigTmp.isDeepLink=!0,mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.homeHeroAction),n.offerAction&&(mainconfigTmp.offerAction=1,e&&(mainconfigTmp.phonePageName="offer"),mainconfigTmp.isDeepLink=!0,mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.offerAction),window.PegaCSWSS={Cobrowse:{ServerURL:mainconfigTmp.settings.pega_chat.CoBrowseServerURL,Token:mainconfigTmp.settings.pega_chat.CoBrowseToken},WCBConfigName:mainconfigTmp.settings.pega_chat.WCBConfigName,WebChatBotID:mainconfigTmp.settings.pega_chat.WebChatBotID,ApplicationName:mainconfigTmp.settings.pega_chat.ApplicationName,MashupURL:mainconfigTmp.settings.pega_chat.MashupURL,ShowAsButton:mainconfigTmp.settings.pega_chat.ShowAsButton,TenantID:mainconfigTmp.settings.pega_chat.TenantID,MarketingHost:mainconfigTmp.settings.pega_marketing.Host,MarketingPort:mainconfigTmp.settings.pega_marketing.Port,EnableProActiveNotification:mainconfigTmp.settings.pega_chat.EnableProActiveNotification,ProActiveNotificationDismissTime:mainconfigTmp.settings.pega_chat.ProActiveNotificationDismissTime,ContactID:"",AccountNumber:"",UserName:"",UserID:"",DMMSessionID:"",ExtraParams:{}},mainconfigTmp.userId!==-1){const o=mainconfigTmp.settings.users[mainconfigTmp.userId];window.PegaCSWSS.ContactID=o.contactID,window.PegaCSWSS.AccountNumber=o.accountID,window.PegaCSWSS.UserName=o.username,window.PegaCSWSS.UserID=o.pega_userid,typeof o.extraparam<"u"&&o.extraparam!==""&&o.extraparam.split(",").forEach(s=>{const a=s.split("=");a.length===2&&(window.PegaCSWSS.ExtraParams[a[0].trim()]=a[1].trim())}),typeof o.dmm_context_data=="string"&&o.dmm_context_data!==""&&(window.PegaChatTags={},o.dmm_context_data.split(",").forEach(s=>{const a=s.split("=");window.PegaChatTags[a[0].trim()]=a[1].trim()}))}if(setCookie("ContactID",window.PegaCSWSS.ContactID,30),setCookie("AccountNumber",window.PegaCSWSS.AccountNumber,30),setCookie("UserName",window.PegaCSWSS.UserName,30),setCookie("UserID",window.PegaCSWSS.UserID,30),mainconfigTmp.settings.general.connection.c11nserver!==""&&mainconfigTmp.settings.general.connection.type==="embedui"){const o=document.createElement("script");o.setAttribute("src",`${mainconfigTmp.settings.general.connection.c11nserver}pega-embed.js`),document.head.appendChild(o)}else if(mainconfigTmp.settings.general.connection.PegaURL!==""&&(mainconfigTmp.settings.general.connection.type==="embedui2"||mainconfigTmp.settings.general.connection.type==="embedui3")){const o=document.createElement("script");o.setAttribute("src",`${mainconfigTmp.settings.general.connection.PegaURL}/PRRestService/c11nsvc/v1/pega-embed.js`),document.head.appendChild(o)}if(typeof mainconfigTmp.settings.pega_chat<"u"&&mainconfigTmp.settings.pega_chat.DMMURL!==""&&mainconfigTmp.settings.pega_chat.DMMID!==""&&`${window.location}`.indexOf("/settings.html")===-1){typeof window.PegaUnifiedChatWidget>"u"&&(window.PegaUnifiedChatWidget={},mainconfigTmp.settings.pega_chat.DMMProactiveChatNewSessionTimeout>0&&setTimeout(()=>{console.log(`PegaUnifiedChatWidget triggetChat '${mainconfigTmp.settings.pega_chat.DMMProactiveChatNewSessionCode}'`),window.PegaUnifiedChatWidget.triggerChat(mainconfigTmp.settings.pega_chat.DMMProactiveChatNewSessionCode)},mainconfigTmp.settings.pega_chat.DMMProactiveChatNewSessionTimeout)),window.PegaUnifiedChatWidget.onSessionInitialized=r=>{window.PegaCSWSS.DMMSessionID=r,console.log(`PegaUnifiedChatWidget onSessionInitialized=${r}`);const c=document.getElementById("pegaChatWidget");if(c&&(c.style.zIndex=1e3),sendClickStreamEvent(mainconfigTmp,"PageView","Chat",window.loadPage),mainconfigTmp.settings.pega_chat.DMMSecret!==""&&mainconfigTmp.userId!==-1){const d={authenticated:mainconfigTmp.userId!==-1,ContactID:window.PegaCSWSS.ContactID,AccountNumber:window.PegaCSWSS.AccountNumber,UserName:window.PegaCSWSS.UserName,UserID:window.PegaCSWSS.UserID},u=generateJWTKey({iss:r},mainconfigTmp.settings.pega_chat.DMMSecret),f=s(mainconfigTmp.settings.pega_chat.DMMPrivateURL)+"/Prod/private-data",v=new XMLHttpRequest;v.open("POST",f,!0),v.setRequestHeader("Content-type","application/json;charset=UTF-8"),v.setRequestHeader("authorization",`Bearer ${u}`),v.send(JSON.stringify(d))}},PegaUnifiedChatWidget.onChatAPIEvent=function(r){var c,d,u;if(r.event=="custom-event")for(let m=0;m<((d=(c=mainconfigTmp==null?void 0:mainconfigTmp.settings)==null?void 0:c.CustomEvents)==null?void 0:d.length);m++){let f=(u=mainconfigTmp==null?void 0:mainconfigTmp.settings)==null?void 0:u.CustomEvents[m];if(r.name==(f==null?void 0:f.CustomEventName)){console.log("Processing Custom Event: ",r,f);let v;if(f.CustomEventAction=="HighlightElement"){if(v=o(f.ElementName),v==null){console.log(`unable to locate element that includes text ${f.ElementName}`);return}v.classList.add("pulse")}else if(f.CustomEventAction=="ClickElement"){if(v=o(f.ElementName),v==null){console.log(`unable to locate element that includes text ${f.ElementName}`);return}v.click()}f.SendAcknowledgement&&(f.AcknowledgeOn=="After5Seconds"?setTimeout(function(){a(r.name),v.classList.remove("pulse")},5e3):f.AcknowledgeOn=="After30Seconds"?setTimeout(function(){a(r.name),v.classList.remove("pulse")},3e4):f.AcknowledgeOn=="LoginSuccess"&&(mainconfigTmp.isAuthenticated?(a(r.name),v.classList.remove("pulse")):document.addEventListener("confirmLogin",function(){a(r.name),v.classList.remove("pulse")})))}}};const o=function(r){const c=document.querySelectorAll("h1, h2, h3, h4, h5, h6, p, a, button");for(let d=0;d{const c=document.getElementById("pegaChatWidget");c&&(c.style.zIndex=1e3)},3e3)},document.head.appendChild(l),window.fireflyAPI={},mainconfigTmp.settings.pega_chat.CoBrowseServerURL!==""&&mainconfigTmp.settings.pega_chat.CoBrowseToken!==""){const r=document.createElement("script");r.type="text/javascript",window.fireflyAPI.token=mainconfigTmp.settings.pega_chat.CoBrowseToken,window.fireflyAPI.serverHostUrl=mainconfigTmp.settings.pega_chat.CoBrowseServerURL,r.src=`${mainconfigTmp.settings.pega_chat.CoBrowseServerURL}/cobrowse/loadScripts`,r.async=!0,document.head.appendChild(r)}}e&&(window.pegaMashupNavigateBack=function(){const s=document.getElementsByClassName("pi-caret-left");s.length>0&&s[0].click()})}const mainconfig=reactive(mainconfigTmp);window.mainconfig=mainconfigTmp;if(mainconfigTmp.settings.general.theming.override){const e=document.createElement("style");e.innerHTML=`:root { --brandColor: ${mainconfigTmp.settings.general.theming.brandColor}; + */const VERSION="10.0.5";function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}const I18nErrorCodes={UNEXPECTED_RETURN_TYPE:CORE_ERROR_CODES_EXTEND_POINT,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function createI18nError(e,...t){return createCompileError(e,null,void 0)}const TranslateVNodeSymbol=makeSymbol("__translateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules"),InejctWithOptionSymbol=makeSymbol("__injectWithOption"),DisposeSymbol=makeSymbol("__dispose");function handleFlatJson(e){if(!isObject(e))return e;for(const t in e)if(hasOwn(e,t))if(!t.includes("."))isObject(e[t])&&handleFlatJson(e[t]);else{const n=t.split("."),o=n.length-1;let s=e,a=!1;for(let l=0;l{if("locale"in r&&"resource"in r){const{locale:c,resource:d}=r;c?(l[c]=l[c]||create(),deepCopy(d,l[c])):deepCopy(d,l)}else isString(r)&&deepCopy(JSON.parse(r),l)}),s==null&&a)for(const r in l)hasOwn(l,r)&&handleFlatJson(l[r]);return l}function getComponentOptions(e){return e.type}function adjustI18nResources(e,t,n){let o=isObject(t.messages)?t.messages:create();"__i18nGlobal"in n&&(o=getLocaleMessages(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const s=Object.keys(o);s.length&&s.forEach(a=>{e.mergeLocaleMessage(a,o[a])});{if(isObject(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(isObject(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function createTextNode(e){return createVNode(Text,null,e,0)}const DEVTOOLS_META="__INTLIFY_META__",NOOP_RETURN_ARRAY=()=>[],NOOP_RETURN_FALSE=()=>!1;let composerID=0;function defineCoreMissingHandler(e){return(t,n,o,s)=>e(n,o,getCurrentInstance()||void 0,s)}const getMetaInfo=()=>{const e=getCurrentInstance();let t=null;return e&&(t=getComponentOptions(e)[DEVTOOLS_META])?{[DEVTOOLS_META]:t}:null};function createComposer(e={}){const{__root:t,__injectWithOption:n}=e,o=t===void 0,s=e.flatJson,a=inBrowser?ref:shallowRef;let l=isBoolean(e.inheritLocale)?e.inheritLocale:!0;const r=a(t&&l?t.locale.value:isString(e.locale)?e.locale:DEFAULT_LOCALE),c=a(t&&l?t.fallbackLocale.value:isString(e.fallbackLocale)||isArray(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r.value),d=a(getLocaleMessages(r.value,e)),u=a(isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[r.value]:{}}),m=a(isPlainObject(e.numberFormats)?e.numberFormats:{[r.value]:{}});let f=t?t.missingWarn:isBoolean(e.missingWarn)||isRegExp(e.missingWarn)?e.missingWarn:!0,v=t?t.fallbackWarn:isBoolean(e.fallbackWarn)||isRegExp(e.fallbackWarn)?e.fallbackWarn:!0,y=t?t.fallbackRoot:isBoolean(e.fallbackRoot)?e.fallbackRoot:!0,$=!!e.fallbackFormat,b=isFunction(e.missing)?e.missing:null,k=isFunction(e.missing)?defineCoreMissingHandler(e.missing):null,_=isFunction(e.postTranslation)?e.postTranslation:null,B=t?t.warnHtmlMessage:isBoolean(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const E=t?t.modifiers:isPlainObject(e.modifiers)?e.modifiers:{};let V=e.pluralRules||t&&t.pluralRules,w;w=(()=>{o&&setFallbackContext(null);const D={version:VERSION,locale:r.value,fallbackLocale:c.value,messages:d.value,modifiers:E,pluralRules:V,missing:k===null?void 0:k,missingWarn:f,fallbackWarn:v,fallbackFormat:$,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:B,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};D.datetimeFormats=u.value,D.numberFormats=m.value,D.__datetimeFormatters=isPlainObject(w)?w.__datetimeFormatters:void 0,D.__numberFormatters=isPlainObject(w)?w.__numberFormatters:void 0;const M=createCoreContext(D);return o&&setFallbackContext(M),M})(),updateFallbackLocale(w,r.value,c.value);function q(){return[r.value,c.value,d.value,u.value,m.value]}const S=computed({get:()=>r.value,set:D=>{r.value=D,w.locale=r.value}}),I=computed({get:()=>c.value,set:D=>{c.value=D,w.fallbackLocale=c.value,updateFallbackLocale(w,r.value,D)}}),L=computed(()=>d.value),H=computed(()=>u.value),J=computed(()=>m.value);function te(){return isFunction(_)?_:null}function ee(D){_=D,w.postTranslation=D}function ne(){return b}function Z(D){D!==null&&(k=defineCoreMissingHandler(D)),b=D,w.missing=k}const se=(D,M,X,Q,le,ae)=>{q();let fe;try{__INTLIFY_PROD_DEVTOOLS__,o||(w.fallbackContext=t?getFallbackContext():void 0),fe=D(w)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(w.fallbackContext=void 0)}if(X!=="translate exists"&&isNumber(fe)&&fe===NOT_REOSLVED||X==="translate exists"&&!fe){const[de,pe]=M();return t&&y?Q(t):le(de)}else{if(ae(fe))return fe;throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)}};function ie(...D){return se(M=>Reflect.apply(translate,null,[M,...D]),()=>parseTranslateArgs(...D),"translate",M=>Reflect.apply(M.t,M,[...D]),M=>M,M=>isString(M))}function U(...D){const[M,X,Q]=D;if(Q&&!isObject(Q))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);return ie(M,X,assign({resolvedMessage:!0},Q||{}))}function j(...D){return se(M=>Reflect.apply(datetime,null,[M,...D]),()=>parseDateTimeArgs(...D),"datetime format",M=>Reflect.apply(M.d,M,[...D]),()=>MISSING_RESOLVE_VALUE,M=>isString(M))}function G(...D){return se(M=>Reflect.apply(number,null,[M,...D]),()=>parseNumberArgs(...D),"number format",M=>Reflect.apply(M.n,M,[...D]),()=>MISSING_RESOLVE_VALUE,M=>isString(M))}function K(D){return D.map(M=>isString(M)||isNumber(M)||isBoolean(M)?createTextNode(String(M)):M)}const re={normalize:K,interpolate:D=>D,type:"vnode"};function ue(...D){return se(M=>{let X;const Q=M;try{Q.processor=re,X=Reflect.apply(translate,null,[Q,...D])}finally{Q.processor=null}return X},()=>parseTranslateArgs(...D),"translate",M=>M[TranslateVNodeSymbol](...D),M=>[createTextNode(M)],M=>isArray(M))}function oe(...D){return se(M=>Reflect.apply(number,null,[M,...D]),()=>parseNumberArgs(...D),"number format",M=>M[NumberPartsSymbol](...D),NOOP_RETURN_ARRAY,M=>isString(M)||isArray(M))}function ve(...D){return se(M=>Reflect.apply(datetime,null,[M,...D]),()=>parseDateTimeArgs(...D),"datetime format",M=>M[DatetimePartsSymbol](...D),NOOP_RETURN_ARRAY,M=>isString(M)||isArray(M))}function me(D){V=D,w.pluralRules=V}function xe(D,M){return se(()=>{if(!D)return!1;const X=isString(M)?M:r.value,Q=A(X),le=w.messageResolver(Q,D);return isMessageAST(le)||isMessageFunction(le)||isString(le)},()=>[D],"translate exists",X=>Reflect.apply(X.te,X,[D,M]),NOOP_RETURN_FALSE,X=>isBoolean(X))}function ke(D){let M=null;const X=fallbackWithLocaleChain(w,c.value,r.value);for(let Q=0;Q{l&&(r.value=D,w.locale=D,updateFallbackLocale(w,r.value,c.value))}),watch(t.fallbackLocale,D=>{l&&(c.value=D,w.fallbackLocale=D,updateFallbackLocale(w,r.value,c.value))}));const Y={id:composerID,locale:S,fallbackLocale:I,get inheritLocale(){return l},set inheritLocale(D){l=D,D&&t&&(r.value=t.locale.value,c.value=t.fallbackLocale.value,updateFallbackLocale(w,r.value,c.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:L,get modifiers(){return E},get pluralRules(){return V||{}},get isGlobal(){return o},get missingWarn(){return f},set missingWarn(D){f=D,w.missingWarn=f},get fallbackWarn(){return v},set fallbackWarn(D){v=D,w.fallbackWarn=v},get fallbackRoot(){return y},set fallbackRoot(D){y=D},get fallbackFormat(){return $},set fallbackFormat(D){$=D,w.fallbackFormat=$},get warnHtmlMessage(){return B},set warnHtmlMessage(D){B=D,w.warnHtmlMessage=D},get escapeParameter(){return g},set escapeParameter(D){g=D,w.escapeParameter=D},t:ie,getLocaleMessage:A,setLocaleMessage:O,mergeLocaleMessage:z,getPostTranslationHandler:te,setPostTranslationHandler:ee,getMissingHandler:ne,setMissingHandler:Z,[SetPluralRulesSymbol]:me};return Y.datetimeFormats=H,Y.numberFormats=J,Y.rt=U,Y.te=xe,Y.tm=N,Y.d=j,Y.n=G,Y.getDateTimeFormat=W,Y.setDateTimeFormat=x,Y.mergeDateTimeFormat=C,Y.getNumberFormat=P,Y.setNumberFormat=F,Y.mergeNumberFormat=R,Y[InejctWithOptionSymbol]=n,Y[TranslateVNodeSymbol]=ue,Y[DatetimePartsSymbol]=ve,Y[NumberPartsSymbol]=oe,Y}function convertComposerOptions(e){const t=isString(e.locale)?e.locale:DEFAULT_LOCALE,n=isString(e.fallbackLocale)||isArray(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=isFunction(e.missing)?e.missing:void 0,s=isBoolean(e.silentTranslationWarn)||isRegExp(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=isBoolean(e.silentFallbackWarn)||isRegExp(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,l=isBoolean(e.fallbackRoot)?e.fallbackRoot:!0,r=!!e.formatFallbackMessages,c=isPlainObject(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,u=isFunction(e.postTranslation)?e.postTranslation:void 0,m=isString(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,v=isBoolean(e.sync)?e.sync:!0;let y=e.messages;if(isPlainObject(e.sharedMessages)){const E=e.sharedMessages;y=Object.keys(E).reduce((w,T)=>{const q=w[T]||(w[T]={});return assign(q,E[T]),w},y||{})}const{__i18n:$,__root:b,__injectWithOption:k}=e,_=e.datetimeFormats,B=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:y,flatJson:g,datetimeFormats:_,numberFormats:B,missing:o,missingWarn:s,fallbackWarn:a,fallbackRoot:l,fallbackFormat:r,modifiers:c,pluralRules:d,postTranslation:u,warnHtmlMessage:m,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:v,__i18n:$,__root:b,__injectWithOption:k}}function createVueI18n(e={}){const t=createComposer(convertComposerOptions(e)),{__extender:n}=e,o={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},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(s){t.setMissingHandler(s)},get silentTranslationWarn(){return isBoolean(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=isBoolean(s)?!s:s},get silentFallbackWarn(){return isBoolean(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=isBoolean(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){return Reflect.apply(t.t,t,[...s])},rt(...s){return Reflect.apply(t.rt,t,[...s])},tc(...s){const[a,l,r]=s,c={plural:1};let d=null,u=null;if(!isString(a))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);const m=a;return isString(l)?c.locale=l:isNumber(l)?c.plural=l:isArray(l)?d=l:isPlainObject(l)&&(u=l),isString(r)?c.locale=r:isArray(r)?d=r:isPlainObject(r)&&(u=r),Reflect.apply(t.t,t,[m,d||u||{},c])},te(s,a){return t.te(s,a)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,a){t.setLocaleMessage(s,a)},mergeLocaleMessage(s,a){t.mergeLocaleMessage(s,a)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,a){t.setDateTimeFormat(s,a)},mergeDateTimeFormat(s,a){t.mergeDateTimeFormat(s,a)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,a){t.setNumberFormat(s,a)},mergeNumberFormat(s,a){t.mergeNumberFormat(s,a)}};return o.__extender=n,o}function defineMixin(e,t,n){return{beforeCreate(){const o=getCurrentInstance();if(!o)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const a=s.i18n;if(s.__i18n&&(a.__i18n=s.__i18n),a.__root=t,this===this.$root)this.$i18n=mergeToGlobal(e,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=createVueI18n(a);const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=mergeToGlobal(e,s);else{this.$i18n=createVueI18n({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&adjustI18nResources(t,s,s),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,l)=>this.$i18n.te(a,l),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=getCurrentInstance();if(!o)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(o),delete this.$i18n}}}function mergeToGlobal(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[SetPluralRulesSymbol](t.pluralizationRules||e.pluralizationRules);const n=getLocaleMessages(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const baseFormatProps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function getInterpolateArg({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,s)=>[...o,...s.type===Fragment?s.children:[s]],[]):t.reduce((n,o)=>{const s=e[o];return s&&(n[o]=s()),n},create())}function getFragmentableTag(){return Fragment}const TranslationImpl=defineComponent({name:"i18n-t",props:assign({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>isNumber(e)||!isNaN(e)}},baseFormatProps),setup(e,t){const{slots:n,attrs:o}=t,s=e.i18n||useI18n({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(m=>m!=="_"),l=create();e.locale&&(l.locale=e.locale),e.plural!==void 0&&(l.plural=isString(e.plural)?+e.plural:e.plural);const r=getInterpolateArg(t,a),c=s[TranslateVNodeSymbol](e.keypath,r,l),d=assign(create(),o),u=isString(e.tag)||isObject(e.tag)?e.tag:getFragmentableTag();return h(u,d,c)}}}),Translation=TranslationImpl;function isVNode(e){return isArray(e)&&!isString(e[0])}function renderFormatter(e,t,n,o){const{slots:s,attrs:a}=t;return()=>{const l={part:!0};let r=create();e.locale&&(l.locale=e.locale),isString(e.format)?l.key=e.format:isObject(e.format)&&(isString(e.format.key)&&(l.key=e.format.key),r=Object.keys(e.format).reduce((f,v)=>n.includes(v)?assign(create(),f,{[v]:e.format[v]}):f,create()));const c=o(e.value,l,r);let d=[l.key];isArray(c)?d=c.map((f,v)=>{const y=s[f.type],$=y?y({[f.type]:f.value,index:v,parts:c}):[f.value];return isVNode($)&&($[0].key=`${f.type}-${v}`),$}):isString(c)&&(d=[c]);const u=assign(create(),a),m=isString(e.tag)||isObject(e.tag)?e.tag:getFragmentableTag();return h(m,u,d)}}const NumberFormatImpl=defineComponent({name:"i18n-n",props:assign({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup(e,t){const n=e.i18n||useI18n({useScope:e.scope,__useComponent:!0});return renderFormatter(e,t,NUMBER_FORMAT_OPTIONS_KEYS,(...o)=>n[NumberPartsSymbol](...o))}}),NumberFormat=NumberFormatImpl,DatetimeFormatImpl=defineComponent({name:"i18n-d",props:assign({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup(e,t){const n=e.i18n||useI18n({useScope:e.scope,__useComponent:!0});return renderFormatter(e,t,DATETIME_FORMAT_OPTIONS_KEYS,(...o)=>n[DatetimePartsSymbol](...o))}}),DatetimeFormat=DatetimeFormatImpl;function getComposer$1(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function vTDirective(e){const t=l=>{const{instance:r,value:c}=l;if(!r||!r.$)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const d=getComposer$1(e,r.$),u=parseValue(c);return[Reflect.apply(d.t,d,[...makeParams(u)]),d]};return{created:(l,r)=>{const[c,d]=t(r);inBrowser&&e.global===d&&(l.__i18nWatcher=watch(d.locale,()=>{r.instance&&r.instance.$forceUpdate()})),l.__composer=d,l.textContent=c},unmounted:l=>{inBrowser&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:r})=>{if(l.__composer){const c=l.__composer,d=parseValue(r);l.textContent=Reflect.apply(c.t,c,[...makeParams(d)])}},getSSRProps:l=>{const[r]=t(l);return{textContent:r}}}}function parseValue(e){if(isString(e))return{path:e};if(isPlainObject(e)){if(!("path"in e))throw createI18nError(I18nErrorCodes.REQUIRED_VALUE,"path");return e}else throw createI18nError(I18nErrorCodes.INVALID_VALUE)}function makeParams(e){const{path:t,locale:n,args:o,choice:s,plural:a}=e,l={},r=o||{};return isString(n)&&(l.locale=n),isNumber(s)&&(l.plural=s),isNumber(a)&&(l.plural=a),[t,r,l]}function apply(e,t,...n){const o=isPlainObject(n[0])?n[0]:{};(isBoolean(o.globalInstall)?o.globalInstall:!0)&&([Translation.name,"I18nT"].forEach(a=>e.component(a,Translation)),[NumberFormat.name,"I18nN"].forEach(a=>e.component(a,NumberFormat)),[DatetimeFormat.name,"I18nD"].forEach(a=>e.component(a,DatetimeFormat))),e.directive("t",vTDirective(t))}const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n(e={},t){const n=__VUE_I18N_LEGACY_API__&&isBoolean(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=isBoolean(e.globalInjection)?e.globalInjection:!0,s=new Map,[a,l]=createGlobal(e,n),r=makeSymbol("");function c(f){return s.get(f)||null}function d(f,v){s.set(f,v)}function u(f){s.delete(f)}const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(f,...v){if(f.__VUE_I18N_SYMBOL__=r,f.provide(f.__VUE_I18N_SYMBOL__,m),isPlainObject(v[0])){const b=v[0];m.__composerExtend=b.__composerExtend,m.__vueI18nExtend=b.__vueI18nExtend}let y=null;!n&&o&&(y=injectGlobalFields(f,m.global)),__VUE_I18N_FULL_INSTALL__&&apply(f,m,...v),__VUE_I18N_LEGACY_API__&&n&&f.mixin(defineMixin(l,l.__composer,m));const $=f.unmount;f.unmount=()=>{y&&y(),m.dispose(),$()}},get global(){return l},dispose(){a.stop()},__instances:s,__getInstance:c,__setInstance:d,__deleteInstance:u};return m}function useI18n(e={}){const t=getCurrentInstance();if(t==null)throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw createI18nError(I18nErrorCodes.NOT_INSTALLED);const n=getI18nInstance(t),o=getGlobalComposer(n),s=getComponentOptions(t),a=getScope(e,s);if(a==="global")return adjustI18nResources(o,e,s),o;if(a==="parent"){let c=getComposer(n,t,e.__useComponent);return c==null&&(c=o),c}const l=n;let r=l.__getInstance(t);if(r==null){const c=assign({},e);"__i18n"in s&&(c.__i18n=s.__i18n),o&&(c.__root=o),r=createComposer(c),l.__composerExtend&&(r[DisposeSymbol]=l.__composerExtend(r)),setupLifeCycle(l,t,r),l.__setInstance(t,r)}return r}function createGlobal(e,t,n){const o=effectScope(),s=__VUE_I18N_LEGACY_API__&&t?o.run(()=>createVueI18n(e)):o.run(()=>createComposer(e));if(s==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[o,s]}function getI18nInstance(e){const t=inject(e.isCE?I18nInjectionKey:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw createI18nError(e.isCE?I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return t}function getScope(e,t){return isEmptyObject(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function getGlobalComposer(e){return e.mode==="composition"?e.global:e.global.__composer}function getComposer(e,t,n=!1){let o=null;const s=t.root;let a=getParentComponentInstance(t,n);for(;a!=null;){const l=e;if(e.mode==="composition")o=l.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const r=l.__getInstance(a);r!=null&&(o=r.__composer,n&&o&&!o[InejctWithOptionSymbol]&&(o=null))}if(o!=null||s===a)break;a=a.parent}return o}function getParentComponentInstance(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function setupLifeCycle(e,t,n){onMounted(()=>{},t),onUnmounted(()=>{const o=n;e.__deleteInstance(t);const s=o[DisposeSymbol];s&&(s(),delete o[DisposeSymbol])},t)}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm","te"];function injectGlobalFields(e,t){const n=Object.create(null);return globalExportProps.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const l=isRef(a.value)?{get(){return a.value.value},set(r){a.value.value=r}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,s,l)}),e.config.globalProperties.$i18n=n,globalExportMethods.forEach(s=>{const a=Object.getOwnPropertyDescriptor(t,s);if(!a||!a.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,a)}),()=>{delete e.config.globalProperties.$i18n,globalExportMethods.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}initFeatureFlags();registerMessageCompiler(compile);registerMessageResolver(resolveValue);registerLocaleFallbacker(fallbackWithLocaleChain);if(__INTLIFY_PROD_DEVTOOLS__){const e=getGlobalThis();e.__INTLIFY__=!0,setDevToolsHook(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const parseResponseData=(e,t,n,o,s)=>{let a=n.length,l=e.settings.pega_marketing[t];if(t.indexOf("extraOfferPages")===0&&typeof e.settings.pega_marketing.extraOfferPages<"u"){const d=parseInt(t.replace("extraOfferPages",""),10)-1;l=e.settings.pega_marketing.extraOfferPages[d]}l&&l.placement&&(a=l.placement.split(",").length,a>n.length&&(a=n.length));let r=[];l&&l.attributes&&l.attributes!==""&&(r=l.attributes.split(",")),l&&l.showSingleOffer&&(a=a>1?1:a);let c=!1;for(let d=0;d{console.log(`send capture information for ${n.name} rank=${n.rank} outcome=${o} response:${a.Status}`)})}else{if(t.initCDH)return;const s=document.createElement("script");s.onload=function(){t.initCDH=!0,e(t,n,o)},s.setAttribute("src","../js/realtimecontainerscript.js"),document.head.appendChild(s)}},initNBAM=function e(t,n,o,s,a){if(typeof window.getNBAMServiceControl<"u"){const l=window.getNBAMServiceControl(t.settings.pega_marketing.apiLevel,!1);window.CDHRequestTimeout=t.settings.pega_marketing.requestTimeout,l.initialize(t.settings.pega_marketing.Host,t.settings.pega_marketing.Port);let r="";if(t.settings.pega_marketing[n]&&t.settings.pega_marketing[n].containerName)r=t.settings.pega_marketing[n].containerName;else if(n.indexOf("extraOfferPages")===0&&typeof t.settings.pega_marketing.extraOfferPages<"u"){const u=parseInt(n.replace("extraOfferPages",""),10)-1;r=t.settings.pega_marketing.extraOfferPages[u].containerName}if(r===""){t.loading=!1;return}let c="Tile";if(t.settings.pega_marketing[n]&&t.settings.pega_marketing[n].placement)c=t.settings.pega_marketing[n].placement;else if(n.indexOf("extraOfferPages")===0&&typeof t.settings.pega_marketing.extraOfferPages<"u"){const u=parseInt(n.replace("extraOfferPages",""),10)-1;c=t.settings.pega_marketing.extraOfferPages[u].placement}const d=t.intent.trim();try{l.getOffers(o,t.settings.pega_marketing.contextName,r,t.ExternalID,t.settings.pega_marketing.channel,s,a,u=>{u.RankedResults=u.ContainerList[0].RankedResults,u.OffersList&&u.OffersList.length>0?parseResponseData(t,n,u.OffersList,r,o):u.RankedResults&&u.RankedResults.length>0?parseResponseData(t,n,u.RankedResults,r,o):t.errorloading=!0,t.loading=!1},d,c,t.settings.pega_marketing.appID,()=>{t.loading=!1,t.errorloading=!0})}catch{t.loading=!1,t.errorloading=!0}}else{if(t.initCDH)return;const l=document.createElement("script");l.onload=function(){t.initCDH=!0,e(t,n,o,s,a)},l.setAttribute("src","../js/realtimecontainerscript.js"),document.head.appendChild(l)}},mergeAccount=function e(t){if(!(t.settings.pega_marketing.Host===""||!t.settings.pega_marketing.enableMergeAccount))if(typeof window.getNBAMServiceControl<"u"){const n=window.getNBAMServiceControl(t.settings.pega_marketing.apiLevel,!1);n.initialize(t.settings.pega_marketing.Host,t.settings.pega_marketing.Port);let o="";if(t.userId!==-1&&t.settings.users[t.userId].customerID&&(o=t.settings.users[t.userId].customerID),o===""){console.log("No customerID present - skip mergeAccount");return}n.mergeAccount(o,t.ExternalID,t.settings.pega_marketing.contextName,t.settings.pega_marketing.appID,null)}else{if(t.initCDH)return;const n=document.createElement("script");n.onload=function(){t.initCDH=!0,e(t)},n.setAttribute("src","../js/realtimecontainerscript.js"),document.head.appendChild(n)}},sendRTSEvent=function e(t,n){if(t.settings.pega_marketing.Host!=="")if(typeof window.getNBAMServiceControl<"u"){const o=window.getNBAMServiceControl(t.settings.pega_marketing.apiLevel,!1);o.initialize(t.settings.pega_marketing.Host,t.settings.pega_marketing.Port);let s=n.customerID;s===""&&document.cookie.split("MKTID=").length>1&&(s=document.cookie.split("MKTID=")[1].split(";")[0]),o.sendRTSEvent(s,n,null)}else{if(t.initCDH)return;const o=document.createElement("script");o.onload=function(){t.initCDH=!0,e(t,n)},o.setAttribute("src","../js/realtimecontainerscript.js"),document.head.appendChild(o)}},sendClickStreamEvent=function e(t,n,o,s){if(!(t.settings.pega_marketing.Host===""||!t.settings.pega_marketing.enableClickStream))if(typeof window.getNBAMServiceControl<"u"){const a=window.getNBAMServiceControl(t.settings.pega_marketing.apiLevel,!1);a.initialize(t.settings.pega_marketing.Host,t.settings.pega_marketing.Port);let l="";s&&(l=parseInt((new Date-s)/1e3,10));let r="",c="";if(t.userId!==-1&&t.settings.users[t.userId].customerID&&(c=t.settings.users[t.userId].customerID),c===""&&document.cookie.split("MKTID=").length>1&&(r=document.cookie.split("MKTID=")[1].split(";")[0]),t.settings.pega_marketing.enableMergeAccount&&(r=t.ExternalID),c===""&&r==="")return;const d=t.isMobilePhone?"Mobile":"PC",u={CustomerID:c,EventType:n,PageType:o,PageLocation:window.location.href,DeviceType:d,PageViewActiveTime:l,EventTimestamp:new Date().toISOString().replaceAll("-","").replaceAll(":","").replace("Z"," GMT"),CookieID:r};a.sendClickStreamEvent(u,null)}else{if(t.initCDH)return;const a=document.createElement("script");a.onload=function(){t.initCDH=!0,e(t,n,s)},a.setAttribute("src","../js/realtimecontainerscript.js"),document.head.appendChild(a)}},messages={},datetimeFormats={},numberFormats={};let isDefaultLocaleLoaded=!1;for(const i in window.settings.i18n.languages){const lang=window.settings.i18n.languages[i];messages[lang]={message:eval(`window.lang${lang.toUpperCase()}`)},datetimeFormats[lang]=eval(`window.dateFormat${lang.toUpperCase()}`),numberFormats[lang]=eval(`window.numberFormat${lang.toUpperCase()}`),lang===window.settings.i18n.defaultlocale&&(isDefaultLocaleLoaded=!0)}isDefaultLocaleLoaded||([window.settings.i18n.defaultlocale]=window.settings.i18n.languages);const i18n=createI18n({locale:window.settings.i18n.defaultlocale,messages,datetimeFormats,numberFormats}),setCookie=function(e,t,n){const o=new Date;o.setTime(o.getTime()+n*24*60*60*1e3);const s=`expires=${o.toGMTString()}`;document.cookie=`${e}=${t};${s};path=/`},getCookie=function(e){const t=`${e}=`,o=decodeURIComponent(document.cookie).split(";");for(let s=0;s"u"&&(t.settings.general.connection.PegaURL=""),typeof t.settings.general.connection.authService>"u"&&(t.settings.general.connection.authService="pega"),typeof t.settings.general.connection.themeID>"u"&&(t.settings.general.connection.themeID=""),typeof t.settings.general.connection.webEmbedUseFormWidth>"u"&&(t.settings.general.connection.webEmbedUseFormWidth=!1),typeof t.settings.pega_chat.DMMProactiveChatNewSessionTimeout>"u"&&(t.settings.pega_chat.DMMProactiveChatNewSessionTimeout=0),typeof t.settings.pega_chat.DMMProactiveChatNewSessionCode>"u"&&(t.settings.pega_chat.DMMProactiveChatNewSessionCode="5sonPage");for(const n in t.settings.users)typeof t.settings.users[n].hide_from_dropdown>"u"&&(t.settings.users[n].hide_from_dropdown=!1);return typeof t.settings.CustomEvents>"u"&&(t.settings.CustomEvents=[{CustomEventAction:"HighlightElement",CustomEventName:"Custom Event 1",ElementName:"",SendAcknowledgement:!1,AcknowledgeOn:"After5Seconds"},{CustomEventAction:"HighlightElement",CustomEventName:"Custom Event 2",ElementName:"",SendAcknowledgement:!1,AcknowledgeOn:"After5Seconds"},{CustomEventAction:"HighlightElement",CustomEventName:"Custom Event 3",ElementName:"",SendAcknowledgement:!1,AcknowledgeOn:"After5Seconds"}]),t};let mainconfigTmp;if(typeof window.settings>"u")window.location.href=`${window.location.href}/`;else{let e=!1;(/iPhone/.test(navigator.userAgent)||/Android/.test(navigator.userAgent))&&(e=!0),e&&(document.documentElement.className="phone"),mainconfigTmp={settings:window.settings,app:window.app,isMobilePhone:e,offerURL:"",offerIndex:0,homeHeroImg:"",currentPage:"",previousPage:"",intent:"",reloadOffer:1,reloadMashup:1,reloadToDoMashup:1,reloadActivityMashup:1e3,isAuthenticated:!1,isSidePanelVisible:!1,isDeepLink:!1,deepLinkExtraParam:{},phonePageName:"",userId:-1,quickLinkId:-1,viewBill:-1,viewBanner:-1,toDo:-1,viewKMHelp:-1,KMArticleID:"",CDHContainer:{},logoutURL:{},homeHeroAction:-1,offerAction:-1,isRTSEnabled:!1,currentLocale:window.settings.i18n.defaultlocale,mainTitle:document.title};const t=localStorage.getItem(`config_${mainconfigTmp.app.industry}`);if(t!=null){const o=JSON.parse(t);o.settings&&(mainconfigTmp.settings=o.settings)}if(mainconfigTmp=upgradeConfig(mainconfigTmp),mainconfigTmp.ExternalID="",mainconfigTmp.settings.pega_marketing.enableMergeAccount){let o=sessionStorage.getItem("ExternalID");o||(o="uplus-"+Date.now(),sessionStorage.setItem("ExternalID",o)),mainconfigTmp.ExternalID=o}if(mainconfigTmp.initCDH=!1,mainconfigTmp.settings.pega_chat.ShowAsButton&&(document.documentElement.className=`${document.documentElement.className} chat-button`),window.history&&window.history.state!==null){const o=window.history.state;mainconfigTmp.userId===-1&&o!==null&&typeof o.userId<"u"?(o.userId!==-1&&(mainconfigTmp.isAuthenticated=!0),mainconfigTmp.userId=o.userId,typeof o.quickLinkId<"u"?(mainconfigTmp.quickLinkId=o.quickLinkId,e&&(mainconfigTmp.phonePageName="help"),window.history.replaceState({userId:mainconfigTmp.userId,quickLinkId:mainconfigTmp.quickLinkId},"",`quicklink${mainconfigTmp.quickLinkId}`)):e?(typeof o.page<"u"?mainconfigTmp.phonePageName=o.page:mainconfigTmp.phonePageName=window.location.pathname.substring(window.location.pathname.lastIndexOf("/")+1),window.history.replaceState(mainconfigTmp.isAuthenticated?{}:{userId:mainconfigTmp.userId},"",mainconfigTmp.phonePageName)):window.history.replaceState({userId:mainconfigTmp.userId},"",o.page)):window.location.pathname.indexOf("/heroaction")!==-1?(e&&(mainconfigTmp.phonePageName="heroaction"),mainconfigTmp.homeHeroAction=1,window.history.replaceState({},"","heroaction")):e&&(typeof o.page<"u"?mainconfigTmp.phonePageName=o.page:mainconfigTmp.phonePageName=window.location.pathname.substring(window.location.pathname.lastIndexOf("/")+1),window.history.replaceState({},"",mainconfigTmp.phonePageName))}if(mainconfigTmp.isAuthenticated===!1&&getCookie("UserName")!==""){const o=getCookie("UserName");for(const s in mainconfigTmp.settings.users)if(mainconfigTmp.settings.users[s].username===o){mainconfigTmp.isAuthenticated=!0,mainconfigTmp.userId=s;break}}const n={};if(window.location.search.substr(1).split("&").forEach(o=>{n[o.split("=")[0]]=o.split("=")[1]}),n.username||n.pega_userid){for(const o in mainconfigTmp.settings.users)if(typeof n.pega_userid<"u"&&mainconfigTmp.settings.users[o].pega_userid===n.pega_userid||typeof n.username<"u"&&mainconfigTmp.settings.users[o].username===n.username){mainconfigTmp.isAuthenticated=!0,mainconfigTmp.userId=o,mainconfigTmp.isDeepLink=!0;break}if(n.quicklinkid&&(mainconfigTmp.quickLinkId=n.quicklinkid,mainconfigTmp.settings.quicklinks[n.quicklinkid].actionparam=n.quickLinkActionparam,mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.quicklinkid,delete mainconfigTmp.deepLinkExtraParam.quickLinkActionparam,delete mainconfigTmp.deepLinkExtraParam.username,delete mainconfigTmp.deepLinkExtraParam.pega_userid,window.history.replaceState({userId:mainconfigTmp.userId},"",`quicklink${mainconfigTmp.quickLinkId}`)),n.quicklinkclass){for(const o in mainconfigTmp.settings.quicklinks)if(mainconfigTmp.settings.quicklinks[o].objclass===n.quicklinkclass){mainconfigTmp.quickLinkId=o,mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.quicklinkclass,delete mainconfigTmp.deepLinkExtraParam.username,delete mainconfigTmp.deepLinkExtraParam.pega_userid,e&&(mainconfigTmp.phonePageName="help"),window.history.replaceState({userId:mainconfigTmp.userId},"",`quicklink${mainconfigTmp.quickLinkId}`);break}}mainconfigTmp.settings.todo.objclass===n.todoclass&&(mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.todoclass,delete mainconfigTmp.deepLinkExtraParam.username,delete mainconfigTmp.deepLinkExtraParam.pega_userid,e&&(mainconfigTmp.phonePageName="account"),window.history.replaceState({userId:mainconfigTmp.userId},"","account")),n.viewBill&&(mainconfigTmp.viewBill=1,mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.viewBill,delete mainconfigTmp.deepLinkExtraParam.username,delete mainconfigTmp.deepLinkExtraParam.pega_userid),n.viewBanner&&(mainconfigTmp.viewBanner=1,mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.viewBanner,delete mainconfigTmp.deepLinkExtraParam.username,delete mainconfigTmp.deepLinkExtraParam.pega_userid),n.viewKMHelp&&(mainconfigTmp.viewKMHelp=1,mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.viewKMHelp,delete mainconfigTmp.deepLinkExtraParam.username,delete mainconfigTmp.deepLinkExtraParam.pega_userid)}if(n.homeHeroAction&&(mainconfigTmp.homeHeroAction=1,e&&(mainconfigTmp.phonePageName="heroaction"),mainconfigTmp.isDeepLink=!0,mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.homeHeroAction),n.offerAction&&(mainconfigTmp.offerAction=1,e&&(mainconfigTmp.phonePageName="offer"),mainconfigTmp.isDeepLink=!0,mainconfigTmp.deepLinkExtraParam=n,delete mainconfigTmp.deepLinkExtraParam.offerAction),window.PegaCSWSS={Cobrowse:{ServerURL:mainconfigTmp.settings.pega_chat.CoBrowseServerURL,Token:mainconfigTmp.settings.pega_chat.CoBrowseToken},WCBConfigName:mainconfigTmp.settings.pega_chat.WCBConfigName,WebChatBotID:mainconfigTmp.settings.pega_chat.WebChatBotID,ApplicationName:mainconfigTmp.settings.pega_chat.ApplicationName,MashupURL:mainconfigTmp.settings.pega_chat.MashupURL,ShowAsButton:mainconfigTmp.settings.pega_chat.ShowAsButton,TenantID:mainconfigTmp.settings.pega_chat.TenantID,MarketingHost:mainconfigTmp.settings.pega_marketing.Host,MarketingPort:mainconfigTmp.settings.pega_marketing.Port,EnableProActiveNotification:mainconfigTmp.settings.pega_chat.EnableProActiveNotification,ProActiveNotificationDismissTime:mainconfigTmp.settings.pega_chat.ProActiveNotificationDismissTime,ContactID:"",AccountNumber:"",UserName:"",UserID:"",DMMSessionID:"",ExtraParams:{}},mainconfigTmp.userId!==-1){const o=mainconfigTmp.settings.users[mainconfigTmp.userId];window.PegaCSWSS.ContactID=o.contactID,window.PegaCSWSS.AccountNumber=o.accountID,window.PegaCSWSS.UserName=o.username,window.PegaCSWSS.UserID=o.pega_userid,typeof o.extraparam<"u"&&o.extraparam!==""&&o.extraparam.split(",").forEach(s=>{const a=s.split("=");a.length===2&&(window.PegaCSWSS.ExtraParams[a[0].trim()]=a[1].trim())}),typeof o.dmm_context_data=="string"&&o.dmm_context_data!==""&&(window.PegaChatTags={},o.dmm_context_data.split(",").forEach(s=>{const a=s.split("=");window.PegaChatTags[a[0].trim()]=a[1].trim()}))}if(setCookie("ContactID",window.PegaCSWSS.ContactID,30),setCookie("AccountNumber",window.PegaCSWSS.AccountNumber,30),setCookie("UserName",window.PegaCSWSS.UserName,30),setCookie("UserID",window.PegaCSWSS.UserID,30),mainconfigTmp.settings.general.connection.c11nserver!==""&&mainconfigTmp.settings.general.connection.type==="embedui"){const o=document.createElement("script");o.setAttribute("src",`${mainconfigTmp.settings.general.connection.c11nserver}pega-embed.js`),document.head.appendChild(o)}else if(mainconfigTmp.settings.general.connection.PegaURL!==""&&(mainconfigTmp.settings.general.connection.type==="embedui2"||mainconfigTmp.settings.general.connection.type==="embedui3")){const o=document.createElement("script");o.setAttribute("src",`${mainconfigTmp.settings.general.connection.PegaURL}/PRRestService/c11nsvc/v1/pega-embed.js`),document.head.appendChild(o)}if(typeof mainconfigTmp.settings.pega_chat<"u"&&mainconfigTmp.settings.pega_chat.DMMURL!==""&&mainconfigTmp.settings.pega_chat.DMMID!==""&&`${window.location}`.indexOf("/settings.html")===-1){typeof window.PegaUnifiedChatWidget>"u"&&(window.PegaUnifiedChatWidget={},mainconfigTmp.settings.pega_chat.DMMProactiveChatNewSessionTimeout>0&&setTimeout(()=>{console.log(`PegaUnifiedChatWidget triggetChat '${mainconfigTmp.settings.pega_chat.DMMProactiveChatNewSessionCode}'`),window.PegaUnifiedChatWidget.triggerChat(mainconfigTmp.settings.pega_chat.DMMProactiveChatNewSessionCode)},mainconfigTmp.settings.pega_chat.DMMProactiveChatNewSessionTimeout)),window.PegaUnifiedChatWidget.onSessionInitialized=r=>{window.PegaCSWSS.DMMSessionID=r,console.log(`PegaUnifiedChatWidget onSessionInitialized=${r}`);const c=document.getElementById("pegaChatWidget");if(c&&(c.style.zIndex=1e3),sendClickStreamEvent(mainconfigTmp,"PageView","Chat",window.loadPage),mainconfigTmp.settings.pega_chat.DMMSecret!==""&&mainconfigTmp.userId!==-1){const d={authenticated:mainconfigTmp.userId!==-1,ContactID:window.PegaCSWSS.ContactID,AccountNumber:window.PegaCSWSS.AccountNumber,UserName:window.PegaCSWSS.UserName,UserID:window.PegaCSWSS.UserID},u=generateJWTKey({iss:r},mainconfigTmp.settings.pega_chat.DMMSecret),f=s(mainconfigTmp.settings.pega_chat.DMMPrivateURL)+"/Prod/private-data",v=new XMLHttpRequest;v.open("POST",f,!0),v.setRequestHeader("Content-type","application/json;charset=UTF-8"),v.setRequestHeader("authorization",`Bearer ${u}`),v.send(JSON.stringify(d))}},PegaUnifiedChatWidget.onChatAPIEvent=function(r){var c,d,u;if(r.event=="custom-event")for(let m=0;m<((d=(c=mainconfigTmp==null?void 0:mainconfigTmp.settings)==null?void 0:c.CustomEvents)==null?void 0:d.length);m++){let f=(u=mainconfigTmp==null?void 0:mainconfigTmp.settings)==null?void 0:u.CustomEvents[m];if(r.name==(f==null?void 0:f.CustomEventName)){console.log("Processing Custom Event: ",r,f);let v;if(f.CustomEventAction=="HighlightElement"){if(v=o(f.ElementName),v==null){console.log(`unable to locate element that includes text ${f.ElementName}`);return}v.classList.add("pulse")}else if(f.CustomEventAction=="ClickElement"){if(v=o(f.ElementName),v==null){console.log(`unable to locate element that includes text ${f.ElementName}`);return}v.click()}f.SendAcknowledgement&&(f.AcknowledgeOn=="After5Seconds"?setTimeout(function(){a(r.name),v.classList.remove("pulse")},5e3):f.AcknowledgeOn=="After30Seconds"?setTimeout(function(){a(r.name),v.classList.remove("pulse")},3e4):f.AcknowledgeOn=="LoginSuccess"&&(mainconfigTmp.isAuthenticated?(a(r.name),v.classList.remove("pulse")):document.addEventListener("confirmLogin",function(){a(r.name),v.classList.remove("pulse")})))}}};const o=function(r){const c=document.querySelectorAll("h1, h2, h3, h4, h5, h6, p, a, button");for(let d=0;d{const c=document.getElementById("pegaChatWidget");c&&(c.style.zIndex=1e3)},3e3)},document.head.appendChild(l),window.fireflyAPI={},mainconfigTmp.settings.pega_chat.CoBrowseServerURL!==""&&mainconfigTmp.settings.pega_chat.CoBrowseToken!==""){const r=document.createElement("script");r.type="text/javascript",window.fireflyAPI.token=mainconfigTmp.settings.pega_chat.CoBrowseToken,window.fireflyAPI.serverHostUrl=mainconfigTmp.settings.pega_chat.CoBrowseServerURL,r.src=`${mainconfigTmp.settings.pega_chat.CoBrowseServerURL}/cobrowse/loadScripts`,r.async=!0,document.head.appendChild(r)}}e&&(window.pegaMashupNavigateBack=function(){const s=document.getElementsByClassName("pi-caret-left");s.length>0&&s[0].click()})}const mainconfig=reactive(mainconfigTmp);window.mainconfig=mainconfigTmp;if(mainconfigTmp.settings.general.theming.override){const e=document.createElement("style");e.innerHTML=`:root { --brandColor: ${mainconfigTmp.settings.general.theming.brandColor}; --interactiveColor: ${mainconfigTmp.settings.general.theming.interactiveColor};} .front>header, .form>header, .offer header { background-blend-mode: luminosity; }`,document.head.appendChild(e)}window.addEventListener("popstate",()=>{mainconfig.quickLinkId=-1,mainconfig.currentPage=window.location.pathname.substring(window.location.pathname.lastIndexOf("/")+1),mainconfig.currentPage==="heroaction"&&(mainconfig.homeHeroAction=1),mainconfig.currentPage.indexOf("offer")===0&&mainconfig.currentPage.indexOf("offer.html")!==0&&(mainconfig.offerIndex=parseInt(mainconfig.currentPage.substring(5).replace(".html",""),10)),(mainconfig.currentPage.indexOf("index.html")===0||mainconfig.currentPage.indexOf("account")===0)&&(mainconfig.viewBill=-1,mainconfig.viewBanner=-1,mainconfig.homeHeroAction=-1,mainconfig.offerAction=-1,mainconfig.toDo=-1,mainconfig.viewKMHelp=-1,mainconfig.offerURL="",mainconfig.CDHContainer={}),mainconfig.currentPage.indexOf("index.html")===0&&(mainconfig.isAuthenticated=!1),mainconfig.currentPage.indexOf("account")===0&&(mainconfig.isAuthenticated=!0)});const updatePegaChat=function e(t){const n=document.getElementById("pegaChatWidget");n&&(n.style.zIndex=1e3);let o=document.querySelector("[data-pega-gadgetname='OnlineHelp'] > iframe");if(o!=null&&typeof o.src=="string"){let s=`${o.src}&ContactId=${t.contactID}&AccountNumber=${t.accountID}&username=${t.username}`;typeof t.extraparam<"u"&&t.extraparam!==""&&t.extraparam.split(",").forEach(l=>{const r=l.split("=");r.length===2&&(s+=`&${r[0].trim()}=${r[1].trim()}`)}),s.indexOf("timestamp")>-1?s=s.replace(/timestamp=[^&]+/,`timestamp=${Date.now()}`):s+=`×tamp=${Date.now()}`;const a=o.parentNode;o.remove(),o.src=s,a.appendChild(o)}if(window.PegaCSWSS.ContactID=t.contactID,window.PegaCSWSS.AccountNumber=t.accountID,window.PegaCSWSS.UserName=t.username,window.PegaCSWSS.UserID=t.pega_userid,typeof t.dmm_context_data=="string"&&t.dmm_context_data!==""&&(window.PegaChatTags={},t.dmm_context_data.split(",").forEach(s=>{const a=s.split("=");window.PegaChatTags[a[0].trim()]=a[1].trim()})),setCookie("ContactID",window.PegaCSWSS.ContactID,30),setCookie("AccountNumber",window.PegaCSWSS.AccountNumber,30),setCookie("UserName",window.PegaCSWSS.UserName,30),setCookie("UserID",window.PegaCSWSS.UserID,30),mainconfig.settings.pega_chat.DMMSecret!==""&&mainconfig.userId!==-1&&window.PegaCSWSS.DMMSessionID!==""){const s={authenticated:mainconfig.userId!==-1,ContactID:window.PegaCSWSS.ContactID,AccountNumber:window.PegaCSWSS.AccountNumber,UserName:window.PegaCSWSS.UserName,UserID:window.PegaCSWSS.UserID},a=generateJWTKey({iss:window.PegaCSWSS.DMMSessionID},mainconfig.settings.pega_chat.DMMSecret),l=mainconfigTmp.settings.pega_chat.DMMPrivateURL,d=new URL(l).origin+"/Prod/private-data",u=new XMLHttpRequest;u.open("POST",d,!0),u.setRequestHeader("Content-type","application/json;charset=UTF-8"),u.setRequestHeader("authorization",`Bearer ${a}`),u.send(JSON.stringify(s))}if(typeof t.extraparam<"u"&&t.extraparam!==""&&t.extraparam.split(",").forEach(s=>{const a=s.split("=");a.length===2&&(window.PegaCSWSS.ExtraParams[a[0].trim()]=a[1].trim())}),o=document.querySelector("[data-pega-gadgetname='OnlineHelp']"),o!=null){const s=window.pega.web.mgr._getGadgetByID("OnlineHelp");if(s&&s._oDivAttrs)for(const a in window.PegaCSWSS.ExtraParams)s._oDivAttrs.params[a]=window.PegaCSWSS.ExtraParams[a]}typeof sendProactiveNotificationReq=="function"&&window.sendProactiveNotificationReq()},_export_sfc=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},_sfc_main$17={props:["title","href","pagetype"],data(){return{mainconfig,i18n}},methods:{gotoPage(e){if(!this.$props.href)return;if(mainconfig.previousPage=mainconfig.currentPage,mainconfig.currentPage=this.$props.href,this.$gtag&&this.$gtag.pageview({page_path:mainconfig.currentPage}),mainconfig.currentPage.indexOf("offer")===0)mainconfig.offerURL="",mainconfig.offerAction=-1,mainconfig.offerIndex=parseInt(mainconfig.currentPage.substring(5).replace(".html",""),10);else return;sendClickStreamEvent(mainconfig,"PageView",this.pagetype,window.loadPage),window.loadPage=new Date;const t=mainconfig.isAuthenticated?{userId:mainconfig.userId}:{};window.history.pushState(t,"",mainconfig.currentPage),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0),e.preventDefault()}}},_hoisted_1$11=["href"];function _sfc_render$15(e,t,n,o,s,a){return openBlock(),createElementBlock("li",null,[createBaseVNode("a",{onClick:t[0]||(t[0]=(...l)=>a.gotoPage&&a.gotoPage(...l)),href:n.href!==""?n.href:""},toDisplayString$1(e.$t("message."+n.title)),9,_hoisted_1$11)])}const MenuItem=_export_sfc(_sfc_main$17,[["render",_sfc_render$15]]),_sfc_main$16={data(){return mainconfig},methods:{hideSidePanel(){this.isSidePanelVisible=!1}},components:{MenuItem}},_hoisted_1$10={class:"panel background-brand"};function _sfc_render$14(e,t,n,o,s,a){const l=resolveComponent("MenuItem");return openBlock(),createElementBlock("aside",{onClick:t[0]||(t[0]=(...r)=>a.hideSidePanel&&a.hideSidePanel(...r)),class:normalizeClass([e.isSidePanelVisible?"show":""])},[createBaseVNode("div",_hoisted_1$10,[t[1]||(t[1]=createBaseVNode("header",null,[createBaseVNode("img",{class:"logo",src:"./img/u+-logo.svg",alt:"U+"})],-1)),createBaseVNode("nav",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.menuitems,(r,c)=>(openBlock(),createBlock(l,{pagetype:r.pagetype,key:r.title,title:r.title,href:r.url?r.url:e.app.offer.length>1?`offer${c+1}.html`:null},null,8,["pagetype","title","href"]))),128))])])],2)}const Aside=_export_sfc(_sfc_main$16,[["render",_sfc_render$14]]),_sfc_main$15={data(){return{...mainconfig,isActive:!1}},methods:{showOverlay(){this.isActive=!this.isActive},onClickOutOverlay(e){e.target.classList.contains("avatar")||(this.isActive=!1)},logOut(){sendClickStreamEvent(mainconfig,"Logout","Home",window.loadPage),sendClickStreamEvent(mainconfig,"PageView","Home",window.loadPage),window.loadPage=new Date,mainconfig.isAuthenticated=!1,mainconfig.userId=-1,mainconfig.quickLinkId=-1,mainconfig.viewBill=-1,mainconfig.homeHeroAction=-1,mainconfig.offerAction=-1,mainconfig.toDo=-1,mainconfig.viewKMHelp=-1,mainconfig.viewBanner=-1,mainconfig.CDHContainer={},mainconfig.offerURL="",mainconfig.previousPage="",mainconfig.intent="",mainconfig.isDeepLink=!1,mainconfig.deepLinkExtraParam={},sessionStorage.clear(),mainconfig.ExternalID&&sessionStorage.setItem("ExternalID",mainconfig.ExternalID),window.history&&(mainconfig.isMobilePhone?(mainconfig.phonePageName="",window.history.pushState({userId:mainconfig.userId},"","index.html")):(mainconfig.currentPage="index.html",window.history.replaceState({},"",mainconfig.currentPage),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0)));for(const t in mainconfig.logoutURL){const n=document.createElement("iframe"),o=mainconfig.logoutURL[t];n.setAttribute("src",o),n.setAttribute("style","display:none"),n.onload=function(){document.body.removeChild(n)},document.body.appendChild(n)}if(mainconfig.logoutURL={},window.PegaCSWSS.ContactID="",window.PegaCSWSS.AccountNumber="",window.PegaCSWSS.UserName="",window.PegaCSWSS.UserID="",window.PegaCSWSS.ExtraParams={},window.PegaChatTags={},setCookie("ContactID",window.PegaCSWSS.ContactID,30),setCookie("AccountNumber",window.PegaCSWSS.AccountNumber,30),setCookie("UserName",window.PegaCSWSS.UserName,30),setCookie("UserID",window.PegaCSWSS.UserID,30),mainconfig.settings.pega_chat.DMMSecret!==""&&mainconfig.userId!==-1&&window.PegaCSWSS.DMMSessionID!==""){const t={authenticated:mainconfig.userId!==-1,ContactID:window.PegaCSWSS.ContactID,AccountNumber:window.PegaCSWSS.AccountNumber,UserName:window.PegaCSWSS.UserName,UserID:window.PegaCSWSS.UserID},n=generateJWTKey({iss:window.PegaCSWSS.DMMSessionID},mainconfig.settings.pega_chat.DMMSecret),o=mainconfig.settings.pega_chat.DMMPrivateURL,l=new URL(o).origin+"/Prod/private-data",r=new XMLHttpRequest;r.open("POST",l,!0),r.setRequestHeader("Content-type","application/json;charset=UTF-8"),r.setRequestHeader("authorization",`Bearer ${n}`),r.send(JSON.stringify(t))}const e=document.querySelector("[data-pega-gadgetname='OnlineHelp'] > iframe");if(e!=null&&typeof e.src=="string")if(mainconfig.settings.pega_chat.ResetLogout===!0&&typeof window.resetPegaChat=="function")window.resetPegaChat();else{const t=e.src.split("&");let n="";for(const s in t)!t[s].startsWith("ContactId=")&&!t[s].startsWith("AccountNumber=")&&!t[s].startsWith("username=")&&(n+=(n!==""?"&":"")+t[s]);n.indexOf("timestamp")>-1?n=n.replace(/timestamp=[^&]+/,`timestamp=${Date.now()}`):n+=`×tamp=${Date.now()}`;const o=e.parentNode;e.remove(),e.src=n,o.appendChild(e)}}},computed:{isNamePresent(){return!(mainconfig.isMobilePhone||mainconfig.userId===-1||mainconfig.settings.users[mainconfig.userId].name===""||!mainconfig.settings.users[mainconfig.userId].show_opname)}}},_hoisted_1$$={class:"flex flex-mid-align user-area"},_hoisted_2$S={key:0,class:"flex flex-col margin-r-2x"},_hoisted_3$H={key:0},_hoisted_4$C={key:1},_hoisted_5$B=["src"];function _sfc_render$13(e,t,n,o,s,a){const l=resolveDirective("clickoutside");return openBlock(),createElementBlock("div",_hoisted_1$$,[a.isNamePresent?(openBlock(),createElementBlock("div",_hoisted_2$S,[e.settings.users[e.userId]?(openBlock(),createElementBlock("span",_hoisted_3$H,toDisplayString$1(e.settings.users[e.userId].name),1)):createCommentVNode("",!0),e.settings.users[e.userId]&&e.settings.users[e.userId].company_name!==""?(openBlock(),createElementBlock("span",_hoisted_4$C,toDisplayString$1(e.settings.users[e.userId].company_name),1)):createCommentVNode("",!0)])):createCommentVNode("",!0),e.userId!=-1?(openBlock(),createElementBlock("img",{key:1,onClick:t[0]||(t[0]=(...r)=>a.showOverlay&&a.showOverlay(...r)),class:"avatar",src:"../img/"+e.settings.users[e.userId].img,alt:"Customer image"},null,8,_hoisted_5$B)):createCommentVNode("",!0),withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(["overlay logout flex flex-col",[s.isActive?"show":"hidden"]])},[createBaseVNode("button",{onClick:t[1]||(t[1]=(...r)=>a.logOut&&a.logOut(...r)),class:"simple"},toDisplayString$1(e.$t("message.logout")),1)],2)),[[l,{handler:"onClickOutOverlay"}]])])}const OperatorButton=_export_sfc(_sfc_main$15,[["render",_sfc_render$13]]),setAuth=function e(t,n){let o="";if(t&&n)o=btoa(`${t}:${n}`);else throw new Error("Set authentication failed.");return o},validateOTP=async function e(t,n,o,s){if(o==="skip")return!0;const a={"Content-Type":"application/json;charset=UTF-8",Authorization:`Basic ${s}`},l=`${t.url}/prweb/api/v1/authenticate/OTP/verify?OTPValue=${o}&ReferenceID=${n}`,r={method:"GET",headers:a,mode:"cors"};try{const c=await fetch(l,r);if(c.ok&&(await c.json()).Status==="SUCCESS")return!0}catch{console.error("Error in validateOTP")}return!1},requestOTP=async function e(t,n,o){const s={referenceID:"",isSuccess:!1},a=Math.floor(Date.now()/100),l={"Content-Type":"application/json;charset=UTF-8",Authorization:`Basic ${n}`},r=t.sendMode,c=`${t.url}/prweb/api/v1/authenticate/OTP/${r}`,d={method:"POST",headers:l,mode:"cors"},u={Context:`UplusWSSOtp-${a}`};r==="email"?u.EmailSettings={CorrespondenceName:t.emailSettings.correspondenceName,EmailAccount:t.emailSettings.emailAccount,Subject:t.emailSettings.subject,ToAddress:o,ValidateMaxAge:t.emailSettings.validateMaxAge}:r==="sms"&&(u.SMSSettings={ToPhoneNumber:o,From:t.smsSettings.from,SMSAccount:t.smsSettings.account,Message:t.smsSettings.message,ValidateMaxAge:t.smsSettings.validateMaxAge}),d.body=JSON.stringify(u);try{const m=await fetch(c,d);if(m.ok){const f=await m.json();f.Status==="SUCCESS"&&(s.referenceID=f.ReferenceID,s.isSuccess=!0)}}catch{console.error("Error in requestOTP")}return s},_sfc_main$14={data(){return{...mainconfig,isActive:!1,hasErrorMsg:!1,username:"",password:"",otp_enabled:mainconfig.settings.general.auth_2fa.enabled,isOTPInvalid:!1,OTPRequestFailed:!1,isOTP:!1,userID:-1,otp:"",otpRefId:""}},computed:{activeUsers(){return this.settings.users.filter(e=>!e.hide_from_dropdown&&e)}},methods:{showLoginOverlay(){this.isActive=!this.isActive,this.isOTP=!1,this.userID=-1,this.hasErrorMsg=!1,this.isOTPInvalid=!1,this.OTPRequestFailed=!1,this.otp="",this.otpRefId="";for(const e in this.settings.users)if(this.settings.users[e].load_by_default){this.username=this.settings.users[e].username,this.password=this.settings.users[e].password;break}},onClickOutLoginOverlay(e){!e.target.classList.contains("sign-in")&&!e.target.classList.contains("launch-login")&&!e.target.classList.contains("launch-login-overlay")&&(this.isActive=!1)},confirmLogin(){mainconfig.isAuthenticated=!0,mainconfig.userId=this.userID,updatePegaChat(this.settings.users[this.userID]),window.history&&(mainconfig.isMobilePhone?window.history.pushState({userId:mainconfig.userId},"",mainconfig.phonePageName===""?"index.html":mainconfig.phonePageName):(mainconfig.currentPage="account",window.history.pushState({userId:mainconfig.userId},"","account"))),mergeAccount(mainconfig),sendClickStreamEvent(mainconfig,"Login","Account",window.loadPage),sendClickStreamEvent(mainconfig,"PageView","Account",window.loadPage),window.loadPage=new Date,this.isActive=!1,document.dispatchEvent(new Event("confirmLogin"))},signIn(){mainconfig.userId=-1,this.userID=-1;for(const e in this.settings.users)if(this.settings.users[e].username===this.username&&this.settings.users[e].password===this.password){this.userID=e;break}if(this.userID===-1){this.hasErrorMsg=!0;return}if(this.otp_enabled){this.isOTP=!0,this.sendOTPRequest(this.settings.users[this.userID].otp_send_to);return}this.confirmLogin()},async sendOTPRequest(e){const t=setAuth(this.settings.users[this.userID].pega_userid,this.settings.users[this.userID].pega_pwd);await requestOTP(this.settings.general.auth_2fa,t,e).then(n=>{n.isSuccess?(this.isOTP=!0,this.otpRefId=n.referenceID,this.OTPRequestFailed=!1):this.OTPRequestFailed=!0})},async signInOtp(){const e=setAuth(this.settings.users[this.userID].pega_userid,this.settings.users[this.userID].pega_pwd);await validateOTP(this.settings.general.auth_2fa,this.otpRefId,this.otp,e).then(t=>{t?this.confirmLogin():this.isOTPInvalid=!0})}}},_hoisted_1$_={class:"login"},_hoisted_2$R={key:0,class:"field flex flex-col username"},_hoisted_3$G={class:"required",for:"username"},_hoisted_4$B={key:1,class:"field flex flex-col password"},_hoisted_5$A={class:"required",for:"password"},_hoisted_6$w={key:2,class:"field flex flex-col"},_hoisted_7$q={for:"otp"},_hoisted_8$n={key:5,class:"error"},_hoisted_9$n={key:6,class:"error"},_hoisted_10$l={key:7,class:"error"};function _sfc_render$12(e,t,n,o,s,a){const l=resolveDirective("clickoutside");return openBlock(),createElementBlock("div",_hoisted_1$_,[createBaseVNode("button",{onClick:t[0]||(t[0]=(...r)=>a.showLoginOverlay&&a.showLoginOverlay(...r)),class:"launch-login"},toDisplayString$1(e.$t("message.login")),1),withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(["overlay flex flex-col",[s.isActive?"show":"hidden"]])},[createBaseVNode("h3",null,toDisplayString$1(e.$t("message.welcomeBack")),1),s.isOTP?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_2$R,[withDirectives(createBaseVNode("select",{id:"username","onUpdate:modelValue":t[1]||(t[1]=r=>s.username=r)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.activeUsers,(r,c)=>(openBlock(),createElementBlock("option",{key:c},toDisplayString$1(r.username),1))),128))],512),[[vModelSelect,s.username]]),createBaseVNode("label",_hoisted_3$G,toDisplayString$1(e.$t("message.username")),1)])),s.isOTP?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_4$B,[withDirectives(createBaseVNode("input",{id:"password",type:"password","onUpdate:modelValue":t[2]||(t[2]=r=>s.password=r)},null,512),[[vModelText,s.password]]),createBaseVNode("label",_hoisted_5$A,toDisplayString$1(e.$t("message.password")),1)])),s.isOTP?(openBlock(),createElementBlock("div",_hoisted_6$w,[createBaseVNode("label",_hoisted_7$q,toDisplayString$1(e.$t("message.otp")),1),withDirectives(createBaseVNode("input",{id:"otp",type:"text",name:"otp","onUpdate:modelValue":t[3]||(t[3]=r=>s.otp=r)},null,512),[[vModelText,s.otp]])])):createCommentVNode("",!0),s.isOTP?(openBlock(),createElementBlock("button",{key:3,onClick:t[4]||(t[4]=(...r)=>a.signInOtp&&a.signInOtp(...r)),class:"strong sign-in"},toDisplayString$1(e.$t("message.signin")),1)):(openBlock(),createElementBlock("button",{key:4,onClick:t[5]||(t[5]=(...r)=>a.signIn&&a.signIn(...r)),class:"strong sign-in"},toDisplayString$1(e.$t("message.signin")),1)),s.hasErrorMsg?(openBlock(),createElementBlock("span",_hoisted_8$n,toDisplayString$1(e.$t("message.invalidLogin")),1)):createCommentVNode("",!0),s.isOTPInvalid?(openBlock(),createElementBlock("span",_hoisted_9$n,toDisplayString$1(e.$t("message.invalidOTP")),1)):createCommentVNode("",!0),s.OTPRequestFailed?(openBlock(),createElementBlock("span",_hoisted_10$l,toDisplayString$1(e.$t("message.requestOTPFailed")),1)):createCommentVNode("",!0),createBaseVNode("a",null,toDisplayString$1(e.$t("message.forgotPassword")),1),createBaseVNode("a",null,toDisplayString$1(e.$t("message.notEnrolled")),1)],2)),[[l,{handler:"onClickOutLoginOverlay"}]])])}const LoginButton=_export_sfc(_sfc_main$14,[["render",_sfc_render$12]]),_sfc_main$13={data(){return mainconfig},mounted(){window.addEventListener("message",this.iFrameMessageListener)},unmounted(){window.removeEventListener("message",this.iFrameMessageListener)},methods:{iFrameMessageListener(e){if(e.data==="pegaMashupNavigateBack")mainconfig.offerURL!==""?mainconfig.offerURL="":mainconfig.quickLinkId!==-1?mainconfig.quickLinkId=-1:mainconfig.viewKMHelp!==-1?mainconfig.viewKMHelp=-1:mainconfig.viewBill!==-1?mainconfig.viewBill=-1:mainconfig.viewBanner!==-1&&(mainconfig.viewBanner=-1),mainconfig.phonePageName="";else if(typeof e.data=="object"&&typeof e.data.key<"u")e.data.key==="Intent"&&typeof e.data.value=="string"?(mainconfig.intent=e.data.value,mainconfig.reloadOffer+=1):e.data.key==="PreviousPage"&&typeof e.data.value=="string"&&(mainconfig.previousPage=e.data.value,mainconfig.reloadOffer+=1);else if(e.data){let t={};try{t=JSON.parse(e.data)}catch{t={}}if(t.channelName==="PWMashup"&&t.message&&t.message.payload&&t.message.payload.name==="confirm"&&t.message.uid.indexOf("ProactiveChat")===-1&&mainconfig.quickLinkId!==-1){const n=mainconfig.settings.quicklinks[mainconfig.quickLinkId].url,o=document.createElement("iframe"),s=`${n}?pyActivity=LogOff`;o.setAttribute("src",s),o.setAttribute("style","display:none"),o.onload=function(){document.body.removeChild(o)},document.body.appendChild(o)}}},showSidePanel(){mainconfig.isSidePanelVisible=!0},goToHome(){mainconfig.homeHeroAction=-1,mainconfig.phonePageName="",mainconfig.quickLinkId=-1,mainconfig.viewKMHelp=-1,mainconfig.viewBill=-1,mainconfig.viewBanner=-1,mainconfig.offerAction=-1,mainconfig.offerURL="",mainconfig.CDHContainer={},mainconfig.isAuthenticated?window.history.pushState({userId:mainconfig.userId},"",mainconfig.phonePageName===""?"index.html":mainconfig.phonePageName):window.history.pushState({},"",mainconfig.phonePageName===""?"index.html":mainconfig.phonePageName),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0)},showKMHelp(){mainconfig.previousPage=mainconfig.currentPage,mainconfig.currentPage="help.html",sendClickStreamEvent(mainconfig,"PageView","Help",window.loadPage),window.loadPage=new Date,this.$gtag&&this.$gtag.pageview({page_path:mainconfig.currentPage}),mainconfig.viewKMHelp=1,mainconfig.logoutURL.kmhelp=`${mainconfig.settings.kmhelp.url}?pyActivity=LogOff`,mainconfig.reloadMashup+=1}},components:{OperatorButton,LoginButton}},_hoisted_1$Z={class:"logo-link"};function _sfc_render$11(e,t,n,o,s,a){const l=resolveComponent("OperatorButton"),r=resolveComponent("LoginButton");return openBlock(),createElementBlock("header",null,[createBaseVNode("button",{onClick:t[0]||(t[0]=(...c)=>a.showSidePanel&&a.showSidePanel(...c)),class:"nav-button"},t[3]||(t[3]=[createBaseVNode("i",{class:"pi pi-bars"},null,-1)])),createBaseVNode("a",_hoisted_1$Z,[createBaseVNode("img",{onClick:t[1]||(t[1]=(...c)=>a.goToHome&&a.goToHome(...c)),class:"logo",src:"./img/u+-logo.svg",alt:"U+"})]),(e.isAuthenticated||e.settings.kmhelp.username!=="")&&e.settings.kmhelp.url!==""?(openBlock(),createElementBlock("a",{key:0,class:"kmhelp",onClick:t[2]||(t[2]=(...c)=>a.showKMHelp&&a.showKMHelp(...c))},toDisplayString$1(e.$t("message.kmhelp")),1)):createCommentVNode("",!0),e.isAuthenticated?(openBlock(),createBlock(l,{key:1})):e.phonePageName===""||e.phonePageName==="index.html"?(openBlock(),createBlock(r,{key:2})):createCommentVNode("",!0)])}const Header$2=_export_sfc(_sfc_main$13,[["render",_sfc_render$11]]),_sfc_main$12={data(){return{...mainconfig,errorloading:!1,loading:!0,data:[]}},methods:{showOfferPage(){mainconfig.phonePageName="offer";const e=mainconfig.isAuthenticated?{userId:mainconfig.userId}:{};window.history.pushState(e,"","offer.html"),mainconfig.offerIndex=0,setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0)},showOffer(e){mainconfig.phonePageName="offer",mainconfig.offerURL=e.url,mainconfig.previousPage=e.name,e.useURL=!0,this.settings.pega_marketing.phonePage.clickaction==="BuiltIn"&&(mainconfig.offerURL="/Basic",e.useURL=!1),mainconfig.CDHContainer=e,mainconfig.settings.pega_marketing.useCaptureByChannel===!0&&captureResponse(this,e,"Clicked")}},mounted(){if(this.settings.pega_marketing.Host!==""&&this.settings.pega_marketing.phonePage.placement!==""&&this.settings.pega_marketing.phonePage.containerName!==""){const e=this;let t="";this.userId!==-1&&this.settings.users[this.userId].customerID&&(t=this.settings.users[this.userId].customerID),setTimeout(()=>{initNBAM(e,"phonePage",t,this.previousPage,"index.html")},200)}},updated(){if(window.IntersectionObserver&&mainconfig.settings.pega_marketing.useCaptureByChannel===!0){const e=new IntersectionObserver(t=>{t.forEach(n=>{if(n.isIntersecting){const o=n.target.getAttribute("data-offer-index");captureResponse(this,this.data[o],"Impression"),e.unobserve(n.target)}})},{threshold:1});document.querySelectorAll(".offer-container").forEach(t=>{e.observe(t)})}}},_hoisted_1$Y={key:0,class:"flex home-promo secondary-card"},_hoisted_2$Q={class:"details"},_hoisted_3$F={key:1,class:"flex home-promo secondary-card loading-container",style:{"min-height":"300px"}},_hoisted_4$A={key:2,class:"width-100-pct"},_hoisted_5$z=["data-offer-index"],_hoisted_6$v=["src","alt"],_hoisted_7$p={class:"details"},_hoisted_8$m=["href","title"],_hoisted_9$m=["href","title"],_hoisted_10$k=["onClick","title"];function _sfc_render$10(e,t,n,o,s,a){return e.settings.pega_marketing.Host===""||e.settings.pega_marketing.phonePage.placement===""||e.settings.pega_marketing.phonePage.containerName===""||s.loading&&!e.settings.pega_marketing.showLoadingIndicator||s.errorloading?(openBlock(),createElementBlock("div",_hoisted_1$Y,[createBaseVNode("div",{class:"image",style:normalizeStyle({backgroundImage:"url(./img/"+e.app.phone.home_page.promo.image+")"})},null,4),createBaseVNode("div",_hoisted_2$Q,[createBaseVNode("p",null,toDisplayString$1(e.$t("message.phone_home_page_promo_message")),1),createBaseVNode("a",{onClick:t[0]||(t[0]=(...l)=>a.showOfferPage&&a.showOfferPage(...l))},toDisplayString$1(e.$t("message.phone_home_page_promo_action")),1)])])):e.settings.pega_marketing.Host!==""&&s.loading&&e.settings.pega_marketing.showLoadingIndicator?(openBlock(),createElementBlock("div",_hoisted_3$F,t[1]||(t[1]=[createBaseVNode("span",{class:"loading"},[createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"})],-1)]))):(openBlock(),createElementBlock("div",_hoisted_4$A,[(openBlock(!0),createElementBlock(Fragment,null,renderList(s.data,(l,r)=>(openBlock(),createElementBlock("div",{class:"flex home-promo secondary-card",key:l.title},[createBaseVNode("div",{class:"offer-container","data-offer-index":r},[createBaseVNode("img",{class:"offer-img",src:l.img,alt:l.title},null,8,_hoisted_6$v),createBaseVNode("div",_hoisted_7$p,[createBaseVNode("h4",null,toDisplayString$1(l.title),1),createBaseVNode("p",null,toDisplayString$1(l.message),1),e.settings.pega_marketing.phonePage.clickaction==="TopURL"&&l.url!==""?(openBlock(),createElementBlock("a",{key:0,href:l.url,title:e.$t("message."+l.link)},toDisplayString$1(e.$t("message."+l.link)),9,_hoisted_8$m)):e.settings.pega_marketing.phonePage.clickaction==="Popup"&&l.url!==""?(openBlock(),createElementBlock("a",{key:1,href:l.url,target:"_blank",title:e.$t("message."+l.link)},toDisplayString$1(e.$t("message."+l.link)),9,_hoisted_9$m)):(openBlock(),createElementBlock("button",{key:2,class:"simple",onClick:c=>a.showOffer(l),title:e.$t("message."+l.link)},toDisplayString$1(e.$t("message."+l.link)),9,_hoisted_10$k))])],8,_hoisted_5$z)]))),128))]))}const Offer$1=_export_sfc(_sfc_main$12,[["render",_sfc_render$10]]),_sfc_main$11={data(){return{...mainconfig,currentLocale:i18n.global.locale}},methods:{changeLanguage(){const e=this.settings.i18n.languages.length-1;for(let t=0;t<=e;t++)if(i18n.global.locale===this.settings.i18n.languages[t]){t===e?this.currentLocale=this.settings.i18n.languages[0]:this.currentLocale=this.settings.i18n.languages[t+1],i18n.global.locale=this.currentLocale,mainconfig.currentLocale=this.currentLocale;break}}}},_hoisted_1$X=["title"];function _sfc_render$$(e,t,n,o,s,a){return openBlock(),createElementBlock("button",{onClick:t[0]||(t[0]=(...l)=>a.changeLanguage&&a.changeLanguage(...l)),title:e.$t("message.change_language"),class:"simple"},toDisplayString$1(e.$t("message.lang_"+s.currentLocale)),9,_hoisted_1$X)}const LangSwitch=_export_sfc(_sfc_main$11,[["render",_sfc_render$$]]),_sfc_main$10={data(){return mainconfig},components:{LangSwitch},methods:{gotoSettingsPage(e){sendClickStreamEvent(mainconfig,"PageView","Settings",window.loadPage),window.loadPage=new Date,mainconfig.currentPage="settings.html",this.$gtag&&this.$gtag.pageview({page_path:mainconfig.currentPage}),window.history.pushState({},"","settings.html"),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0),e.preventDefault()}}},_hoisted_1$W={class:"wrap flex"},_hoisted_2$P={class:"flex"},_hoisted_3$E={key:0},_hoisted_4$z={key:1},_hoisted_5$y={class:"flex-align-r copyright"};function _sfc_render$_(e,t,n,o,s,a){const l=resolveComponent("LangSwitch");return openBlock(),createElementBlock("footer",{class:normalizeClass(e.isMobilePhone?"background-brand":"")},[createBaseVNode("div",_hoisted_1$W,[createBaseVNode("nav",null,[createBaseVNode("div",_hoisted_2$P,[createBaseVNode("a",null,toDisplayString$1(e.$t("message.aboutus")),1),e.isMobilePhone?createCommentVNode("",!0):(openBlock(),createElementBlock("a",_hoisted_3$E,toDisplayString$1(e.$t("message.reviews")),1)),e.isMobilePhone?createCommentVNode("",!0):(openBlock(),createElementBlock("a",_hoisted_4$z,toDisplayString$1(e.$t("message.privacy")),1)),createBaseVNode("a",{onClick:t[0]||(t[0]=(...r)=>a.gotoSettingsPage&&a.gotoSettingsPage(...r)),href:"./settings.html"},toDisplayString$1(e.$t("message.settings")),1)])]),e.settings.i18n.showLangSwitch?(openBlock(),createBlock(l,{key:0})):createCommentVNode("",!0),createBaseVNode("p",_hoisted_5$y,toDisplayString$1("© "+new Date().getFullYear()+" "+e.$t("message.copyright")),1)])],2)}const Footer=_export_sfc(_sfc_main$10,[["render",_sfc_render$_]]),_sfc_main$$={data(){return mainconfig},methods:{showPage(e){mainconfig.phonePageName=e,e==="heroaction"&&(mainconfig.homeHeroAction=1),mainconfig.isAuthenticated?window.history.pushState({userId:mainconfig.userId},"",mainconfig.phonePageName===""?"index.html":mainconfig.phonePageName):window.history.pushState({},"",mainconfig.phonePageName===""?"index.html":mainconfig.phonePageName),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0)}},components:{Offer:Offer$1,MainFooter:Footer}},_hoisted_1$V={class:"home flex flex-col"},_hoisted_2$O={class:"hero background-brand"},_hoisted_3$D={class:"main-actions primary-card"},_hoisted_4$y=["onClick"];function _sfc_render$Z(e,t,n,o,s,a){const l=resolveComponent("Offer"),r=resolveComponent("MainFooter");return openBlock(),createElementBlock("main",_hoisted_1$V,[createBaseVNode("div",_hoisted_2$O,[createBaseVNode("h1",null,toDisplayString$1(e.$t("message."+e.app.phone.home_page.title)),1)]),createBaseVNode("div",_hoisted_3$D,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.phone.home_page.actions,(c,d)=>(openBlock(),createElementBlock("button",{onClick:u=>a.showPage(c.page),class:"simple",key:d},[createBaseVNode("i",{class:normalizeClass("pi color-brand "+c.icon)},null,2),createTextVNode(" "+toDisplayString$1(e.$t("message."+c.title)),1)],8,_hoisted_4$y))),128))]),createVNode(l),createVNode(r)])}const HomePage=_export_sfc(_sfc_main$$,[["render",_sfc_render$Z]]),_sfc_main$_={props:{offer:{required:!0,type:Object}}},_hoisted_1$U={class:"ai-overlay"};function _sfc_render$Y(e,t,n,o,s,a){return openBlock(),createElementBlock("div",_hoisted_1$U,[createBaseVNode("ul",null,[createBaseVNode("li",null,[t[0]||(t[0]=createBaseVNode("label",null,"Real-time container",-1)),createBaseVNode("span",null,toDisplayString$1(n.offer.container),1)]),createBaseVNode("li",null,[t[1]||(t[1]=createBaseVNode("label",null,"Customer ID",-1)),createBaseVNode("span",null,toDisplayString$1(n.offer.customerID),1)]),createBaseVNode("li",null,[t[2]||(t[2]=createBaseVNode("label",null,"Interaction ID",-1)),createBaseVNode("span",null,toDisplayString$1(n.offer.interactionID),1)]),createBaseVNode("li",null,[t[3]||(t[3]=createBaseVNode("label",null,"Action",-1)),createBaseVNode("span",null,toDisplayString$1(n.offer.identifier),1)]),createBaseVNode("li",null,[t[4]||(t[4]=createBaseVNode("label",null,"Treatment",-1)),createBaseVNode("span",null,toDisplayString$1(n.offer.treatment),1)]),createBaseVNode("li",null,[t[5]||(t[5]=createBaseVNode("label",null,"Category",-1)),createBaseVNode("span",null,toDisplayString$1(n.offer.category),1)]),createBaseVNode("li",null,[t[6]||(t[6]=createBaseVNode("label",null,"Propensity",-1)),createBaseVNode("span",null,toDisplayString$1(n.offer.propensity&&e.$n(n.offer.propensity,"score")),1)]),createBaseVNode("li",null,[t[7]||(t[7]=createBaseVNode("label",null,"Priority (P*C*V*L)",-1)),createBaseVNode("span",null,toDisplayString$1(n.offer.priority&&e.$n(n.offer.priority,"score")),1)]),createBaseVNode("li",null,[t[8]||(t[8]=createBaseVNode("label",null,"Rank",-1)),createBaseVNode("span",null,toDisplayString$1(n.offer.rank),1)]),createBaseVNode("li",null,[t[9]||(t[9]=createBaseVNode("label",null,"Placement type",-1)),createBaseVNode("span",null,toDisplayString$1(n.offer.placement),1)])]),t[10]||(t[10]=createBaseVNode("div",{class:"footer-img"},null,-1))])}const AIOverlay=_export_sfc(_sfc_main$_,[["render",_sfc_render$Y]]),_sfc_main$Z={props:["offerType"],data(){return{...mainconfig,errorloading:!1,loading:!0,action:"",data:[],hero_offer:{url:""},currentOffer:-1}},mounted(){this.offerType&&(this.currentOffer===-1||this.currentOffer!==this.offerType)&&(this.currentOffer=this.offerType,this.loadOffer())},updated(){if(this.offerType&&(this.currentOffer===-1||this.currentOffer!==this.offerType)&&(this.currentOffer=this.offerType,this.loadOffer()),window.IntersectionObserver&&mainconfig.settings.pega_marketing.useCaptureByChannel===!0){const e=new IntersectionObserver(t=>{t.forEach(n=>{if(n.isIntersecting){let o=n.target.getAttribute("data-offer-index");o!==null?(captureResponse(this,this.data[o],"Impression"),e.unobserve(n.target)):(o=n.target.getAttribute("data-hero-offer"),o!==null&&(captureResponse(this,this.hero_offer,"Impression"),e.unobserve(n.target)))}})},{threshold:1});document.querySelectorAll(".offer-card").forEach(t=>{e.observe(t)}),document.querySelectorAll(".hero-offer").forEach(t=>{e.observe(t)})}},methods:{loadOffer(){if(this.settings.pega_marketing.Host!==""){this.data=[],this.hero_offer={url:"",link:"Apply Now"},this.action=this.$props&&this.$props.offerType>0?this.settings.pega_marketing.extraOfferPages[this.$props.offerType-1].clickaction:this.settings.pega_marketing.offerPage.clickaction;const e=this;let t="";this.userId!==-1&&this.settings.users[this.userId].customerID&&(t=this.settings.users[this.userId].customerID),setTimeout(()=>{e.loading=!0,e.errorloading=!1,initNBAM(e,`${this.$props&&this.$props.offerType>0?`extraOfferPages${this.$props.offerType}`:"offerPage"}`,t,mainconfig.previousPage,mainconfig.currentPage)},200)}},showOffer(e){mainconfig.isMobilePhone&&(mainconfig.phonePageName="offer"),mainconfig.offerURL=e.url,mainconfig.previousPage=e.name,e.useURL=!0,this.action==="BuiltIn"&&(mainconfig.offerURL="/Basic",e.useURL=!1),mainconfig.CDHContainer=e,mainconfig.settings.pega_marketing.useCaptureByChannel===!0&&captureResponse(this,e,"Clicked")},toggleAIOverlay(e){e.showAIoverlay=!e.showAIoverlay},applyOfferAction(){this.settings.pega_marketing.Host===""?(mainconfig.offerAction=1,mainconfig.isMobilePhone&&(mainconfig.phonePageName="offer"),mainconfig.offerURL=this.hero_offer.url,mainconfig.previousPage=this.hero_offer.name):(this.hero_offer.url===""&&this.action==="Mashup"?mainconfig.offerAction=1:(mainconfig.isMobilePhone&&(mainconfig.phonePageName="offer"),mainconfig.offerURL=this.hero_offer.url,mainconfig.previousPage=this.hero_offer.name),this.hero_offer.useURL=!0,this.action==="BuiltIn"&&(mainconfig.offerURL="/Basic",this.hero_offer.useURL=!1),mainconfig.CDHContainer=this.hero_offer,mainconfig.settings.pega_marketing.useCaptureByChannel===!0&&captureResponse(this,this.hero_offer,"Clicked"))}},components:{AIOverlay}},_hoisted_1$T={class:"wrap"},_hoisted_2$N={class:"primary-card flex flex-nowrap"},_hoisted_3$C=["src"],_hoisted_4$x={class:"flex flex-col"},_hoisted_5$x={class:"wrap options"},_hoisted_6$u={class:"details"},_hoisted_7$o=["src"],_hoisted_8$l={class:"wrap options",style:{"min-height":"300px"}},_hoisted_9$l={key:0,class:"wrap"},_hoisted_10$j={class:"primary-card flex flex-nowrap hero-offer","data-hero-offer":1},_hoisted_11$j=["src","alt"],_hoisted_12$i={class:"flex flex-col"},_hoisted_13$i=["href","title"],_hoisted_14$i=["href","title"],_hoisted_15$i={class:"wrap options"},_hoisted_16$i=["data-offer-index"],_hoisted_17$h=["onClick"],_hoisted_18$h=["src","alt"],_hoisted_19$h=["href","title"],_hoisted_20$h=["href","title"],_hoisted_21$h=["onClick"];function _sfc_render$X(e,t,n,o,s,a){const l=resolveComponent("AIOverlay");return e.settings.pega_marketing.Host===""||e.settings.pega_marketing.offerPage.placement===""||e.settings.pega_marketing.offerPage.containerName===""||s.loading&&!e.settings.pega_marketing.showLoadingIndicator||s.errorloading?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("div",_hoisted_1$T,[createBaseVNode("div",_hoisted_2$N,[createBaseVNode("img",{class:"hero-offer-img",src:"./img/"+e.app.offer[n.offerType].hero_offer.image},null,8,_hoisted_3$C),createBaseVNode("div",_hoisted_4$x,[createBaseVNode("h2",null,toDisplayString$1(e.$t(`message.${e.app.offer[n.offerType].hero_offer.title}`)),1),createBaseVNode("p",null,toDisplayString$1(e.$t(`message.${e.app.offer[n.offerType].hero_offer.message}`)),1),createBaseVNode("button",{onClick:t[0]||(t[0]=(...r)=>a.applyOfferAction&&a.applyOfferAction(...r)),class:"strong margin-t-auto"},toDisplayString$1(e.$t(`message.${e.app.offer[n.offerType].hero_offer.button_label}`)),1)])])]),createBaseVNode("div",_hoisted_5$x,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.offer[n.offerType].main_offers,(r,c)=>(openBlock(),createElementBlock("section",{key:c,class:"front-option"},[createBaseVNode("div",_hoisted_6$u,[createBaseVNode("img",{class:"option",src:"./img/"+r.image},null,8,_hoisted_7$o),createBaseVNode("h3",null,toDisplayString$1(e.$t(`message.${r.title}`)),1),createBaseVNode("p",null,toDisplayString$1(e.$t(`message.${r.message}`)),1),createBaseVNode("a",{onClick:t[1]||(t[1]=(...d)=>a.applyOfferAction&&a.applyOfferAction(...d)),class:"strong"},toDisplayString$1(e.$t(`message.${r.button_label}`)),1)])]))),128))])],64)):e.settings.pega_marketing.Host!==""&&s.loading&&e.settings.pega_marketing.showLoadingIndicator?(openBlock(),createElementBlock(Fragment,{key:1},[t[4]||(t[4]=createStaticVNode('
',1)),createBaseVNode("div",_hoisted_8$l,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.app.offer[n.offerType].main_offers,(r,c)=>(openBlock(),createElementBlock("section",{key:c,class:"front-option loading-container"},t[3]||(t[3]=[createBaseVNode("span",{class:"loading"},[createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"}),createBaseVNode("span",{class:"dot"})],-1)])))),128))])],64)):(openBlock(),createElementBlock(Fragment,{key:2},[s.hero_offer.url!==""&&s.hero_offer.img!==""?(openBlock(),createElementBlock("div",_hoisted_9$l,[createBaseVNode("div",_hoisted_10$j,[createBaseVNode("img",{class:"hero-offer-img",src:s.hero_offer.img,alt:s.hero_offer.title},null,8,_hoisted_11$j),createBaseVNode("div",_hoisted_12$i,[createBaseVNode("h2",null,toDisplayString$1(s.hero_offer.title),1),createBaseVNode("p",null,toDisplayString$1(s.hero_offer.message),1),s.action==="TopURL"&&s.hero_offer.url!=""?(openBlock(),createElementBlock("a",{key:0,href:s.hero_offer.url,title:s.hero_offer.link},toDisplayString$1(s.hero_offer.link),9,_hoisted_13$i)):s.action==="Popup"&&s.hero_offer.url!=""?(openBlock(),createElementBlock("a",{key:1,href:s.hero_offer.url,target:"_blank",title:s.hero_offer.link},toDisplayString$1(s.hero_offer.link),9,_hoisted_14$i)):(openBlock(),createElementBlock("button",{key:2,class:"strong margin-t-auto",onClick:t[2]||(t[2]=(...r)=>a.applyOfferAction&&a.applyOfferAction(...r))},toDisplayString$1(s.hero_offer.link),1))])])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_15$i,[(openBlock(!0),createElementBlock(Fragment,null,renderList(s.data,(r,c)=>(openBlock(),createElementBlock("section",{key:c,class:"front-option"},[createBaseVNode("div",{class:"offer-card details","data-offer-index":c},[e.settings.pega_marketing.showAIOverlay?(openBlock(),createElementBlock("button",{key:0,class:"pi pi-polaris-solid ai-toggle",onClick:d=>a.toggleAIOverlay(r),title:"toggle AI"},null,8,_hoisted_17$h)):createCommentVNode("",!0),createBaseVNode("img",{class:"option",src:r.img,alt:r.title},null,8,_hoisted_18$h),createBaseVNode("h3",null,toDisplayString$1(e.$t(r.title)),1),createBaseVNode("p",null,toDisplayString$1(e.$t(r.message)),1),s.action==="TopURL"&&r.url!=""?(openBlock(),createElementBlock("a",{key:1,href:r.url,title:e.$t("message."+r.link)},toDisplayString$1(e.$t("message."+r.link)),9,_hoisted_19$h)):s.action==="Popup"&&r.url!=""?(openBlock(),createElementBlock("a",{key:2,href:r.url,target:"_blank",title:e.$t("message."+r.link)},toDisplayString$1(e.$t("message."+r.link)),9,_hoisted_20$h)):(openBlock(),createElementBlock("button",{key:3,class:"simple",onClick:d=>a.showOffer(r)},toDisplayString$1(e.$t("message."+r.link)),9,_hoisted_21$h)),e.settings.pega_marketing.showAIOverlay?(openBlock(),createBlock(l,{key:4,offer:r,class:normalizeClass(r.showAIoverlay?"show":"")},null,8,["offer","class"])):createCommentVNode("",!0)],8,_hoisted_16$i)]))),128))])],64))}const MainOffer=_export_sfc(_sfc_main$Z,[["render",_sfc_render$X]]),_sfc_main$Y={data(){return{...mainconfig,isprocessed:!1}},components:{MainOffer},methods:{processOffer(e){captureResponse(this,this.CDHContainer,e),this.isprocessed=!0},closeOffer(){top.postMessage("pegaMashupNavigateBack",location.origin)}}},_hoisted_1$S={key:0,class:"home flex flex-col full-height"},_hoisted_2$M=["src"],_hoisted_3$B={key:1,class:"home flex flex-col full-height"},_hoisted_4$w={key:0,class:"flex flex-col"},_hoisted_5$w={class:"main-offer builtin-offer primary-card flex flex-nowrap"},_hoisted_6$t=["src","alt"],_hoisted_7$n={class:"details"},_hoisted_8$k={key:0},_hoisted_9$k={key:1},_hoisted_10$i={class:"button-row padding-t-2x"},_hoisted_11$i={key:1,class:"flex flex-col"},_hoisted_12$h={class:"primary-card builtin-offer flex flex-nowrap"},_hoisted_13$h=["src","alt"],_hoisted_14$h={class:"details"},_hoisted_15$h={key:0},_hoisted_16$h={key:1},_hoisted_17$g={key:0},_hoisted_18$g={key:1},_hoisted_19$g={class:"button-row padding-t-2x"},_hoisted_20$g={key:2,class:"flex flex-col",style:{width:"100%"}},_hoisted_21$g={class:"primary-card flex-mid-align flex flex-col"},_hoisted_22$f={class:"success-text"};function _sfc_render$W(e,t,n,o,s,a){const l=resolveComponent("MainOffer");return typeof e.CDHContainer.title>"u"?(openBlock(),createElementBlock("main",_hoisted_1$S,[e.offerURL!==""?(openBlock(),createElementBlock("iframe",{key:0,src:e.offerURL,style:{overflow:"hidden"},width:"100%",height:"100%",border:"0",frameborder:"0"},null,8,_hoisted_2$M)):(openBlock(),createBlock(l,{key:1,offerType:e.offerIndex},null,8,["offerType"]))])):(openBlock(),createElementBlock("main",_hoisted_3$B,[!s.isprocessed&&e.offerURL.indexOf("/Basic")===0?(openBlock(),createElementBlock("section",_hoisted_4$w,[createBaseVNode("h1",null,toDisplayString$1(e.CDHContainer.title),1),createBaseVNode("div",_hoisted_5$w,[createBaseVNode("img",{class:"offer-img",src:e.CDHContainer.img,alt:e.CDHContainer.title},null,8,_hoisted_6$t),createBaseVNode("div",_hoisted_7$n,[typeof e.CDHContainer.message<"u"?(openBlock(),createElementBlock("div",_hoisted_8$k,[createBaseVNode("label",null,toDisplayString$1(e.$t("message.offer_builtin_description")),1),createBaseVNode("p",null,toDisplayString$1(e.CDHContainer.message),1)])):createCommentVNode("",!0),typeof e.CDHContainer.benefits<"u"?(openBlock(),createElementBlock("div",_hoisted_9$k,[createBaseVNode("label",null,toDisplayString$1(e.$t("message.offer_builtin_benefits")),1),createBaseVNode("p",null,toDisplayString$1(e.CDHContainer.benefits),1)])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_10$i,[createBaseVNode("button",{onClick:t[0]||(t[0]=r=>a.processOffer("Rejected")),class:"tertiary"},toDisplayString$1(e.$t("message.offer_builtin_button_rejected")),1),createBaseVNode("button",{onClick:t[1]||(t[1]=r=>a.processOffer("Accepted")),class:"strong"},toDisplayString$1(e.$t("message.offer_builtin_button_accepted")),1)])])])])):createCommentVNode("",!0),!s.isprocessed&&e.offerURL.indexOf("/Detailed")===0?(openBlock(),createElementBlock("section",_hoisted_11$i,[createBaseVNode("h1",null,toDisplayString$1(e.CDHContainer.title),1),createBaseVNode("div",_hoisted_12$h,[createBaseVNode("img",{class:"offer-img",src:e.CDHContainer.img,alt:e.CDHContainer.title},null,8,_hoisted_13$h),createBaseVNode("div",_hoisted_14$h,[typeof e.CDHContainer.message<"u"?(openBlock(),createElementBlock("div",_hoisted_15$h,[createBaseVNode("label",null,toDisplayString$1(e.$t("message.offer_builtin_description")),1),createBaseVNode("p",null,toDisplayString$1(e.CDHContainer.message),1)])):createCommentVNode("",!0),typeof e.CDHContainer.benefits<"u"?(openBlock(),createElementBlock("div",_hoisted_16$h,[createBaseVNode("label",null,toDisplayString$1(e.$t("message.offer_builtin_benefits")),1),createBaseVNode("p",null,toDisplayString$1(e.CDHContainer.benefits),1)])):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.CDHContainer.attributes,(r,c)=>(openBlock(),createElementBlock("div",{key:c},[typeof e.CDHContainer[r]<"u"&&e.CDHContainer[r]!==""?(openBlock(),createElementBlock("label",_hoisted_17$g,toDisplayString$1(e.$t(`message.offer_builtin_${r}`)===`message.offer_builtin_${r}`?r:e.$t(`message.offer_builtin_${r}`)),1)):createCommentVNode("",!0),typeof e.CDHContainer[r]<"u"&&e.CDHContainer[r]!==""?(openBlock(),createElementBlock("p",_hoisted_18$g,toDisplayString$1(e.CDHContainer[r]),1)):createCommentVNode("",!0)]))),128)),createBaseVNode("div",_hoisted_19$g,[createBaseVNode("button",{onClick:t[2]||(t[2]=r=>a.processOffer("Rejected")),class:"tertiary"},toDisplayString$1(e.$t("message.offer_builtin_button_rejected")),1),createBaseVNode("button",{onClick:t[3]||(t[3]=r=>a.processOffer("Accepted")),class:"strong"},toDisplayString$1(e.$t("message.offer_builtin_button_accepted")),1)])])])])):(openBlock(),createElementBlock("section",_hoisted_20$g,[createBaseVNode("h1",null,toDisplayString$1(e.$t("message.offer_builtin_response_heading")),1),createBaseVNode("div",_hoisted_21$g,[t[5]||(t[5]=createBaseVNode("i",{class:"product-icon pi pi-check"},null,-1)),createBaseVNode("p",_hoisted_22$f,toDisplayString$1(e.$t("message.offer_builtin_thankyou")),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message.offer_builtin_response")),1),createBaseVNode("div",null,[createBaseVNode("button",{onClick:t[4]||(t[4]=r=>a.closeOffer()),class:"strong"},toDisplayString$1(e.$t("message.offer_builtin_button_close")),1)])])]))]))}const OfferPage$1=_export_sfc(_sfc_main$Y,[["render",_sfc_render$W]]),_sfc_main$X={props:{previousPhonePage:{required:!0}},data(){return mainconfig},methods:{goBack(){mainconfig.phonePageName=this.previousPhonePage,mainconfig.homeHeroAction=-1,mainconfig.quickLinkId=-1,mainconfig.isAuthenticated?window.history.pushState({userId:mainconfig.userId},"",mainconfig.phonePageName===""?"index.html":mainconfig.phonePageName):window.history.pushState({},"",mainconfig.phonePageName===""?"index.html":mainconfig.phonePageName)}}},_hoisted_1$R={class:"flex top-nav"},_hoisted_2$L={class:"flex-align-r"};function _sfc_render$V(e,t,n,o,s,a){return openBlock(),createElementBlock("div",_hoisted_1$R,[createBaseVNode("button",{onClick:t[0]||(t[0]=(...l)=>a.goBack&&a.goBack(...l)),class:"simple"},t[1]||(t[1]=[createBaseVNode("i",{class:"pi pi-caret-left"},null,-1)])),createBaseVNode("div",_hoisted_2$L,[renderSlot(e.$slots,"default")])])}const TopNav=_export_sfc(_sfc_main$X,[["render",_sfc_render$V]]),_sfc_main$W={data(){let e="",t="";for(const n in mainconfig.settings.users)if(mainconfig.settings.users[n].load_by_default){e=mainconfig.settings.users[n].username,t=mainconfig.settings.users[n].password;break}return{...mainconfig,hasErrorMsg:!1,username:e,password:t,otp_enabled:mainconfig.settings.general.auth_2fa.enabled,isOTPInvalid:!1,OTPRequestFailed:!1,isOTP:!1,userID:-1,otp:"",otpRefId:""}},components:{TopNav},methods:{signIn(){mainconfig.userId=-1,this.userID=-1;for(const e in this.settings.users)if(this.settings.users[e].username===this.username&&this.settings.users[e].password===this.password){this.userID=e;break}if(this.userID===-1){this.hasErrorMsg=!0;return}if(this.otp_enabled){this.isOTP=!0,this.sendOTPRequest(this.settings.users[this.userID].otp_send_to);return}this.confirmLogin()},confirmLogin(){mainconfig.isAuthenticated=!0,mainconfig.userId=this.userID,updatePegaChat(this.settings.users[this.userID]),window.history&&(mainconfig.isAuthenticated?window.history.pushState({userId:mainconfig.userId},"",mainconfig.phonePageName===""?"index.html":mainconfig.phonePageName):window.history.pushState({},"",mainconfig.phonePageName===""?"index.html":mainconfig.phonePageName)),mergeAccount(mainconfig),sendClickStreamEvent(mainconfig,"Login","Account",window.loadPage),sendClickStreamEvent(mainconfig,"PageView","Account",window.loadPage),window.loadPage=new Date,document.dispatchEvent(new Event("confirmLogin"))},async sendOTPRequest(e){const t=setAuth(this.settings.users[this.userID].pega_userid,this.settings.users[this.userID].pega_pwd);await requestOTP(this.settings.general.auth_2fa,t,e).then(n=>{n.isSuccess?(this.isOTP=!0,this.otpRefId=n.referenceID,this.OTPRequestFailed=!1):this.OTPRequestFailed=!0})},async signInOtp(){const e=setAuth(this.settings.users[this.userID].pega_userid,this.settings.users[this.userID].pega_pwd);await validateOTP(this.settings.general.auth_2fa,this.otpRefId,this.otp,e).then(t=>{t?this.confirmLogin():this.isOTPInvalid=!0})}}},_hoisted_1$Q={class:"flex flex-col"},_hoisted_2$K={class:"layout-stacked primary-card"},_hoisted_3$A={class:"small"},_hoisted_4$v={key:0,class:"field-item"},_hoisted_5$v=["placeholder"],_hoisted_6$s={for:"username"},_hoisted_7$m={key:1,class:"field-item"},_hoisted_8$j=["placeholder"],_hoisted_9$j={for:"password"},_hoisted_10$h={key:2,class:"flex flex-col"},_hoisted_11$h={for:"otp"},_hoisted_12$g={key:3,class:"flex flex-col padding-t-2x"},_hoisted_13$g={key:4,class:"error"},_hoisted_14$g={key:5,class:"error"},_hoisted_15$g={key:6,class:"error"},_hoisted_16$g={class:"bottom-banner"};function _sfc_render$U(e,t,n,o,s,a){const l=resolveComponent("TopNav");return openBlock(),createElementBlock("main",_hoisted_1$Q,[createVNode(l,{previousPhonePage:""},{default:withCtx(()=>[s.isOTP?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:0,onClick:t[0]||(t[0]=(...r)=>a.signIn&&a.signIn(...r)),class:"strong sign-in"},toDisplayString$1(e.$t("message.signin")),1))]),_:1}),createBaseVNode("div",_hoisted_2$K,[createBaseVNode("h1",_hoisted_3$A,toDisplayString$1(e.$t("message.phone_login_title")),1),s.isOTP?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_4$v,[withDirectives(createBaseVNode("input",{id:"username",type:"text","onUpdate:modelValue":t[1]||(t[1]=r=>s.username=r),placeholder:e.$t("message.username")},null,8,_hoisted_5$v),[[vModelText,s.username]]),createBaseVNode("label",_hoisted_6$s,toDisplayString$1(e.$t("message.username")),1)])),s.isOTP?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_7$m,[withDirectives(createBaseVNode("input",{id:"password",type:"password","onUpdate:modelValue":t[2]||(t[2]=r=>s.password=r),placeholder:e.$t("message.password")},null,8,_hoisted_8$j),[[vModelText,s.password]]),createBaseVNode("label",_hoisted_9$j,toDisplayString$1(e.$t("message.password")),1)])),s.isOTP?(openBlock(),createElementBlock("div",_hoisted_10$h,[createBaseVNode("label",_hoisted_11$h,toDisplayString$1(e.$t("message.otp")),1),withDirectives(createBaseVNode("input",{id:"otp",type:"text",name:"otp","onUpdate:modelValue":t[3]||(t[3]=r=>s.otp=r)},null,512),[[vModelText,s.otp]])])):createCommentVNode("",!0),s.isOTP?(openBlock(),createElementBlock("div",_hoisted_12$g,[createBaseVNode("button",{onClick:t[4]||(t[4]=(...r)=>a.signInOtp&&a.signInOtp(...r)),class:"strong centered sign-in"},toDisplayString$1(e.$t("message.signin")),1)])):createCommentVNode("",!0),s.hasErrorMsg?(openBlock(),createElementBlock("span",_hoisted_13$g,toDisplayString$1(e.$t("message.invalidLogin")),1)):createCommentVNode("",!0),s.isOTPInvalid?(openBlock(),createElementBlock("span",_hoisted_14$g,toDisplayString$1(e.$t("message.invalidOTP")),1)):createCommentVNode("",!0),s.OTPRequestFailed?(openBlock(),createElementBlock("span",_hoisted_15$g,toDisplayString$1(e.$t("message.requestOTPFailed")),1)):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_16$g,[createBaseVNode("a",null,[t[5]||(t[5]=createBaseVNode("i",{class:"pi pi-phone-out"},null,-1)),createTextVNode(" "+toDisplayString$1(e.$t("message.phone_login_speak_agent")),1)])])])}const LoginPage=_export_sfc(_sfc_main$W,[["render",_sfc_render$U]]),_sfc_main$V={data(){return mainconfig},components:{TopNav},computed:{visibleQuickLinks(){return this.settings.quicklinks.filter((e,t)=>{e.originalIndex=t;const n=this.settings.quicklinks[t].hideusers?this.settings.quicklinks[t].hideusers.split(",").includes(this.settings.users[mainconfig.userId].username):!0;return e.hide!==!0&&n})}},methods:{selectLink(e){this.quickLinkId=e,window.history&&(window.history.pushState({userId:mainconfig.userId,quickLinkId:mainconfig.quickLinkId},"",`quicklink${e}`),setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},0))}}},_hoisted_1$P={class:"flex flex-col"},_hoisted_2$J={class:"flex flex-col secondary-card"},_hoisted_3$z={class:"small"},_hoisted_4$u={class:"quick-links"},_hoisted_5$u=["onClick"];function _sfc_render$T(e,t,n,o,s,a){const l=resolveComponent("TopNav");return openBlock(),createElementBlock("main",_hoisted_1$P,[createVNode(l,{previousPhonePage:""}),createBaseVNode("div",_hoisted_2$J,[createBaseVNode("h1",_hoisted_3$z,toDisplayString$1(e.$t("message.phone_quick_links_title")),1),createBaseVNode("div",_hoisted_4$u,[(openBlock(!0),createElementBlock(Fragment,null,renderList(a.visibleQuickLinks,(r,c)=>(openBlock(),createElementBlock("button",{onClick:d=>a.selectLink(r.originalIndex),class:"simple",key:c},[createBaseVNode("i",{class:normalizeClass("pi background-brand "+(r.icon==""?"pi-document-data":r.icon))},null,2),createTextVNode(" "+toDisplayString$1(r.title[e.currentLocale]),1)],8,_hoisted_5$u))),128))])])])}const QuickLinks$1=_export_sfc(_sfc_main$V,[["render",_sfc_render$T]]),_sfc_main$U={data(){return mainconfig},components:{TopNav},methods:{nextPage(){mainconfig.phonePageName="help"}}},_hoisted_1$O={class:"flex flex-col intro-quicklinks"},_hoisted_2$I={class:"bottom-banner"};function _sfc_render$S(e,t,n,o,s,a){const l=resolveComponent("TopNav");return openBlock(),createElementBlock("main",_hoisted_1$O,[createVNode(l,{previousPhonePage:""},{default:withCtx(()=>[createBaseVNode("button",{onClick:t[0]||(t[0]=(...r)=>a.nextPage&&a.nextPage(...r))},toDisplayString$1(e.$t("message.phone_quick_links_intro_action")),1)]),_:1}),createBaseVNode("h1",null,toDisplayString$1(e.$t("message.phone_quick_links_intro_title")),1),createBaseVNode("p",null,toDisplayString$1(e.$t("message.phone_quick_links_intro_msg")),1),createBaseVNode("div",_hoisted_2$I,[createBaseVNode("p",null,toDisplayString$1(e.$t("message.phone_quick_links_intro_banner_msg")),1),createBaseVNode("a",null,[t[1]||(t[1]=createBaseVNode("i",{class:"pi pi-ambulance"},null,-1)),createTextVNode(" "+toDisplayString$1(e.$t("message.phone_quick_links_intro_banner_action")),1)])])])}const IntroQuickLinks=_export_sfc(_sfc_main$U,[["render",_sfc_render$S]]),_sfc_main$T={props:{showActivity:Boolean},data(){return{...mainconfig,mashupid:`wss${Date.now()}`,mashupScript:"",isMashupInitialized:!1,serverUrl:"",actionName:"",actionNameParam:"",objClass:"",startCase:"",threadName:"",channelID:"",appName:"",actionParam:"",caseTitle:"",extraParam:"",tenantID:"",dataretained:!0}},created(){let e=!1;if(this.mashupScript=document.createElement("script"),this.quickLinkId!==-1)this.actionName=this.settings.quicklinks[this.quickLinkId].action,this.actionNameParam=this.settings.quicklinks[this.quickLinkId].actionparam,this.serverUrl=this.settings.quicklinks[this.quickLinkId].url,this.objClass=this.settings.quicklinks[this.quickLinkId].objclass,this.startCase=this.settings.quicklinks[this.quickLinkId].startcase,this.appName=this.settings.quicklinks[this.quickLinkId].application,this.channelID=this.settings.quicklinks[this.quickLinkId].channelid,this.tenantID=this.settings.quicklinks[this.quickLinkId].tenantid,this.dataretained=this.settings.quicklinks[this.quickLinkId].dataretained,this.extraParam=this.settings.quicklinks[this.quickLinkId].extraparam,this.caseTitle=this.settings.quicklinks[this.quickLinkId].title[this.currentLocale];else if(this.viewBill!==-1)this.actionName=this.settings.billpay.action,this.actionNameParam=this.settings.billpay.actionparam,this.serverUrl=this.settings.billpay.url,this.objClass=this.settings.billpay.objclass,this.startCase=this.settings.billpay.startcase,this.appName=this.settings.billpay.application,this.channelID=this.settings.billpay.channelid,this.tenantID=this.settings.billpay.tenantid,this.dataretained=this.settings.billpay.dataretained,this.extraParam=this.settings.billpay.extraparam;else if(this.viewBanner!==-1)this.actionName=this.settings.banner.action,this.actionNameParam=this.settings.banner.actionparam,this.serverUrl=this.settings.banner.url,this.objClass=this.settings.banner.objclass,this.startCase=this.settings.banner.startcase,this.appName=this.settings.banner.application,this.channelID=this.settings.banner.channelid,this.tenantID=this.settings.banner.tenantid,this.dataretained=this.settings.banner.dataretained,this.extraParam=this.settings.banner.extraparam;else if(this.homeHeroAction!==-1)this.actionName=this.settings.homeheroaction.action,this.actionNameParam=this.settings.homeheroaction.actionparam,this.serverUrl=this.settings.homeheroaction.url,this.objClass=this.settings.homeheroaction.objclass,this.startCase=this.settings.homeheroaction.startcase,this.appName=this.settings.homeheroaction.application,this.channelID=this.settings.homeheroaction.channelid,this.tenantID=this.settings.homeheroaction.tenantid,this.dataretained=this.settings.homeheroaction.dataretained,this.extraParam=this.settings.homeheroaction.extraparam;else if(this.offerAction!==-1){this.actionName=this.settings.offeraction.action,this.actionNameParam=this.settings.offeraction.actionparam,this.serverUrl=this.settings.offeraction.url,this.objClass=this.settings.offeraction.objclass,this.startCase=this.settings.offeraction.startcase,this.appName=this.settings.offeraction.application,this.channelID=this.settings.offeraction.channelid,this.tenantID=this.settings.offeraction.tenantid,this.dataretained=this.settings.offeraction.dataretained,this.extraParam=this.settings.offeraction.extraparam;const n={};window.location.search.substr(1).split("&").forEach(o=>{n[o.split("=")[0]]=o.split("=")[1]});for(const o in n)typeof n[o]<"u"&&n[o]!==""&&(this.extraParam+=`${(this.extraParam!==""?",":"")+o}=${n[o]}`)}else this.viewKMHelp!==-1?(this.actionName=this.settings.kmhelp.action,this.actionNameParam=this.settings.kmhelp.actionparam,this.serverUrl=this.settings.kmhelp.url,this.objClass=this.settings.kmhelp.objclass,this.startCase=this.settings.kmhelp.startcase,this.appName=this.settings.kmhelp.application,this.channelID=this.settings.kmhelp.channelid,this.tenantID=this.settings.kmhelp.tenantid,this.dataretained=this.settings.kmhelp.dataretained,this.extraParam=this.settings.kmhelp.extraparam,mainconfig.KMArticleID!==""&&(this.extraParam+=`${this.extraParam!==""?",":""}ArticleID=${mainconfig.KMArticleID},preActivityParams={"ArticleID":"${mainconfig.KMArticleID}"}`,mainconfig.KMArticleID="")):this.showActivity?(this.actionName=this.settings.activity.action,this.actionNameParam=this.settings.activity.actionparam,this.serverUrl=this.settings.activity.url,this.objClass=this.settings.activity.objclass,this.startCase=this.settings.activity.startcase,this.appName=this.settings.activity.application,this.channelID=this.settings.activity.channelid,this.tenantID=this.settings.activity.tenantid,this.dataretained=this.settings.activity.dataretained,this.extraParam=this.settings.activity.extraparam):(e=!0,this.actionName=this.settings.todo.action,this.actionNameParam=this.settings.todo.actionparam,this.serverUrl=this.settings.todo.url,this.objClass=this.settings.todo.objclass,this.startCase=this.settings.todo.startcase,this.appName=this.settings.todo.application,this.channelID=this.settings.todo.channelid,this.tenantID=this.settings.todo.tenantid,this.dataretained=this.settings.todo.dataretained,this.extraParam=this.settings.todo.extraparam,this.logoutURL.todo=`${this.settings.todo.url}?pyActivity=LogOff`);if(this.serverUrl==="")return;this.threadName=this.objClass.replace(/-/g,""),this.mashupScript.setAttribute("src",`${this.serverUrl}?pyActivity=pzIncludeMashupScripts&id=${this.mashupid}`);const t={};if(t.pzSkinName="ClaritySkin",this.app.industry==="comms"?t.pzSkinName="ClaritySkin_HoneyFlower":this.app.industry.indexOf("health")===0?t.pzSkinName="ClaritySkin_Keppel":this.app.industry==="gov"?t.pzSkinName="ClaritySkin_PictonBlue":this.app.industry==="retail_bank"||this.app.industry==="commercial_bank"?t.pzSkinName="ClaritySkin_Mantis":this.app.industry==="insurance"?t.pzSkinName="ClaritySkin_Flame":this.app.industry==="manufacturing"&&(t.pzSkinName="ClaritySkin_DeepCerise"),t.pyMashupSkeletonName="pyDefaultMashupSkeleton",this.userId!==-1?(t.UserIdentifier=this.settings.users[this.userId].pega_userid,t.Password=encodeURI(btoa(this.settings.users[this.userId].pega_pwd)),this.settings.users[this.userId].accountID&&(t.AccountNumber=this.settings.users[this.userId].accountID),this.settings.users[this.userId].customerID&&(t.customerID=this.settings.users[this.userId].customerID),this.settings.users[this.userId].contactID&&(t.ContactId=this.settings.users[this.userId].contactID)):this.viewKMHelp!==-1?(t.UserIdentifier=this.settings.kmhelp.username,t.Password=encodeURI(btoa(this.settings.kmhelp.password))):this.homeHeroAction!==-1?(t.UserIdentifier=this.settings.homeheroaction.pega_userid,t.Password=encodeURI(btoa(this.settings.homeheroaction.pega_pwd))):this.offerAction!==-1&&(t.UserIdentifier=this.settings.offeraction.pega_userid,t.Password=encodeURI(btoa(this.settings.offeraction.pega_pwd))),this.isDeepLink===!0){t.isDeepLink="true";for(const n in this.deepLinkExtraParam)t[n]=this.deepLinkExtraParam[n];mainconfig.isDeepLink=!1,mainconfig.deepLinkExtraParam={}}e&&(t.isMashupInContainer="true"),typeof this.extraParam<"u"&&this.extraParam!==""&&this.extraParam.split(",").forEach(n=>{const o=n.split("=");o.length===2&&(t[o[0].trim()]=o[1].trim())}),this.userId!==-1&&typeof this.settings.users[this.userId].extraparam<"u"&&this.settings.users[this.userId].extraparam!==""&&this.settings.users[this.userId].extraparam.split(",").forEach(n=>{const o=n.split("=");o.length===2&&(t[o[0].trim()]=o[1].trim())}),t.pySkipCookieConsent="true",this.actionParam=JSON.stringify(t),this.isMashupInitialized=!0,!(typeof pega<"u"&&typeof pega.Mashup<"u"&&typeof pega.Mashup.Communicator<"u")&&(this.mashupScript.onload=function(){pega.Mashup.Communicator.register(pega.Mashup.hostActionsProcessor),_initAllPegaObjects()},typeof pega>"u"&&(document.head.appendChild(this.mashupScript),window.pega={}))},mounted(){typeof pega<"u"&&typeof pega.Mashup<"u"&&typeof pega.Mashup.Communicator<"u"&&pega.web.mgr._initGadgets(window)}},_hoisted_1$N=["id","data-pega-gadgetname","data-pega-action","data-pega-action-param-classname","data-pega-action-param-flowname","data-pega-isretained","data-pega-applicationname","data-pega-threadname","data-pega-channelID","data-pega-url","data-pega-tenantid","data-pega-action-param-parameters"],_hoisted_2$H=["id","data-pega-gadgetname","data-pega-action","data-pega-action-param-harnessname","data-pega-action-param-classname","data-pega-isretained","data-pega-applicationname","data-pega-threadname","data-pega-channelID","data-pega-url","data-pega-tenantid","data-pega-action-param-parameters"],_hoisted_3$y=["id","data-pega-gadgetname","data-pega-action","data-pega-isretained","data-pega-applicationname","data-pega-threadname","data-pega-channelID","data-pega-url","data-pega-tenantid","data-pega-action-param-parameters"],_hoisted_4$t=["id","data-pega-gadgetname","data-pega-action","data-pega-action-param-key","data-pega-isretained","data-pega-applicationname","data-pega-threadname","data-pega-channelID","data-pega-url","data-pega-tenantid","data-pega-action-param-parameters"],_hoisted_5$t=["id","data-pega-gadgetname","data-pega-action","data-pega-action-param-key","data-pega-isretained","data-pega-applicationname","data-pega-threadname","data-pega-channelID","data-pega-url","data-pega-tenantid","data-pega-action-param-parameters"],_hoisted_6$r=["id","data-pega-gadgetname","data-pega-action","data-pega-action-param-workid","data-pega-isretained","data-pega-applicationname","data-pega-threadname","data-pega-channelID","data-pega-url","data-pega-tenantid","data-pega-action-param-parameters"],_hoisted_7$l=["id","data-pega-gadgetname","data-pega-action","data-pega-action-param-query","data-pega-isretained","data-pega-applicationname","data-pega-threadname","data-pega-channelID","data-pega-url","data-pega-tenantid","data-pega-action-param-parameters"],_hoisted_8$i={key:1,class:"flex flex-col height-100-pct"},_hoisted_9$i=["data-attr-title","data-attr-color"];function _sfc_render$R(e,t,n,o,s,a){return s.isMashupInitialized?(openBlock(),createElementBlock("section",{key:0,class:normalizeClass(["flex flex-col",e.viewKMHelp!==-1?"kmhelp":""])},[s.actionName=="createNewWork"?(openBlock(),createElementBlock("div",{key:0,id:s.mashupid,"data-pega-gadgetname":s.mashupid,"data-pega-action":s.actionName,"data-pega-action-param-classname":s.objClass,"data-pega-action-param-flowname":s.startCase,"data-pega-isdeferloaded":"false","data-pega-isretained":s.dataretained,"data-pega-applicationname":s.appName,"data-pega-threadname":s.threadName,"data-pega-resizetype":"stretch","data-pega-channelID":s.channelID,"data-pega-url":s.serverUrl,"data-pega-tenantid":s.tenantID,"data-pega-action-param-parameters":s.actionParam},null,8,_hoisted_1$N)):s.actionName=="display"?(openBlock(),createElementBlock("div",{key:1,id:s.mashupid,"data-pega-gadgetname":s.mashupid,"data-pega-action":s.actionName,"data-pega-action-param-harnessname":s.actionNameParam,"data-pega-action-param-classname":s.objClass,"data-pega-isdeferloaded":"false","data-pega-isretained":s.dataretained,"data-pega-applicationname":s.appName,"data-pega-threadname":s.threadName,"data-pega-resizetype":"stretch","data-pega-channelID":s.channelID,"data-pega-url":s.serverUrl,"data-pega-tenantid":s.tenantID,"data-pega-action-param-parameters":s.actionParam},null,8,_hoisted_2$H)):s.actionName=="getNextWork"?(openBlock(),createElementBlock("div",{key:2,id:s.mashupid,"data-pega-gadgetname":s.mashupid,"data-pega-action":s.actionName,"data-pega-isdeferloaded":"false","data-pega-isretained":s.dataretained,"data-pega-applicationname":s.appName,"data-pega-threadname":s.threadName,"data-pega-resizetype":"stretch","data-pega-channelID":s.channelID,"data-pega-url":s.serverUrl,"data-pega-tenantid":s.tenantID,"data-pega-action-param-parameters":s.actionParam},null,8,_hoisted_3$y)):s.actionName=="openAssignment"?(openBlock(),createElementBlock("div",{key:3,id:s.mashupid,"data-pega-gadgetname":s.mashupid,"data-pega-action":s.actionName,"data-pega-action-param-key":s.actionNameParam,"data-pega-isdeferloaded":"false","data-pega-isretained":s.dataretained,"data-pega-applicationname":s.appName,"data-pega-threadname":s.threadName,"data-pega-resizetype":"stretch","data-pega-channelID":s.channelID,"data-pega-url":s.serverUrl,"data-pega-tenantid":s.tenantID,"data-pega-action-param-parameters":s.actionParam},null,8,_hoisted_4$t)):s.actionName=="openWorkByHandle"?(openBlock(),createElementBlock("div",{key:4,id:s.mashupid,"data-pega-gadgetname":s.mashupid,"data-pega-action":s.actionName,"data-pega-action-param-key":s.actionNameParam,"data-pega-isdeferloaded":"false","data-pega-isretained":s.dataretained,"data-pega-applicationname":s.appName,"data-pega-threadname":s.threadName,"data-pega-resizetype":"stretch","data-pega-channelID":s.channelID,"data-pega-url":s.serverUrl,"data-pega-tenantid":s.tenantID,"data-pega-action-param-parameters":s.actionParam},null,8,_hoisted_5$t)):s.actionName=="openWorkItem"?(openBlock(),createElementBlock("div",{key:5,id:s.mashupid,"data-pega-gadgetname":s.mashupid,"data-pega-action":s.actionName,"data-pega-action-param-workid":s.actionNameParam,"data-pega-isdeferloaded":"false","data-pega-isretained":s.dataretained,"data-pega-applicationname":s.appName,"data-pega-threadname":s.threadName,"data-pega-resizetype":"stretch","data-pega-channelID":s.channelID,"data-pega-url":s.serverUrl,"data-pega-tenantid":s.tenantID,"data-pega-action-param-parameters":s.actionParam},null,8,_hoisted_6$r)):s.actionName=="openWorkByURL"?(openBlock(),createElementBlock("div",{key:6,id:s.mashupid,"data-pega-gadgetname":s.mashupid,"data-pega-action":s.actionName,"data-pega-action-param-query":s.actionNameParam,"data-pega-isdeferloaded":"false","data-pega-isretained":s.dataretained,"data-pega-applicationname":s.appName,"data-pega-threadname":s.threadName,"data-pega-resizetype":"stretch","data-pega-channelID":s.channelID,"data-pega-url":s.serverUrl,"data-pega-tenantid":s.tenantID,"data-pega-action-param-parameters":s.actionParam},null,8,_hoisted_7$l)):createCommentVNode("",!0)],2)):(openBlock(),createElementBlock("section",_hoisted_8$i,[createBaseVNode("iframe",{class:normalizeClass(["pega",e.isMobilePhone?"phone":"desktop"]),"data-attr-title":s.caseTitle,"data-attr-color":e.settings.general.theming.override?e.settings.general.theming.interactiveColor:"",src:"form-embed.html",style:{overflow:"hidden",height:"600px"},width:"100%",height:"100%",border:"0",frameborder:"0"},null,10,_hoisted_9$i)]))}const PegaWebMashup=_export_sfc(_sfc_main$T,[["render",_sfc_render$R]]),setObjectFromRef=(e,t,n)=>{if(typeof t!="string")return;const o=t.split(".");let s=e;for(const a in o){let l=o[a];const r=l.indexOf("(");if(r===-1)a"u"&&(s[l]={}):s[l]=n,s=s[l];else{const c=l.substring(r+1,l.length-1);l=l.substring(0,r),typeof s[l]>"u"&&(s[l]=[]);for(let d=s[l].length;d<\/script>'); } - + diff --git a/docs/commercial_bank/index.html b/docs/commercial_bank/index.html index a884889e..7c835624 100644 --- a/docs/commercial_bank/index.html +++ b/docs/commercial_bank/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/comms/index.html b/docs/comms/index.html index 314752b2..a108df79 100644 --- a/docs/comms/index.html +++ b/docs/comms/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/energy/index.html b/docs/energy/index.html index 774a05e6..4ea5062e 100644 --- a/docs/energy/index.html +++ b/docs/energy/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/gov/index.html b/docs/gov/index.html index 5b971121..7ab349b2 100644 --- a/docs/gov/index.html +++ b/docs/gov/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/health_care/index.html b/docs/health_care/index.html index 814563bc..cd06a840 100644 --- a/docs/health_care/index.html +++ b/docs/health_care/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/health_payer/index.html b/docs/health_payer/index.html index 3fffb3d9..802bc9fc 100644 --- a/docs/health_payer/index.html +++ b/docs/health_payer/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/health_pharma/index.html b/docs/health_pharma/index.html index abde0109..e5890795 100644 --- a/docs/health_pharma/index.html +++ b/docs/health_pharma/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/health_provider/index.html b/docs/health_provider/index.html index 5930c929..260c5a48 100644 --- a/docs/health_provider/index.html +++ b/docs/health_provider/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/insurance/index.html b/docs/insurance/index.html index 14f6a809..d72e1f89 100644 --- a/docs/insurance/index.html +++ b/docs/insurance/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/manufacturing/index.html b/docs/manufacturing/index.html index ed9df9ba..a30139dd 100644 --- a/docs/manufacturing/index.html +++ b/docs/manufacturing/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/retail_bank/index.html b/docs/retail_bank/index.html index 93b153fd..6d4a888c 100644 --- a/docs/retail_bank/index.html +++ b/docs/retail_bank/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/travel/index.html b/docs/travel/index.html index 048b8ae1..fa6a986f 100644 --- a/docs/travel/index.html +++ b/docs/travel/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/docs/wealth/index.html b/docs/wealth/index.html index ab32f12f..0edee723 100644 --- a/docs/wealth/index.html +++ b/docs/wealth/index.html @@ -38,7 +38,7 @@ document.write(' - + diff --git a/package-lock.json b/package-lock.json index e93472da..3b87310c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -62,9 +62,9 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.2.tgz", - "integrity": "sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.3.tgz", + "integrity": "sha512-nHIxvKPniQXpmQLb0vhY3VaFb3S0YrTAwpOWJZh1wn3oJPjJk9Asva204PsBdmAE8vpzfHudT8DB0scYvy9q0g==", "dev": true, "engines": { "node": ">=6.9.0" @@ -101,13 +101,13 @@ } }, "node_modules/@babel/generator": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.2.tgz", - "integrity": "sha512-zevQbhbau95nkoxSq3f/DC/SC+EEOUZd3DYqfSkMhY2/wfSeaHV1Ew4vk8e+x8lja31IbyuUa2uQ3JONqKbysw==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.3.tgz", + "integrity": "sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ==", "dev": true, "dependencies": { - "@babel/parser": "^7.26.2", - "@babel/types": "^7.26.0", + "@babel/parser": "^7.26.3", + "@babel/types": "^7.26.3", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^3.0.2" @@ -298,11 +298,11 @@ } }, "node_modules/@babel/parser": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.2.tgz", - "integrity": "sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.3.tgz", + "integrity": "sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==", "dependencies": { - "@babel/types": "^7.26.0" + "@babel/types": "^7.26.3" }, "bin": { "parser": "bin/babel-parser.js" @@ -342,9 +342,9 @@ } }, "node_modules/@babel/plugin-transform-typescript": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.25.9.tgz", - "integrity": "sha512-7PbZQZP50tzv2KGGnhh82GSyMB01yKY9scIjf1a+GfZCtInOWqUH5+1EBU4t9fyR5Oykkkc9vFTs4OHrhHXljQ==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.26.3.tgz", + "integrity": "sha512-6+5hpdr6mETwSKjmJUdYw0EIkATiQhnELWlE3kJFBwSg/BGIVwVaVbX+gOXBCdc7Ln1RXZxyWGecIXhUfnl7oA==", "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.25.9", @@ -375,16 +375,16 @@ } }, "node_modules/@babel/traverse": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.9.tgz", - "integrity": "sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw==", + "version": "7.26.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.4.tgz", + "integrity": "sha512-fH+b7Y4p3yqvApJALCPJcwb0/XaOSgtK4pzV6WVjPR5GLFQBRI7pfoX2V2iM48NXvX07NUxxm1Vw98YjqTcU5w==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.25.9", - "@babel/generator": "^7.25.9", - "@babel/parser": "^7.25.9", + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.3", + "@babel/parser": "^7.26.3", "@babel/template": "^7.25.9", - "@babel/types": "^7.25.9", + "@babel/types": "^7.26.3", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -402,9 +402,9 @@ } }, "node_modules/@babel/types": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.0.tgz", - "integrity": "sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.3.tgz", + "integrity": "sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==", "dependencies": { "@babel/helper-string-parser": "^7.25.9", "@babel/helper-validator-identifier": "^7.25.9" @@ -430,9 +430,9 @@ } }, "node_modules/@cypress/request": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/@cypress/request/-/request-3.0.6.tgz", - "integrity": "sha512-fi0eVdCOtKu5Ed6+E8mYxUF6ZTFJDZvHogCBelM0xVXmrDEkyM22gRArQzq1YcHPm1V47Vf/iAD+WgVdUlJCGg==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/@cypress/request/-/request-3.0.7.tgz", + "integrity": "sha512-LzxlLEMbBOPYB85uXrDqvD4MgcenjRBLIns3zyhx7vTPj/0u2eQhzXvPiGcaJrV38Q9dbkExWp6cOHPJ+EtFYg==", "dev": true, "dependencies": { "aws-sign2": "~0.7.0", @@ -448,7 +448,7 @@ "json-stringify-safe": "~5.0.1", "mime-types": "~2.1.19", "performance-now": "^2.1.0", - "qs": "6.13.0", + "qs": "6.13.1", "safe-buffer": "^5.1.2", "tough-cookie": "^5.0.0", "tunnel-agent": "^0.6.0", @@ -901,12 +901,12 @@ } }, "node_modules/@eslint/config-array": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.0.tgz", - "integrity": "sha512-zdHg2FPIFNKPdcHWtiNT+jEFCHYVplAXRDlQDyqy0zGx/q2parwh7brGJSiTxRk/TSMkbM//zt/f5CHgyTyaSQ==", + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.1.tgz", + "integrity": "sha512-fo6Mtm5mWyKjA/Chy1BYTdn5mGJoDNjC7C64ug20ADsRDGrA85bN3uK3MaKbeRkRuuIEAR5N33Jr1pbm411/PA==", "dev": true, "dependencies": { - "@eslint/object-schema": "^2.1.4", + "@eslint/object-schema": "^2.1.5", "debug": "^4.3.1", "minimatch": "^3.1.2" }, @@ -915,10 +915,13 @@ } }, "node_modules/@eslint/core": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.9.0.tgz", - "integrity": "sha512-7ATR9F0e4W85D/0w7cU0SNj7qkAexMG+bAHEZOjo9akvGuhHE2m7umzWzfnpa0XAg5Kxc1BWmtPMV67jJ+9VUg==", + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.9.1.tgz", + "integrity": "sha512-GuUdqkyyzQI5RMIWkHhvTWLCyLo1jNK3vzkSyaExH5kHPDHcuL2VOpHjmMY+y3+NC69qAKToBqldTBgYeLSr9Q==", "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.15" + }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } @@ -956,18 +959,18 @@ } }, "node_modules/@eslint/object-schema": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.4.tgz", - "integrity": "sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==", + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.5.tgz", + "integrity": "sha512-o0bhxnL89h5Bae5T318nFoFzGy+YE5i/gGkoPAgkmTVdRKTiv3p8JHevPiPaMwoloKfEiiaHlawCqaZMqRm+XQ==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, "node_modules/@eslint/plugin-kit": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.3.tgz", - "integrity": "sha512-2b/g5hRmpbb1o4GnTZax9N9m0FXzz9OV42ZzI4rDDMDuHUqigAiQCEWChBWCY4ztAGVRjoWT19v0yMmc5/L5kA==", + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.4.tgz", + "integrity": "sha512-zSkKow6H5Kdm0ZUQUB2kV5JIXqoG0+uH5YADhaEHswm664N9Db8dXSi0nMJpacpMf+MyyglF1vnZohpEg5yUtg==", "dev": true, "dependencies": { "levn": "^0.4.1" @@ -1245,9 +1248,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.28.0.tgz", - "integrity": "sha512-wLJuPLT6grGZsy34g4N1yRfYeouklTgPhH1gWXCYspenKYD0s3cR99ZevOGw5BexMNywkbV3UkjADisozBmpPQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.28.1.tgz", + "integrity": "sha512-2aZp8AES04KI2dy3Ss6/MDjXbwBzj+i0GqKtWXgw2/Ma6E4jJvujryO6gJAghIRVz7Vwr9Gtl/8na3nDUKpraQ==", "cpu": [ "arm" ], @@ -1258,9 +1261,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.28.0.tgz", - "integrity": "sha512-eiNkznlo0dLmVG/6wf+Ifi/v78G4d4QxRhuUl+s8EWZpDewgk7PX3ZyECUXU0Zq/Ca+8nU8cQpNC4Xgn2gFNDA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.28.1.tgz", + "integrity": "sha512-EbkK285O+1YMrg57xVA+Dp0tDBRB93/BZKph9XhMjezf6F4TpYjaUSuPt5J0fZXlSag0LmZAsTmdGGqPp4pQFA==", "cpu": [ "arm64" ], @@ -1271,9 +1274,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.28.0.tgz", - "integrity": "sha512-lmKx9yHsppblnLQZOGxdO66gT77bvdBtr/0P+TPOseowE7D9AJoBw8ZDULRasXRWf1Z86/gcOdpBrV6VDUY36Q==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.28.1.tgz", + "integrity": "sha512-prduvrMKU6NzMq6nxzQw445zXgaDBbMQvmKSJaxpaZ5R1QDM8w+eGxo6Y/jhT/cLoCvnZI42oEqf9KQNYz1fqQ==", "cpu": [ "arm64" ], @@ -1284,9 +1287,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.28.0.tgz", - "integrity": "sha512-8hxgfReVs7k9Js1uAIhS6zq3I+wKQETInnWQtgzt8JfGx51R1N6DRVy3F4o0lQwumbErRz52YqwjfvuwRxGv1w==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.28.1.tgz", + "integrity": "sha512-WsvbOunsUk0wccO/TV4o7IKgloJ942hVFK1CLatwv6TJspcCZb9umQkPdvB7FihmdxgaKR5JyxDjWpCOp4uZlQ==", "cpu": [ "x64" ], @@ -1297,9 +1300,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.28.0.tgz", - "integrity": "sha512-lA1zZB3bFx5oxu9fYud4+g1mt+lYXCoch0M0V/xhqLoGatbzVse0wlSQ1UYOWKpuSu3gyN4qEc0Dxf/DII1bhQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.28.1.tgz", + "integrity": "sha512-HTDPdY1caUcU4qK23FeeGxCdJF64cKkqajU0iBnTVxS8F7H/7BewvYoG+va1KPSL63kQ1PGNyiwKOfReavzvNA==", "cpu": [ "arm64" ], @@ -1310,9 +1313,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.28.0.tgz", - "integrity": "sha512-aI2plavbUDjCQB/sRbeUZWX9qp12GfYkYSJOrdYTL/C5D53bsE2/nBPuoiJKoWp5SN78v2Vr8ZPnB+/VbQ2pFA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.28.1.tgz", + "integrity": "sha512-m/uYasxkUevcFTeRSM9TeLyPe2QDuqtjkeoTpP9SW0XxUWfcYrGDMkO/m2tTw+4NMAF9P2fU3Mw4ahNvo7QmsQ==", "cpu": [ "x64" ], @@ -1323,9 +1326,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.28.0.tgz", - "integrity": "sha512-WXveUPKtfqtaNvpf0iOb0M6xC64GzUX/OowbqfiCSXTdi/jLlOmH0Ba94/OkiY2yTGTwteo4/dsHRfh5bDCZ+w==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.28.1.tgz", + "integrity": "sha512-QAg11ZIt6mcmzpNE6JZBpKfJaKkqTm1A9+y9O+frdZJEuhQxiugM05gnCWiANHj4RmbgeVJpTdmKRmH/a+0QbA==", "cpu": [ "arm" ], @@ -1336,9 +1339,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.28.0.tgz", - "integrity": "sha512-yLc3O2NtOQR67lI79zsSc7lk31xjwcaocvdD1twL64PK1yNaIqCeWI9L5B4MFPAVGEVjH5k1oWSGuYX1Wutxpg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.28.1.tgz", + "integrity": "sha512-dRP9PEBfolq1dmMcFqbEPSd9VlRuVWEGSmbxVEfiq2cs2jlZAl0YNxFzAQS2OrQmsLBLAATDMb3Z6MFv5vOcXg==", "cpu": [ "arm" ], @@ -1349,9 +1352,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.28.0.tgz", - "integrity": "sha512-+P9G9hjEpHucHRXqesY+3X9hD2wh0iNnJXX/QhS/J5vTdG6VhNYMxJ2rJkQOxRUd17u5mbMLHM7yWGZdAASfcg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.28.1.tgz", + "integrity": "sha512-uGr8khxO+CKT4XU8ZUH1TTEUtlktK6Kgtv0+6bIFSeiSlnGJHG1tSFSjm41uQ9sAO/5ULx9mWOz70jYLyv1QkA==", "cpu": [ "arm64" ], @@ -1362,9 +1365,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.28.0.tgz", - "integrity": "sha512-1xsm2rCKSTpKzi5/ypT5wfc+4bOGa/9yI/eaOLW0oMs7qpC542APWhl4A37AENGZ6St6GBMWhCCMM6tXgTIplw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.28.1.tgz", + "integrity": "sha512-QF54q8MYGAqMLrX2t7tNpi01nvq5RI59UBNx+3+37zoKX5KViPo/gk2QLhsuqok05sSCRluj0D00LzCwBikb0A==", "cpu": [ "arm64" ], @@ -1374,10 +1377,23 @@ "linux" ] }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.28.1.tgz", + "integrity": "sha512-vPul4uodvWvLhRco2w0GcyZcdyBfpfDRgNKU+p35AWEbJ/HPs1tOUrkSueVbBS0RQHAf/A+nNtDpvw95PeVKOA==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.28.0.tgz", - "integrity": "sha512-zgWxMq8neVQeXL+ouSf6S7DoNeo6EPgi1eeqHXVKQxqPy1B2NvTbaOUWPn/7CfMKL7xvhV0/+fq/Z/J69g1WAQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.28.1.tgz", + "integrity": "sha512-pTnTdBuC2+pt1Rmm2SV7JWRqzhYpEILML4PKODqLz+C7Ou2apEV52h19CR7es+u04KlqplggmN9sqZlekg3R1A==", "cpu": [ "ppc64" ], @@ -1388,9 +1404,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.28.0.tgz", - "integrity": "sha512-VEdVYacLniRxbRJLNtzwGt5vwS0ycYshofI7cWAfj7Vg5asqj+pt+Q6x4n+AONSZW/kVm+5nklde0qs2EUwU2g==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.28.1.tgz", + "integrity": "sha512-vWXy1Nfg7TPBSuAncfInmAI/WZDd5vOklyLJDdIRKABcZWojNDY0NJwruY2AcnCLnRJKSaBgf/GiJfauu8cQZA==", "cpu": [ "riscv64" ], @@ -1401,9 +1417,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.28.0.tgz", - "integrity": "sha512-LQlP5t2hcDJh8HV8RELD9/xlYtEzJkm/aWGsauvdO2ulfl3QYRjqrKW+mGAIWP5kdNCBheqqqYIGElSRCaXfpw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.28.1.tgz", + "integrity": "sha512-/yqC2Y53oZjb0yz8PVuGOQQNOTwxcizudunl/tFs1aLvObTclTwZ0JhXF2XcPT/zuaymemCDSuuUPXJJyqeDOg==", "cpu": [ "s390x" ], @@ -1414,9 +1430,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.28.0.tgz", - "integrity": "sha512-Nl4KIzteVEKE9BdAvYoTkW19pa7LR/RBrT6F1dJCV/3pbjwDcaOq+edkP0LXuJ9kflW/xOK414X78r+K84+msw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.28.1.tgz", + "integrity": "sha512-fzgeABz7rrAlKYB0y2kSEiURrI0691CSL0+KXwKwhxvj92VULEDQLpBYLHpF49MSiPG4sq5CK3qHMnb9tlCjBw==", "cpu": [ "x64" ], @@ -1427,9 +1443,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.28.0.tgz", - "integrity": "sha512-eKpJr4vBDOi4goT75MvW+0dXcNUqisK4jvibY9vDdlgLx+yekxSm55StsHbxUsRxSTt3JEQvlr3cGDkzcSP8bw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.28.1.tgz", + "integrity": "sha512-xQTDVzSGiMlSshpJCtudbWyRfLaNiVPXt1WgdWTwWz9n0U12cI2ZVtWe/Jgwyv/6wjL7b66uu61Vg0POWVfz4g==", "cpu": [ "x64" ], @@ -1440,9 +1456,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.28.0.tgz", - "integrity": "sha512-Vi+WR62xWGsE/Oj+mD0FNAPY2MEox3cfyG0zLpotZdehPFXwz6lypkGs5y38Jd/NVSbOD02aVad6q6QYF7i8Bg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.28.1.tgz", + "integrity": "sha512-wSXmDRVupJstFP7elGMgv+2HqXelQhuNf+IS4V+nUpNVi/GUiBgDmfwD0UGN3pcAnWsgKG3I52wMOBnk1VHr/A==", "cpu": [ "arm64" ], @@ -1453,9 +1469,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.28.0.tgz", - "integrity": "sha512-kN/Vpip8emMLn/eOza+4JwqDZBL6MPNpkdaEsgUtW1NYN3DZvZqSQrbKzJcTL6hd8YNmFTn7XGWMwccOcJBL0A==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.28.1.tgz", + "integrity": "sha512-ZkyTJ/9vkgrE/Rk9vhMXhf8l9D+eAhbAVbsGsXKy2ohmJaWg0LPQLnIxRdRp/bKyr8tXuPlXhIoGlEB5XpJnGA==", "cpu": [ "ia32" ], @@ -1466,9 +1482,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.28.0.tgz", - "integrity": "sha512-Bvno2/aZT6usSa7lRDL2+hMjVAGjuqaymF1ApZm31JXzniR/hvr14jpU+/z4X6Gt5BPlzosscyJZGUvguXIqeQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.28.1.tgz", + "integrity": "sha512-ZvK2jBafvttJjoIdKm/Q/Bh7IJ1Ose9IBOwpOXcOvW3ikGTQGmKDgxTC6oCAzW6PynbkKP8+um1du81XJHZ0JA==", "cpu": [ "x64" ], @@ -1581,9 +1597,9 @@ } }, "node_modules/@vitest/coverage-v8": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-2.1.6.tgz", - "integrity": "sha512-qItJVYDbG3MUFO68dOZUz+rWlqe9LMzotERXFXKg25s2A/kSVsyS9O0yNGrITfBd943GsnBeQZkBUu7Pc+zVeA==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-2.1.8.tgz", + "integrity": "sha512-2Y7BPlKH18mAZYAW1tYByudlCYrQyl5RGvnnDYJKW5tCiO5qg3KSAy3XAxcxKz900a0ZXxWtKrMuZLe3lKBpJw==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.3.0", @@ -1603,8 +1619,8 @@ "url": "https://opencollective.com/vitest" }, "peerDependencies": { - "@vitest/browser": "2.1.6", - "vitest": "2.1.6" + "@vitest/browser": "2.1.8", + "vitest": "2.1.8" }, "peerDependenciesMeta": { "@vitest/browser": { @@ -1613,13 +1629,13 @@ } }, "node_modules/@vitest/expect": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.6.tgz", - "integrity": "sha512-9M1UR9CAmrhJOMoSwVnPh2rELPKhYo0m/CSgqw9PyStpxtkwhmdM6XYlXGKeYyERY1N6EIuzkQ7e3Lm1WKCoUg==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.8.tgz", + "integrity": "sha512-8ytZ/fFHq2g4PJVAtDX57mayemKgDR6X3Oa2Foro+EygiOJHUXhCqBAAKQYYajZpFoIfvBCF1j6R6IYRSIUFuw==", "dev": true, "dependencies": { - "@vitest/spy": "2.1.6", - "@vitest/utils": "2.1.6", + "@vitest/spy": "2.1.8", + "@vitest/utils": "2.1.8", "chai": "^5.1.2", "tinyrainbow": "^1.2.0" }, @@ -1627,45 +1643,10 @@ "url": "https://opencollective.com/vitest" } }, - "node_modules/@vitest/mocker": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.6.tgz", - "integrity": "sha512-MHZp2Z+Q/A3am5oD4WSH04f9B0T7UvwEb+v5W0kCYMhtXGYbdyl2NUk1wdSMqGthmhpiThPDp/hEoVwu16+u1A==", - "dev": true, - "dependencies": { - "@vitest/spy": "2.1.6", - "estree-walker": "^3.0.3", - "magic-string": "^0.30.12" - }, - "funding": { - "url": "https://opencollective.com/vitest" - }, - "peerDependencies": { - "msw": "^2.4.9", - "vite": "^5.0.0 || ^6.0.0" - }, - "peerDependenciesMeta": { - "msw": { - "optional": true - }, - "vite": { - "optional": true - } - } - }, - "node_modules/@vitest/mocker/node_modules/estree-walker": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", - "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", - "dev": true, - "dependencies": { - "@types/estree": "^1.0.0" - } - }, "node_modules/@vitest/pretty-format": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.6.tgz", - "integrity": "sha512-exZyLcEnHgDMKc54TtHca4McV4sKT+NKAe9ix/yhd/qkYb/TP8HTyXRFDijV19qKqTZM0hPL4753zU/U8L/gAA==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.8.tgz", + "integrity": "sha512-9HiSZ9zpqNLKlbIDRWOnAWqgcA7xu+8YxXSekhr0Ykab7PAYFkhkwoqVArPOtJhPmYeE2YHgKZlj3CP36z2AJQ==", "dev": true, "dependencies": { "tinyrainbow": "^1.2.0" @@ -1675,12 +1656,12 @@ } }, "node_modules/@vitest/runner": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.6.tgz", - "integrity": "sha512-SjkRGSFyrA82m5nz7To4CkRSEVWn/rwQISHoia/DB8c6IHIhaE/UNAo+7UfeaeJRE979XceGl00LNkIz09RFsA==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.8.tgz", + "integrity": "sha512-17ub8vQstRnRlIU5k50bG+QOMLHRhYPAna5tw8tYbj+jzjcspnwnwtPtiOlkuKC4+ixDPTuLZiqiWWQ2PSXHVg==", "dev": true, "dependencies": { - "@vitest/utils": "2.1.6", + "@vitest/utils": "2.1.8", "pathe": "^1.1.2" }, "funding": { @@ -1688,12 +1669,12 @@ } }, "node_modules/@vitest/snapshot": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.6.tgz", - "integrity": "sha512-5JTWHw8iS9l3v4/VSuthCndw1lN/hpPB+mlgn1BUhFbobeIUj1J1V/Bj2t2ovGEmkXLTckFjQddsxS5T6LuVWw==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.8.tgz", + "integrity": "sha512-20T7xRFbmnkfcmgVEz+z3AU/3b0cEzZOt/zmnvZEctg64/QZbSDJEVm9fLnnlSi74KibmRsO9/Qabi+t0vCRPg==", "dev": true, "dependencies": { - "@vitest/pretty-format": "2.1.6", + "@vitest/pretty-format": "2.1.8", "magic-string": "^0.30.12", "pathe": "^1.1.2" }, @@ -1702,9 +1683,9 @@ } }, "node_modules/@vitest/spy": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.6.tgz", - "integrity": "sha512-oTFObV8bd4SDdRka5O+mSh5w9irgx5IetrD5i+OsUUsk/shsBoHifwCzy45SAORzAhtNiprUVaK3hSCCzZh1jQ==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.8.tgz", + "integrity": "sha512-5swjf2q95gXeYPevtW0BLk6H8+bPlMb4Vw/9Em4hFxDcaOxS+e0LOX4yqNxoHzMR2akEB2xfpnWUzkZokmgWDg==", "dev": true, "dependencies": { "tinyspy": "^3.0.2" @@ -1714,12 +1695,12 @@ } }, "node_modules/@vitest/utils": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.6.tgz", - "integrity": "sha512-ixNkFy3k4vokOUTU2blIUvOgKq/N2PW8vKIjZZYsGJCMX69MRa9J2sKqX5hY/k5O5Gty3YJChepkqZ3KM9LyIQ==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.8.tgz", + "integrity": "sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==", "dev": true, "dependencies": { - "@vitest/pretty-format": "2.1.6", + "@vitest/pretty-format": "2.1.8", "loupe": "^3.1.2", "tinyrainbow": "^1.2.0" }, @@ -1926,13 +1907,10 @@ } }, "node_modules/agent-base": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", - "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", + "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", "dev": true, - "dependencies": { - "debug": "^4.3.4" - }, "engines": { "node": ">= 14" } @@ -2119,9 +2097,9 @@ "dev": true }, "node_modules/axios": { - "version": "1.7.8", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.8.tgz", - "integrity": "sha512-Uu0wb7KNqK2t5K+YQyVCLM76prD5sRFjKHbJYCP1J7JFGEQ6nN7HWn9+04LAeiJ3ji54lgS/gZCH1oxyrf1SPw==", + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", + "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", "dev": true, "dependencies": { "follow-redirects": "^1.15.6", @@ -2264,12 +2242,12 @@ } }, "node_modules/c8": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/c8/-/c8-10.1.2.tgz", - "integrity": "sha512-Qr6rj76eSshu5CgRYvktW0uM0CFY0yi4Fd5D0duDXO6sYinyopmftUiJVuzBQxQcwQLor7JWDVRP+dUfCmzgJw==", + "version": "10.1.3", + "resolved": "https://registry.npmjs.org/c8/-/c8-10.1.3.tgz", + "integrity": "sha512-LvcyrOAaOnrrlMpW22n690PUvxiq4Uf9WMhQwNJ9vgagkL/ph1+D4uvjvDA5XCbykrc0sx+ay6pVi9YZ1GnhyA==", "dev": true, "dependencies": { - "@bcoe/v8-coverage": "^0.2.3", + "@bcoe/v8-coverage": "^1.0.1", "@istanbuljs/schema": "^0.1.3", "find-up": "^5.0.0", "foreground-child": "^3.1.1", @@ -2296,6 +2274,15 @@ } } }, + "node_modules/c8/node_modules/@bcoe/v8-coverage": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-1.0.1.tgz", + "integrity": "sha512-W+a0/JpU28AqH4IKtwUPcEUnUyXMDLALcn5/JLczGGT9fHE2sIby/xP/oQnx3nxkForzgzPy201RAKcB4xPAFQ==", + "dev": true, + "engines": { + "node": ">=18" + } + }, "node_modules/cac": { "version": "6.7.14", "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", @@ -2315,16 +2302,15 @@ } }, "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz", + "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==", "dev": true, "dependencies": { + "call-bind-apply-helpers": "^1.0.0", "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" + "set-function-length": "^1.2.2" }, "engines": { "node": ">= 0.4" @@ -2333,6 +2319,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz", + "integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==", + "dev": true, + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -2343,9 +2342,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001684", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001684.tgz", - "integrity": "sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==", + "version": "1.0.30001687", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001687.tgz", + "integrity": "sha512-0S/FDhf4ZiqrTUiQ39dKeUjYRjkv7lOZU1Dgif2rIqrTzX/1wV2hfKu9TOm1IHkdSijfLswxTFzl/cvir+SLSQ==", "dev": true, "funding": [ { @@ -2665,9 +2664,9 @@ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" }, "node_modules/cypress": { - "version": "13.16.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.16.0.tgz", - "integrity": "sha512-g6XcwqnvzXrqiBQR/5gN+QsyRmKRhls1y5E42fyOvsmU7JuY+wM6uHJWj4ZPttjabzbnRvxcik2WemR8+xT6FA==", + "version": "13.16.1", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.16.1.tgz", + "integrity": "sha512-17FtCaz0cx7ssWYKXzGB0Vub8xHwpVPr+iPt2fHhLMDhVAPVrplD+rTQsZUsfb19LVBn5iwkEUFjQ1yVVJXsLA==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -2766,9 +2765,9 @@ "dev": true }, "node_modules/debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "dev": true, "dependencies": { "ms": "^2.1.3" @@ -2829,6 +2828,20 @@ "node": ">=0.4.0" } }, + "node_modules/dunder-proto": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.0.tgz", + "integrity": "sha512-9+Sj30DIu+4KvHqMfLUGLFYL2PkURSYMVXJyXe92nFRvlYq5hBjLEhblKB+vkd/WVlUYMWigiY07T91Fkk0+4A==", + "dev": true, + "dependencies": { + "call-bind-apply-helpers": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/duplexer": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", @@ -2915,9 +2928,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.67", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.67.tgz", - "integrity": "sha512-nz88NNBsD7kQSAGGJyp8hS6xSPtWwqNogA0mjtc2nUYeEf3nURK9qpV18TuBdDmEDgVWotS8Wkzf+V52dSQ/LQ==", + "version": "1.5.72", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.72.tgz", + "integrity": "sha512-ZpSAUOZ2Izby7qnZluSrAlGgGQzucmFbN0n64dYzocYxnxV5ufurpj3VgEe4cUp7ir9LmeLxNYo8bVnlM8bQHw==", "dev": true }, "node_modules/emoji-regex": { @@ -2960,13 +2973,10 @@ } }, "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", "dev": true, - "dependencies": { - "get-intrinsic": "^1.2.4" - }, "engines": { "node": ">= 0.4" } @@ -3130,9 +3140,9 @@ } }, "node_modules/eslint-plugin-cypress/node_modules/globals": { - "version": "15.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-15.12.0.tgz", - "integrity": "sha512-1+gLErljJFhbOVyaetcwJiJ4+eLe45S2E7P5UiZ9xGfeq3ATQf5DOv9G7MH3gGbKQLkzmNh2DxfZwLdw+j6oTQ==", + "version": "15.13.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.13.0.tgz", + "integrity": "sha512-49TewVEz0UxZjr1WYYsWpPrhyC/B/pA8Bq0fUmet2n+eR7yn0IvNzNaoBwnK6mdkzcN+se7Ez9zUgULTz2QH4g==", "dev": true, "engines": { "node": ">=18" @@ -3662,16 +3672,19 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.5.tgz", + "integrity": "sha512-Y4+pKa7XeRUPWFNvOOYHkRYrfzW07oraURSvjDmRVOJ748OrVmeXtpE4+GCEHncjCjkTxPNRt8kEbxDhsn6VTg==", "dev": true, "dependencies": { + "call-bind-apply-helpers": "^1.0.0", + "dunder-proto": "^1.0.0", + "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2" }, "engines": { "node": ">= 0.4" @@ -3797,13 +3810,10 @@ } }, "node_modules/gopd": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.1.0.tgz", - "integrity": "sha512-FQoVQnqcdk4hVM4JN1eromaun4iuS34oStkdlLENLdpULsuQcTyXj8w7ayhuUfPwEYZ1ZOooOTT6fdA9Vmx/RA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", "dev": true, - "dependencies": { - "get-intrinsic": "^1.2.4" - }, "engines": { "node": ">= 0.4" }, @@ -3838,22 +3848,10 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", "dev": true, "engines": { "node": ">= 0.4" @@ -3932,12 +3930,12 @@ } }, "node_modules/https-proxy-agent": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", - "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", "dev": true, "dependencies": { - "agent-base": "^7.0.2", + "agent-base": "^7.1.2", "debug": "4" }, "engines": { @@ -4603,9 +4601,9 @@ } }, "node_modules/magic-string": { - "version": "0.30.14", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.14.tgz", - "integrity": "sha512-5c99P1WKTed11ZC0HMJOj6CDIue6F8ySu+bJL+85q1zBEIY8IklrJ1eiKC2NDRh3Ct3FcvmJPyQHb9erXMTJNw==", + "version": "0.30.15", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.15.tgz", + "integrity": "sha512-zXeaYRgZ6ldS1RJJUrMrYgNJ4fdwnyI6tVqoiIhyCyv5IVTK9BU8Ic2l253GGETQHxI4HNUwhJ3fjDhKqEoaAw==", "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0" } @@ -4750,9 +4748,9 @@ "dev": true }, "node_modules/node-releases": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", - "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", + "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", "dev": true }, "node_modules/nopt": { @@ -5074,9 +5072,9 @@ } }, "node_modules/prettier": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.1.tgz", - "integrity": "sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -5168,9 +5166,9 @@ } }, "node_modules/qs": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", - "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "version": "6.13.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.1.tgz", + "integrity": "sha512-EJPeIn0CYrGu+hli1xilKAPXODtJ12T0sP63Ijx2/khC2JtuaN3JyNIpvmnkmaEtha9ocbG4A4cMcr+TvqvwQg==", "dev": true, "dependencies": { "side-channel": "^1.0.6" @@ -5258,9 +5256,9 @@ "dev": true }, "node_modules/rollup": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.28.0.tgz", - "integrity": "sha512-G9GOrmgWHBma4YfCcX8PjH0qhXSdH8B4HDE2o4/jaxj93S4DPCIDoLcXz99eWMji4hB29UFCEd7B2gwGJDR9cQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.28.1.tgz", + "integrity": "sha512-61fXYl/qNVinKmGSTHAZ6Yy8I3YIJC/r2m9feHo6SwVAVcLT5MPwOUFe7EuURA/4m0NR8lXG4BBXuo/IZEsjMg==", "dev": true, "dependencies": { "@types/estree": "1.0.6" @@ -5273,24 +5271,25 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.28.0", - "@rollup/rollup-android-arm64": "4.28.0", - "@rollup/rollup-darwin-arm64": "4.28.0", - "@rollup/rollup-darwin-x64": "4.28.0", - "@rollup/rollup-freebsd-arm64": "4.28.0", - "@rollup/rollup-freebsd-x64": "4.28.0", - "@rollup/rollup-linux-arm-gnueabihf": "4.28.0", - "@rollup/rollup-linux-arm-musleabihf": "4.28.0", - "@rollup/rollup-linux-arm64-gnu": "4.28.0", - "@rollup/rollup-linux-arm64-musl": "4.28.0", - "@rollup/rollup-linux-powerpc64le-gnu": "4.28.0", - "@rollup/rollup-linux-riscv64-gnu": "4.28.0", - "@rollup/rollup-linux-s390x-gnu": "4.28.0", - "@rollup/rollup-linux-x64-gnu": "4.28.0", - "@rollup/rollup-linux-x64-musl": "4.28.0", - "@rollup/rollup-win32-arm64-msvc": "4.28.0", - "@rollup/rollup-win32-ia32-msvc": "4.28.0", - "@rollup/rollup-win32-x64-msvc": "4.28.0", + "@rollup/rollup-android-arm-eabi": "4.28.1", + "@rollup/rollup-android-arm64": "4.28.1", + "@rollup/rollup-darwin-arm64": "4.28.1", + "@rollup/rollup-darwin-x64": "4.28.1", + "@rollup/rollup-freebsd-arm64": "4.28.1", + "@rollup/rollup-freebsd-x64": "4.28.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.28.1", + "@rollup/rollup-linux-arm-musleabihf": "4.28.1", + "@rollup/rollup-linux-arm64-gnu": "4.28.1", + "@rollup/rollup-linux-arm64-musl": "4.28.1", + "@rollup/rollup-linux-loongarch64-gnu": "4.28.1", + "@rollup/rollup-linux-powerpc64le-gnu": "4.28.1", + "@rollup/rollup-linux-riscv64-gnu": "4.28.1", + "@rollup/rollup-linux-s390x-gnu": "4.28.1", + "@rollup/rollup-linux-x64-gnu": "4.28.1", + "@rollup/rollup-linux-x64-musl": "4.28.1", + "@rollup/rollup-win32-arm64-msvc": "4.28.1", + "@rollup/rollup-win32-ia32-msvc": "4.28.1", + "@rollup/rollup-win32-x64-msvc": "4.28.1", "fsevents": "~2.3.2" } }, @@ -5513,6 +5512,23 @@ "node": ">=16" } }, + "node_modules/start-server-and-test/node_modules/debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, "node_modules/start-server-and-test/node_modules/execa": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", @@ -5783,21 +5799,21 @@ } }, "node_modules/tldts": { - "version": "6.1.65", - "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.65.tgz", - "integrity": "sha512-xU9gLTfAGsADQ2PcWee6Hg8RFAv0DnjMGVJmDnUmI8a9+nYmapMQix4afwrdaCtT+AqP4MaxEzu7cCrYmBPbzQ==", + "version": "6.1.66", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.66.tgz", + "integrity": "sha512-l3ciXsYFel/jSRfESbyKYud1nOw7WfhrBEF9I3UiarYk/qEaOOwu3qXNECHw4fHGHGTEOuhf/VdKgoDX5M/dhQ==", "dev": true, "dependencies": { - "tldts-core": "^6.1.65" + "tldts-core": "^6.1.66" }, "bin": { "tldts": "bin/cli.js" } }, "node_modules/tldts-core": { - "version": "6.1.65", - "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.65.tgz", - "integrity": "sha512-Uq5t0N0Oj4nQSbU8wFN1YYENvMthvwU13MQrMJRspYCGLSAZjAfoBOJki5IQpnBM/WFskxxC/gIOTwaedmHaSg==", + "version": "6.1.66", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.66.tgz", + "integrity": "sha512-s07jJruSwndD2X8bVjwioPfqpIc1pDTzszPe9pL1Skbh4bjytL85KNQ3tolqLbCvpQHawIsGfFi9dgerWjqW4g==", "dev": true }, "node_modules/tmp": { @@ -5998,9 +6014,9 @@ } }, "node_modules/vite": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/vite/-/vite-6.0.1.tgz", - "integrity": "sha512-Ldn6gorLGr4mCdFnmeAOLweJxZ34HjKnDm4HGo6P66IEqTxQb36VEdFJQENKxWjupNfoIjvRUnswjn1hpYEpjQ==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.0.3.tgz", + "integrity": "sha512-Cmuo5P0ENTN6HxLSo6IHsjCLn/81Vgrp81oaiFFMRa8gGDj5xEjIcEpf2ZymZtZR8oU0P2JX5WuUp/rlXcHkAw==", "dev": true, "dependencies": { "esbuild": "^0.24.0", @@ -6069,156 +6085,1121 @@ } }, "node_modules/vite-node": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.1.6.tgz", - "integrity": "sha512-DBfJY0n9JUwnyLxPSSUmEePT21j8JZp/sR9n+/gBwQU6DcQOioPdb8/pibWfXForbirSagZCilseYIwaL3f95A==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.1.8.tgz", + "integrity": "sha512-uPAwSr57kYjAUux+8E2j0q0Fxpn8M9VoyfGiRI8Kfktz9NcYMCenwY5RnZxnF1WTu3TGiYipirIzacLL3VVGFg==", "dev": true, "dependencies": { "cac": "^6.7.14", "debug": "^4.3.7", "es-module-lexer": "^1.5.4", "pathe": "^1.1.2", - "vite": "^5.0.0 || ^6.0.0" + "vite": "^5.0.0" }, "bin": { "vite-node": "vite-node.mjs" }, "engines": { - "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + "node": "^18.0.0 || >=20.0.0" }, "funding": { "url": "https://opencollective.com/vitest" } }, - "node_modules/vitest": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.6.tgz", - "integrity": "sha512-isUCkvPL30J4c5O5hgONeFRsDmlw6kzFEdLQHLezmDdKQHy8Ke/B/dgdTMEgU0vm+iZ0TjW8GuK83DiahBoKWQ==", - "dev": true, - "dependencies": { - "@vitest/expect": "2.1.6", - "@vitest/mocker": "2.1.6", - "@vitest/pretty-format": "^2.1.6", - "@vitest/runner": "2.1.6", - "@vitest/snapshot": "2.1.6", - "@vitest/spy": "2.1.6", - "@vitest/utils": "2.1.6", - "chai": "^5.1.2", - "debug": "^4.3.7", - "expect-type": "^1.1.0", - "magic-string": "^0.30.12", - "pathe": "^1.1.2", - "std-env": "^3.8.0", - "tinybench": "^2.9.0", - "tinyexec": "^0.3.1", - "tinypool": "^1.0.1", - "tinyrainbow": "^1.2.0", - "vite": "^5.0.0 || ^6.0.0", - "vite-node": "2.1.6", - "why-is-node-running": "^2.3.0" - }, - "bin": { - "vitest": "vitest.mjs" - }, + "node_modules/vite-node/node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], "engines": { - "node": "^18.0.0 || ^20.0.0 || >=22.0.0" - }, - "funding": { - "url": "https://opencollective.com/vitest" - }, - "peerDependencies": { - "@edge-runtime/vm": "*", - "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", - "@vitest/browser": "2.1.6", - "@vitest/ui": "2.1.6", - "happy-dom": "*", - "jsdom": "*" - }, - "peerDependenciesMeta": { - "@edge-runtime/vm": { - "optional": true - }, - "@types/node": { - "optional": true - }, - "@vitest/browser": { - "optional": true - }, - "@vitest/ui": { - "optional": true - }, - "happy-dom": { - "optional": true - }, - "jsdom": { - "optional": true - } - } - }, - "node_modules/vue": { - "version": "3.5.13", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.13.tgz", - "integrity": "sha512-wmeiSMxkZCSc+PM2w2VRsOYAZC8GdipNFRTsLSfodVqI9mbejKeXEGr8SckuLnrQPGe3oJN5c3K0vpoU9q/wCQ==", - "dependencies": { - "@vue/compiler-dom": "3.5.13", - "@vue/compiler-sfc": "3.5.13", - "@vue/runtime-dom": "3.5.13", - "@vue/server-renderer": "3.5.13", - "@vue/shared": "3.5.13" - }, - "peerDependencies": { - "typescript": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "node": ">=12" } }, - "node_modules/vue-component-type-helpers": { - "version": "2.1.10", - "resolved": "https://registry.npmjs.org/vue-component-type-helpers/-/vue-component-type-helpers-2.1.10.tgz", - "integrity": "sha512-lfgdSLQKrUmADiSV6PbBvYgQ33KF3Ztv6gP85MfGaGaSGMTXORVaHT1EHfsqCgzRNBstPKYDmvAV9Do5CmJ07A==", - "dev": true - }, - "node_modules/vue-eslint-parser": { - "version": "9.4.3", - "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.4.3.tgz", - "integrity": "sha512-2rYRLWlIpaiN8xbPiDyXZXRgLGOtWxERV7ND5fFAv5qo1D2N9Fu9MNajBNc6o13lZ+24DAWCkQCvj4klgmcITg==", + "node_modules/vite-node/node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], "dev": true, - "dependencies": { - "debug": "^4.3.4", - "eslint-scope": "^7.1.1", - "eslint-visitor-keys": "^3.3.0", - "espree": "^9.3.1", - "esquery": "^1.4.0", - "lodash": "^4.17.21", - "semver": "^7.3.6" - }, + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - }, - "peerDependencies": { - "eslint": ">=6.0.0" + "node": ">=12" } }, - "node_modules/vue-eslint-parser/node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "node_modules/vite-node/node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite-node/node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "node_modules/vite-node/node_modules/vite": { + "version": "5.4.11", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.11.tgz", + "integrity": "sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==", + "dev": true, + "dependencies": { + "esbuild": "^0.21.3", + "postcss": "^8.4.43", + "rollup": "^4.20.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/vitest": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.8.tgz", + "integrity": "sha512-1vBKTZskHw/aosXqQUlVWWlGUxSJR8YtiyZDJAFeW2kPAeX6S3Sool0mjspO+kXLuxVWlEDDowBAeqeAQefqLQ==", + "dev": true, + "dependencies": { + "@vitest/expect": "2.1.8", + "@vitest/mocker": "2.1.8", + "@vitest/pretty-format": "^2.1.8", + "@vitest/runner": "2.1.8", + "@vitest/snapshot": "2.1.8", + "@vitest/spy": "2.1.8", + "@vitest/utils": "2.1.8", + "chai": "^5.1.2", + "debug": "^4.3.7", + "expect-type": "^1.1.0", + "magic-string": "^0.30.12", + "pathe": "^1.1.2", + "std-env": "^3.8.0", + "tinybench": "^2.9.0", + "tinyexec": "^0.3.1", + "tinypool": "^1.0.1", + "tinyrainbow": "^1.2.0", + "vite": "^5.0.0", + "vite-node": "2.1.8", + "why-is-node-running": "^2.3.0" + }, + "bin": { + "vitest": "vitest.mjs" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@edge-runtime/vm": "*", + "@types/node": "^18.0.0 || >=20.0.0", + "@vitest/browser": "2.1.8", + "@vitest/ui": "2.1.8", + "happy-dom": "*", + "jsdom": "*" + }, + "peerDependenciesMeta": { + "@edge-runtime/vm": { + "optional": true + }, + "@types/node": { + "optional": true + }, + "@vitest/browser": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { + "optional": true + }, + "jsdom": { + "optional": true + } + } + }, + "node_modules/vitest/node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vitest/node_modules/@vitest/mocker": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.8.tgz", + "integrity": "sha512-7guJ/47I6uqfttp33mgo6ga5Gr1VnL58rcqYKyShoRK9ebu8T5Rs6HN3s1NABiBeVTdWNrwUMcHH54uXZBN4zA==", + "dev": true, + "dependencies": { + "@vitest/spy": "2.1.8", + "estree-walker": "^3.0.3", + "magic-string": "^0.30.12" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "msw": "^2.4.9", + "vite": "^5.0.0" + }, + "peerDependenciesMeta": { + "msw": { + "optional": true + }, + "vite": { + "optional": true + } + } + }, + "node_modules/vitest/node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "node_modules/vitest/node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/vitest/node_modules/vite": { + "version": "5.4.11", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.11.tgz", + "integrity": "sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==", + "dev": true, + "dependencies": { + "esbuild": "^0.21.3", + "postcss": "^8.4.43", + "rollup": "^4.20.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/vue": { + "version": "3.5.13", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.13.tgz", + "integrity": "sha512-wmeiSMxkZCSc+PM2w2VRsOYAZC8GdipNFRTsLSfodVqI9mbejKeXEGr8SckuLnrQPGe3oJN5c3K0vpoU9q/wCQ==", + "dependencies": { + "@vue/compiler-dom": "3.5.13", + "@vue/compiler-sfc": "3.5.13", + "@vue/runtime-dom": "3.5.13", + "@vue/server-renderer": "3.5.13", + "@vue/shared": "3.5.13" + }, + "peerDependencies": { + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/vue-component-type-helpers": { + "version": "2.1.10", + "resolved": "https://registry.npmjs.org/vue-component-type-helpers/-/vue-component-type-helpers-2.1.10.tgz", + "integrity": "sha512-lfgdSLQKrUmADiSV6PbBvYgQ33KF3Ztv6gP85MfGaGaSGMTXORVaHT1EHfsqCgzRNBstPKYDmvAV9Do5CmJ07A==", + "dev": true + }, + "node_modules/vue-eslint-parser": { + "version": "9.4.3", + "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.4.3.tgz", + "integrity": "sha512-2rYRLWlIpaiN8xbPiDyXZXRgLGOtWxERV7ND5fFAv5qo1D2N9Fu9MNajBNc6o13lZ+24DAWCkQCvj4klgmcITg==", + "dev": true, + "dependencies": { + "debug": "^4.3.4", + "eslint-scope": "^7.1.1", + "eslint-visitor-keys": "^3.3.0", + "espree": "^9.3.1", + "esquery": "^1.4.0", + "lodash": "^4.17.21", + "semver": "^7.3.6" + }, + "engines": { + "node": "^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=6.0.0" + } + }, + "node_modules/vue-eslint-parser/node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/vue-eslint-parser/node_modules/eslint-visitor-keys": { @@ -6360,9 +7341,9 @@ } }, "node_modules/whatwg-url": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.0.0.tgz", - "integrity": "sha512-1lfMEm2IEr7RIV+f4lUNPOqfFL+pO+Xw3fJSqmjX9AbXcXcYOkCe1P6+9VBZB6n94af16NfZf+sSk0JCBZC9aw==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.1.0.tgz", + "integrity": "sha512-jlf/foYIKywAt3x/XWKZ/3rz8OSJPiWktjmk891alJUEjiVxKX9LEO92qH3hv4aJ0mN3MWPvGMCy8jQi95xK4w==", "dev": true, "dependencies": { "tr46": "^5.0.0", diff --git a/package.json b/package.json index 57711e8a..529fa172 100644 --- a/package.json +++ b/package.json @@ -23,19 +23,19 @@ "@eslint/js": "^9.16.0", "@vitejs/plugin-vue": "^5.2.1", "@vitejs/plugin-vue-jsx": "^4.1.1", - "@vitest/coverage-v8": "^2.1.6", + "@vitest/coverage-v8": "^2.1.8", "@vue/eslint-config-prettier": "^10.1.0", "@vue/test-utils": "^2.4.6", - "c8": "^10.1.2", - "cypress": "^13.16.0", + "c8": "^10.1.3", + "cypress": "^13.16.1", "eslint": "^9.16.0", "eslint-plugin-cypress": "^4.1.0", "eslint-plugin-vue": "^9.32.0", "jsdom": "^25.0.1", - "prettier": "^3.4.1", + "prettier": "^3.4.2", "replace-in-file": "^8.2.0", "start-server-and-test": "^2.0.8", - "vite": "^6.0.1", - "vitest": "^2.1.6" + "vite": "^6.0.3", + "vitest": "^2.1.8" } } diff --git a/src/global.js b/src/global.js index 238bc958..0ed0860b 100644 --- a/src/global.js +++ b/src/global.js @@ -290,6 +290,22 @@ if (typeof window.settings === 'undefined') { } } + /* check if quicklinkid is passed as parameter */ + if (queryDict.quicklinkid) { + mainconfigTmp.quickLinkId = queryDict.quicklinkid; + mainconfigTmp.settings.quicklinks[queryDict.quicklinkid].actionparam = queryDict.quickLinkActionparam; + mainconfigTmp.deepLinkExtraParam = queryDict; + delete mainconfigTmp.deepLinkExtraParam.quicklinkid; + delete mainconfigTmp.deepLinkExtraParam.quickLinkActionparam; + delete mainconfigTmp.deepLinkExtraParam.username; + delete mainconfigTmp.deepLinkExtraParam.pega_userid; + window.history.replaceState( + { userId: mainconfigTmp.userId }, + '', + `quicklink${mainconfigTmp.quickLinkId}`, + ); + } + /* check if quicklinkclass is passed as parameter */ if (queryDict.quicklinkclass) { for (const i in mainconfigTmp.settings.quicklinks) {