1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["Login.D3afT-1s.js","vendor.kmuNf4Gr.js","css/styles.BuZ8GZAp.css","LoginIframe.DscLE1SC.js","ResetPassword.B2bFaLvd.js","VerifyCode.DuKPVKF_.js","SetNewPassword.BhuK32a4.js","LoginForm.BPq3iriM.js","MobileAppConfig.CWcsuZm5.js","TwoFactor.DTMea1RF.js","ResetPasswordLayout.16sOcwQV.js"])))=>i.map(i=>d[i]); 2var Le=Object.defineProperty;var Ve=(t,e,n)=>e in t?Le(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var T=(t,e,n)=>Ve(t,typeof e!="symbol"?e+"":e,n);import{V as de,a as v,c as Be,t as Ue,$ as u,m as z,T as We,U as Ye,F as He,i as Ge,o as Je,g as pe,b as qe,r as Ke,d as Ze,e as ze,f as Xe,h as X,j as Q,k as Qe,l as et,n as tt,v as nt,p as rt,q as ot,s as st}from"./vendor.kmuNf4Gr.js";/* empty css */const it="modulepreload",at=function(t){return"/dist/dist-portal-login/"+t},ee={},p=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(l=>{if(l=at(l),l in ee)return;ee[l]=!0;const c=l.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":it,c||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),c)return new Promise((O,j)=>{f.addEventListener("load",O),f.addEventListener("error",()=>j(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return o.then(i=>{for(const a of i||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})},V="__splynxModuleDecorators",te="__splynxVue",ne="__splynxRegistry";typeof window<"u"&&(window[te]=window[te]||{...de});function me(t){return t.split("/").pop().replace(/\.(vue|js|mjs)$/,"")}function lt(t){return t.replace(/^(\.\.?\/)+/,"")}function C(t,e,n){if(n in t){const o=Object.keys(e).filter(s=>me(s)===n);return o.length>1&&console.warn(`[module-decorators] registry name "${n}" is ambiguous â returning the first; use a path key to target one of: ${o.join(", ")}`),t[n]}if(n in e)return e[n];const r=Object.keys(e).find(o=>o===n||o.endsWith(`/${n}`));return r?e[r]:void 0}function N(t,e,n,r){Object.entries(n).forEach(([o,s])=>{const i=me(o),a=r(s,i);e[lt(o)]=a,i in t||(t[i]=a)})}const ct=t=>t,ft=t=>t&&"default"in t?t.default:t,ut=t=>typeof t=="function"?t:ft(t),dt=(t,e)=>typeof t=="function"?t:t&&(t.default||t[e])||t,pt=t=>t;function mt({components:t={},services:e={},composables:n={},utils:r={}}={}){if(typeof window>"u")return;const o=window[ne]||{components:{},componentsByPath:{},services:{},servicesByPath:{},composables:{},composablesByPath:{},utils:{},utilsByPath:{},component(s){return C(this.components,this.componentsByPath,s)},service(s){return C(this.services,this.servicesByPath,s)},composable(s){return C(this.composables,this.composablesByPath,s)},util(s){return C(this.utils,this.utilsByPath,s)}};N(o.components,o.componentsByPath,t,ct),N(o.services,o.servicesByPath,e,ut),N(o.composables,o.composablesByPath,n,dt),N(o.utils,o.utilsByPath,r,pt),window[ne]=o}const S=new Map;let I=!1;function gt(t,e){if(typeof t!="string"||typeof e!="function")return;const n=S.get(t);n?n.push(e):S.set(t,[e])}function L(){if(I||(I=!0,typeof window>"u"))return;const t=window[V];Array.isArray(t)&&t.forEach(e=>{Array.isArray(e)&>(e[0],e[1])});try{delete window[V]}catch{window[V]=void 0}}function x(t,e,n,r){I||L();const o=S.get(t);if(o===void 0)return e.apply(n,r);let s=-1;function i(...a){if(s+=1,s>=o.length)return e.apply(n,a);const l=o[s];let c=!1;const d=(...f)=>{if(c){console.error(`[module-decorators] interceptor for "${t}" called next() more than once; extra call ignored`);return}return c=!0,i(...f)};try{return l.apply(n,[d,...a])}catch(f){if(c)throw f;return console.error(`[module-decorators] interceptor for "${t}" failed:`,f),d(...a)}}return i(...r)}const ht=()=>{},ge=new Set;
2function _t(t){Array.isArray(t)&&t.forEach(e=>{typeof e=="string"&&ge.add(e)})}function yt(t,e){I||L(),!(S.size===0||ge.has(t)||S.get(t)===void 0)&&x(t,ht,e,[])}const wt=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","activated","deactivated","beforeUnmount","unmounted"],re=new Set,oe=new Map;function bt(t,e){if(!t||t.decoratorId||!e)return;const n=t.name||t.__name;if(typeof n!="string"||!n)return;const r=t.__file||e.__file||e,o=oe.get(n);if(o===void 0){oe.set(n,r);return}o===r||re.has(n)||(re.add(n),console.warn(`[module-decorators] two components share the name "${n}" but neither sets a \`decoratorId\` â they resolve to the same effect id, so an interceptor targets both and a lifecycle hook declared in one shadows the other. Give each a distinct \`decoratorId\` to address them apart (or the same one to share on purpose).`))}function St(t){if(!t||typeof t.mixin!="function"||(I||L(),S.size===0))return;const e={};wt.forEach(r=>{e[r]=function(){const s=this.$options||{},i=s.decoratorId||s.name||s.__name;i&&yt(`${i}.${r}`,this)}});const n=e.beforeCreate;e.beforeCreate=function(){bt(this.$options,this.$&&this.$.type),n.call(this)},t.mixin(e)}const P=t=>{const{url:e,data:n,method:r="GET",config:o={}}=t;return new Promise((s,i)=>{v({method:r,url:e,data:n,...o}).then(a=>{s(a.data)}).catch(a=>{i(a)})})},Pt={apiCall:P},Ot=Object.freeze(Object.defineProperty({__proto__:null,apiCall:P,default:Pt},Symbol.toStringTag,{value:"Module"}));class he{static loadAppData(...e){return x("AppService.loadAppData",async()=>P({url:"/portal/login--get-app-data"}),this,e)}}const jt=Object.freeze(Object.defineProperty({__proto__:null,default:he},Symbol.toStringTag,{value:"Module"}));class Et{static getTwoFactorInfo(...e){return x("LoginService.getTwoFactorInfo",async n=>P({url:"/portal/login--get-info-two-factor-code",method:"POST",data:new URLSearchParams(n)}),this,e)}static availabilityToResendCode(...e){return x("LoginService.availabilityToResendCode",async()=>P({method:"GET",url:"/portal/login--check-permission-resend-code"}),this,e)}}const $t=Object.freeze(Object.defineProperty({__proto__:null,default:Et},Symbol.toStringTag,{value:"Module"})),R=function(){let t={getCsrfParam(){return document.querySelector('meta[name="csrf-param"]').getAttribute("content")},getCsrfToken(){return document.querySelector('meta[name="csrf-token"]').getAttribute("content")},setCsrfToken(n,r){document.querySelector('meta[name="csrf-param"]').setAttribute("content",n),document.querySelector('meta[name="csrf-token"]').setAttribute("content",r)},reloadCsrfToken(){let n=t.getCsrfToken();n&&document.querySelectorAll(`form input[name="${t.getCsrfParam()}"]`).forEach(r=>{r.value=n})},init(){e()}};function e(){v.interceptors.request.use(n=>(!n.crossDomain&&t.getCsrfParam()&&(n.headers["X-CSRF-Token"]=t.getCsrfToken()),n),n=>Promise.reject(n))}return t.init(),v.interceptors.response.use(n=>{let r=n.headers["x-csrf-token"];return r&&t.setCsrfToken("_csrf_token",r),n},n=>Promise.reject(n)),t}();document.addEventListener("DOMContentLoaded",()=>{R.reloadCsrfToken()});const Tt=Object.freeze(Object.defineProperty({__proto__:null,csrf:R,default:R},Symbol.toStringTag,{value:"Module"}));function _e(t,e,n){throw new Error("App instance is not set. Call setAppInstance(app) in main.js")}class B{constructor(e,n){this.integerPart=(n==null?void 0:n.integerPart)||0,this.decimalPart=(n==null?void 0:n.decimalPart)||0,this.thousandSeparator=(n==null?void 0:n.thousandSeparator)||"",this.decimalSeparator=(n==null?void 0:n.decimalSeparator)||".",this.float=(n==null?void 0:n.float)||0,this.stripTrailingZeros=(n==null?void 0:n.stripTrailingZeros)||!1,e==null&&(e=0),typeof e=="string"&&(e=this.removeSeparators(e),Number.isNaN(parseFloat(e))&&(e=0)),this._stringFormat="0",this._numberFormat=0,this.splitParts(e),this.stringFormat(e),this.numberFormat()}removeSeparators(e){if(e=e.trim().replace(/[â-ââ]/g,"-"),!this.float)return e.replaceAll(this.thousandSeparator,"");e=this.stripSurroundingSymbols(e);const n=this.findDecimalSeparatorIndex(e);return e=e.split(""),e.forEach((r,o)=>{/[^0-9]/.test(r)&&r!=="-"&&(e[o]=o===n?".":"")}),e=e.join(""),(e.startsWith(".")||e.startsWith("-."))&&(e=e.replace(".","0.")),e}findDecimalSeparatorIndex(e){const n=[];if(e.split("").forEach((o,s)=>{/[^0-9]/.test(o)&&o!=="-"&&n.push(s)}),!n.length)return-1;const r=n[n.length-1];return n.length>1&&e[n[n.length-2]]===e[r]?-1:e[r]===this.decimalSeparator?r:e.length-r-1===3?-1:r}stripSurroundingSymbols(e){const n=e.startsWith("-")?"-":"";let r=n.length;for(;r<e.length&&!/[0-9]/.test(e[r])&&e[r]!==this.decimalSeparator;)r+=1;let o=e.length;for(;o>
2r&&!/[0-9]/.test(e[o-1]);)o-=1;return n+e.slice(r,o)}splitParts(e){this.decimalPart=(parseFloat(e)-parseInt(e)).toFixed(this.float),this.integerPart=parseInt(parseInt(e)+parseFloat(this.decimalPart)).toString()}stringFormat(e){typeof e=="string"?this.integerPart==="0"&&e[0]==="-"&&(this.integerPart="-0"):this.integerPart==="0"&&e<0&&(this.integerPart="-0");let n=parseInt(this.integerPart).toLocaleString("en-US").replaceAll(",",this.thousandSeparator),r=this.decimalPart.replace("0","");if(this.stripTrailingZeros&&(r=r.replace(/0+$/,""),r===this.decimalSeparator&&(r="")),parseInt(r)===1)return this._stringFormat=n+0 .toFixed(this.float).replace("0.","."),!0;this._stringFormat=n+r.replace(".",this.decimalSeparator).replace("-","")}numberFormat(){parseFloat(this.decimalPart)<0&&(this.decimalPart=Math.abs(parseFloat(this.decimalPart)).toString());let e=parseFloat(this.integerPart+this.decimalPart),n;e>=0?(n=e-parseInt(e),this._numberFormat=parseFloat(parseFloat(parseInt(this.integerPart)+n).toFixed(this.float))):(n=Math.abs(e)-Math.abs(parseInt(e)),this._numberFormat=parseFloat(parseFloat(parseInt(this.integerPart)-n).toFixed(this.float)))}}function k(t,e=!1){let n=!1;return e&&(n=t instanceof Object&&Object.keys(t).length===0),t===void 0||t===""||t===0||t==="0"||t===null||t===!1||t instanceof Array&&t.length===0||n}function _(t,e){let n;if(typeof t!="object"||t===null)return!1;typeof e=="number"&&(e=e.toString());let r;if(typeof e=="string"||e instanceof String)r=[e];else if(Array.isArray(e))r=e;else return!1;return n=function(o,s){let i=s.shift().toString();return o===null||typeof o!="object"||typeof o[i]>"u"?!1:s.length<=0?!0:n(o[i],s)},n(t,r)}const vt=Object.freeze(Object.defineProperty({__proto__:null,empty:k,isset:_},Symbol.toStringTag,{value:"Module"}));function It(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}const xt=t=>{try{JSON.parse(t)}catch{return!1}return!0};function At(t){let e="";return typeof t!="string"?e=`(${t.toString()})`:e=`(${t})`,e=e.replace("anonymous(","anonymous(...params"),e=e.replace(/(\)\s*)(;?\s*}\s*\)$)/,", ...params); })"),new Function("event","force",`const f = ${e}; f(event, force)`)}function Ct(t){return new RegExp(`[?&]${t}=([^&#]*)`).exec(window.location.href)[1]||0}function G(t,e){const n=(r,o,s)=>{let i=s?`${s}[${encodeURIComponent(r)}]`:encodeURIComponent(r);return o instanceof Date?`${i}=${encodeURIComponent(o.toISOString())}`:typeof o=="object"&&o!==null?G(o,i):`${i}=${encodeURIComponent(o)}`};return Object.keys(t).map(r=>n(r,t[r],e)).join("&")}function Nt(t,e){return`${t}?${G(e)}`}function Ft(t){return t===void 0||Object.keys(t).length<=0}function Dt(t,e,n=!1,r=!1){let o={};for(let a in t)if(Object.prototype.hasOwnProperty.call(t,a))if(n){let l=t[a];for(let c in e)Object.prototype.hasOwnProperty.call(e,c)&&(l=l[e[c]]);o[a]=l}else o[a]=parseInt(t[a][e]);let s=[];for(let a in o)s.push([a,o[a]]);s.sort((a,l)=>a[1]-l[1]);let i={};r&&(i=new Map);for(let a in s)Object.prototype.hasOwnProperty.call(s,a)&&(r?i.set(s[a][0],t[s[a][0]]):i[s[a][0]]=t[s[a][0]]);return i}function ye(t,e){const n=e.split(".");let r=t;for(let o in n)if(Object.prototype.hasOwnProperty.call(n,o)){if(r[n[o]]===void 0)return;r=r[n[o]]}return r}function Rt(t,e,n){let r={};for(let o in t)Object.prototype.hasOwnProperty.call(t,o)&&ye(t[o],e)===n&&(r[o]=t[o]);return r}function kt(t,e){return Math.random()*(e-t)+t}function Mt(t=null,e="YYYY-MM-DD"){if(!t)return 0;const n=moment(t,e).startOf("day"),r=moment().startOf("day"),o=n.diff(r,"days");return o>0?o:o===0?0:-1}function Lt(t){typeof t>"u"&&(t=window.location.href);let e=new URL(t);return new URLSearchParams(e.search)}function Vt(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}function Bt(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}function Ut(t,e,n){let r;return function(){let o=this,s=arguments,i=function(){r=null,n||t.apply(o,s)},a=n&&!r;clearTimeout(r),r=setTimeout(i,e),a&&t.apply(o,s)}}function F(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Wt(t){return JSON.parse(JSON.stringify(t))}function U(t){if(t===null||typeof t!="object"||typeof t=="function")return t;const e=Ue(t);return Array.isArray(e)?e.map(U):Object.fromEntries(Object.entries(e).map(([n,r])=>[n,U(r)]))}function Yt(t){return typeof t=="object"&&t!==null&&t.constructor===Array}function we(t,e){let n={...t};return F(t)&&F(e)&&Object.keys(e).forEach(r=>{F(e[r])?r in t?n[r]=we(t[r],e[r]):Object.assign(n,{[r]:e[r]}):Object.assign(n,{[r]:e[r]})}),n}function Ht(t,e){let n={};return Object.entries(e).forEach(([r,o])=>{let s=t[r];
2if(_(o,"ajax")&&o.ajax)if(Array.isArray(s))if(o.type==="relation_multiple"){let a=[];s.forEach(l=>{a.push(l.id)}),s=a}else{let a=s[0];typeof a=="object"?s=a.id:s=a}else typeof s=="object"&&(s=s.id);o.type==="file"?n[r]=s:n[r]=be(s)}),n}function be(t){return JSON.parse(JSON.stringify(t))}function Gt(t,e){if(typeof t>"u"||t===null)return"";let n=e||typeof e>"u"?"<br />":"<br>";return`${t}`.replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,`$1${n}$2`)}const Jt=()=>{let t,e;return{promise:new Promise((r,o)=>{t=r,e=o}),resolve:t,reject:e}};function qt(t){return P({...t})}const Kt=(t,e,n)=>{if(t.setSelectionRange)t.focus(),t.setSelectionRange(e,n);else if(t.createTextRange){let r=t.createTextRange();r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",e),r.select()}};function D(t,e=null){return e?t.slice(0,e)+"*".repeat(t.substring(e).length):"*".repeat(t.length)}function J(t){try{return atob(t)}catch{return""}}function Zt(t){try{return btoa(t)}catch{return""}}const zt=t=>t&&Be.MD5(t).toString();function Xt(t,e=!1){const n=e?J(t):t;if(!n)return"";let r=n.split("@"),o=r[1].split("."),s=D(r[0],2),i=D(o[0],1),a=D(o[o.length-1]);return`${s}@${i}.${a}`}function Qt(t){return t=t.replace(/\D/g,"").slice(-10),t.replace(/(\d{3})(\d{3})(\d{4})/,"$1 $2 $3")}function en(t,e=!1){const n=e?J(t):t;if(!n)return"";const r=Qt(n.replace(/\+/g,""));return r.substring(0,r.length-2).replace(/\d/g,"*")+r.slice(-2)}function tn(t){let e=window.currency_format_pattern;return typeof t=="string"?e.replace("0",t.trim()):typeof t=="number"?e.replace("0",t):""}function nn(t){return new B(t,{float:window.spl_config.numberConfig.decimal_finance.digits,thousandSeparator:window.spl_config.numberConfig.thousand_finance.separator,decimalSeparator:window.spl_config.numberConfig.decimal_finance.separator})._stringFormat}function rn(t,e=!1){return e?new B(t,{float:window.spl_config.numberConfig.tax.digits})._stringFormat:new B(t,{float:window.spl_config.numberConfig.tax.digits,thousandSeparator:window.spl_config.numberConfig.thousand_finance.separator,decimalSeparator:window.spl_config.numberConfig.decimal_finance.separator})._stringFormat}function on(t){let e=window.moment(t,"YYYY-MM-DD").format(date_format);return e!=="Invalid date"?e:""}function sn(){return window.moment().format(date_format)}function an(t){let e=window.moment(t,"YYYY-MM-DD HH:mm:ss").format(datetime_format);return e!=="Invalid date-time"?e:""}function Se(t){return typeof t!="string"?"":t.replace(/[^a-zA-Z0-9]+(.)/g,(e,n)=>n.toUpperCase())}const ln=t=>t&&t.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g).map(e=>e.toLowerCase()).join("_");function cn(t){return typeof t!="object"?t:Object.keys(t).reduce((e,n)=>(e[Se(n)]=t[n],e),{})}function q(t){return typeof t!="object"||t===null||Object.prototype!==Object.getPrototypeOf(t)||t instanceof File?t:Object.keys(t).reduce((e,n)=>(e[ln(n)]=t[n],e),{})}function fn(...t){let e=[...t].filter(n=>Number(n)>0);for(let n=0;n<e.length-1;n++){let r=Number(e[n]),o=Number(e[n+1]);if(r>=o)return window.showErrors([_e()],4),!0}return!1}function Pe(t,e,n,r){if(typeof t>"u"||t==="")return"";typeof e>"u"&&(e=2),typeof n>"u"&&(n=window.spl_config.numberConfig.networking.size_of_kb),typeof r>"u"&&(r=!1),t=parseFloat(t);let o,s;for(r?o=["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"]:o=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],s=0;t>=n&&s<o.length-1;s++)t/=n;return`${t.toFixed(e)/1} ${o[s]}`}function un(t,e,n,r){return`${Pe(t,e,n,r)}ps`}function Oe(t){let e=[],n=0,r=-1;if(typeof t!="string"||!t)return e;for(let o=0;o<t.length;o++)if(t[o]==="{")n===0&&(r=o),n++;else if(t[o]==="}"&&(n--,n===0&&r!==-1)){const s=t.slice(r,o+1);try{const i=JSON.parse(s);e.push(i)}catch(i){console.error("Invalid JSON:",i)}r=-1}return e}function dn(t,e,n,r){let o=t.responseJSON,s=()=>{};o||(o=Oe(t.responseText)[0]),t.status>=300&&t.status<400&&typeof e=="function"&&(s=e),t.status>=400&&t.status<500&&typeof n=="function"&&(s=n),t.status>=500&&typeof r=="function"&&(s=r),arguments.length===2&&(s=e),s.apply(null,[o])}function pn(t){const e=Math.floor(t),n=Math.round((t-e)*60);return{hours:e,minutes:n}}function mn(t){let e=[];for(let n in t)e.push(`${n}=${t[n]}`);return e.join("&")}function gn(t,e,n){let{result:r,message:o}=t;r&&o?(show_success(o,4),typeof e=="function"&&e()):(show_error(o,4),typeof n=="function"&&n())}function hn(t,e,n,r=!1,o={},s={}){return{text:t,options:{disabled:r,class:["btn",`btn-${e}`],...o},click:n,...s}}function _n(t,e){if(t){if(_(t.attributes,[e,"label"]))return t.attributes[e].label;if(_(t,[e,"label"]))return t[e].label}return e}function yn(t){t=t.replace("#",""),t.length===3&&(t=t.split("").map(s=>s+s).join(""));const e=parseInt(t.substr(0,2),16),n=parseInt(t.substr(2,2),16),r=parseInt(t.substr(4,2),16);return(e*299+n*587+r*114)/1e3>=128?"#1B2124":"#ffffff"}function wn(){let t=document.querySelectorAll(".webui-popover.out, .webui-popover.in, .popover.show");
2t==null||t.forEach(e=>{e.remove()})}const bn=Object.freeze(Object.defineProperty({__proto__:null,asteriskWithExcludeStart:D,asterisksEmail:Xt,asterisksPhone:en,base64Decode:J,base64Encode:Zt,compareDays:fn,convertToHoursAndMinutes:pn,createDeferredPromise:Jt,debounce:Ut,deepClone:U,deepCopyObj:Wt,empty:k,emptyObject:Ft,filterObjectsByValueInPath:Rt,findJsonInText:Oe,format:nn,formatDate:on,formatDateTime:an,formatInternetSpeed:un,formattedRequest:q,formattedResponse:cn,generateParams:mn,getAttributeLabel:_n,getButton:hn,getDaysToDate:Mt,getTodayDate:sn,getUrlParam:Ct,getUrlParams:Lt,getValueByObjectPath:ye,getValueWithCurrency:tn,getWindowHeight:Bt,getWindowWidth:Vt,interceptError:dn,isArray:Yt,isObject:F,isValidJSON:xt,isset:_,makeColorContrast:yn,md5:zt,mergeDeep:we,nl2br:Gt,param:G,parseAnonymousSwitchPage:At,processingAdditionalFields:Ht,processingRawTypes:be,promisifiedAjax:qt,rand:kt,removeWebUiPopovers:wn,responseNotification:gn,setSelectionRange:Kt,sizeInBytesToStringValue:Pe,sortObjectByProperty:Dt,supports_html5_storage:It,taxFormat:rn,toCamelCase:Se,withGet:Nt},Symbol.toStringTag,{value:"Module"}));let W=null;const A=(t,e,n,r=null,o=null,s=null)=>{if(W){if(typeof e!="string"&&(e!=null&&e.length)){e.forEach(i=>A(t,i,n,r,o,s));return}W("global_notifications_store/showNotify",q({type:t,message:e,timeout:n,toManager:r,actionButton:o,closeButton:s}))}},je=(t,e)=>A("success",t,e),Sn=(t,e)=>A("error",t,e),Pn=(t,e)=>A("warning",t,e),On=(t,e)=>A("info",t,e),Ee={};Ee.install=t=>{W=(...e)=>t.config.globalProperties.$store.dispatch(...e),t.config.globalProperties.$showNotify=function(e,n,r,o,s,i){if(typeof n!="string"&&(n!=null&&n.length))return n==null||n.forEach(a=>{this.$showNotify(e,a,r,o,s,i)}),!0;this.$store.dispatch("global_notifications_store/showNotify",q({type:e,message:n,timeout:r,toManager:o,actionButton:s,closeButton:i}))},t.config.globalProperties.$showError=function(e,n,r,o){this.$showNotify("error",e,n,r,null,null,o)},t.config.globalProperties.$showSuccess=function(e,n,r,o){this.$showNotify("success",e,n,r,null,null,o)},t.config.globalProperties.$showWarning=function(e,n,r,o){this.$showNotify("warning",e,n,r,null,null,o)},t.config.globalProperties.$showInformation=function(e,n,r,o){this.$showNotify("info",e,n,r,null,null,o)},t.config.globalProperties.$closeNotify=function(){this.$store.dispatch("global_notifications_store/cleanNotifications")},t.config.globalProperties.$interceptNotification=function(e,n){this.$store.dispatch("global_notifications_store/intercept",{interceptor:n,type:e})},t.config.globalProperties.$disableNotificationInterceptor=function(e){this.$store.dispatch("global_notifications_store/removeInterceptor",e)}};const jn=Object.freeze(Object.defineProperty({__proto__:null,showError:Sn,showInformation:On,showSuccess:je,showWarning:Pn},Symbol.toStringTag,{value:"Module"})),En=function(t){let e=$e(),n=Te(t);return n&&e.unshift(n),e},$e=function(){return[{extend:"collection",text:'<i class="icon-ic_fluent_arrow_export_ltr_24_regular"></i>',titleAttr:"Export to",background:!1,container:"#colvis",className:"btn-outline-secondary btn-icon",dropup:!0,buttons:[$.extend(!0,{},window.buttonCommon,{extend:"print"}),$.extend(!0,{},window.buttonCommon,{extend:"copyHtml5"}),$.extend(!0,{},window.buttonCommon,{extend:"excelHtml5",filename:"*"}),$.extend(!0,{},window.buttonCommon,{extend:"csvHtml5",fieldSeparator:" ",extension:".csv",filename:"*"}),$.extend(!0,{},window.buttonCommon,{extend:"pdfHtml5",filename:"*",available(){return typeof window.FileReader<"u"},action(t,e,n,r){typeof window.pdfMake>"u"?(je(_e(),4),$.getScript("/js/development/pdfmake/pdfmake.min.js",()=>{$.getScript("/js/development/pdfmake/vfs_fonts.js",()=>{$.fn.DataTable.ext.buttons.pdfHtml5.action.call(this,t,e,n,r)})})):$.fn.DataTable.ext.buttons.pdfHtml5.action.call(this,t,e,n,r)}})]}]},Te=function(t){return t?[{container:"#colv",className:"btn-outline-secondary btn-icon",text:'<i class="icon-ic_fluent_more_horizontal_24_regular"></i>',action(){open_dialog_new(`profile--show-hide-columns?name=${t}`)},titleAttr:"Show/hide columns"}]:[]},$n=Object.freeze(Object.defineProperty({__proto__:null,getDataTableButtons:En,getDefaultButtons:$e,getShowHideButton:Te},Symbol.toStringTag,{value:"Module"}));function b(t,e,n){(typeof t>"u"||t===null)&&(t=""),(typeof e>"u"||e===null)&&(e="");const r=/(^-?[0-9]+(\.?[0-9]*)[df]?e?[0-9]?%?$|^0x[0-9a-f]+$|[0-9]+)/gi,o=/(^[ ]*|[ ]*$)/g,s=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,i=/^0x[0-9a-f]+$/i,a=/^0/;let l=t.toString().replace(o,"")||"",c=e.toString().replace(o,"")||"";n||(l=M(l).trim(),c=M(c).trim());const d=l.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),f=c.replace(r,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),O=parseInt(l.match(i),10)||d.length!==1&&l.match(s)&&Date.parse(l),j=parseInt(c.match(i),10)||O&&c.match(s)&&Date.parse(c)||null;if(j){if(O<j)return-1;if(O>j)return 1}for(let m=0,Me=Math.max(d.length,f.length);m<Me;m++){if(typeof d[m]>"u"&&typeof f[m]<"u")return-1;if(typeof d[m]<"u"&&typeof f[m]>"u")return 1;let w=!(d[m]||"").match(a)&&parseFloat(d[m],10)||d[m]||0,E=!(f[m]||"").match(a)&&parseFloat(f[m],10)||f[m]||0;if(isNaN(w)!==isNaN(E))return isNaN(w)?1:-1;
2if(typeof w!=typeof E&&(w+="",E+=""),w<E)return-1;if(w>E)return 1}return 0}function M(t){return u("<div />").html(t).text()}function se(t,e,n){const r=/[+-]?((\d+(\.\d*)?)|\.\d+)([eE][+-]?[0-9]+)?/;return t=t.replace(",",".").match(r),t=t!==null?parseFloat(t[0]):n,e=e.replace(",",".").match(r),e=e!==null?parseFloat(e[0]):n,t<e?-1:t>e?1:0}function Tn(){const t=u.fn.dataTable.ext.type.order;u.extend(t,{"natural-asc":(e,n)=>b(e,n,!0),"natural-desc":(e,n)=>b(e,n,!0)*-1,"natural-nohtml-asc":(e,n)=>b(e,n,!1),"natural-nohtml-desc":(e,n)=>b(e,n,!1)*-1,"natural-ci-asc":(e,n)=>b(e.toString().toLowerCase(),n.toString().toLowerCase(),!0),"natural-ci-desc":(e,n)=>b(e.toString().toLowerCase(),n.toString().toLowerCase(),!0)*-1}),u.extend(t,{"ip-address-pre":function(e){let n,r,o,s,i,a,l;if(!e)return 0;if(e=e.replace(/<[\s\S]*?>/g,""),i=e.split(":"),i.length==2?o=i[0].split("."):o=e.split("."),s=e.split(":"),a="",l="",o.length==4)for(n=0;n<o.length;n++)r=o[n],r.length==1?a+=`00${r}`:r.length==2?a+=`0${r}`:a+=r;else if(s.length>0){let c=0;for(n=0;n<s.length;n++)r=s[n],n>0&&(l+=":"),r.length===0?c+=0:r.length==1?(l+=`000${r}`,c+=4):r.length==2?(l+=`00${r}`,c+=4):r.length==3?(l+=`0${r}`,c+=4):(l+=r,c+=4);s=l.split(":");let d=0;for(n=0;n<s.length;n++)if(r=s[n],r.length===0&&d===0)for(let f=0;f<32-c;f++)a+="0",d=1;else a+=r}return a},"ip-address-asc":(e,n)=>e<n?-1:e>n?1:0,"ip-address-desc":(e,n)=>e<n?1:e>n?-1:0}),u.extend(t,{"num-html-pre":e=>parseFloat(String(e).replace(/<[\s\S]*?>/g,"")),"num-html-asc":(e,n)=>e<n?-1:e>n?1:0,"num-html-desc":(e,n)=>e<n?1:e>n?-1:0}),t["file-size-pre"]=e=>{if(e==="---")return-1;const n=e.replace(/[\d\.\s]/g,"").toLowerCase();let r=1;return n==="kb"?r=1e3:n==="mb"?r=1e6:n==="gb"?r=1e9:n==="tb"?r=1e12:n==="pb"&&(r=1e15),parseFloat(e)*r},u.extend(t,{"currency-pre":e=>(e=M(e),(e==="---"||e==="--"||e==="-"||e==="")&&(e="-1"),(typeof e>"u"||e===0)&&(e="0"),e=e.replace(",",".").replace(/[.'`](?=\d{0,3}[.])/g,"").replace(/(?!-)\D/g,""),parseFloat(e)),"currency-asc":(e,n)=>e<n?-1:e>n?1:0,"currency-desc":(e,n)=>e<n?1:e>n?-1:0}),u.extend(t,{"formatted-number-pre":e=>((e==="---"||e==="--"||e==="-")&&(e="-1"),(typeof e>"u"||e===0)&&(e="0"),e=e.replace(",",".").replace(/[.'`](?=\d{0,3}[.])/g,"").replace(/(?!-)\D/g,""),parseFloat(e)),"formatted-number-asc":(e,n)=>e<n?-1:e>n?1:0,"formatted-number-desc":(e,n)=>e<n?1:e>n?-1:0}),u.extend(t,{"any-number-pre":e=>((e==="---"||e==="--"||e==="")&&(e="-1"),(typeof e>"u"||e===0)&&(e="0"),e),"any-number-asc":(e,n)=>se(e,n,Number.POSITIVE_INFINITY),"any-number-desc":(e,n)=>se(e,n,Number.NEGATIVE_INFINITY)*-1}),u.extend(t,{"system-datetime-pre":e=>{const n=z(e,window.dt_datetime_format);return n.isValid()?n:0},"system-datetime-asc":(e,n)=>e<n?-1:e>n?1:0,"system-datetime-desc":(e,n)=>e<n?1:e>n?-1:0,"system-date-pre":e=>{const n=z(e,window.dt_datetime_format);return n.isValid()?n:0},"system-date-asc":(e,n)=>e<n?-1:e>n?1:0,"system-date-desc":(e,n)=>e<n?1:e>n?-1:0}),u.extend(t,{"html-attr-datetime-pre":e=>{let n=u(e).attr("data-date");return n===void 0&&(n=u(e).html().toString().replace(/[-]/g,"").trim()),n},"html-attr-datetime-asc":(e,n)=>e<n?-1:e>n?1:0,"html-attr-datetime-desc":(e,n)=>e<n?1:e>n?-1:0}),u.extend(t,{"html-attr-data-sort-pre":e=>{let n=u(e).attr("data-sort");return n===void 0&&(n=u(e).html().toString().replace(/[-]/g,"")),parseInt(n)},"html-attr-data-sort-asc":(e,n)=>e<n?-1:e>n?1:0,"html-attr-data-sort-desc":(e,n)=>e<n?1:e>n?-1:0}),u.extend(t,{"html-attr-data-sort-float-pre":e=>{let n=u(e).attr("data-sort-float");return n===void 0&&(n=u(e).html().toString().replace(/[-]/g,"")),parseFloat(n)},"html-attr-data-sort-float-asc":(e,n)=>e<n?-1:e>n?1:0,"html-attr-data-sort-float-desc":(e,n)=>e<n?1:e>n?-1:0}),u.extend(t,{"phone-pre":e=>{if(e=="")return 0;const n=parseInt(e.split(",").splice(0,1).join("").replace(/\D/g,""));return Number.isNaN(n)?0:n},"phone-asc":(e,n)=>e<n?-1:e>n?1:0,"phone-desc":(e,n)=>e<n?1:e>n?-1:0}),u.extend(t,{"duration-pre":e=>Number(`${e}`.replace(/\D/g,"")),"duration-asc":(e,n)=>e<n?1:e>n?-1:0,"duration-desc":(e,n)=>e<n?-1:e>n?1:0}),u.extend(t,{"negativeAmountsInBracketsSorting-pre":e=>{e=M(e),(e==="---"||e==="--"||e==="-"||e==="")&&(e="-1"),(typeof e>"u"||e===0)&&(e="0");let n=!1;e.match(/\(.*\)/)&&(n=!0,e=e.replace(/[\(\)]/g,"")),e=e.replace(",",".").replace(/[.'`](?=\d{0,3}[.])/g,"").replace(/(?!-)\D/g,"");const r=parseFloat(e);return n?-r:r}
2,"negativeAmountsInBracketsSorting-asc":(e,n)=>e<n?-1:e>n?1:0,"negativeAmountsInBracketsSorting-desc":(e,n)=>e<n?1:e>n?-1:0}),window.matchYearWithMonth=(e,n,r)=>{const{idx:o}=r.settings.aoColumns.find(l=>l.type==="month")??{};if(!o)return e;const s=n[o],i=window.spl_localization_messages.date,a={[i.January]:"01",[i.February]:"02",[i.March]:"03",[i.April]:"04",[i.May]:"05",[i.June]:"06",[i.July]:"07",[i.August]:"08",[i.September]:"09",[i.October]:"10",[i.November]:"11",[i.December]:"12"};return`${e}-${a[s]}`}}const vn=Object.freeze(Object.defineProperty({__proto__:null,registerDatatableSortExtensions:Tn},Symbol.toStringTag,{value:"Module"}));class ve extends We{reinitEvent(e,n){if(typeof e!="string"){console.error("Event name is not a string");return}if(typeof n!="function"){console.error(`Callback function for ${e} is not a function`);return}this.off(e),this.on(e,n)}}const In={Emitter:ve},xn=Object.freeze(Object.defineProperty({__proto__:null,Emitter:ve,default:In},Symbol.toStringTag,{value:"Module"}));function ie(t){let e={},n=new Ye;He.get({preprocessor(r,o){return r==="userAgent"?{os:n.getOS().name,browser:n.getBrowser().name}:o}},r=>{r.forEach(o=>{o.key!=="canvas"&&o.key!=="webgl"&&(e[o.key]=o.value)}),e.cpuArchitecture=n.getCPU().architecture,e.device=n.getDevice(),t(e)})}const An=Object.freeze(Object.defineProperty({__proto__:null,default:ie,getDeviceInfo:ie},Symbol.toStringTag,{value:"Module"})),Cn={methods:{getAttributeLabel(t,e){return e===void 0&&(e="attributeLabels"),_(this[e],t)?this[e][t]:t}}},Nn=Object.freeze(Object.defineProperty({__proto__:null,default:Cn},Symbol.toStringTag,{value:"Module"}));function Fn(t,e){if(typeof ace<"u"){t();return}let n=function(o){return new Promise(s=>{$.getScript(o,()=>{s()})})};n("/js/development/ace/ace.js").then(()=>{let o=n("/js/development/ace/ext-language_tools.js"),s=n("/js/development/ace/mode-twig.js"),i=n("/js/development/ace/theme-github.js"),a=n("/js/development/ace/ext-searchbox.js"),l=[o,s,i,a];e&&Array.isArray(e)&&e.length>0&&e.forEach(c=>{l.push(n(c))}),Promise.all(l).then(()=>{t()})})}const Dn=Object.freeze(Object.defineProperty({__proto__:null,default:Fn},Symbol.toStringTag,{value:"Module"}));function Ie(t,e){return new Promise((n,r)=>{$.ajax({url:t,method:"POST",data:e,cache:!1,processData:!1,contentType:!1,type:"POST",success(o){n(o)},failed(o){r(o)}})})}const Rn={sendFormData:Ie},kn=Object.freeze(Object.defineProperty({__proto__:null,default:Rn,sendFormData:Ie},Symbol.toStringTag,{value:"Module"}));function K(t){let e={};for(let n in t)e[n]=function(r){return r[n]};return e}const Mn={stateToGetters:K},Ln=Object.freeze(Object.defineProperty({__proto__:null,default:Mn,stateToGetters:K},Symbol.toStringTag,{value:"Module"}));function ae(t){var r,o,s,i;if(!((r=t.taxes)!=null&&r.length)&&!((o=t.taxGroups)!=null&&o.length))return{};const e=window.xApp.$splang.t("finance","Archived"),n={};return(s=t.taxes)!=null&&s.length&&(n.taxes=[],t.taxes.forEach(a=>{n.taxes.push(le(a,e))})),(i=t.taxGroups)!=null&&i.length&&(n.taxGroups=[],t.taxGroups.forEach(a=>{n.taxGroups.push(le(a,e))})),n}function le(t,e){let n={id:t.id,text:`${t.rate_formatted} (${t.name})`};return t.archived&&(n.badge={text:e,background:"bg-secondary"}),n}const Vn=Object.freeze(Object.defineProperty({__proto__:null,default:ae,formatTaxesForSelect:ae},Symbol.toStringTag,{value:"Module"})),Bn=()=>Ge("$t"),Un=Object.freeze(Object.defineProperty({__proto__:null,useTranslate:Bn},Symbol.toStringTag,{value:"Module"}));let h=null;const g={};class Wn{constructor(e){this.eventName=e,this.namedCallbacks={},this.anonymousCallbacks=[]}add(e){e.name?this.namedCallbacks[e.name]=e:this.anonymousCallbacks.push(e)}remove(e){if(e.name)delete this.namedCallbacks[e.name];else{const n=this.anonymousCallbacks.indexOf(e);n!==-1&&this.anonymousCallbacks.splice(n,1)}}emit(e){this.anonymousCallbacks.forEach(n=>n(e));for(const n in this.namedCallbacks)this.namedCallbacks[n](e)}handlersCount(){return Object.keys(this.namedCallbacks).length+this.anonymousCallbacks.length}}function xe(){h||typeof window.io>"u"||(h=window.io.connect(`//${location.host}/web_events`,{query:{appType:"portal"}}),h.on("connect",()=>{h.emit("join"),h.removeAllListeners("event_message"),h.on("event_message",t=>{if(t.event==="force_disconnect"){h.disconnect(),h=null;return}g[t.event]&&g[t.event].emit(t.data)})}))}function Ae(t,e){if(typeof e!="function")throw new TypeError("Param callback must be callable!");xe(),g[t]||(g[t]=new Wn(t)),g[t].add(e)}function Y(t,e){if(g[t]){if(typeof e>"u"){delete g[t];return}g[t].remove(e),g[t].handlersCount()===0&&delete g[t]}}window.add_socket_listener=Ae;window.remove_socket_listener=Y;window.init_web_events=xe;function Yn(){const t=[],e=!!pe(),n=(o,s)=>{Ae(o,s),t.push({event:o,callback:s})},r=(o,s)=>{Y(o,s);const i=t.findIndex(a=>a.event===o&&a.callback===s);i!==-1&&t.splice(i,1)};return e&&Je(()=>{t.forEach(({event:o,callback:s})=>{Y(o,s)}),t.length=0}),{on:n,off:r}}const Hn=Object.freeze(Object.defineProperty({__proto__:null,useWebEvents:Yn},Symbol.toStringTag,{value:"Module"}));window.Vue=de;window.$=u;window.jQuery=u;window.csrf=R;const Gn=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n};_t(["App.mounted"]);const Jn="app_portal_login",qn={name:"App",data(){return{loading:!0,iframe:window!=window.top}},mounted(...t){return x("App.mounted",()=>{this.getData().then(()=>
2{if(this.loading=!1,this.iframe)return this.$router.push({name:"portal.login.iframe"}),!1})},this,t)},methods:{...qe(Jn,["getData"])}};function Kn(t,e,n,r,o,s){const i=Ke("RouterView");return o.loading?Xe("",!0):(Ze(),ze(i,{key:0}))}const Zn=Gn(qn,[["render",Kn]]);v.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8";const zn=(t,e,n)=>typeof t!="string"?t:t.replace(new RegExp(e,"g"),n);function Xn(t,e){let n=[],r=0,o=Object.keys(e),s=0;for(;r<t.length;){let i=!1;for(let a=0;a<o.length;a++){let l=`{${o[a]}}`;if(t.substring(r,r+l.length)===l){i=!0,r>0&&n.push(X(Q,null,t.substring(s,r))),e[o[a]].forEach(c=>{n.push(c)}),s=r+l.length,r+=l.length;break}}i||r++}return s!==t.length&&n.push(X(Q,null,t.substring(s,t.length))),n}function ce(t,e){if(e&&typeof t=="string")for(let n in e)t=zn(t,`{${n}}`,e[n]);return t}const fe={name:"XTranslate",props:{tag:{type:[String,Boolean],default:!1},message:{type:String},category:{type:String,default:"common"}},setup(t,{slots:e,attrs:n}){const{proxy:r}=pe();return()=>{const o=Object.keys(e).reduce((l,c)=>(l[c]=e[c]?e[c]():[],l),{}),s=r.$t(t.category,t.message),i=Xn(s,o);if(!t.tag||t.tag==="false")return i;const a=t.tag==="true"?"span":t.tag;return Qe(a,n,i)}}};class Qn{constructor({locale:e,categories:n,messages:r}){T(this,"locale","");T(this,"categories",[]);T(this,"messages",{});T(this,"_app",{});this.locale=e,this.categories=n,_(r,e)?this.messages=r:this.messages[e]=r}install(e){this._app=e;const n=this.translate.bind(this);e.config.globalProperties.$t=n,e.config.globalProperties.t=n,e.config.globalProperties.$locale=this.locale,e.config.globalProperties.$messages=this.messages,e.provide("$t",n),e.component(fe.name,fe)}translate(e,n,r){if(_(this.messages,[this.locale,e,n])){let o=this.messages[this.locale][e][n];return ce(o,r)}return ce(n,r)}}class Z{constructor(e,n=[]){this.language=e,this.splang=new Qn({locale:this.language||"en",messages:Z.loadMessages(e),categories:n})}static loadMessages(e){return typeof window.spl_localization_messages>"u"?(console.error(`Failed loading localization messages, language: ${e}`),null):window.spl_localization_messages}}function er(t){return t.path&&t.children&&!t.component}function tr(t,e){return e.map(n=>(typeof n.delimiter<"u"?n.path=t+n.delimiter+n.path:n.path=`${t}/${n.path}`,n))}function H(t){const e=[];for(const n of t)!n.children||n.children.length===0?e.push(n):er(n)?e.push(...H(tr(n.path,n.children))):(n.children=H(n.children),e.push(n));return e}const ue=()=>p(()=>import("./Login.D3afT-1s.js"),__vite__mapDeps([0,1,2])),nr=()=>p(()=>import("./LoginIframe.DscLE1SC.js"),__vite__mapDeps([3,1,2])),rr=()=>p(()=>import("./ResetPassword.B2bFaLvd.js"),__vite__mapDeps([4,1,2])),or=()=>p(()=>import("./VerifyCode.DuKPVKF_.js"),__vite__mapDeps([5,1,2])),sr=()=>p(()=>import("./SetNewPassword.BhuK32a4.js"),__vite__mapDeps([6,1,2])),ir=[{name:"portal.login.iframe",path:"login-iframe",component:nr},{name:"portal.login.without_cookie",path:"login--without-cookie",component:ue},{name:"portal.login",path:"login",component:ue},{name:"portal.reset_password",path:"reset-password",component:rr},{name:"portal.reset_password.verify",path:"reset-password--verify-check-code",component:or},{name:"portal.reset_password.set_new_password",path:"reset-password--set-new-password",component:sr}],ar=H([{path:"/",redirect:()=>({path:"/portal/login"})},{path:"/portal",children:ir}]),lr=et({history:tt(),routes:ar}),cr={notifications:[],interceptors:{}},Ce="PUSH_NOTIFICATION",Ne="REMOVE_NOTIFICATION",Fe="REMOVE_NOTIFICATIONS",De="SET_INTERCEPTOR",Re="REMOVE_INTERCEPTOR",fr=(t,e,n)=>{let r=t.notifications.findIndex(i=>i.id===e);if(r<n)return 1;let o=1,s=0;for(;s<t.notifications.length;){if(s+=n,r<s)return o;o++}},ur={intercept({commit:t},e){t(De,e)},removeInterceptor({commit:t},e){t(Re,e)},cleanNotifications({commit:t}){t(Fe)},showNotify({commit:t,state:e,dispatch:n},r){var s,i,a;if(r.id===void 0&&(r.id=nt()),!["info","success","warning","error","text","message_and_action"].includes(r.type))throw new Error(`Failed to show notification. This type (${r.type}) of notification does not exist.`);if(r.message.search("</a>")>0){let l=new DOMParser().parseFromString(r.message,"text/html"),c=l.querySelector("a");r.message=l.querySelector("body").innerHTML,!(c!=null&&c.getAttribute("onclick"))&&(c!=null&&c.getAttribute("href"))?r.action_button={...r.action_button,action:c==null?void 0:c.getAttribute("href")}:r.action_button={...r.action_button,action:new Function([],c==null?void 0:c.getAttribute("onclick"))},typeof r.to_manager>"u"&&(r.to_manager=!0)}t(Ce,r),k(r.to_manager)||((s=r.action_button)!=null&&s.redirect_url&&!((i=r==null?void 0:r.action_button)!=null&&i.action)&&(r.action_button.action=new Function([],`switch_page("${r.action_button.redirect_url}")`)),n("notifications/addNotificationToList",{type:r.type,message:r.message,action:(a=r==null?void 0:r.action_button)==null?void 0:a.action})),k(r.timeout)||setTimeout(()=>{t(Ne,r.id)},r.timeout*1e3*fr(e,r.id,5))}},dr={getNotifications(t){return t.notifications},interceptors(t){return t.interceptors}},pr={[Ce](t,e){t.notifications.push(e)}
2,[Fe](t){t.notifications=[]},[Ne](t,e){let n=t.notifications.findIndex(r=>r.id===e);n!==-1&&t.notifications.splice(n,1)},[De](t,e){t.interceptors[e.type]=e},[Re](t,e){delete t.interceptors[e]}},mr={namespaced:!0,state:cr,actions:ur,getters:dr,mutations:pr},ke={logo:"",auth_by:"",languages:{},mobile_app_config:{},need_help_url:!1,reset_password:!0,spl_config:{},isIframe:window!==window.top,model:{},attributes_meta:{},two_factor_authentication_status:{}},gr={...K(ke)},hr={setData(t,e){t.logo=e.spl_config.header,t.auth_by=e.auth_by,t.languages=e.languages,t.mobile_app_config=e.mobile_app_config,t.need_help_url=e.need_help_url,t.reset_password=e.reset_password,t.spl_config=e.spl_config,t.model=e.model,t.attributes_meta=e.attributes_meta,t.two_factor_authentication_status=e.two_factor_authentication_status}},_r={async getData({commit:t}){const e=await he.loadAppData();t("setData",e)}},yr={namespaced:!0,state:ke,getters:gr,mutations:hr,actions:_r},wr=rt({modules:{app_portal_login:yr,global_notifications_store:mr}});mt({components:Object.assign({
2"./views/login/Login.vue":()=>p(()=>import("./Login.D3afT-1s.js"),__vite__mapDeps([0,1,2])),
2"./views/login/LoginForm.vue":()=>p(()=>import("./LoginForm.BPq3iriM.js"),__vite__mapDeps([7,1,2])),
2"./views/login/LoginIframe.vue":()=>p(()=>import("./LoginIframe.DscLE1SC.js"),__vite__mapDeps([3,1,2])),
2"./views/login/MobileAppConfig.vue":()=>p(()=>import("./MobileAppConfig.CWcsuZm5.js"),__vite__mapDeps([8,1,2])),
2"./views/login/TwoFactor.vue":()=>p(()=>import("./TwoFactor.DTMea1RF.js"),__vite__mapDeps([9,1,2])),
2"./views/reset-password/ResetPassword.vue":()=>p(()=>import("./ResetPassword.B2bFaLvd.js"),__vite__mapDeps([4,1,2])),
2"./views/reset-password/ResetPasswordLayout.vue":()=>p(()=>import("./ResetPasswordLayout.16sOcwQV.js"),__vite__mapDeps([10,1,2])),
2"./views/reset-password/SetNewPassword.vue":()=>p(()=>import("./SetNewPassword.BhuK32a4.js"),__vite__mapDeps([6,1,2])),
2"./views/reset-password/VerifyCode.vue":()=>p(()=>import("./VerifyCode.DuKPVKF_.js"),__vite__mapDeps([5,1,2]))
2}),services:Object.assign({"./services/app-data/AppService.js":jt,"./services/login-data/LoginService.js":$t}),composables:Object.assign({}),utils:Object.assign({"../../utils/api.js":Ot,"../../utils/csrf.js":Tt,"../../utils/datatable-helper.js":$n,"../../utils/datatable-sort-extensions.js":vn,"../../utils/emmiter.js":xn,"../../utils/fingerprint.js":An,"../../utils/form-mixin.js":Nn,"../../utils/functions.js":bn,"../../utils/load-ace.js":Dn,"../../utils/notifications.js":jn,"../../utils/senders.js":kn,"../../utils/store-helpers.js":Ln,"../../utils/taxes.js":Vn,"../../utils/type-utils.js":vt,"../../utils/useTranslate.js":Un,"../../utils/useWebEvents.js":Hn})});typeof window.spl_config>"u"&&(window.spl_config={language:"en",header:"",listTranslateCategories:Object.keys(spl_localization_messages)});let br=new Z(window.spl_config.language,window.spl_config.listTranslateCategories??["portal"]);const y=ot(Zn);y.use(st,v);y.use(wr);y.use(lr);y.use(Ee);y.use(br.splang);L();St(y);y.mount("#app");export{Et as L,Ne as R,Gn as _,p as a,Zt as b,_t as c,P as d,k as e,Xt as f,en as g,q as h,_ as i,Ut as j,zt as m,x as r,It as s}; 3//# sourceMappingURL=app.6-zBPm55.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.