@d0rich/esprit-design 0.4.4 → 1.0.0
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.
- package/CHANGELOG.md +13 -0
- package/README.md +157 -11
- package/dist/_virtual/_plugin-vue_export-helper.js +10 -0
- package/dist/components/DChip.vue.js +14 -0
- package/dist/components/DChip.vue2.js +6 -0
- package/dist/components/DPagination.vue.js +116 -0
- package/dist/components/DPagination.vue2.js +4 -0
- package/dist/components/DStats.vue.js +367 -0
- package/dist/components/DStats.vue4.js +6 -0
- package/dist/components/animations/DAnimationAccordion.vue.js +47 -0
- package/dist/components/animations/DAnimationAccordion.vue3.js +5 -0
- package/dist/components/animations/DAnimationDefLetterD.vue.js +11 -0
- package/dist/components/animations/DAnimationDefLetterD.vue2.js +6 -0
- package/dist/components/animations/DAnimationFloatingLetter.vue.js +39 -0
- package/dist/components/animations/DAnimationFloatingLetter.vue3.js +5 -0
- package/dist/components/animations/DAnimationHypnosis.vue.js +46 -0
- package/dist/components/animations/DAnimationHypnosis.vue3.js +5 -0
- package/dist/components/animations/DAnimationSpinner.vue.js +80 -0
- package/dist/components/animations/DAnimationSpinner.vue3.js +5 -0
- package/dist/components/buttons/DBigBangButton.vue.js +56 -0
- package/dist/components/buttons/DBigBangButton.vue3.js +5 -0
- package/dist/components/buttons/DBigBangButtonAnimation.vue.js +97 -0
- package/dist/components/buttons/DBigBangButtonAnimation.vue3.js +5 -0
- package/dist/components/buttons/DBtn.vue.js +92 -0
- package/dist/components/buttons/DBtn.vue3.js +5 -0
- package/dist/components/cards/DCard.vue.js +50 -0
- package/dist/components/cards/DCard.vue3.js +5 -0
- package/dist/components/cards/DCardTitle.vue.js +30 -0
- package/dist/components/cards/DCardTitle.vue2.js +12 -0
- package/dist/components/content/DAlert.vue.js +61 -0
- package/dist/components/content/DAlert.vue3.js +5 -0
- package/dist/components/content/DQuote.vue.js +39 -0
- package/dist/components/content/DQuote.vue3.js +5 -0
- package/dist/components/index.js +61 -0
- package/dist/components/lists/DActionsFan.vue.js +101 -0
- package/dist/components/lists/DActionsFan.vue4.js +6 -0
- package/dist/components/lists/DActionsList.vue.js +89 -0
- package/dist/components/lists/DActionsList.vue3.js +5 -0
- package/dist/components/utils/DWrapBackground.vue.js +86 -0
- package/dist/components/utils/DWrapBackground.vue3.js +5 -0
- package/dist/components/utils/DWrapFocusHighlight.vue.js +93 -0
- package/dist/components/utils/DWrapFocusHighlight.vue5.js +7 -0
- package/dist/components/utils/DWrapShape.vue.js +73 -0
- package/dist/components/utils/DWrapShape.vue4.js +6 -0
- package/dist/composables/big-bang-button-utils.js +8 -0
- package/dist/composables/index.js +6 -0
- package/dist/composables/router.js +71 -0
- package/dist/composables/utils.js +7 -0
- package/dist/index.js +78 -0
- package/dist/style.css +869 -0
- package/dist/style.pure.css +2026 -0
- package/dist/style.tailwind.css +869 -0
- package/dist/utils/boundings.js +33 -0
- package/dist/utils/index.js +15 -0
- package/dist/utils/pagination.js +7 -0
- package/dist/utils/polygon-animation.js +85 -0
- package/package.json +32 -5
- package/src/components/animations/DAnimationAccordion.vue +6 -0
- package/src/components/animations/DAnimationFloatingLetter.vue +6 -0
- package/src/components/animations/DAnimationHypnosis.vue +6 -0
- package/src/components/animations/DAnimationSpinner.vue +6 -0
- package/src/components/buttons/DBigBangButton.vue +1 -1
- package/src/components/buttons/DBigBangButtonAnimation.vue +10 -0
- package/src/components/utils/DWrapFocusHighlight.vue +25 -0
- package/tailwind.config.js +14 -3
- package/vite.config.ts +74 -10
- package/dist/esprit-design.css +0 -1
- package/dist/esprit-design.js +0 -2586
- package/dist/esprit-design.umd.cjs +0 -1
|
@@ -1 +0,0 @@
|
|
|
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"})});
|