@d0rich/esprit-design 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (function(p,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("gsap")):typeof define=="function"&&define.amd?define(["exports","vue","gsap"],e):(p=typeof globalThis<"u"?globalThis:p||self,e(p.EspritDesign={},p.Vue,p.gsap))})(this,function(p,e,G){"use strict";const Qt={name:"DChip"},K=(t,n)=>{const o=t.__vccOpts||t;for(const[i,s]of n)o[i]=s;return o},Zt={class:"d-chip"};function Xt(t,n,o,i,s,r){return e.openBlock(),e.createElementBlock("span",Zt,[e.renderSlot(t.$slots,"default")])}const Jt=K(Qt,[["render",Xt]]),P=/^[a-z0-9]+(-[a-z0-9]+)*$/,A=(t,n,o,i="")=>{const s=t.split(":");if(t.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;i=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const a=s.pop(),c=s.pop(),d={provider:s.length>0?s[0]:i,prefix:c,name:a};return n&&!j(d)?null:d}const r=s[0],l=r.split("-");if(l.length>1){const a={provider:i,prefix:l.shift(),name:l.join("-")};return n&&!j(a)?null:a}if(o&&i===""){const a={provider:i,prefix:"",name:r};return n&&!j(a,o)?null:a}return null},j=(t,n)=>t?!!((t.provider===""||t.provider.match(P))&&(n&&t.prefix===""||t.prefix.match(P))&&t.name.match(P)):!1,mt=Object.freeze({left:0,top:0,width:16,height:16}),O=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),z=Object.freeze({...mt,...O}),Q=Object.freeze({...z,body:"",hidden:!1});function Yt(t,n){const o={};!t.hFlip!=!n.hFlip&&(o.hFlip=!0),!t.vFlip!=!n.vFlip&&(o.vFlip=!0);const i=((t.rotate||0)+(n.rotate||0))%4;return i&&(o.rotate=i),o}function pt(t,n){const o=Yt(t,n);for(const i in Q)i in O?i in t&&!(i in o)&&(o[i]=O[i]):i in n?o[i]=n[i]:i in t&&(o[i]=t[i]);return o}function vt(t,n){const o=t.icons,i=t.aliases||Object.create(null),s=Object.create(null);function r(l){if(o[l])return s[l]=[];if(!(l in s)){s[l]=null;const a=i[l]&&i[l].parent,c=a&&r(a);c&&(s[l]=[a].concat(c))}return s[l]}return Object.keys(o).concat(Object.keys(i)).forEach(r),s}function te(t,n,o){const i=t.icons,s=t.aliases||Object.create(null);let r={};function l(a){r=pt(i[a]||s[a],r)}return l(n),o.forEach(l),pt(t,r)}function ht(t,n){const o=[];if(typeof t!="object"||typeof t.icons!="object")return o;t.not_found instanceof Array&&t.not_found.forEach(s=>{n(s,null),o.push(s)});const i=vt(t);for(const s in i){const r=i[s];r&&(n(s,te(t,s,r)),o.push(s))}return o}const ee={provider:"",aliases:{},not_found:{},...mt};function Z(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function gt(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!Z(t,ee))return null;const o=n.icons;for(const s in o){const r=o[s];if(!s.match(P)||typeof r.body!="string"||!Z(r,Q))return null}const i=n.aliases||Object.create(null);for(const s in i){const r=i[s],l=r.parent;if(!s.match(P)||typeof l!="string"||!o[l]&&!i[l]||!Z(r,Q))return null}return n}const yt=Object.create(null);function ne(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function $(t,n){const o=yt[t]||(yt[t]=Object.create(null));return o[n]||(o[n]=ne(t,n))}function X(t,n){return gt(n)?ht(n,(o,i)=>{i?t.icons[o]=i:t.missing.add(o)}):[]}function oe(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let T=!1;function _t(t){return typeof t=="boolean"&&(T=t),T}function se(t){const n=typeof t=="string"?A(t,!0,T):t;if(n){const o=$(n.provider,n.prefix),i=n.name;return o.icons[i]||(o.missing.has(i)?null:void 0)}}function ie(t,n){const o=A(t,!0,T);if(!o)return!1;const i=$(o.provider,o.prefix);return oe(i,o.name,n)}function re(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),T&&!n&&!t.prefix){let s=!1;return gt(t)&&(t.prefix="",ht(t,(r,l)=>{l&&ie(r,l)&&(s=!0)})),s}const o=t.prefix;if(!j({provider:n,prefix:o,name:"a"}))return!1;const i=$(n,o);return!!X(i,t)}const kt=Object.freeze({width:null,height:null}),bt=Object.freeze({...kt,...O}),le=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ae=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ct(t,n,o){if(n===1)return t;if(o=o||100,typeof t=="number")return Math.ceil(t*n*o)/o;if(typeof t!="string")return t;const i=t.split(le);if(i===null||!i.length)return t;const s=[];let r=i.shift(),l=ae.test(r);for(;;){if(l){const a=parseFloat(r);isNaN(a)?s.push(r):s.push(Math.ceil(a*n*o)/o)}else s.push(r);if(r=i.shift(),r===void 0)return s.join("");l=!l}}function ce(t,n="defs"){let o="";const i=t.indexOf("<"+n);for(;i>=0;){const s=t.indexOf(">",i),r=t.indexOf("</"+n);if(s===-1||r===-1)break;const l=t.indexOf(">",r);if(l===-1)break;o+=t.slice(s+1,r).trim(),t=t.slice(0,i).trim()+t.slice(l+1)}return{defs:o,content:t}}function de(t,n){return t?"<defs>"+t+"</defs>"+n:n}function fe(t,n,o){const i=ce(t);return de(i.defs,n+i.content+o)}const ue=t=>t==="unset"||t==="undefined"||t==="none";function me(t,n){const o={...z,...t},i={...bt,...n},s={left:o.left,top:o.top,width:o.width,height:o.height};let r=o.body;[o,i].forEach(g=>{const f=[],B=g.hFlip,S=g.vFlip;let y=g.rotate;B?S?y+=2:(f.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),f.push("scale(-1 1)"),s.top=s.left=0):S&&(f.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),f.push("scale(1 -1)"),s.top=s.left=0);let b;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:b=s.height/2+s.top,f.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:f.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:b=s.width/2+s.left,f.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}y%2===1&&(s.left!==s.top&&(b=s.left,s.left=s.top,s.top=b),s.width!==s.height&&(b=s.width,s.width=s.height,s.height=b)),f.length&&(r=fe(r,'<g transform="'+f.join(" ")+'">',"</g>"))});const l=i.width,a=i.height,c=s.width,d=s.height;let u,m;l===null?(m=a===null?"1em":a==="auto"?d:a,u=Ct(m,c/d)):(u=l==="auto"?c:l,m=a===null?Ct(u,d/c):a==="auto"?d:a);const h={},k=(g,f)=>{ue(f)||(h[g]=f.toString())};k("width",u),k("height",m);const C=[s.left,s.top,c,d];return h.viewBox=C.join(" "),{attributes:h,viewBox:C,body:r}}const pe=/\sid="(\S+)"/g,he="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ge=0;function ye(t,n=he){const o=[];let i;for(;i=pe.exec(t);)o.push(i[1]);if(!o.length)return t;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(r=>{const l=typeof n=="function"?n(r):n+(ge++).toString(),a=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+l+s+"$3")}),t=t.replace(new RegExp(s,"g"),""),t}const J=Object.create(null);function _e(t,n){J[t]=n}function Y(t){return J[t]||J[""]}function v(t){let n;if(typeof t.resources=="string")n=[t.resources];else if(n=t.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const tt=Object.create(null),I=["https://api.simplesvg.com","https://api.unisvg.com"],W=[];for(;I.length>0;)I.length===1||Math.random()>.5?W.push(I.shift()):W.push(I.pop());tt[""]=v({resources:["https://api.iconify.design"].concat(W)});function ke(t,n){const o=v(n);return o===null?!1:(tt[t]=o,!0)}function et(t){return tt[t]}let St=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function be(t,n){const o=et(t);if(!o)return 0;let i;if(!o.maxURL)i=0;else{let s=0;o.resources.forEach(l=>{s=Math.max(s,l.length)});const r=n+".json?icons=";i=o.maxURL-s-o.path.length-r.length}return i}function Ce(t){return t===404}const Se=(t,n,o)=>{const i=[],s=be(t,n),r="icons";let l={type:r,provider:t,prefix:n,icons:[]},a=0;return o.forEach((c,d)=>{a+=c.length+1,a>=s&&d>0&&(i.push(l),l={type:r,provider:t,prefix:n,icons:[]},a=c.length),l.icons.push(c)}),i.push(l),i};function Be(t){if(typeof t=="string"){const n=et(t);if(n)return n.path}return"/"}const we={prepare:Se,send:(t,n,o)=>{if(!St){o("abort",424);return}let i=Be(n.provider);switch(n.type){case"icons":{const r=n.prefix,a=n.icons.join(","),c=new URLSearchParams({icons:a});i+=r+".json?"+c.toString();break}case"custom":{const r=n.uri;i+=r.slice(0,1)==="/"?r.slice(1):r;break}default:o("abort",400);return}let s=503;St(t+i).then(r=>{const l=r.status;if(l!==200){setTimeout(()=>{o(Ce(l)?"abort":"next",l)});return}return s=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?o("abort",r):o("next",s)});return}setTimeout(()=>{o("success",r)})}).catch(()=>{o("next",s)})}};function Ee(t){const n={loaded:[],missing:[],pending:[]},o=Object.create(null);t.sort((s,r)=>s.provider!==r.provider?s.provider.localeCompare(r.provider):s.prefix!==r.prefix?s.prefix.localeCompare(r.prefix):s.name.localeCompare(r.name));let i={provider:"",prefix:"",name:""};return t.forEach(s=>{if(i.name===s.name&&i.prefix===s.prefix&&i.provider===s.provider)return;i=s;const r=s.provider,l=s.prefix,a=s.name,c=o[r]||(o[r]=Object.create(null)),d=c[l]||(c[l]=$(r,l));let u;a in d.icons?u=n.loaded:l===""||d.missing.has(a)?u=n.missing:u=n.pending;const m={provider:r,prefix:l,name:a};u.push(m)}),n}function Bt(t,n){t.forEach(o=>{const i=o.loaderCallbacks;i&&(o.loaderCallbacks=i.filter(s=>s.id!==n))})}function xe(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const n=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!n.length)return;let o=!1;const i=t.provider,s=t.prefix;n.forEach(r=>{const l=r.icons,a=l.pending.length;l.pending=l.pending.filter(c=>{if(c.prefix!==s)return!0;const d=c.name;if(t.icons[d])l.loaded.push({provider:i,prefix:s,name:d});else if(t.missing.has(d))l.missing.push({provider:i,prefix:s,name:d});else return o=!0,!0;return!1}),l.pending.length!==a&&(o||Bt([t],r.id),r.callback(l.loaded.slice(0),l.missing.slice(0),l.pending.slice(0),r.abort))})}))}let Ne=0;function $e(t,n,o){const i=Ne++,s=Bt.bind(null,o,i);if(!n.pending.length)return s;const r={id:i,icons:n,callback:t,abort:s};return o.forEach(l=>{(l.loaderCallbacks||(l.loaderCallbacks=[])).push(r)}),s}function Ve(t,n=!0,o=!1){const i=[];return t.forEach(s=>{const r=typeof s=="string"?A(s,n,o):s;r&&i.push(r)}),i}var De={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Pe(t,n,o,i){const s=t.resources.length,r=t.random?Math.floor(Math.random()*s):t.index;let l;if(t.random){let _=t.resources.slice(0);for(l=[];_.length>1;){const E=Math.floor(Math.random()*_.length);l.push(_[E]),_=_.slice(0,E).concat(_.slice(E+1))}l=l.concat(_)}else l=t.resources.slice(r).concat(t.resources.slice(0,r));const a=Date.now();let c="pending",d=0,u,m=null,h=[],k=[];typeof i=="function"&&k.push(i);function C(){m&&(clearTimeout(m),m=null)}function g(){c==="pending"&&(c="aborted"),C(),h.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),h=[]}function f(_,E){E&&(k=[]),typeof _=="function"&&k.push(_)}function B(){return{startTime:a,payload:n,status:c,queriesSent:d,queriesPending:h.length,subscribe:f,abort:g}}function S(){c="failed",k.forEach(_=>{_(void 0,u)})}function y(){h.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),h=[]}function b(_,E,M){const H=E!=="success";switch(h=h.filter(V=>V!==_),c){case"pending":break;case"failed":if(H||!t.dataAfterTimeout)return;break;default:return}if(E==="abort"){u=M,S();return}if(H){u=M,h.length||(l.length?ut():S());return}if(C(),y(),!t.random){const V=t.resources.indexOf(_.resource);V!==-1&&V!==t.index&&(t.index=V)}c="completed",k.forEach(V=>{V(M)})}function ut(){if(c!=="pending")return;C();const _=l.shift();if(_===void 0){if(h.length){m=setTimeout(()=>{C(),c==="pending"&&(y(),S())},t.timeout);return}S();return}const E={status:"pending",resource:_,callback:(M,H)=>{b(E,M,H)}};h.push(E),d++,m=setTimeout(ut,t.rotate),o(_,n,E.callback)}return setTimeout(ut),B}function wt(t){const n={...De,...t};let o=[];function i(){o=o.filter(a=>a().status==="pending")}function s(a,c,d){const u=Pe(n,a,c,(m,h)=>{i(),d&&d(m,h)});return o.push(u),u}function r(a){return o.find(c=>a(c))||null}return{query:s,find:r,setIndex:a=>{n.index=a},getIndex:()=>n.index,cleanup:i}}function Et(){}const nt=Object.create(null);function Te(t){if(!nt[t]){const n=et(t);if(!n)return;const o=wt(n),i={config:n,redundancy:o};nt[t]=i}return nt[t]}function Ie(t,n,o){let i,s;if(typeof t=="string"){const r=Y(t);if(!r)return o(void 0,424),Et;s=r.send;const l=Te(t);l&&(i=l.redundancy)}else{const r=v(t);if(r){i=wt(r);const l=t.resources?t.resources[0]:"",a=Y(l);a&&(s=a.send)}}return!i||!s?(o(void 0,424),Et):i.query(n,s,o)().abort}const xt="iconify2",L="iconify",Nt=L+"-count",$t=L+"-version",Vt=36e5,Le=168,Fe=50;function ot(t,n){try{return t.getItem(n)}catch{}}function st(t,n,o){try{return t.setItem(n,o),!0}catch{}}function Dt(t,n){try{t.removeItem(n)}catch{}}function it(t,n){return st(t,Nt,n.toString())}function rt(t){return parseInt(ot(t,Nt))||0}const q={local:!0,session:!0},Pt={local:new Set,session:new Set};let lt=!1;function Me(t){lt=t}let R=typeof window>"u"?{}:window;function Tt(t){const n=t+"Storage";try{if(R&&R[n]&&typeof R[n].length=="number")return R[n]}catch{}q[t]=!1}function It(t,n){const o=Tt(t);if(!o)return;const i=ot(o,$t);if(i!==xt){if(i){const a=rt(o);for(let c=0;c<a;c++)Dt(o,L+c.toString())}st(o,$t,xt),it(o,0);return}const s=Math.floor(Date.now()/Vt)-Le,r=a=>{const c=L+a.toString(),d=ot(o,c);if(typeof d=="string"){try{const u=JSON.parse(d);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>s&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&n(u,a))return!0}catch{}Dt(o,c)}};let l=rt(o);for(let a=l-1;a>=0;a--)r(a)||(a===l-1?(l--,it(o,l)):Pt[t].add(a))}function Lt(){if(!lt){Me(!0);for(const t in q)It(t,n=>{const o=n.data,i=n.provider,s=o.prefix,r=$(i,s);if(!X(r,o).length)return!1;const l=o.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,l):l,!0})}}function Ae(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const i in q)It(i,s=>{const r=s.data;return s.provider!==t.provider||r.prefix!==t.prefix||r.lastModified===n});return!0}function je(t,n){lt||Lt();function o(i){let s;if(!q[i]||!(s=Tt(i)))return;const r=Pt[i];let l;if(r.size)r.delete(l=Array.from(r).shift());else if(l=rt(s),l>=Fe||!it(s,l+1))return;const a={cached:Math.floor(Date.now()/Vt),provider:t.provider,data:n};return st(s,L+l.toString(),JSON.stringify(a))}n.lastModified&&!Ae(t,n.lastModified)||Object.keys(n.icons).length&&(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function Ft(){}function Oe(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,xe(t)}))}function ze(t,n){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(n).sort():t.iconsToLoad=n,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:o,prefix:i}=t,s=t.iconsToLoad;delete t.iconsToLoad;let r;if(!s||!(r=Y(o)))return;r.prepare(o,i,s).forEach(a=>{Ie(o,a,c=>{if(typeof c!="object")a.icons.forEach(d=>{t.missing.add(d)});else try{const d=X(t,c);if(!d.length)return;const u=t.pendingIcons;u&&d.forEach(m=>{u.delete(m)}),je(t,c)}catch(d){console.error(d)}Oe(t)})})}))}const We=(t,n)=>{const o=Ve(t,!0,_t()),i=Ee(o);if(!i.pending.length){let c=!0;return n&&setTimeout(()=>{c&&n(i.loaded,i.missing,i.pending,Ft)}),()=>{c=!1}}const s=Object.create(null),r=[];let l,a;return i.pending.forEach(c=>{const{provider:d,prefix:u}=c;if(u===a&&d===l)return;l=d,a=u,r.push($(d,u));const m=s[d]||(s[d]=Object.create(null));m[u]||(m[u]=[])}),i.pending.forEach(c=>{const{provider:d,prefix:u,name:m}=c,h=$(d,u),k=h.pendingIcons||(h.pendingIcons=new Set);k.has(m)||(k.add(m),s[d][u].push(m))}),r.forEach(c=>{const{provider:d,prefix:u}=c;s[d][u].length&&ze(c,s[d][u])}),n?$e(n,i,r):Ft};function qe(t,n){const o={...t};for(const i in n){const s=n[i],r=typeof s;i in kt?(s===null||s&&(r==="string"||r==="number"))&&(o[i]=s):r===typeof o[i]&&(o[i]=i==="rotate"?s%4:s)}return o}const Re=/[\s,]+/;function Ue(t,n){n.split(Re).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function He(t,n=0){const o=t.replace(/^-?[0-9.]*/,"");function i(s){for(;s<0;)s+=4;return s%4}if(o===""){const s=parseInt(t);return isNaN(s)?0:i(s)}else if(o!==t){let s=0;switch(o){case"%":s=25;break;case"deg":s=90}if(s){let r=parseFloat(t.slice(0,t.length-o.length));return isNaN(r)?0:(r=r/s,r%1===0?i(r):0)}}return n}function Ge(t,n){let o=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in n)o+=" "+i+'="'+n[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+t+"</svg>"}function Ke(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Qe(t){return"data:image/svg+xml,"+Ke(t)}function Ze(t){return'url("'+Qe(t)+'")'}const Mt={...bt,inline:!1},Xe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Je={display:"inline-block"},at={backgroundColor:"currentColor"},At={backgroundColor:"transparent"},jt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ot={webkitMask:at,mask:at,background:At};for(const t in Ot){const n=Ot[t];for(const o in jt)n[t+o]=jt[o]}const U={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";U[t+"-flip"]=n,U[t.slice(0,1)+"-flip"]=n,U[t+"Flip"]=n});function zt(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const Wt=(t,n)=>{const o=qe(Mt,n),i={...Xe},s=n.mode||"svg",r={},l=n.style,a=typeof l=="object"&&!(l instanceof Array)?l:{};for(let g in n){const f=n[g];if(f!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":o[g]=f===!0||f==="true"||f===1;break;case"flip":typeof f=="string"&&Ue(o,f);break;case"color":r.color=f;break;case"rotate":typeof f=="string"?o[g]=He(f):typeof f=="number"&&(o[g]=f);break;case"ariaHidden":case"aria-hidden":f!==!0&&f!=="true"&&delete i["aria-hidden"];break;default:{const B=U[g];B?(f===!0||f==="true"||f===1)&&(o[B]=!0):Mt[g]===void 0&&(i[g]=f)}}}const c=me(t,o),d=c.attributes;if(o.inline&&(r.verticalAlign="-0.125em"),s==="svg"){i.style={...r,...a},Object.assign(i,d);let g=0,f=n.id;return typeof f=="string"&&(f=f.replace(/-/g,"_")),i.innerHTML=ye(c.body,f?()=>f+"ID"+g++:"iconifyVue"),e.h("svg",i)}const{body:u,width:m,height:h}=t,k=s==="mask"||(s==="bg"?!1:u.indexOf("currentColor")!==-1),C=Ge(u,{...d,width:m+"",height:h+""});return i.style={...r,"--svg":Ze(C),width:zt(d.width),height:zt(d.height),...Je,...k?at:At,...a},e.h("span",i)};if(_t(!0),_e("",we),typeof document<"u"&&typeof window<"u"){Lt();const t=window;if(t.IconifyPreload!==void 0){const n=t.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!re(i))&&console.error(o)}catch{console.error(o)}})}if(t.IconifyProviders!==void 0){const n=t.IconifyProviders;if(typeof n=="object"&&n!==null)for(let o in n){const i="IconifyProviders["+o+"] is invalid.";try{const s=n[o];if(typeof s!="object"||!s||s.resources===void 0)continue;ke(o,s)||console.error(i)}catch{console.error(i)}}}}const Ye={...z,body:""},D=e.defineComponent({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,n){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let o;if(typeof t!="string"||(o=A(t,!1,!0))===null)return this.abortLoading(),null;const i=se(o);if(!i)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",i!==null&&(this._loadingIcon={name:t,abort:We([o],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,n&&n(t));const s=["iconify"];return o.prefix!==""&&s.push("iconify--"+o.prefix),o.provider!==""&&s.push("iconify--"+o.provider),{data:i,classes:s}}},render(){this.counter;const t=this.$attrs,n=this.iconMounted||t.ssr?this.getIcon(t.icon,t.onLoad):null;if(!n)return Wt(Ye,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),Wt({...z,...n.data},o)}});function qt(t,n){return n===1?t:`${t}/${n}`}const Rt=()=>({getLinkToPaginatedPage:qt}),ve={class:"d-shape"},tn={key:0,class:"d-shape__bg-wrapper"},w=e.defineComponent({name:"DWrapShape",__name:"DWrapShape",props:{shapeClass:{},shapeStyle:{type:[Boolean,null,String,Object,Array]},filterClass:{},filterStyle:{type:[Boolean,null,String,Object,Array]},tag:{}},setup(t){const n=t,o=e.useSlots();function i(a){return a?typeof a=="string"?!a.trim():Object.keys(a).length===0:!0}function s(a){return typeof a=="string"?!a.trim():Array.isArray(a)?a.length===0:a===null||a===void 0?!0:Object.keys(a).length===0}const r=e.computed(()=>o["shape-content"]||!i(n.shapeClass)?!0:!s(n.shapeStyle)),l=e.computed(()=>i(n.filterClass)?!s(n.filterStyle):!0);return(a,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.tag??"div"),null,{default:e.withCtx(()=>[e.createElementVNode("div",ve,[r.value||o["bg-overlay"]||l.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["d-shape__bg-filter",a.filterClass]),style:e.normalizeStyle(a.filterStyle)},[r.value||o["bg-overlay"]?(e.openBlock(),e.createElementBlock("div",tn,[r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["d-shape__bg",a.shapeClass]),style:e.normalizeStyle(a.shapeStyle)},[e.renderSlot(a.$slots,"shape-content")],6)):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"bg-overlay")])):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default")])]),_:3}))}}),en={key:0,class:"d-focus-hl__hl--negative-tile"},nn={key:2,class:"d-focus-hl__hl--negative-list-item"},on={key:4,class:"d-focus-hl__hl--negative-tile"},sn={key:5,class:"d-focus-hl__hl--negative-list-item"},rn={name:"DWrapFocusHighlight",components:{DWrapShape:w}},F=e.defineComponent({...rn,props:{linkExact:Boolean,noPassiveLink:Boolean,active:Boolean,variant:{type:String,default:"negative-tile"},tag:{type:String,default:"div"},colorClass:{type:[String,Object],default:"d-focus-hl--default-color"}},setup(t){const n=t,o=e.computed(()=>n.to||n.href?resolveComponent("NuxtLink"):n.tag);return(i,s)=>(e.openBlock(),e.createBlock(w,null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),e.mergeProps(n,{class:["d-focus-hl d-focusable",{"d-focus-hl--exact":t.linkExact,"d-focus-hl--not-exact":!t.linkExact,"d-focus-hl--no-passive-link":t.noPassiveLink,"d-focus-hl--active":t.active}]}),{default:e.withCtx(()=>[t.variant==="negative-tile"?(e.openBlock(),e.createElementBlock("div",en)):t.variant==="tile"||t.variant==="composite-tile"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-focus-hl__hl--tile",t.colorClass])},null,2)):t.variant==="negative-list-item"?(e.openBlock(),e.createElementBlock("div",nn)):t.variant==="list-item"||t.variant==="composite-list-item"?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["d-focus-hl__hl--list-item",t.colorClass])},null,2)):e.createCommentVNode("",!0),e.renderSlot(i.$slots,"default"),t.variant==="composite-tile"?(e.openBlock(),e.createElementBlock("div",on)):t.variant==="composite-list-item"?(e.openBlock(),e.createElementBlock("div",sn)):e.createCommentVNode("",!0)]),_:3},16,["class"]))]),_:3}))}});function Ut(t){const n=e.resolveDynamicComponent("RouterLink"),o=typeof defineNuxtLink=="function"?defineNuxtLink({componentName:"DNuxtLink"}):void 0,i=e.computed(()=>!!(t.href||t.to)),s=e.computed(()=>{if(!t.href)return!1;const l=t.href;return l.startsWith("http")||l.startsWith("mailto:")||l.startsWith("tel:")||l.startsWith("#")}),r=e.computed(()=>{const l={...t};return t.href&&t.to?delete l.href:t.href?delete l.to:t.to&&delete l.href,l});return i.value?s.value?{isLink:i,isExternalLink:s,linkComponent:"a",propsToProvide:r}:typeof o<"u"?{isLink:i,isExternalLink:s,linkComponent:o,propsToProvide:r}:typeof n!="string"?{isLink:i,isExternalLink:s,linkComponent:n,propsToProvide:r}:{isLink:i,isExternalLink:s,linkComponent:"a",propsToProvide:r}:{isLink:i,isExternalLink:s,linkComponent:t.tag||"span",propsToProvide:r}}const ln={name:"DBtn",components:{DWrapFocusHighlight:F}},x=e.defineComponent({...ln,props:{to:{type:[String,Object],default:""},href:{type:String,default:void 0},exact:Boolean,noPassiveHighlight:Boolean,active:Boolean,noRotate:Boolean,tag:{type:String,default:"button"},highlight:{type:String,default:void 0},colorClass:{type:[String,Object],default:void 0},textTransform:{type:String,default:"uppercase"}},setup(t){const n=t,{linkComponent:o,isLink:i,isExternalLink:s,propsToProvide:r}=Ut(n);return(l,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o)),e.mergeProps({class:["d-btn d-focusable",{"d-btn--rotated":!t.noRotate,"d-btn--uppercase":t.textTransform==="uppercase","d-btn--capitalize":t.textTransform==="capitalize","d-btn--lowercase":t.textTransform==="lowercase"}]},e.unref(r)),{default:e.withCtx(()=>[e.createVNode(F,{variant:t.highlight,"link-exact":t.exact,"no-passive-link":t.noPassiveHighlight||!e.unref(i)||e.unref(s),"color-class":t.colorClass,active:t.active},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["variant","link-exact","no-passive-link","color-class","active"])]),_:3},16,["class"]))}}),an={class:"w-fit text-2xl font-bold"},cn={key:2,class:"mx-1"},dn={key:3,class:"mx-1"},fn={name:"DPagination",components:{DBtn:x,Icon:D}},un=e.defineComponent({...fn,props:{currentPage:{type:Number,default:1},allPages:{type:Number,required:!0},baseLink:{type:String,required:!0}},setup(t){const n=t,{getLinkToPaginatedPage:o}=Rt();function i(r){return o(n.baseLink,r)}const s=e.computed(()=>Array.from({length:7},(r,l)=>l-3+n.currentPage).filter(r=>r>=1&&r<=n.allPages));return(r,l)=>(e.openBlock(),e.createElementBlock("nav",an,[t.currentPage>1?(e.openBlock(),e.createBlock(x,{key:0,class:"inline-block mx-1",to:i(t.currentPage-1),"aria-label":"Previous page"},{default:e.withCtx(()=>[e.createVNode(e.unref(D),{icon:"ic:baseline-arrow-back-ios"})]),_:1},8,["to"])):e.createCommentVNode("",!0),s.value.includes(1)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(x,{key:1,class:"inline-block mx-1",to:i(1),"aria-label":"First page"},{default:e.withCtx(()=>l[0]||(l[0]=[e.createTextVNode(" 1 ")])),_:1},8,["to"])),s.value.includes(1)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",cn," ... ")),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,a=>(e.openBlock(),e.createBlock(x,{key:a,class:"inline-block mx-1",to:i(a),"aria-label":`Page ${a}`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a),1)]),_:2},1032,["to","aria-label"]))),128)),s.value.includes(t.allPages)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",dn," ... ")),s.value.includes(t.allPages)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(x,{key:4,class:"inline-block mx-1",to:i(t.allPages),"aria-label":`Last page (${t.allPages})`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.allPages),1)]),_:1},8,["to","aria-label"])),t.currentPage<t.allPages?(e.openBlock(),e.createBlock(x,{key:5,class:"inline-block mx-1",to:i(t.currentPage+1),"aria-label":"Next page"},{default:e.withCtx(()=>[e.createVNode(e.unref(D),{icon:"ic:baseline-arrow-forward-ios"})]),_:1},8,["to"])):e.createCommentVNode("",!0)]))}}),mn={class:"max-w-full"},pn={class:"stats__print-value"},hn={class:"stats__print-value__group-title"},gn={class:"stats__print-value--small"},yn={class:"stats"},_n={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg"},kn=["points"],bn=["points"],Cn={class:"stats__single-stat"},Sn=["points"],Bn=["points"],wn={class:"stats__single-stat"},En=["points"],xn=["points"],Nn={class:"stats__single-stat"},$n=["points"],Vn=["points"],Dn={class:"stats__single-stat"},Pn=["points"],Tn=["points"],In={class:"stats__single-stat"},Ln=["points"],Fn=["points"],Mn={class:"stats__images"},An={class:"stats__image"},jn={class:"stats__image"},On={class:"stats__image"},zn={class:"stats__image"},Wn={class:"stats__image"},qn={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg",class:"stats_titles-layer"},Rn={x:"-500",y:"-300",class:"stats__group-title"},Un=["x","y","transform-origin"],Hn={class:"stats__title__value"},Gn=["x","y","transform-origin"],Kn={class:"stats__title__value"},Qn=["x","y","transform-origin"],Zn={class:"stats__title__value"},Xn=["x","y","transform-origin"],Jn={class:"stats__title__value"},Yn=["x","y","transform-origin"],vn={class:"stats__title__value"},to={name:"DStats",components:{Icon:D}},eo=e.defineComponent({...to,props:{groupTitle:{},titles:{},values:{}},setup(t){const n=t,o=e.ref([[500,0],[630,330],[980,350],[700,590],[790,910],[500,720],[210,910],[300,590],[20,350],[370,330]]),i=e.ref([1,.8,.6,.4,.27]),s={1:0,"1-2":1,2:2,"2-3":3,3:4,"3-4":5,4:6,"4-5":7,5:8,"5-1":9},r=[500,500];function l(f){return f.map(B=>B.join(",")).join(" ")}function a(f,B,S=500,y=500){return f.map(b=>[b[0]-(b[0]-S)*(1-B),b[1]-(b[1]-y)*(1-B)])}const c=e.computed(()=>i.value.map(f=>a(o.value,f)));function d(f){return c.value[5-f]}function u(f){return{value:n.values?n.values[f]??1:1,title:n.titles?n.titles[f]??"":""}}const m=e.computed(()=>u(0)),h=e.computed(()=>u(1)),k=e.computed(()=>u(2)),C=e.computed(()=>u(3)),g=e.computed(()=>u(4));return(f,B)=>(e.openBlock(),e.createElementBlock("figure",mn,[e.createElementVNode("div",pn,[e.createElementVNode("div",hn,e.toDisplayString(f.groupTitle),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.titles,(S,y)=>(e.openBlock(),e.createElementBlock("div",{key:S,class:"stats__print-value__skill"},[e.createElementVNode("div",null,e.toDisplayString(S),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.values[y],b=>(e.openBlock(),e.createBlock(e.unref(D),{key:b,icon:"ic:sharp-star"}))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(5-f.values[y],b=>(e.openBlock(),e.createBlock(e.unref(D),{key:b,icon:"ic:sharp-star-border"}))),128))])]))),128))])]),e.createElementVNode("div",gn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.titles,(S,y)=>(e.openBlock(),e.createElementBlock("span",{key:S,class:e.normalizeClass(["stats__print-value--small__skill",{"stats__print-value--small__skill--hidden":f.values[y]<3,"stats__print-value--small__skill--3":f.values[y]===3,"stats__print-value--small__skill--4":f.values[y]===4,"stats__print-value--small__skill--5":f.values[y]===5}])},e.toDisplayString(S),3))),128))]),e.createElementVNode("div",yn,[(e.openBlock(),e.createElementBlock("svg",_n,[B[0]||(B[0]=e.createElementVNode("polygon",{points:"100,-350 1500,-500 1000,1350 -500,1500",class:"stats__bg"},null,-1)),e.createElementVNode("polygon",{points:l(a(o.value,2)),class:"stats__bg-star--odd"},null,8,kn),e.createElementVNode("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(S,y)=>(e.openBlock(),e.createElementBlock("polygon",{key:y,points:l(S),class:e.normalizeClass({"stats__bg-star--odd":y%2,"stats__bg-star--even":!(y%2)})},null,10,bn))),128))]),e.createElementVNode("g",null,[e.createElementVNode("g",Cn,[e.createElementVNode("polygon",{points:l([d(m.value.value)[s[1]],d(Math.min(m.value.value,g.value.value))[s["5-1"]],r]),class:"stats__star--dark"},null,8,Sn),e.createElementVNode("polygon",{points:l([d(m.value.value)[s[1]],d(Math.min(m.value.value,h.value.value))[s["1-2"]],r]),class:"stats__star--light"},null,8,Bn)]),e.createElementVNode("g",wn,[e.createElementVNode("polygon",{points:l([d(h.value.value)[s[2]],d(Math.min(m.value.value,h.value.value))[s["1-2"]],r]),class:"stats__star--light"},null,8,En),e.createElementVNode("polygon",{points:l([d(h.value.value)[s[2]],d(Math.min(k.value.value,h.value.value))[s["2-3"]],r]),class:"stats__star--dark"},null,8,xn)]),e.createElementVNode("g",Nn,[e.createElementVNode("polygon",{points:l([d(k.value.value)[s[3]],d(Math.min(h.value.value,k.value.value))[s["2-3"]],r]),class:"stats__star--light"},null,8,$n),e.createElementVNode("polygon",{points:l([d(k.value.value)[s[3]],d(Math.min(k.value.value,C.value.value))[s["3-4"]],r]),class:"stats__star--dark"},null,8,Vn)]),e.createElementVNode("g",Dn,[e.createElementVNode("polygon",{points:l([d(C.value.value)[s[4]],d(Math.min(k.value.value,C.value.value))[s["3-4"]],r]),class:"stats__star--light"},null,8,Pn),e.createElementVNode("polygon",{points:l([d(C.value.value)[s[4]],d(Math.min(C.value.value,g.value.value))[s["4-5"]],r]),class:"stats__star--dark"},null,8,Tn)]),e.createElementVNode("g",In,[e.createElementVNode("polygon",{points:l([d(g.value.value)[s[5]],d(Math.min(C.value.value,g.value.value))[s["4-5"]],r]),class:"stats__star--dark"},null,8,Ln),e.createElementVNode("polygon",{points:l([d(g.value.value)[s[5]],d(Math.min(g.value.value,m.value.value))[s["5-1"]],r]),class:"stats__star--light"},null,8,Fn)])])])),e.createElementVNode("div",Mn,[e.createElementVNode("div",An,[e.renderSlot(f.$slots,"icon-1")]),e.createElementVNode("div",jn,[e.renderSlot(f.$slots,"icon-2")]),e.createElementVNode("div",On,[e.renderSlot(f.$slots,"icon-3")]),e.createElementVNode("div",zn,[e.renderSlot(f.$slots,"icon-4")]),e.createElementVNode("div",Wn,[e.renderSlot(f.$slots,"icon-5")])]),(e.openBlock(),e.createElementBlock("svg",qn,[e.createElementVNode("text",Rn,e.toDisplayString(f.groupTitle),1),e.createElementVNode("g",null,[e.createElementVNode("text",{x:o.value[s[1]][0],y:o.value[s[1]][1]-100,"transform-origin":`${o.value[s[1]][0]} ${o.value[s[1]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(m.value.title)+" ",1),e.createElementVNode("tspan",Hn,e.toDisplayString(m.value.value),1)],8,Un),e.createElementVNode("text",{x:o.value[s[2]][0]+100,y:o.value[s[2]][1]-100,"transform-origin":`${o.value[s[2]][0]+100} ${o.value[s[2]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(h.value.title)+" ",1),e.createElementVNode("tspan",Kn,e.toDisplayString(h.value.value),1)],8,Gn),e.createElementVNode("text",{"dominant-baseline":"hanging",x:o.value[s[3]][0]+150,y:o.value[s[3]][1]+150,"transform-origin":`${o.value[s[3]][0]+150} ${o.value[s[3]][1]+150}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(k.value.title)+" ",1),e.createElementVNode("tspan",Zn,e.toDisplayString(k.value.value),1)],8,Qn),e.createElementVNode("text",{"dominant-baseline":"hanging",x:o.value[s[4]][0]-150,y:o.value[s[4]][1]+150,"transform-origin":`${o.value[s[4]][0]-150} ${o.value[s[4]][1]+150}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(C.value.title)+" ",1),e.createElementVNode("tspan",Jn,e.toDisplayString(C.value.value),1)],8,Xn),e.createElementVNode("text",{x:o.value[s[5]][0]-100,y:o.value[s[5]][1]-100,"transform-origin":`${o.value[s[5]][0]-100} ${o.value[s[5]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(g.value.title)+" ",1),e.createElementVNode("tspan",vn,e.toDisplayString(g.value.value),1)],8,Yn)])]))])]))}}),no={name:"DAnimationDefLetterD"},oo={d:"M200.242,139.244l137.207,-0c66.136,-0 112.859,17.192 140.169,51.576c27.31,34.384 33.562,84.973 18.755,151.767c-22.045,98.711 -85.878,148.066 -191.498,148.066l-179.16,-0l74.527,-351.409Zm184.588,179.159c12.175,-57.581 -7.732,-86.372 -59.72,-86.372l-33.068,0l-35.042,165.834l44.42,0c23.69,0 42.034,-6.169 55.031,-18.508c12.997,-12.339 22.457,-32.657 28.379,-60.954Z"};function so(t,n,o,i,s,r){return e.openBlock(),e.createElementBlock("path",oo)}const N=K(no,[["render",so]]),io={name:"DAnimationAccordion",components:{DAnimationDefLetterD:N}},ro=e.defineComponent({...io,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 210",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-accordion",style:e.normalizeStyle({"--d-accordion-wiggle-period":t.wigglePeriod+"s","--d-accordion-delay":t.delay+"s"})},[e.createElementVNode("defs",null,[e.createVNode(N,{id:"d-letter"}),o[0]||(o[0]=e.createElementVNode("use",{id:"d-accordion-section",href:"#d-letter",transform:"scale(0.33)"},null,-1))]),o[1]||(o[1]=e.createStaticVNode('<use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use>',6))],4))}}),lo={name:"DAnimationFloatingLetter",components:{DAnimationDefLetterD:N}},ao=e.defineComponent({...lo,props:{floatPeriod:{type:Number,default:5},pathClass:{type:[String,Object],default:""}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:e.normalizeStyle({"--d-floating-letter-float-period":t.floatPeriod+"s"})},[e.createVNode(N,{class:e.normalizeClass(["d-animation-floating-letter",t.pathClass])},null,8,["class"])],4))}}),co={name:"DAnimationHypnosis",components:{DAnimationDefLetterD:N}},fo=e.defineComponent({...co,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-hypnosis",style:e.normalizeStyle({"--d-hypnosis-wiggle-period":t.wigglePeriod+"s","--d-hypnosis-delay":t.delay+"s"})},[e.createElementVNode("defs",null,[e.createVNode(N,{id:"d-letter"}),o[0]||(o[0]=e.createElementVNode("use",{id:"d-hypnosis-section",href:"#d-letter"},null,-1))]),o[1]||(o[1]=e.createStaticVNode('<use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use>',6))],4))}}),uo={name:"DAnimationSpinner",components:{DAnimationDefLetterD:N}},mo=e.defineComponent({...uo,props:{spinPeriod:{type:Number,default:10},bladeWigglePeriod:{type:Number,default:5}},setup(t){const n="315 315";return(o,i)=>(e.openBlock(),e.createElementBlock("svg",{class:"spinner",viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:e.normalizeStyle({"--d-spinner-spin-period":t.spinPeriod+"s","--d-spinner-blade-wiggle-period":t.bladeWigglePeriod+"s"})},[e.createElementVNode("defs",null,[e.createVNode(N,{id:"d-letter"}),e.createElementVNode("use",{id:"d-spinner-blade",href:"#d-letter",class:"d-animation-spinner__blade","transform-origin":n}),e.createElementVNode("g",{id:"spinner",class:"d-animation-spinner__spinner","transform-origin":n},[e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(0)","transform-origin":n}),e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(120)","transform-origin":n}),e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(240)","transform-origin":n})])]),e.createElementVNode("use",{href:"#spinner",transform:"translate( -20 20 )",class:"d-animation-spinner__background","transform-origin":n}),e.createElementVNode("use",{href:"#spinner",class:"d-animation-spinner__foreground","transform-origin":n})],4))}}),po=e.ref(""),ct=()=>({text:po}),ho={id:"big-bang-button-animation"},go=["i","textContent"],yo={name:"DBigBangButtonAnimation"},_o=e.defineComponent({...yo,setup(t){const n={first:"M 0 0 C -489.471 -116.5 -526.692 -193.268 -563.913 -311.911",last:"M 0 0 C 317.761 171.963 466.645 199.879 680.666 171.963",intermediate:["M 0 0 C 36.277 125.437 19.992 358.068 -49.797 413.9","M 0 0 C 52.561 -69.974 71.171 -118.827 64.192 -446.837","M 0 0 C -3.271 137.068 -26.534 395.289 33.95 439.489"]},{text:o}=ct(),i=e.computed(()=>o.value.split(""));let s;e.watch(o,c=>{clearTimeout(s),c&&(s=setTimeout(()=>o.value="",1500))});function r(c){return c===0?n.first:c===i.value.length-1?n.last:n.intermediate[Math.floor(Math.random()*n.intermediate.length)]}function l(c,d){G.fromTo(c,{opacity:0,rotateX:-90},{opacity:1,rotateX:0,rotate:-12+Math.random()*24,delay:Math.random()*.3,duration:.2,onComplete:d})}function a(c,d){const u=+G.getProperty(c,"i");G.to(c,{motionPath:{path:r(u)},opacity:0,rotate:-180+Math.random()*360,duration:.2,onComplete:d})}return(c,d)=>(e.openBlock(),e.createElementBlock("div",ho,[e.createVNode(e.TransitionGroup,{tag:"div",class:"bbb__text-container",onEnter:l,onLeave:a},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(u,m)=>(e.openBlock(),e.createElementBlock("span",{key:m,i:m,textContent:e.toDisplayString(u)},null,8,go))),128))]),_:1})]))}}),ko=["textContent"],bo={name:"DBigBangButton"},Co=e.defineComponent({...bo,props:{text:{type:String,required:!0},tag:{type:String,default:"button"},to:{type:[String,Object],default:""}},emits:["click"],setup(t,{emit:n}){const o=n,i=t,{text:s}=ct(),{linkComponent:r}=Ut(i),l=e.computed(()=>i.text.split(""));function a(c){s.value=i.text,o("click",c)}return(c,d)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r)),{to:t.to,class:"big-bang-button",onClick:a},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(u,m)=>(e.openBlock(),e.createElementBlock("span",{key:m,textContent:e.toDisplayString(u)},null,8,ko))),128))]),_:1},8,["to"]))}}),So={name:"DCard",components:{DWrapShape:w}},Bo=e.defineComponent({...So,props:{mode:{type:String,default:"default"},dense:Boolean},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(w,{"shape-class":{card__bg:!t.dense,"card__bg--dense":t.dense},class:e.normalizeClass({"card--homepage-story force-light":t.mode==="homepage-story","card--homepage-skills force-light":t.mode==="homepage-skills",card:t.mode==="default"})},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass({card__content:!t.dense,"card__content--dense":t.dense})},[e.renderSlot(n.$slots,"default")],2)]),_:3},8,["shape-class","class"]))}}),wo={name:"DCardTitle",components:{DWrapShape:w}},Eo={class:"card__title"},xo={class:"card__title__content__text"},No={class:"ml-2 print:text-neutral-600"};function $o(t,n,o,i,s,r){const l=e.resolveComponent("DWrapShape");return e.openBlock(),e.createElementBlock("div",Eo,[e.createVNode(l,{class:"card__title__content","shape-class":"card__title__content__shape"},{default:e.withCtx(()=>[e.createElementVNode("h3",xo,[e.renderSlot(t.$slots,"default")])]),_:3}),e.createElementVNode("span",No,[e.renderSlot(t.$slots,"extra")])])}const Vo=K(wo,[["render",$o]]),Do={class:"d-alert__body"},Po={viewBox:"0 0 1067 1067",xmlns:"http://www.w3.org/2000/svg",class:"d-alert__sign"},To={key:0},Io={key:1},Lo={key:2},Fo=e.defineComponent({__name:"DAlert",props:{type:{type:String,default:"info"}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(w,{class:e.normalizeClass(["d-alert",{"d-alert--info":t.type==="info","d-alert--question":t.type==="question","d-alert--warning":t.type==="warning"}]),"shape-class":"d-alert__shape"},{"bg-overlay":e.withCtx(()=>o[0]||(o[0]=[e.createElementVNode("div",{class:"d-alert__outline"},null,-1)])),default:e.withCtx(()=>[e.createElementVNode("div",Do,[e.renderSlot(n.$slots,"default"),(e.openBlock(),e.createElementBlock("svg",Po,[t.type==="info"?(e.openBlock(),e.createElementBlock("g",To,o[1]||(o[1]=[e.createElementVNode("path",{d:"M202.481,1025.68l427.138,-769.216l171.992,106.943l-461.057,689.584l-138.073,-27.311Z"},null,-1),e.createElementVNode("path",{d:"M832.695,310.003l-170.011,-113.247l92.566,-170.289l218.937,122.443l-141.492,161.093Z"},null,-1)]))):e.createCommentVNode("",!0),t.type==="question"?(e.openBlock(),e.createElementBlock("g",Io,o[2]||(o[2]=[e.createElementVNode("path",{d:"M289.17,836.982l100.67,63.007l-27.42,149.27l-200.047,-83.328l126.797,-128.949Z"},null,-1),e.createElementVNode("path",{d:"M335.818,766.179l95.499,91.347l134.944,-217.987l249.128,-6.228l174.389,-139.096l14.533,-236.672l-170.237,-224.215l-170.238,-8.304l-242.9,124.564l114.184,64.358l178.542,-41.522l161.933,130.793l-68.51,205.53l-203.455,-53.978l-178.542,70.587l-89.27,240.823Z"},null,-1)]))):e.createCommentVNode("",!0),t.type==="warning"?(e.openBlock(),e.createElementBlock("g",Lo,o[3]||(o[3]=[e.createElementVNode("path",{d:"M304.988,722.034l335.792,-712.747l299.877,30.543l-514.204,743.146l-121.465,-60.942Z"},null,-1),e.createElementVNode("path",{d:"M253.974,839.059l148.42,40.169l-118.767,182.487l-131.537,-66.719l101.884,-155.937Z"},null,-1)]))):e.createCommentVNode("",!0)]))])]),_:3},8,["class"]))}}),Mo={class:"d-blockquote__body"},Ao=e.defineComponent({__name:"DQuote",props:{direction:{type:String,default:"right"}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(w,{tag:"blockquote",class:e.normalizeClass(["d-blockquote",{"d-blockquote--left":t.direction==="left","d-blockquote--right":t.direction==="right"}]),"shape-class":"d-blockquote__shape"},{"bg-overlay":e.withCtx(()=>o[0]||(o[0]=[e.createElementVNode("div",{class:"d-blockquote__outline"},null,-1)])),default:e.withCtx(()=>[e.createElementVNode("div",Mo,[e.renderSlot(n.$slots,"default")])]),_:3},8,["class"]))}}),jo={name:"DActionsFan",components:{DWrapShape:w,DBtn:x}},Oo=e.defineComponent({...jo,props:{actions:{type:Array,default:()=>[]},side:{type:String,default:"left"},filterClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{name:"actions",tag:"ul",style:e.normalizeStyle({padding:`${Math.min(t.actions.length*2,15)}rem 0 ${Math.min(t.actions.length*3,15)}rem`})},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,(i,s)=>(e.openBlock(),e.createBlock(w,{key:i.title,tag:"li",class:e.normalizeClass(["d-actions-fan__list-item",{[i.class??""]:!0,"d-actions-fan--right__list-item":t.side==="right","d-actions-fan--left__list-item":t.side==="left"}]),"filter-class":t.filterClass,style:e.normalizeStyle({...i.style,"--tw-rotate":`${t.side==="left"?12-s*18:-12+s*18}deg`}),"shape-class":{"d-actions-fan__list-item__shape":!0,[i.shapeClass??""]:!0,"d-actions-fan--right__list-item__shape":t.side==="right","d-actions-fan--left__list-item__shape":t.side==="left"},"shape-style":i.shapeStyle},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["d-actions-fan__list-item__body",{"d-actions-fan--right__list-item__body":t.side==="right"}])},[e.createVNode(x,e.mergeProps({ref_for:!0},i.attrs,{tag:"button","no-passive-highlight":"",onClick:r=>n.$emit("actionChoose",i.emit),onMouseenter:r=>n.$emit("actionFocus",i.emit),onTouchstart:r=>n.$emit("actionFocus",i.emit),onFocusin:r=>n.$emit("actionFocus",i.emit),onMouseleave:r=>n.$emit("actionUnfocus",i.emit),onTouchend:r=>n.$emit("actionUnfocus",i.emit),onFocusout:r=>n.$emit("actionUnfocus",i.emit)}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.title),1)]),_:2},1040,["onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])],2)]),_:2},1032,["filter-class","class","style","shape-class","shape-style"]))),128))]),_:1},8,["style"]))}}),zo={class:"d-actions-list__body"},Wo={key:0,class:"d-actions-list__header"},qo=e.defineComponent({name:"DActionsList",components:{DWrapFocusHighlight:F,DWrapShape:w},__name:"DActionsList",props:{actions:{type:Array,default:()=>[]},listClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(t){function n(i){var s;return(s=i.attrs)!=null&&s.highlightVariant?i.attrs.highlightVariant:"negative-list-item"}const o=e.useSlots();return(i,s)=>(e.openBlock(),e.createBlock(w,{"shape-class":"d-actions-list__shape"},{default:e.withCtx(()=>[e.createElementVNode("div",zo,[o.header?(e.openBlock(),e.createElementBlock("div",Wo,[e.renderSlot(i.$slots,"header")])):e.createCommentVNode("",!0),e.createVNode(e.TransitionGroup,{name:"actions",tag:"ul",class:e.normalizeClass(["d-actions-list__list",t.listClass])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,r=>(e.openBlock(),e.createElementBlock("li",{key:r.title},[e.createVNode(F,e.mergeProps({ref_for:!0},r.attrs,{tag:"button",variant:n(r),"no-passive-link":"",onClick:l=>i.$emit("actionChoose",r.emit),onMouseenter:l=>i.$emit("actionFocus",r.emit),onTouchstart:l=>i.$emit("actionFocus",r.emit),onFocusin:l=>i.$emit("actionFocus",r.emit),onMouseleave:l=>i.$emit("actionUnfocus",r.emit),onTouchend:l=>i.$emit("actionUnfocus",r.emit),onFocusout:l=>i.$emit("actionUnfocus",r.emit)}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.title),1)]),_:2},1040,["variant","onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])]))),128))]),_:1},8,["class"])])]),_:3}))}}),Ro={key:0,class:"mbg__relative-container"},Uo={key:1,class:"mbg__layer"},Ho={key:3,class:"mbg__content"},Go=e.defineComponent({name:"DWrapBackground",__name:"DWrapBackground",props:{overlayClass:{type:[String,Object],default:""},overlayStyle:{type:Object,default:()=>{}},dotsClass:{type:[String,Object],default:""},dotsStyle:{type:Object,default:()=>{}},dots:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){const n=t,o=e.useSlots(),i=e.computed(()=>typeof n.overlayStyle=="string"?!n.overlayStyle.trim():Array.isArray(n.overlayStyle)?n.overlayStyle.length===0:n.overlayStyle===null||n.overlayStyle===void 0?!0:Object.keys(n.overlayStyle).length===0);return(s,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"mbg__main-container"},{default:e.withCtx(()=>[t.overlayClass||!i.value||o.svg||o.default?(e.openBlock(),e.createElementBlock("div",Ro,[t.overlayClass||!i.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["mbg__layer",t.overlayClass]),style:e.normalizeStyle(t.overlayStyle)},null,6)):e.createCommentVNode("",!0),o.svg?(e.openBlock(),e.createElementBlock("div",Uo,[e.renderSlot(s.$slots,"svg")])):e.createCommentVNode("",!0),t.dots?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["mbg__layer mbg__dots",t.dotsClass]),style:e.normalizeStyle(t.dotsStyle)},null,6)):e.createCommentVNode("",!0),o.default?(e.openBlock(),e.createElementBlock("div",Ho,[e.renderSlot(s.$slots,"default")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:3}))}});function Ht(t,n={}){return{top:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().top)??0)+window.scrollY+(n.y?n.y():0)},bottom:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().bottom)??0)+window.scrollY+(n.y?n.y():0)},right:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().right)??0)+window.scrollX+(n.x?n.x():0)},left:()=>{var o;return(((o=t.value)==null?void 0:o.getBoundingClientRect().left)??0)+window.scrollX+(n.x?n.x():0)}}}function Ko(t){const n=Ht(t);return{top:n.top(),bottom:n.bottom(),right:n.right(),left:n.left()}}function dt(t){return t.map((n,o,i)=>{const s=i.reduce((l,a,c)=>(c>o?l.push(l.at(-1)):l.push(a.left),l),[]);return[...i.reduce((l,a,c)=>(c>o?l.push(l.at(-1)):l.push(a.right),l),[]),...s.reverse()]})}function Gt(t){const n=dt(t),o=n.length,i=n[0].length,s=[];for(let r=0;r<i;r++){const l=[];for(let a=0;a<o;a++)l.push(n[a][r]);s.push(l)}return s}function Qo(t,n,o,i){const s=Gt(t);for(const r of s){const l=n.createSVGPoint();o.points.appendItem(l),i(l,r)}}function Zo(t,n,o){const i=dt(t).at(-1);if(i)for(const s of i){const r=n.createSVGPoint();r.x=s.x,r.y=s.y,o.points.appendItem(r)}}function ft(t){if(t.length!==2)throw new Error("Array should contain 2 numbers in order to be translated into coords");return{x:t[0],y:t[1]}}function Kt(t){if(t.length!==2)throw new Error("Array should contain 2 elements in order to be translated into LineEdge");return{left:ft(t[0]),right:ft(t[1])}}function Xo(t){return t.map(Kt)}p.DActionsFan=Oo,p.DActionsList=qo,p.DAlert=Fo,p.DAnimationAccordion=ro,p.DAnimationFloatingLetter=ao,p.DAnimationHypnosis=fo,p.DAnimationSpinner=mo,p.DBigBangButton=Co,p.DBigBangButtonAnimation=_o,p.DBtn=x,p.DCard=Bo,p.DCardTitle=Vo,p.DChip=Jt,p.DPagination=un,p.DQuote=Ao,p.DStats=eo,p.DWrapBackground=Go,p.DWrapFocusHighlight=F,p.DWrapShape=w,p.applyLinePerPointAnimation=Qo,p.applyStaticPoints=Zo,p.createCoordsFromArray=ft,p.createLineEdgeFromArray=Kt,p.createLineFromArray=Xo,p.generatePolygonLineKeyframes=dt,p.generatePolygonPointsKeyframes=Gt,p.getAbsoluteBoundings=Ko,p.getAbsoluteBoundingsGetters=Ht,p.getLinkToPaginatedPage=qt,p.useDBigBangButtonUtils=ct,p.useDPaginationUtils=Rt,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})});
1
+ (function(p,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("gsap")):typeof define=="function"&&define.amd?define(["exports","vue","gsap"],e):(p=typeof globalThis<"u"?globalThis:p||self,e(p.EspritDesign={},p.Vue,p.gsap))})(this,function(p,e,q){"use strict";const It={name:"DChip"},U=(t,o)=>{const n=t.__vccOpts||t;for(const[i,s]of o)n[i]=s;return n},Lt={class:"d-chip"};function Ft(t,o,n,i,s,l){return e.openBlock(),e.createElementBlock("span",Lt,[e.renderSlot(t.$slots,"default")])}const At=U(It,[["render",Ft]]),st=/^[a-z0-9]+(-[a-z0-9]+)*$/,A=(t,o,n,i="")=>{const s=t.split(":");if(t.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;i=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const r=s.pop(),c=s.pop(),d={provider:s.length>0?s[0]:i,prefix:c,name:r};return o&&!M(d)?null:d}const l=s[0],a=l.split("-");if(a.length>1){const r={provider:i,prefix:a.shift(),name:a.join("-")};return o&&!M(r)?null:r}if(n&&i===""){const r={provider:i,prefix:"",name:l};return o&&!M(r,n)?null:r}return null},M=(t,o)=>t?!!((o&&t.prefix===""||t.prefix)&&t.name):!1,it=Object.freeze({left:0,top:0,width:16,height:16}),j=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),O=Object.freeze({...it,...j}),H=Object.freeze({...O,body:"",hidden:!1});function Mt(t,o){const n={};!t.hFlip!=!o.hFlip&&(n.hFlip=!0),!t.vFlip!=!o.vFlip&&(n.vFlip=!0);const i=((t.rotate||0)+(o.rotate||0))%4;return i&&(n.rotate=i),n}function lt(t,o){const n=Mt(t,o);for(const i in H)i in j?i in t&&!(i in n)&&(n[i]=j[i]):i in o?n[i]=o[i]:i in t&&(n[i]=t[i]);return n}function jt(t,o){const n=t.icons,i=t.aliases||Object.create(null),s=Object.create(null);function l(a){if(n[a])return s[a]=[];if(!(a in s)){s[a]=null;const r=i[a]&&i[a].parent,c=r&&l(r);c&&(s[a]=[r].concat(c))}return s[a]}return Object.keys(n).concat(Object.keys(i)).forEach(l),s}function Ot(t,o,n){const i=t.icons,s=t.aliases||Object.create(null);let l={};function a(r){l=lt(i[r]||s[r],l)}return a(o),n.forEach(a),lt(t,l)}function at(t,o){const n=[];if(typeof t!="object"||typeof t.icons!="object")return n;t.not_found instanceof Array&&t.not_found.forEach(s=>{o(s,null),n.push(s)});const i=jt(t);for(const s in i){const l=i[s];l&&(o(s,Ot(t,s,l)),n.push(s))}return n}const zt={provider:"",aliases:{},not_found:{},...it};function G(t,o){for(const n in o)if(n in t&&typeof t[n]!=typeof o[n])return!1;return!0}function rt(t){if(typeof t!="object"||t===null)return null;const o=t;if(typeof o.prefix!="string"||!t.icons||typeof t.icons!="object"||!G(t,zt))return null;const n=o.icons;for(const s in n){const l=n[s];if(!s||typeof l.body!="string"||!G(l,H))return null}const i=o.aliases||Object.create(null);for(const s in i){const l=i[s],a=l.parent;if(!s||typeof a!="string"||!n[a]&&!i[a]||!G(l,H))return null}return o}const ct=Object.create(null);function Wt(t,o){return{provider:t,prefix:o,icons:Object.create(null),missing:new Set}}function V(t,o){const n=ct[t]||(ct[t]=Object.create(null));return n[o]||(n[o]=Wt(t,o))}function dt(t,o){return rt(o)?at(o,(n,i)=>{i?t.icons[n]=i:t.missing.add(n)}):[]}function Rt(t,o,n){try{if(typeof n.body=="string")return t.icons[o]={...n},!0}catch{}return!1}let D=!1;function ft(t){return typeof t=="boolean"&&(D=t),D}function qt(t){const o=typeof t=="string"?A(t,!0,D):t;if(o){const n=V(o.provider,o.prefix),i=o.name;return n.icons[i]||(n.missing.has(i)?null:void 0)}}function Ut(t,o){const n=A(t,!0,D);if(!n)return!1;const i=V(n.provider,n.prefix);return o?Rt(i,n.name,o):(i.missing.add(n.name),!0)}function Ht(t,o){if(typeof t!="object")return!1;if(typeof o!="string"&&(o=t.provider||""),D&&!o&&!t.prefix){let s=!1;return rt(t)&&(t.prefix="",at(t,(l,a)=>{Ut(l,a)&&(s=!0)})),s}const n=t.prefix;if(!M({prefix:n,name:"a"}))return!1;const i=V(o,n);return!!dt(i,t)}const ut=Object.freeze({width:null,height:null}),mt=Object.freeze({...ut,...j}),Gt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Qt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function pt(t,o,n){if(o===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*o*n)/n;if(typeof t!="string")return t;const i=t.split(Gt);if(i===null||!i.length)return t;const s=[];let l=i.shift(),a=Qt.test(l);for(;;){if(a){const r=parseFloat(l);isNaN(r)?s.push(l):s.push(Math.ceil(r*o*n)/n)}else s.push(l);if(l=i.shift(),l===void 0)return s.join("");a=!a}}function Kt(t,o="defs"){let n="";const i=t.indexOf("<"+o);for(;i>=0;){const s=t.indexOf(">",i),l=t.indexOf("</"+o);if(s===-1||l===-1)break;const a=t.indexOf(">",l);if(a===-1)break;n+=t.slice(s+1,l).trim(),t=t.slice(0,i).trim()+t.slice(a+1)}return{defs:n,content:t}}function Zt(t,o){return t?"<defs>"+t+"</defs>"+o:o}function Xt(t,o,n){const i=Kt(t);return Zt(i.defs,o+i.content+n)}const Yt=t=>t==="unset"||t==="undefined"||t==="none";function Jt(t,o){const n={...O,...t},i={...mt,...o},s={left:n.left,top:n.top,width:n.width,height:n.height};let l=n.body;[n,i].forEach(g=>{const f=[],S=g.hFlip,B=g.vFlip;let y=g.rotate;S?B?y+=2:(f.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),f.push("scale(-1 1)"),s.top=s.left=0):B&&(f.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),f.push("scale(1 -1)"),s.top=s.left=0);let b;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:b=s.height/2+s.top,f.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:f.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:b=s.width/2+s.left,f.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}y%2===1&&(s.left!==s.top&&(b=s.left,s.left=s.top,s.top=b),s.width!==s.height&&(b=s.width,s.width=s.height,s.height=b)),f.length&&(l=Xt(l,'<g transform="'+f.join(" ")+'">',"</g>"))});const a=i.width,r=i.height,c=s.width,d=s.height;let u,m;a===null?(m=r===null?"1em":r==="auto"?d:r,u=pt(m,c/d)):(u=a==="auto"?c:a,m=r===null?pt(u,d/c):r==="auto"?d:r);const h={},k=(g,f)=>{Yt(f)||(h[g]=f.toString())};k("width",u),k("height",m);const C=[s.left,s.top,c,d];return h.viewBox=C.join(" "),{attributes:h,viewBox:C,body:l}}const vt=/\sid="(\S+)"/g,te="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ee=0;function ne(t,o=te){const n=[];let i;for(;i=vt.exec(t);)n.push(i[1]);if(!n.length)return t;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(l=>{const a=typeof o=="function"?o(l):o+(ee++).toString(),r=l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+r+')([")]|\\.[a-z])',"g"),"$1"+a+s+"$3")}),t=t.replace(new RegExp(s,"g"),""),t}const Q=Object.create(null);function oe(t,o){Q[t]=o}function K(t){return Q[t]||Q[""]}function Z(t){let o;if(typeof t.resources=="string")o=[t.resources];else if(o=t.resources,!(o instanceof Array)||!o.length)return null;return{resources:o,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const X=Object.create(null),T=["https://api.simplesvg.com","https://api.unisvg.com"],z=[];for(;T.length>0;)T.length===1||Math.random()>.5?z.push(T.shift()):z.push(T.pop());X[""]=Z({resources:["https://api.iconify.design"].concat(z)});function se(t,o){const n=Z(o);return n===null?!1:(X[t]=n,!0)}function Y(t){return X[t]}let ht=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function ie(t,o){const n=Y(t);if(!n)return 0;let i;if(!n.maxURL)i=0;else{let s=0;n.resources.forEach(a=>{s=Math.max(s,a.length)});const l=o+".json?icons=";i=n.maxURL-s-n.path.length-l.length}return i}function le(t){return t===404}const ae=(t,o,n)=>{const i=[],s=ie(t,o),l="icons";let a={type:l,provider:t,prefix:o,icons:[]},r=0;return n.forEach((c,d)=>{r+=c.length+1,r>=s&&d>0&&(i.push(a),a={type:l,provider:t,prefix:o,icons:[]},r=c.length),a.icons.push(c)}),i.push(a),i};function re(t){if(typeof t=="string"){const o=Y(t);if(o)return o.path}return"/"}const ce={prepare:ae,send:(t,o,n)=>{if(!ht){n("abort",424);return}let i=re(o.provider);switch(o.type){case"icons":{const l=o.prefix,r=o.icons.join(","),c=new URLSearchParams({icons:r});i+=l+".json?"+c.toString();break}case"custom":{const l=o.uri;i+=l.slice(0,1)==="/"?l.slice(1):l;break}default:n("abort",400);return}let s=503;ht(t+i).then(l=>{const a=l.status;if(a!==200){setTimeout(()=>{n(le(a)?"abort":"next",a)});return}return s=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{l===404?n("abort",l):n("next",s)});return}setTimeout(()=>{n("success",l)})}).catch(()=>{n("next",s)})}};function de(t){const o={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort((s,l)=>s.provider!==l.provider?s.provider.localeCompare(l.provider):s.prefix!==l.prefix?s.prefix.localeCompare(l.prefix):s.name.localeCompare(l.name));let i={provider:"",prefix:"",name:""};return t.forEach(s=>{if(i.name===s.name&&i.prefix===s.prefix&&i.provider===s.provider)return;i=s;const l=s.provider,a=s.prefix,r=s.name,c=n[l]||(n[l]=Object.create(null)),d=c[a]||(c[a]=V(l,a));let u;r in d.icons?u=o.loaded:a===""||d.missing.has(r)?u=o.missing:u=o.pending;const m={provider:l,prefix:a,name:r};u.push(m)}),o}function gt(t,o){t.forEach(n=>{const i=n.loaderCallbacks;i&&(n.loaderCallbacks=i.filter(s=>s.id!==o))})}function fe(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const o=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!o.length)return;let n=!1;const i=t.provider,s=t.prefix;o.forEach(l=>{const a=l.icons,r=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==s)return!0;const d=c.name;if(t.icons[d])a.loaded.push({provider:i,prefix:s,name:d});else if(t.missing.has(d))a.missing.push({provider:i,prefix:s,name:d});else return n=!0,!0;return!1}),a.pending.length!==r&&(n||gt([t],l.id),l.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),l.abort))})}))}let ue=0;function me(t,o,n){const i=ue++,s=gt.bind(null,n,i);if(!o.pending.length)return s;const l={id:i,icons:o,callback:t,abort:s};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(l)}),s}function pe(t,o=!0,n=!1){const i=[];return t.forEach(s=>{const l=typeof s=="string"?A(s,o,n):s;l&&i.push(l)}),i}var he={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function ge(t,o,n,i){const s=t.resources.length,l=t.random?Math.floor(Math.random()*s):t.index;let a;if(t.random){let _=t.resources.slice(0);for(a=[];_.length>1;){const w=Math.floor(Math.random()*_.length);a.push(_[w]),_=_.slice(0,w).concat(_.slice(w+1))}a=a.concat(_)}else a=t.resources.slice(l).concat(t.resources.slice(0,l));const r=Date.now();let c="pending",d=0,u,m=null,h=[],k=[];typeof i=="function"&&k.push(i);function C(){m&&(clearTimeout(m),m=null)}function g(){c==="pending"&&(c="aborted"),C(),h.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),h=[]}function f(_,w){w&&(k=[]),typeof _=="function"&&k.push(_)}function S(){return{startTime:r,payload:o,status:c,queriesSent:d,queriesPending:h.length,subscribe:f,abort:g}}function B(){c="failed",k.forEach(_=>{_(void 0,u)})}function y(){h.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),h=[]}function b(_,w,F){const R=w!=="success";switch(h=h.filter($=>$!==_),c){case"pending":break;case"failed":if(R||!t.dataAfterTimeout)return;break;default:return}if(w==="abort"){u=F,B();return}if(R){u=F,h.length||(a.length?ot():B());return}if(C(),y(),!t.random){const $=t.resources.indexOf(_.resource);$!==-1&&$!==t.index&&(t.index=$)}c="completed",k.forEach($=>{$(F)})}function ot(){if(c!=="pending")return;C();const _=a.shift();if(_===void 0){if(h.length){m=setTimeout(()=>{C(),c==="pending"&&(y(),B())},t.timeout);return}B();return}const w={status:"pending",resource:_,callback:(F,R)=>{b(w,F,R)}};h.push(w),d++,m=setTimeout(ot,t.rotate),n(_,o,w.callback)}return setTimeout(ot),S}function yt(t){const o={...he,...t};let n=[];function i(){n=n.filter(r=>r().status==="pending")}function s(r,c,d){const u=ge(o,r,c,(m,h)=>{i(),d&&d(m,h)});return n.push(u),u}function l(r){return n.find(c=>r(c))||null}return{query:s,find:l,setIndex:r=>{o.index=r},getIndex:()=>o.index,cleanup:i}}function _t(){}const J=Object.create(null);function ye(t){if(!J[t]){const o=Y(t);if(!o)return;const n=yt(o),i={config:o,redundancy:n};J[t]=i}return J[t]}function _e(t,o,n){let i,s;if(typeof t=="string"){const l=K(t);if(!l)return n(void 0,424),_t;s=l.send;const a=ye(t);a&&(i=a.redundancy)}else{const l=Z(t);if(l){i=yt(l);const a=t.resources?t.resources[0]:"",r=K(a);r&&(s=r.send)}}return!i||!s?(n(void 0,424),_t):i.query(o,s,n)().abort}function kt(){}function ke(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,fe(t)}))}function be(t){const o=[],n=[];return t.forEach(i=>{(i.match(st)?o:n).push(i)}),{valid:o,invalid:n}}function I(t,o,n){function i(){const s=t.pendingIcons;o.forEach(l=>{s&&s.delete(l),t.icons[l]||t.missing.add(l)})}if(n&&typeof n=="object")try{if(!dt(t,n).length){i();return}}catch(s){console.error(s)}i(),ke(t)}function bt(t,o){t instanceof Promise?t.then(n=>{o(n)}).catch(()=>{o(null)}):o(t)}function Ce(t,o){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(o).sort():t.iconsToLoad=o,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:n,prefix:i}=t,s=t.iconsToLoad;if(delete t.iconsToLoad,!s||!s.length)return;const l=t.loadIcon;if(t.loadIcons&&(s.length>1||!l)){bt(t.loadIcons(s,i,n),u=>{I(t,s,u)});return}if(l){s.forEach(u=>{const m=l(u,i,n);bt(m,h=>{const k=h?{prefix:i,icons:{[u]:h}}:null;I(t,[u],k)})});return}const{valid:a,invalid:r}=be(s);if(r.length&&I(t,r,null),!a.length)return;const c=i.match(st)?K(n):null;if(!c){I(t,a,null);return}c.prepare(n,i,a).forEach(u=>{_e(n,u,m=>{I(t,u.icons,m)})})}))}const Be=(t,o)=>{const n=pe(t,!0,ft()),i=de(n);if(!i.pending.length){let c=!0;return o&&setTimeout(()=>{c&&o(i.loaded,i.missing,i.pending,kt)}),()=>{c=!1}}const s=Object.create(null),l=[];let a,r;return i.pending.forEach(c=>{const{provider:d,prefix:u}=c;if(u===r&&d===a)return;a=d,r=u,l.push(V(d,u));const m=s[d]||(s[d]=Object.create(null));m[u]||(m[u]=[])}),i.pending.forEach(c=>{const{provider:d,prefix:u,name:m}=c,h=V(d,u),k=h.pendingIcons||(h.pendingIcons=new Set);k.has(m)||(k.add(m),s[d][u].push(m))}),l.forEach(c=>{const d=s[c.provider][c.prefix];d.length&&Ce(c,d)}),o?me(o,i,l):kt};function Se(t,o){const n={...t};for(const i in o){const s=o[i],l=typeof s;i in ut?(s===null||s&&(l==="string"||l==="number"))&&(n[i]=s):l===typeof n[i]&&(n[i]=i==="rotate"?s%4:s)}return n}const Ee=/[\s,]+/;function we(t,o){o.split(Ee).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function Ne(t,o=0){const n=t.replace(/^-?[0-9.]*/,"");function i(s){for(;s<0;)s+=4;return s%4}if(n===""){const s=parseInt(t);return isNaN(s)?0:i(s)}else if(n!==t){let s=0;switch(n){case"%":s=25;break;case"deg":s=90}if(s){let l=parseFloat(t.slice(0,t.length-n.length));return isNaN(l)?0:(l=l/s,l%1===0?i(l):0)}}return o}function xe(t,o){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in o)n+=" "+i+'="'+o[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function $e(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Ve(t){return"data:image/svg+xml,"+$e(t)}function Pe(t){return'url("'+Ve(t)+'")'}const Ct={...mt,inline:!1},De={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Te={display:"inline-block"},v={backgroundColor:"currentColor"},Bt={backgroundColor:"transparent"},St={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Et={webkitMask:v,mask:v,background:Bt};for(const t in Et){const o=Et[t];for(const n in St)o[t+n]=St[n]}const W={};["horizontal","vertical"].forEach(t=>{const o=t.slice(0,1)+"Flip";W[t+"-flip"]=o,W[t.slice(0,1)+"-flip"]=o,W[t+"Flip"]=o});function wt(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const Nt=(t,o)=>{const n=Se(Ct,o),i={...De},s=o.mode||"svg",l={},a=o.style,r=typeof a=="object"&&!(a instanceof Array)?a:{};for(let g in o){const f=o[g];if(f!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[g]=f===!0||f==="true"||f===1;break;case"flip":typeof f=="string"&&we(n,f);break;case"color":l.color=f;break;case"rotate":typeof f=="string"?n[g]=Ne(f):typeof f=="number"&&(n[g]=f);break;case"ariaHidden":case"aria-hidden":f!==!0&&f!=="true"&&delete i["aria-hidden"];break;default:{const S=W[g];S?(f===!0||f==="true"||f===1)&&(n[S]=!0):Ct[g]===void 0&&(i[g]=f)}}}const c=Jt(t,n),d=c.attributes;if(n.inline&&(l.verticalAlign="-0.125em"),s==="svg"){i.style={...l,...r},Object.assign(i,d);let g=0,f=o.id;return typeof f=="string"&&(f=f.replace(/-/g,"_")),i.innerHTML=ne(c.body,f?()=>f+"ID"+g++:"iconifyVue"),e.h("svg",i)}const{body:u,width:m,height:h}=t,k=s==="mask"||(s==="bg"?!1:u.indexOf("currentColor")!==-1),C=xe(u,{...d,width:m+"",height:h+""});return i.style={...l,"--svg":Pe(C),width:wt(d.width),height:wt(d.height),...Te,...k?v:Bt,...r},e.h("span",i)};if(ft(!0),oe("",ce),typeof document<"u"&&typeof window<"u"){const t=window;if(t.IconifyPreload!==void 0){const o=t.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof o=="object"&&o!==null&&(o instanceof Array?o:[o]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!Ht(i))&&console.error(n)}catch{console.error(n)}})}if(t.IconifyProviders!==void 0){const o=t.IconifyProviders;if(typeof o=="object"&&o!==null)for(let n in o){const i="IconifyProviders["+n+"] is invalid.";try{const s=o[n];if(typeof s!="object"||!s||s.resources===void 0)continue;se(n,s)||console.error(i)}catch{console.error(i)}}}}const Ie={...O,body:""},P=e.defineComponent({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(t,o,n){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let i;if(typeof t!="string"||(i=A(t,!1,!0))===null)return this.abortLoading(),null;let s=qt(i);if(!s)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",s!==null&&(this._loadingIcon={name:t,abort:Be([i],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==t&&(this._name=t,o&&o(t)),n){s=Object.assign({},s);const a=n(s.body,i.name,i.prefix,i.provider);typeof a=="string"&&(s.body=a)}const l=["iconify"];return i.prefix!==""&&l.push("iconify--"+i.prefix),i.provider!==""&&l.push("iconify--"+i.provider),{data:s,classes:l}}},render(){this.counter;const t=this.$attrs,o=this.iconMounted||t.ssr?this.getIcon(t.icon,t.onLoad,t.customise):null;if(!o)return Nt(Ie,t);let n=t;return o.classes&&(n={...t,class:(typeof t.class=="string"?t.class+" ":"")+o.classes.join(" ")}),Nt({...O,...o.data},n)}});function xt(t,o){return o===1?t:`${t}/${o}`}const $t=()=>({getLinkToPaginatedPage:xt}),Le={class:"d-shape"},Fe={key:0,class:"d-shape__bg-wrapper"},E=e.defineComponent({name:"DWrapShape",__name:"DWrapShape",props:{shapeClass:{},shapeStyle:{type:[Boolean,null,String,Object,Array]},filterClass:{},filterStyle:{type:[Boolean,null,String,Object,Array]},tag:{}},setup(t){const o=t,n=e.useSlots();function i(r){return r?typeof r=="string"?!r.trim():Object.keys(r).length===0:!0}function s(r){return typeof r=="string"?!r.trim():Array.isArray(r)?r.length===0:r===null||r===void 0?!0:Object.keys(r).length===0}const l=e.computed(()=>n["shape-content"]||!i(o.shapeClass)?!0:!s(o.shapeStyle)),a=e.computed(()=>i(o.filterClass)?!s(o.filterStyle):!0);return(r,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.tag??"div"),null,{default:e.withCtx(()=>[e.createElementVNode("div",Le,[l.value||n["bg-overlay"]||a.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["d-shape__bg-filter",r.filterClass]),style:e.normalizeStyle(r.filterStyle)},[l.value||n["bg-overlay"]?(e.openBlock(),e.createElementBlock("div",Fe,[l.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["d-shape__bg",r.shapeClass]),style:e.normalizeStyle(r.shapeStyle)},[e.renderSlot(r.$slots,"shape-content")],6)):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"bg-overlay")])):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0),e.renderSlot(r.$slots,"default")])]),_:3}))}}),Ae={key:0,class:"d-focus-hl__hl--negative-tile"},Me={key:2,class:"d-focus-hl__hl--negative-list-item"},je={key:4,class:"d-focus-hl__hl--negative-tile"},Oe={key:5,class:"d-focus-hl__hl--negative-list-item"},ze={name:"DWrapFocusHighlight",components:{DWrapShape:E}},L=e.defineComponent({...ze,props:{linkExact:Boolean,noPassiveLink:Boolean,active:Boolean,variant:{type:String,default:"negative-tile"},tag:{type:String,default:"div"},colorClass:{type:[String,Object],default:"d-focus-hl--default-color"}},setup(t){const o=t,n=e.computed(()=>o.to||o.href?resolveComponent("NuxtLink"):o.tag);return(i,s)=>(e.openBlock(),e.createBlock(E,null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.value),e.mergeProps(o,{class:["d-focus-hl d-focusable",{"d-focus-hl--exact":t.linkExact,"d-focus-hl--not-exact":!t.linkExact,"d-focus-hl--no-passive-link":t.noPassiveLink,"d-focus-hl--active":t.active}]}),{default:e.withCtx(()=>[t.variant==="negative-tile"?(e.openBlock(),e.createElementBlock("div",Ae)):t.variant==="tile"||t.variant==="composite-tile"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-focus-hl__hl--tile",t.colorClass])},null,2)):t.variant==="negative-list-item"?(e.openBlock(),e.createElementBlock("div",Me)):t.variant==="list-item"||t.variant==="composite-list-item"?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["d-focus-hl__hl--list-item",t.colorClass])},null,2)):e.createCommentVNode("",!0),e.renderSlot(i.$slots,"default"),t.variant==="composite-tile"?(e.openBlock(),e.createElementBlock("div",je)):t.variant==="composite-list-item"?(e.openBlock(),e.createElementBlock("div",Oe)):e.createCommentVNode("",!0)]),_:3},16,["class"]))]),_:3}))}});function Vt(t){const o=e.resolveDynamicComponent("RouterLink"),n=typeof defineNuxtLink=="function"?defineNuxtLink({componentName:"DNuxtLink"}):void 0,i=e.computed(()=>!!(t.href||t.to)),s=e.computed(()=>{if(!t.href)return!1;const a=t.href;return a.startsWith("http")||a.startsWith("mailto:")||a.startsWith("tel:")||a.startsWith("#")}),l=e.computed(()=>{const a={...t};return t.href&&t.to?delete a.href:t.href?delete a.to:t.to&&delete a.href,a});return i.value?s.value?{isLink:i,isExternalLink:s,linkComponent:"a",propsToProvide:l}:typeof n<"u"?{isLink:i,isExternalLink:s,linkComponent:n,propsToProvide:l}:typeof o!="string"?{isLink:i,isExternalLink:s,linkComponent:o,propsToProvide:l}:{isLink:i,isExternalLink:s,linkComponent:"a",propsToProvide:l}:{isLink:i,isExternalLink:s,linkComponent:t.tag||"span",propsToProvide:l}}const We={name:"DBtn",components:{DWrapFocusHighlight:L}},N=e.defineComponent({...We,props:{to:{type:[String,Object],default:""},href:{type:String,default:void 0},exact:Boolean,noPassiveHighlight:Boolean,active:Boolean,noRotate:Boolean,tag:{type:String,default:"button"},highlight:{type:String,default:void 0},colorClass:{type:[String,Object],default:void 0},textTransform:{type:String,default:"uppercase"}},setup(t){const o=t,{linkComponent:n,isLink:i,isExternalLink:s,propsToProvide:l}=Vt(o);return(a,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(n)),e.mergeProps({class:["d-btn d-focusable",{"d-btn--rotated":!t.noRotate,"d-btn--uppercase":t.textTransform==="uppercase","d-btn--capitalize":t.textTransform==="capitalize","d-btn--lowercase":t.textTransform==="lowercase"}]},e.unref(l)),{default:e.withCtx(()=>[e.createVNode(L,{variant:t.highlight,"link-exact":t.exact,"no-passive-link":t.noPassiveHighlight||!e.unref(i)||e.unref(s),"color-class":t.colorClass,active:t.active},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},8,["variant","link-exact","no-passive-link","color-class","active"])]),_:3},16,["class"]))}}),Re={class:"w-fit text-2xl font-bold"},qe={key:2,class:"mx-1"},Ue={key:3,class:"mx-1"},He={name:"DPagination",components:{DBtn:N,Icon:P}},Ge=e.defineComponent({...He,props:{currentPage:{type:Number,default:1},allPages:{type:Number,required:!0},baseLink:{type:String,required:!0}},setup(t){const o=t,{getLinkToPaginatedPage:n}=$t();function i(l){return n(o.baseLink,l)}const s=e.computed(()=>Array.from({length:7},(l,a)=>a-3+o.currentPage).filter(l=>l>=1&&l<=o.allPages));return(l,a)=>(e.openBlock(),e.createElementBlock("nav",Re,[t.currentPage>1?(e.openBlock(),e.createBlock(N,{key:0,class:"inline-block mx-1",to:i(t.currentPage-1),"aria-label":"Previous page"},{default:e.withCtx(()=>[e.createVNode(e.unref(P),{icon:"ic:baseline-arrow-back-ios"})]),_:1},8,["to"])):e.createCommentVNode("",!0),s.value.includes(1)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(N,{key:1,class:"inline-block mx-1",to:i(1),"aria-label":"First page"},{default:e.withCtx(()=>a[0]||(a[0]=[e.createTextVNode(" 1 ")])),_:1},8,["to"])),s.value.includes(1)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",qe," ... ")),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,r=>(e.openBlock(),e.createBlock(N,{key:r,class:"inline-block mx-1",to:i(r),"aria-label":`Page ${r}`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r),1)]),_:2},1032,["to","aria-label"]))),128)),s.value.includes(t.allPages)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",Ue," ... ")),s.value.includes(t.allPages)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(N,{key:4,class:"inline-block mx-1",to:i(t.allPages),"aria-label":`Last page (${t.allPages})`},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.allPages),1)]),_:1},8,["to","aria-label"])),t.currentPage<t.allPages?(e.openBlock(),e.createBlock(N,{key:5,class:"inline-block mx-1",to:i(t.currentPage+1),"aria-label":"Next page"},{default:e.withCtx(()=>[e.createVNode(e.unref(P),{icon:"ic:baseline-arrow-forward-ios"})]),_:1},8,["to"])):e.createCommentVNode("",!0)]))}}),Qe={class:"max-w-full"},Ke={class:"stats__print-value"},Ze={class:"stats__print-value__group-title"},Xe={class:"stats__print-value--small"},Ye={class:"stats"},Je={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg"},ve=["points"],tn=["points"],en={class:"stats__single-stat"},nn=["points"],on=["points"],sn={class:"stats__single-stat"},ln=["points"],an=["points"],rn={class:"stats__single-stat"},cn=["points"],dn=["points"],fn={class:"stats__single-stat"},un=["points"],mn=["points"],pn={class:"stats__single-stat"},hn=["points"],gn=["points"],yn={class:"stats__images"},_n={class:"stats__image"},kn={class:"stats__image"},bn={class:"stats__image"},Cn={class:"stats__image"},Bn={class:"stats__image"},Sn={viewBox:"-500 -500 2000 2000",xmlns:"http://www.w3.org/2000/svg",class:"stats_titles-layer"},En={x:"-500",y:"-300",class:"stats__group-title"},wn=["x","y","transform-origin"],Nn={class:"stats__title__value"},xn=["x","y","transform-origin"],$n={class:"stats__title__value"},Vn=["x","y","transform-origin"],Pn={class:"stats__title__value"},Dn=["x","y","transform-origin"],Tn={class:"stats__title__value"},In=["x","y","transform-origin"],Ln={class:"stats__title__value"},Fn={name:"DStats",components:{Icon:P}},An=e.defineComponent({...Fn,props:{groupTitle:{},titles:{},values:{}},setup(t){const o=t,n=e.ref([[500,0],[630,330],[980,350],[700,590],[790,910],[500,720],[210,910],[300,590],[20,350],[370,330]]),i=e.ref([1,.8,.6,.4,.27]),s={1:0,"1-2":1,2:2,"2-3":3,3:4,"3-4":5,4:6,"4-5":7,5:8,"5-1":9},l=[500,500];function a(f){return f.map(S=>S.join(",")).join(" ")}function r(f,S,B=500,y=500){return f.map(b=>[b[0]-(b[0]-B)*(1-S),b[1]-(b[1]-y)*(1-S)])}const c=e.computed(()=>i.value.map(f=>r(n.value,f)));function d(f){return c.value[5-f]}function u(f){return{value:o.values?o.values[f]??1:1,title:o.titles?o.titles[f]??"":""}}const m=e.computed(()=>u(0)),h=e.computed(()=>u(1)),k=e.computed(()=>u(2)),C=e.computed(()=>u(3)),g=e.computed(()=>u(4));return(f,S)=>(e.openBlock(),e.createElementBlock("figure",Qe,[e.createElementVNode("div",Ke,[e.createElementVNode("div",Ze,e.toDisplayString(f.groupTitle),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.titles,(B,y)=>(e.openBlock(),e.createElementBlock("div",{key:B,class:"stats__print-value__skill"},[e.createElementVNode("div",null,e.toDisplayString(B),1),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.values[y],b=>(e.openBlock(),e.createBlock(e.unref(P),{key:b,icon:"ic:sharp-star"}))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(5-f.values[y],b=>(e.openBlock(),e.createBlock(e.unref(P),{key:b,icon:"ic:sharp-star-border"}))),128))])]))),128))])]),e.createElementVNode("div",Xe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.titles,(B,y)=>(e.openBlock(),e.createElementBlock("span",{key:B,class:e.normalizeClass(["stats__print-value--small__skill",{"stats__print-value--small__skill--hidden":f.values[y]<3,"stats__print-value--small__skill--3":f.values[y]===3,"stats__print-value--small__skill--4":f.values[y]===4,"stats__print-value--small__skill--5":f.values[y]===5}])},e.toDisplayString(B),3))),128))]),e.createElementVNode("div",Ye,[(e.openBlock(),e.createElementBlock("svg",Je,[S[0]||(S[0]=e.createElementVNode("polygon",{points:"100,-350 1500,-500 1000,1350 -500,1500",class:"stats__bg"},null,-1)),e.createElementVNode("polygon",{points:a(r(n.value,2)),class:"stats__bg-star--odd"},null,8,ve),e.createElementVNode("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(B,y)=>(e.openBlock(),e.createElementBlock("polygon",{key:y,points:a(B),class:e.normalizeClass({"stats__bg-star--odd":y%2,"stats__bg-star--even":!(y%2)})},null,10,tn))),128))]),e.createElementVNode("g",null,[e.createElementVNode("g",en,[e.createElementVNode("polygon",{points:a([d(m.value.value)[s[1]],d(Math.min(m.value.value,g.value.value))[s["5-1"]],l]),class:"stats__star--dark"},null,8,nn),e.createElementVNode("polygon",{points:a([d(m.value.value)[s[1]],d(Math.min(m.value.value,h.value.value))[s["1-2"]],l]),class:"stats__star--light"},null,8,on)]),e.createElementVNode("g",sn,[e.createElementVNode("polygon",{points:a([d(h.value.value)[s[2]],d(Math.min(m.value.value,h.value.value))[s["1-2"]],l]),class:"stats__star--light"},null,8,ln),e.createElementVNode("polygon",{points:a([d(h.value.value)[s[2]],d(Math.min(k.value.value,h.value.value))[s["2-3"]],l]),class:"stats__star--dark"},null,8,an)]),e.createElementVNode("g",rn,[e.createElementVNode("polygon",{points:a([d(k.value.value)[s[3]],d(Math.min(h.value.value,k.value.value))[s["2-3"]],l]),class:"stats__star--light"},null,8,cn),e.createElementVNode("polygon",{points:a([d(k.value.value)[s[3]],d(Math.min(k.value.value,C.value.value))[s["3-4"]],l]),class:"stats__star--dark"},null,8,dn)]),e.createElementVNode("g",fn,[e.createElementVNode("polygon",{points:a([d(C.value.value)[s[4]],d(Math.min(k.value.value,C.value.value))[s["3-4"]],l]),class:"stats__star--light"},null,8,un),e.createElementVNode("polygon",{points:a([d(C.value.value)[s[4]],d(Math.min(C.value.value,g.value.value))[s["4-5"]],l]),class:"stats__star--dark"},null,8,mn)]),e.createElementVNode("g",pn,[e.createElementVNode("polygon",{points:a([d(g.value.value)[s[5]],d(Math.min(C.value.value,g.value.value))[s["4-5"]],l]),class:"stats__star--dark"},null,8,hn),e.createElementVNode("polygon",{points:a([d(g.value.value)[s[5]],d(Math.min(g.value.value,m.value.value))[s["5-1"]],l]),class:"stats__star--light"},null,8,gn)])])])),e.createElementVNode("div",yn,[e.createElementVNode("div",_n,[e.renderSlot(f.$slots,"icon-1")]),e.createElementVNode("div",kn,[e.renderSlot(f.$slots,"icon-2")]),e.createElementVNode("div",bn,[e.renderSlot(f.$slots,"icon-3")]),e.createElementVNode("div",Cn,[e.renderSlot(f.$slots,"icon-4")]),e.createElementVNode("div",Bn,[e.renderSlot(f.$slots,"icon-5")])]),(e.openBlock(),e.createElementBlock("svg",Sn,[e.createElementVNode("text",En,e.toDisplayString(f.groupTitle),1),e.createElementVNode("g",null,[e.createElementVNode("text",{x:n.value[s[1]][0],y:n.value[s[1]][1]-100,"transform-origin":`${n.value[s[1]][0]} ${n.value[s[1]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(m.value.title)+" ",1),e.createElementVNode("tspan",Nn,e.toDisplayString(m.value.value),1)],8,wn),e.createElementVNode("text",{x:n.value[s[2]][0]+100,y:n.value[s[2]][1]-100,"transform-origin":`${n.value[s[2]][0]+100} ${n.value[s[2]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(h.value.title)+" ",1),e.createElementVNode("tspan",$n,e.toDisplayString(h.value.value),1)],8,xn),e.createElementVNode("text",{"dominant-baseline":"hanging",x:n.value[s[3]][0]+150,y:n.value[s[3]][1]+150,"transform-origin":`${n.value[s[3]][0]+150} ${n.value[s[3]][1]+150}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(k.value.title)+" ",1),e.createElementVNode("tspan",Pn,e.toDisplayString(k.value.value),1)],8,Vn),e.createElementVNode("text",{"dominant-baseline":"hanging",x:n.value[s[4]][0]-150,y:n.value[s[4]][1]+150,"transform-origin":`${n.value[s[4]][0]-150} ${n.value[s[4]][1]+150}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(C.value.title)+" ",1),e.createElementVNode("tspan",Tn,e.toDisplayString(C.value.value),1)],8,Dn),e.createElementVNode("text",{x:n.value[s[5]][0]-100,y:n.value[s[5]][1]-100,"transform-origin":`${n.value[s[5]][0]-100} ${n.value[s[5]][1]-100}`,class:"stats__title"},[e.createTextVNode(e.toDisplayString(g.value.title)+" ",1),e.createElementVNode("tspan",Ln,e.toDisplayString(g.value.value),1)],8,In)])]))])]))}}),Mn={name:"DAnimationDefLetterD"},jn={d:"M200.242,139.244l137.207,-0c66.136,-0 112.859,17.192 140.169,51.576c27.31,34.384 33.562,84.973 18.755,151.767c-22.045,98.711 -85.878,148.066 -191.498,148.066l-179.16,-0l74.527,-351.409Zm184.588,179.159c12.175,-57.581 -7.732,-86.372 -59.72,-86.372l-33.068,0l-35.042,165.834l44.42,0c23.69,0 42.034,-6.169 55.031,-18.508c12.997,-12.339 22.457,-32.657 28.379,-60.954Z"};function On(t,o,n,i,s,l){return e.openBlock(),e.createElementBlock("path",jn)}const x=U(Mn,[["render",On]]),zn={name:"DAnimationAccordion",components:{DAnimationDefLetterD:x}},Wn=e.defineComponent({...zn,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(t){return(o,n)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 210",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-accordion",style:e.normalizeStyle({"--d-accordion-wiggle-period":t.wigglePeriod+"s","--d-accordion-delay":t.delay+"s"})},[e.createElementVNode("defs",null,[e.createVNode(x,{id:"d-letter"}),n[0]||(n[0]=e.createElementVNode("use",{id:"d-accordion-section",href:"#d-letter",transform:"scale(0.33)"},null,-1))]),n[1]||(n[1]=e.createStaticVNode('<use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use><use href="#d-accordion-section" class="d-animation-accordion__section"></use>',6))],4))}}),Rn={name:"DAnimationFloatingLetter",components:{DAnimationDefLetterD:x}},qn=e.defineComponent({...Rn,props:{floatPeriod:{type:Number,default:5},pathClass:{type:[String,Object],default:""}},setup(t){return(o,n)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:e.normalizeStyle({"--d-floating-letter-float-period":t.floatPeriod+"s"})},[e.createVNode(x,{class:e.normalizeClass(["d-animation-floating-letter",t.pathClass])},null,8,["class"])],4))}}),Un={name:"DAnimationHypnosis",components:{DAnimationDefLetterD:x}},Hn=e.defineComponent({...Un,props:{wigglePeriod:{type:Number,default:10},delay:{type:Number,default:1}},setup(t){return(o,n)=>(e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",class:"d-animation-hypnosis",style:e.normalizeStyle({"--d-hypnosis-wiggle-period":t.wigglePeriod+"s","--d-hypnosis-delay":t.delay+"s"})},[e.createElementVNode("defs",null,[e.createVNode(x,{id:"d-letter"}),n[0]||(n[0]=e.createElementVNode("use",{id:"d-hypnosis-section",href:"#d-letter"},null,-1))]),n[1]||(n[1]=e.createStaticVNode('<use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use><use href="#d-hypnosis-section" class="d-animation-hypnosis__section"></use>',6))],4))}}),Gn={name:"DAnimationSpinner",components:{DAnimationDefLetterD:x}},Qn=e.defineComponent({...Gn,props:{spinPeriod:{type:Number,default:10},bladeWigglePeriod:{type:Number,default:5}},setup(t){const o="315 315";return(n,i)=>(e.openBlock(),e.createElementBlock("svg",{class:"spinner",viewBox:"0 0 630 630",xmlns:"http://www.w3.org/2000/svg",style:e.normalizeStyle({"--d-spinner-spin-period":t.spinPeriod+"s","--d-spinner-blade-wiggle-period":t.bladeWigglePeriod+"s"})},[e.createElementVNode("defs",null,[e.createVNode(x,{id:"d-letter"}),e.createElementVNode("use",{id:"d-spinner-blade",href:"#d-letter",class:"d-animation-spinner__blade","transform-origin":o}),e.createElementVNode("g",{id:"spinner",class:"d-animation-spinner__spinner","transform-origin":o},[e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(0)","transform-origin":o}),e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(120)","transform-origin":o}),e.createElementVNode("use",{href:"#d-spinner-blade",transform:"rotate(240)","transform-origin":o})])]),e.createElementVNode("use",{href:"#spinner",transform:"translate( -20 20 )",class:"d-animation-spinner__background","transform-origin":o}),e.createElementVNode("use",{href:"#spinner",class:"d-animation-spinner__foreground","transform-origin":o})],4))}}),Kn=e.ref(""),tt=()=>({text:Kn}),Zn={id:"big-bang-button-animation"},Xn=["i","textContent"],Yn={name:"DBigBangButtonAnimation"},Jn=e.defineComponent({...Yn,setup(t){const o={first:"M 0 0 C -489.471 -116.5 -526.692 -193.268 -563.913 -311.911",last:"M 0 0 C 317.761 171.963 466.645 199.879 680.666 171.963",intermediate:["M 0 0 C 36.277 125.437 19.992 358.068 -49.797 413.9","M 0 0 C 52.561 -69.974 71.171 -118.827 64.192 -446.837","M 0 0 C -3.271 137.068 -26.534 395.289 33.95 439.489"]},{text:n}=tt(),i=e.computed(()=>n.value.split(""));let s;e.watch(n,c=>{clearTimeout(s),c&&(s=setTimeout(()=>n.value="",1500))});function l(c){return c===0?o.first:c===i.value.length-1?o.last:o.intermediate[Math.floor(Math.random()*o.intermediate.length)]}function a(c,d){q.fromTo(c,{opacity:0,rotateX:-90},{opacity:1,rotateX:0,rotate:-12+Math.random()*24,delay:Math.random()*.3,duration:.2,onComplete:d})}function r(c,d){const u=+q.getProperty(c,"i");q.to(c,{motionPath:{path:l(u)},opacity:0,rotate:-180+Math.random()*360,duration:.2,onComplete:d})}return(c,d)=>(e.openBlock(),e.createElementBlock("div",Zn,[e.createVNode(e.TransitionGroup,{tag:"div",class:"bbb__text-container",onEnter:a,onLeave:r},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(u,m)=>(e.openBlock(),e.createElementBlock("span",{key:m,i:m,textContent:e.toDisplayString(u)},null,8,Xn))),128))]),_:1})]))}}),vn=["textContent"],to={name:"DBigBangButton"},eo=e.defineComponent({...to,props:{text:{type:String,required:!0},tag:{type:String,default:"button"},to:{type:[String,Object],default:""}},emits:["click"],setup(t,{emit:o}){const n=o,i=t,{text:s}=tt(),{linkComponent:l}=Vt(i),a=e.computed(()=>i.text.split(""));function r(c){s.value=i.text,n("click",c)}return(c,d)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)),{to:t.to,class:"big-bang-button",onClick:r},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(u,m)=>(e.openBlock(),e.createElementBlock("span",{key:m,textContent:e.toDisplayString(u)},null,8,vn))),128))]),_:1},8,["to"]))}}),no={name:"DCard",components:{DWrapShape:E}},oo=e.defineComponent({...no,props:{mode:{type:String,default:"default"},dense:Boolean},setup(t){return(o,n)=>(e.openBlock(),e.createBlock(E,{"shape-class":{card__bg:!t.dense,"card__bg--dense":t.dense},class:e.normalizeClass({"card--homepage-story force-light":t.mode==="homepage-story","card--homepage-skills force-light":t.mode==="homepage-skills",card:t.mode==="default"})},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass({card__content:!t.dense,"card__content--dense":t.dense})},[e.renderSlot(o.$slots,"default")],2)]),_:3},8,["shape-class","class"]))}}),so={name:"DCardTitle",components:{DWrapShape:E}},io={class:"card__title"},lo={class:"card__title__content__text"},ao={class:"ml-2 print:text-neutral-600"};function ro(t,o,n,i,s,l){const a=e.resolveComponent("DWrapShape");return e.openBlock(),e.createElementBlock("div",io,[e.createVNode(a,{class:"card__title__content","shape-class":"card__title__content__shape"},{default:e.withCtx(()=>[e.createElementVNode("h3",lo,[e.renderSlot(t.$slots,"default")])]),_:3}),e.createElementVNode("span",ao,[e.renderSlot(t.$slots,"extra")])])}const co=U(so,[["render",ro]]),fo={class:"d-alert__body"},uo={viewBox:"0 0 1067 1067",xmlns:"http://www.w3.org/2000/svg",class:"d-alert__sign"},mo={key:0},po={key:1},ho={key:2},go=e.defineComponent({__name:"DAlert",props:{type:{type:String,default:"info"}},setup(t){return(o,n)=>(e.openBlock(),e.createBlock(E,{class:e.normalizeClass(["d-alert",{"d-alert--info":t.type==="info","d-alert--question":t.type==="question","d-alert--warning":t.type==="warning"}]),"shape-class":"d-alert__shape"},{"bg-overlay":e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("div",{class:"d-alert__outline"},null,-1)])),default:e.withCtx(()=>[e.createElementVNode("div",fo,[e.renderSlot(o.$slots,"default"),(e.openBlock(),e.createElementBlock("svg",uo,[t.type==="info"?(e.openBlock(),e.createElementBlock("g",mo,n[1]||(n[1]=[e.createElementVNode("path",{d:"M202.481,1025.68l427.138,-769.216l171.992,106.943l-461.057,689.584l-138.073,-27.311Z"},null,-1),e.createElementVNode("path",{d:"M832.695,310.003l-170.011,-113.247l92.566,-170.289l218.937,122.443l-141.492,161.093Z"},null,-1)]))):e.createCommentVNode("",!0),t.type==="question"?(e.openBlock(),e.createElementBlock("g",po,n[2]||(n[2]=[e.createElementVNode("path",{d:"M289.17,836.982l100.67,63.007l-27.42,149.27l-200.047,-83.328l126.797,-128.949Z"},null,-1),e.createElementVNode("path",{d:"M335.818,766.179l95.499,91.347l134.944,-217.987l249.128,-6.228l174.389,-139.096l14.533,-236.672l-170.237,-224.215l-170.238,-8.304l-242.9,124.564l114.184,64.358l178.542,-41.522l161.933,130.793l-68.51,205.53l-203.455,-53.978l-178.542,70.587l-89.27,240.823Z"},null,-1)]))):e.createCommentVNode("",!0),t.type==="warning"?(e.openBlock(),e.createElementBlock("g",ho,n[3]||(n[3]=[e.createElementVNode("path",{d:"M304.988,722.034l335.792,-712.747l299.877,30.543l-514.204,743.146l-121.465,-60.942Z"},null,-1),e.createElementVNode("path",{d:"M253.974,839.059l148.42,40.169l-118.767,182.487l-131.537,-66.719l101.884,-155.937Z"},null,-1)]))):e.createCommentVNode("",!0)]))])]),_:3},8,["class"]))}}),yo={class:"d-blockquote__body"},_o=e.defineComponent({__name:"DQuote",props:{direction:{type:String,default:"right"}},setup(t){return(o,n)=>(e.openBlock(),e.createBlock(E,{tag:"blockquote",class:e.normalizeClass(["d-blockquote",{"d-blockquote--left":t.direction==="left","d-blockquote--right":t.direction==="right"}]),"shape-class":"d-blockquote__shape"},{"bg-overlay":e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("div",{class:"d-blockquote__outline"},null,-1)])),default:e.withCtx(()=>[e.createElementVNode("div",yo,[e.renderSlot(o.$slots,"default")])]),_:3},8,["class"]))}}),ko={name:"DActionsFan",components:{DWrapShape:E,DBtn:N}},bo=e.defineComponent({...ko,props:{actions:{type:Array,default:()=>[]},side:{type:String,default:"left"},filterClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.TransitionGroup,{name:"actions",tag:"ul",style:e.normalizeStyle({padding:`${Math.min(t.actions.length*2,15)}rem 0 ${Math.min(t.actions.length*3,15)}rem`})},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,(i,s)=>(e.openBlock(),e.createBlock(E,{key:i.title,tag:"li",class:e.normalizeClass(["d-actions-fan__list-item",{[i.class??""]:!0,"d-actions-fan--right__list-item":t.side==="right","d-actions-fan--left__list-item":t.side==="left"}]),"filter-class":t.filterClass,style:e.normalizeStyle({...i.style,"--tw-rotate":`${t.side==="left"?12-s*18:-12+s*18}deg`}),"shape-class":{"d-actions-fan__list-item__shape":!0,[i.shapeClass??""]:!0,"d-actions-fan--right__list-item__shape":t.side==="right","d-actions-fan--left__list-item__shape":t.side==="left"},"shape-style":i.shapeStyle},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["d-actions-fan__list-item__body",{"d-actions-fan--right__list-item__body":t.side==="right"}])},[e.createVNode(N,e.mergeProps({ref_for:!0},i.attrs,{tag:"button","no-passive-highlight":"",onClick:l=>o.$emit("actionChoose",i.emit),onMouseenter:l=>o.$emit("actionFocus",i.emit),onTouchstart:l=>o.$emit("actionFocus",i.emit),onFocusin:l=>o.$emit("actionFocus",i.emit),onMouseleave:l=>o.$emit("actionUnfocus",i.emit),onTouchend:l=>o.$emit("actionUnfocus",i.emit),onFocusout:l=>o.$emit("actionUnfocus",i.emit)}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.title),1)]),_:2},1040,["onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])],2)]),_:2},1032,["filter-class","class","style","shape-class","shape-style"]))),128))]),_:1},8,["style"]))}}),Co={class:"d-actions-list__body"},Bo={key:0,class:"d-actions-list__header"},So=e.defineComponent({name:"DActionsList",components:{DWrapFocusHighlight:L,DWrapShape:E},__name:"DActionsList",props:{actions:{type:Array,default:()=>[]},listClass:{type:[String,Object],default:""}},emits:["actionFocus","actionUnfocus","actionChoose"],setup(t){function o(i){var s;return(s=i.attrs)!=null&&s.highlightVariant?i.attrs.highlightVariant:"negative-list-item"}const n=e.useSlots();return(i,s)=>(e.openBlock(),e.createBlock(E,{"shape-class":"d-actions-list__shape"},{default:e.withCtx(()=>[e.createElementVNode("div",Co,[n.header?(e.openBlock(),e.createElementBlock("div",Bo,[e.renderSlot(i.$slots,"header")])):e.createCommentVNode("",!0),e.createVNode(e.TransitionGroup,{name:"actions",tag:"ul",class:e.normalizeClass(["d-actions-list__list",t.listClass])},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,l=>(e.openBlock(),e.createElementBlock("li",{key:l.title},[e.createVNode(L,e.mergeProps({ref_for:!0},l.attrs,{tag:"button",variant:o(l),"no-passive-link":"",onClick:a=>i.$emit("actionChoose",l.emit),onMouseenter:a=>i.$emit("actionFocus",l.emit),onTouchstart:a=>i.$emit("actionFocus",l.emit),onFocusin:a=>i.$emit("actionFocus",l.emit),onMouseleave:a=>i.$emit("actionUnfocus",l.emit),onTouchend:a=>i.$emit("actionUnfocus",l.emit),onFocusout:a=>i.$emit("actionUnfocus",l.emit)}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.title),1)]),_:2},1040,["variant","onClick","onMouseenter","onTouchstart","onFocusin","onMouseleave","onTouchend","onFocusout"])]))),128))]),_:1},8,["class"])])]),_:3}))}}),Eo={key:0,class:"mbg__relative-container"},wo={key:1,class:"mbg__layer"},No={key:3,class:"mbg__content"},xo=e.defineComponent({name:"DWrapBackground",__name:"DWrapBackground",props:{overlayClass:{type:[String,Object],default:""},overlayStyle:{type:Object,default:()=>{}},dotsClass:{type:[String,Object],default:""},dotsStyle:{type:Object,default:()=>{}},dots:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){const o=t,n=e.useSlots(),i=e.computed(()=>typeof o.overlayStyle=="string"?!o.overlayStyle.trim():Array.isArray(o.overlayStyle)?o.overlayStyle.length===0:o.overlayStyle===null||o.overlayStyle===void 0?!0:Object.keys(o.overlayStyle).length===0);return(s,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),{class:"mbg__main-container"},{default:e.withCtx(()=>[t.overlayClass||!i.value||n.svg||n.default?(e.openBlock(),e.createElementBlock("div",Eo,[t.overlayClass||!i.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["mbg__layer",t.overlayClass]),style:e.normalizeStyle(t.overlayStyle)},null,6)):e.createCommentVNode("",!0),n.svg?(e.openBlock(),e.createElementBlock("div",wo,[e.renderSlot(s.$slots,"svg")])):e.createCommentVNode("",!0),t.dots?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["mbg__layer mbg__dots",t.dotsClass]),style:e.normalizeStyle(t.dotsStyle)},null,6)):e.createCommentVNode("",!0),n.default?(e.openBlock(),e.createElementBlock("div",No,[e.renderSlot(s.$slots,"default")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:3}))}});function Pt(t,o={}){return{top:()=>{var n;return(((n=t.value)==null?void 0:n.getBoundingClientRect().top)??0)+window.scrollY+(o.y?o.y():0)},bottom:()=>{var n;return(((n=t.value)==null?void 0:n.getBoundingClientRect().bottom)??0)+window.scrollY+(o.y?o.y():0)},right:()=>{var n;return(((n=t.value)==null?void 0:n.getBoundingClientRect().right)??0)+window.scrollX+(o.x?o.x():0)},left:()=>{var n;return(((n=t.value)==null?void 0:n.getBoundingClientRect().left)??0)+window.scrollX+(o.x?o.x():0)}}}function $o(t){const o=Pt(t);return{top:o.top(),bottom:o.bottom(),right:o.right(),left:o.left()}}function et(t){return t.map((o,n,i)=>{const s=i.reduce((a,r,c)=>(c>n?a.push(a.at(-1)):a.push(r.left),a),[]);return[...i.reduce((a,r,c)=>(c>n?a.push(a.at(-1)):a.push(r.right),a),[]),...s.reverse()]})}function Dt(t){const o=et(t),n=o.length,i=o[0].length,s=[];for(let l=0;l<i;l++){const a=[];for(let r=0;r<n;r++)a.push(o[r][l]);s.push(a)}return s}function Vo(t,o,n,i){const s=Dt(t);for(const l of s){const a=o.createSVGPoint();n.points.appendItem(a),i(a,l)}}function Po(t,o,n){const i=et(t).at(-1);if(i)for(const s of i){const l=o.createSVGPoint();l.x=s.x,l.y=s.y,n.points.appendItem(l)}}function nt(t){if(t.length!==2)throw new Error("Array should contain 2 numbers in order to be translated into coords");return{x:t[0],y:t[1]}}function Tt(t){if(t.length!==2)throw new Error("Array should contain 2 elements in order to be translated into LineEdge");return{left:nt(t[0]),right:nt(t[1])}}function Do(t){return t.map(Tt)}p.DActionsFan=bo,p.DActionsList=So,p.DAlert=go,p.DAnimationAccordion=Wn,p.DAnimationFloatingLetter=qn,p.DAnimationHypnosis=Hn,p.DAnimationSpinner=Qn,p.DBigBangButton=eo,p.DBigBangButtonAnimation=Jn,p.DBtn=N,p.DCard=oo,p.DCardTitle=co,p.DChip=At,p.DPagination=Ge,p.DQuote=_o,p.DStats=An,p.DWrapBackground=xo,p.DWrapFocusHighlight=L,p.DWrapShape=E,p.applyLinePerPointAnimation=Vo,p.applyStaticPoints=Po,p.createCoordsFromArray=nt,p.createLineEdgeFromArray=Tt,p.createLineFromArray=Do,p.generatePolygonLineKeyframes=et,p.generatePolygonPointsKeyframes=Dt,p.getAbsoluteBoundings=$o,p.getAbsoluteBoundingsGetters=Pt,p.getLinkToPaginatedPage=xt,p.useDBigBangButtonUtils=tt,p.useDPaginationUtils=$t,Object.defineProperty(p,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d0rich/esprit-design",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -4,4 +4,9 @@ import DWrapFocusHighlight, {
4
4
  import DWrapBackground from './DWrapBackground.vue'
5
5
  import DWrapShape from './DWrapShape.vue'
6
6
 
7
- export { DWrapFocusHighlight, HighlightVariant, DWrapBackground, DWrapShape }
7
+ export {
8
+ DWrapFocusHighlight,
9
+ type HighlightVariant,
10
+ DWrapBackground,
11
+ DWrapShape
12
+ }
@@ -46,7 +46,6 @@ export function useLink(props: LinkProps) {
46
46
  })
47
47
 
48
48
  if (isLink.value) {
49
-
50
49
  if (isExternalLink.value) {
51
50
  return {
52
51
  isLink,