diff --git a/CHANGELOG.md b/CHANGELOG.md index b23770bc..691437b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. +- [#159](https://github.com/os2display/display-templates/pull/159) + - Fixed issue where slideshow flickered first image before transitioning to next slide. + ## [2.1.0] - 2024-10-23 - [#158](https://github.com/os2display/display-templates/pull/158) diff --git a/build/slideshow-config-develop.json b/build/slideshow-config-develop.json index 02a54836..cfc5386a 100644 --- a/build/slideshow-config-develop.json +++ b/build/slideshow-config-develop.json @@ -4,9 +4,9 @@ "id": "01FP2SNSC9VXD10ZKXQR819NS9", "description": "Skabelon til slideshow af billeder med forskellige effekter", "resources": { - "component": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/slideshow.js?ts=1723805672543", - "admin": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/slideshow-admin.json?ts=1723805672543", - "schema": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/slideshow-schema.json?ts=1723805672543", + "component": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/slideshow.js?ts=1731317499358", + "admin": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/slideshow-admin.json?ts=1731317499358", + "schema": "https://raw.githubusercontent.com/os2display/display-templates/develop/build/slideshow-schema.json?ts=1731317499358", "assets": [], "options": {}, "content": {} diff --git a/build/slideshow-config-main.json b/build/slideshow-config-main.json index b6714be6..45764d5a 100644 --- a/build/slideshow-config-main.json +++ b/build/slideshow-config-main.json @@ -4,9 +4,9 @@ "id": "01FP2SNSC9VXD10ZKXQR819NS9", "description": "Skabelon til slideshow af billeder med forskellige effekter", "resources": { - "component": "https://raw.githubusercontent.com/os2display/display-templates/main/build/slideshow.js?ts=1723805672543", - "admin": "https://raw.githubusercontent.com/os2display/display-templates/main/build/slideshow-admin.json?ts=1723805672543", - "schema": "https://raw.githubusercontent.com/os2display/display-templates/main/build/slideshow-schema.json?ts=1723805672543", + "component": "https://raw.githubusercontent.com/os2display/display-templates/main/build/slideshow.js?ts=1731317499358", + "admin": "https://raw.githubusercontent.com/os2display/display-templates/main/build/slideshow-admin.json?ts=1731317499358", + "schema": "https://raw.githubusercontent.com/os2display/display-templates/main/build/slideshow-schema.json?ts=1731317499358", "assets": [], "options": {}, "content": {} diff --git a/build/slideshow.js b/build/slideshow.js index c534a06c..9c4888da 100644 --- a/build/slideshow.js +++ b/build/slideshow.js @@ -1,2 +1,2 @@ /*! For license information please see slideshow.js.LICENSE.txt */ -(()=>{var e={8070:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(6314),n=r.n(o)()((function(e){return e[1]}));n.push([e.id,'.slide{--color-white: #fff;--color-grey-100: hsl(0deg 0% 95%);--color-grey-200: hsl(0deg 0% 85%);--color-grey-300: hsl(0deg 0% 80%);--color-grey-400: hsl(0deg 0% 75%);--color-grey-500: hsl(0deg 0% 70%);--color-grey-600: hsl(0deg 0% 40%);--color-grey-700: hsl(0deg 0% 30%);--color-grey-800: hsl(0deg 0% 20%);--color-grey-900: hsl(0deg 0% 10%);--color-black: #000;--color-blue: hsl(219deg 89% 57%);--color-indigo: indigo;--color-purple: purple;--color-pink: pink;--color-red: red;--color-orange: orange;--color-yellow: yellow;--color-green: green;--color-teal: teal;--color-cyan: cyan;--color-gray: var(--color-grey-500);--color-gray-dark: var(--color-grey-900);--color-primary: var(--color-blue);--color-secondary: var(--color-orange);--color-success: var(--color-green);--color-info: var(--color-teal);--color-warning: var(--color-yellow);--color-danger: var(--color-red);--color-light: var(--color-white);--color-dark: var(--color-black);--bg-light: var(--color-light);--bg-dark: var(--color-dark);--bg-primary: var(--color-primary);--bg-secondary: var(--color-secondary);--bg-transparent: transparent;--text-light: var(--color-light);--text-dark: var(--color-dark);--color-red-oklch-ch: 0.25 29;--color-red-oklch-l: 50%;--color-red-oklch-c: 0.25;--color-red-oklch-h: 29;--color-red-50: oklch(95% calc(var(--color-red-oklch-c) - 0.20) var(--color-red-oklch-h));--color-red-100: oklch(90% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-200: oklch(85% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-300: oklch(80% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-400: oklch(70% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-500: oklch(60% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-600: oklch(var(--color-red-oklch-l) var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-700: oklch(40% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-800: oklch(30% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-900: oklch(20% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-950: oklch(15% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-green-oklch-l: 50%;--color-green-oklch-c: 0.17;--color-green-oklch-h: 142;--color-green-50: oklch(95% calc(var(--color-green-oklch-c) - 0.15) var(--color-green-oklch-h));--color-green-100: oklch(90% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-200: oklch(85% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-300: oklch(80% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-400: oklch(70% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-500: oklch(60% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-600: oklch(var(--color-green-oklch-l) var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-700: oklch(40% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-800: oklch(30% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-900: oklch(20% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-950: oklch(15% var(--color-green-oklch-c) var(--color-green-oklch-h));--font-family-base: system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--line-height-base: 1.5;--line-height-sm: 1.25;--line-height-lg: 2;--font-size-base: 1rem;--font-size-multiplier-050: 0.5;--font-size-multiplier-075: 0.75;--font-size-multiplier-090: 0.9;--font-size-multiplier-125: 1.25;--font-size-multiplier-150: 1.5;--font-size-multiplier-175: 1.75;--font-size-multiplier-200: 2;--font-size-multiplier-250: 2.5;--font-size-xs: calc(var(--font-size-base) * var(--font-size-multiplier-050));--font-size-sm: calc(var(--font-size-base) * var(--font-size-multiplier-075));--font-size-m: calc(var(--font-size-base) * 1);--font-size-lg: calc(var(--font-size-base) * var(--font-size-multiplier-125));--font-size-xl: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125));--h6-font-size: calc(var(--font-size-base));--spacer: 12px;--margin-size-base: calc(var(--spacer) * 3);--padding-size-base: calc(var(--spacer) * 3);--box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--border-size: 1px;--border-style: solid;--border-color: var(--color-grey-900);--border: var(--border-size) var(--border-style) var(--border-color);--border-radius-sm: 3px;--border-radius-md: 5px;--border-radius-lg: 7px;--background-color: var(--bg-light, hsl(0deg, 0%, 100%));--background-color-secondary: var(--color-grey-100, hsl(0deg, 0%, 95%));--text-color: var(--text-dark, hsl(0deg, 0%, 0%))}*,*::before,*::after{box-sizing:border-box}html{font-size:1.125rem;height:100%;background-color:var(--background-color);color:var(--text-color)}body{margin:0;height:100%}@keyframes h1-underline{0%{opacity:0;width:100%}40%{opacity:1;width:100%;margin-top:.938em;height:.375em}70%{opacity:1;width:100%;margin-top:.625em;height:.2em}100%{opacity:1;width:5em;margin-top:.625em}}.color-scheme-dark .slide{--background-color: var(--bg-dark, hsl(0deg, 0%, 10%));--background-color-secondary: var(--bg-dark-secondary, hsl(0deg, 0%, 20%));--text-color: var(--text-light, hsl(0deg, 0%, 100%));--border-color: var(--color-light);--color-grey-100: hsl(0deg 0% 10%);--color-grey-200: hsl(0deg 0% 15%);--color-grey-300: hsl(0deg 0% 20%);--color-grey-400: hsl(0deg 0% 25%);--color-grey-500: hsl(0deg 0% 30%);--color-grey-600: hsl(0deg 0% 45%);--color-grey-700: hsl(0deg 0% 60%);--color-grey-800: hsl(0deg 0% 75%);--color-grey-900: hsl(0deg 0% 90%)}@media screen and (min-width: 1921px)and (orientation: landscape){.slide{--font-size-base: 2rem;--spacer: 24px}}@media screen and (min-width: 1081px)and (orientation: portrait){.slide{--font-size-base: 2rem;--spacer: 24px}}.slide .font-size-xs{--font-size-base: var(--font-size-xs);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-s{--font-size-base: var(--font-size-sm);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-m{--font-size-base: var(--font-size-m);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-lg{--font-size-base: var(--font-size-lg);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-xl{--font-size-base: var(--font-size-xl);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide h1{font-size:var(--h1-font-size)}.slide h2{font-size:var(--h2-font-size)}.slide h3{font-size:var(--h3-font-size)}.slide h4{font-size:var(--h4-font-size)}.slide h5{font-size:var(--h5-font-size)}.slide h6{font-size:var(--h6-font-size)}',""]);const a=n},5050:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(6314),n=r.n(o)()((function(e){return e[1]}));n.push([e.id,".template-slideshow{width:100%;height:100%;overflow:hidden;position:relative;background-color:#000}.template-slideshow .logo{position:absolute;width:10%;z-index:1000}.template-slideshow .logo-size-s{width:5%}.template-slideshow .logo-size-m{width:10%}.template-slideshow .logo-size-l{width:15%}.template-slideshow .logo-position-top-left{top:0;left:0}.template-slideshow .logo-position-top-right{top:0;right:0}.template-slideshow .logo-position-bottom-left{bottom:0;left:0}.template-slideshow .logo-position-bottom-right{bottom:0;right:0}.template-slideshow .logo-margin{margin:1%}.template-slideshow .fade-container{width:100%;height:100%;position:absolute;top:0}.template-slideshow .fade-container .image{position:absolute;background-size:cover;background-position:center;display:block;width:100%;height:100%}.template-slideshow .fade-container .logo{position:absolute;width:10%;padding:2%}.template-slideshow .fade-container .logo.right{right:0}.template-slideshow .fade-container .logo.bottom{bottom:0}.template-slideshow .fade-container .logo.xs{width:5%}.template-slideshow .fade-container .logo.s{width:10%}.template-slideshow .fade-container .logo.m{width:15%}.template-slideshow .fade-container .logo.l{width:20%}.template-slideshow .fade-container .logo.xl{width:40%}@keyframes fadeIn{0%{opacity:0}95%{opacity:1}100%{opacity:1}}@keyframes fadeOut{0%{opacity:1}95%{opacity:0}100%{opacity:0}}",""]);const a=n},6314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,o){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(o)for(var a=0;a{"use strict";var o=r(3404),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return o.isMemo(e)?i:s[e.$$typeof]||n}s[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[o.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,o){if("string"!=typeof r){if(p){var n=h(r);n&&n!==p&&e(t,n,o)}var i=u(r);f&&(i=i.concat(f(r)));for(var s=c(t),g=c(r),m=0;m{"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,k=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case u:case f:case a:case s:case i:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case m:case g:case c:return e;default:return t}}case n:return t}}}function S(e){return w(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=m,t.Memo=g,t.Portal=n,t.Profiler=s,t.StrictMode=i,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===n},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===i||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===k||e.$$typeof===v)},t.typeOf=w},3404:(e,t,r)=>{"use strict";e.exports=r(3072)},2694:(e,t,r)=>{"use strict";var o=r(6925);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,a,i){if(i!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:n};return r.PropTypes=r,r}},5556:(e,t,r)=>{e.exports=r(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2799:(e,t)=>{"use strict";var r=60103,o=60106,n=60107,a=60108,i=60114,s=60109,c=60110,l=60112,u=60113,f=60120,d=60115,h=60116,p=60121,g=60122,m=60117,v=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;r=b("react.element"),o=b("react.portal"),n=b("react.fragment"),a=b("react.strict_mode"),i=b("react.profiler"),s=b("react.provider"),c=b("react.context"),l=b("react.forward_ref"),u=b("react.suspense"),f=b("react.suspense_list"),d=b("react.memo"),h=b("react.lazy"),p=b("react.block"),g=b("react.server.block"),m=b("react.fundamental"),v=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===v||e===a||e===u||e===f||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===d||e.$$typeof===s||e.$$typeof===c||e.$$typeof===l||e.$$typeof===m||e.$$typeof===p||e[0]===g)},t.typeOf=function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case n:case i:case a:case u:case f:return e;default:switch(e=e&&e.$$typeof){case c:case l:case h:case d:case s:return e;default:return t}}case o:return t}}}},4363:(e,t,r)=>{"use strict";e.exports=r(2799)},2833:e=>{e.exports=function(e,t,r,o){var n=r?r.call(o,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c{"use strict";var o,n=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),a=[];function i(e){for(var t=-1,r=0;r{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var o={};(()=>{"use strict";r.r(o),r.d(o,{default:()=>Ye});const e=require("react");var t=r.n(e),n=r(5556),a=r.n(n),i=r(4363),s=r(2833),c=r.n(s);const l=function(e){function t(e,o,c,l,d){for(var h,p,g,m,k,S=0,z=0,x=0,C=0,A=0,T=0,$=g=h=0,M=0,N=0,D=0,L=0,F=c.length,B=F-1,H="",G="",q="",U="";Mh)&&(L=(H=H.replace(" ",":")).length),0o&&(o=(t=t.trim()).charCodeAt(0)),o){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102o.charCodeAt(0)&&(o=o.trim()),o=[o],01?t-1:0),o=1;o0?" Args: "+r.join(", "):""))}var P=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,n=o;e>=n;)(n<<=1)<0&&I(16,""+e);this.groupSizes=new Uint32Array(n),this.groupSizes.set(r),this.length=n;for(var a=o;a=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],o=this.indexOfGroup(e),n=o+r,a=o;a=T&&(T=t+1),E.set(e,t),R.set(t,e)},M="style["+x+'][data-styled-version="5.3.11"]',N=new RegExp("^"+x+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),D=function(e,t,r){for(var o,n=r.split(","),a=0,i=n.length;a=0;r--){var o=t[r];if(o&&1===o.nodeType&&o.hasAttribute(x))return o}}(r),a=void 0!==n?n.nextSibling:null;o.setAttribute(x,"active"),o.setAttribute("data-styled-version","5.3.11");var i=F();return i&&o.setAttribute("nonce",i),r.insertBefore(o,a),o},H=function(){function e(e){var t=this.element=B(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,o=t.length;r=0){var r=document.createTextNode(t),o=this.nodes[e];return this.element.insertBefore(r,o||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(l+=e+",")})),o+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return o}(this)},e}(),V=/(a)(d)/gi,X=function(e){return String.fromCharCode(e+(e>25?39:97))};function J(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=X(t%52)+r;return(X(t%52)+r).replace(V,"$1-$2")}var Z=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},K=function(e){return Z(5381,e)};function Q(e){for(var t=0;t>>0);if(!t.hasNameForId(o,i)){var s=r(a,"."+i,void 0,o);t.insertRules(o,i,s)}n.push(i),this.staticRulesId=i}else{for(var c=this.rules.length,l=Z(this.baseHash,r.hash),u="",f=0;f>>0);if(!t.hasNameForId(o,g)){var m=r(u,"."+g,void 0,o);t.insertRules(o,g,m)}n.push(g)}}return n.join(" ")},e}(),re=/^\s*\/\/.*$/gm,oe=[":","[",".","#"];function ne(e){var t,r,o,n,a=void 0===e?k:e,i=a.options,s=void 0===i?k:i,c=a.plugins,u=void 0===c?b:c,f=new l(s),d=[],h=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,o,n,a,i,s,c,l,u,f){switch(r){case 1:if(0===u&&64===o.charCodeAt(0))return e(o+";"),"";break;case 2:if(0===l)return o+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(n[0]+o),"";default:return o+(0===f?"/*|*/":"")}case-2:o.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),p=function(e,o,a){return 0===o&&-1!==oe.indexOf(a[r.length])||a.match(n)?e:"."+t};function g(e,a,i,s){void 0===s&&(s="&");var c=e.replace(re,""),l=a&&i?i+" "+a+" { "+c+" }":c;return t=s,r=a,o=new RegExp("\\"+r+"\\b","g"),n=new RegExp("(\\"+r+"\\b){2,}"),f(i||!a?"":a,l)}return f.use([].concat(u,[function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(r)>0&&(n[0]=n[0].replace(o,p))},h,function(e){if(-2===e){var t=d;return d=[],t}}])),g.hash=u.length?u.reduce((function(e,t){return t.name||I(15),Z(e,t.name)}),5381).toString():"",g}var ae=t().createContext(),ie=(ae.Consumer,t().createContext()),se=(ie.Consumer,new Y),ce=ne();function le(){return(0,e.useContext)(ae)||se}function ue(){return(0,e.useContext)(ie)||ce}function fe(r){var o=(0,e.useState)(r.stylisPlugins),n=o[0],a=o[1],i=le(),s=(0,e.useMemo)((function(){var e=i;return r.sheet?e=r.sheet:r.target&&(e=e.reconstructWithOptions({target:r.target},!1)),r.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[r.disableCSSOMInjection,r.sheet,r.target]),l=(0,e.useMemo)((function(){return ne({options:{prefix:!r.disableVendorPrefixes},plugins:n})}),[r.disableVendorPrefixes,n]);return(0,e.useEffect)((function(){c()(n,r.stylisPlugins)||a(r.stylisPlugins)}),[r.stylisPlugins]),t().createElement(ae.Provider,{value:s},t().createElement(ie.Provider,{value:l},r.children))}var de=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=ce);var o=r.name+t.hash;e.hasNameForId(r.id,o)||e.insertRules(r.id,o,t(r.rules,o,"@keyframes"))},this.toString=function(){return I(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ce),this.name+e.hash},e}(),he=/([A-Z])/,pe=/([A-Z])/g,ge=/^ms-/,me=function(e){return"-"+e.toLowerCase()};function ve(e){return he.test(e)?e.replace(pe,me).replace(ge,"-ms-"):e}var ye=function(e){return null==e||!1===e||""===e};function be(e,t,r,o){if(Array.isArray(e)){for(var n,a=[],i=0,s=e.length;i1?t-1:0),o=1;o?@[\\\]^`{|}~-]+/g,xe=/(^-|-$)/g;function Ce(e){return e.replace(ze,"-").replace(xe,"")}var Ae=function(e){return J(K(e)>>>0)};function Oe(e){return"string"==typeof e&&!0}var Ie=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Pe=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ee(e,t,r){var o=e[r];Ie(t)&&Ie(o)?Re(o,t):e[r]=t}function Re(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o=0||(n[r]=e[r]);return n}(o,["componentId"]),a=t&&t+"-"+(Oe(e)?e:Ce(S(e)));return $e(e,m({},r,{attrs:v,componentId:a}),n)},Object.defineProperty(x,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?Re({},r.defaultProps,e):e}}),Object.defineProperty(x,"toString",{value:function(){return"."+x.styledComponentId}}),i&&g()(x,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),x}var _e=function(e){return function e(t,r,o){if(void 0===o&&(o=k),!(0,i.isValidElementType)(r))return I(1,String(r));var n=function(){return t(r,o,we.apply(void 0,arguments))};return n.withConfig=function(n){return e(t,r,m({},o,{},n))},n.attrs=function(n){return e(t,r,m({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},n}($e,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){_e[e]=_e(e)}));var Me,Ne,De=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Q(e),Y.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,o){var n=o(be(this.rules,t,r,o).join(""),""),a=this.componentId+e;r.insertRules(a,a,n)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,o){e>2&&Y.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,o)},e}();function Le(r){var o=r.id,n=r.css,a=void 0===n?null:n;if(!a)return t().createElement(t().Fragment,null);var i,s,c=a.replaceAll("#SLIDE_ID","#".concat(o)),l=function(r){for(var o=arguments.length,n=new Array(o>1?o-1:0),a=1;a"+t+""},this.getStyleTags=function(){return e.sealed?I(2):e._emitSheetCSS()},this.getStyleElement=function(){var r;if(e.sealed)return I(2);var o=((r={})[x]="",r["data-styled-version"]="5.3.11",r.dangerouslySetInnerHTML={__html:e.instance.toString()},r),n=F();return n&&(o.nonce=n),[t().createElement("style",m({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Y({isServer:!0}),this.sealed=!1}.prototype).collectStyles=function(e){return this.sealed?I(2):t().createElement(fe,{sheet:this.instance},e)},Me.interleaveWithNodeStream=function(e){return I(3)},Le.propTypes={id:a().string.isRequired,css:a().string};var Fe=r(5072),Be=r.n(Fe),He=r(8070);Be()(He.A,{insert:"head",singleton:!1}),He.A.locals;var Ge=r(5050);function qe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a,i,s=[],c=!0,l=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=a.call(r)).done)&&(s.push(o.value),s.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw n}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ue(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ue(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r1&&void 0!==arguments[1]?arguments[1]:"50% 50%",r=e?1:1.2,o=e?1.2:1;return"@keyframes ".concat(R," {\n 0% {\n transform: scale(").concat(r,");\n transform-origin: ").concat(t,";\n }\n 5% {\n transform: scale(").concat(r,");\n transform-origin: ").concat(t,";\n }\n 95% {\n transform: scale(").concat(o,");\n transform-origin: ").concat(t,";\n }\n 100% {\n transform: scale(").concat(o,");\n transform-origin: ").concat(t,";\n }\n }")}function q(e){var t=["zoom-in-middle","zoom-out-middle","zoom-out-random","zoom-in-random"],r="".concat(H(100)+1,"% ").concat(H(100)+1,"%");switch(e){case"zoom-in-middle":return G(!0);case"zoom-out-middle":return G(!1);case"zoom-in-random":return G(!0,r);case"zoom-out-random":return G(!1,r);case"random":return q(t[H(t.length)]);default:return null}}var U=function(e,t,r){var o={backgroundImage:"url(".concat(e,")")};return t&&(o.animation="".concat(R," ").concat(r,"ms")),o};return(0,e.useEffect)((function(){if(v){var e=document.styleSheets[0];null!==q(v)&&e.insertRule(q(v),e.cssRules.length)}return function(){F.current&&clearTimeout(F.current),B.current&&clearTimeout(B.current)}}),[]),(0,e.useEffect)((function(){u&&(F.current&&clearTimeout(F.current),B.current&&clearTimeout(B.current),0===y.length?setTimeout((function(){f(c)}),2e3):(C(!1),S(0),I(0)))}),[u]),(0,e.useEffect)((function(){F.current&&clearTimeout(F.current),F.current=setTimeout((function(){var e=w+1;e===y.length&&(e=0),I(e),P?(C(!0),B.current&&clearTimeout(B.current),B.current=setTimeout((function(){C(!1),S(e),0===e&&f(c)}),950)):(S(e),0===e&&f(c))}),b)}),[w]),t().createElement(t().Fragment,null,t().createElement("div",{className:"template-slideshow"},y&&y.map((function(e,r){var o=r===w,n={opacity:0,zIndex:y.length-r};return o?P?(0===w&&(n.animation="fadeIn ".concat(E,"ms")),x?n.animation="fadeOut ".concat(E,"ms"):n.opacity=1):n.opacity=1:r===w+1&&x&&(n.animation="fadeIn ".concat(E,"ms")),t().createElement("div",{className:"fade-container",key:e,"data-index":r,style:n,"data-active":o},t().createElement("div",{style:U(e,O===r||w===r,T),className:"image"}))})),j&&D&&t().createElement("img",{className:L.join(" "),src:D,alt:""})),t().createElement(Le,{id:d,css:null==c||null===(a=c.theme)||void 0===a?void 0:a.cssStyles}))}Be()(Ge.A,{insert:"head",singleton:!1}),Ge.A.locals,We.propTypes={run:a().string.isRequired,slideDone:a().func.isRequired,slide:a().shape({mediaData:a().shape({url:a().string,assets:a().shape({uri:a().string})}),theme:a().shape({cssStyles:a().string,logo:a().shape({assets:a().shape({url:a().string})})})}).isRequired,content:a().shape({images:a().arrayOf(a().string),imageDuration:a().number,animation:a().string,transition:a().string,showLogo:a().bool,logoSize:a().string,logoMargin:a().bool,logoPosition:a().string}).isRequired,executionId:a().string.isRequired};const Ye=We})();var n=exports;for(var a in o)n[a]=o[a];o.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})(); \ No newline at end of file +(()=>{var e={8070:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(6314),n=r.n(o)()((function(e){return e[1]}));n.push([e.id,'.slide{--color-white: #fff;--color-grey-100: hsl(0deg 0% 95%);--color-grey-200: hsl(0deg 0% 85%);--color-grey-300: hsl(0deg 0% 80%);--color-grey-400: hsl(0deg 0% 75%);--color-grey-500: hsl(0deg 0% 70%);--color-grey-600: hsl(0deg 0% 40%);--color-grey-700: hsl(0deg 0% 30%);--color-grey-800: hsl(0deg 0% 20%);--color-grey-900: hsl(0deg 0% 10%);--color-black: #000;--color-blue: hsl(219deg 89% 57%);--color-indigo: indigo;--color-purple: purple;--color-pink: pink;--color-red: red;--color-orange: orange;--color-yellow: yellow;--color-green: green;--color-teal: teal;--color-cyan: cyan;--color-gray: var(--color-grey-500);--color-gray-dark: var(--color-grey-900);--color-primary: var(--color-blue);--color-secondary: var(--color-orange);--color-success: var(--color-green);--color-info: var(--color-teal);--color-warning: var(--color-yellow);--color-danger: var(--color-red);--color-light: var(--color-white);--color-dark: var(--color-black);--bg-light: var(--color-light);--bg-dark: var(--color-dark);--bg-primary: var(--color-primary);--bg-secondary: var(--color-secondary);--bg-transparent: transparent;--text-light: var(--color-light);--text-dark: var(--color-dark);--color-red-oklch-ch: 0.25 29;--color-red-oklch-l: 50%;--color-red-oklch-c: 0.25;--color-red-oklch-h: 29;--color-red-50: oklch(95% calc(var(--color-red-oklch-c) - 0.20) var(--color-red-oklch-h));--color-red-100: oklch(90% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-200: oklch(85% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-300: oklch(80% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-400: oklch(70% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-500: oklch(60% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-600: oklch(var(--color-red-oklch-l) var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-700: oklch(40% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-800: oklch(30% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-900: oklch(20% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-red-950: oklch(15% var(--color-red-oklch-c) var(--color-red-oklch-h));--color-green-oklch-l: 50%;--color-green-oklch-c: 0.17;--color-green-oklch-h: 142;--color-green-50: oklch(95% calc(var(--color-green-oklch-c) - 0.15) var(--color-green-oklch-h));--color-green-100: oklch(90% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-200: oklch(85% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-300: oklch(80% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-400: oklch(70% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-500: oklch(60% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-600: oklch(var(--color-green-oklch-l) var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-700: oklch(40% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-800: oklch(30% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-900: oklch(20% var(--color-green-oklch-c) var(--color-green-oklch-h));--color-green-950: oklch(15% var(--color-green-oklch-c) var(--color-green-oklch-h));--font-family-base: system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--line-height-base: 1.5;--line-height-sm: 1.25;--line-height-lg: 2;--font-size-base: 1rem;--font-size-multiplier-050: 0.5;--font-size-multiplier-075: 0.75;--font-size-multiplier-090: 0.9;--font-size-multiplier-125: 1.25;--font-size-multiplier-150: 1.5;--font-size-multiplier-175: 1.75;--font-size-multiplier-200: 2;--font-size-multiplier-250: 2.5;--font-size-xs: calc(var(--font-size-base) * var(--font-size-multiplier-050));--font-size-sm: calc(var(--font-size-base) * var(--font-size-multiplier-075));--font-size-m: calc(var(--font-size-base) * 1);--font-size-lg: calc(var(--font-size-base) * var(--font-size-multiplier-125));--font-size-xl: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125));--h6-font-size: calc(var(--font-size-base));--spacer: 12px;--margin-size-base: calc(var(--spacer) * 3);--padding-size-base: calc(var(--spacer) * 3);--box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--border-size: 1px;--border-style: solid;--border-color: var(--color-grey-900);--border: var(--border-size) var(--border-style) var(--border-color);--border-radius-sm: 3px;--border-radius-md: 5px;--border-radius-lg: 7px;--background-color: var(--bg-light, hsl(0deg, 0%, 100%));--background-color-secondary: var(--color-grey-100, hsl(0deg, 0%, 95%));--text-color: var(--text-dark, hsl(0deg, 0%, 0%))}*,*::before,*::after{box-sizing:border-box}html{font-size:1.125rem;height:100%;background-color:var(--background-color);color:var(--text-color)}body{margin:0;height:100%}@keyframes h1-underline{0%{opacity:0;width:100%}40%{opacity:1;width:100%;margin-top:.938em;height:.375em}70%{opacity:1;width:100%;margin-top:.625em;height:.2em}100%{opacity:1;width:5em;margin-top:.625em}}.color-scheme-dark .slide{--background-color: var(--bg-dark, hsl(0deg, 0%, 10%));--background-color-secondary: var(--bg-dark-secondary, hsl(0deg, 0%, 20%));--text-color: var(--text-light, hsl(0deg, 0%, 100%));--border-color: var(--color-light);--color-grey-100: hsl(0deg 0% 10%);--color-grey-200: hsl(0deg 0% 15%);--color-grey-300: hsl(0deg 0% 20%);--color-grey-400: hsl(0deg 0% 25%);--color-grey-500: hsl(0deg 0% 30%);--color-grey-600: hsl(0deg 0% 45%);--color-grey-700: hsl(0deg 0% 60%);--color-grey-800: hsl(0deg 0% 75%);--color-grey-900: hsl(0deg 0% 90%)}@media screen and (min-width: 1921px)and (orientation: landscape){.slide{--font-size-base: 2rem;--spacer: 24px}}@media screen and (min-width: 1081px)and (orientation: portrait){.slide{--font-size-base: 2rem;--spacer: 24px}}.slide .font-size-xs{--font-size-base: var(--font-size-xs);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-s{--font-size-base: var(--font-size-sm);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-m{--font-size-base: var(--font-size-m);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-lg{--font-size-base: var(--font-size-lg);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide .font-size-xl{--font-size-base: var(--font-size-xl);--h1-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-250));--h2-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-200));--h3-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-175));--h4-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-150));--h5-font-size: calc(var(--font-size-base) * var(--font-size-multiplier-125))}.slide h1{font-size:var(--h1-font-size)}.slide h2{font-size:var(--h2-font-size)}.slide h3{font-size:var(--h3-font-size)}.slide h4{font-size:var(--h4-font-size)}.slide h5{font-size:var(--h5-font-size)}.slide h6{font-size:var(--h6-font-size)}',""]);const a=n},5050:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(6314),n=r.n(o)()((function(e){return e[1]}));n.push([e.id,".template-slideshow{width:100%;height:100%;overflow:hidden;position:relative;background-color:#000}.template-slideshow .logo{position:absolute;width:10%;z-index:1000}.template-slideshow .logo-size-s{width:5%}.template-slideshow .logo-size-m{width:10%}.template-slideshow .logo-size-l{width:15%}.template-slideshow .logo-position-top-left{top:0;left:0}.template-slideshow .logo-position-top-right{top:0;right:0}.template-slideshow .logo-position-bottom-left{bottom:0;left:0}.template-slideshow .logo-position-bottom-right{bottom:0;right:0}.template-slideshow .logo-margin{margin:1%}.template-slideshow .fade-container{width:100%;height:100%;position:absolute;top:0}.template-slideshow .fade-container .image{position:absolute;background-size:cover;background-position:center;display:block;width:100%;height:100%}.template-slideshow .fade-container .logo{position:absolute;width:10%;padding:2%}.template-slideshow .fade-container .logo.right{right:0}.template-slideshow .fade-container .logo.bottom{bottom:0}.template-slideshow .fade-container .logo.xs{width:5%}.template-slideshow .fade-container .logo.s{width:10%}.template-slideshow .fade-container .logo.m{width:15%}.template-slideshow .fade-container .logo.l{width:20%}.template-slideshow .fade-container .logo.xl{width:40%}@keyframes fadeIn{0%{opacity:0}95%{opacity:1}100%{opacity:1}}@keyframes fadeOut{0%{opacity:1}95%{opacity:0}100%{opacity:0}}",""]);const a=n},6314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,o){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(o)for(var a=0;a{"use strict";var o=r(3404),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return o.isMemo(e)?i:s[e.$$typeof]||n}s[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[o.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,o){if("string"!=typeof r){if(p){var n=h(r);n&&n!==p&&e(t,n,o)}var i=u(r);f&&(i=i.concat(f(r)));for(var s=c(t),g=c(r),m=0;m{"use strict";var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,k=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case u:case f:case a:case s:case i:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case m:case g:case c:return e;default:return t}}case n:return t}}}function S(e){return w(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=c,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=m,t.Memo=g,t.Portal=n,t.Profiler=s,t.StrictMode=i,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===n},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===i||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===k||e.$$typeof===v)},t.typeOf=w},3404:(e,t,r)=>{"use strict";e.exports=r(3072)},2694:(e,t,r)=>{"use strict";var o=r(6925);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,a,i){if(i!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:n};return r.PropTypes=r,r}},5556:(e,t,r)=>{e.exports=r(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2799:(e,t)=>{"use strict";var r=60103,o=60106,n=60107,a=60108,i=60114,s=60109,c=60110,l=60112,u=60113,f=60120,d=60115,h=60116,p=60121,g=60122,m=60117,v=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;r=b("react.element"),o=b("react.portal"),n=b("react.fragment"),a=b("react.strict_mode"),i=b("react.profiler"),s=b("react.provider"),c=b("react.context"),l=b("react.forward_ref"),u=b("react.suspense"),f=b("react.suspense_list"),d=b("react.memo"),h=b("react.lazy"),p=b("react.block"),g=b("react.server.block"),m=b("react.fundamental"),v=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===v||e===a||e===u||e===f||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===d||e.$$typeof===s||e.$$typeof===c||e.$$typeof===l||e.$$typeof===m||e.$$typeof===p||e[0]===g)},t.typeOf=function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case n:case i:case a:case u:case f:return e;default:switch(e=e&&e.$$typeof){case c:case l:case h:case d:case s:return e;default:return t}}case o:return t}}}},4363:(e,t,r)=>{"use strict";e.exports=r(2799)},2833:e=>{e.exports=function(e,t,r,o){var n=r?r.call(o,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c{"use strict";var o,n=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),a=[];function i(e){for(var t=-1,r=0;r{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var o={};(()=>{"use strict";r.r(o),r.d(o,{default:()=>Ye});const e=require("react");var t=r.n(e),n=r(5556),a=r.n(n),i=r(4363),s=r(2833),c=r.n(s);const l=function(e){function t(e,o,c,l,d){for(var h,p,g,m,k,S=0,z=0,x=0,C=0,A=0,T=0,$=g=h=0,M=0,N=0,D=0,L=0,F=c.length,B=F-1,H="",G="",q="",U="";Mh)&&(L=(H=H.replace(" ",":")).length),0o&&(o=(t=t.trim()).charCodeAt(0)),o){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102o.charCodeAt(0)&&(o=o.trim()),o=[o],01?t-1:0),o=1;o0?" Args: "+r.join(", "):""))}var P=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,n=o;e>=n;)(n<<=1)<0&&I(16,""+e);this.groupSizes=new Uint32Array(n),this.groupSizes.set(r),this.length=n;for(var a=o;a=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],o=this.indexOfGroup(e),n=o+r,a=o;a=T&&(T=t+1),E.set(e,t),R.set(t,e)},M="style["+x+'][data-styled-version="5.3.11"]',N=new RegExp("^"+x+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),D=function(e,t,r){for(var o,n=r.split(","),a=0,i=n.length;a=0;r--){var o=t[r];if(o&&1===o.nodeType&&o.hasAttribute(x))return o}}(r),a=void 0!==n?n.nextSibling:null;o.setAttribute(x,"active"),o.setAttribute("data-styled-version","5.3.11");var i=F();return i&&o.setAttribute("nonce",i),r.insertBefore(o,a),o},H=function(){function e(e){var t=this.element=B(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,o=t.length;r=0){var r=document.createTextNode(t),o=this.nodes[e];return this.element.insertBefore(r,o||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(l+=e+",")})),o+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return o}(this)},e}(),V=/(a)(d)/gi,X=function(e){return String.fromCharCode(e+(e>25?39:97))};function J(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=X(t%52)+r;return(X(t%52)+r).replace(V,"$1-$2")}var Z=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},K=function(e){return Z(5381,e)};function Q(e){for(var t=0;t>>0);if(!t.hasNameForId(o,i)){var s=r(a,"."+i,void 0,o);t.insertRules(o,i,s)}n.push(i),this.staticRulesId=i}else{for(var c=this.rules.length,l=Z(this.baseHash,r.hash),u="",f=0;f>>0);if(!t.hasNameForId(o,g)){var m=r(u,"."+g,void 0,o);t.insertRules(o,g,m)}n.push(g)}}return n.join(" ")},e}(),re=/^\s*\/\/.*$/gm,oe=[":","[",".","#"];function ne(e){var t,r,o,n,a=void 0===e?k:e,i=a.options,s=void 0===i?k:i,c=a.plugins,u=void 0===c?b:c,f=new l(s),d=[],h=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,o,n,a,i,s,c,l,u,f){switch(r){case 1:if(0===u&&64===o.charCodeAt(0))return e(o+";"),"";break;case 2:if(0===l)return o+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(n[0]+o),"";default:return o+(0===f?"/*|*/":"")}case-2:o.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),p=function(e,o,a){return 0===o&&-1!==oe.indexOf(a[r.length])||a.match(n)?e:"."+t};function g(e,a,i,s){void 0===s&&(s="&");var c=e.replace(re,""),l=a&&i?i+" "+a+" { "+c+" }":c;return t=s,r=a,o=new RegExp("\\"+r+"\\b","g"),n=new RegExp("(\\"+r+"\\b){2,}"),f(i||!a?"":a,l)}return f.use([].concat(u,[function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(r)>0&&(n[0]=n[0].replace(o,p))},h,function(e){if(-2===e){var t=d;return d=[],t}}])),g.hash=u.length?u.reduce((function(e,t){return t.name||I(15),Z(e,t.name)}),5381).toString():"",g}var ae=t().createContext(),ie=(ae.Consumer,t().createContext()),se=(ie.Consumer,new Y),ce=ne();function le(){return(0,e.useContext)(ae)||se}function ue(){return(0,e.useContext)(ie)||ce}function fe(r){var o=(0,e.useState)(r.stylisPlugins),n=o[0],a=o[1],i=le(),s=(0,e.useMemo)((function(){var e=i;return r.sheet?e=r.sheet:r.target&&(e=e.reconstructWithOptions({target:r.target},!1)),r.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[r.disableCSSOMInjection,r.sheet,r.target]),l=(0,e.useMemo)((function(){return ne({options:{prefix:!r.disableVendorPrefixes},plugins:n})}),[r.disableVendorPrefixes,n]);return(0,e.useEffect)((function(){c()(n,r.stylisPlugins)||a(r.stylisPlugins)}),[r.stylisPlugins]),t().createElement(ae.Provider,{value:s},t().createElement(ie.Provider,{value:l},r.children))}var de=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=ce);var o=r.name+t.hash;e.hasNameForId(r.id,o)||e.insertRules(r.id,o,t(r.rules,o,"@keyframes"))},this.toString=function(){return I(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ce),this.name+e.hash},e}(),he=/([A-Z])/,pe=/([A-Z])/g,ge=/^ms-/,me=function(e){return"-"+e.toLowerCase()};function ve(e){return he.test(e)?e.replace(pe,me).replace(ge,"-ms-"):e}var ye=function(e){return null==e||!1===e||""===e};function be(e,t,r,o){if(Array.isArray(e)){for(var n,a=[],i=0,s=e.length;i1?t-1:0),o=1;o?@[\\\]^`{|}~-]+/g,xe=/(^-|-$)/g;function Ce(e){return e.replace(ze,"-").replace(xe,"")}var Ae=function(e){return J(K(e)>>>0)};function Oe(e){return"string"==typeof e&&!0}var Ie=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Pe=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Ee(e,t,r){var o=e[r];Ie(t)&&Ie(o)?Re(o,t):e[r]=t}function Re(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o=0||(n[r]=e[r]);return n}(o,["componentId"]),a=t&&t+"-"+(Oe(e)?e:Ce(S(e)));return $e(e,m({},r,{attrs:v,componentId:a}),n)},Object.defineProperty(x,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?Re({},r.defaultProps,e):e}}),Object.defineProperty(x,"toString",{value:function(){return"."+x.styledComponentId}}),i&&g()(x,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),x}var _e=function(e){return function e(t,r,o){if(void 0===o&&(o=k),!(0,i.isValidElementType)(r))return I(1,String(r));var n=function(){return t(r,o,we.apply(void 0,arguments))};return n.withConfig=function(n){return e(t,r,m({},o,{},n))},n.attrs=function(n){return e(t,r,m({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},n}($e,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){_e[e]=_e(e)}));var Me,Ne,De=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Q(e),Y.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,o){var n=o(be(this.rules,t,r,o).join(""),""),a=this.componentId+e;r.insertRules(a,a,n)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,o){e>2&&Y.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,o)},e}();function Le(r){var o=r.id,n=r.css,a=void 0===n?null:n;if(!a)return t().createElement(t().Fragment,null);var i,s,c=a.replaceAll("#SLIDE_ID","#".concat(o)),l=function(r){for(var o=arguments.length,n=new Array(o>1?o-1:0),a=1;a"+t+""},this.getStyleTags=function(){return e.sealed?I(2):e._emitSheetCSS()},this.getStyleElement=function(){var r;if(e.sealed)return I(2);var o=((r={})[x]="",r["data-styled-version"]="5.3.11",r.dangerouslySetInnerHTML={__html:e.instance.toString()},r),n=F();return n&&(o.nonce=n),[t().createElement("style",m({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Y({isServer:!0}),this.sealed=!1}.prototype).collectStyles=function(e){return this.sealed?I(2):t().createElement(fe,{sheet:this.instance},e)},Me.interleaveWithNodeStream=function(e){return I(3)},Le.propTypes={id:a().string.isRequired,css:a().string};var Fe=r(5072),Be=r.n(Fe),He=r(8070);Be()(He.A,{insert:"head",singleton:!1}),He.A.locals;var Ge=r(5050);function qe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a,i,s=[],c=!0,l=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=a.call(r)).done)&&(s.push(o.value),s.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw n}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ue(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ue(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r1&&void 0!==arguments[1]?arguments[1]:"50% 50%",r=e?1:1.2,o=e?1.2:1;return"@keyframes ".concat(R," {\n 0% {\n transform: scale(").concat(r,");\n transform-origin: ").concat(t,";\n }\n 5% {\n transform: scale(").concat(r,");\n transform-origin: ").concat(t,";\n }\n 95% {\n transform: scale(").concat(o,");\n transform-origin: ").concat(t,";\n }\n 100% {\n transform: scale(").concat(o,");\n transform-origin: ").concat(t,";\n }\n }")}function q(e){var t=["zoom-in-middle","zoom-out-middle","zoom-out-random","zoom-in-random"],r="".concat(H(100)+1,"% ").concat(H(100)+1,"%");switch(e){case"zoom-in-middle":return G(!0);case"zoom-out-middle":return G(!1);case"zoom-in-random":return G(!0,r);case"zoom-out-random":return G(!1,r);case"random":return q(t[H(t.length)]);default:return null}}var U=function(e,t,r){var o={backgroundImage:"url(".concat(e,")")};return t&&(o.animation="".concat(R," ").concat(r,"ms")),o};return(0,e.useEffect)((function(){if(v){var e=document.styleSheets[0];null!==q(v)&&e.insertRule(q(v),e.cssRules.length)}return function(){F.current&&clearTimeout(F.current),B.current&&clearTimeout(B.current)}}),[]),(0,e.useEffect)((function(){u&&(F.current&&clearTimeout(F.current),B.current&&clearTimeout(B.current),0===y.length?setTimeout((function(){f(c)}),2e3):(C(!1),S(0),I(0)))}),[u]),(0,e.useEffect)((function(){F.current&&clearTimeout(F.current),F.current=setTimeout((function(){var e=w+1;e===y.length&&(e=0),0!==e&&I(e),P&&0!==e?(C(!0),B.current&&clearTimeout(B.current),B.current=setTimeout((function(){C(!1),0===e?f(c):S(e)}),950)):0===e?f(c):S(e)}),b)}),[w]),t().createElement(t().Fragment,null,t().createElement("div",{className:"template-slideshow"},y&&y.map((function(e,r){var o=r===w,n={opacity:0,zIndex:y.length-r};return o?P?(0===w&&(n.animation="fadeIn ".concat(E,"ms")),x?n.animation="fadeOut ".concat(E,"ms"):n.opacity=1):n.opacity=1:r===w+1&&x&&(n.animation="fadeIn ".concat(E,"ms")),t().createElement("div",{className:"fade-container",key:e,"data-index":r,style:n,"data-active":o},t().createElement("div",{style:U(e,O===r||w===r,T),className:"image"}))})),j&&D&&t().createElement("img",{className:L.join(" "),src:D,alt:""})),t().createElement(Le,{id:d,css:null==c||null===(a=c.theme)||void 0===a?void 0:a.cssStyles}))}Be()(Ge.A,{insert:"head",singleton:!1}),Ge.A.locals,We.propTypes={run:a().string.isRequired,slideDone:a().func.isRequired,slide:a().shape({mediaData:a().shape({url:a().string,assets:a().shape({uri:a().string})}),theme:a().shape({cssStyles:a().string,logo:a().shape({assets:a().shape({url:a().string})})})}).isRequired,content:a().shape({images:a().arrayOf(a().string),imageDuration:a().number,animation:a().string,transition:a().string,showLogo:a().bool,logoSize:a().string,logoMargin:a().bool,logoPosition:a().string}).isRequired,executionId:a().string.isRequired};const Ye=We})();var n=exports;for(var a in o)n[a]=o[a];o.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})(); \ No newline at end of file diff --git a/src/slideshow/slideshow.js b/src/slideshow/slideshow.js index f3df06bd..76ec4eab 100644 --- a/src/slideshow/slideshow.js +++ b/src/slideshow/slideshow.js @@ -203,9 +203,11 @@ function Slideshow({ slide, content, run, slideDone, executionId }) { newIndex = 0; } - setAnimationIndex(newIndex); + if (newIndex !== 0) { + setAnimationIndex(newIndex); + } - if (fadeEnabled) { + if (fadeEnabled && newIndex !== 0) { // Fade to next image. setFade(true); @@ -215,17 +217,17 @@ function Slideshow({ slide, content, run, slideDone, executionId }) { fadeRef.current = setTimeout(() => { setFade(false); - setIndex(newIndex); if (newIndex === 0) { slideDone(slide); + } else { + setIndex(newIndex); } }, fadeDuration - fadeSafeMargin); + } else if (newIndex === 0) { + slideDone(slide); } else { setIndex(newIndex); - if (newIndex === 0) { - slideDone(slide); - } } }, imageDurationInMilliseconds); }, [index]);