@aurodesignsystem-dev/auro-slideshow 0.0.0-pr66.0 → 0.0.0-pr68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import{css as t,LitElement as e,html as o,nothing as s}from"lit";import{unsafeStatic as a,literal as r,html as i}from"lit/static-html.js";import{classMap as n}from"lit/directives/class-map.js";import{ifDefined as l}from"lit/directives/if-defined.js";function c(t){return"number"==typeof t}function d(t){return"string"==typeof t}function u(t){return"boolean"==typeof t}function h(t){return"[object Object]"===Object.prototype.toString.call(t)}function p(t){return Math.abs(t)}function b(t){return Math.sign(t)}function m(t,e){return p(t-e)}function g(t){return w(t).map(Number)}function f(t){return t[v(t)]}function v(t){return Math.max(0,t.length-1)}function x(t,e){return e===v(t)}function y(t,e=0){return Array.from(Array(t),((t,o)=>e+o))}function w(t){return Object.keys(t)}function z(t,e){return[t,e].reduce(((t,e)=>(w(e).forEach((o=>{const s=t[o],a=e[o],r=h(s)&&h(a);t[o]=r?z(s,a):a})),t)),{})}function k(t,e){return void 0!==e.MouseEvent&&t instanceof e.MouseEvent}function S(){let t=[];const e={add:function(o,s,a,r={passive:!0}){let i;if("addEventListener"in o)o.addEventListener(s,a,r),i=()=>o.removeEventListener(s,a,r);else{const t=o;t.addListener(a),i=()=>t.removeListener(a)}return t.push(i),e},clear:function(){t=t.filter((t=>t()))}};return e}function A(t,e,o,s){const a=S(),r=1e3/60;let i=null,n=0,l=0;function c(t){if(!l)return;i||(i=t,o(),o());const a=t-i;for(i=t,n+=a;n>=r;)o(),n-=r;s(n/r),l&&(l=e.requestAnimationFrame(c))}function d(){e.cancelAnimationFrame(l),i=null,n=0,l=0}return{init:function(){a.add(t,"visibilitychange",(()=>{t.hidden&&(i=null,n=0)}))},destroy:function(){d(),a.clear()},start:function(){l||(l=e.requestAnimationFrame(c))},stop:d,update:o,render:s}}function B(t=0,e=0){const o=p(t-e);function s(e){return e<t}function a(t){return t>e}function r(t){return s(t)||a(t)}return{length:o,max:e,min:t,constrain:function(o){return r(o)?s(o)?t:e:o},reachedAny:r,reachedMax:a,reachedMin:s,removeOffset:function(t){return o?t-o*Math.ceil((t-e)/o):t}}}function _(t,e,o){const{constrain:s}=B(0,t),a=t+1;let r=i(e);function i(t){return o?p((a+t)%a):s(t)}function n(){return r}function l(){return _(t,n(),o)}const c={get:n,set:function(t){return r=i(t),c},add:function(t){return l().set(n()+t)},clone:l};return c}function I(t,e,o,s,a,r,i,n,l,c,d,h,g,f,v,x,y,w,z){const{cross:A,direction:_}=t,I=["INPUT","SELECT","TEXTAREA"],N={passive:!1},C=S(),q=S(),L=B(50,225).constrain(f.measure(20)),O={mouse:300,touch:400},M={mouse:500,touch:600},T=v?43:25;let E=!1,H=0,F=0,R=!1,D=!1,U=!1,P=!1;function $(t){if(!k(t,s)&&t.touches.length>=2)return W(t);const e=r.readPoint(t),o=r.readPoint(t,A),i=m(e,H),l=m(o,F);if(!D&&!P){if(!t.cancelable)return W(t);if(D=i>l,!D)return W(t)}const d=r.pointerMove(t);i>x&&(U=!0),c.useFriction(.3).useDuration(.75),n.start(),a.add(_(d)),t.preventDefault()}function W(t){const e=d.byDistance(0,!1).index!==h.get(),o=r.pointerUp(t)*(v?M:O)[P?"mouse":"touch"],s=function(t,e){const o=h.add(-1*b(t)),s=d.byDistance(t,!v).distance;return v||p(t)<L?s:y&&e?.5*s:d.byIndex(o.get(),0).distance}(_(o),e),a=function(t,e){if(0===t||0===e)return 0;if(p(t)<=p(e))return 0;const o=m(p(t),p(e));return p(o/t)}(o,s),i=T-10*a,n=w+a/50;D=!1,R=!1,q.clear(),c.useDuration(i).useFriction(n),l.distance(s,!v),P=!1,g.emit("pointerUp")}function V(t){U&&(t.stopPropagation(),t.preventDefault(),U=!1)}return{init:function(t){if(!z)return;function n(n){(u(z)||z(t,n))&&function(t){const n=k(t,s);if(P=n,U=v&&n&&!t.buttons&&E,E=m(a.get(),i.get())>=2,n&&0!==t.button)return;if(function(t){const e=t.nodeName||"";return I.includes(e)}(t.target))return;R=!0,r.pointerDown(t),c.useFriction(0).useDuration(0),a.set(i),function(){const t=P?o:e;q.add(t,"touchmove",$,N).add(t,"touchend",W).add(t,"mousemove",$,N).add(t,"mouseup",W)}(),H=r.readPoint(t),F=r.readPoint(t,A),g.emit("pointerDown")}(n)}const l=e;C.add(l,"dragstart",(t=>t.preventDefault()),N).add(l,"touchmove",(()=>{}),N).add(l,"touchend",(()=>{})).add(l,"touchstart",n).add(l,"mousedown",n).add(l,"touchcancel",W).add(l,"contextmenu",W).add(l,"click",V,!0)},destroy:function(){C.clear(),q.clear()},pointerDown:function(){return R}}}function N(t,e){let o,s;function a(t){return t.timeStamp}function r(o,s){const a="client"+("x"===(s||t.scroll)?"X":"Y");return(k(o,e)?o:o.touches[0])[a]}return{pointerDown:function(t){return o=t,s=t,r(t)},pointerMove:function(t){const e=r(t)-r(s),i=a(t)-a(o)>170;return s=t,i&&(o=t),e},pointerUp:function(t){if(!o||!s)return 0;const e=r(s)-r(o),i=a(t)-a(o),n=a(t)-a(s)>170,l=e/i;return i&&!n&&p(l)>.1?l:0},readPoint:r}}function C(t,e,o,s,a,r,i){const n=[t].concat(s);let l,c,d=[],h=!1;function b(t){return a.measureSize(i.measure(t))}return{init:function(a){r&&(c=b(t),d=s.map(b),l=new ResizeObserver((o=>{(u(r)||r(a,o))&&function(o){for(const r of o){if(h)return;const o=r.target===t,i=s.indexOf(r.target),n=o?c:d[i];if(p(b(o?t:s[i])-n)>=.5){a.reInit(),e.emit("resize");break}}}(o)})),o.requestAnimationFrame((()=>{n.forEach((t=>l.observe(t)))})))},destroy:function(){h=!0,l&&l.disconnect()}}}function q(t,e,o,s,a){const r=a.measure(10),i=a.measure(50),n=B(.1,.99);let l=!1;function c(){return!l&&(!!t.reachedAny(o.get())&&!!t.reachedAny(e.get()))}return{shouldConstrain:c,constrain:function(a){if(!c())return;const l=t.reachedMin(e.get())?"min":"max",d=p(t[l]-e.get()),u=o.get()-e.get(),h=n.constrain(d/i);o.subtract(u*h),!a&&p(u)<r&&(o.set(t.constrain(o.get())),s.useDuration(25).useBaseFriction())},toggleActive:function(t){l=!t}}}function L(t,e,o,s){const a=e.min+.1,r=e.max+.1,{reachedMin:i,reachedMax:n}=B(a,r);const l={loop:function(e){if(!function(t){return 1===t?n(o.get()):-1===t&&i(o.get())}(e))return;const a=t*(-1*e);s.forEach((t=>t.add(a)))}};return l}function O(t,e,o,s,a){const{reachedAny:r,removeOffset:i,constrain:n}=s;function l(t){return t.concat().sort(((t,e)=>p(t)-p(e)))[0]}function c(e,s){const a=[e,e+o,e-o];if(!t)return e;if(!s)return l(a);const r=a.filter((t=>b(t)===s));return r.length?l(r):f(a)-o}return{byDistance:function(o,s){const l=a.get()+o,{index:d,distance:u}=function(o){const s=t?i(o):n(o),a=e.map(((t,e)=>({diff:c(t-s,0),index:e}))).sort(((t,e)=>p(t.diff)-p(e.diff))),{index:r}=a[0];return{index:r,distance:s}}(l),h=!t&&r(l);return!s||h?{index:d,distance:o}:{index:d,distance:o+c(e[d]-u,0)}},byIndex:function(t,o){return{index:t,distance:c(e[t]-a.get(),o)}},shortcut:c}}function M(t,e,o,s,a,r,i,n){const l={passive:!0,capture:!0};let d=0;function h(t){"Tab"===t.code&&(d=(new Date).getTime())}return{init:function(p){n&&(r.add(document,"keydown",h,!1),e.forEach(((e,h)=>{r.add(e,"focus",(e=>{(u(n)||n(p,e))&&function(e){if((new Date).getTime()-d>10)return;i.emit("slideFocusStart"),t.scrollLeft=0;const r=o.findIndex((t=>t.includes(e)));c(r)&&(a.useDuration(0),s.index(r,0),i.emit("slideFocus"))}(h)}),l)})))}}}function T(t){let e=t;function o(t){return c(t)?t:t.get()}return{get:function(){return e},set:function(t){e=o(t)},add:function(t){e+=o(t)},subtract:function(t){e-=o(t)}}}function E(t,e){const o="x"===t.scroll?function(t){return`translate3d(${t}px,0px,0px)`}:function(t){return`translate3d(0px,${t}px,0px)`},s=e.style;let a=null,r=!1;return{clear:function(){r||(s.transform="",e.getAttribute("style")||e.removeAttribute("style"))},to:function(e){if(r)return;const i=(n=t.direction(e),Math.round(100*n)/100);var n;i!==a&&(s.transform=o(i),a=i)},toggleActive:function(t){r=!t}}}function H(t,e,o,s,a,r,i,n,l){const c=g(a),d=g(a).reverse(),u=function(){const t=i[0];return b(p(d,t),o,!1)}().concat(function(){const t=e-i[0]-1;return b(p(c,t),-o,!0)}());function h(t,e){return t.reduce(((t,e)=>t-a[e]),e)}function p(t,e){return t.reduce(((t,o)=>h(t,e)>0?t.concat([o]):t),[])}function b(a,i,c){const d=function(t){return r.map(((o,a)=>({start:o-s[a]+.5+t,end:o+e-.5+t})))}(i);return a.map((e=>{const s=c?0:-o,a=c?o:0,r=c?"end":"start",i=d[e][r];return{index:e,loopPoint:i,slideLocation:T(-1),translate:E(t,l[e]),target:()=>n.get()>i?s:a}}))}return{canLoop:function(){return u.every((({index:t})=>h(c.filter((e=>e!==t)),e)<=.1))},clear:function(){u.forEach((t=>t.translate.clear()))},loop:function(){u.forEach((t=>{const{target:e,translate:o,slideLocation:s}=t,a=e();a!==s.get()&&(o.to(a),s.set(a))}))},loopPoints:u}}function F(t,e,o){let s,a=!1;return{init:function(r){o&&(s=new MutationObserver((t=>{a||(u(o)||o(r,t))&&function(t){for(const o of t)if("childList"===o.type){r.reInit(),e.emit("slidesChanged");break}}(t)})),s.observe(t,{childList:!0}))},destroy:function(){s&&s.disconnect(),a=!0}}}function R(t,e,o,s){const a={};let r,i=null,n=null,l=!1;return{init:function(){r=new IntersectionObserver((t=>{l||(t.forEach((t=>{const o=e.indexOf(t.target);a[o]=t})),i=null,n=null,o.emit("slidesInView"))}),{root:t.parentElement,threshold:s}),e.forEach((t=>r.observe(t)))},destroy:function(){r&&r.disconnect(),l=!0},get:function(t=!0){if(t&&i)return i;if(!t&&n)return n;const e=function(t){return w(a).reduce(((e,o)=>{const s=parseInt(o),{isIntersecting:r}=a[s];return(t&&r||!t&&!r)&&e.push(s),e}),[])}(t);return t&&(i=e),t||(n=e),e}}}function D(t,e,o,s,a,r,i,n,l){const{startEdge:d,endEdge:u,direction:h}=t,b=c(o);return{groupSlides:function(t){return b?function(t,e){return g(t).filter((t=>t%e==0)).map((o=>t.slice(o,o+e)))}(t,o):function(t){return t.length?g(t).reduce(((o,c,b)=>{const m=f(o)||0,g=0===m,x=c===v(t),y=a[d]-r[m][d],w=a[d]-r[c][u],z=!s&&g?h(i):0,k=p(w-(!s&&x?h(n):0)-(y+z));return b&&k>e+l&&o.push(c),x&&o.push(t.length),o}),[]).map(((e,o,s)=>{const a=Math.max(s[o-1]||0);return t.slice(a,e)})):[]}(t)}}}function U(t,e,o,s,a,r,i){const{align:n,axis:l,direction:c,startIndex:u,loop:h,duration:w,dragFree:z,dragThreshold:k,inViewThreshold:U,slidesToScroll:P,skipSnaps:$,containScroll:W,watchResize:V,watchSlides:G,watchDrag:j,watchFocus:X}=r,K={measure:function(t){const{offsetTop:e,offsetLeft:o,offsetWidth:s,offsetHeight:a}=t;return{top:e,right:o+s,bottom:e+a,left:o,width:s,height:a}}},Q=K.measure(e),Y=o.map(K.measure),Z=function(t,e){const o="rtl"===e,s="y"===t,a=!s&&o?-1:1;return{scroll:s?"y":"x",cross:s?"x":"y",startEdge:s?"top":o?"right":"left",endEdge:s?"bottom":o?"left":"right",measureSize:function(t){const{height:e,width:o}=t;return s?e:o},direction:function(t){return t*a}}}(l,c),J=Z.measureSize(Q),tt=function(t){return{measure:function(e){return t*(e/100)}}}(J),et=function(t,e){const o={start:function(){return 0},center:function(t){return s(t)/2},end:s};function s(t){return e-t}return{measure:function(s,a){return d(t)?o[t](s):t(e,s,a)}}}(n,J),ot=!h&&!!W,st=h||!!W,{slideSizes:at,slideSizesWithGaps:rt,startGap:it,endGap:nt}=function(t,e,o,s,a,r){const{measureSize:i,startEdge:n,endEdge:l}=t,c=o[0]&&a,d=function(){if(!c)return 0;const t=o[0];return p(e[n]-t[n])}(),u=function(){if(!c)return 0;const t=r.getComputedStyle(f(s));return parseFloat(t.getPropertyValue(`margin-${l}`))}(),h=o.map(i),b=o.map(((t,e,o)=>{const s=!e,a=x(o,e);return s?h[e]+d:a?h[e]+u:o[e+1][n]-t[n]})).map(p);return{slideSizes:h,slideSizesWithGaps:b,startGap:d,endGap:u}}(Z,Q,Y,o,st,a),lt=D(Z,J,P,h,Q,Y,it,nt,2),{snaps:ct,snapsAligned:dt}=function(t,e,o,s,a){const{startEdge:r,endEdge:i}=t,{groupSlides:n}=a,l=n(s).map((t=>f(t)[i]-t[0][r])).map(p).map(e.measure),c=s.map((t=>o[r]-t[r])).map((t=>-p(t))),d=n(c).map((t=>t[0])).map(((t,e)=>t+l[e]));return{snaps:c,snapsAligned:d}}(Z,et,Q,Y,lt),ut=-f(ct)+f(rt),{snapsContained:ht,scrollContainLimit:pt}=function(t,e,o,s,a){const r=B(-e+t,0),i=o.map(((t,e)=>{const{min:s,max:a}=r,i=r.constrain(t),n=!e,c=x(o,e);return n?a:c||l(s,i)?s:l(a,i)?a:i})).map((t=>parseFloat(t.toFixed(3)))),n=function(){const t=i[0],e=f(i);return B(i.lastIndexOf(t),i.indexOf(e)+1)}();function l(t,e){return m(t,e)<=1}return{snapsContained:function(){if(e<=t+a)return[r.max];if("keepSnaps"===s)return i;const{min:o,max:l}=n;return i.slice(o,l)}(),scrollContainLimit:n}}(J,ut,dt,W,2),bt=ot?ht:dt,{limit:mt}=function(t,e,o){const s=e[0];return{limit:B(o?s-t:f(e),s)}}(ut,bt,h),gt=_(v(bt),u,h),ft=gt.clone(),vt=g(o),xt=A(s,a,(()=>(({dragHandler:t,scrollBody:e,scrollBounds:o,options:{loop:s}})=>{s||o.constrain(t.pointerDown()),e.seek()})(Ot)),(t=>(({scrollBody:t,translate:e,location:o,offsetLocation:s,previousLocation:a,scrollLooper:r,slideLooper:i,dragHandler:n,animation:l,eventHandler:c,scrollBounds:d,options:{loop:u}},h)=>{const p=t.settled(),b=!d.shouldConstrain(),m=u?p:p&&b,g=m&&!n.pointerDown();g&&l.stop();const f=o.get()*h+a.get()*(1-h);s.set(f),u&&(r.loop(t.direction()),i.loop()),e.to(s.get()),g&&c.emit("settle"),m||c.emit("scroll")})(Ot,t))),yt=bt[gt.get()],wt=T(yt),zt=T(yt),kt=T(yt),St=T(yt),At=function(t,e,o,s,a,r){let i=0,n=0,l=a,c=r,d=t.get(),u=0;function h(t){return l=t,g}function m(t){return c=t,g}const g={direction:function(){return n},duration:function(){return l},velocity:function(){return i},seek:function(){const e=s.get()-t.get();let a=0;return l?(o.set(t),i+=e/l,i*=c,d+=i,t.add(i),a=d-u):(i=0,o.set(s),t.set(s),a=e),n=b(a),u=d,g},settled:function(){return p(s.get()-e.get())<.001},useBaseFriction:function(){return m(r)},useBaseDuration:function(){return h(a)},useFriction:m,useDuration:h};return g}(wt,kt,zt,St,w,.68),Bt=O(h,bt,ut,mt,St),_t=function(t,e,o,s,a,r,i){function n(a){const n=a.distance,l=a.index!==e.get();r.add(n),n&&(s.duration()?t.start():(t.update(),t.render(1),t.update())),l&&(o.set(e.get()),e.set(a.index),i.emit("select"))}return{distance:function(t,e){n(a.byDistance(t,e))},index:function(t,o){const s=e.clone().set(t);n(a.byIndex(s.get(),o))}}}(xt,gt,ft,At,Bt,St,i),It=function(t){const{max:e,length:o}=t;return{get:function(t){return o?(t-e)/-o:0}}}(mt),Nt=S(),Ct=R(e,o,i,U),{slideRegistry:qt}=function(t,e,o,s,a,r){const{groupSlides:i}=a,{min:n,max:l}=s;return{slideRegistry:function(){const s=i(r),a=!t||"keepSnaps"===e;return 1===o.length?[r]:a?s:s.slice(n,l).map(((t,e,o)=>{const s=!e,a=x(o,e);return s?y(f(o[0])+1):a?y(v(r)-f(o)[0]+1,f(o)[0]):t}))}()}}(ot,W,bt,pt,lt,vt),Lt=M(t,o,qt,_t,At,Nt,i,X),Ot={ownerDocument:s,ownerWindow:a,eventHandler:i,containerRect:Q,slideRects:Y,animation:xt,axis:Z,dragHandler:I(Z,t,s,a,St,N(Z,a),wt,xt,_t,At,Bt,gt,i,tt,z,k,$,.68,j),eventStore:Nt,percentOfView:tt,index:gt,indexPrevious:ft,limit:mt,location:wt,offsetLocation:kt,previousLocation:zt,options:r,resizeHandler:C(e,i,a,o,Z,V,K),scrollBody:At,scrollBounds:q(mt,kt,St,At,tt),scrollLooper:L(ut,mt,kt,[wt,kt,zt,St]),scrollProgress:It,scrollSnapList:bt.map(It.get),scrollSnaps:bt,scrollTarget:Bt,scrollTo:_t,slideLooper:H(Z,J,ut,at,rt,ct,bt,kt,o),slideFocus:Lt,slidesHandler:F(e,i,G),slidesInView:Ct,slideIndexes:vt,slideRegistry:qt,slidesToScroll:lt,target:St,translate:E(Z,e)};return Ot}const P={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function $(t){function e(t,e){return z(t,e||{})}const o={mergeOptions:e,optionsAtMedia:function(o){const s=o.breakpoints||{},a=w(s).filter((e=>t.matchMedia(e).matches)).map((t=>s[t])).reduce(((t,o)=>e(t,o)),{});return e(o,a)},optionsMediaQueries:function(e){return e.map((t=>w(t.breakpoints||{}))).reduce(((t,e)=>t.concat(e)),[]).map(t.matchMedia)}};return o}function W(t,e,o){const s=t.ownerDocument,a=s.defaultView,r=$(a),i=function(t){let e=[];return{init:function(o,s){return e=s.filter((({options:e})=>!1!==t.optionsAtMedia(e).active)),e.forEach((e=>e.init(o,t))),s.reduce(((t,e)=>Object.assign(t,{[e.name]:e})),{})},destroy:function(){e=e.filter((t=>t.destroy()))}}}(r),n=S(),l=function(){let t,e={};function o(t){return e[t]||[]}const s={init:function(e){t=e},emit:function(e){return o(e).forEach((o=>o(t,e))),s},off:function(t,a){return e[t]=o(t).filter((t=>t!==a)),s},on:function(t,a){return e[t]=o(t).concat([a]),s},clear:function(){e={}}};return s}(),{mergeOptions:c,optionsAtMedia:u,optionsMediaQueries:h}=r,{on:p,off:b,emit:m}=l,g=I;let f,v,x,y,w=!1,z=c(P,W.globalOptions),k=c(z),A=[];function B(e){const o=U(t,x,y,s,a,e,l);if(e.loop&&!o.slideLooper.canLoop()){return B(Object.assign({},e,{loop:!1}))}return o}function _(e,o){w||(z=c(z,e),k=u(z),A=o||A,function(){const{container:e,slides:o}=k,s=d(e)?t.querySelector(e):e;x=s||t.children[0];const a=d(o)?x.querySelectorAll(o):o;y=[].slice.call(a||x.children)}(),f=B(k),h([z,...A.map((({options:t})=>t))]).forEach((t=>n.add(t,"change",I))),k.active&&(f.translate.to(f.location.get()),f.animation.init(),f.slidesInView.init(),f.slideFocus.init(L),f.eventHandler.init(L),f.resizeHandler.init(L),f.slidesHandler.init(L),f.options.loop&&f.slideLooper.loop(),x.offsetParent&&y.length&&f.dragHandler.init(L),v=i.init(L,A)))}function I(t,e){const o=q();N(),_(c({startIndex:o},t),e),l.emit("reInit")}function N(){f.dragHandler.destroy(),f.eventStore.clear(),f.translate.clear(),f.slideLooper.clear(),f.resizeHandler.destroy(),f.slidesHandler.destroy(),f.slidesInView.destroy(),f.animation.destroy(),i.destroy(),n.clear()}function C(t,e,o){k.active&&!w&&(f.scrollBody.useBaseFriction().useDuration(!0===e?0:k.duration),f.scrollTo.index(t,o||0))}function q(){return f.index.get()}const L={canScrollNext:function(){return f.index.add(1).get()!==q()},canScrollPrev:function(){return f.index.add(-1).get()!==q()},containerNode:function(){return x},internalEngine:function(){return f},destroy:function(){w||(w=!0,n.clear(),N(),l.emit("destroy"),l.clear())},off:b,on:p,emit:m,plugins:function(){return v},previousScrollSnap:function(){return f.indexPrevious.get()},reInit:g,rootNode:function(){return t},scrollNext:function(t){C(f.index.add(1).get(),t,-1)},scrollPrev:function(t){C(f.index.add(-1).get(),t,1)},scrollProgress:function(){return f.scrollProgress.get(f.offsetLocation.get())},scrollSnapList:function(){return f.scrollSnapList},scrollTo:C,selectedScrollSnap:q,slideNodes:function(){return y},slidesInView:function(){return f.slidesInView.get()},slidesNotInView:function(){return f.slidesInView.get(!1)}};return _(e,o),setTimeout((()=>l.emit("init")),0),L}W.globalOptions=void 0;const V={direction:"forward",speed:2,startDelay:1e3,active:!0,breakpoints:{},playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,rootNode:null};function G(t={}){let e,o,s,a,r,i=0,n=!1,l=!1;function c(){if(s)return;if(n)return;o.emit("autoScroll:play");const t=o.internalEngine(),{ownerWindow:r}=t;i=r.setTimeout((()=>{t.scrollBody=function(t){const{location:s,previousLocation:a,offsetLocation:r,target:i,scrollTarget:n,index:l,indexPrevious:c,limit:{reachedMin:u,reachedMax:h,constrain:p},options:{loop:b}}=t,m="forward"===e.direction?-1:1,g=()=>k;let f=0,v=0,x=s.get(),y=0,w=!1;function z(){let t=0;a.set(s),f=m*e.speed,x+=f,s.add(f),i.set(s),t=x-y,v=Math.sign(t),y=x;const g=n.byDistance(0,!1).index;l.get()!==g&&(c.set(l.get()),l.set(g),o.emit("select"));const z="forward"===e.direction?u(r.get()):h(r.get());if(!b&&z){w=!0;const t=p(s.get());s.set(t),i.set(s),d()}return k}const k={direction:()=>v,duration:()=>-1,velocity:()=>f,settled:()=>w,seek:z,useBaseFriction:g,useBaseDuration:g,useFriction:g,useDuration:g};return k}(t),t.animation.start()}),a),n=!0}function d(){if(s)return;if(!n)return;o.emit("autoScroll:stop");const t=o.internalEngine(),{ownerWindow:e}=t;t.scrollBody=r,e.clearTimeout(i),i=0,n=!1}function u(){l||d()}function h(){l||g()}function p(){l=!0,d()}function b(){l=!1,c()}function m(){o.off("settle",m),c()}function g(){o.on("settle",m)}return{name:"autoScroll",options:t,init:function(i,n){o=i;const{mergeOptions:l,optionsAtMedia:m}=n,g=l(V,G.globalOptions),f=l(g,t);if(e=m(f),o.scrollSnapList().length<=1)return;a=e.startDelay,s=!1,r=o.internalEngine().scrollBody;const{eventStore:v}=o.internalEngine(),x=!!o.internalEngine().options.watchDrag,y=function(t,e){const o=t.rootNode();return e&&e(o)||o}(o,e.rootNode);x&&o.on("pointerDown",u),x&&!e.stopOnInteraction&&o.on("pointerUp",h),e.stopOnMouseEnter&&v.add(y,"mouseenter",p),e.stopOnMouseEnter&&!e.stopOnInteraction&&v.add(y,"mouseleave",b),e.stopOnFocusIn&&o.on("slideFocusStart",d),e.stopOnFocusIn&&!e.stopOnInteraction&&v.add(o.containerNode(),"focusout",c),e.playOnInit&&c()},destroy:function(){o.off("pointerDown",u).off("pointerUp",h).off("slideFocusStart",d).off("settle",m),d(),s=!0,n=!1},play:function(t){void 0!==t&&(a=t),c()},stop:function(){n&&d()},reset:function(){n&&(d(),g())},isPlaying:function(){return n}}}G.globalOptions=void 0;const j={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function X(t={}){let e,o,s,a,r=null,i=0,n=!1,l=!1,c=!1,d=!1;function u(){s||(b()?c=!0:(n||o.emit("autoplay:play"),function(){const{ownerWindow:t}=o.internalEngine();t.clearTimeout(i),i=t.setTimeout(x,a[o.selectedScrollSnap()]),r=(new Date).getTime(),o.emit("autoplay:timerset")}(),n=!0))}function h(){s||(n&&o.emit("autoplay:stop"),function(){const{ownerWindow:t}=o.internalEngine();t.clearTimeout(i),i=0,r=null,o.emit("autoplay:timerstopped")}(),n=!1)}function p(){if(b())return c=n,h();c&&u()}function b(){const{ownerDocument:t}=o.internalEngine();return"hidden"===t.visibilityState}function m(){l||h()}function g(){l||u()}function f(){l=!0,h()}function v(){l=!1,u()}function x(){const{index:t}=o.internalEngine(),s=t.clone().add(1).get(),a=o.scrollSnapList().length-1,r=e.stopOnLastSnap&&s===a;if(o.canScrollNext()?o.scrollNext(d):o.scrollTo(0,d),o.emit("autoplay:select"),r)return h();u()}return{name:"autoplay",options:t,init:function(r,i){o=r;const{mergeOptions:n,optionsAtMedia:l}=i,c=n(j,X.globalOptions),b=n(c,t);if(e=l(b),o.scrollSnapList().length<=1)return;d=e.jump,s=!1,a=function(t,e){const o=t.scrollSnapList();return"number"==typeof e?o.map((()=>e)):e(o,t)}(o,e.delay);const{eventStore:x,ownerDocument:y}=o.internalEngine(),w=!!o.internalEngine().options.watchDrag,z=function(t,e){const o=t.rootNode();return e&&e(o)||o}(o,e.rootNode);x.add(y,"visibilitychange",p),w&&o.on("pointerDown",m),w&&!e.stopOnInteraction&&o.on("pointerUp",g),e.stopOnMouseEnter&&x.add(z,"mouseenter",f),e.stopOnMouseEnter&&!e.stopOnInteraction&&x.add(z,"mouseleave",v),e.stopOnFocusIn&&o.on("slideFocusStart",h),e.stopOnFocusIn&&!e.stopOnInteraction&&x.add(o.containerNode(),"focusout",u),e.playOnInit&&u()},destroy:function(){o.off("pointerDown",m).off("pointerUp",g).off("slideFocusStart",h),h(),s=!0,n=!1},play:function(t){void 0!==t&&(d=t),u()},stop:function(){n&&h()},reset:function(){n&&u()},isPlaying:function(){return n},timeUntilNext:function(){return r?a[o.selectedScrollSnap()]-((new Date).getTime()-r):null}}}X.globalOptions=void 0;const K={active:!0,breakpoints:{},snapped:"is-snapped",inView:"is-in-view",draggable:"is-draggable",dragging:"is-dragging",loop:"is-loop"};function Q(t){return(Array.isArray(t)?t:[t]).filter(Boolean)}function Y(t,e){t&&e.length&&t.classList.remove(...e)}function Z(t,e){t&&e.length&&t.classList.add(...e)}function J(t={}){let e,o,s,a,r=[],i=[];const n=["select"],l=["pointerDown","pointerUp"],c=["slidesInView"],d={snapped:[],inView:[],draggable:[],dragging:[],loop:[]};function u(t,e){("pointerDown"===e?Z:Y)(s,d.dragging)}function h(t=[],e=[],o){const s=e.map((t=>a[t])),r=t.map((t=>a[t]));return s.forEach((t=>Y(t,o))),r.forEach((t=>Z(t,o))),t}function p(){const{slideRegistry:t}=o.internalEngine(),e=t[o.selectedScrollSnap()];r=h(e,r,d.snapped)}function b(){const t=o.slidesInView();i=h(t,i,d.inView)}return{name:"classNames",options:t,init:function(r,i){o=r;const{mergeOptions:h,optionsAtMedia:m}=i,g=h(K,J.globalOptions),f=h(g,t);e=m(f),s=o.rootNode(),a=o.slideNodes();const{watchDrag:v,loop:x}=o.internalEngine().options,y=!!v;e.loop&&x&&(d.loop=Q(e.loop),Z(s,d.loop)),e.draggable&&y&&(d.draggable=Q(e.draggable),Z(s,d.draggable)),e.dragging&&(d.dragging=Q(e.dragging),l.forEach((t=>o.on(t,u)))),e.snapped&&(d.snapped=Q(e.snapped),n.forEach((t=>o.on(t,p))),p()),e.inView&&(d.inView=Q(e.inView),c.forEach((t=>o.on(t,b))),b())},destroy:function(){l.forEach((t=>o.off(t,u))),n.forEach((t=>o.off(t,p))),c.forEach((t=>o.off(t,b))),Y(s,d.loop),Y(s,d.draggable),Y(s,d.dragging),h([],r,d.snapped),h([],i,d.inView),Object.keys(d).forEach((t=>{d[t]=[]}))}}}J.globalOptions=void 0;class tt{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(t,e,o){const s=this.generateElementName(t,e),i=r`${a(s)}`;return customElements.get(s)||customElements.define(s,class extends o{}),i}}class et{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{})}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,!0)}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`);return(o?.assignedNodes({flatten:!0})||[]).map((t=>t.textContent?.trim())).join(" ").trim()||null}}class ot{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(t,e,o){const s=this.generateElementName(t,e),i=r`${a(s)}`;return customElements.get(s)||customElements.define(s,class extends o{}),i}}class st{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{})}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,!0)}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`);return(o?.assignedNodes({flatten:!0})||[]).map((t=>t.textContent?.trim())).join(" ").trim()||null}}class at{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{})}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,!0)}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}}var rt=t`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
1
+ import{css as t,LitElement as e,html as o,nothing as s}from"lit";import{unsafeStatic as a,literal as r,html as i}from"lit/static-html.js";import{classMap as n}from"lit/directives/class-map.js";import{ifDefined as l}from"lit/directives/if-defined.js";function c(t){return"number"==typeof t}function d(t){return"string"==typeof t}function u(t){return"boolean"==typeof t}function h(t){return"[object Object]"===Object.prototype.toString.call(t)}function p(t){return Math.abs(t)}function b(t){return Math.sign(t)}function m(t,e){return p(t-e)}function g(t){return w(t).map(Number)}function f(t){return t[v(t)]}function v(t){return Math.max(0,t.length-1)}function x(t,e){return e===v(t)}function y(t,e=0){return Array.from(Array(t),((t,o)=>e+o))}function w(t){return Object.keys(t)}function z(t,e){return[t,e].reduce(((t,e)=>(w(e).forEach((o=>{const s=t[o],a=e[o],r=h(s)&&h(a);t[o]=r?z(s,a):a})),t)),{})}function k(t,e){return void 0!==e.MouseEvent&&t instanceof e.MouseEvent}function S(){let t=[];const e={add:function(o,s,a,r={passive:!0}){let i;if("addEventListener"in o)o.addEventListener(s,a,r),i=()=>o.removeEventListener(s,a,r);else{const t=o;t.addListener(a),i=()=>t.removeListener(a)}return t.push(i),e},clear:function(){t=t.filter((t=>t()))}};return e}function A(t,e,o,s){const a=S(),r=1e3/60;let i=null,n=0,l=0;function c(t){if(!l)return;i||(i=t,o(),o());const a=t-i;for(i=t,n+=a;n>=r;)o(),n-=r;s(n/r),l&&(l=e.requestAnimationFrame(c))}function d(){e.cancelAnimationFrame(l),i=null,n=0,l=0}return{init:function(){a.add(t,"visibilitychange",(()=>{t.hidden&&(i=null,n=0)}))},destroy:function(){d(),a.clear()},start:function(){l||(l=e.requestAnimationFrame(c))},stop:d,update:o,render:s}}function B(t=0,e=0){const o=p(t-e);function s(e){return e<t}function a(t){return t>e}function r(t){return s(t)||a(t)}return{length:o,max:e,min:t,constrain:function(o){return r(o)?s(o)?t:e:o},reachedAny:r,reachedMax:a,reachedMin:s,removeOffset:function(t){return o?t-o*Math.ceil((t-e)/o):t}}}function _(t,e,o){const{constrain:s}=B(0,t),a=t+1;let r=i(e);function i(t){return o?p((a+t)%a):s(t)}function n(){return r}function l(){return _(t,n(),o)}const c={get:n,set:function(t){return r=i(t),c},add:function(t){return l().set(n()+t)},clone:l};return c}function I(t,e,o,s,a,r,i,n,l,c,d,h,g,f,v,x,y,w,z){const{cross:A,direction:_}=t,I=["INPUT","SELECT","TEXTAREA"],N={passive:!1},C=S(),q=S(),L=B(50,225).constrain(f.measure(20)),O={mouse:300,touch:400},M={mouse:500,touch:600},T=v?43:25;let E=!1,H=0,F=0,D=!1,R=!1,U=!1,P=!1;function $(t){if(!k(t,s)&&t.touches.length>=2)return W(t);const e=r.readPoint(t),o=r.readPoint(t,A),i=m(e,H),l=m(o,F);if(!R&&!P){if(!t.cancelable)return W(t);if(R=i>l,!R)return W(t)}const d=r.pointerMove(t);i>x&&(U=!0),c.useFriction(.3).useDuration(.75),n.start(),a.add(_(d)),t.preventDefault()}function W(t){const e=d.byDistance(0,!1).index!==h.get(),o=r.pointerUp(t)*(v?M:O)[P?"mouse":"touch"],s=function(t,e){const o=h.add(-1*b(t)),s=d.byDistance(t,!v).distance;return v||p(t)<L?s:y&&e?.5*s:d.byIndex(o.get(),0).distance}(_(o),e),a=function(t,e){if(0===t||0===e)return 0;if(p(t)<=p(e))return 0;const o=m(p(t),p(e));return p(o/t)}(o,s),i=T-10*a,n=w+a/50;R=!1,D=!1,q.clear(),c.useDuration(i).useFriction(n),l.distance(s,!v),P=!1,g.emit("pointerUp")}function V(t){U&&(t.stopPropagation(),t.preventDefault(),U=!1)}return{init:function(t){if(!z)return;function n(n){(u(z)||z(t,n))&&function(t){const n=k(t,s);if(P=n,U=v&&n&&!t.buttons&&E,E=m(a.get(),i.get())>=2,n&&0!==t.button)return;if(function(t){const e=t.nodeName||"";return I.includes(e)}(t.target))return;D=!0,r.pointerDown(t),c.useFriction(0).useDuration(0),a.set(i),function(){const t=P?o:e;q.add(t,"touchmove",$,N).add(t,"touchend",W).add(t,"mousemove",$,N).add(t,"mouseup",W)}(),H=r.readPoint(t),F=r.readPoint(t,A),g.emit("pointerDown")}(n)}const l=e;C.add(l,"dragstart",(t=>t.preventDefault()),N).add(l,"touchmove",(()=>{}),N).add(l,"touchend",(()=>{})).add(l,"touchstart",n).add(l,"mousedown",n).add(l,"touchcancel",W).add(l,"contextmenu",W).add(l,"click",V,!0)},destroy:function(){C.clear(),q.clear()},pointerDown:function(){return D}}}function N(t,e){let o,s;function a(t){return t.timeStamp}function r(o,s){const a="client"+("x"===(s||t.scroll)?"X":"Y");return(k(o,e)?o:o.touches[0])[a]}return{pointerDown:function(t){return o=t,s=t,r(t)},pointerMove:function(t){const e=r(t)-r(s),i=a(t)-a(o)>170;return s=t,i&&(o=t),e},pointerUp:function(t){if(!o||!s)return 0;const e=r(s)-r(o),i=a(t)-a(o),n=a(t)-a(s)>170,l=e/i;return i&&!n&&p(l)>.1?l:0},readPoint:r}}function C(t,e,o,s,a,r,i){const n=[t].concat(s);let l,c,d=[],h=!1;function b(t){return a.measureSize(i.measure(t))}return{init:function(a){r&&(c=b(t),d=s.map(b),l=new ResizeObserver((o=>{(u(r)||r(a,o))&&function(o){for(const r of o){if(h)return;const o=r.target===t,i=s.indexOf(r.target),n=o?c:d[i];if(p(b(o?t:s[i])-n)>=.5){a.reInit(),e.emit("resize");break}}}(o)})),o.requestAnimationFrame((()=>{n.forEach((t=>l.observe(t)))})))},destroy:function(){h=!0,l&&l.disconnect()}}}function q(t,e,o,s,a){const r=a.measure(10),i=a.measure(50),n=B(.1,.99);let l=!1;function c(){return!l&&(!!t.reachedAny(o.get())&&!!t.reachedAny(e.get()))}return{shouldConstrain:c,constrain:function(a){if(!c())return;const l=t.reachedMin(e.get())?"min":"max",d=p(t[l]-e.get()),u=o.get()-e.get(),h=n.constrain(d/i);o.subtract(u*h),!a&&p(u)<r&&(o.set(t.constrain(o.get())),s.useDuration(25).useBaseFriction())},toggleActive:function(t){l=!t}}}function L(t,e,o,s){const a=e.min+.1,r=e.max+.1,{reachedMin:i,reachedMax:n}=B(a,r);const l={loop:function(e){if(!function(t){return 1===t?n(o.get()):-1===t&&i(o.get())}(e))return;const a=t*(-1*e);s.forEach((t=>t.add(a)))}};return l}function O(t,e,o,s,a){const{reachedAny:r,removeOffset:i,constrain:n}=s;function l(t){return t.concat().sort(((t,e)=>p(t)-p(e)))[0]}function c(e,s){const a=[e,e+o,e-o];if(!t)return e;if(!s)return l(a);const r=a.filter((t=>b(t)===s));return r.length?l(r):f(a)-o}return{byDistance:function(o,s){const l=a.get()+o,{index:d,distance:u}=function(o){const s=t?i(o):n(o),a=e.map(((t,e)=>({diff:c(t-s,0),index:e}))).sort(((t,e)=>p(t.diff)-p(e.diff))),{index:r}=a[0];return{index:r,distance:s}}(l),h=!t&&r(l);return!s||h?{index:d,distance:o}:{index:d,distance:o+c(e[d]-u,0)}},byIndex:function(t,o){return{index:t,distance:c(e[t]-a.get(),o)}},shortcut:c}}function M(t,e,o,s,a,r,i,n){const l={passive:!0,capture:!0};let d=0;function h(t){"Tab"===t.code&&(d=(new Date).getTime())}return{init:function(p){n&&(r.add(document,"keydown",h,!1),e.forEach(((e,h)=>{r.add(e,"focus",(e=>{(u(n)||n(p,e))&&function(e){if((new Date).getTime()-d>10)return;i.emit("slideFocusStart"),t.scrollLeft=0;const r=o.findIndex((t=>t.includes(e)));c(r)&&(a.useDuration(0),s.index(r,0),i.emit("slideFocus"))}(h)}),l)})))}}}function T(t){let e=t;function o(t){return c(t)?t:t.get()}return{get:function(){return e},set:function(t){e=o(t)},add:function(t){e+=o(t)},subtract:function(t){e-=o(t)}}}function E(t,e){const o="x"===t.scroll?function(t){return`translate3d(${t}px,0px,0px)`}:function(t){return`translate3d(0px,${t}px,0px)`},s=e.style;let a=null,r=!1;return{clear:function(){r||(s.transform="",e.getAttribute("style")||e.removeAttribute("style"))},to:function(e){if(r)return;const i=(n=t.direction(e),Math.round(100*n)/100);var n;i!==a&&(s.transform=o(i),a=i)},toggleActive:function(t){r=!t}}}function H(t,e,o,s,a,r,i,n,l){const c=g(a),d=g(a).reverse(),u=function(){const t=i[0];return b(p(d,t),o,!1)}().concat(function(){const t=e-i[0]-1;return b(p(c,t),-o,!0)}());function h(t,e){return t.reduce(((t,e)=>t-a[e]),e)}function p(t,e){return t.reduce(((t,o)=>h(t,e)>0?t.concat([o]):t),[])}function b(a,i,c){const d=function(t){return r.map(((o,a)=>({start:o-s[a]+.5+t,end:o+e-.5+t})))}(i);return a.map((e=>{const s=c?0:-o,a=c?o:0,r=c?"end":"start",i=d[e][r];return{index:e,loopPoint:i,slideLocation:T(-1),translate:E(t,l[e]),target:()=>n.get()>i?s:a}}))}return{canLoop:function(){return u.every((({index:t})=>h(c.filter((e=>e!==t)),e)<=.1))},clear:function(){u.forEach((t=>t.translate.clear()))},loop:function(){u.forEach((t=>{const{target:e,translate:o,slideLocation:s}=t,a=e();a!==s.get()&&(o.to(a),s.set(a))}))},loopPoints:u}}function F(t,e,o){let s,a=!1;return{init:function(r){o&&(s=new MutationObserver((t=>{a||(u(o)||o(r,t))&&function(t){for(const o of t)if("childList"===o.type){r.reInit(),e.emit("slidesChanged");break}}(t)})),s.observe(t,{childList:!0}))},destroy:function(){s&&s.disconnect(),a=!0}}}function D(t,e,o,s){const a={};let r,i=null,n=null,l=!1;return{init:function(){r=new IntersectionObserver((t=>{l||(t.forEach((t=>{const o=e.indexOf(t.target);a[o]=t})),i=null,n=null,o.emit("slidesInView"))}),{root:t.parentElement,threshold:s}),e.forEach((t=>r.observe(t)))},destroy:function(){r&&r.disconnect(),l=!0},get:function(t=!0){if(t&&i)return i;if(!t&&n)return n;const e=function(t){return w(a).reduce(((e,o)=>{const s=parseInt(o),{isIntersecting:r}=a[s];return(t&&r||!t&&!r)&&e.push(s),e}),[])}(t);return t&&(i=e),t||(n=e),e}}}function R(t,e,o,s,a,r,i,n,l){const{startEdge:d,endEdge:u,direction:h}=t,b=c(o);return{groupSlides:function(t){return b?function(t,e){return g(t).filter((t=>t%e==0)).map((o=>t.slice(o,o+e)))}(t,o):function(t){return t.length?g(t).reduce(((o,c,b)=>{const m=f(o)||0,g=0===m,x=c===v(t),y=a[d]-r[m][d],w=a[d]-r[c][u],z=!s&&g?h(i):0,k=p(w-(!s&&x?h(n):0)-(y+z));return b&&k>e+l&&o.push(c),x&&o.push(t.length),o}),[]).map(((e,o,s)=>{const a=Math.max(s[o-1]||0);return t.slice(a,e)})):[]}(t)}}}function U(t,e,o,s,a,r,i){const{align:n,axis:l,direction:c,startIndex:u,loop:h,duration:w,dragFree:z,dragThreshold:k,inViewThreshold:U,slidesToScroll:P,skipSnaps:$,containScroll:W,watchResize:V,watchSlides:G,watchDrag:j,watchFocus:X}=r,K={measure:function(t){const{offsetTop:e,offsetLeft:o,offsetWidth:s,offsetHeight:a}=t;return{top:e,right:o+s,bottom:e+a,left:o,width:s,height:a}}},Q=K.measure(e),Y=o.map(K.measure),Z=function(t,e){const o="rtl"===e,s="y"===t,a=!s&&o?-1:1;return{scroll:s?"y":"x",cross:s?"x":"y",startEdge:s?"top":o?"right":"left",endEdge:s?"bottom":o?"left":"right",measureSize:function(t){const{height:e,width:o}=t;return s?e:o},direction:function(t){return t*a}}}(l,c),J=Z.measureSize(Q),tt=function(t){return{measure:function(e){return t*(e/100)}}}(J),et=function(t,e){const o={start:function(){return 0},center:function(t){return s(t)/2},end:s};function s(t){return e-t}return{measure:function(s,a){return d(t)?o[t](s):t(e,s,a)}}}(n,J),ot=!h&&!!W,st=h||!!W,{slideSizes:at,slideSizesWithGaps:rt,startGap:it,endGap:nt}=function(t,e,o,s,a,r){const{measureSize:i,startEdge:n,endEdge:l}=t,c=o[0]&&a,d=function(){if(!c)return 0;const t=o[0];return p(e[n]-t[n])}(),u=function(){if(!c)return 0;const t=r.getComputedStyle(f(s));return parseFloat(t.getPropertyValue(`margin-${l}`))}(),h=o.map(i),b=o.map(((t,e,o)=>{const s=!e,a=x(o,e);return s?h[e]+d:a?h[e]+u:o[e+1][n]-t[n]})).map(p);return{slideSizes:h,slideSizesWithGaps:b,startGap:d,endGap:u}}(Z,Q,Y,o,st,a),lt=R(Z,J,P,h,Q,Y,it,nt,2),{snaps:ct,snapsAligned:dt}=function(t,e,o,s,a){const{startEdge:r,endEdge:i}=t,{groupSlides:n}=a,l=n(s).map((t=>f(t)[i]-t[0][r])).map(p).map(e.measure),c=s.map((t=>o[r]-t[r])).map((t=>-p(t))),d=n(c).map((t=>t[0])).map(((t,e)=>t+l[e]));return{snaps:c,snapsAligned:d}}(Z,et,Q,Y,lt),ut=-f(ct)+f(rt),{snapsContained:ht,scrollContainLimit:pt}=function(t,e,o,s,a){const r=B(-e+t,0),i=o.map(((t,e)=>{const{min:s,max:a}=r,i=r.constrain(t),n=!e,c=x(o,e);return n?a:c||l(s,i)?s:l(a,i)?a:i})).map((t=>parseFloat(t.toFixed(3)))),n=function(){const t=i[0],e=f(i);return B(i.lastIndexOf(t),i.indexOf(e)+1)}();function l(t,e){return m(t,e)<=1}return{snapsContained:function(){if(e<=t+a)return[r.max];if("keepSnaps"===s)return i;const{min:o,max:l}=n;return i.slice(o,l)}(),scrollContainLimit:n}}(J,ut,dt,W,2),bt=ot?ht:dt,{limit:mt}=function(t,e,o){const s=e[0];return{limit:B(o?s-t:f(e),s)}}(ut,bt,h),gt=_(v(bt),u,h),ft=gt.clone(),vt=g(o),xt=A(s,a,(()=>(({dragHandler:t,scrollBody:e,scrollBounds:o,options:{loop:s}})=>{s||o.constrain(t.pointerDown()),e.seek()})(Ot)),(t=>(({scrollBody:t,translate:e,location:o,offsetLocation:s,previousLocation:a,scrollLooper:r,slideLooper:i,dragHandler:n,animation:l,eventHandler:c,scrollBounds:d,options:{loop:u}},h)=>{const p=t.settled(),b=!d.shouldConstrain(),m=u?p:p&&b,g=m&&!n.pointerDown();g&&l.stop();const f=o.get()*h+a.get()*(1-h);s.set(f),u&&(r.loop(t.direction()),i.loop()),e.to(s.get()),g&&c.emit("settle"),m||c.emit("scroll")})(Ot,t))),yt=bt[gt.get()],wt=T(yt),zt=T(yt),kt=T(yt),St=T(yt),At=function(t,e,o,s,a,r){let i=0,n=0,l=a,c=r,d=t.get(),u=0;function h(t){return l=t,g}function m(t){return c=t,g}const g={direction:function(){return n},duration:function(){return l},velocity:function(){return i},seek:function(){const e=s.get()-t.get();let a=0;return l?(o.set(t),i+=e/l,i*=c,d+=i,t.add(i),a=d-u):(i=0,o.set(s),t.set(s),a=e),n=b(a),u=d,g},settled:function(){return p(s.get()-e.get())<.001},useBaseFriction:function(){return m(r)},useBaseDuration:function(){return h(a)},useFriction:m,useDuration:h};return g}(wt,kt,zt,St,w,.68),Bt=O(h,bt,ut,mt,St),_t=function(t,e,o,s,a,r,i){function n(a){const n=a.distance,l=a.index!==e.get();r.add(n),n&&(s.duration()?t.start():(t.update(),t.render(1),t.update())),l&&(o.set(e.get()),e.set(a.index),i.emit("select"))}return{distance:function(t,e){n(a.byDistance(t,e))},index:function(t,o){const s=e.clone().set(t);n(a.byIndex(s.get(),o))}}}(xt,gt,ft,At,Bt,St,i),It=function(t){const{max:e,length:o}=t;return{get:function(t){return o?(t-e)/-o:0}}}(mt),Nt=S(),Ct=D(e,o,i,U),{slideRegistry:qt}=function(t,e,o,s,a,r){const{groupSlides:i}=a,{min:n,max:l}=s;return{slideRegistry:function(){const s=i(r),a=!t||"keepSnaps"===e;return 1===o.length?[r]:a?s:s.slice(n,l).map(((t,e,o)=>{const s=!e,a=x(o,e);return s?y(f(o[0])+1):a?y(v(r)-f(o)[0]+1,f(o)[0]):t}))}()}}(ot,W,bt,pt,lt,vt),Lt=M(t,o,qt,_t,At,Nt,i,X),Ot={ownerDocument:s,ownerWindow:a,eventHandler:i,containerRect:Q,slideRects:Y,animation:xt,axis:Z,dragHandler:I(Z,t,s,a,St,N(Z,a),wt,xt,_t,At,Bt,gt,i,tt,z,k,$,.68,j),eventStore:Nt,percentOfView:tt,index:gt,indexPrevious:ft,limit:mt,location:wt,offsetLocation:kt,previousLocation:zt,options:r,resizeHandler:C(e,i,a,o,Z,V,K),scrollBody:At,scrollBounds:q(mt,kt,St,At,tt),scrollLooper:L(ut,mt,kt,[wt,kt,zt,St]),scrollProgress:It,scrollSnapList:bt.map(It.get),scrollSnaps:bt,scrollTarget:Bt,scrollTo:_t,slideLooper:H(Z,J,ut,at,rt,ct,bt,kt,o),slideFocus:Lt,slidesHandler:F(e,i,G),slidesInView:Ct,slideIndexes:vt,slideRegistry:qt,slidesToScroll:lt,target:St,translate:E(Z,e)};return Ot}const P={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function $(t){function e(t,e){return z(t,e||{})}const o={mergeOptions:e,optionsAtMedia:function(o){const s=o.breakpoints||{},a=w(s).filter((e=>t.matchMedia(e).matches)).map((t=>s[t])).reduce(((t,o)=>e(t,o)),{});return e(o,a)},optionsMediaQueries:function(e){return e.map((t=>w(t.breakpoints||{}))).reduce(((t,e)=>t.concat(e)),[]).map(t.matchMedia)}};return o}function W(t,e,o){const s=t.ownerDocument,a=s.defaultView,r=$(a),i=function(t){let e=[];return{init:function(o,s){return e=s.filter((({options:e})=>!1!==t.optionsAtMedia(e).active)),e.forEach((e=>e.init(o,t))),s.reduce(((t,e)=>Object.assign(t,{[e.name]:e})),{})},destroy:function(){e=e.filter((t=>t.destroy()))}}}(r),n=S(),l=function(){let t,e={};function o(t){return e[t]||[]}const s={init:function(e){t=e},emit:function(e){return o(e).forEach((o=>o(t,e))),s},off:function(t,a){return e[t]=o(t).filter((t=>t!==a)),s},on:function(t,a){return e[t]=o(t).concat([a]),s},clear:function(){e={}}};return s}(),{mergeOptions:c,optionsAtMedia:u,optionsMediaQueries:h}=r,{on:p,off:b,emit:m}=l,g=I;let f,v,x,y,w=!1,z=c(P,W.globalOptions),k=c(z),A=[];function B(e){const o=U(t,x,y,s,a,e,l);if(e.loop&&!o.slideLooper.canLoop()){return B(Object.assign({},e,{loop:!1}))}return o}function _(e,o){w||(z=c(z,e),k=u(z),A=o||A,function(){const{container:e,slides:o}=k,s=d(e)?t.querySelector(e):e;x=s||t.children[0];const a=d(o)?x.querySelectorAll(o):o;y=[].slice.call(a||x.children)}(),f=B(k),h([z,...A.map((({options:t})=>t))]).forEach((t=>n.add(t,"change",I))),k.active&&(f.translate.to(f.location.get()),f.animation.init(),f.slidesInView.init(),f.slideFocus.init(L),f.eventHandler.init(L),f.resizeHandler.init(L),f.slidesHandler.init(L),f.options.loop&&f.slideLooper.loop(),x.offsetParent&&y.length&&f.dragHandler.init(L),v=i.init(L,A)))}function I(t,e){const o=q();N(),_(c({startIndex:o},t),e),l.emit("reInit")}function N(){f.dragHandler.destroy(),f.eventStore.clear(),f.translate.clear(),f.slideLooper.clear(),f.resizeHandler.destroy(),f.slidesHandler.destroy(),f.slidesInView.destroy(),f.animation.destroy(),i.destroy(),n.clear()}function C(t,e,o){k.active&&!w&&(f.scrollBody.useBaseFriction().useDuration(!0===e?0:k.duration),f.scrollTo.index(t,o||0))}function q(){return f.index.get()}const L={canScrollNext:function(){return f.index.add(1).get()!==q()},canScrollPrev:function(){return f.index.add(-1).get()!==q()},containerNode:function(){return x},internalEngine:function(){return f},destroy:function(){w||(w=!0,n.clear(),N(),l.emit("destroy"),l.clear())},off:b,on:p,emit:m,plugins:function(){return v},previousScrollSnap:function(){return f.indexPrevious.get()},reInit:g,rootNode:function(){return t},scrollNext:function(t){C(f.index.add(1).get(),t,-1)},scrollPrev:function(t){C(f.index.add(-1).get(),t,1)},scrollProgress:function(){return f.scrollProgress.get(f.offsetLocation.get())},scrollSnapList:function(){return f.scrollSnapList},scrollTo:C,selectedScrollSnap:q,slideNodes:function(){return y},slidesInView:function(){return f.slidesInView.get()},slidesNotInView:function(){return f.slidesInView.get(!1)}};return _(e,o),setTimeout((()=>l.emit("init")),0),L}W.globalOptions=void 0;const V={direction:"forward",speed:2,startDelay:1e3,active:!0,breakpoints:{},playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,rootNode:null};function G(t={}){let e,o,s,a,r,i=0,n=!1,l=!1;function c(){if(s)return;if(n)return;o.emit("autoScroll:play");const t=o.internalEngine(),{ownerWindow:r}=t;i=r.setTimeout((()=>{t.scrollBody=function(t){const{location:s,previousLocation:a,offsetLocation:r,target:i,scrollTarget:n,index:l,indexPrevious:c,limit:{reachedMin:u,reachedMax:h,constrain:p},options:{loop:b}}=t,m="forward"===e.direction?-1:1,g=()=>k;let f=0,v=0,x=s.get(),y=0,w=!1;function z(){let t=0;a.set(s),f=m*e.speed,x+=f,s.add(f),i.set(s),t=x-y,v=Math.sign(t),y=x;const g=n.byDistance(0,!1).index;l.get()!==g&&(c.set(l.get()),l.set(g),o.emit("select"));const z="forward"===e.direction?u(r.get()):h(r.get());if(!b&&z){w=!0;const t=p(s.get());s.set(t),i.set(s),d()}return k}const k={direction:()=>v,duration:()=>-1,velocity:()=>f,settled:()=>w,seek:z,useBaseFriction:g,useBaseDuration:g,useFriction:g,useDuration:g};return k}(t),t.animation.start()}),a),n=!0}function d(){if(s)return;if(!n)return;o.emit("autoScroll:stop");const t=o.internalEngine(),{ownerWindow:e}=t;t.scrollBody=r,e.clearTimeout(i),i=0,n=!1}function u(){l||d()}function h(){l||g()}function p(){l=!0,d()}function b(){l=!1,c()}function m(){o.off("settle",m),c()}function g(){o.on("settle",m)}return{name:"autoScroll",options:t,init:function(i,n){o=i;const{mergeOptions:l,optionsAtMedia:m}=n,g=l(V,G.globalOptions),f=l(g,t);if(e=m(f),o.scrollSnapList().length<=1)return;a=e.startDelay,s=!1,r=o.internalEngine().scrollBody;const{eventStore:v}=o.internalEngine(),x=!!o.internalEngine().options.watchDrag,y=function(t,e){const o=t.rootNode();return e&&e(o)||o}(o,e.rootNode);x&&o.on("pointerDown",u),x&&!e.stopOnInteraction&&o.on("pointerUp",h),e.stopOnMouseEnter&&v.add(y,"mouseenter",p),e.stopOnMouseEnter&&!e.stopOnInteraction&&v.add(y,"mouseleave",b),e.stopOnFocusIn&&o.on("slideFocusStart",d),e.stopOnFocusIn&&!e.stopOnInteraction&&v.add(o.containerNode(),"focusout",c),e.playOnInit&&c()},destroy:function(){o.off("pointerDown",u).off("pointerUp",h).off("slideFocusStart",d).off("settle",m),d(),s=!0,n=!1},play:function(t){void 0!==t&&(a=t),c()},stop:function(){n&&d()},reset:function(){n&&(d(),g())},isPlaying:function(){return n}}}G.globalOptions=void 0;const j={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function X(t={}){let e,o,s,a,r=null,i=0,n=!1,l=!1,c=!1,d=!1;function u(){s||(b()?c=!0:(n||o.emit("autoplay:play"),function(){const{ownerWindow:t}=o.internalEngine();t.clearTimeout(i),i=t.setTimeout(x,a[o.selectedScrollSnap()]),r=(new Date).getTime(),o.emit("autoplay:timerset")}(),n=!0))}function h(){s||(n&&o.emit("autoplay:stop"),function(){const{ownerWindow:t}=o.internalEngine();t.clearTimeout(i),i=0,r=null,o.emit("autoplay:timerstopped")}(),n=!1)}function p(){if(b())return c=n,h();c&&u()}function b(){const{ownerDocument:t}=o.internalEngine();return"hidden"===t.visibilityState}function m(){l||h()}function g(){l||u()}function f(){l=!0,h()}function v(){l=!1,u()}function x(){const{index:t}=o.internalEngine(),s=t.clone().add(1).get(),a=o.scrollSnapList().length-1,r=e.stopOnLastSnap&&s===a;if(o.canScrollNext()?o.scrollNext(d):o.scrollTo(0,d),o.emit("autoplay:select"),r)return h();u()}return{name:"autoplay",options:t,init:function(r,i){o=r;const{mergeOptions:n,optionsAtMedia:l}=i,c=n(j,X.globalOptions),b=n(c,t);if(e=l(b),o.scrollSnapList().length<=1)return;d=e.jump,s=!1,a=function(t,e){const o=t.scrollSnapList();return"number"==typeof e?o.map((()=>e)):e(o,t)}(o,e.delay);const{eventStore:x,ownerDocument:y}=o.internalEngine(),w=!!o.internalEngine().options.watchDrag,z=function(t,e){const o=t.rootNode();return e&&e(o)||o}(o,e.rootNode);x.add(y,"visibilitychange",p),w&&o.on("pointerDown",m),w&&!e.stopOnInteraction&&o.on("pointerUp",g),e.stopOnMouseEnter&&x.add(z,"mouseenter",f),e.stopOnMouseEnter&&!e.stopOnInteraction&&x.add(z,"mouseleave",v),e.stopOnFocusIn&&o.on("slideFocusStart",h),e.stopOnFocusIn&&!e.stopOnInteraction&&x.add(o.containerNode(),"focusout",u),e.playOnInit&&u()},destroy:function(){o.off("pointerDown",m).off("pointerUp",g).off("slideFocusStart",h),h(),s=!0,n=!1},play:function(t){void 0!==t&&(d=t),u()},stop:function(){n&&h()},reset:function(){n&&u()},isPlaying:function(){return n},timeUntilNext:function(){return r?a[o.selectedScrollSnap()]-((new Date).getTime()-r):null}}}X.globalOptions=void 0;const K={active:!0,breakpoints:{},snapped:"is-snapped",inView:"is-in-view",draggable:"is-draggable",dragging:"is-dragging",loop:"is-loop"};function Q(t){return(Array.isArray(t)?t:[t]).filter(Boolean)}function Y(t,e){t&&e.length&&t.classList.remove(...e)}function Z(t,e){t&&e.length&&t.classList.add(...e)}function J(t={}){let e,o,s,a,r=[],i=[];const n=["select"],l=["pointerDown","pointerUp"],c=["slidesInView"],d={snapped:[],inView:[],draggable:[],dragging:[],loop:[]};function u(t,e){("pointerDown"===e?Z:Y)(s,d.dragging)}function h(t=[],e=[],o){const s=e.map((t=>a[t])),r=t.map((t=>a[t]));return s.forEach((t=>Y(t,o))),r.forEach((t=>Z(t,o))),t}function p(){const{slideRegistry:t}=o.internalEngine(),e=t[o.selectedScrollSnap()];r=h(e,r,d.snapped)}function b(){const t=o.slidesInView();i=h(t,i,d.inView)}return{name:"classNames",options:t,init:function(r,i){o=r;const{mergeOptions:h,optionsAtMedia:m}=i,g=h(K,J.globalOptions),f=h(g,t);e=m(f),s=o.rootNode(),a=o.slideNodes();const{watchDrag:v,loop:x}=o.internalEngine().options,y=!!v;e.loop&&x&&(d.loop=Q(e.loop),Z(s,d.loop)),e.draggable&&y&&(d.draggable=Q(e.draggable),Z(s,d.draggable)),e.dragging&&(d.dragging=Q(e.dragging),l.forEach((t=>o.on(t,u)))),e.snapped&&(d.snapped=Q(e.snapped),n.forEach((t=>o.on(t,p))),p()),e.inView&&(d.inView=Q(e.inView),c.forEach((t=>o.on(t,b))),b())},destroy:function(){l.forEach((t=>o.off(t,u))),n.forEach((t=>o.off(t,p))),c.forEach((t=>o.off(t,b))),Y(s,d.loop),Y(s,d.draggable),Y(s,d.dragging),h([],r,d.snapped),h([],i,d.inView),Object.keys(d).forEach((t=>{d[t]=[]}))}}}J.globalOptions=void 0;class tt{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(t,e,o){const s=this.generateElementName(t,e),i=r`${a(s)}`;return customElements.get(s)||customElements.define(s,class extends o{}),i}}class et{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{})}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,!0)}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`);return(o?.assignedNodes({flatten:!0})||[]).map((t=>t.textContent?.trim())).join(" ").trim()||null}}class ot{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(t,e,o){const s=this.generateElementName(t,e),i=r`${a(s)}`;return customElements.get(s)||customElements.define(s,class extends o{}),i}}class st{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{})}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,!0)}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`);return(o?.assignedNodes({flatten:!0})||[]).map((t=>t.textContent?.trim())).join(" ").trim()||null}}class at{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{})}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,!0)}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}}var rt=t`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
2
2
  `,it=t`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs) * 6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:5.5rem}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
3
3
  `,nt=t`:host{--ds-auro-loader-background-color: currentcolor;--ds-auro-loader-border-color: currentcolor;--ds-auro-loader-color: currentcolor}
4
4
  `;class lt extends e{constructor(){super(),this.keys=[0,1,2,3,4,5,6,7,8,9],this.mdCount=3,this.smCount=2,this.runtimeUtils=new at,this.orbit=!1,this.ringworm=!1,this.laser=!1,this.pulse=!1}static get properties(){return{laser:{type:Boolean,reflect:!0},orbit:{type:Boolean,reflect:!0},pulse:{type:Boolean,reflect:!0},ringworm:{type:Boolean,reflect:!0}}}static get styles(){return[it,rt,nt]}static register(t="auro-loader"){at.prototype.registerComponent(t,lt)}firstUpdated(){this.runtimeUtils.handleComponentTagRename(this,"auro-loader")}connectedCallback(){super.connectedCallback()}defineTemplate(){let t=Array.from(Array(this.mdCount).keys());return this.orbit||this.laser?t=Array.from(Array(this.smCount).keys()):this.ringworm&&(t=Array.from(Array(0).keys())),t}render(){return o`
@@ -53,11 +53,11 @@ import{css as t,LitElement as e,html as o,nothing as s}from"lit";import{unsafeSt
53
53
  </span>
54
54
  </span>
55
55
  </${this._renderTag}>
56
- `}renderLayout(){return this.renderLayoutDefault()}}var It='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="chevron-left__desc" class="ico_squareLarge" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="chevron-left__desc">Directional indicator; left.</desc><path d="m14.395 6.345.084.073a.75.75 0 0 1 .072.977l-.072.084-4.47 4.47 4.47 4.47a.75.75 0 0 1 .072.976l-.072.084a.75.75 0 0 1-.977.072l-.084-.072-4.823-4.823a1 1 0 0 1 0-1.415l4.823-4.823a.75.75 0 0 1 .977-.073"/></svg>',Nt='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="chevron-right__desc" class="ico_squareLarge" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="chevron-right__desc">Directional indicator; right.</desc><path d="m9.605 17.551-.084-.072a.75.75 0 0 1-.072-.977l.072-.084 4.47-4.47-4.47-4.47a.75.75 0 0 1-.072-.976l.072-.084a.75.75 0 0 1 .977-.073l.084.073 4.823 4.823a1 1 0 0 1 0 1.415l-4.823 4.823a.75.75 0 0 1-.977.072"/></svg>',Ct='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="pause__desc" class="ico_squareLarge" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="pause__desc">two vertical parallel lines</desc><path fill-rule="evenodd" d="M6 .5A1.5 1.5 0 0 1 7.5 2v20a1.5 1.5 0 0 1-3 0V2A1.5 1.5 0 0 1 6 .5m12 0A1.5 1.5 0 0 1 19.5 2v20a1.5 1.5 0 0 1-3 0V2A1.5 1.5 0 0 1 18 .5" clip-rule="evenodd"/></svg>',qt='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="play-filled__desc" class="ico_squareLarge" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="play-filled__desc">solid triangle pointing right</desc><path fill-rule="evenodd" d="m6.977 1.02.348.163 15.555 8.889c1.369.782 1.483 2.656.342 3.62l-.342.239-15.555 8.888c-1.368.782-3.044-.07-3.293-1.547L4 20.89V3.112C4 1.537 5.57.505 6.977 1.021" clip-rule="evenodd"/></svg>';class Lt{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{})}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,!0)}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}}class Ot extends e{static get properties(){return{hidden:{type:Boolean,reflect:!0},hiddenVisually:{type:Boolean,reflect:!0},hiddenAudible:{type:Boolean,reflect:!0}}}hideAudible(t){return t?"true":"false"}}const Mt=new Map,Tt=(t,e={})=>{const o=e.responseParser||(t=>t.text());return Mt.has(t)||Mt.set(t,fetch(t).then(o)),Mt.get(t)};var Et=t`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem)!important;width:var(--ds-auro-icon-size, 1.5rem)!important;height:var(--ds-auro-icon-size, 1.5rem)!important}.componentWrapper{display:flex}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelWrapper{margin-left:var(--ds-size-50, .25rem);line-height:1.8}
56
+ `}renderLayout(){return this.renderLayoutDefault()}}var It='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="chevron-left__desc" class="ico_squareLarge" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="chevron-left__desc">Directional indicator; left.</desc><path d="m14.395 6.345.084.073a.75.75 0 0 1 .072.977l-.072.084-4.47 4.47 4.47 4.47a.75.75 0 0 1 .072.976l-.072.084a.75.75 0 0 1-.977.072l-.084-.072-4.823-4.823a1 1 0 0 1 0-1.415l4.823-4.823a.75.75 0 0 1 .977-.073"/></svg>',Nt='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="chevron-right__desc" class="ico_squareLarge" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="chevron-right__desc">Directional indicator; right.</desc><path d="m9.605 17.551-.084-.072a.75.75 0 0 1-.072-.977l.072-.084 4.47-4.47-4.47-4.47a.75.75 0 0 1-.072-.976l.072-.084a.75.75 0 0 1 .977-.073l.084.073 4.823 4.823a1 1 0 0 1 0 1.415l-4.823 4.823a.75.75 0 0 1-.977.072"/></svg>',Ct='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="pause__desc" class="ico_squareLarge" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="pause__desc">two vertical parallel lines</desc><path fill-rule="evenodd" d="M6 .5A1.5 1.5 0 0 1 7.5 2v20a1.5 1.5 0 0 1-3 0V2A1.5 1.5 0 0 1 6 .5m12 0A1.5 1.5 0 0 1 19.5 2v20a1.5 1.5 0 0 1-3 0V2A1.5 1.5 0 0 1 18 .5" clip-rule="evenodd"/></svg>',qt='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="play-filled__desc" class="ico_squareLarge" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="play-filled__desc">solid triangle pointing right</desc><path fill-rule="evenodd" d="m6.977 1.02.348.163 15.555 8.889c1.369.782 1.483 2.656.342 3.62l-.342.239-15.555 8.888c-1.368.782-3.044-.07-3.293-1.547L4 20.89V3.112C4 1.537 5.57.505 6.977 1.021" clip-rule="evenodd"/></svg>';class Lt{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{})}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,!0)}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}}class Ot extends e{static get properties(){return{hidden:{type:Boolean,reflect:!0},hiddenVisually:{type:Boolean,reflect:!0},hiddenAudible:{type:Boolean,reflect:!0}}}hideAudible(t){return t?"true":"false"}}const Mt=new Map,Tt=(t,e={})=>{const o=e.responseParser||(t=>t.text());return Mt.has(t)||Mt.set(t,fetch(t).then(o)),Mt.get(t)};var Et=t`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem)!important;width:var(--ds-auro-icon-size, 1.5rem)!important;height:var(--ds-auro-icon-size, 1.5rem)!important}.componentWrapper{display:flex;line-height:var(--ds-auro-icon-size)}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.svgWrapper [part=svg]{display:flex}.labelWrapper{margin-left:var(--ds-size-50, .25rem)}.labelWrapper ::slotted(*){line-height:inherit!important}
57
57
  `;class Ht extends Ot{constructor(){super(),this.onDark=!1,this.appearance="default"}static get properties(){return{...Ot.properties,onDark:{type:Boolean,reflect:!0},appearance:{type:String,reflect:!0},svg:{attribute:!1,reflect:!0}}}static get styles(){return Et}async fetchIcon(t,e){let o="";return o="logos"===t?await Tt(`${this.uri}/${t}/${e}.svg`):await Tt(`${this.uri}/icons/${t}/${e}.svg`),(new DOMParser).parseFromString(o,"text/html").body.querySelector("svg")}async firstUpdated(){try{if(!this.customSvg){const t=await this.fetchIcon(this.category,this.name);if(t)this.svg=t;else if(!t){const t=(new DOMParser).parseFromString('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>',"text/html");this.svg=t.body.firstChild}}}catch(t){this.svg=void 0}}}t`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}:host{display:inline-block;--ds-auro-icon-size: 100%;width:100%;height:100%}:host .logo{color:var(--ds-auro-alaska-color)}:host([onDark]),:host([appearance=inverse]){--ds-auro-alaska-color: #FFF}
58
58
  `;var Ft=t`:host{--ds-auro-icon-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color: #02426D;--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}
59
- `,Rt=t`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]),:host(:not([appearance=inverse])[variant=accent1]){--ds-auro-icon-color: var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]),:host(:not([appearance=inverse])[variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]),:host(:not([appearance=inverse])[variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]),:host(:not([appearance=inverse])[variant=statusDefault]){--ds-auro-icon-color: var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]),:host(:not([appearance=inverse])[variant=statusInfo]){--ds-auro-icon-color: var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]),:host(:not([appearance=inverse])[variant=statusSuccess]){--ds-auro-icon-color: var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]),:host(:not([appearance=inverse])[variant=statusWarning]){--ds-auro-icon-color: var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]),:host(:not([appearance=inverse])[variant=statusError]){--ds-auro-icon-color: var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]),:host(:not([appearance=inverse])[variant=statusInfoSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]),:host(:not([appearance=inverse])[variant=statusSuccessSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]),:host(:not([appearance=inverse])[variant=statusWarningSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]),:host(:not([appearance=inverse])[variant=statusErrorSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]),:host(:not([appearance=inverse])[variant=fareBasicEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]),:host(:not([appearance=inverse])[variant=fareBusiness]){--ds-auro-icon-color: var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]),:host(:not([appearance=inverse])[variant=fareEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]),:host(:not([appearance=inverse])[variant=fareFirst]){--ds-auro-icon-color: var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]),:host(:not([appearance=inverse])[variant=farePremiumEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]),:host(:not([appearance=inverse])[variant=tierOneWorldEmerald]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]),:host(:not([appearance=inverse])[variant=tierOneWorldSapphire]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]),:host(:not([appearance=inverse])[variant=tierOneWorldRuby]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]),:host([appearance=inverse]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]),:host([appearance=inverse][variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]),:host([appearance=inverse][variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]),:host([appearance=inverse][variant=statusError]){--ds-auro-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}
60
- `;class Dt extends Ht{constructor(){super(),this.variant=void 0,this.privateDefaults()}privateDefaults(){this.uri="https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist",this.runtimeUtils=new Lt}static get properties(){return{...Ht.properties,ariaHidden:{type:String,reflect:!0},category:{type:String,reflect:!0},customColor:{type:Boolean,reflect:!0},customSvg:{type:Boolean},label:{type:Boolean,reflect:!0},name:{type:String,reflect:!0},variant:{type:String,reflect:!0}}}static get styles(){return[Ht.styles,Ft,Et,Rt]}static register(t="auro-icon"){Lt.prototype.registerComponent(t,Dt)}connectedCallback(){super.connectedCallback(),this.runtimeUtils.handleComponentTagRename(this,"auro-icon")}exposeCssParts(){this.setAttribute("exportparts","svg:iconSvg")}async firstUpdated(){if(await super.firstUpdated(),this.hasAttribute("ariaHidden")&&this.svg){const t=this.svg.querySelector("desc");t&&(t.remove(),this.svg.removeAttribute("aria-labelledby"))}}render(){const t={labelWrapper:!0,util_displayHiddenVisually:!this.label};return o`
59
+ `,Dt=t`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]),:host(:not([appearance=inverse])[variant=accent1]){--ds-auro-icon-color: var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]),:host(:not([appearance=inverse])[variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]),:host(:not([appearance=inverse])[variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]),:host(:not([appearance=inverse])[variant=statusDefault]){--ds-auro-icon-color: var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]),:host(:not([appearance=inverse])[variant=statusInfo]){--ds-auro-icon-color: var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]),:host(:not([appearance=inverse])[variant=statusSuccess]){--ds-auro-icon-color: var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]),:host(:not([appearance=inverse])[variant=statusWarning]){--ds-auro-icon-color: var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]),:host(:not([appearance=inverse])[variant=statusError]){--ds-auro-icon-color: var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]),:host(:not([appearance=inverse])[variant=statusInfoSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]),:host(:not([appearance=inverse])[variant=statusSuccessSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]),:host(:not([appearance=inverse])[variant=statusWarningSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]),:host(:not([appearance=inverse])[variant=statusErrorSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]),:host(:not([appearance=inverse])[variant=fareBasicEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]),:host(:not([appearance=inverse])[variant=fareBusiness]){--ds-auro-icon-color: var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]),:host(:not([appearance=inverse])[variant=fareEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]),:host(:not([appearance=inverse])[variant=fareFirst]){--ds-auro-icon-color: var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]),:host(:not([appearance=inverse])[variant=farePremiumEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]),:host(:not([appearance=inverse])[variant=tierOneWorldEmerald]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]),:host(:not([appearance=inverse])[variant=tierOneWorldSapphire]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]),:host(:not([appearance=inverse])[variant=tierOneWorldRuby]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]),:host([appearance=inverse]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]),:host([appearance=inverse][variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]),:host([appearance=inverse][variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]),:host([appearance=inverse][variant=statusError]){--ds-auro-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}
60
+ `;class Rt extends Ht{constructor(){super(),this.variant=void 0,this.privateDefaults()}privateDefaults(){this.uri="https://cdn.jsdelivr.net/npm/@alaskaairux/icons@latest/dist",this.runtimeUtils=new Lt}static get properties(){return{...Ht.properties,ariaHidden:{type:String,reflect:!0},category:{type:String,reflect:!0},customColor:{type:Boolean,reflect:!0},customSvg:{type:Boolean},label:{type:Boolean,reflect:!0},name:{type:String,reflect:!0},variant:{type:String,reflect:!0}}}static get styles(){return[Ht.styles,Ft,Et,Dt]}static register(t="auro-icon"){Lt.prototype.registerComponent(t,Rt)}connectedCallback(){super.connectedCallback(),this.runtimeUtils.handleComponentTagRename(this,"auro-icon")}exposeCssParts(){this.setAttribute("exportparts","svg:iconSvg")}async firstUpdated(){if(await super.firstUpdated(),this.hasAttribute("ariaHidden")&&this.svg){const t=this.svg.querySelector("desc");t&&(t.remove(),this.svg.removeAttribute("aria-labelledby"))}}render(){const t={labelWrapper:!0,util_displayHiddenVisually:!this.label};return o`
61
61
  <div class="componentWrapper">
62
62
  <div
63
63
  class="${n({svgWrapper:!0})}"
@@ -76,7 +76,7 @@ import{css as t,LitElement as e,html as o,nothing as s}from"lit";import{unsafeSt
76
76
  </div>
77
77
  </div>
78
78
  `}}var Ut=t`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:host{--border-size: 6px;--border-radius: 24px;--dot-animation-time: .3s}.container{display:flex;width:100%;flex-direction:column;align-items:flex-start}.slideshow-wrapper{position:relative;display:flex;width:100%;overflow:hidden;align-items:center;justify-content:start;padding:var(--border-size);box-sizing:border-box}.embla{max-width:100%;margin:0;--slide-size: 100%;--slide-spacing: 1rem}.embla__container{display:flex;gap:var(--slide-spacing)}.embla__slide{transform:translateZ(0);min-width:0;flex:0 0 var(--slide-size);border-radius:var(--border-radius);box-sizing:border-box;overflow:hidden;filter:brightness(100%);transition:filter .5s ease-in-out}.embla__slide:focus-visible{outline:unset;box-shadow:0 0 0 2px var(--ds-advanced-color-state-focused-inverse, #ffffff),0 0 0 var(--border-size) var(--ds-advanced-color-state-focused, #01426a)}.embla__slide:not(.in-view){filter:brightness(65%)}:host([autoScroll]) .embla__slide{filter:unset}.scroll-prev,.scroll-next{position:absolute;display:none;top:50%;transform:translateY(-50%);z-index:10}.scroll-prev{left:8px}.scroll-next{right:8px}.slideshow-wrapper:hover .scroll-prev:not([disabled]),.slideshow-wrapper:hover .scroll-next:not([disabled]){display:block}.pagination-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:100%;margin-top:40px;gap:14px;padding-inline:var(--border-size);box-sizing:border-box}.embla__dots{display:flex;gap:16px}.embla__dot{width:12px;height:12px;border-radius:50%;border:none;background-color:var(--ds-advanced-color-button-primary-background-inactive, #cfe0ef);mix-blend-mode:multiply;position:relative;cursor:pointer;transition:all var(--dot-animation-time) ease-in-out}.embla__dot:hover:not(.embla__dot--selected){background-color:var(--ds-advanced-color-button-primary-background-inactive-hover, #89b2d4)}.embla__dot:before{content:"";width:24px;height:24px;position:absolute;cursor:pointer;top:50%;left:50%;transform:translate(-50%,-50%)}.embla__dot--selected{width:52px;height:12px;border-radius:1.8rem;background-color:var(--ds-advanced-color-button-primary-background, #01426a)}.embla__dot--selected:before{width:64px}.embla__progress{width:52px;height:12px;border-radius:1.8rem;border:none;background-color:var(--ds-advanced-color-button-primary-background-inactive, #cfe0ef);mix-blend-mode:multiply;position:relative;overflow:hidden;cursor:pointer;align-self:center;justify-self:center;transition:all var(--dot-animation-time) ease-in-out}.embla__progress:hover:not(.stopped){background-color:var(--ds-advanced-color-button-primary-background-inactive-hover, #89b2d4)}.embla__progress__bar{border-radius:inherit;background-color:var(--ds-advanced-color-button-primary-background, #01426a);position:absolute;width:100%;top:0;bottom:0;left:-100%;animation-delay:var(--dot-animation-time);animation-name:autoplay-progress;animation-timing-function:linear;animation-iteration-count:1;animation-play-state:running}.embla__progress--paused .embla__progress__bar{animation-play-state:paused}.stopped{background-color:var(--ds-advanced-color-button-primary-background, #01426a)}@keyframes autoplay-progress{0%{transform:translateZ(0)}to{transform:translate3d(100%,0,0)}}:host([loop]) .embla__container{gap:unset}:host([loop]) .embla__slide{margin-right:var(--slide-spacing)}:host([fullBleed]) .slideshow-wrapper{overflow:visible}:host([fullBleed]) .embla{width:100vw;position:relative;left:50%;transform:translate(-50%);max-width:none}:host([fullBleed]) .embla__slide{max-width:calc(var(--slideshow-width) - var(--border-size) * 2)}:host([fullBleed]:not([autoscroll])) .embla__slide:not(.active){filter:brightness(65%)}
79
- `;class Pt extends e{constructor(){super(),this.autoplay=!1,this.delay=7e3,this.autoScroll=!1,this.scrollSpeed=.75,this.startDelay=1e3,this.playOnInit=!1,this.loop=!1,this.navigation=!1,this.pagination=!1,this.playLabel="Play slideshow",this.pauseLabel="Pause slideshow",this.fullBleed=!1,this.playBtnLabel="Play slideshow",this.isPlaying=!1,this.embla=null,this.slides=[],this.isHovered=!1,this.isStopped=!0,this.runtimeUtils=new et;const t=new tt;this.buttonTag=t.generateTag("auro-button","12.2.0",_t),this.iconTag=t.generateTag("auro-icon","9.1.0",Dt)}static register(t="auro-slideshow"){et.prototype.registerComponent(t,Pt)}static get styles(){return[Ut]}static get properties(){return{autoplay:{type:Boolean,reflect:!0},autoScroll:{type:Boolean,reflect:!0},playOnInit:{type:Boolean,reflect:!0},delay:{type:Number,reflect:!0},scrollSpeed:{type:Number,reflect:!0},startDelay:{type:Number,reflect:!0},playLabel:{type:String,reflect:!0},pauseLabel:{type:String,reflect:!0},loop:{type:Boolean,reflect:!0},navigation:{type:Boolean,reflect:!0},pagination:{type:Boolean,reflect:!0},isPlaying:{type:Boolean},fullBleed:{type:Boolean,reflect:!0}}}get _slot(){return this.shadowRoot.querySelector("slot:not([name])")}get _playBtn(){return this.shadowRoot.querySelector(".play-pause")}get _prevBtn(){return this.shadowRoot.querySelector(".scroll-prev")}get _nextBtn(){return this.shadowRoot.querySelector(".scroll-next")}get _dotsNode(){return this.shadowRoot.querySelector(".embla__dots")}get _progressNode(){return this.shadowRoot.querySelector(".embla__progress")}get _slideshowWrapperNode(){return this.shadowRoot.querySelector(".slideshow-wrapper")}get _slideshowPaddingSize(){return Number.parseFloat(getComputedStyle(this._slideshowWrapperNode).paddingLeft)||0}play(){this.autoplay?this.embla?.plugins()?.autoplay.play():this.autoScroll&&this.embla?.plugins()?.autoScroll.play()}stop(){this.autoplay?this.embla?.plugins()?.autoplay.stop():this.autoScroll&&this.embla?.plugins()?.autoScroll.stop()}scrollPrev(){this.embla.scrollPrev()}scrollNext(){this.embla.scrollNext()}get _customAlign(){return this.fullBleed&&this._slideshowWrapperNode?()=>this._slideshowWrapperNode.getBoundingClientRect().left+this._slideshowPaddingSize:()=>0}_createWidthProp=()=>{if(this._slideshowWrapperNode){const{width:t}=this._slideshowWrapperNode.getBoundingClientRect();this.style.setProperty("--slideshow-width",`${t}px`)}};initializeEmbla(){const t=this.shadowRoot.querySelector(".embla"),e={loop:this.loop,align:this.fullBleed?this._customAlign:"start",inViewThreshold:.5},o={playOnInit:this.playOnInit,delay:this.delay,stopOnLastSnap:!this.loop},s={playOnInit:this.playOnInit,speed:this.scrollSpeed,startDelay:this.startDelay},a=[J({snapped:"active",inView:"in-view",loop:"",draggable:"",dragging:""})];this.autoplay&&this.autoScroll&&(console.warn("Autoplay and AutoScroll are not meant to be used together. AutoScroll has been disabled."),this.autoScroll=!1),this.autoplay&&a.push(X(o)),this.autoScroll&&!this.isTouchDevice()&&a.push(G(s)),this.embla=W(t,e,a),this.pagination&&this.addDotBtnsAndClickHandlers(this.embla,this._dotsNode,this.stopOnInteraction),this.navigation&&!this.isTouchDevice()&&this.embla.on("select",this.toggleNavBtnsState).on("init",this.toggleNavBtnsState).on("reInit",this.toggleNavBtnsState),this.autoplay&&this.embla.on("autoplay:stop",this.togglePlayButtonOnStop).on("autoplay:play",this.togglePlayButtonOnPlay).on("init",this.togglePlayButtonOnStop),this.autoScroll&&!this.isTouchDevice()&&this.embla.on("autoScroll:stop",this.togglePlayButtonOnStop).on("autoScroll:play",this.togglePlayButtonOnPlay).on("init",this.togglePlayButtonOnStop),this.fullBleed&&this.embla.on("init",this._createWidthProp).on("resize",this._createWidthProp)}updateSlides(){if(this._slot){this.slides=Array.from(this._slot.assignedElements()),this.slides.forEach(((t,e)=>{t.classList.add("embla__slide"),t.addEventListener("keydown",this.handleKeydown),0===e?t.setAttribute("tabindex","0"):t.setAttribute("tabindex","-1")}));this.shadowRoot.querySelector(".embla__container").replaceChildren(...this.slides)}}toggleTabIndex=()=>{const t=this.slides[this.embla.selectedScrollSnap()];this.slides.forEach((t=>{t.setAttribute("tabindex","-1")})),t.setAttribute("tabindex","0")};togglePlayButtonOnStop=()=>{this.isPlaying=!1,this.playBtnLabel=this.runtimeUtils.getSlotText(this,"ariaLabel.slideshow.play")||this.playLabel};togglePlayButtonOnPlay=()=>{this.isPlaying=!0,this.playBtnLabel=this.runtimeUtils.getSlotText(this,"ariaLabel.slideshow.pause")||this.pauseLabel};toggleNavBtnsState=()=>{this.embla.canScrollPrev()?this._prevBtn.removeAttribute("disabled"):this._prevBtn.setAttribute("disabled",""),this.embla.canScrollNext()?this._nextBtn.removeAttribute("disabled"):this._nextBtn.setAttribute("disabled","")};stopOnInteraction=()=>{this.isPlaying&&(this.stop(),this.togglePlayButtonOnStop(),this.isStopped=!0)};isTouchDevice(){return window.matchMedia("(pointer: coarse)").matches}handleSlotChange(){this.updateSlides(),this.embla?this.embla.reInit():this.initializeEmbla(),this.embla.on("select",this.toggleTabIndex),(this.autoplay||this.autoScroll&&!this.isTouchDevice())&&(this.isPlaying=!0,this.playOnInit&&(this.isStopped=!1))}handleNavClick(t){"prev"===t&&this.scrollPrev(),"next"===t&&this.scrollNext(),this.stopOnInteraction()}handleKeydown=t=>{const e=()=>{setTimeout((()=>{this.slides[this.embla.selectedScrollSnap()].focus()}),200)};"ArrowLeft"===t.key?(t.preventDefault(),this.scrollPrev(),e()):"ArrowRight"===t.key&&(t.preventDefault(),this.scrollNext(),e())};handlePlayClick(){this.isPlaying?(this.stop(),this.togglePlayButtonOnStop(),this.isStopped=!0):(this.play(),this.togglePlayButtonOnPlay(),this.isStopped=!1)}handleMouseEnter=()=>{this.isPlaying&&(this.stop(),this.isHovered=!0)};handleMouseLeave=()=>{this.isPlaying||this.isStopped||!this.isHovered||(this.play(),this.isHovered=!1)};addDotBtnsAndClickHandlers=(t,e)=>{let o=[];const s=()=>{const s=t.scrollSnapList().map(((e,o)=>{const s=document.createElement("button");return s.className="embla__dot",s.type="button",s.tabIndex=-1,s.setAttribute("aria-label",`Go to slide ${o+1}`),s.addEventListener("click",(()=>{t.scrollTo(o),this.stopOnInteraction()}),!1),s}));e.replaceChildren(...s),o=s},a=()=>{const e=t.selectedScrollSnap();o[e]&&o[e].classList.toggle("stopped",!this.isPlaying)},r=()=>{const e=t.previousScrollSnap(),s=t.selectedScrollSnap();if(this.autoplay){const r=document.createElement("div");r.className="embla__progress__bar",o[e]&&(o[e].className="embla__dot",o[e].replaceChildren()),o[s]&&(o[s].className="embla__progress",o[s].replaceChildren(r),this.isPlaying||o[s].classList.add("stopped")),this.addAutoplayProgressListeners(this.embla,this._progressNode),t.on("autoplay:play",a).on("autoplay:stop",a)}else o[e]&&o[e].classList.remove("embla__dot--selected"),o[s]&&o[s].classList.add("embla__dot--selected")};return t.on("init",s).on("reInit",s).on("init",r).on("reInit",r).on("select",r),()=>{e.replaceChildren()}};addAutoplayProgressListeners=(t,e)=>{const o=e.querySelector(".embla__progress__bar");let s="";const a=t=>{this._progressNode.classList.remove("embla__progress--paused");const e=t?.plugins()?.autoplay;if(!e)return;const a=e.timeUntilNext();if(null!==a){if(!s){const t=window.getComputedStyle(o);s=t.animationName}o.style.animationName="none",o.style.transform="translate3d(0,0,0)",window.requestAnimationFrame((()=>{window.setTimeout((()=>{o.style.animationName=s,o.style.animationDuration=`${a}ms`}),0)}))}},r=t=>{this._progressNode.classList.add("embla__progress--paused");t?.plugins()};return t.on("autoplay:timerset",a).on("autoplay:timerstopped",r).emit("autoplay:timerset"),()=>{t.off("autoplay:timerset",a).off("autoplay:timerstopped",r)}};disconnectedCallback(){super.disconnectedCallback(),this.embla&&(this.embla.off("select",this.toggleTabIndex),this.navigation&&!this.isTouchDevice()&&this.embla.off("select",this.toggleNavBtnsState).off("init",this.toggleNavBtnsState).off("reInit",this.toggleNavBtnsState),this.autoplay&&this.embla.off("autoplay:stop",this.togglePlayButtonOnStop).off("autoplay:play",this.togglePlayButtonOnPlay),this.autoScroll&&!this.isTouchDevice()&&this.embla.off("autoScroll:stop",this.togglePlayButtonOnStop).off("autoScroll:play",this.togglePlayButtonOnPlay),this.embla.destroy(),this.embla=null),this.slides.forEach((t=>{t.removeEventListener("keydown",this.handleKeydown)})),this.slides=[]}generateIconHtml(t,e){const o=(new DOMParser).parseFromString(t,"text/html").body.firstChild;return o.setAttribute("slot","svg"),i`<${this.iconTag} style="--ds-auro-icon-size: inherit" customColor customSvg ?hidden="${e}">${o}</${this.iconTag}>`}renderNavigationControls(){return i`
79
+ `;class Pt extends e{constructor(){super(),this._initializeDefaults()}_initializeDefaults(){this.autoplay=!1,this.delay=7e3,this.autoScroll=!1,this.scrollSpeed=.75,this.startDelay=1e3,this.playOnInit=!1,this.loop=!1,this.navigation=!1,this.pagination=!1,this.playLabel="Play slideshow",this.pauseLabel="Pause slideshow",this.fullBleed=!1,this.playBtnLabel="Play slideshow",this.isPlaying=!1,this.embla=null,this.slides=[],this.isHovered=!1,this.isStopped=!0,this.runtimeUtils=new et;const t=new tt;this.buttonTag=t.generateTag("auro-button","12.3.0",_t),this.iconTag=t.generateTag("auro-icon","9.1.1",Rt)}static register(t="auro-slideshow"){et.prototype.registerComponent(t,Pt)}static get styles(){return[Ut]}static get properties(){return{autoplay:{type:Boolean,reflect:!0},autoScroll:{type:Boolean,reflect:!0},playOnInit:{type:Boolean,reflect:!0},delay:{type:Number,reflect:!0},scrollSpeed:{type:Number,reflect:!0},startDelay:{type:Number,reflect:!0},playLabel:{type:String,reflect:!0},pauseLabel:{type:String,reflect:!0},loop:{type:Boolean,reflect:!0},navigation:{type:Boolean,reflect:!0},pagination:{type:Boolean,reflect:!0},isPlaying:{type:Boolean},fullBleed:{type:Boolean,reflect:!0}}}get _slot(){return this.shadowRoot.querySelector("slot:not([name])")}get _playBtn(){return this.shadowRoot.querySelector(".play-pause")}get _prevBtn(){return this.shadowRoot.querySelector(".scroll-prev")}get _nextBtn(){return this.shadowRoot.querySelector(".scroll-next")}get _dotsNode(){return this.shadowRoot.querySelector(".embla__dots")}get _progressNode(){return this.shadowRoot.querySelector(".embla__progress")}get _slideshowWrapperNode(){return this.shadowRoot.querySelector(".slideshow-wrapper")}get _slideshowPaddingSize(){return Number.parseFloat(getComputedStyle(this._slideshowWrapperNode).paddingLeft)||0}play(){this.autoplay?this.embla?.plugins()?.autoplay.play():this.autoScroll&&this.embla?.plugins()?.autoScroll.play()}stop(){this.autoplay?this.embla?.plugins()?.autoplay.stop():this.autoScroll&&this.embla?.plugins()?.autoScroll.stop()}scrollPrev(){this.embla.scrollPrev()}scrollNext(){this.embla.scrollNext()}get _customAlign(){return this.fullBleed&&this._slideshowWrapperNode?()=>this._slideshowWrapperNode.getBoundingClientRect().left+this._slideshowPaddingSize:()=>0}_createWidthProp=()=>{if(this._slideshowWrapperNode){const{width:t}=this._slideshowWrapperNode.getBoundingClientRect();this.style.setProperty("--slideshow-width",`${t}px`)}};initializeEmbla(){const t=this.shadowRoot.querySelector(".embla"),e={loop:this.loop,align:this.fullBleed?this._customAlign:"start",inViewThreshold:.5},o={playOnInit:this.playOnInit,delay:this.delay,stopOnLastSnap:!this.loop},s={playOnInit:this.playOnInit,speed:this.scrollSpeed,startDelay:this.startDelay},a=[J({snapped:"active",inView:"in-view",loop:"",draggable:"",dragging:""})];this.autoplay&&this.autoScroll&&(console.warn("Autoplay and AutoScroll are not meant to be used together. AutoScroll has been disabled."),this.autoScroll=!1),this.autoplay&&a.push(X(o)),this.autoScroll&&!this.isTouchDevice()&&a.push(G(s)),this.embla=W(t,e,a),this.pagination&&this.addDotBtnsAndClickHandlers(this.embla,this._dotsNode,this.stopOnInteraction),this.navigation&&!this.isTouchDevice()&&this.embla.on("select",this.toggleNavBtnsState).on("init",this.toggleNavBtnsState).on("reInit",this.toggleNavBtnsState),this.autoplay&&this.embla.on("autoplay:stop",this.togglePlayButtonOnStop).on("autoplay:play",this.togglePlayButtonOnPlay).on("init",this.togglePlayButtonOnStop),this.autoScroll&&!this.isTouchDevice()&&this.embla.on("autoScroll:stop",this.togglePlayButtonOnStop).on("autoScroll:play",this.togglePlayButtonOnPlay).on("init",this.togglePlayButtonOnStop),this.fullBleed&&this.embla.on("init",this._createWidthProp).on("resize",this._createWidthProp)}updateSlides(){if(this._slot){this.slides=Array.from(this._slot.assignedElements()),this.slides.forEach(((t,e)=>{t.classList.add("embla__slide"),t.addEventListener("keydown",this.handleKeydown),0===e?t.setAttribute("tabindex","0"):t.setAttribute("tabindex","-1")}));this.shadowRoot.querySelector(".embla__container").replaceChildren(...this.slides)}}toggleTabIndex=()=>{const t=this.slides[this.embla.selectedScrollSnap()];this.slides.forEach((t=>{t.setAttribute("tabindex","-1")})),t.setAttribute("tabindex","0")};togglePlayButtonOnStop=()=>{this.isPlaying=!1,this.playBtnLabel=this.runtimeUtils.getSlotText(this,"ariaLabel.slideshow.play")||this.playLabel};togglePlayButtonOnPlay=()=>{this.isPlaying=!0,this.playBtnLabel=this.runtimeUtils.getSlotText(this,"ariaLabel.slideshow.pause")||this.pauseLabel};toggleNavBtnsState=()=>{this.embla.canScrollPrev()?this._prevBtn.removeAttribute("disabled"):this._prevBtn.setAttribute("disabled",""),this.embla.canScrollNext()?this._nextBtn.removeAttribute("disabled"):this._nextBtn.setAttribute("disabled","")};stopOnInteraction=()=>{this.isPlaying&&(this.stop(),this.togglePlayButtonOnStop(),this.isStopped=!0)};isTouchDevice(){return window.matchMedia("(pointer: coarse)").matches}handleSlotChange(){this.updateSlides(),this.embla?this.embla.reInit():this.initializeEmbla(),this.embla.on("select",this.toggleTabIndex),(this.autoplay||this.autoScroll&&!this.isTouchDevice())&&(this.isPlaying=!0,this.playOnInit&&(this.isStopped=!1))}handleNavClick(t){"prev"===t&&this.scrollPrev(),"next"===t&&this.scrollNext(),this.stopOnInteraction()}handleKeydown=t=>{const e=()=>{setTimeout((()=>{this.slides[this.embla.selectedScrollSnap()].focus()}),200)};"ArrowLeft"===t.key?(t.preventDefault(),this.scrollPrev(),e()):"ArrowRight"===t.key&&(t.preventDefault(),this.scrollNext(),e())};handlePlayClick(){this.isPlaying?(this.stop(),this.togglePlayButtonOnStop(),this.isStopped=!0):(this.play(),this.togglePlayButtonOnPlay(),this.isStopped=!1)}handleMouseEnter=()=>{this.isPlaying&&(this.stop(),this.isHovered=!0)};handleMouseLeave=()=>{this.isPlaying||this.isStopped||!this.isHovered||(this.play(),this.isHovered=!1)};addDotBtnsAndClickHandlers=(t,e)=>{let o=[];const s=()=>{const s=t.scrollSnapList().map(((e,o)=>{const s=document.createElement("button");return s.className="embla__dot",s.type="button",s.tabIndex=-1,s.setAttribute("aria-label",`Go to slide ${o+1}`),s.addEventListener("click",(()=>{t.scrollTo(o),this.stopOnInteraction()}),!1),s}));e.replaceChildren(...s),o=s},a=()=>{const e=t.selectedScrollSnap();o[e]&&o[e].classList.toggle("stopped",!this.isPlaying)},r=()=>{const e=t.previousScrollSnap(),s=t.selectedScrollSnap();if(this.autoplay){const r=document.createElement("div");r.className="embla__progress__bar",o[e]&&(o[e].className="embla__dot",o[e].replaceChildren()),o[s]&&(o[s].className="embla__progress",o[s].replaceChildren(r),this.isPlaying||o[s].classList.add("stopped")),this.addAutoplayProgressListeners(this.embla,this._progressNode),t.on("autoplay:play",a).on("autoplay:stop",a)}else o[e]&&o[e].classList.remove("embla__dot--selected"),o[s]&&o[s].classList.add("embla__dot--selected")};return t.on("init",s).on("reInit",s).on("init",r).on("reInit",r).on("select",r),()=>{e.replaceChildren()}};addAutoplayProgressListeners=(t,e)=>{const o=e.querySelector(".embla__progress__bar");let s="";const a=t=>{this._progressNode.classList.remove("embla__progress--paused");const e=t?.plugins()?.autoplay;if(!e)return;const a=e.timeUntilNext();if(null!==a){if(!s){const t=window.getComputedStyle(o);s=t.animationName}o.style.animationName="none",o.style.transform="translate3d(0,0,0)",window.requestAnimationFrame((()=>{window.setTimeout((()=>{o.style.animationName=s,o.style.animationDuration=`${a}ms`}),0)}))}},r=t=>{this._progressNode.classList.add("embla__progress--paused");t?.plugins()};return t.on("autoplay:timerset",a).on("autoplay:timerstopped",r).emit("autoplay:timerset"),()=>{t.off("autoplay:timerset",a).off("autoplay:timerstopped",r)}};disconnectedCallback(){super.disconnectedCallback(),this.embla&&(this.embla.off("select",this.toggleTabIndex),this.navigation&&!this.isTouchDevice()&&this.embla.off("select",this.toggleNavBtnsState).off("init",this.toggleNavBtnsState).off("reInit",this.toggleNavBtnsState),this.autoplay&&this.embla.off("autoplay:stop",this.togglePlayButtonOnStop).off("autoplay:play",this.togglePlayButtonOnPlay),this.autoScroll&&!this.isTouchDevice()&&this.embla.off("autoScroll:stop",this.togglePlayButtonOnStop).off("autoScroll:play",this.togglePlayButtonOnPlay),this.embla.destroy(),this.embla=null),this.slides.forEach((t=>{t.removeEventListener("keydown",this.handleKeydown)})),this.slides=[]}generateIconHtml(t,e){const o=(new DOMParser).parseFromString(t,"text/html").body.firstChild;return o.setAttribute("slot","svg"),i`<${this.iconTag} style="--ds-auro-icon-size: inherit" customColor customSvg ?hidden="${e}">${o}</${this.iconTag}>`}renderNavigationControls(){return i`
80
80
  <${this.buttonTag}
81
81
  aria-label="${this.runtimeUtils.getSlotText(this,"ariaLabel.scroll.left")||"Previous slide"}"
82
82
  class="scroll-prev"