"use strict";(self.webpackChunkapp_container=self.webpackChunkapp_container||[]).push([[4356],{4356:(t,e,n)=>{n.a(t,(async(t,o)=>{try{n.r(e),n.d(e,{Utility:()=>a});const{GetLocalStorage:t,SetLocalStorage:r}=await n.e(4326).then(n.bind(n,4326)).then((t=>t)),a={lightOrDark:function(t){var e,n,o,r=t;if(t.match(/^rgb/)){function a(t,e,n){return"#"+((1<<24)+(t<<16)+(e<<8)+n).toString(16).slice(1)}t=t.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/),r=a(e=parseInt(t[1]),n=parseInt(t[2]),o=parseInt(t[3]))}else e=(t=+("0x"+t.slice(1).replace(t.length<5&&/./g,"$&$&")))>>16,n=t>>8&255,o=255&t;return Math.sqrt(e*e*.299+n*n*.587+o*o*.114)>127.5?this.shade(r,-.4):this.shade(r,.4)},shade:function(t,e){var n=parseInt(t.slice(1),16),o=e<0?0:255,r=e<0?-1*e:e,a=n>>16,c=n>>8&255,i=255&n;return function(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,n,o){return e+e+n+n+o+o}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgb("+parseInt(e[1],16)+","+parseInt(e[2],16)+","+parseInt(e[3],16)+")"}("#"+(16777216+65536*(Math.round((o-a)*r)+a)+256*(Math.round((o-c)*r)+c)+(Math.round((o-i)*r)+i)).toString(16).slice(1))},isNull:function(t){return void 0===t||null==t||""===t.toString().trim()},setupContainer:function(){if(document.querySelector(".flits-account-page-nav")&&document.querySelector(".flits-tabs-box")&&document.querySelector(".flits-tabs-box").parentElement&&document.querySelector(".flits-account-page-nav .flits-nav-tabs")&&document.querySelector(".flits-tabs-box .flits-tab-box.flits-active"))if(document.querySelector(".flits-account-page-nav").style.height="auto",document.querySelector(".flits-tabs-box").parentElement.style.height="auto",document.querySelector(".flits-tabs-box").style.height="auto",window.innerWidth<992)document.querySelector(".flits-account-page-nav").style.height="auto",document.querySelector(".flits-tabs-box").parentElement.style.height="auto",document.querySelector(".flits-tabs-box").style.height="auto",document.querySelector(".flits-tabs-box").style.minHeight="auto";else{var t,e=document.querySelector(".flits-account-page-nav .flits-nav-tabs").offsetHeight,n=document.querySelector(".flits-tabs-box .flits-tab-box.flits-active").offsetHeight;t=Math.max(e,n),document.querySelector(".flits-account-page-nav").style.height=t+"px",document.querySelector(".flits-tabs-box").parentElement.style.height=t+"px",document.querySelector(".flits-tabs-box").style.minHeight=t+"px"}},getURLParameter:function(t){return decodeURIComponent((new RegExp("[?|&]"+t+"=([^&;]+?)(&|#|;|$)").exec(window.location.search)||[null,""])[1].replace(/\+/g,"%20"))||null},getCookie:function(t){const e=document.cookie.split(";");for(const n of e){const[e,o]=n.trim().split("=");if(e===t)return decodeURIComponent(o)}return null},setCookie:function(t,e,n){let o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3);let r="expires="+o.toUTCString();document.cookie=t+"="+e+";"+r+";path=/"},generateUUIDv4:function(){const t=window.crypto||window.msCrypto;if(!t||!t.getRandomValues)throw new Error("crypto.getRandomValues() not supported.");const e=new Uint8Array(16);return t.getRandomValues(e),e[6]=15&e[6]|64,e[8]=63&e[8]|128,[...e].map(((t,e)=>[4,6,8,10].includes(e)?"-".concat(t.toString(16)):t.toString(16).padStart(2,"0"))).join("")},setRequestId:function(){const t=a.generateUUIDv4();return r("login_request_id",t),t},isValidRequestId:function(e){return e===t("login_request_id")},parseURL:function(t){var e,n,o,r=document.createElement("a"),a={};for(r.href=t,e=r.search.replace(/^\?/,"").split("&"),o=0;o