Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@webreact/webreact-components

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webreact/webreact-components - npm Package Compare versions

Comparing version 0.4.44 to 0.4.45

dist/webreact/p-2360aaeb.system.entry.js

2

dist/cjs/loader.cjs.js

@@ -17,3 +17,3 @@ 'use strict';

return patchEsm().then(() => {
return index.bootstrapLazy([["wr-block-meta_5.cjs",[[1,"wr-block-meta",{"items":[1],"innerData":[32]}],[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{"once":[4],"noTranslate":[4,"no-translate"],"noFade":[4,"no-fade"],"direction":[1],"duration":[2]}]]],["wr-accordion.cjs",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1025],"open":[32],"closeMe":[64],"openMe":[64],"calculateSizes":[64]}]]],["wr-accordion-group.cjs",[[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote.cjs",[[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}]]],["wr-case.cjs",[[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"],"href":[1]}]]],["wr-case-highlight.cjs",[[1,"wr-case-highlight",{"background":[1],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}]]],["wr-footer.cjs",[[1,"wr-footer"]]],["wr-logo.cjs",[[1,"wr-logo"]]],["wr-menu-item.cjs",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation.cjs",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options);
return index.bootstrapLazy([["wr-block-meta_5.cjs",[[1,"wr-block-meta",{"items":[1],"innerData":[32]}],[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{"once":[4],"noTranslate":[4,"no-translate"],"noFade":[4,"no-fade"],"direction":[1],"duration":[2]}]]],["wr-accordion.cjs",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1025],"open":[32],"closeMe":[64],"openMe":[64],"calculateSizes":[64]}]]],["wr-accordion-group.cjs",[[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote.cjs",[[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}]]],["wr-case.cjs",[[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"],"href":[1]}]]],["wr-case-highlight.cjs",[[1,"wr-case-highlight",{"background":[1],"backgroundSrcSet":[1,"background-src-set"],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}]]],["wr-footer.cjs",[[1,"wr-footer"]]],["wr-logo.cjs",[[1,"wr-logo"]]],["wr-menu-item.cjs",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation.cjs",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options);
});

@@ -20,0 +20,0 @@ };

@@ -18,3 +18,3 @@ 'use strict';

patchBrowser().then(options => {
return index.bootstrapLazy([["wr-block-meta_5.cjs",[[1,"wr-block-meta",{"items":[1],"innerData":[32]}],[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{"once":[4],"noTranslate":[4,"no-translate"],"noFade":[4,"no-fade"],"direction":[1],"duration":[2]}]]],["wr-accordion.cjs",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1025],"open":[32],"closeMe":[64],"openMe":[64],"calculateSizes":[64]}]]],["wr-accordion-group.cjs",[[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote.cjs",[[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}]]],["wr-case.cjs",[[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"],"href":[1]}]]],["wr-case-highlight.cjs",[[1,"wr-case-highlight",{"background":[1],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}]]],["wr-footer.cjs",[[1,"wr-footer"]]],["wr-logo.cjs",[[1,"wr-logo"]]],["wr-menu-item.cjs",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation.cjs",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options);
return index.bootstrapLazy([["wr-block-meta_5.cjs",[[1,"wr-block-meta",{"items":[1],"innerData":[32]}],[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{"once":[4],"noTranslate":[4,"no-translate"],"noFade":[4,"no-fade"],"direction":[1],"duration":[2]}]]],["wr-accordion.cjs",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1025],"open":[32],"closeMe":[64],"openMe":[64],"calculateSizes":[64]}]]],["wr-accordion-group.cjs",[[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote.cjs",[[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}]]],["wr-case.cjs",[[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"],"href":[1]}]]],["wr-case-highlight.cjs",[[1,"wr-case-highlight",{"background":[1],"backgroundSrcSet":[1,"background-src-set"],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}]]],["wr-footer.cjs",[[1,"wr-footer"]]],["wr-logo.cjs",[[1,"wr-logo"]]],["wr-menu-item.cjs",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation.cjs",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options);
});

@@ -104,6 +104,6 @@ 'use strict';

render() {
return (index.h("div", { class: 'perspective-wrapper' }, index.h("article", { class: 'case-card', ref: (el) => this.card = el }, this.renderImage(), index.h("a", { class: 'case-card__link', href: this.href, title: `Bekijk ${this.caseTitle}` }), index.h("footer", { class: 'case-card__footer' }, index.h("h3", { class: 'is-h6' }, this.caseTitle), index.h("button", { class: 'case-card__button', name: `Bekijk ${this.caseTitle}` }, this.renderPlayArrow())))));
return (index.h("div", { class: 'perspective-wrapper' }, index.h("article", { class: 'case-card', ref: (el) => this.card = el }, this.renderImage(), index.h("a", { class: 'case-card__link', href: this.href, "aria-label": `Bekijk ${this.caseTitle}` }), index.h("footer", { class: 'case-card__footer' }, index.h("h3", { class: 'is-h6' }, this.caseTitle), index.h("button", { class: 'case-card__button', "aria-label": `Bekijk ${this.caseTitle}` }, this.renderPlayArrow())))));
}
renderImage() {
return index.h("img", { class: 'case-card__background', loading: 'lazy', src: this.background, alt: '' });
return index.h("img", { class: 'case-card__background', loading: 'lazy', src: this.background, alt: '', srcset: this.backgroundSrcSet });
}

@@ -110,0 +110,0 @@ renderPlayArrow() {

@@ -564,3 +564,3 @@ 'use strict';

const wrCaseCss = ".atropos{position:relative;display:block;-webkit-perspective:1200px;perspective:1200px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.atropos-rotate-touch,.atropos-rotate-scroll-x,.atropos-rotate-scroll-y{-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.atropos-rotate-touch-scroll-y{-ms-touch-action:pan-y;touch-action:pan-y}.atropos-rotate-touch-scroll-x{-ms-touch-action:pan-x;touch-action:pan-x}.atropos-rotate-touch{-ms-touch-action:none;touch-action:none}.atropos-scale,.atropos-rotate{width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.atropos-shadow,.atropos-highlight{position:absolute;pointer-events:none;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;display:block;opacity:0}.atropos-shadow{z-index:-1;background:#000;left:0;top:0;width:100%;height:100%;-webkit-filter:blur(30px);filter:blur(30px)}.atropos-highlight{left:-50%;top:-50%;width:200%;height:200%;background-image:radial-gradient(circle at 50%, rgba(255, 255, 255, 0.25), transparent 50%);z-index:0}.atropos-rotate{position:relative}.atropos-inner{width:100%;height:100%;position:relative;overflow:hidden;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:block}.atropos-active{z-index:1}.atropos-active .atropos-shadow{opacity:1 !important}[data-atropos-offset]{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}[data-atropos-opacity]{-webkit-transition-property:opacity;transition-property:opacity}[data-atropos-offset][data-atropos-opacity]{-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform}:host{display:block;width:100%}.perspective-wrapper{-webkit-perspective:500px;perspective:500px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.case-card{-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);position:relative;width:100%;overflow:hidden}.case-card.mockup-front .case-card__accessory{z-index:0}.case-card__accessory,.case-card__mockup{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:1;margin:0px}.case-card__accessory img,.case-card__mockup img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;position:absolute;top:0px;right:0px;bottom:0px;left:0px}.case-card .background-image{position:relative;top:0px;right:0px;bottom:0px;left:0px;margin:0px}.case-card .background-image img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;border-radius:.25rem;display:block}.case-card .case-card__body{bottom:1rem;padding-top:1.25rem}@media (min-width: 375px){.case-card .case-card__body{bottom:1.75rem}}@media (min-width: 768px){.case-card .case-card__body{bottom:2.5rem}}.case-card .case-card__body{position:absolute;z-index:50;left:2.5rem;right:2.5rem}@media (min-width: 375px){.case-card .case-card__body{left:3.5rem;right:3.5rem}}@media (min-width: 768px){.case-card .case-card__body{left:5.5rem;right:5.5rem}}.case-card h2,.case-card h5{margin:0px;color:var(--text-color)}.case-card h2{font-size:1.25rem;line-height:2rem}@media (min-width: 1024px){.case-card h2{font-size:2.5rem;line-height:3.5rem}}.case-card h5{font-size:0.9375rem;line-height:1.5rem;font-weight:400}@media (min-width: 1024px){.case-card h5{font-size:1.25rem;line-height:2rem}}";
const wrCaseCss = ".atropos{position:relative;display:block;-webkit-perspective:1200px;perspective:1200px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.atropos-rotate-touch,.atropos-rotate-scroll-x,.atropos-rotate-scroll-y{-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.atropos-rotate-touch-scroll-y{-ms-touch-action:pan-y;touch-action:pan-y}.atropos-rotate-touch-scroll-x{-ms-touch-action:pan-x;touch-action:pan-x}.atropos-rotate-touch{-ms-touch-action:none;touch-action:none}.atropos-scale,.atropos-rotate{width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.atropos-shadow,.atropos-highlight{position:absolute;pointer-events:none;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;display:block;opacity:0}.atropos-shadow{z-index:-1;background:#000;left:0;top:0;width:100%;height:100%;-webkit-filter:blur(30px);filter:blur(30px)}.atropos-highlight{left:-50%;top:-50%;width:200%;height:200%;background-image:radial-gradient(circle at 50%, rgba(255, 255, 255, 0.25), transparent 50%);z-index:0}.atropos-rotate{position:relative}.atropos-inner{width:100%;height:100%;position:relative;overflow:hidden;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:block}.atropos-active{z-index:1}.atropos-active .atropos-shadow{opacity:1 !important}[data-atropos-offset]{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}[data-atropos-opacity]{-webkit-transition-property:opacity;transition-property:opacity}[data-atropos-offset][data-atropos-opacity]{-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform}:host{display:block;width:100%}.perspective-wrapper{-webkit-perspective:500px;perspective:500px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.case-card{-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);position:relative;width:100%;overflow:hidden}.case-card.mockup-front .case-card__accessory{z-index:0}.case-card__accessory,.case-card__mockup{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:1;margin:0px}.case-card__accessory img,.case-card__mockup img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;position:absolute;top:0px;right:0px;bottom:0px;left:0px}.case-card .background-image{position:relative;top:0px;right:0px;bottom:0px;left:0px;margin:0px}.case-card .background-image img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;border-radius:.25rem;display:block}.case-card .case-card__body{bottom:1rem;padding-top:1.25rem}@media (min-width: 375px){.case-card .case-card__body{bottom:1.75rem}}@media (min-width: 768px){.case-card .case-card__body{bottom:2.5rem}}.case-card .case-card__body{position:absolute;z-index:50;left:2.5rem;right:2.5rem}@media (min-width: 375px){.case-card .case-card__body{left:3.5rem;right:3.5rem}}@media (min-width: 768px){.case-card .case-card__body{left:5.5rem;right:5.5rem}}.case-card h2,.case-card h3{margin:0px;color:var(--text-color)}.case-card h2{font-size:1.25rem;line-height:2rem}@media (min-width: 1024px){.case-card h2{font-size:2.5rem;line-height:3.5rem}}.case-card h3{font-size:0.9375rem;line-height:1.5rem;font-weight:400}@media (min-width: 1024px){.case-card h3{font-size:1.25rem;line-height:2rem}}";

@@ -599,3 +599,3 @@ let WrCase = class {

render() {
return (index.h("a", { class: 'atropos', href: this.href, ref: el => this.atroposElement = el }, index.h("div", { class: 'atropos-scale' }, index.h("div", { class: 'atropos-rotate' }, index.h("div", { class: 'atropos-inner' }, index.h("article", { class: ['case-card'].join(' '), ref: el => this.card = el }, this.renderBackgroundImage(), this.renderBottomLayer(), this.renderTopLayer(), index.h("div", { class: 'case-card__body' }, index.h("h2", { "data-atropos-offset": 5 }, this.caseTitle), index.h("h5", { "data-atropos-offset": 5 }, this.caseSubtitle))))))));
return (index.h("a", { class: 'atropos', href: this.href, ref: el => this.atroposElement = el }, index.h("div", { class: 'atropos-scale' }, index.h("div", { class: 'atropos-rotate' }, index.h("div", { class: 'atropos-inner' }, index.h("article", { class: ['case-card'].join(' '), ref: el => this.card = el }, this.renderBackgroundImage(), this.renderBottomLayer(), this.renderTopLayer(), index.h("div", { class: 'case-card__body' }, index.h("h2", { "data-atropos-offset": 5 }, this.caseTitle), index.h("h3", { "data-atropos-offset": 5 }, this.caseSubtitle))))))));
}

@@ -602,0 +602,0 @@ renderTopLayer() {

@@ -31,3 +31,3 @@ import { Component, h, Prop } from '@stencil/core';

h("div", null,
h("h5", { class: 'author__name' }, this.authorName),
h("strong", { class: 'author__name' }, this.authorName),
h("span", { class: 'author__function' }, this.authorFunction))));

@@ -34,0 +34,0 @@ }

@@ -33,9 +33,9 @@ import { Component, Element, h, Prop } from '@stencil/core';

this.renderImage(),
h("a", { class: 'case-card__link', href: this.href, title: `Bekijk ${this.caseTitle}` }),
h("a", { class: 'case-card__link', href: this.href, "aria-label": `Bekijk ${this.caseTitle}` }),
h("footer", { class: 'case-card__footer' },
h("h3", { class: 'is-h6' }, this.caseTitle),
h("button", { class: 'case-card__button', name: `Bekijk ${this.caseTitle}` }, this.renderPlayArrow())))));
h("button", { class: 'case-card__button', "aria-label": `Bekijk ${this.caseTitle}` }, this.renderPlayArrow())))));
}
renderImage() {
return h("img", { class: 'case-card__background', loading: 'lazy', src: this.background, alt: '' });
return h("img", { class: 'case-card__background', loading: 'lazy', src: this.background, alt: '', srcset: this.backgroundSrcSet });
}

@@ -72,2 +72,19 @@ renderPlayArrow() {

},
"backgroundSrcSet": {
"type": "string",
"mutable": false,
"complexType": {
"original": "string",
"resolved": "string",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": ""
},
"attribute": "background-src-set",
"reflect": false
},
"backgroundX": {

@@ -74,0 +91,0 @@ "type": "string",

@@ -48,3 +48,3 @@ import { Component, h, Prop } from '@stencil/core';

h("h2", { "data-atropos-offset": 5 }, this.caseTitle),
h("h5", { "data-atropos-offset": 5 }, this.caseSubtitle))))))));
h("h3", { "data-atropos-offset": 5 }, this.caseSubtitle))))))));
}

@@ -51,0 +51,0 @@ renderTopLayer() {

@@ -1,1 +0,1 @@

import{p as promiseResolve,b as bootstrapLazy}from"./index-e41e20bc.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(o,e){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["wr-block-meta_5",[[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{once:[4],noTranslate:[4,"no-translate"],noFade:[4,"no-fade"],direction:[1],duration:[2]}]]],["wr-accordion",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1025],open:[32],closeMe:[64],openMe:[64],calculateSizes:[64]}]]],["wr-accordion-group",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["wr-case",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"],href:[1]}]]],["wr-case-highlight",[[1,"wr-case-highlight",{background:[1],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["wr-footer",[[1,"wr-footer"]]],["wr-logo",[[1,"wr-logo"]]],["wr-menu-item",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["wr-navigation",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],e)}))};export{defineCustomElements};
import{p as promiseResolve,b as bootstrapLazy}from"./index-e41e20bc.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(o,e){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["wr-block-meta_5",[[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{once:[4],noTranslate:[4,"no-translate"],noFade:[4,"no-fade"],direction:[1],duration:[2]}]]],["wr-accordion",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1025],open:[32],closeMe:[64],openMe:[64],calculateSizes:[64]}]]],["wr-accordion-group",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["wr-case",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"],href:[1]}]]],["wr-case-highlight",[[1,"wr-case-highlight",{background:[1],backgroundSrcSet:[1,"background-src-set"],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["wr-footer",[[1,"wr-footer"]]],["wr-logo",[[1,"wr-logo"]]],["wr-menu-item",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["wr-navigation",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],e)}))};export{defineCustomElements};

@@ -1,1 +0,1 @@

import{p as promiseResolve,b as bootstrapLazy}from"./index-e41e20bc.js";var patchBrowser=function(){var o=import.meta.url;var e={};if(o!==""){e.resourcesUrl=new URL(".",o).href}return promiseResolve(e)};patchBrowser().then((function(o){return bootstrapLazy([["wr-block-meta_5",[[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{once:[4],noTranslate:[4,"no-translate"],noFade:[4,"no-fade"],direction:[1],duration:[2]}]]],["wr-accordion",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1025],open:[32],closeMe:[64],openMe:[64],calculateSizes:[64]}]]],["wr-accordion-group",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["wr-case",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"],href:[1]}]]],["wr-case-highlight",[[1,"wr-case-highlight",{background:[1],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["wr-footer",[[1,"wr-footer"]]],["wr-logo",[[1,"wr-logo"]]],["wr-menu-item",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["wr-navigation",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],o)}));
import{p as promiseResolve,b as bootstrapLazy}from"./index-e41e20bc.js";var patchBrowser=function(){var o=import.meta.url;var e={};if(o!==""){e.resourcesUrl=new URL(".",o).href}return promiseResolve(e)};patchBrowser().then((function(o){return bootstrapLazy([["wr-block-meta_5",[[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{once:[4],noTranslate:[4,"no-translate"],noFade:[4,"no-fade"],direction:[1],duration:[2]}]]],["wr-accordion",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1025],open:[32],closeMe:[64],openMe:[64],calculateSizes:[64]}]]],["wr-accordion-group",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["wr-case",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"],href:[1]}]]],["wr-case-highlight",[[1,"wr-case-highlight",{background:[1],backgroundSrcSet:[1,"background-src-set"],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["wr-footer",[[1,"wr-footer"]]],["wr-logo",[[1,"wr-logo"]]],["wr-menu-item",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["wr-navigation",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],o)}));

@@ -58,2 +58,2 @@ import{r as registerInstance,h}from"./index-e41e20bc.js";var commonjsGlobal=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function createCommonjsModule(r,e,a){return a={path:e,exports:{},require:function(r,e){return commonjsRequire()}},r(a,a.exports),a.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var chroma=createCommonjsModule((function(r,e){

*/
(function(e,a){r.exports=a()})(commonjsGlobal,(function(){var r=function(r,e,a){if(e===void 0)e=0;if(a===void 0)a=1;return r<e?e:r>a?a:r};var e=function(e){e._clipped=false;e._unclipped=e.slice(0);for(var a=0;a<=3;a++){if(a<3){if(e[a]<0||e[a]>255){e._clipped=true}e[a]=r(e[a],0,255)}else if(a===3){e[a]=r(e[a],0,1)}}return e};var a={};for(var t=0,n=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];t<n.length;t+=1){var f=n[t];a["[object "+f+"]"]=f.toLowerCase()}var i=function(r){return a[Object.prototype.toString.call(r)]||"object"};var o=function(r,e){if(e===void 0)e=null;if(r.length>=3){return Array.prototype.slice.call(r)}if(i(r[0])=="object"&&e){return e.split("").filter((function(e){return r[0][e]!==undefined})).map((function(e){return r[0][e]}))}return r[0]};var u=function(r){if(r.length<2){return null}var e=r.length-1;if(i(r[e])=="string"){return r[e].toLowerCase()}return null};var v=Math.PI;var l={clip_rgb:e,limit:r,type:i,unpack:o,last:u,PI:v,TWOPI:v*2,PITHIRD:v/3,DEG2RAD:v/180,RAD2DEG:180/v};var c={format:{},autodetect:[]};var h=l.last;var s=l.clip_rgb;var d=l.type;var b=function r(){var e=[],a=arguments.length;while(a--)e[a]=arguments[a];var t=this;if(d(e[0])==="object"&&e[0].constructor&&e[0].constructor===this.constructor){return e[0]}var n=h(e);var f=false;if(!n){f=true;if(!c.sorted){c.autodetect=c.autodetect.sort((function(r,e){return e.p-r.p}));c.sorted=true}for(var i=0,o=c.autodetect;i<o.length;i+=1){var u=o[i];n=u.test.apply(u,e);if(n){break}}}if(c.format[n]){var v=c.format[n].apply(null,f?e:e.slice(0,-1));t._rgb=s(v)}else{throw new Error("unknown format: "+e)}if(t._rgb.length===3){t._rgb.push(1)}};b.prototype.toString=function r(){if(d(this.hex)=="function"){return this.hex()}return"["+this._rgb.join(",")+"]"};var p=b;var g=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(g.Color,[null].concat(r)))};g.Color=p;g.version="2.1.2";var m=g;var w=l.unpack;var y=Math.max;var k=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=w(r,"rgb");var t=a[0];var n=a[1];var f=a[2];t=t/255;n=n/255;f=f/255;var i=1-y(t,y(n,f));var o=i<1?1/(1-i):0;var u=(1-t-i)*o;var v=(1-n-i)*o;var l=(1-f-i)*o;return[u,v,l,i]};var _=k;var x=l.unpack;var M=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=x(r,"cmyk");var a=r[0];var t=r[1];var n=r[2];var f=r[3];var i=r.length>4?r[4]:1;if(f===1){return[0,0,0,i]}return[a>=1?0:255*(1-a)*(1-f),t>=1?0:255*(1-t)*(1-f),n>=1?0:255*(1-n)*(1-f),i]};var N=M;var q=l.unpack;var A=l.type;p.prototype.cmyk=function(){return _(this._rgb)};m.cmyk=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["cmyk"])))};c.format.cmyk=N;c.autodetect.push({p:2,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=q(r,"cmyk");if(A(r)==="array"&&r.length===4){return"cmyk"}}});var j=l.unpack;var E=l.last;var C=function(r){return Math.round(r*100)/100};var F=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=j(r,"hsla");var t=E(r)||"lsa";a[0]=C(a[0]||0);a[1]=C(a[1]*100)+"%";a[2]=C(a[2]*100)+"%";if(t==="hsla"||a.length>3&&a[3]<1){a[3]=a.length>3?a[3]:1;t="hsla"}else{a.length=3}return t+"("+a.join(",")+")"};var P=F;var G=l.unpack;var O=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=G(r,"rgba");var a=r[0];var t=r[1];var n=r[2];a/=255;t/=255;n/=255;var f=Math.min(a,t,n);var i=Math.max(a,t,n);var o=(i+f)/2;var u,v;if(i===f){u=0;v=Number.NaN}else{u=o<.5?(i-f)/(i+f):(i-f)/(2-i-f)}if(a==i){v=(t-n)/(i-f)}else if(t==i){v=2+(n-a)/(i-f)}else if(n==i){v=4+(a-t)/(i-f)}v*=60;if(v<0){v+=360}if(r.length>3&&r[3]!==undefined){return[v,u,o,r[3]]}return[v,u,o]};var B=O;var L=l.unpack;var R=l.last;var I=Math.round;var D=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=L(r,"rgba");var t=R(r)||"rgb";if(t.substr(0,3)=="hsl"){return P(B(a),t)}a[0]=I(a[0]);a[1]=I(a[1]);a[2]=I(a[2]);if(t==="rgba"||a.length>3&&a[3]<1){a[3]=a.length>3?a[3]:1;t="rgba"}return t+"("+a.slice(0,t==="rgb"?3:4).join(",")+")"};var z=D;var Y=l.unpack;var Q=Math.round;var S=function(){var r;var e=[],a=arguments.length;while(a--)e[a]=arguments[a];e=Y(e,"hsl");var t=e[0];var n=e[1];var f=e[2];var i,o,u;if(n===0){i=o=u=f*255}else{var v=[0,0,0];var l=[0,0,0];var c=f<.5?f*(1+n):f+n-f*n;var h=2*f-c;var s=t/360;v[0]=s+1/3;v[1]=s;v[2]=s-1/3;for(var d=0;d<3;d++){if(v[d]<0){v[d]+=1}if(v[d]>1){v[d]-=1}if(6*v[d]<1){l[d]=h+(c-h)*6*v[d]}else if(2*v[d]<1){l[d]=c}else if(3*v[d]<2){l[d]=h+(c-h)*(2/3-v[d])*6}else{l[d]=h}}r=[Q(l[0]*255),Q(l[1]*255),Q(l[2]*255)],i=r[0],o=r[1],u=r[2]}if(e.length>3){return[i,o,u,e[3]]}return[i,o,u,1]};var T=S;var V=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/;var X=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/;var $=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/;var W=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/;var Z=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/;var H=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/;var U=Math.round;var K=function(r){r=r.toLowerCase().trim();var e;if(c.format.named){try{return c.format.named(r)}catch(r){}}if(e=r.match(V)){var a=e.slice(1,4);for(var t=0;t<3;t++){a[t]=+a[t]}a[3]=1;return a}if(e=r.match(X)){var n=e.slice(1,5);for(var f=0;f<4;f++){n[f]=+n[f]}return n}if(e=r.match($)){var i=e.slice(1,4);for(var o=0;o<3;o++){i[o]=U(i[o]*2.55)}i[3]=1;return i}if(e=r.match(W)){var u=e.slice(1,5);for(var v=0;v<3;v++){u[v]=U(u[v]*2.55)}u[3]=+u[3];return u}if(e=r.match(Z)){var l=e.slice(1,4);l[1]*=.01;l[2]*=.01;var h=T(l);h[3]=1;return h}if(e=r.match(H)){var s=e.slice(1,4);s[1]*=.01;s[2]*=.01;var d=T(s);d[3]=+e[4];return d}};K.test=function(r){return V.test(r)||X.test(r)||$.test(r)||W.test(r)||Z.test(r)||H.test(r)};var J=K;var rr=l.type;p.prototype.css=function(r){return z(this._rgb,r)};m.css=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["css"])))};c.format.css=J;c.autodetect.push({p:5,test:function(r){var e=[],a=arguments.length-1;while(a-- >0)e[a]=arguments[a+1];if(!e.length&&rr(r)==="string"&&J.test(r)){return"css"}}});var er=l.unpack;c.format.gl=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=er(r,"rgba");a[0]*=255;a[1]*=255;a[2]*=255;return a};m.gl=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["gl"])))};p.prototype.gl=function(){var r=this._rgb;return[r[0]/255,r[1]/255,r[2]/255,r[3]]};var ar=l.unpack;var tr=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=ar(r,"rgb");var t=a[0];var n=a[1];var f=a[2];var i=Math.min(t,n,f);var o=Math.max(t,n,f);var u=o-i;var v=u*100/255;var l=i/(255-u)*100;var c;if(u===0){c=Number.NaN}else{if(t===o){c=(n-f)/u}if(n===o){c=2+(f-t)/u}if(f===o){c=4+(t-n)/u}c*=60;if(c<0){c+=360}}return[c,v,l]};var nr=tr;var fr=l.unpack;var ir=Math.floor;var or=function(){var r,e,a,t,n,f;var i=[],o=arguments.length;while(o--)i[o]=arguments[o];i=fr(i,"hcg");var u=i[0];var v=i[1];var l=i[2];var c,h,s;l=l*255;var d=v*255;if(v===0){c=h=s=l}else{if(u===360){u=0}if(u>360){u-=360}if(u<0){u+=360}u/=60;var b=ir(u);var p=u-b;var g=l*(1-v);var m=g+d*(1-p);var w=g+d*p;var y=g+d;switch(b){case 0:r=[y,w,g],c=r[0],h=r[1],s=r[2];break;case 1:e=[m,y,g],c=e[0],h=e[1],s=e[2];break;case 2:a=[g,y,w],c=a[0],h=a[1],s=a[2];break;case 3:t=[g,m,y],c=t[0],h=t[1],s=t[2];break;case 4:n=[w,g,y],c=n[0],h=n[1],s=n[2];break;case 5:f=[y,g,m],c=f[0],h=f[1],s=f[2];break}}return[c,h,s,i.length>3?i[3]:1]};var ur=or;var vr=l.unpack;var lr=l.type;p.prototype.hcg=function(){return nr(this._rgb)};m.hcg=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["hcg"])))};c.format.hcg=ur;c.autodetect.push({p:1,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=vr(r,"hcg");if(lr(r)==="array"&&r.length===3){return"hcg"}}});var cr=l.unpack;var hr=l.last;var sr=Math.round;var dr=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=cr(r,"rgba");var t=a[0];var n=a[1];var f=a[2];var i=a[3];var o=hr(r)||"auto";if(i===undefined){i=1}if(o==="auto"){o=i<1?"rgba":"rgb"}t=sr(t);n=sr(n);f=sr(f);var u=t<<16|n<<8|f;var v="000000"+u.toString(16);v=v.substr(v.length-6);var l="0"+sr(i*255).toString(16);l=l.substr(l.length-2);switch(o.toLowerCase()){case"rgba":return"#"+v+l;case"argb":return"#"+l+v;default:return"#"+v}};var br=dr;var pr=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/;var gr=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/;var mr=function(r){if(r.match(pr)){if(r.length===4||r.length===7){r=r.substr(1)}if(r.length===3){r=r.split("");r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]}var e=parseInt(r,16);var a=e>>16;var t=e>>8&255;var n=e&255;return[a,t,n,1]}if(r.match(gr)){if(r.length===5||r.length===9){r=r.substr(1)}if(r.length===4){r=r.split("");r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]}var f=parseInt(r,16);var i=f>>24&255;var o=f>>16&255;var u=f>>8&255;var v=Math.round((f&255)/255*100)/100;return[i,o,u,v]}throw new Error("unknown hex color: "+r)};var wr=mr;var yr=l.type;p.prototype.hex=function(r){return br(this._rgb,r)};m.hex=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["hex"])))};c.format.hex=wr;c.autodetect.push({p:4,test:function(r){var e=[],a=arguments.length-1;while(a-- >0)e[a]=arguments[a+1];if(!e.length&&yr(r)==="string"&&[3,4,5,6,7,8,9].indexOf(r.length)>=0){return"hex"}}});var kr=l.unpack;var _r=l.TWOPI;var xr=Math.min;var Mr=Math.sqrt;var Nr=Math.acos;var qr=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=kr(r,"rgb");var t=a[0];var n=a[1];var f=a[2];t/=255;n/=255;f/=255;var i;var o=xr(t,n,f);var u=(t+n+f)/3;var v=u>0?1-o/u:0;if(v===0){i=NaN}else{i=(t-n+(t-f))/2;i/=Mr((t-n)*(t-n)+(t-f)*(n-f));i=Nr(i);if(f>n){i=_r-i}i/=_r}return[i*360,v,u]};var Ar=qr;var jr=l.unpack;var Er=l.limit;var Cr=l.TWOPI;var Fr=l.PITHIRD;var Pr=Math.cos;var Gr=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=jr(r,"hsi");var a=r[0];var t=r[1];var n=r[2];var f,i,o;if(isNaN(a)){a=0}if(isNaN(t)){t=0}if(a>360){a-=360}if(a<0){a+=360}a/=360;if(a<1/3){o=(1-t)/3;f=(1+t*Pr(Cr*a)/Pr(Fr-Cr*a))/3;i=1-(o+f)}else if(a<2/3){a-=1/3;f=(1-t)/3;i=(1+t*Pr(Cr*a)/Pr(Fr-Cr*a))/3;o=1-(f+i)}else{a-=2/3;i=(1-t)/3;o=(1+t*Pr(Cr*a)/Pr(Fr-Cr*a))/3;f=1-(i+o)}f=Er(n*f*3);i=Er(n*i*3);o=Er(n*o*3);return[f*255,i*255,o*255,r.length>3?r[3]:1]};var Or=Gr;var Br=l.unpack;var Lr=l.type;p.prototype.hsi=function(){return Ar(this._rgb)};m.hsi=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["hsi"])))};c.format.hsi=Or;c.autodetect.push({p:2,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=Br(r,"hsi");if(Lr(r)==="array"&&r.length===3){return"hsi"}}});var Rr=l.unpack;var Ir=l.type;p.prototype.hsl=function(){return B(this._rgb)};m.hsl=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["hsl"])))};c.format.hsl=T;c.autodetect.push({p:2,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=Rr(r,"hsl");if(Ir(r)==="array"&&r.length===3){return"hsl"}}});var Dr=l.unpack;var zr=Math.min;var Yr=Math.max;var Qr=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=Dr(r,"rgb");var a=r[0];var t=r[1];var n=r[2];var f=zr(a,t,n);var i=Yr(a,t,n);var o=i-f;var u,v,l;l=i/255;if(i===0){u=Number.NaN;v=0}else{v=o/i;if(a===i){u=(t-n)/o}if(t===i){u=2+(n-a)/o}if(n===i){u=4+(a-t)/o}u*=60;if(u<0){u+=360}}return[u,v,l]};var Sr=Qr;var Tr=l.unpack;var Vr=Math.floor;var Xr=function(){var r,e,a,t,n,f;var i=[],o=arguments.length;while(o--)i[o]=arguments[o];i=Tr(i,"hsv");var u=i[0];var v=i[1];var l=i[2];var c,h,s;l*=255;if(v===0){c=h=s=l}else{if(u===360){u=0}if(u>360){u-=360}if(u<0){u+=360}u/=60;var d=Vr(u);var b=u-d;var p=l*(1-v);var g=l*(1-v*b);var m=l*(1-v*(1-b));switch(d){case 0:r=[l,m,p],c=r[0],h=r[1],s=r[2];break;case 1:e=[g,l,p],c=e[0],h=e[1],s=e[2];break;case 2:a=[p,l,m],c=a[0],h=a[1],s=a[2];break;case 3:t=[p,g,l],c=t[0],h=t[1],s=t[2];break;case 4:n=[m,p,l],c=n[0],h=n[1],s=n[2];break;case 5:f=[l,p,g],c=f[0],h=f[1],s=f[2];break}}return[c,h,s,i.length>3?i[3]:1]};var $r=Xr;var Wr=l.unpack;var Zr=l.type;p.prototype.hsv=function(){return Sr(this._rgb)};m.hsv=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["hsv"])))};c.format.hsv=$r;c.autodetect.push({p:2,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=Wr(r,"hsv");if(Zr(r)==="array"&&r.length===3){return"hsv"}}});var Hr={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452};var Ur=l.unpack;var Kr=Math.pow;var Jr=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=Ur(r,"rgb");var t=a[0];var n=a[1];var f=a[2];var i=ae(t,n,f);var o=i[0];var u=i[1];var v=i[2];var l=116*u-16;return[l<0?0:l,500*(o-u),200*(u-v)]};var re=function(r){if((r/=255)<=.04045){return r/12.92}return Kr((r+.055)/1.055,2.4)};var ee=function(r){if(r>Hr.t3){return Kr(r,1/3)}return r/Hr.t2+Hr.t0};var ae=function(r,e,a){r=re(r);e=re(e);a=re(a);var t=ee((.4124564*r+.3575761*e+.1804375*a)/Hr.Xn);var n=ee((.2126729*r+.7151522*e+.072175*a)/Hr.Yn);var f=ee((.0193339*r+.119192*e+.9503041*a)/Hr.Zn);return[t,n,f]};var te=Jr;var ne=l.unpack;var fe=Math.pow;var ie=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=ne(r,"lab");var a=r[0];var t=r[1];var n=r[2];var f,i,o,u,v,l;i=(a+16)/116;f=isNaN(t)?i:i+t/500;o=isNaN(n)?i:i-n/200;i=Hr.Yn*ue(i);f=Hr.Xn*ue(f);o=Hr.Zn*ue(o);u=oe(3.2404542*f-1.5371385*i-.4985314*o);v=oe(-.969266*f+1.8760108*i+.041556*o);l=oe(.0556434*f-.2040259*i+1.0572252*o);return[u,v,l,r.length>3?r[3]:1]};var oe=function(r){return 255*(r<=.00304?12.92*r:1.055*fe(r,1/2.4)-.055)};var ue=function(r){return r>Hr.t1?r*r*r:Hr.t2*(r-Hr.t0)};var ve=ie;var le=l.unpack;var ce=l.type;p.prototype.lab=function(){return te(this._rgb)};m.lab=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["lab"])))};c.format.lab=ve;c.autodetect.push({p:2,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=le(r,"lab");if(ce(r)==="array"&&r.length===3){return"lab"}}});var he=l.unpack;var se=l.RAD2DEG;var de=Math.sqrt;var be=Math.atan2;var pe=Math.round;var ge=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=he(r,"lab");var t=a[0];var n=a[1];var f=a[2];var i=de(n*n+f*f);var o=(be(f,n)*se+360)%360;if(pe(i*1e4)===0){o=Number.NaN}return[t,i,o]};var me=ge;var we=l.unpack;var ye=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=we(r,"rgb");var t=a[0];var n=a[1];var f=a[2];var i=te(t,n,f);var o=i[0];var u=i[1];var v=i[2];return me(o,u,v)};var ke=ye;var _e=l.unpack;var xe=l.DEG2RAD;var Me=Math.sin;var Ne=Math.cos;var qe=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=_e(r,"lch");var t=a[0];var n=a[1];var f=a[2];if(isNaN(f)){f=0}f=f*xe;return[t,Ne(f)*n,Me(f)*n]};var Ae=qe;var je=l.unpack;var Ee=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=je(r,"lch");var a=r[0];var t=r[1];var n=r[2];var f=Ae(a,t,n);var i=f[0];var o=f[1];var u=f[2];var v=ve(i,o,u);var l=v[0];var c=v[1];var h=v[2];return[l,c,h,r.length>3?r[3]:1]};var Ce=Ee;var Fe=l.unpack;var Pe=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=Fe(r,"hcl").reverse();return Ce.apply(void 0,a)};var Ge=Pe;var Oe=l.unpack;var Be=l.type;p.prototype.lch=function(){return ke(this._rgb)};p.prototype.hcl=function(){return ke(this._rgb).reverse()};m.lch=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["lch"])))};m.hcl=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["hcl"])))};c.format.lch=Ce;c.format.hcl=Ge;["lch","hcl"].forEach((function(r){return c.autodetect.push({p:2,test:function(){var e=[],a=arguments.length;while(a--)e[a]=arguments[a];e=Oe(e,r);if(Be(e)==="array"&&e.length===3){return r}}})}));var Le={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var Re=Le;var Ie=l.type;p.prototype.name=function(){var r=br(this._rgb,"rgb");for(var e=0,a=Object.keys(Re);e<a.length;e+=1){var t=a[e];if(Re[t]===r){return t.toLowerCase()}}return r};c.format.named=function(r){r=r.toLowerCase();if(Re[r]){return wr(Re[r])}throw new Error("unknown color name: "+r)};c.autodetect.push({p:5,test:function(r){var e=[],a=arguments.length-1;while(a-- >0)e[a]=arguments[a+1];if(!e.length&&Ie(r)==="string"&&Re[r.toLowerCase()]){return"named"}}});var De=l.unpack;var ze=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=De(r,"rgb");var t=a[0];var n=a[1];var f=a[2];return(t<<16)+(n<<8)+f};var Ye=ze;var Qe=l.type;var Se=function(r){if(Qe(r)=="number"&&r>=0&&r<=16777215){var e=r>>16;var a=r>>8&255;var t=r&255;return[e,a,t,1]}throw new Error("unknown num color: "+r)};var Te=Se;var Ve=l.type;p.prototype.num=function(){return Ye(this._rgb)};m.num=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["num"])))};c.format.num=Te;c.autodetect.push({p:5,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];if(r.length===1&&Ve(r[0])==="number"&&r[0]>=0&&r[0]<=16777215){return"num"}}});var Xe=l.unpack;var $e=l.type;var We=Math.round;p.prototype.rgb=function(r){if(r===void 0)r=true;if(r===false){return this._rgb.slice(0,3)}return this._rgb.slice(0,3).map(We)};p.prototype.rgba=function(r){if(r===void 0)r=true;return this._rgb.slice(0,4).map((function(e,a){return a<3?r===false?e:We(e):e}))};m.rgb=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["rgb"])))};c.format.rgb=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=Xe(r,"rgba");if(a[3]===undefined){a[3]=1}return a};c.autodetect.push({p:3,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=Xe(r,"rgba");if($e(r)==="array"&&(r.length===3||r.length===4&&$e(r[3])=="number"&&r[3]>=0&&r[3]<=1)){return"rgb"}}});var Ze=Math.log;var He=function(r){var e=r/100;var a,t,n;if(e<66){a=255;t=-155.25485562709179-.44596950469579133*(t=e-2)+104.49216199393888*Ze(t);n=e<20?0:-254.76935184120902+.8274096064007395*(n=e-10)+115.67994401066147*Ze(n)}else{a=351.97690566805693+.114206453784165*(a=e-55)-40.25366309332127*Ze(a);t=325.4494125711974+.07943456536662342*(t=e-50)-28.0852963507957*Ze(t);n=255}return[a,t,n,1]};var Ue=He;var Ke=l.unpack;var Je=Math.round;var ra=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=Ke(r,"rgb");var t=a[0],n=a[2];var f=1e3;var i=4e4;var o=.4;var u;while(i-f>o){u=(i+f)*.5;var v=Ue(u);if(v[2]/v[0]>=n/t){i=u}else{f=u}}return Je(u)};var ea=ra;p.prototype.temp=p.prototype.kelvin=p.prototype.temperature=function(){return ea(this._rgb)};m.temp=m.kelvin=m.temperature=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["temp"])))};c.format.temp=c.format.kelvin=c.format.temperature=Ue;var aa=l.type;p.prototype.alpha=function(r,e){if(e===void 0)e=false;if(r!==undefined&&aa(r)==="number"){if(e){this._rgb[3]=r;return this}return new p([this._rgb[0],this._rgb[1],this._rgb[2],r],"rgb")}return this._rgb[3]};p.prototype.clipped=function(){return this._rgb._clipped||false};p.prototype.darken=function(r){if(r===void 0)r=1;var e=this;var a=e.lab();a[0]-=Hr.Kn*r;return new p(a,"lab").alpha(e.alpha(),true)};p.prototype.brighten=function(r){if(r===void 0)r=1;return this.darken(-r)};p.prototype.darker=p.prototype.darken;p.prototype.brighter=p.prototype.brighten;p.prototype.get=function(r){var e=r.split(".");var a=e[0];var t=e[1];var n=this[a]();if(t){var f=a.indexOf(t);if(f>-1){return n[f]}throw new Error("unknown channel "+t+" in mode "+a)}else{return n}};var ta=l.type;var na=Math.pow;var fa=1e-7;var ia=20;p.prototype.luminance=function(r){if(r!==undefined&&ta(r)==="number"){if(r===0){return new p([0,0,0,this._rgb[3]],"rgb")}if(r===1){return new p([255,255,255,this._rgb[3]],"rgb")}var e=this.luminance();var a="rgb";var t=ia;var n=function(e,f){var i=e.interpolate(f,.5,a);var o=i.luminance();if(Math.abs(r-o)<fa||!t--){return i}return o>r?n(e,i):n(i,f)};var f=(e>r?n(new p([0,0,0]),this):n(this,new p([255,255,255]))).rgb();return new p(f.concat([this._rgb[3]]))}return oa.apply(void 0,this._rgb.slice(0,3))};var oa=function(r,e,a){r=ua(r);e=ua(e);a=ua(a);return.2126*r+.7152*e+.0722*a};var ua=function(r){r/=255;return r<=.03928?r/12.92:na((r+.055)/1.055,2.4)};var va={};var la=l.type;var ca=function(r,e,a){if(a===void 0)a=.5;var t=[],n=arguments.length-3;while(n-- >0)t[n]=arguments[n+3];var f=t[0]||"lrgb";if(!va[f]&&!t.length){f=Object.keys(va)[0]}if(!va[f]){throw new Error("interpolation mode "+f+" is not defined")}if(la(r)!=="object"){r=new p(r)}if(la(e)!=="object"){e=new p(e)}return va[f](r,e,a).alpha(r.alpha()+a*(e.alpha()-r.alpha()))};p.prototype.mix=p.prototype.interpolate=function(r,e){if(e===void 0)e=.5;var a=[],t=arguments.length-2;while(t-- >0)a[t]=arguments[t+2];return ca.apply(void 0,[this,r,e].concat(a))};p.prototype.premultiply=function(r){if(r===void 0)r=false;var e=this._rgb;var a=e[3];if(r){this._rgb=[e[0]*a,e[1]*a,e[2]*a,a];return this}else{return new p([e[0]*a,e[1]*a,e[2]*a,a],"rgb")}};p.prototype.saturate=function(r){if(r===void 0)r=1;var e=this;var a=e.lch();a[1]+=Hr.Kn*r;if(a[1]<0){a[1]=0}return new p(a,"lch").alpha(e.alpha(),true)};p.prototype.desaturate=function(r){if(r===void 0)r=1;return this.saturate(-r)};var ha=l.type;p.prototype.set=function(r,e,a){if(a===void 0)a=false;var t=r.split(".");var n=t[0];var f=t[1];var i=this[n]();if(f){var o=n.indexOf(f);if(o>-1){if(ha(e)=="string"){switch(e.charAt(0)){case"+":i[o]+=+e;break;case"-":i[o]+=+e;break;case"*":i[o]*=+e.substr(1);break;case"/":i[o]/=+e.substr(1);break;default:i[o]=+e}}else if(ha(e)==="number"){i[o]=e}else{throw new Error("unsupported value for Color.set")}var u=new p(i,n);if(a){this._rgb=u._rgb;return this}return u}throw new Error("unknown channel "+f+" in mode "+n)}else{return i}};var sa=function(r,e,a){var t=r._rgb;var n=e._rgb;return new p(t[0]+a*(n[0]-t[0]),t[1]+a*(n[1]-t[1]),t[2]+a*(n[2]-t[2]),"rgb")};va.rgb=sa;var da=Math.sqrt;var ba=Math.pow;var pa=function(r,e,a){var t=r._rgb;var n=t[0];var f=t[1];var i=t[2];var o=e._rgb;var u=o[0];var v=o[1];var l=o[2];return new p(da(ba(n,2)*(1-a)+ba(u,2)*a),da(ba(f,2)*(1-a)+ba(v,2)*a),da(ba(i,2)*(1-a)+ba(l,2)*a),"rgb")};va.lrgb=pa;var ga=function(r,e,a){var t=r.lab();var n=e.lab();return new p(t[0]+a*(n[0]-t[0]),t[1]+a*(n[1]-t[1]),t[2]+a*(n[2]-t[2]),"lab")};va.lab=ga;var ma=function(r,e,a,t){var n,f;var i,o;if(t==="hsl"){i=r.hsl();o=e.hsl()}else if(t==="hsv"){i=r.hsv();o=e.hsv()}else if(t==="hcg"){i=r.hcg();o=e.hcg()}else if(t==="hsi"){i=r.hsi();o=e.hsi()}else if(t==="lch"||t==="hcl"){t="hcl";i=r.hcl();o=e.hcl()}var u,v,l,c,h,s;if(t.substr(0,1)==="h"){n=i,u=n[0],l=n[1],h=n[2];f=o,v=f[0],c=f[1],s=f[2]}var d,b,g,m;if(!isNaN(u)&&!isNaN(v)){if(v>u&&v-u>180){m=v-(u+360)}else if(v<u&&u-v>180){m=v+360-u}else{m=v-u}b=u+a*m}else if(!isNaN(u)){b=u;if((s==1||s==0)&&t!="hsv"){d=l}}else if(!isNaN(v)){b=v;if((h==1||h==0)&&t!="hsv"){d=c}}else{b=Number.NaN}if(d===undefined){d=l+a*(c-l)}g=h+a*(s-h);return new p([b,d,g],t)};var wa=function(r,e,a){return ma(r,e,a,"lch")};va.lch=wa;va.hcl=wa;var ya=function(r,e,a){var t=r.num();var n=e.num();return new p(t+a*(n-t),"num")};va.num=ya;var ka=function(r,e,a){return ma(r,e,a,"hcg")};va.hcg=ka;var _a=function(r,e,a){return ma(r,e,a,"hsi")};va.hsi=_a;var xa=function(r,e,a){return ma(r,e,a,"hsl")};va.hsl=xa;var Ma=function(r,e,a){return ma(r,e,a,"hsv")};va.hsv=Ma;var Na=l.clip_rgb;var qa=Math.pow;var Aa=Math.sqrt;var ja=Math.PI;var Ea=Math.cos;var Ca=Math.sin;var Fa=Math.atan2;var Pa=function(r,e,a){if(e===void 0)e="lrgb";if(a===void 0)a=null;var t=r.length;if(!a){a=Array.from(new Array(t)).map((function(){return 1}))}var n=t/a.reduce((function(r,e){return r+e}));a.forEach((function(r,e){a[e]*=n}));r=r.map((function(r){return new p(r)}));if(e==="lrgb"){return Ga(r,a)}var f=r.shift();var i=f.get(e);var o=[];var u=0;var v=0;for(var l=0;l<i.length;l++){i[l]=(i[l]||0)*a[0];o.push(isNaN(i[l])?0:a[0]);if(e.charAt(l)==="h"&&!isNaN(i[l])){var c=i[l]/180*ja;u+=Ea(c)*a[0];v+=Ca(c)*a[0]}}var h=f.alpha()*a[0];r.forEach((function(r,t){var n=r.get(e);h+=r.alpha()*a[t+1];for(var f=0;f<i.length;f++){if(!isNaN(n[f])){o[f]+=a[t+1];if(e.charAt(f)==="h"){var l=n[f]/180*ja;u+=Ea(l)*a[t+1];v+=Ca(l)*a[t+1]}else{i[f]+=n[f]*a[t+1]}}}}));for(var s=0;s<i.length;s++){if(e.charAt(s)==="h"){var d=Fa(v/o[s],u/o[s])/ja*180;while(d<0){d+=360}while(d>=360){d-=360}i[s]=d}else{i[s]=i[s]/o[s]}}h/=t;return new p(i,e).alpha(h>.99999?1:h,true)};var Ga=function(r,e){var a=r.length;var t=[0,0,0,0];for(var n=0;n<r.length;n++){var f=r[n];var i=e[n]/a;var o=f._rgb;t[0]+=qa(o[0],2)*i;t[1]+=qa(o[1],2)*i;t[2]+=qa(o[2],2)*i;t[3]+=o[3]*i}t[0]=Aa(t[0]);t[1]=Aa(t[1]);t[2]=Aa(t[2]);if(t[3]>.9999999){t[3]=1}return new p(Na(t))};var Oa=l.type;var Ba=Math.pow;var La=function(r){var e="rgb";var a=m("#ccc");var t=0;var n=[0,1];var f=[];var i=[0,0];var o=false;var u=[];var v=false;var l=0;var c=1;var h=false;var s={};var d=true;var b=1;var p=function(r){r=r||["#fff","#000"];if(r&&Oa(r)==="string"&&m.brewer&&m.brewer[r.toLowerCase()]){r=m.brewer[r.toLowerCase()]}if(Oa(r)==="array"){if(r.length===1){r=[r[0],r[0]]}r=r.slice(0);for(var e=0;e<r.length;e++){r[e]=m(r[e])}f.length=0;for(var a=0;a<r.length;a++){f.push(a/(r.length-1))}}_();return u=r};var g=function(r){if(o!=null){var e=o.length-1;var a=0;while(a<e&&r>=o[a]){a++}return a-1}return 0};var w=function(r){return r};var y=function(r){return r};var k=function(r,t){var n,v;if(t==null){t=false}if(isNaN(r)||r===null){return a}if(!t){if(o&&o.length>2){var h=g(r);v=h/(o.length-2)}else if(c!==l){v=(r-l)/(c-l)}else{v=1}}else{v=r}v=y(v);if(!t){v=w(v)}if(b!==1){v=Ba(v,b)}v=i[0]+v*(1-i[0]-i[1]);v=Math.min(1,Math.max(0,v));var p=Math.floor(v*1e4);if(d&&s[p]){n=s[p]}else{if(Oa(u)==="array"){for(var k=0;k<f.length;k++){var _=f[k];if(v<=_){n=u[k];break}if(v>=_&&k===f.length-1){n=u[k];break}if(v>_&&v<f[k+1]){v=(v-_)/(f[k+1]-_);n=m.interpolate(u[k],u[k+1],v,e);break}}}else if(Oa(u)==="function"){n=u(v)}if(d){s[p]=n}}return n};var _=function(){return s={}};p(r);var x=function(r){var e=m(k(r));if(v&&e[v]){return e[v]()}else{return e}};x.classes=function(r){if(r!=null){if(Oa(r)==="array"){o=r;n=[r[0],r[r.length-1]]}else{var e=m.analyze(n);if(r===0){o=[e.min,e.max]}else{o=m.limits(e,"e",r)}}return x}return o};x.domain=function(r){if(!arguments.length){return n}l=r[0];c=r[r.length-1];f=[];var e=u.length;if(r.length===e&&l!==c){for(var a=0,t=Array.from(r);a<t.length;a+=1){var i=t[a];f.push((i-l)/(c-l))}}else{for(var o=0;o<e;o++){f.push(o/(e-1))}if(r.length>2){var v=r.map((function(e,a){return a/(r.length-1)}));var h=r.map((function(r){return(r-l)/(c-l)}));if(!h.every((function(r,e){return v[e]===r}))){y=function(r){if(r<=0||r>=1){return r}var e=0;while(r>=h[e+1]){e++}var a=(r-h[e])/(h[e+1]-h[e]);var t=v[e]+a*(v[e+1]-v[e]);return t}}}}n=[l,c];return x};x.mode=function(r){if(!arguments.length){return e}e=r;_();return x};x.range=function(r,e){p(r);return x};x.out=function(r){v=r;return x};x.spread=function(r){if(!arguments.length){return t}t=r;return x};x.correctLightness=function(r){if(r==null){r=true}h=r;_();if(h){w=function(r){var e=k(0,true).lab()[0];var a=k(1,true).lab()[0];var t=e>a;var n=k(r,true).lab()[0];var f=e+(a-e)*r;var i=n-f;var o=0;var u=1;var v=20;while(Math.abs(i)>.01&&v-- >0){(function(){if(t){i*=-1}if(i<0){o=r;r+=(u-r)*.5}else{u=r;r+=(o-r)*.5}n=k(r,true).lab()[0];return i=n-f})()}return r}}else{w=function(r){return r}}return x};x.padding=function(r){if(r!=null){if(Oa(r)==="number"){r=[r,r]}i=r;return x}else{return i}};x.colors=function(e,a){if(arguments.length<2){a="hex"}var t=[];if(arguments.length===0){t=u.slice(0)}else if(e===1){t=[x(.5)]}else if(e>1){var f=n[0];var i=n[1]-f;t=Ra(0,e,false).map((function(r){return x(f+r/(e-1)*i)}))}else{r=[];var v=[];if(o&&o.length>2){for(var l=1,c=o.length,h=1<=c;h?l<c:l>c;h?l++:l--){v.push((o[l-1]+o[l])*.5)}}else{v=n}t=v.map((function(r){return x(r)}))}if(m[a]){t=t.map((function(r){return r[a]()}))}return t};x.cache=function(r){if(r!=null){d=r;return x}else{return d}};x.gamma=function(r){if(r!=null){b=r;return x}else{return b}};x.nodata=function(r){if(r!=null){a=m(r);return x}else{return a}};return x};function Ra(r,e,a){var t=[];var n=r<e;var f=!a?e:n?e+1:e-1;for(var i=r;n?i<f:i>f;n?i++:i--){t.push(i)}return t}var Ia=function(r){var e,a,t;var n,f,i,o;r=r.map((function(r){return new p(r)}));if(r.length===2){e=r.map((function(r){return r.lab()})),f=e[0],i=e[1];n=function(r){var e=[0,1,2].map((function(e){return f[e]+r*(i[e]-f[e])}));return new p(e,"lab")}}else if(r.length===3){a=r.map((function(r){return r.lab()})),f=a[0],i=a[1],o=a[2];n=function(r){var e=[0,1,2].map((function(e){return(1-r)*(1-r)*f[e]+2*(1-r)*r*i[e]+r*r*o[e]}));return new p(e,"lab")}}else if(r.length===4){var u;t=r.map((function(r){return r.lab()})),f=t[0],i=t[1],o=t[2],u=t[3];n=function(r){var e=[0,1,2].map((function(e){return(1-r)*(1-r)*(1-r)*f[e]+3*(1-r)*(1-r)*r*i[e]+3*(1-r)*r*r*o[e]+r*r*r*u[e]}));return new p(e,"lab")}}else if(r.length===5){var v=Ia(r.slice(0,3));var l=Ia(r.slice(2,5));n=function(r){if(r<.5){return v(r*2)}else{return l((r-.5)*2)}}}return n};var Da=function(r){var e=Ia(r);e.scale=function(){return La(e)};return e};var za=function(r,e,a){if(!za[a]){throw new Error("unknown blend mode "+a)}return za[a](r,e)};var Ya=function(r){return function(e,a){var t=m(a).rgb();var n=m(e).rgb();return m.rgb(r(t,n))}};var Qa=function(r){return function(e,a){var t=[];t[0]=r(e[0],a[0]);t[1]=r(e[1],a[1]);t[2]=r(e[2],a[2]);return t}};var Sa=function(r){return r};var Ta=function(r,e){return r*e/255};var Va=function(r,e){return r>e?e:r};var Xa=function(r,e){return r>e?r:e};var $a=function(r,e){return 255*(1-(1-r/255)*(1-e/255))};var Wa=function(r,e){return e<128?2*r*e/255:255*(1-2*(1-r/255)*(1-e/255))};var Za=function(r,e){return 255*(1-(1-e/255)/(r/255))};var Ha=function(r,e){if(r===255){return 255}r=255*(e/255)/(1-r/255);return r>255?255:r};za.normal=Ya(Qa(Sa));za.multiply=Ya(Qa(Ta));za.screen=Ya(Qa($a));za.overlay=Ya(Qa(Wa));za.darken=Ya(Qa(Va));za.lighten=Ya(Qa(Xa));za.dodge=Ya(Qa(Ha));za.burn=Ya(Qa(Za));var Ua=za;var Ka=l.type;var Ja=l.clip_rgb;var rt=l.TWOPI;var et=Math.pow;var at=Math.sin;var tt=Math.cos;var nt=function(r,e,a,t,n){if(r===void 0)r=300;if(e===void 0)e=-1.5;if(a===void 0)a=1;if(t===void 0)t=1;if(n===void 0)n=[0,1];var f=0,i;if(Ka(n)==="array"){i=n[1]-n[0]}else{i=0;n=[n,n]}var o=function(o){var u=rt*((r+120)/360+e*o);var v=et(n[0]+i*o,t);var l=f!==0?a[0]+o*f:a;var c=l*v*(1-v)/2;var h=tt(u);var s=at(u);var d=v+c*(-.14861*h+1.78277*s);var b=v+c*(-.29227*h-.90649*s);var p=v+c*(+1.97294*h);return m(Ja([d*255,b*255,p*255,1]))};o.start=function(e){if(e==null){return r}r=e;return o};o.rotations=function(r){if(r==null){return e}e=r;return o};o.gamma=function(r){if(r==null){return t}t=r;return o};o.hue=function(r){if(r==null){return a}a=r;if(Ka(a)==="array"){f=a[1]-a[0];if(f===0){a=a[1]}}else{f=0}return o};o.lightness=function(r){if(r==null){return n}if(Ka(r)==="array"){n=r;i=r[1]-r[0]}else{n=[r,r];i=0}return o};o.scale=function(){return m.scale(o)};o.hue(a);return o};var ft="0123456789abcdef";var it=Math.floor;var ot=Math.random;var ut=function(){var r="#";for(var e=0;e<6;e++){r+=ft.charAt(it(ot()*16))}return new p(r,"hex")};var vt=Math.log;var lt=Math.pow;var ct=Math.floor;var ht=Math.abs;var st=function(r,e){if(e===void 0)e=null;var a={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0};if(i(r)==="object"){r=Object.values(r)}r.forEach((function(r){if(e&&i(r)==="object"){r=r[e]}if(r!==undefined&&r!==null&&!isNaN(r)){a.values.push(r);a.sum+=r;if(r<a.min){a.min=r}if(r>a.max){a.max=r}a.count+=1}}));a.domain=[a.min,a.max];a.limits=function(r,e){return dt(a,r,e)};return a};var dt=function(r,e,a){if(e===void 0)e="equal";if(a===void 0)a=7;if(i(r)=="array"){r=st(r)}var t=r.min;var n=r.max;var f=r.values.sort((function(r,e){return r-e}));if(a===1){return[t,n]}var o=[];if(e.substr(0,1)==="c"){o.push(t);o.push(n)}if(e.substr(0,1)==="e"){o.push(t);for(var u=1;u<a;u++){o.push(t+u/a*(n-t))}o.push(n)}else if(e.substr(0,1)==="l"){if(t<=0){throw new Error("Logarithmic scales are only possible for values > 0")}var v=Math.LOG10E*vt(t);var l=Math.LOG10E*vt(n);o.push(t);for(var c=1;c<a;c++){o.push(lt(10,v+c/a*(l-v)))}o.push(n)}else if(e.substr(0,1)==="q"){o.push(t);for(var h=1;h<a;h++){var s=(f.length-1)*h/a;var d=ct(s);if(d===s){o.push(f[d])}else{var b=s-d;o.push(f[d]*(1-b)+f[d+1]*b)}}o.push(n)}else if(e.substr(0,1)==="k"){var p;var g=f.length;var m=new Array(g);var w=new Array(a);var y=true;var k=0;var _=null;_=[];_.push(t);for(var x=1;x<a;x++){_.push(t+x/a*(n-t))}_.push(n);while(y){for(var M=0;M<a;M++){w[M]=0}for(var N=0;N<g;N++){var q=f[N];var A=Number.MAX_VALUE;var j=void 0;for(var E=0;E<a;E++){var C=ht(_[E]-q);if(C<A){A=C;j=E}w[j]++;m[N]=j}}var F=new Array(a);for(var P=0;P<a;P++){F[P]=null}for(var G=0;G<g;G++){p=m[G];if(F[p]===null){F[p]=f[G]}else{F[p]+=f[G]}}for(var O=0;O<a;O++){F[O]*=1/w[O]}y=false;for(var B=0;B<a;B++){if(F[B]!==_[B]){y=true;break}}_=F;k++;if(k>200){y=false}}var L={};for(var R=0;R<a;R++){L[R]=[]}for(var I=0;I<g;I++){p=m[I];L[p].push(f[I])}var D=[];for(var z=0;z<a;z++){D.push(L[z][0]);D.push(L[z][L[z].length-1])}D=D.sort((function(r,e){return r-e}));o.push(D[0]);for(var Y=1;Y<D.length;Y+=2){var Q=D[Y];if(!isNaN(Q)&&o.indexOf(Q)===-1){o.push(Q)}}}return o};var bt={analyze:st,limits:dt};var pt=function(r,e){r=new p(r);e=new p(e);var a=r.luminance();var t=e.luminance();return a>t?(a+.05)/(t+.05):(t+.05)/(a+.05)};var gt=Math.sqrt;var mt=Math.atan2;var wt=Math.abs;var yt=Math.cos;var kt=Math.PI;var _t=function(r,e,a,t){if(a===void 0)a=1;if(t===void 0)t=1;r=new p(r);e=new p(e);var n=Array.from(r.lab());var f=n[0];var i=n[1];var o=n[2];var u=Array.from(e.lab());var v=u[0];var l=u[1];var c=u[2];var h=gt(i*i+o*o);var s=gt(l*l+c*c);var d=f<16?.511:.040975*f/(1+.01765*f);var b=.0638*h/(1+.0131*h)+.638;var g=h<1e-6?0:mt(o,i)*180/kt;while(g<0){g+=360}while(g>=360){g-=360}var m=g>=164&&g<=345?.56+wt(.2*yt(kt*(g+168)/180)):.36+wt(.4*yt(kt*(g+35)/180));var w=h*h*h*h;var y=gt(w/(w+1900));var k=b*(y*m+1-y);var _=f-v;var x=h-s;var M=i-l;var N=o-c;var q=M*M+N*N-x*x;var A=_/(a*d);var j=x/(t*b);var E=k;return gt(A*A+j*j+q/(E*E))};var xt=function(r,e,a){if(a===void 0)a="lab";r=new p(r);e=new p(e);var t=r.get(a);var n=e.get(a);var f=0;for(var i in t){var o=(t[i]||0)-(n[i]||0);f+=o*o}return Math.sqrt(f)};var Mt=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];try{new(Function.prototype.bind.apply(p,[null].concat(r)));return true}catch(r){return false}};var Nt={cool:function r(){return La([m.hsl(180,1,.9),m.hsl(250,.7,.4)])},hot:function r(){return La(["#000","#f00","#ff0","#fff"]).mode("rgb")}};var qt={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]};for(var At=0,jt=Object.keys(qt);At<jt.length;At+=1){var Et=jt[At];qt[Et.toLowerCase()]=qt[Et]}var Ct=qt;m.average=Pa;m.bezier=Da;m.blend=Ua;m.cubehelix=nt;m.mix=m.interpolate=ca;m.random=ut;m.scale=La;m.analyze=bt.analyze;m.contrast=pt;m.deltaE=_t;m.distance=xt;m.limits=bt.limits;m.valid=Mt;m.scales=Nt;m.colors=Re;m.brewer=Ct;var Ft=m;return Ft}))}));var wrBigQuoteCss=".big-quote{--tw-bg-opacity:1;background-color:rgba(255, 255, 255, var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(26, 26, 26, var(--tw-text-opacity));padding-top:2rem;padding-bottom:2rem}@media (min-width: 1024px){.big-quote{padding-top:4rem}}.big-quote{padding-left:1rem;padding-right:1rem}@media (min-width: 768px){.big-quote{padding-left:2.5rem;padding-right:2.5rem}}.big-quote{border-radius:.25rem;position:relative;margin:0px}.big-quote.dark{--tw-bg-opacity:1;background-color:rgba(26, 26, 26, var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.quote{position:relative;font-size:1.0625rem;line-height:1.75rem}@media (min-width: 768px){.quote{font-size:1.25rem;line-height:2rem}}.quote svg{top:100%;left:100%;-webkit-transform:translateY(-100%) translateX(-100%) rotate(180deg);transform:translateY(-100%) translateX(-100%) rotate(180deg)}svg{--tw-text-opacity:1;color:rgba(245, 149, 6, var(--tw-text-opacity));height:3.5rem;position:absolute;top:1.5rem;left:1rem}@media (min-width: 768px){svg{left:2.5rem}}svg{opacity:0.2}.author{display:-ms-flexbox;display:flex;gap:0.75rem}@media (min-width: 768px){.author{gap:1.5rem}}.author{-ms-flex-direction:column;flex-direction:column}@media (min-width: 768px){.author{-ms-flex-direction:row;flex-direction:row}.author{-ms-flex-align:center;align-items:center}}.author{margin-top:1.5rem}.author__image{margin:0px;height:4rem;width:4rem;position:relative;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.author__image img{position:absolute;top:0px;right:0px;bottom:0px;left:0px;height:100%;width:100%;-o-object-fit:cover;object-fit:cover;border-radius:50%}.author__name{font-size:1.0625rem;line-height:1.75rem}@media (min-width: 768px){.author__name{font-size:1.25rem;line-height:2rem}}.author__name{margin:0px}.author__function{font-size:0.9375rem;line-height:1.5rem}@media (min-width: 768px){.author__function{font-size:1.0625rem;line-height:1.75rem}}.author__function{margin:0px}";var WrBigQuote=function(){function r(r){var e=this;registerInstance(this,r);this.getQuoteColor=function(){if(!chroma.valid(e.quoteColor)){return"#faaf40"}return e.quoteColor}}r.prototype.render=function(){return h("blockquote",{class:["big-quote",this.isDark?"dark":""].join(" ")},this.renderQuote(),h("section",{class:"quote"},h("slot",null),this.renderQuote()),this.renderAuthor())};r.prototype.renderQuote=function(){return h("svg",{width:"85",height:"56",viewBox:"0 0 85 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:this.getQuoteColor()}},h("path",{d:"M84.9825 56V0L51.579 25.7895V56H84.9825ZM33.1579 56V0L0 25.7895V56H33.1579Z",fill:"currentColor"}))};r.prototype.renderAuthor=function(){return h("footer",{class:"author"},h("figure",{class:"author__image"},h("img",{src:this.authorImage,alt:""})),h("div",null,h("h5",{class:"author__name"},this.authorName),h("span",{class:"author__function"},this.authorFunction)))};return r}();WrBigQuote.style=wrBigQuoteCss;export{WrBigQuote as wr_big_quote};
(function(e,a){r.exports=a()})(commonjsGlobal,(function(){var r=function(r,e,a){if(e===void 0)e=0;if(a===void 0)a=1;return r<e?e:r>a?a:r};var e=function(e){e._clipped=false;e._unclipped=e.slice(0);for(var a=0;a<=3;a++){if(a<3){if(e[a]<0||e[a]>255){e._clipped=true}e[a]=r(e[a],0,255)}else if(a===3){e[a]=r(e[a],0,1)}}return e};var a={};for(var t=0,n=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];t<n.length;t+=1){var f=n[t];a["[object "+f+"]"]=f.toLowerCase()}var i=function(r){return a[Object.prototype.toString.call(r)]||"object"};var o=function(r,e){if(e===void 0)e=null;if(r.length>=3){return Array.prototype.slice.call(r)}if(i(r[0])=="object"&&e){return e.split("").filter((function(e){return r[0][e]!==undefined})).map((function(e){return r[0][e]}))}return r[0]};var u=function(r){if(r.length<2){return null}var e=r.length-1;if(i(r[e])=="string"){return r[e].toLowerCase()}return null};var v=Math.PI;var l={clip_rgb:e,limit:r,type:i,unpack:o,last:u,PI:v,TWOPI:v*2,PITHIRD:v/3,DEG2RAD:v/180,RAD2DEG:180/v};var c={format:{},autodetect:[]};var h=l.last;var s=l.clip_rgb;var d=l.type;var b=function r(){var e=[],a=arguments.length;while(a--)e[a]=arguments[a];var t=this;if(d(e[0])==="object"&&e[0].constructor&&e[0].constructor===this.constructor){return e[0]}var n=h(e);var f=false;if(!n){f=true;if(!c.sorted){c.autodetect=c.autodetect.sort((function(r,e){return e.p-r.p}));c.sorted=true}for(var i=0,o=c.autodetect;i<o.length;i+=1){var u=o[i];n=u.test.apply(u,e);if(n){break}}}if(c.format[n]){var v=c.format[n].apply(null,f?e:e.slice(0,-1));t._rgb=s(v)}else{throw new Error("unknown format: "+e)}if(t._rgb.length===3){t._rgb.push(1)}};b.prototype.toString=function r(){if(d(this.hex)=="function"){return this.hex()}return"["+this._rgb.join(",")+"]"};var p=b;var g=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(g.Color,[null].concat(r)))};g.Color=p;g.version="2.1.2";var m=g;var w=l.unpack;var y=Math.max;var k=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=w(r,"rgb");var t=a[0];var n=a[1];var f=a[2];t=t/255;n=n/255;f=f/255;var i=1-y(t,y(n,f));var o=i<1?1/(1-i):0;var u=(1-t-i)*o;var v=(1-n-i)*o;var l=(1-f-i)*o;return[u,v,l,i]};var _=k;var x=l.unpack;var M=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=x(r,"cmyk");var a=r[0];var t=r[1];var n=r[2];var f=r[3];var i=r.length>4?r[4]:1;if(f===1){return[0,0,0,i]}return[a>=1?0:255*(1-a)*(1-f),t>=1?0:255*(1-t)*(1-f),n>=1?0:255*(1-n)*(1-f),i]};var N=M;var q=l.unpack;var A=l.type;p.prototype.cmyk=function(){return _(this._rgb)};m.cmyk=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["cmyk"])))};c.format.cmyk=N;c.autodetect.push({p:2,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=q(r,"cmyk");if(A(r)==="array"&&r.length===4){return"cmyk"}}});var j=l.unpack;var E=l.last;var C=function(r){return Math.round(r*100)/100};var F=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=j(r,"hsla");var t=E(r)||"lsa";a[0]=C(a[0]||0);a[1]=C(a[1]*100)+"%";a[2]=C(a[2]*100)+"%";if(t==="hsla"||a.length>3&&a[3]<1){a[3]=a.length>3?a[3]:1;t="hsla"}else{a.length=3}return t+"("+a.join(",")+")"};var P=F;var G=l.unpack;var O=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=G(r,"rgba");var a=r[0];var t=r[1];var n=r[2];a/=255;t/=255;n/=255;var f=Math.min(a,t,n);var i=Math.max(a,t,n);var o=(i+f)/2;var u,v;if(i===f){u=0;v=Number.NaN}else{u=o<.5?(i-f)/(i+f):(i-f)/(2-i-f)}if(a==i){v=(t-n)/(i-f)}else if(t==i){v=2+(n-a)/(i-f)}else if(n==i){v=4+(a-t)/(i-f)}v*=60;if(v<0){v+=360}if(r.length>3&&r[3]!==undefined){return[v,u,o,r[3]]}return[v,u,o]};var B=O;var L=l.unpack;var R=l.last;var I=Math.round;var D=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=L(r,"rgba");var t=R(r)||"rgb";if(t.substr(0,3)=="hsl"){return P(B(a),t)}a[0]=I(a[0]);a[1]=I(a[1]);a[2]=I(a[2]);if(t==="rgba"||a.length>3&&a[3]<1){a[3]=a.length>3?a[3]:1;t="rgba"}return t+"("+a.slice(0,t==="rgb"?3:4).join(",")+")"};var z=D;var Y=l.unpack;var Q=Math.round;var S=function(){var r;var e=[],a=arguments.length;while(a--)e[a]=arguments[a];e=Y(e,"hsl");var t=e[0];var n=e[1];var f=e[2];var i,o,u;if(n===0){i=o=u=f*255}else{var v=[0,0,0];var l=[0,0,0];var c=f<.5?f*(1+n):f+n-f*n;var h=2*f-c;var s=t/360;v[0]=s+1/3;v[1]=s;v[2]=s-1/3;for(var d=0;d<3;d++){if(v[d]<0){v[d]+=1}if(v[d]>1){v[d]-=1}if(6*v[d]<1){l[d]=h+(c-h)*6*v[d]}else if(2*v[d]<1){l[d]=c}else if(3*v[d]<2){l[d]=h+(c-h)*(2/3-v[d])*6}else{l[d]=h}}r=[Q(l[0]*255),Q(l[1]*255),Q(l[2]*255)],i=r[0],o=r[1],u=r[2]}if(e.length>3){return[i,o,u,e[3]]}return[i,o,u,1]};var T=S;var V=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/;var X=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/;var $=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/;var W=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/;var Z=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/;var H=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/;var U=Math.round;var K=function(r){r=r.toLowerCase().trim();var e;if(c.format.named){try{return c.format.named(r)}catch(r){}}if(e=r.match(V)){var a=e.slice(1,4);for(var t=0;t<3;t++){a[t]=+a[t]}a[3]=1;return a}if(e=r.match(X)){var n=e.slice(1,5);for(var f=0;f<4;f++){n[f]=+n[f]}return n}if(e=r.match($)){var i=e.slice(1,4);for(var o=0;o<3;o++){i[o]=U(i[o]*2.55)}i[3]=1;return i}if(e=r.match(W)){var u=e.slice(1,5);for(var v=0;v<3;v++){u[v]=U(u[v]*2.55)}u[3]=+u[3];return u}if(e=r.match(Z)){var l=e.slice(1,4);l[1]*=.01;l[2]*=.01;var h=T(l);h[3]=1;return h}if(e=r.match(H)){var s=e.slice(1,4);s[1]*=.01;s[2]*=.01;var d=T(s);d[3]=+e[4];return d}};K.test=function(r){return V.test(r)||X.test(r)||$.test(r)||W.test(r)||Z.test(r)||H.test(r)};var J=K;var rr=l.type;p.prototype.css=function(r){return z(this._rgb,r)};m.css=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["css"])))};c.format.css=J;c.autodetect.push({p:5,test:function(r){var e=[],a=arguments.length-1;while(a-- >0)e[a]=arguments[a+1];if(!e.length&&rr(r)==="string"&&J.test(r)){return"css"}}});var er=l.unpack;c.format.gl=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=er(r,"rgba");a[0]*=255;a[1]*=255;a[2]*=255;return a};m.gl=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["gl"])))};p.prototype.gl=function(){var r=this._rgb;return[r[0]/255,r[1]/255,r[2]/255,r[3]]};var ar=l.unpack;var tr=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=ar(r,"rgb");var t=a[0];var n=a[1];var f=a[2];var i=Math.min(t,n,f);var o=Math.max(t,n,f);var u=o-i;var v=u*100/255;var l=i/(255-u)*100;var c;if(u===0){c=Number.NaN}else{if(t===o){c=(n-f)/u}if(n===o){c=2+(f-t)/u}if(f===o){c=4+(t-n)/u}c*=60;if(c<0){c+=360}}return[c,v,l]};var nr=tr;var fr=l.unpack;var ir=Math.floor;var or=function(){var r,e,a,t,n,f;var i=[],o=arguments.length;while(o--)i[o]=arguments[o];i=fr(i,"hcg");var u=i[0];var v=i[1];var l=i[2];var c,h,s;l=l*255;var d=v*255;if(v===0){c=h=s=l}else{if(u===360){u=0}if(u>360){u-=360}if(u<0){u+=360}u/=60;var b=ir(u);var p=u-b;var g=l*(1-v);var m=g+d*(1-p);var w=g+d*p;var y=g+d;switch(b){case 0:r=[y,w,g],c=r[0],h=r[1],s=r[2];break;case 1:e=[m,y,g],c=e[0],h=e[1],s=e[2];break;case 2:a=[g,y,w],c=a[0],h=a[1],s=a[2];break;case 3:t=[g,m,y],c=t[0],h=t[1],s=t[2];break;case 4:n=[w,g,y],c=n[0],h=n[1],s=n[2];break;case 5:f=[y,g,m],c=f[0],h=f[1],s=f[2];break}}return[c,h,s,i.length>3?i[3]:1]};var ur=or;var vr=l.unpack;var lr=l.type;p.prototype.hcg=function(){return nr(this._rgb)};m.hcg=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["hcg"])))};c.format.hcg=ur;c.autodetect.push({p:1,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=vr(r,"hcg");if(lr(r)==="array"&&r.length===3){return"hcg"}}});var cr=l.unpack;var hr=l.last;var sr=Math.round;var dr=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=cr(r,"rgba");var t=a[0];var n=a[1];var f=a[2];var i=a[3];var o=hr(r)||"auto";if(i===undefined){i=1}if(o==="auto"){o=i<1?"rgba":"rgb"}t=sr(t);n=sr(n);f=sr(f);var u=t<<16|n<<8|f;var v="000000"+u.toString(16);v=v.substr(v.length-6);var l="0"+sr(i*255).toString(16);l=l.substr(l.length-2);switch(o.toLowerCase()){case"rgba":return"#"+v+l;case"argb":return"#"+l+v;default:return"#"+v}};var br=dr;var pr=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/;var gr=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/;var mr=function(r){if(r.match(pr)){if(r.length===4||r.length===7){r=r.substr(1)}if(r.length===3){r=r.split("");r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]}var e=parseInt(r,16);var a=e>>16;var t=e>>8&255;var n=e&255;return[a,t,n,1]}if(r.match(gr)){if(r.length===5||r.length===9){r=r.substr(1)}if(r.length===4){r=r.split("");r=r[0]+r[0]+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]}var f=parseInt(r,16);var i=f>>24&255;var o=f>>16&255;var u=f>>8&255;var v=Math.round((f&255)/255*100)/100;return[i,o,u,v]}throw new Error("unknown hex color: "+r)};var wr=mr;var yr=l.type;p.prototype.hex=function(r){return br(this._rgb,r)};m.hex=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["hex"])))};c.format.hex=wr;c.autodetect.push({p:4,test:function(r){var e=[],a=arguments.length-1;while(a-- >0)e[a]=arguments[a+1];if(!e.length&&yr(r)==="string"&&[3,4,5,6,7,8,9].indexOf(r.length)>=0){return"hex"}}});var kr=l.unpack;var _r=l.TWOPI;var xr=Math.min;var Mr=Math.sqrt;var Nr=Math.acos;var qr=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=kr(r,"rgb");var t=a[0];var n=a[1];var f=a[2];t/=255;n/=255;f/=255;var i;var o=xr(t,n,f);var u=(t+n+f)/3;var v=u>0?1-o/u:0;if(v===0){i=NaN}else{i=(t-n+(t-f))/2;i/=Mr((t-n)*(t-n)+(t-f)*(n-f));i=Nr(i);if(f>n){i=_r-i}i/=_r}return[i*360,v,u]};var Ar=qr;var jr=l.unpack;var Er=l.limit;var Cr=l.TWOPI;var Fr=l.PITHIRD;var Pr=Math.cos;var Gr=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=jr(r,"hsi");var a=r[0];var t=r[1];var n=r[2];var f,i,o;if(isNaN(a)){a=0}if(isNaN(t)){t=0}if(a>360){a-=360}if(a<0){a+=360}a/=360;if(a<1/3){o=(1-t)/3;f=(1+t*Pr(Cr*a)/Pr(Fr-Cr*a))/3;i=1-(o+f)}else if(a<2/3){a-=1/3;f=(1-t)/3;i=(1+t*Pr(Cr*a)/Pr(Fr-Cr*a))/3;o=1-(f+i)}else{a-=2/3;i=(1-t)/3;o=(1+t*Pr(Cr*a)/Pr(Fr-Cr*a))/3;f=1-(i+o)}f=Er(n*f*3);i=Er(n*i*3);o=Er(n*o*3);return[f*255,i*255,o*255,r.length>3?r[3]:1]};var Or=Gr;var Br=l.unpack;var Lr=l.type;p.prototype.hsi=function(){return Ar(this._rgb)};m.hsi=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["hsi"])))};c.format.hsi=Or;c.autodetect.push({p:2,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=Br(r,"hsi");if(Lr(r)==="array"&&r.length===3){return"hsi"}}});var Rr=l.unpack;var Ir=l.type;p.prototype.hsl=function(){return B(this._rgb)};m.hsl=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["hsl"])))};c.format.hsl=T;c.autodetect.push({p:2,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=Rr(r,"hsl");if(Ir(r)==="array"&&r.length===3){return"hsl"}}});var Dr=l.unpack;var zr=Math.min;var Yr=Math.max;var Qr=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=Dr(r,"rgb");var a=r[0];var t=r[1];var n=r[2];var f=zr(a,t,n);var i=Yr(a,t,n);var o=i-f;var u,v,l;l=i/255;if(i===0){u=Number.NaN;v=0}else{v=o/i;if(a===i){u=(t-n)/o}if(t===i){u=2+(n-a)/o}if(n===i){u=4+(a-t)/o}u*=60;if(u<0){u+=360}}return[u,v,l]};var Sr=Qr;var Tr=l.unpack;var Vr=Math.floor;var Xr=function(){var r,e,a,t,n,f;var i=[],o=arguments.length;while(o--)i[o]=arguments[o];i=Tr(i,"hsv");var u=i[0];var v=i[1];var l=i[2];var c,h,s;l*=255;if(v===0){c=h=s=l}else{if(u===360){u=0}if(u>360){u-=360}if(u<0){u+=360}u/=60;var d=Vr(u);var b=u-d;var p=l*(1-v);var g=l*(1-v*b);var m=l*(1-v*(1-b));switch(d){case 0:r=[l,m,p],c=r[0],h=r[1],s=r[2];break;case 1:e=[g,l,p],c=e[0],h=e[1],s=e[2];break;case 2:a=[p,l,m],c=a[0],h=a[1],s=a[2];break;case 3:t=[p,g,l],c=t[0],h=t[1],s=t[2];break;case 4:n=[m,p,l],c=n[0],h=n[1],s=n[2];break;case 5:f=[l,p,g],c=f[0],h=f[1],s=f[2];break}}return[c,h,s,i.length>3?i[3]:1]};var $r=Xr;var Wr=l.unpack;var Zr=l.type;p.prototype.hsv=function(){return Sr(this._rgb)};m.hsv=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["hsv"])))};c.format.hsv=$r;c.autodetect.push({p:2,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=Wr(r,"hsv");if(Zr(r)==="array"&&r.length===3){return"hsv"}}});var Hr={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452};var Ur=l.unpack;var Kr=Math.pow;var Jr=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=Ur(r,"rgb");var t=a[0];var n=a[1];var f=a[2];var i=ae(t,n,f);var o=i[0];var u=i[1];var v=i[2];var l=116*u-16;return[l<0?0:l,500*(o-u),200*(u-v)]};var re=function(r){if((r/=255)<=.04045){return r/12.92}return Kr((r+.055)/1.055,2.4)};var ee=function(r){if(r>Hr.t3){return Kr(r,1/3)}return r/Hr.t2+Hr.t0};var ae=function(r,e,a){r=re(r);e=re(e);a=re(a);var t=ee((.4124564*r+.3575761*e+.1804375*a)/Hr.Xn);var n=ee((.2126729*r+.7151522*e+.072175*a)/Hr.Yn);var f=ee((.0193339*r+.119192*e+.9503041*a)/Hr.Zn);return[t,n,f]};var te=Jr;var ne=l.unpack;var fe=Math.pow;var ie=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=ne(r,"lab");var a=r[0];var t=r[1];var n=r[2];var f,i,o,u,v,l;i=(a+16)/116;f=isNaN(t)?i:i+t/500;o=isNaN(n)?i:i-n/200;i=Hr.Yn*ue(i);f=Hr.Xn*ue(f);o=Hr.Zn*ue(o);u=oe(3.2404542*f-1.5371385*i-.4985314*o);v=oe(-.969266*f+1.8760108*i+.041556*o);l=oe(.0556434*f-.2040259*i+1.0572252*o);return[u,v,l,r.length>3?r[3]:1]};var oe=function(r){return 255*(r<=.00304?12.92*r:1.055*fe(r,1/2.4)-.055)};var ue=function(r){return r>Hr.t1?r*r*r:Hr.t2*(r-Hr.t0)};var ve=ie;var le=l.unpack;var ce=l.type;p.prototype.lab=function(){return te(this._rgb)};m.lab=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["lab"])))};c.format.lab=ve;c.autodetect.push({p:2,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=le(r,"lab");if(ce(r)==="array"&&r.length===3){return"lab"}}});var he=l.unpack;var se=l.RAD2DEG;var de=Math.sqrt;var be=Math.atan2;var pe=Math.round;var ge=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=he(r,"lab");var t=a[0];var n=a[1];var f=a[2];var i=de(n*n+f*f);var o=(be(f,n)*se+360)%360;if(pe(i*1e4)===0){o=Number.NaN}return[t,i,o]};var me=ge;var we=l.unpack;var ye=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=we(r,"rgb");var t=a[0];var n=a[1];var f=a[2];var i=te(t,n,f);var o=i[0];var u=i[1];var v=i[2];return me(o,u,v)};var ke=ye;var _e=l.unpack;var xe=l.DEG2RAD;var Me=Math.sin;var Ne=Math.cos;var qe=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=_e(r,"lch");var t=a[0];var n=a[1];var f=a[2];if(isNaN(f)){f=0}f=f*xe;return[t,Ne(f)*n,Me(f)*n]};var Ae=qe;var je=l.unpack;var Ee=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=je(r,"lch");var a=r[0];var t=r[1];var n=r[2];var f=Ae(a,t,n);var i=f[0];var o=f[1];var u=f[2];var v=ve(i,o,u);var l=v[0];var c=v[1];var h=v[2];return[l,c,h,r.length>3?r[3]:1]};var Ce=Ee;var Fe=l.unpack;var Pe=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=Fe(r,"hcl").reverse();return Ce.apply(void 0,a)};var Ge=Pe;var Oe=l.unpack;var Be=l.type;p.prototype.lch=function(){return ke(this._rgb)};p.prototype.hcl=function(){return ke(this._rgb).reverse()};m.lch=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["lch"])))};m.hcl=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["hcl"])))};c.format.lch=Ce;c.format.hcl=Ge;["lch","hcl"].forEach((function(r){return c.autodetect.push({p:2,test:function(){var e=[],a=arguments.length;while(a--)e[a]=arguments[a];e=Oe(e,r);if(Be(e)==="array"&&e.length===3){return r}}})}));var Le={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var Re=Le;var Ie=l.type;p.prototype.name=function(){var r=br(this._rgb,"rgb");for(var e=0,a=Object.keys(Re);e<a.length;e+=1){var t=a[e];if(Re[t]===r){return t.toLowerCase()}}return r};c.format.named=function(r){r=r.toLowerCase();if(Re[r]){return wr(Re[r])}throw new Error("unknown color name: "+r)};c.autodetect.push({p:5,test:function(r){var e=[],a=arguments.length-1;while(a-- >0)e[a]=arguments[a+1];if(!e.length&&Ie(r)==="string"&&Re[r.toLowerCase()]){return"named"}}});var De=l.unpack;var ze=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=De(r,"rgb");var t=a[0];var n=a[1];var f=a[2];return(t<<16)+(n<<8)+f};var Ye=ze;var Qe=l.type;var Se=function(r){if(Qe(r)=="number"&&r>=0&&r<=16777215){var e=r>>16;var a=r>>8&255;var t=r&255;return[e,a,t,1]}throw new Error("unknown num color: "+r)};var Te=Se;var Ve=l.type;p.prototype.num=function(){return Ye(this._rgb)};m.num=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["num"])))};c.format.num=Te;c.autodetect.push({p:5,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];if(r.length===1&&Ve(r[0])==="number"&&r[0]>=0&&r[0]<=16777215){return"num"}}});var Xe=l.unpack;var $e=l.type;var We=Math.round;p.prototype.rgb=function(r){if(r===void 0)r=true;if(r===false){return this._rgb.slice(0,3)}return this._rgb.slice(0,3).map(We)};p.prototype.rgba=function(r){if(r===void 0)r=true;return this._rgb.slice(0,4).map((function(e,a){return a<3?r===false?e:We(e):e}))};m.rgb=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["rgb"])))};c.format.rgb=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=Xe(r,"rgba");if(a[3]===undefined){a[3]=1}return a};c.autodetect.push({p:3,test:function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];r=Xe(r,"rgba");if($e(r)==="array"&&(r.length===3||r.length===4&&$e(r[3])=="number"&&r[3]>=0&&r[3]<=1)){return"rgb"}}});var Ze=Math.log;var He=function(r){var e=r/100;var a,t,n;if(e<66){a=255;t=-155.25485562709179-.44596950469579133*(t=e-2)+104.49216199393888*Ze(t);n=e<20?0:-254.76935184120902+.8274096064007395*(n=e-10)+115.67994401066147*Ze(n)}else{a=351.97690566805693+.114206453784165*(a=e-55)-40.25366309332127*Ze(a);t=325.4494125711974+.07943456536662342*(t=e-50)-28.0852963507957*Ze(t);n=255}return[a,t,n,1]};var Ue=He;var Ke=l.unpack;var Je=Math.round;var ra=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];var a=Ke(r,"rgb");var t=a[0],n=a[2];var f=1e3;var i=4e4;var o=.4;var u;while(i-f>o){u=(i+f)*.5;var v=Ue(u);if(v[2]/v[0]>=n/t){i=u}else{f=u}}return Je(u)};var ea=ra;p.prototype.temp=p.prototype.kelvin=p.prototype.temperature=function(){return ea(this._rgb)};m.temp=m.kelvin=m.temperature=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];return new(Function.prototype.bind.apply(p,[null].concat(r,["temp"])))};c.format.temp=c.format.kelvin=c.format.temperature=Ue;var aa=l.type;p.prototype.alpha=function(r,e){if(e===void 0)e=false;if(r!==undefined&&aa(r)==="number"){if(e){this._rgb[3]=r;return this}return new p([this._rgb[0],this._rgb[1],this._rgb[2],r],"rgb")}return this._rgb[3]};p.prototype.clipped=function(){return this._rgb._clipped||false};p.prototype.darken=function(r){if(r===void 0)r=1;var e=this;var a=e.lab();a[0]-=Hr.Kn*r;return new p(a,"lab").alpha(e.alpha(),true)};p.prototype.brighten=function(r){if(r===void 0)r=1;return this.darken(-r)};p.prototype.darker=p.prototype.darken;p.prototype.brighter=p.prototype.brighten;p.prototype.get=function(r){var e=r.split(".");var a=e[0];var t=e[1];var n=this[a]();if(t){var f=a.indexOf(t);if(f>-1){return n[f]}throw new Error("unknown channel "+t+" in mode "+a)}else{return n}};var ta=l.type;var na=Math.pow;var fa=1e-7;var ia=20;p.prototype.luminance=function(r){if(r!==undefined&&ta(r)==="number"){if(r===0){return new p([0,0,0,this._rgb[3]],"rgb")}if(r===1){return new p([255,255,255,this._rgb[3]],"rgb")}var e=this.luminance();var a="rgb";var t=ia;var n=function(e,f){var i=e.interpolate(f,.5,a);var o=i.luminance();if(Math.abs(r-o)<fa||!t--){return i}return o>r?n(e,i):n(i,f)};var f=(e>r?n(new p([0,0,0]),this):n(this,new p([255,255,255]))).rgb();return new p(f.concat([this._rgb[3]]))}return oa.apply(void 0,this._rgb.slice(0,3))};var oa=function(r,e,a){r=ua(r);e=ua(e);a=ua(a);return.2126*r+.7152*e+.0722*a};var ua=function(r){r/=255;return r<=.03928?r/12.92:na((r+.055)/1.055,2.4)};var va={};var la=l.type;var ca=function(r,e,a){if(a===void 0)a=.5;var t=[],n=arguments.length-3;while(n-- >0)t[n]=arguments[n+3];var f=t[0]||"lrgb";if(!va[f]&&!t.length){f=Object.keys(va)[0]}if(!va[f]){throw new Error("interpolation mode "+f+" is not defined")}if(la(r)!=="object"){r=new p(r)}if(la(e)!=="object"){e=new p(e)}return va[f](r,e,a).alpha(r.alpha()+a*(e.alpha()-r.alpha()))};p.prototype.mix=p.prototype.interpolate=function(r,e){if(e===void 0)e=.5;var a=[],t=arguments.length-2;while(t-- >0)a[t]=arguments[t+2];return ca.apply(void 0,[this,r,e].concat(a))};p.prototype.premultiply=function(r){if(r===void 0)r=false;var e=this._rgb;var a=e[3];if(r){this._rgb=[e[0]*a,e[1]*a,e[2]*a,a];return this}else{return new p([e[0]*a,e[1]*a,e[2]*a,a],"rgb")}};p.prototype.saturate=function(r){if(r===void 0)r=1;var e=this;var a=e.lch();a[1]+=Hr.Kn*r;if(a[1]<0){a[1]=0}return new p(a,"lch").alpha(e.alpha(),true)};p.prototype.desaturate=function(r){if(r===void 0)r=1;return this.saturate(-r)};var ha=l.type;p.prototype.set=function(r,e,a){if(a===void 0)a=false;var t=r.split(".");var n=t[0];var f=t[1];var i=this[n]();if(f){var o=n.indexOf(f);if(o>-1){if(ha(e)=="string"){switch(e.charAt(0)){case"+":i[o]+=+e;break;case"-":i[o]+=+e;break;case"*":i[o]*=+e.substr(1);break;case"/":i[o]/=+e.substr(1);break;default:i[o]=+e}}else if(ha(e)==="number"){i[o]=e}else{throw new Error("unsupported value for Color.set")}var u=new p(i,n);if(a){this._rgb=u._rgb;return this}return u}throw new Error("unknown channel "+f+" in mode "+n)}else{return i}};var sa=function(r,e,a){var t=r._rgb;var n=e._rgb;return new p(t[0]+a*(n[0]-t[0]),t[1]+a*(n[1]-t[1]),t[2]+a*(n[2]-t[2]),"rgb")};va.rgb=sa;var da=Math.sqrt;var ba=Math.pow;var pa=function(r,e,a){var t=r._rgb;var n=t[0];var f=t[1];var i=t[2];var o=e._rgb;var u=o[0];var v=o[1];var l=o[2];return new p(da(ba(n,2)*(1-a)+ba(u,2)*a),da(ba(f,2)*(1-a)+ba(v,2)*a),da(ba(i,2)*(1-a)+ba(l,2)*a),"rgb")};va.lrgb=pa;var ga=function(r,e,a){var t=r.lab();var n=e.lab();return new p(t[0]+a*(n[0]-t[0]),t[1]+a*(n[1]-t[1]),t[2]+a*(n[2]-t[2]),"lab")};va.lab=ga;var ma=function(r,e,a,t){var n,f;var i,o;if(t==="hsl"){i=r.hsl();o=e.hsl()}else if(t==="hsv"){i=r.hsv();o=e.hsv()}else if(t==="hcg"){i=r.hcg();o=e.hcg()}else if(t==="hsi"){i=r.hsi();o=e.hsi()}else if(t==="lch"||t==="hcl"){t="hcl";i=r.hcl();o=e.hcl()}var u,v,l,c,h,s;if(t.substr(0,1)==="h"){n=i,u=n[0],l=n[1],h=n[2];f=o,v=f[0],c=f[1],s=f[2]}var d,b,g,m;if(!isNaN(u)&&!isNaN(v)){if(v>u&&v-u>180){m=v-(u+360)}else if(v<u&&u-v>180){m=v+360-u}else{m=v-u}b=u+a*m}else if(!isNaN(u)){b=u;if((s==1||s==0)&&t!="hsv"){d=l}}else if(!isNaN(v)){b=v;if((h==1||h==0)&&t!="hsv"){d=c}}else{b=Number.NaN}if(d===undefined){d=l+a*(c-l)}g=h+a*(s-h);return new p([b,d,g],t)};var wa=function(r,e,a){return ma(r,e,a,"lch")};va.lch=wa;va.hcl=wa;var ya=function(r,e,a){var t=r.num();var n=e.num();return new p(t+a*(n-t),"num")};va.num=ya;var ka=function(r,e,a){return ma(r,e,a,"hcg")};va.hcg=ka;var _a=function(r,e,a){return ma(r,e,a,"hsi")};va.hsi=_a;var xa=function(r,e,a){return ma(r,e,a,"hsl")};va.hsl=xa;var Ma=function(r,e,a){return ma(r,e,a,"hsv")};va.hsv=Ma;var Na=l.clip_rgb;var qa=Math.pow;var Aa=Math.sqrt;var ja=Math.PI;var Ea=Math.cos;var Ca=Math.sin;var Fa=Math.atan2;var Pa=function(r,e,a){if(e===void 0)e="lrgb";if(a===void 0)a=null;var t=r.length;if(!a){a=Array.from(new Array(t)).map((function(){return 1}))}var n=t/a.reduce((function(r,e){return r+e}));a.forEach((function(r,e){a[e]*=n}));r=r.map((function(r){return new p(r)}));if(e==="lrgb"){return Ga(r,a)}var f=r.shift();var i=f.get(e);var o=[];var u=0;var v=0;for(var l=0;l<i.length;l++){i[l]=(i[l]||0)*a[0];o.push(isNaN(i[l])?0:a[0]);if(e.charAt(l)==="h"&&!isNaN(i[l])){var c=i[l]/180*ja;u+=Ea(c)*a[0];v+=Ca(c)*a[0]}}var h=f.alpha()*a[0];r.forEach((function(r,t){var n=r.get(e);h+=r.alpha()*a[t+1];for(var f=0;f<i.length;f++){if(!isNaN(n[f])){o[f]+=a[t+1];if(e.charAt(f)==="h"){var l=n[f]/180*ja;u+=Ea(l)*a[t+1];v+=Ca(l)*a[t+1]}else{i[f]+=n[f]*a[t+1]}}}}));for(var s=0;s<i.length;s++){if(e.charAt(s)==="h"){var d=Fa(v/o[s],u/o[s])/ja*180;while(d<0){d+=360}while(d>=360){d-=360}i[s]=d}else{i[s]=i[s]/o[s]}}h/=t;return new p(i,e).alpha(h>.99999?1:h,true)};var Ga=function(r,e){var a=r.length;var t=[0,0,0,0];for(var n=0;n<r.length;n++){var f=r[n];var i=e[n]/a;var o=f._rgb;t[0]+=qa(o[0],2)*i;t[1]+=qa(o[1],2)*i;t[2]+=qa(o[2],2)*i;t[3]+=o[3]*i}t[0]=Aa(t[0]);t[1]=Aa(t[1]);t[2]=Aa(t[2]);if(t[3]>.9999999){t[3]=1}return new p(Na(t))};var Oa=l.type;var Ba=Math.pow;var La=function(r){var e="rgb";var a=m("#ccc");var t=0;var n=[0,1];var f=[];var i=[0,0];var o=false;var u=[];var v=false;var l=0;var c=1;var h=false;var s={};var d=true;var b=1;var p=function(r){r=r||["#fff","#000"];if(r&&Oa(r)==="string"&&m.brewer&&m.brewer[r.toLowerCase()]){r=m.brewer[r.toLowerCase()]}if(Oa(r)==="array"){if(r.length===1){r=[r[0],r[0]]}r=r.slice(0);for(var e=0;e<r.length;e++){r[e]=m(r[e])}f.length=0;for(var a=0;a<r.length;a++){f.push(a/(r.length-1))}}_();return u=r};var g=function(r){if(o!=null){var e=o.length-1;var a=0;while(a<e&&r>=o[a]){a++}return a-1}return 0};var w=function(r){return r};var y=function(r){return r};var k=function(r,t){var n,v;if(t==null){t=false}if(isNaN(r)||r===null){return a}if(!t){if(o&&o.length>2){var h=g(r);v=h/(o.length-2)}else if(c!==l){v=(r-l)/(c-l)}else{v=1}}else{v=r}v=y(v);if(!t){v=w(v)}if(b!==1){v=Ba(v,b)}v=i[0]+v*(1-i[0]-i[1]);v=Math.min(1,Math.max(0,v));var p=Math.floor(v*1e4);if(d&&s[p]){n=s[p]}else{if(Oa(u)==="array"){for(var k=0;k<f.length;k++){var _=f[k];if(v<=_){n=u[k];break}if(v>=_&&k===f.length-1){n=u[k];break}if(v>_&&v<f[k+1]){v=(v-_)/(f[k+1]-_);n=m.interpolate(u[k],u[k+1],v,e);break}}}else if(Oa(u)==="function"){n=u(v)}if(d){s[p]=n}}return n};var _=function(){return s={}};p(r);var x=function(r){var e=m(k(r));if(v&&e[v]){return e[v]()}else{return e}};x.classes=function(r){if(r!=null){if(Oa(r)==="array"){o=r;n=[r[0],r[r.length-1]]}else{var e=m.analyze(n);if(r===0){o=[e.min,e.max]}else{o=m.limits(e,"e",r)}}return x}return o};x.domain=function(r){if(!arguments.length){return n}l=r[0];c=r[r.length-1];f=[];var e=u.length;if(r.length===e&&l!==c){for(var a=0,t=Array.from(r);a<t.length;a+=1){var i=t[a];f.push((i-l)/(c-l))}}else{for(var o=0;o<e;o++){f.push(o/(e-1))}if(r.length>2){var v=r.map((function(e,a){return a/(r.length-1)}));var h=r.map((function(r){return(r-l)/(c-l)}));if(!h.every((function(r,e){return v[e]===r}))){y=function(r){if(r<=0||r>=1){return r}var e=0;while(r>=h[e+1]){e++}var a=(r-h[e])/(h[e+1]-h[e]);var t=v[e]+a*(v[e+1]-v[e]);return t}}}}n=[l,c];return x};x.mode=function(r){if(!arguments.length){return e}e=r;_();return x};x.range=function(r,e){p(r);return x};x.out=function(r){v=r;return x};x.spread=function(r){if(!arguments.length){return t}t=r;return x};x.correctLightness=function(r){if(r==null){r=true}h=r;_();if(h){w=function(r){var e=k(0,true).lab()[0];var a=k(1,true).lab()[0];var t=e>a;var n=k(r,true).lab()[0];var f=e+(a-e)*r;var i=n-f;var o=0;var u=1;var v=20;while(Math.abs(i)>.01&&v-- >0){(function(){if(t){i*=-1}if(i<0){o=r;r+=(u-r)*.5}else{u=r;r+=(o-r)*.5}n=k(r,true).lab()[0];return i=n-f})()}return r}}else{w=function(r){return r}}return x};x.padding=function(r){if(r!=null){if(Oa(r)==="number"){r=[r,r]}i=r;return x}else{return i}};x.colors=function(e,a){if(arguments.length<2){a="hex"}var t=[];if(arguments.length===0){t=u.slice(0)}else if(e===1){t=[x(.5)]}else if(e>1){var f=n[0];var i=n[1]-f;t=Ra(0,e,false).map((function(r){return x(f+r/(e-1)*i)}))}else{r=[];var v=[];if(o&&o.length>2){for(var l=1,c=o.length,h=1<=c;h?l<c:l>c;h?l++:l--){v.push((o[l-1]+o[l])*.5)}}else{v=n}t=v.map((function(r){return x(r)}))}if(m[a]){t=t.map((function(r){return r[a]()}))}return t};x.cache=function(r){if(r!=null){d=r;return x}else{return d}};x.gamma=function(r){if(r!=null){b=r;return x}else{return b}};x.nodata=function(r){if(r!=null){a=m(r);return x}else{return a}};return x};function Ra(r,e,a){var t=[];var n=r<e;var f=!a?e:n?e+1:e-1;for(var i=r;n?i<f:i>f;n?i++:i--){t.push(i)}return t}var Ia=function(r){var e,a,t;var n,f,i,o;r=r.map((function(r){return new p(r)}));if(r.length===2){e=r.map((function(r){return r.lab()})),f=e[0],i=e[1];n=function(r){var e=[0,1,2].map((function(e){return f[e]+r*(i[e]-f[e])}));return new p(e,"lab")}}else if(r.length===3){a=r.map((function(r){return r.lab()})),f=a[0],i=a[1],o=a[2];n=function(r){var e=[0,1,2].map((function(e){return(1-r)*(1-r)*f[e]+2*(1-r)*r*i[e]+r*r*o[e]}));return new p(e,"lab")}}else if(r.length===4){var u;t=r.map((function(r){return r.lab()})),f=t[0],i=t[1],o=t[2],u=t[3];n=function(r){var e=[0,1,2].map((function(e){return(1-r)*(1-r)*(1-r)*f[e]+3*(1-r)*(1-r)*r*i[e]+3*(1-r)*r*r*o[e]+r*r*r*u[e]}));return new p(e,"lab")}}else if(r.length===5){var v=Ia(r.slice(0,3));var l=Ia(r.slice(2,5));n=function(r){if(r<.5){return v(r*2)}else{return l((r-.5)*2)}}}return n};var Da=function(r){var e=Ia(r);e.scale=function(){return La(e)};return e};var za=function(r,e,a){if(!za[a]){throw new Error("unknown blend mode "+a)}return za[a](r,e)};var Ya=function(r){return function(e,a){var t=m(a).rgb();var n=m(e).rgb();return m.rgb(r(t,n))}};var Qa=function(r){return function(e,a){var t=[];t[0]=r(e[0],a[0]);t[1]=r(e[1],a[1]);t[2]=r(e[2],a[2]);return t}};var Sa=function(r){return r};var Ta=function(r,e){return r*e/255};var Va=function(r,e){return r>e?e:r};var Xa=function(r,e){return r>e?r:e};var $a=function(r,e){return 255*(1-(1-r/255)*(1-e/255))};var Wa=function(r,e){return e<128?2*r*e/255:255*(1-2*(1-r/255)*(1-e/255))};var Za=function(r,e){return 255*(1-(1-e/255)/(r/255))};var Ha=function(r,e){if(r===255){return 255}r=255*(e/255)/(1-r/255);return r>255?255:r};za.normal=Ya(Qa(Sa));za.multiply=Ya(Qa(Ta));za.screen=Ya(Qa($a));za.overlay=Ya(Qa(Wa));za.darken=Ya(Qa(Va));za.lighten=Ya(Qa(Xa));za.dodge=Ya(Qa(Ha));za.burn=Ya(Qa(Za));var Ua=za;var Ka=l.type;var Ja=l.clip_rgb;var rt=l.TWOPI;var et=Math.pow;var at=Math.sin;var tt=Math.cos;var nt=function(r,e,a,t,n){if(r===void 0)r=300;if(e===void 0)e=-1.5;if(a===void 0)a=1;if(t===void 0)t=1;if(n===void 0)n=[0,1];var f=0,i;if(Ka(n)==="array"){i=n[1]-n[0]}else{i=0;n=[n,n]}var o=function(o){var u=rt*((r+120)/360+e*o);var v=et(n[0]+i*o,t);var l=f!==0?a[0]+o*f:a;var c=l*v*(1-v)/2;var h=tt(u);var s=at(u);var d=v+c*(-.14861*h+1.78277*s);var b=v+c*(-.29227*h-.90649*s);var p=v+c*(+1.97294*h);return m(Ja([d*255,b*255,p*255,1]))};o.start=function(e){if(e==null){return r}r=e;return o};o.rotations=function(r){if(r==null){return e}e=r;return o};o.gamma=function(r){if(r==null){return t}t=r;return o};o.hue=function(r){if(r==null){return a}a=r;if(Ka(a)==="array"){f=a[1]-a[0];if(f===0){a=a[1]}}else{f=0}return o};o.lightness=function(r){if(r==null){return n}if(Ka(r)==="array"){n=r;i=r[1]-r[0]}else{n=[r,r];i=0}return o};o.scale=function(){return m.scale(o)};o.hue(a);return o};var ft="0123456789abcdef";var it=Math.floor;var ot=Math.random;var ut=function(){var r="#";for(var e=0;e<6;e++){r+=ft.charAt(it(ot()*16))}return new p(r,"hex")};var vt=Math.log;var lt=Math.pow;var ct=Math.floor;var ht=Math.abs;var st=function(r,e){if(e===void 0)e=null;var a={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0};if(i(r)==="object"){r=Object.values(r)}r.forEach((function(r){if(e&&i(r)==="object"){r=r[e]}if(r!==undefined&&r!==null&&!isNaN(r)){a.values.push(r);a.sum+=r;if(r<a.min){a.min=r}if(r>a.max){a.max=r}a.count+=1}}));a.domain=[a.min,a.max];a.limits=function(r,e){return dt(a,r,e)};return a};var dt=function(r,e,a){if(e===void 0)e="equal";if(a===void 0)a=7;if(i(r)=="array"){r=st(r)}var t=r.min;var n=r.max;var f=r.values.sort((function(r,e){return r-e}));if(a===1){return[t,n]}var o=[];if(e.substr(0,1)==="c"){o.push(t);o.push(n)}if(e.substr(0,1)==="e"){o.push(t);for(var u=1;u<a;u++){o.push(t+u/a*(n-t))}o.push(n)}else if(e.substr(0,1)==="l"){if(t<=0){throw new Error("Logarithmic scales are only possible for values > 0")}var v=Math.LOG10E*vt(t);var l=Math.LOG10E*vt(n);o.push(t);for(var c=1;c<a;c++){o.push(lt(10,v+c/a*(l-v)))}o.push(n)}else if(e.substr(0,1)==="q"){o.push(t);for(var h=1;h<a;h++){var s=(f.length-1)*h/a;var d=ct(s);if(d===s){o.push(f[d])}else{var b=s-d;o.push(f[d]*(1-b)+f[d+1]*b)}}o.push(n)}else if(e.substr(0,1)==="k"){var p;var g=f.length;var m=new Array(g);var w=new Array(a);var y=true;var k=0;var _=null;_=[];_.push(t);for(var x=1;x<a;x++){_.push(t+x/a*(n-t))}_.push(n);while(y){for(var M=0;M<a;M++){w[M]=0}for(var N=0;N<g;N++){var q=f[N];var A=Number.MAX_VALUE;var j=void 0;for(var E=0;E<a;E++){var C=ht(_[E]-q);if(C<A){A=C;j=E}w[j]++;m[N]=j}}var F=new Array(a);for(var P=0;P<a;P++){F[P]=null}for(var G=0;G<g;G++){p=m[G];if(F[p]===null){F[p]=f[G]}else{F[p]+=f[G]}}for(var O=0;O<a;O++){F[O]*=1/w[O]}y=false;for(var B=0;B<a;B++){if(F[B]!==_[B]){y=true;break}}_=F;k++;if(k>200){y=false}}var L={};for(var R=0;R<a;R++){L[R]=[]}for(var I=0;I<g;I++){p=m[I];L[p].push(f[I])}var D=[];for(var z=0;z<a;z++){D.push(L[z][0]);D.push(L[z][L[z].length-1])}D=D.sort((function(r,e){return r-e}));o.push(D[0]);for(var Y=1;Y<D.length;Y+=2){var Q=D[Y];if(!isNaN(Q)&&o.indexOf(Q)===-1){o.push(Q)}}}return o};var bt={analyze:st,limits:dt};var pt=function(r,e){r=new p(r);e=new p(e);var a=r.luminance();var t=e.luminance();return a>t?(a+.05)/(t+.05):(t+.05)/(a+.05)};var gt=Math.sqrt;var mt=Math.atan2;var wt=Math.abs;var yt=Math.cos;var kt=Math.PI;var _t=function(r,e,a,t){if(a===void 0)a=1;if(t===void 0)t=1;r=new p(r);e=new p(e);var n=Array.from(r.lab());var f=n[0];var i=n[1];var o=n[2];var u=Array.from(e.lab());var v=u[0];var l=u[1];var c=u[2];var h=gt(i*i+o*o);var s=gt(l*l+c*c);var d=f<16?.511:.040975*f/(1+.01765*f);var b=.0638*h/(1+.0131*h)+.638;var g=h<1e-6?0:mt(o,i)*180/kt;while(g<0){g+=360}while(g>=360){g-=360}var m=g>=164&&g<=345?.56+wt(.2*yt(kt*(g+168)/180)):.36+wt(.4*yt(kt*(g+35)/180));var w=h*h*h*h;var y=gt(w/(w+1900));var k=b*(y*m+1-y);var _=f-v;var x=h-s;var M=i-l;var N=o-c;var q=M*M+N*N-x*x;var A=_/(a*d);var j=x/(t*b);var E=k;return gt(A*A+j*j+q/(E*E))};var xt=function(r,e,a){if(a===void 0)a="lab";r=new p(r);e=new p(e);var t=r.get(a);var n=e.get(a);var f=0;for(var i in t){var o=(t[i]||0)-(n[i]||0);f+=o*o}return Math.sqrt(f)};var Mt=function(){var r=[],e=arguments.length;while(e--)r[e]=arguments[e];try{new(Function.prototype.bind.apply(p,[null].concat(r)));return true}catch(r){return false}};var Nt={cool:function r(){return La([m.hsl(180,1,.9),m.hsl(250,.7,.4)])},hot:function r(){return La(["#000","#f00","#ff0","#fff"]).mode("rgb")}};var qt={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]};for(var At=0,jt=Object.keys(qt);At<jt.length;At+=1){var Et=jt[At];qt[Et.toLowerCase()]=qt[Et]}var Ct=qt;m.average=Pa;m.bezier=Da;m.blend=Ua;m.cubehelix=nt;m.mix=m.interpolate=ca;m.random=ut;m.scale=La;m.analyze=bt.analyze;m.contrast=pt;m.deltaE=_t;m.distance=xt;m.limits=bt.limits;m.valid=Mt;m.scales=Nt;m.colors=Re;m.brewer=Ct;var Ft=m;return Ft}))}));var wrBigQuoteCss=".big-quote{--tw-bg-opacity:1;background-color:rgba(255, 255, 255, var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(26, 26, 26, var(--tw-text-opacity));padding-top:2rem;padding-bottom:2rem}@media (min-width: 1024px){.big-quote{padding-top:4rem}}.big-quote{padding-left:1rem;padding-right:1rem}@media (min-width: 768px){.big-quote{padding-left:2.5rem;padding-right:2.5rem}}.big-quote{border-radius:.25rem;position:relative;margin:0px}.big-quote.dark{--tw-bg-opacity:1;background-color:rgba(26, 26, 26, var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.quote{position:relative;font-size:1.0625rem;line-height:1.75rem}@media (min-width: 768px){.quote{font-size:1.25rem;line-height:2rem}}.quote svg{top:100%;left:100%;-webkit-transform:translateY(-100%) translateX(-100%) rotate(180deg);transform:translateY(-100%) translateX(-100%) rotate(180deg)}svg{--tw-text-opacity:1;color:rgba(245, 149, 6, var(--tw-text-opacity));height:3.5rem;position:absolute;top:1.5rem;left:1rem}@media (min-width: 768px){svg{left:2.5rem}}svg{opacity:0.2}.author{display:-ms-flexbox;display:flex;gap:0.75rem}@media (min-width: 768px){.author{gap:1.5rem}}.author{-ms-flex-direction:column;flex-direction:column}@media (min-width: 768px){.author{-ms-flex-direction:row;flex-direction:row}.author{-ms-flex-align:center;align-items:center}}.author{margin-top:1.5rem}.author__image{margin:0px;height:4rem;width:4rem;position:relative;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.author__image img{position:absolute;top:0px;right:0px;bottom:0px;left:0px;height:100%;width:100%;-o-object-fit:cover;object-fit:cover;border-radius:50%}.author__name{font-size:1.0625rem;line-height:1.75rem}@media (min-width: 768px){.author__name{font-size:1.25rem;line-height:2rem}}.author__name{display:block;margin:0px}.author__function{font-size:0.9375rem;line-height:1.5rem}@media (min-width: 768px){.author__function{font-size:1.0625rem;line-height:1.75rem}}.author__function{margin:0px}";var WrBigQuote=function(){function r(r){var e=this;registerInstance(this,r);this.getQuoteColor=function(){if(!chroma.valid(e.quoteColor)){return"#faaf40"}return e.quoteColor}}r.prototype.render=function(){return h("blockquote",{class:["big-quote",this.isDark?"dark":""].join(" ")},this.renderQuote(),h("section",{class:"quote"},h("slot",null),this.renderQuote()),this.renderAuthor())};r.prototype.renderQuote=function(){return h("svg",{width:"85",height:"56",viewBox:"0 0 85 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:this.getQuoteColor()}},h("path",{d:"M84.9825 56V0L51.579 25.7895V56H84.9825ZM33.1579 56V0L0 25.7895V56H33.1579Z",fill:"currentColor"}))};r.prototype.renderAuthor=function(){return h("footer",{class:"author"},h("figure",{class:"author__image"},h("img",{src:this.authorImage,alt:""})),h("div",null,h("strong",{class:"author__name"},this.authorName),h("span",{class:"author__function"},this.authorFunction)))};return r}();WrBigQuote.style=wrBigQuoteCss;export{WrBigQuote as wr_big_quote};

@@ -1,1 +0,1 @@

import{r as registerInstance,h,g as getElement}from"./index-e41e20bc.js";import{t as throttle}from"./utils-3b0bf2b4.js";var Point=function(){function t(t,i){this.x=t;this.y=i}return t}();var Vector=function(){function t(t,i){this.x=t;this.y=i}Object.defineProperty(t.prototype,"normalized",{get:function(){return new Point(this.x/Math.abs(this.x),this.y/Math.abs(this.y))},enumerable:false,configurable:true});t.prototype.interval=function(t){return new Point(this.x/t.x,this.y/t.y)};return t}();var Plane=function(){function t(t,i){this.width=t;this.height=i;this.width=t;this.height=i;this.center=new Point(t/2,i/2);this.area=this.width*this.height}t.prototype.getPointVectorFromCenter=function(t){return new Vector(t.x-this.center.x,this.center.y-t.y)};t.prototype._isPointInside=function(t){return t.x<this.width&&t.x>0&&t.y>0&&t.y<this.height};Object.defineProperty(t.prototype,"outerEdge",{get:function(){return new Point(this.width,this.height)},enumerable:false,configurable:true});return t}();var wrCaseHighlightCss=".perspective-wrapper{-webkit-perspective:1200px;perspective:1200px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.case-card{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);border-radius:.25rem;position:relative;width:100%;display:-ms-flexbox;display:flex;overflow:hidden;--tw-bg-opacity:1;background-color:rgba(245, 149, 6, var(--tw-bg-opacity));height:15rem;--rotate-x:0;--rotate-y:0;will-change:transform}.case-card__background{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);display:block;position:absolute;top:0px;right:0px;bottom:0px;left:0px;border-radius:.25rem;--tw-scale-x:1.25;--tw-scale-y:1.25;-webkit-transform:var(--tw-transform);transform:var(--tw-transform);transform:var(--tw-transform);-o-object-fit:cover;object-fit:cover;height:100%;width:100%;background-position:var(--preferred-x) var(--preferred-y)}.case-card__footer{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);margin-top:auto;padding-left:1rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;position:relative;z-index:1;pointer-events:none}.case-card__link{position:absolute;top:0px;right:0px;bottom:0px;left:0px;background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(53, 53, 53, 0.0001)), color-stop(99.29%, rgba(0, 0, 0, 0.8)));background-image:linear-gradient(180deg, rgba(53, 53, 53, 0.0001) 0%, rgba(0, 0, 0, 0.8) 99.29%)}.case-card h3{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity));margin-top:0px;margin-bottom:0px}.case-card__button{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin-left:auto;height:3rem;width:3rem;padding:0px;--tw-bg-opacity:1;background-color:rgba(26, 26, 26, var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity));border-top-left-radius:.25rem;border-bottom-right-radius:.25rem;border-width:0px;margin-left:auto}.case-card:hover{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);--tw-shadow:0 12px 25px rgb(0, 0, 0, 0.05);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:translate3d(0, 0, 2rem) rotateX(var(--rotate-y)) rotateY(var(--rotate-x));transform:translate3d(0, 0, 2rem) rotateX(var(--rotate-y)) rotateY(var(--rotate-x))}.case-card:hover .case-card__button{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);--tw-bg-opacity:1;background-color:rgba(245, 149, 6, var(--tw-bg-opacity))}.case-card:hover .case-card__background{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:linear;transition-timing-function:linear}.case-card:hover h3{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);-webkit-transform:translate3d(calc(var(--translate-x) * -1.25), calc(var(--translate-y) * -1.25), 2rem);transform:translate3d(calc(var(--translate-x) * -1.25), calc(var(--translate-y) * -1.25), 2rem);-webkit-transform-origin:left bottom;transform-origin:left bottom}";var WrCaseHighlight=function(){function t(t){registerInstance(this,t);this.backgroundX="50%";this.backgroundY="50%"}t.prototype.componentDidLoad=function(){this.card.addEventListener("mousemove",throttle(this.handleMouseOver.bind(this),16));this.card.addEventListener("mouseout",this.handleMouseLeave.bind(this))};t.prototype.handleMouseLeave=function(){var t=this.card;t.style.setProperty("--rotate-x","0deg");t.style.setProperty("--rotate-y","0deg")};t.prototype.handleMouseOver=function(t){var i=this.card;var r=new Plane(i.clientWidth,i.clientHeight);var n=new Point(t.offsetX,t.offsetY);var e=r.getPointVectorFromCenter(n);i.style.setProperty("--rotate-x",e.interval(r.outerEdge).x*12+"deg");i.style.setProperty("--translate-x",e.interval(r.outerEdge).x*12+"%");i.style.setProperty("--rotate-y",e.interval(r.outerEdge).y*25+"deg");i.style.setProperty("--translate-y",e.interval(r.outerEdge).y*25+"%")};t.prototype.render=function(){var t=this;return h("div",{class:"perspective-wrapper"},h("article",{class:"case-card",ref:function(i){return t.card=i}},this.renderImage(),h("a",{class:"case-card__link",href:this.href,title:"Bekijk "+this.caseTitle}),h("footer",{class:"case-card__footer"},h("h3",{class:"is-h6"},this.caseTitle),h("button",{class:"case-card__button",name:"Bekijk "+this.caseTitle},this.renderPlayArrow()))))};t.prototype.renderImage=function(){return h("img",{class:"case-card__background",loading:"lazy",src:this.background,alt:""})};t.prototype.renderPlayArrow=function(){return h("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"play-arrow"},h("path",{d:"M0 1.49946C0.00724877 1.22427 0.0894759 0.955945 0.238208 0.722137C0.38694 0.48833 0.596797 0.297496 0.846152 0.169301C1.08606 0.0475163 1.35458 -0.0103541 1.62467 0.00151974C1.89476 0.0133936 2.15687 0.0945922 2.38461 0.236936L9.30768 4.74594C9.52148 4.88349 9.69677 5.07099 9.81766 5.29145C9.93855 5.51191 10.0012 5.75836 9.99998 6.00846C9.99911 6.25338 9.93697 6.49439 9.819 6.7105C9.70102 6.92661 9.53077 7.11128 9.32306 7.24843L2.32307 11.7574C2.0971 11.9047 1.83392 11.9882 1.5625 11.9988C1.29107 12.0095 1.02191 11.9467 0.784614 11.8176C0.548105 11.6877 0.350957 11.499 0.213162 11.2707C0.0753673 11.0424 0.00182731 10.7825 0 10.5175L0 1.49946Z",fill:"currentColor"}))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();WrCaseHighlight.style=wrCaseHighlightCss;export{WrCaseHighlight as wr_case_highlight};
import{r as registerInstance,h,g as getElement}from"./index-e41e20bc.js";import{t as throttle}from"./utils-3b0bf2b4.js";var Point=function(){function t(t,i){this.x=t;this.y=i}return t}();var Vector=function(){function t(t,i){this.x=t;this.y=i}Object.defineProperty(t.prototype,"normalized",{get:function(){return new Point(this.x/Math.abs(this.x),this.y/Math.abs(this.y))},enumerable:false,configurable:true});t.prototype.interval=function(t){return new Point(this.x/t.x,this.y/t.y)};return t}();var Plane=function(){function t(t,i){this.width=t;this.height=i;this.width=t;this.height=i;this.center=new Point(t/2,i/2);this.area=this.width*this.height}t.prototype.getPointVectorFromCenter=function(t){return new Vector(t.x-this.center.x,this.center.y-t.y)};t.prototype._isPointInside=function(t){return t.x<this.width&&t.x>0&&t.y>0&&t.y<this.height};Object.defineProperty(t.prototype,"outerEdge",{get:function(){return new Point(this.width,this.height)},enumerable:false,configurable:true});return t}();var wrCaseHighlightCss=".perspective-wrapper{-webkit-perspective:1200px;perspective:1200px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.case-card{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);border-radius:.25rem;position:relative;width:100%;display:-ms-flexbox;display:flex;overflow:hidden;--tw-bg-opacity:1;background-color:rgba(245, 149, 6, var(--tw-bg-opacity));height:15rem;--rotate-x:0;--rotate-y:0;will-change:transform}.case-card__background{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);display:block;position:absolute;top:0px;right:0px;bottom:0px;left:0px;border-radius:.25rem;--tw-scale-x:1.25;--tw-scale-y:1.25;-webkit-transform:var(--tw-transform);transform:var(--tw-transform);transform:var(--tw-transform);-o-object-fit:cover;object-fit:cover;height:100%;width:100%;background-position:var(--preferred-x) var(--preferred-y)}.case-card__footer{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);margin-top:auto;padding-left:1rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;position:relative;z-index:1;pointer-events:none}.case-card__link{position:absolute;top:0px;right:0px;bottom:0px;left:0px;background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(53, 53, 53, 0.0001)), color-stop(99.29%, rgba(0, 0, 0, 0.8)));background-image:linear-gradient(180deg, rgba(53, 53, 53, 0.0001) 0%, rgba(0, 0, 0, 0.8) 99.29%)}.case-card h3{--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity));margin-top:0px;margin-bottom:0px}.case-card__button{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin-left:auto;height:3rem;width:3rem;padding:0px;--tw-bg-opacity:1;background-color:rgba(26, 26, 26, var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity));border-top-left-radius:.25rem;border-bottom-right-radius:.25rem;border-width:0px;margin-left:auto}.case-card:hover{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);--tw-shadow:0 12px 25px rgb(0, 0, 0, 0.05);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:translate3d(0, 0, 2rem) rotateX(var(--rotate-y)) rotateY(var(--rotate-x));transform:translate3d(0, 0, 2rem) rotateX(var(--rotate-y)) rotateY(var(--rotate-x))}.case-card:hover .case-card__button{-webkit-transition-property:background-color, border-color, color, fill, stroke;transition-property:background-color, border-color, color, fill, stroke;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);--tw-bg-opacity:1;background-color:rgba(245, 149, 6, var(--tw-bg-opacity))}.case-card:hover .case-card__background{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:linear;transition-timing-function:linear}.case-card:hover h3{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-duration:225ms;transition-duration:225ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);-webkit-transform:translate3d(calc(var(--translate-x) * -1.25), calc(var(--translate-y) * -1.25), 2rem);transform:translate3d(calc(var(--translate-x) * -1.25), calc(var(--translate-y) * -1.25), 2rem);-webkit-transform-origin:left bottom;transform-origin:left bottom}";var WrCaseHighlight=function(){function t(t){registerInstance(this,t);this.backgroundX="50%";this.backgroundY="50%"}t.prototype.componentDidLoad=function(){this.card.addEventListener("mousemove",throttle(this.handleMouseOver.bind(this),16));this.card.addEventListener("mouseout",this.handleMouseLeave.bind(this))};t.prototype.handleMouseLeave=function(){var t=this.card;t.style.setProperty("--rotate-x","0deg");t.style.setProperty("--rotate-y","0deg")};t.prototype.handleMouseOver=function(t){var i=this.card;var r=new Plane(i.clientWidth,i.clientHeight);var n=new Point(t.offsetX,t.offsetY);var e=r.getPointVectorFromCenter(n);i.style.setProperty("--rotate-x",e.interval(r.outerEdge).x*12+"deg");i.style.setProperty("--translate-x",e.interval(r.outerEdge).x*12+"%");i.style.setProperty("--rotate-y",e.interval(r.outerEdge).y*25+"deg");i.style.setProperty("--translate-y",e.interval(r.outerEdge).y*25+"%")};t.prototype.render=function(){var t=this;return h("div",{class:"perspective-wrapper"},h("article",{class:"case-card",ref:function(i){return t.card=i}},this.renderImage(),h("a",{class:"case-card__link",href:this.href,"aria-label":"Bekijk "+this.caseTitle}),h("footer",{class:"case-card__footer"},h("h3",{class:"is-h6"},this.caseTitle),h("button",{class:"case-card__button","aria-label":"Bekijk "+this.caseTitle},this.renderPlayArrow()))))};t.prototype.renderImage=function(){return h("img",{class:"case-card__background",loading:"lazy",src:this.background,alt:"",srcset:this.backgroundSrcSet})};t.prototype.renderPlayArrow=function(){return h("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"play-arrow"},h("path",{d:"M0 1.49946C0.00724877 1.22427 0.0894759 0.955945 0.238208 0.722137C0.38694 0.48833 0.596797 0.297496 0.846152 0.169301C1.08606 0.0475163 1.35458 -0.0103541 1.62467 0.00151974C1.89476 0.0133936 2.15687 0.0945922 2.38461 0.236936L9.30768 4.74594C9.52148 4.88349 9.69677 5.07099 9.81766 5.29145C9.93855 5.51191 10.0012 5.75836 9.99998 6.00846C9.99911 6.25338 9.93697 6.49439 9.819 6.7105C9.70102 6.92661 9.53077 7.11128 9.32306 7.24843L2.32307 11.7574C2.0971 11.9047 1.83392 11.9882 1.5625 11.9988C1.29107 12.0095 1.02191 11.9467 0.784614 11.8176C0.548105 11.6877 0.350957 11.499 0.213162 11.2707C0.0753673 11.0424 0.00182731 10.7825 0 10.5175L0 1.49946Z",fill:"currentColor"}))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();WrCaseHighlight.style=wrCaseHighlightCss;export{WrCaseHighlight as wr_case_highlight};

@@ -1,1 +0,1 @@

import{r as registerInstance,h}from"./index-e41e20bc.js";function _extends(){_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var a in r){if(Object.prototype.hasOwnProperty.call(r,a)){t[a]=r[a]}}}return t};return _extends.apply(this,arguments)}var $=function t(e,r){return e.querySelector(r)};var $$=function t(e,r){return e.querySelectorAll(r)};var removeUndefinedProps=function t(e){if(e===void 0){e={}}var r={};Object.keys(e).forEach((function(t){if(typeof e[t]!=="undefined")r[t]=e[t]}));return r};function Atropos(t){if(t===void 0){t={}}var e=t,r=e.el,a=e.eventsEl;var o={__atropos__:true,params:_extends({alwaysActive:false,activeOffset:50,shadowOffset:50,shadowScale:1,duration:300,rotate:true,rotateTouch:true,rotateXMax:15,rotateYMax:15,rotateXInvert:false,rotateYInvert:false,stretchX:0,stretchY:0,stretchZ:0,commonOrigin:true,shadow:true,highlight:true,onEnter:null,onLeave:null,onRotate:null},removeUndefinedProps(t||{})),destroyed:false,isActive:false};var i=o.params;var n;var s;var c;var p;var f;var u;var d;var l;var h;var m;var v=[];var y;var g=function t(){y=requestAnimationFrame((function(){v.forEach((function(t){if(typeof t==="function"){t()}else{var e=t.element,r=t.prop,a=t.value;e.style[r]=a}}));v.splice(0,v.length);t()}))};g();var b=function t(e,r){v.push({element:e,prop:"transitionDuration",value:r})};var w=function t(e,r){v.push({element:e,prop:"transitionTimingFunction",value:r})};var x=function t(e,r){v.push({element:e,prop:"transform",value:r})};var k=function t(e,r){v.push({element:e,prop:"opacity",value:r})};var _=function t(e,r){v.push({element:e,prop:"transformOrigin",value:r})};var M=function t(e,r,a,o){return e.addEventListener(r,a,o)};var L=function t(e,r,a,o){return e.removeEventListener(r,a,o)};var O=function t(){var e;u=$(r,".atropos-shadow");if(!u){u=document.createElement("span");u.classList.add("atropos-shadow");e=true}x(u,"translate3d(0,0,-"+i.shadowOffset+"px) scale("+i.shadowScale+")");if(e){n.appendChild(u)}};var E=function t(){var e;d=$(r,".atropos-highlight");if(!d){d=document.createElement("span");d.classList.add("atropos-highlight");e=true}x(d,"translate3d(0,0,0)");if(e){c.appendChild(d)}};var I=function t(e){var a=e.rotateXPercentage,o=a===void 0?0:a,i=e.rotateYPercentage,n=i===void 0?0:i,s=e.duration,c=e.opacityOnly,p=e.easeOut;var f=function t(e){if(e.dataset.atroposOpacity&&typeof e.dataset.atroposOpacity==="string"){return e.dataset.atroposOpacity.split(";").map((function(t){return parseFloat(t)}))}return undefined};$$(r,"[data-atropos-offset], [data-atropos-opacity]").forEach((function(t){b(t,s);w(t,p?"ease-out":"");var e=f(t);if(o===0&&n===0){if(!c)x(t,"translate3d(0, 0, 0)");if(e)k(t,e[0])}else{var r=parseFloat(t.dataset.atroposOffset)/100;if(!Number.isNaN(r)&&!c){x(t,"translate3d("+-n*-r+"%, "+o*-r+"%, 0)")}if(e){var a=e[0],i=e[1];var u=Math.max(Math.abs(o),Math.abs(n));k(t,a+(i-a)*u/100)}}}))};var T=function t(e,o){var s=r!==a;if(!p){p=r.getBoundingClientRect()}if(s&&!f){f=a.getBoundingClientRect()}if(typeof e==="undefined"&&typeof o==="undefined"){var c=s?f:p;e=c.left+c.width/2;o=c.top+c.height/2}var u=0;var l=0;var h=p,m=h.top,v=h.left,y=h.width,g=h.height;var M;if(!s){var L=y/2;var O=g/2;var E=e-v;var T=o-m;l=i.rotateYMax*(E-L)/(y/2)*-1;u=i.rotateXMax*(T-O)/(g/2)}else{var A=f,X=A.top,Y=A.left,C=A.width,z=A.height;var $=v-Y;var R=m-X;var j=y/2+$;var D=g/2+R;var P=e-Y;var F=o-X;l=i.rotateYMax*(P-j)/(C-y/2)*-1;u=i.rotateXMax*(F-D)/(z-g/2);M=e-v+"px "+(o-m)+"px"}u=Math.min(Math.max(-u,-i.rotateXMax),i.rotateXMax);if(i.rotateXInvert)u=-u;l=Math.min(Math.max(-l,-i.rotateYMax),i.rotateYMax);if(i.rotateYInvert)l=-l;var S=u/i.rotateXMax*100;var B=l/i.rotateYMax*100;var q=(s?B/100*i.stretchX:0)*(i.rotateYInvert?-1:1);var W=(s?S/100*i.stretchY:0)*(i.rotateXInvert?-1:1);var N=s?Math.max(Math.abs(S),Math.abs(B))/100*i.stretchZ:0;x(n,"translate3d("+q+"%, "+-W+"%, "+-N+"px) rotateX("+u+"deg) rotateY("+l+"deg)");if(M&&i.commonOrigin){_(n,M)}if(d){b(d,i.duration+"ms");w(d,"ease-out");x(d,"translate3d("+-B*.25+"%, "+S*.25+"%, 0)");k(d,Math.max(Math.abs(S),Math.abs(B))/100)}I({rotateXPercentage:S,rotateYPercentage:B,duration:i.duration+"ms",easeOut:true});if(typeof i.onRotate==="function")i.onRotate(u,l)};var A=function t(){v.push((function(){return r.classList.add("atropos-active")}));b(n,i.duration+"ms");w(n,"ease-out");x(s,"translate3d(0,0, "+i.activeOffset+"px)");b(s,i.duration+"ms");w(s,"ease-out");if(u){b(u,i.duration+"ms");w(u,"ease-out")}o.isActive=true};var X=function t(e){l=undefined;if(e.type==="pointerdown"&&e.pointerType==="mouse")return;if(e.type==="pointerenter"&&e.pointerType!=="mouse")return;if(e.type==="pointerdown"){e.preventDefault()}h=e.clientX;m=e.clientY;if(i.alwaysActive){p=undefined;f=undefined;return}A();if(typeof i.onEnter==="function")i.onEnter()};var Y=function t(e){if(l===false&&e.cancelable){e.preventDefault()}};var C=function t(e){if(!i.rotate||!o.isActive)return;if(e.pointerType!=="mouse"){if(!i.rotateTouch)return;e.preventDefault()}var a=e.clientX,n=e.clientY;var s=a-h;var c=n-m;if(typeof i.rotateTouch==="string"&&(s!==0||c!==0)&&typeof l==="undefined"){if(s*s+c*c>=25){var p=Math.atan2(Math.abs(c),Math.abs(s))*180/Math.PI;l=i.rotateTouch==="scroll-y"?p>45:90-p>45}if(l===false){r.classList.add("atropos-rotate-touch");if(e.cancelable){e.preventDefault()}}}if(e.pointerType!=="mouse"&&l){return}T(a,n)};var z=function t(e){p=undefined;f=undefined;if(!o.isActive)return;if(e&&e.type==="pointerup"&&e.pointerType==="mouse")return;if(e&&e.type==="pointerleave"&&e.pointerType!=="mouse")return;if(typeof i.rotateTouch==="string"&&l){r.classList.remove("atropos-rotate-touch")}if(i.alwaysActive){T();if(typeof i.onRotate==="function")i.onRotate(0,0);if(typeof i.onLeave==="function")i.onLeave();return}v.push((function(){return r.classList.remove("atropos-active")}));b(s,i.duration+"ms");w(s,"");x(s,"translate3d(0,0, "+0+"px)");if(u){b(u,i.duration+"ms");w(u,"")}if(d){b(d,i.duration+"ms");w(d,"");x(d,"translate3d(0, 0, 0)");k(d,0)}b(n,i.duration+"ms");w(n,"");x(n,"translate3d(0,0,0) rotateX(0deg) rotateY(0deg)");I({duration:i.duration+"ms"});o.isActive=false;if(typeof i.onRotate==="function")i.onRotate(0,0);if(typeof i.onLeave==="function")i.onLeave()};var R=function t(e){var r=e.target;if(!a.contains(r)&&r!==a&&o.isActive){z()}};var j=function t(){if(typeof r==="string"){r=$(document,r)}if(!r)return;if(r.__atropos__)return;if(typeof a!=="undefined"){if(typeof a==="string"){a=$(document,a)}}else{a=r}Object.assign(o,{el:r});n=$(r,".atropos-rotate");s=$(r,".atropos-scale");c=$(r,".atropos-inner");r.__atropos__=o};var D=function t(){j();if(!r||!a)return;if(i.shadow){O()}if(i.highlight){E()}if(i.rotateTouch){if(typeof i.rotateTouch==="string"){r.classList.add("atropos-rotate-touch-"+i.rotateTouch)}else{r.classList.add("atropos-rotate-touch")}}if($(r,"[data-atropos-opacity]")){I({opacityOnly:true})}M(document,"click",R);M(a,"pointerdown",X);M(a,"pointerenter",X);M(a,"pointermove",C);M(a,"touchmove",Y);M(a,"pointerleave",z);M(a,"pointerup",z);M(a,"lostpointercapture",z);if(i.alwaysActive){A();T()}};var P=function t(){o.destroyed=true;cancelAnimationFrame(y);L(document,"click",R);L(a,"pointerdown",X);L(a,"pointerenter",X);L(a,"pointermove",C);L(a,"touchmove",Y);L(a,"pointerleave",z);L(a,"pointerup",z);L(a,"lostpointercapture",z);delete r.__atropos__};o.destroy=P;D();return o}var wrCaseCss=".atropos{position:relative;display:block;-webkit-perspective:1200px;perspective:1200px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.atropos-rotate-touch,.atropos-rotate-scroll-x,.atropos-rotate-scroll-y{-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.atropos-rotate-touch-scroll-y{-ms-touch-action:pan-y;touch-action:pan-y}.atropos-rotate-touch-scroll-x{-ms-touch-action:pan-x;touch-action:pan-x}.atropos-rotate-touch{-ms-touch-action:none;touch-action:none}.atropos-scale,.atropos-rotate{width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.atropos-shadow,.atropos-highlight{position:absolute;pointer-events:none;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;display:block;opacity:0}.atropos-shadow{z-index:-1;background:#000;left:0;top:0;width:100%;height:100%;-webkit-filter:blur(30px);filter:blur(30px)}.atropos-highlight{left:-50%;top:-50%;width:200%;height:200%;background-image:radial-gradient(circle at 50%, rgba(255, 255, 255, 0.25), transparent 50%);z-index:0}.atropos-rotate{position:relative}.atropos-inner{width:100%;height:100%;position:relative;overflow:hidden;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:block}.atropos-active{z-index:1}.atropos-active .atropos-shadow{opacity:1 !important}[data-atropos-offset]{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}[data-atropos-opacity]{-webkit-transition-property:opacity;transition-property:opacity}[data-atropos-offset][data-atropos-opacity]{-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform}:host{display:block;width:100%}.perspective-wrapper{-webkit-perspective:500px;perspective:500px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.case-card{-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);position:relative;width:100%;overflow:hidden}.case-card.mockup-front .case-card__accessory{z-index:0}.case-card__accessory,.case-card__mockup{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:1;margin:0px}.case-card__accessory img,.case-card__mockup img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;position:absolute;top:0px;right:0px;bottom:0px;left:0px}.case-card .background-image{position:relative;top:0px;right:0px;bottom:0px;left:0px;margin:0px}.case-card .background-image img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;border-radius:.25rem;display:block}.case-card .case-card__body{bottom:1rem;padding-top:1.25rem}@media (min-width: 375px){.case-card .case-card__body{bottom:1.75rem}}@media (min-width: 768px){.case-card .case-card__body{bottom:2.5rem}}.case-card .case-card__body{position:absolute;z-index:50;left:2.5rem;right:2.5rem}@media (min-width: 375px){.case-card .case-card__body{left:3.5rem;right:3.5rem}}@media (min-width: 768px){.case-card .case-card__body{left:5.5rem;right:5.5rem}}.case-card h2,.case-card h5{margin:0px;color:var(--text-color)}.case-card h2{font-size:1.25rem;line-height:2rem}@media (min-width: 1024px){.case-card h2{font-size:2.5rem;line-height:3.5rem}}.case-card h5{font-size:0.9375rem;line-height:1.5rem;font-weight:400}@media (min-width: 1024px){.case-card h5{font-size:1.25rem;line-height:2rem}}";var WrCase=function(){function t(t){registerInstance(this,t);this.backgroundOpacity=.2;this.href="#"}t.prototype.checkForDeprecations=function(){};t.prototype.componentWillLoad=function(){this.checkForDeprecations()};t.prototype.componentDidLoad=function(){this.bindAtropos();this.calculateCardColors();this.checkImagesOrRemove()};t.prototype.bindAtropos=function(){Atropos({el:this.atroposElement,shadow:false,highlight:false,rotateTouch:false})};t.prototype.render=function(){var t=this;return h("a",{class:"atropos",href:this.href,ref:function(e){return t.atroposElement=e}},h("div",{class:"atropos-scale"},h("div",{class:"atropos-rotate"},h("div",{class:"atropos-inner"},h("article",{class:["case-card"].join(" "),ref:function(e){return t.card=e}},this.renderBackgroundImage(),this.renderBottomLayer(),this.renderTopLayer(),h("div",{class:"case-card__body"},h("h2",{"data-atropos-offset":5},this.caseTitle),h("h5",{"data-atropos-offset":5},this.caseSubtitle)))))))};t.prototype.renderTopLayer=function(){var t=this;if(!this.topLayer){return}return h("figure",{class:"case-card__accessory","data-atropos-offset":2.5,ref:function(e){return t.accessoryImageElement=e}},h("img",{src:this.topLayer,alt:""}))};t.prototype.renderBottomLayer=function(){var t=this;if(!this.bottomLayer){return}return h("figure",{class:"case-card__mockup","data-atropos-offset":1.5,ref:function(e){return t.mockupImageElement=e}},h("img",{src:this.bottomLayer,alt:""}))};t.prototype.renderBackgroundImage=function(){var t=this;if(!this.backgroundImage){return}return h("figure",{class:"background-image","data-atropos-offset":1,ref:function(e){return t.backgroundImageElement=e}},h("img",{src:this.backgroundImage,alt:""}))};t.prototype.calculateCardColors=function(){};t.prototype.checkImagesOrRemove=function(){[this.backgroundImageElement,this.mockupImageElement,this.accessoryImageElement].forEach((function(t){if(!t||!t.querySelector){return}t.querySelector("img").addEventListener("error",(function(){t.parentElement.removeChild(t)}))}))};return t}();WrCase.style=wrCaseCss;export{WrCase as wr_case};
import{r as registerInstance,h}from"./index-e41e20bc.js";function _extends(){_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var a in r){if(Object.prototype.hasOwnProperty.call(r,a)){t[a]=r[a]}}}return t};return _extends.apply(this,arguments)}var $=function t(e,r){return e.querySelector(r)};var $$=function t(e,r){return e.querySelectorAll(r)};var removeUndefinedProps=function t(e){if(e===void 0){e={}}var r={};Object.keys(e).forEach((function(t){if(typeof e[t]!=="undefined")r[t]=e[t]}));return r};function Atropos(t){if(t===void 0){t={}}var e=t,r=e.el,a=e.eventsEl;var o={__atropos__:true,params:_extends({alwaysActive:false,activeOffset:50,shadowOffset:50,shadowScale:1,duration:300,rotate:true,rotateTouch:true,rotateXMax:15,rotateYMax:15,rotateXInvert:false,rotateYInvert:false,stretchX:0,stretchY:0,stretchZ:0,commonOrigin:true,shadow:true,highlight:true,onEnter:null,onLeave:null,onRotate:null},removeUndefinedProps(t||{})),destroyed:false,isActive:false};var i=o.params;var n;var s;var c;var p;var f;var u;var d;var l;var h;var m;var v=[];var y;var g=function t(){y=requestAnimationFrame((function(){v.forEach((function(t){if(typeof t==="function"){t()}else{var e=t.element,r=t.prop,a=t.value;e.style[r]=a}}));v.splice(0,v.length);t()}))};g();var b=function t(e,r){v.push({element:e,prop:"transitionDuration",value:r})};var w=function t(e,r){v.push({element:e,prop:"transitionTimingFunction",value:r})};var x=function t(e,r){v.push({element:e,prop:"transform",value:r})};var k=function t(e,r){v.push({element:e,prop:"opacity",value:r})};var _=function t(e,r){v.push({element:e,prop:"transformOrigin",value:r})};var M=function t(e,r,a,o){return e.addEventListener(r,a,o)};var L=function t(e,r,a,o){return e.removeEventListener(r,a,o)};var O=function t(){var e;u=$(r,".atropos-shadow");if(!u){u=document.createElement("span");u.classList.add("atropos-shadow");e=true}x(u,"translate3d(0,0,-"+i.shadowOffset+"px) scale("+i.shadowScale+")");if(e){n.appendChild(u)}};var E=function t(){var e;d=$(r,".atropos-highlight");if(!d){d=document.createElement("span");d.classList.add("atropos-highlight");e=true}x(d,"translate3d(0,0,0)");if(e){c.appendChild(d)}};var I=function t(e){var a=e.rotateXPercentage,o=a===void 0?0:a,i=e.rotateYPercentage,n=i===void 0?0:i,s=e.duration,c=e.opacityOnly,p=e.easeOut;var f=function t(e){if(e.dataset.atroposOpacity&&typeof e.dataset.atroposOpacity==="string"){return e.dataset.atroposOpacity.split(";").map((function(t){return parseFloat(t)}))}return undefined};$$(r,"[data-atropos-offset], [data-atropos-opacity]").forEach((function(t){b(t,s);w(t,p?"ease-out":"");var e=f(t);if(o===0&&n===0){if(!c)x(t,"translate3d(0, 0, 0)");if(e)k(t,e[0])}else{var r=parseFloat(t.dataset.atroposOffset)/100;if(!Number.isNaN(r)&&!c){x(t,"translate3d("+-n*-r+"%, "+o*-r+"%, 0)")}if(e){var a=e[0],i=e[1];var u=Math.max(Math.abs(o),Math.abs(n));k(t,a+(i-a)*u/100)}}}))};var T=function t(e,o){var s=r!==a;if(!p){p=r.getBoundingClientRect()}if(s&&!f){f=a.getBoundingClientRect()}if(typeof e==="undefined"&&typeof o==="undefined"){var c=s?f:p;e=c.left+c.width/2;o=c.top+c.height/2}var u=0;var l=0;var h=p,m=h.top,v=h.left,y=h.width,g=h.height;var M;if(!s){var L=y/2;var O=g/2;var E=e-v;var T=o-m;l=i.rotateYMax*(E-L)/(y/2)*-1;u=i.rotateXMax*(T-O)/(g/2)}else{var A=f,X=A.top,Y=A.left,C=A.width,z=A.height;var $=v-Y;var R=m-X;var j=y/2+$;var D=g/2+R;var P=e-Y;var F=o-X;l=i.rotateYMax*(P-j)/(C-y/2)*-1;u=i.rotateXMax*(F-D)/(z-g/2);M=e-v+"px "+(o-m)+"px"}u=Math.min(Math.max(-u,-i.rotateXMax),i.rotateXMax);if(i.rotateXInvert)u=-u;l=Math.min(Math.max(-l,-i.rotateYMax),i.rotateYMax);if(i.rotateYInvert)l=-l;var S=u/i.rotateXMax*100;var B=l/i.rotateYMax*100;var q=(s?B/100*i.stretchX:0)*(i.rotateYInvert?-1:1);var W=(s?S/100*i.stretchY:0)*(i.rotateXInvert?-1:1);var N=s?Math.max(Math.abs(S),Math.abs(B))/100*i.stretchZ:0;x(n,"translate3d("+q+"%, "+-W+"%, "+-N+"px) rotateX("+u+"deg) rotateY("+l+"deg)");if(M&&i.commonOrigin){_(n,M)}if(d){b(d,i.duration+"ms");w(d,"ease-out");x(d,"translate3d("+-B*.25+"%, "+S*.25+"%, 0)");k(d,Math.max(Math.abs(S),Math.abs(B))/100)}I({rotateXPercentage:S,rotateYPercentage:B,duration:i.duration+"ms",easeOut:true});if(typeof i.onRotate==="function")i.onRotate(u,l)};var A=function t(){v.push((function(){return r.classList.add("atropos-active")}));b(n,i.duration+"ms");w(n,"ease-out");x(s,"translate3d(0,0, "+i.activeOffset+"px)");b(s,i.duration+"ms");w(s,"ease-out");if(u){b(u,i.duration+"ms");w(u,"ease-out")}o.isActive=true};var X=function t(e){l=undefined;if(e.type==="pointerdown"&&e.pointerType==="mouse")return;if(e.type==="pointerenter"&&e.pointerType!=="mouse")return;if(e.type==="pointerdown"){e.preventDefault()}h=e.clientX;m=e.clientY;if(i.alwaysActive){p=undefined;f=undefined;return}A();if(typeof i.onEnter==="function")i.onEnter()};var Y=function t(e){if(l===false&&e.cancelable){e.preventDefault()}};var C=function t(e){if(!i.rotate||!o.isActive)return;if(e.pointerType!=="mouse"){if(!i.rotateTouch)return;e.preventDefault()}var a=e.clientX,n=e.clientY;var s=a-h;var c=n-m;if(typeof i.rotateTouch==="string"&&(s!==0||c!==0)&&typeof l==="undefined"){if(s*s+c*c>=25){var p=Math.atan2(Math.abs(c),Math.abs(s))*180/Math.PI;l=i.rotateTouch==="scroll-y"?p>45:90-p>45}if(l===false){r.classList.add("atropos-rotate-touch");if(e.cancelable){e.preventDefault()}}}if(e.pointerType!=="mouse"&&l){return}T(a,n)};var z=function t(e){p=undefined;f=undefined;if(!o.isActive)return;if(e&&e.type==="pointerup"&&e.pointerType==="mouse")return;if(e&&e.type==="pointerleave"&&e.pointerType!=="mouse")return;if(typeof i.rotateTouch==="string"&&l){r.classList.remove("atropos-rotate-touch")}if(i.alwaysActive){T();if(typeof i.onRotate==="function")i.onRotate(0,0);if(typeof i.onLeave==="function")i.onLeave();return}v.push((function(){return r.classList.remove("atropos-active")}));b(s,i.duration+"ms");w(s,"");x(s,"translate3d(0,0, "+0+"px)");if(u){b(u,i.duration+"ms");w(u,"")}if(d){b(d,i.duration+"ms");w(d,"");x(d,"translate3d(0, 0, 0)");k(d,0)}b(n,i.duration+"ms");w(n,"");x(n,"translate3d(0,0,0) rotateX(0deg) rotateY(0deg)");I({duration:i.duration+"ms"});o.isActive=false;if(typeof i.onRotate==="function")i.onRotate(0,0);if(typeof i.onLeave==="function")i.onLeave()};var R=function t(e){var r=e.target;if(!a.contains(r)&&r!==a&&o.isActive){z()}};var j=function t(){if(typeof r==="string"){r=$(document,r)}if(!r)return;if(r.__atropos__)return;if(typeof a!=="undefined"){if(typeof a==="string"){a=$(document,a)}}else{a=r}Object.assign(o,{el:r});n=$(r,".atropos-rotate");s=$(r,".atropos-scale");c=$(r,".atropos-inner");r.__atropos__=o};var D=function t(){j();if(!r||!a)return;if(i.shadow){O()}if(i.highlight){E()}if(i.rotateTouch){if(typeof i.rotateTouch==="string"){r.classList.add("atropos-rotate-touch-"+i.rotateTouch)}else{r.classList.add("atropos-rotate-touch")}}if($(r,"[data-atropos-opacity]")){I({opacityOnly:true})}M(document,"click",R);M(a,"pointerdown",X);M(a,"pointerenter",X);M(a,"pointermove",C);M(a,"touchmove",Y);M(a,"pointerleave",z);M(a,"pointerup",z);M(a,"lostpointercapture",z);if(i.alwaysActive){A();T()}};var P=function t(){o.destroyed=true;cancelAnimationFrame(y);L(document,"click",R);L(a,"pointerdown",X);L(a,"pointerenter",X);L(a,"pointermove",C);L(a,"touchmove",Y);L(a,"pointerleave",z);L(a,"pointerup",z);L(a,"lostpointercapture",z);delete r.__atropos__};o.destroy=P;D();return o}var wrCaseCss=".atropos{position:relative;display:block;-webkit-perspective:1200px;perspective:1200px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.atropos-rotate-touch,.atropos-rotate-scroll-x,.atropos-rotate-scroll-y{-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.atropos-rotate-touch-scroll-y{-ms-touch-action:pan-y;touch-action:pan-y}.atropos-rotate-touch-scroll-x{-ms-touch-action:pan-x;touch-action:pan-x}.atropos-rotate-touch{-ms-touch-action:none;touch-action:none}.atropos-scale,.atropos-rotate{width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.atropos-shadow,.atropos-highlight{position:absolute;pointer-events:none;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;display:block;opacity:0}.atropos-shadow{z-index:-1;background:#000;left:0;top:0;width:100%;height:100%;-webkit-filter:blur(30px);filter:blur(30px)}.atropos-highlight{left:-50%;top:-50%;width:200%;height:200%;background-image:radial-gradient(circle at 50%, rgba(255, 255, 255, 0.25), transparent 50%);z-index:0}.atropos-rotate{position:relative}.atropos-inner{width:100%;height:100%;position:relative;overflow:hidden;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:block}.atropos-active{z-index:1}.atropos-active .atropos-shadow{opacity:1 !important}[data-atropos-offset]{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}[data-atropos-opacity]{-webkit-transition-property:opacity;transition-property:opacity}[data-atropos-offset][data-atropos-opacity]{-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform}:host{display:block;width:100%}.perspective-wrapper{-webkit-perspective:500px;perspective:500px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.case-card{-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);position:relative;width:100%;overflow:hidden}.case-card.mockup-front .case-card__accessory{z-index:0}.case-card__accessory,.case-card__mockup{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:1;margin:0px}.case-card__accessory img,.case-card__mockup img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;position:absolute;top:0px;right:0px;bottom:0px;left:0px}.case-card .background-image{position:relative;top:0px;right:0px;bottom:0px;left:0px;margin:0px}.case-card .background-image img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;border-radius:.25rem;display:block}.case-card .case-card__body{bottom:1rem;padding-top:1.25rem}@media (min-width: 375px){.case-card .case-card__body{bottom:1.75rem}}@media (min-width: 768px){.case-card .case-card__body{bottom:2.5rem}}.case-card .case-card__body{position:absolute;z-index:50;left:2.5rem;right:2.5rem}@media (min-width: 375px){.case-card .case-card__body{left:3.5rem;right:3.5rem}}@media (min-width: 768px){.case-card .case-card__body{left:5.5rem;right:5.5rem}}.case-card h2,.case-card h3{margin:0px;color:var(--text-color)}.case-card h2{font-size:1.25rem;line-height:2rem}@media (min-width: 1024px){.case-card h2{font-size:2.5rem;line-height:3.5rem}}.case-card h3{font-size:0.9375rem;line-height:1.5rem;font-weight:400}@media (min-width: 1024px){.case-card h3{font-size:1.25rem;line-height:2rem}}";var WrCase=function(){function t(t){registerInstance(this,t);this.backgroundOpacity=.2;this.href="#"}t.prototype.checkForDeprecations=function(){};t.prototype.componentWillLoad=function(){this.checkForDeprecations()};t.prototype.componentDidLoad=function(){this.bindAtropos();this.calculateCardColors();this.checkImagesOrRemove()};t.prototype.bindAtropos=function(){Atropos({el:this.atroposElement,shadow:false,highlight:false,rotateTouch:false})};t.prototype.render=function(){var t=this;return h("a",{class:"atropos",href:this.href,ref:function(e){return t.atroposElement=e}},h("div",{class:"atropos-scale"},h("div",{class:"atropos-rotate"},h("div",{class:"atropos-inner"},h("article",{class:["case-card"].join(" "),ref:function(e){return t.card=e}},this.renderBackgroundImage(),this.renderBottomLayer(),this.renderTopLayer(),h("div",{class:"case-card__body"},h("h2",{"data-atropos-offset":5},this.caseTitle),h("h3",{"data-atropos-offset":5},this.caseSubtitle)))))))};t.prototype.renderTopLayer=function(){var t=this;if(!this.topLayer){return}return h("figure",{class:"case-card__accessory","data-atropos-offset":2.5,ref:function(e){return t.accessoryImageElement=e}},h("img",{src:this.topLayer,alt:""}))};t.prototype.renderBottomLayer=function(){var t=this;if(!this.bottomLayer){return}return h("figure",{class:"case-card__mockup","data-atropos-offset":1.5,ref:function(e){return t.mockupImageElement=e}},h("img",{src:this.bottomLayer,alt:""}))};t.prototype.renderBackgroundImage=function(){var t=this;if(!this.backgroundImage){return}return h("figure",{class:"background-image","data-atropos-offset":1,ref:function(e){return t.backgroundImageElement=e}},h("img",{src:this.backgroundImage,alt:""}))};t.prototype.calculateCardColors=function(){};t.prototype.checkImagesOrRemove=function(){[this.backgroundImageElement,this.mockupImageElement,this.accessoryImageElement].forEach((function(t){if(!t||!t.querySelector){return}t.querySelector("img").addEventListener("error",(function(){t.parentElement.removeChild(t)}))}))};return t}();WrCase.style=wrCaseCss;export{WrCase as wr_case};

@@ -13,3 +13,3 @@ import { p as promiseResolve, b as bootstrapLazy } from './index-e41e20bc.js';

return patchEsm().then(() => {
return bootstrapLazy([["wr-block-meta_5",[[1,"wr-block-meta",{"items":[1],"innerData":[32]}],[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{"once":[4],"noTranslate":[4,"no-translate"],"noFade":[4,"no-fade"],"direction":[1],"duration":[2]}]]],["wr-accordion",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1025],"open":[32],"closeMe":[64],"openMe":[64],"calculateSizes":[64]}]]],["wr-accordion-group",[[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote",[[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}]]],["wr-case",[[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"],"href":[1]}]]],["wr-case-highlight",[[1,"wr-case-highlight",{"background":[1],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}]]],["wr-footer",[[1,"wr-footer"]]],["wr-logo",[[1,"wr-logo"]]],["wr-menu-item",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options);
return bootstrapLazy([["wr-block-meta_5",[[1,"wr-block-meta",{"items":[1],"innerData":[32]}],[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{"once":[4],"noTranslate":[4,"no-translate"],"noFade":[4,"no-fade"],"direction":[1],"duration":[2]}]]],["wr-accordion",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1025],"open":[32],"closeMe":[64],"openMe":[64],"calculateSizes":[64]}]]],["wr-accordion-group",[[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote",[[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}]]],["wr-case",[[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"],"href":[1]}]]],["wr-case-highlight",[[1,"wr-case-highlight",{"background":[1],"backgroundSrcSet":[1,"background-src-set"],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}]]],["wr-footer",[[1,"wr-footer"]]],["wr-logo",[[1,"wr-logo"]]],["wr-menu-item",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options);
});

@@ -16,0 +16,0 @@ };

@@ -16,3 +16,3 @@ import { p as promiseResolve, b as bootstrapLazy } from './index-e41e20bc.js';

patchBrowser().then(options => {
return bootstrapLazy([["wr-block-meta_5",[[1,"wr-block-meta",{"items":[1],"innerData":[32]}],[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{"once":[4],"noTranslate":[4,"no-translate"],"noFade":[4,"no-fade"],"direction":[1],"duration":[2]}]]],["wr-accordion",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1025],"open":[32],"closeMe":[64],"openMe":[64],"calculateSizes":[64]}]]],["wr-accordion-group",[[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote",[[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}]]],["wr-case",[[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"],"href":[1]}]]],["wr-case-highlight",[[1,"wr-case-highlight",{"background":[1],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}]]],["wr-footer",[[1,"wr-footer"]]],["wr-logo",[[1,"wr-logo"]]],["wr-menu-item",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options);
return bootstrapLazy([["wr-block-meta_5",[[1,"wr-block-meta",{"items":[1],"innerData":[32]}],[1,"wr-highlight",{"itemTitle":[1,"item-title"],"subTitle":[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{"once":[4],"noTranslate":[4,"no-translate"],"noFade":[4,"no-fade"],"direction":[1],"duration":[2]}]]],["wr-accordion",[[1,"wr-accordion",{"accordionTitle":[1,"accordion-title"],"background":[1025],"open":[32],"closeMe":[64],"openMe":[64],"calculateSizes":[64]}]]],["wr-accordion-group",[[1,"wr-accordion-group",{"isCollapse":[4,"is-collapse"],"closeChildren":[64]},[[0,"accordionOpened","accordionOpened"]]]]],["wr-big-quote",[[1,"wr-big-quote",{"isDark":[4,"is-dark"],"quoteColor":[1,"quote-color"],"authorName":[1,"author-name"],"authorFunction":[1,"author-function"],"authorImage":[1,"author-image"]}]]],["wr-case",[[1,"wr-case",{"caseTitle":[1,"case-title"],"caseSubtitle":[1,"case-subtitle"],"backgroundColor":[1,"background-color"],"backgroundOpacity":[2,"background-opacity"],"backgroundImage":[1,"background-image"],"topLayer":[1025,"top-layer"],"bottomLayer":[1025,"bottom-layer"],"href":[1]}]]],["wr-case-highlight",[[1,"wr-case-highlight",{"background":[1],"backgroundSrcSet":[1,"background-src-set"],"backgroundX":[1,"background-x"],"backgroundY":[1,"background-y"],"caseTitle":[1,"case-title"],"href":[1]}]]],["wr-footer",[[1,"wr-footer"]]],["wr-logo",[[1,"wr-logo"]]],["wr-menu-item",[[1,"wr-menu-item",{"size":[1],"badge":[2],"href":[1],"isLarge":[64]}]]],["wr-navigation",[[1,"wr-navigation",{"isOpen":[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]], options);
});

@@ -100,6 +100,6 @@ import { r as registerInstance, h, g as getElement } from './index-e41e20bc.js';

render() {
return (h("div", { class: 'perspective-wrapper' }, h("article", { class: 'case-card', ref: (el) => this.card = el }, this.renderImage(), h("a", { class: 'case-card__link', href: this.href, title: `Bekijk ${this.caseTitle}` }), h("footer", { class: 'case-card__footer' }, h("h3", { class: 'is-h6' }, this.caseTitle), h("button", { class: 'case-card__button', name: `Bekijk ${this.caseTitle}` }, this.renderPlayArrow())))));
return (h("div", { class: 'perspective-wrapper' }, h("article", { class: 'case-card', ref: (el) => this.card = el }, this.renderImage(), h("a", { class: 'case-card__link', href: this.href, "aria-label": `Bekijk ${this.caseTitle}` }), h("footer", { class: 'case-card__footer' }, h("h3", { class: 'is-h6' }, this.caseTitle), h("button", { class: 'case-card__button', "aria-label": `Bekijk ${this.caseTitle}` }, this.renderPlayArrow())))));
}
renderImage() {
return h("img", { class: 'case-card__background', loading: 'lazy', src: this.background, alt: '' });
return h("img", { class: 'case-card__background', loading: 'lazy', src: this.background, alt: '', srcset: this.backgroundSrcSet });
}

@@ -106,0 +106,0 @@ renderPlayArrow() {

@@ -560,3 +560,3 @@ import { r as registerInstance, h } from './index-e41e20bc.js';

const wrCaseCss = ".atropos{position:relative;display:block;-webkit-perspective:1200px;perspective:1200px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.atropos-rotate-touch,.atropos-rotate-scroll-x,.atropos-rotate-scroll-y{-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.atropos-rotate-touch-scroll-y{-ms-touch-action:pan-y;touch-action:pan-y}.atropos-rotate-touch-scroll-x{-ms-touch-action:pan-x;touch-action:pan-x}.atropos-rotate-touch{-ms-touch-action:none;touch-action:none}.atropos-scale,.atropos-rotate{width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.atropos-shadow,.atropos-highlight{position:absolute;pointer-events:none;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;display:block;opacity:0}.atropos-shadow{z-index:-1;background:#000;left:0;top:0;width:100%;height:100%;-webkit-filter:blur(30px);filter:blur(30px)}.atropos-highlight{left:-50%;top:-50%;width:200%;height:200%;background-image:radial-gradient(circle at 50%, rgba(255, 255, 255, 0.25), transparent 50%);z-index:0}.atropos-rotate{position:relative}.atropos-inner{width:100%;height:100%;position:relative;overflow:hidden;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:block}.atropos-active{z-index:1}.atropos-active .atropos-shadow{opacity:1 !important}[data-atropos-offset]{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}[data-atropos-opacity]{-webkit-transition-property:opacity;transition-property:opacity}[data-atropos-offset][data-atropos-opacity]{-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform}:host{display:block;width:100%}.perspective-wrapper{-webkit-perspective:500px;perspective:500px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.case-card{-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);position:relative;width:100%;overflow:hidden}.case-card.mockup-front .case-card__accessory{z-index:0}.case-card__accessory,.case-card__mockup{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:1;margin:0px}.case-card__accessory img,.case-card__mockup img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;position:absolute;top:0px;right:0px;bottom:0px;left:0px}.case-card .background-image{position:relative;top:0px;right:0px;bottom:0px;left:0px;margin:0px}.case-card .background-image img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;border-radius:.25rem;display:block}.case-card .case-card__body{bottom:1rem;padding-top:1.25rem}@media (min-width: 375px){.case-card .case-card__body{bottom:1.75rem}}@media (min-width: 768px){.case-card .case-card__body{bottom:2.5rem}}.case-card .case-card__body{position:absolute;z-index:50;left:2.5rem;right:2.5rem}@media (min-width: 375px){.case-card .case-card__body{left:3.5rem;right:3.5rem}}@media (min-width: 768px){.case-card .case-card__body{left:5.5rem;right:5.5rem}}.case-card h2,.case-card h5{margin:0px;color:var(--text-color)}.case-card h2{font-size:1.25rem;line-height:2rem}@media (min-width: 1024px){.case-card h2{font-size:2.5rem;line-height:3.5rem}}.case-card h5{font-size:0.9375rem;line-height:1.5rem;font-weight:400}@media (min-width: 1024px){.case-card h5{font-size:1.25rem;line-height:2rem}}";
const wrCaseCss = ".atropos{position:relative;display:block;-webkit-perspective:1200px;perspective:1200px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.atropos-rotate-touch,.atropos-rotate-scroll-x,.atropos-rotate-scroll-y{-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.atropos-rotate-touch-scroll-y{-ms-touch-action:pan-y;touch-action:pan-y}.atropos-rotate-touch-scroll-x{-ms-touch-action:pan-x;touch-action:pan-x}.atropos-rotate-touch{-ms-touch-action:none;touch-action:none}.atropos-scale,.atropos-rotate{width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;display:block}.atropos-shadow,.atropos-highlight{position:absolute;pointer-events:none;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;display:block;opacity:0}.atropos-shadow{z-index:-1;background:#000;left:0;top:0;width:100%;height:100%;-webkit-filter:blur(30px);filter:blur(30px)}.atropos-highlight{left:-50%;top:-50%;width:200%;height:200%;background-image:radial-gradient(circle at 50%, rgba(255, 255, 255, 0.25), transparent 50%);z-index:0}.atropos-rotate{position:relative}.atropos-inner{width:100%;height:100%;position:relative;overflow:hidden;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:block}.atropos-active{z-index:1}.atropos-active .atropos-shadow{opacity:1 !important}[data-atropos-offset]{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}[data-atropos-opacity]{-webkit-transition-property:opacity;transition-property:opacity}[data-atropos-offset][data-atropos-opacity]{-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform}:host{display:block;width:100%}.perspective-wrapper{-webkit-perspective:500px;perspective:500px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.case-card{-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 1, 1);transition-timing-function:cubic-bezier(0.4, 0, 1, 1);position:relative;width:100%;overflow:hidden}.case-card.mockup-front .case-card__accessory{z-index:0}.case-card__accessory,.case-card__mockup{position:absolute;top:0px;right:0px;bottom:0px;left:0px;z-index:1;margin:0px}.case-card__accessory img,.case-card__mockup img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;position:absolute;top:0px;right:0px;bottom:0px;left:0px}.case-card .background-image{position:relative;top:0px;right:0px;bottom:0px;left:0px;margin:0px}.case-card .background-image img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;border-radius:.25rem;display:block}.case-card .case-card__body{bottom:1rem;padding-top:1.25rem}@media (min-width: 375px){.case-card .case-card__body{bottom:1.75rem}}@media (min-width: 768px){.case-card .case-card__body{bottom:2.5rem}}.case-card .case-card__body{position:absolute;z-index:50;left:2.5rem;right:2.5rem}@media (min-width: 375px){.case-card .case-card__body{left:3.5rem;right:3.5rem}}@media (min-width: 768px){.case-card .case-card__body{left:5.5rem;right:5.5rem}}.case-card h2,.case-card h3{margin:0px;color:var(--text-color)}.case-card h2{font-size:1.25rem;line-height:2rem}@media (min-width: 1024px){.case-card h2{font-size:2.5rem;line-height:3.5rem}}.case-card h3{font-size:0.9375rem;line-height:1.5rem;font-weight:400}@media (min-width: 1024px){.case-card h3{font-size:1.25rem;line-height:2rem}}";

@@ -595,3 +595,3 @@ let WrCase = class {

render() {
return (h("a", { class: 'atropos', href: this.href, ref: el => this.atroposElement = el }, h("div", { class: 'atropos-scale' }, h("div", { class: 'atropos-rotate' }, h("div", { class: 'atropos-inner' }, h("article", { class: ['case-card'].join(' '), ref: el => this.card = el }, this.renderBackgroundImage(), this.renderBottomLayer(), this.renderTopLayer(), h("div", { class: 'case-card__body' }, h("h2", { "data-atropos-offset": 5 }, this.caseTitle), h("h5", { "data-atropos-offset": 5 }, this.caseSubtitle))))))));
return (h("a", { class: 'atropos', href: this.href, ref: el => this.atroposElement = el }, h("div", { class: 'atropos-scale' }, h("div", { class: 'atropos-rotate' }, h("div", { class: 'atropos-inner' }, h("article", { class: ['case-card'].join(' '), ref: el => this.card = el }, this.renderBackgroundImage(), this.renderBottomLayer(), this.renderTopLayer(), h("div", { class: 'case-card__body' }, h("h2", { "data-atropos-offset": 5 }, this.caseTitle), h("h3", { "data-atropos-offset": 5 }, this.caseSubtitle))))))));
}

@@ -598,0 +598,0 @@ renderTopLayer() {

@@ -80,2 +80,3 @@ /* eslint-disable */

"background": string;
"backgroundSrcSet": string;
"backgroundX": string;

@@ -312,2 +313,3 @@ "backgroundY": string;

"background": string;
"backgroundSrcSet"?: string;
"backgroundX"?: string;

@@ -314,0 +316,0 @@ "backgroundY"?: string;

export declare class WrCaseHighlight {
background: string;
backgroundSrcSet: string;
backgroundX: string;

@@ -4,0 +5,0 @@ backgroundY: string;

@@ -1,1 +0,1 @@

System.register(["./p-6e092c3e.system.js"],(function(e,o){"use strict";var t,r;return{setters:[function(e){t=e.p;r=e.b}],execute:function(){var e=function(){var e=o.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return t(r)};e().then((function(e){return r([["p-ae03e6bb.system",[[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{once:[4],noTranslate:[4,"no-translate"],noFade:[4,"no-fade"],direction:[1],duration:[2]}]]],["p-856f288b.system",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1025],open:[32],closeMe:[64],openMe:[64],calculateSizes:[64]}]]],["p-8fcb6475.system",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["p-c35c1b26.system",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["p-1755ebba.system",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"],href:[1]}]]],["p-628fe1c7.system",[[1,"wr-case-highlight",{background:[1],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["p-761a1d39.system",[[1,"wr-footer"]]],["p-9a31c56f.system",[[1,"wr-logo"]]],["p-4474e930.system",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["p-1dcc5dda.system",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],e)}))}}}));
System.register(["./p-6e092c3e.system.js"],(function(e,o){"use strict";var t,r;return{setters:[function(e){t=e.p;r=e.b}],execute:function(){var e=function(){var e=o.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return t(r)};e().then((function(e){return r([["p-ae03e6bb.system",[[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{once:[4],noTranslate:[4,"no-translate"],noFade:[4,"no-fade"],direction:[1],duration:[2]}]]],["p-856f288b.system",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1025],open:[32],closeMe:[64],openMe:[64],calculateSizes:[64]}]]],["p-8fcb6475.system",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["p-4d86c2da.system",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["p-ef9b3d9a.system",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"],href:[1]}]]],["p-2360aaeb.system",[[1,"wr-case-highlight",{background:[1],backgroundSrcSet:[1,"background-src-set"],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["p-761a1d39.system",[[1,"wr-footer"]]],["p-9a31c56f.system",[[1,"wr-logo"]]],["p-4474e930.system",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["p-1dcc5dda.system",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],e)}))}}}));

@@ -1,1 +0,1 @@

import{p as o,b as e}from"./p-abaf52ff.js";(()=>{const e=import.meta.url,a={};return""!==e&&(a.resourcesUrl=new URL(".",e).href),o(a)})().then((o=>e([["p-4b40fb81",[[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{once:[4],noTranslate:[4,"no-translate"],noFade:[4,"no-fade"],direction:[1],duration:[2]}]]],["p-84c65faf",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1025],open:[32],closeMe:[64],openMe:[64],calculateSizes:[64]}]]],["p-50aee4b6",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["p-8fb1a509",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["p-be73dbff",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"],href:[1]}]]],["p-7c484cc2",[[1,"wr-case-highlight",{background:[1],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["p-1e544dab",[[1,"wr-footer"]]],["p-b488d30a",[[1,"wr-logo"]]],["p-d44158b0",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["p-b15c4843",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],o)));
import{p as o,b as e}from"./p-abaf52ff.js";(()=>{const e=import.meta.url,a={};return""!==e&&(a.resourcesUrl=new URL(".",e).href),o(a)})().then((o=>e([["p-4b40fb81",[[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{once:[4],noTranslate:[4,"no-translate"],noFade:[4,"no-fade"],direction:[1],duration:[2]}]]],["p-84c65faf",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1025],open:[32],closeMe:[64],openMe:[64],calculateSizes:[64]}]]],["p-50aee4b6",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["p-813dedbb",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["p-5c23a484",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"],href:[1]}]]],["p-5abc7a82",[[1,"wr-case-highlight",{background:[1],backgroundSrcSet:[1,"background-src-set"],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["p-1e544dab",[[1,"wr-footer"]]],["p-b488d30a",[[1,"wr-logo"]]],["p-d44158b0",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["p-b15c4843",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],o)));
{
"name": "@webreact/webreact-components",
"version": "0.4.44",
"version": "0.4.45",
"description": "Stencil Component Starter",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc