6 lines
107 KiB
JavaScript
6 lines
107 KiB
JavaScript
|
|
const Cs=function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const f of s.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&i(f)}).observe(document,{childList:!0,subtree:!0});function a(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerpolicy&&(s.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?s.credentials="include":r.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=a(r);fetch(r.href,s)}};Cs();function Ee(){}const ko=t=>t;function Gs(t,l){for(const a in l)t[a]=l[a];return t}function vs(t){return t()}function Oo(){return Object.create(null)}function Zl(t){t.forEach(vs)}function So(t){return typeof t=="function"}function gl(t,l){return t!=t?l==l:t!==l||t&&typeof t=="object"||typeof t=="function"}let ao;function we(t,l){return ao||(ao=document.createElement("a")),ao.href=l,t===ao.href}function Es(t){return Object.keys(t).length===0}function Ts(t,...l){if(t==null)return Ee;const a=t.subscribe(...l);return a.unsubscribe?()=>a.unsubscribe():a}function Ul(t,l,a){t.$$.on_destroy.push(Ts(l,a))}function Os(t,l,a,i){if(t){const r=hs(t,l,a,i);return t[0](r)}}function hs(t,l,a,i){return t[1]&&i?Gs(a.ctx.slice(),t[1](i(l))):a.ctx}function qs(t,l,a,i){if(t[2]&&i){const r=t[2](i(a));if(l.dirty===void 0)return r;if(typeof r=="object"){const s=[],f=Math.max(l.dirty.length,r.length);for(let u=0;u<f;u+=1)s[u]=l.dirty[u]|r[u];return s}return l.dirty|r}return l.dirty}function zs(t,l,a,i,r,s){if(r){const f=hs(l,a,i,s);t.p(f,r)}}function $s(t){if(t.ctx.length>32){const l=[],a=t.ctx.length/32;for(let i=0;i<a;i++)l[i]=-1;return l}return-1}const ds=typeof window!="undefined";let ms=ds?()=>window.performance.now():()=>Date.now(),jo=ds?t=>requestAnimationFrame(t):Ee;const Ra=new Set;function gs(t){Ra.forEach(l=>{l.c(t)||(Ra.delete(l),l.f())}),Ra.size!==0&&jo(gs)}function ws(t){let l;return Ra.size===0&&jo(gs),{promise:new Promise(a=>{Ra.add(l={c:t,f:a})}),abort(){Ra.delete(l)}}}function e(t,l){t.appendChild(l)}function ps(t){if(!t)return document;const l=t.getRootNode?t.getRootNode():t.ownerDocument;return l&&l.host?l:t.ownerDocument}function Rs(t){const l=c("style");return Bs(ps(t),l),l.sheet}function Bs(t,l){e(t.head||t,l)}function N(t,l,a){t.insertBefore(l,a||null)}function L(t){t.parentNode.removeChild(t)}function dl(t,l){for(let a=0;a<t.length;a+=1)t[a]&&t[a].d(l)}function c(t){return document.createElement(t)}function ro(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function p(t){return document.createTextNode(t)}function d(){return p(" ")}function za(){return p("")}function Me(t,l,a,i){return t.addEventListener(l,a,i),()=>t.removeEventListener(l,a,i)}function n(t,l,a){a==null?t.removeAttribute(l):t.getAttribute(l)!==a&&t.setAttribute(l,a)}function Ms(t){return Array.from(t.childNodes)}function j(t,l){l=""+l,t.wholeText!==l&&(t.data=l)}function o(t,l,a,i){a===null?t.style.removeProperty(l):t.style.setProperty(l,a,i?"important":"")}function Is(t,l,{bubbles:a=!1,cancelable:i=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(t,a,i,l),r}const fo=new Map;let uo=0;function Ps(t){let l=5381,a=t.length;for(;a--;)l=(l<<5)-l^t.charCodeAt(a);return l>>>0}function Ds(t,l){const a={stylesheet:Rs(l),rules:{}};return fo.set(t,a),a}function bs(t,l,a,i,r,s,f,u=0){const v=16.666/i;let h=`{
|
||
|
|
`;for(let G=0;G<=1;G+=v){const x=l+(a-l)*s(G);h+=G*100+`%{${f(x,1-x)}}
|
||
|
|
`}const w=h+`100% {${f(a,1-a)}}
|
||
|
|
}`,g=`__svelte_${Ps(w)}_${u}`,m=ps(t),{stylesheet:y,rules:C}=fo.get(m)||Ds(m,t);C[g]||(C[g]=!0,y.insertRule(`@keyframes ${g} ${w}`,y.cssRules.length));const E=t.style.animation||"";return t.style.animation=`${E?`${E}, `:""}${g} ${i}ms linear ${r}ms 1 both`,uo+=1,g}function bo(t,l){const a=(t.style.animation||"").split(", "),i=a.filter(l?s=>s.indexOf(l)<0:s=>s.indexOf("__svelte")===-1),r=a.length-i.length;r&&(t.style.animation=i.join(", "),uo-=r,uo||Ls())}function Ls(){jo(()=>{uo||(fo.forEach(t=>{const{stylesheet:l}=t;let a=l.cssRules.length;for(;a--;)l.deleteRule(a);t.rules={}}),fo.clear())})}let lo;function to(t){lo=t}function _s(){if(!lo)throw new Error("Function called outside component initialization");return lo}function io(t){_s().$$.on_mount.push(t)}function Ws(t){_s().$$.on_destroy.push(t)}const eo=[],qo=[],so=[],zo=[],Ns=Promise.resolve();let _o=!1;function Us(){_o||(_o=!0,Ns.then(ys))}function Ba(t){so.push(t)}const go=new Set;let oo=0;function ys(){const t=lo;do{for(;oo<eo.length;){const l=eo[oo];oo++,to(l),Hs(l.$$)}for(to(null),eo.length=0,oo=0;qo.length;)qo.pop()();for(let l=0;l<so.length;l+=1){const a=so[l];go.has(a)||(go.add(a),a())}so.length=0}while(eo.length);for(;zo.length;)zo.pop()();_o=!1,go.clear(),to(t)}function Hs(t){if(t.fragment!==null){t.update(),Zl(t.before_update);const l=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,l),t.after_update.forEach(Ba)}}let Kr;function Fs(){return Kr||(Kr=Promise.resolve(),Kr.then(()=>{Kr=null})),Kr}function vo(t,l,a){t.dispatchEvent(Is(`${l?"intro":"outro"}${a}`))}const co=new Set;let qa;function Ma(){qa={r:0,c:[],p:qa}}function Ia(){qa.r||Zl(qa.c),qa=qa.p}function ie(t,l){t&&t.i&&(co.delete(t),t.i(l))}function je(t,l,a,i){if(t&&t.o){if(co.has(t))return;co.add(t),qa.c.push(()=>{co.delete(t),i&&(a&&t.d(1),i())}),t.o(l)}}const xs={duration:0};function As(t,l,a){let i=l(t,a),r=!1,s,f,u=0;function v(){s&&bo(t,s)}function h(){const{delay:g=0,duration:m=300,easing:y=ko,tick:C=Ee,css:E}=i||xs;E&&(s=bs(t,0,1,m,g,y,E,u++)),C(0,1);const G=ms()+g,x=G+m;f&&f.abort(),r=!0,Ba(()=>vo(t,!0,"start")),f=ws(k=>{if(r){if(k>=x)return C(1,0),vo(t,!0,"end"),v(),r=!1;if(k>=G){const _=y((k-G)/m);C(_,1-_)}}return r})}let w=!1;return{start(){w||(w=!0,bo(t),So(i)?(i=i(),Fs().then(h)):h())},invalidate(){w=!1},end(){r&&(v(),r=!1)}}}function Vs(t,l,a){let i=l(t,a),r=!0,s;const f=qa;f.r+=1;function u(){const{delay:v=0,duration:h=300,easing:w=ko,tick:g=Ee,css:m}=i||xs;m&&(s=bs(t,1,0,h,v,w,m));const y=ms()+v,C=y+h;Ba(()=>vo(t,!1,"start")),ws(E=>{if(r){if(E>=C)return g(0,1),vo(t,!1,"end"),--f.r||Zl(f.c),!1;if(E>=y){const G=w((E-y)/h);g(1-G,G)}}return r})}return So(i)?Fs().then(()=>{i=i(),u()}):u(),{end(v){v&&i.tick&&i.tick(1,0),r&&(s&&bo(t,s),r=!1)}}}function ml(t){t&&t.c()}function Kt(t,l,a,i){const{fragment:r,on_mount:s,on_destroy:f,after_update:u}=t.$$;r&&r.m(l,a),i||Ba(()=>{const v=s.map(vs).filter(So);f?f.push(...v):Zl(v),t.$$.on_mount=[]}),u.forEach(Ba)}function el(t,l){const a=t.$$;a.fragment!==null&&(Zl(a.on_destroy),a.fragment&&a.fragment.d(l),a.on_destroy=a.fragment=null,a.ctx=[])}function Ys(t,l){t.$$.dirty[0]===-1&&(eo.push(t),Us(),t.$$.dirty.fill(0)),t.$$.dirty[l/31|0]|=1<<l%31}function xl(t,l,a,i,r,s,f,u=[-1]){const v=lo;to(t);const h=t.$$={fragment:null,ctx:null,props:s,update:Ee,not_equal:r,bound:Oo(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l.context||(v?v.$$.context:[])),callbacks:Oo(),dirty:u,skip_bound:!1,root:l.target||v.$$.root};f&&f(h.root);let w=!1;if(h.ctx=a?a(t,l.props||{},(g,m,...y)=>{const C=y.length?y[0]:m;return h.ctx&&r(h.ctx[g],h.ctx[g]=C)&&(!h.skip_bound&&h.bound[g]&&h.bound[g](C),w&&Ys(t,g)),m}):[],h.update(),w=!0,Zl(h.before_update),h.fragment=i?i(h.ctx):!1,l.target){if(l.hydrate){const g=Ms(l.target);h.fragment&&h.fragment.l(g),g.forEach(L)}else h.fragment&&h.fragment.c();l.intro&&ie(t.$$.fragment),Kt(t,l.target,l.anchor,l.customElement),ys()}to(v)}class kl{$destroy(){el(this,1),this.$destroy=Ee}$on(l,a){const i=this.$$.callbacks[l]||(this.$$.callbacks[l]=[]);return i.push(a),()=>{const r=i.indexOf(a);r!==-1
|
||
|
|
<h1 class="text-[0.65vw]" style="font-family: 'Gilroy-Medium'; letter-spacing: 0.74vw; color: rgba(255, 255, 255, 0.6);">BANKING</h1>`,w=d(),g=c("div"),m=c("h1"),C=p(y),E=d(),G=c("div");for(let z=0;z<ae.length;z+=1)ae[z].c();x=d(),le&&le.c(),k=d(),_=c("div"),O=c("div"),b=c("img"),T=d(),q=c("div"),M=c("h1"),ve=p(I),re=d(),Xe=c("h1"),X=p(U),pe=d(),be=c("button"),de=c("img"),K=d(),te=c("h1"),Ze=p(Te),Z=d(),ce=c("div"),A&&A.c(),we(f.src,u=rc)||n(f,"src",u),n(f,"class","w-[2vw] ml-[0.01vw] mb-[0.2vh]"),n(f,"alt",""),n(h,"class","flex flex-col justify-end items-end space-y-[0.4vh]"),n(s,"class","flex flex-row justify-between items-center w-[100%] h-[5vh] mt-[0.4vh]"),n(m,"class","text-[0.5vw]"),o(m,"font-family","'Gilroy-Semibold'"),o(m,"color","rgba(255, 255, 255, 0.5)"),n(G,"class","flex flex-col justify-start items-center w-[100%] h-[100%] mt-[1.04vh] space-y-[0.9vh]"),n(g,"class","flex flex-col justify-start items-start w-[100%] h-[13.2vh] mt-[1.7vh]"),n(r,"class","w-[100%]"),n(b,"draggable","false"),we(b.src,F=oc)||n(b,"src",F),n(b,"class","w-[1.67vw]"),n(b,"alt",""),n(M,"class","text-[0.639vw]"),o(M,"font-family","'Gilroy-Extrabold'"),o(M,"color","#FFFFFF"),n(Xe,"class","text-[0.543vw]"),o(Xe,"font-family","'Gilroy-Semibold'"),o(Xe,"color","rgba(255, 255, 255, 0.5)"),n(q,"class","flex flex-col justify-start items-start pl-[0.72vw] mt-[0.4vh]"),o(q,"line-height","1.3vh"),n(O,"class","flex flex-row w-[100%] mt-[0.1vh]"),n(de,"draggable","false"),we(de.src,Ie=sc)||n(de,"src",Ie),n(de,"class","w-[0.8vw]"),n(de,"alt",""),n(te,"class","text-[0.65vw]"),o(te,"font-family","'Gilroy-Semibold'"),o(te,"color","rgba(16, 18, 20, 0.85)"),n(be,"class","flex flex-row justify-start items-center w-[100%] h-[3vh] rounded-[0.3vw] bg-[#95D9FF] px-[0.6vw] space-x-[0.65vw]"),n(_,"class","flex flex-col justify-between items-center w-[100%] h-[8.5vh]"),n(i,"class","flex flex-col justify-between items-center w-[10.6vw] h-[100%]"),n(ce,"class","w-[40.15vw] h-[100%]"),o(ce,"background-image","url("+ac+")"),o(ce,"background-size","cover"),o(ce,"background-repeat","no-repeat"),o(ce,"background-position","center"),n(a,"class","flex flex-row justify-between w-[54.5vw] h-[66.7vh] rounded-[0.8vw] opacity-[800%] py-[2vh] px-[1.2vw]"),o(a,"background","#101214"),o(a,"border","0.5px solid rgba(44, 55, 81, 0.56)"),o(a,"box-shadow","0px 2px 2px rgba(0, 0, 0, 0.2)"),n(l,"class","fixed w-[100%] h-[100vh] flex justify-center items-center")},m(z,J){N(z,l,J),e(l,a),e(a,i),e(i,r),e(r,s),e(s,f),e(s,v),e(s,h),e(r,w),e(r,g),e(g,m),e(m,C),e(g,E),e(g,G);for(let ee=0;ee<ae.length;ee+=1)ae[ee].m(G,null);e(r,x),le&&le.m(r,null),e(i,k),e(i,_),e(_,O),e(O,b),e(O,T),e(O,q),e(q,M),e(M,ve),e(q,re),e(q,Xe),e(Xe,X),e(_,pe),e(_,be),e(be,de),e(be,K),e(be,te),e(te,Ze),e(a,Z),e(a,ce),A&&A.m(ce,null),Ne=!0,me||(ne=Me(be,"click",t[6]),me=!0)},p(z,[J]){var ee,rt,kt,ot,qe,Ce,Ae,St,fe,ze,P;if((!Ne||J&2)&&y!==(y=((kt=(rt=(ee=z[1])==null?void 0:ee.ui)==null?void 0:rt.navbar)==null?void 0:kt.account_overview_text)+"")&&j(C,y),J&25){_e=z[3];let V;for(V=0;V<_e.length;V+=1){const Pe=os(z,_e,V);ae[V]?ae[V].p(Pe,J):(ae[V]=ss(Pe),ae[V].c(),ae[V].m(G,null))}for(;V<ae.length;V+=1)ae[V].d(1);ae.length=_e.length}(ot=z[1])!=null&&ot.creditScore.enabled?le?(le.p(z,J),J&2&&ie(le,1)):(le=cs(z),le.c(),ie(le,1),le.m(r,null)):le&&(Ma(),je(le,1,1,()=>{le=null}),Ia()),(!Ne||J&4)&&I!==(I=(((qe=z[2])==null?void 0:qe.CHARACTER_NAME)||"N/A")+"")&&j(ve,I),(!Ne||J&2)&&U!==(U=((St=(Ae=(Ce=z[1])==null?void 0:Ce.ui)==null?void 0:Ae.navbar)==null?void 0:St.account_text)+"")&&j(X,U),(!Ne||J&2)&&Te!==(Te=((P=(ze=(fe=z[1])==null?void 0:fe.ui)==null?void 0:ze.navbar)==null?void 0:P.logout)+"")&&j(Ze,Te),z[3][z[0]].component?A?(A.p(z,J),J&1&&ie(A,1)):(A=fs(z),A.c(),ie(A,1),A.m(ce,null)):A&&(Ma(),je(A,1,1,()=>{A=null}),Ia())},i(z){Ne||(ie(le),ie(A),Ba(()=>{H&&H.end(1),mt=As(l,Lo,{}),mt.start()}),Ne=!0)},o(z){je(le),je(A),mt&&mt.invalidate(),H=Vs(l,Lo,{}),Ne=!1},d(z){z&&L(l),dl(ae,z),le&&le.d(),A&&A.d(),z&&H&&H.end(),me=!1,ne()}}}function Lc(t,l,a){var w,g,m,y,C,E,G,x,k;let i,r;Ul(t,Wa,_=>a(1,i=_
|