From 3dc5eac14234d94ffb64eb9dc0bc76cb4afc67ea Mon Sep 17 00:00:00 2001 From: Mehdi Keramati <0mehdikeramati1@gmail.com> Date: Sun, 7 Jul 2024 17:19:49 +0330 Subject: [PATCH] Updates --- CNAME | 2 +- .../assets/{6.DqK10FiS.css => 5.DqK10FiS.css} | 0 .../assets/{5.uJChiP64.css => 6.uJChiP64.css} | 0 _app/immutable/chunks/entry.BEN5_t0H.js | 3 +++ _app/immutable/chunks/entry.BVmyFewJ.js | 3 --- .../{index.DjxkV331.js => index.BtHB-9dK.js} | 2 +- ...{stores.DLOrusQa.js => stores.Bz_EqLBn.js} | 2 +- _app/immutable/entry/app.-j4xBUZe.js | 2 ++ _app/immutable/entry/app.B7vGSne3.js | 2 -- _app/immutable/entry/start.B8o4ajuc.js | 1 - _app/immutable/entry/start.pFgbuXPZ.js | 1 + .../nodes/{0.ClrXdn1j.js => 0.DEtatf0q.js} | 2 +- .../nodes/{1.-6Kl80CZ.js => 1.DIpoJ4l4.js} | 2 +- .../nodes/{2.Bfv3mpcf.js => 2.DOheyr6-.js} | 2 +- .../nodes/{3.D2Dj-l0f.js => 3.7qNFY3n8.js} | 2 +- .../nodes/{4.CCkwWgbP.js => 4.B09vOBjP.js} | 2 +- .../nodes/{6.C-btDOM9.js => 5.B04IZcq5.js} | 2 +- .../nodes/{5.BHAAO1Ht.js => 6.CUgy3Jt2.js} | 2 +- _app/version.json | 2 +- about.html | 20 ++++++++-------- contact.html | 20 ++++++++-------- index.html | 20 ++++++++-------- showcase.html => projects.html | 24 +++++++++---------- service.html | 24 +++++++++---------- 24 files changed, 71 insertions(+), 71 deletions(-) rename _app/immutable/assets/{6.DqK10FiS.css => 5.DqK10FiS.css} (100%) rename _app/immutable/assets/{5.uJChiP64.css => 6.uJChiP64.css} (100%) create mode 100644 _app/immutable/chunks/entry.BEN5_t0H.js delete mode 100644 _app/immutable/chunks/entry.BVmyFewJ.js rename _app/immutable/chunks/{index.DjxkV331.js => index.BtHB-9dK.js} (99%) rename _app/immutable/chunks/{stores.DLOrusQa.js => stores.Bz_EqLBn.js} (72%) create mode 100644 _app/immutable/entry/app.-j4xBUZe.js delete mode 100644 _app/immutable/entry/app.B7vGSne3.js delete mode 100644 _app/immutable/entry/start.B8o4ajuc.js create mode 100644 _app/immutable/entry/start.pFgbuXPZ.js rename _app/immutable/nodes/{0.ClrXdn1j.js => 0.DEtatf0q.js} (99%) rename _app/immutable/nodes/{1.-6Kl80CZ.js => 1.DIpoJ4l4.js} (92%) rename _app/immutable/nodes/{2.Bfv3mpcf.js => 2.DOheyr6-.js} (99%) rename _app/immutable/nodes/{3.D2Dj-l0f.js => 3.7qNFY3n8.js} (98%) rename _app/immutable/nodes/{4.CCkwWgbP.js => 4.B09vOBjP.js} (99%) rename _app/immutable/nodes/{6.C-btDOM9.js => 5.B04IZcq5.js} (99%) rename _app/immutable/nodes/{5.BHAAO1Ht.js => 6.CUgy3Jt2.js} (99%) rename showcase.html => projects.html (88%) diff --git a/CNAME b/CNAME index 9fa3085..8a522dd 100644 --- a/CNAME +++ b/CNAME @@ -1 +1 @@ -mehdikeramati.ir \ No newline at end of file +mehdikeramati.ir diff --git a/_app/immutable/assets/6.DqK10FiS.css b/_app/immutable/assets/5.DqK10FiS.css similarity index 100% rename from _app/immutable/assets/6.DqK10FiS.css rename to _app/immutable/assets/5.DqK10FiS.css diff --git a/_app/immutable/assets/5.uJChiP64.css b/_app/immutable/assets/6.uJChiP64.css similarity index 100% rename from _app/immutable/assets/5.uJChiP64.css rename to _app/immutable/assets/6.uJChiP64.css diff --git a/_app/immutable/chunks/entry.BEN5_t0H.js b/_app/immutable/chunks/entry.BEN5_t0H.js new file mode 100644 index 0000000..3ff941e --- /dev/null +++ b/_app/immutable/chunks/entry.BEN5_t0H.js @@ -0,0 +1,3 @@ +import{I as it}from"./scheduler.BR2Oiuok.js";import{w as pe}from"./index.MvJOTdOj.js";new URL("sveltekit-internal://");function ct(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function lt(e){return e.split("%25").map(decodeURI).join("%25")}function ft(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function ce({href:e}){return e.split("#")[0]}const ut=["href","pathname","search","toString","toJSON"];function dt(e,n,t){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return s=>(t(s),r[o](s));n();const i=Reflect.get(r,o);return typeof i=="function"?i.bind(r):i}}),enumerable:!0,configurable:!0});for(const r of ut)Object.defineProperty(a,r,{get(){return n(),e[r]},enumerable:!0,configurable:!0});return a}const ht="/__data.json",pt=".html__data.json";function gt(e){return e.endsWith(".html")?e.replace(/\.html$/,pt):e.replace(/\/$/,"")+ht}function mt(...e){let n=5381;for(const t of e)if(typeof t=="string"){let a=t.length;for(;a;)n=n*33^t.charCodeAt(--a)}else if(ArrayBuffer.isView(t)){const a=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);let r=a.length;for(;r;)n=n*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function _t(e){const n=atob(e),t=new Uint8Array(n.length);for(let a=0;a((e instanceof Request?e.method:(n==null?void 0:n.method)||"GET")!=="GET"&&q.delete(ge(e)),$e(e,n));const q=new Map;function yt(e,n){const t=ge(e,n),a=document.querySelector(t);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const i=a.getAttribute("data-ttl");return i&&q.set(t,{body:r,init:o,ttl:1e3*Number(i)}),a.getAttribute("data-b64")!==null&&(r=_t(r)),Promise.resolve(new Response(r,o))}return window.fetch(e,n)}function wt(e,n,t){if(q.size>0){const a=ge(e,t),r=q.get(a);if(r){if(performance.now(){const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return n.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const i=a.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return le(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return le(String.fromCharCode(...c.slice(2).split("-").map(l=>parseInt(l,16))));const u=vt.exec(c),[,h,g,d,_]=u;return n.push({name:d,matcher:_,optional:!!h,rest:!!g,chained:g?f===1&&i[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return le(c)}).join("")}).join("")}/?$`),params:n}}function Et(e){return!/^\([^)]+\)$/.test(e)}function kt(e){return e.slice(1).split("/").filter(Et)}function St(e,n,t){const a={},r=e.slice(1),o=r.filter(s=>s!==void 0);let i=0;for(let s=0;su).join("/"),i=0),f===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||t[c.matcher](f)){a[c.name]=f;const u=n[s+1],h=r[s+1];u&&!u.rest&&u.optional&&h&&c.chained&&(i=0),!u&&!h&&Object.keys(a).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return a}function le(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function At({nodes:e,server_loads:n,dictionary:t,matchers:a}){const r=new Set(n);return Object.entries(t).map(([s,[c,f,u]])=>{const{pattern:h,params:g}=bt(s),d={id:s,exec:_=>{const l=h.exec(_);if(l)return St(l,g,a)},errors:[1,...u||[]].map(_=>e[_]),layouts:[0,...f||[]].map(i),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function i(s){return s===void 0?s:[r.has(s),e[s]]}}function Ce(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Ie(e,n,t=JSON.stringify){const a=t(n);try{sessionStorage[e]=a}catch{}}var je;const P=((je=globalThis.__sveltekit_1oe6dqr)==null?void 0:je.base)??"/portfolio";var De;const Rt=((De=globalThis.__sveltekit_1oe6dqr)==null?void 0:De.assets)??P,It="1720360182185",Ve="sveltekit:snapshot",Fe="sveltekit:scroll",qe="sveltekit:states",Lt="sveltekit:pageurl",D="sveltekit:history",M="sveltekit:navigation",J={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function Ge(e){if(e instanceof URL)return e;let n=document.baseURI;if(!n){const t=document.getElementsByTagName("base");n=t.length?t[0].href:document.URL}return new URL(e,n)}function me(){return{x:pageXOffset,y:pageYOffset}}function O(e,n){return e.getAttribute(`data-sveltekit-${n}`)}const Le={...J,"":J.hover};function Me(e){let n=e.assignedSlot??e.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function He(e,n){for(;e&&e!==n;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Me(e)}}function ue(e,n){let t;try{t=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,r=!t||!!a||ne(t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(t==null?void 0:t.origin)===K&&e.hasAttribute("download");return{url:t,external:r,target:a,download:o}}function W(e){let n=null,t=null,a=null,r=null,o=null,i=null,s=e;for(;s&&s!==document.documentElement;)a===null&&(a=O(s,"preload-code")),r===null&&(r=O(s,"preload-data")),n===null&&(n=O(s,"keepfocus")),t===null&&(t=O(s,"noscroll")),o===null&&(o=O(s,"reload")),i===null&&(i=O(s,"replacestate")),s=Me(s);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Le[a??"off"],preload_data:Le[r??"off"],keepfocus:c(n),noscroll:c(t),reload:c(o),replace_state:c(i)}}function Pe(e){const n=pe(e);let t=!0;function a(){t=!0,n.update(i=>i)}function r(i){t=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||t&&c!==s)&&i(s=c)})}return{notify:a,set:r,subscribe:o}}function Pt(){const{set:e,subscribe:n}=pe(!1);let t;async function a(){clearTimeout(t);try{const r=await fetch(`${Rt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const i=(await r.json()).version!==It;return i&&(e(!0),clearTimeout(t)),i}catch{return!1}}return{subscribe:n,check:a}}function ne(e,n){return e.origin!==K||!e.pathname.startsWith(n)}const Tt=-1,Ut=-2,xt=-3,Nt=-4,Ot=-5,jt=-6;function Dt(e,n){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const t=e,a=Array(t.length);function r(o,i=!1){if(o===Tt)return;if(o===xt)return NaN;if(o===Nt)return 1/0;if(o===Ot)return-1/0;if(o===jt)return-0;if(i)throw new Error("Invalid input");if(o in a)return a[o];const s=t[o];if(!s||typeof s!="object")a[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],f=n==null?void 0:n[c];if(f)return a[o]=f(r(s[1]));switch(c){case"Date":a[o]=new Date(s[1]);break;case"Set":const u=new Set;a[o]=u;for(let d=1;dn!=null)}class ae{constructor(n,t){this.status=n,typeof t=="string"?this.body={message:t}:t?this.body=t:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class Ke{constructor(n,t){this.status=n,this.location=t}}class _e extends Error{constructor(n,t,a){super(a),this.status=n,this.text=t}}const Vt="x-sveltekit-invalidated",Ft="x-sveltekit-trailing-slash";function z(e){return e instanceof ae||e instanceof _e?e.status:500}function qt(e){return e instanceof _e?e.text:"Internal Error"}const N=Ce(Fe)??{},H=Ce(Ve)??{},U={url:Pe({}),page:Pe({}),navigating:pe(null),updated:Pt()};function ye(e){N[e]=me()}function Gt(e,n){let t=e+1;for(;N[t];)delete N[t],t+=1;for(t=n+1;H[t];)delete H[t],t+=1}function C(e){return location.href=e.href,new Promise(()=>{})}function Te(){}let re,de,X,T,he,V;const Ye=[],Z=[];let R=null;const Je=[],Mt=[];let j=[],y={branch:[],error:null,url:null},we=!1,Q=!1,Ue=!0,B=!1,F=!1,We=!1,ve=!1,be,S,L,I,ee;const G=new Set;async function tn(e,n,t){var r,o;document.URL!==location.href&&(location.href=location.href),V=e,re=At(e),T=document.documentElement,he=n,de=e.nodes[0],X=e.nodes[1],de(),X(),S=(r=history.state)==null?void 0:r[D],L=(o=history.state)==null?void 0:o[M],S||(S=L=Date.now(),history.replaceState({...history.state,[D]:S,[M]:L},""));const a=N[S];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),t?await Xt(he,t):Wt(location.href,{replaceState:!0}),zt()}function Ht(){Ye.length=0,ve=!1}function ze(e){Z.some(n=>n==null?void 0:n.snapshot)&&(H[e]=Z.map(n=>{var t;return(t=n==null?void 0:n.snapshot)==null?void 0:t.capture()}))}function Xe(e){var n;(n=H[e])==null||n.forEach((t,a)=>{var r,o;(o=(r=Z[a])==null?void 0:r.snapshot)==null||o.restore(t)})}function xe(){ye(S),Ie(Fe,N),ze(L),Ie(Ve,H)}async function Ze(e,n,t,a){return Y({type:"goto",url:Ge(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:t,nav_token:a,accept:()=>{n.invalidateAll&&(ve=!0)}})}async function Bt(e){if(e.id!==(R==null?void 0:R.id)){const n={};G.add(n),R={id:e.id,token:n,promise:et({...e,preload:n}).then(t=>(G.delete(n),t.type==="loaded"&&t.state.error&&(R=null),t))}}return R.promise}async function fe(e){const n=re.find(t=>t.exec(tt(e)));n&&await Promise.all([...n.layouts,n.leaf].map(t=>t==null?void 0:t[1]()))}function Qe(e,n,t){var o;y=e.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=e.props.page,be=new V.root({target:n,props:{...e.props,stores:U,components:Z},hydrate:t}),Xe(L);const r={from:null,to:{params:y.params,route:{id:((o=y.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};j.forEach(i=>i(r)),Q=!0}function te({url:e,params:n,branch:t,status:a,error:r,route:o,form:i}){let s="never";if(P&&(e.pathname===P||e.pathname===P+"/"))s="always";else for(const d of t)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);e.pathname=ct(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:n,branch:t,error:r,route:o},props:{constructors:Ct(t).map(d=>d.node.component),page:I}};i!==void 0&&(c.props.form=i);let f={},u=!I,h=0;for(let d=0;d(s&&(c.route=!0),l[m])}),params:new Proxy(a,{get:(l,m)=>(s&&c.params.add(m),l[m])}),data:(o==null?void 0:o.data)??null,url:dt(t,()=>{s&&(c.url=!0)},l=>{s&&c.search_params.add(l)}),async fetch(l,m){let b;l instanceof Request?(b=l.url,m={body:l.method==="GET"||l.method==="HEAD"?void 0:await l.blob(),cache:l.cache,credentials:l.credentials,headers:l.headers,integrity:l.integrity,keepalive:l.keepalive,method:l.method,mode:l.mode,redirect:l.redirect,referrer:l.referrer,referrerPolicy:l.referrerPolicy,signal:l.signal,...m}):b=l;const A=new URL(b,t);return s&&d(A.href),A.origin===t.origin&&(b=A.href.slice(t.origin.length)),Q?wt(b,A.href,m):yt(b,m)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),n()},untrack(l){s=!1;try{return l()}finally{s=!0}}};i=await f.universal.load.call(null,_)??null}return{node:f,loader:e,server:o,universal:(h=f.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((g=f.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function Ne(e,n,t,a,r,o){if(ve)return!0;if(!r)return!1;if(r.parent&&e||r.route&&n||r.url&&t)return!0;for(const i of r.search_params)if(a.has(i))return!0;for(const i of r.params)if(o[i]!==y.params[i])return!0;for(const i of r.dependencies)if(Ye.some(s=>s(new URL(i))))return!0;return!1}function ke(e,n){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?n??null:null}function Kt(e,n){if(!e)return new Set(n.searchParams.keys());const t=new Set([...e.searchParams.keys(),...n.searchParams.keys()]);for(const a of t){const r=e.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(i=>o.includes(i))&&o.every(i=>r.includes(i))&&t.delete(a)}return t}function Oe({error:e,url:n,route:t,params:a}){return{type:"loaded",state:{error:e,url:n,route:t,params:a,branch:[]},props:{page:I,constructors:[]}}}async function et({id:e,invalidating:n,url:t,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===e)return G.delete(R.token),R.promise;const{errors:i,layouts:s,leaf:c}=r,f=[...s,c];i.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const h=y.url?e!==y.url.pathname+y.url.search:!1,g=y.route?r.id!==y.route.id:!1,d=Kt(y.url,t);let _=!1;const l=f.map((p,v)=>{var x;const E=y.branch[v],k=!!(p!=null&&p[0])&&((E==null?void 0:E.loader)!==p[1]||Ne(_,g,h,d,(x=E.server)==null?void 0:x.uses,a));return k&&(_=!0),k});if(l.some(Boolean)){try{u=await rt(t,l)}catch(p){const v=await $(p,{url:t,params:a,route:{id:e}});return G.has(o)?Oe({error:v,url:t,params:a,route:r}):oe({status:z(p),error:v,url:t,route:r})}if(u.type==="redirect")return u}const m=u==null?void 0:u.nodes;let b=!1;const A=f.map(async(p,v)=>{var se;if(!p)return;const E=y.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(E==null?void 0:E.loader)&&!Ne(b,g,h,d,(se=E.universal)==null?void 0:se.uses,a))return E;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return Ee({loader:p[1],url:t,params:a,route:r,parent:async()=>{var Re;const Ae={};for(let ie=0;ie{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:ke(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return te({url:t,params:r,branch:[s,c],status:e,error:n,route:null})}function Se(e,n){if(!e||ne(e,P))return;let t;try{t=V.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const a=tt(t);for(const r of re){const o=r.exec(a);if(o)return{id:e.pathname+e.search,invalidating:n,route:r,params:ft(o),url:e}}}function tt(e){return lt(e.slice(P.length)||"/")}function nt({url:e,type:n,intent:t,delta:a}){let r=!1;const o=st(y,t,e,n);a!==void 0&&(o.navigation.delta=a);const i={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return B||Je.forEach(s=>s(i)),r?null:o}async function Y({type:e,url:n,popped:t,keepfocus:a,noscroll:r,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:f=Te,block:u=Te}){const h=Se(n,!1),g=nt({url:n,type:e,delta:t==null?void 0:t.delta,intent:h});if(!g){u();return}const d=S,_=L;f(),B=!0,Q&&U.navigating.set(g.navigation),ee=c;let l=h&&await et(h);if(!l){if(ne(n,P))return await C(n);l=await at(n,{id:null},await $(new _e(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,ee!==c)return g.reject(new Error("navigation aborted")),!1;if(l.type==="redirect")if(s>=20)l=await oe({status:500,error:await $(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return Ze(new URL(l.location,n).href,{},s+1,c),!1;else l.props.page.status>=400&&await U.updated.check()&&await C(n);if(Ht(),ye(d),ze(_),l.props.page.url.pathname!==n.pathname&&(n.pathname=l.props.page.url.pathname),i=t?t.state:i,!t){const w=o?0:1,p={[D]:S+=w,[M]:L+=w,[qe]:i};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Gt(S,L)}if(R=null,l.props.page.state=i,Q){y=l.state,l.props.page&&(l.props.page.url=n);const w=(await Promise.all(Mt.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){j=j.filter(v=>!w.includes(v))};w.push(p),j.push(...w)}be.$set(l.props),We=!0}else Qe(l,he,!1);const{activeElement:m}=document;await it();const b=t?t.scroll:r?me():null;if(Ue){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!a&&!A&&Zt(),Ue=!0,l.props.page&&(I=l.props.page),B=!1,e==="popstate"&&Xe(L),g.fulfil(void 0),j.forEach(w=>w(g.navigation)),U.navigating.set(null)}async function at(e,n,t,a){return e.origin===K&&e.pathname===location.pathname&&!we?await oe({status:a,error:t,url:e,route:n}):await C(e)}function Jt(){let e;T.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(e),e=setTimeout(()=>{a(i,2)},20)});function n(o){a(o.composedPath()[0],1)}T.addEventListener("mousedown",n),T.addEventListener("touchstart",n,{passive:!0});const t=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(fe(i.target.href),t.unobserve(i.target))},{threshold:0});function a(o,i){const s=He(o,T);if(!s)return;const{url:c,external:f,download:u}=ue(s,P);if(f||u)return;const h=W(s);if(!h.reload)if(i<=h.preload_data){const g=Se(c,!1);g&&Bt(g)}else i<=h.preload_code&&fe(c.pathname)}function r(){t.disconnect();for(const o of T.querySelectorAll("a")){const{url:i,external:s,download:c}=ue(o,P);if(s||c)continue;const f=W(o);f.reload||(f.preload_code===J.viewport&&t.observe(o),f.preload_code===J.eager&&fe(i.pathname))}}j.push(r),r()}function $(e,n){if(e instanceof ae)return e.body;const t=z(e),a=qt(e);return V.hooks.handleError({error:e,event:n,status:t,message:a})??{message:a}}function Wt(e,n={}){return e=Ge(e),e.origin!==K?Promise.reject(new Error("goto: invalid URL")):Ze(e,n,0)}function zt(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let a=!1;if(xe(),!B){const r=st(y,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Je.forEach(i=>i(o))}a?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&xe()}),(n=navigator.connection)!=null&&n.saveData||Jt(),T.addEventListener("click",async t=>{var g;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const a=He(t.composedPath()[0],T);if(!a)return;const{url:r,external:o,target:i,download:s}=ue(a,P);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=W(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;if(o||c.reload){nt({url:r,type:"link"})?B=!0:t.preventDefault();return}const[u,h]=r.href.split("#");if(h!==void 0&&u===ce(location)){const[,d]=y.url.href.split("#");if(d===h){t.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=a.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(F=!0,ye(S),e(r),!c.replace_state)return;F=!1}t.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),Y({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),T.addEventListener("submit",t=>{if(t.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if(((r==null?void 0:r.formMethod)||a.method)!=="get")return;const i=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(ne(i,P))return;const s=t.target,c=W(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(s),u=r==null?void 0:r.getAttribute("name");u&&f.append(u,(r==null?void 0:r.getAttribute("value"))??""),i.search=new URLSearchParams(f).toString(),Y({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async t=>{var a;if((a=t.state)!=null&&a[D]){const r=t.state[D];if(ee={},r===S)return;const o=N[r],i=t.state[qe]??{},s=new URL(t.state[Lt]??location.href),c=t.state[M],f=ce(location)===ce(y.url);if(c===L&&(We||f)){e(s),N[S]=me(),o&&scrollTo(o.x,o.y),i!==I.state&&(I={...I,state:i},be.$set({page:I})),S=r;return}const h=r-S;await Y({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{S=r,L=c},block:()=>{history.go(-h)},nav_token:ee})}else if(!F){const r=new URL(location.href);e(r)}}),addEventListener("hashchange",()=>{F&&(F=!1,history.replaceState({...history.state,[D]:++S,[M]:L},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&U.navigating.set(null)});function e(t){y.url=t,U.page.set({...I,url:t}),U.page.notify()}}async function Xt(e,{status:n=200,error:t,node_ids:a,params:r,route:o,data:i,form:s}){we=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Se(c,!1)||{});let f;try{const u=a.map(async(d,_)=>{const l=i[_];return l!=null&&l.uses&&(l.uses=ot(l.uses)),Ee({loader:V.nodes[d],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;b<_;b+=1)Object.assign(m,(await u[b]).data);return m},server_data_node:ke(l)})}),h=await Promise.all(u),g=re.find(({id:d})=>d===o.id);if(g){const d=g.layouts;for(let _=0;_o?"1":"0").join(""));const a=await $e(t.href);if(!a.ok){let o;throw(r=a.headers.get("content-type"))!=null&&r.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new ae(a.status,o)}return new Promise(async o=>{var h;const i=new Map,s=a.body.getReader(),c=new TextDecoder;function f(g){return Dt(g,{Promise:d=>new Promise((_,l)=>{i.set(d,{fulfil:_,reject:l})})})}let u="";for(;;){const{done:g,value:d}=await s.read();if(g&&!u)break;for(u+=!d&&u?` +`:c.decode(d,{stream:!0});;){const _=u.indexOf(` +`);if(_===-1)break;const l=JSON.parse(u.slice(0,_));if(u=u.slice(_+1),l.type==="redirect")return o(l);if(l.type==="data")(h=l.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=ot(m.uses),m.data=f(m.data))}),o(l);else if(l.type==="chunk"){const{id:m,data:b,error:A}=l,w=i.get(m);i.delete(m),A?w.reject(f(A)):w.fulfil(f(b))}}}})}function ot(e){return{dependencies:new Set((e==null?void 0:e.dependencies)??[]),params:new Set((e==null?void 0:e.params)??[]),parent:!!(e!=null&&e.parent),route:!!(e!=null&&e.route),url:!!(e!=null&&e.url),search_params:new Set((e==null?void 0:e.search_params)??[])}}function Zt(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const n=document.body,t=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),t!==null?n.setAttribute("tabindex",t):n.removeAttribute("tabindex");const a=getSelection();if(a&&a.type!=="None"){const r=[];for(let o=0;o{if(a.rangeCount===r.length){for(let o=0;o{r=u,o=h});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((c=e.route)==null?void 0:c.id)??null},url:e.url},to:t&&{params:(n==null?void 0:n.params)??null,route:{id:((f=n==null?void 0:n.route)==null?void 0:f.id)??null},url:t},willUnload:!n,type:a,complete:i},fulfil:r,reject:o}}export{tn as a,P as b,U as s}; diff --git a/_app/immutable/chunks/entry.BVmyFewJ.js b/_app/immutable/chunks/entry.BVmyFewJ.js deleted file mode 100644 index 78e69a3..0000000 --- a/_app/immutable/chunks/entry.BVmyFewJ.js +++ /dev/null @@ -1,3 +0,0 @@ -import{I as ie}from"./scheduler.BR2Oiuok.js";import{w as pt}from"./index.MvJOTdOj.js";new URL("sveltekit-internal://");function ce(t,n){return t==="/"||n==="ignore"?t:n==="never"?t.endsWith("/")?t.slice(0,-1):t:n==="always"&&!t.endsWith("/")?t+"/":t}function le(t){return t.split("%25").map(decodeURI).join("%25")}function fe(t){for(const n in t)t[n]=decodeURIComponent(t[n]);return t}function ct({href:t}){return t.split("#")[0]}const ue=["href","pathname","search","toString","toJSON"];function de(t,n,e){const a=new URL(t);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return s=>(e(s),r[o](s));n();const i=Reflect.get(r,o);return typeof i=="function"?i.bind(r):i}}),enumerable:!0,configurable:!0});for(const r of ue)Object.defineProperty(a,r,{get(){return n(),t[r]},enumerable:!0,configurable:!0});return a}const he="/__data.json",pe=".html__data.json";function ge(t){return t.endsWith(".html")?t.replace(/\.html$/,pe):t.replace(/\/$/,"")+he}function me(...t){let n=5381;for(const e of t)if(typeof e=="string"){let a=e.length;for(;a;)n=n*33^e.charCodeAt(--a)}else if(ArrayBuffer.isView(e)){const a=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);let r=a.length;for(;r;)n=n*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function _e(t){const n=atob(t),e=new Uint8Array(n.length);for(let a=0;a((t instanceof Request?t.method:(n==null?void 0:n.method)||"GET")!=="GET"&&q.delete(gt(t)),$t(t,n));const q=new Map;function ye(t,n){const e=gt(t,n),a=document.querySelector(e);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const i=a.getAttribute("data-ttl");return i&&q.set(e,{body:r,init:o,ttl:1e3*Number(i)}),a.getAttribute("data-b64")!==null&&(r=_e(r)),Promise.resolve(new Response(r,o))}return window.fetch(t,n)}function we(t,n,e){if(q.size>0){const a=gt(t,e),r=q.get(a);if(r){if(performance.now(){const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return n.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const i=a.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return lt(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return lt(String.fromCharCode(...c.slice(2).split("-").map(l=>parseInt(l,16))));const u=ve.exec(c),[,h,g,d,_]=u;return n.push({name:d,matcher:_,optional:!!h,rest:!!g,chained:g?f===1&&i[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return lt(c)}).join("")}).join("")}/?$`),params:n}}function ke(t){return!/^\([^)]+\)$/.test(t)}function Ee(t){return t.slice(1).split("/").filter(ke)}function Se(t,n,e){const a={},r=t.slice(1),o=r.filter(s=>s!==void 0);let i=0;for(let s=0;su).join("/"),i=0),f===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||e[c.matcher](f)){a[c.name]=f;const u=n[s+1],h=r[s+1];u&&!u.rest&&u.optional&&h&&c.chained&&(i=0),!u&&!h&&Object.keys(a).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return a}function lt(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ae({nodes:t,server_loads:n,dictionary:e,matchers:a}){const r=new Set(n);return Object.entries(e).map(([s,[c,f,u]])=>{const{pattern:h,params:g}=be(s),d={id:s,exec:_=>{const l=h.exec(_);if(l)return Se(l,g,a)},errors:[1,...u||[]].map(_=>t[_]),layouts:[0,...f||[]].map(i),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const c=s<0;return c&&(s=~s),[c,t[s]]}function i(s){return s===void 0?s:[r.has(s),t[s]]}}function Ct(t,n=JSON.parse){try{return n(sessionStorage[t])}catch{}}function It(t,n,e=JSON.stringify){const a=e(n);try{sessionStorage[t]=a}catch{}}var jt;const P=((jt=globalThis.__sveltekit_1w6tk0s)==null?void 0:jt.base)??"/portfolio";var Dt;const Re=((Dt=globalThis.__sveltekit_1w6tk0s)==null?void 0:Dt.assets)??P,Ie="1720359815295",Vt="sveltekit:snapshot",Ft="sveltekit:scroll",qt="sveltekit:states",Le="sveltekit:pageurl",D="sveltekit:history",M="sveltekit:navigation",J={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function Gt(t){if(t instanceof URL)return t;let n=document.baseURI;if(!n){const e=document.getElementsByTagName("base");n=e.length?e[0].href:document.URL}return new URL(t,n)}function mt(){return{x:pageXOffset,y:pageYOffset}}function O(t,n){return t.getAttribute(`data-sveltekit-${n}`)}const Lt={...J,"":J.hover};function Mt(t){let n=t.assignedSlot??t.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function Ht(t,n){for(;t&&t!==n;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=Mt(t)}}function ut(t,n){let e;try{e=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI)}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,r=!e||!!a||nt(e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(e==null?void 0:e.origin)===K&&t.hasAttribute("download");return{url:e,external:r,target:a,download:o}}function W(t){let n=null,e=null,a=null,r=null,o=null,i=null,s=t;for(;s&&s!==document.documentElement;)a===null&&(a=O(s,"preload-code")),r===null&&(r=O(s,"preload-data")),n===null&&(n=O(s,"keepfocus")),e===null&&(e=O(s,"noscroll")),o===null&&(o=O(s,"reload")),i===null&&(i=O(s,"replacestate")),s=Mt(s);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Lt[a??"off"],preload_data:Lt[r??"off"],keepfocus:c(n),noscroll:c(e),reload:c(o),replace_state:c(i)}}function Pt(t){const n=pt(t);let e=!0;function a(){e=!0,n.update(i=>i)}function r(i){e=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||e&&c!==s)&&i(s=c)})}return{notify:a,set:r,subscribe:o}}function Pe(){const{set:t,subscribe:n}=pt(!1);let e;async function a(){clearTimeout(e);try{const r=await fetch(`${Re}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const i=(await r.json()).version!==Ie;return i&&(t(!0),clearTimeout(e)),i}catch{return!1}}return{subscribe:n,check:a}}function nt(t,n){return t.origin!==K||!t.pathname.startsWith(n)}const Te=-1,Ue=-2,xe=-3,Ne=-4,Oe=-5,je=-6;function De(t,n){if(typeof t=="number")return r(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const e=t,a=Array(e.length);function r(o,i=!1){if(o===Te)return;if(o===xe)return NaN;if(o===Ne)return 1/0;if(o===Oe)return-1/0;if(o===je)return-0;if(i)throw new Error("Invalid input");if(o in a)return a[o];const s=e[o];if(!s||typeof s!="object")a[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],f=n==null?void 0:n[c];if(f)return a[o]=f(r(s[1]));switch(c){case"Date":a[o]=new Date(s[1]);break;case"Set":const u=new Set;a[o]=u;for(let d=1;dn!=null)}class at{constructor(n,e){this.status=n,typeof e=="string"?this.body={message:e}:e?this.body=e:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class Kt{constructor(n,e){this.status=n,this.location=e}}class _t extends Error{constructor(n,e,a){super(a),this.status=n,this.text=e}}const Ve="x-sveltekit-invalidated",Fe="x-sveltekit-trailing-slash";function z(t){return t instanceof at||t instanceof _t?t.status:500}function qe(t){return t instanceof _t?t.text:"Internal Error"}const N=Ct(Ft)??{},H=Ct(Vt)??{},U={url:Pt({}),page:Pt({}),navigating:pt(null),updated:Pe()};function yt(t){N[t]=mt()}function Ge(t,n){let e=t+1;for(;N[e];)delete N[e],e+=1;for(e=n+1;H[e];)delete H[e],e+=1}function C(t){return location.href=t.href,new Promise(()=>{})}function Tt(){}let rt,dt,X,T,ht,V;const Yt=[],Z=[];let R=null;const Jt=[],Me=[];let j=[],y={branch:[],error:null,url:null},wt=!1,Q=!1,Ut=!0,B=!1,F=!1,Wt=!1,vt=!1,bt,S,L,I,tt;const G=new Set;async function en(t,n,e){var r,o;document.URL!==location.href&&(location.href=location.href),V=t,rt=Ae(t),T=document.documentElement,ht=n,dt=t.nodes[0],X=t.nodes[1],dt(),X(),S=(r=history.state)==null?void 0:r[D],L=(o=history.state)==null?void 0:o[M],S||(S=L=Date.now(),history.replaceState({...history.state,[D]:S,[M]:L},""));const a=N[S];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),e?await Xe(ht,e):We(location.href,{replaceState:!0}),ze()}function He(){Yt.length=0,vt=!1}function zt(t){Z.some(n=>n==null?void 0:n.snapshot)&&(H[t]=Z.map(n=>{var e;return(e=n==null?void 0:n.snapshot)==null?void 0:e.capture()}))}function Xt(t){var n;(n=H[t])==null||n.forEach((e,a)=>{var r,o;(o=(r=Z[a])==null?void 0:r.snapshot)==null||o.restore(e)})}function xt(){yt(S),It(Ft,N),zt(L),It(Vt,H)}async function Zt(t,n,e,a){return Y({type:"goto",url:Gt(t),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:e,nav_token:a,accept:()=>{n.invalidateAll&&(vt=!0)}})}async function Be(t){if(t.id!==(R==null?void 0:R.id)){const n={};G.add(n),R={id:t.id,token:n,promise:te({...t,preload:n}).then(e=>(G.delete(n),e.type==="loaded"&&e.state.error&&(R=null),e))}}return R.promise}async function ft(t){const n=rt.find(e=>e.exec(ee(t)));n&&await Promise.all([...n.layouts,n.leaf].map(e=>e==null?void 0:e[1]()))}function Qt(t,n,e){var o;y=t.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=t.props.page,bt=new V.root({target:n,props:{...t.props,stores:U,components:Z},hydrate:e}),Xt(L);const r={from:null,to:{params:y.params,route:{id:((o=y.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};j.forEach(i=>i(r)),Q=!0}function et({url:t,params:n,branch:e,status:a,error:r,route:o,form:i}){let s="never";if(P&&(t.pathname===P||t.pathname===P+"/"))s="always";else for(const d of e)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);t.pathname=ce(t.pathname,s),t.search=t.search;const c={type:"loaded",state:{url:t,params:n,branch:e,error:r,route:o},props:{constructors:Ce(e).map(d=>d.node.component),page:I}};i!==void 0&&(c.props.form=i);let f={},u=!I,h=0;for(let d=0;d(s&&(c.route=!0),l[m])}),params:new Proxy(a,{get:(l,m)=>(s&&c.params.add(m),l[m])}),data:(o==null?void 0:o.data)??null,url:de(e,()=>{s&&(c.url=!0)},l=>{s&&c.search_params.add(l)}),async fetch(l,m){let b;l instanceof Request?(b=l.url,m={body:l.method==="GET"||l.method==="HEAD"?void 0:await l.blob(),cache:l.cache,credentials:l.credentials,headers:l.headers,integrity:l.integrity,keepalive:l.keepalive,method:l.method,mode:l.mode,redirect:l.redirect,referrer:l.referrer,referrerPolicy:l.referrerPolicy,signal:l.signal,...m}):b=l;const A=new URL(b,e);return s&&d(A.href),A.origin===e.origin&&(b=A.href.slice(e.origin.length)),Q?we(b,A.href,m):ye(b,m)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),n()},untrack(l){s=!1;try{return l()}finally{s=!0}}};i=await f.universal.load.call(null,_)??null}return{node:f,loader:t,server:o,universal:(h=f.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((g=f.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function Nt(t,n,e,a,r,o){if(vt)return!0;if(!r)return!1;if(r.parent&&t||r.route&&n||r.url&&e)return!0;for(const i of r.search_params)if(a.has(i))return!0;for(const i of r.params)if(o[i]!==y.params[i])return!0;for(const i of r.dependencies)if(Yt.some(s=>s(new URL(i))))return!0;return!1}function Et(t,n){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?n??null:null}function Ke(t,n){if(!t)return new Set(n.searchParams.keys());const e=new Set([...t.searchParams.keys(),...n.searchParams.keys()]);for(const a of e){const r=t.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(i=>o.includes(i))&&o.every(i=>r.includes(i))&&e.delete(a)}return e}function Ot({error:t,url:n,route:e,params:a}){return{type:"loaded",state:{error:t,url:n,route:e,params:a,branch:[]},props:{page:I,constructors:[]}}}async function te({id:t,invalidating:n,url:e,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===t)return G.delete(R.token),R.promise;const{errors:i,layouts:s,leaf:c}=r,f=[...s,c];i.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const h=y.url?t!==y.url.pathname+y.url.search:!1,g=y.route?r.id!==y.route.id:!1,d=Ke(y.url,e);let _=!1;const l=f.map((p,v)=>{var x;const k=y.branch[v],E=!!(p!=null&&p[0])&&((k==null?void 0:k.loader)!==p[1]||Nt(_,g,h,d,(x=k.server)==null?void 0:x.uses,a));return E&&(_=!0),E});if(l.some(Boolean)){try{u=await re(e,l)}catch(p){const v=await $(p,{url:e,params:a,route:{id:t}});return G.has(o)?Ot({error:v,url:e,params:a,route:r}):ot({status:z(p),error:v,url:e,route:r})}if(u.type==="redirect")return u}const m=u==null?void 0:u.nodes;let b=!1;const A=f.map(async(p,v)=>{var st;if(!p)return;const k=y.branch[v],E=m==null?void 0:m[v];if((!E||E.type==="skip")&&p[1]===(k==null?void 0:k.loader)&&!Nt(b,g,h,d,(st=k.universal)==null?void 0:st.uses,a))return k;if(b=!0,(E==null?void 0:E.type)==="error")throw E;return kt({loader:p[1],url:e,params:a,route:r,parent:async()=>{var Rt;const At={};for(let it=0;it{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:Et(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return et({url:e,params:r,branch:[s,c],status:t,error:n,route:null})}function St(t,n){if(!t||nt(t,P))return;let e;try{e=V.hooks.reroute({url:new URL(t)})??t.pathname}catch{return}const a=ee(e);for(const r of rt){const o=r.exec(a);if(o)return{id:t.pathname+t.search,invalidating:n,route:r,params:fe(o),url:t}}}function ee(t){return le(t.slice(P.length)||"/")}function ne({url:t,type:n,intent:e,delta:a}){let r=!1;const o=se(y,e,t,n);a!==void 0&&(o.navigation.delta=a);const i={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return B||Jt.forEach(s=>s(i)),r?null:o}async function Y({type:t,url:n,popped:e,keepfocus:a,noscroll:r,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:f=Tt,block:u=Tt}){const h=St(n,!1),g=ne({url:n,type:t,delta:e==null?void 0:e.delta,intent:h});if(!g){u();return}const d=S,_=L;f(),B=!0,Q&&U.navigating.set(g.navigation),tt=c;let l=h&&await te(h);if(!l){if(nt(n,P))return await C(n);l=await ae(n,{id:null},await $(new _t(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,tt!==c)return g.reject(new Error("navigation aborted")),!1;if(l.type==="redirect")if(s>=20)l=await ot({status:500,error:await $(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return Zt(new URL(l.location,n).href,{},s+1,c),!1;else l.props.page.status>=400&&await U.updated.check()&&await C(n);if(He(),yt(d),zt(_),l.props.page.url.pathname!==n.pathname&&(n.pathname=l.props.page.url.pathname),i=e?e.state:i,!e){const w=o?0:1,p={[D]:S+=w,[M]:L+=w,[qt]:i};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Ge(S,L)}if(R=null,l.props.page.state=i,Q){y=l.state,l.props.page&&(l.props.page.url=n);const w=(await Promise.all(Me.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){j=j.filter(v=>!w.includes(v))};w.push(p),j.push(...w)}bt.$set(l.props),Wt=!0}else Qt(l,ht,!1);const{activeElement:m}=document;await ie();const b=e?e.scroll:r?mt():null;if(Ut){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!a&&!A&&Ze(),Ut=!0,l.props.page&&(I=l.props.page),B=!1,t==="popstate"&&Xt(L),g.fulfil(void 0),j.forEach(w=>w(g.navigation)),U.navigating.set(null)}async function ae(t,n,e,a){return t.origin===K&&t.pathname===location.pathname&&!wt?await ot({status:a,error:e,url:t,route:n}):await C(t)}function Je(){let t;T.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(t),t=setTimeout(()=>{a(i,2)},20)});function n(o){a(o.composedPath()[0],1)}T.addEventListener("mousedown",n),T.addEventListener("touchstart",n,{passive:!0});const e=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(ft(i.target.href),e.unobserve(i.target))},{threshold:0});function a(o,i){const s=Ht(o,T);if(!s)return;const{url:c,external:f,download:u}=ut(s,P);if(f||u)return;const h=W(s);if(!h.reload)if(i<=h.preload_data){const g=St(c,!1);g&&Be(g)}else i<=h.preload_code&&ft(c.pathname)}function r(){e.disconnect();for(const o of T.querySelectorAll("a")){const{url:i,external:s,download:c}=ut(o,P);if(s||c)continue;const f=W(o);f.reload||(f.preload_code===J.viewport&&e.observe(o),f.preload_code===J.eager&&ft(i.pathname))}}j.push(r),r()}function $(t,n){if(t instanceof at)return t.body;const e=z(t),a=qe(t);return V.hooks.handleError({error:t,event:n,status:e,message:a})??{message:a}}function We(t,n={}){return t=Gt(t),t.origin!==K?Promise.reject(new Error("goto: invalid URL")):Zt(t,n,0)}function ze(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{let a=!1;if(xt(),!B){const r=se(y,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Jt.forEach(i=>i(o))}a?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&xt()}),(n=navigator.connection)!=null&&n.saveData||Je(),T.addEventListener("click",async e=>{var g;if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const a=Ht(e.composedPath()[0],T);if(!a)return;const{url:r,external:o,target:i,download:s}=ut(a,P);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=W(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;if(o||c.reload){ne({url:r,type:"link"})?B=!0:e.preventDefault();return}const[u,h]=r.href.split("#");if(h!==void 0&&u===ct(location)){const[,d]=y.url.href.split("#");if(d===h){e.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=a.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(F=!0,yt(S),t(r),!c.replace_state)return;F=!1}e.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),Y({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),T.addEventListener("submit",e=>{if(e.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(e.target),r=e.submitter;if(((r==null?void 0:r.formMethod)||a.method)!=="get")return;const i=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(nt(i,P))return;const s=e.target,c=W(s);if(c.reload)return;e.preventDefault(),e.stopPropagation();const f=new FormData(s),u=r==null?void 0:r.getAttribute("name");u&&f.append(u,(r==null?void 0:r.getAttribute("value"))??""),i.search=new URLSearchParams(f).toString(),Y({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async e=>{var a;if((a=e.state)!=null&&a[D]){const r=e.state[D];if(tt={},r===S)return;const o=N[r],i=e.state[qt]??{},s=new URL(e.state[Le]??location.href),c=e.state[M],f=ct(location)===ct(y.url);if(c===L&&(Wt||f)){t(s),N[S]=mt(),o&&scrollTo(o.x,o.y),i!==I.state&&(I={...I,state:i},bt.$set({page:I})),S=r;return}const h=r-S;await Y({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{S=r,L=c},block:()=>{history.go(-h)},nav_token:tt})}else if(!F){const r=new URL(location.href);t(r)}}),addEventListener("hashchange",()=>{F&&(F=!1,history.replaceState({...history.state,[D]:++S,[M]:L},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&U.navigating.set(null)});function t(e){y.url=e,U.page.set({...I,url:e}),U.page.notify()}}async function Xe(t,{status:n=200,error:e,node_ids:a,params:r,route:o,data:i,form:s}){wt=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=St(c,!1)||{});let f;try{const u=a.map(async(d,_)=>{const l=i[_];return l!=null&&l.uses&&(l.uses=oe(l.uses)),kt({loader:V.nodes[d],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;b<_;b+=1)Object.assign(m,(await u[b]).data);return m},server_data_node:Et(l)})}),h=await Promise.all(u),g=rt.find(({id:d})=>d===o.id);if(g){const d=g.layouts;for(let _=0;_o?"1":"0").join(""));const a=await $t(e.href);if(!a.ok){let o;throw(r=a.headers.get("content-type"))!=null&&r.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new at(a.status,o)}return new Promise(async o=>{var h;const i=new Map,s=a.body.getReader(),c=new TextDecoder;function f(g){return De(g,{Promise:d=>new Promise((_,l)=>{i.set(d,{fulfil:_,reject:l})})})}let u="";for(;;){const{done:g,value:d}=await s.read();if(g&&!u)break;for(u+=!d&&u?` -`:c.decode(d,{stream:!0});;){const _=u.indexOf(` -`);if(_===-1)break;const l=JSON.parse(u.slice(0,_));if(u=u.slice(_+1),l.type==="redirect")return o(l);if(l.type==="data")(h=l.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=oe(m.uses),m.data=f(m.data))}),o(l);else if(l.type==="chunk"){const{id:m,data:b,error:A}=l,w=i.get(m);i.delete(m),A?w.reject(f(A)):w.fulfil(f(b))}}}})}function oe(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}function Ze(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const n=document.body,e=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),e!==null?n.setAttribute("tabindex",e):n.removeAttribute("tabindex");const a=getSelection();if(a&&a.type!=="None"){const r=[];for(let o=0;o{if(a.rangeCount===r.length){for(let o=0;o{r=u,o=h});return i.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:e&&{params:(n==null?void 0:n.params)??null,route:{id:((f=n==null?void 0:n.route)==null?void 0:f.id)??null},url:e},willUnload:!n,type:a,complete:i},fulfil:r,reject:o}}export{en as a,P as b,U as s}; diff --git a/_app/immutable/chunks/index.DjxkV331.js b/_app/immutable/chunks/index.BtHB-9dK.js similarity index 99% rename from _app/immutable/chunks/index.DjxkV331.js rename to _app/immutable/chunks/index.BtHB-9dK.js index 358528a..3e0f5e8 100644 --- a/_app/immutable/chunks/index.DjxkV331.js +++ b/_app/immutable/chunks/index.BtHB-9dK.js @@ -1 +1 @@ -import{w as ae}from"./index.MvJOTdOj.js";const fe={type:"logger",log(n){this.output("log",n)},warn(n){this.output("warn",n)},error(n){this.output("error",n)},output(n,e){console&&console[n]&&console[n].apply(console,e)}};class z{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||fe,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),i=0;i{this.observers[i]||(this.observers[i]=new Map);const s=this.observers[i].get(t)||0;this.observers[i].set(t,s+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s{let[o,l]=a;for(let c=0;c{let[o,l]=a;for(let c=0;c{n=i,e=s});return t.resolve=n,t.reject=e,t}function X(n){return n==null?"":""+n}function pe(n,e,t){n.forEach(i=>{e[i]&&(t[i]=e[i])})}const ge=/###/g;function E(n,e,t){function i(o){return o&&o.indexOf("###")>-1?o.replace(ge,"."):o}function s(){return!n||typeof n=="string"}const r=typeof e!="string"?e:e.split(".");let a=0;for(;a":">",'"':""","'":"'","/":"/"};function be(n){return typeof n=="string"?n.replace(/[&<>"'\/]/g,e=>me[e]):n}class Se{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(t!==void 0)return t;const i=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,i),this.regExpQueue.push(e),i}}const ye=[" ",",","?","!",";"],ve=new Se(20);function xe(n,e,t){e=e||"",t=t||"";const i=ye.filter(a=>e.indexOf(a)<0&&t.indexOf(a)<0);if(i.length===0)return!0;const s=ve.getRegExp(`(${i.map(a=>a==="?"?"\\?":a).join("|")})`);let r=!s.test(n);if(!r){const a=n.indexOf(t);a>0&&!s.test(n.substring(0,a))&&(r=!0)}return r}function W(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!n)return;if(n[e])return n[e];const i=e.split(t);let s=n;for(let r=0;r-1&&l0?n.replace("_","-"):n}class _ extends H{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const r=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,a=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let o;e.indexOf(".")>-1?o=e.split("."):(o=[e,t],i&&(Array.isArray(i)?o.push(...i):typeof i=="string"&&r?o.push(...i.split(r)):o.push(i)));const l=V(this.data,o);return!l&&!t&&!i&&e.indexOf(".")>-1&&(e=o[0],t=o[1],i=o.slice(2).join(".")),l||!a||typeof i!="string"?l:W(this.data&&this.data[e]&&this.data[e][t],i,r)}addResource(e,t,i,s){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let o=[e,t];i&&(o=o.concat(a?i.split(a):i)),e.indexOf(".")>-1&&(o=e.split("."),s=t,t=o[1]),this.addNamespaces(t),Z(this.data,o,s),r.silent||this.emit("added",e,t,i,s)}addResources(e,t,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const r in i)(typeof i[r]=="string"||Array.isArray(i[r]))&&this.addResource(e,t,r,i[r],{silent:!0});s.silent||this.emit("added",e,t,i)}addResourceBundle(e,t,i,s,r){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),s=i,i=t,t=o[1]),this.addNamespaces(t);let l=V(this.data,o)||{};a.skipCopy||(i=JSON.parse(JSON.stringify(i))),s?oe(l,i,r):l={...l,...i},Z(this.data,o,l),a.silent||this.emit("added",e,t,i)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(s=>t[s]&&Object.keys(t[s]).length>0)}toJSON(){return this.data}}var le={processors:{},addPostProcessor(n){this.processors[n.name]=n},handle(n,e,t,i,s){return n.forEach(r=>{this.processors[r]&&(e=this.processors[r].process(e,t,i,s))}),e}};const ee={};class J extends H{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),pe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=k.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const i=this.resolve(e,t);return i&&i.res!==void 0}extractFromKey(e,t){let i=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const s=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let r=t.ns||this.options.defaultNS||[];const a=i&&e.indexOf(i)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!xe(e,i,s);if(a&&!o){const l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:r};const c=e.split(i);(i!==s||i===s&&this.options.ns.indexOf(c[0])>-1)&&(r=c.shift()),e=c.join(s)}return typeof r=="string"&&(r=[r]),{key:e,namespaces:r}}translate(e,t,i){if(typeof t!="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),typeof t=="object"&&(t={...t}),t||(t={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const s=t.returnDetails!==void 0?t.returnDetails:this.options.returnDetails,r=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:a,namespaces:o}=this.extractFromKey(e[e.length-1],t),l=o[o.length-1],c=t.lng||this.language,f=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&c.toLowerCase()==="cimode"){if(f){const b=t.nsSeparator||this.options.nsSeparator;return s?{res:`${l}${b}${a}`,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:`${l}${b}${a}`}return s?{res:a,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:a}const p=this.resolve(e,t);let u=p&&p.res;const d=p&&p.usedKey||a,g=p&&p.exactUsedKey||a,m=Object.prototype.toString.apply(u),h=["[object Number]","[object Function]","[object RegExp]"],v=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject;if(S&&u&&(typeof u!="string"&&typeof u!="boolean"&&typeof u!="number")&&h.indexOf(m)<0&&!(typeof v=="string"&&Array.isArray(u))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const b=this.options.returnedObjectHandler?this.options.returnedObjectHandler(d,u,{...t,ns:o}):`key '${a} (${this.language})' returned an object instead of string.`;return s?(p.res=b,p.usedParams=this.getUsedParamsDetails(t),p):b}if(r){const b=Array.isArray(u),w=b?[]:{},L=b?g:d;for(const x in u)if(Object.prototype.hasOwnProperty.call(u,x)){const F=`${L}${r}${x}`;w[x]=this.translate(F,{...t,joinArrays:!1,ns:o}),w[x]===F&&(w[x]=u[x])}u=w}}else if(S&&typeof v=="string"&&Array.isArray(u))u=u.join(v),u&&(u=this.extendTranslation(u,e,t,i));else{let b=!1,w=!1;const L=t.count!==void 0&&typeof t.count!="string",x=J.hasDefaultValue(t),F=L?this.pluralResolver.getSuffix(c,t.count,t):"",ue=t.ordinal&&L?this.pluralResolver.getSuffix(c,t.count,{ordinal:!1}):"",Q=L&&!t.ordinal&&t.count===0&&this.pluralResolver.shouldUseIntlApi(),D=Q&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${F}`]||t[`defaultValue${ue}`]||t.defaultValue;!this.isValidLookup(u)&&x&&(b=!0,u=D),this.isValidLookup(u)||(w=!0,u=a);const ce=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&w?void 0:u,R=x&&D!==u&&this.options.updateMissing;if(w||b||R){if(this.logger.log(R?"updateKey":"missingKey",c,l,a,R?D:u),r){const N=this.resolve(a,{...t,keySeparator:!1});N&&N.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let I=[];const M=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&M&&M[0])for(let N=0;N{const q=x&&P!==u?P:ce;this.options.missingKeyHandler?this.options.missingKeyHandler(N,l,j,q,R,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(N,l,j,q,R,t),this.emit("missingKey",N,l,j,u)};this.options.saveMissing&&(this.options.saveMissingPlurals&&L?I.forEach(N=>{const j=this.pluralResolver.getSuffixes(N,t);Q&&t[`defaultValue${this.options.pluralSeparator}zero`]&&j.indexOf(`${this.options.pluralSeparator}zero`)<0&&j.push(`${this.options.pluralSeparator}zero`),j.forEach(P=>{Y([N],a+P,t[`defaultValue${P}`]||D)})}):Y(I,a,D))}u=this.extendTranslation(u,e,t,p,i),w&&u===a&&this.options.appendNamespaceToMissingKey&&(u=`${l}:${a}`),(w||b)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?u=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,b?u:void 0):u=this.options.parseMissingKeyHandler(u))}return s?(p.res=u,p.usedParams=this.getUsedParamsDetails(t),p):u}extendTranslation(e,t,i,s,r){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const c=typeof e=="string"&&(i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let f;if(c){const u=e.match(this.interpolator.nestingRegexp);f=u&&u.length}let p=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),e=this.interpolator.interpolate(e,p,i.lng||this.language,i),c){const u=e.match(this.interpolator.nestingRegexp),d=u&&u.length;f1&&arguments[1]!==void 0?arguments[1]:{},i,s,r,a,o;return typeof e=="string"&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(i))return;const c=this.extractFromKey(l,t),f=c.key;s=f;let p=c.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const u=t.count!==void 0&&typeof t.count!="string",d=u&&!t.ordinal&&t.count===0&&this.pluralResolver.shouldUseIntlApi(),g=t.context!==void 0&&(typeof t.context=="string"||typeof t.context=="number")&&t.context!=="",m=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);p.forEach(h=>{this.isValidLookup(i)||(o=h,!ee[`${m[0]}-${h}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(ee[`${m[0]}-${h}`]=!0,this.logger.warn(`key "${s}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(v=>{if(this.isValidLookup(i))return;a=v;const S=[f];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(S,f,v,h,t);else{let b;u&&(b=this.pluralResolver.getSuffix(v,t.count,t));const w=`${this.options.pluralSeparator}zero`,L=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(S.push(f+b),t.ordinal&&b.indexOf(L)===0&&S.push(f+b.replace(L,this.options.pluralSeparator)),d&&S.push(f+w)),g){const x=`${f}${this.options.contextSeparator}${t.context}`;S.push(x),u&&(S.push(x+b),t.ordinal&&b.indexOf(L)===0&&S.push(x+b.replace(L,this.options.pluralSeparator)),d&&S.push(x+w))}}let A;for(;A=S.pop();)this.isValidLookup(i)||(r=A,i=this.getResource(v,h,A,t))}))})}),{res:i,usedKey:s,exactUsedKey:r,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,i,s):this.resourceStore.getResource(e,t,i,s)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=e.replace&&typeof e.replace!="string";let s=i?e.replace:e;if(i&&typeof e.count<"u"&&(s.count=e.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!i){s={...s};for(const r of t)delete s[r]}return s}static hasDefaultValue(e){const t="defaultValue";for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t===i.substring(0,t.length)&&e[i]!==void 0)return!0;return!1}}function B(n){return n.charAt(0).toUpperCase()+n.slice(1)}class te{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=k.create("languageUtils")}getScriptPartFromCode(e){if(e=K(e),!e||e.indexOf("-")<0)return null;const t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=K(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(typeof e=="string"&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let i=e.split("-");return this.options.lowerCaseLng?i=i.map(s=>s.toLowerCase()):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),t.indexOf(i[1].toLowerCase())>-1&&(i[1]=B(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),t.indexOf(i[1].toLowerCase())>-1&&(i[1]=B(i[1].toLowerCase())),t.indexOf(i[2].toLowerCase())>-1&&(i[2]=B(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(i=>{if(t)return;const s=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(s))&&(t=s)}),!t&&this.options.supportedLngs&&e.forEach(i=>{if(t)return;const s=this.getLanguagePartFromCode(i);if(this.isSupportedCode(s))return t=s;t=this.options.supportedLngs.find(r=>{if(r===s)return r;if(!(r.indexOf("-")<0&&s.indexOf("-")<0)&&(r.indexOf("-")>0&&s.indexOf("-")<0&&r.substring(0,r.indexOf("-"))===s||r.indexOf(s)===0&&s.length>1))return r})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),typeof e=="string"&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let i=e[t];return i||(i=e[this.getScriptPartFromCode(t)]),i||(i=e[this.formatLanguageCode(t)]),i||(i=e[this.getLanguagePartFromCode(t)]),i||(i=e.default),i||[]}toResolveHierarchy(e,t){const i=this.getFallbackCodes(t||this.options.fallbackLng||[],e),s=[],r=a=>{a&&(this.isSupportedCode(a)?s.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return typeof e=="string"&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&r(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&r(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&r(this.getLanguagePartFromCode(e))):typeof e=="string"&&r(this.formatLanguageCode(e)),i.forEach(a=>{s.indexOf(a)<0&&r(this.formatLanguageCode(a))}),s}}let we=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Ne={1:function(n){return+(n>1)},2:function(n){return+(n!=1)},3:function(n){return 0},4:function(n){return n%10==1&&n%100!=11?0:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?1:2},5:function(n){return n==0?0:n==1?1:n==2?2:n%100>=3&&n%100<=10?3:n%100>=11?4:5},6:function(n){return n==1?0:n>=2&&n<=4?1:2},7:function(n){return n==1?0:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?1:2},8:function(n){return n==1?0:n==2?1:n!=8&&n!=11?2:3},9:function(n){return+(n>=2)},10:function(n){return n==1?0:n==2?1:n<7?2:n<11?3:4},11:function(n){return n==1||n==11?0:n==2||n==12?1:n>2&&n<20?2:3},12:function(n){return+(n%10!=1||n%100==11)},13:function(n){return+(n!==0)},14:function(n){return n==1?0:n==2?1:n==3?2:3},15:function(n){return n%10==1&&n%100!=11?0:n%10>=2&&(n%100<10||n%100>=20)?1:2},16:function(n){return n%10==1&&n%100!=11?0:n!==0?1:2},17:function(n){return n==1||n%10==1&&n%100!=11?0:1},18:function(n){return n==0?0:n==1?1:2},19:function(n){return n==1?0:n==0||n%100>1&&n%100<11?1:n%100>10&&n%100<20?2:3},20:function(n){return n==1?0:n==0||n%100>0&&n%100<20?1:2},21:function(n){return n%100==1?1:n%100==2?2:n%100==3||n%100==4?3:0},22:function(n){return n==1?0:n==2?1:(n<0||n>10)&&n%10==0?2:3}};const Le=["v1","v2","v3"],ke=["v4"],ie={zero:0,one:1,two:2,few:3,many:4,other:5};function je(){const n={};return we.forEach(e=>{e.lngs.forEach(t=>{n[t]={numbers:e.nr,plurals:Ne[e.fc]}})}),n}class Oe{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=k.create("pluralResolver"),(!this.options.compatibilityJSON||ke.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=je()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(K(e==="dev"?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(e,t);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}getPluralFormsOfKey(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,i).map(s=>`${t}${s}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(e,t);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((s,r)=>ie[s]-ie[r]).map(s=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${s}`):i.numbers.map(s=>this.getSuffix(e,s,t)):[]}getSuffix(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(e,i);return s?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${s.select(t)}`:this.getSuffixRetroCompatible(s,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const i=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let s=e.numbers[i];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));const r=()=>this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?`_plural_${s.toString()}`:r():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?r():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!Le.includes(this.options.compatibilityJSON)}}function se(n,e,t){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,r=he(n,e,t);return!r&&s&&typeof t=="string"&&(r=W(n,t,i),r===void 0&&(r=W(e,t,i))),r}class Ce{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=k.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(t=>t),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:i,useRawValueToEscape:s,prefix:r,prefixEscaped:a,suffix:o,suffixEscaped:l,formatSeparator:c,unescapeSuffix:f,unescapePrefix:p,nestingPrefix:u,nestingPrefixEscaped:d,nestingSuffix:g,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:v,alwaysFormat:S}=e.interpolation;this.escape=t!==void 0?t:be,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=r?O(r):a||"{{",this.suffix=o?O(o):l||"}}",this.formatSeparator=c||",",this.unescapePrefix=f?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":f||"",this.nestingPrefix=u?O(u):d||O("$t("),this.nestingSuffix=g?O(g):m||O(")"),this.nestingOptionsSeparator=h||",",this.maxReplaces=v||1e3,this.alwaysFormat=S!==void 0?S:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,i)=>t&&t.source===i?(t.lastIndex=0,t):new RegExp(i,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,i,s){let r,a,o;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(g){return g.replace(/\$/g,"$$$$")}const f=g=>{if(g.indexOf(this.formatSeparator)<0){const S=se(t,l,g,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(S,void 0,i,{...s,...t,interpolationkey:g}):S}const m=g.split(this.formatSeparator),h=m.shift().trim(),v=m.join(this.formatSeparator).trim();return this.format(se(t,l,h,this.options.keySeparator,this.options.ignoreJSONStructure),v,i,{...s,...t,interpolationkey:h})};this.resetRegExp();const p=s&&s.missingInterpolationHandler||this.options.missingInterpolationHandler,u=s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:g=>c(g)},{regex:this.regexp,safeValue:g=>this.escapeValue?c(this.escape(g)):c(g)}].forEach(g=>{for(o=0;r=g.regex.exec(e);){const m=r[1].trim();if(a=f(m),a===void 0)if(typeof p=="function"){const v=p(e,r,s);a=typeof v=="string"?v:""}else if(s&&Object.prototype.hasOwnProperty.call(s,m))a="";else if(u){a=r[0];continue}else this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`),a="";else typeof a!="string"&&!this.useRawValueToEscape&&(a=X(a));const h=g.safeValue(a);if(e=e.replace(r[0],h),u?(g.regex.lastIndex+=a.length,g.regex.lastIndex-=r[0].length):g.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,r,a;function o(l,c){const f=this.nestingOptionsSeparator;if(l.indexOf(f)<0)return l;const p=l.split(new RegExp(`${f}[ ]*{`));let u=`{${p[1]}`;l=p[0],u=this.interpolate(u,a);const d=u.match(/'/g),g=u.match(/"/g);(d&&d.length%2===0&&!g||g.length%2!==0)&&(u=u.replace(/'/g,'"'));try{a=JSON.parse(u),c&&(a={...c,...a})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,m),`${l}${f}${u}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,l}for(;s=this.nestingRegexp.exec(e);){let l=[];a={...i},a=a.replace&&typeof a.replace!="string"?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const f=s[1].split(this.formatSeparator).map(p=>p.trim());s[1]=f.shift(),l=f,c=!0}if(r=t(o.call(this,s[1].trim(),a),a),r&&s[0]===e&&typeof r!="string")return r;typeof r!="string"&&(r=X(r)),r||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`),r=""),c&&(r=l.reduce((f,p)=>this.format(f,p,i.lng,{...i,interpolationkey:s[1].trim()}),r.trim())),e=e.replace(s[0],r),this.regexp.lastIndex=0}return e}}function De(n){let e=n.toLowerCase().trim();const t={};if(n.indexOf("(")>-1){const i=n.split("(");e=i[0].toLowerCase().trim();const s=i[1].substring(0,i[1].length-1);e==="currency"&&s.indexOf(":")<0?t.currency||(t.currency=s.trim()):e==="relativetime"&&s.indexOf(":")<0?t.range||(t.range=s.trim()):s.split(";").forEach(a=>{if(a){const[o,...l]=a.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),f=o.trim();t[f]||(t[f]=c),c==="false"&&(t[f]=!1),c==="true"&&(t[f]=!0),isNaN(c)||(t[f]=parseInt(c,10))}})}return{formatName:e,formatOptions:t}}function C(n){const e={};return function(i,s,r){const a=s+JSON.stringify(r);let o=e[a];return o||(o=n(K(s),r),e[a]=o),o(i)}}class Re{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=k.create("formatter"),this.options=e,this.formats={number:C((t,i)=>{const s=new Intl.NumberFormat(t,{...i});return r=>s.format(r)}),currency:C((t,i)=>{const s=new Intl.NumberFormat(t,{...i,style:"currency"});return r=>s.format(r)}),datetime:C((t,i)=>{const s=new Intl.DateTimeFormat(t,{...i});return r=>s.format(r)}),relativetime:C((t,i)=>{const s=new Intl.RelativeTimeFormat(t,{...i});return r=>s.format(r,i.range||"day")}),list:C((t,i)=>{const s=new Intl.ListFormat(t,{...i});return r=>s.format(r)})},this.init(e)}init(e){const i=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=C(t)}format(e,t,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return t.split(this.formatSeparator).reduce((o,l)=>{const{formatName:c,formatOptions:f}=De(l);if(this.formats[c]){let p=o;try{const u=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},d=u.locale||u.lng||s.locale||s.lng||i;p=this.formats[c](o,d,{...f,...s,...u})}catch(u){this.logger.warn(u)}return p}else this.logger.warn(`there was no format function for ${c}`);return o},e)}}function Ie(n,e){n.pending[e]!==void 0&&(delete n.pending[e],n.pendingCount--)}class Pe extends H{constructor(e,t,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=i,this.languageUtils=i.languageUtils,this.options=s,this.logger=k.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,s.backend,s)}queueLoad(e,t,i,s){const r={},a={},o={},l={};return e.forEach(c=>{let f=!0;t.forEach(p=>{const u=`${c}|${p}`;!i.reload&&this.store.hasResourceBundle(c,p)?this.state[u]=2:this.state[u]<0||(this.state[u]===1?a[u]===void 0&&(a[u]=!0):(this.state[u]=1,f=!1,a[u]===void 0&&(a[u]=!0),r[u]===void 0&&(r[u]=!0),l[p]===void 0&&(l[p]=!0)))}),f||(o[c]=!0)}),(Object.keys(r).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(r),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(l)}}loaded(e,t,i){const s=e.split("|"),r=s[0],a=s[1];t&&this.emit("failedLoading",r,a,t),i&&this.store.addResourceBundle(r,a,i,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;const o={};this.queue.forEach(l=>{de(l.loaded,[r],a),Ie(l,e),t&&l.errors.push(t),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(c=>{o[c]||(o[c]={});const f=l.loaded[c];f.length&&f.forEach(p=>{o[c][p]===void 0&&(o[c][p]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(l=>!l.done)}read(e,t,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:i,tried:s,wait:r,callback:a});return}this.readingCalls++;const o=(c,f)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(c&&f&&s{this.read.call(this,e,t,i,s+1,r*2,a)},r);return}a(c,f)},l=this.backend[i].bind(this.backend);if(l.length===2){try{const c=l(e,t);c&&typeof c.then=="function"?c.then(f=>o(null,f)).catch(o):o(null,c)}catch(c){o(c)}return}return l(e,t,o)}prepareLoading(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof e=="string"&&(e=this.languageUtils.toResolveHierarchy(e)),typeof t=="string"&&(t=[t]);const r=this.queueLoad(e,t,i,s);if(!r.toLoad.length)return r.pending.length||s(),null;r.toLoad.forEach(a=>{this.loadOne(a)})}load(e,t,i){this.prepareLoading(e,t,{},i)}reload(e,t,i){this.prepareLoading(e,t,{reload:!0},i)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=e.split("|"),s=i[0],r=i[1];this.read(s,r,"read",void 0,void 0,(a,o)=>{a&&this.logger.warn(`${t}loading namespace ${r} for language ${s} failed`,a),!a&&o&&this.logger.log(`${t}loaded namespace ${r} for language ${s}`,o),this.loaded(e,a,o)})}saveMissing(e,t,i,s,r){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${i}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if(this.backend&&this.backend.create){const l={...a,isUpdate:r},c=this.backend.create.bind(this.backend);if(c.length<6)try{let f;c.length===5?f=c(e,t,i,s,l):f=c(e,t,i,s),f&&typeof f.then=="function"?f.then(p=>o(null,p)).catch(o):o(null,f)}catch(f){o(f)}else c(e,t,i,s,o,l)}!e||!e[0]||this.store.addResource(e[0],t,i,s)}}}function ne(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const i=e[3]||e[2];Object.keys(i).forEach(s=>{t[s]=i[s]})}return t},interpolation:{escapeValue:!0,format:n=>n,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function re(n){return typeof n.ns=="string"&&(n.ns=[n.ns]),typeof n.fallbackLng=="string"&&(n.fallbackLng=[n.fallbackLng]),typeof n.fallbackNS=="string"&&(n.fallbackNS=[n.fallbackNS]),n.supportedLngs&&n.supportedLngs.indexOf("cimode")<0&&(n.supportedLngs=n.supportedLngs.concat(["cimode"])),n}function U(){}function Te(n){Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(t=>{typeof n[t]=="function"&&(n[t]=n[t].bind(n))})}class $ extends H{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=re(e),this.services={},this.logger=k,this.modules={external:[]},Te(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t=="function"&&(i=t,t={}),!t.defaultNS&&t.defaultNS!==!1&&t.ns&&(typeof t.ns=="string"?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const s=ne();this.options={...s,...this.options,...re(t)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...s.interpolation,...this.options.interpolation}),t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);function r(f){return f?typeof f=="function"?new f:f:null}if(!this.options.isClone){this.modules.logger?k.init(r(this.modules.logger),this.options):k.init(null,this.options);let f;this.modules.formatter?f=this.modules.formatter:typeof Intl<"u"&&(f=Re);const p=new te(this.options);this.store=new _(this.options.resources,this.options);const u=this.services;u.logger=k,u.resourceStore=this.store,u.languageUtils=p,u.pluralResolver=new Oe(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),f&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(u.formatter=r(f),u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new Ce(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new Pe(r(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",function(d){for(var g=arguments.length,m=new Array(g>1?g-1:0),h=1;h1?g-1:0),h=1;h{d.init&&d.init(this)})}if(this.format=this.options.interpolation.format,i||(i=U),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!=="dev"&&(this.options.lng=f[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(f=>{this[f]=function(){return e.store[f](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(f=>{this[f]=function(){return e.store[f](...arguments),e}});const l=T(),c=()=>{const f=(p,u)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(u),i(p,u)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return f(null,this.t.bind(this));this.changeLanguage(this.options.lng,f)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),l}loadResources(e){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:U;const s=typeof e=="string"?e:this.language;if(typeof e=="function"&&(i=e),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();const r=[],a=o=>{if(!o||o==="cimode")return;this.services.languageUtils.toResolveHierarchy(o).forEach(c=>{c!=="cimode"&&r.indexOf(c)<0&&r.push(c)})};s?a(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>a(l)),this.options.preload&&this.options.preload.forEach(o=>a(o)),this.services.backendConnector.load(r,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(o)})}else i(null)}reloadResources(e,t,i){const s=T();return e||(e=this.languages),t||(t=this.options.ns),i||(i=U),this.services.backendConnector.reload(e,t,r=>{s.resolve(),i(r)}),s}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&le.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}}changeLanguage(e,t){var i=this;this.isLanguageChangingTo=e;const s=T();this.emit("languageChanging",e);const r=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},a=(l,c)=>{c?(r(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,s.resolve(function(){return i.t(...arguments)}),t&&t(l,function(){return i.t(...arguments)})},o=l=>{!e&&!l&&this.services.languageDetector&&(l=[]);const c=typeof l=="string"?l:this.services.languageUtils.getBestMatchFromCodes(l);c&&(this.language||r(c),this.translator.language||this.translator.changeLanguage(c),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(c)),this.loadResources(c,f=>{a(f,c)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e),s}getFixedT(e,t,i){var s=this;const r=function(a,o){let l;if(typeof o!="object"){for(var c=arguments.length,f=new Array(c>2?c-2:0),p=2;p`${l.keyPrefix}${u}${g}`):d=l.keyPrefix?`${l.keyPrefix}${u}${a}`:a,s.t(d,l)};return typeof e=="string"?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=i,r}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=t.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,r=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const a=(o,l)=>{const c=this.services.backendConnector.state[`${o}|${l}`];return c===-1||c===2};if(t.precheck){const o=t.precheck(this,a);if(o!==void 0)return o}return!!(this.hasResourceBundle(i,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(i,e)&&(!s||a(r,e)))}loadNamespaces(e,t){const i=T();return this.options.ns?(typeof e=="string"&&(e=[e]),e.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{i.resolve(),t&&t(s)}),i):(t&&t(),Promise.resolve())}loadLanguages(e,t){const i=T();typeof e=="string"&&(e=[e]);const s=this.options.preload||[],r=e.filter(a=>s.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return r.length?(this.options.preload=s.concat(r),this.loadResources(a=>{i.resolve(),t&&t(a)}),i):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=this.services&&this.services.languageUtils||new te(ne());return t.indexOf(i.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new $(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:U;const i=e.forkResourceStore;i&&delete e.forkResourceStore;const s={...this.options,...e,isClone:!0},r=new $(s);return(e.debug!==void 0||e.prefix!==void 0)&&(r.logger=r.logger.clone(e)),["store","services","language"].forEach(o=>{r[o]=this[o]}),r.services={...this.services},r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},i&&(r.store=new _(this.store.data,s),r.services.resourceStore=r.store),r.translator=new J(r.services,s),r.translator.on("*",function(o){for(var l=arguments.length,c=new Array(l>1?l-1:0),f=1;f{t.set(e)}),e.on("loaded",()=>{t.set(e)}),e.on("added",()=>t.set(e)),e.on("languageChanged",()=>{t.set(e)}),t}createLoadingInstance(e){return e.on("loaded",t=>{Object.keys(t).length!==0&&G.set(!1)}),e.on("failedLoading",()=>{G.set(!0)}),G}}const $e=n=>new Ee(n).i18n,Ae={navItem1:"Home",navItem2:"About",navItem3:"Service",navItem4:"Showcase",navItem5:"Contact",followMe:"Follow Me",myName:"I am Mehdi Keramati",im:"I'm ",frontEnd:"I'm a FrontEnd Developer",goal:"I driven by ambitious goals",webdev:"I'm a Web Developer",readMore:"Download CV",welcome:"Welcome",about:"ABOUT",helloName:"Howdy, i'm Mehdi Keramati",AboutDescreption:"I'm a Frontend Web Developer passionate about crafting innovative digital experiences. I blend technical expertise with creativity to build user-friendly, visually stunning websites that engage and inspire.",aboutSkills1:"Frontend developer",aboutSkills1Description1:"I craft engaging user interfaces for websites and web applications.",aboutSkills2:"Web Development",aboutSkills1Description2:"My passion lies in bringing digital ideas to life through code.",aboutSkills3:"problem solving",aboutSkills1Description3:"I thrive on tackling complex challenges and finding innovative solutions.",aboutSkills5:"curious",aboutSkills1Description5:"My drive to learn keeps me exploring new technologies and ideas.",skills:"SKILLS",seeSkills:"Let's See My Skills",html:"HTML",htmlDescription:"HTML stands for Hyper Text Markup Language. HTML is the standard markup language for creating Web pages",css:"CSS",cssDescription:"CSS (Cascading Style Sheets) is used to style and layout web pages",sass:"Sass",sassDescription:"SCSS (or Sass) offers a way to write styles for websites with more enhanced CSS syntax",js:"JS",jsDescription:"JavaScript is a dynamic programming language that's used for web development, in web applications, for game development, etc.",react:"React",reactDescription:"React.js is an open-source JavaScript framework and library developed by Facebook for building user interfaces",tailwind:"Tailwind",tailwindDescription:"Tailwind CSS is a utility-first CSS framework for rapidly building custom user interfaces",bootstrap:"Bootstrap",bootstrapDescription:"Bootstrap is a popular CSS framework for developing responsive and mobile-first websites",mui:"Material-UI",muiDescription:"Material-UI is a popular React UI framework that implements Google's Material Design",svelte:"Svelte",svelteDescription:"Svelte is a radical new approach to building user interfaces, compiling your code to tiny, framework-less vanilla JS",testingTools:"Testing Tools",testingToolsDescription:"Tools like Jest, React Testing Library, and Cypress for ensuring code quality and functionality",typescript:"TypeScript",typescriptDescription:"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript",webpack:"Webpack",webpackDescription:"Webpack is a static module bundler for modern JavaScript applications",git:"Git",gitDescription:"Git is a distributed version control system for tracking changes in source code during software development",redux:"Redux",reduxDescription:"Redux is a predictable state container for JavaScript apps, often used with React",graphql:"GraphQL",graphqlDescription:"GraphQL is a query language for APIs and a runtime for executing those queries with your existing data",nodejs:"Node.js",nodejsDescription:"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine, often used for backend development",restapi:"REST API",restapiDescription:"REST (Representational State Transfer) is an architectural style for designing networked applications",astro:"Astro",astroDescription:"Astro is a modern static site builder that delivers lightning-fast performance by shipping zero JavaScript by default",projects:"PROJECTS",seeProjects:"Let's See My Project",all:"All",projectName1:"Dashboard",projectName2:"Weather Forecast",projectName3:"Music Player",projectName4:"Alan News",projectName5:"Crypto Currency",projectName0:"Digital Repair",projectName6:"legends-landingpage",projectName7:"GPT3",projectName8:"business",projectName9:"Covid-19",projectName10:"LittleProject",projectName11:"Simpsons",projectName12:"videograph Portfolio",projectName13:"eCommerce Template",projectName14:"Flappy Bird",projectName15:"Dino",projectName16:"Word Hunt",projectName17:"Memeory Game",projectName18:"Quiz App",projectName19:"TikTokToe",projectName20:"Sportwebsite UI/UX",projectName21:"Dashboard UI/UX",projectName22:"Some Games",app:"App",games:"Games",templates:"Templates",graphicDesign:"GraphicDesign",vanillajs:"VanillaJS",reactjs:"ReactJS",viewGithub:"View Github",liveDemo:"Live Demo",contact:"CONTACT ME",getInTouch:"Get in touch with me today",contactDescription:"Need to contact me? fill the form and send , or send a message to one of the social networks.",yourName:"Your Name",yourEmail:"Your Email",yourMessage:"Your Message",sendMessage:"Send Message",settings:"Settings",themeOptions:"Theme Options",light:"Light",dark:"Dark",changeLang:"Change Language",en:"English",fa:"Persian",de:"German",themeColors:"Theme Colors",messageSended:"Message Sended!!",loading:"LOADING"},Fe={navItem1:"خانه",navItem2:"درباره من",navItem3:"مهارت ها",navItem4:"پروژه ها",navItem5:"ارتباط با من",followMe:"راه های ارتباطی",myName:"من مهدی کرامتی هستم",im:"من ",frontEnd:"من برنامه نویس فرانت اند هستم",goal:"من توسط اهداف بلندپروازانه هدایت می شوم",webdev:"من برنامه نویس وب هستم",readMore:"دانلود رزومه",welcome:"خوش آمدید",about:"درباره من",helloName:"درود, من مهدی کرامتی هستم",AboutDescreption:"من یک توسعه‌دهنده فرانت‌اند وب هستم که با شور و شوق به خلق تجربیات دیجیتال نوآورانه می‌پردازم. من مهارت‌های فنی را با خلاقیت ترکیب می‌کنم تا وب‌سایت‌هایی کاربرپسند و از نظر بصری خیره‌کننده بسازم که کاربران را جذب و الهام‌بخش می‌کند.",aboutSkills1:"برنامه نویس فرانت اند",aboutSkills1Description1:"من رابط‌های کاربری جذاب برای وب‌سایت‌ها و برنامه‌های وب طراحی می‌کنم",aboutSkills2:"برنامه نویس وب",aboutSkills1Description2:"اشتیاق من در به زندگی آوردن ایده‌های دیجیتال از طریق کد نهفته است",aboutSkills3:"حل مسئله",aboutSkills1Description3:"من از مقابله با چالش‌های پیچیده و یافتن راه‌حل‌های نوآورانه شکوفا می‌شوم.",aboutSkills5:"کنجکاوی",aboutSkills1Description5:"انگیزه یادگیری من باعث می‌شود تا همواره فناوری‌ها و ایده‌های جدید را کشف کنم.",skills:"مهارت ها",seeSkills:"به صفحه مهارت ها خوش آمدید",html:"HTML",htmlDescription:"HTML مخفف زبان نشانه‌گذاری ابرمتن است. HTML زبان نشانه‌گذاری استاندارد برای ایجاد صفحات وب است",css:"CSS",cssDescription:"CSS (شیوه‌نامه‌های آبشاری) برای طراحی و صفحه‌آرایی صفحات وب استفاده می‌شود",sass:"Sass",sassDescription:"SCSS (یا Sass) راهی برای نوشتن سبک‌ها برای وب‌سایت‌ها با نحو CSS پیشرفته‌تر ارائه می‌دهد",js:"JS",jsDescription:"جاوااسکریپت یک زبان برنامه‌نویسی پویاست که برای توسعه وب، در برنامه‌های وب، برای توسعه بازی و غیره استفاده می‌شود",react:"React",reactDescription:"React.js یک فریم‌ورک و کتابخانه جاوااسکریپت متن‌باز است که توسط فیسبوک برای ساخت رابط‌های کاربری توسعه یافته است",tailwind:"Tailwind",tailwindDescription:"Tailwind CSS یک فریم‌ورک CSS سطح پایین است که برای ساخت سریع رابط‌های کاربری سفارشی استفاده می‌شود",bootstrap:"Bootstrap",bootstrapDescription:"Bootstrap یک فریم‌ورک CSS محبوب برای توسعه وب‌سایت‌های واکنش‌گرا و موبایل-اول است",mui:"Material-UI",muiDescription:"Material-UI یک فریم‌ورک UI محبوب React است که طراحی متریال گوگل را پیاده‌سازی می‌کند",svelte:"Svelte",svelteDescription:"Svelte رویکردی جدید و رادیکال برای ساخت رابط‌های کاربری است که کد شما را به جاوااسکریپت وانیلای کوچک و بدون فریم‌ورک تبدیل می‌کند",testingTools:"ابزارهای تست",testingToolsDescription:"ابزارهایی مانند Jest، React Testing Library و Cypress برای اطمینان از کیفیت و عملکرد کد",typescript:"TypeScript",typescriptDescription:"TypeScript یک نسخه تایپ شده از جاوااسکریپت است که به جاوااسکریپت معمولی کامپایل می‌شود",webpack:"Webpack",webpackDescription:"Webpack یک باندلر ماژول استاتیک برای برنامه‌های جاوااسکریپت مدرن است",git:"Git",gitDescription:"Git یک سیستم کنترل نسخه توزیع شده برای پیگیری تغییرات در کد منبع در طول توسعه نرم‌افزار است",redux:"Redux",reduxDescription:"Redux یک کانتینر حالت قابل پیش‌بینی برای برنامه‌های جاوااسکریپت است که اغلب با React استفاده می‌شود",graphql:"GraphQL",graphqlDescription:"GraphQL یک زبان پرس‌وجو برای API‌ها و یک زمان اجرا برای اجرای این پرس‌وجوها با داده‌های موجود شما است",nodejs:"Node.js",nodejsDescription:"Node.js یک محیط اجرای جاوااسکریپت است که بر روی موتور جاوااسکریپت V8 کروم ساخته شده و اغلب برای توسعه بک‌اند استفاده می‌شود",restapi:"REST API",restapiDescription:"REST (انتقال حالت نمایشی) یک سبک معماری برای طراحی برنامه‌های شبکه‌ای است",astro:"Astro",astroDescription:"Astro یک سازنده سایت استاتیک مدرن است که با ارسال صفر جاوااسکریپت به صورت پیش‌فرض، عملکردی فوق‌العاده سریع ارائه می‌دهد",projects:"پروژه ها",seeProjects:"به صفحه پروژه ها خوش آمدید",all:"همه",projectName0:"تعمیرات کامپوتر",projectName1:"ادمین داشبورد",projectName2:"هوا شناسی",projectName3:"موزیک پلیر",projectName4:"خبر هوش مصنوعی",projectName5:"صرافی دیجیتال",projectName6:"صفحه فرود قهرمانان",projectName7:"GPT3",projectName8:"بیزنس",projectName9:"Covid-19",projectName10:"پروژه های کوچک",projectName11:"سیمپسون ها",projectName12:"پورتفولیو فیلمبردار",projectName13:"تجارت الکترونیک",projectName14:"بازی پرش پرنده",projectName15:"بازی دایناسور",projectName16:"حدس کلمه",projectName17:"بازی حافظه",projectName18:"برنامه آزمون",projectName19:"دوز",projectName20:"UI/UX قالب سابت ورزشی ",projectName21:"UI/UX ادمین داشبورد",projectName22:"برخی بازی ها",app:"اپلیکیشن",games:"بازی",templates:"قالب",graphicDesign:"طراحی",vanillajs:"جاوااسکریپت",reactjs:"ری اکت",viewGithub:"دیدن گیتهاب",liveDemo:"مشاهده آنلاین",contact:"تماس با من",getInTouch:"با من در تماس باشید",contactDescription:"نیاز به تماس با من دارید؟ فرم زیر را پر کنید و ارسال کنید یا به یکی از شبکه های اجتماعی پیام دهید.",yourName:"اسم",yourEmail:"ایمیل",yourMessage:"پیام",sendMessage:"ارسال پیام",settings:"تنظیمات",themeOptions:"انتخاب تم",light:"روشن",dark:"تیره",changeLang:"تغییر زبان",en:"انگلیسی",fa:"فارسی",de:"آلمانی",themeColors:"انتخاب رنگ",messageSended:"پیام ارسال شد !",loading:"در حال بارگزاری"},Me={navItem1:"Startseite",navItem2:"Über mich",navItem3:"Dienstleistung",navItem4:"Präsentation",navItem5:"Kontakt",followMe:"Folge mir",myName:"Ich bin Mehdi Keramati",im:"Ich bin ",frontEnd:"Ich bin ein FrontEnd-Entwickler",goal:"Ich werde von ehrgeizigen Zielen angetrieben",webdev:"Ich bin ein Webentwickler",readMore:"Lebenslauf herunterladen",welcome:"Willkommen",about:"ÜBER MICH",helloName:"Hallo, ich bin Mehdi Keramati",AboutDescreption:"Ich bin ein Frontend-Webentwickler mit Leidenschaft für die Gestaltung innovativer digitaler Erlebnisse. Ich verbinde technisches Fachwissen mit Kreativität, um benutzerfreundliche, visuell beeindruckende Websites zu erstellen, die fesseln und inspirieren.",aboutSkills1:"Frontend-Entwickler",aboutSkills1Description1:"Ich gestalte ansprechende Benutzeroberflächen für Websites und Webanwendungen.",aboutSkills2:"Webentwicklung",aboutSkills1Description2:"Meine Leidenschaft liegt darin, digitale Ideen durch Code zum Leben zu erwecken.",aboutSkills3:"Problemlösung",aboutSkills1Description3:"Ich blühe auf, wenn es darum geht, komplexe Herausforderungen anzugehen und innovative Lösungen zu finden.",aboutSkills5:"Neugier",aboutSkills1Description5:"Mein Lerndrang treibt mich dazu an, ständig neue Technologien und Ideen zu erkunden.",skills:"FÄHIGKEITEN",seeSkills:"Lass uns meine Fähigkeiten sehen",html:"HTML",htmlDescription:"HTML steht für Hypertext Markup Language. HTML ist die Standardauszeichnungssprache zur Erstellung von Webseiten",css:"CSS",cssDescription:"CSS (Cascading Style Sheets) wird verwendet, um Webseiten zu gestalten und zu layouten",sass:"Sass",sassDescription:"SCSS (oder Sass) bietet eine Möglichkeit, Stile für Websites mit erweiterter CSS-Syntax zu schreiben",js:"JS",jsDescription:"JavaScript ist eine dynamische Programmiersprache, die für Webentwicklung, in Webanwendungen, für Spieleentwicklung usw. verwendet wird",react:"React",reactDescription:"React.js ist ein Open-Source-JavaScript-Framework und eine Bibliothek, entwickelt von Facebook zum Aufbau von Benutzeroberflächen",tailwind:"Tailwind",tailwindDescription:"Tailwind CSS ist ein Utility-First-CSS-Framework zum schnellen Erstellen benutzerdefinierter Benutzeroberflächen",bootstrap:"Bootstrap",bootstrapDescription:"Bootstrap ist ein beliebtes CSS-Framework zur Entwicklung responsiver und mobile-first Websites",mui:"Material-UI",muiDescription:"Material-UI ist ein beliebtes React UI-Framework, das Googles Material Design implementiert",svelte:"Svelte",svelteDescription:"Svelte ist ein radikal neuer Ansatz zum Aufbau von Benutzeroberflächen, der Ihren Code in winziges, framework-loses Vanilla-JS kompiliert",testingTools:"Testwerkzeuge",testingToolsDescription:"Werkzeuge wie Jest, React Testing Library und Cypress zur Sicherstellung von Code-Qualität und Funktionalität",typescript:"TypeScript",typescriptDescription:"TypeScript ist eine typisierte Obermenge von JavaScript, die zu normalem JavaScript kompiliert wird",webpack:"Webpack",webpackDescription:"Webpack ist ein statischer Modul-Bundler für moderne JavaScript-Anwendungen",git:"Git",gitDescription:"Git ist ein verteiltes Versionskontrollsystem zur Verfolgung von Änderungen im Quellcode während der Softwareentwicklung",redux:"Redux",reduxDescription:"Redux ist ein vorhersehbarer Zustandscontainer für JavaScript-Apps, oft mit React verwendet",graphql:"GraphQL",graphqlDescription:"GraphQL ist eine Abfragesprache für APIs und eine Laufzeit zum Ausführen dieser Abfragen mit Ihren vorhandenen Daten",nodejs:"Node.js",nodejsDescription:"Node.js ist eine JavaScript-Laufzeitumgebung, die auf Chromes V8 JavaScript-Engine aufbaut, oft für Backend-Entwicklung verwendet",restapi:"REST API",restapiDescription:"REST (Representational State Transfer) ist ein Architekturstil für die Gestaltung vernetzter Anwendungen",astro:"Astro",astroDescription:"Astro ist ein moderner Static-Site-Generator, der blitzschnelle Leistung liefert, indem standardmäßig kein JavaScript ausgeliefert wird",projects:"PROJEKTE",seeProjects:"Lass uns meine Projekte sehen",all:"Alle",projectName1:"Dashboard",projectName2:"Wettervorhersage",projectName3:"Musik-Player",projectName4:"Alan News",projectName5:"Kryptowährung",projectName0:"Digitale Reparatur",projectName6:"Legenden-Landingpage",projectName7:"GPT3",projectName8:"Geschäft",projectName9:"Covid-19",projectName10:"Kleines Projekt",projectName11:"Simpsons",projectName12:"Videograf-Portfolio",projectName13:"eCommerce-Vorlage",projectName14:"Flappy Bird",projectName15:"Dino",projectName16:"Wortsuche",projectName17:"Gedächtnisspiel",projectName18:"Quiz-App",projectName19:"Tic-Tac-Toe",projectName20:"Sportwebsite UI/UX",projectName21:"Dashboard UI/UX",projectName22:"Einige Spiele",app:"App",games:"Spiele",templates:"Vorlagen",graphicDesign:"Grafikdesign",vanillajs:"VanillaJS",reactjs:"ReactJS",viewGithub:"Auf Github ansehen",liveDemo:"Live-Demo",contact:"KONTAKTIEREN SIE MICH",getInTouch:"Kontaktieren Sie mich noch heute",contactDescription:"Möchten Sie mich kontaktieren? Füllen Sie das Formular aus und senden Sie es oder senden Sie eine Nachricht an eines der sozialen Netzwerke.",yourName:"Ihr Name",yourEmail:"Ihre E-Mail",yourMessage:"Ihre Nachricht",sendMessage:"Nachricht senden",settings:"Einstellungen",themeOptions:"Design-Optionen",light:"Hell",dark:"Dunkel",changeLang:"Sprache ändern",en:"Englisch",fa:"Persisch",de:"Deutsch",themeColors:"Design-Farben",messageSended:"Nachricht gesendet!!",loading:"LADEN"};y.init({lng:"en",fallbackLng:"en",resources:{en:{translation:Ae},fa:{translation:Fe},de:{translation:Me}}});const Ve=$e(y);export{Ve as i}; +import{w as ae}from"./index.MvJOTdOj.js";const fe={type:"logger",log(n){this.output("log",n)},warn(n){this.output("warn",n)},error(n){this.output("error",n)},output(n,e){console&&console[n]&&console[n].apply(console,e)}};class z{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||fe,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),i=0;i{this.observers[i]||(this.observers[i]=new Map);const s=this.observers[i].get(t)||0;this.observers[i].set(t,s+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s{let[o,l]=a;for(let c=0;c{let[o,l]=a;for(let c=0;c{n=i,e=s});return t.resolve=n,t.reject=e,t}function X(n){return n==null?"":""+n}function pe(n,e,t){n.forEach(i=>{e[i]&&(t[i]=e[i])})}const ge=/###/g;function E(n,e,t){function i(o){return o&&o.indexOf("###")>-1?o.replace(ge,"."):o}function s(){return!n||typeof n=="string"}const r=typeof e!="string"?e:e.split(".");let a=0;for(;a":">",'"':""","'":"'","/":"/"};function be(n){return typeof n=="string"?n.replace(/[&<>"'\/]/g,e=>me[e]):n}class Se{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(t!==void 0)return t;const i=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,i),this.regExpQueue.push(e),i}}const ye=[" ",",","?","!",";"],ve=new Se(20);function xe(n,e,t){e=e||"",t=t||"";const i=ye.filter(a=>e.indexOf(a)<0&&t.indexOf(a)<0);if(i.length===0)return!0;const s=ve.getRegExp(`(${i.map(a=>a==="?"?"\\?":a).join("|")})`);let r=!s.test(n);if(!r){const a=n.indexOf(t);a>0&&!s.test(n.substring(0,a))&&(r=!0)}return r}function W(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!n)return;if(n[e])return n[e];const i=e.split(t);let s=n;for(let r=0;r-1&&l0?n.replace("_","-"):n}class _ extends H{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const r=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,a=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let o;e.indexOf(".")>-1?o=e.split("."):(o=[e,t],i&&(Array.isArray(i)?o.push(...i):typeof i=="string"&&r?o.push(...i.split(r)):o.push(i)));const l=V(this.data,o);return!l&&!t&&!i&&e.indexOf(".")>-1&&(e=o[0],t=o[1],i=o.slice(2).join(".")),l||!a||typeof i!="string"?l:W(this.data&&this.data[e]&&this.data[e][t],i,r)}addResource(e,t,i,s){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let o=[e,t];i&&(o=o.concat(a?i.split(a):i)),e.indexOf(".")>-1&&(o=e.split("."),s=t,t=o[1]),this.addNamespaces(t),Z(this.data,o,s),r.silent||this.emit("added",e,t,i,s)}addResources(e,t,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const r in i)(typeof i[r]=="string"||Array.isArray(i[r]))&&this.addResource(e,t,r,i[r],{silent:!0});s.silent||this.emit("added",e,t,i)}addResourceBundle(e,t,i,s,r){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),s=i,i=t,t=o[1]),this.addNamespaces(t);let l=V(this.data,o)||{};a.skipCopy||(i=JSON.parse(JSON.stringify(i))),s?oe(l,i,r):l={...l,...i},Z(this.data,o,l),a.silent||this.emit("added",e,t,i)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(s=>t[s]&&Object.keys(t[s]).length>0)}toJSON(){return this.data}}var le={processors:{},addPostProcessor(n){this.processors[n.name]=n},handle(n,e,t,i,s){return n.forEach(r=>{this.processors[r]&&(e=this.processors[r].process(e,t,i,s))}),e}};const ee={};class J extends H{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),pe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=k.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const i=this.resolve(e,t);return i&&i.res!==void 0}extractFromKey(e,t){let i=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const s=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let r=t.ns||this.options.defaultNS||[];const a=i&&e.indexOf(i)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!xe(e,i,s);if(a&&!o){const l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:r};const c=e.split(i);(i!==s||i===s&&this.options.ns.indexOf(c[0])>-1)&&(r=c.shift()),e=c.join(s)}return typeof r=="string"&&(r=[r]),{key:e,namespaces:r}}translate(e,t,i){if(typeof t!="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),typeof t=="object"&&(t={...t}),t||(t={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const s=t.returnDetails!==void 0?t.returnDetails:this.options.returnDetails,r=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:a,namespaces:o}=this.extractFromKey(e[e.length-1],t),l=o[o.length-1],c=t.lng||this.language,f=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&c.toLowerCase()==="cimode"){if(f){const b=t.nsSeparator||this.options.nsSeparator;return s?{res:`${l}${b}${a}`,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:`${l}${b}${a}`}return s?{res:a,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:a}const p=this.resolve(e,t);let u=p&&p.res;const d=p&&p.usedKey||a,g=p&&p.exactUsedKey||a,m=Object.prototype.toString.apply(u),h=["[object Number]","[object Function]","[object RegExp]"],v=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject;if(S&&u&&(typeof u!="string"&&typeof u!="boolean"&&typeof u!="number")&&h.indexOf(m)<0&&!(typeof v=="string"&&Array.isArray(u))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const b=this.options.returnedObjectHandler?this.options.returnedObjectHandler(d,u,{...t,ns:o}):`key '${a} (${this.language})' returned an object instead of string.`;return s?(p.res=b,p.usedParams=this.getUsedParamsDetails(t),p):b}if(r){const b=Array.isArray(u),w=b?[]:{},L=b?g:d;for(const x in u)if(Object.prototype.hasOwnProperty.call(u,x)){const F=`${L}${r}${x}`;w[x]=this.translate(F,{...t,joinArrays:!1,ns:o}),w[x]===F&&(w[x]=u[x])}u=w}}else if(S&&typeof v=="string"&&Array.isArray(u))u=u.join(v),u&&(u=this.extendTranslation(u,e,t,i));else{let b=!1,w=!1;const L=t.count!==void 0&&typeof t.count!="string",x=J.hasDefaultValue(t),F=L?this.pluralResolver.getSuffix(c,t.count,t):"",ue=t.ordinal&&L?this.pluralResolver.getSuffix(c,t.count,{ordinal:!1}):"",Q=L&&!t.ordinal&&t.count===0&&this.pluralResolver.shouldUseIntlApi(),D=Q&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${F}`]||t[`defaultValue${ue}`]||t.defaultValue;!this.isValidLookup(u)&&x&&(b=!0,u=D),this.isValidLookup(u)||(w=!0,u=a);const ce=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&w?void 0:u,R=x&&D!==u&&this.options.updateMissing;if(w||b||R){if(this.logger.log(R?"updateKey":"missingKey",c,l,a,R?D:u),r){const N=this.resolve(a,{...t,keySeparator:!1});N&&N.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let I=[];const M=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&M&&M[0])for(let N=0;N{const q=x&&P!==u?P:ce;this.options.missingKeyHandler?this.options.missingKeyHandler(N,l,j,q,R,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(N,l,j,q,R,t),this.emit("missingKey",N,l,j,u)};this.options.saveMissing&&(this.options.saveMissingPlurals&&L?I.forEach(N=>{const j=this.pluralResolver.getSuffixes(N,t);Q&&t[`defaultValue${this.options.pluralSeparator}zero`]&&j.indexOf(`${this.options.pluralSeparator}zero`)<0&&j.push(`${this.options.pluralSeparator}zero`),j.forEach(P=>{Y([N],a+P,t[`defaultValue${P}`]||D)})}):Y(I,a,D))}u=this.extendTranslation(u,e,t,p,i),w&&u===a&&this.options.appendNamespaceToMissingKey&&(u=`${l}:${a}`),(w||b)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?u=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,b?u:void 0):u=this.options.parseMissingKeyHandler(u))}return s?(p.res=u,p.usedParams=this.getUsedParamsDetails(t),p):u}extendTranslation(e,t,i,s,r){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const c=typeof e=="string"&&(i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let f;if(c){const u=e.match(this.interpolator.nestingRegexp);f=u&&u.length}let p=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),e=this.interpolator.interpolate(e,p,i.lng||this.language,i),c){const u=e.match(this.interpolator.nestingRegexp),d=u&&u.length;f1&&arguments[1]!==void 0?arguments[1]:{},i,s,r,a,o;return typeof e=="string"&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(i))return;const c=this.extractFromKey(l,t),f=c.key;s=f;let p=c.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const u=t.count!==void 0&&typeof t.count!="string",d=u&&!t.ordinal&&t.count===0&&this.pluralResolver.shouldUseIntlApi(),g=t.context!==void 0&&(typeof t.context=="string"||typeof t.context=="number")&&t.context!=="",m=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);p.forEach(h=>{this.isValidLookup(i)||(o=h,!ee[`${m[0]}-${h}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(ee[`${m[0]}-${h}`]=!0,this.logger.warn(`key "${s}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(v=>{if(this.isValidLookup(i))return;a=v;const S=[f];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(S,f,v,h,t);else{let b;u&&(b=this.pluralResolver.getSuffix(v,t.count,t));const w=`${this.options.pluralSeparator}zero`,L=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(S.push(f+b),t.ordinal&&b.indexOf(L)===0&&S.push(f+b.replace(L,this.options.pluralSeparator)),d&&S.push(f+w)),g){const x=`${f}${this.options.contextSeparator}${t.context}`;S.push(x),u&&(S.push(x+b),t.ordinal&&b.indexOf(L)===0&&S.push(x+b.replace(L,this.options.pluralSeparator)),d&&S.push(x+w))}}let A;for(;A=S.pop();)this.isValidLookup(i)||(r=A,i=this.getResource(v,h,A,t))}))})}),{res:i,usedKey:s,exactUsedKey:r,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,i,s):this.resourceStore.getResource(e,t,i,s)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=e.replace&&typeof e.replace!="string";let s=i?e.replace:e;if(i&&typeof e.count<"u"&&(s.count=e.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!i){s={...s};for(const r of t)delete s[r]}return s}static hasDefaultValue(e){const t="defaultValue";for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t===i.substring(0,t.length)&&e[i]!==void 0)return!0;return!1}}function B(n){return n.charAt(0).toUpperCase()+n.slice(1)}class te{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=k.create("languageUtils")}getScriptPartFromCode(e){if(e=K(e),!e||e.indexOf("-")<0)return null;const t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=K(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(typeof e=="string"&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let i=e.split("-");return this.options.lowerCaseLng?i=i.map(s=>s.toLowerCase()):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),t.indexOf(i[1].toLowerCase())>-1&&(i[1]=B(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),t.indexOf(i[1].toLowerCase())>-1&&(i[1]=B(i[1].toLowerCase())),t.indexOf(i[2].toLowerCase())>-1&&(i[2]=B(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(i=>{if(t)return;const s=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(s))&&(t=s)}),!t&&this.options.supportedLngs&&e.forEach(i=>{if(t)return;const s=this.getLanguagePartFromCode(i);if(this.isSupportedCode(s))return t=s;t=this.options.supportedLngs.find(r=>{if(r===s)return r;if(!(r.indexOf("-")<0&&s.indexOf("-")<0)&&(r.indexOf("-")>0&&s.indexOf("-")<0&&r.substring(0,r.indexOf("-"))===s||r.indexOf(s)===0&&s.length>1))return r})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),typeof e=="string"&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let i=e[t];return i||(i=e[this.getScriptPartFromCode(t)]),i||(i=e[this.formatLanguageCode(t)]),i||(i=e[this.getLanguagePartFromCode(t)]),i||(i=e.default),i||[]}toResolveHierarchy(e,t){const i=this.getFallbackCodes(t||this.options.fallbackLng||[],e),s=[],r=a=>{a&&(this.isSupportedCode(a)?s.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return typeof e=="string"&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&r(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&r(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&r(this.getLanguagePartFromCode(e))):typeof e=="string"&&r(this.formatLanguageCode(e)),i.forEach(a=>{s.indexOf(a)<0&&r(this.formatLanguageCode(a))}),s}}let we=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Ne={1:function(n){return+(n>1)},2:function(n){return+(n!=1)},3:function(n){return 0},4:function(n){return n%10==1&&n%100!=11?0:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?1:2},5:function(n){return n==0?0:n==1?1:n==2?2:n%100>=3&&n%100<=10?3:n%100>=11?4:5},6:function(n){return n==1?0:n>=2&&n<=4?1:2},7:function(n){return n==1?0:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?1:2},8:function(n){return n==1?0:n==2?1:n!=8&&n!=11?2:3},9:function(n){return+(n>=2)},10:function(n){return n==1?0:n==2?1:n<7?2:n<11?3:4},11:function(n){return n==1||n==11?0:n==2||n==12?1:n>2&&n<20?2:3},12:function(n){return+(n%10!=1||n%100==11)},13:function(n){return+(n!==0)},14:function(n){return n==1?0:n==2?1:n==3?2:3},15:function(n){return n%10==1&&n%100!=11?0:n%10>=2&&(n%100<10||n%100>=20)?1:2},16:function(n){return n%10==1&&n%100!=11?0:n!==0?1:2},17:function(n){return n==1||n%10==1&&n%100!=11?0:1},18:function(n){return n==0?0:n==1?1:2},19:function(n){return n==1?0:n==0||n%100>1&&n%100<11?1:n%100>10&&n%100<20?2:3},20:function(n){return n==1?0:n==0||n%100>0&&n%100<20?1:2},21:function(n){return n%100==1?1:n%100==2?2:n%100==3||n%100==4?3:0},22:function(n){return n==1?0:n==2?1:(n<0||n>10)&&n%10==0?2:3}};const Le=["v1","v2","v3"],ke=["v4"],ie={zero:0,one:1,two:2,few:3,many:4,other:5};function je(){const n={};return we.forEach(e=>{e.lngs.forEach(t=>{n[t]={numbers:e.nr,plurals:Ne[e.fc]}})}),n}class Oe{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=k.create("pluralResolver"),(!this.options.compatibilityJSON||ke.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=je()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(K(e==="dev"?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(e,t);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}getPluralFormsOfKey(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,i).map(s=>`${t}${s}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(e,t);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((s,r)=>ie[s]-ie[r]).map(s=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${s}`):i.numbers.map(s=>this.getSuffix(e,s,t)):[]}getSuffix(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(e,i);return s?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${s.select(t)}`:this.getSuffixRetroCompatible(s,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const i=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let s=e.numbers[i];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));const r=()=>this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?`_plural_${s.toString()}`:r():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?r():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!Le.includes(this.options.compatibilityJSON)}}function se(n,e,t){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,r=he(n,e,t);return!r&&s&&typeof t=="string"&&(r=W(n,t,i),r===void 0&&(r=W(e,t,i))),r}class Ce{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=k.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(t=>t),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:i,useRawValueToEscape:s,prefix:r,prefixEscaped:a,suffix:o,suffixEscaped:l,formatSeparator:c,unescapeSuffix:f,unescapePrefix:p,nestingPrefix:u,nestingPrefixEscaped:d,nestingSuffix:g,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:v,alwaysFormat:S}=e.interpolation;this.escape=t!==void 0?t:be,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=r?O(r):a||"{{",this.suffix=o?O(o):l||"}}",this.formatSeparator=c||",",this.unescapePrefix=f?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":f||"",this.nestingPrefix=u?O(u):d||O("$t("),this.nestingSuffix=g?O(g):m||O(")"),this.nestingOptionsSeparator=h||",",this.maxReplaces=v||1e3,this.alwaysFormat=S!==void 0?S:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,i)=>t&&t.source===i?(t.lastIndex=0,t):new RegExp(i,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,i,s){let r,a,o;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(g){return g.replace(/\$/g,"$$$$")}const f=g=>{if(g.indexOf(this.formatSeparator)<0){const S=se(t,l,g,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(S,void 0,i,{...s,...t,interpolationkey:g}):S}const m=g.split(this.formatSeparator),h=m.shift().trim(),v=m.join(this.formatSeparator).trim();return this.format(se(t,l,h,this.options.keySeparator,this.options.ignoreJSONStructure),v,i,{...s,...t,interpolationkey:h})};this.resetRegExp();const p=s&&s.missingInterpolationHandler||this.options.missingInterpolationHandler,u=s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:g=>c(g)},{regex:this.regexp,safeValue:g=>this.escapeValue?c(this.escape(g)):c(g)}].forEach(g=>{for(o=0;r=g.regex.exec(e);){const m=r[1].trim();if(a=f(m),a===void 0)if(typeof p=="function"){const v=p(e,r,s);a=typeof v=="string"?v:""}else if(s&&Object.prototype.hasOwnProperty.call(s,m))a="";else if(u){a=r[0];continue}else this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`),a="";else typeof a!="string"&&!this.useRawValueToEscape&&(a=X(a));const h=g.safeValue(a);if(e=e.replace(r[0],h),u?(g.regex.lastIndex+=a.length,g.regex.lastIndex-=r[0].length):g.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,r,a;function o(l,c){const f=this.nestingOptionsSeparator;if(l.indexOf(f)<0)return l;const p=l.split(new RegExp(`${f}[ ]*{`));let u=`{${p[1]}`;l=p[0],u=this.interpolate(u,a);const d=u.match(/'/g),g=u.match(/"/g);(d&&d.length%2===0&&!g||g.length%2!==0)&&(u=u.replace(/'/g,'"'));try{a=JSON.parse(u),c&&(a={...c,...a})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,m),`${l}${f}${u}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,l}for(;s=this.nestingRegexp.exec(e);){let l=[];a={...i},a=a.replace&&typeof a.replace!="string"?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const f=s[1].split(this.formatSeparator).map(p=>p.trim());s[1]=f.shift(),l=f,c=!0}if(r=t(o.call(this,s[1].trim(),a),a),r&&s[0]===e&&typeof r!="string")return r;typeof r!="string"&&(r=X(r)),r||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`),r=""),c&&(r=l.reduce((f,p)=>this.format(f,p,i.lng,{...i,interpolationkey:s[1].trim()}),r.trim())),e=e.replace(s[0],r),this.regexp.lastIndex=0}return e}}function De(n){let e=n.toLowerCase().trim();const t={};if(n.indexOf("(")>-1){const i=n.split("(");e=i[0].toLowerCase().trim();const s=i[1].substring(0,i[1].length-1);e==="currency"&&s.indexOf(":")<0?t.currency||(t.currency=s.trim()):e==="relativetime"&&s.indexOf(":")<0?t.range||(t.range=s.trim()):s.split(";").forEach(a=>{if(a){const[o,...l]=a.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),f=o.trim();t[f]||(t[f]=c),c==="false"&&(t[f]=!1),c==="true"&&(t[f]=!0),isNaN(c)||(t[f]=parseInt(c,10))}})}return{formatName:e,formatOptions:t}}function C(n){const e={};return function(i,s,r){const a=s+JSON.stringify(r);let o=e[a];return o||(o=n(K(s),r),e[a]=o),o(i)}}class Re{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=k.create("formatter"),this.options=e,this.formats={number:C((t,i)=>{const s=new Intl.NumberFormat(t,{...i});return r=>s.format(r)}),currency:C((t,i)=>{const s=new Intl.NumberFormat(t,{...i,style:"currency"});return r=>s.format(r)}),datetime:C((t,i)=>{const s=new Intl.DateTimeFormat(t,{...i});return r=>s.format(r)}),relativetime:C((t,i)=>{const s=new Intl.RelativeTimeFormat(t,{...i});return r=>s.format(r,i.range||"day")}),list:C((t,i)=>{const s=new Intl.ListFormat(t,{...i});return r=>s.format(r)})},this.init(e)}init(e){const i=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=C(t)}format(e,t,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return t.split(this.formatSeparator).reduce((o,l)=>{const{formatName:c,formatOptions:f}=De(l);if(this.formats[c]){let p=o;try{const u=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},d=u.locale||u.lng||s.locale||s.lng||i;p=this.formats[c](o,d,{...f,...s,...u})}catch(u){this.logger.warn(u)}return p}else this.logger.warn(`there was no format function for ${c}`);return o},e)}}function Ie(n,e){n.pending[e]!==void 0&&(delete n.pending[e],n.pendingCount--)}class Pe extends H{constructor(e,t,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=i,this.languageUtils=i.languageUtils,this.options=s,this.logger=k.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,s.backend,s)}queueLoad(e,t,i,s){const r={},a={},o={},l={};return e.forEach(c=>{let f=!0;t.forEach(p=>{const u=`${c}|${p}`;!i.reload&&this.store.hasResourceBundle(c,p)?this.state[u]=2:this.state[u]<0||(this.state[u]===1?a[u]===void 0&&(a[u]=!0):(this.state[u]=1,f=!1,a[u]===void 0&&(a[u]=!0),r[u]===void 0&&(r[u]=!0),l[p]===void 0&&(l[p]=!0)))}),f||(o[c]=!0)}),(Object.keys(r).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(r),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(l)}}loaded(e,t,i){const s=e.split("|"),r=s[0],a=s[1];t&&this.emit("failedLoading",r,a,t),i&&this.store.addResourceBundle(r,a,i,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;const o={};this.queue.forEach(l=>{de(l.loaded,[r],a),Ie(l,e),t&&l.errors.push(t),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(c=>{o[c]||(o[c]={});const f=l.loaded[c];f.length&&f.forEach(p=>{o[c][p]===void 0&&(o[c][p]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(l=>!l.done)}read(e,t,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:i,tried:s,wait:r,callback:a});return}this.readingCalls++;const o=(c,f)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(c&&f&&s{this.read.call(this,e,t,i,s+1,r*2,a)},r);return}a(c,f)},l=this.backend[i].bind(this.backend);if(l.length===2){try{const c=l(e,t);c&&typeof c.then=="function"?c.then(f=>o(null,f)).catch(o):o(null,c)}catch(c){o(c)}return}return l(e,t,o)}prepareLoading(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof e=="string"&&(e=this.languageUtils.toResolveHierarchy(e)),typeof t=="string"&&(t=[t]);const r=this.queueLoad(e,t,i,s);if(!r.toLoad.length)return r.pending.length||s(),null;r.toLoad.forEach(a=>{this.loadOne(a)})}load(e,t,i){this.prepareLoading(e,t,{},i)}reload(e,t,i){this.prepareLoading(e,t,{reload:!0},i)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=e.split("|"),s=i[0],r=i[1];this.read(s,r,"read",void 0,void 0,(a,o)=>{a&&this.logger.warn(`${t}loading namespace ${r} for language ${s} failed`,a),!a&&o&&this.logger.log(`${t}loaded namespace ${r} for language ${s}`,o),this.loaded(e,a,o)})}saveMissing(e,t,i,s,r){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${i}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if(this.backend&&this.backend.create){const l={...a,isUpdate:r},c=this.backend.create.bind(this.backend);if(c.length<6)try{let f;c.length===5?f=c(e,t,i,s,l):f=c(e,t,i,s),f&&typeof f.then=="function"?f.then(p=>o(null,p)).catch(o):o(null,f)}catch(f){o(f)}else c(e,t,i,s,o,l)}!e||!e[0]||this.store.addResource(e[0],t,i,s)}}}function ne(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const i=e[3]||e[2];Object.keys(i).forEach(s=>{t[s]=i[s]})}return t},interpolation:{escapeValue:!0,format:n=>n,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function re(n){return typeof n.ns=="string"&&(n.ns=[n.ns]),typeof n.fallbackLng=="string"&&(n.fallbackLng=[n.fallbackLng]),typeof n.fallbackNS=="string"&&(n.fallbackNS=[n.fallbackNS]),n.supportedLngs&&n.supportedLngs.indexOf("cimode")<0&&(n.supportedLngs=n.supportedLngs.concat(["cimode"])),n}function U(){}function Te(n){Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(t=>{typeof n[t]=="function"&&(n[t]=n[t].bind(n))})}class $ extends H{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=re(e),this.services={},this.logger=k,this.modules={external:[]},Te(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t=="function"&&(i=t,t={}),!t.defaultNS&&t.defaultNS!==!1&&t.ns&&(typeof t.ns=="string"?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const s=ne();this.options={...s,...this.options,...re(t)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...s.interpolation,...this.options.interpolation}),t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);function r(f){return f?typeof f=="function"?new f:f:null}if(!this.options.isClone){this.modules.logger?k.init(r(this.modules.logger),this.options):k.init(null,this.options);let f;this.modules.formatter?f=this.modules.formatter:typeof Intl<"u"&&(f=Re);const p=new te(this.options);this.store=new _(this.options.resources,this.options);const u=this.services;u.logger=k,u.resourceStore=this.store,u.languageUtils=p,u.pluralResolver=new Oe(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),f&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(u.formatter=r(f),u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new Ce(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new Pe(r(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",function(d){for(var g=arguments.length,m=new Array(g>1?g-1:0),h=1;h1?g-1:0),h=1;h{d.init&&d.init(this)})}if(this.format=this.options.interpolation.format,i||(i=U),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!=="dev"&&(this.options.lng=f[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(f=>{this[f]=function(){return e.store[f](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(f=>{this[f]=function(){return e.store[f](...arguments),e}});const l=T(),c=()=>{const f=(p,u)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(u),i(p,u)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return f(null,this.t.bind(this));this.changeLanguage(this.options.lng,f)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),l}loadResources(e){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:U;const s=typeof e=="string"?e:this.language;if(typeof e=="function"&&(i=e),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();const r=[],a=o=>{if(!o||o==="cimode")return;this.services.languageUtils.toResolveHierarchy(o).forEach(c=>{c!=="cimode"&&r.indexOf(c)<0&&r.push(c)})};s?a(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>a(l)),this.options.preload&&this.options.preload.forEach(o=>a(o)),this.services.backendConnector.load(r,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(o)})}else i(null)}reloadResources(e,t,i){const s=T();return e||(e=this.languages),t||(t=this.options.ns),i||(i=U),this.services.backendConnector.reload(e,t,r=>{s.resolve(),i(r)}),s}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&le.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}}changeLanguage(e,t){var i=this;this.isLanguageChangingTo=e;const s=T();this.emit("languageChanging",e);const r=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},a=(l,c)=>{c?(r(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,s.resolve(function(){return i.t(...arguments)}),t&&t(l,function(){return i.t(...arguments)})},o=l=>{!e&&!l&&this.services.languageDetector&&(l=[]);const c=typeof l=="string"?l:this.services.languageUtils.getBestMatchFromCodes(l);c&&(this.language||r(c),this.translator.language||this.translator.changeLanguage(c),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(c)),this.loadResources(c,f=>{a(f,c)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e),s}getFixedT(e,t,i){var s=this;const r=function(a,o){let l;if(typeof o!="object"){for(var c=arguments.length,f=new Array(c>2?c-2:0),p=2;p`${l.keyPrefix}${u}${g}`):d=l.keyPrefix?`${l.keyPrefix}${u}${a}`:a,s.t(d,l)};return typeof e=="string"?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=i,r}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=t.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,r=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const a=(o,l)=>{const c=this.services.backendConnector.state[`${o}|${l}`];return c===-1||c===2};if(t.precheck){const o=t.precheck(this,a);if(o!==void 0)return o}return!!(this.hasResourceBundle(i,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(i,e)&&(!s||a(r,e)))}loadNamespaces(e,t){const i=T();return this.options.ns?(typeof e=="string"&&(e=[e]),e.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{i.resolve(),t&&t(s)}),i):(t&&t(),Promise.resolve())}loadLanguages(e,t){const i=T();typeof e=="string"&&(e=[e]);const s=this.options.preload||[],r=e.filter(a=>s.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return r.length?(this.options.preload=s.concat(r),this.loadResources(a=>{i.resolve(),t&&t(a)}),i):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=this.services&&this.services.languageUtils||new te(ne());return t.indexOf(i.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new $(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:U;const i=e.forkResourceStore;i&&delete e.forkResourceStore;const s={...this.options,...e,isClone:!0},r=new $(s);return(e.debug!==void 0||e.prefix!==void 0)&&(r.logger=r.logger.clone(e)),["store","services","language"].forEach(o=>{r[o]=this[o]}),r.services={...this.services},r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},i&&(r.store=new _(this.store.data,s),r.services.resourceStore=r.store),r.translator=new J(r.services,s),r.translator.on("*",function(o){for(var l=arguments.length,c=new Array(l>1?l-1:0),f=1;f{t.set(e)}),e.on("loaded",()=>{t.set(e)}),e.on("added",()=>t.set(e)),e.on("languageChanged",()=>{t.set(e)}),t}createLoadingInstance(e){return e.on("loaded",t=>{Object.keys(t).length!==0&&G.set(!1)}),e.on("failedLoading",()=>{G.set(!0)}),G}}const $e=n=>new Ee(n).i18n,Ae={navItem1:"Home",navItem2:"About",navItem3:"Service",navItem4:"Projects",navItem5:"Contact",followMe:"Follow Me",myName:"I am Mehdi Keramati",im:"I'm ",frontEnd:"I'm a FrontEnd Developer",goal:"I driven by ambitious goals",webdev:"I'm a Web Developer",readMore:"Download CV",welcome:"Welcome",about:"ABOUT",helloName:"Howdy, i'm Mehdi Keramati",AboutDescreption:"I'm a Frontend Web Developer passionate about crafting innovative digital experiences. I blend technical expertise with creativity to build user-friendly, visually stunning websites that engage and inspire.",aboutSkills1:"Frontend developer",aboutSkills1Description1:"I craft engaging user interfaces for websites and web applications.",aboutSkills2:"Web Development",aboutSkills1Description2:"My passion lies in bringing digital ideas to life through code.",aboutSkills3:"problem solving",aboutSkills1Description3:"I thrive on tackling complex challenges and finding innovative solutions.",aboutSkills5:"curious",aboutSkills1Description5:"My drive to learn keeps me exploring new technologies and ideas.",skills:"SKILLS",seeSkills:"Let's See My Skills",html:"HTML",htmlDescription:"HTML stands for Hyper Text Markup Language. HTML is the standard markup language for creating Web pages",css:"CSS",cssDescription:"CSS (Cascading Style Sheets) is used to style and layout web pages",sass:"Sass",sassDescription:"SCSS (or Sass) offers a way to write styles for websites with more enhanced CSS syntax",js:"JS",jsDescription:"JavaScript is a dynamic programming language that's used for web development, in web applications, for game development, etc.",react:"React",reactDescription:"React.js is an open-source JavaScript framework and library developed by Facebook for building user interfaces",tailwind:"Tailwind",tailwindDescription:"Tailwind CSS is a utility-first CSS framework for rapidly building custom user interfaces",bootstrap:"Bootstrap",bootstrapDescription:"Bootstrap is a popular CSS framework for developing responsive and mobile-first websites",mui:"Material-UI",muiDescription:"Material-UI is a popular React UI framework that implements Google's Material Design",svelte:"Svelte",svelteDescription:"Svelte is a radical new approach to building user interfaces, compiling your code to tiny, framework-less vanilla JS",testingTools:"Testing Tools",testingToolsDescription:"Tools like Jest, React Testing Library, and Cypress for ensuring code quality and functionality",typescript:"TypeScript",typescriptDescription:"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript",webpack:"Webpack",webpackDescription:"Webpack is a static module bundler for modern JavaScript applications",git:"Git",gitDescription:"Git is a distributed version control system for tracking changes in source code during software development",redux:"Redux",reduxDescription:"Redux is a predictable state container for JavaScript apps, often used with React",graphql:"GraphQL",graphqlDescription:"GraphQL is a query language for APIs and a runtime for executing those queries with your existing data",nodejs:"Node.js",nodejsDescription:"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine, often used for backend development",restapi:"REST API",restapiDescription:"REST (Representational State Transfer) is an architectural style for designing networked applications",astro:"Astro",astroDescription:"Astro is a modern static site builder that delivers lightning-fast performance by shipping zero JavaScript by default",projects:"PROJECTS",seeProjects:"Let's See My Project",all:"All",projectName1:"Dashboard",projectName2:"Weather Forecast",projectName3:"Music Player",projectName4:"Alan News",projectName5:"Crypto Currency",projectName0:"Digital Repair",projectName6:"legends-landingpage",projectName7:"GPT3",projectName8:"business",projectName9:"Covid-19",projectName10:"LittleProject",projectName11:"Simpsons",projectName12:"videograph Portfolio",projectName13:"eCommerce Template",projectName14:"Flappy Bird",projectName15:"Dino",projectName16:"Word Hunt",projectName17:"Memeory Game",projectName18:"Quiz App",projectName19:"TikTokToe",projectName20:"Sportwebsite UI/UX",projectName21:"Dashboard UI/UX",projectName22:"Some Games",app:"App",games:"Games",templates:"Templates",graphicDesign:"GraphicDesign",vanillajs:"VanillaJS",reactjs:"ReactJS",viewGithub:"View Github",liveDemo:"Live Demo",contact:"CONTACT ME",getInTouch:"Get in touch with me today",contactDescription:"Need to contact me? fill the form and send , or send a message to one of the social networks.",yourName:"Your Name",yourEmail:"Your Email",yourMessage:"Your Message",sendMessage:"Send Message",settings:"Settings",themeOptions:"Theme Options",light:"Light",dark:"Dark",changeLang:"Change Language",en:"English",fa:"Persian",de:"German",themeColors:"Theme Colors",messageSended:"Message Sended!!",loading:"LOADING"},Fe={navItem1:"خانه",navItem2:"درباره من",navItem3:"مهارت ها",navItem4:"پروژه ها",navItem5:"ارتباط با من",followMe:"راه های ارتباطی",myName:"من مهدی کرامتی هستم",im:"من ",frontEnd:"من برنامه نویس فرانت اند هستم",goal:"من توسط اهداف بلندپروازانه هدایت می شوم",webdev:"من برنامه نویس وب هستم",readMore:"دانلود رزومه",welcome:"خوش آمدید",about:"درباره من",helloName:"درود, من مهدی کرامتی هستم",AboutDescreption:"من یک توسعه‌دهنده فرانت‌اند وب هستم که با شور و شوق به خلق تجربیات دیجیتال نوآورانه می‌پردازم. من مهارت‌های فنی را با خلاقیت ترکیب می‌کنم تا وب‌سایت‌هایی کاربرپسند و از نظر بصری خیره‌کننده بسازم که کاربران را جذب و الهام‌بخش می‌کند.",aboutSkills1:"برنامه نویس فرانت اند",aboutSkills1Description1:"من رابط‌های کاربری جذاب برای وب‌سایت‌ها و برنامه‌های وب طراحی می‌کنم",aboutSkills2:"برنامه نویس وب",aboutSkills1Description2:"اشتیاق من در به زندگی آوردن ایده‌های دیجیتال از طریق کد نهفته است",aboutSkills3:"حل مسئله",aboutSkills1Description3:"من از مقابله با چالش‌های پیچیده و یافتن راه‌حل‌های نوآورانه شکوفا می‌شوم.",aboutSkills5:"کنجکاوی",aboutSkills1Description5:"انگیزه یادگیری من باعث می‌شود تا همواره فناوری‌ها و ایده‌های جدید را کشف کنم.",skills:"مهارت ها",seeSkills:"به صفحه مهارت ها خوش آمدید",html:"HTML",htmlDescription:"HTML مخفف زبان نشانه‌گذاری ابرمتن است. HTML زبان نشانه‌گذاری استاندارد برای ایجاد صفحات وب است",css:"CSS",cssDescription:"CSS (شیوه‌نامه‌های آبشاری) برای طراحی و صفحه‌آرایی صفحات وب استفاده می‌شود",sass:"Sass",sassDescription:"SCSS (یا Sass) راهی برای نوشتن سبک‌ها برای وب‌سایت‌ها با نحو CSS پیشرفته‌تر ارائه می‌دهد",js:"JS",jsDescription:"جاوااسکریپت یک زبان برنامه‌نویسی پویاست که برای توسعه وب، در برنامه‌های وب، برای توسعه بازی و غیره استفاده می‌شود",react:"React",reactDescription:"React.js یک فریم‌ورک و کتابخانه جاوااسکریپت متن‌باز است که توسط فیسبوک برای ساخت رابط‌های کاربری توسعه یافته است",tailwind:"Tailwind",tailwindDescription:"Tailwind CSS یک فریم‌ورک CSS سطح پایین است که برای ساخت سریع رابط‌های کاربری سفارشی استفاده می‌شود",bootstrap:"Bootstrap",bootstrapDescription:"Bootstrap یک فریم‌ورک CSS محبوب برای توسعه وب‌سایت‌های واکنش‌گرا و موبایل-اول است",mui:"Material-UI",muiDescription:"Material-UI یک فریم‌ورک UI محبوب React است که طراحی متریال گوگل را پیاده‌سازی می‌کند",svelte:"Svelte",svelteDescription:"Svelte رویکردی جدید و رادیکال برای ساخت رابط‌های کاربری است که کد شما را به جاوااسکریپت وانیلای کوچک و بدون فریم‌ورک تبدیل می‌کند",testingTools:"ابزارهای تست",testingToolsDescription:"ابزارهایی مانند Jest، React Testing Library و Cypress برای اطمینان از کیفیت و عملکرد کد",typescript:"TypeScript",typescriptDescription:"TypeScript یک نسخه تایپ شده از جاوااسکریپت است که به جاوااسکریپت معمولی کامپایل می‌شود",webpack:"Webpack",webpackDescription:"Webpack یک باندلر ماژول استاتیک برای برنامه‌های جاوااسکریپت مدرن است",git:"Git",gitDescription:"Git یک سیستم کنترل نسخه توزیع شده برای پیگیری تغییرات در کد منبع در طول توسعه نرم‌افزار است",redux:"Redux",reduxDescription:"Redux یک کانتینر حالت قابل پیش‌بینی برای برنامه‌های جاوااسکریپت است که اغلب با React استفاده می‌شود",graphql:"GraphQL",graphqlDescription:"GraphQL یک زبان پرس‌وجو برای API‌ها و یک زمان اجرا برای اجرای این پرس‌وجوها با داده‌های موجود شما است",nodejs:"Node.js",nodejsDescription:"Node.js یک محیط اجرای جاوااسکریپت است که بر روی موتور جاوااسکریپت V8 کروم ساخته شده و اغلب برای توسعه بک‌اند استفاده می‌شود",restapi:"REST API",restapiDescription:"REST (انتقال حالت نمایشی) یک سبک معماری برای طراحی برنامه‌های شبکه‌ای است",astro:"Astro",astroDescription:"Astro یک سازنده سایت استاتیک مدرن است که با ارسال صفر جاوااسکریپت به صورت پیش‌فرض، عملکردی فوق‌العاده سریع ارائه می‌دهد",projects:"پروژه ها",seeProjects:"به صفحه پروژه ها خوش آمدید",all:"همه",projectName0:"تعمیرات کامپوتر",projectName1:"ادمین داشبورد",projectName2:"هوا شناسی",projectName3:"موزیک پلیر",projectName4:"خبر هوش مصنوعی",projectName5:"صرافی دیجیتال",projectName6:"صفحه فرود قهرمانان",projectName7:"GPT3",projectName8:"بیزنس",projectName9:"Covid-19",projectName10:"پروژه های کوچک",projectName11:"سیمپسون ها",projectName12:"پورتفولیو فیلمبردار",projectName13:"تجارت الکترونیک",projectName14:"بازی پرش پرنده",projectName15:"بازی دایناسور",projectName16:"حدس کلمه",projectName17:"بازی حافظه",projectName18:"برنامه آزمون",projectName19:"دوز",projectName20:"UI/UX قالب سابت ورزشی ",projectName21:"UI/UX ادمین داشبورد",projectName22:"برخی بازی ها",app:"اپلیکیشن",games:"بازی",templates:"قالب",graphicDesign:"طراحی",vanillajs:"جاوااسکریپت",reactjs:"ری اکت",viewGithub:"دیدن گیتهاب",liveDemo:"مشاهده آنلاین",contact:"تماس با من",getInTouch:"با من در تماس باشید",contactDescription:"نیاز به تماس با من دارید؟ فرم زیر را پر کنید و ارسال کنید یا به یکی از شبکه های اجتماعی پیام دهید.",yourName:"اسم",yourEmail:"ایمیل",yourMessage:"پیام",sendMessage:"ارسال پیام",settings:"تنظیمات",themeOptions:"انتخاب تم",light:"روشن",dark:"تیره",changeLang:"تغییر زبان",en:"انگلیسی",fa:"فارسی",de:"آلمانی",themeColors:"انتخاب رنگ",messageSended:"پیام ارسال شد !",loading:"در حال بارگزاری"},Me={navItem1:"Startseite",navItem2:"Über mich",navItem3:"Dienstleistung",navItem4:"Präsentation",navItem5:"Kontakt",followMe:"Folge mir",myName:"Ich bin Mehdi Keramati",im:"Ich bin ",frontEnd:"Ich bin ein FrontEnd-Entwickler",goal:"Ich werde von ehrgeizigen Zielen angetrieben",webdev:"Ich bin ein Webentwickler",readMore:"Lebenslauf herunterladen",welcome:"Willkommen",about:"ÜBER MICH",helloName:"Hallo, ich bin Mehdi Keramati",AboutDescreption:"Ich bin ein Frontend-Webentwickler mit Leidenschaft für die Gestaltung innovativer digitaler Erlebnisse. Ich verbinde technisches Fachwissen mit Kreativität, um benutzerfreundliche, visuell beeindruckende Websites zu erstellen, die fesseln und inspirieren.",aboutSkills1:"Frontend-Entwickler",aboutSkills1Description1:"Ich gestalte ansprechende Benutzeroberflächen für Websites und Webanwendungen.",aboutSkills2:"Webentwicklung",aboutSkills1Description2:"Meine Leidenschaft liegt darin, digitale Ideen durch Code zum Leben zu erwecken.",aboutSkills3:"Problemlösung",aboutSkills1Description3:"Ich blühe auf, wenn es darum geht, komplexe Herausforderungen anzugehen und innovative Lösungen zu finden.",aboutSkills5:"Neugier",aboutSkills1Description5:"Mein Lerndrang treibt mich dazu an, ständig neue Technologien und Ideen zu erkunden.",skills:"FÄHIGKEITEN",seeSkills:"Lass uns meine Fähigkeiten sehen",html:"HTML",htmlDescription:"HTML steht für Hypertext Markup Language. HTML ist die Standardauszeichnungssprache zur Erstellung von Webseiten",css:"CSS",cssDescription:"CSS (Cascading Style Sheets) wird verwendet, um Webseiten zu gestalten und zu layouten",sass:"Sass",sassDescription:"SCSS (oder Sass) bietet eine Möglichkeit, Stile für Websites mit erweiterter CSS-Syntax zu schreiben",js:"JS",jsDescription:"JavaScript ist eine dynamische Programmiersprache, die für Webentwicklung, in Webanwendungen, für Spieleentwicklung usw. verwendet wird",react:"React",reactDescription:"React.js ist ein Open-Source-JavaScript-Framework und eine Bibliothek, entwickelt von Facebook zum Aufbau von Benutzeroberflächen",tailwind:"Tailwind",tailwindDescription:"Tailwind CSS ist ein Utility-First-CSS-Framework zum schnellen Erstellen benutzerdefinierter Benutzeroberflächen",bootstrap:"Bootstrap",bootstrapDescription:"Bootstrap ist ein beliebtes CSS-Framework zur Entwicklung responsiver und mobile-first Websites",mui:"Material-UI",muiDescription:"Material-UI ist ein beliebtes React UI-Framework, das Googles Material Design implementiert",svelte:"Svelte",svelteDescription:"Svelte ist ein radikal neuer Ansatz zum Aufbau von Benutzeroberflächen, der Ihren Code in winziges, framework-loses Vanilla-JS kompiliert",testingTools:"Testwerkzeuge",testingToolsDescription:"Werkzeuge wie Jest, React Testing Library und Cypress zur Sicherstellung von Code-Qualität und Funktionalität",typescript:"TypeScript",typescriptDescription:"TypeScript ist eine typisierte Obermenge von JavaScript, die zu normalem JavaScript kompiliert wird",webpack:"Webpack",webpackDescription:"Webpack ist ein statischer Modul-Bundler für moderne JavaScript-Anwendungen",git:"Git",gitDescription:"Git ist ein verteiltes Versionskontrollsystem zur Verfolgung von Änderungen im Quellcode während der Softwareentwicklung",redux:"Redux",reduxDescription:"Redux ist ein vorhersehbarer Zustandscontainer für JavaScript-Apps, oft mit React verwendet",graphql:"GraphQL",graphqlDescription:"GraphQL ist eine Abfragesprache für APIs und eine Laufzeit zum Ausführen dieser Abfragen mit Ihren vorhandenen Daten",nodejs:"Node.js",nodejsDescription:"Node.js ist eine JavaScript-Laufzeitumgebung, die auf Chromes V8 JavaScript-Engine aufbaut, oft für Backend-Entwicklung verwendet",restapi:"REST API",restapiDescription:"REST (Representational State Transfer) ist ein Architekturstil für die Gestaltung vernetzter Anwendungen",astro:"Astro",astroDescription:"Astro ist ein moderner Static-Site-Generator, der blitzschnelle Leistung liefert, indem standardmäßig kein JavaScript ausgeliefert wird",projects:"PROJEKTE",seeProjects:"Lass uns meine Projekte sehen",all:"Alle",projectName1:"Dashboard",projectName2:"Wettervorhersage",projectName3:"Musik-Player",projectName4:"Alan News",projectName5:"Kryptowährung",projectName0:"Digitale Reparatur",projectName6:"Legenden-Landingpage",projectName7:"GPT3",projectName8:"Geschäft",projectName9:"Covid-19",projectName10:"Kleines Projekt",projectName11:"Simpsons",projectName12:"Videograf-Portfolio",projectName13:"eCommerce-Vorlage",projectName14:"Flappy Bird",projectName15:"Dino",projectName16:"Wortsuche",projectName17:"Gedächtnisspiel",projectName18:"Quiz-App",projectName19:"Tic-Tac-Toe",projectName20:"Sportwebsite UI/UX",projectName21:"Dashboard UI/UX",projectName22:"Einige Spiele",app:"App",games:"Spiele",templates:"Vorlagen",graphicDesign:"Grafikdesign",vanillajs:"VanillaJS",reactjs:"ReactJS",viewGithub:"Auf Github ansehen",liveDemo:"Live-Demo",contact:"KONTAKTIEREN SIE MICH",getInTouch:"Kontaktieren Sie mich noch heute",contactDescription:"Möchten Sie mich kontaktieren? Füllen Sie das Formular aus und senden Sie es oder senden Sie eine Nachricht an eines der sozialen Netzwerke.",yourName:"Ihr Name",yourEmail:"Ihre E-Mail",yourMessage:"Ihre Nachricht",sendMessage:"Nachricht senden",settings:"Einstellungen",themeOptions:"Design-Optionen",light:"Hell",dark:"Dunkel",changeLang:"Sprache ändern",en:"Englisch",fa:"Persisch",de:"Deutsch",themeColors:"Design-Farben",messageSended:"Nachricht gesendet!!",loading:"LADEN"};y.init({lng:"en",fallbackLng:"en",resources:{en:{translation:Ae},fa:{translation:Fe},de:{translation:Me}}});const Ve=$e(y);export{Ve as i}; diff --git a/_app/immutable/chunks/stores.DLOrusQa.js b/_app/immutable/chunks/stores.Bz_EqLBn.js similarity index 72% rename from _app/immutable/chunks/stores.DLOrusQa.js rename to _app/immutable/chunks/stores.Bz_EqLBn.js index d7b8fbf..fd621a4 100644 --- a/_app/immutable/chunks/stores.DLOrusQa.js +++ b/_app/immutable/chunks/stores.Bz_EqLBn.js @@ -1 +1 @@ -import{s as e}from"./entry.BVmyFewJ.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; +import{s as e}from"./entry.BEN5_t0H.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; diff --git a/_app/immutable/entry/app.-j4xBUZe.js b/_app/immutable/entry/app.-j4xBUZe.js new file mode 100644 index 0000000..0c71785 --- /dev/null +++ b/_app/immutable/entry/app.-j4xBUZe.js @@ -0,0 +1,2 @@ +const __vite__fileDeps=["../nodes/0.DEtatf0q.js","../chunks/scheduler.BR2Oiuok.js","../chunks/index._89rKubb.js","../chunks/each.D6YF6ztN.js","../chunks/stores.Bz_EqLBn.js","../chunks/entry.BEN5_t0H.js","../chunks/index.MvJOTdOj.js","../chunks/index.BtHB-9dK.js","../chunks/Icon.ZuXheG8I.js","../assets/0.BotS-wft.css","../nodes/1.DIpoJ4l4.js","../nodes/2.DOheyr6-.js","../assets/2.Clxb8hxg.css","../nodes/3.7qNFY3n8.js","../assets/3.BJXUYxwy.css","../nodes/4.B09vOBjP.js","../assets/4.BAxqYXL3.css","../nodes/5.B04IZcq5.js","../assets/5.DqK10FiS.css","../nodes/6.CUgy3Jt2.js","../assets/6.uJChiP64.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import{s as q,a as B,o as p,g as U,i as k,f as h,C as j,p as F,e as G,c as W,b as z,D as I,E as d,t as H,d as J,j as K,F as O,G as y,I as Q}from"../chunks/scheduler.BR2Oiuok.js";import{S as X,i as Y,t as g,c as A,a as w,g as D,b as R,d as T,m as P,e as L}from"../chunks/index._89rKubb.js";const Z="modulepreload",M=function(a,e){return new URL(a,e).href},V={},E=function(e,n,i){let r=Promise.resolve();if(n&&n.length>0){const _=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),s=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));r=Promise.all(n.map(o=>{if(o=M(o,i),o in V)return;V[o]=!0;const c=o.endsWith(".css"),l=c?'[rel="stylesheet"]':"";if(!!i)for(let b=_.length-1;b>=0;b--){const v=_[b];if(v.href===o&&(!c||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const u=document.createElement("link");if(u.rel=c?"stylesheet":Z,c||(u.as="script",u.crossOrigin=""),u.href=o,s&&u.setAttribute("nonce",s),document.head.appendChild(u),c)return new Promise((b,v)=>{u.addEventListener("load",b),u.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${o}`)))})}))}return r.then(()=>e()).catch(_=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=_,window.dispatchEvent(t),!t.defaultPrevented)throw _})},se={};function $(a){let e,n,i;var r=a[1][0];function _(t,s){return{props:{data:t[3],form:t[2]}}}return r&&(e=y(r,_(a)),a[12](e)),{c(){e&&R(e.$$.fragment),n=p()},l(t){e&&T(e.$$.fragment,t),n=p()},m(t,s){e&&P(e,t,s),k(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){D();const o=e;g(o.$$.fragment,1,0,()=>{L(o,1)}),A()}r?(e=y(r,_(t)),t[12](e),R(e.$$.fragment),w(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(r){const o={};s&8&&(o.data=t[3]),s&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&g(e.$$.fragment,t),i=!1},d(t){t&&h(n),a[12](null),e&&L(e,t)}}}function x(a){let e,n,i;var r=a[1][0];function _(t,s){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return r&&(e=y(r,_(a)),a[11](e)),{c(){e&&R(e.$$.fragment),n=p()},l(t){e&&T(e.$$.fragment,t),n=p()},m(t,s){e&&P(e,t,s),k(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){D();const o=e;g(o.$$.fragment,1,0,()=>{L(o,1)}),A()}r?(e=y(r,_(t)),t[11](e),R(e.$$.fragment),w(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(r){const o={};s&8&&(o.data=t[3]),s&8215&&(o.$$scope={dirty:s,ctx:t}),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&g(e.$$.fragment,t),i=!1},d(t){t&&h(n),a[11](null),e&&L(e,t)}}}function ee(a){let e,n,i;var r=a[1][1];function _(t,s){return{props:{data:t[4],form:t[2]}}}return r&&(e=y(r,_(a)),a[10](e)),{c(){e&&R(e.$$.fragment),n=p()},l(t){e&&T(e.$$.fragment,t),n=p()},m(t,s){e&&P(e,t,s),k(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][1])){if(e){D();const o=e;g(o.$$.fragment,1,0,()=>{L(o,1)}),A()}r?(e=y(r,_(t)),t[10](e),R(e.$$.fragment),w(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(r){const o={};s&16&&(o.data=t[4]),s&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&g(e.$$.fragment,t),i=!1},d(t){t&&h(n),a[10](null),e&&L(e,t)}}}function S(a){let e,n=a[6]&&C(a);return{c(){e=G("div"),n&&n.c(),this.h()},l(i){e=W(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var r=z(e);n&&n.l(r),r.forEach(h),this.h()},h(){I(e,"id","svelte-announcer"),I(e,"aria-live","assertive"),I(e,"aria-atomic","true"),d(e,"position","absolute"),d(e,"left","0"),d(e,"top","0"),d(e,"clip","rect(0 0 0 0)"),d(e,"clip-path","inset(50%)"),d(e,"overflow","hidden"),d(e,"white-space","nowrap"),d(e,"width","1px"),d(e,"height","1px")},m(i,r){k(i,e,r),n&&n.m(e,null)},p(i,r){i[6]?n?n.p(i,r):(n=C(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&h(e),n&&n.d()}}}function C(a){let e;return{c(){e=H(a[7])},l(n){e=J(n,a[7])},m(n,i){k(n,e,i)},p(n,i){i&128&&K(e,n[7])},d(n){n&&h(e)}}}function te(a){let e,n,i,r,_;const t=[x,$],s=[];function o(l,m){return l[1][1]?0:1}e=o(a),n=s[e]=t[e](a);let c=a[5]&&S(a);return{c(){n.c(),i=B(),c&&c.c(),r=p()},l(l){n.l(l),i=U(l),c&&c.l(l),r=p()},m(l,m){s[e].m(l,m),k(l,i,m),c&&c.m(l,m),k(l,r,m),_=!0},p(l,[m]){let u=e;e=o(l),e===u?s[e].p(l,m):(D(),g(s[u],1,1,()=>{s[u]=null}),A(),n=s[e],n?n.p(l,m):(n=s[e]=t[e](l),n.c()),w(n,1),n.m(i.parentNode,i)),l[5]?c?c.p(l,m):(c=S(l),c.c(),c.m(r.parentNode,r)):c&&(c.d(1),c=null)},i(l){_||(w(n),_=!0)},o(l){g(n),_=!1},d(l){l&&(h(i),h(r)),s[e].d(l),c&&c.d(l)}}}function ne(a,e,n){let{stores:i}=e,{page:r}=e,{constructors:_}=e,{components:t=[]}=e,{form:s}=e,{data_0:o=null}=e,{data_1:c=null}=e;j(i.page.notify);let l=!1,m=!1,u=null;F(()=>{const f=i.page.subscribe(()=>{l&&(n(6,m=!0),Q().then(()=>{n(7,u=document.title||"untitled page")}))});return n(5,l=!0),f});function b(f){O[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function v(f){O[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function N(f){O[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(8,i=f.stores),"page"in f&&n(9,r=f.page),"constructors"in f&&n(1,_=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,s=f.form),"data_0"in f&&n(3,o=f.data_0),"data_1"in f&&n(4,c=f.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(r)},[t,_,s,o,c,l,m,u,i,r,b,v,N]}class oe extends X{constructor(e){super(),Y(this,e,ne,te,q,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>E(()=>import("../nodes/0.DEtatf0q.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url),()=>E(()=>import("../nodes/1.DIpoJ4l4.js"),__vite__mapDeps([10,1,2,4,5,6]),import.meta.url),()=>E(()=>import("../nodes/2.DOheyr6-.js"),__vite__mapDeps([11,1,2,3,6,7,12]),import.meta.url),()=>E(()=>import("../nodes/3.7qNFY3n8.js"),__vite__mapDeps([13,1,2,3,8,7,6,14]),import.meta.url),()=>E(()=>import("../nodes/4.B09vOBjP.js"),__vite__mapDeps([15,1,2,6,7,16]),import.meta.url),()=>E(()=>import("../nodes/5.B04IZcq5.js"),__vite__mapDeps([17,1,2,3,7,6,18]),import.meta.url),()=>E(()=>import("../nodes/6.CUgy3Jt2.js"),__vite__mapDeps([19,1,2,3,7,6,8,20]),import.meta.url)],le=[],ce={"/":[2],"/about":[3],"/contact":[4],"/projects":[5],"/service":[6]},fe={handleError:({error:a})=>{console.error(a)},reroute:()=>{}};export{ce as dictionary,fe as hooks,se as matchers,ae as nodes,oe as root,le as server_loads}; diff --git a/_app/immutable/entry/app.B7vGSne3.js b/_app/immutable/entry/app.B7vGSne3.js deleted file mode 100644 index 715c7d6..0000000 --- a/_app/immutable/entry/app.B7vGSne3.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__fileDeps=["../nodes/0.ClrXdn1j.js","../chunks/scheduler.BR2Oiuok.js","../chunks/index._89rKubb.js","../chunks/each.D6YF6ztN.js","../chunks/stores.DLOrusQa.js","../chunks/entry.BVmyFewJ.js","../chunks/index.MvJOTdOj.js","../chunks/index.DjxkV331.js","../chunks/Icon.ZuXheG8I.js","../assets/0.BotS-wft.css","../nodes/1.-6Kl80CZ.js","../nodes/2.Bfv3mpcf.js","../assets/2.Clxb8hxg.css","../nodes/3.D2Dj-l0f.js","../assets/3.BJXUYxwy.css","../nodes/4.CCkwWgbP.js","../assets/4.BAxqYXL3.css","../nodes/5.BHAAO1Ht.js","../assets/5.uJChiP64.css","../nodes/6.C-btDOM9.js","../assets/6.DqK10FiS.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import{s as q,a as B,o as p,g as U,i as k,f as h,C as j,p as F,e as G,c as W,b as z,D as I,E as d,t as H,d as J,j as K,F as O,G as y,I as Q}from"../chunks/scheduler.BR2Oiuok.js";import{S as X,i as Y,t as g,c as A,a as w,g as D,b as R,d as T,m as P,e as L}from"../chunks/index._89rKubb.js";const Z="modulepreload",M=function(a,e){return new URL(a,e).href},V={},E=function(e,n,i){let s=Promise.resolve();if(n&&n.length>0){const _=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),r=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));s=Promise.all(n.map(o=>{if(o=M(o,i),o in V)return;V[o]=!0;const c=o.endsWith(".css"),l=c?'[rel="stylesheet"]':"";if(!!i)for(let b=_.length-1;b>=0;b--){const v=_[b];if(v.href===o&&(!c||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const u=document.createElement("link");if(u.rel=c?"stylesheet":Z,c||(u.as="script",u.crossOrigin=""),u.href=o,r&&u.setAttribute("nonce",r),document.head.appendChild(u),c)return new Promise((b,v)=>{u.addEventListener("load",b),u.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${o}`)))})}))}return s.then(()=>e()).catch(_=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=_,window.dispatchEvent(t),!t.defaultPrevented)throw _})},re={};function $(a){let e,n,i;var s=a[1][0];function _(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=y(s,_(a)),a[12](e)),{c(){e&&R(e.$$.fragment),n=p()},l(t){e&&T(e.$$.fragment,t),n=p()},m(t,r){e&&P(e,t,r),k(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){D();const o=e;g(o.$$.fragment,1,0,()=>{L(o,1)}),A()}s?(e=y(s,_(t)),t[12](e),R(e.$$.fragment),w(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const o={};r&8&&(o.data=t[3]),r&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&g(e.$$.fragment,t),i=!1},d(t){t&&h(n),a[12](null),e&&L(e,t)}}}function x(a){let e,n,i;var s=a[1][0];function _(t,r){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return s&&(e=y(s,_(a)),a[11](e)),{c(){e&&R(e.$$.fragment),n=p()},l(t){e&&T(e.$$.fragment,t),n=p()},m(t,r){e&&P(e,t,r),k(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){D();const o=e;g(o.$$.fragment,1,0,()=>{L(o,1)}),A()}s?(e=y(s,_(t)),t[11](e),R(e.$$.fragment),w(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const o={};r&8&&(o.data=t[3]),r&8215&&(o.$$scope={dirty:r,ctx:t}),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&g(e.$$.fragment,t),i=!1},d(t){t&&h(n),a[11](null),e&&L(e,t)}}}function ee(a){let e,n,i;var s=a[1][1];function _(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=y(s,_(a)),a[10](e)),{c(){e&&R(e.$$.fragment),n=p()},l(t){e&&T(e.$$.fragment,t),n=p()},m(t,r){e&&P(e,t,r),k(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){D();const o=e;g(o.$$.fragment,1,0,()=>{L(o,1)}),A()}s?(e=y(s,_(t)),t[10](e),R(e.$$.fragment),w(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(s){const o={};r&16&&(o.data=t[4]),r&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&w(e.$$.fragment,t),i=!0)},o(t){e&&g(e.$$.fragment,t),i=!1},d(t){t&&h(n),a[10](null),e&&L(e,t)}}}function S(a){let e,n=a[6]&&C(a);return{c(){e=G("div"),n&&n.c(),this.h()},l(i){e=W(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=z(e);n&&n.l(s),s.forEach(h),this.h()},h(){I(e,"id","svelte-announcer"),I(e,"aria-live","assertive"),I(e,"aria-atomic","true"),d(e,"position","absolute"),d(e,"left","0"),d(e,"top","0"),d(e,"clip","rect(0 0 0 0)"),d(e,"clip-path","inset(50%)"),d(e,"overflow","hidden"),d(e,"white-space","nowrap"),d(e,"width","1px"),d(e,"height","1px")},m(i,s){k(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=C(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&h(e),n&&n.d()}}}function C(a){let e;return{c(){e=H(a[7])},l(n){e=J(n,a[7])},m(n,i){k(n,e,i)},p(n,i){i&128&&K(e,n[7])},d(n){n&&h(e)}}}function te(a){let e,n,i,s,_;const t=[x,$],r=[];function o(l,m){return l[1][1]?0:1}e=o(a),n=r[e]=t[e](a);let c=a[5]&&S(a);return{c(){n.c(),i=B(),c&&c.c(),s=p()},l(l){n.l(l),i=U(l),c&&c.l(l),s=p()},m(l,m){r[e].m(l,m),k(l,i,m),c&&c.m(l,m),k(l,s,m),_=!0},p(l,[m]){let u=e;e=o(l),e===u?r[e].p(l,m):(D(),g(r[u],1,1,()=>{r[u]=null}),A(),n=r[e],n?n.p(l,m):(n=r[e]=t[e](l),n.c()),w(n,1),n.m(i.parentNode,i)),l[5]?c?c.p(l,m):(c=S(l),c.c(),c.m(s.parentNode,s)):c&&(c.d(1),c=null)},i(l){_||(w(n),_=!0)},o(l){g(n),_=!1},d(l){l&&(h(i),h(s)),r[e].d(l),c&&c.d(l)}}}function ne(a,e,n){let{stores:i}=e,{page:s}=e,{constructors:_}=e,{components:t=[]}=e,{form:r}=e,{data_0:o=null}=e,{data_1:c=null}=e;j(i.page.notify);let l=!1,m=!1,u=null;F(()=>{const f=i.page.subscribe(()=>{l&&(n(6,m=!0),Q().then(()=>{n(7,u=document.title||"untitled page")}))});return n(5,l=!0),f});function b(f){O[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function v(f){O[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function N(f){O[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(8,i=f.stores),"page"in f&&n(9,s=f.page),"constructors"in f&&n(1,_=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,r=f.form),"data_0"in f&&n(3,o=f.data_0),"data_1"in f&&n(4,c=f.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(s)},[t,_,r,o,c,l,m,u,i,s,b,v,N]}class oe extends X{constructor(e){super(),Y(this,e,ne,te,q,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>E(()=>import("../nodes/0.ClrXdn1j.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url),()=>E(()=>import("../nodes/1.-6Kl80CZ.js"),__vite__mapDeps([10,1,2,4,5,6]),import.meta.url),()=>E(()=>import("../nodes/2.Bfv3mpcf.js"),__vite__mapDeps([11,1,2,3,6,7,12]),import.meta.url),()=>E(()=>import("../nodes/3.D2Dj-l0f.js"),__vite__mapDeps([13,1,2,3,8,7,6,14]),import.meta.url),()=>E(()=>import("../nodes/4.CCkwWgbP.js"),__vite__mapDeps([15,1,2,6,7,16]),import.meta.url),()=>E(()=>import("../nodes/5.BHAAO1Ht.js"),__vite__mapDeps([17,1,2,3,7,6,8,18]),import.meta.url),()=>E(()=>import("../nodes/6.C-btDOM9.js"),__vite__mapDeps([19,1,2,3,7,6,20]),import.meta.url)],le=[],ce={"/":[2],"/about":[3],"/contact":[4],"/service":[5],"/showcase":[6]},fe={handleError:({error:a})=>{console.error(a)},reroute:()=>{}};export{ce as dictionary,fe as hooks,re as matchers,ae as nodes,oe as root,le as server_loads}; diff --git a/_app/immutable/entry/start.B8o4ajuc.js b/_app/immutable/entry/start.B8o4ajuc.js deleted file mode 100644 index 400c057..0000000 --- a/_app/immutable/entry/start.B8o4ajuc.js +++ /dev/null @@ -1 +0,0 @@ -import{a as t}from"../chunks/entry.BVmyFewJ.js";export{t as start}; diff --git a/_app/immutable/entry/start.pFgbuXPZ.js b/_app/immutable/entry/start.pFgbuXPZ.js new file mode 100644 index 0000000..1407306 --- /dev/null +++ b/_app/immutable/entry/start.pFgbuXPZ.js @@ -0,0 +1 @@ +import{a as t}from"../chunks/entry.BEN5_t0H.js";export{t as start}; diff --git a/_app/immutable/nodes/0.ClrXdn1j.js b/_app/immutable/nodes/0.DEtatf0q.js similarity index 99% rename from _app/immutable/nodes/0.ClrXdn1j.js rename to _app/immutable/nodes/0.DEtatf0q.js index 23ef11d..3031a91 100644 --- a/_app/immutable/nodes/0.ClrXdn1j.js +++ b/_app/immutable/nodes/0.DEtatf0q.js @@ -1 +1 @@ -import{s as ge,e as _,c as A,b as O,f as v,D as u,i as B,h as m,n as J,K as de,k as ne,t as Y,a as N,d as ee,g as C,j as te,p as Oe,N as fe,r as ze,a2 as Qe,a3 as Xe,a4 as Ne,E as j,J as ve,a5 as He,a6 as Pe,a7 as Me,a8 as je,a9 as Je}from"../chunks/scheduler.BR2Oiuok.js";import{S as pe,i as _e,a as U,g as ue,c as he,t as K,b as le,d as re,m as se,e as ae}from"../chunks/index._89rKubb.js";import{e as x}from"../chunks/each.D6YF6ztN.js";import{p as We}from"../chunks/stores.DLOrusQa.js";import{i as Ae}from"../chunks/index.DjxkV331.js";import{b as oe}from"../chunks/entry.BVmyFewJ.js";import{I as be}from"../chunks/Icon.ZuXheG8I.js";import{w as Ie}from"../chunks/index.MvJOTdOj.js";const xe=!0,Ut=Object.freeze(Object.defineProperty({__proto__:null,prerender:xe},Symbol.toStringTag,{value:"Module"}));function Ce(r,e,t){const l=r.slice();return l[2]=e[t].path,l[3]=e[t].label,l}function Ee(r){let e,t,l=r[3]+"",n,h,f,o,c;return{c(){e=_("li"),t=_("a"),n=Y(l),o=N(),this.h()},l(a){e=A(a,"LI",{class:!0,"aria-current":!0});var i=O(e);t=A(i,"A",{href:!0,class:!0});var s=O(t);n=ee(s,l),s.forEach(v),o=C(i),i.forEach(v),this.h()},h(){u(t,"href",h=r[2]),u(t,"class",f="flex h-full items-center px-2 font-bold text-xs uppercase tracking-widest transition-colors duration-200 "+(r[1].url.pathname===r[2]?'before:content-[""] before:absolute before:top-0 before:left-1/2 before:-translate-x-1/2 before:border-[6px] before:border-transparent before:border-t-primary':"")+" svelte-1lrrxnt"),u(e,"class","relative h-full"),u(e,"aria-current",c=r[1].url.pathname===r[2]?"page":void 0)},m(a,i){B(a,e,i),m(e,t),m(t,n),m(e,o)},p(a,i){i&1&&l!==(l=a[3]+"")&&te(n,l),i&1&&h!==(h=a[2])&&u(t,"href",h),i&3&&f!==(f="flex h-full items-center px-2 font-bold text-xs uppercase tracking-widest transition-colors duration-200 "+(a[1].url.pathname===a[2]?'before:content-[""] before:absolute before:top-0 before:left-1/2 before:-translate-x-1/2 before:border-[6px] before:border-transparent before:border-t-primary':"")+" svelte-1lrrxnt")&&u(t,"class",f),i&3&&c!==(c=a[1].url.pathname===a[2]?"page":void 0)&&u(e,"aria-current",c)},d(a){a&&v(e)}}}function Ye(r){let e,t,l,n,h=x([{path:"/",label:r[0].t("navItem1")},{path:`${oe}/about`,label:r[0].t("navItem2")},{path:`${oe}/service`,label:r[0].t("navItem3")},{path:`${oe}/projects`,label:r[0].t("navItem4")},{path:`${oe}/contact`,label:r[0].t("navItem5")}]),f=[];for(let o=0;o<5;o+=1)f[o]=Ee(Ce(r,h,o));return{c(){e=_("header"),t=_("nav"),l=_("ul");for(let o=0;o<5;o+=1)f[o].c();this.h()},l(o){e=A(o,"HEADER",{class:!0});var c=O(e);t=A(c,"NAV",{class:!0,dir:!0});var a=O(t);l=A(a,"UL",{dir:!0,class:!0});var i=O(l);for(let s=0;s<5;s+=1)f[s].l(i);i.forEach(v),a.forEach(v),c.forEach(v),this.h()},h(){u(l,"dir",n=r[0].language==="fa"?"rtl":"ltr"),u(l,"class","relative flex items-center justify-center h-12 p-0 px-6 m-0 rounded-ee-3xl rounded-es-3xl bg-secondary/40 backdrop-filter backdrop-blur-sm"),u(t,"class","flex justify-center"),u(t,"dir","ltr"),u(e,"class","fixed top-0 z-20 w-full -translate-x-1/2 left-1/2")},m(o,c){B(o,e,c),m(e,t),m(t,l);for(let a=0;a<5;a+=1)f[a]&&f[a].m(l,null)},p(o,[c]){if(c&3){h=x([{path:"/",label:o[0].t("navItem1")},{path:`${oe}/about`,label:o[0].t("navItem2")},{path:`${oe}/service`,label:o[0].t("navItem3")},{path:`${oe}/projects`,label:o[0].t("navItem4")},{path:`${oe}/contact`,label:o[0].t("navItem5")}]);let a;for(a=0;a<5;a+=1){const i=Ce(o,h,a);f[a]?f[a].p(i,c):(f[a]=Ee(i),f[a].c(),f[a].m(l,null))}for(;a<5;a+=1)f[a].d(1)}c&1&&n!==(n=o[0].language==="fa"?"rtl":"ltr")&&u(l,"dir",n)},i:J,o:J,d(o){o&&v(e),de(f,o)}}}function et(r,e,t){let l,n;return ne(r,Ae,h=>t(0,l=h)),ne(r,We,h=>t(1,n=h)),[l,n]}class tt extends pe{constructor(e){super(),_e(this,e,et,Ye,ge,{})}}function ye(r,e,t){const l=r.slice();return l[4]=e[t],l}function lt(r){let e;return{c(){e=_("div"),this.h()},l(t){e=A(t,"DIV",{class:!0}),O(e).forEach(v),this.h()},h(){u(e,"class","skeleton-loader bg-gradient-to-r from-info/60 via-secondary/40 to-info/60 svelte-176ejdn")},m(t,l){B(t,e,l)},p:J,i:J,o:J,d(t){t&&v(e)}}}function rt(r){let e,t;return e=new be({props:{icon:r[4].icon,class:"icon hover:text-accent fade-in"}}),{c(){le(e.$$.fragment)},l(l){re(e.$$.fragment,l)},m(l,n){se(e,l,n),t=!0},p:J,i(l){t||(U(e.$$.fragment,l),t=!0)},o(l){K(e.$$.fragment,l),t=!1},d(l){ae(e,l)}}}function Ve(r){let e,t,l,n;const h=[rt,lt],f=[];function o(c,a){return c[0]?0:1}return t=o(r),l=f[t]=h[t](r),{c(){e=_("a"),l.c(),this.h()},l(c){e=A(c,"A",{target:!0,rel:!0,class:!0,href:!0});var a=O(e);l.l(a),a.forEach(v),this.h()},h(){u(e,"target","_blank"),u(e,"rel","noreferrer"),u(e,"class","contactlink hover:scale-150"),u(e,"href",r[4].href)},m(c,a){B(c,e,a),f[t].m(e,null),n=!0},p(c,a){let i=t;t=o(c),t===i?f[t].p(c,a):(ue(),K(f[i],1,1,()=>{f[i]=null}),he(),l=f[t],l?l.p(c,a):(l=f[t]=h[t](c),l.c()),U(l,1),l.m(e,null))},i(c){n||(U(l),n=!0)},o(c){K(l),n=!1},d(c){c&&v(e),f[t].d()}}}function st(r){let e,t,l,n,h,f,o=r[1].t("followMe")+"",c,a,i=x(r[3]),s=[];for(let g=0;gK(s[g],1,1,()=>{s[g]=null});return{c(){e=_("aside"),t=_("div");for(let g=0;g