@momentum-design/components 0.117.1 → 0.117.2

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,7 +1,7 @@
1
- "use strict";(()=>{var $b=Object.create;var Nd=Object.defineProperty;var Up=Object.getOwnPropertyDescriptor;var Fb=Object.getOwnPropertyNames;var Vb=Object.getPrototypeOf,zb=Object.prototype.hasOwnProperty;var Bb=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports);var Ub=(n,o,t,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of Fb(o))!zb.call(n,a)&&a!==t&&Nd(n,a,{get:()=>o[a],enumerable:!(i=Up(o,a))||i.enumerable});return n};var Hb=(n,o,t)=>(t=n!=null?$b(Vb(n)):{},Ub(o||!n||!n.__esModule?Nd(t,"default",{value:n,enumerable:!0}):t,n));var p=(n,o,t,i)=>{for(var a=i>1?void 0:i?Up(o,t):o,d=n.length-1,m;d>=0;d--)(m=n[d])&&(a=(i?m(o,t,a):m(a))||a);return i&&a&&Nd(o,t,a),a};var zm=Bb((Ea,sl)=>{typeof navigator<"u"&&function(n,o){typeof Ea=="object"&&typeof sl<"u"?sl.exports=o():typeof define=="function"&&define.amd?define(o):(n=typeof globalThis<"u"?globalThis:n||self,n.lottie=o())}(Ea,function(){"use strict";var n="http://www.w3.org/2000/svg",o="",t=!1,i=-999999,a=function(r){t=!!r},d=function(){return t},m=function(r){o=r},b=function(){return o};function C(e){return document.createElement(e)}function M(e,r){var s,l=e.length,h;for(s=0;s<l;s+=1){h=e[s].prototype;for(var c in h)Object.prototype.hasOwnProperty.call(h,c)&&(r.prototype[c]=h[c])}}function W(e,r){return Object.getOwnPropertyDescriptor(e,r)}function K(e){function r(){}return r.prototype=e,r}var it=function(){function e(r){this.audios=[],this.audioFactory=r,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(s){this.audios.push(s)},pause:function(){var s,l=this.audios.length;for(s=0;s<l;s+=1)this.audios[s].pause()},resume:function(){var s,l=this.audios.length;for(s=0;s<l;s+=1)this.audios[s].resume()},setRate:function(s){var l,h=this.audios.length;for(l=0;l<h;l+=1)this.audios[l].setRate(s)},createAudio:function(s){return this.audioFactory?this.audioFactory(s):window.Howl?new window.Howl({src:[s]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(s){this.audioFactory=s},setVolume:function(s){this._volume=s,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var s,l=this.audios.length;for(s=0;s<l;s+=1)this.audios[s].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),X=function(){function e(s,l){var h=0,c=[],v;switch(s){case"int16":case"uint8c":v=1;break;default:v=1.1;break}for(h=0;h<l;h+=1)c.push(v);return c}function r(s,l){return s==="float32"?new Float32Array(l):s==="int16"?new Int16Array(l):s==="uint8c"?new Uint8ClampedArray(l):e(s,l)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:e}();function tt(e){return Array.apply(null,{length:e})}function lt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?lt=function(s){return typeof s}:lt=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},lt(e)}var dt=!0,vt=null,At=null,wt="",Wt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),$t=!1,Bt=Math.pow,Xt=Math.sqrt,ne=Math.floor,mr=Math.max,we=Math.min,je={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r,s=e.length;for(r=0;r<s;r+=1)je[e[r]]=Math[e[r]]})();function ur(){return{}}je.random=Math.random,je.abs=function(e){var r=lt(e);if(r==="object"&&e.length){var s=tt(e.length),l,h=e.length;for(l=0;l<h;l+=1)s[l]=Math.abs(e[l]);return s}return Math.abs(e)};var fr=150,Ct=Math.PI/180,pe=.5519;function qe(e){$t=!!e}function Ke(e){return $t?Math.round(e):e}function Xe(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function Ze(e,r,s,l){this.type=e,this.currentTime=r,this.totalTime=s,this.direction=l<0?-1:1}function hn(e,r){this.type=e,this.direction=r<0?-1:1}function Kh(e,r,s,l){this.type=e,this.currentLoop=s,this.totalLoops=r,this.direction=l<0?-1:1}function Xh(e,r,s){this.type=e,this.firstFrame=r,this.totalFrames=s}function Zh(e,r){this.type=e,this.target=r}function $g(e,r){this.type="renderFrameError",this.nativeError=e,this.currentTime=r}function Fg(e){this.type="configError",this.nativeError=e}function hA(e,r){this.type=e,this.nativeError=r}var Ne=function(){var e=0;return function(){return e+=1,wt+"__lottie_element_"+e}}();function gd(e,r,s){var l,h,c,v,x,g,k,L;switch(v=Math.floor(e*6),x=e*6-v,g=s*(1-r),k=s*(1-x*r),L=s*(1-(1-x)*r),v%6){case 0:l=s,h=L,c=g;break;case 1:l=k,h=s,c=g;break;case 2:l=g,h=s,c=L;break;case 3:l=g,h=k,c=s;break;case 4:l=L,h=g,c=s;break;case 5:l=s,h=g,c=k;break;default:break}return[l,h,c]}function bd(e,r,s){var l=Math.max(e,r,s),h=Math.min(e,r,s),c=l-h,v,x=l===0?0:c/l,g=l/255;switch(l){case h:v=0;break;case e:v=r-s+c*(r<s?6:0),v/=6*c;break;case r:v=s-e+c*2,v/=6*c;break;case s:v=e-r+c*4,v/=6*c;break;default:break}return[v,x,g]}function Qh(e,r){var s=bd(e[0]*255,e[1]*255,e[2]*255);return s[1]+=r,s[1]>1?s[1]=1:s[1]<=0&&(s[1]=0),gd(s[0],s[1],s[2])}function Jh(e,r){var s=bd(e[0]*255,e[1]*255,e[2]*255);return s[2]+=r,s[2]>1?s[2]=1:s[2]<0&&(s[2]=0),gd(s[0],s[1],s[2])}function tp(e,r){var s=bd(e[0]*255,e[1]*255,e[2]*255);return s[0]+=r/360,s[0]>1?s[0]-=1:s[0]<0&&(s[0]+=1),gd(s[0],s[1],s[2])}var pA=function(){var e=[],r,s;for(r=0;r<256;r+=1)s=r.toString(16),e[r]=s.length===1?"0"+s:s;return function(l,h,c){return l<0&&(l=0),h<0&&(h=0),c<0&&(c=0),"#"+e[l]+e[h]+e[c]}}(),Vg=function(r){dt=!!r},zg=function(){return dt},Bg=function(r){vt=r},pn=function(){return vt},mA=function(r){At=r},ep=function(){return At},mn=function(r){fr=r},zs=function(){return fr},Ug=function(r){wt=r},uA=function(){return wt};function Tt(e){return document.createElementNS(n,e)}function un(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?un=function(s){return typeof s}:un=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},un(e)}var Bs=function(){var e=1,r=[],s,l,h={onmessage:function(){},postMessage:function(R){s({data:R})}},c={postMessage:function(R){h.onmessage({data:R})}};function v(T){if(window.Worker&&window.Blob&&d()){var R=new Blob(["var _workerSelf = self; self.onmessage = ",T.toString()],{type:"text/javascript"}),D=URL.createObjectURL(R);return new Worker(D)}return s=T,h}function x(){l||(l=v(function(R){function D(){function V(Q,S){var P,f,y=Q.length,G,F,nt,ft;for(f=0;f<y;f+=1)if(P=Q[f],"ks"in P&&!P.completed){if(P.completed=!0,P.hasMask){var Et=P.masksProperties;for(F=Et.length,G=0;G<F;G+=1)if(Et[G].pt.k.i)w(Et[G].pt.k);else for(ft=Et[G].pt.k.length,nt=0;nt<ft;nt+=1)Et[G].pt.k[nt].s&&w(Et[G].pt.k[nt].s[0]),Et[G].pt.k[nt].e&&w(Et[G].pt.k[nt].e[0])}P.ty===0?(P.layers=E(P.refId,S),V(P.layers,S)):P.ty===4?A(P.shapes):P.ty===5&&xt(P)}}function N(Q,S){if(Q){var P=0,f=Q.length;for(P=0;P<f;P+=1)Q[P].t===1&&(Q[P].data.layers=E(Q[P].data.refId,S),V(Q[P].data.layers,S))}}function _(Q,S){for(var P=0,f=S.length;P<f;){if(S[P].id===Q)return S[P];P+=1}return null}function E(Q,S){var P=_(Q,S);return P?P.layers.__used?JSON.parse(JSON.stringify(P.layers)):(P.layers.__used=!0,P.layers):null}function A(Q){var S,P=Q.length,f,y;for(S=P-1;S>=0;S-=1)if(Q[S].ty==="sh")if(Q[S].ks.k.i)w(Q[S].ks.k);else for(y=Q[S].ks.k.length,f=0;f<y;f+=1)Q[S].ks.k[f].s&&w(Q[S].ks.k[f].s[0]),Q[S].ks.k[f].e&&w(Q[S].ks.k[f].e[0]);else Q[S].ty==="gr"&&A(Q[S].it)}function w(Q){var S,P=Q.i.length;for(S=0;S<P;S+=1)Q.i[S][0]+=Q.v[S][0],Q.i[S][1]+=Q.v[S][1],Q.o[S][0]+=Q.v[S][0],Q.o[S][1]+=Q.v[S][1]}function $(Q,S){var P=S?S.split("."):[100,100,100];return Q[0]>P[0]?!0:P[0]>Q[0]?!1:Q[1]>P[1]?!0:P[1]>Q[1]?!1:Q[2]>P[2]?!0:P[2]>Q[2]?!1:null}var U=function(){var Q=[4,4,14];function S(f){var y=f.t.d;f.t.d={k:[{s:y,t:0}]}}function P(f){var y,G=f.length;for(y=0;y<G;y+=1)f[y].ty===5&&S(f[y])}return function(f){if($(Q,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),Y=function(){var Q=[4,7,99];return function(S){if(S.chars&&!$(Q,S.v)){var P,f=S.chars.length;for(P=0;P<f;P+=1){var y=S.chars[P];y.data&&y.data.shapes&&(A(y.data.shapes),y.data.ip=0,y.data.op=99999,y.data.st=0,y.data.sr=1,y.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},S.chars[P].t||(y.data.shapes.push({ty:"no"}),y.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),J=function(){var Q=[5,7,15];function S(f){var y=f.t.p;typeof y.a=="number"&&(y.a={a:0,k:y.a}),typeof y.p=="number"&&(y.p={a:0,k:y.p}),typeof y.r=="number"&&(y.r={a:0,k:y.r})}function P(f){var y,G=f.length;for(y=0;y<G;y+=1)f[y].ty===5&&S(f[y])}return function(f){if($(Q,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),yt=function(){var Q=[4,1,9];function S(f){var y,G=f.length,F,nt;for(y=0;y<G;y+=1)if(f[y].ty==="gr")S(f[y].it);else if(f[y].ty==="fl"||f[y].ty==="st")if(f[y].c.k&&f[y].c.k[0].i)for(nt=f[y].c.k.length,F=0;F<nt;F+=1)f[y].c.k[F].s&&(f[y].c.k[F].s[0]/=255,f[y].c.k[F].s[1]/=255,f[y].c.k[F].s[2]/=255,f[y].c.k[F].s[3]/=255),f[y].c.k[F].e&&(f[y].c.k[F].e[0]/=255,f[y].c.k[F].e[1]/=255,f[y].c.k[F].e[2]/=255,f[y].c.k[F].e[3]/=255);else f[y].c.k[0]/=255,f[y].c.k[1]/=255,f[y].c.k[2]/=255,f[y].c.k[3]/=255}function P(f){var y,G=f.length;for(y=0;y<G;y+=1)f[y].ty===4&&S(f[y].shapes)}return function(f){if($(Q,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),pt=function(){var Q=[4,4,18];function S(f){var y,G=f.length,F,nt;for(y=G-1;y>=0;y-=1)if(f[y].ty==="sh")if(f[y].ks.k.i)f[y].ks.k.c=f[y].closed;else for(nt=f[y].ks.k.length,F=0;F<nt;F+=1)f[y].ks.k[F].s&&(f[y].ks.k[F].s[0].c=f[y].closed),f[y].ks.k[F].e&&(f[y].ks.k[F].e[0].c=f[y].closed);else f[y].ty==="gr"&&S(f[y].it)}function P(f){var y,G,F=f.length,nt,ft,Et,Nt;for(G=0;G<F;G+=1){if(y=f[G],y.hasMask){var Lt=y.masksProperties;for(ft=Lt.length,nt=0;nt<ft;nt+=1)if(Lt[nt].pt.k.i)Lt[nt].pt.k.c=Lt[nt].cl;else for(Nt=Lt[nt].pt.k.length,Et=0;Et<Nt;Et+=1)Lt[nt].pt.k[Et].s&&(Lt[nt].pt.k[Et].s[0].c=Lt[nt].cl),Lt[nt].pt.k[Et].e&&(Lt[nt].pt.k[Et].e[0].c=Lt[nt].cl)}y.ty===4&&S(y.shapes)}}return function(f){if($(Q,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}();function ot(Q){Q.__complete||(yt(Q),U(Q),Y(Q),J(Q),pt(Q),V(Q.layers,Q.assets),N(Q.chars,Q.assets),Q.__complete=!0)}function xt(Q){Q.t.a.length===0&&"m"in Q.t.p}var ct={};return ct.completeData=ot,ct.checkColors=yt,ct.checkChars=Y,ct.checkPathProperties=J,ct.checkShapes=pt,ct.completeLayers=V,ct}if(c.dataManager||(c.dataManager=D()),c.assetLoader||(c.assetLoader=function(){function V(_){var E=_.getResponseHeader("content-type");return E&&_.responseType==="json"&&E.indexOf("json")!==-1||_.response&&un(_.response)==="object"?_.response:_.response&&typeof _.response=="string"?JSON.parse(_.response):_.responseText?JSON.parse(_.responseText):null}function N(_,E,A,w){var $,U=new XMLHttpRequest;try{U.responseType="json"}catch{}U.onreadystatechange=function(){if(U.readyState===4)if(U.status===200)$=V(U),A($);else try{$=V(U),A($)}catch(Y){w&&w(Y)}};try{U.open(["G","E","T"].join(""),_,!0)}catch{U.open(["G","E","T"].join(""),E+"/"+_,!0)}U.send()}return{load:N}}()),R.data.type==="loadAnimation")c.assetLoader.load(R.data.path,R.data.fullPath,function(V){c.dataManager.completeData(V),c.postMessage({id:R.data.id,payload:V,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})});else if(R.data.type==="complete"){var O=R.data.animation;c.dataManager.completeData(O),c.postMessage({id:R.data.id,payload:O,status:"success"})}else R.data.type==="loadData"&&c.assetLoader.load(R.data.path,R.data.fullPath,function(V){c.postMessage({id:R.data.id,payload:V,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})})}),l.onmessage=function(T){var R=T.data,D=R.id,O=r[D];r[D]=null,R.status==="success"?O.onComplete(R.payload):O.onError&&O.onError()})}function g(T,R){e+=1;var D="processId_"+e;return r[D]={onComplete:T,onError:R},D}function k(T,R,D){x();var O=g(R,D);l.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:O})}function L(T,R,D){x();var O=g(R,D);l.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:O})}function H(T,R,D){x();var O=g(R,D);l.postMessage({type:"complete",animation:T,id:O})}return{loadAnimation:k,loadData:L,completeAnimation:H}}(),Hg=function(){var e=function(){var N=C("canvas");N.width=1,N.height=1;var _=N.getContext("2d");return _.fillStyle="rgba(0,0,0,0)",_.fillRect(0,0,1,1),N}();function r(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function s(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function l(N,_,E){var A="";if(N.e)A=N.p;else if(_){var w=N.p;w.indexOf("images/")!==-1&&(w=w.split("/")[1]),A=_+w}else A=E,A+=N.u?N.u:"",A+=N.p;return A}function h(N){var _=0,E=setInterval((function(){var A=N.getBBox();(A.width||_>500)&&(this._imageLoaded(),clearInterval(E)),_+=1}).bind(this),50)}function c(N){var _=l(N,this.assetsPath,this.path),E=Tt("image");Wt?this.testImageLoaded(E):E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),E.setAttributeNS("http://www.w3.org/1999/xlink","href",_),this._elementHelper.append?this._elementHelper.append(E):this._elementHelper.appendChild(E);var A={img:E,assetData:N};return A}function v(N){var _=l(N,this.assetsPath,this.path),E=C("img");E.crossOrigin="anonymous",E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),E.src=_;var A={img:E,assetData:N};return A}function x(N){var _={assetData:N},E=l(N,this.assetsPath,this.path);return Bs.loadData(E,(function(A){_.img=A,this._footageLoaded()}).bind(this),(function(){_.img={},this._footageLoaded()}).bind(this)),_}function g(N,_){this.imagesLoadedCb=_;var E,A=N.length;for(E=0;E<A;E+=1)N[E].layers||(!N[E].t||N[E].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(N[E]))):N[E].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(N[E]))))}function k(N){this.path=N||""}function L(N){this.assetsPath=N||""}function H(N){for(var _=0,E=this.images.length;_<E;){if(this.images[_].assetData===N)return this.images[_].img;_+=1}return null}function T(){this.imagesLoadedCb=null,this.images.length=0}function R(){return this.totalImages===this.loadedAssets}function D(){return this.totalFootages===this.loadedFootagesCount}function O(N,_){N==="svg"?(this._elementHelper=_,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function V(){this._imageLoaded=r.bind(this),this._footageLoaded=s.bind(this),this.testImageLoaded=h.bind(this),this.createFootageData=x.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return V.prototype={loadAssets:g,setAssetsPath:L,setPath:k,loadedImages:R,loadedFootages:D,destroy:T,getAsset:H,createImgData:v,createImageData:c,imageLoaded:r,footageLoaded:s,setCacheType:O},V}();function rp(){}rp.prototype={triggerEvent:function(r,s){if(this._cbs[r])for(var l=this._cbs[r],h=0;h<l.length;h+=1)l[h](s)},addEventListener:function(r,s){return this._cbs[r]||(this._cbs[r]=[]),this._cbs[r].push(s),(function(){this.removeEventListener(r,s)}).bind(this)},removeEventListener:function(r,s){if(!s)this._cbs[r]=null;else if(this._cbs[r]){for(var l=0,h=this._cbs[r].length;l<h;)this._cbs[r][l]===s&&(this._cbs[r].splice(l,1),l-=1,h-=1),l+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var Gg=function(){function e(r){for(var s=r.split(`\r
2
- `),l={},h,c=0,v=0;v<s.length;v+=1)h=s[v].split(":"),h.length===2&&(l[h[0]]=h[1].trim(),c+=1);if(c===0)throw new Error;return l}return function(r){for(var s=[],l=0;l<r.length;l+=1){var h=r[l],c={time:h.tm,duration:h.dr};try{c.payload=JSON.parse(r[l].cm)}catch{try{c.payload=e(r[l].cm)}catch{c.payload={name:r[l].cm}}}s.push(c)}return s}}(),Yg=function(){function e(r){this.compositions.push(r)}return function(){function r(s){for(var l=0,h=this.compositions.length;l<h;){if(this.compositions[l].data&&this.compositions[l].data.nm===s)return this.compositions[l].prepareFrame&&this.compositions[l].data.xt&&this.compositions[l].prepareFrame(this.currentFrame),this.compositions[l].compInterface;l+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=e,r}}(),Us={},Wg=function(r,s){Us[r]=s};function jg(e){return Us[e]}function qg(){if(Us.canvas)return"canvas";for(var e in Us)if(Us[e])return e;return""}function Hs(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Hs=function(s){return typeof s}:Hs=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Hs(e)}var ut=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=Ne(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=zg(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Yg(),this.imagePreloader=new Hg,this.audioController=it(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new Ze("drawnFrame",0,0,0),this.expressionsPlugin=pn()};M([rp],ut),ut.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var r="svg";e.animType?r=e.animType:e.renderer&&(r=e.renderer);var s=jg(r);this.renderer=new s(this,e.rendererSettings),this.imagePreloader.setCacheType(r,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=r,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Bs.loadAnimation(e.path,this.configAnimation,this.onSetupError))},ut.prototype.onSetupError=function(){this.trigger("data_failed")},ut.prototype.setupAnimation=function(e){Bs.completeAnimation(e,this.configAnimation)},ut.prototype.setData=function(e,r){r&&Hs(r)!=="object"&&(r=JSON.parse(r));var s={wrapper:e,animationData:r},l=e.attributes;s.path=l.getNamedItem("data-animation-path")?l.getNamedItem("data-animation-path").value:l.getNamedItem("data-bm-path")?l.getNamedItem("data-bm-path").value:l.getNamedItem("bm-path")?l.getNamedItem("bm-path").value:"",s.animType=l.getNamedItem("data-anim-type")?l.getNamedItem("data-anim-type").value:l.getNamedItem("data-bm-type")?l.getNamedItem("data-bm-type").value:l.getNamedItem("bm-type")?l.getNamedItem("bm-type").value:l.getNamedItem("data-bm-renderer")?l.getNamedItem("data-bm-renderer").value:l.getNamedItem("bm-renderer")?l.getNamedItem("bm-renderer").value:qg()||"canvas";var h=l.getNamedItem("data-anim-loop")?l.getNamedItem("data-anim-loop").value:l.getNamedItem("data-bm-loop")?l.getNamedItem("data-bm-loop").value:l.getNamedItem("bm-loop")?l.getNamedItem("bm-loop").value:"";h==="false"?s.loop=!1:h==="true"?s.loop=!0:h!==""&&(s.loop=parseInt(h,10));var c=l.getNamedItem("data-anim-autoplay")?l.getNamedItem("data-anim-autoplay").value:l.getNamedItem("data-bm-autoplay")?l.getNamedItem("data-bm-autoplay").value:l.getNamedItem("bm-autoplay")?l.getNamedItem("bm-autoplay").value:!0;s.autoplay=c!=="false",s.name=l.getNamedItem("data-name")?l.getNamedItem("data-name").value:l.getNamedItem("data-bm-name")?l.getNamedItem("data-bm-name").value:l.getNamedItem("bm-name")?l.getNamedItem("bm-name").value:"";var v=l.getNamedItem("data-anim-prerender")?l.getNamedItem("data-anim-prerender").value:l.getNamedItem("data-bm-prerender")?l.getNamedItem("data-bm-prerender").value:l.getNamedItem("bm-prerender")?l.getNamedItem("bm-prerender").value:"";v==="false"&&(s.prerender=!1),s.path?this.setParams(s):this.trigger("destroy")},ut.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var r=this.animationData.layers,s,l=r.length,h=e.layers,c,v=h.length;for(c=0;c<v;c+=1)for(s=0;s<l;){if(r[s].id===h[c].id){r[s]=h[c];break}s+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(l=e.assets.length,s=0;s<l;s+=1)this.animationData.assets.push(e.assets[s]);this.animationData.__complete=!1,Bs.completeAnimation(this.animationData,this.onSegmentComplete)},ut.prototype.onSegmentComplete=function(e){this.animationData=e;var r=pn();r&&r.initExpressions(this),this.loadNextSegment()},ut.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var r=e.shift();this.timeCompleted=r.time*this.frameRate;var s=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Bs.loadData(s,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},ut.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},ut.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},ut.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},ut.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=Gg(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},ut.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},ut.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=pn();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},ut.prototype.resize=function(e,r){var s=typeof e=="number"?e:void 0,l=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(s,l)},ut.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},ut.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},ut.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},ut.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},ut.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},ut.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},ut.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},ut.prototype.getMarkerData=function(e){for(var r,s=0;s<this.markers.length;s+=1)if(r=this.markers[s],r.payload&&r.payload.name===e)return r;return null},ut.prototype.goToAndStop=function(e,r,s){if(!(s&&this.name!==s)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&this.goToAndStop(h.time,!0)}else r?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},ut.prototype.goToAndPlay=function(e,r,s){if(!(s&&this.name!==s)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&(h.duration?this.playSegments([h.time,h.time+h.duration],!0):this.goToAndStop(h.time,!0))}else this.goToAndStop(l,r,s);this.play()}},ut.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var r=this.currentRawFrame+e*this.frameModifier,s=!1;r>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(r>this.totalFrames?r%this.totalFrames:0)||(s=!0,r=this.totalFrames-1):r>=this.totalFrames?(this.playCount+=1,this.checkSegments(r%this.totalFrames)||(this.setCurrentRawFrameValue(r%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(r):r<0?this.checkSegments(r%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+r%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(s=!0,r=0)):this.setCurrentRawFrameValue(r),s&&(this.setCurrentRawFrameValue(r),this.pause(),this.trigger("complete"))}},ut.prototype.adjustSegment=function(e,r){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-r)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+r)),this.trigger("segmentStart")},ut.prototype.setSegment=function(e,r){var s=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?s=e:this.currentRawFrame+this.firstFrame>r&&(s=r-e)),this.firstFrame=e,this.totalFrames=r-e,this.timeCompleted=this.totalFrames,s!==-1&&this.goToAndStop(s,!0)},ut.prototype.playSegments=function(e,r){if(r&&(this.segments.length=0),Hs(e[0])==="object"){var s,l=e.length;for(s=0;s<l;s+=1)this.segments.push(e[s])}else this.segments.push(e);this.segments.length&&r&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},ut.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},ut.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},ut.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},ut.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},ut.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},ut.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},ut.prototype.setLoop=function(e){this.loop=e},ut.prototype.setVolume=function(e,r){r&&this.name!==r||this.audioController.setVolume(e)},ut.prototype.getVolume=function(){return this.audioController.getVolume()},ut.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},ut.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},ut.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},ut.prototype.getPath=function(){return this.path},ut.prototype.getAssetsPath=function(e){var r="";if(e.e)r=e.p;else if(this.assetsPath){var s=e.p;s.indexOf("images/")!==-1&&(s=s.split("/")[1]),r=this.assetsPath+s}else r=this.path,r+=e.u?e.u:"",r+=e.p;return r},ut.prototype.getAssetData=function(e){for(var r=0,s=this.assets.length;r<s;){if(e===this.assets[r].id)return this.assets[r];r+=1}return null},ut.prototype.hide=function(){this.renderer.hide()},ut.prototype.show=function(){this.renderer.show()},ut.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},ut.prototype.updateDocumentData=function(e,r,s){try{var l=this.renderer.getElementByPath(e);l.updateDocumentData(r,s)}catch{}},ut.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new Ze(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new Kh(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new hn(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new Xh(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new Zh(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new Ze(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new Kh(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new hn(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new Xh(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Zh(e,this))},ut.prototype.triggerRenderFrameError=function(e){var r=new $g(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},ut.prototype.triggerConfigError=function(e){var r=new Fg(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var Zt=function(){var e={},r=[],s=0,l=0,h=0,c=!0,v=!1;function x(S){for(var P=0,f=S.target;P<l;)r[P].animation===f&&(r.splice(P,1),P-=1,l-=1,f.isPaused||H()),P+=1}function g(S,P){if(!S)return null;for(var f=0;f<l;){if(r[f].elem===S&&r[f].elem!==null)return r[f].animation;f+=1}var y=new ut;return T(y,S),y.setData(S,P),y}function k(){var S,P=r.length,f=[];for(S=0;S<P;S+=1)f.push(r[S].animation);return f}function L(){h+=1,yt()}function H(){h-=1}function T(S,P){S.addEventListener("destroy",x),S.addEventListener("_active",L),S.addEventListener("_idle",H),r.push({elem:P,animation:S}),l+=1}function R(S){var P=new ut;return T(P,null),P.setParams(S),P}function D(S,P){var f;for(f=0;f<l;f+=1)r[f].animation.setSpeed(S,P)}function O(S,P){var f;for(f=0;f<l;f+=1)r[f].animation.setDirection(S,P)}function V(S){var P;for(P=0;P<l;P+=1)r[P].animation.play(S)}function N(S){var P=S-s,f;for(f=0;f<l;f+=1)r[f].animation.advanceTime(P);s=S,h&&!v?window.requestAnimationFrame(N):c=!0}function _(S){s=S,window.requestAnimationFrame(N)}function E(S){var P;for(P=0;P<l;P+=1)r[P].animation.pause(S)}function A(S,P,f){var y;for(y=0;y<l;y+=1)r[y].animation.goToAndStop(S,P,f)}function w(S){var P;for(P=0;P<l;P+=1)r[P].animation.stop(S)}function $(S){var P;for(P=0;P<l;P+=1)r[P].animation.togglePause(S)}function U(S){var P;for(P=l-1;P>=0;P-=1)r[P].animation.destroy(S)}function Y(S,P,f){var y=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),G,F=y.length;for(G=0;G<F;G+=1)f&&y[G].setAttribute("data-bm-type",f),g(y[G],S);if(P&&F===0){f||(f="svg");var nt=document.getElementsByTagName("body")[0];nt.innerText="";var ft=C("div");ft.style.width="100%",ft.style.height="100%",ft.setAttribute("data-bm-type",f),nt.appendChild(ft),g(ft,S)}}function J(){var S;for(S=0;S<l;S+=1)r[S].animation.resize()}function yt(){!v&&h&&c&&(window.requestAnimationFrame(_),c=!1)}function pt(){v=!0}function ot(){v=!1,yt()}function xt(S,P){var f;for(f=0;f<l;f+=1)r[f].animation.setVolume(S,P)}function ct(S){var P;for(P=0;P<l;P+=1)r[P].animation.mute(S)}function Q(S){var P;for(P=0;P<l;P+=1)r[P].animation.unmute(S)}return e.registerAnimation=g,e.loadAnimation=R,e.setSpeed=D,e.setDirection=O,e.play=V,e.pause=E,e.stop=w,e.togglePause=$,e.searchAnimations=Y,e.resize=J,e.goToAndStop=A,e.destroy=U,e.freeze=pt,e.unfreeze=ot,e.setVolume=xt,e.mute=ct,e.unmute=Q,e.getRegisteredAnimations=k,e}(),Gs=function(){var e={};e.getBezierEasing=s;var r={};function s(_,E,A,w,$){var U=$||("bez_"+_+"_"+E+"_"+A+"_"+w).replace(/\./g,"p");if(r[U])return r[U];var Y=new N([_,E,A,w]);return r[U]=Y,Y}var l=4,h=.001,c=1e-7,v=10,x=11,g=1/(x-1),k=typeof Float32Array=="function";function L(_,E){return 1-3*E+3*_}function H(_,E){return 3*E-6*_}function T(_){return 3*_}function R(_,E,A){return((L(E,A)*_+H(E,A))*_+T(E))*_}function D(_,E,A){return 3*L(E,A)*_*_+2*H(E,A)*_+T(E)}function O(_,E,A,w,$){var U,Y,J=0;do Y=E+(A-E)/2,U=R(Y,w,$)-_,U>0?A=Y:E=Y;while(Math.abs(U)>c&&++J<v);return Y}function V(_,E,A,w){for(var $=0;$<l;++$){var U=D(E,A,w);if(U===0)return E;var Y=R(E,A,w)-_;E-=Y/U}return E}function N(_){this._p=_,this._mSampleValues=k?new Float32Array(x):new Array(x),this._precomputed=!1,this.get=this.get.bind(this)}return N.prototype={get:function(E){var A=this._p[0],w=this._p[1],$=this._p[2],U=this._p[3];return this._precomputed||this._precompute(),A===w&&$===U?E:E===0?0:E===1?1:R(this._getTForX(E),w,U)},_precompute:function(){var E=this._p[0],A=this._p[1],w=this._p[2],$=this._p[3];this._precomputed=!0,(E!==A||w!==$)&&this._calcSampleValues()},_calcSampleValues:function(){for(var E=this._p[0],A=this._p[2],w=0;w<x;++w)this._mSampleValues[w]=R(w*g,E,A)},_getTForX:function(E){for(var A=this._p[0],w=this._p[2],$=this._mSampleValues,U=0,Y=1,J=x-1;Y!==J&&$[Y]<=E;++Y)U+=g;--Y;var yt=(E-$[Y])/($[Y+1]-$[Y]),pt=U+yt*g,ot=D(pt,A,w);return ot>=h?V(E,pt,A,w):ot===0?pt:O(E,U,U+g,A,w)}},e}(),ip=function(){function e(r){return r.concat(tt(r.length))}return{double:e}}(),fn=function(){return function(e,r,s){var l=0,h=e,c=tt(h),v={newElement:x,release:g};function x(){var k;return l?(l-=1,k=c[l]):k=r(),k}function g(k){l===h&&(c=ip.double(c),h*=2),s&&s(k),c[l]=k,l+=1}return v}}(),op=function(){function e(){return{addedLength:0,percents:X("float32",zs()),lengths:X("float32",zs())}}return fn(8,e)}(),sp=function(){function e(){return{lengths:[],totalLength:0}}function r(s){var l,h=s.lengths.length;for(l=0;l<h;l+=1)op.release(s.lengths[l]);s.lengths.length=0}return fn(8,e,r)}();function Kg(){var e=Math;function r(T,R,D,O,V,N){var _=T*O+R*V+D*N-V*O-N*T-D*R;return _>-.001&&_<.001}function s(T,R,D,O,V,N,_,E,A){if(D===0&&N===0&&A===0)return r(T,R,O,V,_,E);var w=e.sqrt(e.pow(O-T,2)+e.pow(V-R,2)+e.pow(N-D,2)),$=e.sqrt(e.pow(_-T,2)+e.pow(E-R,2)+e.pow(A-D,2)),U=e.sqrt(e.pow(_-O,2)+e.pow(E-V,2)+e.pow(A-N,2)),Y;return w>$?w>U?Y=w-$-U:Y=U-$-w:U>$?Y=U-$-w:Y=$-w-U,Y>-1e-4&&Y<1e-4}var l=function(){return function(T,R,D,O){var V=zs(),N,_,E,A,w,$=0,U,Y=[],J=[],yt=op.newElement();for(E=D.length,N=0;N<V;N+=1){for(w=N/(V-1),U=0,_=0;_<E;_+=1)A=Bt(1-w,3)*T[_]+3*Bt(1-w,2)*w*D[_]+3*(1-w)*Bt(w,2)*O[_]+Bt(w,3)*R[_],Y[_]=A,J[_]!==null&&(U+=Bt(Y[_]-J[_],2)),J[_]=Y[_];U&&(U=Xt(U),$+=U),yt.percents[N]=w,yt.lengths[N]=$}return yt.addedLength=$,yt}}();function h(T){var R=sp.newElement(),D=T.c,O=T.v,V=T.o,N=T.i,_,E=T._length,A=R.lengths,w=0;for(_=0;_<E-1;_+=1)A[_]=l(O[_],O[_+1],V[_],N[_+1]),w+=A[_].addedLength;return D&&E&&(A[_]=l(O[_],O[0],V[_],N[0]),w+=A[_].addedLength),R.totalLength=w,R}function c(T){this.segmentLength=0,this.points=new Array(T)}function v(T,R){this.partialLength=T,this.point=R}var x=function(){var T={};return function(R,D,O,V){var N=(R[0]+"_"+R[1]+"_"+D[0]+"_"+D[1]+"_"+O[0]+"_"+O[1]+"_"+V[0]+"_"+V[1]).replace(/\./g,"p");if(!T[N]){var _=zs(),E,A,w,$,U,Y=0,J,yt,pt=null;R.length===2&&(R[0]!==D[0]||R[1]!==D[1])&&r(R[0],R[1],D[0],D[1],R[0]+O[0],R[1]+O[1])&&r(R[0],R[1],D[0],D[1],D[0]+V[0],D[1]+V[1])&&(_=2);var ot=new c(_);for(w=O.length,E=0;E<_;E+=1){for(yt=tt(w),U=E/(_-1),J=0,A=0;A<w;A+=1)$=Bt(1-U,3)*R[A]+3*Bt(1-U,2)*U*(R[A]+O[A])+3*(1-U)*Bt(U,2)*(D[A]+V[A])+Bt(U,3)*D[A],yt[A]=$,pt!==null&&(J+=Bt(yt[A]-pt[A],2));J=Xt(J),Y+=J,ot.points[E]=new v(J,yt),pt=yt}ot.segmentLength=Y,T[N]=ot}return T[N]}}();function g(T,R){var D=R.percents,O=R.lengths,V=D.length,N=ne((V-1)*T),_=T*R.addedLength,E=0;if(N===V-1||N===0||_===O[N])return D[N];for(var A=O[N]>_?-1:1,w=!0;w;)if(O[N]<=_&&O[N+1]>_?(E=(_-O[N])/(O[N+1]-O[N]),w=!1):N+=A,N<0||N>=V-1){if(N===V-1)return D[N];w=!1}return D[N]+(D[N+1]-D[N])*E}function k(T,R,D,O,V,N){var _=g(V,N),E=1-_,A=e.round((E*E*E*T[0]+(_*E*E+E*_*E+E*E*_)*D[0]+(_*_*E+E*_*_+_*E*_)*O[0]+_*_*_*R[0])*1e3)/1e3,w=e.round((E*E*E*T[1]+(_*E*E+E*_*E+E*E*_)*D[1]+(_*_*E+E*_*_+_*E*_)*O[1]+_*_*_*R[1])*1e3)/1e3;return[A,w]}var L=X("float32",8);function H(T,R,D,O,V,N,_){V<0?V=0:V>1&&(V=1);var E=g(V,_);N=N>1?1:N;var A=g(N,_),w,$=T.length,U=1-E,Y=1-A,J=U*U*U,yt=E*U*U*3,pt=E*E*U*3,ot=E*E*E,xt=U*U*Y,ct=E*U*Y+U*E*Y+U*U*A,Q=E*E*Y+U*E*A+E*U*A,S=E*E*A,P=U*Y*Y,f=E*Y*Y+U*A*Y+U*Y*A,y=E*A*Y+U*A*A+E*Y*A,G=E*A*A,F=Y*Y*Y,nt=A*Y*Y+Y*A*Y+Y*Y*A,ft=A*A*Y+Y*A*A+A*Y*A,Et=A*A*A;for(w=0;w<$;w+=1)L[w*4]=e.round((J*T[w]+yt*D[w]+pt*O[w]+ot*R[w])*1e3)/1e3,L[w*4+1]=e.round((xt*T[w]+ct*D[w]+Q*O[w]+S*R[w])*1e3)/1e3,L[w*4+2]=e.round((P*T[w]+f*D[w]+y*O[w]+G*R[w])*1e3)/1e3,L[w*4+3]=e.round((F*T[w]+nt*D[w]+ft*O[w]+Et*R[w])*1e3)/1e3;return L}return{getSegmentsLength:h,getNewSegment:H,getPointInSegment:k,buildBezierData:x,pointOnLine2D:r,pointOnLine3D:s}}var Cr=Kg(),Ki=i,ap=Math.abs;function np(e,r){var s=this.offsetTime,l;this.propType==="multidimensional"&&(l=X("float32",this.pv.length));for(var h=r.lastIndex,c=h,v=this.keyframes.length-1,x=!0,g,k,L;x;){if(g=this.keyframes[c],k=this.keyframes[c+1],c===v-1&&e>=k.t-s){g.h&&(g=k),h=0;break}if(k.t-s>e){h=c;break}c<v-1?c+=1:(h=0,x=!1)}L=this.keyframesMetadata[c]||{};var H,T,R,D,O,V,N=k.t-s,_=g.t-s,E;if(g.to){L.bezierData||(L.bezierData=Cr.buildBezierData(g.s,k.s||g.e,g.to,g.ti));var A=L.bezierData;if(e>=N||e<_){var w=e>=N?A.points.length-1:0;for(T=A.points[w].point.length,H=0;H<T;H+=1)l[H]=A.points[w].point[H]}else{L.__fnct?V=L.__fnct:(V=Gs.getBezierEasing(g.o.x,g.o.y,g.i.x,g.i.y,g.n).get,L.__fnct=V),R=V((e-_)/(N-_));var $=A.segmentLength*R,U,Y=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastAddedLength:0;for(O=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastPoint:0,x=!0,D=A.points.length;x;){if(Y+=A.points[O].partialLength,$===0||R===0||O===A.points.length-1){for(T=A.points[O].point.length,H=0;H<T;H+=1)l[H]=A.points[O].point[H];break}else if($>=Y&&$<Y+A.points[O+1].partialLength){for(U=($-Y)/A.points[O+1].partialLength,T=A.points[O].point.length,H=0;H<T;H+=1)l[H]=A.points[O].point[H]+(A.points[O+1].point[H]-A.points[O].point[H])*U;break}O<D-1?O+=1:x=!1}r._lastPoint=O,r._lastAddedLength=Y-A.points[O].partialLength,r._lastKeyframeIndex=c}}else{var J,yt,pt,ot,xt;if(v=g.s.length,E=k.s||g.e,this.sh&&g.h!==1)if(e>=N)l[0]=E[0],l[1]=E[1],l[2]=E[2];else if(e<=_)l[0]=g.s[0],l[1]=g.s[1],l[2]=g.s[2];else{var ct=lp(g.s),Q=lp(E),S=(e-_)/(N-_);Zg(l,Xg(ct,Q,S))}else for(c=0;c<v;c+=1)g.h!==1&&(e>=N?R=1:e<_?R=0:(g.o.x.constructor===Array?(L.__fnct||(L.__fnct=[]),L.__fnct[c]?V=L.__fnct[c]:(J=g.o.x[c]===void 0?g.o.x[0]:g.o.x[c],yt=g.o.y[c]===void 0?g.o.y[0]:g.o.y[c],pt=g.i.x[c]===void 0?g.i.x[0]:g.i.x[c],ot=g.i.y[c]===void 0?g.i.y[0]:g.i.y[c],V=Gs.getBezierEasing(J,yt,pt,ot).get,L.__fnct[c]=V)):L.__fnct?V=L.__fnct:(J=g.o.x,yt=g.o.y,pt=g.i.x,ot=g.i.y,V=Gs.getBezierEasing(J,yt,pt,ot).get,g.keyframeMetadata=V),R=V((e-_)/(N-_)))),E=k.s||g.e,xt=g.h===1?g.s[c]:g.s[c]+(E[c]-g.s[c])*R,this.propType==="multidimensional"?l[c]=xt:l=xt}return r.lastIndex=h,l}function Xg(e,r,s){var l=[],h=e[0],c=e[1],v=e[2],x=e[3],g=r[0],k=r[1],L=r[2],H=r[3],T,R,D,O,V;return R=h*g+c*k+v*L+x*H,R<0&&(R=-R,g=-g,k=-k,L=-L,H=-H),1-R>1e-6?(T=Math.acos(R),D=Math.sin(T),O=Math.sin((1-s)*T)/D,V=Math.sin(s*T)/D):(O=1-s,V=s),l[0]=O*h+V*g,l[1]=O*c+V*k,l[2]=O*v+V*L,l[3]=O*x+V*H,l}function Zg(e,r){var s=r[0],l=r[1],h=r[2],c=r[3],v=Math.atan2(2*l*c-2*s*h,1-2*l*l-2*h*h),x=Math.asin(2*s*l+2*h*c),g=Math.atan2(2*s*c-2*l*h,1-2*s*s-2*h*h);e[0]=v/Ct,e[1]=x/Ct,e[2]=g/Ct}function lp(e){var r=e[0]*Ct,s=e[1]*Ct,l=e[2]*Ct,h=Math.cos(r/2),c=Math.cos(s/2),v=Math.cos(l/2),x=Math.sin(r/2),g=Math.sin(s/2),k=Math.sin(l/2),L=h*c*v-x*g*k,H=x*g*v+h*c*k,T=x*c*v+h*g*k,R=h*g*v-x*c*k;return[H,T,R,L]}function dp(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,s=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==Ki&&(this._caching.lastFrame>=s&&e>=s||this._caching.lastFrame<r&&e<r))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var l=this.interpolateValue(e,this._caching);this.pv=l}return this._caching.lastFrame=e,this.pv}function vn(e){var r;if(this.propType==="unidimensional")r=e*this.mult,ap(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var s=0,l=this.v.length;s<l;)r=e[s]*this.mult,ap(this.v[s]-r)>1e-5&&(this.v[s]=r,this._mdf=!0),s+=1}function gn(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,r=this.effectsSequence.length,s=this.kf?this.pv:this.data.k;for(e=0;e<r;e+=1)s=this.effectsSequence[e](s);this.setVValue(s),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function bn(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function Qg(e,r,s,l){this.propType="unidimensional",this.mult=s||1,this.data=r,this.v=s?r.k*s:r.k,this.pv=r.k,this._mdf=!1,this.elem=e,this.container=l,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=gn,this.setVValue=vn,this.addEffect=bn}function Jg(e,r,s,l){this.propType="multidimensional",this.mult=s||1,this.data=r,this._mdf=!1,this.elem=e,this.container=l,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var h,c=r.k.length;for(this.v=X("float32",c),this.pv=X("float32",c),this.vel=X("float32",c),h=0;h<c;h+=1)this.v[h]=r.k[h]*this.mult,this.pv[h]=r.k[h];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=gn,this.setVValue=vn,this.addEffect=bn}function tb(e,r,s,l){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:Ki,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=s||1,this.elem=e,this.container=l,this.comp=e.comp,this.v=Ki,this.pv=Ki,this._isFirstFrame=!0,this.getValue=gn,this.setVValue=vn,this.interpolateValue=np,this.effectsSequence=[dp.bind(this)],this.addEffect=bn}function eb(e,r,s,l){this.propType="multidimensional";var h,c=r.k.length,v,x,g,k;for(h=0;h<c-1;h+=1)r.k[h].to&&r.k[h].s&&r.k[h+1]&&r.k[h+1].s&&(v=r.k[h].s,x=r.k[h+1].s,g=r.k[h].to,k=r.k[h].ti,(v.length===2&&!(v[0]===x[0]&&v[1]===x[1])&&Cr.pointOnLine2D(v[0],v[1],x[0],x[1],v[0]+g[0],v[1]+g[1])&&Cr.pointOnLine2D(v[0],v[1],x[0],x[1],x[0]+k[0],x[1]+k[1])||v.length===3&&!(v[0]===x[0]&&v[1]===x[1]&&v[2]===x[2])&&Cr.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],v[0]+g[0],v[1]+g[1],v[2]+g[2])&&Cr.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],x[0]+k[0],x[1]+k[1],x[2]+k[2]))&&(r.k[h].to=null,r.k[h].ti=null),v[0]===x[0]&&v[1]===x[1]&&g[0]===0&&g[1]===0&&k[0]===0&&k[1]===0&&(v.length===2||v[2]===x[2]&&g[2]===0&&k[2]===0)&&(r.k[h].to=null,r.k[h].ti=null));this.effectsSequence=[dp.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=s||1,this.elem=e,this.container=l,this.comp=e.comp,this.getValue=gn,this.setVValue=vn,this.interpolateValue=np,this.frameId=-1;var L=r.k[0].s.length;for(this.v=X("float32",L),this.pv=X("float32",L),h=0;h<L;h+=1)this.v[h]=Ki,this.pv[h]=Ki;this._caching={lastFrame:Ki,lastIndex:0,value:X("float32",L)},this.addEffect=bn}var at=function(){function e(s,l,h,c,v){l.sid&&(l=s.globalData.slotManager.getProp(l));var x;if(!l.k.length)x=new Qg(s,l,c,v);else if(typeof l.k[0]=="number")x=new Jg(s,l,c,v);else switch(h){case 0:x=new tb(s,l,c,v);break;case 1:x=new eb(s,l,c,v);break;default:break}return x.effectsSequence.length&&v.addDynamicProperty(x),x}var r={getProp:e};return r}();function le(){}le.prototype={addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&(this.dynamicProperties.push(r),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var r,s=this.dynamicProperties.length;for(r=0;r<s;r+=1)this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(r){this.container=r,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Xi=function(){function e(){return X("float32",2)}return fn(8,e)}();function Hr(){this.c=!1,this._length=0,this._maxLength=8,this.v=tt(this._maxLength),this.o=tt(this._maxLength),this.i=tt(this._maxLength)}Hr.prototype.setPathData=function(e,r){this.c=e,this.setLength(r);for(var s=0;s<r;)this.v[s]=Xi.newElement(),this.o[s]=Xi.newElement(),this.i[s]=Xi.newElement(),s+=1},Hr.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},Hr.prototype.doubleArrayLength=function(){this.v=this.v.concat(tt(this._maxLength)),this.i=this.i.concat(tt(this._maxLength)),this.o=this.o.concat(tt(this._maxLength)),this._maxLength*=2},Hr.prototype.setXYAt=function(e,r,s,l,h){var c;switch(this._length=Math.max(this._length,l+1),this._length>=this._maxLength&&this.doubleArrayLength(),s){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[l]||c[l]&&!h)&&(c[l]=Xi.newElement()),c[l][0]=e,c[l][1]=r},Hr.prototype.setTripleAt=function(e,r,s,l,h,c,v,x){this.setXYAt(e,r,"v",v,x),this.setXYAt(s,l,"o",v,x),this.setXYAt(h,c,"i",v,x)},Hr.prototype.reverse=function(){var e=new Hr;e.setPathData(this.c,this._length);var r=this.v,s=this.o,l=this.i,h=0;this.c&&(e.setTripleAt(r[0][0],r[0][1],l[0][0],l[0][1],s[0][0],s[0][1],0,!1),h=1);var c=this._length-1,v=this._length,x;for(x=h;x<v;x+=1)e.setTripleAt(r[c][0],r[c][1],l[c][0],l[c][1],s[c][0],s[c][1],x,!1),c-=1;return e},Hr.prototype.length=function(){return this._length};var me=function(){function e(){return new Hr}function r(h){var c=h._length,v;for(v=0;v<c;v+=1)Xi.release(h.v[v]),Xi.release(h.i[v]),Xi.release(h.o[v]),h.v[v]=null,h.i[v]=null,h.o[v]=null;h._length=0,h.c=!1}function s(h){var c=l.newElement(),v,x=h._length===void 0?h.v.length:h._length;for(c.setLength(x),c.c=h.c,v=0;v<x;v+=1)c.setTripleAt(h.v[v][0],h.v[v][1],h.o[v][0],h.o[v][1],h.i[v][0],h.i[v][1],v);return c}var l=fn(4,e,r);return l.clone=s,l}();function yd(){this._length=0,this._maxLength=4,this.shapes=tt(this._maxLength)}yd.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(tt(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},yd.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)me.release(this.shapes[e]);this._length=0};var Vo=function(){var e={newShapeCollection:h,release:c},r=0,s=4,l=tt(s);function h(){var v;return r?(r-=1,v=l[r]):v=new yd,v}function c(v){var x,g=v._length;for(x=0;x<g;x+=1)me.release(v.shapes[x]);v._length=0,r===s&&(l=ip.double(l),s*=2),l[r]=v,r+=1}return e}(),yn=function(){var e=-999999;function r(N,_,E){var A=E.lastIndex,w,$,U,Y,J,yt,pt,ot,xt,ct=this.keyframes;if(N<ct[0].t-this.offsetTime)w=ct[0].s[0],U=!0,A=0;else if(N>=ct[ct.length-1].t-this.offsetTime)w=ct[ct.length-1].s?ct[ct.length-1].s[0]:ct[ct.length-2].e[0],U=!0;else{for(var Q=A,S=ct.length-1,P=!0,f,y,G;P&&(f=ct[Q],y=ct[Q+1],!(y.t-this.offsetTime>N));)Q<S-1?Q+=1:P=!1;if(G=this.keyframesMetadata[Q]||{},U=f.h===1,A=Q,!U){if(N>=y.t-this.offsetTime)ot=1;else if(N<f.t-this.offsetTime)ot=0;else{var F;G.__fnct?F=G.__fnct:(F=Gs.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,G.__fnct=F),ot=F((N-(f.t-this.offsetTime))/(y.t-this.offsetTime-(f.t-this.offsetTime)))}$=y.s?y.s[0]:f.e[0]}w=f.s[0]}for(yt=_._length,pt=w.i[0].length,E.lastIndex=A,Y=0;Y<yt;Y+=1)for(J=0;J<pt;J+=1)xt=U?w.i[Y][J]:w.i[Y][J]+($.i[Y][J]-w.i[Y][J])*ot,_.i[Y][J]=xt,xt=U?w.o[Y][J]:w.o[Y][J]+($.o[Y][J]-w.o[Y][J])*ot,_.o[Y][J]=xt,xt=U?w.v[Y][J]:w.v[Y][J]+($.v[Y][J]-w.v[Y][J])*ot,_.v[Y][J]=xt}function s(){var N=this.comp.renderedFrame-this.offsetTime,_=this.keyframes[0].t-this.offsetTime,E=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==e&&(A<_&&N<_||A>E&&N>E)||(this._caching.lastIndex=A<N?this._caching.lastIndex:0,this.interpolateShape(N,this.pv,this._caching)),this._caching.lastFrame=N,this.pv}function l(){this.paths=this.localShapeCollection}function h(N,_){if(N._length!==_._length||N.c!==_.c)return!1;var E,A=N._length;for(E=0;E<A;E+=1)if(N.v[E][0]!==_.v[E][0]||N.v[E][1]!==_.v[E][1]||N.o[E][0]!==_.o[E][0]||N.o[E][1]!==_.o[E][1]||N.i[E][0]!==_.i[E][0]||N.i[E][1]!==_.i[E][1])return!1;return!0}function c(N){h(this.v,N)||(this.v=me.clone(N),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function v(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var N;this.kf?N=this.pv:this.data.ks?N=this.data.ks.k:N=this.data.pt.k;var _,E=this.effectsSequence.length;for(_=0;_<E;_+=1)N=this.effectsSequence[_](N);this.setVValue(N),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function x(N,_,E){this.propType="shape",this.comp=N.comp,this.container=N,this.elem=N,this.data=_,this.k=!1,this.kf=!1,this._mdf=!1;var A=E===3?_.pt.k:_.ks.k;this.v=me.clone(A),this.pv=me.clone(this.v),this.localShapeCollection=Vo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=l,this.effectsSequence=[]}function g(N){this.effectsSequence.push(N),this.container.addDynamicProperty(this)}x.prototype.interpolateShape=r,x.prototype.getValue=v,x.prototype.setVValue=c,x.prototype.addEffect=g;function k(N,_,E){this.propType="shape",this.comp=N.comp,this.elem=N,this.container=N,this.offsetTime=N.data.st,this.keyframes=E===3?_.pt.k:_.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=me.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=me.clone(this.v),this.localShapeCollection=Vo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=l,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[s.bind(this)]}k.prototype.getValue=v,k.prototype.interpolateShape=r,k.prototype.setVValue=c,k.prototype.addEffect=g;var L=function(){var N=pe;function _(E,A){this.v=me.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Vo.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=E,this.comp=E.comp,this.frameId=-1,this.initDynamicPropertyContainer(E),this.p=at.getProp(E,A.p,1,0,this),this.s=at.getProp(E,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return _.prototype={reset:l,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var A=this.p.v[0],w=this.p.v[1],$=this.s.v[0]/2,U=this.s.v[1]/2,Y=this.d!==3,J=this.v;J.v[0][0]=A,J.v[0][1]=w-U,J.v[1][0]=Y?A+$:A-$,J.v[1][1]=w,J.v[2][0]=A,J.v[2][1]=w+U,J.v[3][0]=Y?A-$:A+$,J.v[3][1]=w,J.i[0][0]=Y?A-$*N:A+$*N,J.i[0][1]=w-U,J.i[1][0]=Y?A+$:A-$,J.i[1][1]=w-U*N,J.i[2][0]=Y?A+$*N:A-$*N,J.i[2][1]=w+U,J.i[3][0]=Y?A-$:A+$,J.i[3][1]=w+U*N,J.o[0][0]=Y?A+$*N:A-$*N,J.o[0][1]=w-U,J.o[1][0]=Y?A+$:A-$,J.o[1][1]=w+U*N,J.o[2][0]=Y?A-$*N:A+$*N,J.o[2][1]=w+U,J.o[3][0]=Y?A-$:A+$,J.o[3][1]=w-U*N}},M([le],_),_}(),H=function(){function N(_,E){this.v=me.newElement(),this.v.setPathData(!0,0),this.elem=_,this.comp=_.comp,this.data=E,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(_),E.sy===1?(this.ir=at.getProp(_,E.ir,0,0,this),this.is=at.getProp(_,E.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=at.getProp(_,E.pt,0,0,this),this.p=at.getProp(_,E.p,1,0,this),this.r=at.getProp(_,E.r,0,Ct,this),this.or=at.getProp(_,E.or,0,0,this),this.os=at.getProp(_,E.os,0,.01,this),this.localShapeCollection=Vo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return N.prototype={reset:l,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var E=Math.floor(this.pt.v)*2,A=Math.PI*2/E,w=!0,$=this.or.v,U=this.ir.v,Y=this.os.v,J=this.is.v,yt=2*Math.PI*$/(E*2),pt=2*Math.PI*U/(E*2),ot,xt,ct,Q,S=-Math.PI/2;S+=this.r.v;var P=this.data.d===3?-1:1;for(this.v._length=0,ot=0;ot<E;ot+=1){xt=w?$:U,ct=w?Y:J,Q=w?yt:pt;var f=xt*Math.cos(S),y=xt*Math.sin(S),G=f===0&&y===0?0:y/Math.sqrt(f*f+y*y),F=f===0&&y===0?0:-f/Math.sqrt(f*f+y*y);f+=+this.p.v[0],y+=+this.p.v[1],this.v.setTripleAt(f,y,f-G*Q*ct*P,y-F*Q*ct*P,f+G*Q*ct*P,y+F*Q*ct*P,ot,!0),w=!w,S+=A*P}},convertPolygonToPath:function(){var E=Math.floor(this.pt.v),A=Math.PI*2/E,w=this.or.v,$=this.os.v,U=2*Math.PI*w/(E*4),Y,J=-Math.PI*.5,yt=this.data.d===3?-1:1;for(J+=this.r.v,this.v._length=0,Y=0;Y<E;Y+=1){var pt=w*Math.cos(J),ot=w*Math.sin(J),xt=pt===0&&ot===0?0:ot/Math.sqrt(pt*pt+ot*ot),ct=pt===0&&ot===0?0:-pt/Math.sqrt(pt*pt+ot*ot);pt+=+this.p.v[0],ot+=+this.p.v[1],this.v.setTripleAt(pt,ot,pt-xt*U*$*yt,ot-ct*U*$*yt,pt+xt*U*$*yt,ot+ct*U*$*yt,Y,!0),J+=A*yt}this.paths.length=0,this.paths[0]=this.v}},M([le],N),N}(),T=function(){function N(_,E){this.v=me.newElement(),this.v.c=!0,this.localShapeCollection=Vo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=_,this.comp=_.comp,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(_),this.p=at.getProp(_,E.p,1,0,this),this.s=at.getProp(_,E.s,1,0,this),this.r=at.getProp(_,E.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return N.prototype={convertRectToPath:function(){var E=this.p.v[0],A=this.p.v[1],w=this.s.v[0]/2,$=this.s.v[1]/2,U=we(w,$,this.r.v),Y=U*(1-pe);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(E+w,A-$+U,E+w,A-$+U,E+w,A-$+Y,0,!0),this.v.setTripleAt(E+w,A+$-U,E+w,A+$-Y,E+w,A+$-U,1,!0),U!==0?(this.v.setTripleAt(E+w-U,A+$,E+w-U,A+$,E+w-Y,A+$,2,!0),this.v.setTripleAt(E-w+U,A+$,E-w+Y,A+$,E-w+U,A+$,3,!0),this.v.setTripleAt(E-w,A+$-U,E-w,A+$-U,E-w,A+$-Y,4,!0),this.v.setTripleAt(E-w,A-$+U,E-w,A-$+Y,E-w,A-$+U,5,!0),this.v.setTripleAt(E-w+U,A-$,E-w+U,A-$,E-w+Y,A-$,6,!0),this.v.setTripleAt(E+w-U,A-$,E+w-Y,A-$,E+w-U,A-$,7,!0)):(this.v.setTripleAt(E-w,A+$,E-w+Y,A+$,E-w,A+$,2),this.v.setTripleAt(E-w,A-$,E-w,A-$+Y,E-w,A-$,3))):(this.v.setTripleAt(E+w,A-$+U,E+w,A-$+Y,E+w,A-$+U,0,!0),U!==0?(this.v.setTripleAt(E+w-U,A-$,E+w-U,A-$,E+w-Y,A-$,1,!0),this.v.setTripleAt(E-w+U,A-$,E-w+Y,A-$,E-w+U,A-$,2,!0),this.v.setTripleAt(E-w,A-$+U,E-w,A-$+U,E-w,A-$+Y,3,!0),this.v.setTripleAt(E-w,A+$-U,E-w,A+$-Y,E-w,A+$-U,4,!0),this.v.setTripleAt(E-w+U,A+$,E-w+U,A+$,E-w+Y,A+$,5,!0),this.v.setTripleAt(E+w-U,A+$,E+w-Y,A+$,E+w-U,A+$,6,!0),this.v.setTripleAt(E+w,A+$-U,E+w,A+$-U,E+w,A+$-Y,7,!0)):(this.v.setTripleAt(E-w,A-$,E-w+Y,A-$,E-w,A-$,1,!0),this.v.setTripleAt(E-w,A+$,E-w,A+$-Y,E-w,A+$,2,!0),this.v.setTripleAt(E+w,A+$,E+w-Y,A+$,E+w,A+$,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:l},M([le],N),N}();function R(N,_,E){var A;if(E===3||E===4){var w=E===3?_.pt:_.ks,$=w.k;$.length?A=new k(N,_,E):A=new x(N,_,E)}else E===5?A=new T(N,_):E===6?A=new L(N,_):E===7&&(A=new H(N,_));return A.k&&N.addDynamicProperty(A),A}function D(){return x}function O(){return k}var V={};return V.getShapeProp=R,V.getConstructorFunction=D,V.getKeyframedConstructorFunction=O,V}();var ue=function(){var e=Math.cos,r=Math.sin,s=Math.tan,l=Math.round;function h(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function c(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(y,-G,0,0,G,y,0,0,0,0,1,0,0,0,0,1)}function v(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(1,0,0,0,0,y,-G,0,0,G,y,0,0,0,0,1)}function x(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(y,0,G,0,0,1,0,0,-G,0,y,0,0,0,0,1)}function g(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(y,-G,0,0,G,y,0,0,0,0,1,0,0,0,0,1)}function k(f,y){return this._t(1,y,f,1,0,0)}function L(f,y){return this.shear(s(f),s(y))}function H(f,y){var G=e(y),F=r(y);return this._t(G,F,0,0,-F,G,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,s(f),1,0,0,0,0,1,0,0,0,0,1)._t(G,-F,0,0,F,G,0,0,0,0,1,0,0,0,0,1)}function T(f,y,G){return!G&&G!==0&&(G=1),f===1&&y===1&&G===1?this:this._t(f,0,0,0,0,y,0,0,0,0,G,0,0,0,0,1)}function R(f,y,G,F,nt,ft,Et,Nt,Lt,Qt,Re,wr,Me,de,ze,Pt){return this.props[0]=f,this.props[1]=y,this.props[2]=G,this.props[3]=F,this.props[4]=nt,this.props[5]=ft,this.props[6]=Et,this.props[7]=Nt,this.props[8]=Lt,this.props[9]=Qt,this.props[10]=Re,this.props[11]=wr,this.props[12]=Me,this.props[13]=de,this.props[14]=ze,this.props[15]=Pt,this}function D(f,y,G){return G=G||0,f!==0||y!==0||G!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,f,y,G,1):this}function O(f,y,G,F,nt,ft,Et,Nt,Lt,Qt,Re,wr,Me,de,ze,Pt){var ht=this.props;if(f===1&&y===0&&G===0&&F===0&&nt===0&&ft===1&&Et===0&&Nt===0&&Lt===0&&Qt===0&&Re===1&&wr===0)return ht[12]=ht[12]*f+ht[15]*Me,ht[13]=ht[13]*ft+ht[15]*de,ht[14]=ht[14]*Re+ht[15]*ze,ht[15]*=Pt,this._identityCalculated=!1,this;var Wr=ht[0],Si=ht[1],jr=ht[2],Nr=ht[3],qr=ht[4],Kr=ht[5],Oe=ht[6],_i=ht[7],Ii=ht[8],gr=ht[9],Ci=ht[10],br=ht[11],to=ht[12],kn=ht[13],wn=ht[14],Nn=ht[15];return ht[0]=Wr*f+Si*nt+jr*Lt+Nr*Me,ht[1]=Wr*y+Si*ft+jr*Qt+Nr*de,ht[2]=Wr*G+Si*Et+jr*Re+Nr*ze,ht[3]=Wr*F+Si*Nt+jr*wr+Nr*Pt,ht[4]=qr*f+Kr*nt+Oe*Lt+_i*Me,ht[5]=qr*y+Kr*ft+Oe*Qt+_i*de,ht[6]=qr*G+Kr*Et+Oe*Re+_i*ze,ht[7]=qr*F+Kr*Nt+Oe*wr+_i*Pt,ht[8]=Ii*f+gr*nt+Ci*Lt+br*Me,ht[9]=Ii*y+gr*ft+Ci*Qt+br*de,ht[10]=Ii*G+gr*Et+Ci*Re+br*ze,ht[11]=Ii*F+gr*Nt+Ci*wr+br*Pt,ht[12]=to*f+kn*nt+wn*Lt+Nn*Me,ht[13]=to*y+kn*ft+wn*Qt+Nn*de,ht[14]=to*G+kn*Et+wn*Re+Nn*ze,ht[15]=to*F+kn*Nt+wn*wr+Nn*Pt,this._identityCalculated=!1,this}function V(f){var y=f.props;return this.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15])}function N(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function _(f){for(var y=0;y<16;){if(f.props[y]!==this.props[y])return!1;y+=1}return!0}function E(f){var y;for(y=0;y<16;y+=1)f.props[y]=this.props[y];return f}function A(f){var y;for(y=0;y<16;y+=1)this.props[y]=f[y]}function w(f,y,G){return{x:f*this.props[0]+y*this.props[4]+G*this.props[8]+this.props[12],y:f*this.props[1]+y*this.props[5]+G*this.props[9]+this.props[13],z:f*this.props[2]+y*this.props[6]+G*this.props[10]+this.props[14]}}function $(f,y,G){return f*this.props[0]+y*this.props[4]+G*this.props[8]+this.props[12]}function U(f,y,G){return f*this.props[1]+y*this.props[5]+G*this.props[9]+this.props[13]}function Y(f,y,G){return f*this.props[2]+y*this.props[6]+G*this.props[10]+this.props[14]}function J(){var f=this.props[0]*this.props[5]-this.props[1]*this.props[4],y=this.props[5]/f,G=-this.props[1]/f,F=-this.props[4]/f,nt=this.props[0]/f,ft=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/f,Et=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/f,Nt=new ue;return Nt.props[0]=y,Nt.props[1]=G,Nt.props[4]=F,Nt.props[5]=nt,Nt.props[12]=ft,Nt.props[13]=Et,Nt}function yt(f){var y=this.getInverseMatrix();return y.applyToPointArray(f[0],f[1],f[2]||0)}function pt(f){var y,G=f.length,F=[];for(y=0;y<G;y+=1)F[y]=yt(f[y]);return F}function ot(f,y,G){var F=X("float32",6);if(this.isIdentity())F[0]=f[0],F[1]=f[1],F[2]=y[0],F[3]=y[1],F[4]=G[0],F[5]=G[1];else{var nt=this.props[0],ft=this.props[1],Et=this.props[4],Nt=this.props[5],Lt=this.props[12],Qt=this.props[13];F[0]=f[0]*nt+f[1]*Et+Lt,F[1]=f[0]*ft+f[1]*Nt+Qt,F[2]=y[0]*nt+y[1]*Et+Lt,F[3]=y[0]*ft+y[1]*Nt+Qt,F[4]=G[0]*nt+G[1]*Et+Lt,F[5]=G[0]*ft+G[1]*Nt+Qt}return F}function xt(f,y,G){var F;return this.isIdentity()?F=[f,y,G]:F=[f*this.props[0]+y*this.props[4]+G*this.props[8]+this.props[12],f*this.props[1]+y*this.props[5]+G*this.props[9]+this.props[13],f*this.props[2]+y*this.props[6]+G*this.props[10]+this.props[14]],F}function ct(f,y){if(this.isIdentity())return f+","+y;var G=this.props;return Math.round((f*G[0]+y*G[4]+G[12])*100)/100+","+Math.round((f*G[1]+y*G[5]+G[13])*100)/100}function Q(){for(var f=0,y=this.props,G="matrix3d(",F=1e4;f<16;)G+=l(y[f]*F)/F,G+=f===15?")":",",f+=1;return G}function S(f){var y=1e4;return f<1e-6&&f>0||f>-1e-6&&f<0?l(f*y)/y:f}function P(){var f=this.props,y=S(f[0]),G=S(f[1]),F=S(f[4]),nt=S(f[5]),ft=S(f[12]),Et=S(f[13]);return"matrix("+y+","+G+","+F+","+nt+","+ft+","+Et+")"}return function(){this.reset=h,this.rotate=c,this.rotateX=v,this.rotateY=x,this.rotateZ=g,this.skew=L,this.skewFromAxis=H,this.shear=k,this.scale=T,this.setTransform=R,this.translate=D,this.transform=O,this.multiply=V,this.applyToPoint=w,this.applyToX=$,this.applyToY=U,this.applyToZ=Y,this.applyToPointArray=xt,this.applyToTriplePoints=ot,this.applyToPointStringified=ct,this.toCSS=Q,this.to2dCSS=P,this.clone=E,this.cloneFromProps=A,this.equals=_,this.inversePoints=pt,this.inversePoint=yt,this.getInverseMatrix=J,this._t=this.transform,this.isIdentity=N,this._identity=!0,this._identityCalculated=!1,this.props=X("float32",16),this.reset()}}();function En(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?En=function(s){return typeof s}:En=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},En(e)}var Ot={},Tn="__[STANDALONE]__",cp="__[ANIMATIONDATA]__",hp="";function rb(e){m(e)}function pp(){Tn===!0?Zt.searchAnimations(cp,Tn,hp):Zt.searchAnimations()}function ib(e){Vg(e)}function ob(e){Ug(e)}function sb(e){return Tn===!0&&(e.animationData=JSON.parse(cp)),Zt.loadAnimation(e)}function ab(e){if(typeof e=="string")switch(e){case"high":mn(200);break;default:case"medium":mn(50);break;case"low":mn(10);break}else!isNaN(e)&&e>1&&mn(e);zs()>=50?qe(!1):qe(!0)}function nb(){return typeof navigator<"u"}function lb(e,r){e==="expressions"&&Bg(r)}function db(e){switch(e){case"propertyFactory":return at;case"shapePropertyFactory":return yn;case"matrix":return ue;default:return null}}Ot.play=Zt.play,Ot.pause=Zt.pause,Ot.setLocationHref=rb,Ot.togglePause=Zt.togglePause,Ot.setSpeed=Zt.setSpeed,Ot.setDirection=Zt.setDirection,Ot.stop=Zt.stop,Ot.searchAnimations=pp,Ot.registerAnimation=Zt.registerAnimation,Ot.loadAnimation=sb,Ot.setSubframeRendering=ib,Ot.resize=Zt.resize,Ot.goToAndStop=Zt.goToAndStop,Ot.destroy=Zt.destroy,Ot.setQuality=ab,Ot.inBrowser=nb,Ot.installPlugin=lb,Ot.freeze=Zt.freeze,Ot.unfreeze=Zt.unfreeze,Ot.setVolume=Zt.setVolume,Ot.mute=Zt.mute,Ot.unmute=Zt.unmute,Ot.getRegisteredAnimations=Zt.getRegisteredAnimations,Ot.useWebWorker=a,Ot.setIDPrefix=ob,Ot.__getFactory=db,Ot.version="5.12.2";function cb(){document.readyState==="complete"&&(clearInterval(mb),pp())}function hb(e){for(var r=mp.split("&"),s=0;s<r.length;s+=1){var l=r[s].split("=");if(decodeURIComponent(l[0])==e)return decodeURIComponent(l[1])}return null}var mp="";if(Tn){var up=document.getElementsByTagName("script"),pb=up.length-1,fp=up[pb]||{src:""};mp=fp.src?fp.src.replace(/^[^\?]+\??/,""):"",hp=hb("renderer")}var mb=setInterval(cb,100);try{!((typeof Ea>"u"?"undefined":En(Ea))==="object"&&typeof sl<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Ot)}catch{}var bi=function(){var e={},r={};e.registerModifier=s,e.getModifier=l;function s(h,c){r[h]||(r[h]=c)}function l(h,c,v){return new r[h](c,v)}return e}();function Qe(){}Qe.prototype.initModifierProperties=function(){},Qe.prototype.addShapeToModifier=function(){},Qe.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var r={shape:e.sh,data:e,localShapeCollection:Vo.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&e.setAsAnimated()}},Qe.prototype.init=function(e,r){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r),this.frameId=i,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Qe.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},M([le],Qe);function vr(){}M([Qe],vr),vr.prototype.initModifierProperties=function(e,r){this.s=at.getProp(e,r.s,0,.01,this),this.e=at.getProp(e,r.e,0,.01,this),this.o=at.getProp(e,r.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=r.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},vr.prototype.addShapeToModifier=function(e){e.pathsData=[]},vr.prototype.calculateShapeEdges=function(e,r,s,l,h){var c=[];r<=1?c.push({s:e,e:r}):e>=1?c.push({s:e-1,e:r-1}):(c.push({s:e,e:1}),c.push({s:0,e:r-1}));var v=[],x,g=c.length,k;for(x=0;x<g;x+=1)if(k=c[x],!(k.e*h<l||k.s*h>l+s)){var L,H;k.s*h<=l?L=0:L=(k.s*h-l)/s,k.e*h>=l+s?H=1:H=(k.e*h-l)/s,v.push([L,H])}return v.length||v.push([0,0]),v},vr.prototype.releasePathsData=function(e){var r,s=e.length;for(r=0;r<s;r+=1)sp.release(e[r]);return e.length=0,e},vr.prototype.processShapes=function(e){var r,s;if(this._mdf||e){var l=this.o.v%360/360;if(l<0&&(l+=1),this.s.v>1?r=1+l:this.s.v<0?r=0+l:r=this.s.v+l,this.e.v>1?s=1+l:this.e.v<0?s=0+l:s=this.e.v+l,r>s){var h=r;r=s,s=h}r=Math.round(r*1e4)*1e-4,s=Math.round(s*1e4)*1e-4,this.sValue=r,this.eValue=s}else r=this.sValue,s=this.eValue;var c,v,x=this.shapes.length,g,k,L,H,T,R=0;if(s===r)for(v=0;v<x;v+=1)this.shapes[v].localShapeCollection.releaseShapes(),this.shapes[v].shape._mdf=!0,this.shapes[v].shape.paths=this.shapes[v].localShapeCollection,this._mdf&&(this.shapes[v].pathsData.length=0);else if(s===1&&r===0||s===0&&r===1){if(this._mdf)for(v=0;v<x;v+=1)this.shapes[v].pathsData.length=0,this.shapes[v].shape._mdf=!0}else{var D=[],O,V;for(v=0;v<x;v+=1)if(O=this.shapes[v],!O.shape._mdf&&!this._mdf&&!e&&this.m!==2)O.shape.paths=O.localShapeCollection;else{if(c=O.shape.paths,k=c._length,T=0,!O.shape._mdf&&O.pathsData.length)T=O.totalShapeLength;else{for(L=this.releasePathsData(O.pathsData),g=0;g<k;g+=1)H=Cr.getSegmentsLength(c.shapes[g]),L.push(H),T+=H.totalLength;O.totalShapeLength=T,O.pathsData=L}R+=T,O.shape._mdf=!0}var N=r,_=s,E=0,A;for(v=x-1;v>=0;v-=1)if(O=this.shapes[v],O.shape._mdf){for(V=O.localShapeCollection,V.releaseShapes(),this.m===2&&x>1?(A=this.calculateShapeEdges(r,s,O.totalShapeLength,E,R),E+=O.totalShapeLength):A=[[N,_]],k=A.length,g=0;g<k;g+=1){N=A[g][0],_=A[g][1],D.length=0,_<=1?D.push({s:O.totalShapeLength*N,e:O.totalShapeLength*_}):N>=1?D.push({s:O.totalShapeLength*(N-1),e:O.totalShapeLength*(_-1)}):(D.push({s:O.totalShapeLength*N,e:O.totalShapeLength}),D.push({s:0,e:O.totalShapeLength*(_-1)}));var w=this.addShapes(O,D[0]);if(D[0].s!==D[0].e){if(D.length>1){var $=O.shape.paths.shapes[O.shape.paths._length-1];if($.c){var U=w.pop();this.addPaths(w,V),w=this.addShapes(O,D[1],U)}else this.addPaths(w,V),w=this.addShapes(O,D[1])}this.addPaths(w,V)}}O.shape.paths=V}}},vr.prototype.addPaths=function(e,r){var s,l=e.length;for(s=0;s<l;s+=1)r.addShape(e[s])},vr.prototype.addSegment=function(e,r,s,l,h,c,v){h.setXYAt(r[0],r[1],"o",c),h.setXYAt(s[0],s[1],"i",c+1),v&&h.setXYAt(e[0],e[1],"v",c),h.setXYAt(l[0],l[1],"v",c+1)},vr.prototype.addSegmentFromArray=function(e,r,s,l){r.setXYAt(e[1],e[5],"o",s),r.setXYAt(e[2],e[6],"i",s+1),l&&r.setXYAt(e[0],e[4],"v",s),r.setXYAt(e[3],e[7],"v",s+1)},vr.prototype.addShapes=function(e,r,s){var l=e.pathsData,h=e.shape.paths.shapes,c,v=e.shape.paths._length,x,g,k=0,L,H,T,R,D=[],O,V=!0;for(s?(H=s._length,O=s._length):(s=me.newElement(),H=0,O=0),D.push(s),c=0;c<v;c+=1){for(T=l[c].lengths,s.c=h[c].c,g=h[c].c?T.length:T.length+1,x=1;x<g;x+=1)if(L=T[x-1],k+L.addedLength<r.s)k+=L.addedLength,s.c=!1;else if(k>r.e){s.c=!1;break}else r.s<=k&&r.e>=k+L.addedLength?(this.addSegment(h[c].v[x-1],h[c].o[x-1],h[c].i[x],h[c].v[x],s,H,V),V=!1):(R=Cr.getNewSegment(h[c].v[x-1],h[c].v[x],h[c].o[x-1],h[c].i[x],(r.s-k)/L.addedLength,(r.e-k)/L.addedLength,T[x-1]),this.addSegmentFromArray(R,s,H,V),V=!1,s.c=!1),k+=L.addedLength,H+=1;if(h[c].c&&T.length){if(L=T[x-1],k<=r.e){var N=T[x-1].addedLength;r.s<=k&&r.e>=k+N?(this.addSegment(h[c].v[x-1],h[c].o[x-1],h[c].i[0],h[c].v[0],s,H,V),V=!1):(R=Cr.getNewSegment(h[c].v[x-1],h[c].v[0],h[c].o[x-1],h[c].i[0],(r.s-k)/N,(r.e-k)/N,T[x-1]),this.addSegmentFromArray(R,s,H,V),V=!1,s.c=!1)}else s.c=!1;k+=L.addedLength,H+=1}if(s._length&&(s.setXYAt(s.v[O][0],s.v[O][1],"i",O),s.setXYAt(s.v[s._length-1][0],s.v[s._length-1][1],"o",s._length-1)),k>r.e)break;c<v-1&&(s=me.newElement(),V=!0,D.push(s),H=0)}return D};function Ys(){}M([Qe],Ys),Ys.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=at.getProp(e,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Ys.prototype.processPath=function(e,r){var s=r/100,l=[0,0],h=e._length,c=0;for(c=0;c<h;c+=1)l[0]+=e.v[c][0],l[1]+=e.v[c][1];l[0]/=h,l[1]/=h;var v=me.newElement();v.c=e.c;var x,g,k,L,H,T;for(c=0;c<h;c+=1)x=e.v[c][0]+(l[0]-e.v[c][0])*s,g=e.v[c][1]+(l[1]-e.v[c][1])*s,k=e.o[c][0]+(l[0]-e.o[c][0])*-s,L=e.o[c][1]+(l[1]-e.o[c][1])*-s,H=e.i[c][0]+(l[0]-e.i[c][0])*-s,T=e.i[c][1]+(l[1]-e.i[c][1])*-s,v.setTripleAt(x,g,k,L,H,T,c);return v},Ys.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,c,v=this.amount.v;if(v!==0){var x,g;for(s=0;s<l;s+=1){if(x=this.shapes[s],g=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,h=0;h<c;h+=1)g.addShape(this.processPath(r[h],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Ed=function(){var e=[0,0];function r(g){var k=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||k,this.a&&g.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&g.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&g.skewFromAxis(-this.sk.v,this.sa.v),this.r?g.rotate(-this.r.v):g.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?g.translate(this.px.v,this.py.v,-this.pz.v):g.translate(this.px.v,this.py.v,0):g.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function s(g){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||g){var k;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var L,H;if(k=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(L=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/k,0),H=this.p.getValueAtTime(this.p.keyframes[0].t/k,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(L=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/k,0),H=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/k,0)):(L=this.p.pv,H=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/k,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){L=[],H=[];var T=this.px,R=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(L[0]=T.getValueAtTime((T.keyframes[0].t+.01)/k,0),L[1]=R.getValueAtTime((R.keyframes[0].t+.01)/k,0),H[0]=T.getValueAtTime(T.keyframes[0].t/k,0),H[1]=R.getValueAtTime(R.keyframes[0].t/k,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(L[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/k,0),L[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/k,0),H[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/k,0),H[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/k,0)):(L=[T.pv,R.pv],H[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/k,T.offsetTime),H[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/k,R.offsetTime))}else H=e,L=H;this.v.rotate(-Math.atan2(L[1]-H[1],L[0]-H[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function l(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function h(){}function c(g){this._addDynamicProperty(g),this.elem.addDynamicProperty(g),this._isDirty=!0}function v(g,k,L){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=k,this.v=new ue,this.pre=new ue,this.appliedTransformations=0,this.initDynamicPropertyContainer(L||g),k.p&&k.p.s?(this.px=at.getProp(g,k.p.x,0,0,this),this.py=at.getProp(g,k.p.y,0,0,this),k.p.z&&(this.pz=at.getProp(g,k.p.z,0,0,this))):this.p=at.getProp(g,k.p||{k:[0,0,0]},1,0,this),k.rx){if(this.rx=at.getProp(g,k.rx,0,Ct,this),this.ry=at.getProp(g,k.ry,0,Ct,this),this.rz=at.getProp(g,k.rz,0,Ct,this),k.or.k[0].ti){var H,T=k.or.k.length;for(H=0;H<T;H+=1)k.or.k[H].to=null,k.or.k[H].ti=null}this.or=at.getProp(g,k.or,1,Ct,this),this.or.sh=!0}else this.r=at.getProp(g,k.r||{k:0},0,Ct,this);k.sk&&(this.sk=at.getProp(g,k.sk,0,Ct,this),this.sa=at.getProp(g,k.sa,0,Ct,this)),this.a=at.getProp(g,k.a||{k:[0,0,0]},1,0,this),this.s=at.getProp(g,k.s||{k:[100,100,100]},1,.01,this),k.o?this.o=at.getProp(g,k.o,0,.01,g):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}v.prototype={applyToMatrix:r,getValue:s,precalculateMatrix:l,autoOrient:h},M([le],v),v.prototype.addDynamicProperty=c,v.prototype._addDynamicProperty=le.prototype.addDynamicProperty;function x(g,k,L){return new v(g,k,L)}return{getTransformProperty:x}}();function kr(){}M([Qe],kr),kr.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.c=at.getProp(e,r.c,0,null,this),this.o=at.getProp(e,r.o,0,null,this),this.tr=Ed.getTransformProperty(e,r.tr,this),this.so=at.getProp(e,r.tr.so,0,.01,this),this.eo=at.getProp(e,r.tr.eo,0,.01,this),this.data=r,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new ue,this.rMatrix=new ue,this.sMatrix=new ue,this.tMatrix=new ue,this.matrix=new ue},kr.prototype.applyTransforms=function(e,r,s,l,h,c){var v=c?-1:1,x=l.s.v[0]+(1-l.s.v[0])*(1-h),g=l.s.v[1]+(1-l.s.v[1])*(1-h);e.translate(l.p.v[0]*v*h,l.p.v[1]*v*h,l.p.v[2]),r.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),r.rotate(-l.r.v*v*h),r.translate(l.a.v[0],l.a.v[1],l.a.v[2]),s.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),s.scale(c?1/x:x,c?1/g:g),s.translate(l.a.v[0],l.a.v[1],l.a.v[2])},kr.prototype.init=function(e,r,s,l){for(this.elem=e,this.arr=r,this.pos=s,this.elemsData=l,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r[s]);s>0;)s-=1,this._elements.unshift(r[s]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},kr.prototype.resetElements=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r]._processed=!1,e[r].ty==="gr"&&this.resetElements(e[r].it)},kr.prototype.cloneElements=function(e){var r=JSON.parse(JSON.stringify(e));return this.resetElements(r),r},kr.prototype.changeGroupRender=function(e,r){var s,l=e.length;for(s=0;s<l;s+=1)e[s]._render=r,e[s].ty==="gr"&&this.changeGroupRender(e[s].it,r)},kr.prototype.processShapes=function(e){var r,s,l,h,c,v=!1;if(this._mdf||e){var x=Math.ceil(this.c.v);if(this._groups.length<x){for(;this._groups.length<x;){var g={it:this.cloneElements(this._elements),ty:"gr"};g.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,g),this._groups.splice(0,0,g),this._currentCopies+=1}this.elem.reloadShapes(),v=!0}c=0;var k;for(l=0;l<=this._groups.length-1;l+=1){if(k=c<x,this._groups[l]._render=k,this.changeGroupRender(this._groups[l].it,k),!k){var L=this.elemsData[l].it,H=L[L.length-1];H.transform.op.v!==0?(H.transform.op._mdf=!0,H.transform.op.v=0):H.transform.op._mdf=!1}c+=1}this._currentCopies=x;var T=this.o.v,R=T%1,D=T>0?Math.floor(T):Math.ceil(T),O=this.pMatrix.props,V=this.rMatrix.props,N=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var _=0;if(T>0){for(;_<D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,R,!1),_+=R)}else if(T<0){for(;_>D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-R,!0),_-=R)}l=this.data.m===1?0:this._currentCopies-1,h=this.data.m===1?1:-1,c=this._currentCopies;for(var E,A;c;){if(r=this.elemsData[l].it,s=r[r.length-1].transform.mProps.v.props,A=s.length,r[r.length-1].transform.mProps._mdf=!0,r[r.length-1].transform.op._mdf=!0,r[r.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(l/(this._currentCopies-1)),_!==0){for((l!==0&&h===1||l!==this._currentCopies-1&&h===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(V[0],V[1],V[2],V[3],V[4],V[5],V[6],V[7],V[8],V[9],V[10],V[11],V[12],V[13],V[14],V[15]),this.matrix.transform(N[0],N[1],N[2],N[3],N[4],N[5],N[6],N[7],N[8],N[9],N[10],N[11],N[12],N[13],N[14],N[15]),this.matrix.transform(O[0],O[1],O[2],O[3],O[4],O[5],O[6],O[7],O[8],O[9],O[10],O[11],O[12],O[13],O[14],O[15]),E=0;E<A;E+=1)s[E]=this.matrix.props[E];this.matrix.reset()}else for(this.matrix.reset(),E=0;E<A;E+=1)s[E]=this.matrix.props[E];_+=1,c-=1,l+=h}}else for(c=this._currentCopies,l=0,h=1;c;)r=this.elemsData[l].it,s=r[r.length-1].transform.mProps.v.props,r[r.length-1].transform.mProps._mdf=!1,r[r.length-1].transform.op._mdf=!1,c-=1,l+=h;return v},kr.prototype.addShape=function(){};function Ws(){}M([Qe],Ws),Ws.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.rd=at.getProp(e,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},Ws.prototype.processPath=function(e,r){var s=me.newElement();s.c=e.c;var l,h=e._length,c,v,x,g,k,L,H=0,T,R,D,O,V,N;for(l=0;l<h;l+=1)c=e.v[l],x=e.o[l],v=e.i[l],c[0]===x[0]&&c[1]===x[1]&&c[0]===v[0]&&c[1]===v[1]?(l===0||l===h-1)&&!e.c?(s.setTripleAt(c[0],c[1],x[0],x[1],v[0],v[1],H),H+=1):(l===0?g=e.v[h-1]:g=e.v[l-1],k=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=k?Math.min(k/2,r)/k:0,V=c[0]+(g[0]-c[0])*L,T=V,N=c[1]-(c[1]-g[1])*L,R=N,D=T-(T-c[0])*pe,O=R-(R-c[1])*pe,s.setTripleAt(T,R,D,O,V,N,H),H+=1,l===h-1?g=e.v[0]:g=e.v[l+1],k=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=k?Math.min(k/2,r)/k:0,D=c[0]+(g[0]-c[0])*L,T=D,O=c[1]+(g[1]-c[1])*L,R=O,V=T-(T-c[0])*pe,N=R-(R-c[1])*pe,s.setTripleAt(T,R,D,O,V,N,H),H+=1):(s.setTripleAt(e.v[l][0],e.v[l][1],e.o[l][0],e.o[l][1],e.i[l][0],e.i[l][1],H),H+=1);return s},Ws.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,c,v=this.rd.v;if(v!==0){var x,g;for(s=0;s<l;s+=1){if(x=this.shapes[s],g=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,h=0;h<c;h+=1)g.addShape(this.processPath(r[h],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function xn(e,r){return Math.abs(e-r)*1e5<=Math.min(Math.abs(e),Math.abs(r))}function Td(e){return Math.abs(e)<=1e-5}function vp(e,r,s){return e*(1-s)+r*s}function yi(e,r,s){return[vp(e[0],r[0],s),vp(e[1],r[1],s)]}function ub(e,r,s){if(e===0)return[];var l=r*r-4*e*s;if(l<0)return[];var h=-r/(2*e);if(l===0)return[h];var c=Math.sqrt(l)/(2*e);return[h-c,h+c]}function gp(e,r,s,l){return[-e+3*r-3*s+l,3*e-6*r+3*s,-3*e+3*r,e]}function bp(e){return new Gt(e,e,e,e,!1)}function Gt(e,r,s,l,h){h&&Bo(e,r)&&(r=yi(e,l,1/3)),h&&Bo(s,l)&&(s=yi(e,l,2/3));var c=gp(e[0],r[0],s[0],l[0]),v=gp(e[1],r[1],s[1],l[1]);this.a=[c[0],v[0]],this.b=[c[1],v[1]],this.c=[c[2],v[2]],this.d=[c[3],v[3]],this.points=[e,r,s,l]}Gt.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},Gt.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},Gt.prototype.tangentAngle=function(e){var r=this.derivative(e);return Math.atan2(r[1],r[0])},Gt.prototype.normalAngle=function(e){var r=this.derivative(e);return Math.atan2(r[0],r[1])},Gt.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Td(e))return[];var r=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,s=r*r-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(s<0)return[];var l=Math.sqrt(s);return Td(l)?l>0&&l<1?[r]:[]:[r-l,r+l].filter(function(h){return h>0&&h<1})},Gt.prototype.split=function(e){if(e<=0)return[bp(this.points[0]),this];if(e>=1)return[this,bp(this.points[this.points.length-1])];var r=yi(this.points[0],this.points[1],e),s=yi(this.points[1],this.points[2],e),l=yi(this.points[2],this.points[3],e),h=yi(r,s,e),c=yi(s,l,e),v=yi(h,c,e);return[new Gt(this.points[0],r,h,v,!0),new Gt(v,c,l,this.points[3],!0)]};function yp(e,r){var s=e.points[0][r],l=e.points[e.points.length-1][r];if(s>l){var h=l;l=s,s=h}for(var c=ub(3*e.a[r],2*e.b[r],e.c[r]),v=0;v<c.length;v+=1)if(c[v]>0&&c[v]<1){var x=e.point(c[v])[r];x<s?s=x:x>l&&(l=x)}return{min:s,max:l}}Gt.prototype.bounds=function(){return{x:yp(this,0),y:yp(this,1)}},Gt.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function An(e,r,s){var l=e.boundingBox();return{cx:l.cx,cy:l.cy,width:l.width,height:l.height,bez:e,t:(r+s)/2,t1:r,t2:s}}function Ep(e){var r=e.bez.split(.5);return[An(r[0],e.t1,e.t),An(r[1],e.t,e.t2)]}function fb(e,r){return Math.abs(e.cx-r.cx)*2<e.width+r.width&&Math.abs(e.cy-r.cy)*2<e.height+r.height}function js(e,r,s,l,h,c){if(fb(e,r)){if(s>=c||e.width<=l&&e.height<=l&&r.width<=l&&r.height<=l){h.push([e.t,r.t]);return}var v=Ep(e),x=Ep(r);js(v[0],x[0],s+1,l,h,c),js(v[0],x[1],s+1,l,h,c),js(v[1],x[0],s+1,l,h,c),js(v[1],x[1],s+1,l,h,c)}}Gt.prototype.intersections=function(e,r,s){r===void 0&&(r=2),s===void 0&&(s=7);var l=[];return js(An(this,0,1),An(e,0,1),0,r,l,s),l},Gt.shapeSegment=function(e,r){var s=(r+1)%e.length();return new Gt(e.v[r],e.o[r],e.i[s],e.v[s],!0)},Gt.shapeSegmentInverted=function(e,r){var s=(r+1)%e.length();return new Gt(e.v[s],e.i[s],e.o[r],e.v[r],!0)};function xd(e,r){return[e[1]*r[2]-e[2]*r[1],e[2]*r[0]-e[0]*r[2],e[0]*r[1]-e[1]*r[0]]}function Sn(e,r,s,l){var h=[e[0],e[1],1],c=[r[0],r[1],1],v=[s[0],s[1],1],x=[l[0],l[1],1],g=xd(xd(h,c),xd(v,x));return Td(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function zo(e,r,s){return[e[0]+Math.cos(r)*s,e[1]-Math.sin(r)*s]}function Ad(e,r){return Math.hypot(e[0]-r[0],e[1]-r[1])}function Bo(e,r){return xn(e[0],r[0])&&xn(e[1],r[1])}function qs(){}M([Qe],qs),qs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amplitude=at.getProp(e,r.s,0,null,this),this.frequency=at.getProp(e,r.r,0,null,this),this.pointsType=at.getProp(e,r.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Tp(e,r,s,l,h,c,v){var x=s-Math.PI/2,g=s+Math.PI/2,k=r[0]+Math.cos(s)*l*h,L=r[1]-Math.sin(s)*l*h;e.setTripleAt(k,L,k+Math.cos(x)*c,L-Math.sin(x)*c,k+Math.cos(g)*v,L-Math.sin(g)*v,e.length())}function vb(e,r){var s=[r[0]-e[0],r[1]-e[1]],l=-Math.PI*.5,h=[Math.cos(l)*s[0]-Math.sin(l)*s[1],Math.sin(l)*s[0]+Math.cos(l)*s[1]];return h}function gb(e,r){var s=r===0?e.length()-1:r-1,l=(r+1)%e.length(),h=e.v[s],c=e.v[l],v=vb(h,c);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function xp(e,r,s,l,h,c,v){var x=gb(r,s),g=r.v[s%r._length],k=r.v[s===0?r._length-1:s-1],L=r.v[(s+1)%r._length],H=c===2?Math.sqrt(Math.pow(g[0]-k[0],2)+Math.pow(g[1]-k[1],2)):0,T=c===2?Math.sqrt(Math.pow(g[0]-L[0],2)+Math.pow(g[1]-L[1],2)):0;Tp(e,r.v[s%r._length],x,v,l,T/((h+1)*2),H/((h+1)*2),c)}function bb(e,r,s,l,h,c){for(var v=0;v<l;v+=1){var x=(v+1)/(l+1),g=h===2?Math.sqrt(Math.pow(r.points[3][0]-r.points[0][0],2)+Math.pow(r.points[3][1]-r.points[0][1],2)):0,k=r.normalAngle(x),L=r.point(x);Tp(e,L,k,c,s,g/((l+1)*2),g/((l+1)*2),h),c=-c}return c}qs.prototype.processPath=function(e,r,s,l){var h=e._length,c=me.newElement();if(c.c=e.c,e.c||(h-=1),h===0)return c;var v=-1,x=Gt.shapeSegment(e,0);xp(c,e,0,r,s,l,v);for(var g=0;g<h;g+=1)v=bb(c,x,r,s,l,-v),g===h-1&&!e.c?x=null:x=Gt.shapeSegment(e,(g+1)%h),xp(c,e,g+1,r,s,l,v);return c},qs.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,c,v=this.amplitude.v,x=Math.max(0,Math.round(this.frequency.v)),g=this.pointsType.v;if(v!==0){var k,L;for(s=0;s<l;s+=1){if(k=this.shapes[s],L=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),k.shape._mdf=!0,r=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)L.addShape(this.processPath(r[h],v,x,g));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Sd(e,r,s){var l=Math.atan2(r[0]-e[0],r[1]-e[1]);return[zo(e,l,s),zo(r,l,s)]}function Uo(e,r){var s,l,h,c,v,x,g;g=Sd(e.points[0],e.points[1],r),s=g[0],l=g[1],g=Sd(e.points[1],e.points[2],r),h=g[0],c=g[1],g=Sd(e.points[2],e.points[3],r),v=g[0],x=g[1];var k=Sn(s,l,h,c);k===null&&(k=l);var L=Sn(v,x,h,c);return L===null&&(L=v),new Gt(s,k,L,x)}function Ap(e,r,s,l,h){var c=r.points[3],v=s.points[0];if(l===3||Bo(c,v))return c;if(l===2){var x=-r.tangentAngle(1),g=-s.tangentAngle(0)+Math.PI,k=Sn(c,zo(c,x+Math.PI/2,100),v,zo(v,x+Math.PI/2,100)),L=k?Ad(k,c):Ad(c,v)/2,H=zo(c,x,2*L*pe);return e.setXYAt(H[0],H[1],"o",e.length()-1),H=zo(v,g,2*L*pe),e.setTripleAt(v[0],v[1],v[0],v[1],H[0],H[1],e.length()),v}var T=Bo(c,r.points[2])?r.points[0]:r.points[2],R=Bo(v,s.points[1])?s.points[3]:s.points[1],D=Sn(T,c,v,R);return D&&Ad(D,c)<h?(e.setTripleAt(D[0],D[1],D[0],D[1],D[0],D[1],e.length()),D):c}function Sp(e,r){var s=e.intersections(r);return s.length&&xn(s[0][0],1)&&s.shift(),s.length?s[0]:null}function _p(e,r){var s=e.slice(),l=r.slice(),h=Sp(e[e.length-1],r[0]);return h&&(s[e.length-1]=e[e.length-1].split(h[0])[0],l[0]=r[0].split(h[1])[1]),e.length>1&&r.length>1&&(h=Sp(e[0],r[r.length-1]),h)?[[e[0].split(h[0])[0]],[r[r.length-1].split(h[1])[1]]]:[s,l]}function yb(e){for(var r,s=1;s<e.length;s+=1)r=_p(e[s-1],e[s]),e[s-1]=r[0],e[s]=r[1];return e.length>1&&(r=_p(e[e.length-1],e[0]),e[e.length-1]=r[0],e[0]=r[1]),e}function Ip(e,r){var s=e.inflectionPoints(),l,h,c,v;if(s.length===0)return[Uo(e,r)];if(s.length===1||xn(s[1],1))return c=e.split(s[0]),l=c[0],h=c[1],[Uo(l,r),Uo(h,r)];c=e.split(s[0]),l=c[0];var x=(s[1]-s[0])/(1-s[0]);return c=c[1].split(x),v=c[0],h=c[1],[Uo(l,r),Uo(v,r),Uo(h,r)]}function Ks(){}M([Qe],Ks),Ks.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=at.getProp(e,r.a,0,null,this),this.miterLimit=at.getProp(e,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Ks.prototype.processPath=function(e,r,s,l){var h=me.newElement();h.c=e.c;var c=e.length();e.c||(c-=1);var v,x,g,k=[];for(v=0;v<c;v+=1)g=Gt.shapeSegment(e,v),k.push(Ip(g,r));if(!e.c)for(v=c-1;v>=0;v-=1)g=Gt.shapeSegmentInverted(e,v),k.push(Ip(g,r));k=yb(k);var L=null,H=null;for(v=0;v<k.length;v+=1){var T=k[v];for(H&&(L=Ap(h,H,T[0],s,l)),H=T[T.length-1],x=0;x<T.length;x+=1)g=T[x],L&&Bo(g.points[0],L)?h.setXYAt(g.points[1][0],g.points[1][1],"o",h.length()-1):h.setTripleAt(g.points[0][0],g.points[0][1],g.points[1][0],g.points[1][1],g.points[0][0],g.points[0][1],h.length()),h.setTripleAt(g.points[3][0],g.points[3][1],g.points[3][0],g.points[3][1],g.points[2][0],g.points[2][1],h.length()),L=g.points[3]}return k.length&&Ap(h,H,k[0][0],s,l),h},Ks.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,c,v=this.amount.v,x=this.miterLimit.v,g=this.lineJoin;if(v!==0){var k,L;for(s=0;s<l;s+=1){if(k=this.shapes[s],L=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),k.shape._mdf=!0,r=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)L.addShape(this.processPath(r[h],v,g,x));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Cp(e){for(var r=e.fStyle?e.fStyle.split(" "):[],s="normal",l="normal",h=r.length,c,v=0;v<h;v+=1)switch(c=r[v].toLowerCase(),c){case"italic":l="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200";break;default:break}return{style:l,weight:e.fWeight||s}}var Zi=function(){var e=5e3,r={w:0,size:0,shapes:[],data:{shapes:[]}},s=[];s=s.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var l=127988,h=917631,c=917601,v=917626,x=65039,g=8205,k=127462,L=127487,H=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T(S){var P=S.split(","),f,y=P.length,G=[];for(f=0;f<y;f+=1)P[f]!=="sans-serif"&&P[f]!=="monospace"&&G.push(P[f]);return G.join(",")}function R(S,P){var f=C("span");f.setAttribute("aria-hidden",!0),f.style.fontFamily=P;var y=C("span");y.innerText="giItT1WQy@!-/#",f.style.position="absolute",f.style.left="-10000px",f.style.top="-10000px",f.style.fontSize="300px",f.style.fontVariant="normal",f.style.fontStyle="normal",f.style.fontWeight="normal",f.style.letterSpacing="0",f.appendChild(y),document.body.appendChild(f);var G=y.offsetWidth;return y.style.fontFamily=T(S)+", "+P,{node:y,w:G,parent:f}}function D(){var S,P=this.fonts.length,f,y,G=P;for(S=0;S<P;S+=1)this.fonts[S].loaded?G-=1:this.fonts[S].fOrigin==="n"||this.fonts[S].origin===0?this.fonts[S].loaded=!0:(f=this.fonts[S].monoCase.node,y=this.fonts[S].monoCase.w,f.offsetWidth!==y?(G-=1,this.fonts[S].loaded=!0):(f=this.fonts[S].sansCase.node,y=this.fonts[S].sansCase.w,f.offsetWidth!==y&&(G-=1,this.fonts[S].loaded=!0)),this.fonts[S].loaded&&(this.fonts[S].sansCase.parent.parentNode.removeChild(this.fonts[S].sansCase.parent),this.fonts[S].monoCase.parent.parentNode.removeChild(this.fonts[S].monoCase.parent)));G!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function O(S,P){var f=document.body&&P?"svg":"canvas",y,G=Cp(S);if(f==="svg"){var F=Tt("text");F.style.fontSize="100px",F.setAttribute("font-family",S.fFamily),F.setAttribute("font-style",G.style),F.setAttribute("font-weight",G.weight),F.textContent="1",S.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",S.fClass)):F.style.fontFamily=S.fFamily,P.appendChild(F),y=F}else{var nt=new OffscreenCanvas(500,500).getContext("2d");nt.font=G.style+" "+G.weight+" 100px "+S.fFamily,y=nt}function ft(Et){return f==="svg"?(y.textContent=Et,y.getComputedTextLength()):y.measureText(Et).width}return{measureText:ft}}function V(S,P){if(!S){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=S.list;return}if(!document.body){this.isLoaded=!0,S.list.forEach(function(Re){Re.helper=O(Re),Re.cache={}}),this.fonts=S.list;return}var f=S.list,y,G=f.length,F=G;for(y=0;y<G;y+=1){var nt=!0,ft,Et;if(f[y].loaded=!1,f[y].monoCase=R(f[y].fFamily,"monospace"),f[y].sansCase=R(f[y].fFamily,"sans-serif"),!f[y].fPath)f[y].loaded=!0,F-=1;else if(f[y].fOrigin==="p"||f[y].origin===3){if(ft=document.querySelectorAll('style[f-forigin="p"][f-family="'+f[y].fFamily+'"], style[f-origin="3"][f-family="'+f[y].fFamily+'"]'),ft.length>0&&(nt=!1),nt){var Nt=C("style");Nt.setAttribute("f-forigin",f[y].fOrigin),Nt.setAttribute("f-origin",f[y].origin),Nt.setAttribute("f-family",f[y].fFamily),Nt.type="text/css",Nt.innerText="@font-face {font-family: "+f[y].fFamily+"; font-style: normal; src: url('"+f[y].fPath+"');}",P.appendChild(Nt)}}else if(f[y].fOrigin==="g"||f[y].origin===1){for(ft=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Et=0;Et<ft.length;Et+=1)ft[Et].href.indexOf(f[y].fPath)!==-1&&(nt=!1);if(nt){var Lt=C("link");Lt.setAttribute("f-forigin",f[y].fOrigin),Lt.setAttribute("f-origin",f[y].origin),Lt.type="text/css",Lt.rel="stylesheet",Lt.href=f[y].fPath,document.body.appendChild(Lt)}}else if(f[y].fOrigin==="t"||f[y].origin===2){for(ft=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Et=0;Et<ft.length;Et+=1)f[y].fPath===ft[Et].src&&(nt=!1);if(nt){var Qt=C("link");Qt.setAttribute("f-forigin",f[y].fOrigin),Qt.setAttribute("f-origin",f[y].origin),Qt.setAttribute("rel","stylesheet"),Qt.setAttribute("href",f[y].fPath),P.appendChild(Qt)}}f[y].helper=O(f[y],P),f[y].cache={},this.fonts.push(f[y])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function N(S){if(S){this.chars||(this.chars=[]);var P,f=S.length,y,G=this.chars.length,F;for(P=0;P<f;P+=1){for(y=0,F=!1;y<G;)this.chars[y].style===S[P].style&&this.chars[y].fFamily===S[P].fFamily&&this.chars[y].ch===S[P].ch&&(F=!0),y+=1;F||(this.chars.push(S[P]),G+=1)}}}function _(S,P,f){for(var y=0,G=this.chars.length;y<G;){if(this.chars[y].ch===S&&this.chars[y].style===P&&this.chars[y].fFamily===f)return this.chars[y];y+=1}return(typeof S=="string"&&S.charCodeAt(0)!==13||!S)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",S,P,f)),r}function E(S,P,f){var y=this.getFontByName(P),G=S;if(!y.cache[G]){var F=y.helper;if(S===" "){var nt=F.measureText("|"+S+"|"),ft=F.measureText("||");y.cache[G]=(nt-ft)/100}else y.cache[G]=F.measureText(S)/100}return y.cache[G]*f}function A(S){for(var P=0,f=this.fonts.length;P<f;){if(this.fonts[P].fName===S)return this.fonts[P];P+=1}return this.fonts[0]}function w(S){var P=0,f=S.charCodeAt(0);if(f>=55296&&f<=56319){var y=S.charCodeAt(1);y>=56320&&y<=57343&&(P=(f-55296)*1024+y-56320+65536)}return P}function $(S,P){var f=S.toString(16)+P.toString(16);return H.indexOf(f)!==-1}function U(S){return S===g}function Y(S){return S===x}function J(S){var P=w(S);return P>=k&&P<=L}function yt(S){return J(S.substr(0,2))&&J(S.substr(2,2))}function pt(S){return s.indexOf(S)!==-1}function ot(S,P){var f=w(S.substr(P,2));if(f!==l)return!1;var y=0;for(P+=2;y<5;){if(f=w(S.substr(P,2)),f<c||f>v)return!1;y+=1,P+=2}return w(S.substr(P,2))===h}function xt(){this.isLoaded=!0}var ct=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};ct.isModifier=$,ct.isZeroWidthJoiner=U,ct.isFlagEmoji=yt,ct.isRegionalCode=J,ct.isCombinedCharacter=pt,ct.isRegionalFlag=ot,ct.isVariationSelector=Y,ct.BLACK_FLAG_CODE_POINT=l;var Q={addChars:N,addFonts:V,getCharData:_,getFontByName:A,measureText:E,checkLoadedFonts:D,setIsLoaded:xt};return ct.prototype=Q,ct}();function kp(e){this.animationData=e}kp.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function Eb(e){return new kp(e)}function _n(){}_n.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(r){this.renderableComponents.indexOf(r)===-1&&this.renderableComponents.push(r)},removeRenderableComponent:function(r){this.renderableComponents.indexOf(r)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(r),1)},prepareRenderableFrame:function(r){this.checkLayerLimits(r)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(r){this.data.ip-this.data.st<=r&&this.data.op-this.data.st>r?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var r,s=this.renderableComponents.length;for(r=0;r<s;r+=1)this.renderableComponents[r].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var _d=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(r){return e[r]||""}}();function Tb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function xb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Ab(e,r,s){this.p=at.getProp(r,e.v,1,0,s)}function Sb(e,r,s){this.p=at.getProp(r,e.v,1,0,s)}function _b(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Ib(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Cb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function kb(){this.p={}}function wp(e,r){var s=e.ef||[];this.effectElements=[];var l,h=s.length,c;for(l=0;l<h;l+=1)c=new Xs(s[l],r),this.effectElements.push(c)}function Xs(e,r){this.init(e,r)}M([le],Xs),Xs.prototype.getValue=Xs.prototype.iterateDynamicProperties,Xs.prototype.init=function(e,r){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(r);var s,l=this.data.ef.length,h,c=this.data.ef;for(s=0;s<l;s+=1){switch(h=null,c[s].ty){case 0:h=new Tb(c[s],r,this);break;case 1:h=new xb(c[s],r,this);break;case 2:h=new Ab(c[s],r,this);break;case 3:h=new Sb(c[s],r,this);break;case 4:case 7:h=new Cb(c[s],r,this);break;case 10:h=new _b(c[s],r,this);break;case 11:h=new Ib(c[s],r,this);break;case 5:h=new wp(c[s],r,this);break;default:h=new kb(c[s],r,this);break}h&&this.effectElements.push(h)}};function Ei(){}Ei.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var r=0,s=this.data.masksProperties.length;r<s;){if(this.data.masksProperties[r].mode!=="n"&&this.data.masksProperties[r].cl!==!1)return!0;r+=1}return!1},initExpressions:function(){var r=ep();if(r){var s=r("layer"),l=r("effects"),h=r("shape"),c=r("text"),v=r("comp");this.layerInterface=s(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var x=l.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(x),this.data.ty===0||this.data.xt?this.compInterface=v(this):this.data.ty===4?(this.layerInterface.shapeInterface=h(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=c(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var r=_d(this.data.bm),s=this.baseElement||this.layerElement;s.style["mix-blend-mode"]=r},initBaseData:function(r,s,l){this.globalData=s,this.comp=l,this.data=r,this.layerId=Ne(),this.data.sr||(this.data.sr=1),this.effectsManager=new wp(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Ti(){}Ti.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,s){var l,h=this.dynamicProperties.length;for(l=0;l<h;l+=1)(s||this._isParent&&this.dynamicProperties[l].propType==="transform")&&(this.dynamicProperties[l].getValue(),this.dynamicProperties[l]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function xi(e,r,s){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.footageData=r.imageLoader.getAsset(this.assetData),this.initBaseData(e,r,s)}xi.prototype.prepareFrame=function(){},M([_n,Ei,Ti],xi),xi.prototype.getBaseElement=function(){return null},xi.prototype.renderFrame=function(){},xi.prototype.destroy=function(){},xi.prototype.initExpressions=function(){var e=ep();if(e){var r=e("footage");this.layerInterface=r(this)}},xi.prototype.getFootageData=function(){return this.footageData};function Le(e,r,s){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.initBaseData(e,r,s),this._isPlaying=!1,this._canPlay=!1;var l=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(l),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?at.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=at.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}Le.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var r=this.tm.v;this._currentTime=r}this._volume=this.lv.v[0];var s=this._volume*this._volumeMultiplier;this._previousVolume!==s&&(this._previousVolume=s,this.audio.volume(s))},M([_n,Ei,Ti],Le),Le.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},Le.prototype.show=function(){},Le.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Le.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Le.prototype.resume=function(){this._canPlay=!0},Le.prototype.setRate=function(e){this.audio.rate(e)},Le.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},Le.prototype.getBaseElement=function(){return null},Le.prototype.destroy=function(){},Le.prototype.sourceRectAtTime=function(){},Le.prototype.initExpressions=function(){};function fe(){}fe.prototype.checkLayers=function(e){var r,s=this.layers.length,l;for(this.completeLayers=!0,r=s-1;r>=0;r-=1)this.elements[r]||(l=this.layers[r],l.ip-l.st<=e-this.layers[r].st&&l.op-l.st>e-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},fe.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},fe.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},fe.prototype.createAudio=function(e){return new Le(e,this.globalData,this)},fe.prototype.createFootage=function(e){return new xi(e,this.globalData,this)},fe.prototype.buildAllItems=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.buildItem(e);this.checkPendingElements()},fe.prototype.includeLayers=function(e){this.completeLayers=!1;var r,s=e.length,l,h=this.layers.length;for(r=0;r<s;r+=1)for(l=0;l<h;){if(this.layers[l].id===e[r].id){this.layers[l]=e[r];break}l+=1}},fe.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},fe.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},fe.prototype.buildElementParenting=function(e,r,s){for(var l=this.elements,h=this.layers,c=0,v=h.length;c<v;)h[c].ind==r&&(!l[c]||l[c]===!0?(this.buildItem(c),this.addPendingElement(e)):(s.push(l[c]),l[c].setAsParent(),h[c].parent!==void 0?this.buildElementParenting(e,h[c].parent,s):e.setHierarchy(s))),c+=1},fe.prototype.addPendingElement=function(e){this.pendingElements.push(e)},fe.prototype.searchExtraCompositions=function(e){var r,s=e.length;for(r=0;r<s;r+=1)if(e[r].xt){var l=this.createComp(e[r]);l.initExpressions(),this.globalData.projectInterface.registerComposition(l)}},fe.prototype.getElementById=function(e){var r,s=this.elements.length;for(r=0;r<s;r+=1)if(this.elements[r].data.ind===e)return this.elements[r];return null},fe.prototype.getElementByPath=function(e){var r=e.shift(),s;if(typeof r=="number")s=this.elements[r];else{var l,h=this.elements.length;for(l=0;l<h;l+=1)if(this.elements[l].data.nm===r){s=this.elements[l];break}}return e.length===0?s:s.getElementByPath(e)},fe.prototype.setupGlobalData=function(e,r){this.globalData.fontManager=new Zi,this.globalData.slotManager=Eb(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,r),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var wb={TRANSFORM_EFFECT:"transformEFfect"};function Ho(){}Ho.prototype={initTransform:function(){var r=new ue;this.finalTransform={mProp:this.data.ks?Ed.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:r,localMat:r,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var r,s=this.finalTransform.mat,l=0,h=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;l<h;){if(this.hierarchy[l].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}l+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,s.cloneFromProps(r),l=0;l<h;l+=1)s.multiply(this.hierarchy[l].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var r=0,s=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;r<s;)this.localTransforms[r]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[r]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),r+=1;if(this.finalTransform._localMatMdf){var l=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(l),r=1;r<s;r+=1){var h=this.localTransforms[r].matrix;l.multiply(h)}l.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(r=0;r<s;r+=1)c*=this.localTransforms[r].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var r=this.renderableEffectsManager.getEffects(wb.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new ue;var s=0,l=r.length;for(s=0;s<l;s+=1)this.localTransforms.push(r[s])}}},globalToLocal:function(r){var s=[];s.push(this.finalTransform);for(var l=!0,h=this.comp;l;)h.finalTransform?(h.data.hasMask&&s.splice(0,0,h.finalTransform),h=h.comp):l=!1;var c,v=s.length,x;for(c=0;c<v;c+=1)x=s[c].mat.applyToPointArray(0,0,0),r=[r[0]-x[0],r[1]-x[1],0];return r},mHelper:new ue};function Qi(e,r,s){this.data=e,this.element=r,this.globalData=s,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var l=this.globalData.defs,h,c=this.masksProperties?this.masksProperties.length:0;this.viewData=tt(c),this.solidPath="";var v,x=this.masksProperties,g=0,k=[],L,H,T=Ne(),R,D,O,V,N="clipPath",_="clip-path";for(h=0;h<c;h+=1)if((x[h].mode!=="a"&&x[h].mode!=="n"||x[h].inv||x[h].o.k!==100||x[h].o.x)&&(N="mask",_="mask"),(x[h].mode==="s"||x[h].mode==="i")&&g===0?(R=Tt("rect"),R.setAttribute("fill","#ffffff"),R.setAttribute("width",this.element.comp.data.w||0),R.setAttribute("height",this.element.comp.data.h||0),k.push(R)):R=null,v=Tt("path"),x[h].mode==="n")this.viewData[h]={op:at.getProp(this.element,x[h].o,0,.01,this.element),prop:yn.getShapeProp(this.element,x[h],3),elem:v,lastPath:""},l.appendChild(v);else{g+=1,v.setAttribute("fill",x[h].mode==="s"?"#000000":"#ffffff"),v.setAttribute("clip-rule","nonzero");var E;if(x[h].x.k!==0?(N="mask",_="mask",V=at.getProp(this.element,x[h].x,0,null,this.element),E=Ne(),D=Tt("filter"),D.setAttribute("id",E),O=Tt("feMorphology"),O.setAttribute("operator","erode"),O.setAttribute("in","SourceGraphic"),O.setAttribute("radius","0"),D.appendChild(O),l.appendChild(D),v.setAttribute("stroke",x[h].mode==="s"?"#000000":"#ffffff")):(O=null,V=null),this.storedData[h]={elem:v,x:V,expan:O,lastPath:"",lastOperator:"",filterId:E,lastRadius:0},x[h].mode==="i"){H=k.length;var A=Tt("g");for(L=0;L<H;L+=1)A.appendChild(k[L]);var w=Tt("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",T+"_"+g),w.appendChild(v),l.appendChild(w),A.setAttribute("mask","url("+b()+"#"+T+"_"+g+")"),k.length=0,k.push(A)}else k.push(v);x[h].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[h]={elem:v,lastPath:"",op:at.getProp(this.element,x[h].o,0,.01,this.element),prop:yn.getShapeProp(this.element,x[h],3),invRect:R},this.viewData[h].prop.k||this.drawPath(x[h],this.viewData[h].prop.v,this.viewData[h])}for(this.maskElement=Tt(N),c=k.length,h=0;h<c;h+=1)this.maskElement.appendChild(k[h]);g>0&&(this.maskElement.setAttribute("id",T),this.element.maskedElement.setAttribute(_,"url("+b()+"#"+T+")"),l.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Qi.prototype.getMaskProperty=function(e){return this.viewData[e].prop},Qi.prototype.renderFrame=function(e){var r=this.element.finalTransform.mat,s,l=this.masksProperties.length;for(s=0;s<l;s+=1)if((this.viewData[s].prop._mdf||e)&&this.drawPath(this.masksProperties[s],this.viewData[s].prop.v,this.viewData[s]),(this.viewData[s].op._mdf||e)&&this.viewData[s].elem.setAttribute("fill-opacity",this.viewData[s].op.v),this.masksProperties[s].mode!=="n"&&(this.viewData[s].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[s].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[s].x&&(this.storedData[s].x._mdf||e))){var h=this.storedData[s].expan;this.storedData[s].x.v<0?(this.storedData[s].lastOperator!=="erode"&&(this.storedData[s].lastOperator="erode",this.storedData[s].elem.setAttribute("filter","url("+b()+"#"+this.storedData[s].filterId+")")),h.setAttribute("radius",-this.storedData[s].x.v)):(this.storedData[s].lastOperator!=="dilate"&&(this.storedData[s].lastOperator="dilate",this.storedData[s].elem.setAttribute("filter",null)),this.storedData[s].elem.setAttribute("stroke-width",this.storedData[s].x.v*2))}},Qi.prototype.getMaskelement=function(){return this.maskElement},Qi.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},Qi.prototype.drawPath=function(e,r,s){var l=" M"+r.v[0][0]+","+r.v[0][1],h,c;for(c=r._length,h=1;h<c;h+=1)l+=" C"+r.o[h-1][0]+","+r.o[h-1][1]+" "+r.i[h][0]+","+r.i[h][1]+" "+r.v[h][0]+","+r.v[h][1];if(r.c&&c>1&&(l+=" C"+r.o[h-1][0]+","+r.o[h-1][1]+" "+r.i[0][0]+","+r.i[0][1]+" "+r.v[0][0]+","+r.v[0][1]),s.lastPath!==l){var v="";s.elem&&(r.c&&(v=e.inv?this.solidPath+l:l),s.elem.setAttribute("d",v)),s.lastPath=l}},Qi.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var Zs=function(){var e={};e.createFilter=r,e.createAlphaToLuminanceFilter=s;function r(l,h){var c=Tt("filter");return c.setAttribute("id",l),h!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function s(){var l=Tt("feColorMatrix");return l.setAttribute("type","matrix"),l.setAttribute("color-interpolation-filters","sRGB"),l.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),l}return e}(),Np=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),In={},Lp="filter_result_";function Id(e){var r,s="SourceGraphic",l=e.data.ef?e.data.ef.length:0,h=Ne(),c=Zs.createFilter(h,!0),v=0;this.filters=[];var x;for(r=0;r<l;r+=1){x=null;var g=e.data.ef[r].ty;if(In[g]){var k=In[g].effect;x=new k(c,e.effectsManager.effectElements[r],e,Lp+v,s),s=Lp+v,In[g].countsAsEffect&&(v+=1)}x&&this.filters.push(x)}v&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+b()+"#"+h+")")),this.filters.length&&e.addRenderableComponent(this)}Id.prototype.renderFrame=function(e){var r,s=this.filters.length;for(r=0;r<s;r+=1)this.filters[r].renderFrame(e)},Id.prototype.getEffects=function(e){var r,s=this.filters.length,l=[];for(r=0;r<s;r+=1)this.filters[r].type===e&&l.push(this.filters[r]);return l};function fA(e,r,s){In[e]={effect:r,countsAsEffect:s}}function Qs(){}Qs.prototype={initRendererElement:function(){this.layerElement=Tt("g")},createContainerElements:function(){this.matteElement=Tt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var s=Tt("g");s.setAttribute("id",this.layerId),s.appendChild(this.layerElement),r=s,this.globalData.defs.appendChild(s)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),r=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var l=Tt("clipPath"),h=Tt("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var c=Ne();if(l.setAttribute("id",c),l.appendChild(h),this.globalData.defs.appendChild(l),this.checkMasks()){var v=Tt("g");v.setAttribute("clip-path","url("+b()+"#"+c+")"),v.appendChild(this.layerElement),this.transformedElement=v,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+b()+"#"+c+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new Qi(this.data,this,this.globalData),this.renderableEffectsManager=new Id(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var s=this.layerId+"_"+r,l,h,c,v;if(r===1||r===3){var x=Tt("mask");x.setAttribute("id",s),x.setAttribute("mask-type",r===3?"luminance":"alpha"),c=Tt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),x.appendChild(c),this.globalData.defs.appendChild(x),!Np.maskType&&r===1&&(x.setAttribute("mask-type","luminance"),l=Ne(),h=Zs.createFilter(l),this.globalData.defs.appendChild(h),h.appendChild(Zs.createAlphaToLuminanceFilter()),v=Tt("g"),v.appendChild(c),x.appendChild(v),v.setAttribute("filter","url("+b()+"#"+l+")"))}else if(r===2){var g=Tt("mask");g.setAttribute("id",s),g.setAttribute("mask-type","alpha");var k=Tt("g");g.appendChild(k),l=Ne(),h=Zs.createFilter(l);var L=Tt("feComponentTransfer");L.setAttribute("in","SourceGraphic"),h.appendChild(L);var H=Tt("feFuncA");H.setAttribute("type","table"),H.setAttribute("tableValues","1.0 0.0"),L.appendChild(H),this.globalData.defs.appendChild(h);var T=Tt("rect");T.setAttribute("width",this.comp.data.w),T.setAttribute("height",this.comp.data.h),T.setAttribute("x","0"),T.setAttribute("y","0"),T.setAttribute("fill","#ffffff"),T.setAttribute("opacity","0"),k.setAttribute("filter","url("+b()+"#"+l+")"),k.appendChild(T),c=Tt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),k.appendChild(c),Np.maskType||(g.setAttribute("mask-type","luminance"),h.appendChild(Zs.createAlphaToLuminanceFilter()),v=Tt("g"),k.appendChild(T),v.appendChild(this.layerElement),k.appendChild(v)),this.globalData.defs.appendChild(g)}this.matteMasks[r]=s}return this.matteMasks[r]},setMatte:function(r){this.matteElement&&this.matteElement.setAttribute("mask","url("+b()+"#"+r+")")}};function Go(){}Go.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(r){this.hierarchy=r},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function Js(){}(function(){var e={initElement:function(s,l,h){this.initFrame(),this.initBaseData(s,l,h),this.initTransform(s,l,h),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var s=this.baseElement||this.layerElement;s.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var s=this.baseElement||this.layerElement;s.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(s){this._mdf=!1,this.prepareRenderableFrame(s),this.prepareProperties(s,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};M([_n,K(e)],Js)})();function ta(e,r,s){this.assetData=r.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=r.slotManager.getProp(this.assetData)),this.initElement(e,r,s),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}M([Ei,Ho,Qs,Go,Ti,Js],ta),ta.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=Tt("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},ta.prototype.sourceRectAtTime=function(){return this.sourceRect};function Nb(e,r){this.elem=e,this.pos=r}function Rp(){}Rp.prototype={addShapeToModifiers:function(r){var s,l=this.shapeModifiers.length;for(s=0;s<l;s+=1)this.shapeModifiers[s].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var s=0,l=this.shapeModifiers.length;s<l;)if(this.shapeModifiers[s].isAnimatedWithShape(r))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var r,s=this.shapes.length;for(r=0;r<s;r+=1)this.shapes[r].sh.reset();s=this.shapeModifiers.length;var l;for(r=s-1;r>=0&&(l=this.shapeModifiers[r].processShapes(this._isFirstFrame),!l);r-=1);}},searchProcessedElement:function(r){for(var s=this.processedElements,l=0,h=s.length;l<h;){if(s[l].elem===r)return s[l].pos;l+=1}return 0},addProcessedElement:function(r,s){for(var l=this.processedElements,h=l.length;h;)if(h-=1,l[h].elem===r){l[h].pos=s;return}l.push(new Nb(r,s))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var Mp={1:"butt",2:"round",3:"square"},Op={1:"miter",2:"round",3:"bevel"};function Pp(e,r,s){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=s,this.lvl=r,this._isAnimated=!!s.k;for(var l=0,h=e.length;l<h;){if(e[l].mProps.dynamicProperties.length){this._isAnimated=!0;break}l+=1}}Pp.prototype.setAsAnimated=function(){this._isAnimated=!0};function Dp(e,r){this.data=e,this.type=e.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=e.hd===!0,this.pElem=Tt("path"),this.msElem=null}Dp.prototype.reset=function(){this.d="",this._mdf=!1};function Cn(e,r,s,l){this.elem=e,this.frameId=-1,this.dataProps=tt(r.length),this.renderer=s,this.k=!1,this.dashStr="",this.dashArray=X("float32",r.length?r.length-1:0),this.dashoffset=X("float32",1),this.initDynamicPropertyContainer(l);var h,c=r.length||0,v;for(h=0;h<c;h+=1)v=at.getProp(e,r[h].v,0,0,this),this.k=v.k||this.k,this.dataProps[h]={n:r[h].n,p:v};this.k||this.getValue(!0),this._isAnimated=this.k}Cn.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var r=0,s=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),r=0;r<s;r+=1)this.dataProps[r].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[r].p.v:this.dashArray[r]=this.dataProps[r].p.v:this.dashoffset[0]=this.dataProps[r].p.v}},M([le],Cn);function $p(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,r.o,0,.01,this),this.w=at.getProp(e,r.w,0,null,this),this.d=new Cn(e,r.d||{},"svg",this),this.c=at.getProp(e,r.c,1,255,this),this.style=s,this._isAnimated=!!this._isAnimated}M([le],$p);function Fp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,r.o,0,.01,this),this.c=at.getProp(e,r.c,1,255,this),this.style=s}M([le],Fp);function Vp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=s}M([le],Vp);function ea(e,r,s){this.data=r,this.c=X("uint8c",r.p*4);var l=r.k.k[0].s?r.k.k[0].s.length-r.p*4:r.k.k.length-r.p*4;this.o=X("float32",l),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=l,this.initDynamicPropertyContainer(s),this.prop=at.getProp(e,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ea.prototype.comparePoints=function(e,r){for(var s=0,l=this.o.length/2,h;s<l;){if(h=Math.abs(e[s*4]-e[r*4+s*2]),h>.01)return!1;s+=1}return!0},ea.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,r=this.data.k.k.length;e<r;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},ea.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var r,s=this.data.p*4,l,h;for(r=0;r<s;r+=1)l=r%4===0?100:255,h=Math.round(this.prop.v[r]*l),this.c[r]!==h&&(this.c[r]=h,this._cmdf=!e);if(this.o.length)for(s=this.prop.v.length,r=this.data.p*4;r<s;r+=1)l=r%2===0?100:1,h=r%2===0?Math.round(this.prop.v[r]*100):this.prop.v[r],this.o[r-this.data.p*4]!==h&&(this.o[r-this.data.p*4]=h,this._omdf=!e);this._mdf=!e}},M([le],ea);function Yo(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,r,s)}Yo.prototype.initGradientData=function(e,r,s){this.o=at.getProp(e,r.o,0,.01,this),this.s=at.getProp(e,r.s,1,null,this),this.e=at.getProp(e,r.e,1,null,this),this.h=at.getProp(e,r.h||{k:0},0,.01,this),this.a=at.getProp(e,r.a||{k:0},0,Ct,this),this.g=new ea(e,r.g,this),this.style=s,this.stops=[],this.setGradientData(s.pElem,r),this.setGradientOpacity(r,s),this._isAnimated=!!this._isAnimated},Yo.prototype.setGradientData=function(e,r){var s=Ne(),l=Tt(r.t===1?"linearGradient":"radialGradient");l.setAttribute("id",s),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse");var h=[],c,v,x;for(x=r.g.p*4,v=0;v<x;v+=4)c=Tt("stop"),l.appendChild(c),h.push(c);e.setAttribute(r.ty==="gf"?"fill":"stroke","url("+b()+"#"+s+")"),this.gf=l,this.cst=h},Yo.prototype.setGradientOpacity=function(e,r){if(this.g._hasOpacity&&!this.g._collapsable){var s,l,h,c=Tt("mask"),v=Tt("path");c.appendChild(v);var x=Ne(),g=Ne();c.setAttribute("id",g);var k=Tt(e.t===1?"linearGradient":"radialGradient");k.setAttribute("id",x),k.setAttribute("spreadMethod","pad"),k.setAttribute("gradientUnits","userSpaceOnUse"),h=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var L=this.stops;for(l=e.g.p*4;l<h;l+=2)s=Tt("stop"),s.setAttribute("stop-color","rgb(255,255,255)"),k.appendChild(s),L.push(s);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+b()+"#"+x+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",Mp[e.lc||2]),v.setAttribute("stroke-linejoin",Op[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=k,this.ms=c,this.ost=L,this.maskId=g,r.msElem=v}},M([le],Yo);function zp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=at.getProp(e,r.w,0,null,this),this.d=new Cn(e,r.d||{},"svg",this),this.initGradientData(e,r,s),this._isAnimated=!!this._isAnimated}M([Yo,le],zp);function Lb(){this.it=[],this.prevViewData=[],this.gr=Tt("g")}function Rb(e,r,s){this.transform={mProps:e,op:r,container:s},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var Bp=function(r,s,l,h){if(s===0)return"";var c=r.o,v=r.i,x=r.v,g,k=" M"+h.applyToPointStringified(x[0][0],x[0][1]);for(g=1;g<s;g+=1)k+=" C"+h.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+h.applyToPointStringified(v[g][0],v[g][1])+" "+h.applyToPointStringified(x[g][0],x[g][1]);return l&&s&&(k+=" C"+h.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+h.applyToPointStringified(v[0][0],v[0][1])+" "+h.applyToPointStringified(x[0][0],x[0][1]),k+="z"),k},Mb=function(){var e=new ue,r=new ue,s={createRenderFunction:l};function l(H){switch(H.ty){case"fl":return x;case"gf":return k;case"gs":return g;case"st":return L;case"sh":case"el":case"rc":case"sr":return v;case"tr":return h;case"no":return c;default:return null}}function h(H,T,R){(R||T.transform.op._mdf)&&T.transform.container.setAttribute("opacity",T.transform.op.v),(R||T.transform.mProps._mdf)&&T.transform.container.setAttribute("transform",T.transform.mProps.v.to2dCSS())}function c(){}function v(H,T,R){var D,O,V,N,_,E,A=T.styles.length,w=T.lvl,$,U,Y,J;for(E=0;E<A;E+=1){if(N=T.sh._mdf||R,T.styles[E].lvl<w){for(U=r.reset(),Y=w-T.styles[E].lvl,J=T.transformers.length-1;!N&&Y>0;)N=T.transformers[J].mProps._mdf||N,Y-=1,J-=1;if(N)for(Y=w-T.styles[E].lvl,J=T.transformers.length-1;Y>0;)U.multiply(T.transformers[J].mProps.v),Y-=1,J-=1}else U=e;if($=T.sh.paths,O=$._length,N){for(V="",D=0;D<O;D+=1)_=$.shapes[D],_&&_._length&&(V+=Bp(_,_._length,_.c,U));T.caches[E]=V}else V=T.caches[E];T.styles[E].d+=H.hd===!0?"":V,T.styles[E]._mdf=N||T.styles[E]._mdf}}function x(H,T,R){var D=T.style;(T.c._mdf||R)&&D.pElem.setAttribute("fill","rgb("+ne(T.c.v[0])+","+ne(T.c.v[1])+","+ne(T.c.v[2])+")"),(T.o._mdf||R)&&D.pElem.setAttribute("fill-opacity",T.o.v)}function g(H,T,R){k(H,T,R),L(H,T,R)}function k(H,T,R){var D=T.gf,O=T.g._hasOpacity,V=T.s.v,N=T.e.v;if(T.o._mdf||R){var _=H.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(_,T.o.v)}if(T.s._mdf||R){var E=H.t===1?"x1":"cx",A=E==="x1"?"y1":"cy";D.setAttribute(E,V[0]),D.setAttribute(A,V[1]),O&&!T.g._collapsable&&(T.of.setAttribute(E,V[0]),T.of.setAttribute(A,V[1]))}var w,$,U,Y;if(T.g._cmdf||R){w=T.cst;var J=T.g.c;for(U=w.length,$=0;$<U;$+=1)Y=w[$],Y.setAttribute("offset",J[$*4]+"%"),Y.setAttribute("stop-color","rgb("+J[$*4+1]+","+J[$*4+2]+","+J[$*4+3]+")")}if(O&&(T.g._omdf||R)){var yt=T.g.o;for(T.g._collapsable?w=T.cst:w=T.ost,U=w.length,$=0;$<U;$+=1)Y=w[$],T.g._collapsable||Y.setAttribute("offset",yt[$*2]+"%"),Y.setAttribute("stop-opacity",yt[$*2+1])}if(H.t===1)(T.e._mdf||R)&&(D.setAttribute("x2",N[0]),D.setAttribute("y2",N[1]),O&&!T.g._collapsable&&(T.of.setAttribute("x2",N[0]),T.of.setAttribute("y2",N[1])));else{var pt;if((T.s._mdf||T.e._mdf||R)&&(pt=Math.sqrt(Math.pow(V[0]-N[0],2)+Math.pow(V[1]-N[1],2)),D.setAttribute("r",pt),O&&!T.g._collapsable&&T.of.setAttribute("r",pt)),T.e._mdf||T.h._mdf||T.a._mdf||R){pt||(pt=Math.sqrt(Math.pow(V[0]-N[0],2)+Math.pow(V[1]-N[1],2)));var ot=Math.atan2(N[1]-V[1],N[0]-V[0]),xt=T.h.v;xt>=1?xt=.99:xt<=-1&&(xt=-.99);var ct=pt*xt,Q=Math.cos(ot+T.a.v)*ct+V[0],S=Math.sin(ot+T.a.v)*ct+V[1];D.setAttribute("fx",Q),D.setAttribute("fy",S),O&&!T.g._collapsable&&(T.of.setAttribute("fx",Q),T.of.setAttribute("fy",S))}}}function L(H,T,R){var D=T.style,O=T.d;O&&(O._mdf||R)&&O.dashStr&&(D.pElem.setAttribute("stroke-dasharray",O.dashStr),D.pElem.setAttribute("stroke-dashoffset",O.dashoffset[0])),T.c&&(T.c._mdf||R)&&D.pElem.setAttribute("stroke","rgb("+ne(T.c.v[0])+","+ne(T.c.v[1])+","+ne(T.c.v[2])+")"),(T.o._mdf||R)&&D.pElem.setAttribute("stroke-opacity",T.o.v),(T.w._mdf||R)&&(D.pElem.setAttribute("stroke-width",T.w.v),D.msElem&&D.msElem.setAttribute("stroke-width",T.w.v))}return s}();function jt(e,r,s){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,r,s),this.prevViewData=[]}M([Ei,Ho,Qs,Rp,Go,Ti,Js],jt),jt.prototype.initSecondaryElement=function(){},jt.prototype.identityMatrix=new ue,jt.prototype.buildExpressionInterface=function(){},jt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},jt.prototype.filterUniqueShapes=function(){var e,r=this.shapes.length,s,l,h=this.stylesList.length,c,v=[],x=!1;for(l=0;l<h;l+=1){for(c=this.stylesList[l],x=!1,v.length=0,e=0;e<r;e+=1)s=this.shapes[e],s.styles.indexOf(c)!==-1&&(v.push(s),x=s._isAnimated||x);v.length>1&&x&&this.setShapesAsAnimated(v)}},jt.prototype.setShapesAsAnimated=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r].setAsAnimated()},jt.prototype.createStyleElement=function(e,r){var s,l=new Dp(e,r),h=l.pElem;if(e.ty==="st")s=new $p(this,e,l);else if(e.ty==="fl")s=new Fp(this,e,l);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?Yo:zp;s=new c(this,e,l),this.globalData.defs.appendChild(s.gf),s.maskId&&(this.globalData.defs.appendChild(s.ms),this.globalData.defs.appendChild(s.of),h.setAttribute("mask","url("+b()+"#"+s.maskId+")"))}else e.ty==="no"&&(s=new Vp(this,e,l));return(e.ty==="st"||e.ty==="gs")&&(h.setAttribute("stroke-linecap",Mp[e.lc||2]),h.setAttribute("stroke-linejoin",Op[e.lj||2]),h.setAttribute("fill-opacity","0"),e.lj===1&&h.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&h.setAttribute("fill-rule","evenodd"),e.ln&&h.setAttribute("id",e.ln),e.cl&&h.setAttribute("class",e.cl),e.bm&&(h.style["mix-blend-mode"]=_d(e.bm)),this.stylesList.push(l),this.addToAnimatedContents(e,s),s},jt.prototype.createGroupElement=function(e){var r=new Lb;return e.ln&&r.gr.setAttribute("id",e.ln),e.cl&&r.gr.setAttribute("class",e.cl),e.bm&&(r.gr.style["mix-blend-mode"]=_d(e.bm)),r},jt.prototype.createTransformElement=function(e,r){var s=Ed.getTransformProperty(this,e,this),l=new Rb(s,s.o,r);return this.addToAnimatedContents(e,l),l},jt.prototype.createShapeElement=function(e,r,s){var l=4;e.ty==="rc"?l=5:e.ty==="el"?l=6:e.ty==="sr"&&(l=7);var h=yn.getShapeProp(this,e,l,this),c=new Pp(r,s,h);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(e,c),c},jt.prototype.addToAnimatedContents=function(e,r){for(var s=0,l=this.animatedContents.length;s<l;){if(this.animatedContents[s].element===r)return;s+=1}this.animatedContents.push({fn:Mb.createRenderFunction(e),element:r,data:e})},jt.prototype.setElementStyles=function(e){var r=e.styles,s,l=this.stylesList.length;for(s=0;s<l;s+=1)this.stylesList[s].closed||r.push(this.stylesList[s])},jt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,r=this.itemsData.length;for(e=0;e<r;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),r=this.dynamicProperties.length,e=0;e<r;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},jt.prototype.searchShapes=function(e,r,s,l,h,c,v){var x=[].concat(c),g,k=e.length-1,L,H,T=[],R=[],D,O,V;for(g=k;g>=0;g-=1){if(V=this.searchProcessedElement(e[g]),V?r[g]=s[V-1]:e[g]._render=v,e[g].ty==="fl"||e[g].ty==="st"||e[g].ty==="gf"||e[g].ty==="gs"||e[g].ty==="no")V?r[g].style.closed=!1:r[g]=this.createStyleElement(e[g],h),e[g]._render&&r[g].style.pElem.parentNode!==l&&l.appendChild(r[g].style.pElem),T.push(r[g].style);else if(e[g].ty==="gr"){if(!V)r[g]=this.createGroupElement(e[g]);else for(H=r[g].it.length,L=0;L<H;L+=1)r[g].prevViewData[L]=r[g].it[L];this.searchShapes(e[g].it,r[g].it,r[g].prevViewData,r[g].gr,h+1,x,v),e[g]._render&&r[g].gr.parentNode!==l&&l.appendChild(r[g].gr)}else e[g].ty==="tr"?(V||(r[g]=this.createTransformElement(e[g],l)),D=r[g].transform,x.push(D)):e[g].ty==="sh"||e[g].ty==="rc"||e[g].ty==="el"||e[g].ty==="sr"?(V||(r[g]=this.createShapeElement(e[g],x,h)),this.setElementStyles(r[g])):e[g].ty==="tm"||e[g].ty==="rd"||e[g].ty==="ms"||e[g].ty==="pb"||e[g].ty==="zz"||e[g].ty==="op"?(V?(O=r[g],O.closed=!1):(O=bi.getModifier(e[g].ty),O.init(this,e[g]),r[g]=O,this.shapeModifiers.push(O)),R.push(O)):e[g].ty==="rp"&&(V?(O=r[g],O.closed=!0):(O=bi.getModifier(e[g].ty),r[g]=O,O.init(this,e,g,r),this.shapeModifiers.push(O),v=!1),R.push(O));this.addProcessedElement(e[g],g+1)}for(k=T.length,g=0;g<k;g+=1)T[g].closed=!0;for(k=R.length,g=0;g<k;g+=1)R[g].closed=!0},jt.prototype.renderInnerContent=function(){this.renderModifiers();var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<r;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},jt.prototype.renderShape=function(){var e,r=this.animatedContents.length,s;for(e=0;e<r;e+=1)s=this.animatedContents[e],(this._isFirstFrame||s.element._isAnimated)&&s.data!==!0&&s.fn(s.data,s.element,this._isFirstFrame)},jt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Cd(e,r,s,l,h,c){this.o=e,this.sw=r,this.sc=s,this.fc=l,this.m=h,this.p=c,this._mdf={o:!0,sw:!!r,sc:!!s,fc:!!l,m:!0,p:!0}}Cd.prototype.update=function(e,r,s,l,h,c){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var v=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,v=!0),this.sw!==r&&(this.sw=r,this._mdf.sw=!0,v=!0),this.sc!==s&&(this.sc=s,this._mdf.sc=!0,v=!0),this.fc!==l&&(this.fc=l,this._mdf.fc=!0,v=!0),this.m!==h&&(this.m=h,this._mdf.m=!0,v=!0),c.length&&(this.p[0]!==c[0]||this.p[1]!==c[1]||this.p[4]!==c[4]||this.p[5]!==c[5]||this.p[12]!==c[12]||this.p[13]!==c[13])&&(this.p=c,this._mdf.p=!0,v=!0),v};function Ae(e,r){this._frameId=i,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,r.d&&r.d.sid&&(r.d=e.globalData.slotManager.getProp(r.d)),this.data=r,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}Ae.prototype.defaultBoxWidth=[0,0],Ae.prototype.copyData=function(e,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},Ae.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},Ae.prototype.searchProperty=function(){return this.searchKeyframes()},Ae.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Ae.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},Ae.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var r=this.currentData,s=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var l,h=this.effectsSequence.length,c=e||this.data.d.k[this.keysIndex].s;for(l=0;l<h;l+=1)s!==this.keysIndex?c=this.effectsSequence[l](c,c.t):c=this.effectsSequence[l](this.currentData,c.t);r!==c&&this.setCurrentData(c),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},Ae.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,r=this.elem.comp.renderedFrame,s=0,l=e.length;s<=l-1&&!(s===l-1||e[s+1].t>r);)s+=1;return this.keysIndex!==s&&(this.keysIndex=s),this.data.d.k[this.keysIndex].s},Ae.prototype.buildFinalText=function(e){for(var r=[],s=0,l=e.length,h,c,v=!1,x=!1,g="";s<l;)v=x,x=!1,h=e.charCodeAt(s),g=e.charAt(s),Zi.isCombinedCharacter(h)?v=!0:h>=55296&&h<=56319?Zi.isRegionalFlag(e,s)?g=e.substr(s,14):(c=e.charCodeAt(s+1),c>=56320&&c<=57343&&(Zi.isModifier(h,c)?(g=e.substr(s,2),v=!0):Zi.isFlagEmoji(e.substr(s,4))?g=e.substr(s,4):g=e.substr(s,2))):h>56319?(c=e.charCodeAt(s+1),Zi.isVariationSelector(h)&&(v=!0)):Zi.isZeroWidthJoiner(h)&&(v=!0,x=!0),v?(r[r.length-1]+=g,v=!1):r.push(g),s+=g.length;return r},Ae.prototype.completeTextData=function(e){e.__complete=!0;var r=this.elem.globalData.fontManager,s=this.data,l=[],h,c,v,x=0,g,k=s.m.g,L=0,H=0,T=0,R=[],D=0,O=0,V,N,_=r.getFontByName(e.f),E,A=0,w=Cp(_);e.fWeight=w.weight,e.fStyle=w.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),c=e.finalText.length,e.finalLineHeight=e.lh;var $=e.tr/1e3*e.finalSize,U;if(e.sz)for(var Y=!0,J=e.sz[0],yt=e.sz[1],pt,ot;Y;){ot=this.buildFinalText(e.t),pt=0,D=0,c=ot.length,$=e.tr/1e3*e.finalSize;var xt=-1;for(h=0;h<c;h+=1)U=ot[h].charCodeAt(0),v=!1,ot[h]===" "?xt=h:(U===13||U===3)&&(D=0,v=!0,pt+=e.finalLineHeight||e.finalSize*1.2),r.chars?(E=r.getCharData(ot[h],_.fStyle,_.fFamily),A=v?0:E.w*e.finalSize/100):A=r.measureText(ot[h],e.f,e.finalSize),D+A>J&&ot[h]!==" "?(xt===-1?c+=1:h=xt,pt+=e.finalLineHeight||e.finalSize*1.2,ot.splice(h,xt===h?1:0,"\r"),xt=-1,D=0):(D+=A,D+=$);pt+=_.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&yt<pt?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=ot,c=e.finalText.length,Y=!1)}D=-$,A=0;var ct=0,Q;for(h=0;h<c;h+=1)if(v=!1,Q=e.finalText[h],U=Q.charCodeAt(0),U===13||U===3?(ct=0,R.push(D),O=D>O?D:O,D=-2*$,g="",v=!0,T+=1):g=Q,r.chars?(E=r.getCharData(Q,_.fStyle,r.getFontByName(e.f).fFamily),A=v?0:E.w*e.finalSize/100):A=r.measureText(g,e.f,e.finalSize),Q===" "?ct+=A+$:(D+=A+$+ct,ct=0),l.push({l:A,an:A,add:L,n:v,anIndexes:[],val:g,line:T,animatorJustifyOffset:0}),k==2){if(L+=A,g===""||g===" "||h===c-1){for((g===""||g===" ")&&(L-=A);H<=h;)l[H].an=L,l[H].ind=x,l[H].extra=A,H+=1;x+=1,L=0}}else if(k==3){if(L+=A,g===""||h===c-1){for(g===""&&(L-=A);H<=h;)l[H].an=L,l[H].ind=x,l[H].extra=A,H+=1;L=0,x+=1}}else l[x].ind=x,l[x].extra=0,x+=1;if(e.l=l,O=D>O?D:O,R.push(D),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=O,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=R;var S=s.a,P,f;N=S.length;var y,G,F=[];for(V=0;V<N;V+=1){for(P=S[V],P.a.sc&&(e.strokeColorAnim=!0),P.a.sw&&(e.strokeWidthAnim=!0),(P.a.fc||P.a.fh||P.a.fs||P.a.fb)&&(e.fillColorAnim=!0),G=0,y=P.s.b,h=0;h<c;h+=1)f=l[h],f.anIndexes[V]=G,(y==1&&f.val!==""||y==2&&f.val!==""&&f.val!==" "||y==3&&(f.n||f.val==" "||h==c-1)||y==4&&(f.n||h==c-1))&&(P.s.rn===1&&F.push(G),G+=1);s.a[V].s.totalChars=G;var nt=-1,ft;if(P.s.rn===1)for(h=0;h<c;h+=1)f=l[h],nt!=f.anIndexes[V]&&(nt=f.anIndexes[V],ft=F.splice(Math.floor(Math.random()*F.length),1)[0]),f.anIndexes[V]=ft}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=_.ascent*e.finalSize/100},Ae.prototype.updateDocumentData=function(e,r){r=r===void 0?this.keysIndex:r;var s=this.copyData({},this.data.d.k[r].s);s=this.copyData(s,e),this.data.d.k[r].s=s,this.recalculate(r),this.setCurrentData(s),this.elem.addDynamicProperty(this)},Ae.prototype.recalculate=function(e){var r=this.data.d.k[e].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},Ae.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},Ae.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Ob=function(){var e=Math.max,r=Math.min,s=Math.floor;function l(c,v){this._currentTextLength=-1,this.k=!1,this.data=v,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=at.getProp(c,v.s||{k:0},0,0,this),"e"in v?this.e=at.getProp(c,v.e,0,0,this):this.e={v:100},this.o=at.getProp(c,v.o||{k:0},0,0,this),this.xe=at.getProp(c,v.xe||{k:0},0,0,this),this.ne=at.getProp(c,v.ne||{k:0},0,0,this),this.sm=at.getProp(c,v.sm||{k:100},0,0,this),this.a=at.getProp(c,v.a,0,.01,this),this.dynamicProperties.length||this.getValue()}l.prototype={getMult:function(v){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var x=0,g=0,k=1,L=1;this.ne.v>0?x=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?k=1-this.xe.v/100:L=1+this.xe.v/100;var H=Gs.getBezierEasing(x,g,k,L).get,T=0,R=this.finalS,D=this.finalE,O=this.data.sh;if(O===2)D===R?T=v>=D?1:0:T=e(0,r(.5/(D-R)+(v-R)/(D-R),1)),T=H(T);else if(O===3)D===R?T=v>=D?0:1:T=1-e(0,r(.5/(D-R)+(v-R)/(D-R),1)),T=H(T);else if(O===4)D===R?T=0:(T=e(0,r(.5/(D-R)+(v-R)/(D-R),1)),T<.5?T*=2:T=1-2*(T-.5)),T=H(T);else if(O===5){if(D===R)T=0;else{var V=D-R;v=r(e(0,v+.5-R),D-R);var N=-V/2+v,_=V/2;T=Math.sqrt(1-N*N/(_*_))}T=H(T)}else O===6?(D===R?T=0:(v=r(e(0,v+.5-R),D-R),T=(1+Math.cos(Math.PI+Math.PI*2*v/(D-R)))/2),T=H(T)):(v>=s(R)&&(v-R<0?T=e(0,r(r(D,1)-(R-v),1)):T=e(0,r(D-v,1))),T=H(T));if(this.sm.v!==100){var E=this.sm.v*.01;E===0&&(E=1e-8);var A=.5-E*.5;T<A?T=0:(T=(T-A)/E,T>1&&(T=1))}return T*this.a.v},getValue:function(v){this.iterateDynamicProperties(),this._mdf=v||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,v&&this.data.r===2&&(this.e.v=this._currentTextLength);var x=this.data.r===2?1:100/this.data.totalChars,g=this.o.v/x,k=this.s.v/x+g,L=this.e.v/x+g;if(k>L){var H=k;k=L,L=H}this.finalS=k,this.finalE=L}},M([le],l);function h(c,v,x){return new l(c,v,x)}return{getTextSelectorProp:h}}();function Pb(e,r,s){var l={propType:!1},h=at.getProp,c=r.a;this.a={r:c.r?h(e,c.r,0,Ct,s):l,rx:c.rx?h(e,c.rx,0,Ct,s):l,ry:c.ry?h(e,c.ry,0,Ct,s):l,sk:c.sk?h(e,c.sk,0,Ct,s):l,sa:c.sa?h(e,c.sa,0,Ct,s):l,s:c.s?h(e,c.s,1,.01,s):l,a:c.a?h(e,c.a,1,0,s):l,o:c.o?h(e,c.o,0,.01,s):l,p:c.p?h(e,c.p,1,0,s):l,sw:c.sw?h(e,c.sw,0,0,s):l,sc:c.sc?h(e,c.sc,1,0,s):l,fc:c.fc?h(e,c.fc,1,0,s):l,fh:c.fh?h(e,c.fh,0,0,s):l,fs:c.fs?h(e,c.fs,0,.01,s):l,fb:c.fb?h(e,c.fb,0,.01,s):l,t:c.t?h(e,c.t,0,0,s):l},this.s=Ob.getTextSelectorProp(e,r.s,s),this.s.t=r.s.t}function Ji(e,r,s){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=r,this._elem=s,this._animatorsData=tt(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(s)}Ji.prototype.searchProperties=function(){var e,r=this._textData.a.length,s,l=at.getProp;for(e=0;e<r;e+=1)s=this._textData.a[e],this._animatorsData[e]=new Pb(this._elem,s,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:l(this._elem,this._textData.p.a,0,0,this),f:l(this._elem,this._textData.p.f,0,0,this),l:l(this._elem,this._textData.p.l,0,0,this),r:l(this._elem,this._textData.p.r,0,0,this),p:l(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=l(this._elem,this._textData.m.a,1,0,this)},Ji.prototype.getMeasures=function(e,r){if(this.lettersChangedFlag=r,!(!this._mdf&&!this._isFirstFrame&&!r&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var s=this._moreOptions.alignment.v,l=this._animatorsData,h=this._textData,c=this.mHelper,v=this._renderType,x=this.renderedLetters.length,g,k,L,H,T=e.l,R,D,O,V,N,_,E,A,w,$,U,Y,J,yt,pt;if(this._hasMaskedPath){if(pt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var ot=pt.v;this._pathData.r.v&&(ot=ot.reverse()),R={tLength:0,segments:[]},H=ot._length-1;var xt;for(Y=0,L=0;L<H;L+=1)xt=Cr.buildBezierData(ot.v[L],ot.v[L+1],[ot.o[L][0]-ot.v[L][0],ot.o[L][1]-ot.v[L][1]],[ot.i[L+1][0]-ot.v[L+1][0],ot.i[L+1][1]-ot.v[L+1][1]]),R.tLength+=xt.segmentLength,R.segments.push(xt),Y+=xt.segmentLength;L=H,pt.v.c&&(xt=Cr.buildBezierData(ot.v[L],ot.v[0],[ot.o[L][0]-ot.v[L][0],ot.o[L][1]-ot.v[L][1]],[ot.i[0][0]-ot.v[0][0],ot.i[0][1]-ot.v[0][1]]),R.tLength+=xt.segmentLength,R.segments.push(xt),Y+=xt.segmentLength),this._pathData.pi=R}if(R=this._pathData.pi,D=this._pathData.f.v,E=0,_=1,V=0,N=!0,$=R.segments,D<0&&pt.v.c)for(R.tLength<Math.abs(D)&&(D=-Math.abs(D)%R.tLength),E=$.length-1,w=$[E].points,_=w.length-1;D<0;)D+=w[_].partialLength,_-=1,_<0&&(E-=1,w=$[E].points,_=w.length-1);w=$[E].points,A=w[_-1],O=w[_],U=O.partialLength}H=T.length,g=0,k=0;var ct=e.finalSize*1.2*.714,Q=!0,S,P,f,y,G;y=l.length;var F,nt=-1,ft,Et,Nt,Lt=D,Qt=E,Re=_,wr=-1,Me,de,ze,Pt,ht,Wr,Si,jr,Nr="",qr=this.defaultPropsArray,Kr;if(e.j===2||e.j===1){var Oe=0,_i=0,Ii=e.j===2?-.5:-1,gr=0,Ci=!0;for(L=0;L<H;L+=1)if(T[L].n){for(Oe&&(Oe+=_i);gr<L;)T[gr].animatorJustifyOffset=Oe,gr+=1;Oe=0,Ci=!0}else{for(f=0;f<y;f+=1)S=l[f].a,S.t.propType&&(Ci&&e.j===2&&(_i+=S.t.v*Ii),P=l[f].s,F=P.getMult(T[L].anIndexes[f],h.a[f].s.totalChars),F.length?Oe+=S.t.v*F[0]*Ii:Oe+=S.t.v*F*Ii);Ci=!1}for(Oe&&(Oe+=_i);gr<L;)T[gr].animatorJustifyOffset=Oe,gr+=1}for(L=0;L<H;L+=1){if(c.reset(),Me=1,T[L].n)g=0,k+=e.yOffset,k+=Q?1:0,D=Lt,Q=!1,this._hasMaskedPath&&(E=Qt,_=Re,w=$[E].points,A=w[_-1],O=w[_],U=O.partialLength,V=0),Nr="",jr="",Wr="",Kr="",qr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(wr!==T[L].line){switch(e.j){case 1:D+=Y-e.lineWidths[T[L].line];break;case 2:D+=(Y-e.lineWidths[T[L].line])/2;break;default:break}wr=T[L].line}nt!==T[L].ind&&(T[nt]&&(D+=T[nt].extra),D+=T[L].an/2,nt=T[L].ind),D+=s[0]*T[L].an*.005;var br=0;for(f=0;f<y;f+=1)S=l[f].a,S.p.propType&&(P=l[f].s,F=P.getMult(T[L].anIndexes[f],h.a[f].s.totalChars),F.length?br+=S.p.v[0]*F[0]:br+=S.p.v[0]*F),S.a.propType&&(P=l[f].s,F=P.getMult(T[L].anIndexes[f],h.a[f].s.totalChars),F.length?br+=S.a.v[0]*F[0]:br+=S.a.v[0]*F);for(N=!0,this._pathData.a.v&&(D=T[0].an*.5+(Y-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*nt/(H-1),D+=this._pathData.f.v);N;)V+U>=D+br||!w?(J=(D+br-V)/O.partialLength,Et=A.point[0]+(O.point[0]-A.point[0])*J,Nt=A.point[1]+(O.point[1]-A.point[1])*J,c.translate(-s[0]*T[L].an*.005,-(s[1]*ct)*.01),N=!1):w&&(V+=O.partialLength,_+=1,_>=w.length&&(_=0,E+=1,$[E]?w=$[E].points:pt.v.c?(_=0,E=0,w=$[E].points):(V-=O.partialLength,w=null)),w&&(A=O,O=w[_],U=O.partialLength));ft=T[L].an/2-T[L].add,c.translate(-ft,0,0)}else ft=T[L].an/2-T[L].add,c.translate(-ft,0,0),c.translate(-s[0]*T[L].an*.005,-s[1]*ct*.01,0);for(f=0;f<y;f+=1)S=l[f].a,S.t.propType&&(P=l[f].s,F=P.getMult(T[L].anIndexes[f],h.a[f].s.totalChars),(g!==0||e.j!==0)&&(this._hasMaskedPath?F.length?D+=S.t.v*F[0]:D+=S.t.v*F:F.length?g+=S.t.v*F[0]:g+=S.t.v*F));for(e.strokeWidthAnim&&(ze=e.sw||0),e.strokeColorAnim&&(e.sc?de=[e.sc[0],e.sc[1],e.sc[2]]:de=[0,0,0]),e.fillColorAnim&&e.fc&&(Pt=[e.fc[0],e.fc[1],e.fc[2]]),f=0;f<y;f+=1)S=l[f].a,S.a.propType&&(P=l[f].s,F=P.getMult(T[L].anIndexes[f],h.a[f].s.totalChars),F.length?c.translate(-S.a.v[0]*F[0],-S.a.v[1]*F[1],S.a.v[2]*F[2]):c.translate(-S.a.v[0]*F,-S.a.v[1]*F,S.a.v[2]*F));for(f=0;f<y;f+=1)S=l[f].a,S.s.propType&&(P=l[f].s,F=P.getMult(T[L].anIndexes[f],h.a[f].s.totalChars),F.length?c.scale(1+(S.s.v[0]-1)*F[0],1+(S.s.v[1]-1)*F[1],1):c.scale(1+(S.s.v[0]-1)*F,1+(S.s.v[1]-1)*F,1));for(f=0;f<y;f+=1){if(S=l[f].a,P=l[f].s,F=P.getMult(T[L].anIndexes[f],h.a[f].s.totalChars),S.sk.propType&&(F.length?c.skewFromAxis(-S.sk.v*F[0],S.sa.v*F[1]):c.skewFromAxis(-S.sk.v*F,S.sa.v*F)),S.r.propType&&(F.length?c.rotateZ(-S.r.v*F[2]):c.rotateZ(-S.r.v*F)),S.ry.propType&&(F.length?c.rotateY(S.ry.v*F[1]):c.rotateY(S.ry.v*F)),S.rx.propType&&(F.length?c.rotateX(S.rx.v*F[0]):c.rotateX(S.rx.v*F)),S.o.propType&&(F.length?Me+=(S.o.v*F[0]-Me)*F[0]:Me+=(S.o.v*F-Me)*F),e.strokeWidthAnim&&S.sw.propType&&(F.length?ze+=S.sw.v*F[0]:ze+=S.sw.v*F),e.strokeColorAnim&&S.sc.propType)for(ht=0;ht<3;ht+=1)F.length?de[ht]+=(S.sc.v[ht]-de[ht])*F[0]:de[ht]+=(S.sc.v[ht]-de[ht])*F;if(e.fillColorAnim&&e.fc){if(S.fc.propType)for(ht=0;ht<3;ht+=1)F.length?Pt[ht]+=(S.fc.v[ht]-Pt[ht])*F[0]:Pt[ht]+=(S.fc.v[ht]-Pt[ht])*F;S.fh.propType&&(F.length?Pt=tp(Pt,S.fh.v*F[0]):Pt=tp(Pt,S.fh.v*F)),S.fs.propType&&(F.length?Pt=Qh(Pt,S.fs.v*F[0]):Pt=Qh(Pt,S.fs.v*F)),S.fb.propType&&(F.length?Pt=Jh(Pt,S.fb.v*F[0]):Pt=Jh(Pt,S.fb.v*F))}}for(f=0;f<y;f+=1)S=l[f].a,S.p.propType&&(P=l[f].s,F=P.getMult(T[L].anIndexes[f],h.a[f].s.totalChars),this._hasMaskedPath?F.length?c.translate(0,S.p.v[1]*F[0],-S.p.v[2]*F[1]):c.translate(0,S.p.v[1]*F,-S.p.v[2]*F):F.length?c.translate(S.p.v[0]*F[0],S.p.v[1]*F[1],-S.p.v[2]*F[2]):c.translate(S.p.v[0]*F,S.p.v[1]*F,-S.p.v[2]*F));if(e.strokeWidthAnim&&(Wr=ze<0?0:ze),e.strokeColorAnim&&(Si="rgb("+Math.round(de[0]*255)+","+Math.round(de[1]*255)+","+Math.round(de[2]*255)+")"),e.fillColorAnim&&e.fc&&(jr="rgb("+Math.round(Pt[0]*255)+","+Math.round(Pt[1]*255)+","+Math.round(Pt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-e.ls),c.translate(0,s[1]*ct*.01+k,0),this._pathData.p.v){yt=(O.point[1]-A.point[1])/(O.point[0]-A.point[0]);var to=Math.atan(yt)*180/Math.PI;O.point[0]<A.point[0]&&(to+=180),c.rotate(-to*Math.PI/180)}c.translate(Et,Nt,0),D-=s[0]*T[L].an*.005,T[L+1]&&nt!==T[L+1].ind&&(D+=T[L].an/2,D+=e.tr*.001*e.finalSize)}else{switch(c.translate(g,k,0),e.ps&&c.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:c.translate(T[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[L].line]),0,0);break;case 2:c.translate(T[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[L].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(ft,0,0),c.translate(s[0]*T[L].an*.005,s[1]*ct*.01,0),g+=T[L].l+e.tr*.001*e.finalSize}v==="html"?Nr=c.toCSS():v==="svg"?Nr=c.to2dCSS():qr=[c.props[0],c.props[1],c.props[2],c.props[3],c.props[4],c.props[5],c.props[6],c.props[7],c.props[8],c.props[9],c.props[10],c.props[11],c.props[12],c.props[13],c.props[14],c.props[15]],Kr=Me}x<=L?(G=new Cd(Kr,Wr,Si,jr,Nr,qr),this.renderedLetters.push(G),x+=1,this.lettersChangedFlag=!0):(G=this.renderedLetters[L],this.lettersChangedFlag=G.update(Kr,Wr,Si,jr,Nr,qr)||this.lettersChangedFlag)}}},Ji.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Ji.prototype.mHelper=new ue,Ji.prototype.defaultPropsArray=[],M([le],Ji);function Je(){}Je.prototype.initElement=function(e,r,s){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,r,s),this.textProperty=new Ae(this,e.t,this.dynamicProperties),this.textAnimator=new Ji(e.t,this.renderType,this),this.initTransform(e,r,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Je.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},Je.prototype.createPathShape=function(e,r){var s,l=r.length,h,c="";for(s=0;s<l;s+=1)r[s].ty==="sh"&&(h=r[s].ks.k,c+=Bp(h,h.i.length,!0,e));return c},Je.prototype.updateDocumentData=function(e,r){this.textProperty.updateDocumentData(e,r)},Je.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},Je.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},Je.prototype.applyTextPropertiesToMatrix=function(e,r,s,l,h){switch(e.ps&&r.translate(e.ps[0],e.ps[1]+e.ascent,0),r.translate(0,-e.ls,0),e.j){case 1:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s]),0,0);break;case 2:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s])/2,0,0);break;default:break}r.translate(l,h,0)},Je.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},Je.prototype.emptyProp=new Cd,Je.prototype.destroy=function(){},Je.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var Db={shapes:[]};function Gr(e,r,s){this.textSpans=[],this.renderType="svg",this.initElement(e,r,s)}M([Ei,Ho,Qs,Go,Ti,Js,Je],Gr),Gr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Tt("text"))},Gr.prototype.buildTextContents=function(e){for(var r=0,s=e.length,l=[],h="";r<s;)e[r]==="\r"||e[r]===""?(l.push(h),h=""):h+=e[r],r+=1;return l.push(h),l},Gr.prototype.buildShapeData=function(e,r){if(e.shapes&&e.shapes.length){var s=e.shapes[0];if(s.it){var l=s.it[s.it.length-1];l.s&&(l.s.k[0]=r,l.s.k[1]=r)}}return e},Gr.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,r,s=this.textProperty.currentData;this.renderedLetters=tt(s?s.l.length:0),s.fc?this.layerElement.setAttribute("fill",this.buildColor(s.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),s.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(s.sc)),this.layerElement.setAttribute("stroke-width",s.sw)),this.layerElement.setAttribute("font-size",s.finalSize);var l=this.globalData.fontManager.getFontByName(s.f);if(l.fClass)this.layerElement.setAttribute("class",l.fClass);else{this.layerElement.setAttribute("font-family",l.fFamily);var h=s.fWeight,c=s.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",h)}this.layerElement.setAttribute("aria-label",s.t);var v=s.l||[],x=!!this.globalData.fontManager.chars;r=v.length;var g,k=this.mHelper,L="",H=this.data.singleShape,T=0,R=0,D=!0,O=s.tr*.001*s.finalSize;if(H&&!x&&!s.sz){var V=this.textContainer,N="start";switch(s.j){case 1:N="end";break;case 2:N="middle";break;default:N="start";break}V.setAttribute("text-anchor",N),V.setAttribute("letter-spacing",O);var _=this.buildTextContents(s.finalText);for(r=_.length,R=s.ps?s.ps[1]+s.ascent:0,e=0;e<r;e+=1)g=this.textSpans[e].span||Tt("tspan"),g.textContent=_[e],g.setAttribute("x",0),g.setAttribute("y",R),g.style.display="inherit",V.appendChild(g),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=g,R+=s.finalLineHeight;this.layerElement.appendChild(V)}else{var E=this.textSpans.length,A;for(e=0;e<r;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!x||!H||e===0){if(g=E>e?this.textSpans[e].span:Tt(x?"g":"text"),E<=e){if(g.setAttribute("stroke-linecap","butt"),g.setAttribute("stroke-linejoin","round"),g.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=g,x){var w=Tt("g");g.appendChild(w),this.textSpans[e].childSpan=w}this.textSpans[e].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(k.reset(),H&&(v[e].n&&(T=-O,R+=s.yOffset,R+=D?1:0,D=!1),this.applyTextPropertiesToMatrix(s,k,v[e].line,T,R),T+=v[e].l||0,T+=O),x){A=this.globalData.fontManager.getCharData(s.finalText[e],l.fStyle,this.globalData.fontManager.getFontByName(s.f).fFamily);var $;if(A.t===1)$=new ra(A.data,this.globalData,this);else{var U=Db;A.data&&A.data.shapes&&(U=this.buildShapeData(A.data,s.finalSize)),$=new jt(U,this.globalData,this)}if(this.textSpans[e].glyph){var Y=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(Y.layerElement),Y.destroy()}this.textSpans[e].glyph=$,$._debug=!0,$.prepareFrame(0),$.renderFrame(),this.textSpans[e].childSpan.appendChild($.layerElement),A.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+s.finalSize/100+","+s.finalSize/100+")")}else H&&g.setAttribute("transform","translate("+k.props[12]+","+k.props[13]+")"),g.textContent=v[e].val,g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}H&&g&&g.setAttribute("d",L)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},Gr.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},Gr.prototype.getValue=function(){var e,r=this.textSpans.length,s;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)s=this.textSpans[e].glyph,s&&(s.prepareFrame(this.comp.renderedFrame-this.data.st),s._mdf&&(this._mdf=!0))},Gr.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,r,s=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;r=l.length;var h,c,v;for(e=0;e<r;e+=1)l[e].n||(h=s[e],c=this.textSpans[e].span,v=this.textSpans[e].glyph,v&&v.renderFrame(),h._mdf.m&&c.setAttribute("transform",h.m),h._mdf.o&&c.setAttribute("opacity",h.o),h._mdf.sw&&c.setAttribute("stroke-width",h.sw),h._mdf.sc&&c.setAttribute("stroke",h.sc),h._mdf.fc&&c.setAttribute("fill",h.fc))}};function kd(e,r,s){this.initElement(e,r,s)}M([ta],kd),kd.prototype.createContent=function(){var e=Tt("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function Ai(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initFrame(),this.initTransform(e,r,s),this.initHierarchy()}Ai.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},Ai.prototype.renderFrame=function(){},Ai.prototype.getBaseElement=function(){return null},Ai.prototype.destroy=function(){},Ai.prototype.sourceRectAtTime=function(){},Ai.prototype.hide=function(){},M([Ei,Ho,Go,Ti],Ai);function ee(){}M([fe],ee),ee.prototype.createNull=function(e){return new Ai(e,this.globalData,this)},ee.prototype.createShape=function(e){return new jt(e,this.globalData,this)},ee.prototype.createText=function(e){return new Gr(e,this.globalData,this)},ee.prototype.createImage=function(e){return new ta(e,this.globalData,this)},ee.prototype.createSolid=function(e){return new kd(e,this.globalData,this)},ee.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var r=this.globalData.defs;this.setupGlobalData(e,r),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var s=Tt("clipPath"),l=Tt("rect");l.setAttribute("width",e.w),l.setAttribute("height",e.h),l.setAttribute("x",0),l.setAttribute("y",0);var h=Ne();s.setAttribute("id",h),s.appendChild(l),this.layerElement.setAttribute("clip-path","url("+b()+"#"+h+")"),r.appendChild(s),this.layers=e.layers,this.elements=tt(e.layers.length)},ee.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,r=this.layers?this.layers.length:0;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},ee.prototype.updateContainerSize=function(){},ee.prototype.findIndexByInd=function(e){var r=0,s=this.layers.length;for(r=0;r<s;r+=1)if(this.layers[r].ind===e)return r;return-1},ee.prototype.buildItem=function(e){var r=this.elements;if(!(r[e]||this.layers[e].ty===99)){r[e]=!0;var s=this.createItem(this.layers[e]);if(r[e]=s,pn()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(s),s.initExpressions()),this.appendElementInPos(s,e),this.layers[e].tt){var l="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(l===-1)return;if(!this.elements[l]||this.elements[l]===!0)this.buildItem(l),this.addPendingElement(s);else{var h=r[l],c=h.getMatte(this.layers[e].tt);s.setMatte(c)}}}},ee.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var r=0,s=this.elements.length;r<s;){if(this.elements[r]===e){var l="tp"in e.data?this.findIndexByInd(e.data.tp):r-1,h=this.elements[l],c=h.getMatte(this.layers[r].tt);e.setMatte(c);break}r+=1}}},ee.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var r,s=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=s-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf)for(r=0;r<s;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame()}},ee.prototype.appendElementInPos=function(e,r){var s=e.getBaseElement();if(s){for(var l=0,h;l<r;)this.elements[l]&&this.elements[l]!==!0&&this.elements[l].getBaseElement()&&(h=this.elements[l].getBaseElement()),l+=1;h?this.layerElement.insertBefore(s,h):this.layerElement.appendChild(s)}},ee.prototype.hide=function(){this.layerElement.style.display="none"},ee.prototype.show=function(){this.layerElement.style.display="block"};function Yr(){}M([Ei,Ho,Go,Ti,Js],Yr),Yr.prototype.initElement=function(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initTransform(e,r,s),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!r.progressiveLoad)&&this.buildAllItems(),this.hide()},Yr.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var r=this.tm.v;r===this.data.op&&(r=this.data.op-1),this.renderedFrame=r}var s,l=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),s=l-1;s>=0;s-=1)(this.completeLayers||this.elements[s])&&(this.elements[s].prepareFrame(this.renderedFrame-this.layers[s].st),this.elements[s]._mdf&&(this._mdf=!0))}},Yr.prototype.renderInnerContent=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},Yr.prototype.setElements=function(e){this.elements=e},Yr.prototype.getElements=function(){return this.elements},Yr.prototype.destroyElements=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy()},Yr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function ra(e,r,s){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?tt(this.layers.length):[],this.initElement(e,r,s),this.tm=e.tm?at.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0}}M([ee,Yr,Qs],ra),ra.prototype.createComp=function(e){return new ra(e,this.globalData,this)};function wd(e,r){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=Tt("svg");var s="";if(r&&r.title){var l=Tt("title"),h=Ne();l.setAttribute("id",h),l.textContent=r.title,this.svgElement.appendChild(l),s+=h}if(r&&r.description){var c=Tt("desc"),v=Ne();c.setAttribute("id",v),c.textContent=r.description,this.svgElement.appendChild(c),s+=" "+v}s&&this.svgElement.setAttribute("aria-labelledby",s);var x=Tt("defs");this.svgElement.appendChild(x);var g=Tt("g");this.svgElement.appendChild(g),this.layerElement=g,this.renderConfig={preserveAspectRatio:r&&r.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:r&&r.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:r&&r.contentVisibility||"visible",progressiveLoad:r&&r.progressiveLoad||!1,hideOnTransparent:!(r&&r.hideOnTransparent===!1),viewBoxOnly:r&&r.viewBoxOnly||!1,viewBoxSize:r&&r.viewBoxSize||!1,className:r&&r.className||"",id:r&&r.id||"",focusable:r&&r.focusable,filterSize:{width:r&&r.filterSize&&r.filterSize.width||"100%",height:r&&r.filterSize&&r.filterSize.height||"100%",x:r&&r.filterSize&&r.filterSize.x||"0%",y:r&&r.filterSize&&r.filterSize.y||"0%"},width:r&&r.width,height:r&&r.height,runExpressions:!r||r.runExpressions===void 0||r.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:x,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return M([ee],wd),wd.prototype.createComp=function(e){return new ra(e,this.globalData,this)},Wg("svg",wd),bi.registerModifier("tm",vr),bi.registerModifier("pb",Ys),bi.registerModifier("rp",kr),bi.registerModifier("rd",Ws),bi.registerModifier("zz",qs),bi.registerModifier("op",Ks),Ot})});var Ln=globalThis,Rn=Ln.ShadowRoot&&(Ln.ShadyCSS===void 0||Ln.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ld=Symbol(),Hp=new WeakMap,ia=class{constructor(o,t,i){if(this._$cssResult$=!0,i!==Ld)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=t}get styleSheet(){let o=this.o,t=this.t;if(Rn&&o===void 0){let i=t!==void 0&&t.length===1;i&&(o=Hp.get(t)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),i&&Hp.set(t,o))}return o}toString(){return this.cssText}},Gp=n=>new ia(typeof n=="string"?n:n+"",void 0,Ld),z=(n,...o)=>{let t=n.length===1?n[0]:o.reduce((i,a,d)=>i+(m=>{if(m._$cssResult$===!0)return m.cssText;if(typeof m=="number")return m;throw Error("Value passed to 'css' function must be a 'css' function result: "+m+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+n[d+1],n[0]);return new ia(t,n,Ld)},Rd=(n,o)=>{if(Rn)n.adoptedStyleSheets=o.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of o){let i=document.createElement("style"),a=Ln.litNonce;a!==void 0&&i.setAttribute("nonce",a),i.textContent=t.cssText,n.appendChild(i)}},Mn=Rn?n=>n:n=>n instanceof CSSStyleSheet?(o=>{let t="";for(let i of o.cssRules)t+=i.cssText;return Gp(t)})(n):n;var{is:Gb,defineProperty:Yb,getOwnPropertyDescriptor:Wb,getOwnPropertyNames:jb,getOwnPropertySymbols:qb,getPrototypeOf:Kb}=Object,ki=globalThis,Yp=ki.trustedTypes,Xb=Yp?Yp.emptyScript:"",Md=ki.reactiveElementPolyfillSupport,oa=(n,o)=>n,sa={toAttribute(n,o){switch(o){case Boolean:n=n?Xb:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,o){let t=n;switch(o){case Boolean:t=n!==null;break;case Number:t=n===null?null:Number(n);break;case Object:case Array:try{t=JSON.parse(n)}catch{t=null}}return t}},On=(n,o)=>!Gb(n,o),Wp={attribute:!0,type:String,converter:sa,reflect:!1,hasChanged:On},jp,qp;(jp=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(qp=ki.litPropertyMetadata)!=null||(ki.litPropertyMetadata=new WeakMap);var Xr=class extends HTMLElement{static addInitializer(o){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(o)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(o,t=Wp){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(o,t),!t.noAccessor){let i=Symbol(),a=this.getPropertyDescriptor(o,i,t);a!==void 0&&Yb(this.prototype,o,a)}}static getPropertyDescriptor(o,t,i){var m;let{get:a,set:d}=(m=Wb(this.prototype,o))!=null?m:{get(){return this[t]},set(b){this[t]=b}};return{get(){return a==null?void 0:a.call(this)},set(b){let C=a==null?void 0:a.call(this);d.call(this,b),this.requestUpdate(o,C,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){var t;return(t=this.elementProperties.get(o))!=null?t:Wp}static _$Ei(){if(this.hasOwnProperty(oa("elementProperties")))return;let o=Kb(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(oa("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(oa("properties"))){let t=this.properties,i=[...jb(t),...qb(t)];for(let a of i)this.createProperty(a,t[a])}let o=this[Symbol.metadata];if(o!==null){let t=litPropertyMetadata.get(o);if(t!==void 0)for(let[i,a]of t)this.elementProperties.set(i,a)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let a=this._$Eu(t,i);a!==void 0&&this._$Eh.set(a,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){let t=[];if(Array.isArray(o)){let i=new Set(o.flat(1/0).reverse());for(let a of i)t.unshift(Mn(a))}else o!==void 0&&t.push(Mn(o));return t}static _$Eu(o,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof o=="string"?o.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var o;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(o=this.constructor.l)==null||o.forEach(t=>t(this))}addController(o){var t,i;((t=this._$EO)!=null?t:this._$EO=new Set).add(o),this.renderRoot!==void 0&&this.isConnected&&((i=o.hostConnected)==null||i.call(o))}removeController(o){var t;(t=this._$EO)==null||t.delete(o)}_$E_(){let o=new Map,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(o.set(i,this[i]),delete this[i]);o.size>0&&(this._$Ep=o)}createRenderRoot(){var t;let o=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return Rd(o,this.constructor.elementStyles),o}connectedCallback(){var o,t;(o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(i=>{var a;return(a=i.hostConnected)==null?void 0:a.call(i)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(t=>{var i;return(i=t.hostDisconnected)==null?void 0:i.call(t)})}attributeChangedCallback(o,t,i){this._$AK(o,i)}_$EC(o,t){var d;let i=this.constructor.elementProperties.get(o),a=this.constructor._$Eu(o,i);if(a!==void 0&&i.reflect===!0){let m=(((d=i.converter)==null?void 0:d.toAttribute)!==void 0?i.converter:sa).toAttribute(t,i.type);this._$Em=o,m==null?this.removeAttribute(a):this.setAttribute(a,m),this._$Em=null}}_$AK(o,t){var d;let i=this.constructor,a=i._$Eh.get(o);if(a!==void 0&&this._$Em!==a){let m=i.getPropertyOptions(a),b=typeof m.converter=="function"?{fromAttribute:m.converter}:((d=m.converter)==null?void 0:d.fromAttribute)!==void 0?m.converter:sa;this._$Em=a,this[a]=b.fromAttribute(t,m.type),this._$Em=null}}requestUpdate(o,t,i){var a;if(o!==void 0){if(i!=null||(i=this.constructor.getPropertyOptions(o)),!((a=i.hasChanged)!=null?a:On)(this[o],t))return;this.P(o,t,i)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,t,i){var a;this._$AL.has(o)||this._$AL.set(o,t),i.reflect===!0&&this._$Em!==o&&((a=this._$Ej)!=null?a:this._$Ej=new Set).add(o)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let o=this.scheduleUpdate();return o!=null&&await o,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i,a;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((i=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,b]of this._$Ep)this[m]=b;this._$Ep=void 0}let d=this.constructor.elementProperties;if(d.size>0)for(let[m,b]of d)b.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],b)}let o=!1,t=this._$AL;try{o=this.shouldUpdate(t),o?(this.willUpdate(t),(a=this._$EO)==null||a.forEach(d=>{var m;return(m=d.hostUpdate)==null?void 0:m.call(d)}),this.update(t)):this._$EU()}catch(d){throw o=!1,this._$EU(),d}o&&this._$AE(t)}willUpdate(o){}_$AE(o){var t;(t=this._$EO)==null||t.forEach(i=>{var a;return(a=i.hostUpdated)==null?void 0:a.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(o)),this.updated(o)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(o){return!0}update(o){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(o){}firstUpdated(o){}},Kp;Xr.elementStyles=[],Xr.shadowRootOptions={mode:"open"},Xr[oa("elementProperties")]=new Map,Xr[oa("finalized")]=new Map,Md==null||Md({ReactiveElement:Xr}),((Kp=ki.reactiveElementVersions)!=null?Kp:ki.reactiveElementVersions=[]).push("2.0.4");var na=globalThis,Pn=na.trustedTypes,Xp=Pn?Pn.createPolicy("lit-html",{createHTML:n=>n}):void 0,Dd="$lit$",Zr=`lit$${Math.random().toFixed(9).slice(2)}$`,$d="?"+Zr,Zb=`<${$d}>`,io=document,la=()=>io.createComment(""),da=n=>n===null||typeof n!="object"&&typeof n!="function",Fd=Array.isArray,im=n=>Fd(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",Od=`[
3
- \f\r]`,aa=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zp=/-->/g,Qp=/>/g,eo=RegExp(`>|${Od}(?:([^\\s"'>=/]+)(${Od}*=${Od}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Jp=/'/g,tm=/"/g,om=/^(?:script|style|textarea|title)$/i,Vd=n=>(o,...t)=>({_$litType$:n,strings:o,values:t}),I=Vd(1),TA=Vd(2),xA=Vd(3),ve=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),em=new WeakMap,ro=io.createTreeWalker(io,129);function sm(n,o){if(!Fd(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xp!==void 0?Xp.createHTML(o):o}var am=(n,o)=>{let t=n.length-1,i=[],a,d=o===2?"<svg>":o===3?"<math>":"",m=aa;for(let b=0;b<t;b++){let C=n[b],M,W,K=-1,it=0;for(;it<C.length&&(m.lastIndex=it,W=m.exec(C),W!==null);)it=m.lastIndex,m===aa?W[1]==="!--"?m=Zp:W[1]!==void 0?m=Qp:W[2]!==void 0?(om.test(W[2])&&(a=RegExp("</"+W[2],"g")),m=eo):W[3]!==void 0&&(m=eo):m===eo?W[0]===">"?(m=a!=null?a:aa,K=-1):W[1]===void 0?K=-2:(K=m.lastIndex-W[2].length,M=W[1],m=W[3]===void 0?eo:W[3]==='"'?tm:Jp):m===tm||m===Jp?m=eo:m===Zp||m===Qp?m=aa:(m=eo,a=void 0);let X=m===eo&&n[b+1].startsWith("/>")?" ":"";d+=m===aa?C+Zb:K>=0?(i.push(M),C.slice(0,K)+Dd+C.slice(K)+Zr+X):C+Zr+(K===-2?b:X)}return[sm(n,d+(n[t]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),i]},ca=class n{constructor({strings:o,_$litType$:t},i){let a;this.parts=[];let d=0,m=0,b=o.length-1,C=this.parts,[M,W]=am(o,t);if(this.el=n.createElement(M,i),ro.currentNode=this.el.content,t===2||t===3){let K=this.el.content.firstChild;K.replaceWith(...K.childNodes)}for(;(a=ro.nextNode())!==null&&C.length<b;){if(a.nodeType===1){if(a.hasAttributes())for(let K of a.getAttributeNames())if(K.endsWith(Dd)){let it=W[m++],X=a.getAttribute(K).split(Zr),tt=/([.?@])?(.*)/.exec(it);C.push({type:1,index:d,name:tt[2],strings:X,ctor:tt[1]==="."?$n:tt[1]==="?"?Fn:tt[1]==="@"?Vn:so}),a.removeAttribute(K)}else K.startsWith(Zr)&&(C.push({type:6,index:d}),a.removeAttribute(K));if(om.test(a.tagName)){let K=a.textContent.split(Zr),it=K.length-1;if(it>0){a.textContent=Pn?Pn.emptyScript:"";for(let X=0;X<it;X++)a.append(K[X],la()),ro.nextNode(),C.push({type:2,index:++d});a.append(K[it],la())}}}else if(a.nodeType===8)if(a.data===$d)C.push({type:2,index:d});else{let K=-1;for(;(K=a.data.indexOf(Zr,K+1))!==-1;)C.push({type:7,index:d}),K+=Zr.length-1}d++}}static createElement(o,t){let i=io.createElement("template");return i.innerHTML=o,i}};function oo(n,o,t=n,i){var m,b,C;if(o===ve)return o;let a=i!==void 0?(m=t.o)==null?void 0:m[i]:t.l,d=da(o)?void 0:o._$litDirective$;return(a==null?void 0:a.constructor)!==d&&((b=a==null?void 0:a._$AO)==null||b.call(a,!1),d===void 0?a=void 0:(a=new d(n),a._$AT(n,t,i)),i!==void 0?((C=t.o)!=null?C:t.o=[])[i]=a:t.l=a),a!==void 0&&(o=oo(n,a._$AS(n,o.values),a,i)),o}var Dn=class{constructor(o,t){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){var M;let{el:{content:t},parts:i}=this._$AD,a=((M=o==null?void 0:o.creationScope)!=null?M:io).importNode(t,!0);ro.currentNode=a;let d=ro.nextNode(),m=0,b=0,C=i[0];for(;C!==void 0;){if(m===C.index){let W;C.type===2?W=new Wo(d,d.nextSibling,this,o):C.type===1?W=new C.ctor(d,C.name,C.strings,this,o):C.type===6&&(W=new zn(d,this,o)),this._$AV.push(W),C=i[++b]}m!==(C==null?void 0:C.index)&&(d=ro.nextNode(),m++)}return ro.currentNode=io,a}p(o){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,t),t+=i.strings.length-2):i._$AI(o[t])),t++}},Wo=class n{get _$AU(){var o,t;return(t=(o=this._$AM)==null?void 0:o._$AU)!=null?t:this.v}constructor(o,t,i,a){var d;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=o,this._$AB=t,this._$AM=i,this.options=a,this.v=(d=a==null?void 0:a.isConnected)!=null?d:!0}get parentNode(){let o=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(o==null?void 0:o.nodeType)===11&&(o=t.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,t=this){o=oo(this,o,t),da(o)?o===j||o==null||o===""?(this._$AH!==j&&this._$AR(),this._$AH=j):o!==this._$AH&&o!==ve&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):im(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==j&&da(this._$AH)?this._$AA.nextSibling.data=o:this.T(io.createTextNode(o)),this._$AH=o}$(o){var d;let{values:t,_$litType$:i}=o,a=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=ca.createElement(sm(i.h,i.h[0]),this.options)),i);if(((d=this._$AH)==null?void 0:d._$AD)===a)this._$AH.p(t);else{let m=new Dn(a,this),b=m.u(this.options);m.p(t),this.T(b),this._$AH=m}}_$AC(o){let t=em.get(o.strings);return t===void 0&&em.set(o.strings,t=new ca(o)),t}k(o){Fd(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,a=0;for(let d of o)a===t.length?t.push(i=new n(this.O(la()),this.O(la()),this,this.options)):i=t[a],i._$AI(d),a++;a<t.length&&(this._$AR(i&&i._$AB.nextSibling,a),t.length=a)}_$AR(o=this._$AA.nextSibling,t){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,t);o&&o!==this._$AB;){let a=o.nextSibling;o.remove(),o=a}}setConnected(o){var t;this._$AM===void 0&&(this.v=o,(t=this._$AP)==null||t.call(this,o))}},so=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,t,i,a,d){this.type=1,this._$AH=j,this._$AN=void 0,this.element=o,this.name=t,this._$AM=a,this.options=d,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=j}_$AI(o,t=this,i,a){let d=this.strings,m=!1;if(d===void 0)o=oo(this,o,t,0),m=!da(o)||o!==this._$AH&&o!==ve,m&&(this._$AH=o);else{let b=o,C,M;for(o=d[0],C=0;C<d.length-1;C++)M=oo(this,b[i+C],t,C),M===ve&&(M=this._$AH[C]),m||(m=!da(M)||M!==this._$AH[C]),M===j?o=j:o!==j&&(o+=(M!=null?M:"")+d[C+1]),this._$AH[C]=M}m&&!a&&this.j(o)}j(o){o===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o!=null?o:"")}},$n=class extends so{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===j?void 0:o}},Fn=class extends so{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==j)}},Vn=class extends so{constructor(o,t,i,a,d){super(o,t,i,a,d),this.type=5}_$AI(o,t=this){var m;if((o=(m=oo(this,o,t,0))!=null?m:j)===ve)return;let i=this._$AH,a=o===j&&i!==j||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,d=o!==j&&(i===j||a);a&&this.element.removeEventListener(this.name,this,i),d&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){var t,i;typeof this._$AH=="function"?this._$AH.call((i=(t=this.options)==null?void 0:t.host)!=null?i:this.element,o):this._$AH.handleEvent(o)}},zn=class{constructor(o,t,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){oo(this,o)}},nm={M:Dd,P:Zr,A:$d,C:1,L:am,R:Dn,D:im,V:oo,I:Wo,H:so,N:Fn,U:Vn,B:$n,F:zn},Pd=na.litHtmlPolyfillSupport,rm;Pd==null||Pd(ca,Wo),((rm=na.litHtmlVersions)!=null?rm:na.litHtmlVersions=[]).push("3.2.0");var lm=(n,o,t)=>{var d,m;let i=(d=t==null?void 0:t.renderBefore)!=null?d:o,a=i._$litPart$;if(a===void 0){let b=(m=t==null?void 0:t.renderBefore)!=null?m:null;i._$litPart$=a=new Wo(o.insertBefore(la(),b),b,void 0,t!=null?t:{})}return a._$AI(n),a};var wi=class extends Xr{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,i;let o=super.createRenderRoot();return(i=(t=this.renderOptions).renderBefore)!=null||(t.renderBefore=o.firstChild),o}update(o){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(o),this.o=lm(t,this.renderRoot,this.renderOptions)}connectedCallback(){var o;super.connectedCallback(),(o=this.o)==null||o.setConnected(!0)}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this.o)==null||o.setConnected(!1)}render(){return ve}},dm;wi._$litElement$=!0,wi.finalized=!0,(dm=globalThis.litElementHydrateSupport)==null||dm.call(globalThis,{LitElement:wi});var zd=globalThis.litElementPolyfillSupport;zd==null||zd({LitElement:wi});var cm;((cm=globalThis.litElementVersions)!=null?cm:globalThis.litElementVersions=[]).push("4.1.0");var Qb={attribute:!0,type:String,converter:sa,reflect:!1,hasChanged:On},Jb=(n=Qb,o,t)=>{let{kind:i,metadata:a}=t,d=globalThis.litPropertyMetadata.get(a);if(d===void 0&&globalThis.litPropertyMetadata.set(a,d=new Map),d.set(t.name,n),i==="accessor"){let{name:m}=t;return{set(b){let C=o.get.call(this);o.set.call(this,b),this.requestUpdate(m,C,n)},init(b){return b!==void 0&&this.P(m,void 0,n),b}}}if(i==="setter"){let{name:m}=t;return function(b){let C=this[m];o.call(this,b),this.requestUpdate(m,C,n)}}throw Error("Unsupported decorator location: "+i)};function u(n){return(o,t)=>typeof t=="object"?Jb(n,o,t):((i,a,d)=>{let m=a.hasOwnProperty(d);return a.constructor.createProperty(d,m?{...i,wrapped:!0}:i),m?Object.getOwnPropertyDescriptor(a,d):void 0})(n,o,t)}function gt(n){return u({...n,state:!0,attribute:!1})}var Lr=(n,o,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof o!="object"&&Object.defineProperty(n,o,t),t);function tr(n,o){return(t,i,a)=>{let d=m=>{var b,C;return(C=(b=m.renderRoot)==null?void 0:b.querySelector(n))!=null?C:null};if(o){let{get:m,set:b}=typeof i=="object"?t:a!=null?a:(()=>{let C=Symbol();return{get(){return this[C]},set(M){this[C]=M}}})();return Lr(t,i,{get(){let C=m.call(this);return C===void 0&&(C=d(this),(C!==null||this.hasUpdated)&&b.call(this,C)),C}})}return Lr(t,i,{get(){return d(this)}})}}var Bd;function hm(n){return(o,t)=>Lr(o,t,{get(){var i;return((i=this.renderRoot)!=null?i:Bd!=null?Bd:Bd=document.createDocumentFragment()).querySelectorAll(n)}})}function Rt(n){return(o,t)=>{let{slot:i,selector:a}=n!=null?n:{},d="slot"+(i?`[name=${i}]`:":not([name])");return Lr(o,t,{get(){var C,M;let m=(C=this.renderRoot)==null?void 0:C.querySelector(d),b=(M=m==null?void 0:m.assignedElements(n))!=null?M:[];return a===void 0?b:b.filter(W=>W.matches(a))}})}}function Bn(n){return(o,t)=>{let{slot:i}=n!=null?n:{},a="slot"+(i?`[name=${i}]`:":not([name])");return Lr(o,t,{get(){var m,b;let d=(m=this.renderRoot)==null?void 0:m.querySelector(a);return(b=d==null?void 0:d.assignedNodes(n))!=null?b:[]}})}}var ty={PREFIX:"mdc",SEPARATOR:"-"},ey={NAMESPACE:ty},Ud=ey;var ry=n=>[Ud.NAMESPACE.PREFIX,n].join(Ud.NAMESPACE.SEPARATOR),B={constructTagName:ry};var et={ALERTDIALOG:"alertdialog",BUTTON:"button",CHECKBOX:"checkbox",COMBOBOX:"combobox",DIALOG:"dialog",GROUP:"group",HEADING:"heading",IMG:"img",LIST:"list",LISTBOX:"listbox",LISTITEM:"listitem",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",NAVIGATION:"navigation",OPTION:"option",PRESENTATION:"presentation",PROGRESSBAR:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",REGION:"region",TAB:"tab",TABLIST:"tablist",TOOLTIP:"tooltip"};var pm=B.constructTagName("buttonsimple"),ao={12:12,14:14,16:16,20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},jo={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},ha={SIZE:ao[32],TYPE:jo.BUTTON,ROLE:et.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var Qr=B.constructTagName("button"),Dt={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},pa={40:40,32:32,28:28,24:24},er={64:64,52:52,20:20,...pa},no={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},qo={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},Pe={VARIANT:Dt.PRIMARY,SIZE:pa[32],COLOR:no.DEFAULT,TYPE_INTERNAL:qo.ICON,TYPE:jo.BUTTON,INVERTED:!1};var Un=n=>{class o extends n{constructor(){super(...arguments);this.variant=Pe.VARIANT;this.color=Pe.COLOR;this.typeInternal=Pe.TYPE_INTERNAL}setVariant(a){this.setAttribute("variant",Object.values(Dt).includes(a)?a:Pe.VARIANT)}setColor(a){!Object.values(no).includes(a)||this.variant===Dt.TERTIARY?this.setAttribute("color",`${Pe.COLOR}`):this.setAttribute("color",a)}setSize(a){let m=this.typeInternal===qo.ICON?Object.values(er).includes(a)&&!(a===er[20]&&this.variant!==Dt.TERTIARY):Object.values(pa).includes(a);this.setAttribute("size",m?`${a}`:`${Pe.SIZE}`)}inferButtonType(){var M,W,K,it,X,tt;let a=(W=(M=this.shadowRoot)==null?void 0:M.querySelector("slot:not([name])"))==null?void 0:W.assignedNodes().filter(lt=>{var dt;return lt.nodeType!==Node.TEXT_NODE||((dt=lt.textContent)==null?void 0:dt.trim())}).length,d=(it=(K=this.shadowRoot)==null?void 0:K.querySelector('slot[name="prefix"]'))==null?void 0:it.assignedNodes().filter(lt=>{var dt;return lt.nodeType!==Node.TEXT_NODE||((dt=lt.textContent)==null?void 0:dt.trim())}).length,m=this.prefixIcon||d&&d>0,b=(tt=(X=this.shadowRoot)==null?void 0:X.querySelector('slot[name="postfix"]'))==null?void 0:tt.assignedNodes().filter(lt=>{var dt;return lt.nodeType!==Node.TEXT_NODE||((dt=lt.textContent)==null?void 0:dt.trim())}).length,C=this.postfixIcon||b&&b>0;a&&(m||C)?(this.typeInternal=qo.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!a&&(m||C)?(this.typeInternal=qo.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=qo.PILL,this.setAttribute("data-btn-type","pill"))}}return p([u({type:String,attribute:"prefix-icon",reflect:!0})],o.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon",reflect:!0})],o.prototype,"postfixIcon",2),p([u({type:String})],o.prototype,"variant",2),p([u({type:String})],o.prototype,"color",2),p([gt()],o.prototype,"typeInternal",2),o};var mm=z`
1
+ "use strict";(()=>{var Fb=Object.create;var Nc=Object.defineProperty;var Bp=Object.getOwnPropertyDescriptor;var $b=Object.getOwnPropertyNames;var zb=Object.getPrototypeOf,Vb=Object.prototype.hasOwnProperty;var Bb=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports);var Ub=(n,o,t,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of $b(o))!Vb.call(n,a)&&a!==t&&Nc(n,a,{get:()=>o[a],enumerable:!(i=Bp(o,a))||i.enumerable});return n};var Hb=(n,o,t)=>(t=n!=null?Fb(zb(n)):{},Ub(o||!n||!n.__esModule?Nc(t,"default",{value:n,enumerable:!0}):t,n));var p=(n,o,t,i)=>{for(var a=i>1?void 0:i?Bp(o,t):o,c=n.length-1,m;c>=0;c--)(m=n[c])&&(a=(i?m(o,t,a):m(a))||a);return i&&a&&Nc(o,t,a),a};var zm=Bb((Ta,sl)=>{typeof navigator<"u"&&function(n,o){typeof Ta=="object"&&typeof sl<"u"?sl.exports=o():typeof define=="function"&&define.amd?define(o):(n=typeof globalThis<"u"?globalThis:n||self,n.lottie=o())}(Ta,function(){"use strict";var n="http://www.w3.org/2000/svg",o="",t=!1,i=-999999,a=function(r){t=!!r},c=function(){return t},m=function(r){o=r},b=function(){return o};function C(e){return document.createElement(e)}function L(e,r){var s,l=e.length,h;for(s=0;s<l;s+=1){h=e[s].prototype;for(var d in h)Object.prototype.hasOwnProperty.call(h,d)&&(r.prototype[d]=h[d])}}function W(e,r){return Object.getOwnPropertyDescriptor(e,r)}function q(e){function r(){}return r.prototype=e,r}var it=function(){function e(r){this.audios=[],this.audioFactory=r,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(s){this.audios.push(s)},pause:function(){var s,l=this.audios.length;for(s=0;s<l;s+=1)this.audios[s].pause()},resume:function(){var s,l=this.audios.length;for(s=0;s<l;s+=1)this.audios[s].resume()},setRate:function(s){var l,h=this.audios.length;for(l=0;l<h;l+=1)this.audios[l].setRate(s)},createAudio:function(s){return this.audioFactory?this.audioFactory(s):window.Howl?new window.Howl({src:[s]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(s){this.audioFactory=s},setVolume:function(s){this._volume=s,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var s,l=this.audios.length;for(s=0;s<l;s+=1)this.audios[s].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),X=function(){function e(s,l){var h=0,d=[],v;switch(s){case"int16":case"uint8c":v=1;break;default:v=1.1;break}for(h=0;h<l;h+=1)d.push(v);return d}function r(s,l){return s==="float32"?new Float32Array(l):s==="int16"?new Int16Array(l):s==="uint8c"?new Uint8ClampedArray(l):e(s,l)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:e}();function tt(e){return Array.apply(null,{length:e})}function lt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?lt=function(s){return typeof s}:lt=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},lt(e)}var ct=!0,vt=null,At=null,wt="",Wt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Ft=!1,Bt=Math.pow,Xt=Math.sqrt,le=Math.floor,pr=Math.max,we=Math.min,je={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r,s=e.length;for(r=0;r<s;r+=1)je[e[r]]=Math[e[r]]})();function mr(){return{}}je.random=Math.random,je.abs=function(e){var r=lt(e);if(r==="object"&&e.length){var s=tt(e.length),l,h=e.length;for(l=0;l<h;l+=1)s[l]=Math.abs(e[l]);return s}return Math.abs(e)};var ur=150,Ct=Math.PI/180,pe=.5519;function Ke(e){Ft=!!e}function qe(e){return Ft?Math.round(e):e}function Xe(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function Ze(e,r,s,l){this.type=e,this.currentTime=r,this.totalTime=s,this.direction=l<0?-1:1}function hn(e,r){this.type=e,this.direction=r<0?-1:1}function Kh(e,r,s,l){this.type=e,this.currentLoop=s,this.totalLoops=r,this.direction=l<0?-1:1}function qh(e,r,s){this.type=e,this.firstFrame=r,this.totalFrames=s}function Xh(e,r){this.type=e,this.target=r}function Fg(e,r){this.type="renderFrameError",this.nativeError=e,this.currentTime=r}function $g(e){this.type="configError",this.nativeError=e}function hA(e,r){this.type=e,this.nativeError=r}var Ne=function(){var e=0;return function(){return e+=1,wt+"__lottie_element_"+e}}();function gc(e,r,s){var l,h,d,v,x,g,k,M;switch(v=Math.floor(e*6),x=e*6-v,g=s*(1-r),k=s*(1-x*r),M=s*(1-(1-x)*r),v%6){case 0:l=s,h=M,d=g;break;case 1:l=k,h=s,d=g;break;case 2:l=g,h=s,d=M;break;case 3:l=g,h=k,d=s;break;case 4:l=M,h=g,d=s;break;case 5:l=s,h=g,d=k;break;default:break}return[l,h,d]}function bc(e,r,s){var l=Math.max(e,r,s),h=Math.min(e,r,s),d=l-h,v,x=l===0?0:d/l,g=l/255;switch(l){case h:v=0;break;case e:v=r-s+d*(r<s?6:0),v/=6*d;break;case r:v=s-e+d*2,v/=6*d;break;case s:v=e-r+d*4,v/=6*d;break;default:break}return[v,x,g]}function Zh(e,r){var s=bc(e[0]*255,e[1]*255,e[2]*255);return s[1]+=r,s[1]>1?s[1]=1:s[1]<=0&&(s[1]=0),gc(s[0],s[1],s[2])}function Qh(e,r){var s=bc(e[0]*255,e[1]*255,e[2]*255);return s[2]+=r,s[2]>1?s[2]=1:s[2]<0&&(s[2]=0),gc(s[0],s[1],s[2])}function Jh(e,r){var s=bc(e[0]*255,e[1]*255,e[2]*255);return s[0]+=r/360,s[0]>1?s[0]-=1:s[0]<0&&(s[0]+=1),gc(s[0],s[1],s[2])}var pA=function(){var e=[],r,s;for(r=0;r<256;r+=1)s=r.toString(16),e[r]=s.length===1?"0"+s:s;return function(l,h,d){return l<0&&(l=0),h<0&&(h=0),d<0&&(d=0),"#"+e[l]+e[h]+e[d]}}(),zg=function(r){ct=!!r},Vg=function(){return ct},Bg=function(r){vt=r},pn=function(){return vt},mA=function(r){At=r},tp=function(){return At},mn=function(r){ur=r},Bs=function(){return ur},Ug=function(r){wt=r},uA=function(){return wt};function Tt(e){return document.createElementNS(n,e)}function un(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?un=function(s){return typeof s}:un=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},un(e)}var Us=function(){var e=1,r=[],s,l,h={onmessage:function(){},postMessage:function(R){s({data:R})}},d={postMessage:function(R){h.onmessage({data:R})}};function v(T){if(window.Worker&&window.Blob&&c()){var R=new Blob(["var _workerSelf = self; self.onmessage = ",T.toString()],{type:"text/javascript"}),D=URL.createObjectURL(R);return new Worker(D)}return s=T,h}function x(){l||(l=v(function(R){function D(){function z(Z,S){var P,f,y=Z.length,G,$,nt,ft;for(f=0;f<y;f+=1)if(P=Z[f],"ks"in P&&!P.completed){if(P.completed=!0,P.hasMask){var Et=P.masksProperties;for($=Et.length,G=0;G<$;G+=1)if(Et[G].pt.k.i)w(Et[G].pt.k);else for(ft=Et[G].pt.k.length,nt=0;nt<ft;nt+=1)Et[G].pt.k[nt].s&&w(Et[G].pt.k[nt].s[0]),Et[G].pt.k[nt].e&&w(Et[G].pt.k[nt].e[0])}P.ty===0?(P.layers=E(P.refId,S),z(P.layers,S)):P.ty===4?A(P.shapes):P.ty===5&&xt(P)}}function N(Z,S){if(Z){var P=0,f=Z.length;for(P=0;P<f;P+=1)Z[P].t===1&&(Z[P].data.layers=E(Z[P].data.refId,S),z(Z[P].data.layers,S))}}function _(Z,S){for(var P=0,f=S.length;P<f;){if(S[P].id===Z)return S[P];P+=1}return null}function E(Z,S){var P=_(Z,S);return P?P.layers.__used?JSON.parse(JSON.stringify(P.layers)):(P.layers.__used=!0,P.layers):null}function A(Z){var S,P=Z.length,f,y;for(S=P-1;S>=0;S-=1)if(Z[S].ty==="sh")if(Z[S].ks.k.i)w(Z[S].ks.k);else for(y=Z[S].ks.k.length,f=0;f<y;f+=1)Z[S].ks.k[f].s&&w(Z[S].ks.k[f].s[0]),Z[S].ks.k[f].e&&w(Z[S].ks.k[f].e[0]);else Z[S].ty==="gr"&&A(Z[S].it)}function w(Z){var S,P=Z.i.length;for(S=0;S<P;S+=1)Z.i[S][0]+=Z.v[S][0],Z.i[S][1]+=Z.v[S][1],Z.o[S][0]+=Z.v[S][0],Z.o[S][1]+=Z.v[S][1]}function F(Z,S){var P=S?S.split("."):[100,100,100];return Z[0]>P[0]?!0:P[0]>Z[0]?!1:Z[1]>P[1]?!0:P[1]>Z[1]?!1:Z[2]>P[2]?!0:P[2]>Z[2]?!1:null}var U=function(){var Z=[4,4,14];function S(f){var y=f.t.d;f.t.d={k:[{s:y,t:0}]}}function P(f){var y,G=f.length;for(y=0;y<G;y+=1)f[y].ty===5&&S(f[y])}return function(f){if(F(Z,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),Y=function(){var Z=[4,7,99];return function(S){if(S.chars&&!F(Z,S.v)){var P,f=S.chars.length;for(P=0;P<f;P+=1){var y=S.chars[P];y.data&&y.data.shapes&&(A(y.data.shapes),y.data.ip=0,y.data.op=99999,y.data.st=0,y.data.sr=1,y.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},S.chars[P].t||(y.data.shapes.push({ty:"no"}),y.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),J=function(){var Z=[5,7,15];function S(f){var y=f.t.p;typeof y.a=="number"&&(y.a={a:0,k:y.a}),typeof y.p=="number"&&(y.p={a:0,k:y.p}),typeof y.r=="number"&&(y.r={a:0,k:y.r})}function P(f){var y,G=f.length;for(y=0;y<G;y+=1)f[y].ty===5&&S(f[y])}return function(f){if(F(Z,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),yt=function(){var Z=[4,1,9];function S(f){var y,G=f.length,$,nt;for(y=0;y<G;y+=1)if(f[y].ty==="gr")S(f[y].it);else if(f[y].ty==="fl"||f[y].ty==="st")if(f[y].c.k&&f[y].c.k[0].i)for(nt=f[y].c.k.length,$=0;$<nt;$+=1)f[y].c.k[$].s&&(f[y].c.k[$].s[0]/=255,f[y].c.k[$].s[1]/=255,f[y].c.k[$].s[2]/=255,f[y].c.k[$].s[3]/=255),f[y].c.k[$].e&&(f[y].c.k[$].e[0]/=255,f[y].c.k[$].e[1]/=255,f[y].c.k[$].e[2]/=255,f[y].c.k[$].e[3]/=255);else f[y].c.k[0]/=255,f[y].c.k[1]/=255,f[y].c.k[2]/=255,f[y].c.k[3]/=255}function P(f){var y,G=f.length;for(y=0;y<G;y+=1)f[y].ty===4&&S(f[y].shapes)}return function(f){if(F(Z,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),pt=function(){var Z=[4,4,18];function S(f){var y,G=f.length,$,nt;for(y=G-1;y>=0;y-=1)if(f[y].ty==="sh")if(f[y].ks.k.i)f[y].ks.k.c=f[y].closed;else for(nt=f[y].ks.k.length,$=0;$<nt;$+=1)f[y].ks.k[$].s&&(f[y].ks.k[$].s[0].c=f[y].closed),f[y].ks.k[$].e&&(f[y].ks.k[$].e[0].c=f[y].closed);else f[y].ty==="gr"&&S(f[y].it)}function P(f){var y,G,$=f.length,nt,ft,Et,Nt;for(G=0;G<$;G+=1){if(y=f[G],y.hasMask){var Lt=y.masksProperties;for(ft=Lt.length,nt=0;nt<ft;nt+=1)if(Lt[nt].pt.k.i)Lt[nt].pt.k.c=Lt[nt].cl;else for(Nt=Lt[nt].pt.k.length,Et=0;Et<Nt;Et+=1)Lt[nt].pt.k[Et].s&&(Lt[nt].pt.k[Et].s[0].c=Lt[nt].cl),Lt[nt].pt.k[Et].e&&(Lt[nt].pt.k[Et].e[0].c=Lt[nt].cl)}y.ty===4&&S(y.shapes)}}return function(f){if(F(Z,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}();function ot(Z){Z.__complete||(yt(Z),U(Z),Y(Z),J(Z),pt(Z),z(Z.layers,Z.assets),N(Z.chars,Z.assets),Z.__complete=!0)}function xt(Z){Z.t.a.length===0&&"m"in Z.t.p}var dt={};return dt.completeData=ot,dt.checkColors=yt,dt.checkChars=Y,dt.checkPathProperties=J,dt.checkShapes=pt,dt.completeLayers=z,dt}if(d.dataManager||(d.dataManager=D()),d.assetLoader||(d.assetLoader=function(){function z(_){var E=_.getResponseHeader("content-type");return E&&_.responseType==="json"&&E.indexOf("json")!==-1||_.response&&un(_.response)==="object"?_.response:_.response&&typeof _.response=="string"?JSON.parse(_.response):_.responseText?JSON.parse(_.responseText):null}function N(_,E,A,w){var F,U=new XMLHttpRequest;try{U.responseType="json"}catch{}U.onreadystatechange=function(){if(U.readyState===4)if(U.status===200)F=z(U),A(F);else try{F=z(U),A(F)}catch(Y){w&&w(Y)}};try{U.open(["G","E","T"].join(""),_,!0)}catch{U.open(["G","E","T"].join(""),E+"/"+_,!0)}U.send()}return{load:N}}()),R.data.type==="loadAnimation")d.assetLoader.load(R.data.path,R.data.fullPath,function(z){d.dataManager.completeData(z),d.postMessage({id:R.data.id,payload:z,status:"success"})},function(){d.postMessage({id:R.data.id,status:"error"})});else if(R.data.type==="complete"){var O=R.data.animation;d.dataManager.completeData(O),d.postMessage({id:R.data.id,payload:O,status:"success"})}else R.data.type==="loadData"&&d.assetLoader.load(R.data.path,R.data.fullPath,function(z){d.postMessage({id:R.data.id,payload:z,status:"success"})},function(){d.postMessage({id:R.data.id,status:"error"})})}),l.onmessage=function(T){var R=T.data,D=R.id,O=r[D];r[D]=null,R.status==="success"?O.onComplete(R.payload):O.onError&&O.onError()})}function g(T,R){e+=1;var D="processId_"+e;return r[D]={onComplete:T,onError:R},D}function k(T,R,D){x();var O=g(R,D);l.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:O})}function M(T,R,D){x();var O=g(R,D);l.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:O})}function H(T,R,D){x();var O=g(R,D);l.postMessage({type:"complete",animation:T,id:O})}return{loadAnimation:k,loadData:M,completeAnimation:H}}(),Hg=function(){var e=function(){var N=C("canvas");N.width=1,N.height=1;var _=N.getContext("2d");return _.fillStyle="rgba(0,0,0,0)",_.fillRect(0,0,1,1),N}();function r(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function s(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function l(N,_,E){var A="";if(N.e)A=N.p;else if(_){var w=N.p;w.indexOf("images/")!==-1&&(w=w.split("/")[1]),A=_+w}else A=E,A+=N.u?N.u:"",A+=N.p;return A}function h(N){var _=0,E=setInterval((function(){var A=N.getBBox();(A.width||_>500)&&(this._imageLoaded(),clearInterval(E)),_+=1}).bind(this),50)}function d(N){var _=l(N,this.assetsPath,this.path),E=Tt("image");Wt?this.testImageLoaded(E):E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),E.setAttributeNS("http://www.w3.org/1999/xlink","href",_),this._elementHelper.append?this._elementHelper.append(E):this._elementHelper.appendChild(E);var A={img:E,assetData:N};return A}function v(N){var _=l(N,this.assetsPath,this.path),E=C("img");E.crossOrigin="anonymous",E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),E.src=_;var A={img:E,assetData:N};return A}function x(N){var _={assetData:N},E=l(N,this.assetsPath,this.path);return Us.loadData(E,(function(A){_.img=A,this._footageLoaded()}).bind(this),(function(){_.img={},this._footageLoaded()}).bind(this)),_}function g(N,_){this.imagesLoadedCb=_;var E,A=N.length;for(E=0;E<A;E+=1)N[E].layers||(!N[E].t||N[E].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(N[E]))):N[E].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(N[E]))))}function k(N){this.path=N||""}function M(N){this.assetsPath=N||""}function H(N){for(var _=0,E=this.images.length;_<E;){if(this.images[_].assetData===N)return this.images[_].img;_+=1}return null}function T(){this.imagesLoadedCb=null,this.images.length=0}function R(){return this.totalImages===this.loadedAssets}function D(){return this.totalFootages===this.loadedFootagesCount}function O(N,_){N==="svg"?(this._elementHelper=_,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function z(){this._imageLoaded=r.bind(this),this._footageLoaded=s.bind(this),this.testImageLoaded=h.bind(this),this.createFootageData=x.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return z.prototype={loadAssets:g,setAssetsPath:M,setPath:k,loadedImages:R,loadedFootages:D,destroy:T,getAsset:H,createImgData:v,createImageData:d,imageLoaded:r,footageLoaded:s,setCacheType:O},z}();function ep(){}ep.prototype={triggerEvent:function(r,s){if(this._cbs[r])for(var l=this._cbs[r],h=0;h<l.length;h+=1)l[h](s)},addEventListener:function(r,s){return this._cbs[r]||(this._cbs[r]=[]),this._cbs[r].push(s),(function(){this.removeEventListener(r,s)}).bind(this)},removeEventListener:function(r,s){if(!s)this._cbs[r]=null;else if(this._cbs[r]){for(var l=0,h=this._cbs[r].length;l<h;)this._cbs[r][l]===s&&(this._cbs[r].splice(l,1),l-=1,h-=1),l+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var Gg=function(){function e(r){for(var s=r.split(`\r
2
+ `),l={},h,d=0,v=0;v<s.length;v+=1)h=s[v].split(":"),h.length===2&&(l[h[0]]=h[1].trim(),d+=1);if(d===0)throw new Error;return l}return function(r){for(var s=[],l=0;l<r.length;l+=1){var h=r[l],d={time:h.tm,duration:h.dr};try{d.payload=JSON.parse(r[l].cm)}catch{try{d.payload=e(r[l].cm)}catch{d.payload={name:r[l].cm}}}s.push(d)}return s}}(),Yg=function(){function e(r){this.compositions.push(r)}return function(){function r(s){for(var l=0,h=this.compositions.length;l<h;){if(this.compositions[l].data&&this.compositions[l].data.nm===s)return this.compositions[l].prepareFrame&&this.compositions[l].data.xt&&this.compositions[l].prepareFrame(this.currentFrame),this.compositions[l].compInterface;l+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=e,r}}(),Hs={},Wg=function(r,s){Hs[r]=s};function jg(e){return Hs[e]}function Kg(){if(Hs.canvas)return"canvas";for(var e in Hs)if(Hs[e])return e;return""}function Gs(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Gs=function(s){return typeof s}:Gs=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Gs(e)}var ut=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=Ne(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Vg(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Yg(),this.imagePreloader=new Hg,this.audioController=it(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new Ze("drawnFrame",0,0,0),this.expressionsPlugin=pn()};L([ep],ut),ut.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var r="svg";e.animType?r=e.animType:e.renderer&&(r=e.renderer);var s=jg(r);this.renderer=new s(this,e.rendererSettings),this.imagePreloader.setCacheType(r,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=r,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Us.loadAnimation(e.path,this.configAnimation,this.onSetupError))},ut.prototype.onSetupError=function(){this.trigger("data_failed")},ut.prototype.setupAnimation=function(e){Us.completeAnimation(e,this.configAnimation)},ut.prototype.setData=function(e,r){r&&Gs(r)!=="object"&&(r=JSON.parse(r));var s={wrapper:e,animationData:r},l=e.attributes;s.path=l.getNamedItem("data-animation-path")?l.getNamedItem("data-animation-path").value:l.getNamedItem("data-bm-path")?l.getNamedItem("data-bm-path").value:l.getNamedItem("bm-path")?l.getNamedItem("bm-path").value:"",s.animType=l.getNamedItem("data-anim-type")?l.getNamedItem("data-anim-type").value:l.getNamedItem("data-bm-type")?l.getNamedItem("data-bm-type").value:l.getNamedItem("bm-type")?l.getNamedItem("bm-type").value:l.getNamedItem("data-bm-renderer")?l.getNamedItem("data-bm-renderer").value:l.getNamedItem("bm-renderer")?l.getNamedItem("bm-renderer").value:Kg()||"canvas";var h=l.getNamedItem("data-anim-loop")?l.getNamedItem("data-anim-loop").value:l.getNamedItem("data-bm-loop")?l.getNamedItem("data-bm-loop").value:l.getNamedItem("bm-loop")?l.getNamedItem("bm-loop").value:"";h==="false"?s.loop=!1:h==="true"?s.loop=!0:h!==""&&(s.loop=parseInt(h,10));var d=l.getNamedItem("data-anim-autoplay")?l.getNamedItem("data-anim-autoplay").value:l.getNamedItem("data-bm-autoplay")?l.getNamedItem("data-bm-autoplay").value:l.getNamedItem("bm-autoplay")?l.getNamedItem("bm-autoplay").value:!0;s.autoplay=d!=="false",s.name=l.getNamedItem("data-name")?l.getNamedItem("data-name").value:l.getNamedItem("data-bm-name")?l.getNamedItem("data-bm-name").value:l.getNamedItem("bm-name")?l.getNamedItem("bm-name").value:"";var v=l.getNamedItem("data-anim-prerender")?l.getNamedItem("data-anim-prerender").value:l.getNamedItem("data-bm-prerender")?l.getNamedItem("data-bm-prerender").value:l.getNamedItem("bm-prerender")?l.getNamedItem("bm-prerender").value:"";v==="false"&&(s.prerender=!1),s.path?this.setParams(s):this.trigger("destroy")},ut.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var r=this.animationData.layers,s,l=r.length,h=e.layers,d,v=h.length;for(d=0;d<v;d+=1)for(s=0;s<l;){if(r[s].id===h[d].id){r[s]=h[d];break}s+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(l=e.assets.length,s=0;s<l;s+=1)this.animationData.assets.push(e.assets[s]);this.animationData.__complete=!1,Us.completeAnimation(this.animationData,this.onSegmentComplete)},ut.prototype.onSegmentComplete=function(e){this.animationData=e;var r=pn();r&&r.initExpressions(this),this.loadNextSegment()},ut.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var r=e.shift();this.timeCompleted=r.time*this.frameRate;var s=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Us.loadData(s,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},ut.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},ut.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},ut.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},ut.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=Gg(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},ut.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},ut.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=pn();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},ut.prototype.resize=function(e,r){var s=typeof e=="number"?e:void 0,l=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(s,l)},ut.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},ut.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},ut.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},ut.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},ut.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},ut.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},ut.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},ut.prototype.getMarkerData=function(e){for(var r,s=0;s<this.markers.length;s+=1)if(r=this.markers[s],r.payload&&r.payload.name===e)return r;return null},ut.prototype.goToAndStop=function(e,r,s){if(!(s&&this.name!==s)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&this.goToAndStop(h.time,!0)}else r?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},ut.prototype.goToAndPlay=function(e,r,s){if(!(s&&this.name!==s)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&(h.duration?this.playSegments([h.time,h.time+h.duration],!0):this.goToAndStop(h.time,!0))}else this.goToAndStop(l,r,s);this.play()}},ut.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var r=this.currentRawFrame+e*this.frameModifier,s=!1;r>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(r>this.totalFrames?r%this.totalFrames:0)||(s=!0,r=this.totalFrames-1):r>=this.totalFrames?(this.playCount+=1,this.checkSegments(r%this.totalFrames)||(this.setCurrentRawFrameValue(r%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(r):r<0?this.checkSegments(r%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+r%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(s=!0,r=0)):this.setCurrentRawFrameValue(r),s&&(this.setCurrentRawFrameValue(r),this.pause(),this.trigger("complete"))}},ut.prototype.adjustSegment=function(e,r){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-r)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+r)),this.trigger("segmentStart")},ut.prototype.setSegment=function(e,r){var s=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?s=e:this.currentRawFrame+this.firstFrame>r&&(s=r-e)),this.firstFrame=e,this.totalFrames=r-e,this.timeCompleted=this.totalFrames,s!==-1&&this.goToAndStop(s,!0)},ut.prototype.playSegments=function(e,r){if(r&&(this.segments.length=0),Gs(e[0])==="object"){var s,l=e.length;for(s=0;s<l;s+=1)this.segments.push(e[s])}else this.segments.push(e);this.segments.length&&r&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},ut.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},ut.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},ut.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},ut.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},ut.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},ut.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},ut.prototype.setLoop=function(e){this.loop=e},ut.prototype.setVolume=function(e,r){r&&this.name!==r||this.audioController.setVolume(e)},ut.prototype.getVolume=function(){return this.audioController.getVolume()},ut.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},ut.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},ut.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},ut.prototype.getPath=function(){return this.path},ut.prototype.getAssetsPath=function(e){var r="";if(e.e)r=e.p;else if(this.assetsPath){var s=e.p;s.indexOf("images/")!==-1&&(s=s.split("/")[1]),r=this.assetsPath+s}else r=this.path,r+=e.u?e.u:"",r+=e.p;return r},ut.prototype.getAssetData=function(e){for(var r=0,s=this.assets.length;r<s;){if(e===this.assets[r].id)return this.assets[r];r+=1}return null},ut.prototype.hide=function(){this.renderer.hide()},ut.prototype.show=function(){this.renderer.show()},ut.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},ut.prototype.updateDocumentData=function(e,r,s){try{var l=this.renderer.getElementByPath(e);l.updateDocumentData(r,s)}catch{}},ut.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new Ze(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new Kh(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new hn(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new qh(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new Xh(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new Ze(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new Kh(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new hn(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new qh(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Xh(e,this))},ut.prototype.triggerRenderFrameError=function(e){var r=new Fg(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},ut.prototype.triggerConfigError=function(e){var r=new $g(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var Zt=function(){var e={},r=[],s=0,l=0,h=0,d=!0,v=!1;function x(S){for(var P=0,f=S.target;P<l;)r[P].animation===f&&(r.splice(P,1),P-=1,l-=1,f.isPaused||H()),P+=1}function g(S,P){if(!S)return null;for(var f=0;f<l;){if(r[f].elem===S&&r[f].elem!==null)return r[f].animation;f+=1}var y=new ut;return T(y,S),y.setData(S,P),y}function k(){var S,P=r.length,f=[];for(S=0;S<P;S+=1)f.push(r[S].animation);return f}function M(){h+=1,yt()}function H(){h-=1}function T(S,P){S.addEventListener("destroy",x),S.addEventListener("_active",M),S.addEventListener("_idle",H),r.push({elem:P,animation:S}),l+=1}function R(S){var P=new ut;return T(P,null),P.setParams(S),P}function D(S,P){var f;for(f=0;f<l;f+=1)r[f].animation.setSpeed(S,P)}function O(S,P){var f;for(f=0;f<l;f+=1)r[f].animation.setDirection(S,P)}function z(S){var P;for(P=0;P<l;P+=1)r[P].animation.play(S)}function N(S){var P=S-s,f;for(f=0;f<l;f+=1)r[f].animation.advanceTime(P);s=S,h&&!v?window.requestAnimationFrame(N):d=!0}function _(S){s=S,window.requestAnimationFrame(N)}function E(S){var P;for(P=0;P<l;P+=1)r[P].animation.pause(S)}function A(S,P,f){var y;for(y=0;y<l;y+=1)r[y].animation.goToAndStop(S,P,f)}function w(S){var P;for(P=0;P<l;P+=1)r[P].animation.stop(S)}function F(S){var P;for(P=0;P<l;P+=1)r[P].animation.togglePause(S)}function U(S){var P;for(P=l-1;P>=0;P-=1)r[P].animation.destroy(S)}function Y(S,P,f){var y=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),G,$=y.length;for(G=0;G<$;G+=1)f&&y[G].setAttribute("data-bm-type",f),g(y[G],S);if(P&&$===0){f||(f="svg");var nt=document.getElementsByTagName("body")[0];nt.innerText="";var ft=C("div");ft.style.width="100%",ft.style.height="100%",ft.setAttribute("data-bm-type",f),nt.appendChild(ft),g(ft,S)}}function J(){var S;for(S=0;S<l;S+=1)r[S].animation.resize()}function yt(){!v&&h&&d&&(window.requestAnimationFrame(_),d=!1)}function pt(){v=!0}function ot(){v=!1,yt()}function xt(S,P){var f;for(f=0;f<l;f+=1)r[f].animation.setVolume(S,P)}function dt(S){var P;for(P=0;P<l;P+=1)r[P].animation.mute(S)}function Z(S){var P;for(P=0;P<l;P+=1)r[P].animation.unmute(S)}return e.registerAnimation=g,e.loadAnimation=R,e.setSpeed=D,e.setDirection=O,e.play=z,e.pause=E,e.stop=w,e.togglePause=F,e.searchAnimations=Y,e.resize=J,e.goToAndStop=A,e.destroy=U,e.freeze=pt,e.unfreeze=ot,e.setVolume=xt,e.mute=dt,e.unmute=Z,e.getRegisteredAnimations=k,e}(),Ys=function(){var e={};e.getBezierEasing=s;var r={};function s(_,E,A,w,F){var U=F||("bez_"+_+"_"+E+"_"+A+"_"+w).replace(/\./g,"p");if(r[U])return r[U];var Y=new N([_,E,A,w]);return r[U]=Y,Y}var l=4,h=.001,d=1e-7,v=10,x=11,g=1/(x-1),k=typeof Float32Array=="function";function M(_,E){return 1-3*E+3*_}function H(_,E){return 3*E-6*_}function T(_){return 3*_}function R(_,E,A){return((M(E,A)*_+H(E,A))*_+T(E))*_}function D(_,E,A){return 3*M(E,A)*_*_+2*H(E,A)*_+T(E)}function O(_,E,A,w,F){var U,Y,J=0;do Y=E+(A-E)/2,U=R(Y,w,F)-_,U>0?A=Y:E=Y;while(Math.abs(U)>d&&++J<v);return Y}function z(_,E,A,w){for(var F=0;F<l;++F){var U=D(E,A,w);if(U===0)return E;var Y=R(E,A,w)-_;E-=Y/U}return E}function N(_){this._p=_,this._mSampleValues=k?new Float32Array(x):new Array(x),this._precomputed=!1,this.get=this.get.bind(this)}return N.prototype={get:function(E){var A=this._p[0],w=this._p[1],F=this._p[2],U=this._p[3];return this._precomputed||this._precompute(),A===w&&F===U?E:E===0?0:E===1?1:R(this._getTForX(E),w,U)},_precompute:function(){var E=this._p[0],A=this._p[1],w=this._p[2],F=this._p[3];this._precomputed=!0,(E!==A||w!==F)&&this._calcSampleValues()},_calcSampleValues:function(){for(var E=this._p[0],A=this._p[2],w=0;w<x;++w)this._mSampleValues[w]=R(w*g,E,A)},_getTForX:function(E){for(var A=this._p[0],w=this._p[2],F=this._mSampleValues,U=0,Y=1,J=x-1;Y!==J&&F[Y]<=E;++Y)U+=g;--Y;var yt=(E-F[Y])/(F[Y+1]-F[Y]),pt=U+yt*g,ot=D(pt,A,w);return ot>=h?z(E,pt,A,w):ot===0?pt:O(E,U,U+g,A,w)}},e}(),rp=function(){function e(r){return r.concat(tt(r.length))}return{double:e}}(),fn=function(){return function(e,r,s){var l=0,h=e,d=tt(h),v={newElement:x,release:g};function x(){var k;return l?(l-=1,k=d[l]):k=r(),k}function g(k){l===h&&(d=rp.double(d),h*=2),s&&s(k),d[l]=k,l+=1}return v}}(),ip=function(){function e(){return{addedLength:0,percents:X("float32",Bs()),lengths:X("float32",Bs())}}return fn(8,e)}(),op=function(){function e(){return{lengths:[],totalLength:0}}function r(s){var l,h=s.lengths.length;for(l=0;l<h;l+=1)ip.release(s.lengths[l]);s.lengths.length=0}return fn(8,e,r)}();function qg(){var e=Math;function r(T,R,D,O,z,N){var _=T*O+R*z+D*N-z*O-N*T-D*R;return _>-.001&&_<.001}function s(T,R,D,O,z,N,_,E,A){if(D===0&&N===0&&A===0)return r(T,R,O,z,_,E);var w=e.sqrt(e.pow(O-T,2)+e.pow(z-R,2)+e.pow(N-D,2)),F=e.sqrt(e.pow(_-T,2)+e.pow(E-R,2)+e.pow(A-D,2)),U=e.sqrt(e.pow(_-O,2)+e.pow(E-z,2)+e.pow(A-N,2)),Y;return w>F?w>U?Y=w-F-U:Y=U-F-w:U>F?Y=U-F-w:Y=F-w-U,Y>-1e-4&&Y<1e-4}var l=function(){return function(T,R,D,O){var z=Bs(),N,_,E,A,w,F=0,U,Y=[],J=[],yt=ip.newElement();for(E=D.length,N=0;N<z;N+=1){for(w=N/(z-1),U=0,_=0;_<E;_+=1)A=Bt(1-w,3)*T[_]+3*Bt(1-w,2)*w*D[_]+3*(1-w)*Bt(w,2)*O[_]+Bt(w,3)*R[_],Y[_]=A,J[_]!==null&&(U+=Bt(Y[_]-J[_],2)),J[_]=Y[_];U&&(U=Xt(U),F+=U),yt.percents[N]=w,yt.lengths[N]=F}return yt.addedLength=F,yt}}();function h(T){var R=op.newElement(),D=T.c,O=T.v,z=T.o,N=T.i,_,E=T._length,A=R.lengths,w=0;for(_=0;_<E-1;_+=1)A[_]=l(O[_],O[_+1],z[_],N[_+1]),w+=A[_].addedLength;return D&&E&&(A[_]=l(O[_],O[0],z[_],N[0]),w+=A[_].addedLength),R.totalLength=w,R}function d(T){this.segmentLength=0,this.points=new Array(T)}function v(T,R){this.partialLength=T,this.point=R}var x=function(){var T={};return function(R,D,O,z){var N=(R[0]+"_"+R[1]+"_"+D[0]+"_"+D[1]+"_"+O[0]+"_"+O[1]+"_"+z[0]+"_"+z[1]).replace(/\./g,"p");if(!T[N]){var _=Bs(),E,A,w,F,U,Y=0,J,yt,pt=null;R.length===2&&(R[0]!==D[0]||R[1]!==D[1])&&r(R[0],R[1],D[0],D[1],R[0]+O[0],R[1]+O[1])&&r(R[0],R[1],D[0],D[1],D[0]+z[0],D[1]+z[1])&&(_=2);var ot=new d(_);for(w=O.length,E=0;E<_;E+=1){for(yt=tt(w),U=E/(_-1),J=0,A=0;A<w;A+=1)F=Bt(1-U,3)*R[A]+3*Bt(1-U,2)*U*(R[A]+O[A])+3*(1-U)*Bt(U,2)*(D[A]+z[A])+Bt(U,3)*D[A],yt[A]=F,pt!==null&&(J+=Bt(yt[A]-pt[A],2));J=Xt(J),Y+=J,ot.points[E]=new v(J,yt),pt=yt}ot.segmentLength=Y,T[N]=ot}return T[N]}}();function g(T,R){var D=R.percents,O=R.lengths,z=D.length,N=le((z-1)*T),_=T*R.addedLength,E=0;if(N===z-1||N===0||_===O[N])return D[N];for(var A=O[N]>_?-1:1,w=!0;w;)if(O[N]<=_&&O[N+1]>_?(E=(_-O[N])/(O[N+1]-O[N]),w=!1):N+=A,N<0||N>=z-1){if(N===z-1)return D[N];w=!1}return D[N]+(D[N+1]-D[N])*E}function k(T,R,D,O,z,N){var _=g(z,N),E=1-_,A=e.round((E*E*E*T[0]+(_*E*E+E*_*E+E*E*_)*D[0]+(_*_*E+E*_*_+_*E*_)*O[0]+_*_*_*R[0])*1e3)/1e3,w=e.round((E*E*E*T[1]+(_*E*E+E*_*E+E*E*_)*D[1]+(_*_*E+E*_*_+_*E*_)*O[1]+_*_*_*R[1])*1e3)/1e3;return[A,w]}var M=X("float32",8);function H(T,R,D,O,z,N,_){z<0?z=0:z>1&&(z=1);var E=g(z,_);N=N>1?1:N;var A=g(N,_),w,F=T.length,U=1-E,Y=1-A,J=U*U*U,yt=E*U*U*3,pt=E*E*U*3,ot=E*E*E,xt=U*U*Y,dt=E*U*Y+U*E*Y+U*U*A,Z=E*E*Y+U*E*A+E*U*A,S=E*E*A,P=U*Y*Y,f=E*Y*Y+U*A*Y+U*Y*A,y=E*A*Y+U*A*A+E*Y*A,G=E*A*A,$=Y*Y*Y,nt=A*Y*Y+Y*A*Y+Y*Y*A,ft=A*A*Y+Y*A*A+A*Y*A,Et=A*A*A;for(w=0;w<F;w+=1)M[w*4]=e.round((J*T[w]+yt*D[w]+pt*O[w]+ot*R[w])*1e3)/1e3,M[w*4+1]=e.round((xt*T[w]+dt*D[w]+Z*O[w]+S*R[w])*1e3)/1e3,M[w*4+2]=e.round((P*T[w]+f*D[w]+y*O[w]+G*R[w])*1e3)/1e3,M[w*4+3]=e.round(($*T[w]+nt*D[w]+ft*O[w]+Et*R[w])*1e3)/1e3;return M}return{getSegmentsLength:h,getNewSegment:H,getPointInSegment:k,buildBezierData:x,pointOnLine2D:r,pointOnLine3D:s}}var Ir=qg(),Xi=i,sp=Math.abs;function ap(e,r){var s=this.offsetTime,l;this.propType==="multidimensional"&&(l=X("float32",this.pv.length));for(var h=r.lastIndex,d=h,v=this.keyframes.length-1,x=!0,g,k,M;x;){if(g=this.keyframes[d],k=this.keyframes[d+1],d===v-1&&e>=k.t-s){g.h&&(g=k),h=0;break}if(k.t-s>e){h=d;break}d<v-1?d+=1:(h=0,x=!1)}M=this.keyframesMetadata[d]||{};var H,T,R,D,O,z,N=k.t-s,_=g.t-s,E;if(g.to){M.bezierData||(M.bezierData=Ir.buildBezierData(g.s,k.s||g.e,g.to,g.ti));var A=M.bezierData;if(e>=N||e<_){var w=e>=N?A.points.length-1:0;for(T=A.points[w].point.length,H=0;H<T;H+=1)l[H]=A.points[w].point[H]}else{M.__fnct?z=M.__fnct:(z=Ys.getBezierEasing(g.o.x,g.o.y,g.i.x,g.i.y,g.n).get,M.__fnct=z),R=z((e-_)/(N-_));var F=A.segmentLength*R,U,Y=r.lastFrame<e&&r._lastKeyframeIndex===d?r._lastAddedLength:0;for(O=r.lastFrame<e&&r._lastKeyframeIndex===d?r._lastPoint:0,x=!0,D=A.points.length;x;){if(Y+=A.points[O].partialLength,F===0||R===0||O===A.points.length-1){for(T=A.points[O].point.length,H=0;H<T;H+=1)l[H]=A.points[O].point[H];break}else if(F>=Y&&F<Y+A.points[O+1].partialLength){for(U=(F-Y)/A.points[O+1].partialLength,T=A.points[O].point.length,H=0;H<T;H+=1)l[H]=A.points[O].point[H]+(A.points[O+1].point[H]-A.points[O].point[H])*U;break}O<D-1?O+=1:x=!1}r._lastPoint=O,r._lastAddedLength=Y-A.points[O].partialLength,r._lastKeyframeIndex=d}}else{var J,yt,pt,ot,xt;if(v=g.s.length,E=k.s||g.e,this.sh&&g.h!==1)if(e>=N)l[0]=E[0],l[1]=E[1],l[2]=E[2];else if(e<=_)l[0]=g.s[0],l[1]=g.s[1],l[2]=g.s[2];else{var dt=np(g.s),Z=np(E),S=(e-_)/(N-_);Zg(l,Xg(dt,Z,S))}else for(d=0;d<v;d+=1)g.h!==1&&(e>=N?R=1:e<_?R=0:(g.o.x.constructor===Array?(M.__fnct||(M.__fnct=[]),M.__fnct[d]?z=M.__fnct[d]:(J=g.o.x[d]===void 0?g.o.x[0]:g.o.x[d],yt=g.o.y[d]===void 0?g.o.y[0]:g.o.y[d],pt=g.i.x[d]===void 0?g.i.x[0]:g.i.x[d],ot=g.i.y[d]===void 0?g.i.y[0]:g.i.y[d],z=Ys.getBezierEasing(J,yt,pt,ot).get,M.__fnct[d]=z)):M.__fnct?z=M.__fnct:(J=g.o.x,yt=g.o.y,pt=g.i.x,ot=g.i.y,z=Ys.getBezierEasing(J,yt,pt,ot).get,g.keyframeMetadata=z),R=z((e-_)/(N-_)))),E=k.s||g.e,xt=g.h===1?g.s[d]:g.s[d]+(E[d]-g.s[d])*R,this.propType==="multidimensional"?l[d]=xt:l=xt}return r.lastIndex=h,l}function Xg(e,r,s){var l=[],h=e[0],d=e[1],v=e[2],x=e[3],g=r[0],k=r[1],M=r[2],H=r[3],T,R,D,O,z;return R=h*g+d*k+v*M+x*H,R<0&&(R=-R,g=-g,k=-k,M=-M,H=-H),1-R>1e-6?(T=Math.acos(R),D=Math.sin(T),O=Math.sin((1-s)*T)/D,z=Math.sin(s*T)/D):(O=1-s,z=s),l[0]=O*h+z*g,l[1]=O*d+z*k,l[2]=O*v+z*M,l[3]=O*x+z*H,l}function Zg(e,r){var s=r[0],l=r[1],h=r[2],d=r[3],v=Math.atan2(2*l*d-2*s*h,1-2*l*l-2*h*h),x=Math.asin(2*s*l+2*h*d),g=Math.atan2(2*s*d-2*l*h,1-2*s*s-2*h*h);e[0]=v/Ct,e[1]=x/Ct,e[2]=g/Ct}function np(e){var r=e[0]*Ct,s=e[1]*Ct,l=e[2]*Ct,h=Math.cos(r/2),d=Math.cos(s/2),v=Math.cos(l/2),x=Math.sin(r/2),g=Math.sin(s/2),k=Math.sin(l/2),M=h*d*v-x*g*k,H=x*g*v+h*d*k,T=x*d*v+h*g*k,R=h*g*v-x*d*k;return[H,T,R,M]}function lp(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,s=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==Xi&&(this._caching.lastFrame>=s&&e>=s||this._caching.lastFrame<r&&e<r))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var l=this.interpolateValue(e,this._caching);this.pv=l}return this._caching.lastFrame=e,this.pv}function vn(e){var r;if(this.propType==="unidimensional")r=e*this.mult,sp(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var s=0,l=this.v.length;s<l;)r=e[s]*this.mult,sp(this.v[s]-r)>1e-5&&(this.v[s]=r,this._mdf=!0),s+=1}function gn(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,r=this.effectsSequence.length,s=this.kf?this.pv:this.data.k;for(e=0;e<r;e+=1)s=this.effectsSequence[e](s);this.setVValue(s),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function bn(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function Qg(e,r,s,l){this.propType="unidimensional",this.mult=s||1,this.data=r,this.v=s?r.k*s:r.k,this.pv=r.k,this._mdf=!1,this.elem=e,this.container=l,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=gn,this.setVValue=vn,this.addEffect=bn}function Jg(e,r,s,l){this.propType="multidimensional",this.mult=s||1,this.data=r,this._mdf=!1,this.elem=e,this.container=l,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var h,d=r.k.length;for(this.v=X("float32",d),this.pv=X("float32",d),this.vel=X("float32",d),h=0;h<d;h+=1)this.v[h]=r.k[h]*this.mult,this.pv[h]=r.k[h];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=gn,this.setVValue=vn,this.addEffect=bn}function tb(e,r,s,l){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:Xi,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=s||1,this.elem=e,this.container=l,this.comp=e.comp,this.v=Xi,this.pv=Xi,this._isFirstFrame=!0,this.getValue=gn,this.setVValue=vn,this.interpolateValue=ap,this.effectsSequence=[lp.bind(this)],this.addEffect=bn}function eb(e,r,s,l){this.propType="multidimensional";var h,d=r.k.length,v,x,g,k;for(h=0;h<d-1;h+=1)r.k[h].to&&r.k[h].s&&r.k[h+1]&&r.k[h+1].s&&(v=r.k[h].s,x=r.k[h+1].s,g=r.k[h].to,k=r.k[h].ti,(v.length===2&&!(v[0]===x[0]&&v[1]===x[1])&&Ir.pointOnLine2D(v[0],v[1],x[0],x[1],v[0]+g[0],v[1]+g[1])&&Ir.pointOnLine2D(v[0],v[1],x[0],x[1],x[0]+k[0],x[1]+k[1])||v.length===3&&!(v[0]===x[0]&&v[1]===x[1]&&v[2]===x[2])&&Ir.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],v[0]+g[0],v[1]+g[1],v[2]+g[2])&&Ir.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],x[0]+k[0],x[1]+k[1],x[2]+k[2]))&&(r.k[h].to=null,r.k[h].ti=null),v[0]===x[0]&&v[1]===x[1]&&g[0]===0&&g[1]===0&&k[0]===0&&k[1]===0&&(v.length===2||v[2]===x[2]&&g[2]===0&&k[2]===0)&&(r.k[h].to=null,r.k[h].ti=null));this.effectsSequence=[lp.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=s||1,this.elem=e,this.container=l,this.comp=e.comp,this.getValue=gn,this.setVValue=vn,this.interpolateValue=ap,this.frameId=-1;var M=r.k[0].s.length;for(this.v=X("float32",M),this.pv=X("float32",M),h=0;h<M;h+=1)this.v[h]=Xi,this.pv[h]=Xi;this._caching={lastFrame:Xi,lastIndex:0,value:X("float32",M)},this.addEffect=bn}var at=function(){function e(s,l,h,d,v){l.sid&&(l=s.globalData.slotManager.getProp(l));var x;if(!l.k.length)x=new Qg(s,l,d,v);else if(typeof l.k[0]=="number")x=new Jg(s,l,d,v);else switch(h){case 0:x=new tb(s,l,d,v);break;case 1:x=new eb(s,l,d,v);break;default:break}return x.effectsSequence.length&&v.addDynamicProperty(x),x}var r={getProp:e};return r}();function ce(){}ce.prototype={addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&(this.dynamicProperties.push(r),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var r,s=this.dynamicProperties.length;for(r=0;r<s;r+=1)this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(r){this.container=r,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Zi=function(){function e(){return X("float32",2)}return fn(8,e)}();function Gr(){this.c=!1,this._length=0,this._maxLength=8,this.v=tt(this._maxLength),this.o=tt(this._maxLength),this.i=tt(this._maxLength)}Gr.prototype.setPathData=function(e,r){this.c=e,this.setLength(r);for(var s=0;s<r;)this.v[s]=Zi.newElement(),this.o[s]=Zi.newElement(),this.i[s]=Zi.newElement(),s+=1},Gr.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},Gr.prototype.doubleArrayLength=function(){this.v=this.v.concat(tt(this._maxLength)),this.i=this.i.concat(tt(this._maxLength)),this.o=this.o.concat(tt(this._maxLength)),this._maxLength*=2},Gr.prototype.setXYAt=function(e,r,s,l,h){var d;switch(this._length=Math.max(this._length,l+1),this._length>=this._maxLength&&this.doubleArrayLength(),s){case"v":d=this.v;break;case"i":d=this.i;break;case"o":d=this.o;break;default:d=[];break}(!d[l]||d[l]&&!h)&&(d[l]=Zi.newElement()),d[l][0]=e,d[l][1]=r},Gr.prototype.setTripleAt=function(e,r,s,l,h,d,v,x){this.setXYAt(e,r,"v",v,x),this.setXYAt(s,l,"o",v,x),this.setXYAt(h,d,"i",v,x)},Gr.prototype.reverse=function(){var e=new Gr;e.setPathData(this.c,this._length);var r=this.v,s=this.o,l=this.i,h=0;this.c&&(e.setTripleAt(r[0][0],r[0][1],l[0][0],l[0][1],s[0][0],s[0][1],0,!1),h=1);var d=this._length-1,v=this._length,x;for(x=h;x<v;x+=1)e.setTripleAt(r[d][0],r[d][1],l[d][0],l[d][1],s[d][0],s[d][1],x,!1),d-=1;return e},Gr.prototype.length=function(){return this._length};var me=function(){function e(){return new Gr}function r(h){var d=h._length,v;for(v=0;v<d;v+=1)Zi.release(h.v[v]),Zi.release(h.i[v]),Zi.release(h.o[v]),h.v[v]=null,h.i[v]=null,h.o[v]=null;h._length=0,h.c=!1}function s(h){var d=l.newElement(),v,x=h._length===void 0?h.v.length:h._length;for(d.setLength(x),d.c=h.c,v=0;v<x;v+=1)d.setTripleAt(h.v[v][0],h.v[v][1],h.o[v][0],h.o[v][1],h.i[v][0],h.i[v][1],v);return d}var l=fn(4,e,r);return l.clone=s,l}();function yc(){this._length=0,this._maxLength=4,this.shapes=tt(this._maxLength)}yc.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(tt(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},yc.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)me.release(this.shapes[e]);this._length=0};var Vo=function(){var e={newShapeCollection:h,release:d},r=0,s=4,l=tt(s);function h(){var v;return r?(r-=1,v=l[r]):v=new yc,v}function d(v){var x,g=v._length;for(x=0;x<g;x+=1)me.release(v.shapes[x]);v._length=0,r===s&&(l=rp.double(l),s*=2),l[r]=v,r+=1}return e}(),yn=function(){var e=-999999;function r(N,_,E){var A=E.lastIndex,w,F,U,Y,J,yt,pt,ot,xt,dt=this.keyframes;if(N<dt[0].t-this.offsetTime)w=dt[0].s[0],U=!0,A=0;else if(N>=dt[dt.length-1].t-this.offsetTime)w=dt[dt.length-1].s?dt[dt.length-1].s[0]:dt[dt.length-2].e[0],U=!0;else{for(var Z=A,S=dt.length-1,P=!0,f,y,G;P&&(f=dt[Z],y=dt[Z+1],!(y.t-this.offsetTime>N));)Z<S-1?Z+=1:P=!1;if(G=this.keyframesMetadata[Z]||{},U=f.h===1,A=Z,!U){if(N>=y.t-this.offsetTime)ot=1;else if(N<f.t-this.offsetTime)ot=0;else{var $;G.__fnct?$=G.__fnct:($=Ys.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,G.__fnct=$),ot=$((N-(f.t-this.offsetTime))/(y.t-this.offsetTime-(f.t-this.offsetTime)))}F=y.s?y.s[0]:f.e[0]}w=f.s[0]}for(yt=_._length,pt=w.i[0].length,E.lastIndex=A,Y=0;Y<yt;Y+=1)for(J=0;J<pt;J+=1)xt=U?w.i[Y][J]:w.i[Y][J]+(F.i[Y][J]-w.i[Y][J])*ot,_.i[Y][J]=xt,xt=U?w.o[Y][J]:w.o[Y][J]+(F.o[Y][J]-w.o[Y][J])*ot,_.o[Y][J]=xt,xt=U?w.v[Y][J]:w.v[Y][J]+(F.v[Y][J]-w.v[Y][J])*ot,_.v[Y][J]=xt}function s(){var N=this.comp.renderedFrame-this.offsetTime,_=this.keyframes[0].t-this.offsetTime,E=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==e&&(A<_&&N<_||A>E&&N>E)||(this._caching.lastIndex=A<N?this._caching.lastIndex:0,this.interpolateShape(N,this.pv,this._caching)),this._caching.lastFrame=N,this.pv}function l(){this.paths=this.localShapeCollection}function h(N,_){if(N._length!==_._length||N.c!==_.c)return!1;var E,A=N._length;for(E=0;E<A;E+=1)if(N.v[E][0]!==_.v[E][0]||N.v[E][1]!==_.v[E][1]||N.o[E][0]!==_.o[E][0]||N.o[E][1]!==_.o[E][1]||N.i[E][0]!==_.i[E][0]||N.i[E][1]!==_.i[E][1])return!1;return!0}function d(N){h(this.v,N)||(this.v=me.clone(N),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function v(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var N;this.kf?N=this.pv:this.data.ks?N=this.data.ks.k:N=this.data.pt.k;var _,E=this.effectsSequence.length;for(_=0;_<E;_+=1)N=this.effectsSequence[_](N);this.setVValue(N),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function x(N,_,E){this.propType="shape",this.comp=N.comp,this.container=N,this.elem=N,this.data=_,this.k=!1,this.kf=!1,this._mdf=!1;var A=E===3?_.pt.k:_.ks.k;this.v=me.clone(A),this.pv=me.clone(this.v),this.localShapeCollection=Vo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=l,this.effectsSequence=[]}function g(N){this.effectsSequence.push(N),this.container.addDynamicProperty(this)}x.prototype.interpolateShape=r,x.prototype.getValue=v,x.prototype.setVValue=d,x.prototype.addEffect=g;function k(N,_,E){this.propType="shape",this.comp=N.comp,this.elem=N,this.container=N,this.offsetTime=N.data.st,this.keyframes=E===3?_.pt.k:_.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=me.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=me.clone(this.v),this.localShapeCollection=Vo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=l,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[s.bind(this)]}k.prototype.getValue=v,k.prototype.interpolateShape=r,k.prototype.setVValue=d,k.prototype.addEffect=g;var M=function(){var N=pe;function _(E,A){this.v=me.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Vo.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=E,this.comp=E.comp,this.frameId=-1,this.initDynamicPropertyContainer(E),this.p=at.getProp(E,A.p,1,0,this),this.s=at.getProp(E,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return _.prototype={reset:l,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var A=this.p.v[0],w=this.p.v[1],F=this.s.v[0]/2,U=this.s.v[1]/2,Y=this.d!==3,J=this.v;J.v[0][0]=A,J.v[0][1]=w-U,J.v[1][0]=Y?A+F:A-F,J.v[1][1]=w,J.v[2][0]=A,J.v[2][1]=w+U,J.v[3][0]=Y?A-F:A+F,J.v[3][1]=w,J.i[0][0]=Y?A-F*N:A+F*N,J.i[0][1]=w-U,J.i[1][0]=Y?A+F:A-F,J.i[1][1]=w-U*N,J.i[2][0]=Y?A+F*N:A-F*N,J.i[2][1]=w+U,J.i[3][0]=Y?A-F:A+F,J.i[3][1]=w+U*N,J.o[0][0]=Y?A+F*N:A-F*N,J.o[0][1]=w-U,J.o[1][0]=Y?A+F:A-F,J.o[1][1]=w+U*N,J.o[2][0]=Y?A-F*N:A+F*N,J.o[2][1]=w+U,J.o[3][0]=Y?A-F:A+F,J.o[3][1]=w-U*N}},L([ce],_),_}(),H=function(){function N(_,E){this.v=me.newElement(),this.v.setPathData(!0,0),this.elem=_,this.comp=_.comp,this.data=E,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(_),E.sy===1?(this.ir=at.getProp(_,E.ir,0,0,this),this.is=at.getProp(_,E.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=at.getProp(_,E.pt,0,0,this),this.p=at.getProp(_,E.p,1,0,this),this.r=at.getProp(_,E.r,0,Ct,this),this.or=at.getProp(_,E.or,0,0,this),this.os=at.getProp(_,E.os,0,.01,this),this.localShapeCollection=Vo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return N.prototype={reset:l,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var E=Math.floor(this.pt.v)*2,A=Math.PI*2/E,w=!0,F=this.or.v,U=this.ir.v,Y=this.os.v,J=this.is.v,yt=2*Math.PI*F/(E*2),pt=2*Math.PI*U/(E*2),ot,xt,dt,Z,S=-Math.PI/2;S+=this.r.v;var P=this.data.d===3?-1:1;for(this.v._length=0,ot=0;ot<E;ot+=1){xt=w?F:U,dt=w?Y:J,Z=w?yt:pt;var f=xt*Math.cos(S),y=xt*Math.sin(S),G=f===0&&y===0?0:y/Math.sqrt(f*f+y*y),$=f===0&&y===0?0:-f/Math.sqrt(f*f+y*y);f+=+this.p.v[0],y+=+this.p.v[1],this.v.setTripleAt(f,y,f-G*Z*dt*P,y-$*Z*dt*P,f+G*Z*dt*P,y+$*Z*dt*P,ot,!0),w=!w,S+=A*P}},convertPolygonToPath:function(){var E=Math.floor(this.pt.v),A=Math.PI*2/E,w=this.or.v,F=this.os.v,U=2*Math.PI*w/(E*4),Y,J=-Math.PI*.5,yt=this.data.d===3?-1:1;for(J+=this.r.v,this.v._length=0,Y=0;Y<E;Y+=1){var pt=w*Math.cos(J),ot=w*Math.sin(J),xt=pt===0&&ot===0?0:ot/Math.sqrt(pt*pt+ot*ot),dt=pt===0&&ot===0?0:-pt/Math.sqrt(pt*pt+ot*ot);pt+=+this.p.v[0],ot+=+this.p.v[1],this.v.setTripleAt(pt,ot,pt-xt*U*F*yt,ot-dt*U*F*yt,pt+xt*U*F*yt,ot+dt*U*F*yt,Y,!0),J+=A*yt}this.paths.length=0,this.paths[0]=this.v}},L([ce],N),N}(),T=function(){function N(_,E){this.v=me.newElement(),this.v.c=!0,this.localShapeCollection=Vo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=_,this.comp=_.comp,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(_),this.p=at.getProp(_,E.p,1,0,this),this.s=at.getProp(_,E.s,1,0,this),this.r=at.getProp(_,E.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return N.prototype={convertRectToPath:function(){var E=this.p.v[0],A=this.p.v[1],w=this.s.v[0]/2,F=this.s.v[1]/2,U=we(w,F,this.r.v),Y=U*(1-pe);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(E+w,A-F+U,E+w,A-F+U,E+w,A-F+Y,0,!0),this.v.setTripleAt(E+w,A+F-U,E+w,A+F-Y,E+w,A+F-U,1,!0),U!==0?(this.v.setTripleAt(E+w-U,A+F,E+w-U,A+F,E+w-Y,A+F,2,!0),this.v.setTripleAt(E-w+U,A+F,E-w+Y,A+F,E-w+U,A+F,3,!0),this.v.setTripleAt(E-w,A+F-U,E-w,A+F-U,E-w,A+F-Y,4,!0),this.v.setTripleAt(E-w,A-F+U,E-w,A-F+Y,E-w,A-F+U,5,!0),this.v.setTripleAt(E-w+U,A-F,E-w+U,A-F,E-w+Y,A-F,6,!0),this.v.setTripleAt(E+w-U,A-F,E+w-Y,A-F,E+w-U,A-F,7,!0)):(this.v.setTripleAt(E-w,A+F,E-w+Y,A+F,E-w,A+F,2),this.v.setTripleAt(E-w,A-F,E-w,A-F+Y,E-w,A-F,3))):(this.v.setTripleAt(E+w,A-F+U,E+w,A-F+Y,E+w,A-F+U,0,!0),U!==0?(this.v.setTripleAt(E+w-U,A-F,E+w-U,A-F,E+w-Y,A-F,1,!0),this.v.setTripleAt(E-w+U,A-F,E-w+Y,A-F,E-w+U,A-F,2,!0),this.v.setTripleAt(E-w,A-F+U,E-w,A-F+U,E-w,A-F+Y,3,!0),this.v.setTripleAt(E-w,A+F-U,E-w,A+F-Y,E-w,A+F-U,4,!0),this.v.setTripleAt(E-w+U,A+F,E-w+U,A+F,E-w+Y,A+F,5,!0),this.v.setTripleAt(E+w-U,A+F,E+w-Y,A+F,E+w-U,A+F,6,!0),this.v.setTripleAt(E+w,A+F-U,E+w,A+F-U,E+w,A+F-Y,7,!0)):(this.v.setTripleAt(E-w,A-F,E-w+Y,A-F,E-w,A-F,1,!0),this.v.setTripleAt(E-w,A+F,E-w,A+F-Y,E-w,A+F,2,!0),this.v.setTripleAt(E+w,A+F,E+w-Y,A+F,E+w,A+F,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:l},L([ce],N),N}();function R(N,_,E){var A;if(E===3||E===4){var w=E===3?_.pt:_.ks,F=w.k;F.length?A=new k(N,_,E):A=new x(N,_,E)}else E===5?A=new T(N,_):E===6?A=new M(N,_):E===7&&(A=new H(N,_));return A.k&&N.addDynamicProperty(A),A}function D(){return x}function O(){return k}var z={};return z.getShapeProp=R,z.getConstructorFunction=D,z.getKeyframedConstructorFunction=O,z}();var ue=function(){var e=Math.cos,r=Math.sin,s=Math.tan,l=Math.round;function h(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function d(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(y,-G,0,0,G,y,0,0,0,0,1,0,0,0,0,1)}function v(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(1,0,0,0,0,y,-G,0,0,G,y,0,0,0,0,1)}function x(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(y,0,G,0,0,1,0,0,-G,0,y,0,0,0,0,1)}function g(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(y,-G,0,0,G,y,0,0,0,0,1,0,0,0,0,1)}function k(f,y){return this._t(1,y,f,1,0,0)}function M(f,y){return this.shear(s(f),s(y))}function H(f,y){var G=e(y),$=r(y);return this._t(G,$,0,0,-$,G,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,s(f),1,0,0,0,0,1,0,0,0,0,1)._t(G,-$,0,0,$,G,0,0,0,0,1,0,0,0,0,1)}function T(f,y,G){return!G&&G!==0&&(G=1),f===1&&y===1&&G===1?this:this._t(f,0,0,0,0,y,0,0,0,0,G,0,0,0,0,1)}function R(f,y,G,$,nt,ft,Et,Nt,Lt,Qt,Me,kr,Re,de,Ve,Pt){return this.props[0]=f,this.props[1]=y,this.props[2]=G,this.props[3]=$,this.props[4]=nt,this.props[5]=ft,this.props[6]=Et,this.props[7]=Nt,this.props[8]=Lt,this.props[9]=Qt,this.props[10]=Me,this.props[11]=kr,this.props[12]=Re,this.props[13]=de,this.props[14]=Ve,this.props[15]=Pt,this}function D(f,y,G){return G=G||0,f!==0||y!==0||G!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,f,y,G,1):this}function O(f,y,G,$,nt,ft,Et,Nt,Lt,Qt,Me,kr,Re,de,Ve,Pt){var ht=this.props;if(f===1&&y===0&&G===0&&$===0&&nt===0&&ft===1&&Et===0&&Nt===0&&Lt===0&&Qt===0&&Me===1&&kr===0)return ht[12]=ht[12]*f+ht[15]*Re,ht[13]=ht[13]*ft+ht[15]*de,ht[14]=ht[14]*Me+ht[15]*Ve,ht[15]*=Pt,this._identityCalculated=!1,this;var jr=ht[0],_i=ht[1],Kr=ht[2],wr=ht[3],qr=ht[4],Xr=ht[5],Oe=ht[6],Ii=ht[7],Ci=ht[8],vr=ht[9],ki=ht[10],gr=ht[11],eo=ht[12],kn=ht[13],wn=ht[14],Nn=ht[15];return ht[0]=jr*f+_i*nt+Kr*Lt+wr*Re,ht[1]=jr*y+_i*ft+Kr*Qt+wr*de,ht[2]=jr*G+_i*Et+Kr*Me+wr*Ve,ht[3]=jr*$+_i*Nt+Kr*kr+wr*Pt,ht[4]=qr*f+Xr*nt+Oe*Lt+Ii*Re,ht[5]=qr*y+Xr*ft+Oe*Qt+Ii*de,ht[6]=qr*G+Xr*Et+Oe*Me+Ii*Ve,ht[7]=qr*$+Xr*Nt+Oe*kr+Ii*Pt,ht[8]=Ci*f+vr*nt+ki*Lt+gr*Re,ht[9]=Ci*y+vr*ft+ki*Qt+gr*de,ht[10]=Ci*G+vr*Et+ki*Me+gr*Ve,ht[11]=Ci*$+vr*Nt+ki*kr+gr*Pt,ht[12]=eo*f+kn*nt+wn*Lt+Nn*Re,ht[13]=eo*y+kn*ft+wn*Qt+Nn*de,ht[14]=eo*G+kn*Et+wn*Me+Nn*Ve,ht[15]=eo*$+kn*Nt+wn*kr+Nn*Pt,this._identityCalculated=!1,this}function z(f){var y=f.props;return this.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15])}function N(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function _(f){for(var y=0;y<16;){if(f.props[y]!==this.props[y])return!1;y+=1}return!0}function E(f){var y;for(y=0;y<16;y+=1)f.props[y]=this.props[y];return f}function A(f){var y;for(y=0;y<16;y+=1)this.props[y]=f[y]}function w(f,y,G){return{x:f*this.props[0]+y*this.props[4]+G*this.props[8]+this.props[12],y:f*this.props[1]+y*this.props[5]+G*this.props[9]+this.props[13],z:f*this.props[2]+y*this.props[6]+G*this.props[10]+this.props[14]}}function F(f,y,G){return f*this.props[0]+y*this.props[4]+G*this.props[8]+this.props[12]}function U(f,y,G){return f*this.props[1]+y*this.props[5]+G*this.props[9]+this.props[13]}function Y(f,y,G){return f*this.props[2]+y*this.props[6]+G*this.props[10]+this.props[14]}function J(){var f=this.props[0]*this.props[5]-this.props[1]*this.props[4],y=this.props[5]/f,G=-this.props[1]/f,$=-this.props[4]/f,nt=this.props[0]/f,ft=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/f,Et=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/f,Nt=new ue;return Nt.props[0]=y,Nt.props[1]=G,Nt.props[4]=$,Nt.props[5]=nt,Nt.props[12]=ft,Nt.props[13]=Et,Nt}function yt(f){var y=this.getInverseMatrix();return y.applyToPointArray(f[0],f[1],f[2]||0)}function pt(f){var y,G=f.length,$=[];for(y=0;y<G;y+=1)$[y]=yt(f[y]);return $}function ot(f,y,G){var $=X("float32",6);if(this.isIdentity())$[0]=f[0],$[1]=f[1],$[2]=y[0],$[3]=y[1],$[4]=G[0],$[5]=G[1];else{var nt=this.props[0],ft=this.props[1],Et=this.props[4],Nt=this.props[5],Lt=this.props[12],Qt=this.props[13];$[0]=f[0]*nt+f[1]*Et+Lt,$[1]=f[0]*ft+f[1]*Nt+Qt,$[2]=y[0]*nt+y[1]*Et+Lt,$[3]=y[0]*ft+y[1]*Nt+Qt,$[4]=G[0]*nt+G[1]*Et+Lt,$[5]=G[0]*ft+G[1]*Nt+Qt}return $}function xt(f,y,G){var $;return this.isIdentity()?$=[f,y,G]:$=[f*this.props[0]+y*this.props[4]+G*this.props[8]+this.props[12],f*this.props[1]+y*this.props[5]+G*this.props[9]+this.props[13],f*this.props[2]+y*this.props[6]+G*this.props[10]+this.props[14]],$}function dt(f,y){if(this.isIdentity())return f+","+y;var G=this.props;return Math.round((f*G[0]+y*G[4]+G[12])*100)/100+","+Math.round((f*G[1]+y*G[5]+G[13])*100)/100}function Z(){for(var f=0,y=this.props,G="matrix3d(",$=1e4;f<16;)G+=l(y[f]*$)/$,G+=f===15?")":",",f+=1;return G}function S(f){var y=1e4;return f<1e-6&&f>0||f>-1e-6&&f<0?l(f*y)/y:f}function P(){var f=this.props,y=S(f[0]),G=S(f[1]),$=S(f[4]),nt=S(f[5]),ft=S(f[12]),Et=S(f[13]);return"matrix("+y+","+G+","+$+","+nt+","+ft+","+Et+")"}return function(){this.reset=h,this.rotate=d,this.rotateX=v,this.rotateY=x,this.rotateZ=g,this.skew=M,this.skewFromAxis=H,this.shear=k,this.scale=T,this.setTransform=R,this.translate=D,this.transform=O,this.multiply=z,this.applyToPoint=w,this.applyToX=F,this.applyToY=U,this.applyToZ=Y,this.applyToPointArray=xt,this.applyToTriplePoints=ot,this.applyToPointStringified=dt,this.toCSS=Z,this.to2dCSS=P,this.clone=E,this.cloneFromProps=A,this.equals=_,this.inversePoints=pt,this.inversePoint=yt,this.getInverseMatrix=J,this._t=this.transform,this.isIdentity=N,this._identity=!0,this._identityCalculated=!1,this.props=X("float32",16),this.reset()}}();function En(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?En=function(s){return typeof s}:En=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},En(e)}var Rt={},Tn="__[STANDALONE]__",cp="__[ANIMATIONDATA]__",dp="";function rb(e){m(e)}function hp(){Tn===!0?Zt.searchAnimations(cp,Tn,dp):Zt.searchAnimations()}function ib(e){zg(e)}function ob(e){Ug(e)}function sb(e){return Tn===!0&&(e.animationData=JSON.parse(cp)),Zt.loadAnimation(e)}function ab(e){if(typeof e=="string")switch(e){case"high":mn(200);break;default:case"medium":mn(50);break;case"low":mn(10);break}else!isNaN(e)&&e>1&&mn(e);Bs()>=50?Ke(!1):Ke(!0)}function nb(){return typeof navigator<"u"}function lb(e,r){e==="expressions"&&Bg(r)}function cb(e){switch(e){case"propertyFactory":return at;case"shapePropertyFactory":return yn;case"matrix":return ue;default:return null}}Rt.play=Zt.play,Rt.pause=Zt.pause,Rt.setLocationHref=rb,Rt.togglePause=Zt.togglePause,Rt.setSpeed=Zt.setSpeed,Rt.setDirection=Zt.setDirection,Rt.stop=Zt.stop,Rt.searchAnimations=hp,Rt.registerAnimation=Zt.registerAnimation,Rt.loadAnimation=sb,Rt.setSubframeRendering=ib,Rt.resize=Zt.resize,Rt.goToAndStop=Zt.goToAndStop,Rt.destroy=Zt.destroy,Rt.setQuality=ab,Rt.inBrowser=nb,Rt.installPlugin=lb,Rt.freeze=Zt.freeze,Rt.unfreeze=Zt.unfreeze,Rt.setVolume=Zt.setVolume,Rt.mute=Zt.mute,Rt.unmute=Zt.unmute,Rt.getRegisteredAnimations=Zt.getRegisteredAnimations,Rt.useWebWorker=a,Rt.setIDPrefix=ob,Rt.__getFactory=cb,Rt.version="5.12.2";function db(){document.readyState==="complete"&&(clearInterval(mb),hp())}function hb(e){for(var r=pp.split("&"),s=0;s<r.length;s+=1){var l=r[s].split("=");if(decodeURIComponent(l[0])==e)return decodeURIComponent(l[1])}return null}var pp="";if(Tn){var mp=document.getElementsByTagName("script"),pb=mp.length-1,up=mp[pb]||{src:""};pp=up.src?up.src.replace(/^[^\?]+\??/,""):"",dp=hb("renderer")}var mb=setInterval(db,100);try{!((typeof Ta>"u"?"undefined":En(Ta))==="object"&&typeof sl<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Rt)}catch{}var yi=function(){var e={},r={};e.registerModifier=s,e.getModifier=l;function s(h,d){r[h]||(r[h]=d)}function l(h,d,v){return new r[h](d,v)}return e}();function Qe(){}Qe.prototype.initModifierProperties=function(){},Qe.prototype.addShapeToModifier=function(){},Qe.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var r={shape:e.sh,data:e,localShapeCollection:Vo.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&e.setAsAnimated()}},Qe.prototype.init=function(e,r){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r),this.frameId=i,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Qe.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},L([ce],Qe);function fr(){}L([Qe],fr),fr.prototype.initModifierProperties=function(e,r){this.s=at.getProp(e,r.s,0,.01,this),this.e=at.getProp(e,r.e,0,.01,this),this.o=at.getProp(e,r.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=r.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},fr.prototype.addShapeToModifier=function(e){e.pathsData=[]},fr.prototype.calculateShapeEdges=function(e,r,s,l,h){var d=[];r<=1?d.push({s:e,e:r}):e>=1?d.push({s:e-1,e:r-1}):(d.push({s:e,e:1}),d.push({s:0,e:r-1}));var v=[],x,g=d.length,k;for(x=0;x<g;x+=1)if(k=d[x],!(k.e*h<l||k.s*h>l+s)){var M,H;k.s*h<=l?M=0:M=(k.s*h-l)/s,k.e*h>=l+s?H=1:H=(k.e*h-l)/s,v.push([M,H])}return v.length||v.push([0,0]),v},fr.prototype.releasePathsData=function(e){var r,s=e.length;for(r=0;r<s;r+=1)op.release(e[r]);return e.length=0,e},fr.prototype.processShapes=function(e){var r,s;if(this._mdf||e){var l=this.o.v%360/360;if(l<0&&(l+=1),this.s.v>1?r=1+l:this.s.v<0?r=0+l:r=this.s.v+l,this.e.v>1?s=1+l:this.e.v<0?s=0+l:s=this.e.v+l,r>s){var h=r;r=s,s=h}r=Math.round(r*1e4)*1e-4,s=Math.round(s*1e4)*1e-4,this.sValue=r,this.eValue=s}else r=this.sValue,s=this.eValue;var d,v,x=this.shapes.length,g,k,M,H,T,R=0;if(s===r)for(v=0;v<x;v+=1)this.shapes[v].localShapeCollection.releaseShapes(),this.shapes[v].shape._mdf=!0,this.shapes[v].shape.paths=this.shapes[v].localShapeCollection,this._mdf&&(this.shapes[v].pathsData.length=0);else if(s===1&&r===0||s===0&&r===1){if(this._mdf)for(v=0;v<x;v+=1)this.shapes[v].pathsData.length=0,this.shapes[v].shape._mdf=!0}else{var D=[],O,z;for(v=0;v<x;v+=1)if(O=this.shapes[v],!O.shape._mdf&&!this._mdf&&!e&&this.m!==2)O.shape.paths=O.localShapeCollection;else{if(d=O.shape.paths,k=d._length,T=0,!O.shape._mdf&&O.pathsData.length)T=O.totalShapeLength;else{for(M=this.releasePathsData(O.pathsData),g=0;g<k;g+=1)H=Ir.getSegmentsLength(d.shapes[g]),M.push(H),T+=H.totalLength;O.totalShapeLength=T,O.pathsData=M}R+=T,O.shape._mdf=!0}var N=r,_=s,E=0,A;for(v=x-1;v>=0;v-=1)if(O=this.shapes[v],O.shape._mdf){for(z=O.localShapeCollection,z.releaseShapes(),this.m===2&&x>1?(A=this.calculateShapeEdges(r,s,O.totalShapeLength,E,R),E+=O.totalShapeLength):A=[[N,_]],k=A.length,g=0;g<k;g+=1){N=A[g][0],_=A[g][1],D.length=0,_<=1?D.push({s:O.totalShapeLength*N,e:O.totalShapeLength*_}):N>=1?D.push({s:O.totalShapeLength*(N-1),e:O.totalShapeLength*(_-1)}):(D.push({s:O.totalShapeLength*N,e:O.totalShapeLength}),D.push({s:0,e:O.totalShapeLength*(_-1)}));var w=this.addShapes(O,D[0]);if(D[0].s!==D[0].e){if(D.length>1){var F=O.shape.paths.shapes[O.shape.paths._length-1];if(F.c){var U=w.pop();this.addPaths(w,z),w=this.addShapes(O,D[1],U)}else this.addPaths(w,z),w=this.addShapes(O,D[1])}this.addPaths(w,z)}}O.shape.paths=z}}},fr.prototype.addPaths=function(e,r){var s,l=e.length;for(s=0;s<l;s+=1)r.addShape(e[s])},fr.prototype.addSegment=function(e,r,s,l,h,d,v){h.setXYAt(r[0],r[1],"o",d),h.setXYAt(s[0],s[1],"i",d+1),v&&h.setXYAt(e[0],e[1],"v",d),h.setXYAt(l[0],l[1],"v",d+1)},fr.prototype.addSegmentFromArray=function(e,r,s,l){r.setXYAt(e[1],e[5],"o",s),r.setXYAt(e[2],e[6],"i",s+1),l&&r.setXYAt(e[0],e[4],"v",s),r.setXYAt(e[3],e[7],"v",s+1)},fr.prototype.addShapes=function(e,r,s){var l=e.pathsData,h=e.shape.paths.shapes,d,v=e.shape.paths._length,x,g,k=0,M,H,T,R,D=[],O,z=!0;for(s?(H=s._length,O=s._length):(s=me.newElement(),H=0,O=0),D.push(s),d=0;d<v;d+=1){for(T=l[d].lengths,s.c=h[d].c,g=h[d].c?T.length:T.length+1,x=1;x<g;x+=1)if(M=T[x-1],k+M.addedLength<r.s)k+=M.addedLength,s.c=!1;else if(k>r.e){s.c=!1;break}else r.s<=k&&r.e>=k+M.addedLength?(this.addSegment(h[d].v[x-1],h[d].o[x-1],h[d].i[x],h[d].v[x],s,H,z),z=!1):(R=Ir.getNewSegment(h[d].v[x-1],h[d].v[x],h[d].o[x-1],h[d].i[x],(r.s-k)/M.addedLength,(r.e-k)/M.addedLength,T[x-1]),this.addSegmentFromArray(R,s,H,z),z=!1,s.c=!1),k+=M.addedLength,H+=1;if(h[d].c&&T.length){if(M=T[x-1],k<=r.e){var N=T[x-1].addedLength;r.s<=k&&r.e>=k+N?(this.addSegment(h[d].v[x-1],h[d].o[x-1],h[d].i[0],h[d].v[0],s,H,z),z=!1):(R=Ir.getNewSegment(h[d].v[x-1],h[d].v[0],h[d].o[x-1],h[d].i[0],(r.s-k)/N,(r.e-k)/N,T[x-1]),this.addSegmentFromArray(R,s,H,z),z=!1,s.c=!1)}else s.c=!1;k+=M.addedLength,H+=1}if(s._length&&(s.setXYAt(s.v[O][0],s.v[O][1],"i",O),s.setXYAt(s.v[s._length-1][0],s.v[s._length-1][1],"o",s._length-1)),k>r.e)break;d<v-1&&(s=me.newElement(),z=!0,D.push(s),H=0)}return D};function Ws(){}L([Qe],Ws),Ws.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=at.getProp(e,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Ws.prototype.processPath=function(e,r){var s=r/100,l=[0,0],h=e._length,d=0;for(d=0;d<h;d+=1)l[0]+=e.v[d][0],l[1]+=e.v[d][1];l[0]/=h,l[1]/=h;var v=me.newElement();v.c=e.c;var x,g,k,M,H,T;for(d=0;d<h;d+=1)x=e.v[d][0]+(l[0]-e.v[d][0])*s,g=e.v[d][1]+(l[1]-e.v[d][1])*s,k=e.o[d][0]+(l[0]-e.o[d][0])*-s,M=e.o[d][1]+(l[1]-e.o[d][1])*-s,H=e.i[d][0]+(l[0]-e.i[d][0])*-s,T=e.i[d][1]+(l[1]-e.i[d][1])*-s,v.setTripleAt(x,g,k,M,H,T,d);return v},Ws.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,d,v=this.amount.v;if(v!==0){var x,g;for(s=0;s<l;s+=1){if(x=this.shapes[s],g=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,d=x.shape.paths._length,h=0;h<d;h+=1)g.addShape(this.processPath(r[h],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Ec=function(){var e=[0,0];function r(g){var k=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||k,this.a&&g.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&g.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&g.skewFromAxis(-this.sk.v,this.sa.v),this.r?g.rotate(-this.r.v):g.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?g.translate(this.px.v,this.py.v,-this.pz.v):g.translate(this.px.v,this.py.v,0):g.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function s(g){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||g){var k;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var M,H;if(k=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(M=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/k,0),H=this.p.getValueAtTime(this.p.keyframes[0].t/k,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(M=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/k,0),H=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/k,0)):(M=this.p.pv,H=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/k,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){M=[],H=[];var T=this.px,R=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(M[0]=T.getValueAtTime((T.keyframes[0].t+.01)/k,0),M[1]=R.getValueAtTime((R.keyframes[0].t+.01)/k,0),H[0]=T.getValueAtTime(T.keyframes[0].t/k,0),H[1]=R.getValueAtTime(R.keyframes[0].t/k,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(M[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/k,0),M[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/k,0),H[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/k,0),H[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/k,0)):(M=[T.pv,R.pv],H[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/k,T.offsetTime),H[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/k,R.offsetTime))}else H=e,M=H;this.v.rotate(-Math.atan2(M[1]-H[1],M[0]-H[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function l(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function h(){}function d(g){this._addDynamicProperty(g),this.elem.addDynamicProperty(g),this._isDirty=!0}function v(g,k,M){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=k,this.v=new ue,this.pre=new ue,this.appliedTransformations=0,this.initDynamicPropertyContainer(M||g),k.p&&k.p.s?(this.px=at.getProp(g,k.p.x,0,0,this),this.py=at.getProp(g,k.p.y,0,0,this),k.p.z&&(this.pz=at.getProp(g,k.p.z,0,0,this))):this.p=at.getProp(g,k.p||{k:[0,0,0]},1,0,this),k.rx){if(this.rx=at.getProp(g,k.rx,0,Ct,this),this.ry=at.getProp(g,k.ry,0,Ct,this),this.rz=at.getProp(g,k.rz,0,Ct,this),k.or.k[0].ti){var H,T=k.or.k.length;for(H=0;H<T;H+=1)k.or.k[H].to=null,k.or.k[H].ti=null}this.or=at.getProp(g,k.or,1,Ct,this),this.or.sh=!0}else this.r=at.getProp(g,k.r||{k:0},0,Ct,this);k.sk&&(this.sk=at.getProp(g,k.sk,0,Ct,this),this.sa=at.getProp(g,k.sa,0,Ct,this)),this.a=at.getProp(g,k.a||{k:[0,0,0]},1,0,this),this.s=at.getProp(g,k.s||{k:[100,100,100]},1,.01,this),k.o?this.o=at.getProp(g,k.o,0,.01,g):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}v.prototype={applyToMatrix:r,getValue:s,precalculateMatrix:l,autoOrient:h},L([ce],v),v.prototype.addDynamicProperty=d,v.prototype._addDynamicProperty=ce.prototype.addDynamicProperty;function x(g,k,M){return new v(g,k,M)}return{getTransformProperty:x}}();function Cr(){}L([Qe],Cr),Cr.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.c=at.getProp(e,r.c,0,null,this),this.o=at.getProp(e,r.o,0,null,this),this.tr=Ec.getTransformProperty(e,r.tr,this),this.so=at.getProp(e,r.tr.so,0,.01,this),this.eo=at.getProp(e,r.tr.eo,0,.01,this),this.data=r,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new ue,this.rMatrix=new ue,this.sMatrix=new ue,this.tMatrix=new ue,this.matrix=new ue},Cr.prototype.applyTransforms=function(e,r,s,l,h,d){var v=d?-1:1,x=l.s.v[0]+(1-l.s.v[0])*(1-h),g=l.s.v[1]+(1-l.s.v[1])*(1-h);e.translate(l.p.v[0]*v*h,l.p.v[1]*v*h,l.p.v[2]),r.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),r.rotate(-l.r.v*v*h),r.translate(l.a.v[0],l.a.v[1],l.a.v[2]),s.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),s.scale(d?1/x:x,d?1/g:g),s.translate(l.a.v[0],l.a.v[1],l.a.v[2])},Cr.prototype.init=function(e,r,s,l){for(this.elem=e,this.arr=r,this.pos=s,this.elemsData=l,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r[s]);s>0;)s-=1,this._elements.unshift(r[s]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Cr.prototype.resetElements=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r]._processed=!1,e[r].ty==="gr"&&this.resetElements(e[r].it)},Cr.prototype.cloneElements=function(e){var r=JSON.parse(JSON.stringify(e));return this.resetElements(r),r},Cr.prototype.changeGroupRender=function(e,r){var s,l=e.length;for(s=0;s<l;s+=1)e[s]._render=r,e[s].ty==="gr"&&this.changeGroupRender(e[s].it,r)},Cr.prototype.processShapes=function(e){var r,s,l,h,d,v=!1;if(this._mdf||e){var x=Math.ceil(this.c.v);if(this._groups.length<x){for(;this._groups.length<x;){var g={it:this.cloneElements(this._elements),ty:"gr"};g.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,g),this._groups.splice(0,0,g),this._currentCopies+=1}this.elem.reloadShapes(),v=!0}d=0;var k;for(l=0;l<=this._groups.length-1;l+=1){if(k=d<x,this._groups[l]._render=k,this.changeGroupRender(this._groups[l].it,k),!k){var M=this.elemsData[l].it,H=M[M.length-1];H.transform.op.v!==0?(H.transform.op._mdf=!0,H.transform.op.v=0):H.transform.op._mdf=!1}d+=1}this._currentCopies=x;var T=this.o.v,R=T%1,D=T>0?Math.floor(T):Math.ceil(T),O=this.pMatrix.props,z=this.rMatrix.props,N=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var _=0;if(T>0){for(;_<D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,R,!1),_+=R)}else if(T<0){for(;_>D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-R,!0),_-=R)}l=this.data.m===1?0:this._currentCopies-1,h=this.data.m===1?1:-1,d=this._currentCopies;for(var E,A;d;){if(r=this.elemsData[l].it,s=r[r.length-1].transform.mProps.v.props,A=s.length,r[r.length-1].transform.mProps._mdf=!0,r[r.length-1].transform.op._mdf=!0,r[r.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(l/(this._currentCopies-1)),_!==0){for((l!==0&&h===1||l!==this._currentCopies-1&&h===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(z[0],z[1],z[2],z[3],z[4],z[5],z[6],z[7],z[8],z[9],z[10],z[11],z[12],z[13],z[14],z[15]),this.matrix.transform(N[0],N[1],N[2],N[3],N[4],N[5],N[6],N[7],N[8],N[9],N[10],N[11],N[12],N[13],N[14],N[15]),this.matrix.transform(O[0],O[1],O[2],O[3],O[4],O[5],O[6],O[7],O[8],O[9],O[10],O[11],O[12],O[13],O[14],O[15]),E=0;E<A;E+=1)s[E]=this.matrix.props[E];this.matrix.reset()}else for(this.matrix.reset(),E=0;E<A;E+=1)s[E]=this.matrix.props[E];_+=1,d-=1,l+=h}}else for(d=this._currentCopies,l=0,h=1;d;)r=this.elemsData[l].it,s=r[r.length-1].transform.mProps.v.props,r[r.length-1].transform.mProps._mdf=!1,r[r.length-1].transform.op._mdf=!1,d-=1,l+=h;return v},Cr.prototype.addShape=function(){};function js(){}L([Qe],js),js.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.rd=at.getProp(e,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},js.prototype.processPath=function(e,r){var s=me.newElement();s.c=e.c;var l,h=e._length,d,v,x,g,k,M,H=0,T,R,D,O,z,N;for(l=0;l<h;l+=1)d=e.v[l],x=e.o[l],v=e.i[l],d[0]===x[0]&&d[1]===x[1]&&d[0]===v[0]&&d[1]===v[1]?(l===0||l===h-1)&&!e.c?(s.setTripleAt(d[0],d[1],x[0],x[1],v[0],v[1],H),H+=1):(l===0?g=e.v[h-1]:g=e.v[l-1],k=Math.sqrt(Math.pow(d[0]-g[0],2)+Math.pow(d[1]-g[1],2)),M=k?Math.min(k/2,r)/k:0,z=d[0]+(g[0]-d[0])*M,T=z,N=d[1]-(d[1]-g[1])*M,R=N,D=T-(T-d[0])*pe,O=R-(R-d[1])*pe,s.setTripleAt(T,R,D,O,z,N,H),H+=1,l===h-1?g=e.v[0]:g=e.v[l+1],k=Math.sqrt(Math.pow(d[0]-g[0],2)+Math.pow(d[1]-g[1],2)),M=k?Math.min(k/2,r)/k:0,D=d[0]+(g[0]-d[0])*M,T=D,O=d[1]+(g[1]-d[1])*M,R=O,z=T-(T-d[0])*pe,N=R-(R-d[1])*pe,s.setTripleAt(T,R,D,O,z,N,H),H+=1):(s.setTripleAt(e.v[l][0],e.v[l][1],e.o[l][0],e.o[l][1],e.i[l][0],e.i[l][1],H),H+=1);return s},js.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,d,v=this.rd.v;if(v!==0){var x,g;for(s=0;s<l;s+=1){if(x=this.shapes[s],g=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,d=x.shape.paths._length,h=0;h<d;h+=1)g.addShape(this.processPath(r[h],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function xn(e,r){return Math.abs(e-r)*1e5<=Math.min(Math.abs(e),Math.abs(r))}function Tc(e){return Math.abs(e)<=1e-5}function fp(e,r,s){return e*(1-s)+r*s}function Ei(e,r,s){return[fp(e[0],r[0],s),fp(e[1],r[1],s)]}function ub(e,r,s){if(e===0)return[];var l=r*r-4*e*s;if(l<0)return[];var h=-r/(2*e);if(l===0)return[h];var d=Math.sqrt(l)/(2*e);return[h-d,h+d]}function vp(e,r,s,l){return[-e+3*r-3*s+l,3*e-6*r+3*s,-3*e+3*r,e]}function gp(e){return new Gt(e,e,e,e,!1)}function Gt(e,r,s,l,h){h&&Uo(e,r)&&(r=Ei(e,l,1/3)),h&&Uo(s,l)&&(s=Ei(e,l,2/3));var d=vp(e[0],r[0],s[0],l[0]),v=vp(e[1],r[1],s[1],l[1]);this.a=[d[0],v[0]],this.b=[d[1],v[1]],this.c=[d[2],v[2]],this.d=[d[3],v[3]],this.points=[e,r,s,l]}Gt.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},Gt.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},Gt.prototype.tangentAngle=function(e){var r=this.derivative(e);return Math.atan2(r[1],r[0])},Gt.prototype.normalAngle=function(e){var r=this.derivative(e);return Math.atan2(r[0],r[1])},Gt.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Tc(e))return[];var r=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,s=r*r-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(s<0)return[];var l=Math.sqrt(s);return Tc(l)?l>0&&l<1?[r]:[]:[r-l,r+l].filter(function(h){return h>0&&h<1})},Gt.prototype.split=function(e){if(e<=0)return[gp(this.points[0]),this];if(e>=1)return[this,gp(this.points[this.points.length-1])];var r=Ei(this.points[0],this.points[1],e),s=Ei(this.points[1],this.points[2],e),l=Ei(this.points[2],this.points[3],e),h=Ei(r,s,e),d=Ei(s,l,e),v=Ei(h,d,e);return[new Gt(this.points[0],r,h,v,!0),new Gt(v,d,l,this.points[3],!0)]};function bp(e,r){var s=e.points[0][r],l=e.points[e.points.length-1][r];if(s>l){var h=l;l=s,s=h}for(var d=ub(3*e.a[r],2*e.b[r],e.c[r]),v=0;v<d.length;v+=1)if(d[v]>0&&d[v]<1){var x=e.point(d[v])[r];x<s?s=x:x>l&&(l=x)}return{min:s,max:l}}Gt.prototype.bounds=function(){return{x:bp(this,0),y:bp(this,1)}},Gt.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function An(e,r,s){var l=e.boundingBox();return{cx:l.cx,cy:l.cy,width:l.width,height:l.height,bez:e,t:(r+s)/2,t1:r,t2:s}}function yp(e){var r=e.bez.split(.5);return[An(r[0],e.t1,e.t),An(r[1],e.t,e.t2)]}function fb(e,r){return Math.abs(e.cx-r.cx)*2<e.width+r.width&&Math.abs(e.cy-r.cy)*2<e.height+r.height}function Ks(e,r,s,l,h,d){if(fb(e,r)){if(s>=d||e.width<=l&&e.height<=l&&r.width<=l&&r.height<=l){h.push([e.t,r.t]);return}var v=yp(e),x=yp(r);Ks(v[0],x[0],s+1,l,h,d),Ks(v[0],x[1],s+1,l,h,d),Ks(v[1],x[0],s+1,l,h,d),Ks(v[1],x[1],s+1,l,h,d)}}Gt.prototype.intersections=function(e,r,s){r===void 0&&(r=2),s===void 0&&(s=7);var l=[];return Ks(An(this,0,1),An(e,0,1),0,r,l,s),l},Gt.shapeSegment=function(e,r){var s=(r+1)%e.length();return new Gt(e.v[r],e.o[r],e.i[s],e.v[s],!0)},Gt.shapeSegmentInverted=function(e,r){var s=(r+1)%e.length();return new Gt(e.v[s],e.i[s],e.o[r],e.v[r],!0)};function xc(e,r){return[e[1]*r[2]-e[2]*r[1],e[2]*r[0]-e[0]*r[2],e[0]*r[1]-e[1]*r[0]]}function Sn(e,r,s,l){var h=[e[0],e[1],1],d=[r[0],r[1],1],v=[s[0],s[1],1],x=[l[0],l[1],1],g=xc(xc(h,d),xc(v,x));return Tc(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function Bo(e,r,s){return[e[0]+Math.cos(r)*s,e[1]-Math.sin(r)*s]}function Ac(e,r){return Math.hypot(e[0]-r[0],e[1]-r[1])}function Uo(e,r){return xn(e[0],r[0])&&xn(e[1],r[1])}function qs(){}L([Qe],qs),qs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amplitude=at.getProp(e,r.s,0,null,this),this.frequency=at.getProp(e,r.r,0,null,this),this.pointsType=at.getProp(e,r.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Ep(e,r,s,l,h,d,v){var x=s-Math.PI/2,g=s+Math.PI/2,k=r[0]+Math.cos(s)*l*h,M=r[1]-Math.sin(s)*l*h;e.setTripleAt(k,M,k+Math.cos(x)*d,M-Math.sin(x)*d,k+Math.cos(g)*v,M-Math.sin(g)*v,e.length())}function vb(e,r){var s=[r[0]-e[0],r[1]-e[1]],l=-Math.PI*.5,h=[Math.cos(l)*s[0]-Math.sin(l)*s[1],Math.sin(l)*s[0]+Math.cos(l)*s[1]];return h}function gb(e,r){var s=r===0?e.length()-1:r-1,l=(r+1)%e.length(),h=e.v[s],d=e.v[l],v=vb(h,d);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function Tp(e,r,s,l,h,d,v){var x=gb(r,s),g=r.v[s%r._length],k=r.v[s===0?r._length-1:s-1],M=r.v[(s+1)%r._length],H=d===2?Math.sqrt(Math.pow(g[0]-k[0],2)+Math.pow(g[1]-k[1],2)):0,T=d===2?Math.sqrt(Math.pow(g[0]-M[0],2)+Math.pow(g[1]-M[1],2)):0;Ep(e,r.v[s%r._length],x,v,l,T/((h+1)*2),H/((h+1)*2),d)}function bb(e,r,s,l,h,d){for(var v=0;v<l;v+=1){var x=(v+1)/(l+1),g=h===2?Math.sqrt(Math.pow(r.points[3][0]-r.points[0][0],2)+Math.pow(r.points[3][1]-r.points[0][1],2)):0,k=r.normalAngle(x),M=r.point(x);Ep(e,M,k,d,s,g/((l+1)*2),g/((l+1)*2),h),d=-d}return d}qs.prototype.processPath=function(e,r,s,l){var h=e._length,d=me.newElement();if(d.c=e.c,e.c||(h-=1),h===0)return d;var v=-1,x=Gt.shapeSegment(e,0);Tp(d,e,0,r,s,l,v);for(var g=0;g<h;g+=1)v=bb(d,x,r,s,l,-v),g===h-1&&!e.c?x=null:x=Gt.shapeSegment(e,(g+1)%h),Tp(d,e,g+1,r,s,l,v);return d},qs.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,d,v=this.amplitude.v,x=Math.max(0,Math.round(this.frequency.v)),g=this.pointsType.v;if(v!==0){var k,M;for(s=0;s<l;s+=1){if(k=this.shapes[s],M=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(M.releaseShapes(),k.shape._mdf=!0,r=k.shape.paths.shapes,d=k.shape.paths._length,h=0;h<d;h+=1)M.addShape(this.processPath(r[h],v,x,g));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Sc(e,r,s){var l=Math.atan2(r[0]-e[0],r[1]-e[1]);return[Bo(e,l,s),Bo(r,l,s)]}function Ho(e,r){var s,l,h,d,v,x,g;g=Sc(e.points[0],e.points[1],r),s=g[0],l=g[1],g=Sc(e.points[1],e.points[2],r),h=g[0],d=g[1],g=Sc(e.points[2],e.points[3],r),v=g[0],x=g[1];var k=Sn(s,l,h,d);k===null&&(k=l);var M=Sn(v,x,h,d);return M===null&&(M=v),new Gt(s,k,M,x)}function xp(e,r,s,l,h){var d=r.points[3],v=s.points[0];if(l===3||Uo(d,v))return d;if(l===2){var x=-r.tangentAngle(1),g=-s.tangentAngle(0)+Math.PI,k=Sn(d,Bo(d,x+Math.PI/2,100),v,Bo(v,x+Math.PI/2,100)),M=k?Ac(k,d):Ac(d,v)/2,H=Bo(d,x,2*M*pe);return e.setXYAt(H[0],H[1],"o",e.length()-1),H=Bo(v,g,2*M*pe),e.setTripleAt(v[0],v[1],v[0],v[1],H[0],H[1],e.length()),v}var T=Uo(d,r.points[2])?r.points[0]:r.points[2],R=Uo(v,s.points[1])?s.points[3]:s.points[1],D=Sn(T,d,v,R);return D&&Ac(D,d)<h?(e.setTripleAt(D[0],D[1],D[0],D[1],D[0],D[1],e.length()),D):d}function Ap(e,r){var s=e.intersections(r);return s.length&&xn(s[0][0],1)&&s.shift(),s.length?s[0]:null}function Sp(e,r){var s=e.slice(),l=r.slice(),h=Ap(e[e.length-1],r[0]);return h&&(s[e.length-1]=e[e.length-1].split(h[0])[0],l[0]=r[0].split(h[1])[1]),e.length>1&&r.length>1&&(h=Ap(e[0],r[r.length-1]),h)?[[e[0].split(h[0])[0]],[r[r.length-1].split(h[1])[1]]]:[s,l]}function yb(e){for(var r,s=1;s<e.length;s+=1)r=Sp(e[s-1],e[s]),e[s-1]=r[0],e[s]=r[1];return e.length>1&&(r=Sp(e[e.length-1],e[0]),e[e.length-1]=r[0],e[0]=r[1]),e}function _p(e,r){var s=e.inflectionPoints(),l,h,d,v;if(s.length===0)return[Ho(e,r)];if(s.length===1||xn(s[1],1))return d=e.split(s[0]),l=d[0],h=d[1],[Ho(l,r),Ho(h,r)];d=e.split(s[0]),l=d[0];var x=(s[1]-s[0])/(1-s[0]);return d=d[1].split(x),v=d[0],h=d[1],[Ho(l,r),Ho(v,r),Ho(h,r)]}function Xs(){}L([Qe],Xs),Xs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=at.getProp(e,r.a,0,null,this),this.miterLimit=at.getProp(e,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Xs.prototype.processPath=function(e,r,s,l){var h=me.newElement();h.c=e.c;var d=e.length();e.c||(d-=1);var v,x,g,k=[];for(v=0;v<d;v+=1)g=Gt.shapeSegment(e,v),k.push(_p(g,r));if(!e.c)for(v=d-1;v>=0;v-=1)g=Gt.shapeSegmentInverted(e,v),k.push(_p(g,r));k=yb(k);var M=null,H=null;for(v=0;v<k.length;v+=1){var T=k[v];for(H&&(M=xp(h,H,T[0],s,l)),H=T[T.length-1],x=0;x<T.length;x+=1)g=T[x],M&&Uo(g.points[0],M)?h.setXYAt(g.points[1][0],g.points[1][1],"o",h.length()-1):h.setTripleAt(g.points[0][0],g.points[0][1],g.points[1][0],g.points[1][1],g.points[0][0],g.points[0][1],h.length()),h.setTripleAt(g.points[3][0],g.points[3][1],g.points[3][0],g.points[3][1],g.points[2][0],g.points[2][1],h.length()),M=g.points[3]}return k.length&&xp(h,H,k[0][0],s,l),h},Xs.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,d,v=this.amount.v,x=this.miterLimit.v,g=this.lineJoin;if(v!==0){var k,M;for(s=0;s<l;s+=1){if(k=this.shapes[s],M=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(M.releaseShapes(),k.shape._mdf=!0,r=k.shape.paths.shapes,d=k.shape.paths._length,h=0;h<d;h+=1)M.addShape(this.processPath(r[h],v,g,x));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Ip(e){for(var r=e.fStyle?e.fStyle.split(" "):[],s="normal",l="normal",h=r.length,d,v=0;v<h;v+=1)switch(d=r[v].toLowerCase(),d){case"italic":l="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200";break;default:break}return{style:l,weight:e.fWeight||s}}var Qi=function(){var e=5e3,r={w:0,size:0,shapes:[],data:{shapes:[]}},s=[];s=s.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var l=127988,h=917631,d=917601,v=917626,x=65039,g=8205,k=127462,M=127487,H=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T(S){var P=S.split(","),f,y=P.length,G=[];for(f=0;f<y;f+=1)P[f]!=="sans-serif"&&P[f]!=="monospace"&&G.push(P[f]);return G.join(",")}function R(S,P){var f=C("span");f.setAttribute("aria-hidden",!0),f.style.fontFamily=P;var y=C("span");y.innerText="giItT1WQy@!-/#",f.style.position="absolute",f.style.left="-10000px",f.style.top="-10000px",f.style.fontSize="300px",f.style.fontVariant="normal",f.style.fontStyle="normal",f.style.fontWeight="normal",f.style.letterSpacing="0",f.appendChild(y),document.body.appendChild(f);var G=y.offsetWidth;return y.style.fontFamily=T(S)+", "+P,{node:y,w:G,parent:f}}function D(){var S,P=this.fonts.length,f,y,G=P;for(S=0;S<P;S+=1)this.fonts[S].loaded?G-=1:this.fonts[S].fOrigin==="n"||this.fonts[S].origin===0?this.fonts[S].loaded=!0:(f=this.fonts[S].monoCase.node,y=this.fonts[S].monoCase.w,f.offsetWidth!==y?(G-=1,this.fonts[S].loaded=!0):(f=this.fonts[S].sansCase.node,y=this.fonts[S].sansCase.w,f.offsetWidth!==y&&(G-=1,this.fonts[S].loaded=!0)),this.fonts[S].loaded&&(this.fonts[S].sansCase.parent.parentNode.removeChild(this.fonts[S].sansCase.parent),this.fonts[S].monoCase.parent.parentNode.removeChild(this.fonts[S].monoCase.parent)));G!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function O(S,P){var f=document.body&&P?"svg":"canvas",y,G=Ip(S);if(f==="svg"){var $=Tt("text");$.style.fontSize="100px",$.setAttribute("font-family",S.fFamily),$.setAttribute("font-style",G.style),$.setAttribute("font-weight",G.weight),$.textContent="1",S.fClass?($.style.fontFamily="inherit",$.setAttribute("class",S.fClass)):$.style.fontFamily=S.fFamily,P.appendChild($),y=$}else{var nt=new OffscreenCanvas(500,500).getContext("2d");nt.font=G.style+" "+G.weight+" 100px "+S.fFamily,y=nt}function ft(Et){return f==="svg"?(y.textContent=Et,y.getComputedTextLength()):y.measureText(Et).width}return{measureText:ft}}function z(S,P){if(!S){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=S.list;return}if(!document.body){this.isLoaded=!0,S.list.forEach(function(Me){Me.helper=O(Me),Me.cache={}}),this.fonts=S.list;return}var f=S.list,y,G=f.length,$=G;for(y=0;y<G;y+=1){var nt=!0,ft,Et;if(f[y].loaded=!1,f[y].monoCase=R(f[y].fFamily,"monospace"),f[y].sansCase=R(f[y].fFamily,"sans-serif"),!f[y].fPath)f[y].loaded=!0,$-=1;else if(f[y].fOrigin==="p"||f[y].origin===3){if(ft=document.querySelectorAll('style[f-forigin="p"][f-family="'+f[y].fFamily+'"], style[f-origin="3"][f-family="'+f[y].fFamily+'"]'),ft.length>0&&(nt=!1),nt){var Nt=C("style");Nt.setAttribute("f-forigin",f[y].fOrigin),Nt.setAttribute("f-origin",f[y].origin),Nt.setAttribute("f-family",f[y].fFamily),Nt.type="text/css",Nt.innerText="@font-face {font-family: "+f[y].fFamily+"; font-style: normal; src: url('"+f[y].fPath+"');}",P.appendChild(Nt)}}else if(f[y].fOrigin==="g"||f[y].origin===1){for(ft=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Et=0;Et<ft.length;Et+=1)ft[Et].href.indexOf(f[y].fPath)!==-1&&(nt=!1);if(nt){var Lt=C("link");Lt.setAttribute("f-forigin",f[y].fOrigin),Lt.setAttribute("f-origin",f[y].origin),Lt.type="text/css",Lt.rel="stylesheet",Lt.href=f[y].fPath,document.body.appendChild(Lt)}}else if(f[y].fOrigin==="t"||f[y].origin===2){for(ft=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Et=0;Et<ft.length;Et+=1)f[y].fPath===ft[Et].src&&(nt=!1);if(nt){var Qt=C("link");Qt.setAttribute("f-forigin",f[y].fOrigin),Qt.setAttribute("f-origin",f[y].origin),Qt.setAttribute("rel","stylesheet"),Qt.setAttribute("href",f[y].fPath),P.appendChild(Qt)}}f[y].helper=O(f[y],P),f[y].cache={},this.fonts.push(f[y])}$===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function N(S){if(S){this.chars||(this.chars=[]);var P,f=S.length,y,G=this.chars.length,$;for(P=0;P<f;P+=1){for(y=0,$=!1;y<G;)this.chars[y].style===S[P].style&&this.chars[y].fFamily===S[P].fFamily&&this.chars[y].ch===S[P].ch&&($=!0),y+=1;$||(this.chars.push(S[P]),G+=1)}}}function _(S,P,f){for(var y=0,G=this.chars.length;y<G;){if(this.chars[y].ch===S&&this.chars[y].style===P&&this.chars[y].fFamily===f)return this.chars[y];y+=1}return(typeof S=="string"&&S.charCodeAt(0)!==13||!S)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",S,P,f)),r}function E(S,P,f){var y=this.getFontByName(P),G=S;if(!y.cache[G]){var $=y.helper;if(S===" "){var nt=$.measureText("|"+S+"|"),ft=$.measureText("||");y.cache[G]=(nt-ft)/100}else y.cache[G]=$.measureText(S)/100}return y.cache[G]*f}function A(S){for(var P=0,f=this.fonts.length;P<f;){if(this.fonts[P].fName===S)return this.fonts[P];P+=1}return this.fonts[0]}function w(S){var P=0,f=S.charCodeAt(0);if(f>=55296&&f<=56319){var y=S.charCodeAt(1);y>=56320&&y<=57343&&(P=(f-55296)*1024+y-56320+65536)}return P}function F(S,P){var f=S.toString(16)+P.toString(16);return H.indexOf(f)!==-1}function U(S){return S===g}function Y(S){return S===x}function J(S){var P=w(S);return P>=k&&P<=M}function yt(S){return J(S.substr(0,2))&&J(S.substr(2,2))}function pt(S){return s.indexOf(S)!==-1}function ot(S,P){var f=w(S.substr(P,2));if(f!==l)return!1;var y=0;for(P+=2;y<5;){if(f=w(S.substr(P,2)),f<d||f>v)return!1;y+=1,P+=2}return w(S.substr(P,2))===h}function xt(){this.isLoaded=!0}var dt=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};dt.isModifier=F,dt.isZeroWidthJoiner=U,dt.isFlagEmoji=yt,dt.isRegionalCode=J,dt.isCombinedCharacter=pt,dt.isRegionalFlag=ot,dt.isVariationSelector=Y,dt.BLACK_FLAG_CODE_POINT=l;var Z={addChars:N,addFonts:z,getCharData:_,getFontByName:A,measureText:E,checkLoadedFonts:D,setIsLoaded:xt};return dt.prototype=Z,dt}();function Cp(e){this.animationData=e}Cp.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function Eb(e){return new Cp(e)}function _n(){}_n.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(r){this.renderableComponents.indexOf(r)===-1&&this.renderableComponents.push(r)},removeRenderableComponent:function(r){this.renderableComponents.indexOf(r)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(r),1)},prepareRenderableFrame:function(r){this.checkLayerLimits(r)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(r){this.data.ip-this.data.st<=r&&this.data.op-this.data.st>r?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var r,s=this.renderableComponents.length;for(r=0;r<s;r+=1)this.renderableComponents[r].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var _c=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(r){return e[r]||""}}();function Tb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function xb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Ab(e,r,s){this.p=at.getProp(r,e.v,1,0,s)}function Sb(e,r,s){this.p=at.getProp(r,e.v,1,0,s)}function _b(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Ib(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Cb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function kb(){this.p={}}function kp(e,r){var s=e.ef||[];this.effectElements=[];var l,h=s.length,d;for(l=0;l<h;l+=1)d=new Zs(s[l],r),this.effectElements.push(d)}function Zs(e,r){this.init(e,r)}L([ce],Zs),Zs.prototype.getValue=Zs.prototype.iterateDynamicProperties,Zs.prototype.init=function(e,r){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(r);var s,l=this.data.ef.length,h,d=this.data.ef;for(s=0;s<l;s+=1){switch(h=null,d[s].ty){case 0:h=new Tb(d[s],r,this);break;case 1:h=new xb(d[s],r,this);break;case 2:h=new Ab(d[s],r,this);break;case 3:h=new Sb(d[s],r,this);break;case 4:case 7:h=new Cb(d[s],r,this);break;case 10:h=new _b(d[s],r,this);break;case 11:h=new Ib(d[s],r,this);break;case 5:h=new kp(d[s],r,this);break;default:h=new kb(d[s],r,this);break}h&&this.effectElements.push(h)}};function Ti(){}Ti.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var r=0,s=this.data.masksProperties.length;r<s;){if(this.data.masksProperties[r].mode!=="n"&&this.data.masksProperties[r].cl!==!1)return!0;r+=1}return!1},initExpressions:function(){var r=tp();if(r){var s=r("layer"),l=r("effects"),h=r("shape"),d=r("text"),v=r("comp");this.layerInterface=s(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var x=l.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(x),this.data.ty===0||this.data.xt?this.compInterface=v(this):this.data.ty===4?(this.layerInterface.shapeInterface=h(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=d(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var r=_c(this.data.bm),s=this.baseElement||this.layerElement;s.style["mix-blend-mode"]=r},initBaseData:function(r,s,l){this.globalData=s,this.comp=l,this.data=r,this.layerId=Ne(),this.data.sr||(this.data.sr=1),this.effectsManager=new kp(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function xi(){}xi.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,s){var l,h=this.dynamicProperties.length;for(l=0;l<h;l+=1)(s||this._isParent&&this.dynamicProperties[l].propType==="transform")&&(this.dynamicProperties[l].getValue(),this.dynamicProperties[l]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function Ai(e,r,s){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.footageData=r.imageLoader.getAsset(this.assetData),this.initBaseData(e,r,s)}Ai.prototype.prepareFrame=function(){},L([_n,Ti,xi],Ai),Ai.prototype.getBaseElement=function(){return null},Ai.prototype.renderFrame=function(){},Ai.prototype.destroy=function(){},Ai.prototype.initExpressions=function(){var e=tp();if(e){var r=e("footage");this.layerInterface=r(this)}},Ai.prototype.getFootageData=function(){return this.footageData};function Le(e,r,s){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.initBaseData(e,r,s),this._isPlaying=!1,this._canPlay=!1;var l=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(l),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?at.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=at.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}Le.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var r=this.tm.v;this._currentTime=r}this._volume=this.lv.v[0];var s=this._volume*this._volumeMultiplier;this._previousVolume!==s&&(this._previousVolume=s,this.audio.volume(s))},L([_n,Ti,xi],Le),Le.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},Le.prototype.show=function(){},Le.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Le.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Le.prototype.resume=function(){this._canPlay=!0},Le.prototype.setRate=function(e){this.audio.rate(e)},Le.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},Le.prototype.getBaseElement=function(){return null},Le.prototype.destroy=function(){},Le.prototype.sourceRectAtTime=function(){},Le.prototype.initExpressions=function(){};function fe(){}fe.prototype.checkLayers=function(e){var r,s=this.layers.length,l;for(this.completeLayers=!0,r=s-1;r>=0;r-=1)this.elements[r]||(l=this.layers[r],l.ip-l.st<=e-this.layers[r].st&&l.op-l.st>e-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},fe.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},fe.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},fe.prototype.createAudio=function(e){return new Le(e,this.globalData,this)},fe.prototype.createFootage=function(e){return new Ai(e,this.globalData,this)},fe.prototype.buildAllItems=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.buildItem(e);this.checkPendingElements()},fe.prototype.includeLayers=function(e){this.completeLayers=!1;var r,s=e.length,l,h=this.layers.length;for(r=0;r<s;r+=1)for(l=0;l<h;){if(this.layers[l].id===e[r].id){this.layers[l]=e[r];break}l+=1}},fe.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},fe.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},fe.prototype.buildElementParenting=function(e,r,s){for(var l=this.elements,h=this.layers,d=0,v=h.length;d<v;)h[d].ind==r&&(!l[d]||l[d]===!0?(this.buildItem(d),this.addPendingElement(e)):(s.push(l[d]),l[d].setAsParent(),h[d].parent!==void 0?this.buildElementParenting(e,h[d].parent,s):e.setHierarchy(s))),d+=1},fe.prototype.addPendingElement=function(e){this.pendingElements.push(e)},fe.prototype.searchExtraCompositions=function(e){var r,s=e.length;for(r=0;r<s;r+=1)if(e[r].xt){var l=this.createComp(e[r]);l.initExpressions(),this.globalData.projectInterface.registerComposition(l)}},fe.prototype.getElementById=function(e){var r,s=this.elements.length;for(r=0;r<s;r+=1)if(this.elements[r].data.ind===e)return this.elements[r];return null},fe.prototype.getElementByPath=function(e){var r=e.shift(),s;if(typeof r=="number")s=this.elements[r];else{var l,h=this.elements.length;for(l=0;l<h;l+=1)if(this.elements[l].data.nm===r){s=this.elements[l];break}}return e.length===0?s:s.getElementByPath(e)},fe.prototype.setupGlobalData=function(e,r){this.globalData.fontManager=new Qi,this.globalData.slotManager=Eb(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,r),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var wb={TRANSFORM_EFFECT:"transformEFfect"};function Go(){}Go.prototype={initTransform:function(){var r=new ue;this.finalTransform={mProp:this.data.ks?Ec.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:r,localMat:r,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var r,s=this.finalTransform.mat,l=0,h=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;l<h;){if(this.hierarchy[l].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}l+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,s.cloneFromProps(r),l=0;l<h;l+=1)s.multiply(this.hierarchy[l].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var r=0,s=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;r<s;)this.localTransforms[r]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[r]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),r+=1;if(this.finalTransform._localMatMdf){var l=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(l),r=1;r<s;r+=1){var h=this.localTransforms[r].matrix;l.multiply(h)}l.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var d=this.finalTransform.localOpacity;for(r=0;r<s;r+=1)d*=this.localTransforms[r].opacity*.01;this.finalTransform.localOpacity=d}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var r=this.renderableEffectsManager.getEffects(wb.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new ue;var s=0,l=r.length;for(s=0;s<l;s+=1)this.localTransforms.push(r[s])}}},globalToLocal:function(r){var s=[];s.push(this.finalTransform);for(var l=!0,h=this.comp;l;)h.finalTransform?(h.data.hasMask&&s.splice(0,0,h.finalTransform),h=h.comp):l=!1;var d,v=s.length,x;for(d=0;d<v;d+=1)x=s[d].mat.applyToPointArray(0,0,0),r=[r[0]-x[0],r[1]-x[1],0];return r},mHelper:new ue};function Ji(e,r,s){this.data=e,this.element=r,this.globalData=s,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var l=this.globalData.defs,h,d=this.masksProperties?this.masksProperties.length:0;this.viewData=tt(d),this.solidPath="";var v,x=this.masksProperties,g=0,k=[],M,H,T=Ne(),R,D,O,z,N="clipPath",_="clip-path";for(h=0;h<d;h+=1)if((x[h].mode!=="a"&&x[h].mode!=="n"||x[h].inv||x[h].o.k!==100||x[h].o.x)&&(N="mask",_="mask"),(x[h].mode==="s"||x[h].mode==="i")&&g===0?(R=Tt("rect"),R.setAttribute("fill","#ffffff"),R.setAttribute("width",this.element.comp.data.w||0),R.setAttribute("height",this.element.comp.data.h||0),k.push(R)):R=null,v=Tt("path"),x[h].mode==="n")this.viewData[h]={op:at.getProp(this.element,x[h].o,0,.01,this.element),prop:yn.getShapeProp(this.element,x[h],3),elem:v,lastPath:""},l.appendChild(v);else{g+=1,v.setAttribute("fill",x[h].mode==="s"?"#000000":"#ffffff"),v.setAttribute("clip-rule","nonzero");var E;if(x[h].x.k!==0?(N="mask",_="mask",z=at.getProp(this.element,x[h].x,0,null,this.element),E=Ne(),D=Tt("filter"),D.setAttribute("id",E),O=Tt("feMorphology"),O.setAttribute("operator","erode"),O.setAttribute("in","SourceGraphic"),O.setAttribute("radius","0"),D.appendChild(O),l.appendChild(D),v.setAttribute("stroke",x[h].mode==="s"?"#000000":"#ffffff")):(O=null,z=null),this.storedData[h]={elem:v,x:z,expan:O,lastPath:"",lastOperator:"",filterId:E,lastRadius:0},x[h].mode==="i"){H=k.length;var A=Tt("g");for(M=0;M<H;M+=1)A.appendChild(k[M]);var w=Tt("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",T+"_"+g),w.appendChild(v),l.appendChild(w),A.setAttribute("mask","url("+b()+"#"+T+"_"+g+")"),k.length=0,k.push(A)}else k.push(v);x[h].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[h]={elem:v,lastPath:"",op:at.getProp(this.element,x[h].o,0,.01,this.element),prop:yn.getShapeProp(this.element,x[h],3),invRect:R},this.viewData[h].prop.k||this.drawPath(x[h],this.viewData[h].prop.v,this.viewData[h])}for(this.maskElement=Tt(N),d=k.length,h=0;h<d;h+=1)this.maskElement.appendChild(k[h]);g>0&&(this.maskElement.setAttribute("id",T),this.element.maskedElement.setAttribute(_,"url("+b()+"#"+T+")"),l.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Ji.prototype.getMaskProperty=function(e){return this.viewData[e].prop},Ji.prototype.renderFrame=function(e){var r=this.element.finalTransform.mat,s,l=this.masksProperties.length;for(s=0;s<l;s+=1)if((this.viewData[s].prop._mdf||e)&&this.drawPath(this.masksProperties[s],this.viewData[s].prop.v,this.viewData[s]),(this.viewData[s].op._mdf||e)&&this.viewData[s].elem.setAttribute("fill-opacity",this.viewData[s].op.v),this.masksProperties[s].mode!=="n"&&(this.viewData[s].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[s].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[s].x&&(this.storedData[s].x._mdf||e))){var h=this.storedData[s].expan;this.storedData[s].x.v<0?(this.storedData[s].lastOperator!=="erode"&&(this.storedData[s].lastOperator="erode",this.storedData[s].elem.setAttribute("filter","url("+b()+"#"+this.storedData[s].filterId+")")),h.setAttribute("radius",-this.storedData[s].x.v)):(this.storedData[s].lastOperator!=="dilate"&&(this.storedData[s].lastOperator="dilate",this.storedData[s].elem.setAttribute("filter",null)),this.storedData[s].elem.setAttribute("stroke-width",this.storedData[s].x.v*2))}},Ji.prototype.getMaskelement=function(){return this.maskElement},Ji.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},Ji.prototype.drawPath=function(e,r,s){var l=" M"+r.v[0][0]+","+r.v[0][1],h,d;for(d=r._length,h=1;h<d;h+=1)l+=" C"+r.o[h-1][0]+","+r.o[h-1][1]+" "+r.i[h][0]+","+r.i[h][1]+" "+r.v[h][0]+","+r.v[h][1];if(r.c&&d>1&&(l+=" C"+r.o[h-1][0]+","+r.o[h-1][1]+" "+r.i[0][0]+","+r.i[0][1]+" "+r.v[0][0]+","+r.v[0][1]),s.lastPath!==l){var v="";s.elem&&(r.c&&(v=e.inv?this.solidPath+l:l),s.elem.setAttribute("d",v)),s.lastPath=l}},Ji.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var Qs=function(){var e={};e.createFilter=r,e.createAlphaToLuminanceFilter=s;function r(l,h){var d=Tt("filter");return d.setAttribute("id",l),h!==!0&&(d.setAttribute("filterUnits","objectBoundingBox"),d.setAttribute("x","0%"),d.setAttribute("y","0%"),d.setAttribute("width","100%"),d.setAttribute("height","100%")),d}function s(){var l=Tt("feColorMatrix");return l.setAttribute("type","matrix"),l.setAttribute("color-interpolation-filters","sRGB"),l.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),l}return e}(),wp=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),In={},Np="filter_result_";function Ic(e){var r,s="SourceGraphic",l=e.data.ef?e.data.ef.length:0,h=Ne(),d=Qs.createFilter(h,!0),v=0;this.filters=[];var x;for(r=0;r<l;r+=1){x=null;var g=e.data.ef[r].ty;if(In[g]){var k=In[g].effect;x=new k(d,e.effectsManager.effectElements[r],e,Np+v,s),s=Np+v,In[g].countsAsEffect&&(v+=1)}x&&this.filters.push(x)}v&&(e.globalData.defs.appendChild(d),e.layerElement.setAttribute("filter","url("+b()+"#"+h+")")),this.filters.length&&e.addRenderableComponent(this)}Ic.prototype.renderFrame=function(e){var r,s=this.filters.length;for(r=0;r<s;r+=1)this.filters[r].renderFrame(e)},Ic.prototype.getEffects=function(e){var r,s=this.filters.length,l=[];for(r=0;r<s;r+=1)this.filters[r].type===e&&l.push(this.filters[r]);return l};function fA(e,r,s){In[e]={effect:r,countsAsEffect:s}}function Js(){}Js.prototype={initRendererElement:function(){this.layerElement=Tt("g")},createContainerElements:function(){this.matteElement=Tt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var s=Tt("g");s.setAttribute("id",this.layerId),s.appendChild(this.layerElement),r=s,this.globalData.defs.appendChild(s)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),r=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var l=Tt("clipPath"),h=Tt("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var d=Ne();if(l.setAttribute("id",d),l.appendChild(h),this.globalData.defs.appendChild(l),this.checkMasks()){var v=Tt("g");v.setAttribute("clip-path","url("+b()+"#"+d+")"),v.appendChild(this.layerElement),this.transformedElement=v,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+b()+"#"+d+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new Ji(this.data,this,this.globalData),this.renderableEffectsManager=new Ic(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var s=this.layerId+"_"+r,l,h,d,v;if(r===1||r===3){var x=Tt("mask");x.setAttribute("id",s),x.setAttribute("mask-type",r===3?"luminance":"alpha"),d=Tt("use"),d.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),x.appendChild(d),this.globalData.defs.appendChild(x),!wp.maskType&&r===1&&(x.setAttribute("mask-type","luminance"),l=Ne(),h=Qs.createFilter(l),this.globalData.defs.appendChild(h),h.appendChild(Qs.createAlphaToLuminanceFilter()),v=Tt("g"),v.appendChild(d),x.appendChild(v),v.setAttribute("filter","url("+b()+"#"+l+")"))}else if(r===2){var g=Tt("mask");g.setAttribute("id",s),g.setAttribute("mask-type","alpha");var k=Tt("g");g.appendChild(k),l=Ne(),h=Qs.createFilter(l);var M=Tt("feComponentTransfer");M.setAttribute("in","SourceGraphic"),h.appendChild(M);var H=Tt("feFuncA");H.setAttribute("type","table"),H.setAttribute("tableValues","1.0 0.0"),M.appendChild(H),this.globalData.defs.appendChild(h);var T=Tt("rect");T.setAttribute("width",this.comp.data.w),T.setAttribute("height",this.comp.data.h),T.setAttribute("x","0"),T.setAttribute("y","0"),T.setAttribute("fill","#ffffff"),T.setAttribute("opacity","0"),k.setAttribute("filter","url("+b()+"#"+l+")"),k.appendChild(T),d=Tt("use"),d.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),k.appendChild(d),wp.maskType||(g.setAttribute("mask-type","luminance"),h.appendChild(Qs.createAlphaToLuminanceFilter()),v=Tt("g"),k.appendChild(T),v.appendChild(this.layerElement),k.appendChild(v)),this.globalData.defs.appendChild(g)}this.matteMasks[r]=s}return this.matteMasks[r]},setMatte:function(r){this.matteElement&&this.matteElement.setAttribute("mask","url("+b()+"#"+r+")")}};function Yo(){}Yo.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(r){this.hierarchy=r},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function ta(){}(function(){var e={initElement:function(s,l,h){this.initFrame(),this.initBaseData(s,l,h),this.initTransform(s,l,h),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var s=this.baseElement||this.layerElement;s.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var s=this.baseElement||this.layerElement;s.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(s){this._mdf=!1,this.prepareRenderableFrame(s),this.prepareProperties(s,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};L([_n,q(e)],ta)})();function ea(e,r,s){this.assetData=r.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=r.slotManager.getProp(this.assetData)),this.initElement(e,r,s),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}L([Ti,Go,Js,Yo,xi,ta],ea),ea.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=Tt("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},ea.prototype.sourceRectAtTime=function(){return this.sourceRect};function Nb(e,r){this.elem=e,this.pos=r}function Lp(){}Lp.prototype={addShapeToModifiers:function(r){var s,l=this.shapeModifiers.length;for(s=0;s<l;s+=1)this.shapeModifiers[s].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var s=0,l=this.shapeModifiers.length;s<l;)if(this.shapeModifiers[s].isAnimatedWithShape(r))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var r,s=this.shapes.length;for(r=0;r<s;r+=1)this.shapes[r].sh.reset();s=this.shapeModifiers.length;var l;for(r=s-1;r>=0&&(l=this.shapeModifiers[r].processShapes(this._isFirstFrame),!l);r-=1);}},searchProcessedElement:function(r){for(var s=this.processedElements,l=0,h=s.length;l<h;){if(s[l].elem===r)return s[l].pos;l+=1}return 0},addProcessedElement:function(r,s){for(var l=this.processedElements,h=l.length;h;)if(h-=1,l[h].elem===r){l[h].pos=s;return}l.push(new Nb(r,s))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var Mp={1:"butt",2:"round",3:"square"},Rp={1:"miter",2:"round",3:"bevel"};function Op(e,r,s){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=s,this.lvl=r,this._isAnimated=!!s.k;for(var l=0,h=e.length;l<h;){if(e[l].mProps.dynamicProperties.length){this._isAnimated=!0;break}l+=1}}Op.prototype.setAsAnimated=function(){this._isAnimated=!0};function Pp(e,r){this.data=e,this.type=e.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=e.hd===!0,this.pElem=Tt("path"),this.msElem=null}Pp.prototype.reset=function(){this.d="",this._mdf=!1};function Cn(e,r,s,l){this.elem=e,this.frameId=-1,this.dataProps=tt(r.length),this.renderer=s,this.k=!1,this.dashStr="",this.dashArray=X("float32",r.length?r.length-1:0),this.dashoffset=X("float32",1),this.initDynamicPropertyContainer(l);var h,d=r.length||0,v;for(h=0;h<d;h+=1)v=at.getProp(e,r[h].v,0,0,this),this.k=v.k||this.k,this.dataProps[h]={n:r[h].n,p:v};this.k||this.getValue(!0),this._isAnimated=this.k}Cn.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var r=0,s=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),r=0;r<s;r+=1)this.dataProps[r].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[r].p.v:this.dashArray[r]=this.dataProps[r].p.v:this.dashoffset[0]=this.dataProps[r].p.v}},L([ce],Cn);function Dp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,r.o,0,.01,this),this.w=at.getProp(e,r.w,0,null,this),this.d=new Cn(e,r.d||{},"svg",this),this.c=at.getProp(e,r.c,1,255,this),this.style=s,this._isAnimated=!!this._isAnimated}L([ce],Dp);function Fp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,r.o,0,.01,this),this.c=at.getProp(e,r.c,1,255,this),this.style=s}L([ce],Fp);function $p(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=s}L([ce],$p);function ra(e,r,s){this.data=r,this.c=X("uint8c",r.p*4);var l=r.k.k[0].s?r.k.k[0].s.length-r.p*4:r.k.k.length-r.p*4;this.o=X("float32",l),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=l,this.initDynamicPropertyContainer(s),this.prop=at.getProp(e,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ra.prototype.comparePoints=function(e,r){for(var s=0,l=this.o.length/2,h;s<l;){if(h=Math.abs(e[s*4]-e[r*4+s*2]),h>.01)return!1;s+=1}return!0},ra.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,r=this.data.k.k.length;e<r;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},ra.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var r,s=this.data.p*4,l,h;for(r=0;r<s;r+=1)l=r%4===0?100:255,h=Math.round(this.prop.v[r]*l),this.c[r]!==h&&(this.c[r]=h,this._cmdf=!e);if(this.o.length)for(s=this.prop.v.length,r=this.data.p*4;r<s;r+=1)l=r%2===0?100:1,h=r%2===0?Math.round(this.prop.v[r]*100):this.prop.v[r],this.o[r-this.data.p*4]!==h&&(this.o[r-this.data.p*4]=h,this._omdf=!e);this._mdf=!e}},L([ce],ra);function Wo(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,r,s)}Wo.prototype.initGradientData=function(e,r,s){this.o=at.getProp(e,r.o,0,.01,this),this.s=at.getProp(e,r.s,1,null,this),this.e=at.getProp(e,r.e,1,null,this),this.h=at.getProp(e,r.h||{k:0},0,.01,this),this.a=at.getProp(e,r.a||{k:0},0,Ct,this),this.g=new ra(e,r.g,this),this.style=s,this.stops=[],this.setGradientData(s.pElem,r),this.setGradientOpacity(r,s),this._isAnimated=!!this._isAnimated},Wo.prototype.setGradientData=function(e,r){var s=Ne(),l=Tt(r.t===1?"linearGradient":"radialGradient");l.setAttribute("id",s),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse");var h=[],d,v,x;for(x=r.g.p*4,v=0;v<x;v+=4)d=Tt("stop"),l.appendChild(d),h.push(d);e.setAttribute(r.ty==="gf"?"fill":"stroke","url("+b()+"#"+s+")"),this.gf=l,this.cst=h},Wo.prototype.setGradientOpacity=function(e,r){if(this.g._hasOpacity&&!this.g._collapsable){var s,l,h,d=Tt("mask"),v=Tt("path");d.appendChild(v);var x=Ne(),g=Ne();d.setAttribute("id",g);var k=Tt(e.t===1?"linearGradient":"radialGradient");k.setAttribute("id",x),k.setAttribute("spreadMethod","pad"),k.setAttribute("gradientUnits","userSpaceOnUse"),h=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var M=this.stops;for(l=e.g.p*4;l<h;l+=2)s=Tt("stop"),s.setAttribute("stop-color","rgb(255,255,255)"),k.appendChild(s),M.push(s);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+b()+"#"+x+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",Mp[e.lc||2]),v.setAttribute("stroke-linejoin",Rp[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=k,this.ms=d,this.ost=M,this.maskId=g,r.msElem=v}},L([ce],Wo);function zp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=at.getProp(e,r.w,0,null,this),this.d=new Cn(e,r.d||{},"svg",this),this.initGradientData(e,r,s),this._isAnimated=!!this._isAnimated}L([Wo,ce],zp);function Lb(){this.it=[],this.prevViewData=[],this.gr=Tt("g")}function Mb(e,r,s){this.transform={mProps:e,op:r,container:s},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var Vp=function(r,s,l,h){if(s===0)return"";var d=r.o,v=r.i,x=r.v,g,k=" M"+h.applyToPointStringified(x[0][0],x[0][1]);for(g=1;g<s;g+=1)k+=" C"+h.applyToPointStringified(d[g-1][0],d[g-1][1])+" "+h.applyToPointStringified(v[g][0],v[g][1])+" "+h.applyToPointStringified(x[g][0],x[g][1]);return l&&s&&(k+=" C"+h.applyToPointStringified(d[g-1][0],d[g-1][1])+" "+h.applyToPointStringified(v[0][0],v[0][1])+" "+h.applyToPointStringified(x[0][0],x[0][1]),k+="z"),k},Rb=function(){var e=new ue,r=new ue,s={createRenderFunction:l};function l(H){switch(H.ty){case"fl":return x;case"gf":return k;case"gs":return g;case"st":return M;case"sh":case"el":case"rc":case"sr":return v;case"tr":return h;case"no":return d;default:return null}}function h(H,T,R){(R||T.transform.op._mdf)&&T.transform.container.setAttribute("opacity",T.transform.op.v),(R||T.transform.mProps._mdf)&&T.transform.container.setAttribute("transform",T.transform.mProps.v.to2dCSS())}function d(){}function v(H,T,R){var D,O,z,N,_,E,A=T.styles.length,w=T.lvl,F,U,Y,J;for(E=0;E<A;E+=1){if(N=T.sh._mdf||R,T.styles[E].lvl<w){for(U=r.reset(),Y=w-T.styles[E].lvl,J=T.transformers.length-1;!N&&Y>0;)N=T.transformers[J].mProps._mdf||N,Y-=1,J-=1;if(N)for(Y=w-T.styles[E].lvl,J=T.transformers.length-1;Y>0;)U.multiply(T.transformers[J].mProps.v),Y-=1,J-=1}else U=e;if(F=T.sh.paths,O=F._length,N){for(z="",D=0;D<O;D+=1)_=F.shapes[D],_&&_._length&&(z+=Vp(_,_._length,_.c,U));T.caches[E]=z}else z=T.caches[E];T.styles[E].d+=H.hd===!0?"":z,T.styles[E]._mdf=N||T.styles[E]._mdf}}function x(H,T,R){var D=T.style;(T.c._mdf||R)&&D.pElem.setAttribute("fill","rgb("+le(T.c.v[0])+","+le(T.c.v[1])+","+le(T.c.v[2])+")"),(T.o._mdf||R)&&D.pElem.setAttribute("fill-opacity",T.o.v)}function g(H,T,R){k(H,T,R),M(H,T,R)}function k(H,T,R){var D=T.gf,O=T.g._hasOpacity,z=T.s.v,N=T.e.v;if(T.o._mdf||R){var _=H.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(_,T.o.v)}if(T.s._mdf||R){var E=H.t===1?"x1":"cx",A=E==="x1"?"y1":"cy";D.setAttribute(E,z[0]),D.setAttribute(A,z[1]),O&&!T.g._collapsable&&(T.of.setAttribute(E,z[0]),T.of.setAttribute(A,z[1]))}var w,F,U,Y;if(T.g._cmdf||R){w=T.cst;var J=T.g.c;for(U=w.length,F=0;F<U;F+=1)Y=w[F],Y.setAttribute("offset",J[F*4]+"%"),Y.setAttribute("stop-color","rgb("+J[F*4+1]+","+J[F*4+2]+","+J[F*4+3]+")")}if(O&&(T.g._omdf||R)){var yt=T.g.o;for(T.g._collapsable?w=T.cst:w=T.ost,U=w.length,F=0;F<U;F+=1)Y=w[F],T.g._collapsable||Y.setAttribute("offset",yt[F*2]+"%"),Y.setAttribute("stop-opacity",yt[F*2+1])}if(H.t===1)(T.e._mdf||R)&&(D.setAttribute("x2",N[0]),D.setAttribute("y2",N[1]),O&&!T.g._collapsable&&(T.of.setAttribute("x2",N[0]),T.of.setAttribute("y2",N[1])));else{var pt;if((T.s._mdf||T.e._mdf||R)&&(pt=Math.sqrt(Math.pow(z[0]-N[0],2)+Math.pow(z[1]-N[1],2)),D.setAttribute("r",pt),O&&!T.g._collapsable&&T.of.setAttribute("r",pt)),T.e._mdf||T.h._mdf||T.a._mdf||R){pt||(pt=Math.sqrt(Math.pow(z[0]-N[0],2)+Math.pow(z[1]-N[1],2)));var ot=Math.atan2(N[1]-z[1],N[0]-z[0]),xt=T.h.v;xt>=1?xt=.99:xt<=-1&&(xt=-.99);var dt=pt*xt,Z=Math.cos(ot+T.a.v)*dt+z[0],S=Math.sin(ot+T.a.v)*dt+z[1];D.setAttribute("fx",Z),D.setAttribute("fy",S),O&&!T.g._collapsable&&(T.of.setAttribute("fx",Z),T.of.setAttribute("fy",S))}}}function M(H,T,R){var D=T.style,O=T.d;O&&(O._mdf||R)&&O.dashStr&&(D.pElem.setAttribute("stroke-dasharray",O.dashStr),D.pElem.setAttribute("stroke-dashoffset",O.dashoffset[0])),T.c&&(T.c._mdf||R)&&D.pElem.setAttribute("stroke","rgb("+le(T.c.v[0])+","+le(T.c.v[1])+","+le(T.c.v[2])+")"),(T.o._mdf||R)&&D.pElem.setAttribute("stroke-opacity",T.o.v),(T.w._mdf||R)&&(D.pElem.setAttribute("stroke-width",T.w.v),D.msElem&&D.msElem.setAttribute("stroke-width",T.w.v))}return s}();function jt(e,r,s){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,r,s),this.prevViewData=[]}L([Ti,Go,Js,Lp,Yo,xi,ta],jt),jt.prototype.initSecondaryElement=function(){},jt.prototype.identityMatrix=new ue,jt.prototype.buildExpressionInterface=function(){},jt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},jt.prototype.filterUniqueShapes=function(){var e,r=this.shapes.length,s,l,h=this.stylesList.length,d,v=[],x=!1;for(l=0;l<h;l+=1){for(d=this.stylesList[l],x=!1,v.length=0,e=0;e<r;e+=1)s=this.shapes[e],s.styles.indexOf(d)!==-1&&(v.push(s),x=s._isAnimated||x);v.length>1&&x&&this.setShapesAsAnimated(v)}},jt.prototype.setShapesAsAnimated=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r].setAsAnimated()},jt.prototype.createStyleElement=function(e,r){var s,l=new Pp(e,r),h=l.pElem;if(e.ty==="st")s=new Dp(this,e,l);else if(e.ty==="fl")s=new Fp(this,e,l);else if(e.ty==="gf"||e.ty==="gs"){var d=e.ty==="gf"?Wo:zp;s=new d(this,e,l),this.globalData.defs.appendChild(s.gf),s.maskId&&(this.globalData.defs.appendChild(s.ms),this.globalData.defs.appendChild(s.of),h.setAttribute("mask","url("+b()+"#"+s.maskId+")"))}else e.ty==="no"&&(s=new $p(this,e,l));return(e.ty==="st"||e.ty==="gs")&&(h.setAttribute("stroke-linecap",Mp[e.lc||2]),h.setAttribute("stroke-linejoin",Rp[e.lj||2]),h.setAttribute("fill-opacity","0"),e.lj===1&&h.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&h.setAttribute("fill-rule","evenodd"),e.ln&&h.setAttribute("id",e.ln),e.cl&&h.setAttribute("class",e.cl),e.bm&&(h.style["mix-blend-mode"]=_c(e.bm)),this.stylesList.push(l),this.addToAnimatedContents(e,s),s},jt.prototype.createGroupElement=function(e){var r=new Lb;return e.ln&&r.gr.setAttribute("id",e.ln),e.cl&&r.gr.setAttribute("class",e.cl),e.bm&&(r.gr.style["mix-blend-mode"]=_c(e.bm)),r},jt.prototype.createTransformElement=function(e,r){var s=Ec.getTransformProperty(this,e,this),l=new Mb(s,s.o,r);return this.addToAnimatedContents(e,l),l},jt.prototype.createShapeElement=function(e,r,s){var l=4;e.ty==="rc"?l=5:e.ty==="el"?l=6:e.ty==="sr"&&(l=7);var h=yn.getShapeProp(this,e,l,this),d=new Op(r,s,h);return this.shapes.push(d),this.addShapeToModifiers(d),this.addToAnimatedContents(e,d),d},jt.prototype.addToAnimatedContents=function(e,r){for(var s=0,l=this.animatedContents.length;s<l;){if(this.animatedContents[s].element===r)return;s+=1}this.animatedContents.push({fn:Rb.createRenderFunction(e),element:r,data:e})},jt.prototype.setElementStyles=function(e){var r=e.styles,s,l=this.stylesList.length;for(s=0;s<l;s+=1)this.stylesList[s].closed||r.push(this.stylesList[s])},jt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,r=this.itemsData.length;for(e=0;e<r;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),r=this.dynamicProperties.length,e=0;e<r;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},jt.prototype.searchShapes=function(e,r,s,l,h,d,v){var x=[].concat(d),g,k=e.length-1,M,H,T=[],R=[],D,O,z;for(g=k;g>=0;g-=1){if(z=this.searchProcessedElement(e[g]),z?r[g]=s[z-1]:e[g]._render=v,e[g].ty==="fl"||e[g].ty==="st"||e[g].ty==="gf"||e[g].ty==="gs"||e[g].ty==="no")z?r[g].style.closed=!1:r[g]=this.createStyleElement(e[g],h),e[g]._render&&r[g].style.pElem.parentNode!==l&&l.appendChild(r[g].style.pElem),T.push(r[g].style);else if(e[g].ty==="gr"){if(!z)r[g]=this.createGroupElement(e[g]);else for(H=r[g].it.length,M=0;M<H;M+=1)r[g].prevViewData[M]=r[g].it[M];this.searchShapes(e[g].it,r[g].it,r[g].prevViewData,r[g].gr,h+1,x,v),e[g]._render&&r[g].gr.parentNode!==l&&l.appendChild(r[g].gr)}else e[g].ty==="tr"?(z||(r[g]=this.createTransformElement(e[g],l)),D=r[g].transform,x.push(D)):e[g].ty==="sh"||e[g].ty==="rc"||e[g].ty==="el"||e[g].ty==="sr"?(z||(r[g]=this.createShapeElement(e[g],x,h)),this.setElementStyles(r[g])):e[g].ty==="tm"||e[g].ty==="rd"||e[g].ty==="ms"||e[g].ty==="pb"||e[g].ty==="zz"||e[g].ty==="op"?(z?(O=r[g],O.closed=!1):(O=yi.getModifier(e[g].ty),O.init(this,e[g]),r[g]=O,this.shapeModifiers.push(O)),R.push(O)):e[g].ty==="rp"&&(z?(O=r[g],O.closed=!0):(O=yi.getModifier(e[g].ty),r[g]=O,O.init(this,e,g,r),this.shapeModifiers.push(O),v=!1),R.push(O));this.addProcessedElement(e[g],g+1)}for(k=T.length,g=0;g<k;g+=1)T[g].closed=!0;for(k=R.length,g=0;g<k;g+=1)R[g].closed=!0},jt.prototype.renderInnerContent=function(){this.renderModifiers();var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<r;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},jt.prototype.renderShape=function(){var e,r=this.animatedContents.length,s;for(e=0;e<r;e+=1)s=this.animatedContents[e],(this._isFirstFrame||s.element._isAnimated)&&s.data!==!0&&s.fn(s.data,s.element,this._isFirstFrame)},jt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Cc(e,r,s,l,h,d){this.o=e,this.sw=r,this.sc=s,this.fc=l,this.m=h,this.p=d,this._mdf={o:!0,sw:!!r,sc:!!s,fc:!!l,m:!0,p:!0}}Cc.prototype.update=function(e,r,s,l,h,d){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var v=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,v=!0),this.sw!==r&&(this.sw=r,this._mdf.sw=!0,v=!0),this.sc!==s&&(this.sc=s,this._mdf.sc=!0,v=!0),this.fc!==l&&(this.fc=l,this._mdf.fc=!0,v=!0),this.m!==h&&(this.m=h,this._mdf.m=!0,v=!0),d.length&&(this.p[0]!==d[0]||this.p[1]!==d[1]||this.p[4]!==d[4]||this.p[5]!==d[5]||this.p[12]!==d[12]||this.p[13]!==d[13])&&(this.p=d,this._mdf.p=!0,v=!0),v};function xe(e,r){this._frameId=i,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,r.d&&r.d.sid&&(r.d=e.globalData.slotManager.getProp(r.d)),this.data=r,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}xe.prototype.defaultBoxWidth=[0,0],xe.prototype.copyData=function(e,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},xe.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},xe.prototype.searchProperty=function(){return this.searchKeyframes()},xe.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},xe.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},xe.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var r=this.currentData,s=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var l,h=this.effectsSequence.length,d=e||this.data.d.k[this.keysIndex].s;for(l=0;l<h;l+=1)s!==this.keysIndex?d=this.effectsSequence[l](d,d.t):d=this.effectsSequence[l](this.currentData,d.t);r!==d&&this.setCurrentData(d),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},xe.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,r=this.elem.comp.renderedFrame,s=0,l=e.length;s<=l-1&&!(s===l-1||e[s+1].t>r);)s+=1;return this.keysIndex!==s&&(this.keysIndex=s),this.data.d.k[this.keysIndex].s},xe.prototype.buildFinalText=function(e){for(var r=[],s=0,l=e.length,h,d,v=!1,x=!1,g="";s<l;)v=x,x=!1,h=e.charCodeAt(s),g=e.charAt(s),Qi.isCombinedCharacter(h)?v=!0:h>=55296&&h<=56319?Qi.isRegionalFlag(e,s)?g=e.substr(s,14):(d=e.charCodeAt(s+1),d>=56320&&d<=57343&&(Qi.isModifier(h,d)?(g=e.substr(s,2),v=!0):Qi.isFlagEmoji(e.substr(s,4))?g=e.substr(s,4):g=e.substr(s,2))):h>56319?(d=e.charCodeAt(s+1),Qi.isVariationSelector(h)&&(v=!0)):Qi.isZeroWidthJoiner(h)&&(v=!0,x=!0),v?(r[r.length-1]+=g,v=!1):r.push(g),s+=g.length;return r},xe.prototype.completeTextData=function(e){e.__complete=!0;var r=this.elem.globalData.fontManager,s=this.data,l=[],h,d,v,x=0,g,k=s.m.g,M=0,H=0,T=0,R=[],D=0,O=0,z,N,_=r.getFontByName(e.f),E,A=0,w=Ip(_);e.fWeight=w.weight,e.fStyle=w.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),d=e.finalText.length,e.finalLineHeight=e.lh;var F=e.tr/1e3*e.finalSize,U;if(e.sz)for(var Y=!0,J=e.sz[0],yt=e.sz[1],pt,ot;Y;){ot=this.buildFinalText(e.t),pt=0,D=0,d=ot.length,F=e.tr/1e3*e.finalSize;var xt=-1;for(h=0;h<d;h+=1)U=ot[h].charCodeAt(0),v=!1,ot[h]===" "?xt=h:(U===13||U===3)&&(D=0,v=!0,pt+=e.finalLineHeight||e.finalSize*1.2),r.chars?(E=r.getCharData(ot[h],_.fStyle,_.fFamily),A=v?0:E.w*e.finalSize/100):A=r.measureText(ot[h],e.f,e.finalSize),D+A>J&&ot[h]!==" "?(xt===-1?d+=1:h=xt,pt+=e.finalLineHeight||e.finalSize*1.2,ot.splice(h,xt===h?1:0,"\r"),xt=-1,D=0):(D+=A,D+=F);pt+=_.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&yt<pt?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=ot,d=e.finalText.length,Y=!1)}D=-F,A=0;var dt=0,Z;for(h=0;h<d;h+=1)if(v=!1,Z=e.finalText[h],U=Z.charCodeAt(0),U===13||U===3?(dt=0,R.push(D),O=D>O?D:O,D=-2*F,g="",v=!0,T+=1):g=Z,r.chars?(E=r.getCharData(Z,_.fStyle,r.getFontByName(e.f).fFamily),A=v?0:E.w*e.finalSize/100):A=r.measureText(g,e.f,e.finalSize),Z===" "?dt+=A+F:(D+=A+F+dt,dt=0),l.push({l:A,an:A,add:M,n:v,anIndexes:[],val:g,line:T,animatorJustifyOffset:0}),k==2){if(M+=A,g===""||g===" "||h===d-1){for((g===""||g===" ")&&(M-=A);H<=h;)l[H].an=M,l[H].ind=x,l[H].extra=A,H+=1;x+=1,M=0}}else if(k==3){if(M+=A,g===""||h===d-1){for(g===""&&(M-=A);H<=h;)l[H].an=M,l[H].ind=x,l[H].extra=A,H+=1;M=0,x+=1}}else l[x].ind=x,l[x].extra=0,x+=1;if(e.l=l,O=D>O?D:O,R.push(D),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=O,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=R;var S=s.a,P,f;N=S.length;var y,G,$=[];for(z=0;z<N;z+=1){for(P=S[z],P.a.sc&&(e.strokeColorAnim=!0),P.a.sw&&(e.strokeWidthAnim=!0),(P.a.fc||P.a.fh||P.a.fs||P.a.fb)&&(e.fillColorAnim=!0),G=0,y=P.s.b,h=0;h<d;h+=1)f=l[h],f.anIndexes[z]=G,(y==1&&f.val!==""||y==2&&f.val!==""&&f.val!==" "||y==3&&(f.n||f.val==" "||h==d-1)||y==4&&(f.n||h==d-1))&&(P.s.rn===1&&$.push(G),G+=1);s.a[z].s.totalChars=G;var nt=-1,ft;if(P.s.rn===1)for(h=0;h<d;h+=1)f=l[h],nt!=f.anIndexes[z]&&(nt=f.anIndexes[z],ft=$.splice(Math.floor(Math.random()*$.length),1)[0]),f.anIndexes[z]=ft}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=_.ascent*e.finalSize/100},xe.prototype.updateDocumentData=function(e,r){r=r===void 0?this.keysIndex:r;var s=this.copyData({},this.data.d.k[r].s);s=this.copyData(s,e),this.data.d.k[r].s=s,this.recalculate(r),this.setCurrentData(s),this.elem.addDynamicProperty(this)},xe.prototype.recalculate=function(e){var r=this.data.d.k[e].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},xe.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},xe.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Ob=function(){var e=Math.max,r=Math.min,s=Math.floor;function l(d,v){this._currentTextLength=-1,this.k=!1,this.data=v,this.elem=d,this.comp=d.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(d),this.s=at.getProp(d,v.s||{k:0},0,0,this),"e"in v?this.e=at.getProp(d,v.e,0,0,this):this.e={v:100},this.o=at.getProp(d,v.o||{k:0},0,0,this),this.xe=at.getProp(d,v.xe||{k:0},0,0,this),this.ne=at.getProp(d,v.ne||{k:0},0,0,this),this.sm=at.getProp(d,v.sm||{k:100},0,0,this),this.a=at.getProp(d,v.a,0,.01,this),this.dynamicProperties.length||this.getValue()}l.prototype={getMult:function(v){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var x=0,g=0,k=1,M=1;this.ne.v>0?x=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?k=1-this.xe.v/100:M=1+this.xe.v/100;var H=Ys.getBezierEasing(x,g,k,M).get,T=0,R=this.finalS,D=this.finalE,O=this.data.sh;if(O===2)D===R?T=v>=D?1:0:T=e(0,r(.5/(D-R)+(v-R)/(D-R),1)),T=H(T);else if(O===3)D===R?T=v>=D?0:1:T=1-e(0,r(.5/(D-R)+(v-R)/(D-R),1)),T=H(T);else if(O===4)D===R?T=0:(T=e(0,r(.5/(D-R)+(v-R)/(D-R),1)),T<.5?T*=2:T=1-2*(T-.5)),T=H(T);else if(O===5){if(D===R)T=0;else{var z=D-R;v=r(e(0,v+.5-R),D-R);var N=-z/2+v,_=z/2;T=Math.sqrt(1-N*N/(_*_))}T=H(T)}else O===6?(D===R?T=0:(v=r(e(0,v+.5-R),D-R),T=(1+Math.cos(Math.PI+Math.PI*2*v/(D-R)))/2),T=H(T)):(v>=s(R)&&(v-R<0?T=e(0,r(r(D,1)-(R-v),1)):T=e(0,r(D-v,1))),T=H(T));if(this.sm.v!==100){var E=this.sm.v*.01;E===0&&(E=1e-8);var A=.5-E*.5;T<A?T=0:(T=(T-A)/E,T>1&&(T=1))}return T*this.a.v},getValue:function(v){this.iterateDynamicProperties(),this._mdf=v||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,v&&this.data.r===2&&(this.e.v=this._currentTextLength);var x=this.data.r===2?1:100/this.data.totalChars,g=this.o.v/x,k=this.s.v/x+g,M=this.e.v/x+g;if(k>M){var H=k;k=M,M=H}this.finalS=k,this.finalE=M}},L([ce],l);function h(d,v,x){return new l(d,v,x)}return{getTextSelectorProp:h}}();function Pb(e,r,s){var l={propType:!1},h=at.getProp,d=r.a;this.a={r:d.r?h(e,d.r,0,Ct,s):l,rx:d.rx?h(e,d.rx,0,Ct,s):l,ry:d.ry?h(e,d.ry,0,Ct,s):l,sk:d.sk?h(e,d.sk,0,Ct,s):l,sa:d.sa?h(e,d.sa,0,Ct,s):l,s:d.s?h(e,d.s,1,.01,s):l,a:d.a?h(e,d.a,1,0,s):l,o:d.o?h(e,d.o,0,.01,s):l,p:d.p?h(e,d.p,1,0,s):l,sw:d.sw?h(e,d.sw,0,0,s):l,sc:d.sc?h(e,d.sc,1,0,s):l,fc:d.fc?h(e,d.fc,1,0,s):l,fh:d.fh?h(e,d.fh,0,0,s):l,fs:d.fs?h(e,d.fs,0,.01,s):l,fb:d.fb?h(e,d.fb,0,.01,s):l,t:d.t?h(e,d.t,0,0,s):l},this.s=Ob.getTextSelectorProp(e,r.s,s),this.s.t=r.s.t}function to(e,r,s){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=r,this._elem=s,this._animatorsData=tt(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(s)}to.prototype.searchProperties=function(){var e,r=this._textData.a.length,s,l=at.getProp;for(e=0;e<r;e+=1)s=this._textData.a[e],this._animatorsData[e]=new Pb(this._elem,s,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:l(this._elem,this._textData.p.a,0,0,this),f:l(this._elem,this._textData.p.f,0,0,this),l:l(this._elem,this._textData.p.l,0,0,this),r:l(this._elem,this._textData.p.r,0,0,this),p:l(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=l(this._elem,this._textData.m.a,1,0,this)},to.prototype.getMeasures=function(e,r){if(this.lettersChangedFlag=r,!(!this._mdf&&!this._isFirstFrame&&!r&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var s=this._moreOptions.alignment.v,l=this._animatorsData,h=this._textData,d=this.mHelper,v=this._renderType,x=this.renderedLetters.length,g,k,M,H,T=e.l,R,D,O,z,N,_,E,A,w,F,U,Y,J,yt,pt;if(this._hasMaskedPath){if(pt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var ot=pt.v;this._pathData.r.v&&(ot=ot.reverse()),R={tLength:0,segments:[]},H=ot._length-1;var xt;for(Y=0,M=0;M<H;M+=1)xt=Ir.buildBezierData(ot.v[M],ot.v[M+1],[ot.o[M][0]-ot.v[M][0],ot.o[M][1]-ot.v[M][1]],[ot.i[M+1][0]-ot.v[M+1][0],ot.i[M+1][1]-ot.v[M+1][1]]),R.tLength+=xt.segmentLength,R.segments.push(xt),Y+=xt.segmentLength;M=H,pt.v.c&&(xt=Ir.buildBezierData(ot.v[M],ot.v[0],[ot.o[M][0]-ot.v[M][0],ot.o[M][1]-ot.v[M][1]],[ot.i[0][0]-ot.v[0][0],ot.i[0][1]-ot.v[0][1]]),R.tLength+=xt.segmentLength,R.segments.push(xt),Y+=xt.segmentLength),this._pathData.pi=R}if(R=this._pathData.pi,D=this._pathData.f.v,E=0,_=1,z=0,N=!0,F=R.segments,D<0&&pt.v.c)for(R.tLength<Math.abs(D)&&(D=-Math.abs(D)%R.tLength),E=F.length-1,w=F[E].points,_=w.length-1;D<0;)D+=w[_].partialLength,_-=1,_<0&&(E-=1,w=F[E].points,_=w.length-1);w=F[E].points,A=w[_-1],O=w[_],U=O.partialLength}H=T.length,g=0,k=0;var dt=e.finalSize*1.2*.714,Z=!0,S,P,f,y,G;y=l.length;var $,nt=-1,ft,Et,Nt,Lt=D,Qt=E,Me=_,kr=-1,Re,de,Ve,Pt,ht,jr,_i,Kr,wr="",qr=this.defaultPropsArray,Xr;if(e.j===2||e.j===1){var Oe=0,Ii=0,Ci=e.j===2?-.5:-1,vr=0,ki=!0;for(M=0;M<H;M+=1)if(T[M].n){for(Oe&&(Oe+=Ii);vr<M;)T[vr].animatorJustifyOffset=Oe,vr+=1;Oe=0,ki=!0}else{for(f=0;f<y;f+=1)S=l[f].a,S.t.propType&&(ki&&e.j===2&&(Ii+=S.t.v*Ci),P=l[f].s,$=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),$.length?Oe+=S.t.v*$[0]*Ci:Oe+=S.t.v*$*Ci);ki=!1}for(Oe&&(Oe+=Ii);vr<M;)T[vr].animatorJustifyOffset=Oe,vr+=1}for(M=0;M<H;M+=1){if(d.reset(),Re=1,T[M].n)g=0,k+=e.yOffset,k+=Z?1:0,D=Lt,Z=!1,this._hasMaskedPath&&(E=Qt,_=Me,w=F[E].points,A=w[_-1],O=w[_],U=O.partialLength,z=0),wr="",Kr="",jr="",Xr="",qr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(kr!==T[M].line){switch(e.j){case 1:D+=Y-e.lineWidths[T[M].line];break;case 2:D+=(Y-e.lineWidths[T[M].line])/2;break;default:break}kr=T[M].line}nt!==T[M].ind&&(T[nt]&&(D+=T[nt].extra),D+=T[M].an/2,nt=T[M].ind),D+=s[0]*T[M].an*.005;var gr=0;for(f=0;f<y;f+=1)S=l[f].a,S.p.propType&&(P=l[f].s,$=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),$.length?gr+=S.p.v[0]*$[0]:gr+=S.p.v[0]*$),S.a.propType&&(P=l[f].s,$=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),$.length?gr+=S.a.v[0]*$[0]:gr+=S.a.v[0]*$);for(N=!0,this._pathData.a.v&&(D=T[0].an*.5+(Y-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*nt/(H-1),D+=this._pathData.f.v);N;)z+U>=D+gr||!w?(J=(D+gr-z)/O.partialLength,Et=A.point[0]+(O.point[0]-A.point[0])*J,Nt=A.point[1]+(O.point[1]-A.point[1])*J,d.translate(-s[0]*T[M].an*.005,-(s[1]*dt)*.01),N=!1):w&&(z+=O.partialLength,_+=1,_>=w.length&&(_=0,E+=1,F[E]?w=F[E].points:pt.v.c?(_=0,E=0,w=F[E].points):(z-=O.partialLength,w=null)),w&&(A=O,O=w[_],U=O.partialLength));ft=T[M].an/2-T[M].add,d.translate(-ft,0,0)}else ft=T[M].an/2-T[M].add,d.translate(-ft,0,0),d.translate(-s[0]*T[M].an*.005,-s[1]*dt*.01,0);for(f=0;f<y;f+=1)S=l[f].a,S.t.propType&&(P=l[f].s,$=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),(g!==0||e.j!==0)&&(this._hasMaskedPath?$.length?D+=S.t.v*$[0]:D+=S.t.v*$:$.length?g+=S.t.v*$[0]:g+=S.t.v*$));for(e.strokeWidthAnim&&(Ve=e.sw||0),e.strokeColorAnim&&(e.sc?de=[e.sc[0],e.sc[1],e.sc[2]]:de=[0,0,0]),e.fillColorAnim&&e.fc&&(Pt=[e.fc[0],e.fc[1],e.fc[2]]),f=0;f<y;f+=1)S=l[f].a,S.a.propType&&(P=l[f].s,$=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),$.length?d.translate(-S.a.v[0]*$[0],-S.a.v[1]*$[1],S.a.v[2]*$[2]):d.translate(-S.a.v[0]*$,-S.a.v[1]*$,S.a.v[2]*$));for(f=0;f<y;f+=1)S=l[f].a,S.s.propType&&(P=l[f].s,$=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),$.length?d.scale(1+(S.s.v[0]-1)*$[0],1+(S.s.v[1]-1)*$[1],1):d.scale(1+(S.s.v[0]-1)*$,1+(S.s.v[1]-1)*$,1));for(f=0;f<y;f+=1){if(S=l[f].a,P=l[f].s,$=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),S.sk.propType&&($.length?d.skewFromAxis(-S.sk.v*$[0],S.sa.v*$[1]):d.skewFromAxis(-S.sk.v*$,S.sa.v*$)),S.r.propType&&($.length?d.rotateZ(-S.r.v*$[2]):d.rotateZ(-S.r.v*$)),S.ry.propType&&($.length?d.rotateY(S.ry.v*$[1]):d.rotateY(S.ry.v*$)),S.rx.propType&&($.length?d.rotateX(S.rx.v*$[0]):d.rotateX(S.rx.v*$)),S.o.propType&&($.length?Re+=(S.o.v*$[0]-Re)*$[0]:Re+=(S.o.v*$-Re)*$),e.strokeWidthAnim&&S.sw.propType&&($.length?Ve+=S.sw.v*$[0]:Ve+=S.sw.v*$),e.strokeColorAnim&&S.sc.propType)for(ht=0;ht<3;ht+=1)$.length?de[ht]+=(S.sc.v[ht]-de[ht])*$[0]:de[ht]+=(S.sc.v[ht]-de[ht])*$;if(e.fillColorAnim&&e.fc){if(S.fc.propType)for(ht=0;ht<3;ht+=1)$.length?Pt[ht]+=(S.fc.v[ht]-Pt[ht])*$[0]:Pt[ht]+=(S.fc.v[ht]-Pt[ht])*$;S.fh.propType&&($.length?Pt=Jh(Pt,S.fh.v*$[0]):Pt=Jh(Pt,S.fh.v*$)),S.fs.propType&&($.length?Pt=Zh(Pt,S.fs.v*$[0]):Pt=Zh(Pt,S.fs.v*$)),S.fb.propType&&($.length?Pt=Qh(Pt,S.fb.v*$[0]):Pt=Qh(Pt,S.fb.v*$))}}for(f=0;f<y;f+=1)S=l[f].a,S.p.propType&&(P=l[f].s,$=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),this._hasMaskedPath?$.length?d.translate(0,S.p.v[1]*$[0],-S.p.v[2]*$[1]):d.translate(0,S.p.v[1]*$,-S.p.v[2]*$):$.length?d.translate(S.p.v[0]*$[0],S.p.v[1]*$[1],-S.p.v[2]*$[2]):d.translate(S.p.v[0]*$,S.p.v[1]*$,-S.p.v[2]*$));if(e.strokeWidthAnim&&(jr=Ve<0?0:Ve),e.strokeColorAnim&&(_i="rgb("+Math.round(de[0]*255)+","+Math.round(de[1]*255)+","+Math.round(de[2]*255)+")"),e.fillColorAnim&&e.fc&&(Kr="rgb("+Math.round(Pt[0]*255)+","+Math.round(Pt[1]*255)+","+Math.round(Pt[2]*255)+")"),this._hasMaskedPath){if(d.translate(0,-e.ls),d.translate(0,s[1]*dt*.01+k,0),this._pathData.p.v){yt=(O.point[1]-A.point[1])/(O.point[0]-A.point[0]);var eo=Math.atan(yt)*180/Math.PI;O.point[0]<A.point[0]&&(eo+=180),d.rotate(-eo*Math.PI/180)}d.translate(Et,Nt,0),D-=s[0]*T[M].an*.005,T[M+1]&&nt!==T[M+1].ind&&(D+=T[M].an/2,D+=e.tr*.001*e.finalSize)}else{switch(d.translate(g,k,0),e.ps&&d.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:d.translate(T[M].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[M].line]),0,0);break;case 2:d.translate(T[M].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[M].line])/2,0,0);break;default:break}d.translate(0,-e.ls),d.translate(ft,0,0),d.translate(s[0]*T[M].an*.005,s[1]*dt*.01,0),g+=T[M].l+e.tr*.001*e.finalSize}v==="html"?wr=d.toCSS():v==="svg"?wr=d.to2dCSS():qr=[d.props[0],d.props[1],d.props[2],d.props[3],d.props[4],d.props[5],d.props[6],d.props[7],d.props[8],d.props[9],d.props[10],d.props[11],d.props[12],d.props[13],d.props[14],d.props[15]],Xr=Re}x<=M?(G=new Cc(Xr,jr,_i,Kr,wr,qr),this.renderedLetters.push(G),x+=1,this.lettersChangedFlag=!0):(G=this.renderedLetters[M],this.lettersChangedFlag=G.update(Xr,jr,_i,Kr,wr,qr)||this.lettersChangedFlag)}}},to.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},to.prototype.mHelper=new ue,to.prototype.defaultPropsArray=[],L([ce],to);function Je(){}Je.prototype.initElement=function(e,r,s){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,r,s),this.textProperty=new xe(this,e.t,this.dynamicProperties),this.textAnimator=new to(e.t,this.renderType,this),this.initTransform(e,r,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Je.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},Je.prototype.createPathShape=function(e,r){var s,l=r.length,h,d="";for(s=0;s<l;s+=1)r[s].ty==="sh"&&(h=r[s].ks.k,d+=Vp(h,h.i.length,!0,e));return d},Je.prototype.updateDocumentData=function(e,r){this.textProperty.updateDocumentData(e,r)},Je.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},Je.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},Je.prototype.applyTextPropertiesToMatrix=function(e,r,s,l,h){switch(e.ps&&r.translate(e.ps[0],e.ps[1]+e.ascent,0),r.translate(0,-e.ls,0),e.j){case 1:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s]),0,0);break;case 2:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s])/2,0,0);break;default:break}r.translate(l,h,0)},Je.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},Je.prototype.emptyProp=new Cc,Je.prototype.destroy=function(){},Je.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var Db={shapes:[]};function Yr(e,r,s){this.textSpans=[],this.renderType="svg",this.initElement(e,r,s)}L([Ti,Go,Js,Yo,xi,ta,Je],Yr),Yr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Tt("text"))},Yr.prototype.buildTextContents=function(e){for(var r=0,s=e.length,l=[],h="";r<s;)e[r]==="\r"||e[r]===""?(l.push(h),h=""):h+=e[r],r+=1;return l.push(h),l},Yr.prototype.buildShapeData=function(e,r){if(e.shapes&&e.shapes.length){var s=e.shapes[0];if(s.it){var l=s.it[s.it.length-1];l.s&&(l.s.k[0]=r,l.s.k[1]=r)}}return e},Yr.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,r,s=this.textProperty.currentData;this.renderedLetters=tt(s?s.l.length:0),s.fc?this.layerElement.setAttribute("fill",this.buildColor(s.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),s.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(s.sc)),this.layerElement.setAttribute("stroke-width",s.sw)),this.layerElement.setAttribute("font-size",s.finalSize);var l=this.globalData.fontManager.getFontByName(s.f);if(l.fClass)this.layerElement.setAttribute("class",l.fClass);else{this.layerElement.setAttribute("font-family",l.fFamily);var h=s.fWeight,d=s.fStyle;this.layerElement.setAttribute("font-style",d),this.layerElement.setAttribute("font-weight",h)}this.layerElement.setAttribute("aria-label",s.t);var v=s.l||[],x=!!this.globalData.fontManager.chars;r=v.length;var g,k=this.mHelper,M="",H=this.data.singleShape,T=0,R=0,D=!0,O=s.tr*.001*s.finalSize;if(H&&!x&&!s.sz){var z=this.textContainer,N="start";switch(s.j){case 1:N="end";break;case 2:N="middle";break;default:N="start";break}z.setAttribute("text-anchor",N),z.setAttribute("letter-spacing",O);var _=this.buildTextContents(s.finalText);for(r=_.length,R=s.ps?s.ps[1]+s.ascent:0,e=0;e<r;e+=1)g=this.textSpans[e].span||Tt("tspan"),g.textContent=_[e],g.setAttribute("x",0),g.setAttribute("y",R),g.style.display="inherit",z.appendChild(g),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=g,R+=s.finalLineHeight;this.layerElement.appendChild(z)}else{var E=this.textSpans.length,A;for(e=0;e<r;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!x||!H||e===0){if(g=E>e?this.textSpans[e].span:Tt(x?"g":"text"),E<=e){if(g.setAttribute("stroke-linecap","butt"),g.setAttribute("stroke-linejoin","round"),g.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=g,x){var w=Tt("g");g.appendChild(w),this.textSpans[e].childSpan=w}this.textSpans[e].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(k.reset(),H&&(v[e].n&&(T=-O,R+=s.yOffset,R+=D?1:0,D=!1),this.applyTextPropertiesToMatrix(s,k,v[e].line,T,R),T+=v[e].l||0,T+=O),x){A=this.globalData.fontManager.getCharData(s.finalText[e],l.fStyle,this.globalData.fontManager.getFontByName(s.f).fFamily);var F;if(A.t===1)F=new ia(A.data,this.globalData,this);else{var U=Db;A.data&&A.data.shapes&&(U=this.buildShapeData(A.data,s.finalSize)),F=new jt(U,this.globalData,this)}if(this.textSpans[e].glyph){var Y=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(Y.layerElement),Y.destroy()}this.textSpans[e].glyph=F,F._debug=!0,F.prepareFrame(0),F.renderFrame(),this.textSpans[e].childSpan.appendChild(F.layerElement),A.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+s.finalSize/100+","+s.finalSize/100+")")}else H&&g.setAttribute("transform","translate("+k.props[12]+","+k.props[13]+")"),g.textContent=v[e].val,g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}H&&g&&g.setAttribute("d",M)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},Yr.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},Yr.prototype.getValue=function(){var e,r=this.textSpans.length,s;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)s=this.textSpans[e].glyph,s&&(s.prepareFrame(this.comp.renderedFrame-this.data.st),s._mdf&&(this._mdf=!0))},Yr.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,r,s=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;r=l.length;var h,d,v;for(e=0;e<r;e+=1)l[e].n||(h=s[e],d=this.textSpans[e].span,v=this.textSpans[e].glyph,v&&v.renderFrame(),h._mdf.m&&d.setAttribute("transform",h.m),h._mdf.o&&d.setAttribute("opacity",h.o),h._mdf.sw&&d.setAttribute("stroke-width",h.sw),h._mdf.sc&&d.setAttribute("stroke",h.sc),h._mdf.fc&&d.setAttribute("fill",h.fc))}};function kc(e,r,s){this.initElement(e,r,s)}L([ea],kc),kc.prototype.createContent=function(){var e=Tt("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function Si(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initFrame(),this.initTransform(e,r,s),this.initHierarchy()}Si.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},Si.prototype.renderFrame=function(){},Si.prototype.getBaseElement=function(){return null},Si.prototype.destroy=function(){},Si.prototype.sourceRectAtTime=function(){},Si.prototype.hide=function(){},L([Ti,Go,Yo,xi],Si);function re(){}L([fe],re),re.prototype.createNull=function(e){return new Si(e,this.globalData,this)},re.prototype.createShape=function(e){return new jt(e,this.globalData,this)},re.prototype.createText=function(e){return new Yr(e,this.globalData,this)},re.prototype.createImage=function(e){return new ea(e,this.globalData,this)},re.prototype.createSolid=function(e){return new kc(e,this.globalData,this)},re.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var r=this.globalData.defs;this.setupGlobalData(e,r),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var s=Tt("clipPath"),l=Tt("rect");l.setAttribute("width",e.w),l.setAttribute("height",e.h),l.setAttribute("x",0),l.setAttribute("y",0);var h=Ne();s.setAttribute("id",h),s.appendChild(l),this.layerElement.setAttribute("clip-path","url("+b()+"#"+h+")"),r.appendChild(s),this.layers=e.layers,this.elements=tt(e.layers.length)},re.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,r=this.layers?this.layers.length:0;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},re.prototype.updateContainerSize=function(){},re.prototype.findIndexByInd=function(e){var r=0,s=this.layers.length;for(r=0;r<s;r+=1)if(this.layers[r].ind===e)return r;return-1},re.prototype.buildItem=function(e){var r=this.elements;if(!(r[e]||this.layers[e].ty===99)){r[e]=!0;var s=this.createItem(this.layers[e]);if(r[e]=s,pn()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(s),s.initExpressions()),this.appendElementInPos(s,e),this.layers[e].tt){var l="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(l===-1)return;if(!this.elements[l]||this.elements[l]===!0)this.buildItem(l),this.addPendingElement(s);else{var h=r[l],d=h.getMatte(this.layers[e].tt);s.setMatte(d)}}}},re.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var r=0,s=this.elements.length;r<s;){if(this.elements[r]===e){var l="tp"in e.data?this.findIndexByInd(e.data.tp):r-1,h=this.elements[l],d=h.getMatte(this.layers[r].tt);e.setMatte(d);break}r+=1}}},re.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var r,s=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=s-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf)for(r=0;r<s;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame()}},re.prototype.appendElementInPos=function(e,r){var s=e.getBaseElement();if(s){for(var l=0,h;l<r;)this.elements[l]&&this.elements[l]!==!0&&this.elements[l].getBaseElement()&&(h=this.elements[l].getBaseElement()),l+=1;h?this.layerElement.insertBefore(s,h):this.layerElement.appendChild(s)}},re.prototype.hide=function(){this.layerElement.style.display="none"},re.prototype.show=function(){this.layerElement.style.display="block"};function Wr(){}L([Ti,Go,Yo,xi,ta],Wr),Wr.prototype.initElement=function(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initTransform(e,r,s),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!r.progressiveLoad)&&this.buildAllItems(),this.hide()},Wr.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var r=this.tm.v;r===this.data.op&&(r=this.data.op-1),this.renderedFrame=r}var s,l=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),s=l-1;s>=0;s-=1)(this.completeLayers||this.elements[s])&&(this.elements[s].prepareFrame(this.renderedFrame-this.layers[s].st),this.elements[s]._mdf&&(this._mdf=!0))}},Wr.prototype.renderInnerContent=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},Wr.prototype.setElements=function(e){this.elements=e},Wr.prototype.getElements=function(){return this.elements},Wr.prototype.destroyElements=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy()},Wr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function ia(e,r,s){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?tt(this.layers.length):[],this.initElement(e,r,s),this.tm=e.tm?at.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0}}L([re,Wr,Js],ia),ia.prototype.createComp=function(e){return new ia(e,this.globalData,this)};function wc(e,r){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=Tt("svg");var s="";if(r&&r.title){var l=Tt("title"),h=Ne();l.setAttribute("id",h),l.textContent=r.title,this.svgElement.appendChild(l),s+=h}if(r&&r.description){var d=Tt("desc"),v=Ne();d.setAttribute("id",v),d.textContent=r.description,this.svgElement.appendChild(d),s+=" "+v}s&&this.svgElement.setAttribute("aria-labelledby",s);var x=Tt("defs");this.svgElement.appendChild(x);var g=Tt("g");this.svgElement.appendChild(g),this.layerElement=g,this.renderConfig={preserveAspectRatio:r&&r.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:r&&r.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:r&&r.contentVisibility||"visible",progressiveLoad:r&&r.progressiveLoad||!1,hideOnTransparent:!(r&&r.hideOnTransparent===!1),viewBoxOnly:r&&r.viewBoxOnly||!1,viewBoxSize:r&&r.viewBoxSize||!1,className:r&&r.className||"",id:r&&r.id||"",focusable:r&&r.focusable,filterSize:{width:r&&r.filterSize&&r.filterSize.width||"100%",height:r&&r.filterSize&&r.filterSize.height||"100%",x:r&&r.filterSize&&r.filterSize.x||"0%",y:r&&r.filterSize&&r.filterSize.y||"0%"},width:r&&r.width,height:r&&r.height,runExpressions:!r||r.runExpressions===void 0||r.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:x,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return L([re],wc),wc.prototype.createComp=function(e){return new ia(e,this.globalData,this)},Wg("svg",wc),yi.registerModifier("tm",fr),yi.registerModifier("pb",Ws),yi.registerModifier("rp",Cr),yi.registerModifier("rd",js),yi.registerModifier("zz",qs),yi.registerModifier("op",Xs),Rt})});var Ln=globalThis,Mn=Ln.ShadowRoot&&(Ln.ShadyCSS===void 0||Ln.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Lc=Symbol(),Up=new WeakMap,oa=class{constructor(o,t,i){if(this._$cssResult$=!0,i!==Lc)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=t}get styleSheet(){let o=this.o,t=this.t;if(Mn&&o===void 0){let i=t!==void 0&&t.length===1;i&&(o=Up.get(t)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),i&&Up.set(t,o))}return o}toString(){return this.cssText}},Hp=n=>new oa(typeof n=="string"?n:n+"",void 0,Lc),V=(n,...o)=>{let t=n.length===1?n[0]:o.reduce((i,a,c)=>i+(m=>{if(m._$cssResult$===!0)return m.cssText;if(typeof m=="number")return m;throw Error("Value passed to 'css' function must be a 'css' function result: "+m+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+n[c+1],n[0]);return new oa(t,n,Lc)},Mc=(n,o)=>{if(Mn)n.adoptedStyleSheets=o.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of o){let i=document.createElement("style"),a=Ln.litNonce;a!==void 0&&i.setAttribute("nonce",a),i.textContent=t.cssText,n.appendChild(i)}},Rn=Mn?n=>n:n=>n instanceof CSSStyleSheet?(o=>{let t="";for(let i of o.cssRules)t+=i.cssText;return Hp(t)})(n):n;var{is:Gb,defineProperty:Yb,getOwnPropertyDescriptor:Wb,getOwnPropertyNames:jb,getOwnPropertySymbols:Kb,getPrototypeOf:qb}=Object,wi=globalThis,Gp=wi.trustedTypes,Xb=Gp?Gp.emptyScript:"",Rc=wi.reactiveElementPolyfillSupport,sa=(n,o)=>n,aa={toAttribute(n,o){switch(o){case Boolean:n=n?Xb:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,o){let t=n;switch(o){case Boolean:t=n!==null;break;case Number:t=n===null?null:Number(n);break;case Object:case Array:try{t=JSON.parse(n)}catch{t=null}}return t}},On=(n,o)=>!Gb(n,o),Yp={attribute:!0,type:String,converter:aa,reflect:!1,hasChanged:On},Wp,jp;(Wp=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(jp=wi.litPropertyMetadata)!=null||(wi.litPropertyMetadata=new WeakMap);var Zr=class extends HTMLElement{static addInitializer(o){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(o)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(o,t=Yp){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(o,t),!t.noAccessor){let i=Symbol(),a=this.getPropertyDescriptor(o,i,t);a!==void 0&&Yb(this.prototype,o,a)}}static getPropertyDescriptor(o,t,i){var m;let{get:a,set:c}=(m=Wb(this.prototype,o))!=null?m:{get(){return this[t]},set(b){this[t]=b}};return{get(){return a==null?void 0:a.call(this)},set(b){let C=a==null?void 0:a.call(this);c.call(this,b),this.requestUpdate(o,C,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){var t;return(t=this.elementProperties.get(o))!=null?t:Yp}static _$Ei(){if(this.hasOwnProperty(sa("elementProperties")))return;let o=qb(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(sa("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(sa("properties"))){let t=this.properties,i=[...jb(t),...Kb(t)];for(let a of i)this.createProperty(a,t[a])}let o=this[Symbol.metadata];if(o!==null){let t=litPropertyMetadata.get(o);if(t!==void 0)for(let[i,a]of t)this.elementProperties.set(i,a)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let a=this._$Eu(t,i);a!==void 0&&this._$Eh.set(a,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){let t=[];if(Array.isArray(o)){let i=new Set(o.flat(1/0).reverse());for(let a of i)t.unshift(Rn(a))}else o!==void 0&&t.push(Rn(o));return t}static _$Eu(o,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof o=="string"?o.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var o;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(o=this.constructor.l)==null||o.forEach(t=>t(this))}addController(o){var t,i;((t=this._$EO)!=null?t:this._$EO=new Set).add(o),this.renderRoot!==void 0&&this.isConnected&&((i=o.hostConnected)==null||i.call(o))}removeController(o){var t;(t=this._$EO)==null||t.delete(o)}_$E_(){let o=new Map,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(o.set(i,this[i]),delete this[i]);o.size>0&&(this._$Ep=o)}createRenderRoot(){var t;let o=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return Mc(o,this.constructor.elementStyles),o}connectedCallback(){var o,t;(o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(i=>{var a;return(a=i.hostConnected)==null?void 0:a.call(i)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(t=>{var i;return(i=t.hostDisconnected)==null?void 0:i.call(t)})}attributeChangedCallback(o,t,i){this._$AK(o,i)}_$EC(o,t){var c;let i=this.constructor.elementProperties.get(o),a=this.constructor._$Eu(o,i);if(a!==void 0&&i.reflect===!0){let m=(((c=i.converter)==null?void 0:c.toAttribute)!==void 0?i.converter:aa).toAttribute(t,i.type);this._$Em=o,m==null?this.removeAttribute(a):this.setAttribute(a,m),this._$Em=null}}_$AK(o,t){var c;let i=this.constructor,a=i._$Eh.get(o);if(a!==void 0&&this._$Em!==a){let m=i.getPropertyOptions(a),b=typeof m.converter=="function"?{fromAttribute:m.converter}:((c=m.converter)==null?void 0:c.fromAttribute)!==void 0?m.converter:aa;this._$Em=a,this[a]=b.fromAttribute(t,m.type),this._$Em=null}}requestUpdate(o,t,i){var a;if(o!==void 0){if(i!=null||(i=this.constructor.getPropertyOptions(o)),!((a=i.hasChanged)!=null?a:On)(this[o],t))return;this.P(o,t,i)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,t,i){var a;this._$AL.has(o)||this._$AL.set(o,t),i.reflect===!0&&this._$Em!==o&&((a=this._$Ej)!=null?a:this._$Ej=new Set).add(o)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let o=this.scheduleUpdate();return o!=null&&await o,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i,a;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((i=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,b]of this._$Ep)this[m]=b;this._$Ep=void 0}let c=this.constructor.elementProperties;if(c.size>0)for(let[m,b]of c)b.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],b)}let o=!1,t=this._$AL;try{o=this.shouldUpdate(t),o?(this.willUpdate(t),(a=this._$EO)==null||a.forEach(c=>{var m;return(m=c.hostUpdate)==null?void 0:m.call(c)}),this.update(t)):this._$EU()}catch(c){throw o=!1,this._$EU(),c}o&&this._$AE(t)}willUpdate(o){}_$AE(o){var t;(t=this._$EO)==null||t.forEach(i=>{var a;return(a=i.hostUpdated)==null?void 0:a.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(o)),this.updated(o)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(o){return!0}update(o){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(o){}firstUpdated(o){}},Kp;Zr.elementStyles=[],Zr.shadowRootOptions={mode:"open"},Zr[sa("elementProperties")]=new Map,Zr[sa("finalized")]=new Map,Rc==null||Rc({ReactiveElement:Zr}),((Kp=wi.reactiveElementVersions)!=null?Kp:wi.reactiveElementVersions=[]).push("2.0.4");var la=globalThis,Pn=la.trustedTypes,qp=Pn?Pn.createPolicy("lit-html",{createHTML:n=>n}):void 0,Dc="$lit$",Qr=`lit$${Math.random().toFixed(9).slice(2)}$`,Fc="?"+Qr,Zb=`<${Fc}>`,oo=document,ca=()=>oo.createComment(""),da=n=>n===null||typeof n!="object"&&typeof n!="function",$c=Array.isArray,rm=n=>$c(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",Oc=`[
3
+ \f\r]`,na=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xp=/-->/g,Zp=/>/g,ro=RegExp(`>|${Oc}(?:([^\\s"'>=/]+)(${Oc}*=${Oc}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Qp=/'/g,Jp=/"/g,im=/^(?:script|style|textarea|title)$/i,zc=n=>(o,...t)=>({_$litType$:n,strings:o,values:t}),I=zc(1),TA=zc(2),xA=zc(3),ve=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),tm=new WeakMap,io=oo.createTreeWalker(oo,129);function om(n,o){if(!$c(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return qp!==void 0?qp.createHTML(o):o}var sm=(n,o)=>{let t=n.length-1,i=[],a,c=o===2?"<svg>":o===3?"<math>":"",m=na;for(let b=0;b<t;b++){let C=n[b],L,W,q=-1,it=0;for(;it<C.length&&(m.lastIndex=it,W=m.exec(C),W!==null);)it=m.lastIndex,m===na?W[1]==="!--"?m=Xp:W[1]!==void 0?m=Zp:W[2]!==void 0?(im.test(W[2])&&(a=RegExp("</"+W[2],"g")),m=ro):W[3]!==void 0&&(m=ro):m===ro?W[0]===">"?(m=a!=null?a:na,q=-1):W[1]===void 0?q=-2:(q=m.lastIndex-W[2].length,L=W[1],m=W[3]===void 0?ro:W[3]==='"'?Jp:Qp):m===Jp||m===Qp?m=ro:m===Xp||m===Zp?m=na:(m=ro,a=void 0);let X=m===ro&&n[b+1].startsWith("/>")?" ":"";c+=m===na?C+Zb:q>=0?(i.push(L),C.slice(0,q)+Dc+C.slice(q)+Qr+X):C+Qr+(q===-2?b:X)}return[om(n,c+(n[t]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),i]},ha=class n{constructor({strings:o,_$litType$:t},i){let a;this.parts=[];let c=0,m=0,b=o.length-1,C=this.parts,[L,W]=sm(o,t);if(this.el=n.createElement(L,i),io.currentNode=this.el.content,t===2||t===3){let q=this.el.content.firstChild;q.replaceWith(...q.childNodes)}for(;(a=io.nextNode())!==null&&C.length<b;){if(a.nodeType===1){if(a.hasAttributes())for(let q of a.getAttributeNames())if(q.endsWith(Dc)){let it=W[m++],X=a.getAttribute(q).split(Qr),tt=/([.?@])?(.*)/.exec(it);C.push({type:1,index:c,name:tt[2],strings:X,ctor:tt[1]==="."?Fn:tt[1]==="?"?$n:tt[1]==="@"?zn:ao}),a.removeAttribute(q)}else q.startsWith(Qr)&&(C.push({type:6,index:c}),a.removeAttribute(q));if(im.test(a.tagName)){let q=a.textContent.split(Qr),it=q.length-1;if(it>0){a.textContent=Pn?Pn.emptyScript:"";for(let X=0;X<it;X++)a.append(q[X],ca()),io.nextNode(),C.push({type:2,index:++c});a.append(q[it],ca())}}}else if(a.nodeType===8)if(a.data===Fc)C.push({type:2,index:c});else{let q=-1;for(;(q=a.data.indexOf(Qr,q+1))!==-1;)C.push({type:7,index:c}),q+=Qr.length-1}c++}}static createElement(o,t){let i=oo.createElement("template");return i.innerHTML=o,i}};function so(n,o,t=n,i){var m,b,C;if(o===ve)return o;let a=i!==void 0?(m=t.o)==null?void 0:m[i]:t.l,c=da(o)?void 0:o._$litDirective$;return(a==null?void 0:a.constructor)!==c&&((b=a==null?void 0:a._$AO)==null||b.call(a,!1),c===void 0?a=void 0:(a=new c(n),a._$AT(n,t,i)),i!==void 0?((C=t.o)!=null?C:t.o=[])[i]=a:t.l=a),a!==void 0&&(o=so(n,a._$AS(n,o.values),a,i)),o}var Dn=class{constructor(o,t){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){var L;let{el:{content:t},parts:i}=this._$AD,a=((L=o==null?void 0:o.creationScope)!=null?L:oo).importNode(t,!0);io.currentNode=a;let c=io.nextNode(),m=0,b=0,C=i[0];for(;C!==void 0;){if(m===C.index){let W;C.type===2?W=new jo(c,c.nextSibling,this,o):C.type===1?W=new C.ctor(c,C.name,C.strings,this,o):C.type===6&&(W=new Vn(c,this,o)),this._$AV.push(W),C=i[++b]}m!==(C==null?void 0:C.index)&&(c=io.nextNode(),m++)}return io.currentNode=oo,a}p(o){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,t),t+=i.strings.length-2):i._$AI(o[t])),t++}},jo=class n{get _$AU(){var o,t;return(t=(o=this._$AM)==null?void 0:o._$AU)!=null?t:this.v}constructor(o,t,i,a){var c;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=o,this._$AB=t,this._$AM=i,this.options=a,this.v=(c=a==null?void 0:a.isConnected)!=null?c:!0}get parentNode(){let o=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(o==null?void 0:o.nodeType)===11&&(o=t.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,t=this){o=so(this,o,t),da(o)?o===j||o==null||o===""?(this._$AH!==j&&this._$AR(),this._$AH=j):o!==this._$AH&&o!==ve&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):rm(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==j&&da(this._$AH)?this._$AA.nextSibling.data=o:this.T(oo.createTextNode(o)),this._$AH=o}$(o){var c;let{values:t,_$litType$:i}=o,a=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=ha.createElement(om(i.h,i.h[0]),this.options)),i);if(((c=this._$AH)==null?void 0:c._$AD)===a)this._$AH.p(t);else{let m=new Dn(a,this),b=m.u(this.options);m.p(t),this.T(b),this._$AH=m}}_$AC(o){let t=tm.get(o.strings);return t===void 0&&tm.set(o.strings,t=new ha(o)),t}k(o){$c(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,a=0;for(let c of o)a===t.length?t.push(i=new n(this.O(ca()),this.O(ca()),this,this.options)):i=t[a],i._$AI(c),a++;a<t.length&&(this._$AR(i&&i._$AB.nextSibling,a),t.length=a)}_$AR(o=this._$AA.nextSibling,t){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,t);o&&o!==this._$AB;){let a=o.nextSibling;o.remove(),o=a}}setConnected(o){var t;this._$AM===void 0&&(this.v=o,(t=this._$AP)==null||t.call(this,o))}},ao=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,t,i,a,c){this.type=1,this._$AH=j,this._$AN=void 0,this.element=o,this.name=t,this._$AM=a,this.options=c,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=j}_$AI(o,t=this,i,a){let c=this.strings,m=!1;if(c===void 0)o=so(this,o,t,0),m=!da(o)||o!==this._$AH&&o!==ve,m&&(this._$AH=o);else{let b=o,C,L;for(o=c[0],C=0;C<c.length-1;C++)L=so(this,b[i+C],t,C),L===ve&&(L=this._$AH[C]),m||(m=!da(L)||L!==this._$AH[C]),L===j?o=j:o!==j&&(o+=(L!=null?L:"")+c[C+1]),this._$AH[C]=L}m&&!a&&this.j(o)}j(o){o===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o!=null?o:"")}},Fn=class extends ao{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===j?void 0:o}},$n=class extends ao{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==j)}},zn=class extends ao{constructor(o,t,i,a,c){super(o,t,i,a,c),this.type=5}_$AI(o,t=this){var m;if((o=(m=so(this,o,t,0))!=null?m:j)===ve)return;let i=this._$AH,a=o===j&&i!==j||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,c=o!==j&&(i===j||a);a&&this.element.removeEventListener(this.name,this,i),c&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){var t,i;typeof this._$AH=="function"?this._$AH.call((i=(t=this.options)==null?void 0:t.host)!=null?i:this.element,o):this._$AH.handleEvent(o)}},Vn=class{constructor(o,t,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){so(this,o)}},am={M:Dc,P:Qr,A:Fc,C:1,L:sm,R:Dn,D:rm,V:so,I:jo,H:ao,N:$n,U:zn,B:Fn,F:Vn},Pc=la.litHtmlPolyfillSupport,em;Pc==null||Pc(ha,jo),((em=la.litHtmlVersions)!=null?em:la.litHtmlVersions=[]).push("3.2.0");var nm=(n,o,t)=>{var c,m;let i=(c=t==null?void 0:t.renderBefore)!=null?c:o,a=i._$litPart$;if(a===void 0){let b=(m=t==null?void 0:t.renderBefore)!=null?m:null;i._$litPart$=a=new jo(o.insertBefore(ca(),b),b,void 0,t!=null?t:{})}return a._$AI(n),a};var Ni=class extends Zr{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,i;let o=super.createRenderRoot();return(i=(t=this.renderOptions).renderBefore)!=null||(t.renderBefore=o.firstChild),o}update(o){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(o),this.o=nm(t,this.renderRoot,this.renderOptions)}connectedCallback(){var o;super.connectedCallback(),(o=this.o)==null||o.setConnected(!0)}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this.o)==null||o.setConnected(!1)}render(){return ve}},lm;Ni._$litElement$=!0,Ni.finalized=!0,(lm=globalThis.litElementHydrateSupport)==null||lm.call(globalThis,{LitElement:Ni});var Vc=globalThis.litElementPolyfillSupport;Vc==null||Vc({LitElement:Ni});var cm;((cm=globalThis.litElementVersions)!=null?cm:globalThis.litElementVersions=[]).push("4.1.0");var Qb={attribute:!0,type:String,converter:aa,reflect:!1,hasChanged:On},Jb=(n=Qb,o,t)=>{let{kind:i,metadata:a}=t,c=globalThis.litPropertyMetadata.get(a);if(c===void 0&&globalThis.litPropertyMetadata.set(a,c=new Map),c.set(t.name,n),i==="accessor"){let{name:m}=t;return{set(b){let C=o.get.call(this);o.set.call(this,b),this.requestUpdate(m,C,n)},init(b){return b!==void 0&&this.P(m,void 0,n),b}}}if(i==="setter"){let{name:m}=t;return function(b){let C=this[m];o.call(this,b),this.requestUpdate(m,C,n)}}throw Error("Unsupported decorator location: "+i)};function u(n){return(o,t)=>typeof t=="object"?Jb(n,o,t):((i,a,c)=>{let m=a.hasOwnProperty(c);return a.constructor.createProperty(c,m?{...i,wrapped:!0}:i),m?Object.getOwnPropertyDescriptor(a,c):void 0})(n,o,t)}function gt(n){return u({...n,state:!0,attribute:!1})}var Nr=(n,o,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof o!="object"&&Object.defineProperty(n,o,t),t);function tr(n,o){return(t,i,a)=>{let c=m=>{var b,C;return(C=(b=m.renderRoot)==null?void 0:b.querySelector(n))!=null?C:null};if(o){let{get:m,set:b}=typeof i=="object"?t:a!=null?a:(()=>{let C=Symbol();return{get(){return this[C]},set(L){this[C]=L}}})();return Nr(t,i,{get(){let C=m.call(this);return C===void 0&&(C=c(this),(C!==null||this.hasUpdated)&&b.call(this,C)),C}})}return Nr(t,i,{get(){return c(this)}})}}var Bc;function dm(n){return(o,t)=>Nr(o,t,{get(){var i;return((i=this.renderRoot)!=null?i:Bc!=null?Bc:Bc=document.createDocumentFragment()).querySelectorAll(n)}})}function Ot(n){return(o,t)=>{let{slot:i,selector:a}=n!=null?n:{},c="slot"+(i?`[name=${i}]`:":not([name])");return Nr(o,t,{get(){var C,L;let m=(C=this.renderRoot)==null?void 0:C.querySelector(c),b=(L=m==null?void 0:m.assignedElements(n))!=null?L:[];return a===void 0?b:b.filter(W=>W.matches(a))}})}}function Bn(n){return(o,t)=>{let{slot:i}=n!=null?n:{},a="slot"+(i?`[name=${i}]`:":not([name])");return Nr(o,t,{get(){var m,b;let c=(m=this.renderRoot)==null?void 0:m.querySelector(a);return(b=c==null?void 0:c.assignedNodes(n))!=null?b:[]}})}}var ty={PREFIX:"mdc",SEPARATOR:"-"},ey={NAMESPACE:ty},Uc=ey;var ry=n=>[Uc.NAMESPACE.PREFIX,n].join(Uc.NAMESPACE.SEPARATOR),B={constructTagName:ry};var et={ALERTDIALOG:"alertdialog",BUTTON:"button",CHECKBOX:"checkbox",COMBOBOX:"combobox",DIALOG:"dialog",GROUP:"group",HEADING:"heading",IMG:"img",LIST:"list",LISTBOX:"listbox",LISTITEM:"listitem",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",NAVIGATION:"navigation",OPTION:"option",PRESENTATION:"presentation",PROGRESSBAR:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",REGION:"region",TAB:"tab",TABLIST:"tablist",TOOLTIP:"tooltip"};var hm=B.constructTagName("buttonsimple"),no={12:12,14:14,16:16,20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},Ko={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},pa={SIZE:no[32],TYPE:Ko.BUTTON,ROLE:et.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var Jr=B.constructTagName("button"),Dt={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},ma={40:40,32:32,28:28,24:24},er={64:64,52:52,20:20,...ma},lo={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},qo={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},Pe={VARIANT:Dt.PRIMARY,SIZE:ma[32],COLOR:lo.DEFAULT,TYPE_INTERNAL:qo.ICON,TYPE:Ko.BUTTON,INVERTED:!1};var Un=n=>{class o extends n{constructor(){super(...arguments);this.variant=Pe.VARIANT;this.color=Pe.COLOR;this.typeInternal=Pe.TYPE_INTERNAL}setVariant(a){this.setAttribute("variant",Object.values(Dt).includes(a)?a:Pe.VARIANT)}setColor(a){!Object.values(lo).includes(a)||this.variant===Dt.TERTIARY?this.setAttribute("color",`${Pe.COLOR}`):this.setAttribute("color",a)}setSize(a){let m=this.typeInternal===qo.ICON?Object.values(er).includes(a)&&!(a===er[20]&&this.variant!==Dt.TERTIARY):Object.values(ma).includes(a);this.setAttribute("size",m?`${a}`:`${Pe.SIZE}`)}inferButtonType(){var L,W,q,it,X,tt;let a=(W=(L=this.shadowRoot)==null?void 0:L.querySelector("slot:not([name])"))==null?void 0:W.assignedNodes().filter(lt=>{var ct;return lt.nodeType!==Node.TEXT_NODE||((ct=lt.textContent)==null?void 0:ct.trim())}).length,c=(it=(q=this.shadowRoot)==null?void 0:q.querySelector('slot[name="prefix"]'))==null?void 0:it.assignedNodes().filter(lt=>{var ct;return lt.nodeType!==Node.TEXT_NODE||((ct=lt.textContent)==null?void 0:ct.trim())}).length,m=this.prefixIcon||c&&c>0,b=(tt=(X=this.shadowRoot)==null?void 0:X.querySelector('slot[name="postfix"]'))==null?void 0:tt.assignedNodes().filter(lt=>{var ct;return lt.nodeType!==Node.TEXT_NODE||((ct=lt.textContent)==null?void 0:ct.trim())}).length,C=this.postfixIcon||b&&b>0;a&&(m||C)?(this.typeInternal=qo.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!a&&(m||C)?(this.typeInternal=qo.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=qo.PILL,this.setAttribute("data-btn-type","pill"))}}return p([u({type:String,attribute:"prefix-icon",reflect:!0})],o.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon",reflect:!0})],o.prototype,"postfixIcon",2),p([u({type:String})],o.prototype,"variant",2),p([u({type:String})],o.prototype,"color",2),p([gt()],o.prototype,"typeInternal",2),o};var pm=V`
5
5
  :host {
6
6
  box-sizing: border-box;
7
7
  }
@@ -11,11 +11,11 @@
11
11
  :host *::after {
12
12
  box-sizing: inherit;
13
13
  }
14
- `;var Hn=class extends wi{static register(o){customElements.get(o)||customElements.define(o,this)}};Hn.styles=[mm];var um=Hn;var q=um;var Ni=class extends Event{constructor(o,t,i){super("context-request",{bubbles:!0,composed:!0}),this.context=o,this.callback=t,this.subscribe=i!=null?i:!1}};var Ko=class{constructor(o,t,i,a){var d;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(m,b)=>{this.unsubscribe&&(this.unsubscribe!==b&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=m,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(m,b)),this.unsubscribe=b},this.host=o,t.context!==void 0){let m=t;this.context=m.context,this.callback=m.callback,this.subscribe=(d=m.subscribe)!=null?d:!1}else this.context=t,this.callback=i,this.subscribe=a!=null?a:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new Ni(this.context,this.t,this.subscribe))}};var Gn=class{get value(){return this.o}set value(o){this.setValue(o)}setValue(o,t=!1){let i=t||!Object.is(o,this.o);this.o=o,i&&this.updateObservers()}constructor(o){this.subscriptions=new Map,this.updateObservers=()=>{for(let[t,{disposer:i}]of this.subscriptions)t(this.o,i)},o!==void 0&&(this.value=o)}addCallback(o,t,i){if(!i)return void o(this.value);this.subscriptions.has(o)||this.subscriptions.set(o,{disposer:()=>{this.subscriptions.delete(o)},consumerHost:t});let{disposer:a}=this.subscriptions.get(o);o(this.value,a)}clearCallbacks(){this.subscriptions.clear()}};var Hd=class extends Event{constructor(o){super("context-provider",{bubbles:!0,composed:!0}),this.context=o}},Xo=class extends Gn{constructor(o,t,i){var a,d;super(t.context!==void 0?t.initialValue:i),this.onContextRequest=m=>{let b=m.composedPath()[0];m.context===this.context&&b!==this.host&&(m.stopPropagation(),this.addCallback(m.callback,b,m.subscribe))},this.onProviderRequest=m=>{let b=m.composedPath()[0];if(m.context!==this.context||b===this.host)return;let C=new Set;for(let[M,{consumerHost:W}]of this.subscriptions)C.has(M)||(C.add(M),W.dispatchEvent(new Ni(this.context,M,!0)));m.stopPropagation()},this.host=o,t.context!==void 0?this.context=t.context:this.context=t,this.attachListeners(),(d=(a=this.host).addController)==null||d.call(a,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Hd(this.context))}};var iy=z`
14
+ `;var Hn=class extends Ni{static register(o){customElements.get(o)||customElements.define(o,this)}};Hn.styles=[pm];var mm=Hn;var K=mm;var Li=class extends Event{constructor(o,t,i){super("context-request",{bubbles:!0,composed:!0}),this.context=o,this.callback=t,this.subscribe=i!=null?i:!1}};var Xo=class{constructor(o,t,i,a){var c;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(m,b)=>{this.unsubscribe&&(this.unsubscribe!==b&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=m,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(m,b)),this.unsubscribe=b},this.host=o,t.context!==void 0){let m=t;this.context=m.context,this.callback=m.callback,this.subscribe=(c=m.subscribe)!=null?c:!1}else this.context=t,this.callback=i,this.subscribe=a!=null?a:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new Li(this.context,this.t,this.subscribe))}};var Gn=class{get value(){return this.o}set value(o){this.setValue(o)}setValue(o,t=!1){let i=t||!Object.is(o,this.o);this.o=o,i&&this.updateObservers()}constructor(o){this.subscriptions=new Map,this.updateObservers=()=>{for(let[t,{disposer:i}]of this.subscriptions)t(this.o,i)},o!==void 0&&(this.value=o)}addCallback(o,t,i){if(!i)return void o(this.value);this.subscriptions.has(o)||this.subscriptions.set(o,{disposer:()=>{this.subscriptions.delete(o)},consumerHost:t});let{disposer:a}=this.subscriptions.get(o);o(this.value,a)}clearCallbacks(){this.subscriptions.clear()}};var Hc=class extends Event{constructor(o){super("context-provider",{bubbles:!0,composed:!0}),this.context=o}},Zo=class extends Gn{constructor(o,t,i){var a,c;super(t.context!==void 0?t.initialValue:i),this.onContextRequest=m=>{let b=m.composedPath()[0];m.context===this.context&&b!==this.host&&(m.stopPropagation(),this.addCallback(m.callback,b,m.subscribe))},this.onProviderRequest=m=>{let b=m.composedPath()[0];if(m.context!==this.context||b===this.host)return;let C=new Set;for(let[L,{consumerHost:W}]of this.subscriptions)C.has(L)||(C.add(L),W.dispatchEvent(new Li(this.context,L,!0)));m.stopPropagation()},this.host=o,t.context!==void 0?this.context=t.context:this.context=t,this.attachListeners(),(c=(a=this.host).addController)==null||c.call(a,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Hc(this.context))}};var iy=V`
15
15
  :host {
16
16
  display: contents;
17
17
  }
18
- `,fm=iy;var Yn=class extends q{constructor({context:o,initialValue:t}){super(),this.context=new Xo(this,{context:o,initialValue:t})}render(){return this.updateContext(),I`<slot></slot>`}};Yn.styles=[...q.styles,fm];var vm=Yn;var rr=vm;var Z={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",END:"End",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SHIFT_TAB:"Shift+Tab",SPACE:" ",TAB:"Tab"};var ge=n=>{class o extends n{constructor(){super(...arguments);this.elementToAutoFocus=this;this.autoFocusOnMount=!1}async firstUpdated(a){super.firstUpdated(a),this.autoFocusOnMount&&(await this.updateComplete,this.elementToAutoFocus.focus())}}return p([u({type:Boolean,reflect:!0,attribute:"auto-focus-on-mount"})],o.prototype,"autoFocusOnMount",2),o};var Vt=n=>{class o extends n{}return p([u({reflect:!0,type:Boolean})],o.prototype,"disabled",2),o};var Rr=n=>{class o extends n{constructor(){super(...arguments);this.tabIndex=0}}return p([u({reflect:!0,type:Number})],o.prototype,"tabIndex",2),o};var bt=z`
18
+ `,um=iy;var Yn=class extends K{constructor({context:o,initialValue:t}){super(),this.context=new Zo(this,{context:o,initialValue:t})}render(){return this.updateContext(),I`<slot></slot>`}};Yn.styles=[...K.styles,um];var fm=Yn;var rr=fm;var Q={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",END:"End",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SHIFT_TAB:"Shift+Tab",SPACE:" ",TAB:"Tab"};var ge=n=>{class o extends n{constructor(){super(...arguments);this.elementToAutoFocus=this;this.autoFocusOnMount=!1}async firstUpdated(a){super.firstUpdated(a),this.autoFocusOnMount&&(await this.updateComplete,this.elementToAutoFocus.focus())}}return p([u({type:Boolean,reflect:!0,attribute:"auto-focus-on-mount"})],o.prototype,"autoFocusOnMount",2),o};var zt=n=>{class o extends n{}return p([u({reflect:!0,type:Boolean})],o.prototype,"disabled",2),o};var Lr=n=>{class o extends n{constructor(){super(...arguments);this.tabIndex=0}}return p([u({reflect:!0,type:Number})],o.prototype,"tabIndex",2),o};var bt=V`
19
19
  :host {
20
20
  align-items: center;
21
21
  display: flex;
@@ -23,7 +23,7 @@
23
23
  justify-content: center;
24
24
  width: fit-content;
25
25
  }
26
- `,Li=z`
26
+ `,Mi=V`
27
27
  :host {
28
28
  --mdc-focus-ring-inner-color: var(--mds-color-theme-focus-default-0);
29
29
  --mdc-focus-ring-middle-color: var(--mds-color-theme-focus-default-1);
@@ -36,10 +36,10 @@
36
36
  --mdc-focus-ring-middle-offset: var(--mdc-focus-ring-inner-width);
37
37
  --mdc-focus-ring-outer-offset: calc(var(--mdc-focus-ring-inner-width) + var(--mdc-focus-ring-middle-width));
38
38
  }
39
- `,Ri=z`0 0 0 var(--mdc-focus-ring-inner-width) var(--mdc-focus-ring-inner-color),
39
+ `,Ri=V`0 0 0 var(--mdc-focus-ring-inner-width) var(--mdc-focus-ring-inner-color),
40
40
  0 0 0 var(--mdc-focus-ring-middle-width) var(--mdc-focus-ring-middle-color),
41
41
  0 0 0 var(--mdc-focus-ring-outer-width) var(--mdc-focus-ring-outer-color)
42
- `,St=(n=!1)=>n?[Li,z`
42
+ `,St=(n=!1)=>n?[Mi,V`
43
43
  .mdc-focus-ring:focus-visible {
44
44
  outline: none;
45
45
  }
@@ -63,7 +63,7 @@
63
63
  outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
64
64
  }
65
65
  }
66
- `]:[Li,z`
66
+ `]:[Mi,V`
67
67
  :host([disabled]:focus) {
68
68
  box-shadow: none;
69
69
  }
@@ -78,7 +78,7 @@
78
78
  outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
79
79
  }
80
80
  }
81
- `];var oy=[bt,z`
81
+ `];var oy=[bt,V`
82
82
  :host {
83
83
  border: 0.0625rem solid transparent;
84
84
  cursor: pointer;
@@ -136,7 +136,7 @@
136
136
  :host([size='20']) {
137
137
  height: var(--mdc-button-height-size-20);
138
138
  }
139
- `,...St()],gm=oy;var Be=class extends ge(Rr(Vt(q))){constructor(){super();this.size=ha.SIZE;this.role=ha.ROLE;this.type=ha.TYPE;this.prevTabindex=0;this.internals=this.attachInternals(),this.addEventListener("click",this.executeAction.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this)),this.addEventListener("blur",this.handleBlur.bind(this))}get form(){return this.internals.form}update(t){super.update(t),t.has("disabled")&&this.setDisabled(this,this.disabled),t.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),t.has("active")&&(this.active!==void 0&&(this.ariaStateKey=this.ariaStateKey||ha.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===jo.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===jo.RESET&&this.form&&this.form.reset()}setActive(t,i){this.ariaStateKey&&this.ariaStateKey.split(",").filter(d=>d.trim().startsWith("aria-")).forEach(d=>{i===!0?t.setAttribute(d.trim(),"true"):i===!1?t.setAttribute(d.trim(),"false"):t.removeAttribute(d.trim())})}setSoftDisabled(t,i){i?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}setDisabled(t,i){i?(t.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),t.removeAttribute("aria-disabled"))}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0,view:window});this.dispatchEvent(t)}handleBlur(){this.classList.contains("pressed")&&this.classList.remove("pressed")}handleKeyDown(t){[Z.ENTER,Z.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===Z.ENTER&&this.triggerClickEvent(),t.preventDefault())}handleKeyUp(t){[Z.ENTER,Z.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===Z.SPACE&&this.triggerClickEvent())}render(){return I` <slot></slot> `}};Be.formAssociated=!0,Be.styles=[...q.styles,...gm],p([u({type:Boolean,reflect:!0})],Be.prototype,"active",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Be.prototype,"softDisabled",2),p([u({type:Number,reflect:!0})],Be.prototype,"size",2),p([u({type:String,reflect:!0})],Be.prototype,"role",2),p([u({type:String,reflect:!0})],Be.prototype,"ariaStateKey",2),p([u({reflect:!0})],Be.prototype,"type",2),p([u({type:String,reflect:!0})],Be.prototype,"name",2),p([u({type:String,reflect:!0})],Be.prototype,"value",2);var re=Be;var sy=z`
139
+ `,...St()],vm=oy;var Be=class extends ge(Lr(zt(K))){constructor(){super();this.size=pa.SIZE;this.role=pa.ROLE;this.type=pa.TYPE;this.prevTabindex=0;this.internals=this.attachInternals(),this.addEventListener("click",this.executeAction.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this)),this.addEventListener("blur",this.handleBlur.bind(this))}get form(){return this.internals.form}update(t){super.update(t),t.has("disabled")&&this.setDisabled(this,this.disabled),t.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),t.has("active")&&(this.active!==void 0&&(this.ariaStateKey=this.ariaStateKey||pa.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===Ko.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===Ko.RESET&&this.form&&this.form.reset()}setActive(t,i){this.ariaStateKey&&this.ariaStateKey.split(",").filter(c=>c.trim().startsWith("aria-")).forEach(c=>{i===!0?t.setAttribute(c.trim(),"true"):i===!1?t.setAttribute(c.trim(),"false"):t.removeAttribute(c.trim())})}setSoftDisabled(t,i){i?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}setDisabled(t,i){i?(t.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),t.removeAttribute("aria-disabled"))}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0,view:window});this.dispatchEvent(t)}handleBlur(){this.classList.contains("pressed")&&this.classList.remove("pressed")}handleKeyDown(t){[Q.ENTER,Q.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===Q.ENTER&&this.triggerClickEvent(),t.preventDefault())}handleKeyUp(t){[Q.ENTER,Q.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===Q.SPACE&&this.triggerClickEvent())}render(){return I` <slot></slot> `}};Be.formAssociated=!0,Be.styles=[...K.styles,...vm],p([u({type:Boolean,reflect:!0})],Be.prototype,"active",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Be.prototype,"softDisabled",2),p([u({type:Number,reflect:!0})],Be.prototype,"size",2),p([u({type:String,reflect:!0})],Be.prototype,"role",2),p([u({type:String,reflect:!0})],Be.prototype,"ariaStateKey",2),p([u({reflect:!0})],Be.prototype,"type",2),p([u({type:String,reflect:!0})],Be.prototype,"name",2),p([u({type:String,reflect:!0})],Be.prototype,"value",2);var ie=Be;var sy=V`
140
140
  :host {
141
141
  background-color: transparent;
142
142
  border-radius: 1.25rem;
@@ -385,7 +385,7 @@
385
385
  :host::part(postfix-icon) {
386
386
  flex-shrink: 0;
387
387
  }
388
- `,bm=[sy];var lo=n=>{let o=n.split("-"),t=["bold","filled","regular","light"];return o.filter(i=>!t.includes(i)).join("-")};var Jr=class extends Un(re){constructor(){super(...arguments);this.size=Pe.SIZE;this.inverted=Pe.INVERTED;this.role=et.BUTTON}update(t){super.update(t),t.has("active")&&this.inferFilledIconName(this.active),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&(this.inferFilledIconName(this.active),this.inferButtonType())}inferFilledIconName(t){t?(this.prefixIcon&&(this.prefixFilledIconName=`${lo(this.prefixIcon)}-filled`),this.postfixIcon&&(this.postfixFilledIconName=`${lo(this.postfixIcon)}-filled`)):(this.prefixFilledIconName=this.prefixIcon,this.postfixFilledIconName=this.postfixIcon)}render(){return I`
388
+ `,gm=[sy];var co=n=>{let o=n.split("-"),t=["bold","filled","regular","light"];return o.filter(i=>!t.includes(i)).join("-")};var ti=class extends Un(ie){constructor(){super(...arguments);this.size=Pe.SIZE;this.inverted=Pe.INVERTED;this.role=et.BUTTON}update(t){super.update(t),t.has("active")&&this.inferFilledIconName(this.active),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&(this.inferFilledIconName(this.active),this.inferButtonType())}inferFilledIconName(t){t?(this.prefixIcon&&(this.prefixFilledIconName=`${co(this.prefixIcon)}-filled`),this.postfixIcon&&(this.postfixFilledIconName=`${co(this.postfixIcon)}-filled`)):(this.prefixFilledIconName=this.prefixIcon,this.postfixFilledIconName=this.postfixIcon)}render(){return I`
389
389
  <slot name="prefix" part="prefix">
390
390
  ${this.prefixFilledIconName?I` <mdc-icon
391
391
  name="${this.prefixFilledIconName}"
@@ -401,7 +401,7 @@
401
401
  length-unit="rem"
402
402
  ></mdc-icon>`:""}
403
403
  </slot>
404
- `}};Jr.styles=[...re.styles,...bm],p([u({type:Number})],Jr.prototype,"size",2),p([u({type:Boolean,reflect:!0})],Jr.prototype,"inverted",2),p([u({type:String,reflect:!0})],Jr.prototype,"role",2),p([gt()],Jr.prototype,"prefixFilledIconName",2),p([gt()],Jr.prototype,"postfixFilledIconName",2);var co=Jr;var ay=n=>{let{host:o,context:t,subscribe:i}=n;return new Ko(o,{context:t,subscribe:i!=null?i:!0})},ny={consume:ay},ir=ny;var Wn=B.constructTagName("iconprovider"),ym=["svg"],Em=["em","rem","px","%"],ly={px:16,em:1,rem:1,"%":100},ti={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:ly.em,ICON_SET:"momentum-icons"};var jn=class{};jn.context=Wn;var qn=jn;var Mr=class extends rr{constructor(){super({context:qn.context,initialValue:new qn});this.iconSet=ti.ICON_SET;this.fileExtension=ti.FILE_EXTENSION;this.lengthUnit=ti.LENGTH_UNIT;this.size=ti.SIZE}static get Context(){return qn.context}updateValuesInContext(){this.fileExtension&&ym.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=ti.FILE_EXTENSION,this.context.value.fileExtension=ti.FILE_EXTENSION),this.context.value.iconSet=this.iconSet,this.context.value.url=this.url,this.context.value.size=this.size,this.context.value.cacheName=this.cacheName,this.context.value.cacheStrategy=this.cacheStrategy,this.lengthUnit&&Em.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=ti.LENGTH_UNIT,this.context.value.lengthUnit=ti.LENGTH_UNIT)}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.iconSet!==this.iconSet||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit||this.context.value.size!==this.size||this.context.value.cacheName!==this.cacheName||this.context.value.cacheStrategy!==this.cacheStrategy)&&(this.updateValuesInContext(),this.context.updateObservers())}};p([u({type:String,attribute:"icon-set",reflect:!0})],Mr.prototype,"iconSet",2),p([u({type:String})],Mr.prototype,"url",2),p([u({type:String,attribute:"file-extension",reflect:!0})],Mr.prototype,"fileExtension",2),p([u({type:String,attribute:"length-unit",reflect:!0})],Mr.prototype,"lengthUnit",2),p([u({type:Number,reflect:!0})],Mr.prototype,"size",2),p([u({type:String,attribute:"cache-strategy"})],Mr.prototype,"cacheStrategy",2),p([u({type:String,attribute:"cache-name"})],Mr.prototype,"cacheName",2);var ua=Mr;var dy=[bt,z`
404
+ `}};ti.styles=[...ie.styles,...gm],p([u({type:Number})],ti.prototype,"size",2),p([u({type:Boolean,reflect:!0})],ti.prototype,"inverted",2),p([u({type:String,reflect:!0})],ti.prototype,"role",2),p([gt()],ti.prototype,"prefixFilledIconName",2),p([gt()],ti.prototype,"postfixFilledIconName",2);var ho=ti;var ay=n=>{let{host:o,context:t,subscribe:i}=n;return new Xo(o,{context:t,subscribe:i!=null?i:!0})},ny={consume:ay},ir=ny;var Wn=B.constructTagName("iconprovider"),bm=["svg"],ym=["em","rem","px","%"],ly={px:16,em:1,rem:1,"%":100},ei={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:ly.em,ICON_SET:"momentum-icons"};var jn=class{};jn.context=Wn;var Kn=jn;var Mr=class extends rr{constructor(){super({context:Kn.context,initialValue:new Kn});this.iconSet=ei.ICON_SET;this.fileExtension=ei.FILE_EXTENSION;this.lengthUnit=ei.LENGTH_UNIT;this.size=ei.SIZE}static get Context(){return Kn.context}updateValuesInContext(){this.fileExtension&&bm.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=ei.FILE_EXTENSION,this.context.value.fileExtension=ei.FILE_EXTENSION),this.context.value.iconSet=this.iconSet,this.context.value.url=this.url,this.context.value.size=this.size,this.context.value.cacheName=this.cacheName,this.context.value.cacheStrategy=this.cacheStrategy,this.lengthUnit&&ym.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=ei.LENGTH_UNIT,this.context.value.lengthUnit=ei.LENGTH_UNIT)}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.iconSet!==this.iconSet||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit||this.context.value.size!==this.size||this.context.value.cacheName!==this.cacheName||this.context.value.cacheStrategy!==this.cacheStrategy)&&(this.updateValuesInContext(),this.context.updateObservers())}};p([u({type:String,attribute:"icon-set",reflect:!0})],Mr.prototype,"iconSet",2),p([u({type:String})],Mr.prototype,"url",2),p([u({type:String,attribute:"file-extension",reflect:!0})],Mr.prototype,"fileExtension",2),p([u({type:String,attribute:"length-unit",reflect:!0})],Mr.prototype,"lengthUnit",2),p([u({type:Number,reflect:!0})],Mr.prototype,"size",2),p([u({type:String,attribute:"cache-strategy"})],Mr.prototype,"cacheStrategy",2),p([u({type:String,attribute:"cache-name"})],Mr.prototype,"cacheName",2);var fa=Mr;var cy=[bt,V`
405
405
  :host {
406
406
  --mdc-icon-fill-color: currentColor;
407
407
  --mdc-icon-size: var(--computed-icon-size);
@@ -416,7 +416,7 @@
416
416
  width: 100%;
417
417
  fill: var(--mdc-icon-fill-color);
418
418
  }
419
- `,...St()],Tm=dy;var fa={},xm=async n=>(fa[n]===void 0&&(fa[n]=new Map),{async set(o,t){fa[n].set(o.url,await t.text())},async get(o){return fa[n].get(o.url)},async delete(o){fa[n].delete(o.url)}}),Am=async n=>{let o=await caches.open(n);return{set:async(t,i)=>{await o.put(t,i)},get:async t=>{let i=await o.match(t);return i==null?void 0:i.text()},delete:async t=>{await o.delete(t)}}},Kn=async(n,o)=>o==="in-memory-cache"?xm(n):Am(n);var Sm=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the icon!");return o}),_m=async({url:n,name:o,fileExtension:t,cacheStrategy:i,cacheName:a,renewSignal:d})=>{let m=d(),b=new Request(`${n}/${o}.${t}`,{signal:m});return!a||!i||!["in-memory-cache","web-cache-api"].includes(i)?Sm(b).then(C=>C.text()):Kn(a,i).then(C=>C.get(b).then(M=>M||Sm(b.clone()).then(W=>{var K;return W.status<400&&W.headers.has("content-type")?(K=C.set)==null?void 0:K.call(C,b,W.clone()).then(()=>W.text()):W.text()})).catch(M=>{throw new Error(`Error in caching the Icon ${o}, ${M}`)}))};var Im=B.constructTagName("icon"),Gd={NAME:void 0,SIZE:1};var Ue=class extends q{constructor(){super();this.name=Gd.NAME;this.ariaLabel=null;this.ariaLabelledBy=null;this.iconProviderContext=ir.consume({host:this,context:ua.Context});this.abortController=new AbortController}prepareIconElement(t){let i=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&i.setAttribute("data-name",this.name),i.setAttribute("part","icon"),i.setAttribute("aria-hidden","true"),i}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:i,url:a,cacheName:d,iconSet:m,cacheStrategy:b}=this.iconProviderContext.value;if(m==="custom-icons"&&a&&i&&this.name){let C=()=>{var M;return(M=this.abortController)==null||M.abort(),this.abortController=new AbortController,this.abortController.signal};return _m({url:a,name:this.name,fileExtension:i,cacheName:d,cacheStrategy:b,renewSignal:C}).then(M=>{let W=this.prepareIconElement(M);this.handleIconLoadedSuccess(W)}).catch(M=>{this.handleIconLoadedFailure(M)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(C=>{this.handleIconLoadedSuccess(C.default())}).catch(C=>{this.handleIconLoadedFailure(C)})}let t=new Error("IconProvider not found or not properly set up.");return this.handleIconLoadedFailure(t),Promise.reject(t)}handleIconLoadedSuccess(t){this.iconData=t;let i=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(i)}handleIconLoadedFailure(t){let i=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(i)}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let i=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",i)}}get computedIconSize(){var t,i;return(i=(t=this.size)!=null?t:this.sizeFromContext)!=null?i:Gd.SIZE}updated(t){var i,a,d,m;super.updated(t),t.has("name")&&this.getIconData().catch(b=>{b.name!=="AbortError"&&this.onerror&&this.onerror(b)}),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null),(t.has("size")||t.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((i=this.iconProviderContext.value)==null?void 0:i.lengthUnit)&&(this.lengthUnitFromContext=(a=this.iconProviderContext.value)==null?void 0:a.lengthUnit,this.updateSize()),this.sizeFromContext!==((d=this.iconProviderContext.value)==null?void 0:d.size)&&(this.sizeFromContext=(m=this.iconProviderContext.value)==null?void 0:m.size,this.updateSize())}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return I` ${this.iconData} `}};Ue.styles=[...q.styles,...Tm],p([gt()],Ue.prototype,"iconData",2),p([gt()],Ue.prototype,"lengthUnitFromContext",2),p([gt()],Ue.prototype,"sizeFromContext",2),p([u({type:String,reflect:!0})],Ue.prototype,"name",2),p([u({type:Number})],Ue.prototype,"size",2),p([u({type:String,attribute:"length-unit"})],Ue.prototype,"lengthUnit",2),p([u({type:String,attribute:"aria-label"})],Ue.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],Ue.prototype,"ariaLabelledBy",2),p([gt()],Ue.prototype,"abortController",2);var Yd=Ue;Yd.register(Im);var cy=Yd;co.register(Qr);var hy=co;var Cm=z`
419
+ `,...St()],Em=cy;var va={},Tm=async n=>(va[n]===void 0&&(va[n]=new Map),{async set(o,t){va[n].set(o.url,await t.text())},async get(o){return va[n].get(o.url)},async delete(o){va[n].delete(o.url)}}),xm=async n=>{let o=await caches.open(n);return{set:async(t,i)=>{await o.put(t,i)},get:async t=>{let i=await o.match(t);return i==null?void 0:i.text()},delete:async t=>{await o.delete(t)}}},qn=async(n,o)=>o==="in-memory-cache"?Tm(n):xm(n);var Am=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the icon!");return o}),Sm=async({url:n,name:o,fileExtension:t,cacheStrategy:i,cacheName:a,renewSignal:c})=>{let m=c(),b=new Request(`${n}/${o}.${t}`,{signal:m});return!a||!i||!["in-memory-cache","web-cache-api"].includes(i)?Am(b).then(C=>C.text()):qn(a,i).then(C=>C.get(b).then(L=>L||Am(b.clone()).then(W=>{var q;return W.status<400&&W.headers.has("content-type")?(q=C.set)==null?void 0:q.call(C,b,W.clone()).then(()=>W.text()):W.text()})).catch(L=>{throw new Error(`Error in caching the Icon ${o}, ${L}`)}))};var _m=B.constructTagName("icon"),Gc={NAME:void 0,SIZE:1};var Ue=class extends K{constructor(){super();this.name=Gc.NAME;this.ariaLabel=null;this.ariaLabelledBy=null;this.iconProviderContext=ir.consume({host:this,context:fa.Context});this.abortController=new AbortController}prepareIconElement(t){let i=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&i.setAttribute("data-name",this.name),i.setAttribute("part","icon"),i.setAttribute("aria-hidden","true"),i}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:i,url:a,cacheName:c,iconSet:m,cacheStrategy:b}=this.iconProviderContext.value;if(m==="custom-icons"&&a&&i&&this.name){let C=()=>{var L;return(L=this.abortController)==null||L.abort(),this.abortController=new AbortController,this.abortController.signal};return Sm({url:a,name:this.name,fileExtension:i,cacheName:c,cacheStrategy:b,renewSignal:C}).then(L=>{let W=this.prepareIconElement(L);this.handleIconLoadedSuccess(W)}).catch(L=>{this.handleIconLoadedFailure(L)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(C=>{this.handleIconLoadedSuccess(C.default())}).catch(C=>{this.handleIconLoadedFailure(C)})}let t=new Error("IconProvider not found or not properly set up.");return this.handleIconLoadedFailure(t),Promise.reject(t)}handleIconLoadedSuccess(t){this.iconData=t;let i=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(i)}handleIconLoadedFailure(t){let i=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(i)}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let i=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",i)}}get computedIconSize(){var t,i;return(i=(t=this.size)!=null?t:this.sizeFromContext)!=null?i:Gc.SIZE}updated(t){var i,a,c,m;super.updated(t),t.has("name")&&this.getIconData().catch(b=>{b.name!=="AbortError"&&this.onerror&&this.onerror(b)}),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null),(t.has("size")||t.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((i=this.iconProviderContext.value)==null?void 0:i.lengthUnit)&&(this.lengthUnitFromContext=(a=this.iconProviderContext.value)==null?void 0:a.lengthUnit,this.updateSize()),this.sizeFromContext!==((c=this.iconProviderContext.value)==null?void 0:c.size)&&(this.sizeFromContext=(m=this.iconProviderContext.value)==null?void 0:m.size,this.updateSize())}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return I` ${this.iconData} `}};Ue.styles=[...K.styles,...Em],p([gt()],Ue.prototype,"iconData",2),p([gt()],Ue.prototype,"lengthUnitFromContext",2),p([gt()],Ue.prototype,"sizeFromContext",2),p([u({type:String,reflect:!0})],Ue.prototype,"name",2),p([u({type:Number})],Ue.prototype,"size",2),p([u({type:String,attribute:"length-unit"})],Ue.prototype,"lengthUnit",2),p([u({type:String,attribute:"aria-label"})],Ue.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],Ue.prototype,"ariaLabelledBy",2),p([gt()],Ue.prototype,"abortController",2);var Yc=Ue;Yc.register(_m);var dy=Yc;ho.register(Jr);var hy=ho;var Im=V`
420
420
  :host::part(text) {
421
421
  font-size: unset;
422
422
  font-weight: unset;
@@ -659,14 +659,14 @@
659
659
  text-decoration: var(--mds-font-apps-body-small-regular-text-decoration);
660
660
  text-transform: var(--mds-font-apps-body-small-regular-text-case);
661
661
  }
662
- `;var py=[z`
662
+ `;var py=[V`
663
663
  :host {
664
664
  --mdc-text-font-family: var(--mdc-themeprovider-font-family);
665
665
 
666
666
  display: block;
667
667
  font-family: var(--mdc-text-font-family);
668
668
  }
669
- `,Cm],km=py;var va=B.constructTagName("text"),st={BODY_SMALL_REGULAR:"body-small-regular",BODY_SMALL_MEDIUM:"body-small-medium",BODY_SMALL_BOLD:"body-small-bold",BODY_MIDSIZE_REGULAR:"body-midsize-regular",BODY_MIDSIZE_MEDIUM:"body-midsize-medium",BODY_MIDSIZE_BOLD:"body-midsize-bold",BODY_LARGE_REGULAR:"body-large-regular",BODY_LARGE_MEDIUM:"body-large-medium",BODY_LARGE_BOLD:"body-large-bold",BODY_SMALL_REGULAR_UNDERLINE:"body-small-regular-underline",BODY_SMALL_MEDIUM_UNDERLINE:"body-small-medium-underline",BODY_MIDSIZE_REGULAR_UNDERLINE:"body-midsize-regular-underline",BODY_MIDSIZE_MEDIUM_UNDERLINE:"body-midsize-medium-underline",BODY_LARGE_REGULAR_UNDERLINE:"body-large-regular-underline",BODY_LARGE_MEDIUM_UNDERLINE:"body-large-medium-underline",HEADING_SMALL_REGULAR:"heading-small-regular",HEADING_SMALL_MEDIUM:"heading-small-medium",HEADING_SMALL_BOLD:"heading-small-bold",HEADING_MIDSIZE_REGULAR:"heading-midsize-regular",HEADING_MIDSIZE_MEDIUM:"heading-midsize-medium",HEADING_MIDSIZE_BOLD:"heading-midsize-bold",HEADING_LARGE_REGULAR:"heading-large-regular",HEADING_LARGE_MEDIUM:"heading-large-medium",HEADING_LARGE_BOLD:"heading-large-bold",HEADING_XLARGE_REGULAR:"heading-xlarge-regular",HEADING_XLARGE_MEDIUM:"heading-xlarge-medium",HEADING_XLARGE_BOLD:"heading-xlarge-bold",HEADLINE_SMALL_LIGHT:"headline-small-light",HEADLINE_SMALL_REGULAR:"headline-small-regular"},mt={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},be={TYPE:st.BODY_MIDSIZE_MEDIUM,TEXT_ELEMENT_TAGNAME:mt.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var Zo=class extends q{constructor(){super(...arguments);this.type=be.TYPE;this.tagname=be.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case mt.H1:return I`<h1 part=${be.CSS_PART_TEXT}><slot></slot></h1>`;case mt.H2:return I`<h2 part=${be.CSS_PART_TEXT}><slot></slot></h2>`;case mt.H3:return I`<h3 part=${be.CSS_PART_TEXT}><slot></slot></h3>`;case mt.H4:return I`<h4 part=${be.CSS_PART_TEXT}><slot></slot></h4>`;case mt.H5:return I`<h5 part=${be.CSS_PART_TEXT}><slot></slot></h5>`;case mt.H6:return I`<h6 part=${be.CSS_PART_TEXT}><slot></slot></h6>`;case mt.DIV:return I`<div part=${be.CSS_PART_TEXT}><slot></slot></div>`;case mt.SPAN:return I`<span part=${be.CSS_PART_TEXT}><slot></slot></span>`;case mt.SMALL:return I`<small part=${be.CSS_PART_TEXT}><slot></slot></small>`;case mt.P:default:return I`<p part=${be.CSS_PART_TEXT}><slot></slot></p>`}}};Zo.styles=[...q.styles,...km],p([u({attribute:"type",reflect:!0,type:String})],Zo.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],Zo.prototype,"tagname",2);var Wd=Zo;Wd.register(va);var my=Wd;var rt=n=>n!=null?n:j;var ce=[];for(let n=0;n<256;++n)ce.push((n+256).toString(16).slice(1));function wm(n,o=0){return(ce[n[o+0]]+ce[n[o+1]]+ce[n[o+2]]+ce[n[o+3]]+"-"+ce[n[o+4]]+ce[n[o+5]]+"-"+ce[n[o+6]]+ce[n[o+7]]+"-"+ce[n[o+8]]+ce[n[o+9]]+"-"+ce[n[o+10]]+ce[n[o+11]]+ce[n[o+12]]+ce[n[o+13]]+ce[n[o+14]]+ce[n[o+15]]).toLowerCase()}var jd,uy=new Uint8Array(16);function qd(){if(!jd){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");jd=crypto.getRandomValues.bind(crypto)}return jd(uy)}var fy=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Kd={randomUUID:fy};function vy(n,o,t){var a,d,m;if(Kd.randomUUID&&!o&&!n)return Kd.randomUUID();n=n||{};let i=(m=(d=n.random)!=null?d:(a=n.rng)==null?void 0:a.call(n))!=null?m:qd();if(i.length<16)throw new Error("Random bytes length must be >= 16");if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,o){if(t=t||0,t<0||t+16>o.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let b=0;b<16;++b)o[t+b]=i[b];return o}return wm(i)}var Se=vy;var Nm=B.constructTagName("accordiongroup"),Xd={SMALL:"small",LARGE:"large"},gy={BORDERLESS:"borderless",CONTAINED:"contained",STACKED:"stacked"},ga={SIZE:Xd.SMALL,VARIANT:gy.STACKED};var Xn=B.constructTagName("accordionbutton"),ba={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},by={DEFAULT:"default",BORDERLESS:"borderless"},Mi={EXPANDED:!1,SIZE:Xd.SMALL,DATA_ARIA_LEVEL:3,VARIANT:by.DEFAULT,ICON_NAME:ba.ARROW_UP};var yy=z`
669
+ `,Im],Cm=py;var ga=B.constructTagName("text"),st={BODY_SMALL_REGULAR:"body-small-regular",BODY_SMALL_MEDIUM:"body-small-medium",BODY_SMALL_BOLD:"body-small-bold",BODY_MIDSIZE_REGULAR:"body-midsize-regular",BODY_MIDSIZE_MEDIUM:"body-midsize-medium",BODY_MIDSIZE_BOLD:"body-midsize-bold",BODY_LARGE_REGULAR:"body-large-regular",BODY_LARGE_MEDIUM:"body-large-medium",BODY_LARGE_BOLD:"body-large-bold",BODY_SMALL_REGULAR_UNDERLINE:"body-small-regular-underline",BODY_SMALL_MEDIUM_UNDERLINE:"body-small-medium-underline",BODY_MIDSIZE_REGULAR_UNDERLINE:"body-midsize-regular-underline",BODY_MIDSIZE_MEDIUM_UNDERLINE:"body-midsize-medium-underline",BODY_LARGE_REGULAR_UNDERLINE:"body-large-regular-underline",BODY_LARGE_MEDIUM_UNDERLINE:"body-large-medium-underline",HEADING_SMALL_REGULAR:"heading-small-regular",HEADING_SMALL_MEDIUM:"heading-small-medium",HEADING_SMALL_BOLD:"heading-small-bold",HEADING_MIDSIZE_REGULAR:"heading-midsize-regular",HEADING_MIDSIZE_MEDIUM:"heading-midsize-medium",HEADING_MIDSIZE_BOLD:"heading-midsize-bold",HEADING_LARGE_REGULAR:"heading-large-regular",HEADING_LARGE_MEDIUM:"heading-large-medium",HEADING_LARGE_BOLD:"heading-large-bold",HEADING_XLARGE_REGULAR:"heading-xlarge-regular",HEADING_XLARGE_MEDIUM:"heading-xlarge-medium",HEADING_XLARGE_BOLD:"heading-xlarge-bold",HEADLINE_SMALL_LIGHT:"headline-small-light",HEADLINE_SMALL_REGULAR:"headline-small-regular"},mt={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},be={TYPE:st.BODY_MIDSIZE_MEDIUM,TEXT_ELEMENT_TAGNAME:mt.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var Qo=class extends K{constructor(){super(...arguments);this.type=be.TYPE;this.tagname=be.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case mt.H1:return I`<h1 part=${be.CSS_PART_TEXT}><slot></slot></h1>`;case mt.H2:return I`<h2 part=${be.CSS_PART_TEXT}><slot></slot></h2>`;case mt.H3:return I`<h3 part=${be.CSS_PART_TEXT}><slot></slot></h3>`;case mt.H4:return I`<h4 part=${be.CSS_PART_TEXT}><slot></slot></h4>`;case mt.H5:return I`<h5 part=${be.CSS_PART_TEXT}><slot></slot></h5>`;case mt.H6:return I`<h6 part=${be.CSS_PART_TEXT}><slot></slot></h6>`;case mt.DIV:return I`<div part=${be.CSS_PART_TEXT}><slot></slot></div>`;case mt.SPAN:return I`<span part=${be.CSS_PART_TEXT}><slot></slot></span>`;case mt.SMALL:return I`<small part=${be.CSS_PART_TEXT}><slot></slot></small>`;case mt.P:default:return I`<p part=${be.CSS_PART_TEXT}><slot></slot></p>`}}};Qo.styles=[...K.styles,...Cm],p([u({attribute:"type",reflect:!0,type:String})],Qo.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],Qo.prototype,"tagname",2);var Wc=Qo;Wc.register(ga);var my=Wc;var rt=n=>n!=null?n:j;var he=[];for(let n=0;n<256;++n)he.push((n+256).toString(16).slice(1));function km(n,o=0){return(he[n[o+0]]+he[n[o+1]]+he[n[o+2]]+he[n[o+3]]+"-"+he[n[o+4]]+he[n[o+5]]+"-"+he[n[o+6]]+he[n[o+7]]+"-"+he[n[o+8]]+he[n[o+9]]+"-"+he[n[o+10]]+he[n[o+11]]+he[n[o+12]]+he[n[o+13]]+he[n[o+14]]+he[n[o+15]]).toLowerCase()}var jc,uy=new Uint8Array(16);function Kc(){if(!jc){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");jc=crypto.getRandomValues.bind(crypto)}return jc(uy)}var fy=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),qc={randomUUID:fy};function vy(n,o,t){var a,c,m;if(qc.randomUUID&&!o&&!n)return qc.randomUUID();n=n||{};let i=(m=(c=n.random)!=null?c:(a=n.rng)==null?void 0:a.call(n))!=null?m:Kc();if(i.length<16)throw new Error("Random bytes length must be >= 16");if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,o){if(t=t||0,t<0||t+16>o.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let b=0;b<16;++b)o[t+b]=i[b];return o}return km(i)}var Ae=vy;var wm=B.constructTagName("accordiongroup"),Xc={SMALL:"small",LARGE:"large"},gy={BORDERLESS:"borderless",CONTAINED:"contained",STACKED:"stacked"},ba={SIZE:Xc.SMALL,VARIANT:gy.STACKED};var Xn=B.constructTagName("accordionbutton"),ya={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},by={DEFAULT:"default",BORDERLESS:"borderless"},Oi={EXPANDED:!1,SIZE:Xc.SMALL,DATA_ARIA_LEVEL:3,VARIANT:by.DEFAULT,ICON_NAME:ya.ARROW_UP};var yy=V`
670
670
  :host {
671
671
  --mdc-accordionbutton-border-color: var(--mds-color-theme-outline-secondary-normal);
672
672
  --mdc-accordionbutton-hover-color: var(--mds-color-theme-background-primary-hover);
@@ -783,7 +783,7 @@
783
783
  :host([variant='default']:not([expanded]))::part(header-section) {
784
784
  border-bottom: none;
785
785
  }
786
- `,Lm=[yy,...St(!0)];var Or=class extends Vt(q){constructor(){super(...arguments);this.size=Mi.SIZE;this.variant=Mi.VARIANT;this.dataAriaLevel=Mi.DATA_ARIA_LEVEL;this.expanded=Mi.EXPANDED;this.headSectionId=`head-section-${Se()}`;this.bodySectionId=`body-section-${Se()}`}handleHeaderClick(){this.disabled||(this.expanded=!this.expanded,this.dispatchHeaderClickEvent())}dispatchHeaderClickEvent(){let t=new CustomEvent("shown",{bubbles:!0,cancelable:!0,detail:{expanded:this.expanded}});this.dispatchEvent(t)}handleKeyDown(t){(t.key===Z.ENTER||t.key===Z.SPACE)&&this.handleHeaderClick()}renderIcon(t){return t?I`<mdc-icon name="${t}" length-unit="rem" size="1"></mdc-icon>`:j}renderHeadingText(){return this.headerText?I`<mdc-text id="${this.headSectionId}" type="${st.BODY_LARGE_REGULAR}" tagname=${mt.SPAN}
786
+ `,Nm=[yy,...St(!0)];var Rr=class extends zt(K){constructor(){super(...arguments);this.size=Oi.SIZE;this.variant=Oi.VARIANT;this.dataAriaLevel=Oi.DATA_ARIA_LEVEL;this.expanded=Oi.EXPANDED;this.headSectionId=`head-section-${Ae()}`;this.bodySectionId=`body-section-${Ae()}`}handleHeaderClick(){this.disabled||(this.expanded=!this.expanded,this.dispatchHeaderClickEvent())}dispatchHeaderClickEvent(){let t=new CustomEvent("shown",{bubbles:!0,cancelable:!0,detail:{expanded:this.expanded}});this.dispatchEvent(t)}handleKeyDown(t){(t.key===Q.ENTER||t.key===Q.SPACE)&&this.handleHeaderClick()}renderIcon(t){return t?I`<mdc-icon name="${t}" length-unit="rem" size="1"></mdc-icon>`:j}renderHeadingText(){return this.headerText?I`<mdc-text id="${this.headSectionId}" type="${st.BODY_LARGE_REGULAR}" tagname=${mt.SPAN}
787
787
  >${this.headerText}</mdc-text
788
788
  >`:j}renderHeader(){return I`
789
789
  <div
@@ -807,14 +807,14 @@
807
807
  </div>
808
808
  </div>
809
809
  </div>
810
- `}getArrowIconName(){return this.disabled?ba.ARROW_DOWN:this.expanded?ba.ARROW_UP:ba.ARROW_DOWN}renderBody(){return this.disabled?j:this.expanded?I`<div
810
+ `}getArrowIconName(){return this.disabled?ya.ARROW_DOWN:this.expanded?ya.ARROW_UP:ya.ARROW_DOWN}renderBody(){return this.disabled?j:this.expanded?I`<div
811
811
  id="${this.bodySectionId}"
812
812
  aria-labelledby="${this.headSectionId}"
813
813
  part="body-section"
814
814
  role="${et.REGION}"
815
815
  >
816
816
  <slot></slot>
817
- </div>`:j}updated(t){super.updated(t),t.has("disabled")&&this.setAttribute("aria-disabled",`${this.disabled}`),t.has("dataAriaLevel")&&!this.dataAriaLevel&&(this.dataAriaLevel=Mi.DATA_ARIA_LEVEL),t.has("size")&&!this.size&&(this.size=Mi.SIZE),t.has("variant")&&!this.variant&&(this.variant=Mi.VARIANT)}render(){return I` ${this.renderHeader()} ${this.renderBody()} `}};Or.styles=[...q.styles,...Lm],p([u({type:String,reflect:!0})],Or.prototype,"size",2),p([u({type:String,reflect:!0})],Or.prototype,"variant",2),p([u({type:Number,reflect:!0,attribute:"data-aria-level"})],Or.prototype,"dataAriaLevel",2),p([u({type:Boolean,reflect:!0})],Or.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Or.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],Or.prototype,"prefixIcon",2);var Qo=Or;var Ey=z`
817
+ </div>`:j}updated(t){super.updated(t),t.has("disabled")&&this.setAttribute("aria-disabled",`${this.disabled}`),t.has("dataAriaLevel")&&!this.dataAriaLevel&&(this.dataAriaLevel=Oi.DATA_ARIA_LEVEL),t.has("size")&&!this.size&&(this.size=Oi.SIZE),t.has("variant")&&!this.variant&&(this.variant=Oi.VARIANT)}render(){return I` ${this.renderHeader()} ${this.renderBody()} `}};Rr.styles=[...K.styles,...Nm],p([u({type:String,reflect:!0})],Rr.prototype,"size",2),p([u({type:String,reflect:!0})],Rr.prototype,"variant",2),p([u({type:Number,reflect:!0,attribute:"data-aria-level"})],Rr.prototype,"dataAriaLevel",2),p([u({type:Boolean,reflect:!0})],Rr.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Rr.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],Rr.prototype,"prefixIcon",2);var Jo=Rr;var Ey=V`
818
818
  :host::part(header-section) {
819
819
  display: flex;
820
820
  align-items: center;
@@ -828,7 +828,7 @@
828
828
  :host::part(trailing-header__button) {
829
829
  margin: 0.125rem;
830
830
  }
831
- `,Rm=[Ey];var Jo=class extends Qo{update(o){super.update(o),o.has("disabled")&&[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(t=>{this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled")})}renderHeader(){return I`
831
+ `,Lm=[Ey];var ts=class extends Jo{update(o){super.update(o),o.has("disabled")&&[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(t=>{this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled")})}renderHeader(){return I`
832
832
  <div part="header-section">
833
833
  <div part="leading-header">
834
834
  ${this.renderIcon(this.prefixIcon)}
@@ -850,7 +850,7 @@
850
850
  ></mdc-button>
851
851
  </div>
852
852
  </div>
853
- `}};Jo.styles=[...Qo.styles,...Rm],p([Rt({slot:"leading-controls"})],Jo.prototype,"leadingControlsSlot",2),p([Rt({slot:"trailing-controls"})],Jo.prototype,"trailingControlsSlot",2);var Zd=Jo;var Zn=B.constructTagName("accordion");Zd.register(Zn);var Ty=Zd;var xy=z`
853
+ `}};ts.styles=[...Jo.styles,...Lm],p([Ot({slot:"leading-controls"})],ts.prototype,"leadingControlsSlot",2),p([Ot({slot:"trailing-controls"})],ts.prototype,"trailingControlsSlot",2);var Zc=ts;var Zn=B.constructTagName("accordion");Zc.register(Zn);var Ty=Zc;var xy=V`
854
854
  :host {
855
855
  --mdc-accordiongroup-border-color: var(--mds-color-theme-outline-secondary-normal);
856
856
 
@@ -894,7 +894,7 @@
894
894
  :host([variant='borderless']) ::slotted(mdc-accordionbutton[expanded]) {
895
895
  border-bottom: 1px solid var(--mdc-accordiongroup-border-color);
896
896
  }
897
- `,Mm=[xy,...St()];var ei=class extends q{constructor(){super();this.size=ga.SIZE;this.variant=ga.VARIANT;this.allowMultiple=!1;this.addEventListener("shown",this.handleAccordionExpanded)}handleAccordionExpanded(t){this.allowMultiple||[...this.accordionItems,...this.accordionButtonItems].forEach(i=>{i!==t.target&&i.hasAttribute("expanded")&&i.toggleAttribute("expanded")})}setChildrenAccordionAttributes(t,i){[...this.accordionItems].forEach(a=>{a.setAttribute(t,i)}),[...this.accordionButtonItems].forEach(a=>{a.setAttribute(t,i)})}updated(t){super.updated(t),t.has("size")&&(this.size||(this.size=ga.SIZE),this.setChildrenAccordionAttributes("size",this.size)),t.has("variant")&&(this.variant||(this.variant=ga.VARIANT),this.setChildrenAccordionAttributes("variant",this.variant))}render(){return I` <slot></slot> `}};ei.styles=[...q.styles,...Mm],p([u({type:String,reflect:!0})],ei.prototype,"size",2),p([u({type:String,reflect:!0})],ei.prototype,"variant",2),p([u({type:Boolean,reflect:!0,attribute:"allow-multiple"})],ei.prototype,"allowMultiple",2),p([Rt({selector:Zn})],ei.prototype,"accordionItems",2),p([Rt({selector:Xn})],ei.prototype,"accordionButtonItems",2);var Qd=ei;Qd.register(Nm);var Ay=Qd;Qo.register(Xn);var Sy=Qo;var _y=z`
897
+ `,Mm=[xy,...St()];var ri=class extends K{constructor(){super();this.size=ba.SIZE;this.variant=ba.VARIANT;this.allowMultiple=!1;this.addEventListener("shown",this.handleAccordionExpanded)}handleAccordionExpanded(t){this.allowMultiple||[...this.accordionItems,...this.accordionButtonItems].forEach(i=>{i!==t.target&&i.hasAttribute("expanded")&&i.toggleAttribute("expanded")})}setChildrenAccordionAttributes(t,i){[...this.accordionItems].forEach(a=>{a.setAttribute(t,i)}),[...this.accordionButtonItems].forEach(a=>{a.setAttribute(t,i)})}updated(t){super.updated(t),t.has("size")&&(this.size||(this.size=ba.SIZE),this.setChildrenAccordionAttributes("size",this.size)),t.has("variant")&&(this.variant||(this.variant=ba.VARIANT),this.setChildrenAccordionAttributes("variant",this.variant))}render(){return I` <slot></slot> `}};ri.styles=[...K.styles,...Mm],p([u({type:String,reflect:!0})],ri.prototype,"size",2),p([u({type:String,reflect:!0})],ri.prototype,"variant",2),p([u({type:Boolean,reflect:!0,attribute:"allow-multiple"})],ri.prototype,"allowMultiple",2),p([Ot({selector:Zn})],ri.prototype,"accordionItems",2),p([Ot({selector:Xn})],ri.prototype,"accordionButtonItems",2);var Qc=ri;Qc.register(wm);var Ay=Qc;Jo.register(Xn);var Sy=Jo;var _y=V`
898
898
  :host {
899
899
  height: 1.5rem;
900
900
  gap: 0.25rem;
@@ -996,16 +996,16 @@
996
996
  :host([variant='informational']:active) {
997
997
  --mdc-chip-background-color: var(--mds-color-theme-background-alert-theme-active);
998
998
  }
999
- `,Om=[bt,_y,...St()];var Pm=B.constructTagName("alertchip"),ho={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},ts={VARIANT:ho.NEUTRAL,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:ao[24],ROLE:"button"};var Dm=n=>({[ho.ERROR]:"error-legacy-badge-filled",[ho.WARNING]:"warning-badge-filled",[ho.SUCCESS]:"check-circle-badge-filled",[ho.INFORMATIONAL]:"info-badge-filled",[ho.NEUTRAL]:"dnd-presence-badge-filled"})[n];var es=class extends re{constructor(){super(...arguments);this.variant=ts.VARIANT;this.label=""}connectedCallback(){super.connectedCallback(),this.disabled=void 0,this.softDisabled=void 0,this.active=void 0,this.size=ts.SIZE,this.role=ts.ROLE}render(){return I`
1000
- <mdc-icon part="icon" name="${Dm(this.variant)}" length-unit="rem" size="1"></mdc-icon>
1001
- ${this.label?I`<mdc-text part="label" type="${ts.TEXT_TYPE}" tagname="${ts.TAG_NAME}"
999
+ `,Rm=[bt,_y,...St()];var Om=B.constructTagName("alertchip"),po={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},es={VARIANT:po.NEUTRAL,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:no[24],ROLE:"button"};var Pm=n=>({[po.ERROR]:"error-legacy-badge-filled",[po.WARNING]:"warning-badge-filled",[po.SUCCESS]:"check-circle-badge-filled",[po.INFORMATIONAL]:"info-badge-filled",[po.NEUTRAL]:"dnd-presence-badge-filled"})[n];var rs=class extends ie{constructor(){super(...arguments);this.variant=es.VARIANT;this.label=""}connectedCallback(){super.connectedCallback(),this.disabled=void 0,this.softDisabled=void 0,this.active=void 0,this.size=es.SIZE,this.role=es.ROLE}render(){return I`
1000
+ <mdc-icon part="icon" name="${Pm(this.variant)}" length-unit="rem" size="1"></mdc-icon>
1001
+ ${this.label?I`<mdc-text part="label" type="${es.TEXT_TYPE}" tagname="${es.TAG_NAME}"
1002
1002
  >${this.label}</mdc-text
1003
1003
  >`:j}
1004
- `}};es.styles=[...q.styles,...Om],p([u({type:String})],es.prototype,"variant",2),p([u({type:String})],es.prototype,"label",2);var Jd=es;Jd.register(Pm);var Iy=Jd;var{I:Cy}=nm;var Qn=n=>n.strings===void 0,$m=()=>document.createComment(""),rs=(n,o,t)=>{var d;let i=n._$AA.parentNode,a=o===void 0?n._$AB:o._$AA;if(t===void 0){let m=i.insertBefore($m(),a),b=i.insertBefore($m(),a);t=new Cy(m,b,n,n.options)}else{let m=t._$AB.nextSibling,b=t._$AM,C=b!==n;if(C){let M;(d=t._$AQ)==null||d.call(t,n),t._$AM=n,t._$AP!==void 0&&(M=n._$AU)!==b._$AU&&t._$AP(M)}if(m!==a||C){let M=t._$AA;for(;M!==m;){let W=M.nextSibling;i.insertBefore(M,a),M=W}}}return t},Oi=(n,o,t=n)=>(n._$AI(o,t),n),ky={},Jn=(n,o=ky)=>n._$AH=o,Fm=n=>n._$AH,tl=n=>{var i;(i=n._$AP)==null||i.call(n,!1,!0);let o=n._$AA,t=n._$AB.nextSibling;for(;o!==t;){let a=o.nextSibling;o.remove(),o=a}};var He={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ri=n=>(...o)=>({_$litDirective$:n,values:o}),Pr=class{constructor(o){}get _$AU(){return this._$AM._$AU}_$AT(o,t,i){this.t=o,this._$AM=t,this.i=i}_$AS(o,t){return this.update(o,t)}update(o,t){return this.render(...t)}};var ya=(n,o)=>{var i;let t=n._$AN;if(t===void 0)return!1;for(let a of t)(i=a._$AO)==null||i.call(a,o,!1),ya(a,o);return!0},el=n=>{let o,t;do{if((o=n._$AM)===void 0)break;t=o._$AN,t.delete(n),n=o}while((t==null?void 0:t.size)===0)},Vm=n=>{for(let o;o=n._$AM;n=o){let t=o._$AN;if(t===void 0)o._$AN=t=new Set;else if(t.has(n))break;t.add(n),Ly(o)}};function wy(n){this._$AN!==void 0?(el(this),this._$AM=n,Vm(this)):this._$AM=n}function Ny(n,o=!1,t=0){let i=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(o)if(Array.isArray(i))for(let d=t;d<i.length;d++)ya(i[d],!1),el(i[d]);else i!=null&&(ya(i,!1),el(i));else ya(this,n)}var Ly=n=>{var o,t;n.type==He.CHILD&&((o=n._$AP)!=null||(n._$AP=Ny),(t=n._$AQ)!=null||(n._$AQ=wy))},rl=class extends Pr{constructor(){super(...arguments),this._$AN=void 0}_$AT(o,t,i){super._$AT(o,t,i),Vm(this),this.isConnected=o._$AU}_$AO(o,t=!0){var i,a;o!==this.isConnected&&(this.isConnected=o,o?(i=this.reconnected)==null||i.call(this):(a=this.disconnected)==null||a.call(this)),t&&(ya(this,o),el(this))}setValue(o){if(Qn(this.t))this.t._$AI(o,this);else{let t=[...this.t._$AH];t[this.i]=o,this.t._$AI(t,this,0)}}disconnected(){}reconnected(){}};var il=()=>new ec,ec=class{},tc=new WeakMap,ol=ri(class extends rl{render(n){return j}update(n,[o]){var i;let t=o!==this.Y;return t&&this.Y!==void 0&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.Y=o,this.ht=(i=n.options)==null?void 0:i.host,this.rt(this.ct=n.element)),j}rt(n){var o;if(this.isConnected||(n=void 0),typeof this.Y=="function"){let t=(o=this.ht)!=null?o:globalThis,i=tc.get(t);i===void 0&&(i=new WeakMap,tc.set(t,i)),i.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),i.set(this.Y,n),n!==void 0&&this.Y.call(this.ht,n)}else this.Y.value=n}get lt(){var n,o,t;return typeof this.Y=="function"?(o=tc.get((n=this.ht)!=null?n:globalThis))==null?void 0:o.get(this.Y):(t=this.Y)==null?void 0:t.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Hm=Hb(zm());var rc={audio_video:"./lottie/audio_video.json",calling:"./lottie/calling.json",alert_32px_loop:"./lottie/cisco-ai-assistant/alert_32px_loop.json",hello_32px:"./lottie/cisco-ai-assistant/hello_32px.json",processing_32px_end:"./lottie/cisco-ai-assistant/processing_32px_end.json",processing_32px_loop:"./lottie/cisco-ai-assistant/processing_32px_loop.json",processing_32px_start:"./lottie/cisco-ai-assistant/processing_32px_start.json",responding_32px_end:"./lottie/cisco-ai-assistant/responding_32px_end.json",responding_32px_loop:"./lottie/cisco-ai-assistant/responding_32px_loop.json",responding_32px_start:"./lottie/cisco-ai-assistant/responding_32px_start.json",contacts:"./lottie/contacts.json",discoverability_badge:"./lottie/discoverability_badge.json",heart_opacity_test:"./lottie/heart_opacity_test.json",meeting:"./lottie/meeting.json",personal_insight:"./lottie/personal_insight.json",celebrate:"./lottie/reactions/celebrate.json",clap_dark:"./lottie/reactions/clap_dark.json",clap_light:"./lottie/reactions/clap_light.json",clap_medium_dark:"./lottie/reactions/clap_medium_dark.json",clap_medium_light:"./lottie/reactions/clap_medium_light.json",clap_medium:"./lottie/reactions/clap_medium.json",clap_yellow:"./lottie/reactions/clap_yellow.json",fire:"./lottie/reactions/fire.json",haha:"./lottie/reactions/haha.json",heart:"./lottie/reactions/heart.json",on_video_celebrate:"./lottie/reactions/on_video/on_video_celebrate.json",on_video_clap_dark:"./lottie/reactions/on_video/on_video_clap_dark.json",on_video_clap_light:"./lottie/reactions/on_video/on_video_clap_light.json",on_video_clap_medium_dark:"./lottie/reactions/on_video/on_video_clap_medium_dark.json",on_video_clap_medium_light:"./lottie/reactions/on_video/on_video_clap_medium_light.json",on_video_clap_medium:"./lottie/reactions/on_video/on_video_clap_medium.json",on_video_clap_yellow:"./lottie/reactions/on_video/on_video_clap_yellow.json",on_video_fire:"./lottie/reactions/on_video/on_video_fire.json",on_video_haha:"./lottie/reactions/on_video/on_video_haha.json",on_video_heart:"./lottie/reactions/on_video/on_video_heart.json",on_video_prayer_dark:"./lottie/reactions/on_video/on_video_prayer_dark.json",on_video_prayer_light:"./lottie/reactions/on_video/on_video_prayer_light.json",on_video_prayer_medium_dark:"./lottie/reactions/on_video/on_video_prayer_medium_dark.json",on_video_prayer_medium_light:"./lottie/reactions/on_video/on_video_prayer_medium_light.json",on_video_prayer_medium:"./lottie/reactions/on_video/on_video_prayer_medium.json",on_video_prayer_yellow:"./lottie/reactions/on_video/on_video_prayer_yellow.json",on_video_raise_hand_dark:"./lottie/reactions/on_video/on_video_raise_hand_dark.json",on_video_raise_hand_light:"./lottie/reactions/on_video/on_video_raise_hand_light.json",on_video_raise_hand_medium_dark:"./lottie/reactions/on_video/on_video_raise_hand_medium_dark.json",on_video_raise_hand_medium_light:"./lottie/reactions/on_video/on_video_raise_hand_medium_light.json",on_video_raise_hand_medium:"./lottie/reactions/on_video/on_video_raise_hand_medium.json",on_video_raise_hand_yellow:"./lottie/reactions/on_video/on_video_raise_hand_yellow.json",on_video_sad:"./lottie/reactions/on_video/on_video_sad.json",on_video_slow_down:"./lottie/reactions/on_video/on_video_slow_down.json",on_video_smile:"./lottie/reactions/on_video/on_video_smile.json",on_video_speed_up:"./lottie/reactions/on_video/on_video_speed_up.json",on_video_thumb_down_dark:"./lottie/reactions/on_video/on_video_thumb_down_dark.json",on_video_thumb_down_light:"./lottie/reactions/on_video/on_video_thumb_down_light.json",on_video_thumb_down_medium_dark:"./lottie/reactions/on_video/on_video_thumb_down_medium_dark.json",on_video_thumb_down_medium_light:"./lottie/reactions/on_video/on_video_thumb_down_medium_light.json",on_video_thumb_down_medium:"./lottie/reactions/on_video/on_video_thumb_down_medium.json",on_video_thumb_down_yellow:"./lottie/reactions/on_video/on_video_thumb_down_yellow.json",on_video_thumb_up_dark:"./lottie/reactions/on_video/on_video_thumb_up_dark.json",on_video_thumb_up_light:"./lottie/reactions/on_video/on_video_thumb_up_light.json",on_video_thumb_up_medium_dark:"./lottie/reactions/on_video/on_video_thumb_up_medium_dark.json",on_video_thumb_up_medium_light:"./lottie/reactions/on_video/on_video_thumb_up_medium_light.json",on_video_thumb_up_medium:"./lottie/reactions/on_video/on_video_thumb_up_medium.json",on_video_thumb_up_yellow:"./lottie/reactions/on_video/on_video_thumb_up_yellow.json",on_video_wow:"./lottie/reactions/on_video/on_video_wow.json",prayer_dark:"./lottie/reactions/prayer_dark.json",prayer_light:"./lottie/reactions/prayer_light.json",prayer_medium_dark:"./lottie/reactions/prayer_medium_dark.json",prayer_medium_light:"./lottie/reactions/prayer_medium_light.json",prayer_medium:"./lottie/reactions/prayer_medium.json",prayer_yellow:"./lottie/reactions/prayer_yellow.json",raise_hand_dark:"./lottie/reactions/raise_hand_dark.json",raise_hand_light:"./lottie/reactions/raise_hand_light.json",raise_hand_medium_dark:"./lottie/reactions/raise_hand_medium_dark.json",raise_hand_medium_light:"./lottie/reactions/raise_hand_medium_light.json",raise_hand_medium:"./lottie/reactions/raise_hand_medium.json",raise_hand_yellow:"./lottie/reactions/raise_hand_yellow.json",sad:"./lottie/reactions/sad.json",slow_down:"./lottie/reactions/slow_down.json",smile:"./lottie/reactions/smile.json",speed_up:"./lottie/reactions/speed_up.json",thumb_down_dark:"./lottie/reactions/thumb_down_dark.json",thumb_down_light:"./lottie/reactions/thumb_down_light.json",thumb_down_medium_dark:"./lottie/reactions/thumb_down_medium_dark.json",thumb_down_medium_light:"./lottie/reactions/thumb_down_medium_light.json",thumb_down_medium:"./lottie/reactions/thumb_down_medium.json",thumb_down_yellow:"./lottie/reactions/thumb_down_yellow.json",thumb_up_dark:"./lottie/reactions/thumb_up_dark.json",thumb_up_light:"./lottie/reactions/thumb_up_light.json",thumb_up_medium_dark:"./lottie/reactions/thumb_up_medium_dark.json",thumb_up_medium_light:"./lottie/reactions/thumb_up_medium_light.json",thumb_up_medium:"./lottie/reactions/thumb_up_medium.json",thumb_up_yellow:"./lottie/reactions/thumb_up_yellow.json",wow:"./lottie/reactions/wow.json",space:"./lottie/space.json",success:"./lottie/success.json",teams:"./lottie/teams.json",webex_logo_loop:"./lottie/webex_logo_loop.json",welcome:"./lottie/welcome.json"};var Ry=[bt,z`
1004
+ `}};rs.styles=[...K.styles,...Rm],p([u({type:String})],rs.prototype,"variant",2),p([u({type:String})],rs.prototype,"label",2);var Jc=rs;Jc.register(Om);var Iy=Jc;var{I:Cy}=am;var Qn=n=>n.strings===void 0,Dm=()=>document.createComment(""),is=(n,o,t)=>{var c;let i=n._$AA.parentNode,a=o===void 0?n._$AB:o._$AA;if(t===void 0){let m=i.insertBefore(Dm(),a),b=i.insertBefore(Dm(),a);t=new Cy(m,b,n,n.options)}else{let m=t._$AB.nextSibling,b=t._$AM,C=b!==n;if(C){let L;(c=t._$AQ)==null||c.call(t,n),t._$AM=n,t._$AP!==void 0&&(L=n._$AU)!==b._$AU&&t._$AP(L)}if(m!==a||C){let L=t._$AA;for(;L!==m;){let W=L.nextSibling;i.insertBefore(L,a),L=W}}}return t},Pi=(n,o,t=n)=>(n._$AI(o,t),n),ky={},Jn=(n,o=ky)=>n._$AH=o,Fm=n=>n._$AH,tl=n=>{var i;(i=n._$AP)==null||i.call(n,!1,!0);let o=n._$AA,t=n._$AB.nextSibling;for(;o!==t;){let a=o.nextSibling;o.remove(),o=a}};var He={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ii=n=>(...o)=>({_$litDirective$:n,values:o}),Or=class{constructor(o){}get _$AU(){return this._$AM._$AU}_$AT(o,t,i){this.t=o,this._$AM=t,this.i=i}_$AS(o,t){return this.update(o,t)}update(o,t){return this.render(...t)}};var Ea=(n,o)=>{var i;let t=n._$AN;if(t===void 0)return!1;for(let a of t)(i=a._$AO)==null||i.call(a,o,!1),Ea(a,o);return!0},el=n=>{let o,t;do{if((o=n._$AM)===void 0)break;t=o._$AN,t.delete(n),n=o}while((t==null?void 0:t.size)===0)},$m=n=>{for(let o;o=n._$AM;n=o){let t=o._$AN;if(t===void 0)o._$AN=t=new Set;else if(t.has(n))break;t.add(n),Ly(o)}};function wy(n){this._$AN!==void 0?(el(this),this._$AM=n,$m(this)):this._$AM=n}function Ny(n,o=!1,t=0){let i=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(o)if(Array.isArray(i))for(let c=t;c<i.length;c++)Ea(i[c],!1),el(i[c]);else i!=null&&(Ea(i,!1),el(i));else Ea(this,n)}var Ly=n=>{var o,t;n.type==He.CHILD&&((o=n._$AP)!=null||(n._$AP=Ny),(t=n._$AQ)!=null||(n._$AQ=wy))},rl=class extends Or{constructor(){super(...arguments),this._$AN=void 0}_$AT(o,t,i){super._$AT(o,t,i),$m(this),this.isConnected=o._$AU}_$AO(o,t=!0){var i,a;o!==this.isConnected&&(this.isConnected=o,o?(i=this.reconnected)==null||i.call(this):(a=this.disconnected)==null||a.call(this)),t&&(Ea(this,o),el(this))}setValue(o){if(Qn(this.t))this.t._$AI(o,this);else{let t=[...this.t._$AH];t[this.i]=o,this.t._$AI(t,this,0)}}disconnected(){}reconnected(){}};var il=()=>new ed,ed=class{},td=new WeakMap,ol=ii(class extends rl{render(n){return j}update(n,[o]){var i;let t=o!==this.Y;return t&&this.Y!==void 0&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.Y=o,this.ht=(i=n.options)==null?void 0:i.host,this.rt(this.ct=n.element)),j}rt(n){var o;if(this.isConnected||(n=void 0),typeof this.Y=="function"){let t=(o=this.ht)!=null?o:globalThis,i=td.get(t);i===void 0&&(i=new WeakMap,td.set(t,i)),i.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),i.set(this.Y,n),n!==void 0&&this.Y.call(this.ht,n)}else this.Y.value=n}get lt(){var n,o,t;return typeof this.Y=="function"?(o=td.get((n=this.ht)!=null?n:globalThis))==null?void 0:o.get(this.Y):(t=this.Y)==null?void 0:t.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Um=Hb(zm());var rd={audio_video:"./lottie/audio_video.json",calling:"./lottie/calling.json",alert_32px_loop:"./lottie/cisco-ai-assistant/alert_32px_loop.json",hello_32px:"./lottie/cisco-ai-assistant/hello_32px.json",processing_32px_end:"./lottie/cisco-ai-assistant/processing_32px_end.json",processing_32px_loop:"./lottie/cisco-ai-assistant/processing_32px_loop.json",processing_32px_start:"./lottie/cisco-ai-assistant/processing_32px_start.json",responding_32px_end:"./lottie/cisco-ai-assistant/responding_32px_end.json",responding_32px_loop:"./lottie/cisco-ai-assistant/responding_32px_loop.json",responding_32px_start:"./lottie/cisco-ai-assistant/responding_32px_start.json",contacts:"./lottie/contacts.json",discoverability_badge:"./lottie/discoverability_badge.json",heart_opacity_test:"./lottie/heart_opacity_test.json",meeting:"./lottie/meeting.json",personal_insight:"./lottie/personal_insight.json",celebrate:"./lottie/reactions/celebrate.json",clap_dark:"./lottie/reactions/clap_dark.json",clap_light:"./lottie/reactions/clap_light.json",clap_medium_dark:"./lottie/reactions/clap_medium_dark.json",clap_medium_light:"./lottie/reactions/clap_medium_light.json",clap_medium:"./lottie/reactions/clap_medium.json",clap_yellow:"./lottie/reactions/clap_yellow.json",fire:"./lottie/reactions/fire.json",haha:"./lottie/reactions/haha.json",heart:"./lottie/reactions/heart.json",on_video_celebrate:"./lottie/reactions/on_video/on_video_celebrate.json",on_video_clap_dark:"./lottie/reactions/on_video/on_video_clap_dark.json",on_video_clap_light:"./lottie/reactions/on_video/on_video_clap_light.json",on_video_clap_medium_dark:"./lottie/reactions/on_video/on_video_clap_medium_dark.json",on_video_clap_medium_light:"./lottie/reactions/on_video/on_video_clap_medium_light.json",on_video_clap_medium:"./lottie/reactions/on_video/on_video_clap_medium.json",on_video_clap_yellow:"./lottie/reactions/on_video/on_video_clap_yellow.json",on_video_fire:"./lottie/reactions/on_video/on_video_fire.json",on_video_haha:"./lottie/reactions/on_video/on_video_haha.json",on_video_heart:"./lottie/reactions/on_video/on_video_heart.json",on_video_prayer_dark:"./lottie/reactions/on_video/on_video_prayer_dark.json",on_video_prayer_light:"./lottie/reactions/on_video/on_video_prayer_light.json",on_video_prayer_medium_dark:"./lottie/reactions/on_video/on_video_prayer_medium_dark.json",on_video_prayer_medium_light:"./lottie/reactions/on_video/on_video_prayer_medium_light.json",on_video_prayer_medium:"./lottie/reactions/on_video/on_video_prayer_medium.json",on_video_prayer_yellow:"./lottie/reactions/on_video/on_video_prayer_yellow.json",on_video_raise_hand_dark:"./lottie/reactions/on_video/on_video_raise_hand_dark.json",on_video_raise_hand_light:"./lottie/reactions/on_video/on_video_raise_hand_light.json",on_video_raise_hand_medium_dark:"./lottie/reactions/on_video/on_video_raise_hand_medium_dark.json",on_video_raise_hand_medium_light:"./lottie/reactions/on_video/on_video_raise_hand_medium_light.json",on_video_raise_hand_medium:"./lottie/reactions/on_video/on_video_raise_hand_medium.json",on_video_raise_hand_yellow:"./lottie/reactions/on_video/on_video_raise_hand_yellow.json",on_video_sad:"./lottie/reactions/on_video/on_video_sad.json",on_video_slow_down:"./lottie/reactions/on_video/on_video_slow_down.json",on_video_smile:"./lottie/reactions/on_video/on_video_smile.json",on_video_speed_up:"./lottie/reactions/on_video/on_video_speed_up.json",on_video_thumb_down_dark:"./lottie/reactions/on_video/on_video_thumb_down_dark.json",on_video_thumb_down_light:"./lottie/reactions/on_video/on_video_thumb_down_light.json",on_video_thumb_down_medium_dark:"./lottie/reactions/on_video/on_video_thumb_down_medium_dark.json",on_video_thumb_down_medium_light:"./lottie/reactions/on_video/on_video_thumb_down_medium_light.json",on_video_thumb_down_medium:"./lottie/reactions/on_video/on_video_thumb_down_medium.json",on_video_thumb_down_yellow:"./lottie/reactions/on_video/on_video_thumb_down_yellow.json",on_video_thumb_up_dark:"./lottie/reactions/on_video/on_video_thumb_up_dark.json",on_video_thumb_up_light:"./lottie/reactions/on_video/on_video_thumb_up_light.json",on_video_thumb_up_medium_dark:"./lottie/reactions/on_video/on_video_thumb_up_medium_dark.json",on_video_thumb_up_medium_light:"./lottie/reactions/on_video/on_video_thumb_up_medium_light.json",on_video_thumb_up_medium:"./lottie/reactions/on_video/on_video_thumb_up_medium.json",on_video_thumb_up_yellow:"./lottie/reactions/on_video/on_video_thumb_up_yellow.json",on_video_wow:"./lottie/reactions/on_video/on_video_wow.json",prayer_dark:"./lottie/reactions/prayer_dark.json",prayer_light:"./lottie/reactions/prayer_light.json",prayer_medium_dark:"./lottie/reactions/prayer_medium_dark.json",prayer_medium_light:"./lottie/reactions/prayer_medium_light.json",prayer_medium:"./lottie/reactions/prayer_medium.json",prayer_yellow:"./lottie/reactions/prayer_yellow.json",raise_hand_dark:"./lottie/reactions/raise_hand_dark.json",raise_hand_light:"./lottie/reactions/raise_hand_light.json",raise_hand_medium_dark:"./lottie/reactions/raise_hand_medium_dark.json",raise_hand_medium_light:"./lottie/reactions/raise_hand_medium_light.json",raise_hand_medium:"./lottie/reactions/raise_hand_medium.json",raise_hand_yellow:"./lottie/reactions/raise_hand_yellow.json",sad:"./lottie/reactions/sad.json",slow_down:"./lottie/reactions/slow_down.json",smile:"./lottie/reactions/smile.json",speed_up:"./lottie/reactions/speed_up.json",thumb_down_dark:"./lottie/reactions/thumb_down_dark.json",thumb_down_light:"./lottie/reactions/thumb_down_light.json",thumb_down_medium_dark:"./lottie/reactions/thumb_down_medium_dark.json",thumb_down_medium_light:"./lottie/reactions/thumb_down_medium_light.json",thumb_down_medium:"./lottie/reactions/thumb_down_medium.json",thumb_down_yellow:"./lottie/reactions/thumb_down_yellow.json",thumb_up_dark:"./lottie/reactions/thumb_up_dark.json",thumb_up_light:"./lottie/reactions/thumb_up_light.json",thumb_up_medium_dark:"./lottie/reactions/thumb_up_medium_dark.json",thumb_up_medium_light:"./lottie/reactions/thumb_up_medium_light.json",thumb_up_medium:"./lottie/reactions/thumb_up_medium.json",thumb_up_yellow:"./lottie/reactions/thumb_up_yellow.json",wow:"./lottie/reactions/wow.json",space:"./lottie/space.json",success:"./lottie/success.json",teams:"./lottie/teams.json",webex_logo_loop:"./lottie/webex_logo_loop.json",welcome:"./lottie/welcome.json"};var My=[bt,V`
1005
1005
  :host svg {
1006
1006
  display: block;
1007
1007
  }
1008
- `],Bm=Ry;var Um=B.constructTagName("animation"),al={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var ii=class extends q{constructor(){super(...arguments);this.name=al.NAME;this.loop=al.LOOP;this.autoplay=al.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledBy=null;this.containerRef=il();this.onCompleteHandler=()=>{let t=new CustomEvent("complete",{detail:{name:this.name},bubbles:!0});this.dispatchEvent(t)}}get animation(){return this.lottieInstance}getLoopValue(){return this.loop==="true"?!0:this.loop==="false"?!1:this.loop?Number(this.loop):!0}onLoadSuccessHandler(t){this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy()),this.containerRef.value&&(this.lottieInstance=Hm.default.loadAnimation({container:this.containerRef.value,renderer:"svg",loop:this.getLoopValue(),autoplay:this.autoplay,animationData:t,name:this.name}),this.lottieInstance.addEventListener("complete",this.onCompleteHandler)),this.dispatchEvent(new CustomEvent("load",{bubbles:!0,cancelable:!0,detail:{name:this.name}}))}onLoadFailHandler(t){let i=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(i)}getAnimationData(){this.name&&rc[this.name]?import(`@momentum-design/animations/dist/lottie${rc[this.name].replace(/^\.\/lottie/,"")}`).then(i=>this.onLoadSuccessHandler(i.default)).catch(i=>this.onLoadFailHandler(i)):this.onLoadFailHandler(new Error(`Invalid animation name: ${this.name}`))}updated(t){super.updated(t),(t.has("name")||t.has("loop")||t.has("autoplay"))&&this.getAnimationData(),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null)}disconnectedCallback(){super.disconnectedCallback(),this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy(),this.lottieInstance=void 0)}render(){return I`<div aria-hidden="true" ${ol(this.containerRef)}></div>`}};ii.styles=[...q.styles,...Bm],p([u({type:String,reflect:!0})],ii.prototype,"name",2),p([u({type:String,reflect:!0})],ii.prototype,"loop",2),p([u({type:Boolean,reflect:!0})],ii.prototype,"autoplay",2),p([u({type:String,attribute:"aria-label"})],ii.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],ii.prototype,"ariaLabelledBy",2);var ic=ii;ic.register(Um);var My=ic;var Oy=z`
1008
+ `],Vm=My;var Bm=B.constructTagName("animation"),al={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var oi=class extends K{constructor(){super(...arguments);this.name=al.NAME;this.loop=al.LOOP;this.autoplay=al.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledBy=null;this.containerRef=il();this.onCompleteHandler=()=>{let t=new CustomEvent("complete",{detail:{name:this.name},bubbles:!0});this.dispatchEvent(t)}}get animation(){return this.lottieInstance}getLoopValue(){return this.loop==="true"?!0:this.loop==="false"?!1:this.loop?Number(this.loop):!0}onLoadSuccessHandler(t){this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy()),this.containerRef.value&&(this.lottieInstance=Um.default.loadAnimation({container:this.containerRef.value,renderer:"svg",loop:this.getLoopValue(),autoplay:this.autoplay,animationData:t,name:this.name}),this.lottieInstance.addEventListener("complete",this.onCompleteHandler)),this.dispatchEvent(new CustomEvent("load",{bubbles:!0,cancelable:!0,detail:{name:this.name}}))}onLoadFailHandler(t){let i=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(i)}getAnimationData(){this.name&&rd[this.name]?import(`@momentum-design/animations/dist/lottie${rd[this.name].replace(/^\.\/lottie/,"")}`).then(i=>this.onLoadSuccessHandler(i.default)).catch(i=>this.onLoadFailHandler(i)):this.onLoadFailHandler(new Error(`Invalid animation name: ${this.name}`))}updated(t){super.updated(t),(t.has("name")||t.has("loop")||t.has("autoplay"))&&this.getAnimationData(),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null)}disconnectedCallback(){super.disconnectedCallback(),this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy(),this.lottieInstance=void 0)}render(){return I`<div aria-hidden="true" ${ol(this.containerRef)}></div>`}};oi.styles=[...K.styles,...Vm],p([u({type:String,reflect:!0})],oi.prototype,"name",2),p([u({type:String,reflect:!0})],oi.prototype,"loop",2),p([u({type:Boolean,reflect:!0})],oi.prototype,"autoplay",2),p([u({type:String,attribute:"aria-label"})],oi.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],oi.prototype,"ariaLabelledBy",2);var id=oi;id.register(Bm);var Ry=id;var Oy=V`
1009
1009
  :host {
1010
1010
  --mdc-appheader-height: 4rem;
1011
1011
  }
@@ -1039,7 +1039,7 @@
1039
1039
  justify-content: flex-end;
1040
1040
  flex: 1;
1041
1041
  }
1042
- `,Gm=[Oy];var nl=class extends q{render(){return I`
1042
+ `,Hm=[Oy];var nl=class extends K{render(){return I`
1043
1043
  <header part="container">
1044
1044
  <div part="leading-section">
1045
1045
  <slot name="leading"></slot>
@@ -1049,7 +1049,7 @@
1049
1049
  <slot name="trailing"></slot>
1050
1050
  </div>
1051
1051
  </header>
1052
- `}};nl.styles=[...q.styles,...Gm];var oc=nl;var Ym=B.constructTagName("appheader");oc.register(Ym);var Py=oc;var Wm=B.constructTagName("avatar"),_e={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},sc=99,Dy="user-regular",Ft={24:24,32:32,48:48,64:64,72:72,88:88,124:124},is={TYPE:_e.PHOTO,SIZE:Ft[32],ICON_NAME:Dy};var ll=n=>{class o extends n{constructor(){super(...arguments);this.size=is.SIZE;this.isTyping=!1}}return p([u({type:String})],o.prototype,"src",2),p([u({type:String})],o.prototype,"initials",2),p([u({type:String})],o.prototype,"presence",2),p([u({type:Number,reflect:!0,attribute:"size"})],o.prototype,"size",2),p([u({type:Number})],o.prototype,"counter",2),p([u({type:Boolean,attribute:"is-typing"})],o.prototype,"isTyping",2),o};var qt=n=>{class o extends n{}return p([u({type:String,attribute:"icon-name"})],o.prototype,"iconName",2),o};var $y=[bt,z`
1052
+ `}};nl.styles=[...K.styles,...Hm];var od=nl;var Gm=B.constructTagName("appheader");od.register(Gm);var Py=od;var Ym=B.constructTagName("avatar"),Se={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},sd=99,Dy="user-regular",$t={24:24,32:32,48:48,64:64,72:72,88:88,124:124},os={TYPE:Se.PHOTO,SIZE:$t[32],ICON_NAME:Dy};var ll=n=>{class o extends n{constructor(){super(...arguments);this.size=os.SIZE;this.isTyping=!1}}return p([u({type:String})],o.prototype,"src",2),p([u({type:String})],o.prototype,"initials",2),p([u({type:String})],o.prototype,"presence",2),p([u({type:Number,reflect:!0,attribute:"size"})],o.prototype,"size",2),p([u({type:Number})],o.prototype,"counter",2),p([u({type:Boolean,attribute:"is-typing"})],o.prototype,"isTyping",2),o};var Kt=n=>{class o extends n{}return p([u({type:String,attribute:"icon-name"})],o.prototype,"iconName",2),o};var Fy=[bt,V`
1053
1053
  :host {
1054
1054
  --mdc-avatar-default-background-color: var(--mds-color-theme-avatar-default);
1055
1055
  --mdc-avatar-default-foreground-color: var(--mds-color-theme-common-text-primary-normal);
@@ -1204,7 +1204,7 @@
1204
1204
  outline: 0.125rem solid;
1205
1205
  }
1206
1206
  }
1207
- `],jm=$y;var qm=B.constructTagName("presence"),ye={ACTIVE:"active",AWAY:"away",AWAY_CALLING:"away-calling",BUSY:"busy",DND:"dnd",MEETING:"meeting",ON_CALL:"on-call",ON_DEVICE:"on-device",ON_MOBILE:"on-mobile",PAUSE:"pause",PTO:"pto",PRESENTING:"presenting",QUIET:"quiet",SCHEDULED:"scheduled"},Kt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},os={TYPE:ye.ACTIVE,SIZE:Kt[32]};var Km=n=>({[Ft[124]]:Kt[124],[Ft[88]]:Kt[88],[Ft[72]]:Kt[72],[Ft[64]]:Kt[64],[Ft[48]]:Kt[48],[Ft[32]]:Kt[32],[Ft[24]]:Kt[24]})[n]||Kt[32],Xm=n=>({[Ft[124]]:4.75,[Ft[88]]:3,[Ft[72]]:2.5,[Ft[64]]:2.25,[Ft[48]]:1.75,[Ft[32]]:1.25,[Ft[24]]:1})[n]||1.25,Zm=n=>({[Ft[124]]:st.HEADING_XLARGE_MEDIUM,[Ft[88]]:st.HEADING_LARGE_MEDIUM,[Ft[72]]:st.HEADING_MIDSIZE_MEDIUM,[Ft[64]]:st.HEADING_SMALL_MEDIUM,[Ft[48]]:st.HEADING_SMALL_MEDIUM,[Ft[32]]:st.BODY_MIDSIZE_MEDIUM,[Ft[24]]:st.BODY_SMALL_MEDIUM})[n]||st.BODY_MIDSIZE_MEDIUM;var Ta=class extends ll(qt(q)){constructor(){super(...arguments);this.isPhotoLoaded=!1}getPresenceTemplateBasedOnType(t){return t===_e.COUNTER&&(this.counter||this.counter===0)||this.isTyping?j:this.presence?I`
1207
+ `],Wm=Fy;var jm=B.constructTagName("presence"),ye={ACTIVE:"active",AWAY:"away",AWAY_CALLING:"away-calling",BUSY:"busy",DND:"dnd",MEETING:"meeting",ON_CALL:"on-call",ON_DEVICE:"on-device",ON_MOBILE:"on-mobile",PAUSE:"pause",PTO:"pto",PRESENTING:"presenting",QUIET:"quiet",SCHEDULED:"scheduled"},qt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},ss={TYPE:ye.ACTIVE,SIZE:qt[32]};var Km=n=>({[$t[124]]:qt[124],[$t[88]]:qt[88],[$t[72]]:qt[72],[$t[64]]:qt[64],[$t[48]]:qt[48],[$t[32]]:qt[32],[$t[24]]:qt[24]})[n]||qt[32],qm=n=>({[$t[124]]:4.75,[$t[88]]:3,[$t[72]]:2.5,[$t[64]]:2.25,[$t[48]]:1.75,[$t[32]]:1.25,[$t[24]]:1})[n]||1.25,Xm=n=>({[$t[124]]:st.HEADING_XLARGE_MEDIUM,[$t[88]]:st.HEADING_LARGE_MEDIUM,[$t[72]]:st.HEADING_MIDSIZE_MEDIUM,[$t[64]]:st.HEADING_SMALL_MEDIUM,[$t[48]]:st.HEADING_SMALL_MEDIUM,[$t[32]]:st.BODY_MIDSIZE_MEDIUM,[$t[24]]:st.BODY_SMALL_MEDIUM})[n]||st.BODY_MIDSIZE_MEDIUM;var xa=class extends ll(Kt(K)){constructor(){super(...arguments);this.isPhotoLoaded=!1}getPresenceTemplateBasedOnType(t){return t===Se.COUNTER&&(this.counter||this.counter===0)||this.isTyping?j:this.presence?I`
1208
1208
  <mdc-presence part="presence" type="${this.presence}" size="${Km(this.size)}"></mdc-presence>
1209
1209
  `:j}handleOnLoad(){this.isPhotoLoaded=!0}handleOnError(){this.isPhotoLoaded=!1,this.onerror&&this.onerror("There was a problem while fetching the <img/>. Please check the src attribute and try again.")}photoTemplate(){return I`
1210
1210
  <img
@@ -1215,14 +1215,14 @@
1215
1215
  @load="${this.handleOnLoad}"
1216
1216
  @error="${this.handleOnError}"
1217
1217
  />
1218
- `}iconTemplate(){let t=this.iconName||is.ICON_NAME;return I`
1219
- <mdc-icon name="${rt(t)}" length-unit="rem" size="${Xm(this.size)}"></mdc-icon>
1220
- `}textTemplate(t){return I` <mdc-text type="${Zm(this.size)}" tagname="span"> ${t} </mdc-text> `}generateCounterText(t){return t<0?"0":t>sc?`${sc}+`:t.toString()}generateInitialsText(t){return t.toUpperCase().slice(0,2)}generateTextContent(t){let i="";return t===_e.TEXT&&this.initials&&(i=this.generateInitialsText(this.initials)),t===_e.COUNTER&&(this.counter||this.counter===0)&&(i=this.generateCounterText(this.counter)),this.textTemplate(i)}getTypeBasedOnInputs(){return this.src?_e.PHOTO:this.iconName?_e.ICON:this.initials?_e.TEXT:this.counter||this.counter===0?_e.COUNTER:_e.ICON}getTemplateBasedOnType(t){switch(t){case _e.PHOTO:return this.photoTemplate();case _e.TEXT:case _e.COUNTER:return this.generateTextContent(t);case _e.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?I`<div part="loading-wrapper"><div part="loader"></div></div>`:j}getPhotoPlaceHolderContent(t){return this.isPhotoLoaded?j:t===_e.PHOTO?this.initials?this.textTemplate(this.generateInitialsText(this.initials)):this.iconTemplate():j}update(t){super.update(t),t.has("src")&&!this.src&&(this.isPhotoLoaded=!1)}render(){let t=this.getTypeBasedOnInputs();return I`
1218
+ `}iconTemplate(){let t=this.iconName||os.ICON_NAME;return I`
1219
+ <mdc-icon name="${rt(t)}" length-unit="rem" size="${qm(this.size)}"></mdc-icon>
1220
+ `}textTemplate(t){return I` <mdc-text type="${Xm(this.size)}" tagname="span"> ${t} </mdc-text> `}generateCounterText(t){return t<0?"0":t>sd?`${sd}+`:t.toString()}generateInitialsText(t){return t.toUpperCase().slice(0,2)}generateTextContent(t){let i="";return t===Se.TEXT&&this.initials&&(i=this.generateInitialsText(this.initials)),t===Se.COUNTER&&(this.counter||this.counter===0)&&(i=this.generateCounterText(this.counter)),this.textTemplate(i)}getTypeBasedOnInputs(){return this.src?Se.PHOTO:this.iconName?Se.ICON:this.initials?Se.TEXT:this.counter||this.counter===0?Se.COUNTER:Se.ICON}getTemplateBasedOnType(t){switch(t){case Se.PHOTO:return this.photoTemplate();case Se.TEXT:case Se.COUNTER:return this.generateTextContent(t);case Se.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?I`<div part="loading-wrapper"><div part="loader"></div></div>`:j}getPhotoPlaceHolderContent(t){return this.isPhotoLoaded?j:t===Se.PHOTO?this.initials?this.textTemplate(this.generateInitialsText(this.initials)):this.iconTemplate():j}update(t){super.update(t),t.has("src")&&!this.src&&(this.isPhotoLoaded=!1)}render(){let t=this.getTypeBasedOnInputs();return I`
1221
1221
  <div part="content" aria-hidden="true">
1222
1222
  ${this.getPhotoPlaceHolderContent(t)} ${this.getTemplateBasedOnType(t)} ${this.getLoadingContent()}
1223
1223
  ${this.getPresenceTemplateBasedOnType(t)}
1224
1224
  </div>
1225
- `}};Ta.styles=[...q.styles,...jm],p([gt()],Ta.prototype,"isPhotoLoaded",2);var ac=Ta;var Fy=[bt,z`
1225
+ `}};xa.styles=[...K.styles,...Wm],p([gt()],xa.prototype,"isPhotoLoaded",2);var ad=xa;var $y=[bt,V`
1226
1226
  :host {
1227
1227
  --mdc-presence-active-background-color: var(--mds-color-theme-indicator-stable);
1228
1228
  --mdc-presence-away-background-color: var(--mds-color-theme-indicator-locked);
@@ -1316,17 +1316,17 @@
1316
1316
  .mdc-presence-icon__scheduled {
1317
1317
  color: var(--mdc-presence-scheduled-background-color);
1318
1318
  }
1319
- `],Qm=Fy;var Jm=n=>{switch(n){case ye.AWAY:return"recents-presence-badge-filled";case ye.AWAY_CALLING:return"away-calling-presence-filled";case ye.BUSY:return"busy-presence-bold";case ye.DND:return"dnd-presence-badge-filled";case ye.MEETING:return"camera-filled";case ye.ON_CALL:return"handset-filled";case ye.ON_DEVICE:return"generic-device-video-badge-filled";case ye.ON_MOBILE:return"phone-badge-filled";case ye.PAUSE:return"pause-badge-filled";case ye.PTO:return"pto-presence-filled";case ye.PRESENTING:return"share-screen-badge-filled";case ye.QUIET:return"quiet-hours-presence-filled";case ye.SCHEDULED:return"meetings-presence-badge-filled";case ye.ACTIVE:default:return"active-presence-small-filled"}},tu=n=>({[Kt[124]]:2.25,[Kt[88]]:1.625,[Kt[72]]:1.3125,[Kt[64]]:1.1875,[Kt[48]]:.875,[Kt[32]]:.875,[Kt[24]]:.875})[n]||.875;var po=class extends q{constructor(){super(...arguments);this.type=os.TYPE;this.size=os.SIZE;this.currentIconType=os.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Kt).includes(t)?`${t}`:os.SIZE.toString())}get icon(){let t=Jm(this.type);return t==="active-presence-small-filled"&&(this.type=os.TYPE),t}handleOnLoad(){this.currentIconType=this.type}handleOnError(){this.onerror&&this.onerror("There was a problem while fetching the icon. Please check the icon name and try again.")}render(){return I`
1319
+ `],Zm=$y;var Qm=n=>{switch(n){case ye.AWAY:return"recents-presence-badge-filled";case ye.AWAY_CALLING:return"away-calling-presence-filled";case ye.BUSY:return"busy-presence-bold";case ye.DND:return"dnd-presence-badge-filled";case ye.MEETING:return"camera-filled";case ye.ON_CALL:return"handset-filled";case ye.ON_DEVICE:return"generic-device-video-badge-filled";case ye.ON_MOBILE:return"phone-badge-filled";case ye.PAUSE:return"pause-badge-filled";case ye.PTO:return"pto-presence-filled";case ye.PRESENTING:return"share-screen-badge-filled";case ye.QUIET:return"quiet-hours-presence-filled";case ye.SCHEDULED:return"meetings-presence-badge-filled";case ye.ACTIVE:default:return"active-presence-small-filled"}},Jm=n=>({[qt[124]]:2.25,[qt[88]]:1.625,[qt[72]]:1.3125,[qt[64]]:1.1875,[qt[48]]:.875,[qt[32]]:.875,[qt[24]]:.875})[n]||.875;var mo=class extends K{constructor(){super(...arguments);this.type=ss.TYPE;this.size=ss.SIZE;this.currentIconType=ss.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(qt).includes(t)?`${t}`:ss.SIZE.toString())}get icon(){let t=Qm(this.type);return t==="active-presence-small-filled"&&(this.type=ss.TYPE),t}handleOnLoad(){this.currentIconType=this.type}handleOnError(){this.onerror&&this.onerror("There was a problem while fetching the icon. Please check the icon name and try again.")}render(){return I`
1320
1320
  <div part="presence-content">
1321
1321
  <mdc-icon
1322
1322
  class="mdc-presence-icon mdc-presence-icon__${this.currentIconType}"
1323
1323
  name="${this.icon}"
1324
- size="${tu(this.size)}"
1324
+ size="${Jm(this.size)}"
1325
1325
  @load="${this.handleOnLoad}"
1326
1326
  @error="${this.handleOnError}"
1327
1327
  ></mdc-icon>
1328
1328
  </div>
1329
- `}};po.styles=[...q.styles,...Qm],p([u({type:String,reflect:!0})],po.prototype,"type",2),p([u({type:Number,reflect:!0})],po.prototype,"size",2),p([gt()],po.prototype,"currentIconType",2);var nc=po;nc.register(qm);var Vy=nc;ac.register(Wm);var zy=ac;var By=[bt,z`
1329
+ `}};mo.styles=[...K.styles,...Zm],p([u({type:String,reflect:!0})],mo.prototype,"type",2),p([u({type:Number,reflect:!0})],mo.prototype,"size",2),p([gt()],mo.prototype,"currentIconType",2);var nd=mo;nd.register(jm);var zy=nd;ad.register(Ym);var Vy=ad;var By=[bt,V`
1330
1330
  :host {
1331
1331
  --mdc-avatarbutton-overlay-background-color-rest: var(--mds-color-theme-avatar-ghost);
1332
1332
  --mdc-avatarbutton-overlay-background-color-hover: var(--mds-color-theme-avatar-hover);
@@ -1355,7 +1355,7 @@
1355
1355
  :host::part(presence) {
1356
1356
  z-index: 2;
1357
1357
  }
1358
- `,...St()],eu=By;var xa=class extends ll(qt(re)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role=et.BUTTON,this.type=Pe.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Ft).includes(t)?`${t}`:is.SIZE.toString())}render(){return I`
1358
+ `,...St()],tu=By;var Aa=class extends ll(Kt(ie)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role=et.BUTTON,this.type=Pe.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values($t).includes(t)?`${t}`:os.SIZE.toString())}render(){return I`
1359
1359
  <div part="overlay" aria-hidden="true"></div>
1360
1360
  <mdc-avatar
1361
1361
  exportparts="content, photo, presence, loading-wrapper, loader"
@@ -1367,7 +1367,7 @@
1367
1367
  size="${rt(this.size)}"
1368
1368
  src="${rt(this.src)}"
1369
1369
  ></mdc-avatar>
1370
- `}};xa.styles=[...eu],p([u({type:String,attribute:"aria-label"})],xa.prototype,"ariaLabel",2);var lc=xa;var ru=B.constructTagName("avatarbutton");lc.register(ru);var Uy=lc;var Dr=ri(class extends Pr{constructor(n){var o;if(super(n),n.type!==He.ATTRIBUTE||n.name!=="class"||((o=n.strings)==null?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(n){return" "+Object.keys(n).filter(o=>n[o]).join(" ")+" "}update(n,[o]){var i,a;if(this.st===void 0){this.st=new Set,n.strings!==void 0&&(this.nt=new Set(n.strings.join(" ").split(/\s/).filter(d=>d!=="")));for(let d in o)o[d]&&!((i=this.nt)!=null&&i.has(d))&&this.st.add(d);return this.render(o)}let t=n.element.classList;for(let d of this.st)d in o||(t.remove(d),this.st.delete(d));for(let d in o){let m=!!o[d];m===this.st.has(d)||(a=this.nt)!=null&&a.has(d)||(m?(t.add(d),this.st.add(d)):(t.remove(d),this.st.delete(d)))}return ve}});var iu=B.constructTagName("badge"),or={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},dl={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},cl={PRIMARY:"primary",SECONDARY:"secondary"},Aa={SUCCESS:"success",WARNING:"warning",ERROR:"error"},u1={...cl,...Aa},Pi={TYPE:or.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:cl.PRIMARY,ICON_SIZE:1};var Hy=[bt,z`
1370
+ `}};Aa.styles=[...tu],p([u({type:String,attribute:"aria-label"})],Aa.prototype,"ariaLabel",2);var ld=Aa;var eu=B.constructTagName("avatarbutton");ld.register(eu);var Uy=ld;var Pr=ii(class extends Or{constructor(n){var o;if(super(n),n.type!==He.ATTRIBUTE||n.name!=="class"||((o=n.strings)==null?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(n){return" "+Object.keys(n).filter(o=>n[o]).join(" ")+" "}update(n,[o]){var i,a;if(this.st===void 0){this.st=new Set,n.strings!==void 0&&(this.nt=new Set(n.strings.join(" ").split(/\s/).filter(c=>c!=="")));for(let c in o)o[c]&&!((i=this.nt)!=null&&i.has(c))&&this.st.add(c);return this.render(o)}let t=n.element.classList;for(let c of this.st)c in o||(t.remove(c),this.st.delete(c));for(let c in o){let m=!!o[c];m===this.st.has(c)||(a=this.nt)!=null&&a.has(c)||(m?(t.add(c),this.st.add(c)):(t.remove(c),this.st.delete(c)))}return ve}});var ru=B.constructTagName("badge"),or={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},cl={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},dl={PRIMARY:"primary",SECONDARY:"secondary"},Sa={SUCCESS:"success",WARNING:"warning",ERROR:"error"},u1={...dl,...Sa},Di={TYPE:or.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:dl.PRIMARY,ICON_SIZE:1};var Hy=[bt,V`
1371
1371
  :host {
1372
1372
  --mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
1373
1373
  --mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
@@ -1443,21 +1443,21 @@
1443
1443
  outline: none;
1444
1444
  }
1445
1445
  }
1446
- `],ou=Hy;var $r=class extends qt(q){constructor(){super(...arguments);this.variant=Pi.VARIANT;this.maxCounter=Pi.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(t,i){return i===void 0||typeof i!="number"||t===0?"":i>t?`${t}+`:t>Pi.MAX_COUNTER_LIMIT||i>Pi.MAX_COUNTER_LIMIT?`${Pi.MAX_COUNTER_LIMIT}+`:i.toString()}getBadgeIcon(t,i){return I`
1446
+ `],iu=Hy;var Dr=class extends Kt(K){constructor(){super(...arguments);this.variant=Di.VARIANT;this.maxCounter=Di.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(t,i){return i===void 0||typeof i!="number"||t===0?"":i>t?`${t}+`:t>Di.MAX_COUNTER_LIMIT||i>Di.MAX_COUNTER_LIMIT?`${Di.MAX_COUNTER_LIMIT}+`:i.toString()}getBadgeIcon(t,i){return I`
1447
1447
  <mdc-icon
1448
- class="mdc-badge-icon ${Dr({"mdc-badge-overlay":this.overlay,[`mdc-badge-icon__${i}`]:!0})}"
1448
+ class="mdc-badge-icon ${Pr({"mdc-badge-overlay":this.overlay,[`mdc-badge-icon__${i}`]:!0})}"
1449
1449
  name="${rt(t)}"
1450
- size="${Pi.ICON_SIZE}"
1450
+ size="${Di.ICON_SIZE}"
1451
1451
  ></mdc-icon>
1452
- `}getBadgeDot(){return I`<div class="mdc-badge-dot ${Dr({"mdc-badge-overlay":this.overlay})}"></div>`}getBadgeCounterText(){return I`
1452
+ `}getBadgeDot(){return I`<div class="mdc-badge-dot ${Pr({"mdc-badge-overlay":this.overlay})}"></div>`}getBadgeCounterText(){return I`
1453
1453
  <mdc-text
1454
1454
  type="${st.BODY_SMALL_MEDIUM}"
1455
1455
  tagname="${mt.DIV}"
1456
- class="mdc-badge-text ${Dr({"mdc-badge-overlay":this.overlay})}"
1456
+ class="mdc-badge-text ${Pr({"mdc-badge-overlay":this.overlay})}"
1457
1457
  >
1458
1458
  ${this.getCounterText(this.maxCounter,this.counter)}
1459
1459
  </mdc-text>
1460
- `}setRoleByAriaLabel(){this.ariaLabel?this.role=et.IMG:this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(cl).includes(this.variant)&&(this.variant=Pi.VARIANT);let{iconName:t,type:i,variant:a}=this;switch(i){case or.ICON:return this.getBadgeIcon(t||"",a);case or.COUNTER:return this.getBadgeCounterText();case or.SUCCESS:return this.getBadgeIcon(dl.SUCCESS_ICON_NAME,Aa.SUCCESS);case or.WARNING:return this.getBadgeIcon(dl.WARNING_ICON_NAME,Aa.WARNING);case or.ERROR:return this.getBadgeIcon(dl.ERROR_ICON_NAME,Aa.ERROR);case or.DOT:default:return this.type=or.DOT,this.getBadgeDot()}}update(t){super.update(t),t.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};$r.styles=[...q.styles,...ou],p([u({type:String,reflect:!0})],$r.prototype,"type",2),p([u({type:String,reflect:!0})],$r.prototype,"variant",2),p([u({type:Number})],$r.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],$r.prototype,"maxCounter",2),p([u({type:Boolean})],$r.prototype,"overlay",2),p([u({type:String,attribute:"aria-label"})],$r.prototype,"ariaLabel",2);var dc=$r;dc.register(iu);var Gy=dc;var Yy=z`
1460
+ `}setRoleByAriaLabel(){this.ariaLabel?this.role=et.IMG:this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(dl).includes(this.variant)&&(this.variant=Di.VARIANT);let{iconName:t,type:i,variant:a}=this;switch(i){case or.ICON:return this.getBadgeIcon(t||"",a);case or.COUNTER:return this.getBadgeCounterText();case or.SUCCESS:return this.getBadgeIcon(cl.SUCCESS_ICON_NAME,Sa.SUCCESS);case or.WARNING:return this.getBadgeIcon(cl.WARNING_ICON_NAME,Sa.WARNING);case or.ERROR:return this.getBadgeIcon(cl.ERROR_ICON_NAME,Sa.ERROR);case or.DOT:default:return this.type=or.DOT,this.getBadgeDot()}}update(t){super.update(t),t.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};Dr.styles=[...K.styles,...iu],p([u({type:String,reflect:!0})],Dr.prototype,"type",2),p([u({type:String,reflect:!0})],Dr.prototype,"variant",2),p([u({type:Number})],Dr.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],Dr.prototype,"maxCounter",2),p([u({type:Boolean})],Dr.prototype,"overlay",2),p([u({type:String,attribute:"aria-label"})],Dr.prototype,"ariaLabel",2);var cd=Dr;cd.register(ru);var Gy=cd;var Yy=V`
1461
1461
  :host {
1462
1462
  display: block;
1463
1463
  height: 100%;
@@ -1471,7 +1471,7 @@
1471
1471
  width: 100%;
1472
1472
  object-fit: contain;
1473
1473
  }
1474
- `,su=[Yy];var mo=class extends q{async getBrandVisualData(){if(this.name)return import(`@momentum-design/brand-visuals/dist/ts/${this.name}.ts`).then(t=>{this.handleBrandVisualLoadedSuccess(t.default())}).catch(t=>{this.handleBrandVisualLoadedFailure(t)});let o=new Error("No brandvisual name provided.");return this.handleBrandVisualLoadedFailure(o),Promise.reject(o)}updated(o){super.updated(o),o.has("name")&&this.getBrandVisualData().catch(t=>{this.onerror&&this.onerror(t)}),o.has("altText")&&this.brandVisualData&&(this.brandVisualData=this.injectHtmlAttributes(this.brandVisualData,{alt:this.altText}))}injectTemplateAttributes(o,t,i){let m=new DOMParser().parseFromString(o.strings[0],"text/html").querySelector(t);return m&&Object.entries(i).forEach(([b,C])=>{m.setAttribute(b,C)}),m||o}injectHtmlAttributes(o,t){return Object.entries(t).forEach(([i,a])=>{o.setAttribute(i,a)}),o}handleBrandVisualLoadedSuccess(o){this.brandVisualData=this.injectTemplateAttributes(o,"img",{alt:this.altText});let t=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(t)}handleBrandVisualLoadedFailure(o){let t=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:o}});this.dispatchEvent(t)}render(){return I` ${this.brandVisualData} `}};mo.styles=[...q.styles,...su],p([gt()],mo.prototype,"brandVisualData",2),p([u({type:String,reflect:!0})],mo.prototype,"name",2),p([u({type:String,reflect:!0})],mo.prototype,"altText",2);var cc=mo;var au=B.constructTagName("brandvisual");cc.register(au);var Wy=cc;var jy=z`
1474
+ `,ou=[Yy];var uo=class extends K{async getBrandVisualData(){if(this.name)return import(`@momentum-design/brand-visuals/dist/ts/${this.name}.ts`).then(t=>{this.handleBrandVisualLoadedSuccess(t.default())}).catch(t=>{this.handleBrandVisualLoadedFailure(t)});let o=new Error("No brandvisual name provided.");return this.handleBrandVisualLoadedFailure(o),Promise.reject(o)}updated(o){super.updated(o),o.has("name")&&this.getBrandVisualData().catch(t=>{this.onerror&&this.onerror(t)}),o.has("altText")&&this.brandVisualData&&(this.brandVisualData=this.injectHtmlAttributes(this.brandVisualData,{alt:this.altText}))}injectTemplateAttributes(o,t,i){let m=new DOMParser().parseFromString(o.strings[0],"text/html").querySelector(t);return m&&Object.entries(i).forEach(([b,C])=>{m.setAttribute(b,C)}),m||o}injectHtmlAttributes(o,t){return Object.entries(t).forEach(([i,a])=>{o.setAttribute(i,a)}),o}handleBrandVisualLoadedSuccess(o){this.brandVisualData=this.injectTemplateAttributes(o,"img",{alt:this.altText});let t=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(t)}handleBrandVisualLoadedFailure(o){let t=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:o}});this.dispatchEvent(t)}render(){return I` ${this.brandVisualData} `}};uo.styles=[...K.styles,...ou],p([gt()],uo.prototype,"brandVisualData",2),p([u({type:String,reflect:!0})],uo.prototype,"name",2),p([u({type:String,reflect:!0})],uo.prototype,"altText",2);var dd=uo;var su=B.constructTagName("brandvisual");dd.register(su);var Wy=dd;var jy=V`
1475
1475
  :host {
1476
1476
  --mdc-bullet-background-color: var(--mds-color-theme-outline-secondary-normal);
1477
1477
  --mdc-bullet-size-small: 0.25rem;
@@ -1492,7 +1492,7 @@
1492
1492
  :host([size='large']) {
1493
1493
  height: var(--mdc-bullet-size-large);
1494
1494
  }
1495
- `,nu=[jy];var lu=B.constructTagName("bullet"),du={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var Sa=class extends q{constructor(){super(...arguments);this.size=du.SMALL}};Sa.styles=[...q.styles,...nu],p([u({type:String,reflect:!0})],Sa.prototype,"size",2);var hc=Sa;hc.register(lu);var qy=hc;var cu=B.constructTagName("buttongroup"),Ky={40:40,32:32,28:28,24:24},Xy={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Zy={PRIMARY:"primary",SECONDARY:"secondary"},hl={SIZE:Ky[28],VARIANT:Zy.PRIMARY,ORIENTATION:Xy.HORIZONTAL};var Qy=z`
1495
+ `,au=[jy];var nu=B.constructTagName("bullet"),lu={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var _a=class extends K{constructor(){super(...arguments);this.size=lu.SMALL}};_a.styles=[...K.styles,...au],p([u({type:String,reflect:!0})],_a.prototype,"size",2);var hd=_a;hd.register(nu);var Ky=hd;var cu=B.constructTagName("buttongroup"),qy={40:40,32:32,28:28,24:24},Xy={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Zy={PRIMARY:"primary",SECONDARY:"secondary"},hl={SIZE:qy[28],VARIANT:Zy.PRIMARY,ORIENTATION:Xy.HORIZONTAL};var Qy=V`
1496
1496
  :host {
1497
1497
  --mdc-buttongroup-border-radius: 1.25rem;
1498
1498
  --mdc-buttongroup-border-color: var(--mds-color-theme-outline-button-normal);
@@ -1592,7 +1592,7 @@
1592
1592
  :host([compact][orientation='horizontal'][size='40']) ::slotted(mdc-button) {
1593
1593
  width: 2.5rem;
1594
1594
  }
1595
- `,hu=[bt,Qy];var oi=class extends q{constructor(){super(...arguments);this.orientation=hl.ORIENTATION;this.variant=hl.VARIANT;this.size=hl.SIZE;this.compact=!1}handleSlotChange(){this.buttons.forEach(t=>{t.setAttribute("size",this.size.toString()),t.setAttribute("variant",this.variant)})}updated(t){super.updated(t),(t.has("size")||t.has("variant"))&&this.handleSlotChange()}render(){return I`<div part="container"><slot @slotchange=${this.handleSlotChange}></slot></div>`}};oi.styles=[...q.styles,...hu],p([u({type:String,reflect:!0})],oi.prototype,"orientation",2),p([u({type:String,reflect:!0})],oi.prototype,"variant",2),p([u({type:Number,reflect:!0})],oi.prototype,"size",2),p([u({type:Boolean,reflect:!0})],oi.prototype,"compact",2),p([Rt({selector:"mdc-button"})],oi.prototype,"buttons",2);var pc=oi;pc.register(cu);var Jy=pc;var Ut=n=>{class o extends n{constructor(){super(...arguments);this.dataAriaLabel=null}}return p([u({type:String,reflect:!0,attribute:"data-aria-label"})],o.prototype,"dataAriaLabel",2),o};var pu=B.constructTagName("linksimple"),ss={INLINE:!1,INVERTED:!1};var tE=[bt,z`
1595
+ `,du=[bt,Qy];var si=class extends K{constructor(){super(...arguments);this.orientation=hl.ORIENTATION;this.variant=hl.VARIANT;this.size=hl.SIZE;this.compact=!1}handleSlotChange(){this.buttons.forEach(t=>{t.setAttribute("size",this.size.toString()),t.setAttribute("variant",this.variant)})}updated(t){super.updated(t),(t.has("size")||t.has("variant"))&&this.handleSlotChange()}render(){return I`<div part="container"><slot @slotchange=${this.handleSlotChange}></slot></div>`}};si.styles=[...K.styles,...du],p([u({type:String,reflect:!0})],si.prototype,"orientation",2),p([u({type:String,reflect:!0})],si.prototype,"variant",2),p([u({type:Number,reflect:!0})],si.prototype,"size",2),p([u({type:Boolean,reflect:!0})],si.prototype,"compact",2),p([Ot({selector:"mdc-button"})],si.prototype,"buttons",2);var pd=si;pd.register(cu);var Jy=pd;var Ut=n=>{class o extends n{constructor(){super(...arguments);this.dataAriaLabel=null}}return p([u({type:String,reflect:!0,attribute:"data-aria-label"})],o.prototype,"dataAriaLabel",2),o};var hu=B.constructTagName("linksimple"),as={INLINE:!1,INVERTED:!1};var tE=[bt,V`
1596
1596
  :host {
1597
1597
  --mdc-link-border-radius: 0.25rem;
1598
1598
  --mdc-link-color-active: var(--mds-color-theme-text-accent-active);
@@ -1671,7 +1671,7 @@
1671
1671
  :host([inline])::part(anchor) {
1672
1672
  text-decoration: var(--mds-font-apps-body-large-regular-underline-text-decoration);
1673
1673
  }
1674
- `,...St(!0)],mu=tE;var De=class extends Ut(Vt(q)){constructor(){super(...arguments);this.inline=ss.INLINE;this.inverted=ss.INVERTED;this.target="_self"}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleNavigation.bind(this)),this.addEventListener("keydown",this.handleNavigation.bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleNavigation.bind(this)),this.removeEventListener("keydown",this.handleNavigation.bind(this))}handleNavigation(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}setDisabled(t){t?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}update(t){super.update(t),t.has("disabled")&&this.setDisabled(this.disabled)}renderAnchorContent(){return I`<slot></slot>`}render(){var t;return I`
1674
+ `,...St(!0)],pu=tE;var De=class extends Ut(zt(K)){constructor(){super(...arguments);this.inline=as.INLINE;this.inverted=as.INVERTED;this.target="_self"}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleNavigation.bind(this)),this.addEventListener("keydown",this.handleNavigation.bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleNavigation.bind(this)),this.removeEventListener("keydown",this.handleNavigation.bind(this))}handleNavigation(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}setDisabled(t){t?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}update(t){super.update(t),t.has("disabled")&&this.setDisabled(this.disabled)}renderAnchorContent(){return I`<slot></slot>`}render(){var t;return I`
1675
1675
  <a
1676
1676
  class="mdc-focus-ring"
1677
1677
  part="anchor"
@@ -1688,7 +1688,7 @@
1688
1688
  >
1689
1689
  ${this.renderAnchorContent()}
1690
1690
  </a>
1691
- `}};De.styles=[...q.styles,...mu],p([u({type:Boolean,reflect:!0})],De.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],De.prototype,"inverted",2),p([u({type:String,reflect:!0})],De.prototype,"href",2),p([u({type:String,reflect:!0})],De.prototype,"target",2),p([u({type:String,reflect:!0})],De.prototype,"rel",2),p([u({type:String,reflect:!0})],De.prototype,"download",2),p([u({type:String,reflect:!0})],De.prototype,"ping",2),p([u({type:String,reflect:!0})],De.prototype,"hreflang",2),p([u({type:String,reflect:!0})],De.prototype,"type",2),p([u({type:String,reflect:!0})],De.prototype,"referrerpolicy",2);var Fr=De;var eE=z`
1691
+ `}};De.styles=[...K.styles,...pu],p([u({type:Boolean,reflect:!0})],De.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],De.prototype,"inverted",2),p([u({type:String,reflect:!0})],De.prototype,"href",2),p([u({type:String,reflect:!0})],De.prototype,"target",2),p([u({type:String,reflect:!0})],De.prototype,"rel",2),p([u({type:String,reflect:!0})],De.prototype,"download",2),p([u({type:String,reflect:!0})],De.prototype,"ping",2),p([u({type:String,reflect:!0})],De.prototype,"hreflang",2),p([u({type:String,reflect:!0})],De.prototype,"type",2),p([u({type:String,reflect:!0})],De.prototype,"referrerpolicy",2);var Fr=De;var eE=V`
1692
1692
  :host {
1693
1693
  border: unset;
1694
1694
  }
@@ -1742,33 +1742,33 @@
1742
1742
  :host([variant='secondary'][soft-disabled])::part(anchor) {
1743
1743
  border-color: var(--mdc-button-secondary-disabled-border-color);
1744
1744
  }
1745
- `,uu=[eE,...St(!0)];var as=class extends Un(Fr){constructor(){super(...arguments);this.size=Pe.SIZE}setSoftDisabled(t,i){i?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}update(t){super.update(t),t.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&this.inferButtonType()}renderAnchorContent(){return I`
1745
+ `,mu=[eE,...St(!0)];var ns=class extends Un(Fr){constructor(){super(...arguments);this.size=Pe.SIZE}setSoftDisabled(t,i){i?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}update(t){super.update(t),t.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&this.inferButtonType()}renderAnchorContent(){return I`
1746
1746
  ${this.prefixIcon?I`<mdc-icon name="${this.prefixIcon}" part="prefix-icon" length-unit="rem"></mdc-icon>`:""}
1747
1747
  <slot @slotchange="${this.inferButtonType}" part="button-text"></slot>
1748
1748
  ${this.postfixIcon?I`<mdc-icon name="${this.postfixIcon}" part="postfix-icon" length-unit="rem"></mdc-icon>`:""}
1749
- `}};as.styles=[...co.styles,...uu],p([u({type:Number,reflect:!0})],as.prototype,"size",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],as.prototype,"softDisabled",2);var mc=as;var fu=B.constructTagName("buttonlink");mc.register(fu);var rE=mc;var pl=B.constructTagName("link"),ml={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},ul={LARGE:1,MIDSIZE:.875,SMALL:.75},vu={LINK_SIZE:ml.LARGE};var gu=B.constructTagName("card"),uc={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},iE={HORIZONTAL:"horizontal",VERTICAL:"vertical"},ie={VARIANT:uc.BORDER,ORIENTATION:iE.VERTICAL,TITLE_TYPE:st.HEADING_SMALL_BOLD,SUBTITLE_TYPE:st.BODY_MIDSIZE_MEDIUM,TAGNAME:mt.SPAN,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem",LINK:pl,BUTTON:Qr};var fl=n=>{class o extends n{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=ie.VARIANT;this.orientation=ie.ORIENTATION;this.titleTagName=ie.TAGNAME;this.subtitleTagName=ie.TAGNAME}renderImage(){return this.imageSrc?I`<div part="image-wrapper"><img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" /></div>`:j}renderIcon(){return this.iconName?I`<mdc-icon
1749
+ `}};ns.styles=[...ho.styles,...mu],p([u({type:Number,reflect:!0})],ns.prototype,"size",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],ns.prototype,"softDisabled",2);var md=ns;var uu=B.constructTagName("buttonlink");md.register(uu);var rE=md;var pl=B.constructTagName("link"),ml={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},ul={LARGE:1,MIDSIZE:.875,SMALL:.75},fu={LINK_SIZE:ml.LARGE};var vu=B.constructTagName("card"),ud={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},iE={HORIZONTAL:"horizontal",VERTICAL:"vertical"},oe={VARIANT:ud.BORDER,ORIENTATION:iE.VERTICAL,TITLE_TYPE:st.HEADING_SMALL_BOLD,SUBTITLE_TYPE:st.BODY_MIDSIZE_MEDIUM,TAGNAME:mt.SPAN,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem",LINK:pl,BUTTON:Jr};var fl=n=>{class o extends n{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=oe.VARIANT;this.orientation=oe.ORIENTATION;this.titleTagName=oe.TAGNAME;this.subtitleTagName=oe.TAGNAME}renderImage(){return this.imageSrc?I`<div part="image-wrapper"><img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" /></div>`:j}renderIcon(){return this.iconName?I`<mdc-icon
1750
1750
  part="icon"
1751
- size="${ie.ICON_SIZE}"
1752
- length-unit="${ie.ICON_LENGTH_UNIT}"
1751
+ size="${oe.ICON_SIZE}"
1752
+ length-unit="${oe.ICON_LENGTH_UNIT}"
1753
1753
  name="${this.iconName}"
1754
1754
  ></mdc-icon>`:j}renderTitle(){return I`<div part="title-container">
1755
- <mdc-text part="title" type="${ie.TITLE_TYPE}" tagname="${this.titleTagName}">${this.cardTitle}</mdc-text>
1756
- ${this.subtitle?I`<mdc-text part="subtitle" type="${ie.SUBTITLE_TYPE}" tagname="${this.subtitleTagName}"
1755
+ <mdc-text part="title" type="${oe.TITLE_TYPE}" tagname="${this.titleTagName}">${this.cardTitle}</mdc-text>
1756
+ ${this.subtitle?I`<mdc-text part="subtitle" type="${oe.SUBTITLE_TYPE}" tagname="${this.subtitleTagName}"
1757
1757
  >${this.subtitle}</mdc-text
1758
1758
  >`:j}
1759
- </div>`}}return p([u({type:String,attribute:"card-title",reflect:!0})],o.prototype,"cardTitle",2),p([u({type:String,reflect:!0})],o.prototype,"subtitle",2),p([u({type:String,attribute:"image-src",reflect:!0})],o.prototype,"imageSrc",2),p([u({type:String,attribute:"image-alt",reflect:!0})],o.prototype,"imageAlt",2),p([u({type:String,reflect:!0})],o.prototype,"variant",2),p([u({type:String,reflect:!0})],o.prototype,"orientation",2),p([u({type:String,attribute:"title-tag-name",reflect:!0})],o.prototype,"titleTagName",2),p([u({type:String,attribute:"subtitle-tag-name",reflect:!0})],o.prototype,"subtitleTagName",2),p([u({type:String,attribute:"icon-name",reflect:!0})],o.prototype,"iconName",2),o};var ns=n=>{class o extends n{updateFooterButtonColors(i){let a=[...this.footerButtonPrimary||[],...this.footerButtonSecondary||[]];a==null||a.forEach(d=>{i===uc.PROMOTIONAL?d.setAttribute("color",no.PROMOTIONAL):d.setAttribute("color",no.DEFAULT)})}handleFooterSlot(i,a){var m,b,C;let d=[];i===ie.LINK&&((m=this.footerLink)!=null&&m.length)?d=this.footerLink:i===ie.BUTTON&&a===Dt.PRIMARY&&((b=this.footerButtonPrimary)!=null&&b.length)?d=this.footerButtonPrimary:i===ie.BUTTON&&a===Dt.SECONDARY&&((C=this.footerButtonSecondary)!=null&&C.length)&&(d=this.footerButtonSecondary);for(let M=1;M<d.length;M+=1)d[M].remove();d.forEach(M=>{M.matches(i)||M.remove(),a&&M.setAttribute("variant",a)})}renderFooter(){return I` <slot name="footer">
1759
+ </div>`}}return p([u({type:String,attribute:"card-title",reflect:!0})],o.prototype,"cardTitle",2),p([u({type:String,reflect:!0})],o.prototype,"subtitle",2),p([u({type:String,attribute:"image-src",reflect:!0})],o.prototype,"imageSrc",2),p([u({type:String,attribute:"image-alt",reflect:!0})],o.prototype,"imageAlt",2),p([u({type:String,reflect:!0})],o.prototype,"variant",2),p([u({type:String,reflect:!0})],o.prototype,"orientation",2),p([u({type:String,attribute:"title-tag-name",reflect:!0})],o.prototype,"titleTagName",2),p([u({type:String,attribute:"subtitle-tag-name",reflect:!0})],o.prototype,"subtitleTagName",2),p([u({type:String,attribute:"icon-name",reflect:!0})],o.prototype,"iconName",2),o};var ls=n=>{class o extends n{updateFooterButtonColors(i){let a=[...this.footerButtonPrimary||[],...this.footerButtonSecondary||[]];a==null||a.forEach(c=>{i===ud.PROMOTIONAL?c.setAttribute("color",lo.PROMOTIONAL):c.setAttribute("color",lo.DEFAULT)})}handleFooterSlot(i,a){var m,b,C;let c=[];i===oe.LINK&&((m=this.footerLink)!=null&&m.length)?c=this.footerLink:i===oe.BUTTON&&a===Dt.PRIMARY&&((b=this.footerButtonPrimary)!=null&&b.length)?c=this.footerButtonPrimary:i===oe.BUTTON&&a===Dt.SECONDARY&&((C=this.footerButtonSecondary)!=null&&C.length)&&(c=this.footerButtonSecondary);for(let L=1;L<c.length;L+=1)c[L].remove();c.forEach(L=>{L.matches(i)||L.remove(),a&&L.setAttribute("variant",a)})}renderFooter(){return I` <slot name="footer">
1760
1760
  <div part="footer">
1761
- <slot name="footer-link" @slotchange=${()=>this.handleFooterSlot(ie.LINK)}></slot>
1761
+ <slot name="footer-link" @slotchange=${()=>this.handleFooterSlot(oe.LINK)}></slot>
1762
1762
  <slot
1763
1763
  name="footer-button-secondary"
1764
- @slotchange=${()=>this.handleFooterSlot(ie.BUTTON,Dt.SECONDARY)}
1764
+ @slotchange=${()=>this.handleFooterSlot(oe.BUTTON,Dt.SECONDARY)}
1765
1765
  ></slot>
1766
1766
  <slot
1767
1767
  name="footer-button-primary"
1768
- @slotchange=${()=>this.handleFooterSlot(ie.BUTTON,Dt.PRIMARY)}
1768
+ @slotchange=${()=>this.handleFooterSlot(oe.BUTTON,Dt.PRIMARY)}
1769
1769
  ></slot>
1770
1770
  </div>
1771
- </slot>`}}return p([Rt({slot:"footer-link"})],o.prototype,"footerLink",2),p([Rt({slot:"footer-button-primary"})],o.prototype,"footerButtonPrimary",2),p([Rt({slot:"footer-button-secondary"})],o.prototype,"footerButtonSecondary",2),o};var oE=z`
1771
+ </slot>`}}return p([Ot({slot:"footer-link"})],o.prototype,"footerLink",2),p([Ot({slot:"footer-button-primary"})],o.prototype,"footerButtonPrimary",2),p([Ot({slot:"footer-button-secondary"})],o.prototype,"footerButtonSecondary",2),o};var oE=V`
1772
1772
  :host {
1773
1773
  --mdc-card-width: 20rem;
1774
1774
  align-items: stretch;
@@ -1877,7 +1877,7 @@
1877
1877
  mdc-text::part(text) {
1878
1878
  margin: 0;
1879
1879
  }
1880
- `,bu=[bt,oE];var _a=class extends fl(ns(q)){constructor(){super(...arguments);this.handleIconButtons=()=>{var t;(t=this.iconButtons)==null||t.forEach(i=>{i.matches(ie.BUTTON)&&(i.setAttribute("variant",Dt.TERTIARY),i.setAttribute("size","32"))})}}update(t){super.update(t),t.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?I`<div part="header">
1880
+ `,gu=[bt,oE];var Ia=class extends fl(ls(K)){constructor(){super(...arguments);this.handleIconButtons=()=>{var t;(t=this.iconButtons)==null||t.forEach(i=>{i.matches(oe.BUTTON)&&(i.setAttribute("variant",Dt.TERTIARY),i.setAttribute("size","32"))})}}update(t){super.update(t),t.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?I`<div part="header">
1881
1881
  ${this.renderIcon()} ${this.renderTitle()}
1882
1882
  <div part="icon-button"><slot name="icon-button" @slotchange=${this.handleIconButtons}></slot></div>
1883
1883
  </div>`:j}render(){return I`
@@ -1891,7 +1891,7 @@
1891
1891
  </div>
1892
1892
  ${this.renderFooter()}
1893
1893
  </div>
1894
- `}};_a.styles=[...q.styles,...bu],p([Rt({slot:"icon-button"})],_a.prototype,"iconButtons",2);var yr=_a;yr.register(gu);var sE=yr;var aE=z`
1894
+ `}};Ia.styles=[...K.styles,...gu],p([Ot({slot:"icon-button"})],Ia.prototype,"iconButtons",2);var br=Ia;br.register(vu);var sE=br;var aE=V`
1895
1895
  :host {
1896
1896
  cursor: pointer;
1897
1897
  user-select: none;
@@ -1913,7 +1913,7 @@
1913
1913
  :host([disabled])::part(image) {
1914
1914
  opacity: 0.5;
1915
1915
  }
1916
- `,yu=[aE,...St()];var vl=class extends fl(re){connectedCallback(){super.connectedCallback(),this.active=void 0,this.size=void 0}renderHeader(){return this.cardTitle?I`<div part="header">${this.renderIcon()} ${this.renderTitle()}</div>`:j}render(){return I`
1916
+ `,bu=[aE,...St()];var vl=class extends fl(ie){connectedCallback(){super.connectedCallback(),this.active=void 0,this.size=void 0}renderHeader(){return this.cardTitle?I`<div part="header">${this.renderIcon()} ${this.renderTitle()}</div>`:j}render(){return I`
1917
1917
  ${this.renderImage()}
1918
1918
  <div part="body">
1919
1919
  ${this.renderHeader()}
@@ -1921,7 +1921,7 @@
1921
1921
  <slot name="body"></slot>
1922
1922
  <slot name="after-body"></slot>
1923
1923
  </div>
1924
- `}};vl.styles=[...yr.styles,...yu];var fc=vl;var Eu=B.constructTagName("cardbutton");fc.register(Eu);var nE=fc;var Tu=B.constructTagName("cardcheckbox"),vc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},gl={CHECK:"check",CHECKBOX:"checkbox"},bl={SELECTION_TYPE:gl.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var lE=z`
1924
+ `}};vl.styles=[...br.styles,...bu];var fd=vl;var yu=B.constructTagName("cardbutton");fd.register(yu);var nE=fd;var Eu=B.constructTagName("cardcheckbox"),vd={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},gl={CHECK:"check",CHECKBOX:"checkbox"},bl={SELECTION_TYPE:gl.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var lE=V`
1925
1925
  :host {
1926
1926
  cursor: pointer;
1927
1927
  user-select: none;
@@ -1978,7 +1978,7 @@
1978
1978
  :host([disabled])::part(check-icon) {
1979
1979
  color: var(--mds-color-theme-text-primary-disabled);
1980
1980
  }
1981
- `,xu=[lE,...St()];var ls=class extends Vt(Rr(yr)){constructor(){super();this.checked=!1;this.selectionType=bl.SELECTION_TYPE;this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.CHECKBOX}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&(this.setAttribute("aria-disabled",`${this.disabled}`),this.tabIndex=this.disabled?-1:0)}toggleChecked(){this.disabled||(this.checked=!this.checked),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}toggleOnEnter(t){t.key===Z.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Z.SPACE&&this.toggleChecked()}renderSelection(){let t=this.checked?vc.CHECKED:vc.DEFAULT;switch(this.selectionType){case gl.CHECK:return I`<mdc-icon
1981
+ `,Tu=[lE,...St()];var cs=class extends zt(Lr(br)){constructor(){super();this.checked=!1;this.selectionType=bl.SELECTION_TYPE;this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.CHECKBOX}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&(this.setAttribute("aria-disabled",`${this.disabled}`),this.tabIndex=this.disabled?-1:0)}toggleChecked(){this.disabled||(this.checked=!this.checked),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}toggleOnEnter(t){t.key===Q.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Q.SPACE&&this.toggleChecked()}renderSelection(){let t=this.checked?vd.CHECKED:vd.DEFAULT;switch(this.selectionType){case gl.CHECK:return I`<mdc-icon
1982
1982
  part="check check-icon"
1983
1983
  size="${bl.ICON_SIZE}"
1984
1984
  length-unit="${bl.ICON_LENGTH_UNIT}"
@@ -1995,7 +1995,7 @@
1995
1995
  <slot name="body"></slot>
1996
1996
  <slot name="after-body"></slot>
1997
1997
  </div>
1998
- `}};ls.styles=[...yr.styles,...xu],p([u({type:Boolean,reflect:!0})],ls.prototype,"checked",2),p([u({type:String,attribute:"selection-type",reflect:!0})],ls.prototype,"selectionType",2);var gc=ls;var dE=[z`
1998
+ `}};cs.styles=[...br.styles,...Tu],p([u({type:Boolean,reflect:!0})],cs.prototype,"checked",2),p([u({type:String,attribute:"selection-type",reflect:!0})],cs.prototype,"selectionType",2);var gd=cs;var cE=[V`
1999
1999
  :host {
2000
2000
  margin: 0.125rem 0;
2001
2001
  border-radius: 0.125rem;
@@ -2051,7 +2051,7 @@
2051
2051
  border: 0.0625rem solid var(--mdc-staticcheckbox-border-color);
2052
2052
  }
2053
2053
  }
2054
- `],Au=dE;var Su=B.constructTagName("checkbox"),yl={CHECKED:"check-bold",INDETERMINATE:"minus-bold"};var _u=B.constructTagName("staticcheckbox");var ds=class extends Vt(q){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1}render(){let t=this.checked||this.indeterminate?I`
2054
+ `],xu=cE;var Au=B.constructTagName("checkbox"),yl={CHECKED:"check-bold",INDETERMINATE:"minus-bold"};var Su=B.constructTagName("staticcheckbox");var ds=class extends zt(K){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1}render(){let t=this.checked||this.indeterminate?I`
2055
2055
  <mdc-icon
2056
2056
  class="icon"
2057
2057
  name="${this.indeterminate?yl.INDETERMINATE:yl.CHECKED}"
@@ -2059,7 +2059,7 @@
2059
2059
  length-unit="rem"
2060
2060
  ></mdc-icon>
2061
2061
  `:j;return I`<slot></slot>
2062
- <div part="icon-container">${t}</div>`}};ds.styles=[...q.styles,...Au],p([u({type:Boolean,reflect:!0})],ds.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],ds.prototype,"indeterminate",2);var bc=ds;bc.register(_u);var cE=bc;gc.register(Tu);var hE=gc;var pE=z`
2062
+ <div part="icon-container">${t}</div>`}};ds.styles=[...K.styles,...xu],p([u({type:Boolean,reflect:!0})],ds.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],ds.prototype,"indeterminate",2);var bd=ds;bd.register(Su);var dE=bd;gd.register(Eu);var hE=gd;var pE=V`
2063
2063
  :host {
2064
2064
  cursor: pointer;
2065
2065
  user-select: none;
@@ -2112,7 +2112,7 @@
2112
2112
  :host([disabled])::part(image) {
2113
2113
  opacity: 0.5;
2114
2114
  }
2115
- `,Iu=[pE,...St()];var cs=class extends Vt(Rr(yr)){constructor(){super();this.checked=!1;this.name="";this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled||this.checked)return;this.getAllCardsWithinSameGroup().forEach(i=>{i.checked=!1}),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}setDisabled(t){this.setAttribute("aria-disabled",`${t}`),this.tabIndex=t?-1:0}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&this.setDisabled(this.disabled)}updateCardRadio(t,i){t[i].focus(),t[i].toggleChecked()}toggleOnEnter(t){if(this.disabled)return;let a=this.getAllCardsWithinSameGroup().filter(m=>!m.disabled),d=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let m=(d+1)%a.length;this.updateCardRadio(a,m)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let m=(d-1+a.length)%a.length;this.updateCardRadio(a,m)}t.key===Z.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Z.SPACE&&this.toggleChecked()}renderHeader(){return this.cardTitle?I`<div part="header">
2115
+ `,_u=[pE,...St()];var hs=class extends zt(Lr(br)){constructor(){super();this.checked=!1;this.name="";this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled||this.checked)return;this.getAllCardsWithinSameGroup().forEach(i=>{i.checked=!1}),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}setDisabled(t){this.setAttribute("aria-disabled",`${t}`),this.tabIndex=t?-1:0}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&this.setDisabled(this.disabled)}updateCardRadio(t,i){t[i].focus(),t[i].toggleChecked()}toggleOnEnter(t){if(this.disabled)return;let a=this.getAllCardsWithinSameGroup().filter(m=>!m.disabled),c=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let m=(c+1)%a.length;this.updateCardRadio(a,m)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let m=(c-1+a.length)%a.length;this.updateCardRadio(a,m)}t.key===Q.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Q.SPACE&&this.toggleChecked()}renderHeader(){return this.cardTitle?I`<div part="header">
2116
2116
  ${this.renderIcon()} ${this.renderTitle()}
2117
2117
  <mdc-staticradio part="check" ?checked="${this.checked}" ?disabled="${this.disabled}"></mdc-staticradio>
2118
2118
  </div>`:j}render(){return I`
@@ -2123,7 +2123,7 @@
2123
2123
  <slot name="body"></slot>
2124
2124
  <slot name="after-body"></slot>
2125
2125
  </div>
2126
- `}};cs.styles=[...yr.styles,...Iu],p([u({type:Boolean,reflect:!0})],cs.prototype,"checked",2),p([u({type:String})],cs.prototype,"name",2);var yc=cs;var El=B.constructTagName("cardradio");var mE=[z`
2126
+ `}};hs.styles=[...br.styles,..._u],p([u({type:Boolean,reflect:!0})],hs.prototype,"checked",2),p([u({type:String})],hs.prototype,"name",2);var yd=hs;var El=B.constructTagName("cardradio");var mE=[V`
2127
2127
  :host {
2128
2128
  display: block;
2129
2129
  position: relative;
@@ -2206,8 +2206,8 @@
2206
2206
  :host([readonly][checked]) .icon:after {
2207
2207
  background-color: var(--mdc-staticradio-text-disabled-color);
2208
2208
  }
2209
- `],Cu=mE;var hs=class extends Vt(q){constructor(){super(...arguments);this.checked=!1;this.readonly=!1}render(){return I` <slot></slot>
2210
- <span part="radio-icon" class="icon"></span>`}};hs.styles=[...q.styles,...Cu],p([u({type:Boolean,reflect:!0})],hs.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],hs.prototype,"readonly",2);var Ec=hs;var ku=B.constructTagName("staticradio");Ec.register(ku);var uE=Ec;yc.register(El);var fE=yc;var Vr=Math.min,Ie=Math.max,Ca=Math.round,ka=Math.floor,Er=n=>({x:n,y:n}),vE={left:"right",right:"left",bottom:"top",top:"bottom"},gE={start:"end",end:"start"};function xl(n,o,t){return Ie(n,Vr(o,t))}function uo(n,o){return typeof n=="function"?n(o):n}function si(n){return n.split("-")[0]}function fo(n){return n.split("-")[1]}function Tc(n){return n==="x"?"y":"x"}function Al(n){return n==="y"?"height":"width"}var bE=new Set(["top","bottom"]);function zr(n){return bE.has(si(n))?"y":"x"}function Sl(n){return Tc(zr(n))}function Lu(n,o,t){t===void 0&&(t=!1);let i=fo(n),a=Sl(n),d=Al(a),m=a==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[d]>o.floating[d]&&(m=Ia(m)),[m,Ia(m)]}function Ru(n){let o=Ia(n);return[Tl(n),o,Tl(o)]}function Tl(n){return n.replace(/start|end/g,o=>gE[o])}var wu=["left","right"],Nu=["right","left"],yE=["top","bottom"],EE=["bottom","top"];function TE(n,o,t){switch(n){case"top":case"bottom":return t?o?Nu:wu:o?wu:Nu;case"left":case"right":return o?yE:EE;default:return[]}}function Mu(n,o,t,i){let a=fo(n),d=TE(si(n),t==="start",i);return a&&(d=d.map(m=>m+"-"+a),o&&(d=d.concat(d.map(Tl)))),d}function Ia(n){return n.replace(/left|right|bottom|top/g,o=>vE[o])}function xE(n){return{top:0,right:0,bottom:0,left:0,...n}}function xc(n){return typeof n!="number"?xE(n):{top:n,right:n,bottom:n,left:n}}function vo(n){let{x:o,y:t,width:i,height:a}=n;return{width:i,height:a,top:t,left:o,right:o+i,bottom:t+a,x:o,y:t}}function Ou(n,o,t){let{reference:i,floating:a}=n,d=zr(o),m=Sl(o),b=Al(m),C=si(o),M=d==="y",W=i.x+i.width/2-a.width/2,K=i.y+i.height/2-a.height/2,it=i[b]/2-a[b]/2,X;switch(C){case"top":X={x:W,y:i.y-a.height};break;case"bottom":X={x:W,y:i.y+i.height};break;case"right":X={x:i.x+i.width,y:K};break;case"left":X={x:i.x-a.width,y:K};break;default:X={x:i.x,y:i.y}}switch(fo(o)){case"start":X[m]-=it*(t&&M?-1:1);break;case"end":X[m]+=it*(t&&M?-1:1);break}return X}var Pu=async(n,o,t)=>{let{placement:i="bottom",strategy:a="absolute",middleware:d=[],platform:m}=t,b=d.filter(Boolean),C=await(m.isRTL==null?void 0:m.isRTL(o)),M=await m.getElementRects({reference:n,floating:o,strategy:a}),{x:W,y:K}=Ou(M,i,C),it=i,X={},tt=0;for(let lt=0;lt<b.length;lt++){let{name:dt,fn:vt}=b[lt],{x:At,y:wt,data:Wt,reset:$t}=await vt({x:W,y:K,initialPlacement:i,placement:it,strategy:a,middlewareData:X,rects:M,platform:m,elements:{reference:n,floating:o}});W=At!=null?At:W,K=wt!=null?wt:K,X={...X,[dt]:{...X[dt],...Wt}},$t&&tt<=50&&(tt++,typeof $t=="object"&&($t.placement&&(it=$t.placement),$t.rects&&(M=$t.rects===!0?await m.getElementRects({reference:n,floating:o,strategy:a}):$t.rects),{x:W,y:K}=Ou(M,it,C)),lt=-1)}return{x:W,y:K,placement:it,strategy:a,middlewareData:X}};async function _l(n,o){var t;o===void 0&&(o={});let{x:i,y:a,platform:d,rects:m,elements:b,strategy:C}=n,{boundary:M="clippingAncestors",rootBoundary:W="viewport",elementContext:K="floating",altBoundary:it=!1,padding:X=0}=uo(o,n),tt=xc(X),dt=b[it?K==="floating"?"reference":"floating":K],vt=vo(await d.getClippingRect({element:(t=await(d.isElement==null?void 0:d.isElement(dt)))==null||t?dt:dt.contextElement||await(d.getDocumentElement==null?void 0:d.getDocumentElement(b.floating)),boundary:M,rootBoundary:W,strategy:C})),At=K==="floating"?{x:i,y:a,width:m.floating.width,height:m.floating.height}:m.reference,wt=await(d.getOffsetParent==null?void 0:d.getOffsetParent(b.floating)),Wt=await(d.isElement==null?void 0:d.isElement(wt))?await(d.getScale==null?void 0:d.getScale(wt))||{x:1,y:1}:{x:1,y:1},$t=vo(d.convertOffsetParentRelativeRectToViewportRelativeRect?await d.convertOffsetParentRelativeRectToViewportRelativeRect({elements:b,rect:At,offsetParent:wt,strategy:C}):At);return{top:(vt.top-$t.top+tt.top)/Wt.y,bottom:($t.bottom-vt.bottom+tt.bottom)/Wt.y,left:(vt.left-$t.left+tt.left)/Wt.x,right:($t.right-vt.right+tt.right)/Wt.x}}var Du=n=>({name:"arrow",options:n,async fn(o){let{x:t,y:i,placement:a,rects:d,platform:m,elements:b,middlewareData:C}=o,{element:M,padding:W=0}=uo(n,o)||{};if(M==null)return{};let K=xc(W),it={x:t,y:i},X=Sl(a),tt=Al(X),lt=await m.getDimensions(M),dt=X==="y",vt=dt?"top":"left",At=dt?"bottom":"right",wt=dt?"clientHeight":"clientWidth",Wt=d.reference[tt]+d.reference[X]-it[X]-d.floating[tt],$t=it[X]-d.reference[X],Bt=await(m.getOffsetParent==null?void 0:m.getOffsetParent(M)),Xt=Bt?Bt[wt]:0;(!Xt||!await(m.isElement==null?void 0:m.isElement(Bt)))&&(Xt=b.floating[wt]||d.floating[tt]);let ne=Wt/2-$t/2,mr=Xt/2-lt[tt]/2-1,we=Vr(K[vt],mr),je=Vr(K[At],mr),ur=we,fr=Xt-lt[tt]-je,Ct=Xt/2-lt[tt]/2+ne,pe=xl(ur,Ct,fr),qe=!C.arrow&&fo(a)!=null&&Ct!==pe&&d.reference[tt]/2-(Ct<ur?we:je)-lt[tt]/2<0,Ke=qe?Ct<ur?Ct-ur:Ct-fr:0;return{[X]:it[X]+Ke,data:{[X]:pe,centerOffset:Ct-pe-Ke,...qe&&{alignmentOffset:Ke}},reset:qe}}});var $u=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(o){var t,i;let{placement:a,middlewareData:d,rects:m,initialPlacement:b,platform:C,elements:M}=o,{mainAxis:W=!0,crossAxis:K=!0,fallbackPlacements:it,fallbackStrategy:X="bestFit",fallbackAxisSideDirection:tt="none",flipAlignment:lt=!0,...dt}=uo(n,o);if((t=d.arrow)!=null&&t.alignmentOffset)return{};let vt=si(a),At=zr(b),wt=si(b)===b,Wt=await(C.isRTL==null?void 0:C.isRTL(M.floating)),$t=it||(wt||!lt?[Ia(b)]:Ru(b)),Bt=tt!=="none";!it&&Bt&&$t.push(...Mu(b,lt,tt,Wt));let Xt=[b,...$t],ne=await _l(o,dt),mr=[],we=((i=d.flip)==null?void 0:i.overflows)||[];if(W&&mr.push(ne[vt]),K){let Ct=Lu(a,m,Wt);mr.push(ne[Ct[0]],ne[Ct[1]])}if(we=[...we,{placement:a,overflows:mr}],!mr.every(Ct=>Ct<=0)){var je,ur;let Ct=(((je=d.flip)==null?void 0:je.index)||0)+1,pe=Xt[Ct];if(pe&&(!(K==="alignment"?At!==zr(pe):!1)||we.every(Xe=>Xe.overflows[0]>0&&zr(Xe.placement)===At)))return{data:{index:Ct,overflows:we},reset:{placement:pe}};let qe=(ur=we.filter(Ke=>Ke.overflows[0]<=0).sort((Ke,Xe)=>Ke.overflows[1]-Xe.overflows[1])[0])==null?void 0:ur.placement;if(!qe)switch(X){case"bestFit":{var fr;let Ke=(fr=we.filter(Xe=>{if(Bt){let Ze=zr(Xe.placement);return Ze===At||Ze==="y"}return!0}).map(Xe=>[Xe.placement,Xe.overflows.filter(Ze=>Ze>0).reduce((Ze,hn)=>Ze+hn,0)]).sort((Xe,Ze)=>Xe[1]-Ze[1])[0])==null?void 0:fr[0];Ke&&(qe=Ke);break}case"initialPlacement":qe=b;break}if(a!==qe)return{reset:{placement:qe}}}return{}}}};var AE=new Set(["left","top"]);async function SE(n,o){let{placement:t,platform:i,elements:a}=n,d=await(i.isRTL==null?void 0:i.isRTL(a.floating)),m=si(t),b=fo(t),C=zr(t)==="y",M=AE.has(m)?-1:1,W=d&&C?-1:1,K=uo(o,n),{mainAxis:it,crossAxis:X,alignmentAxis:tt}=typeof K=="number"?{mainAxis:K,crossAxis:0,alignmentAxis:null}:{mainAxis:K.mainAxis||0,crossAxis:K.crossAxis||0,alignmentAxis:K.alignmentAxis};return b&&typeof tt=="number"&&(X=b==="end"?tt*-1:tt),C?{x:X*W,y:it*M}:{x:it*M,y:X*W}}var Fu=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(o){var t,i;let{x:a,y:d,placement:m,middlewareData:b}=o,C=await SE(o,n);return m===((t=b.offset)==null?void 0:t.placement)&&(i=b.arrow)!=null&&i.alignmentOffset?{}:{x:a+C.x,y:d+C.y,data:{...C,placement:m}}}}},Vu=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(o){let{x:t,y:i,placement:a}=o,{mainAxis:d=!0,crossAxis:m=!1,limiter:b={fn:dt=>{let{x:vt,y:At}=dt;return{x:vt,y:At}}},...C}=uo(n,o),M={x:t,y:i},W=await _l(o,C),K=zr(si(a)),it=Tc(K),X=M[it],tt=M[K];if(d){let dt=it==="y"?"top":"left",vt=it==="y"?"bottom":"right",At=X+W[dt],wt=X-W[vt];X=xl(At,X,wt)}if(m){let dt=K==="y"?"top":"left",vt=K==="y"?"bottom":"right",At=tt+W[dt],wt=tt-W[vt];tt=xl(At,tt,wt)}let lt=b.fn({...o,[it]:X,[K]:tt});return{...lt,data:{x:lt.x-t,y:lt.y-i,enabled:{[it]:d,[K]:m}}}}}};var zu=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(o){var t,i;let{placement:a,rects:d,platform:m,elements:b}=o,{apply:C=()=>{},...M}=uo(n,o),W=await _l(o,M),K=si(a),it=fo(a),X=zr(a)==="y",{width:tt,height:lt}=d.floating,dt,vt;K==="top"||K==="bottom"?(dt=K,vt=it===(await(m.isRTL==null?void 0:m.isRTL(b.floating))?"start":"end")?"left":"right"):(vt=K,dt=it==="end"?"top":"bottom");let At=lt-W.top-W.bottom,wt=tt-W.left-W.right,Wt=Vr(lt-W[dt],At),$t=Vr(tt-W[vt],wt),Bt=!o.middlewareData.shift,Xt=Wt,ne=$t;if((t=o.middlewareData.shift)!=null&&t.enabled.x&&(ne=wt),(i=o.middlewareData.shift)!=null&&i.enabled.y&&(Xt=At),Bt&&!it){let we=Ie(W.left,0),je=Ie(W.right,0),ur=Ie(W.top,0),fr=Ie(W.bottom,0);X?ne=tt-2*(we!==0||je!==0?we+je:Ie(W.left,W.right)):Xt=lt-2*(ur!==0||fr!==0?ur+fr:Ie(W.top,W.bottom))}await C({...o,availableWidth:ne,availableHeight:Xt});let mr=await m.getDimensions(b.floating);return tt!==mr.width||lt!==mr.height?{reset:{rects:!0}}:{}}}};function Il(){return typeof window<"u"}function go(n){return Uu(n)?(n.nodeName||"").toLowerCase():"#document"}function $e(n){var o;return(n==null||(o=n.ownerDocument)==null?void 0:o.defaultView)||window}function Tr(n){var o;return(o=(Uu(n)?n.ownerDocument:n.document)||window.document)==null?void 0:o.documentElement}function Uu(n){return Il()?n instanceof Node||n instanceof $e(n).Node:!1}function sr(n){return Il()?n instanceof Element||n instanceof $e(n).Element:!1}function xr(n){return Il()?n instanceof HTMLElement||n instanceof $e(n).HTMLElement:!1}function Bu(n){return!Il()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof $e(n).ShadowRoot}var _E=new Set(["inline","contents"]);function ms(n){let{overflow:o,overflowX:t,overflowY:i,display:a}=ar(n);return/auto|scroll|overlay|hidden|clip/.test(o+i+t)&&!_E.has(a)}var IE=new Set(["table","td","th"]);function Hu(n){return IE.has(go(n))}var CE=[":popover-open",":modal"];function wa(n){return CE.some(o=>{try{return n.matches(o)}catch{return!1}})}var kE=["transform","translate","scale","rotate","perspective"],wE=["transform","translate","scale","rotate","perspective","filter"],NE=["paint","layout","strict","content"];function Cl(n){let o=kl(),t=sr(n)?ar(n):n;return kE.some(i=>t[i]?t[i]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!o&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!o&&(t.filter?t.filter!=="none":!1)||wE.some(i=>(t.willChange||"").includes(i))||NE.some(i=>(t.contain||"").includes(i))}function Gu(n){let o=ai(n);for(;xr(o)&&!bo(o);){if(Cl(o))return o;if(wa(o))return null;o=ai(o)}return null}function kl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var LE=new Set(["html","body","#document"]);function bo(n){return LE.has(go(n))}function ar(n){return $e(n).getComputedStyle(n)}function Na(n){return sr(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function ai(n){if(go(n)==="html")return n;let o=n.assignedSlot||n.parentNode||Bu(n)&&n.host||Tr(n);return Bu(o)?o.host:o}function Yu(n){let o=ai(n);return bo(o)?n.ownerDocument?n.ownerDocument.body:n.body:xr(o)&&ms(o)?o:Yu(o)}function ps(n,o,t){var i;o===void 0&&(o=[]),t===void 0&&(t=!0);let a=Yu(n),d=a===((i=n.ownerDocument)==null?void 0:i.body),m=$e(a);if(d){let b=wl(m);return o.concat(m,m.visualViewport||[],ms(a)?a:[],b&&t?ps(b):[])}return o.concat(a,ps(a,[],t))}function wl(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function qu(n){let o=ar(n),t=parseFloat(o.width)||0,i=parseFloat(o.height)||0,a=xr(n),d=a?n.offsetWidth:t,m=a?n.offsetHeight:i,b=Ca(t)!==d||Ca(i)!==m;return b&&(t=d,i=m),{width:t,height:i,$:b}}function Sc(n){return sr(n)?n:n.contextElement}function us(n){let o=Sc(n);if(!xr(o))return Er(1);let t=o.getBoundingClientRect(),{width:i,height:a,$:d}=qu(o),m=(d?Ca(t.width):t.width)/i,b=(d?Ca(t.height):t.height)/a;return(!m||!Number.isFinite(m))&&(m=1),(!b||!Number.isFinite(b))&&(b=1),{x:m,y:b}}var RE=Er(0);function Ku(n){let o=$e(n);return!kl()||!o.visualViewport?RE:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function ME(n,o,t){return o===void 0&&(o=!1),!t||o&&t!==$e(n)?!1:o}function yo(n,o,t,i){o===void 0&&(o=!1),t===void 0&&(t=!1);let a=n.getBoundingClientRect(),d=Sc(n),m=Er(1);o&&(i?sr(i)&&(m=us(i)):m=us(n));let b=ME(d,t,i)?Ku(d):Er(0),C=(a.left+b.x)/m.x,M=(a.top+b.y)/m.y,W=a.width/m.x,K=a.height/m.y;if(d){let it=$e(d),X=i&&sr(i)?$e(i):i,tt=it,lt=wl(tt);for(;lt&&i&&X!==tt;){let dt=us(lt),vt=lt.getBoundingClientRect(),At=ar(lt),wt=vt.left+(lt.clientLeft+parseFloat(At.paddingLeft))*dt.x,Wt=vt.top+(lt.clientTop+parseFloat(At.paddingTop))*dt.y;C*=dt.x,M*=dt.y,W*=dt.x,K*=dt.y,C+=wt,M+=Wt,tt=$e(lt),lt=wl(tt)}}return vo({width:W,height:K,x:C,y:M})}function _c(n,o){let t=Na(n).scrollLeft;return o?o.left+t:yo(Tr(n)).left+t}function Xu(n,o,t){t===void 0&&(t=!1);let i=n.getBoundingClientRect(),a=i.left+o.scrollLeft-(t?0:_c(n,i)),d=i.top+o.scrollTop;return{x:a,y:d}}function OE(n){let{elements:o,rect:t,offsetParent:i,strategy:a}=n,d=a==="fixed",m=Tr(i),b=o?wa(o.floating):!1;if(i===m||b&&d)return t;let C={scrollLeft:0,scrollTop:0},M=Er(1),W=Er(0),K=xr(i);if((K||!K&&!d)&&((go(i)!=="body"||ms(m))&&(C=Na(i)),xr(i))){let X=yo(i);M=us(i),W.x=X.x+i.clientLeft,W.y=X.y+i.clientTop}let it=m&&!K&&!d?Xu(m,C,!0):Er(0);return{width:t.width*M.x,height:t.height*M.y,x:t.x*M.x-C.scrollLeft*M.x+W.x+it.x,y:t.y*M.y-C.scrollTop*M.y+W.y+it.y}}function PE(n){return Array.from(n.getClientRects())}function DE(n){let o=Tr(n),t=Na(n),i=n.ownerDocument.body,a=Ie(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),d=Ie(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),m=-t.scrollLeft+_c(n),b=-t.scrollTop;return ar(i).direction==="rtl"&&(m+=Ie(o.clientWidth,i.clientWidth)-a),{width:a,height:d,x:m,y:b}}function $E(n,o){let t=$e(n),i=Tr(n),a=t.visualViewport,d=i.clientWidth,m=i.clientHeight,b=0,C=0;if(a){d=a.width,m=a.height;let M=kl();(!M||M&&o==="fixed")&&(b=a.offsetLeft,C=a.offsetTop)}return{width:d,height:m,x:b,y:C}}var FE=new Set(["absolute","fixed"]);function VE(n,o){let t=yo(n,!0,o==="fixed"),i=t.top+n.clientTop,a=t.left+n.clientLeft,d=xr(n)?us(n):Er(1),m=n.clientWidth*d.x,b=n.clientHeight*d.y,C=a*d.x,M=i*d.y;return{width:m,height:b,x:C,y:M}}function Wu(n,o,t){let i;if(o==="viewport")i=$E(n,t);else if(o==="document")i=DE(Tr(n));else if(sr(o))i=VE(o,t);else{let a=Ku(n);i={x:o.x-a.x,y:o.y-a.y,width:o.width,height:o.height}}return vo(i)}function Zu(n,o){let t=ai(n);return t===o||!sr(t)||bo(t)?!1:ar(t).position==="fixed"||Zu(t,o)}function zE(n,o){let t=o.get(n);if(t)return t;let i=ps(n,[],!1).filter(b=>sr(b)&&go(b)!=="body"),a=null,d=ar(n).position==="fixed",m=d?ai(n):n;for(;sr(m)&&!bo(m);){let b=ar(m),C=Cl(m);!C&&b.position==="fixed"&&(a=null),(d?!C&&!a:!C&&b.position==="static"&&!!a&&FE.has(a.position)||ms(m)&&!C&&Zu(n,m))?i=i.filter(W=>W!==m):a=b,m=ai(m)}return o.set(n,i),i}function BE(n){let{element:o,boundary:t,rootBoundary:i,strategy:a}=n,m=[...t==="clippingAncestors"?wa(o)?[]:zE(o,this._c):[].concat(t),i],b=m[0],C=m.reduce((M,W)=>{let K=Wu(o,W,a);return M.top=Ie(K.top,M.top),M.right=Vr(K.right,M.right),M.bottom=Vr(K.bottom,M.bottom),M.left=Ie(K.left,M.left),M},Wu(o,b,a));return{width:C.right-C.left,height:C.bottom-C.top,x:C.left,y:C.top}}function UE(n){let{width:o,height:t}=qu(n);return{width:o,height:t}}function HE(n,o,t){let i=xr(o),a=Tr(o),d=t==="fixed",m=yo(n,!0,d,o),b={scrollLeft:0,scrollTop:0},C=Er(0);function M(){C.x=_c(a)}if(i||!i&&!d)if((go(o)!=="body"||ms(a))&&(b=Na(o)),i){let X=yo(o,!0,d,o);C.x=X.x+o.clientLeft,C.y=X.y+o.clientTop}else a&&M();d&&!i&&a&&M();let W=a&&!i&&!d?Xu(a,b):Er(0),K=m.left+b.scrollLeft-C.x-W.x,it=m.top+b.scrollTop-C.y-W.y;return{x:K,y:it,width:m.width,height:m.height}}function Ac(n){return ar(n).position==="static"}function ju(n,o){if(!xr(n)||ar(n).position==="fixed")return null;if(o)return o(n);let t=n.offsetParent;return Tr(n)===t&&(t=t.ownerDocument.body),t}function Qu(n,o){let t=$e(n);if(wa(n))return t;if(!xr(n)){let a=ai(n);for(;a&&!bo(a);){if(sr(a)&&!Ac(a))return a;a=ai(a)}return t}let i=ju(n,o);for(;i&&Hu(i)&&Ac(i);)i=ju(i,o);return i&&bo(i)&&Ac(i)&&!Cl(i)?t:i||Gu(n)||t}var GE=async function(n){let o=this.getOffsetParent||Qu,t=this.getDimensions,i=await t(n.floating);return{reference:HE(n.reference,await o(n.floating),n.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function YE(n){return ar(n).direction==="rtl"}var WE={convertOffsetParentRelativeRectToViewportRelativeRect:OE,getDocumentElement:Tr,getClippingRect:BE,getOffsetParent:Qu,getElementRects:GE,getClientRects:PE,getDimensions:UE,getScale:us,isElement:sr,isRTL:YE};function Ju(n,o){return n.x===o.x&&n.y===o.y&&n.width===o.width&&n.height===o.height}function jE(n,o){let t=null,i,a=Tr(n);function d(){var b;clearTimeout(i),(b=t)==null||b.disconnect(),t=null}function m(b,C){b===void 0&&(b=!1),C===void 0&&(C=1),d();let M=n.getBoundingClientRect(),{left:W,top:K,width:it,height:X}=M;if(b||o(),!it||!X)return;let tt=ka(K),lt=ka(a.clientWidth-(W+it)),dt=ka(a.clientHeight-(K+X)),vt=ka(W),wt={rootMargin:-tt+"px "+-lt+"px "+-dt+"px "+-vt+"px",threshold:Ie(0,Vr(1,C))||1},Wt=!0;function $t(Bt){let Xt=Bt[0].intersectionRatio;if(Xt!==C){if(!Wt)return m();Xt?m(!1,Xt):i=setTimeout(()=>{m(!1,1e-7)},1e3)}Xt===1&&!Ju(M,n.getBoundingClientRect())&&m(),Wt=!1}try{t=new IntersectionObserver($t,{...wt,root:a.ownerDocument})}catch{t=new IntersectionObserver($t,wt)}t.observe(n)}return m(!0),d}function tf(n,o,t,i){i===void 0&&(i={});let{ancestorScroll:a=!0,ancestorResize:d=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:b=typeof IntersectionObserver=="function",animationFrame:C=!1}=i,M=Sc(n),W=a||d?[...M?ps(M):[],...ps(o)]:[];W.forEach(vt=>{a&&vt.addEventListener("scroll",t,{passive:!0}),d&&vt.addEventListener("resize",t)});let K=M&&b?jE(M,t):null,it=-1,X=null;m&&(X=new ResizeObserver(vt=>{let[At]=vt;At&&At.target===M&&X&&(X.unobserve(o),cancelAnimationFrame(it),it=requestAnimationFrame(()=>{var wt;(wt=X)==null||wt.observe(o)})),t()}),M&&!C&&X.observe(M),X.observe(o));let tt,lt=C?yo(n):null;C&&dt();function dt(){let vt=yo(n);lt&&!Ju(lt,vt)&&t(),lt=vt,tt=requestAnimationFrame(dt)}return t(),()=>{var vt;W.forEach(At=>{a&&At.removeEventListener("scroll",t),d&&At.removeEventListener("resize",t)}),K==null||K(),(vt=X)==null||vt.disconnect(),X=null,C&&cancelAnimationFrame(tt)}}var ef=Fu;var rf=Vu,of=$u,sf=zu;var af=Du;var nf=(n,o,t)=>{let i=new Map,a={platform:WE,...t},d={...a.platform,_c:i};return Pu(n,o,{...a,platform:d})};var Nl=n=>{class o extends n{constructor(){super(...arguments);this.isBackdropInvisible=!1;this.backdropElement=null}createBackdrop(a){let d=document.createElement("div");d.classList.add(`${a}-backdrop`);let m=document.createElement("style");m.textContent=`
2209
+ `],Iu=mE;var ps=class extends zt(K){constructor(){super(...arguments);this.checked=!1;this.readonly=!1}render(){return I` <slot></slot>
2210
+ <span part="radio-icon" class="icon"></span>`}};ps.styles=[...K.styles,...Iu],p([u({type:Boolean,reflect:!0})],ps.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],ps.prototype,"readonly",2);var Ed=ps;var Cu=B.constructTagName("staticradio");Ed.register(Cu);var uE=Ed;yd.register(El);var fE=yd;var $r=Math.min,_e=Math.max,ka=Math.round,wa=Math.floor,yr=n=>({x:n,y:n}),vE={left:"right",right:"left",bottom:"top",top:"bottom"},gE={start:"end",end:"start"};function xl(n,o,t){return _e(n,$r(o,t))}function fo(n,o){return typeof n=="function"?n(o):n}function ai(n){return n.split("-")[0]}function vo(n){return n.split("-")[1]}function Td(n){return n==="x"?"y":"x"}function Al(n){return n==="y"?"height":"width"}var bE=new Set(["top","bottom"]);function zr(n){return bE.has(ai(n))?"y":"x"}function Sl(n){return Td(zr(n))}function Nu(n,o,t){t===void 0&&(t=!1);let i=vo(n),a=Sl(n),c=Al(a),m=a==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(m=Ca(m)),[m,Ca(m)]}function Lu(n){let o=Ca(n);return[Tl(n),o,Tl(o)]}function Tl(n){return n.replace(/start|end/g,o=>gE[o])}var ku=["left","right"],wu=["right","left"],yE=["top","bottom"],EE=["bottom","top"];function TE(n,o,t){switch(n){case"top":case"bottom":return t?o?wu:ku:o?ku:wu;case"left":case"right":return o?yE:EE;default:return[]}}function Mu(n,o,t,i){let a=vo(n),c=TE(ai(n),t==="start",i);return a&&(c=c.map(m=>m+"-"+a),o&&(c=c.concat(c.map(Tl)))),c}function Ca(n){return n.replace(/left|right|bottom|top/g,o=>vE[o])}function xE(n){return{top:0,right:0,bottom:0,left:0,...n}}function xd(n){return typeof n!="number"?xE(n):{top:n,right:n,bottom:n,left:n}}function go(n){let{x:o,y:t,width:i,height:a}=n;return{width:i,height:a,top:t,left:o,right:o+i,bottom:t+a,x:o,y:t}}function Ru(n,o,t){let{reference:i,floating:a}=n,c=zr(o),m=Sl(o),b=Al(m),C=ai(o),L=c==="y",W=i.x+i.width/2-a.width/2,q=i.y+i.height/2-a.height/2,it=i[b]/2-a[b]/2,X;switch(C){case"top":X={x:W,y:i.y-a.height};break;case"bottom":X={x:W,y:i.y+i.height};break;case"right":X={x:i.x+i.width,y:q};break;case"left":X={x:i.x-a.width,y:q};break;default:X={x:i.x,y:i.y}}switch(vo(o)){case"start":X[m]-=it*(t&&L?-1:1);break;case"end":X[m]+=it*(t&&L?-1:1);break}return X}var Ou=async(n,o,t)=>{let{placement:i="bottom",strategy:a="absolute",middleware:c=[],platform:m}=t,b=c.filter(Boolean),C=await(m.isRTL==null?void 0:m.isRTL(o)),L=await m.getElementRects({reference:n,floating:o,strategy:a}),{x:W,y:q}=Ru(L,i,C),it=i,X={},tt=0;for(let lt=0;lt<b.length;lt++){let{name:ct,fn:vt}=b[lt],{x:At,y:wt,data:Wt,reset:Ft}=await vt({x:W,y:q,initialPlacement:i,placement:it,strategy:a,middlewareData:X,rects:L,platform:m,elements:{reference:n,floating:o}});W=At!=null?At:W,q=wt!=null?wt:q,X={...X,[ct]:{...X[ct],...Wt}},Ft&&tt<=50&&(tt++,typeof Ft=="object"&&(Ft.placement&&(it=Ft.placement),Ft.rects&&(L=Ft.rects===!0?await m.getElementRects({reference:n,floating:o,strategy:a}):Ft.rects),{x:W,y:q}=Ru(L,it,C)),lt=-1)}return{x:W,y:q,placement:it,strategy:a,middlewareData:X}};async function _l(n,o){var t;o===void 0&&(o={});let{x:i,y:a,platform:c,rects:m,elements:b,strategy:C}=n,{boundary:L="clippingAncestors",rootBoundary:W="viewport",elementContext:q="floating",altBoundary:it=!1,padding:X=0}=fo(o,n),tt=xd(X),ct=b[it?q==="floating"?"reference":"floating":q],vt=go(await c.getClippingRect({element:(t=await(c.isElement==null?void 0:c.isElement(ct)))==null||t?ct:ct.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(b.floating)),boundary:L,rootBoundary:W,strategy:C})),At=q==="floating"?{x:i,y:a,width:m.floating.width,height:m.floating.height}:m.reference,wt=await(c.getOffsetParent==null?void 0:c.getOffsetParent(b.floating)),Wt=await(c.isElement==null?void 0:c.isElement(wt))?await(c.getScale==null?void 0:c.getScale(wt))||{x:1,y:1}:{x:1,y:1},Ft=go(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:b,rect:At,offsetParent:wt,strategy:C}):At);return{top:(vt.top-Ft.top+tt.top)/Wt.y,bottom:(Ft.bottom-vt.bottom+tt.bottom)/Wt.y,left:(vt.left-Ft.left+tt.left)/Wt.x,right:(Ft.right-vt.right+tt.right)/Wt.x}}var Pu=n=>({name:"arrow",options:n,async fn(o){let{x:t,y:i,placement:a,rects:c,platform:m,elements:b,middlewareData:C}=o,{element:L,padding:W=0}=fo(n,o)||{};if(L==null)return{};let q=xd(W),it={x:t,y:i},X=Sl(a),tt=Al(X),lt=await m.getDimensions(L),ct=X==="y",vt=ct?"top":"left",At=ct?"bottom":"right",wt=ct?"clientHeight":"clientWidth",Wt=c.reference[tt]+c.reference[X]-it[X]-c.floating[tt],Ft=it[X]-c.reference[X],Bt=await(m.getOffsetParent==null?void 0:m.getOffsetParent(L)),Xt=Bt?Bt[wt]:0;(!Xt||!await(m.isElement==null?void 0:m.isElement(Bt)))&&(Xt=b.floating[wt]||c.floating[tt]);let le=Wt/2-Ft/2,pr=Xt/2-lt[tt]/2-1,we=$r(q[vt],pr),je=$r(q[At],pr),mr=we,ur=Xt-lt[tt]-je,Ct=Xt/2-lt[tt]/2+le,pe=xl(mr,Ct,ur),Ke=!C.arrow&&vo(a)!=null&&Ct!==pe&&c.reference[tt]/2-(Ct<mr?we:je)-lt[tt]/2<0,qe=Ke?Ct<mr?Ct-mr:Ct-ur:0;return{[X]:it[X]+qe,data:{[X]:pe,centerOffset:Ct-pe-qe,...Ke&&{alignmentOffset:qe}},reset:Ke}}});var Du=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(o){var t,i;let{placement:a,middlewareData:c,rects:m,initialPlacement:b,platform:C,elements:L}=o,{mainAxis:W=!0,crossAxis:q=!0,fallbackPlacements:it,fallbackStrategy:X="bestFit",fallbackAxisSideDirection:tt="none",flipAlignment:lt=!0,...ct}=fo(n,o);if((t=c.arrow)!=null&&t.alignmentOffset)return{};let vt=ai(a),At=zr(b),wt=ai(b)===b,Wt=await(C.isRTL==null?void 0:C.isRTL(L.floating)),Ft=it||(wt||!lt?[Ca(b)]:Lu(b)),Bt=tt!=="none";!it&&Bt&&Ft.push(...Mu(b,lt,tt,Wt));let Xt=[b,...Ft],le=await _l(o,ct),pr=[],we=((i=c.flip)==null?void 0:i.overflows)||[];if(W&&pr.push(le[vt]),q){let Ct=Nu(a,m,Wt);pr.push(le[Ct[0]],le[Ct[1]])}if(we=[...we,{placement:a,overflows:pr}],!pr.every(Ct=>Ct<=0)){var je,mr;let Ct=(((je=c.flip)==null?void 0:je.index)||0)+1,pe=Xt[Ct];if(pe&&(!(q==="alignment"?At!==zr(pe):!1)||we.every(Xe=>Xe.overflows[0]>0&&zr(Xe.placement)===At)))return{data:{index:Ct,overflows:we},reset:{placement:pe}};let Ke=(mr=we.filter(qe=>qe.overflows[0]<=0).sort((qe,Xe)=>qe.overflows[1]-Xe.overflows[1])[0])==null?void 0:mr.placement;if(!Ke)switch(X){case"bestFit":{var ur;let qe=(ur=we.filter(Xe=>{if(Bt){let Ze=zr(Xe.placement);return Ze===At||Ze==="y"}return!0}).map(Xe=>[Xe.placement,Xe.overflows.filter(Ze=>Ze>0).reduce((Ze,hn)=>Ze+hn,0)]).sort((Xe,Ze)=>Xe[1]-Ze[1])[0])==null?void 0:ur[0];qe&&(Ke=qe);break}case"initialPlacement":Ke=b;break}if(a!==Ke)return{reset:{placement:Ke}}}return{}}}};var AE=new Set(["left","top"]);async function SE(n,o){let{placement:t,platform:i,elements:a}=n,c=await(i.isRTL==null?void 0:i.isRTL(a.floating)),m=ai(t),b=vo(t),C=zr(t)==="y",L=AE.has(m)?-1:1,W=c&&C?-1:1,q=fo(o,n),{mainAxis:it,crossAxis:X,alignmentAxis:tt}=typeof q=="number"?{mainAxis:q,crossAxis:0,alignmentAxis:null}:{mainAxis:q.mainAxis||0,crossAxis:q.crossAxis||0,alignmentAxis:q.alignmentAxis};return b&&typeof tt=="number"&&(X=b==="end"?tt*-1:tt),C?{x:X*W,y:it*L}:{x:it*L,y:X*W}}var Fu=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(o){var t,i;let{x:a,y:c,placement:m,middlewareData:b}=o,C=await SE(o,n);return m===((t=b.offset)==null?void 0:t.placement)&&(i=b.arrow)!=null&&i.alignmentOffset?{}:{x:a+C.x,y:c+C.y,data:{...C,placement:m}}}}},$u=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(o){let{x:t,y:i,placement:a}=o,{mainAxis:c=!0,crossAxis:m=!1,limiter:b={fn:ct=>{let{x:vt,y:At}=ct;return{x:vt,y:At}}},...C}=fo(n,o),L={x:t,y:i},W=await _l(o,C),q=zr(ai(a)),it=Td(q),X=L[it],tt=L[q];if(c){let ct=it==="y"?"top":"left",vt=it==="y"?"bottom":"right",At=X+W[ct],wt=X-W[vt];X=xl(At,X,wt)}if(m){let ct=q==="y"?"top":"left",vt=q==="y"?"bottom":"right",At=tt+W[ct],wt=tt-W[vt];tt=xl(At,tt,wt)}let lt=b.fn({...o,[it]:X,[q]:tt});return{...lt,data:{x:lt.x-t,y:lt.y-i,enabled:{[it]:c,[q]:m}}}}}};var zu=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(o){var t,i;let{placement:a,rects:c,platform:m,elements:b}=o,{apply:C=()=>{},...L}=fo(n,o),W=await _l(o,L),q=ai(a),it=vo(a),X=zr(a)==="y",{width:tt,height:lt}=c.floating,ct,vt;q==="top"||q==="bottom"?(ct=q,vt=it===(await(m.isRTL==null?void 0:m.isRTL(b.floating))?"start":"end")?"left":"right"):(vt=q,ct=it==="end"?"top":"bottom");let At=lt-W.top-W.bottom,wt=tt-W.left-W.right,Wt=$r(lt-W[ct],At),Ft=$r(tt-W[vt],wt),Bt=!o.middlewareData.shift,Xt=Wt,le=Ft;if((t=o.middlewareData.shift)!=null&&t.enabled.x&&(le=wt),(i=o.middlewareData.shift)!=null&&i.enabled.y&&(Xt=At),Bt&&!it){let we=_e(W.left,0),je=_e(W.right,0),mr=_e(W.top,0),ur=_e(W.bottom,0);X?le=tt-2*(we!==0||je!==0?we+je:_e(W.left,W.right)):Xt=lt-2*(mr!==0||ur!==0?mr+ur:_e(W.top,W.bottom))}await C({...o,availableWidth:le,availableHeight:Xt});let pr=await m.getDimensions(b.floating);return tt!==pr.width||lt!==pr.height?{reset:{rects:!0}}:{}}}};function Il(){return typeof window<"u"}function bo(n){return Bu(n)?(n.nodeName||"").toLowerCase():"#document"}function Fe(n){var o;return(n==null||(o=n.ownerDocument)==null?void 0:o.defaultView)||window}function Er(n){var o;return(o=(Bu(n)?n.ownerDocument:n.document)||window.document)==null?void 0:o.documentElement}function Bu(n){return Il()?n instanceof Node||n instanceof Fe(n).Node:!1}function sr(n){return Il()?n instanceof Element||n instanceof Fe(n).Element:!1}function Tr(n){return Il()?n instanceof HTMLElement||n instanceof Fe(n).HTMLElement:!1}function Vu(n){return!Il()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Fe(n).ShadowRoot}var _E=new Set(["inline","contents"]);function us(n){let{overflow:o,overflowX:t,overflowY:i,display:a}=ar(n);return/auto|scroll|overlay|hidden|clip/.test(o+i+t)&&!_E.has(a)}var IE=new Set(["table","td","th"]);function Uu(n){return IE.has(bo(n))}var CE=[":popover-open",":modal"];function Na(n){return CE.some(o=>{try{return n.matches(o)}catch{return!1}})}var kE=["transform","translate","scale","rotate","perspective"],wE=["transform","translate","scale","rotate","perspective","filter"],NE=["paint","layout","strict","content"];function Cl(n){let o=kl(),t=sr(n)?ar(n):n;return kE.some(i=>t[i]?t[i]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!o&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!o&&(t.filter?t.filter!=="none":!1)||wE.some(i=>(t.willChange||"").includes(i))||NE.some(i=>(t.contain||"").includes(i))}function Hu(n){let o=ni(n);for(;Tr(o)&&!yo(o);){if(Cl(o))return o;if(Na(o))return null;o=ni(o)}return null}function kl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var LE=new Set(["html","body","#document"]);function yo(n){return LE.has(bo(n))}function ar(n){return Fe(n).getComputedStyle(n)}function La(n){return sr(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function ni(n){if(bo(n)==="html")return n;let o=n.assignedSlot||n.parentNode||Vu(n)&&n.host||Er(n);return Vu(o)?o.host:o}function Gu(n){let o=ni(n);return yo(o)?n.ownerDocument?n.ownerDocument.body:n.body:Tr(o)&&us(o)?o:Gu(o)}function ms(n,o,t){var i;o===void 0&&(o=[]),t===void 0&&(t=!0);let a=Gu(n),c=a===((i=n.ownerDocument)==null?void 0:i.body),m=Fe(a);if(c){let b=wl(m);return o.concat(m,m.visualViewport||[],us(a)?a:[],b&&t?ms(b):[])}return o.concat(a,ms(a,[],t))}function wl(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function ju(n){let o=ar(n),t=parseFloat(o.width)||0,i=parseFloat(o.height)||0,a=Tr(n),c=a?n.offsetWidth:t,m=a?n.offsetHeight:i,b=ka(t)!==c||ka(i)!==m;return b&&(t=c,i=m),{width:t,height:i,$:b}}function Sd(n){return sr(n)?n:n.contextElement}function fs(n){let o=Sd(n);if(!Tr(o))return yr(1);let t=o.getBoundingClientRect(),{width:i,height:a,$:c}=ju(o),m=(c?ka(t.width):t.width)/i,b=(c?ka(t.height):t.height)/a;return(!m||!Number.isFinite(m))&&(m=1),(!b||!Number.isFinite(b))&&(b=1),{x:m,y:b}}var ME=yr(0);function Ku(n){let o=Fe(n);return!kl()||!o.visualViewport?ME:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function RE(n,o,t){return o===void 0&&(o=!1),!t||o&&t!==Fe(n)?!1:o}function Eo(n,o,t,i){o===void 0&&(o=!1),t===void 0&&(t=!1);let a=n.getBoundingClientRect(),c=Sd(n),m=yr(1);o&&(i?sr(i)&&(m=fs(i)):m=fs(n));let b=RE(c,t,i)?Ku(c):yr(0),C=(a.left+b.x)/m.x,L=(a.top+b.y)/m.y,W=a.width/m.x,q=a.height/m.y;if(c){let it=Fe(c),X=i&&sr(i)?Fe(i):i,tt=it,lt=wl(tt);for(;lt&&i&&X!==tt;){let ct=fs(lt),vt=lt.getBoundingClientRect(),At=ar(lt),wt=vt.left+(lt.clientLeft+parseFloat(At.paddingLeft))*ct.x,Wt=vt.top+(lt.clientTop+parseFloat(At.paddingTop))*ct.y;C*=ct.x,L*=ct.y,W*=ct.x,q*=ct.y,C+=wt,L+=Wt,tt=Fe(lt),lt=wl(tt)}}return go({width:W,height:q,x:C,y:L})}function _d(n,o){let t=La(n).scrollLeft;return o?o.left+t:Eo(Er(n)).left+t}function qu(n,o,t){t===void 0&&(t=!1);let i=n.getBoundingClientRect(),a=i.left+o.scrollLeft-(t?0:_d(n,i)),c=i.top+o.scrollTop;return{x:a,y:c}}function OE(n){let{elements:o,rect:t,offsetParent:i,strategy:a}=n,c=a==="fixed",m=Er(i),b=o?Na(o.floating):!1;if(i===m||b&&c)return t;let C={scrollLeft:0,scrollTop:0},L=yr(1),W=yr(0),q=Tr(i);if((q||!q&&!c)&&((bo(i)!=="body"||us(m))&&(C=La(i)),Tr(i))){let X=Eo(i);L=fs(i),W.x=X.x+i.clientLeft,W.y=X.y+i.clientTop}let it=m&&!q&&!c?qu(m,C,!0):yr(0);return{width:t.width*L.x,height:t.height*L.y,x:t.x*L.x-C.scrollLeft*L.x+W.x+it.x,y:t.y*L.y-C.scrollTop*L.y+W.y+it.y}}function PE(n){return Array.from(n.getClientRects())}function DE(n){let o=Er(n),t=La(n),i=n.ownerDocument.body,a=_e(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),c=_e(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),m=-t.scrollLeft+_d(n),b=-t.scrollTop;return ar(i).direction==="rtl"&&(m+=_e(o.clientWidth,i.clientWidth)-a),{width:a,height:c,x:m,y:b}}function FE(n,o){let t=Fe(n),i=Er(n),a=t.visualViewport,c=i.clientWidth,m=i.clientHeight,b=0,C=0;if(a){c=a.width,m=a.height;let L=kl();(!L||L&&o==="fixed")&&(b=a.offsetLeft,C=a.offsetTop)}return{width:c,height:m,x:b,y:C}}var $E=new Set(["absolute","fixed"]);function zE(n,o){let t=Eo(n,!0,o==="fixed"),i=t.top+n.clientTop,a=t.left+n.clientLeft,c=Tr(n)?fs(n):yr(1),m=n.clientWidth*c.x,b=n.clientHeight*c.y,C=a*c.x,L=i*c.y;return{width:m,height:b,x:C,y:L}}function Yu(n,o,t){let i;if(o==="viewport")i=FE(n,t);else if(o==="document")i=DE(Er(n));else if(sr(o))i=zE(o,t);else{let a=Ku(n);i={x:o.x-a.x,y:o.y-a.y,width:o.width,height:o.height}}return go(i)}function Xu(n,o){let t=ni(n);return t===o||!sr(t)||yo(t)?!1:ar(t).position==="fixed"||Xu(t,o)}function VE(n,o){let t=o.get(n);if(t)return t;let i=ms(n,[],!1).filter(b=>sr(b)&&bo(b)!=="body"),a=null,c=ar(n).position==="fixed",m=c?ni(n):n;for(;sr(m)&&!yo(m);){let b=ar(m),C=Cl(m);!C&&b.position==="fixed"&&(a=null),(c?!C&&!a:!C&&b.position==="static"&&!!a&&$E.has(a.position)||us(m)&&!C&&Xu(n,m))?i=i.filter(W=>W!==m):a=b,m=ni(m)}return o.set(n,i),i}function BE(n){let{element:o,boundary:t,rootBoundary:i,strategy:a}=n,m=[...t==="clippingAncestors"?Na(o)?[]:VE(o,this._c):[].concat(t),i],b=m[0],C=m.reduce((L,W)=>{let q=Yu(o,W,a);return L.top=_e(q.top,L.top),L.right=$r(q.right,L.right),L.bottom=$r(q.bottom,L.bottom),L.left=_e(q.left,L.left),L},Yu(o,b,a));return{width:C.right-C.left,height:C.bottom-C.top,x:C.left,y:C.top}}function UE(n){let{width:o,height:t}=ju(n);return{width:o,height:t}}function HE(n,o,t){let i=Tr(o),a=Er(o),c=t==="fixed",m=Eo(n,!0,c,o),b={scrollLeft:0,scrollTop:0},C=yr(0);function L(){C.x=_d(a)}if(i||!i&&!c)if((bo(o)!=="body"||us(a))&&(b=La(o)),i){let X=Eo(o,!0,c,o);C.x=X.x+o.clientLeft,C.y=X.y+o.clientTop}else a&&L();c&&!i&&a&&L();let W=a&&!i&&!c?qu(a,b):yr(0),q=m.left+b.scrollLeft-C.x-W.x,it=m.top+b.scrollTop-C.y-W.y;return{x:q,y:it,width:m.width,height:m.height}}function Ad(n){return ar(n).position==="static"}function Wu(n,o){if(!Tr(n)||ar(n).position==="fixed")return null;if(o)return o(n);let t=n.offsetParent;return Er(n)===t&&(t=t.ownerDocument.body),t}function Zu(n,o){let t=Fe(n);if(Na(n))return t;if(!Tr(n)){let a=ni(n);for(;a&&!yo(a);){if(sr(a)&&!Ad(a))return a;a=ni(a)}return t}let i=Wu(n,o);for(;i&&Uu(i)&&Ad(i);)i=Wu(i,o);return i&&yo(i)&&Ad(i)&&!Cl(i)?t:i||Hu(n)||t}var GE=async function(n){let o=this.getOffsetParent||Zu,t=this.getDimensions,i=await t(n.floating);return{reference:HE(n.reference,await o(n.floating),n.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function YE(n){return ar(n).direction==="rtl"}var WE={convertOffsetParentRelativeRectToViewportRelativeRect:OE,getDocumentElement:Er,getClippingRect:BE,getOffsetParent:Zu,getElementRects:GE,getClientRects:PE,getDimensions:UE,getScale:fs,isElement:sr,isRTL:YE};function Qu(n,o){return n.x===o.x&&n.y===o.y&&n.width===o.width&&n.height===o.height}function jE(n,o){let t=null,i,a=Er(n);function c(){var b;clearTimeout(i),(b=t)==null||b.disconnect(),t=null}function m(b,C){b===void 0&&(b=!1),C===void 0&&(C=1),c();let L=n.getBoundingClientRect(),{left:W,top:q,width:it,height:X}=L;if(b||o(),!it||!X)return;let tt=wa(q),lt=wa(a.clientWidth-(W+it)),ct=wa(a.clientHeight-(q+X)),vt=wa(W),wt={rootMargin:-tt+"px "+-lt+"px "+-ct+"px "+-vt+"px",threshold:_e(0,$r(1,C))||1},Wt=!0;function Ft(Bt){let Xt=Bt[0].intersectionRatio;if(Xt!==C){if(!Wt)return m();Xt?m(!1,Xt):i=setTimeout(()=>{m(!1,1e-7)},1e3)}Xt===1&&!Qu(L,n.getBoundingClientRect())&&m(),Wt=!1}try{t=new IntersectionObserver(Ft,{...wt,root:a.ownerDocument})}catch{t=new IntersectionObserver(Ft,wt)}t.observe(n)}return m(!0),c}function Ju(n,o,t,i){i===void 0&&(i={});let{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:b=typeof IntersectionObserver=="function",animationFrame:C=!1}=i,L=Sd(n),W=a||c?[...L?ms(L):[],...ms(o)]:[];W.forEach(vt=>{a&&vt.addEventListener("scroll",t,{passive:!0}),c&&vt.addEventListener("resize",t)});let q=L&&b?jE(L,t):null,it=-1,X=null;m&&(X=new ResizeObserver(vt=>{let[At]=vt;At&&At.target===L&&X&&(X.unobserve(o),cancelAnimationFrame(it),it=requestAnimationFrame(()=>{var wt;(wt=X)==null||wt.observe(o)})),t()}),L&&!C&&X.observe(L),X.observe(o));let tt,lt=C?Eo(n):null;C&&ct();function ct(){let vt=Eo(n);lt&&!Qu(lt,vt)&&t(),lt=vt,tt=requestAnimationFrame(ct)}return t(),()=>{var vt;W.forEach(At=>{a&&At.removeEventListener("scroll",t),c&&At.removeEventListener("resize",t)}),q==null||q(),(vt=X)==null||vt.disconnect(),X=null,C&&cancelAnimationFrame(tt)}}var tf=Fu;var ef=$u,rf=Du,of=zu;var sf=Pu;var af=(n,o,t)=>{let i=new Map,a={platform:WE,...t},c={...a.platform,_c:i};return Ou(n,o,{...a,platform:c})};var Nl=n=>{class o extends n{constructor(){super(...arguments);this.isBackdropInvisible=!1;this.backdropElement=null}createBackdrop(a){let c=document.createElement("div");c.classList.add(`${a}-backdrop`);let m=document.createElement("style");m.textContent=`
2211
2211
  .${a}-backdrop {
2212
2212
  position: fixed;
2213
2213
  top: 0;
@@ -2217,7 +2217,7 @@
2217
2217
  background: ${this.isBackdropInvisible?"transparent":"var(--mds-color-theme-common-overlays-secondary-normal)"};
2218
2218
  z-index: ${this.zIndex-1};
2219
2219
  }
2220
- `,d.appendChild(m);let C=document.getElementById(this.backdropAppendTo)||this.parentElement;C==null||C.appendChild(d),this.backdropElement=d}removeBackdrop(){this.backdropElement&&(this.backdropElement.remove(),this.backdropElement=null)}keepElementAboveBackdrop(a){a&&(this.elementOriginalStyle={zIndex:a.style.zIndex,position:a.style.position},a.style.zIndex=`${this.zIndex}`,["fixed","absolute"].includes(window.getComputedStyle(a).position)||(a.style.position="relative"))}moveElementBackAfterBackdropRemoval(a){!a||!this.elementOriginalStyle||(a.style.zIndex=this.elementOriginalStyle.zIndex,a.style.position=this.elementOriginalStyle.position,this.elementOriginalStyle=void 0)}}return o};var fs=class{static get stackArray(){return Array.from(this.stack)}static addKeydownListener(o){this.currentKeydownListener=o,document.addEventListener("keydown",o)}static removeKeydownListener(){this.currentKeydownListener&&document.removeEventListener("keydown",this.currentKeydownListener)}static activate(o){this.stackArray.forEach(t=>{t!==o&&t.setIsFocusTrapActivated(!1)}),this.stack.add(o),this.removeKeydownListener(),this.addKeydownListener(o.handleTabKeydown.bind(o))}static deactivate(o){if(this.stack.has(o)&&(this.stack.delete(o),this.removeKeydownListener(),this.stack.size>0)){let t=this.stackArray.pop();t&&(t.setIsFocusTrapActivated(!0),this.addKeydownListener(t.handleTabKeydown.bind(t)))}}};fs.stack=new Set,fs.currentKeydownListener=null;var Ll=n=>{class o extends n{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(a){this.isFocusTrapActivated=a}activateFocusTrap(){this.setIsFocusTrapActivated(!0),fs.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),fs.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(a){return a.getClientRects().length===0}hasZeroDimensions(a){let{width:d,height:m}=a.getBoundingClientRect(),{offsetWidth:b,offsetHeight:C}=a;return b+C+m+d===0}isNotVisible(a){return this.hasZeroDimensions(a)||this.hasNoClientRects(a)}hasHiddenStyle(a){let{display:d,opacity:m,visibility:b}=a.style;return d==="none"||m==="0"||b==="hidden"||b==="collapse"}hasComputedHidden(a){let d=getComputedStyle(a);return d.visibility==="hidden"||d.height==="0"||d.display==="none"}isHidden(a){return a.hasAttribute("hidden")||a.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(a)||this.isNotVisible(a)||this.hasComputedHidden(a)}isDisabled(a){return a.disabled}isNotTabbable(a){return a.getAttribute("tabindex")==="-1"}isInteractiveElement(a){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(a.tagName)||a instanceof HTMLAnchorElement&&a.hasAttribute("href")||a instanceof HTMLInputElement&&a.type!=="hidden"||(a instanceof HTMLAudioElement||a instanceof HTMLVideoElement)&&a.hasAttribute("controls")||(a instanceof HTMLImageElement||a instanceof HTMLObjectElement)&&a.hasAttribute("usemap")||a.hasAttribute("tabindex")&&a.tabIndex>-1)}isFocusable(a){return this.isHidden(a)||this.isNotTabbable(a)||this.isDisabled(a)?!1:this.isInteractiveElement(a)}findFocusable(a,d=new Set){a instanceof HTMLElement&&this.isFocusable(a)&&d.add(a);let m=[];return a.children.length?m=Array.from(a.children):a instanceof HTMLElement&&a.shadowRoot&&(m=Array.from(a.shadowRoot.children)),m.forEach(b=>{let C=b;this.isFocusable(C)&&d.add(C),C.shadowRoot?this.findFocusable(C.shadowRoot,d):C.tagName==="SLOT"?C.assignedElements({flatten:!0}).forEach(W=>{W instanceof HTMLElement&&this.findFocusable(W,d)}):this.findFocusable(C,d)}),[...d]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(a=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[a]&&(this.focusTrapIndex=a,this.focusableElements[a].focus({preventScroll:!0}))}calculateNextIndex(a,d){let{length:m}=this.focusableElements;if(a===-1)return d>0?0:m-1;let b=a+d;return this.shouldFocusTrapWrap?(b<0&&(b=m-1),b>=m&&(b=0)):(b<0&&(b=0),b>=m&&(b=m-1)),b}getDeepActiveElement(){var d;let a=document.activeElement||document.body;for(;a instanceof HTMLElement&&((d=a.shadowRoot)!=null&&d.activeElement);)a=a.shadowRoot.activeElement;return a||document.body}findElement(a){return this.focusableElements.findIndex(d=>this.isEqualFocusNode(a,d))}isEqualFocusNode(a,d){return a.nodeType>=0?d.isEqualNode(a)&&d===a:!1}trapFocus(a){if(this.setFocusableElements(),this.focusableElements.length===0)return;let d=this.getDeepActiveElement(),m=this.findElement(d);a.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let C=this.focusableElements[this.focusTrapIndex];C.tagName!=="IFRAME"&&C&&(a.preventDefault(),C.focus())}handleTabKeydown(a){this.isFocusTrapActivated&&a.key==="Tab"&&this.trapFocus(a)}}return p([u({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],o.prototype,"shouldFocusTrapWrap",2),o};var Rl=n=>{class o extends n{constructor(){super(...arguments);this.isPreventScrollActive=!1;this.previousDocumentBodyStyleOverflow=""}activatePreventScroll(){this.preventScroll&&!this.isPreventScrollActive&&(this.isPreventScrollActive=!0,this.previousDocumentBodyStyleOverflow=document.body.style.overflow,document.body.style.overflow="hidden")}deactivatePreventScroll(){this.isPreventScrollActive&&(this.isPreventScrollActive=!1,document.body.style.overflow=this.previousDocumentBodyStyleOverflow)}}return o};var lf=B.constructTagName("popover"),Yt={LEFT_START:"left-start",LEFT:"left",LEFT_END:"left-end",RIGHT_START:"right-start",RIGHT:"right",RIGHT_END:"right-end",TOP_START:"top-start",TOP:"top",TOP_END:"top-end",BOTTOM_START:"bottom-start",BOTTOM:"bottom",BOTTOM_END:"bottom-end"},ni={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},Eo={TONAL:"tonal",CONTRAST:"contrast"};var _t={PLACEMENT:Yt.BOTTOM,TRIGGER:ni.CLICK,COLOR:Eo.TONAL,OFFSET:4,BOUNDARY:"clippingAncestors",BOUNDARY_ROOT:"viewport",BOUNDARY_PADDING:0,VISIBLE:!1,ARROW:!1,CLOSE_BUTTON:!1,FOCUS_TRAP:!1,INTERACTIVE:!1,PREVENT_SCROLL:!1,HIDE_ON_ESCAPE:!1,HIDE_ON_BLUR:!1,HIDE_ON_CLICK_OUTSIDE:!1,FOCUS_BACK:!1,BACKDROP:!1,FLIP:!0,SIZE:!1,DELAY:"0,0",ROLE:et.DIALOG,Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,PROPAGATE_EVENT_ON_ESCAPE:!1,KEEP_CONNECTED_TOOLTIP_CLOSED:!0,STRATEGY:"absolute",IS_BACKDROP_INVISIBLE:!0};var li=class{static dispatchPopoverEvent(o,t){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:!0}))}static onShowPopover(o){this.dispatchPopoverEvent("shown",o)}static onHidePopover(o){this.dispatchPopoverEvent("hidden",o)}static onCreatedPopover(o){this.dispatchPopoverEvent("created",o)}static onDestroyedPopover(o){this.dispatchPopoverEvent("destroyed",o)}static onEscapeKeyPressed(o){this.dispatchPopoverEvent("closebyescape",o)}static onClickOutside(o){this.dispatchPopoverEvent("closebyoutsideclick",o)}};var Ic=class{constructor(){this.stack=[]}push(o){this.stack.push(o)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(o){this.stack=this.stack.filter(t=>t!==o)}has(o){return this.stack.includes(o)}clear(){this.stack=[]}},Ce=new Ic;var qE=z`
2220
+ `,c.appendChild(m);let C=document.getElementById(this.backdropAppendTo)||this.parentElement;C==null||C.appendChild(c),this.backdropElement=c}removeBackdrop(){this.backdropElement&&(this.backdropElement.remove(),this.backdropElement=null)}keepElementAboveBackdrop(a){a&&(this.elementOriginalStyle={zIndex:a.style.zIndex,position:a.style.position},a.style.zIndex=`${this.zIndex}`,["fixed","absolute"].includes(window.getComputedStyle(a).position)||(a.style.position="relative"))}moveElementBackAfterBackdropRemoval(a){!a||!this.elementOriginalStyle||(a.style.zIndex=this.elementOriginalStyle.zIndex,a.style.position=this.elementOriginalStyle.position,this.elementOriginalStyle=void 0)}}return o};var vs=class{static get stackArray(){return Array.from(this.stack)}static addKeydownListener(o){this.currentKeydownListener=o,document.addEventListener("keydown",o)}static removeKeydownListener(){this.currentKeydownListener&&document.removeEventListener("keydown",this.currentKeydownListener)}static activate(o){this.stackArray.forEach(t=>{t!==o&&t.setIsFocusTrapActivated(!1)}),this.stack.add(o),this.removeKeydownListener(),this.addKeydownListener(o.handleTabKeydown.bind(o))}static deactivate(o){if(this.stack.has(o)&&(this.stack.delete(o),this.removeKeydownListener(),this.stack.size>0)){let t=this.stackArray.pop();t&&(t.setIsFocusTrapActivated(!0),this.addKeydownListener(t.handleTabKeydown.bind(t)))}}};vs.stack=new Set,vs.currentKeydownListener=null;var Ll=n=>{class o extends n{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(a){this.isFocusTrapActivated=a}activateFocusTrap(){this.setIsFocusTrapActivated(!0),vs.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),vs.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(a){return a.getClientRects().length===0}hasZeroDimensions(a){let{width:c,height:m}=a.getBoundingClientRect(),{offsetWidth:b,offsetHeight:C}=a;return b+C+m+c===0}isNotVisible(a){return this.hasZeroDimensions(a)||this.hasNoClientRects(a)}hasHiddenStyle(a){let{display:c,opacity:m,visibility:b}=a.style;return c==="none"||m==="0"||b==="hidden"||b==="collapse"}hasComputedHidden(a){let c=getComputedStyle(a);return c.visibility==="hidden"||c.height==="0"||c.display==="none"}isHidden(a){return a.hasAttribute("hidden")||a.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(a)||this.isNotVisible(a)||this.hasComputedHidden(a)}isDisabled(a){return a.disabled}isNotTabbable(a){return a.getAttribute("tabindex")==="-1"}isInteractiveElement(a){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(a.tagName)||a instanceof HTMLAnchorElement&&a.hasAttribute("href")||a instanceof HTMLInputElement&&a.type!=="hidden"||(a instanceof HTMLAudioElement||a instanceof HTMLVideoElement)&&a.hasAttribute("controls")||(a instanceof HTMLImageElement||a instanceof HTMLObjectElement)&&a.hasAttribute("usemap")||a.hasAttribute("tabindex")&&a.tabIndex>-1)}isFocusable(a){return this.isHidden(a)||this.isNotTabbable(a)||this.isDisabled(a)?!1:this.isInteractiveElement(a)}findFocusable(a,c=new Set){a instanceof HTMLElement&&this.isFocusable(a)&&c.add(a);let m=[];return a.children.length?m=Array.from(a.children):a instanceof HTMLElement&&a.shadowRoot&&(m=Array.from(a.shadowRoot.children)),m.forEach(b=>{let C=b;this.isFocusable(C)&&c.add(C),C.shadowRoot?this.findFocusable(C.shadowRoot,c):C.tagName==="SLOT"?C.assignedElements({flatten:!0}).forEach(W=>{W instanceof HTMLElement&&this.findFocusable(W,c)}):this.findFocusable(C,c)}),[...c]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(a=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[a]&&(this.focusTrapIndex=a,this.focusableElements[a].focus({preventScroll:!0}))}calculateNextIndex(a,c){let{length:m}=this.focusableElements;if(a===-1)return c>0?0:m-1;let b=a+c;return this.shouldFocusTrapWrap?(b<0&&(b=m-1),b>=m&&(b=0)):(b<0&&(b=0),b>=m&&(b=m-1)),b}getDeepActiveElement(){var c;let a=document.activeElement||document.body;for(;a instanceof HTMLElement&&((c=a.shadowRoot)!=null&&c.activeElement);)a=a.shadowRoot.activeElement;return a||document.body}findElement(a){return this.focusableElements.findIndex(c=>this.isEqualFocusNode(a,c))}isEqualFocusNode(a,c){return a.nodeType>=0?c.isEqualNode(a)&&c===a:!1}trapFocus(a){if(this.setFocusableElements(),this.focusableElements.length===0)return;let c=this.getDeepActiveElement(),m=this.findElement(c);a.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let C=this.focusableElements[this.focusTrapIndex];C.tagName!=="IFRAME"&&C&&(a.preventDefault(),C.focus())}handleTabKeydown(a){this.isFocusTrapActivated&&a.key==="Tab"&&this.trapFocus(a)}}return p([u({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],o.prototype,"shouldFocusTrapWrap",2),o};var Ml=n=>{class o extends n{constructor(){super(...arguments);this.isPreventScrollActive=!1;this.previousDocumentBodyStyleOverflow=""}activatePreventScroll(){this.preventScroll&&!this.isPreventScrollActive&&(this.isPreventScrollActive=!0,this.previousDocumentBodyStyleOverflow=document.body.style.overflow,document.body.style.overflow="hidden")}deactivatePreventScroll(){this.isPreventScrollActive&&(this.isPreventScrollActive=!1,document.body.style.overflow=this.previousDocumentBodyStyleOverflow)}}return o};var nf=B.constructTagName("popover"),Yt={LEFT_START:"left-start",LEFT:"left",LEFT_END:"left-end",RIGHT_START:"right-start",RIGHT:"right",RIGHT_END:"right-end",TOP_START:"top-start",TOP:"top",TOP_END:"top-end",BOTTOM_START:"bottom-start",BOTTOM:"bottom",BOTTOM_END:"bottom-end"},li={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},To={TONAL:"tonal",CONTRAST:"contrast"};var _t={PLACEMENT:Yt.BOTTOM,TRIGGER:li.CLICK,COLOR:To.TONAL,OFFSET:4,BOUNDARY:"clippingAncestors",BOUNDARY_ROOT:"viewport",BOUNDARY_PADDING:0,VISIBLE:!1,ARROW:!1,CLOSE_BUTTON:!1,FOCUS_TRAP:!1,INTERACTIVE:!1,PREVENT_SCROLL:!1,HIDE_ON_ESCAPE:!1,HIDE_ON_BLUR:!1,HIDE_ON_CLICK_OUTSIDE:!1,FOCUS_BACK:!1,BACKDROP:!1,FLIP:!0,SIZE:!1,DELAY:"0,0",ROLE:et.DIALOG,Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,PROPAGATE_EVENT_ON_ESCAPE:!1,KEEP_CONNECTED_TOOLTIP_CLOSED:!0,STRATEGY:"absolute",IS_BACKDROP_INVISIBLE:!0};var ci=class{static dispatchPopoverEvent(o,t){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:!0}))}static onShowPopover(o){this.dispatchPopoverEvent("shown",o)}static onHidePopover(o){this.dispatchPopoverEvent("hidden",o)}static onCreatedPopover(o){this.dispatchPopoverEvent("created",o)}static onDestroyedPopover(o){this.dispatchPopoverEvent("destroyed",o)}static onEscapeKeyPressed(o){this.dispatchPopoverEvent("closebyescape",o)}static onClickOutside(o){this.dispatchPopoverEvent("closebyoutsideclick",o)}};var Id=class{constructor(){this.stack=[]}push(o){this.stack.push(o)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(o){this.stack=this.stack.filter(t=>t!==o)}has(o){return this.stack.includes(o)}clear(){this.stack=[]}},Ie=new Id;var KE=V`
2221
2221
  :host {
2222
2222
  --mdc-popover-arrow-border-radius: 0.1875rem;
2223
2223
  --mdc-popover-arrow-border: 0.0625rem solid var(--mds-color-theme-outline-secondary-normal);
@@ -2339,7 +2339,7 @@
2339
2339
  border-top-right-radius: var(--mdc-popover-arrow-border-radius);
2340
2340
  border-bottom-left-radius: 100%;
2341
2341
  }
2342
- `,df=[qE];var Ml=class{constructor(o){this.arrowPixelChange=!1;this.popover=o}setupDelay(){try{let[o,t]=this.popover.delay.split(",").map(i=>{let a=parseInt(i,10);if(Number.isNaN(a)||a<0)throw new Error(`Invalid delay value: ${i}`);return a});return[o,t]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(o){let t=this.popover.renderRoot.querySelector(".popover-hover-bridge");Object.assign(t.style,{top:"",left:"",right:"",bottom:""});let i=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,a=this.popover.offsetHeight||0,d=this.popover.offsetWidth||0;if(t)switch(o.split("-")[0]){case"top":t.style.height=i,t.style.bottom=`calc(-1 * (${i}))`,t.style.left="50%",t.style.width=`${d}px`;break;case"left":t.style.height=`${a}px`,t.style.width=i,t.style.right=`calc(-1.5 * (${i}))`;break;case"right":t.style.height=`${a}px`,t.style.width=i,t.style.left=`calc(-0.5 * (${i}))`;break;case"bottom":default:t.style.height=i,t.style.top=`calc(-1 * (${i}))`,t.style.left="50%",t.style.width=`${d}px`;break}}setupAppendTo(){if(this.popover.appendTo){let o=document.getElementById(this.popover.appendTo);o&&o.appendChild(this.popover)}}updateAriaLabels(){var o,t,i;this.popover.interactive&&this.popover.role&&(this.popover.ariaLabel||(this.popover.ariaLabel=((o=this.popover.triggerElement)==null?void 0:o.ariaLabel)||((t=this.popover.triggerElement)==null?void 0:t.textContent)||""),this.popover.ariaLabelledby||(this.popover.ariaLabelledby=((i=this.popover.triggerElement)==null?void 0:i.id)||""))}updateAriaModal(){this.popover.role===et.DIALOG||this.popover.role===et.ALERTDIALOG?this.popover.setAttribute("aria-modal","true"):this.popover.removeAttribute("aria-modal")}updateAriaExpandedAttribute(){var o,t,i;this.popover.disableAriaExpanded||((o=this.popover.triggerElement)==null||o.setAttribute("aria-expanded",`${this.popover.visible}`),(i=this.popover.triggerElement)==null||i.setAttribute("aria-haspopup",((t=this.popover.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||this.popover.role||"dialog"))}updateArrowStyle(o,t){var W;if(!this.popover.arrowElement)return;let i=t.split("-")[0],a={top:"bottom",right:"left",bottom:"top",left:"right"}[i],{x:d,y:m}=o,b=this.popover.arrowElement.getBoundingClientRect(),C=(W=this.popover.arrowElement.offsetParent)==null?void 0:W.getBoundingClientRect();if(!this.arrowPixelChange){let K=C!=null&&C[a]?12-Math.abs(b[a]-C[a]):0;Math.round(K)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let M=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",i),Object.assign(this.popover.arrowElement.style,{left:d!=null?`${d}px`:"",top:m!=null?`${m}px`:"",[a]:`${-this.popover.arrowElement.offsetHeight/2-M}px`})}updatePopoverStyle(o,t){Object.assign(this.popover.style,{left:`${o}px`,top:`${t}px`})}};var It=class extends Nl(Rl(Ll(q))){constructor(){super();this.id="";this.triggerID="";this.trigger=_t.TRIGGER;this.placement=_t.PLACEMENT;this.color=_t.COLOR;this.visible=_t.VISIBLE;this.offset=_t.OFFSET;this.boundary=_t.BOUNDARY;this.boundaryRoot=_t.BOUNDARY_ROOT;this.focusTrap=_t.FOCUS_TRAP;this.preventScroll=_t.PREVENT_SCROLL;this.showArrow=_t.ARROW;this.closeButton=_t.CLOSE_BUTTON;this.interactive=_t.INTERACTIVE;this.delay=_t.DELAY;this.hideOnEscape=_t.HIDE_ON_ESCAPE;this.propagateEventOnEscape=_t.PROPAGATE_EVENT_ON_ESCAPE;this.hideOnBlur=_t.HIDE_ON_BLUR;this.hideOnOutsideClick=_t.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=_t.FOCUS_BACK;this.backdrop=_t.BACKDROP;this.isBackdropInvisible=_t.IS_BACKDROP_INVISIBLE;this.flip=_t.FLIP;this.size=_t.SIZE;this.zIndex=_t.Z_INDEX;this.closeButtonAriaLabel=null;this.strategy=_t.STRATEGY;this.role=_t.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=_t.DISABLE_ARIA_EXPANDED;this.keepConnectedTooltipClosed=_t.KEEP_CONNECTED_TOOLTIP_CLOSED;this.arrowElement=null;this.hoverTimer=null;this.isHovered=!1;this.openDelay=0;this.closeDelay=0;this.floatingUICleanupFunction=null;this.shouldSuppressOpening=!1;this.parseTrigger=()=>{var d;let a=(((d=this.trigger)==null?void 0:d.split(" "))||[]).filter(m=>Object.values(ni).includes(m)).length>0?this.trigger:_t.TRIGGER;a==="mouseenter"&&(this.interactive?a="mouseenter click":a="mouseenter focusin"),this.trigger=a};this.setupTriggerListeners=()=>{if(this.trigger.includes("click")&&document.addEventListener("click",this.togglePopoverVisible,{capture:!0}),this.trigger.includes("mouseenter")){let t=this.renderRoot.querySelector(".popover-hover-bridge");t==null||t.addEventListener("mouseenter",this.show),document.addEventListener("mouseenter",this.handleMouseEnter,{capture:!0}),document.addEventListener("mouseleave",this.handleMouseLeave,{capture:!0}),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay)}this.trigger.includes("focusin")&&(document.addEventListener("focusin",this.handleFocusIn,{capture:!0}),this.interactive||document.addEventListener("focusout",this.handleFocusOut,{capture:!0}))};this.removeTriggerListeners=()=>{document.removeEventListener("click",this.togglePopoverVisible,{capture:!0});let t=this.renderRoot.querySelector(".popover-hover-bridge");t==null||t.removeEventListener("mouseenter",this.show),document.removeEventListener("mouseenter",this.handleMouseEnter,{capture:!0}),document.removeEventListener("mouseleave",this.handleMouseLeave,{capture:!0}),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),document.removeEventListener("focusin",this.handleFocusIn,{capture:!0}),document.removeEventListener("focusout",this.handleFocusOut,{capture:!0})};this.removeAllListeners=()=>{this.removeTriggerListeners(),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick,{capture:!0}),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),document.removeEventListener("keydown",this.onEscapeKeydown,{capture:!0})),this.hideOnBlur&&this.removeEventListener("focusout",this.onPopoverFocusOut)};this.onOutsidePopoverClick=t=>{if(Ce.peek()!==this)return;let i=t.composedPath(),a=this.contains(t.target)||i.includes(this.triggerElement)||i.includes(this),d=this.backdropElement?i.includes(this.backdropElement):!1;(!a||d)&&(this.hide(),li.onClickOutside(this))};this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(this.propagateEventOnEscape||t.stopPropagation(),t.preventDefault(),this.hide(),li.onEscapeKeyPressed(this))};this.onPopoverFocusOut=t=>{this.contains(t.relatedTarget)||this.hide()};this.handleMouseEnter=t=>{this.isEventFromTrigger(t)&&(this.isHovered=!0,this.show())};this.handleMouseLeave=t=>{this.isEventFromTrigger(t)&&(this.isHovered=!1,this.startCloseDelay())};this.handleFocusOut=t=>{this.isEventFromTrigger(t)&&(this.isHovered||this.hide())};this.handleFocusIn=t=>{var i;this.isEventFromTrigger(t)&&((i=this.triggerElement)!=null&&i.matches(":focus-visible")||this.isHovered)&&this.show()};this.startCloseDelay=()=>{this.interactive?this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay):this.hide()};this.cancelCloseDelay=()=>{this.hoverTimer&&(window.clearTimeout(this.hoverTimer),this.hoverTimer=null)};this.show=()=>{this.visible||this.shouldSuppressOpening||(this.cancelCloseDelay(),this.openDelay>0?setTimeout(()=>{this.visible=!0},this.openDelay):this.visible=!0)};this.hide=()=>{this.closeDelay?setTimeout(()=>{this.visible=!1},this.closeDelay):this.visible=!1};this.togglePopoverVisible=t=>{this.isEventFromTrigger(t)&&(this.visible?this.hide():this.show())};this.positionPopover=()=>{let{triggerElement:t}=this;if(!t)return;let i=!this.boundary||this.boundary==="clippingAncestors"?"clippingAncestors":Array.from(document.querySelectorAll(this.boundary)),a=this.boundaryRoot,d=[rf({boundary:i,rootBoundary:a,padding:this.boundaryPadding})],m=this.offset;if(this.flip&&d.push(of({boundary:i,rootBoundary:a})),this.size){let b=M=>{this.style.setProperty("--mdc-popover-internal-available-height",`${M}px`)},C=this.renderRoot.querySelector('[part="popover-content"]');d.push(sf({boundary:i,rootBoundary:a,apply({availableHeight:M}){C&&(Object.assign(C.style,{maxHeight:`${M}px`,overflowY:"auto"}),b(M))},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector(".popover-arrow"),this.arrowElement)){let b=this.arrowElement.offsetHeight,C=Math.sqrt(2*b**2)/2;m+=C,d.push(af({element:this.arrowElement,padding:12}))}d.push(ef(m)),this.floatingUICleanupFunction=tf(t,this,async()=>{let{triggerElement:b}=this;if(!b)return;let{x:C,y:M,middlewareData:W,placement:K}=await nf(b,this,{placement:this.placement,middleware:d,strategy:this.strategy});this.utils.updatePopoverStyle(C,M),W.arrow&&this.arrowElement&&this.utils.updateArrowStyle(W.arrow,K),this.trigger.includes("mouseenter")&&this.interactive&&this.utils.setupHoverBridge(K)})};this.utils=new Ml(this),this.parseTrigger(),[this.openDelay,this.closeDelay]=this.utils.setupDelay()}get connectedTooltip(){let t=this.getRootNode().querySelectorAll(`mdc-tooltip[triggerID="${this.triggerID}"]`);return Array.from(t).find(i=>i!==this)}get triggerElement(){return this.getRootNode().querySelector(`[id="${this.triggerID}"]`)}async firstUpdated(t){super.firstUpdated(t),this.style.zIndex=`${this.zIndex}`,this.utils.setupAppendTo(),li.onCreatedPopover(this)}connectedCallback(){super.connectedCallback(),this.setupTriggerListeners()}async disconnectedCallback(){var t,i;super.disconnectedCallback(),this.removeAllListeners(),(t=this.deactivateFocusTrap)==null||t.call(this),this.deactivatePreventScroll(),this.moveElementBackAfterBackdropRemoval(this.triggerElement),this.removeBackdrop(),(i=this.floatingUICleanupFunction)==null||i.call(this),this.cancelCloseDelay(),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),li.onDestroyedPopover(this),Ce.remove(this)}async updated(t){if(super.updated(t),t.has("visible")){let i=t.get("visible")||!1;await this.isOpenUpdated(i,this.visible),this.utils.updateAriaExpandedAttribute()}t.has("trigger")&&(this.parseTrigger(),this.removeTriggerListeners(),this.setupTriggerListeners()),t.has("placement")&&this.setAttribute("placement",Object.values(Yt).includes(this.placement)?this.placement:_t.PLACEMENT),t.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),t.has("color")&&this.setAttribute("color",Object.values(Eo).includes(this.color)?this.color:_t.COLOR),t.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),t.has("append-to")&&this.utils.setupAppendTo(),(t.has("interactive")||t.has("aria-label")||t.has("aria-labelledby"))&&this.utils.updateAriaLabels(),t.has("role")&&(this.role===""&&(this.role=null),this.utils.updateAriaModal()),t.has("disableAriaExpanded")&&this.utils.updateAriaExpandedAttribute(),t.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap(),t.has("preventScroll")&&(!this.preventScroll&&this.visible?this.deactivatePreventScroll():this.preventScroll&&this.visible&&this.activatePreventScroll())}async isOpenUpdated(t,i){var d,m;let{triggerElement:a}=this;t===i||!a||(i&&!this.shouldSuppressOpening?(Ce.peek()!==this&&Ce.push(this),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.visible=!1,this.connectedTooltip.shouldSuppressOpening=!0),this.backdrop&&!this.backdropElement&&(this.createBackdrop("popover"),this.keepElementAboveBackdrop(a)),this.positionPopover(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(a.style.pointerEvents="none")),this.hideOnEscape&&(this.addEventListener("keydown",this.onEscapeKeydown),document.addEventListener("keydown",this.onEscapeKeydown)),this.activatePreventScroll(),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick,{capture:!0}),setTimeout(()=>{var b,C;this.interactive&&this.focusTrap&&((b=this.activateFocusTrap)==null||b.call(this),(C=this.setInitialFocus)==null||C.call(this))},0),li.onShowPopover(this)):(Ce.peek()===this&&Ce.pop(),(d=this.floatingUICleanupFunction)==null||d.call(this),this.backdrop&&(this.moveElementBackAfterBackdropRemoval(a),this.removeBackdrop()),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(a.style.pointerEvents="")),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick,{capture:!0}),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),document.removeEventListener("keydown",this.onEscapeKeydown)),this.deactivatePreventScroll(),(m=this.deactivateFocusTrap)==null||m.call(this),this.focusBackToTrigger&&(a==null||a.focus()),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),li.onHidePopover(this)))}isEventFromTrigger(t){var i;return this.triggerID?t.composed?t.composedPath().some(a=>(a==null?void 0:a.id)===this.triggerID):((i=t.target)==null?void 0:i.id)===this.triggerID:!1}render(){return I`
2342
+ `,lf=[KE];var Rl=class{constructor(o){this.arrowPixelChange=!1;this.popover=o}setupDelay(){try{let[o,t]=this.popover.delay.split(",").map(i=>{let a=parseInt(i,10);if(Number.isNaN(a)||a<0)throw new Error(`Invalid delay value: ${i}`);return a});return[o,t]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(o){let t=this.popover.renderRoot.querySelector(".popover-hover-bridge");Object.assign(t.style,{top:"",left:"",right:"",bottom:""});let i=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,a=this.popover.offsetHeight||0,c=this.popover.offsetWidth||0;if(t)switch(o.split("-")[0]){case"top":t.style.height=i,t.style.bottom=`calc(-1 * (${i}))`,t.style.left="50%",t.style.width=`${c}px`;break;case"left":t.style.height=`${a}px`,t.style.width=i,t.style.right=`calc(-1.5 * (${i}))`;break;case"right":t.style.height=`${a}px`,t.style.width=i,t.style.left=`calc(-0.5 * (${i}))`;break;case"bottom":default:t.style.height=i,t.style.top=`calc(-1 * (${i}))`,t.style.left="50%",t.style.width=`${c}px`;break}}setupAppendTo(){if(this.popover.appendTo){let o=document.getElementById(this.popover.appendTo);o&&o.appendChild(this.popover)}}updateAriaLabels(){var o,t,i;this.popover.interactive&&this.popover.role&&(this.popover.ariaLabel||(this.popover.ariaLabel=((o=this.popover.triggerElement)==null?void 0:o.ariaLabel)||((t=this.popover.triggerElement)==null?void 0:t.textContent)||""),this.popover.ariaLabelledby||(this.popover.ariaLabelledby=((i=this.popover.triggerElement)==null?void 0:i.id)||""))}updateAriaModal(){this.popover.role===et.DIALOG||this.popover.role===et.ALERTDIALOG?this.popover.setAttribute("aria-modal","true"):this.popover.removeAttribute("aria-modal")}updateAriaExpandedAttribute(){var o,t,i;this.popover.disableAriaExpanded||((o=this.popover.triggerElement)==null||o.setAttribute("aria-expanded",`${this.popover.visible}`),(i=this.popover.triggerElement)==null||i.setAttribute("aria-haspopup",((t=this.popover.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||this.popover.role||"dialog"))}updateArrowStyle(o,t){var W;if(!this.popover.arrowElement)return;let i=t.split("-")[0],a={top:"bottom",right:"left",bottom:"top",left:"right"}[i],{x:c,y:m}=o,b=this.popover.arrowElement.getBoundingClientRect(),C=(W=this.popover.arrowElement.offsetParent)==null?void 0:W.getBoundingClientRect();if(!this.arrowPixelChange){let q=C!=null&&C[a]?12-Math.abs(b[a]-C[a]):0;Math.round(q)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let L=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",i),Object.assign(this.popover.arrowElement.style,{left:c!=null?`${c}px`:"",top:m!=null?`${m}px`:"",[a]:`${-this.popover.arrowElement.offsetHeight/2-L}px`})}updatePopoverStyle(o,t){Object.assign(this.popover.style,{left:`${o}px`,top:`${t}px`})}};var It=class extends Nl(Ml(Ll(K))){constructor(){super();this.id="";this.triggerID="";this.trigger=_t.TRIGGER;this.placement=_t.PLACEMENT;this.color=_t.COLOR;this.visible=_t.VISIBLE;this.offset=_t.OFFSET;this.boundary=_t.BOUNDARY;this.boundaryRoot=_t.BOUNDARY_ROOT;this.focusTrap=_t.FOCUS_TRAP;this.preventScroll=_t.PREVENT_SCROLL;this.showArrow=_t.ARROW;this.closeButton=_t.CLOSE_BUTTON;this.interactive=_t.INTERACTIVE;this.delay=_t.DELAY;this.hideOnEscape=_t.HIDE_ON_ESCAPE;this.propagateEventOnEscape=_t.PROPAGATE_EVENT_ON_ESCAPE;this.hideOnBlur=_t.HIDE_ON_BLUR;this.hideOnOutsideClick=_t.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=_t.FOCUS_BACK;this.backdrop=_t.BACKDROP;this.isBackdropInvisible=_t.IS_BACKDROP_INVISIBLE;this.flip=_t.FLIP;this.size=_t.SIZE;this.zIndex=_t.Z_INDEX;this.closeButtonAriaLabel=null;this.strategy=_t.STRATEGY;this.role=_t.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=_t.DISABLE_ARIA_EXPANDED;this.keepConnectedTooltipClosed=_t.KEEP_CONNECTED_TOOLTIP_CLOSED;this.arrowElement=null;this.hoverTimer=null;this.isHovered=!1;this.openDelay=0;this.closeDelay=0;this.floatingUICleanupFunction=null;this.shouldSuppressOpening=!1;this.parseTrigger=()=>{var c;let a=(((c=this.trigger)==null?void 0:c.split(" "))||[]).filter(m=>Object.values(li).includes(m)).length>0?this.trigger:_t.TRIGGER;a==="mouseenter"&&(this.interactive?a="mouseenter click":a="mouseenter focusin"),this.trigger=a};this.setupTriggerListeners=()=>{if(this.trigger.includes("click")&&document.addEventListener("click",this.togglePopoverVisible,{capture:!0}),this.trigger.includes("mouseenter")){let t=this.renderRoot.querySelector(".popover-hover-bridge");t==null||t.addEventListener("mouseenter",this.show),document.addEventListener("mouseenter",this.handleMouseEnter,{capture:!0}),document.addEventListener("mouseleave",this.handleMouseLeave,{capture:!0}),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay)}this.trigger.includes("focusin")&&(document.addEventListener("focusin",this.handleFocusIn,{capture:!0}),this.interactive||document.addEventListener("focusout",this.handleFocusOut,{capture:!0}))};this.removeTriggerListeners=()=>{document.removeEventListener("click",this.togglePopoverVisible,{capture:!0});let t=this.renderRoot.querySelector(".popover-hover-bridge");t==null||t.removeEventListener("mouseenter",this.show),document.removeEventListener("mouseenter",this.handleMouseEnter,{capture:!0}),document.removeEventListener("mouseleave",this.handleMouseLeave,{capture:!0}),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),document.removeEventListener("focusin",this.handleFocusIn,{capture:!0}),document.removeEventListener("focusout",this.handleFocusOut,{capture:!0})};this.removeAllListeners=()=>{this.removeTriggerListeners(),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick,{capture:!0}),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),document.removeEventListener("keydown",this.onEscapeKeydown,{capture:!0})),this.hideOnBlur&&this.removeEventListener("focusout",this.onPopoverFocusOut)};this.onOutsidePopoverClick=t=>{if(Ie.peek()!==this)return;let i=t.composedPath(),a=this.contains(t.target)||i.includes(this.triggerElement)||i.includes(this),c=this.backdropElement?i.includes(this.backdropElement):!1;(!a||c)&&(this.hide(),ci.onClickOutside(this))};this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(this.propagateEventOnEscape||t.stopPropagation(),t.preventDefault(),this.hide(),ci.onEscapeKeyPressed(this))};this.onPopoverFocusOut=t=>{this.contains(t.relatedTarget)||this.hide()};this.handleMouseEnter=t=>{this.isEventFromTrigger(t)&&(this.isHovered=!0,this.show())};this.handleMouseLeave=t=>{this.isEventFromTrigger(t)&&(this.isHovered=!1,this.startCloseDelay())};this.handleFocusOut=t=>{this.isEventFromTrigger(t)&&(this.isHovered||this.hide())};this.handleFocusIn=t=>{var i;this.isEventFromTrigger(t)&&((i=this.triggerElement)!=null&&i.matches(":focus-visible")||this.isHovered)&&this.show()};this.startCloseDelay=()=>{this.interactive?this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay):this.hide()};this.cancelCloseDelay=()=>{this.hoverTimer&&(window.clearTimeout(this.hoverTimer),this.hoverTimer=null)};this.show=()=>{this.visible||this.shouldSuppressOpening||(this.cancelCloseDelay(),this.openDelay>0?setTimeout(()=>{this.visible=!0},this.openDelay):this.visible=!0)};this.hide=()=>{this.closeDelay?setTimeout(()=>{this.visible=!1},this.closeDelay):this.visible=!1};this.togglePopoverVisible=t=>{this.isEventFromTrigger(t)&&(this.visible?this.hide():this.show())};this.positionPopover=()=>{let{triggerElement:t}=this;if(!t)return;let i=!this.boundary||this.boundary==="clippingAncestors"?"clippingAncestors":Array.from(document.querySelectorAll(this.boundary)),a=this.boundaryRoot,c=[ef({boundary:i,rootBoundary:a,padding:this.boundaryPadding})],m=this.offset;if(this.flip&&c.push(rf({boundary:i,rootBoundary:a})),this.size){let b=L=>{this.style.setProperty("--mdc-popover-internal-available-height",`${L}px`)},C=this.renderRoot.querySelector('[part="popover-content"]');c.push(of({boundary:i,rootBoundary:a,apply({availableHeight:L}){C&&(Object.assign(C.style,{maxHeight:`${L}px`,overflowY:"auto"}),b(L))},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector(".popover-arrow"),this.arrowElement)){let b=this.arrowElement.offsetHeight,C=Math.sqrt(2*b**2)/2;m+=C,c.push(sf({element:this.arrowElement,padding:12}))}c.push(tf(m)),this.floatingUICleanupFunction=Ju(t,this,async()=>{let{triggerElement:b}=this;if(!b)return;let{x:C,y:L,middlewareData:W,placement:q}=await af(b,this,{placement:this.placement,middleware:c,strategy:this.strategy});this.utils.updatePopoverStyle(C,L),W.arrow&&this.arrowElement&&this.utils.updateArrowStyle(W.arrow,q),this.trigger.includes("mouseenter")&&this.interactive&&this.utils.setupHoverBridge(q)})};this.utils=new Rl(this),this.parseTrigger(),[this.openDelay,this.closeDelay]=this.utils.setupDelay()}get connectedTooltip(){let t=this.getRootNode().querySelectorAll(`mdc-tooltip[triggerID="${this.triggerID}"]`);return Array.from(t).find(i=>i!==this)}get triggerElement(){return this.getRootNode().querySelector(`[id="${this.triggerID}"]`)}async firstUpdated(t){super.firstUpdated(t),this.style.zIndex=`${this.zIndex}`,this.utils.setupAppendTo(),ci.onCreatedPopover(this)}connectedCallback(){super.connectedCallback(),this.setupTriggerListeners()}async disconnectedCallback(){var t,i;super.disconnectedCallback(),this.removeAllListeners(),(t=this.deactivateFocusTrap)==null||t.call(this),this.deactivatePreventScroll(),this.moveElementBackAfterBackdropRemoval(this.triggerElement),this.removeBackdrop(),(i=this.floatingUICleanupFunction)==null||i.call(this),this.cancelCloseDelay(),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),ci.onDestroyedPopover(this),Ie.remove(this)}async updated(t){if(super.updated(t),t.has("visible")){let i=t.get("visible")||!1;await this.isOpenUpdated(i,this.visible),this.utils.updateAriaExpandedAttribute()}t.has("trigger")&&(this.parseTrigger(),this.removeTriggerListeners(),this.setupTriggerListeners()),t.has("placement")&&this.setAttribute("placement",Object.values(Yt).includes(this.placement)?this.placement:_t.PLACEMENT),t.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),t.has("color")&&this.setAttribute("color",Object.values(To).includes(this.color)?this.color:_t.COLOR),t.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),t.has("append-to")&&this.utils.setupAppendTo(),(t.has("interactive")||t.has("aria-label")||t.has("aria-labelledby"))&&this.utils.updateAriaLabels(),t.has("role")&&(this.role===""&&(this.role=null),this.utils.updateAriaModal()),t.has("disableAriaExpanded")&&this.utils.updateAriaExpandedAttribute(),t.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap(),t.has("preventScroll")&&(!this.preventScroll&&this.visible?this.deactivatePreventScroll():this.preventScroll&&this.visible&&this.activatePreventScroll())}async isOpenUpdated(t,i){var c,m;let{triggerElement:a}=this;t===i||!a||(i&&!this.shouldSuppressOpening?(Ie.peek()!==this&&Ie.push(this),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.visible=!1,this.connectedTooltip.shouldSuppressOpening=!0),this.backdrop&&!this.backdropElement&&(this.createBackdrop("popover"),this.keepElementAboveBackdrop(a)),this.positionPopover(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(a.style.pointerEvents="none")),this.hideOnEscape&&(this.addEventListener("keydown",this.onEscapeKeydown),document.addEventListener("keydown",this.onEscapeKeydown)),this.activatePreventScroll(),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick,{capture:!0}),setTimeout(()=>{var b,C;this.interactive&&this.focusTrap&&((b=this.activateFocusTrap)==null||b.call(this),(C=this.setInitialFocus)==null||C.call(this))},0),ci.onShowPopover(this)):(Ie.peek()===this&&Ie.pop(),(c=this.floatingUICleanupFunction)==null||c.call(this),this.backdrop&&(this.moveElementBackAfterBackdropRemoval(a),this.removeBackdrop()),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(a.style.pointerEvents="")),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick,{capture:!0}),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),document.removeEventListener("keydown",this.onEscapeKeydown)),this.deactivatePreventScroll(),(m=this.deactivateFocusTrap)==null||m.call(this),this.focusBackToTrigger&&(a==null||a.focus()),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),ci.onHidePopover(this)))}isEventFromTrigger(t){var i;return this.triggerID?t.composed?t.composedPath().some(a=>(a==null?void 0:a.id)===this.triggerID):((i=t.target)==null?void 0:i.id)===this.triggerID:!1}render(){return I`
2343
2343
  <div class="popover-hover-bridge"></div>
2344
2344
  ${this.closeButton?I` <mdc-button
2345
2345
  class="popover-close"
@@ -2353,7 +2353,7 @@
2353
2353
  <div part="popover-content">
2354
2354
  <slot></slot>
2355
2355
  </div>
2356
- `}};It.styles=[...q.styles,...df],p([u({type:String,reflect:!0})],It.prototype,"id",2),p([u({type:String,reflect:!0})],It.prototype,"triggerID",2),p([u({type:String,reflect:!0})],It.prototype,"trigger",2),p([u({type:String,reflect:!0})],It.prototype,"placement",2),p([u({type:String,reflect:!0})],It.prototype,"color",2),p([u({type:Boolean,reflect:!0})],It.prototype,"visible",2),p([u({type:Number,reflect:!0})],It.prototype,"offset",2),p([u({type:String,reflect:!0,attribute:"boundary"})],It.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"boundary-root"})],It.prototype,"boundaryRoot",2),p([u({type:Number,reflect:!0,attribute:"boundary-padding"})],It.prototype,"boundaryPadding",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],It.prototype,"focusTrap",2),p([u({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],It.prototype,"preventScroll",2),p([u({type:Boolean,reflect:!0,attribute:"show-arrow"})],It.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],It.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0})],It.prototype,"interactive",2),p([u({type:String,reflect:!0})],It.prototype,"delay",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],It.prototype,"hideOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"propagate-event-on-escape"})],It.prototype,"propagateEventOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],It.prototype,"hideOnBlur",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],It.prototype,"hideOnOutsideClick",2),p([u({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],It.prototype,"focusBackToTrigger",2),p([u({type:Boolean,reflect:!0})],It.prototype,"backdrop",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],It.prototype,"backdropAppendTo",2),p([u({type:Boolean,reflect:!0,attribute:"is-backdrop-invisible"})],It.prototype,"isBackdropInvisible",2),p([u({type:Boolean,reflect:!0})],It.prototype,"flip",2),p([u({type:Boolean,reflect:!0})],It.prototype,"size",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],It.prototype,"zIndex",2),p([u({type:String,reflect:!0,attribute:"append-to"})],It.prototype,"appendTo",2),p([u({type:String,attribute:"close-button-aria-label",reflect:!0})],It.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0})],It.prototype,"strategy",2),p([u({type:String,reflect:!0})],It.prototype,"role",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],It.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],It.prototype,"ariaDescribedby",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],It.prototype,"disableAriaExpanded",2),p([u({type:Boolean,reflect:!0,attribute:"keep-connected-tooltip-closed"})],It.prototype,"keepConnectedTooltipClosed",2);var Fe=It;var cf=B.constructTagName("toggletip"),To={CLOSE_BUTTON:!0,CLOSE_BUTTON_ARIA_LABEL:"Close",OFFSET:4,PLACEMENT:Yt.TOP,CLICK:ni.CLICK,SHOW_ARROW:!0};var KE=z`
2356
+ `}};It.styles=[...K.styles,...lf],p([u({type:String,reflect:!0})],It.prototype,"id",2),p([u({type:String,reflect:!0})],It.prototype,"triggerID",2),p([u({type:String,reflect:!0})],It.prototype,"trigger",2),p([u({type:String,reflect:!0})],It.prototype,"placement",2),p([u({type:String,reflect:!0})],It.prototype,"color",2),p([u({type:Boolean,reflect:!0})],It.prototype,"visible",2),p([u({type:Number,reflect:!0})],It.prototype,"offset",2),p([u({type:String,reflect:!0,attribute:"boundary"})],It.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"boundary-root"})],It.prototype,"boundaryRoot",2),p([u({type:Number,reflect:!0,attribute:"boundary-padding"})],It.prototype,"boundaryPadding",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],It.prototype,"focusTrap",2),p([u({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],It.prototype,"preventScroll",2),p([u({type:Boolean,reflect:!0,attribute:"show-arrow"})],It.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],It.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0})],It.prototype,"interactive",2),p([u({type:String,reflect:!0})],It.prototype,"delay",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],It.prototype,"hideOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"propagate-event-on-escape"})],It.prototype,"propagateEventOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],It.prototype,"hideOnBlur",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],It.prototype,"hideOnOutsideClick",2),p([u({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],It.prototype,"focusBackToTrigger",2),p([u({type:Boolean,reflect:!0})],It.prototype,"backdrop",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],It.prototype,"backdropAppendTo",2),p([u({type:Boolean,reflect:!0,attribute:"is-backdrop-invisible"})],It.prototype,"isBackdropInvisible",2),p([u({type:Boolean,reflect:!0})],It.prototype,"flip",2),p([u({type:Boolean,reflect:!0})],It.prototype,"size",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],It.prototype,"zIndex",2),p([u({type:String,reflect:!0,attribute:"append-to"})],It.prototype,"appendTo",2),p([u({type:String,attribute:"close-button-aria-label",reflect:!0})],It.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0})],It.prototype,"strategy",2),p([u({type:String,reflect:!0})],It.prototype,"role",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],It.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],It.prototype,"ariaDescribedby",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],It.prototype,"disableAriaExpanded",2),p([u({type:Boolean,reflect:!0,attribute:"keep-connected-tooltip-closed"})],It.prototype,"keepConnectedTooltipClosed",2);var $e=It;var cf=B.constructTagName("toggletip"),xo={CLOSE_BUTTON:!0,CLOSE_BUTTON_ARIA_LABEL:"Close",OFFSET:4,PLACEMENT:Yt.TOP,CLICK:li.CLICK,SHOW_ARROW:!0};var qE=V`
2357
2357
  :host {
2358
2358
  --mdc-toggletip-max-width: 400px;
2359
2359
  --mdc-toggletip-text-color: var(--mds-color-theme-text-primary-normal);
@@ -2383,7 +2383,7 @@
2383
2383
  :host([close-button]:dir(rtl))::part(popover-content) {
2384
2384
  margin-left: 2rem;
2385
2385
  }
2386
- `,hf=[KE];var Di=class extends Fe{constructor(){super(...arguments);this.currentAnnouncement="";this.placement=To.PLACEMENT}connectedCallback(){var t;super.connectedCallback(),this.closeButton=(t=this.closeButton)!=null?t:To.CLOSE_BUTTON,this.closeButtonAriaLabel=To.CLOSE_BUTTON_ARIA_LABEL,this.trigger=To.CLICK,this.showArrow=To.SHOW_ARROW,this.interactive=!0,this.backdrop=!0,this.hideOnBlur=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0}getToggleTipText(){var t,i;return((i=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:i.trim())||""}onPlacementUpdated(){Object.values(Yt).includes(this.placement)||(this.placement=To.PLACEMENT)}update(t){super.update(t),t.has("placement")&&this.onPlacementUpdated(),t.has("visible")&&(this.currentAnnouncement=this.visible?this.getToggleTipText():"")}render(){return I`
2386
+ `,df=[qE];var Fi=class extends $e{constructor(){super(...arguments);this.currentAnnouncement="";this.placement=xo.PLACEMENT}connectedCallback(){var t;super.connectedCallback(),this.closeButton=(t=this.closeButton)!=null?t:xo.CLOSE_BUTTON,this.closeButtonAriaLabel=xo.CLOSE_BUTTON_ARIA_LABEL,this.trigger=xo.CLICK,this.showArrow=xo.SHOW_ARROW,this.interactive=!0,this.backdrop=!0,this.hideOnBlur=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0}getToggleTipText(){var t,i;return((i=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:i.trim())||""}onPlacementUpdated(){Object.values(Yt).includes(this.placement)||(this.placement=xo.PLACEMENT)}update(t){super.update(t),t.has("placement")&&this.onPlacementUpdated(),t.has("visible")&&(this.currentAnnouncement=this.visible?this.getToggleTipText():"")}render(){return I`
2387
2387
  ${super.render()}
2388
2388
  <mdc-screenreaderannouncer
2389
2389
  identity="${rt(this.screenreaderAnnouncerIdentity)}"
@@ -2391,12 +2391,12 @@
2391
2391
  delay="300"
2392
2392
  >
2393
2393
  </mdc-screenreaderannouncer>
2394
- `}};Di.styles=[...Fe.styles,...hf],p([Bn()],Di.prototype,"defaultSlotNodes",2),p([gt()],Di.prototype,"currentAnnouncement",2),p([u({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],Di.prototype,"screenreaderAnnouncerIdentity",2),p([u({type:String,reflect:!0})],Di.prototype,"placement",2);var Cc=Di;var pf=B.constructTagName("screenreaderannouncer"),XE={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},vs={ARIA_LIVE:XE.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4};var ZE=[z`
2394
+ `}};Fi.styles=[...$e.styles,...df],p([Bn()],Fi.prototype,"defaultSlotNodes",2),p([gt()],Fi.prototype,"currentAnnouncement",2),p([u({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],Fi.prototype,"screenreaderAnnouncerIdentity",2),p([u({type:String,reflect:!0})],Fi.prototype,"placement",2);var Cd=Fi;var hf=B.constructTagName("screenreaderannouncer"),XE={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},gs={ARIA_LIVE:XE.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4};var ZE=[V`
2395
2395
  :host {
2396
2396
  display: none;
2397
2397
  visibility: hidden;
2398
2398
  }
2399
- `],mf=ZE;var di=class extends q{constructor(){super(...arguments);this.announcement="";this.identity="";this.dataAriaLive=vs.ARIA_LIVE;this.delay=vs.DELAY;this.timeout=vs.TIMEOUT;this.timeOutIds=[];this.ariaLiveAnnouncementIds=[]}announce(t,i,a,d){var m;if(t.length>0){let b=`mdc-screenreaderannouncer-announcement-${Se()}`,C=document.createElement("div");C.id=b,C.ariaLive=d,(m=document.getElementById(this.identity))==null||m.appendChild(C);let M=window.setTimeout(()=>{let W=document.createElement("p");W.textContent=t,C.appendChild(W),this.ariaLiveAnnouncementIds.push(b);let K=window.setTimeout(()=>{var it;(it=document.getElementById(b))==null||it.remove()},a);this.timeOutIds.push(K)},i);this.timeOutIds.push(M)}}clearTimeOutsAndAnnouncements(){this.timeOutIds.forEach(t=>{window.clearTimeout(t)}),this.ariaLiveAnnouncementIds.forEach(t=>{var i;(i=document.getElementById(t))==null||i.remove()})}createAnnouncementAriaLiveRegion(){let t=document.getElementById(this.identity);if(!t){t=document.createElement("div"),t.id=this.identity;let i=document.createElement("style");i.textContent=`
2399
+ `],pf=ZE;var di=class extends K{constructor(){super(...arguments);this.announcement="";this.identity="";this.dataAriaLive=gs.ARIA_LIVE;this.delay=gs.DELAY;this.timeout=gs.TIMEOUT;this.timeOutIds=[];this.ariaLiveAnnouncementIds=[]}announce(t,i,a,c){var m;if(t.length>0){let b=`mdc-screenreaderannouncer-announcement-${Ae()}`,C=document.createElement("div");C.id=b,C.ariaLive=c,(m=document.getElementById(this.identity))==null||m.appendChild(C);let L=window.setTimeout(()=>{let W=document.createElement("p");W.textContent=t,C.appendChild(W),this.ariaLiveAnnouncementIds.push(b);let q=window.setTimeout(()=>{var it;(it=document.getElementById(b))==null||it.remove()},a);this.timeOutIds.push(q)},i);this.timeOutIds.push(L)}}clearTimeOutsAndAnnouncements(){this.timeOutIds.forEach(t=>{window.clearTimeout(t)}),this.ariaLiveAnnouncementIds.forEach(t=>{var i;(i=document.getElementById(t))==null||i.remove()})}createAnnouncementAriaLiveRegion(){let t=document.getElementById(this.identity);if(!t){t=document.createElement("div"),t.id=this.identity;let i=document.createElement("style");i.textContent=`
2400
2400
  .mdc-screenreaderannouncer__visually-hidden {
2401
2401
  clip: rect(0 0 0 0);
2402
2402
  clip-path: inset(50%);
@@ -2406,7 +2406,7 @@
2406
2406
  white-space: nowrap;
2407
2407
  width: 1px;
2408
2408
  }
2409
- `,t.appendChild(i),t.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(t)}}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=vs.IDENTITY),this.createAnnouncementAriaLiveRegion()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements()}updated(t){t.has("identity")&&this.identity.length===0&&(this.identity=vs.IDENTITY,this.createAnnouncementAriaLiveRegion()),t.has("announcement")&&this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")}};di.styles=[...q.styles,...mf],p([u({type:String,reflect:!0})],di.prototype,"announcement",2),p([u({type:String,reflect:!0})],di.prototype,"identity",2),p([u({type:String,reflect:!0,attribute:"data-aria-live"})],di.prototype,"dataAriaLive",2),p([u({type:Number,reflect:!0})],di.prototype,"delay",2),p([u({type:Number,reflect:!0})],di.prototype,"timeout",2);var kc=di;kc.register(pf);var QE=kc;Cc.register(cf);var JE=Cc;var Ee=n=>{class o extends n{constructor(){super(...arguments);this.name="";this.value="";this.internals=this.attachInternals()}get form(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}setValidity(){this.inputElement&&this.internals.setValidity(this.inputElement.validity,this.inputElement.validationMessage,this.inputElement)}checkValidity(){return this.setValidity(),this.internals.checkValidity()}reportValidity(){return this.setValidity(),this.internals.reportValidity()}}return o.formAssociated=!0,p([u({reflect:!0,type:String})],o.prototype,"name",2),p([u({reflect:!0,type:String})],o.prototype,"value",2),p([u({reflect:!0,type:String,attribute:"validation-message"})],o.prototype,"validationMessage",2),p([tr("input")],o.prototype,"inputElement",2),o};var uf=B.constructTagName("formfieldwrapper"),zt={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Mt={VALIDATION:zt.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top"},La={TAGNAME:mt.SPAN,TYPE:st.BODY_MIDSIZE_REGULAR,HEADER_TYPE:st.BODY_MIDSIZE_BOLD};var tT=[bt,z`
2409
+ `,t.appendChild(i),t.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(t)}}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=gs.IDENTITY),this.createAnnouncementAriaLiveRegion()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements()}updated(t){t.has("identity")&&this.identity.length===0&&(this.identity=gs.IDENTITY,this.createAnnouncementAriaLiveRegion()),t.has("announcement")&&this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")}};di.styles=[...K.styles,...pf],p([u({type:String,reflect:!0})],di.prototype,"announcement",2),p([u({type:String,reflect:!0})],di.prototype,"identity",2),p([u({type:String,reflect:!0,attribute:"data-aria-live"})],di.prototype,"dataAriaLive",2),p([u({type:Number,reflect:!0})],di.prototype,"delay",2),p([u({type:Number,reflect:!0})],di.prototype,"timeout",2);var kd=di;kd.register(hf);var QE=kd;Cd.register(cf);var JE=Cd;var Ee=n=>{class o extends n{constructor(){super(...arguments);this.name="";this.value="";this.internals=this.attachInternals()}get form(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}setValidity(){this.inputElement&&this.internals.setValidity(this.inputElement.validity,this.inputElement.validationMessage,this.inputElement)}checkValidity(){return this.setValidity(),this.internals.checkValidity()}reportValidity(){return this.setValidity(),this.internals.reportValidity()}}return o.formAssociated=!0,p([u({reflect:!0,type:String})],o.prototype,"name",2),p([u({reflect:!0,type:String})],o.prototype,"value",2),p([u({reflect:!0,type:String,attribute:"validation-message"})],o.prototype,"validationMessage",2),p([tr("input")],o.prototype,"inputElement",2),o};var mf=B.constructTagName("formfieldwrapper"),Vt={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Mt={VALIDATION:Vt.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top"},Ma={TAGNAME:mt.SPAN,TYPE:st.BODY_MIDSIZE_REGULAR,HEADER_TYPE:st.BODY_MIDSIZE_BOLD};var tT=[bt,V`
2410
2410
  :host {
2411
2411
  flex-direction: column;
2412
2412
  align-items: flex-start;
@@ -2465,18 +2465,18 @@
2465
2465
  :host([help-text-type='priority']) .mdc-help-text {
2466
2466
  color: var(--mds-color-theme-text-accent-normal);
2467
2467
  }
2468
- `],ff=tT;var vf=n=>({[zt.ERROR]:"error-legacy-badge-filled",[zt.WARNING]:"warning-badge-filled",[zt.SUCCESS]:"check-circle-badge-filled",[zt.PRIORITY]:"priority-badge-filled",[zt.DEFAULT]:""})[n]||"";var Ar=class extends Vt(q){constructor(){super(...arguments);this.inputId=`mdc-el-${Se()}`;this.required=!1;this.helpTextType=Mt.VALIDATION;this.toggletipPlacement=Mt.TOGGLETIP_PLACEMENT;this.shouldRenderLabel=!0}renderLabelElement(){return this.label?this.shouldRenderLabel?I`<label for="${this.inputId}" id="${Mt.HEADING_ID}" class="mdc-label" part="label">${this.label}</label>`:I` <mdc-text
2468
+ `],uf=tT;var ff=n=>({[Vt.ERROR]:"error-legacy-badge-filled",[Vt.WARNING]:"warning-badge-filled",[Vt.SUCCESS]:"check-circle-badge-filled",[Vt.PRIORITY]:"priority-badge-filled",[Vt.DEFAULT]:""})[n]||"";var xr=class extends zt(K){constructor(){super(...arguments);this.inputId=`mdc-el-${Ae()}`;this.required=!1;this.helpTextType=Mt.VALIDATION;this.toggletipPlacement=Mt.TOGGLETIP_PLACEMENT;this.shouldRenderLabel=!0}renderLabelElement(){return this.label?this.shouldRenderLabel?I`<label for="${this.inputId}" id="${Mt.HEADING_ID}" class="mdc-label" part="label">${this.label}</label>`:I` <mdc-text
2469
2469
  id="${Mt.HEADING_ID}"
2470
- tagname="${La.TAGNAME}"
2471
- type="${La.HEADER_TYPE}"
2470
+ tagname="${Ma.TAGNAME}"
2471
+ type="${Ma.HEADER_TYPE}"
2472
2472
  part="label"
2473
2473
  >${this.label}</mdc-text
2474
- >`:j}renderHelpTextIcon(){if(!this.helpText)return j;let t=vf(this.helpTextType||Mt.VALIDATION);return t&&!this.disabled?I`<mdc-icon part="helper-icon" size="1" length-unit="rem" name=${t}></mdc-icon>`:j}renderHelpText(){return this.helpText?I`
2474
+ >`:j}renderHelpTextIcon(){if(!this.helpText)return j;let t=ff(this.helpTextType||Mt.VALIDATION);return t&&!this.disabled?I`<mdc-icon part="helper-icon" size="1" length-unit="rem" name=${t}></mdc-icon>`:j}renderHelpText(){return this.helpText?I`
2475
2475
  <mdc-text
2476
2476
  id="${Mt.HELPER_TEXT_ID}"
2477
2477
  part="help-text"
2478
- tagname=${La.TAGNAME}
2479
- type=${La.TYPE}
2478
+ tagname=${Ma.TAGNAME}
2479
+ type=${Ma.TYPE}
2480
2480
  >
2481
2481
  ${this.helpText}
2482
2482
  </mdc-text>
@@ -2502,7 +2502,7 @@
2502
2502
  </div>`:j}renderHelperText(){return this.helpText?I`<div class="mdc-help-text" part="help-text">
2503
2503
  <slot name="help-icon">${this.renderHelpTextIcon()}</slot>
2504
2504
  <slot name="help-text">${this.renderHelpText()}</slot>
2505
- </div>`:j}};Ar.styles=[...q.styles,...ff],p([u({reflect:!0,type:String})],Ar.prototype,"label",2),p([u({type:Boolean,reflect:!0,attribute:"required"})],Ar.prototype,"required",2),p([u({reflect:!0,attribute:"help-text-type"})],Ar.prototype,"helpTextType",2),p([u({type:String,reflect:!0,attribute:"help-text"})],Ar.prototype,"helpText",2),p([u({type:String,reflect:!0,attribute:"toggletip-text"})],Ar.prototype,"toggletipText",2),p([u({type:String,reflect:!0,attribute:"toggletip-placement"})],Ar.prototype,"toggletipPlacement",2),p([u({type:String,reflect:!0,attribute:"info-icon-aria-label"})],Ar.prototype,"infoIconAriaLabel",2);var oe=Ar;var eT=[z`
2505
+ </div>`:j}};xr.styles=[...K.styles,...uf],p([u({reflect:!0,type:String})],xr.prototype,"label",2),p([u({type:Boolean,reflect:!0,attribute:"required"})],xr.prototype,"required",2),p([u({reflect:!0,attribute:"help-text-type"})],xr.prototype,"helpTextType",2),p([u({type:String,reflect:!0,attribute:"help-text"})],xr.prototype,"helpText",2),p([u({type:String,reflect:!0,attribute:"toggletip-text"})],xr.prototype,"toggletipText",2),p([u({type:String,reflect:!0,attribute:"toggletip-placement"})],xr.prototype,"toggletipPlacement",2),p([u({type:String,reflect:!0,attribute:"info-icon-aria-label"})],xr.prototype,"infoIconAriaLabel",2);var se=xr;var eT=[V`
2506
2506
  :host {
2507
2507
  --mdc-checkbox-background-color-hover: var(--mds-color-theme-control-inactive-hover);
2508
2508
  --mdc-checkbox-pressed-icon-color: var(--mds-color-theme-control-inactive-pressed);
@@ -2574,7 +2574,7 @@
2574
2574
  flex-direction: column;
2575
2575
  gap: 0.25rem;
2576
2576
  }
2577
- `,...St(!0)],gf=eT;var xo=class extends ge(Ee(Ut(oe))){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.autofocus=!1;this.renderLabelAndHelperText=()=>this.label?I`<div class="text-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:j}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setFormValue(){let t=null;this.checked?t=this.value?this.value:"on":t=null,this.manageRequired(),this.internals.setFormValue(t)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.checked=!1,this.indeterminate=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}toggleState(){this.disabled||(this.checked=!this.checked,this.indeterminate=!1)}handleKeyDown(t){var i;t.key===Z.ENTER&&((i=this.form)==null||i.requestSubmit())}handleChange(t){this.toggleState();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}update(t){super.update(t),t.has("checked")&&this.setFormValue()}render(){var t;return I`
2577
+ `,...St(!0)],vf=eT;var Ao=class extends ge(Ee(Ut(se))){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.autofocus=!1;this.renderLabelAndHelperText=()=>this.label?I`<div class="text-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:j}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setFormValue(){let t=null;this.checked?t=this.value?this.value:"on":t=null,this.manageRequired(),this.internals.setFormValue(t)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.checked=!1,this.indeterminate=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}toggleState(){this.disabled||(this.checked=!this.checked,this.indeterminate=!1)}handleKeyDown(t){var i;t.key===Q.ENTER&&((i=this.form)==null||i.requestSubmit())}handleChange(t){this.toggleState();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}update(t){super.update(t),t.has("checked")&&this.setFormValue()}render(){var t;return I`
2578
2578
  <mdc-staticcheckbox
2579
2579
  class="mdc-focus-ring"
2580
2580
  ?checked="${this.checked}"
@@ -2600,7 +2600,7 @@
2600
2600
  />
2601
2601
  </mdc-staticcheckbox>
2602
2602
  ${this.renderLabelAndHelperText()}
2603
- `}};xo.styles=[...oe.styles,...gf],p([u({type:Boolean,reflect:!0})],xo.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],xo.prototype,"indeterminate",2),p([u({type:Boolean,reflect:!0})],xo.prototype,"autofocus",2);var wc=xo;wc.register(Su);var rT=wc;var bf=B.constructTagName("staticchip"),Nc={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",ORANGE:"orange",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},Ol={COLOR:Nc.DEFAULT,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN};var iT=z`
2603
+ `}};Ao.styles=[...se.styles,...vf],p([u({type:Boolean,reflect:!0})],Ao.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Ao.prototype,"indeterminate",2),p([u({type:Boolean,reflect:!0})],Ao.prototype,"autofocus",2);var wd=Ao;wd.register(Au);var rT=wd;var gf=B.constructTagName("staticchip"),Nd={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",ORANGE:"orange",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},Ol={COLOR:Nd.DEFAULT,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN};var iT=V`
2604
2604
  :host {
2605
2605
  height: 1.5rem;
2606
2606
  gap: 0.25rem;
@@ -2662,12 +2662,12 @@
2662
2662
  --mdc-chip-border-color: var(--mds-color-theme-outline-label-violet);
2663
2663
  --mdc-chip-background-color: var(--mds-color-theme-background-label-violet-normal);
2664
2664
  }
2665
- `,yf=[bt,iT];var gs=class extends qt(q){constructor(){super(...arguments);this.color=Ol.COLOR;this.label=""}renderIcon(){return this.iconName?I` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return I`
2665
+ `,bf=[bt,iT];var bs=class extends Kt(K){constructor(){super(...arguments);this.color=Ol.COLOR;this.label=""}renderIcon(){return this.iconName?I` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return I`
2666
2666
  ${this.renderIcon()}
2667
2667
  ${this.label?I`<mdc-text part="label" type="${Ol.TEXT_TYPE}" tagname="${Ol.TAG_NAME}"
2668
2668
  >${this.label}</mdc-text
2669
2669
  >`:j}
2670
- `}};gs.styles=[...q.styles,...yf],p([u({type:String,reflect:!0})],gs.prototype,"color",2),p([u({type:String})],gs.prototype,"label",2);var Ra=gs;var Ef=B.constructTagName("chip"),bs={COLOR:Nc.DEFAULT,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:ao[24],ROLE:et.BUTTON};var oT=z`
2670
+ `}};bs.styles=[...K.styles,...bf],p([u({type:String,reflect:!0})],bs.prototype,"color",2),p([u({type:String})],bs.prototype,"label",2);var Ra=bs;var yf=B.constructTagName("chip"),ys={COLOR:Nd.DEFAULT,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:no[24],ROLE:et.BUTTON};var oT=V`
2671
2671
  :host {
2672
2672
  cursor: pointer;
2673
2673
  height: 1.5rem;
@@ -2761,12 +2761,12 @@
2761
2761
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
2762
2762
  cursor: auto;
2763
2763
  }
2764
- `,Tf=[bt,oT,...St()];var ys=class extends qt(re){constructor(){super(...arguments);this.color=bs.COLOR;this.label=""}connectedCallback(){super.connectedCallback(),this.role=bs.ROLE,this.size=bs.SIZE,this.active=void 0,this.softDisabled=void 0}renderIcon(){return this.iconName?I` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return I`
2764
+ `,Ef=[bt,oT,...St()];var Es=class extends Kt(ie){constructor(){super(...arguments);this.color=ys.COLOR;this.label=""}connectedCallback(){super.connectedCallback(),this.role=ys.ROLE,this.size=ys.SIZE,this.active=void 0,this.softDisabled=void 0}renderIcon(){return this.iconName?I` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return I`
2765
2765
  ${this.renderIcon()}
2766
- ${this.label?I`<mdc-text part="label" type="${bs.TEXT_TYPE}" tagname="${bs.TAG_NAME}"
2766
+ ${this.label?I`<mdc-text part="label" type="${ys.TEXT_TYPE}" tagname="${ys.TAG_NAME}"
2767
2767
  >${this.label}</mdc-text
2768
2768
  >`:j}
2769
- `}};ys.styles=[...Ra.styles,...Tf],p([u({type:String,reflect:!0})],ys.prototype,"color",2),p([u({type:String})],ys.prototype,"label",2);var Es=ys;Es.register(Ef);var sT=Es;var xf=B.constructTagName("coachmark"),Ao={COLOR:Eo.CONTRAST,TRIGGER:ni.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var So=class extends Fe{constructor(){super(...arguments);this.trigger=Ao.TRIGGER;this.showArrow=Ao.ARROW;this.closeButton=Ao.CLOSE_BUTTON;this.disableAriaExpanded=Ao.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=Ao.COLOR,this.showArrow=Ao.ARROW}};p([u({type:String,reflect:!0})],So.prototype,"trigger",2),p([u({type:Boolean,attribute:"show-arrow"})],So.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],So.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],So.prototype,"disableAriaExpanded",2);var Lc=So;Lc.register(xf);var aT=Lc;var Af=B.constructTagName("dialog"),nT={DEFAULT:"default",PROMOTIONAL:"promotional"},nr={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:nT.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var $i=class{static dispatchDialogEvent(o,t,i=!0){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:i}))}static onShowDialog(o){this.dispatchDialogEvent("shown",o)}static onHideDialog(o){this.dispatchDialogEvent("hidden",o)}static onCloseDialog(o,t=!0){this.dispatchDialogEvent("close",o,t)}static onCreatedDialog(o){this.dispatchDialogEvent("created",o)}static onDestroyedDialog(o){this.dispatchDialogEvent("destroyed",o)}};var lT=z`
2769
+ `}};Es.styles=[...Ra.styles,...Ef],p([u({type:String,reflect:!0})],Es.prototype,"color",2),p([u({type:String})],Es.prototype,"label",2);var Ts=Es;Ts.register(yf);var sT=Ts;var Tf=B.constructTagName("coachmark"),So={COLOR:To.CONTRAST,TRIGGER:li.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var _o=class extends $e{constructor(){super(...arguments);this.trigger=So.TRIGGER;this.showArrow=So.ARROW;this.closeButton=So.CLOSE_BUTTON;this.disableAriaExpanded=So.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=So.COLOR,this.showArrow=So.ARROW}};p([u({type:String,reflect:!0})],_o.prototype,"trigger",2),p([u({type:Boolean,attribute:"show-arrow"})],_o.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],_o.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],_o.prototype,"disableAriaExpanded",2);var Ld=_o;Ld.register(Tf);var aT=Ld;var xf=B.constructTagName("dialog"),nT={DEFAULT:"default",PROMOTIONAL:"promotional"},nr={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:nT.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var $i=class{static dispatchDialogEvent(o,t,i=!0){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:i}))}static onShowDialog(o){this.dispatchDialogEvent("shown",o)}static onHideDialog(o){this.dispatchDialogEvent("hidden",o)}static onCloseDialog(o,t=!0){this.dispatchDialogEvent("close",o,t)}static onCreatedDialog(o){this.dispatchDialogEvent("created",o)}static onDestroyedDialog(o){this.dispatchDialogEvent("destroyed",o)}};var lT=V`
2770
2770
  :host {
2771
2771
  --mdc-dialog-primary-background-color: var(--mds-color-theme-background-solid-primary-normal);
2772
2772
  --mdc-dialog-border-color: var(--mds-color-theme-outline-secondary-normal);
@@ -2888,7 +2888,7 @@
2888
2888
  mdc-text::part(text) {
2889
2889
  margin: 0;
2890
2890
  }
2891
- `,Sf=[lT];var Ht=class extends Nl(Rl(Ll(ns(q)))){constructor(){super(...arguments);this.id="";this.visible=nr.VISIBLE;this.zIndex=nr.Z_INDEX;this.size=nr.SIZE;this.variant=nr.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedBy=null;this.ariaDescription=null;this.headerTagName=nr.HEADER_TAG_NAME;this.descriptionTagName=nr.DESCRIPTION_TAG_NAME;this.role=nr.ROLE;this.disableAriaHasPopup=nr.DISABLE_ARIA_HAS_POPUP;this.focusTrap=nr.FOCUS_TRAP;this.preventScroll=!0;this.triggerElement=null;this.lastActiveElement=null;this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(t.preventDefault(),t.stopPropagation(),this.closeDialog())}}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onEscapeKeydown.bind(this))}disconnectedCallback(){var t,i;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),this.removeBackdrop(),(t=this.triggerElement)==null||t.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(i=this.deactivateFocusTrap)==null||i.call(this),this.focusBackToTrigger(),$i.onDestroyedDialog(this)}applyZIndex(){var t;this.style.setProperty("z-index",`${this.zIndex}`),(t=this.backdropElement)==null||t.style.setProperty("z-index",`${this.zIndex-1}`)}async firstUpdated(t){super.firstUpdated(t),this.setAttribute("aria-modal","true"),this.setupAriaLabelledDescribedBy(),this.applyZIndex(),$i.onCreatedDialog(this)}async updated(t){if(super.updated(t),t.has("triggerId")&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerId}"]`),this.setupAriaHasPopup()),t.has("visible")){let i=t.get("visible");await this.isOpenUpdated(i,this.visible)}t.has("zIndex")&&(this.zIndex===null&&(this.zIndex=nr.Z_INDEX),this.applyZIndex()),t.has("variant")&&this.updateFooterButtonColors(this.variant),(t.has("ariaLabel")||t.has("ariaLabelledBy")||t.has("ariaDescribedBy")||t.has("ariaDescription")||t.has("headerText")||t.has("descriptionText"))&&this.setupAriaLabelledDescribedBy(),t.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap()}setupAriaHasPopup(){var t,i;this.disableAriaHasPopup||(i=this.triggerElement)==null||i.setAttribute("aria-haspopup",((t=this.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||"dialog")}setupAriaLabelledDescribedBy(){!this.ariaLabelledby&&!this.ariaLabel&&(this.headerText?this.setAttribute("aria-label",this.headerText):this.triggerId&&this.setAttribute("aria-labelledby",this.triggerId)),!this.ariaDescribedBy&&!this.ariaDescription&&(this.descriptionText?this.setAttribute("aria-description",this.descriptionText):this.triggerId&&this.setAttribute("aria-describedby",this.triggerId))}closeDialog(){$i.onCloseDialog(this,!1)}async isOpenUpdated(t,i){var a,d,m,b,C;t!==i&&(i&&!t?(this.lastActiveElement=document.activeElement,this.removeBackdrop(),this.createBackdrop("dialog"),this.activatePreventScroll(),await this.updateComplete,this.focusTrap&&((a=this.activateFocusTrap)==null||a.call(this)),(d=this.setInitialFocus)==null||d.call(this),(m=this.triggerElement)==null||m.setAttribute("aria-expanded","true"),$i.onShowDialog(this)):!i&&t&&(this.removeBackdrop(),(b=this.triggerElement)==null||b.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(C=this.deactivateFocusTrap)==null||C.call(this),this.focusBackToTrigger(),$i.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}render(){return I`
2891
+ `,Af=[lT];var Ht=class extends Nl(Ml(Ll(ls(K)))){constructor(){super(...arguments);this.id="";this.visible=nr.VISIBLE;this.zIndex=nr.Z_INDEX;this.size=nr.SIZE;this.variant=nr.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedBy=null;this.ariaDescription=null;this.headerTagName=nr.HEADER_TAG_NAME;this.descriptionTagName=nr.DESCRIPTION_TAG_NAME;this.role=nr.ROLE;this.disableAriaHasPopup=nr.DISABLE_ARIA_HAS_POPUP;this.focusTrap=nr.FOCUS_TRAP;this.preventScroll=!0;this.triggerElement=null;this.lastActiveElement=null;this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(t.preventDefault(),t.stopPropagation(),this.closeDialog())}}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onEscapeKeydown.bind(this))}disconnectedCallback(){var t,i;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),this.removeBackdrop(),(t=this.triggerElement)==null||t.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(i=this.deactivateFocusTrap)==null||i.call(this),this.focusBackToTrigger(),$i.onDestroyedDialog(this)}applyZIndex(){var t;this.style.setProperty("z-index",`${this.zIndex}`),(t=this.backdropElement)==null||t.style.setProperty("z-index",`${this.zIndex-1}`)}async firstUpdated(t){super.firstUpdated(t),this.setAttribute("aria-modal","true"),this.setupAriaLabelledDescribedBy(),this.applyZIndex(),$i.onCreatedDialog(this)}async updated(t){if(super.updated(t),t.has("triggerId")&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerId}"]`),this.setupAriaHasPopup()),t.has("visible")){let i=t.get("visible");await this.isOpenUpdated(i,this.visible)}t.has("zIndex")&&(this.zIndex===null&&(this.zIndex=nr.Z_INDEX),this.applyZIndex()),t.has("variant")&&this.updateFooterButtonColors(this.variant),(t.has("ariaLabel")||t.has("ariaLabelledBy")||t.has("ariaDescribedBy")||t.has("ariaDescription")||t.has("headerText")||t.has("descriptionText"))&&this.setupAriaLabelledDescribedBy(),t.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap()}setupAriaHasPopup(){var t,i;this.disableAriaHasPopup||(i=this.triggerElement)==null||i.setAttribute("aria-haspopup",((t=this.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||"dialog")}setupAriaLabelledDescribedBy(){!this.ariaLabelledby&&!this.ariaLabel&&(this.headerText?this.setAttribute("aria-label",this.headerText):this.triggerId&&this.setAttribute("aria-labelledby",this.triggerId)),!this.ariaDescribedBy&&!this.ariaDescription&&(this.descriptionText?this.setAttribute("aria-description",this.descriptionText):this.triggerId&&this.setAttribute("aria-describedby",this.triggerId))}closeDialog(){$i.onCloseDialog(this,!1)}async isOpenUpdated(t,i){var a,c,m,b,C;t!==i&&(i&&!t?(this.lastActiveElement=document.activeElement,this.removeBackdrop(),this.createBackdrop("dialog"),this.activatePreventScroll(),await this.updateComplete,this.focusTrap&&((a=this.activateFocusTrap)==null||a.call(this)),(c=this.setInitialFocus)==null||c.call(this),(m=this.triggerElement)==null||m.setAttribute("aria-expanded","true"),$i.onShowDialog(this)):!i&&t&&(this.removeBackdrop(),(b=this.triggerElement)==null||b.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(C=this.deactivateFocusTrap)==null||C.call(this),this.focusBackToTrigger(),$i.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}render(){return I`
2892
2892
  ${this.headerText?I` <div part="header-section">
2893
2893
  <div part="header">
2894
2894
  <slot name="header-prefix"></slot>
@@ -2920,7 +2920,7 @@
2920
2920
  <slot name="dialog-body"></slot>
2921
2921
  </div>
2922
2922
  ${this.renderFooter()}
2923
- `}};Ht.styles=[...q.styles,...Sf],p([u({type:String,reflect:!0})],Ht.prototype,"id",2),p([u({type:String,reflect:!0})],Ht.prototype,"triggerId",2),p([u({type:Boolean,reflect:!0})],Ht.prototype,"visible",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],Ht.prototype,"zIndex",2),p([u({type:String,reflect:!0})],Ht.prototype,"size",2),p([u({type:String,reflect:!0})],Ht.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],Ht.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],Ht.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],Ht.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],Ht.prototype,"ariaDescribedBy",2),p([u({type:String,reflect:!0,attribute:"aria-description"})],Ht.prototype,"ariaDescription",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Ht.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"description-text"})],Ht.prototype,"descriptionText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],Ht.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"description-tag-name"})],Ht.prototype,"descriptionTagName",2),p([u({type:String,reflect:!0})],Ht.prototype,"role",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],Ht.prototype,"disableAriaHasPopup",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],Ht.prototype,"focusTrap",2);var Rc=Ht;Rc.register(Af);var dT=Rc;var Ma=B.constructTagName("divider"),_o={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Oa={SOLID:"solid",GRADIENT:"gradient"},lr={POSITIVE:"positive",NEGATIVE:"negative"},Pa={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},Io={ORIENTATION:_o.HORIZONTAL,VARIANT:Oa.SOLID,ARROW_DIRECTION:lr.NEGATIVE,BUTTON_DIRECTION:lr.NEGATIVE};var cT=[bt,z`
2923
+ `}};Ht.styles=[...K.styles,...Af],p([u({type:String,reflect:!0})],Ht.prototype,"id",2),p([u({type:String,reflect:!0})],Ht.prototype,"triggerId",2),p([u({type:Boolean,reflect:!0})],Ht.prototype,"visible",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],Ht.prototype,"zIndex",2),p([u({type:String,reflect:!0})],Ht.prototype,"size",2),p([u({type:String,reflect:!0})],Ht.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],Ht.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],Ht.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],Ht.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],Ht.prototype,"ariaDescribedBy",2),p([u({type:String,reflect:!0,attribute:"aria-description"})],Ht.prototype,"ariaDescription",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Ht.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"description-text"})],Ht.prototype,"descriptionText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],Ht.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"description-tag-name"})],Ht.prototype,"descriptionTagName",2),p([u({type:String,reflect:!0})],Ht.prototype,"role",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],Ht.prototype,"disableAriaHasPopup",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],Ht.prototype,"focusTrap",2);var Md=Ht;Md.register(xf);var cT=Md;var Oa=B.constructTagName("divider"),Io={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Pa={SOLID:"solid",GRADIENT:"gradient"},lr={POSITIVE:"positive",NEGATIVE:"negative"},Da={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},Co={ORIENTATION:Io.HORIZONTAL,VARIANT:Pa.SOLID,ARROW_DIRECTION:lr.NEGATIVE,BUTTON_DIRECTION:lr.NEGATIVE};var dT=[bt,V`
2924
2924
  :host {
2925
2925
  --mdc-divider-background-color: var(--mds-color-theme-outline-secondary-normal);
2926
2926
  --mdc-divider-width: 0.0625rem;
@@ -3121,11 +3121,11 @@
3121
3121
  :host([data-hidden]) {
3122
3122
  display: none;
3123
3123
  }
3124
- `],_f=cT;var Fi=class extends q{constructor(){super(...arguments);this.orientation=Io.ORIENTATION;this.variant=Io.VARIANT;this.arrowDirection=Io.ARROW_DIRECTION;this.buttonPosition=Io.BUTTON_DIRECTION}setVariant(t){this.setAttribute("variant",Object.values(Oa).includes(t)?t:Io.VARIANT)}setOrientation(t){this.setAttribute("orientation",Object.values(_o).includes(t)?t:Io.ORIENTATION)}ensureValidDirections(){let t=this.orientation===_o.HORIZONTAL?lr.NEGATIVE:lr.POSITIVE;Object.values(lr).includes(this.buttonPosition)||(this.buttonPosition=t),Object.values(lr).includes(this.arrowDirection)||(this.arrowDirection=t)}setGrabberButton(){this.ensureValidDirections();let t=this.querySelector("mdc-button");if(t){let i=this.getArrowIcon();t.setAttribute("variant","secondary"),t.setAttribute("prefix-icon",i)}}getArrowIcon(){let t=this.orientation===_o.HORIZONTAL,i=this.arrowDirection===lr.POSITIVE;return t?i?Pa.UP:Pa.DOWN:i?Pa.RIGHT:Pa.LEFT}update(t){super.update(t),t.has("orientation")&&this.setOrientation(this.orientation),t.has("variant")&&this.setVariant(this.variant),(t.has("orientation")||t.has("arrowDirection")||t.has("buttonPosition"))&&this.setGrabberButton()}inferDividerType(){var m;let t=(m=this.shadowRoot)==null?void 0:m.querySelector("slot"),i=(t==null?void 0:t.assignedElements({flatten:!0}))||[];if(i.length>1)return;let a=i.some(b=>b.tagName===va.toUpperCase()),d=i.some(b=>b.tagName===Qr.toUpperCase());a&&!d?this.setAttribute("data-type","mdc-text-divider"):!a&&d&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}connectedCallback(){super.connectedCallback(),this.setAttribute("data-type","mdc-primary-divider")}render(){return I`
3124
+ `],Sf=dT;var zi=class extends K{constructor(){super(...arguments);this.orientation=Co.ORIENTATION;this.variant=Co.VARIANT;this.arrowDirection=Co.ARROW_DIRECTION;this.buttonPosition=Co.BUTTON_DIRECTION}setVariant(t){this.setAttribute("variant",Object.values(Pa).includes(t)?t:Co.VARIANT)}setOrientation(t){this.setAttribute("orientation",Object.values(Io).includes(t)?t:Co.ORIENTATION)}ensureValidDirections(){let t=this.orientation===Io.HORIZONTAL?lr.NEGATIVE:lr.POSITIVE;Object.values(lr).includes(this.buttonPosition)||(this.buttonPosition=t),Object.values(lr).includes(this.arrowDirection)||(this.arrowDirection=t)}setGrabberButton(){this.ensureValidDirections();let t=this.querySelector("mdc-button");if(t){let i=this.getArrowIcon();t.setAttribute("variant","secondary"),t.setAttribute("prefix-icon",i)}}getArrowIcon(){let t=this.orientation===Io.HORIZONTAL,i=this.arrowDirection===lr.POSITIVE;return t?i?Da.UP:Da.DOWN:i?Da.RIGHT:Da.LEFT}update(t){super.update(t),t.has("orientation")&&this.setOrientation(this.orientation),t.has("variant")&&this.setVariant(this.variant),(t.has("orientation")||t.has("arrowDirection")||t.has("buttonPosition"))&&this.setGrabberButton()}inferDividerType(){var m;let t=(m=this.shadowRoot)==null?void 0:m.querySelector("slot"),i=(t==null?void 0:t.assignedElements({flatten:!0}))||[];if(i.length>1)return;let a=i.some(b=>b.tagName===ga.toUpperCase()),c=i.some(b=>b.tagName===Jr.toUpperCase());a&&!c?this.setAttribute("data-type","mdc-text-divider"):!a&&c&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}connectedCallback(){super.connectedCallback(),this.setAttribute("data-type","mdc-primary-divider")}render(){return I`
3125
3125
  <div></div>
3126
3126
  <slot @slotchange=${this.inferDividerType}></slot>
3127
3127
  <div></div>
3128
- `}};Fi.styles=[...q.styles,..._f],p([u({type:String,reflect:!0})],Fi.prototype,"orientation",2),p([u({type:String,reflect:!0})],Fi.prototype,"variant",2),p([u({type:String,attribute:"arrow-direction",reflect:!0})],Fi.prototype,"arrowDirection",2),p([u({type:String,attribute:"button-position",reflect:!0})],Fi.prototype,"buttonPosition",2);var Mc=Fi;Mc.register(Ma);var hT=Mc;var pT=z`
3128
+ `}};zi.styles=[...K.styles,...Sf],p([u({type:String,reflect:!0})],zi.prototype,"orientation",2),p([u({type:String,reflect:!0})],zi.prototype,"variant",2),p([u({type:String,attribute:"arrow-direction",reflect:!0})],zi.prototype,"arrowDirection",2),p([u({type:String,attribute:"button-position",reflect:!0})],zi.prototype,"buttonPosition",2);var Rd=zi;Rd.register(Oa);var hT=Rd;var pT=V`
3129
3129
  :host([selected]) {
3130
3130
  border: 2px solid;
3131
3131
  --mdc-chip-background-color: var(--mds-color-theme-background-label-default-active);
@@ -3147,7 +3147,7 @@
3147
3147
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
3148
3148
  cursor: auto;
3149
3149
  }
3150
- `,If=[pT];var Cf=B.constructTagName("filterchip"),Oc={ICON_NAME:"check-bold",COLOR:"default"};var Da=class extends Es{constructor(){super(...arguments);this.selected=!1}connectedCallback(){super.connectedCallback(),this.color=Oc.COLOR}setSelected(t){t?(this.iconName=Oc.ICON_NAME,this.setAttribute("aria-pressed","true")):(this.iconName=void 0,this.setAttribute("aria-pressed","false"))}executeAction(){this.selected=!this.selected}update(t){super.update(t),t.has("selected")&&this.setSelected(this.selected)}};Da.styles=[...Es.styles,...If],p([u({type:Boolean,reflect:!0})],Da.prototype,"selected",2);var Pc=Da;Pc.register(Cf);var mT=Pc;var uT=z`
3150
+ `,_f=[pT];var If=B.constructTagName("filterchip"),Od={ICON_NAME:"check-bold",COLOR:"default"};var Fa=class extends Ts{constructor(){super(...arguments);this.selected=!1}connectedCallback(){super.connectedCallback(),this.color=Od.COLOR}setSelected(t){t?(this.iconName=Od.ICON_NAME,this.setAttribute("aria-pressed","true")):(this.iconName=void 0,this.setAttribute("aria-pressed","false"))}executeAction(){this.selected=!this.selected}update(t){super.update(t),t.has("selected")&&this.setSelected(this.selected)}};Fa.styles=[...Ts.styles,..._f],p([u({type:Boolean,reflect:!0})],Fa.prototype,"selected",2);var Pd=Fa;Pd.register(If);var mT=Pd;var uT=V`
3151
3151
  :host::part(container) {
3152
3152
  display: flex;
3153
3153
  flex-direction: column;
@@ -3163,7 +3163,7 @@
3163
3163
  :host::part(label-text) {
3164
3164
  font-weight: bold;
3165
3165
  }
3166
- `,kf=[uT];var Pl=class extends Ut(oe){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.disabled=void 0}render(){var t;return I`
3166
+ `,Cf=[uT];var Pl=class extends Ut(se){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.disabled=void 0}render(){var t;return I`
3167
3167
  <div
3168
3168
  part="container"
3169
3169
  role="${this.isRadio?et.RADIOGROUP:et.GROUP}"
@@ -3174,7 +3174,7 @@
3174
3174
  <div part="group-header">${this.renderLabel()} ${this.renderHelperText()}</div>
3175
3175
  <slot></slot>
3176
3176
  </div>
3177
- `}};Pl.styles=[...oe.styles,...kf];var Dc=Pl;var wf=B.constructTagName("formfieldgroup");Dc.register(wf);var Dl=Dc;ua.register(Wn);var fT=ua;var $l=B.constructTagName("illustrationprovider"),Nf=["svg"],$a={FILE_EXTENSION:"svg",ILLUSTRATION_SET:"momentum-illustrations"};var Fl=class{};Fl.context=$l;var Vl=Fl;var Vi=class extends rr{constructor(){super({context:Vl.context,initialValue:new Vl});this.illustrationSet=$a.ILLUSTRATION_SET;this.fileExtension=$a.FILE_EXTENSION}static get Context(){return Vl.context}updateValuesInContext(){this.fileExtension&&Nf.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=$a.FILE_EXTENSION,this.context.value.fileExtension=$a.FILE_EXTENSION),this.context.value.illustrationSet=this.illustrationSet,this.context.value.url=this.url,this.context.value.cacheName=this.cacheName,this.context.value.cacheStrategy=this.cacheStrategy}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.illustrationSet!==this.illustrationSet||this.context.value.url!==this.url||this.context.value.cacheName!==this.cacheName||this.context.value.cacheStrategy!==this.cacheStrategy)&&(this.updateValuesInContext(),this.context.updateObservers())}};p([u({type:String,attribute:"illustration-set",reflect:!0})],Vi.prototype,"illustrationSet",2),p([u({type:String})],Vi.prototype,"url",2),p([u({type:String,attribute:"file-extension",reflect:!0})],Vi.prototype,"fileExtension",2),p([u({type:String,attribute:"cache-strategy"})],Vi.prototype,"cacheStrategy",2),p([u({type:String,attribute:"cache-name"})],Vi.prototype,"cacheName",2);var Fa=Vi;var vT=[bt,z`
3177
+ `}};Pl.styles=[...se.styles,...Cf];var Dd=Pl;var kf=B.constructTagName("formfieldgroup");Dd.register(kf);var Dl=Dd;fa.register(Wn);var fT=fa;var Fl=B.constructTagName("illustrationprovider"),wf=["svg"],$a={FILE_EXTENSION:"svg",ILLUSTRATION_SET:"momentum-illustrations"};var $l=class{};$l.context=Fl;var zl=$l;var Vi=class extends rr{constructor(){super({context:zl.context,initialValue:new zl});this.illustrationSet=$a.ILLUSTRATION_SET;this.fileExtension=$a.FILE_EXTENSION}static get Context(){return zl.context}updateValuesInContext(){this.fileExtension&&wf.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=$a.FILE_EXTENSION,this.context.value.fileExtension=$a.FILE_EXTENSION),this.context.value.illustrationSet=this.illustrationSet,this.context.value.url=this.url,this.context.value.cacheName=this.cacheName,this.context.value.cacheStrategy=this.cacheStrategy}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.illustrationSet!==this.illustrationSet||this.context.value.url!==this.url||this.context.value.cacheName!==this.cacheName||this.context.value.cacheStrategy!==this.cacheStrategy)&&(this.updateValuesInContext(),this.context.updateObservers())}};p([u({type:String,attribute:"illustration-set",reflect:!0})],Vi.prototype,"illustrationSet",2),p([u({type:String})],Vi.prototype,"url",2),p([u({type:String,attribute:"file-extension",reflect:!0})],Vi.prototype,"fileExtension",2),p([u({type:String,attribute:"cache-strategy"})],Vi.prototype,"cacheStrategy",2),p([u({type:String,attribute:"cache-name"})],Vi.prototype,"cacheName",2);var za=Vi;var vT=[bt,V`
3178
3178
  :host {
3179
3179
  --mdc-illustration-size: auto;
3180
3180
  }
@@ -3182,7 +3182,7 @@
3182
3182
  height: var(--mdc-illustration-size);
3183
3183
  width: var(--mdc-illustration-size);
3184
3184
  }
3185
- `],Lf=vT;var Rf=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the illustration!");return o}),Mf=async({url:n,name:o,fileExtension:t,cacheStrategy:i,cacheName:a,renewSignal:d})=>{let m=d(),b=new Request(`${n}/${o}.${t}`,{signal:m});return!a||!i||!["in-memory-cache","web-cache-api"].includes(i)?Rf(b).then(C=>C.text()):Kn(a,i).then(C=>C.get(b).then(M=>M||Rf(b.clone()).then(W=>{var K;return W.status<400&&W.headers.has("content-type")?(K=C.set)==null?void 0:K.call(C,b,W.clone()).then(()=>W.text()):W.text()})).catch(M=>{throw new Error(`Error in caching the Illustration ${o}, ${M}`)}))};var Of=B.constructTagName("illustration"),Pf={NAME:void 0};var ci=class extends q{constructor(){super();this.name=Pf.NAME;this.ariaLabel=null;this.ariaLabelledby=null;this.illustrationProviderContext=ir.consume({host:this,context:Fa.Context});this.abortController=new AbortController}prepareIllustrationElement(t){let i=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&i.setAttribute("data-name",this.name),i.setAttribute("part","illustration"),i.setAttribute("aria-hidden","true"),i}async getIllustrationData(){if(this.illustrationProviderContext.value){let{fileExtension:i,url:a,cacheName:d,illustrationSet:m,cacheStrategy:b}=this.illustrationProviderContext.value;if(m==="custom-illustrations"&&a&&i&&this.name){let C=()=>{var M;return(M=this.abortController)==null||M.abort(),this.abortController=new AbortController,this.abortController.signal};return Mf({url:a,name:this.name,fileExtension:i,cacheName:d,cacheStrategy:b,renewSignal:C}).then(M=>{let W=this.prepareIllustrationElement(M);this.handleIllustrationLoadedSuccess(W)}).catch(M=>{this.handleIllustrationLoadedFailure(M)})}if(m==="momentum-illustrations"&&this.name)return import(`@momentum-design/illustrations/dist/ts/${this.name}.ts`).then(C=>{this.handleIllustrationLoadedSuccess(C.default())}).catch(C=>{this.handleIllustrationLoadedFailure(C)})}let t=new Error("IllustrationProvider not found or not properly set up.");return this.handleIllustrationLoadedFailure(t),Promise.reject(t)}handleIllustrationLoadedSuccess(t){this.illustrationData=t;let i=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(i)}handleIllustrationLoadedFailure(t){let i=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(i)}updated(t){super.updated(t),t.has("name")&&this.getIllustrationData().catch(i=>{i.name!=="AbortError"&&this.onerror&&this.onerror(i)}),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledby?"img":null)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return I` ${this.illustrationData} `}};ci.styles=[...q.styles,...Lf],p([gt()],ci.prototype,"illustrationData",2),p([u({type:String,reflect:!0})],ci.prototype,"name",2),p([u({type:String,attribute:"aria-label"})],ci.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],ci.prototype,"ariaLabelledby",2),p([gt()],ci.prototype,"abortController",2);var $c=ci;$c.register(Of);var gT=$c;Fa.register($l);var bT=Fa;var Va=ri(class extends Pr{constructor(n){if(super(n),n.type!==He.PROPERTY&&n.type!==He.ATTRIBUTE&&n.type!==He.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Qn(n))throw Error("`live` bindings can only contain a single expression")}render(n){return n}update(n,[o]){if(o===ve||o===j)return o;let t=n.element,i=n.name;if(n.type===He.PROPERTY){if(o===t[i])return ve}else if(n.type===He.BOOLEAN_ATTRIBUTE){if(!!o===t.hasAttribute(i))return ve}else if(n.type===He.ATTRIBUTE&&t.getAttribute(i)===o+"")return ve;return Jn(n),o}});oe.register(uf);var dr=oe;var Df=B.constructTagName("input"),zl={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},Ts={OFF:"off",ON:"on"},xs={PASSWORD:"password",TEXT:"text",SEARCH:"search"},$f={MAX_LENGTH:10,VALIDATION:zt.ERROR},hi={VALIDATION:zt.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Dt.TERTIARY,CLEAR_BUTTON_SIZE:er[20],PREFIX_TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:mt.SPAN,AUTO_COMPLETE:Ts.OFF,INPUT_TYPE:xs.TEXT};var yT=[z`
3185
+ `],Nf=vT;var Lf=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the illustration!");return o}),Mf=async({url:n,name:o,fileExtension:t,cacheStrategy:i,cacheName:a,renewSignal:c})=>{let m=c(),b=new Request(`${n}/${o}.${t}`,{signal:m});return!a||!i||!["in-memory-cache","web-cache-api"].includes(i)?Lf(b).then(C=>C.text()):qn(a,i).then(C=>C.get(b).then(L=>L||Lf(b.clone()).then(W=>{var q;return W.status<400&&W.headers.has("content-type")?(q=C.set)==null?void 0:q.call(C,b,W.clone()).then(()=>W.text()):W.text()})).catch(L=>{throw new Error(`Error in caching the Illustration ${o}, ${L}`)}))};var Rf=B.constructTagName("illustration"),Of={NAME:void 0};var hi=class extends K{constructor(){super();this.name=Of.NAME;this.ariaLabel=null;this.ariaLabelledby=null;this.illustrationProviderContext=ir.consume({host:this,context:za.Context});this.abortController=new AbortController}prepareIllustrationElement(t){let i=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&i.setAttribute("data-name",this.name),i.setAttribute("part","illustration"),i.setAttribute("aria-hidden","true"),i}async getIllustrationData(){if(this.illustrationProviderContext.value){let{fileExtension:i,url:a,cacheName:c,illustrationSet:m,cacheStrategy:b}=this.illustrationProviderContext.value;if(m==="custom-illustrations"&&a&&i&&this.name){let C=()=>{var L;return(L=this.abortController)==null||L.abort(),this.abortController=new AbortController,this.abortController.signal};return Mf({url:a,name:this.name,fileExtension:i,cacheName:c,cacheStrategy:b,renewSignal:C}).then(L=>{let W=this.prepareIllustrationElement(L);this.handleIllustrationLoadedSuccess(W)}).catch(L=>{this.handleIllustrationLoadedFailure(L)})}if(m==="momentum-illustrations"&&this.name)return import(`@momentum-design/illustrations/dist/ts/${this.name}.ts`).then(C=>{this.handleIllustrationLoadedSuccess(C.default())}).catch(C=>{this.handleIllustrationLoadedFailure(C)})}let t=new Error("IllustrationProvider not found or not properly set up.");return this.handleIllustrationLoadedFailure(t),Promise.reject(t)}handleIllustrationLoadedSuccess(t){this.illustrationData=t;let i=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(i)}handleIllustrationLoadedFailure(t){let i=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(i)}updated(t){super.updated(t),t.has("name")&&this.getIllustrationData().catch(i=>{i.name!=="AbortError"&&this.onerror&&this.onerror(i)}),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledby?"img":null)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return I` ${this.illustrationData} `}};hi.styles=[...K.styles,...Nf],p([gt()],hi.prototype,"illustrationData",2),p([u({type:String,reflect:!0})],hi.prototype,"name",2),p([u({type:String,attribute:"aria-label"})],hi.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],hi.prototype,"ariaLabelledby",2),p([gt()],hi.prototype,"abortController",2);var Fd=hi;Fd.register(Rf);var gT=Fd;za.register(Fl);var bT=za;var Va=ii(class extends Or{constructor(n){if(super(n),n.type!==He.PROPERTY&&n.type!==He.ATTRIBUTE&&n.type!==He.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Qn(n))throw Error("`live` bindings can only contain a single expression")}render(n){return n}update(n,[o]){if(o===ve||o===j)return o;let t=n.element,i=n.name;if(n.type===He.PROPERTY){if(o===t[i])return ve}else if(n.type===He.BOOLEAN_ATTRIBUTE){if(!!o===t.hasAttribute(i))return ve}else if(n.type===He.ATTRIBUTE&&t.getAttribute(i)===o+"")return ve;return Jn(n),o}});se.register(mf);var cr=se;var Pf=B.constructTagName("input"),Vl={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},xs={OFF:"off",ON:"on"},As={PASSWORD:"password",TEXT:"text",SEARCH:"search"},Df={MAX_LENGTH:10,VALIDATION:Vt.ERROR},pi={VALIDATION:Vt.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Dt.TERTIARY,CLEAR_BUTTON_SIZE:er[20],PREFIX_TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:mt.SPAN,AUTO_COMPLETE:xs.OFF,INPUT_TYPE:As.TEXT};var yT=[V`
3186
3186
  :host {
3187
3187
  --mdc-input-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
3188
3188
  --mdc-input-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
@@ -3305,37 +3305,37 @@
3305
3305
  opacity: 0;
3306
3306
  pointer-events: none;
3307
3307
  }
3308
- `,...St(!0)],Ff=yT;var se=class extends ge(Ee(Ut(dr))){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=zl.OFF;this.autocomplete=Ts.OFF;this.clearAriaLabel=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(t=>{this.onerror&&this.onerror(t)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(t){this.value=t}attributeChangedCallback(t,i,a){super.attributeChangedCallback(t,i,a),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(d=>{this.onerror&&this.onerror(d)})}setInputValidity(){this.inputElement.setCustomValidity(""),!this.inputElement.validity.valid&&this.validationMessage&&this.inputElement.setCustomValidity(this.validationMessage),this.setValidity()}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setInputValidity(),this.checkValidity()}onChange(t){this.updateValue(),this.setInputValidity();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}handleKeyDown(t){var i;t.key===Z.ENTER&&((i=this.form)==null||i.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?I`
3308
+ `,...St(!0)],Ff=yT;var ae=class extends ge(Ee(Ut(cr))){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=Vl.OFF;this.autocomplete=xs.OFF;this.clearAriaLabel=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(t=>{this.onerror&&this.onerror(t)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(t){this.value=t}attributeChangedCallback(t,i,a){super.attributeChangedCallback(t,i,a),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(c=>{this.onerror&&this.onerror(c)})}setInputValidity(){this.inputElement.setCustomValidity(""),!this.inputElement.validity.valid&&this.validationMessage&&this.inputElement.setCustomValidity(this.validationMessage),this.setValidity()}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setInputValidity(),this.checkValidity()}onChange(t){this.updateValue(),this.setInputValidity();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}handleKeyDown(t){var i;t.key===Q.ENTER&&((i=this.form)==null||i.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?I`
3309
3309
  <mdc-icon
3310
3310
  class="leading-icon"
3311
3311
  part="leading-icon"
3312
3312
  name=${this.leadingIcon}
3313
- size="${hi.ICON_SIZE_VALUE}"
3314
- length-unit="${hi.ICON_SIZE_UNIT}"
3313
+ size="${pi.ICON_SIZE_VALUE}"
3314
+ length-unit="${pi.ICON_SIZE_UNIT}"
3315
3315
  >
3316
3316
  </mdc-icon>
3317
3317
  `:j}renderPrefixText(){return this.prefixText?I`
3318
3318
  <mdc-text
3319
3319
  class="prefix-text"
3320
- tagname="${hi.PREFIX_TEXT_TAG}"
3321
- type="${hi.PREFIX_TEXT_TYPE}"
3320
+ tagname="${pi.PREFIX_TEXT_TAG}"
3321
+ type="${pi.PREFIX_TEXT_TYPE}"
3322
3322
  aria-hidden="true"
3323
3323
  >
3324
- ${this.prefixText.slice(0,$f.MAX_LENGTH)}
3324
+ ${this.prefixText.slice(0,Df.MAX_LENGTH)}
3325
3325
  </mdc-text>
3326
3326
  `:j}clearInputText(){var t;this.value="",(t=this.inputElement)==null||t.focus(),this.dispatchEvent(new CustomEvent("clear",{bubbles:!0,composed:!0}))}renderTrailingButton(t=!1){let i=t||this.value&&this.trailingButton;return i?I`
3327
3327
  <mdc-button
3328
3328
  part="trailing-button"
3329
3329
  class="own-focus-ring ${i?"":"hidden"}"
3330
- prefix-icon="${hi.CLEAR_BUTTON_ICON}"
3331
- variant="${hi.CLEAR_BUTTON_VARIANT}"
3332
- size="${hi.CLEAR_BUTTON_SIZE}"
3330
+ prefix-icon="${pi.CLEAR_BUTTON_ICON}"
3331
+ variant="${pi.CLEAR_BUTTON_VARIANT}"
3332
+ size="${pi.CLEAR_BUTTON_SIZE}"
3333
3333
  aria-label="${this.clearAriaLabel}"
3334
3334
  @click=${this.clearInputText}
3335
3335
  ?disabled=${this.disabled||this.readonly||!i}
3336
3336
  ></mdc-button>
3337
- `:j}renderInputElement(t,i=!1){var d;let a=i?"":this.placeholder;return I`<input
3338
- aria-label="${(d=this.dataAriaLabel)!=null?d:""}"
3337
+ `:j}renderInputElement(t,i=!1){var c;let a=i?"":this.placeholder;return I`<input
3338
+ aria-label="${(c=this.dataAriaLabel)!=null?c:""}"
3339
3339
  class="input"
3340
3340
  part="mdc-input"
3341
3341
  id="${this.inputId}"
@@ -3365,12 +3365,12 @@
3365
3365
  <slot name="input-leading-icon">${this.renderLeadingIcon()}</slot>
3366
3366
  <div class="input-section" part="input-section">
3367
3367
  <slot name="input-prefix-text">${this.renderPrefixText()}</slot>
3368
- <slot name="input">${this.renderInputElement(hi.INPUT_TYPE)}</slot>
3368
+ <slot name="input">${this.renderInputElement(pi.INPUT_TYPE)}</slot>
3369
3369
  </div>
3370
3370
  <slot name="trailing-button">${this.renderTrailingButton()}</slot>
3371
3371
  </div>
3372
3372
  ${this.helpText?this.renderHelperText():j}
3373
- `}};se.styles=[...dr.styles,...Ff],p([u({type:String})],se.prototype,"placeholder",2),p([u({type:Boolean})],se.prototype,"readonly",2),p([u({type:String,attribute:"prefix-text"})],se.prototype,"prefixText",2),p([u({type:String,attribute:"leading-icon"})],se.prototype,"leadingIcon",2),p([u({type:Boolean,attribute:"trailing-button"})],se.prototype,"trailingButton",2),p([u({type:Number})],se.prototype,"maxlength",2),p([u({type:Number})],se.prototype,"minlength",2),p([u({type:String})],se.prototype,"autocapitalize",2),p([u({type:String})],se.prototype,"autocomplete",2),p([u({type:String})],se.prototype,"dirname",2),p([u({type:String})],se.prototype,"pattern",2),p([u({type:String})],se.prototype,"list",2),p([u({type:Number})],se.prototype,"size",2),p([u({type:String,attribute:"clear-aria-label"})],se.prototype,"clearAriaLabel",2);var Sr=se;Sr.register(Df);var ET=Sr;var TT=z`
3373
+ `}};ae.styles=[...cr.styles,...Ff],p([u({type:String})],ae.prototype,"placeholder",2),p([u({type:Boolean})],ae.prototype,"readonly",2),p([u({type:String,attribute:"prefix-text"})],ae.prototype,"prefixText",2),p([u({type:String,attribute:"leading-icon"})],ae.prototype,"leadingIcon",2),p([u({type:Boolean,attribute:"trailing-button"})],ae.prototype,"trailingButton",2),p([u({type:Number})],ae.prototype,"maxlength",2),p([u({type:Number})],ae.prototype,"minlength",2),p([u({type:String})],ae.prototype,"autocapitalize",2),p([u({type:String})],ae.prototype,"autocomplete",2),p([u({type:String})],ae.prototype,"dirname",2),p([u({type:String})],ae.prototype,"pattern",2),p([u({type:String})],ae.prototype,"list",2),p([u({type:Number})],ae.prototype,"size",2),p([u({type:String,attribute:"clear-aria-label"})],ae.prototype,"clearAriaLabel",2);var Ar=ae;Ar.register(Pf);var ET=Ar;var TT=V`
3374
3374
  :host {
3375
3375
  height: 1.5rem;
3376
3376
  gap: 0.25rem;
@@ -3401,7 +3401,7 @@
3401
3401
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
3402
3402
  cursor: auto;
3403
3403
  }
3404
- `,Vf=[bt,TT];var Bl=B.constructTagName("inputchip"),Ul={TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,CLOSE_ICON:"cancel-bold"};var Co=class extends qt(Vt(q)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderIcon(){return this.iconName?I` <mdc-icon part="icon" name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return I`
3404
+ `,$f=[bt,TT];var Bl=B.constructTagName("inputchip"),Ul={TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,CLOSE_ICON:"cancel-bold"};var ko=class extends Kt(zt(K)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderIcon(){return this.iconName?I` <mdc-icon part="icon" name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return I`
3405
3405
  ${this.renderIcon()}
3406
3406
  ${this.label?I`<mdc-text part="label" type="${Ul.TEXT_TYPE}" tagname="${Ul.TAG_NAME}"
3407
3407
  >${this.label}</mdc-text
@@ -3415,7 +3415,7 @@
3415
3415
  size="20"
3416
3416
  @click="${this.handleClose}"
3417
3417
  ></mdc-button>
3418
- `}};Co.styles=[...q.styles,...Vf],p([u({type:String})],Co.prototype,"label",2),p([u({type:Boolean})],Co.prototype,"error",2),p([u({type:String,attribute:"clear-aria-label"})],Co.prototype,"clearAriaLabel",2);var Fc=Co;Fc.register(Bl);var xT=Fc;var AT=z`
3418
+ `}};ko.styles=[...K.styles,...$f],p([u({type:String})],ko.prototype,"label",2),p([u({type:Boolean})],ko.prototype,"error",2),p([u({type:String,attribute:"clear-aria-label"})],ko.prototype,"clearAriaLabel",2);var $d=ko;$d.register(Bl);var xT=$d;var AT=V`
3419
3419
  :host::part(anchor) {
3420
3420
  display: flex;
3421
3421
  align-items: center;
@@ -3475,8 +3475,8 @@
3475
3475
  text-decoration: var(--mds-font-apps-body-small-regular-underline-text-decoration);
3476
3476
  text-transform: var(--mds-font-apps-body-small-regular-underline-text-case);
3477
3477
  }
3478
- `,zf=[AT];var za=class extends qt(Fr){constructor(){super(...arguments);this.size=vu.LINK_SIZE}getIconSize(){switch(this.size){case ml.SMALL:return ul.SMALL;case ml.MIDSIZE:return ul.MIDSIZE;default:return ul.LARGE}}renderAnchorContent(){return I` <slot></slot>
3479
- ${this.iconName?I`<mdc-icon part="icon" name="${this.iconName}" size="${this.getIconSize()}" length-unit="rem"></mdc-icon>`:j}`}};za.styles=[...Fr.styles,...zf],p([u({type:String,reflect:!0})],za.prototype,"size",2);var Vc=za;Vc.register(pl);var ST=Vc;var Bf=B.constructTagName("linkbutton"),As={12:12,14:14,16:16},Ss={SIZE:As[16],ROLE:et.BUTTON,INLINE:ss.INLINE,INVERTED:ss.INVERTED};var Uf=n=>{switch(n){case As[12]:return .75;case As[14]:return .875;default:return 1}};var _T=z`
3478
+ `,zf=[AT];var Ba=class extends Kt(Fr){constructor(){super(...arguments);this.size=fu.LINK_SIZE}getIconSize(){switch(this.size){case ml.SMALL:return ul.SMALL;case ml.MIDSIZE:return ul.MIDSIZE;default:return ul.LARGE}}renderAnchorContent(){return I` <slot></slot>
3479
+ ${this.iconName?I`<mdc-icon part="icon" name="${this.iconName}" size="${this.getIconSize()}" length-unit="rem"></mdc-icon>`:j}`}};Ba.styles=[...Fr.styles,...zf],p([u({type:String,reflect:!0})],Ba.prototype,"size",2);var zd=Ba;zd.register(pl);var ST=zd;var Vf=B.constructTagName("linkbutton"),Ss={12:12,14:14,16:16},_s={SIZE:Ss[16],ROLE:et.BUTTON,INLINE:as.INLINE,INVERTED:as.INVERTED};var Bf=n=>{switch(n){case Ss[12]:return .75;case Ss[14]:return .875;default:return 1}};var _T=V`
3480
3480
  :host {
3481
3481
  gap: 0.25rem;
3482
3482
  cursor: pointer;
@@ -3575,10 +3575,10 @@
3575
3575
  color: var(--mdc-link-color-disabled);
3576
3576
  pointer-events: none;
3577
3577
  }
3578
- `,Hf=[_T,...St()];var ko=class extends qt(re){constructor(){super(...arguments);this.size=Ss.SIZE;this.inline=Ss.INLINE;this.inverted=Ss.INVERTED}connectedCallback(){super.connectedCallback(),this.active=void 0,this.role=Ss.ROLE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(As).includes(t)?`${t}`:Ss.SIZE.toString())}render(){return I`
3578
+ `,Uf=[_T,...St()];var wo=class extends Kt(ie){constructor(){super(...arguments);this.size=_s.SIZE;this.inline=_s.INLINE;this.inverted=_s.INVERTED}connectedCallback(){super.connectedCallback(),this.active=void 0,this.role=_s.ROLE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Ss).includes(t)?`${t}`:_s.SIZE.toString())}render(){return I`
3579
3579
  <slot></slot>
3580
- ${this.iconName?I` <mdc-icon name=${this.iconName} size=${Uf(this.size)} length-unit="rem"></mdc-icon> `:j}
3581
- `}};ko.styles=[...Fr.styles,...Hf],p([u({type:Number,reflect:!0})],ko.prototype,"size",2),p([u({type:Boolean,reflect:!0})],ko.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],ko.prototype,"inverted",2);var zc=ko;zc.register(Bf);var IT=zc;Fr.register(pu);var CT=Fr;var Hl=n=>{class o extends n{constructor(...a){super(...a);this.loop="true";this.propagateAllKeyEvents=!1;this.initialFocus=0;this.handleNavigationKeyDown=a=>{let d=new Set([Z.ARROW_DOWN,Z.ARROW_UP,Z.HOME,Z.END]),m=window.getComputedStyle(this).direction==="rtl",b=this.resolveDirectionKey(a.key,m);if(!d.has(b))return;let C=a.target,M=this.getCurrentIndex(C);if(M!==-1){switch(this.resetTabIndexes(M),b){case Z.HOME:{this.resetTabIndexAndSetFocus(0,M);break}case Z.END:{this.resetTabIndexAndSetFocus(this.navItems.length-1,M);break}case Z.ARROW_DOWN:{let W=this.shouldLoop()?0:M,K=M+1===this.navItems.length?W:M+1;this.resetTabIndexAndSetFocus(K,M);break}case Z.ARROW_UP:{let W=this.shouldLoop()?this.navItems.length-1:M,K=M-1===-1?W:M-1;this.resetTabIndexAndSetFocus(K,M);break}default:break}this.propagateAllKeyEvents||(a.stopPropagation(),a.preventDefault())}};this.handleNavigationClick=a=>{let d=this.getCurrentIndex(a.target);this.resetTabIndexes(d)};this.addEventListener("keydown",this.handleNavigationKeyDown),this.addEventListener("click",this.handleNavigationClick)}async firstUpdated(a){super.firstUpdated(a);let d=Math.max(Math.min(this.initialFocus,this.navItems.length-1),0);this.resetTabIndexAndSetFocus(d,void 0,!1)}getCurrentIndex(a){return this.navItems.findIndex(d=>d===a||!!(d.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY))}resetTabIndexes(a){if(this.navItems.length>0){this.navItems.forEach(m=>m.setAttribute("tabindex","-1"));let d=this.navItems[a]?a:0;this.navItems[d].setAttribute("tabindex","0"),this.navItems[d].focus()}}resetTabIndexAndSetFocus(a,d,m=!0){let{navItems:b}=this;if(b.length===0)return;let C=b[a]?a:0,M=b[C];a===d&&M&&M.getAttribute("tabindex")==="0"||(d===void 0?b.forEach(W=>W.setAttribute("tabindex","-1")):b[d]&&b[d].setAttribute("tabindex","-1"),M.setAttribute("tabindex","0"),m&&(M.focus({preventScroll:!0}),M.scrollIntoView({block:"nearest"})))}resolveDirectionKey(a,d){if(!d)return a;switch(a){case Z.ARROW_LEFT:return Z.ARROW_RIGHT;case Z.ARROW_RIGHT:return Z.ARROW_LEFT;default:return a}}shouldLoop(){return this.loop!=="false"}}return o};var Gl=B.constructTagName("listitem"),Ba={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},Gf={VARIANT:Ba.FULL_WIDTH};var he={CREATED:"created",DESTROYED:"destroyed",MODIFIED:"modified"};var Yf=(n,o)=>!!(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING);var kT=n=>!!n,zi=class{constructor(o,t){this.cache=[];this.itemCreationHandler=o=>{this.addItem(o.target,void 0)};this.itemDestroyHandler=o=>{this.delete(o.target)};this.host=o,o.addController(this),this.isValidItem=(t==null?void 0:t.isValidItem)||kT,this.onStoreUpdate=t==null?void 0:t.onStoreUpdate,this.host.addEventListener(he.CREATED,this.itemCreationHandler),this.host.addEventListener(he.DESTROYED,this.itemDestroyHandler)}get items(){return this.cache}hostConnected(){}hostDisconnected(){}add(o){this.addItem(o,void 0)}addAt(o,t){this.addItem(o,t)}addItem(o,t=void 0){var a;let i=o;if(this.isValidItem(i)&&!this.cache.includes(i)){let d=t===void 0?this.cache.findIndex(m=>Yf(i,m)):t;this.onStoreUpdate&&((a=this.onStoreUpdate)==null||a.call(this,i,"added",d===-1?this.cache.length:d,this.cache.slice())),d===-1?this.cache.push(i):d>=0&&this.cache.splice(d,0,i)}}delete(o){var i;let t=this.cache.indexOf(o);t!==-1&&(this.onStoreUpdate&&((i=this.onStoreUpdate)==null||i.call(this,o,"removed",t,this.cache.slice())),this.cache.splice(t,1))}reset(o){this.cache.length=0,this.cache.push(...o||[])}};var _s=n=>{class o extends n{constructor(...a){super(...a);this.handleItemCreation=a=>{let d=a.target;d&&d.addEventListener(he.DESTROYED,this.handleItemRemovedEvent)};this.handleItemRemovedEvent=a=>{if(a.stopImmediatePropagation(),a.target&&a.type===he.DESTROYED){a.target.removeEventListener(he.DESTROYED,this.handleItemRemovedEvent);let d=new Event(a.type,{bubbles:a.bubbles,composed:a.composed});Object.defineProperty(d,"target",{set(){},get:()=>a.target}),this.dispatchEvent(d)}};this.addEventListener(he.CREATED,this.handleItemCreation)}}return o};var wT=z`
3580
+ ${this.iconName?I` <mdc-icon name=${this.iconName} size=${Bf(this.size)} length-unit="rem"></mdc-icon> `:j}
3581
+ `}};wo.styles=[...Fr.styles,...Uf],p([u({type:Number,reflect:!0})],wo.prototype,"size",2),p([u({type:Boolean,reflect:!0})],wo.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],wo.prototype,"inverted",2);var Vd=wo;Vd.register(Vf);var IT=Vd;Fr.register(hu);var CT=Fr;var Is=n=>{class o extends n{constructor(...a){super(...a);this.loop="true";this.propagateAllKeyEvents=!1;this.initialFocus=0;this.handleNavigationKeyDown=a=>{let c=new Set([Q.ARROW_DOWN,Q.ARROW_UP,Q.HOME,Q.END]),m=window.getComputedStyle(this).direction==="rtl",b=this.resolveDirectionKey(a.key,m);if(!c.has(b))return;let C=a.target,L=this.getCurrentIndex(C);if(L!==-1){switch(this.resetTabIndexes(L),b){case Q.HOME:{this.resetTabIndexAndSetFocus(0,L);break}case Q.END:{this.resetTabIndexAndSetFocus(this.navItems.length-1,L);break}case Q.ARROW_DOWN:{let W=this.shouldLoop()?0:L,q=L+1===this.navItems.length?W:L+1;this.resetTabIndexAndSetFocus(q,L);break}case Q.ARROW_UP:{let W=this.shouldLoop()?this.navItems.length-1:L,q=L-1===-1?W:L-1;this.resetTabIndexAndSetFocus(q,L);break}default:break}this.propagateAllKeyEvents||(a.stopPropagation(),a.preventDefault())}};this.handleNavigationClick=a=>{let c=this.getCurrentIndex(a.target);this.resetTabIndexes(c)};this.addEventListener("keydown",this.handleNavigationKeyDown),this.addEventListener("click",this.handleNavigationClick)}async firstUpdated(a){super.firstUpdated(a);let c=Math.max(Math.min(this.initialFocus,this.navItems.length-1),0);this.resetTabIndexAndSetFocus(c,void 0,!1)}getCurrentIndex(a){return this.navItems.findIndex(c=>c===a||!!(c.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY))}resetTabIndexes(a){var c;if(this.navItems.length>0){this.navItems.forEach(b=>b.setAttribute("tabindex","-1"));let m=this.navItems[a]?a:0;this.navItems[m].setAttribute("tabindex","0"),(c=this.navItems[m])==null||c.focus()}}resetTabIndexAndSetFocus(a,c,m=!0){let{navItems:b}=this;if(b.length===0)return;let C=b[a]?a:0,L=b[C];a===c&&L&&L.getAttribute("tabindex")==="0"||(c===void 0?b.forEach(W=>W.setAttribute("tabindex","-1")):b[c]&&b[c].setAttribute("tabindex","-1"),L.setAttribute("tabindex","0"),m&&(L.focus({preventScroll:!0}),L.scrollIntoView({block:"nearest"})))}resolveDirectionKey(a,c){if(!c)return a;switch(a){case Q.ARROW_LEFT:return Q.ARROW_RIGHT;case Q.ARROW_RIGHT:return Q.ARROW_LEFT;default:return a}}shouldLoop(){return this.loop!=="false"}}return o};var Hl=B.constructTagName("listitem"),Ua={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},Hf={VARIANT:Ua.FULL_WIDTH};var Jt={CREATED:"created",DESTROYED:"destroyed",MODIFIED:"modified"};var Gf=(n,o)=>!!(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING);var kT=n=>!!n,Vr=class{constructor(o,t){this.cache=[];this.itemCreationHandler=o=>{this.addItem(o.target,void 0)};this.itemDestroyHandler=o=>{this.delete(o.target)};this.host=o,o.addController(this),this.isValidItem=(t==null?void 0:t.isValidItem)||kT,this.onStoreUpdate=t==null?void 0:t.onStoreUpdate,this.host.addEventListener(Jt.CREATED,this.itemCreationHandler),this.host.addEventListener(Jt.DESTROYED,this.itemDestroyHandler)}get items(){return this.cache}hostConnected(){}hostDisconnected(){}add(o){this.addItem(o,void 0)}addAt(o,t){this.addItem(o,t)}addItem(o,t=void 0){var a;let i=o;if(this.isValidItem(i)&&!this.cache.includes(i)){let c=t===void 0?this.cache.findIndex(m=>Gf(i,m)):t;this.onStoreUpdate&&((a=this.onStoreUpdate)==null||a.call(this,i,"added",c===-1?this.cache.length:c,this.cache.slice())),c===-1?this.cache.push(i):c>=0&&this.cache.splice(c,0,i)}}delete(o){var i;let t=this.cache.indexOf(o);t!==-1&&(this.onStoreUpdate&&((i=this.onStoreUpdate)==null||i.call(this,o,"removed",t,this.cache.slice())),this.cache.splice(t,1))}reset(o){this.cache.length=0,this.cache.push(...o||[])}};var Bi=n=>{class o extends n{constructor(...a){super(...a);this.handleItemCreation=a=>{let c=a.target;c&&c.addEventListener(Jt.DESTROYED,this.handleItemRemovedEvent)};this.handleItemRemovedEvent=a=>{if(a.stopImmediatePropagation(),a.target&&a.type===Jt.DESTROYED){a.target.removeEventListener(Jt.DESTROYED,this.handleItemRemovedEvent);let c=new Event(a.type,{bubbles:a.bubbles,composed:a.composed});Object.defineProperty(c,"target",{set(){},get:()=>a.target}),this.dispatchEvent(c)}};this.addEventListener(Jt.CREATED,this.handleItemCreation)}}return o};var wT=V`
3582
3582
  :host {
3583
3583
  display: flex;
3584
3584
  flex-direction: column;
@@ -3593,11 +3593,11 @@
3593
3593
  scroll-padding-top: 0.25rem;
3594
3594
  scroll-padding-bottom: 0.25rem;
3595
3595
  }
3596
- `,Wf=[wT];var jf=B.constructTagName("list");var Bc={LOOP:"true",INITIAL_FOCUS:0};var Is=class extends Hl(_s(q)){constructor(){super();this.loop=Bc.LOOP;this.initialFocus=Bc.INITIAL_FOCUS;this.handleCreatedEvent=t=>{let i=t.target;this.isValidItem(i)&&(i.tabIndex=-1)};this.handleDestroyEvent=t=>{let i=t.target;if(!this.isValidItem(i)||i.tabIndex!==0)return;let a=this.navItems.findIndex(m=>m===i);if(a===-1)return;let d=a+1;d>=this.navItems.length&&(d=a-1),this.resetTabIndexes(d)};this.addEventListener(he.CREATED,this.handleCreatedEvent),this.addEventListener(he.DESTROYED,this.handleDestroyEvent),this.itemsStore=new zi(this,{isValidItem:this.isValidItem})}connectedCallback(){super.connectedCallback(),this.setAttribute("role",et.LIST)}get navItems(){return this.itemsStore.items}isValidItem(t){return t.matches(`${Gl}:not([disabled])`)}render(){return I`
3596
+ `,Yf=[wT];var Wf=B.constructTagName("list");var Bd={LOOP:"true",INITIAL_FOCUS:0};var Cs=class extends Is(Bi(K)){constructor(){super();this.loop=Bd.LOOP;this.initialFocus=Bd.INITIAL_FOCUS;this.handleCreatedEvent=t=>{let i=t.target;this.isValidItem(i)&&(i.tabIndex=-1)};this.handleDestroyEvent=t=>{let i=t.target;if(!this.isValidItem(i)||i.tabIndex!==0)return;let a=this.navItems.findIndex(m=>m===i);if(a===-1)return;let c=a+1;c>=this.navItems.length&&(c=a-1),this.resetTabIndexes(c)};this.addEventListener(Jt.CREATED,this.handleCreatedEvent),this.addEventListener(Jt.DESTROYED,this.handleDestroyEvent),this.itemsStore=new Vr(this,{isValidItem:this.isValidItem})}connectedCallback(){super.connectedCallback(),this.setAttribute("role",et.LIST)}get navItems(){return this.itemsStore.items}isValidItem(t){return t.matches(`${Hl}:not([disabled])`)}render(){return I`
3597
3597
  <slot name="list-header"></slot>
3598
3598
  <!-- make the container slot role presentation to keep it ignored in a11y tree -->
3599
3599
  <slot part="container" role="presentation"></slot>
3600
- `}};Is.styles=[...q.styles,...Wf],p([u({type:String,reflect:!0})],Is.prototype,"loop",2),p([u({type:Number,reflect:!0,attribute:"initial-focus"})],Is.prototype,"initialFocus",2);var Uc=Is;Uc.register(jf);var Hc=Uc;var NT=z`
3600
+ `}};Cs.styles=[...K.styles,...Yf],p([u({type:String,reflect:!0})],Cs.prototype,"loop",2),p([u({type:Number,reflect:!0,attribute:"initial-focus"})],Cs.prototype,"initialFocus",2);var Ud=Cs;Ud.register(Wf);var Hd=Ud;var NT=V`
3601
3601
  :host {
3602
3602
  --mdc-listheader-padding: 0.5rem 0.75rem;
3603
3603
  --mdc-listheader-gap: 0.5rem;
@@ -3624,7 +3624,7 @@
3624
3624
  :host::part(postfix-icon) {
3625
3625
  flex-shrink: 0;
3626
3626
  }
3627
- `,qf=[NT];var Bi=class extends q{constructor(){super(...arguments);this.disabled=!1}render(){return I`
3627
+ `,jf=[NT];var Ui=class extends K{constructor(){super(...arguments);this.disabled=!1}render(){return I`
3628
3628
  ${this.prefixIcon?I`<mdc-icon
3629
3629
  part="prefix-icon"
3630
3630
  name="${this.prefixIcon}"
@@ -3643,7 +3643,7 @@
3643
3643
  size="1"
3644
3644
  length-unit="rem"
3645
3645
  ></mdc-icon>`:j}
3646
- `}};Bi.styles=[...q.styles,...qf],p([u({type:String,attribute:"prefix-icon"})],Bi.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon"})],Bi.prototype,"postfixIcon",2),p([u({type:String,attribute:"header-text"})],Bi.prototype,"headerText",2),p([u({type:Boolean,reflect:!0})],Bi.prototype,"disabled",2);var Gc=Bi;var Kf=B.constructTagName("listheader");Gc.register(Kf);var LT=Gc;var Xf=n=>{class o extends n{connectedCallback(){super.connectedCallback(),this.dispatchEvent(new Event(he.CREATED,{bubbles:!0,composed:!0}))}disconnectedCallback(){super.disconnectedCallback(),this.dispatchEvent(new Event(he.DESTROYED,{bubbles:!0,composed:!0}))}dispatchModifiedEvent(i){this.dispatchEvent(new CustomEvent(he.MODIFIED,{detail:{change:i},bubbles:!0,composed:!0}))}}return o};var Ua=class{static dispatchListItemEvent(o,t){t.dispatchEvent(new Event(o,{composed:!0,bubbles:!0}))}static onDisableListItem(o){this.dispatchListItemEvent("disabled",o)}static onEnableListItem(o){this.dispatchListItemEvent("enabled",o)}static onCreatedListItem(o){setTimeout(()=>{this.dispatchListItemEvent("created",o)},0)}static onDestroyedListItem(o){this.dispatchListItemEvent("destroyed",o)}};var RT=z`
3646
+ `}};Ui.styles=[...K.styles,...jf],p([u({type:String,attribute:"prefix-icon"})],Ui.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon"})],Ui.prototype,"postfixIcon",2),p([u({type:String,attribute:"header-text"})],Ui.prototype,"headerText",2),p([u({type:Boolean,reflect:!0})],Ui.prototype,"disabled",2);var Gd=Ui;var Kf=B.constructTagName("listheader");Gd.register(Kf);var LT=Gd;var qf=n=>{class o extends n{connectedCallback(){super.connectedCallback(),this.dispatchEvent(new Event(Jt.CREATED,{bubbles:!0,composed:!0}))}disconnectedCallback(){super.disconnectedCallback(),this.dispatchEvent(new Event(Jt.DESTROYED,{bubbles:!0,composed:!0}))}dispatchModifiedEvent(i){this.dispatchEvent(new CustomEvent(Jt.MODIFIED,{detail:{change:i},bubbles:!0,composed:!0}))}}return o};var Ha=class{static dispatchListItemEvent(o,t){t.dispatchEvent(new Event(o,{composed:!0,bubbles:!0}))}static onDisableListItem(o){this.dispatchListItemEvent("disabled",o)}static onEnableListItem(o){this.dispatchListItemEvent("enabled",o)}static onCreatedListItem(o){setTimeout(()=>{this.dispatchListItemEvent("created",o)},0)}static onDestroyedListItem(o){this.dispatchListItemEvent("destroyed",o)}};var MT=V`
3647
3647
  :host {
3648
3648
  --mdc-listitem-default-background-color: var(--mds-color-theme-background-primary-ghost);
3649
3649
  --mdc-listitem-background-color-hover: var(--mds-color-theme-background-primary-hover);
@@ -3752,11 +3752,11 @@
3752
3752
  flex-direction: row;
3753
3753
  flex-shrink: 0;
3754
3754
  }
3755
- `,Zf=[RT,...St()];var Ge=class extends Vt(Rr(Xf(q))){constructor(){super();this.variant=Gf.VARIANT;this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("click",this.handleClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=this.role||et.LISTITEM}handleClick(t){this.disabled&&(t.stopImmediatePropagation(),t.preventDefault())}handleKeyDown(t){(t.key===Z.ENTER||t.key===Z.SPACE)&&(this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}getText(t,i,a){return I`
3755
+ `,Xf=[MT,...St()];var Ge=class extends zt(Lr(qf(K))){constructor(){super();this.variant=Hf.VARIANT;this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("click",this.handleClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=this.role||et.LISTITEM}handleClick(t){this.disabled&&(t.stopImmediatePropagation(),t.preventDefault())}handleKeyDown(t){(t.key===Q.ENTER||t.key===Q.SPACE)&&(this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}getText(t,i,a){return I`
3756
3756
  <slot name="${t}">
3757
3757
  ${a?I`<mdc-text part="${t}" type="${i}" tagname="${mt.SPAN}">${a}</mdc-text>`:j}
3758
3758
  </slot>
3759
- `}disableSlottedChildren(t=!1){[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(i=>{t?(i.setAttribute("disabled",""),this.dispatchModifiedEvent("disabled"),Ua.onDisableListItem(this)):(i.removeAttribute("disabled"),this.dispatchModifiedEvent("enabled"),Ua.onEnableListItem(this))}),this.setAttribute("aria-disabled",`${t}`)}update(t){super.update(t),t.has("disabled")&&(this.tabIndex=this.disabled?-1:0,this.disableSlottedChildren(this.disabled)),t.has("softDisabled")&&this.disableSlottedChildren(this.softDisabled)}renderTrailingControls(){return I`<slot
3759
+ `}disableSlottedChildren(t=!1){[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(i=>{t?(i.setAttribute("disabled",""),this.dispatchModifiedEvent("disabled"),Ha.onDisableListItem(this)):(i.removeAttribute("disabled"),this.dispatchModifiedEvent("enabled"),Ha.onEnableListItem(this))}),this.setAttribute("aria-disabled",`${t}`)}update(t){super.update(t),t.has("disabled")&&(this.tabIndex=this.disabled?-1:0,this.disableSlottedChildren(this.disabled)),t.has("softDisabled")&&this.disableSlottedChildren(this.softDisabled)}renderTrailingControls(){return I`<slot
3760
3760
  name="trailing-controls"
3761
3761
  @click=${this.stopEventPropagation}
3762
3762
  @keyup=${this.stopEventPropagation}
@@ -3766,7 +3766,7 @@
3766
3766
  @click=${this.stopEventPropagation}
3767
3767
  @keyup=${this.stopEventPropagation}
3768
3768
  @keydown=${this.stopEventPropagation}
3769
- ></slot>`}stopEventPropagation(t){(t instanceof KeyboardEvent&&(t.key===Z.ENTER||t.key===Z.SPACE)||t instanceof MouseEvent)&&t.stopPropagation()}render(){return I`
3769
+ ></slot>`}stopEventPropagation(t){(t instanceof KeyboardEvent&&(t.key===Q.ENTER||t.key===Q.SPACE)||t instanceof MouseEvent)&&t.stopPropagation()}render(){return I`
3770
3770
  <slot name="content">
3771
3771
  <div part="leading">
3772
3772
  ${this.renderLeadingControls()}
@@ -3784,7 +3784,7 @@
3784
3784
  ${this.renderTrailingControls()}
3785
3785
  </div>
3786
3786
  </slot>
3787
- `}};Ge.styles=[...q.styles,...Zf],p([Rt({slot:"leading-controls"})],Ge.prototype,"leadingControlsSlot",2),p([Rt({slot:"trailing-controls"})],Ge.prototype,"trailingControlsSlot",2),p([u({type:String,reflect:!0})],Ge.prototype,"variant",2),p([u({type:String,reflect:!0})],Ge.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],Ge.prototype,"secondaryLabel",2),p([u({type:String,reflect:!0,attribute:"tertiary-label"})],Ge.prototype,"tertiaryLabel",2),p([u({type:String,reflect:!0,attribute:"side-header-text"})],Ge.prototype,"sideHeaderText",2),p([u({type:String,reflect:!0,attribute:"subline-text"})],Ge.prototype,"sublineText",2),p([u({type:Boolean,reflect:!0,attribute:"soft-disabled"})],Ge.prototype,"softDisabled",2);var pi=Ge;pi.register(Gl);var MT=pi;var OT=z`
3787
+ `}};Ge.styles=[...K.styles,...Xf],p([Ot({slot:"leading-controls"})],Ge.prototype,"leadingControlsSlot",2),p([Ot({slot:"trailing-controls"})],Ge.prototype,"trailingControlsSlot",2),p([u({type:String,reflect:!0})],Ge.prototype,"variant",2),p([u({type:String,reflect:!0})],Ge.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],Ge.prototype,"secondaryLabel",2),p([u({type:String,reflect:!0,attribute:"tertiary-label"})],Ge.prototype,"tertiaryLabel",2),p([u({type:String,reflect:!0,attribute:"side-header-text"})],Ge.prototype,"sideHeaderText",2),p([u({type:String,reflect:!0,attribute:"subline-text"})],Ge.prototype,"sublineText",2),p([u({type:Boolean,reflect:!0,attribute:"soft-disabled"})],Ge.prototype,"softDisabled",2);var mi=Ge;mi.register(Hl);var RT=mi;var OT=V`
3788
3788
  :host {
3789
3789
  --mdc-marker-width: 0.25rem;
3790
3790
  --mdc-marker-solid-background-color: var(--mds-color-theme-outline-secondary-normal);
@@ -3809,7 +3809,7 @@
3809
3809
  var(--mdc-marker-striped-background-color) 0.375rem
3810
3810
  );
3811
3811
  }
3812
- `,Qf=[OT];var Jf=B.constructTagName("marker"),tv={SOLID:"solid",STRIPED:"striped"};var Ha=class extends q{constructor(){super(...arguments);this.variant=tv.SOLID}};Ha.styles=[...q.styles,...Qf],p([u({type:String,reflect:!0})],Ha.prototype,"variant",2);var Yc=Ha;Yc.register(Jf);var PT=Yc;var Jt=B.constructTagName("menupopover"),Wc={PLACEMENT:Yt.BOTTOM_START,ORIENTATION:"vertical"};var mi=B.constructTagName("menusection"),ev={DIVIDER_VARIANT:"solid"};var Ui=B.constructTagName("sidenavigation"),Br={FIXED_EXPANDED:"fixed-expanded",FIXED_COLLAPSED:"fixed-collapsed",FLEXIBLE:"flexible",HIDDEN:"hidden"},Yl={VARIANT:Br.FLEXIBLE};var Ga=B.constructTagName("menubar"),rv={ORIENTATION:"vertical"};var DT=z`
3812
+ `,Zf=[OT];var Qf=B.constructTagName("marker"),Jf={SOLID:"solid",STRIPED:"striped"};var Ga=class extends K{constructor(){super(...arguments);this.variant=Jf.SOLID}};Ga.styles=[...K.styles,...Zf],p([u({type:String,reflect:!0})],Ga.prototype,"variant",2);var Yd=Ga;Yd.register(Qf);var PT=Yd;var te=B.constructTagName("menupopover"),Wd={PLACEMENT:Yt.BOTTOM_START,ORIENTATION:"vertical"};var ui=B.constructTagName("menusection"),tv={DIVIDER_VARIANT:"solid"};var Hi=B.constructTagName("sidenavigation"),Br={FIXED_EXPANDED:"fixed-expanded",FIXED_COLLAPSED:"fixed-collapsed",FLEXIBLE:"flexible",HIDDEN:"hidden"},Gl={VARIANT:Br.FLEXIBLE};var Ya=B.constructTagName("menubar"),ev={ORIENTATION:"vertical"};var DT=V`
3813
3813
  :host {
3814
3814
  display: flex;
3815
3815
  }
@@ -3821,7 +3821,7 @@
3821
3821
  :host([aria-orientation='vertical']) {
3822
3822
  flex-direction: column;
3823
3823
  }
3824
- `,iv=[DT];var Ya=class extends q{constructor(){super(),this.addEventListener("click",this.handleClick.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this))}async connectedCallback(){var o;super.connectedCallback(),this.role=et.MENUBAR,this.ariaOrientation=rv.ORIENTATION,await this.updateComplete,(o=this.menusections)==null||o.forEach(t=>{t.setAttribute("divider-variant","gradient")})}get menuItems(){var d,m;let o=(d=this.shadowRoot)==null?void 0:d.querySelector("slot"),t=(m=o==null?void 0:o.assignedElements({flatten:!0}))!=null?m:[],i=[],a=b=>{b.role===et.MENUITEM&&!b.hasAttribute("disabled")?i.push(b):b.tagName.toLowerCase()===mi&&Array.from(b.children).forEach(a)};return t.forEach(a),i}getVisibleSubMenusOfItems(o){let t=[];return!o||o.length===0||o.forEach(i=>{var m;let a=i.getAttribute("id");if(!a)return;let d=(m=document.querySelector)==null?void 0:m.call(document,`${Jt}[triggerid="${a}"]`);d&&d.visible&&t.push(d)}),t}getAllPopovers(){var a,d;if(!this.menuItems.length)return[];let o=(d=(a=this.menuItems[0])==null?void 0:a.closest(Ui))!=null?d:this;if(!o)return[];let t=[],i=m=>{m.querySelectorAll(`${Jt}`).forEach(b=>{t.push(b)}),m.querySelectorAll("slot").forEach(b=>{b.assignedElements({flatten:!0}).forEach(i)})};return i(o),t}update(o){super.update(o)}firstUpdated(o){super.firstUpdated(o),this.resetTabIndexAndSetActiveTabIndex(this.menuItems),this.updatePopoverPlacement()}handleClick(o){let t=o.target;if(!t||!this.isTopLevelMenuItem(t))return;let i=this.menuItems.filter(d=>d!==t);this.getVisibleSubMenusOfItems(i).forEach(d=>{d.hide()})}resetTabIndexAndSetActiveTabIndex(o){o.forEach((t,i)=>{let a=i===0?"0":"-1";t==null||t.setAttribute("tabindex",a)})}getCurrentIndex(o){return this.menuItems.findIndex(t=>t===o||t===o.parentElement)}getSubmenu(o){if(o)return this.getAllPopovers().find(t=>t.getAttribute("triggerid")===o)}showSubmenu(o){if(!o||!this.menuItems.find(a=>a.getAttribute("id")===o))return;let i=this.getSubmenu(o);i&&i.show()}updatePopoverPlacement(){let o=Yt.RIGHT_START;this.getAllPopovers().forEach(t=>{t.setAttribute("placement",o)})}updateTabIndexAndFocus(o,t,i){var a,d,m;i<0||t<0||(t!==i&&((a=o[t])==null||a.setAttribute("tabindex","-1"),(d=o[i])==null||d.setAttribute("tabindex","0")),(m=o[i])==null||m.focus())}navigateToMenuItem(o,t,i=!1){var m;let{length:a}=this.menuItems;if(a===0)return;let d=o;if(d=t==="prev"?(o-1+a)%a:(o+1)%a,this.updateTabIndexAndFocus(this.menuItems,o,d),i){let b=(m=this.menuItems[d])==null?void 0:m.getAttribute("id");this.getSubmenu(b)&&!this.menuItems[d].hasAttribute("soft-disabled")&&this.showSubmenu(b)}}getKeyWithDirectionFix(o){return window.getComputedStyle(this).direction==="rtl"?o===Z.ARROW_LEFT?Z.ARROW_RIGHT:o===Z.ARROW_RIGHT?Z.ARROW_LEFT:o:o}isTopLevelMenuItem(o){var d;let t=o.parentElement;if(!t||o.role!==et.MENUITEM)return!1;let i=t.tagName.toLowerCase(),a=(d=t.parentElement)==null?void 0:d.tagName.toLowerCase();return i===Ga||i===Ui||i===mi&&(a===Ga||a===Ui)}isNestedMenuItem(o){return!!o.closest(Jt)&&o.role===et.MENUITEM}async closeAllMenuPopovers(){let o=[];for(;Ce.peek();){let t=Ce.pop();t&&(t.hide(),o.push(t))}await Promise.all(o.map(t=>t.updateComplete))}async crossMenubarNavigationOnLeft(o){if(o.role===et.MENUITEM){let i=o.closest(Jt),a=i==null?void 0:i.getAttribute("triggerid"),d=this.menuItems.find(m=>m.getAttribute("id")===a);if(d){this.isTopLevelMenuItem(d)&&(i==null||i.hide()),await(i==null?void 0:i.updateComplete);let m=this.getCurrentIndex(d);this.navigateToMenuItem(m,"prev",!0)}}}async crossMenubarNavigationOnRight(o){if(this.isTopLevelMenuItem(o)&&this.getSubmenu(o.id)&&!o.hasAttribute("soft-disabled"))this.showSubmenu(o.id);else if(this.isNestedMenuItem(o)&&!this.getSubmenu(o.id)){await this.closeAllMenuPopovers();let t=this.getParentMenuItemIndex(o);t>=0&&this.navigateToMenuItem(t,"next",!0)}}getParentMenuItemIndex(o){let t=o.parentElement;for(;t;){if(t.tagName.toLowerCase()===Jt){let i=t.getAttribute("triggerid"),a=this.menuItems.find(d=>d.getAttribute("id")===i);if(a)return this.isTopLevelMenuItem(a)?this.menuItems.findIndex(d=>d===a):this.getParentMenuItemIndex(a)}t=t.parentElement}return-1}async handleKeyDown(o){let t=this.getCurrentIndex(o.target);switch(this.getKeyWithDirectionFix(o.key)){case Z.HOME:this.updateTabIndexAndFocus(this.menuItems,t,0);break;case Z.END:this.updateTabIndexAndFocus(this.menuItems,t,this.menuItems.length-1);break;case Z.ARROW_LEFT:{let a=t>=0?this.menuItems[t]:o.target;await this.crossMenubarNavigationOnLeft(a);break}case Z.ARROW_RIGHT:{let a=t>=0?this.menuItems[t]:o.target;await this.crossMenubarNavigationOnRight(a);break}case Z.ARROW_UP:{this.navigateToMenuItem(t,"prev"),o.preventDefault();break}case Z.ARROW_DOWN:{this.navigateToMenuItem(t,"next"),o.preventDefault();break}default:break}}render(){return I`<slot role="${et.GROUP}"></slot>`}};Ya.styles=[...q.styles,...iv],p([Rt({selector:"mdc-menusection",flatten:!0})],Ya.prototype,"menusections",2);var jc=Ya;jc.register(Ga);var $T=jc;var Wa=B.constructTagName("menuitem"),ja={LEFT:"arrow-left-bold",RIGHT:"arrow-right-bold"},qc={POSITIVE:"positive",NEGATIVE:"negative"},Kc={LEADING:"leading",TRAILING:"trailing"};var FT=z`
3824
+ `,rv=[DT];var Wa=class extends K{constructor(){super(),this.addEventListener("click",this.handleClick.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this))}async connectedCallback(){var o;super.connectedCallback(),this.role=et.MENUBAR,this.ariaOrientation=ev.ORIENTATION,await this.updateComplete,(o=this.menusections)==null||o.forEach(t=>{t.setAttribute("divider-variant","gradient")})}get menuItems(){var c,m;let o=(c=this.shadowRoot)==null?void 0:c.querySelector("slot"),t=(m=o==null?void 0:o.assignedElements({flatten:!0}))!=null?m:[],i=[],a=b=>{b.role===et.MENUITEM&&!b.hasAttribute("disabled")?i.push(b):b.tagName.toLowerCase()===ui&&Array.from(b.children).forEach(a)};return t.forEach(a),i}getVisibleSubMenusOfItems(o){let t=[];return!o||o.length===0||o.forEach(i=>{var m;let a=i.getAttribute("id");if(!a)return;let c=(m=document.querySelector)==null?void 0:m.call(document,`${te}[triggerid="${a}"]`);c&&c.visible&&t.push(c)}),t}getAllPopovers(){var a,c;if(!this.menuItems.length)return[];let o=(c=(a=this.menuItems[0])==null?void 0:a.closest(Hi))!=null?c:this;if(!o)return[];let t=[],i=m=>{m.querySelectorAll(`${te}`).forEach(b=>{t.push(b)}),m.querySelectorAll("slot").forEach(b=>{b.assignedElements({flatten:!0}).forEach(i)})};return i(o),t}update(o){super.update(o)}firstUpdated(o){super.firstUpdated(o),this.resetTabIndexAndSetActiveTabIndex(this.menuItems),this.updatePopoverPlacement()}handleClick(o){let t=o.target;if(!t||!this.isTopLevelMenuItem(t))return;let i=this.menuItems.filter(c=>c!==t);this.getVisibleSubMenusOfItems(i).forEach(c=>{c.hide()})}resetTabIndexAndSetActiveTabIndex(o){o.forEach((t,i)=>{let a=i===0?"0":"-1";t==null||t.setAttribute("tabindex",a)})}getCurrentIndex(o){return this.menuItems.findIndex(t=>t===o||t===o.parentElement)}getSubmenu(o){if(o)return this.getAllPopovers().find(t=>t.getAttribute("triggerid")===o)}showSubmenu(o){if(!o||!this.menuItems.find(a=>a.getAttribute("id")===o))return;let i=this.getSubmenu(o);i&&i.show()}updatePopoverPlacement(){let o=Yt.RIGHT_START;this.getAllPopovers().forEach(t=>{t.setAttribute("placement",o)})}updateTabIndexAndFocus(o,t,i){var a,c,m;i<0||t<0||(t!==i&&((a=o[t])==null||a.setAttribute("tabindex","-1"),(c=o[i])==null||c.setAttribute("tabindex","0")),(m=o[i])==null||m.focus())}navigateToMenuItem(o,t,i=!1){var m;let{length:a}=this.menuItems;if(a===0)return;let c=o;if(c=t==="prev"?(o-1+a)%a:(o+1)%a,this.updateTabIndexAndFocus(this.menuItems,o,c),i){let b=(m=this.menuItems[c])==null?void 0:m.getAttribute("id");this.getSubmenu(b)&&!this.menuItems[c].hasAttribute("soft-disabled")&&this.showSubmenu(b)}}getKeyWithDirectionFix(o){return window.getComputedStyle(this).direction==="rtl"?o===Q.ARROW_LEFT?Q.ARROW_RIGHT:o===Q.ARROW_RIGHT?Q.ARROW_LEFT:o:o}isTopLevelMenuItem(o){var c;let t=o.parentElement;if(!t||o.role!==et.MENUITEM)return!1;let i=t.tagName.toLowerCase(),a=(c=t.parentElement)==null?void 0:c.tagName.toLowerCase();return i===Ya||i===Hi||i===ui&&(a===Ya||a===Hi)}isNestedMenuItem(o){return!!o.closest(te)&&o.role===et.MENUITEM}async closeAllMenuPopovers(){let o=[];for(;Ie.peek();){let t=Ie.pop();t&&(t.hide(),o.push(t))}await Promise.all(o.map(t=>t.updateComplete))}async crossMenubarNavigationOnLeft(o){if(o.role===et.MENUITEM){let i=o.closest(te),a=i==null?void 0:i.getAttribute("triggerid"),c=this.menuItems.find(m=>m.getAttribute("id")===a);if(c){this.isTopLevelMenuItem(c)&&(i==null||i.hide()),await(i==null?void 0:i.updateComplete);let m=this.getCurrentIndex(c);this.navigateToMenuItem(m,"prev",!0)}}}async crossMenubarNavigationOnRight(o){if(this.isTopLevelMenuItem(o)&&this.getSubmenu(o.id)&&!o.hasAttribute("soft-disabled"))this.showSubmenu(o.id);else if(this.isNestedMenuItem(o)&&!this.getSubmenu(o.id)){await this.closeAllMenuPopovers();let t=this.getParentMenuItemIndex(o);t>=0&&this.navigateToMenuItem(t,"next",!0)}}getParentMenuItemIndex(o){let t=o.parentElement;for(;t;){if(t.tagName.toLowerCase()===te){let i=t.getAttribute("triggerid"),a=this.menuItems.find(c=>c.getAttribute("id")===i);if(a)return this.isTopLevelMenuItem(a)?this.menuItems.findIndex(c=>c===a):this.getParentMenuItemIndex(a)}t=t.parentElement}return-1}async handleKeyDown(o){let t=this.getCurrentIndex(o.target);switch(this.getKeyWithDirectionFix(o.key)){case Q.HOME:this.updateTabIndexAndFocus(this.menuItems,t,0);break;case Q.END:this.updateTabIndexAndFocus(this.menuItems,t,this.menuItems.length-1);break;case Q.ARROW_LEFT:{let a=t>=0?this.menuItems[t]:o.target;await this.crossMenubarNavigationOnLeft(a);break}case Q.ARROW_RIGHT:{let a=t>=0?this.menuItems[t]:o.target;await this.crossMenubarNavigationOnRight(a);break}case Q.ARROW_UP:{this.navigateToMenuItem(t,"prev"),o.preventDefault();break}case Q.ARROW_DOWN:{this.navigateToMenuItem(t,"next"),o.preventDefault();break}default:break}}render(){return I`<slot role="${et.GROUP}"></slot>`}};Wa.styles=[...K.styles,...rv],p([Ot({selector:"mdc-menusection",flatten:!0})],Wa.prototype,"menusections",2);var jd=Wa;jd.register(Ya);var FT=jd;var ja=B.constructTagName("menuitem"),Ka={LEFT:"arrow-left-bold",RIGHT:"arrow-right-bold"},Kd={POSITIVE:"positive",NEGATIVE:"negative"},qd={LEADING:"leading",TRAILING:"trailing"};var $T=V`
3825
3825
  :host(:dir(rtl))::part(trailing-arrow),
3826
3826
  :host(:dir(rtl))::part(leading-arrow) {
3827
3827
  transform: rotate(180deg);
@@ -3830,23 +3830,23 @@
3830
3830
  :host::part(leading-arrow) {
3831
3831
  --mdc-icon-size: 1.25rem;
3832
3832
  }
3833
- `,ov=[FT];var Hi=class extends pi{constructor(){super(),this.addEventListener("keyup",this.handleKeyUp.bind(this))}handleKeyDown(o){o.key===Z.ENTER&&(this.triggerClickEvent(),o.preventDefault())}handleKeyUp(o){o.key===Z.SPACE&&(this.triggerClickEvent(),o.preventDefault())}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEM,this.variant=Ba.INSET_RECTANGLE}renderTrailingControls(){let o=this.arrowDirection===qc.NEGATIVE?ja.LEFT:ja.RIGHT;return I`
3833
+ `,iv=[$T];var Gi=class extends mi{constructor(){super(),this.addEventListener("keyup",this.handleKeyUp.bind(this))}handleKeyDown(o){o.key===Q.ENTER&&(this.triggerClickEvent(),o.preventDefault())}handleKeyUp(o){o.key===Q.SPACE&&(this.triggerClickEvent(),o.preventDefault())}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEM,this.variant=Ua.INSET_RECTANGLE}renderTrailingControls(){let o=this.arrowDirection===Kd.NEGATIVE?Ka.LEFT:Ka.RIGHT;return I`
3834
3834
  <slot
3835
3835
  name="trailing-controls"
3836
3836
  @click=${this.stopEventPropagation}
3837
3837
  @keyup=${this.stopEventPropagation}
3838
3838
  @keydown=${this.stopEventPropagation}
3839
3839
  ></slot>
3840
- ${this.arrowPosition===Kc.TRAILING?I`<mdc-icon name="${o}" length-unit="rem" part="trailing-arrow"></mdc-icon>`:j}
3841
- `}renderLeadingControls(){let o=this.arrowDirection===qc.POSITIVE?ja.RIGHT:ja.LEFT;return I`
3840
+ ${this.arrowPosition===qd.TRAILING?I`<mdc-icon name="${o}" length-unit="rem" part="trailing-arrow"></mdc-icon>`:j}
3841
+ `}renderLeadingControls(){let o=this.arrowDirection===Kd.POSITIVE?Ka.RIGHT:Ka.LEFT;return I`
3842
3842
  <slot
3843
3843
  name="leading-controls"
3844
3844
  @click=${this.stopEventPropagation}
3845
3845
  @keyup=${this.stopEventPropagation}
3846
3846
  @keydown=${this.stopEventPropagation}
3847
3847
  ></slot>
3848
- ${this.arrowPosition===Kc.LEADING?I`<mdc-icon name="${o}" length-unit="rem" part="leading-arrow"></mdc-icon>`:j}
3849
- `}};Hi.styles=[...pi.styles,...ov],p([u({type:String,reflect:!0,attribute:"arrow-position"})],Hi.prototype,"arrowPosition",2),p([u({type:String,reflect:!0,attribute:"arrow-direction"})],Hi.prototype,"arrowDirection",2),p([u({type:String,reflect:!0})],Hi.prototype,"name",2),p([u({type:String,reflect:!0})],Hi.prototype,"value",2);var cr=Hi;cr.register(Wa);var VT=cr;var sv=B.constructTagName("statictoggle"),zT={DEFAULT:"default",COMPACT:"compact"},Xc={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},av={compact:.75,default:1.25},nv={SIZE:zT.DEFAULT};var BT=[z`
3848
+ ${this.arrowPosition===qd.LEADING?I`<mdc-icon name="${o}" length-unit="rem" part="leading-arrow"></mdc-icon>`:j}
3849
+ `}};Gi.styles=[...mi.styles,...iv],p([u({type:String,reflect:!0,attribute:"arrow-position"})],Gi.prototype,"arrowPosition",2),p([u({type:String,reflect:!0,attribute:"arrow-direction"})],Gi.prototype,"arrowDirection",2),p([u({type:String,reflect:!0})],Gi.prototype,"name",2),p([u({type:String,reflect:!0})],Gi.prototype,"value",2);var dr=Gi;dr.register(ja);var zT=dr;var ov=B.constructTagName("statictoggle"),VT={DEFAULT:"default",COMPACT:"compact"},Xd={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},sv={compact:.75,default:1.25},av={SIZE:VT.DEFAULT};var BT=[V`
3850
3850
  :host {
3851
3851
  --mdc-statictoggle-width: 3rem;
3852
3852
  --mdc-statictoggle-height: 1.5rem;
@@ -3926,17 +3926,17 @@
3926
3926
  border: var(--mdc-statictoggle-border);
3927
3927
  }
3928
3928
  }
3929
- `],lv=BT;var Cs=class extends Vt(q){constructor(){super(...arguments);this.checked=!1;this.size=nv.SIZE}render(){return I`
3929
+ `],nv=BT;var ks=class extends zt(K){constructor(){super(...arguments);this.checked=!1;this.size=av.SIZE}render(){return I`
3930
3930
  <slot></slot>
3931
3931
  <div part="slider">
3932
3932
  <mdc-icon
3933
- name="${this.checked?Xc.CHECKED:Xc.UNCHECKED}"
3933
+ name="${this.checked?Xd.CHECKED:Xd.UNCHECKED}"
3934
3934
  class="icon"
3935
3935
  length-unit="rem"
3936
- size="${av[this.size]}"
3936
+ size="${sv[this.size]}"
3937
3937
  ></mdc-icon>
3938
3938
  </div>
3939
- `}};Cs.styles=[...q.styles,...lv],p([u({type:Boolean,reflect:!0})],Cs.prototype,"checked",2),p([u({type:String,reflect:!0})],Cs.prototype,"size",2);var Zc=Cs;Zc.register(sv);var UT=Zc;var qa=B.constructTagName("tooltip"),Ye={DESCRIPTION:"description",LABEL:"label",NONE:"none"},Gi={BACKDROP:!1,DELAY:"0,0",OFFSET:4,PLACEMENT:Yt.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:Ye.DESCRIPTION};var HT=z`
3939
+ `}};ks.styles=[...K.styles,...nv],p([u({type:Boolean,reflect:!0})],ks.prototype,"checked",2),p([u({type:String,reflect:!0})],ks.prototype,"size",2);var Zd=ks;Zd.register(ov);var UT=Zd;var qa=B.constructTagName("tooltip"),Ye={DESCRIPTION:"description",LABEL:"label",NONE:"none"},Yi={BACKDROP:!1,DELAY:"0,0",OFFSET:4,PLACEMENT:Yt.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:Ye.DESCRIPTION};var HT=V`
3940
3940
  :host {
3941
3941
  --mdc-tooltip-max-width: 400px;
3942
3942
  --mdc-tooltip-padding: 0.75rem;
@@ -3960,32 +3960,32 @@
3960
3960
  :host([color='contrast'])::part(popover-content) {
3961
3961
  color: var(--mdc-tooltip-text-color-contrast);
3962
3962
  }
3963
- `,dv=[HT];var ks=class extends Fe{constructor(){super(...arguments);this.tooltipType=Gi.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||Gi.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||Gi.OFFSET,this.placement=this.placement||Gi.PLACEMENT,this.role=et.TOOLTIP,this.trigger="mouseenter focusin",this.preventScroll=!1,this.flip=!0,this.preventScroll=!1,this.closeButton=!1,this.hideOnOutsideClick=!1,this.focusBackToTrigger=!1,this.size=!1,this.disableAriaExpanded=!0}getTooltipText(){var t,i;return((i=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:i.trim())||""}setTooltipType(t){this.setAttribute("tooltip-type",Object.values(Ye).includes(t)?t:Gi.TOOLTIP_TYPE)}async onIdUpdated(){if(this.id.length===0&&(this.id=`mdc-tooltip-${Se()}`),await this.updateComplete,this.triggerElement)switch(this.tooltipType){case Ye.DESCRIPTION:this.triggerElement.setAttribute("aria-describedby",this.id);break;case Ye.LABEL:this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(Yt).includes(this.placement)||(this.placement=Gi.PLACEMENT)}onTooltipTypeUpdated(t){let i=t.get("tooltipType");if(Object.values(Ye).includes(this.tooltipType)||this.setTooltipType(Gi.TOOLTIP_TYPE),this.triggerElement){let a=this.getTooltipText();switch(this.tooltipType){case Ye.DESCRIPTION:i===Ye.LABEL&&this.triggerElement.removeAttribute("aria-labelledby"),this.triggerElement.setAttribute("aria-describedby",this.id);break;case Ye.LABEL:i===Ye.DESCRIPTION&&this.triggerElement.removeAttribute("aria-describedby"),this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:i===Ye.DESCRIPTION?this.triggerElement.removeAttribute("aria-describedby"):i===Ye.LABEL&&this.triggerElement.removeAttribute("aria-labelledby");break}a.length>0&&this.tooltipType!==Ye.NONE&&!this.ariaLabel&&(this.ariaLabel=a)}}async update(t){super.update(t),t.has("id")&&await this.onIdUpdated(),t.has("placement")&&this.onPlacementUpdated(),t.has("tooltipType")&&this.onTooltipTypeUpdated(t)}};ks.styles=[...Fe.styles,...dv],p([u({type:String,attribute:"tooltip-type",reflect:!0})],ks.prototype,"tooltipType",2),p([Bn()],ks.prototype,"defaultSlotNodes",2);var Qc=ks;Qc.register(qa);var GT=Qc;var cv=B.constructTagName("toggle"),Ka={DEFAULT:"default",COMPACT:"compact"};var Jc={SIZE:Ka.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var hv=n=>{class o extends n{}return p([u({reflect:!0,type:Boolean})],o.prototype,"controlled",2),o};var Wl=B.constructTagName("menuitemcheckbox"),Xa={NONE:"none",CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},pv={INDICATOR:Xa.CHECKBOX};var YT=z`
3963
+ `,lv=[HT];var ws=class extends $e{constructor(){super(...arguments);this.tooltipType=Yi.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||Yi.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||Yi.OFFSET,this.placement=this.placement||Yi.PLACEMENT,this.role=et.TOOLTIP,this.trigger="mouseenter focusin",this.preventScroll=!1,this.flip=!0,this.preventScroll=!1,this.closeButton=!1,this.hideOnOutsideClick=!1,this.focusBackToTrigger=!1,this.size=!1,this.disableAriaExpanded=!0}getTooltipText(){var t,i;return((i=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:i.trim())||""}setTooltipType(t){this.setAttribute("tooltip-type",Object.values(Ye).includes(t)?t:Yi.TOOLTIP_TYPE)}async onIdUpdated(){if(this.id.length===0&&(this.id=`mdc-tooltip-${Ae()}`),await this.updateComplete,this.triggerElement)switch(this.tooltipType){case Ye.DESCRIPTION:this.triggerElement.setAttribute("aria-describedby",this.id);break;case Ye.LABEL:this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(Yt).includes(this.placement)||(this.placement=Yi.PLACEMENT)}onTooltipTypeUpdated(t){let i=t.get("tooltipType");if(Object.values(Ye).includes(this.tooltipType)||this.setTooltipType(Yi.TOOLTIP_TYPE),this.triggerElement){let a=this.getTooltipText();switch(this.tooltipType){case Ye.DESCRIPTION:i===Ye.LABEL&&this.triggerElement.removeAttribute("aria-labelledby"),this.triggerElement.setAttribute("aria-describedby",this.id);break;case Ye.LABEL:i===Ye.DESCRIPTION&&this.triggerElement.removeAttribute("aria-describedby"),this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:i===Ye.DESCRIPTION?this.triggerElement.removeAttribute("aria-describedby"):i===Ye.LABEL&&this.triggerElement.removeAttribute("aria-labelledby");break}a.length>0&&this.tooltipType!==Ye.NONE&&!this.ariaLabel&&(this.ariaLabel=a)}}async update(t){super.update(t),t.has("id")&&await this.onIdUpdated(),t.has("placement")&&this.onPlacementUpdated(),t.has("tooltipType")&&this.onTooltipTypeUpdated(t)}};ws.styles=[...$e.styles,...lv],p([u({type:String,attribute:"tooltip-type",reflect:!0})],ws.prototype,"tooltipType",2),p([Bn()],ws.prototype,"defaultSlotNodes",2);var Qd=ws;Qd.register(qa);var GT=Qd;var cv=B.constructTagName("toggle"),Xa={DEFAULT:"default",COMPACT:"compact"};var Jd={SIZE:Xa.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var dv=n=>{class o extends n{}return p([u({reflect:!0,type:Boolean})],o.prototype,"controlled",2),o};var Yl=B.constructTagName("menuitemcheckbox"),Za={NONE:"none",CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},hv={INDICATOR:Za.CHECKBOX};var YT=V`
3964
3964
  :host::part(checkmark-icon) {
3965
3965
  --mdc-icon-fill-color: currentColor;
3966
3966
  }
3967
3967
  :host .hidden-checkmark {
3968
3968
  visibility: hidden;
3969
3969
  }
3970
- `,mv=[YT];var ws=class extends hv(cr){constructor(){super();this.checked=!1;this.indicator=pv.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEMCHECKBOX}handleMouseClick(){this.disabled||(this.controlled||(this.checked=!this.checked),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`)}staticCheckbox(){return this.indicator===Xa.CHECKBOX?I`
3970
+ `,pv=[YT];var Ns=class extends dv(dr){constructor(){super();this.checked=!1;this.indicator=hv.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEMCHECKBOX}handleMouseClick(){this.disabled||(this.controlled||(this.checked=!this.checked),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`)}staticCheckbox(){return this.indicator===Za.CHECKBOX?I`
3971
3971
  <mdc-staticcheckbox
3972
3972
  slot="leading-controls"
3973
3973
  ?checked="${this.checked}"
3974
3974
  ?disabled="${this.disabled}"
3975
3975
  ></mdc-staticcheckbox>
3976
- `:j}staticToggle(){return this.indicator===Xa.TOGGLE?I`
3976
+ `:j}staticToggle(){return this.indicator===Za.TOGGLE?I`
3977
3977
  <mdc-statictoggle
3978
3978
  slot="trailing-controls"
3979
3979
  ?checked="${this.checked}"
3980
3980
  ?disabled="${this.disabled}"
3981
- size="${Ka.COMPACT}"
3981
+ size="${Xa.COMPACT}"
3982
3982
  ></mdc-statictoggle>
3983
- `:j}getCheckmarkIcon(){return this.indicator===Xa.CHECKMARK?I`
3983
+ `:j}getCheckmarkIcon(){return this.indicator===Za.CHECKMARK?I`
3984
3984
  <mdc-icon
3985
3985
  slot="trailing-controls"
3986
3986
  name="check-bold"
3987
3987
  part="checkmark-icon"
3988
- class=${Dr({"hidden-checkmark":!this.checked})}
3988
+ class=${Pr({"hidden-checkmark":!this.checked})}
3989
3989
  ></mdc-icon>
3990
3990
  `:j}render(){return I`
3991
3991
  <slot name="content">
@@ -4007,25 +4007,25 @@
4007
4007
  ${this.staticToggle()} ${this.getCheckmarkIcon()}
4008
4008
  </div>
4009
4009
  </slot>
4010
- `}};ws.styles=[...cr.styles,...mv],p([u({type:Boolean,reflect:!0})],ws.prototype,"checked",2),p([u({type:String,reflect:!0})],ws.prototype,"indicator",2);var th=ws;th.register(Wl);var WT=th;var jl=B.constructTagName("menuitemradio"),ql={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},uv={INDICATOR:ql.RADIO};var jT=z`
4010
+ `}};Ns.styles=[...dr.styles,...pv],p([u({type:Boolean,reflect:!0})],Ns.prototype,"checked",2),p([u({type:String,reflect:!0})],Ns.prototype,"indicator",2);var th=Ns;th.register(Yl);var WT=th;var Wl=B.constructTagName("menuitemradio"),jl={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},mv={INDICATOR:jl.RADIO};var jT=V`
4011
4011
  :host::part(checkmark-icon) {
4012
4012
  --mdc-icon-fill-color: currentColor;
4013
4013
  }
4014
4014
  :host .hidden-checkmark {
4015
4015
  visibility: hidden;
4016
4016
  }
4017
- `,fv=[jT];var Ns=class extends cr{constructor(){super();this.checked=!1;this.indicator=uv.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${mi}, ${Jt}`);return!t||!this.name?[]:Array.from(t.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(i=>{i!==this&&i.removeAttribute("checked")})}handleMouseClick(){this.disabled||this.checked||(this.updateOtherRadiosCheckedState(),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`,t.get("checked")===!1&&this.checked&&this.updateOtherRadiosCheckedState())}renderStaticRadio(){return this.indicator===ql.RADIO?I`
4017
+ `,uv=[jT];var Ls=class extends dr{constructor(){super();this.checked=!1;this.indicator=mv.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${ui}, ${te}`);return!t||!this.name?[]:Array.from(t.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(i=>{i!==this&&i.removeAttribute("checked")})}handleMouseClick(){this.disabled||this.checked||(this.updateOtherRadiosCheckedState(),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`,t.get("checked")===!1&&this.checked&&this.updateOtherRadiosCheckedState())}renderStaticRadio(){return this.indicator===jl.RADIO?I`
4018
4018
  <mdc-staticradio
4019
4019
  slot="leading-controls"
4020
4020
  ?checked="${this.checked}"
4021
4021
  ?disabled="${this.disabled}"
4022
4022
  ></mdc-staticradio>
4023
- `:j}renderCheckmarkIcon(){return this.indicator===ql.CHECKMARK?I`
4023
+ `:j}renderCheckmarkIcon(){return this.indicator===jl.CHECKMARK?I`
4024
4024
  <mdc-icon
4025
4025
  slot="trailing-controls"
4026
4026
  name="check-bold"
4027
4027
  part="checkmark-icon"
4028
- class=${Dr({"hidden-checkmark":!this.checked})}
4028
+ class=${Pr({"hidden-checkmark":!this.checked})}
4029
4029
  ></mdc-icon>
4030
4030
  `:j}render(){return I`
4031
4031
  <slot name="content">
@@ -4047,7 +4047,7 @@
4047
4047
  ${this.renderCheckmarkIcon()}
4048
4048
  </div>
4049
4049
  </slot>
4050
- `}};Ns.styles=[...cr.styles,...fv],p([u({type:Boolean,reflect:!0})],Ns.prototype,"checked",2),p([u({type:String,reflect:!0})],Ns.prototype,"indicator",2);var eh=Ns;eh.register(jl);var qT=eh;var Yi=B.constructTagName("navmenuitem"),vv={DOT:or.DOT,COUNTER:or.COUNTER},gv={RIGHT_ARROW:"arrow-right-bold"},bv={MAX_COUNTER:99,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:ao[24],VARIANT:Br.FLEXIBLE};var KT=z`
4050
+ `}};Ls.styles=[...dr.styles,...uv],p([u({type:Boolean,reflect:!0})],Ls.prototype,"checked",2),p([u({type:String,reflect:!0})],Ls.prototype,"indicator",2);var eh=Ls;eh.register(Wl);var KT=eh;var Wi=B.constructTagName("navmenuitem"),fv={DOT:or.DOT,COUNTER:or.COUNTER},vv={RIGHT_ARROW:"arrow-right-bold"},gv={MAX_COUNTER:99,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:no[24],VARIANT:Br.FLEXIBLE};var qT=V`
4051
4051
  :host::part(popover-content) {
4052
4052
  padding: 0.75rem 0.5rem;
4053
4053
  }
@@ -4055,7 +4055,7 @@
4055
4055
  ::slotted(mdc-divider) {
4056
4056
  margin-block: 0.25rem;
4057
4057
  }
4058
- `,yv=[KT];var Za=n=>{var t;if(!n)return!1;let o=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();return o===et.MENUITEM||o===et.MENUITEMCHECKBOX||o===et.MENUITEMRADIO},rh=n=>{var o;return((o=n==null?void 0:n.tagName)==null?void 0:o.toLowerCase())===Jt};var Qa=class extends Fe{constructor(){super();this.placement=Wc.PLACEMENT;this.menuItems=[];this.menuItemsWithSubMenus=[];this.onOutsidePopoverClick=t=>{if(Ce.peek()!==this)return;let i=t.composedPath(),a=this.contains(t.target)||i.includes(this.triggerElement)||i.includes(this),d=this.backdropElement?i.includes(this.backdropElement):!1;(!a||d)&&this.closeAllMenuPopovers()};this.togglePopoverVisible=t=>{var i;(i=this.triggerElement)!=null&&i.hasAttribute("soft-disabled")||!this.isEventFromTrigger(t)||(this.visible?this.hide():this.show())};this.handleItemCreation=t=>{let i=t.target;Za(i)&&(t.stopImmediatePropagation(),i.addEventListener("destroyed",this.handleItemChangeEvent),i.addEventListener("disabled",this.handleItemChangeEvent))};this.handleItemChangeEvent=t=>{t.stopImmediatePropagation(),t.target&&t.type==="destroyed"&&(t.target.removeEventListener("destroyed",this.handleItemChangeEvent),t.target.removeEventListener("disabled",this.handleItemChangeEvent)),this.resetMenuNavigation()};this.resetMenuNavigation=()=>{this.collectMenuItems(),this.menuItems.find(i=>i.getAttribute("tabindex")==="0")||this.resetTabIndexes(0)};this.handleKeyDown=t=>{let i=!1;this.collectMenuItems();let a=t.target,d=this.getCurrentIndex(a);if(d===-1)return;this.resetTabIndexes(d);let m=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(t.key,m)){case Z.HOME:{this.resetTabIndexAndSetFocus(0,d),i=!0;break}case Z.END:{this.resetTabIndexAndSetFocus(this.menuItems.length-1,d),i=!0;break}case Z.ARROW_DOWN:{let C=d+1===this.menuItems.length?0:d+1;this.resetTabIndexAndSetFocus(C,d),i=!0;break}case Z.ARROW_UP:{let C=d-1===-1?this.menuItems.length-1:d-1;this.resetTabIndexAndSetFocus(C,d),i=!0;break}case Z.ARROW_RIGHT:{let C=this.getSubMenuPopoverOfTarget(a);C&&(C.show(),i=!0);break}case Z.ARROW_LEFT:{rh(this.parentElement)&&(this.hide(),this.resetTabIndexAndSetFocus(0,d),i=!0);break}case Z.ESCAPE:{this.resetTabIndexAndSetFocus(0,d),i=!0;break}case Z.ENTER:{this.getSubMenuPopoverOfTarget(a)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(a),i=!0);break}case Z.SPACE:{i=!0;break}default:break}i&&(t.stopPropagation(),t.preventDefault())};this.handleKeyUp=t=>{let i=!1,a=t.target;switch(t.key){case Z.SPACE:{a.matches(`${jl}, ${Wl}`)||this.getSubMenuPopoverOfTarget(a)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(a),i=!0);break}default:break}i&&(t.stopPropagation(),t.preventDefault())};this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("keyup",this.handleKeyUp),this.addEventListener("click",this.handleMouseClick),this.addEventListener("created",this.handleItemCreation)}getSubMenuPopoverOfTarget(t){var a,d;let i=t.getAttribute("id");return i?(d=(a=this.parentElement)==null?void 0:a.querySelector)==null?void 0:d.call(a,`${Jt}[triggerid="${i}"]`):null}collectMenuItems(){var a;let t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot"),i=(t==null?void 0:t.assignedElements({flatten:!0}))||[];this.menuItems=i.map(d=>d.tagName.toLowerCase()===mi?Array.from(d.children).filter(m=>Za(m)):Za(d)?d:[]).flat().filter(d=>!!d&&!d.hasAttribute("disabled")),this.menuItemsWithSubMenus=this.menuItems.filter(d=>this.getSubMenuPopoverOfTarget(d))}getOpenSubMenusOfItems(t){let i=[];return!t||t.length===0||t.forEach(a=>{let d=this.getSubMenuPopoverOfTarget(a);d&&d.visible&&i.push(d)}),i}connectedCallback(){super.connectedCallback(),this.role=et.MENU,this.ariaOrientation=Wc.ORIENTATION,this.backdrop=!1,this.color=Eo.TONAL,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.interactive=!0,this.showArrow=!1,this.closeButton=!1,this.closeButtonAriaLabel=null}async isOpenUpdated(t,i){return t===i||!this.triggerElement?Promise.resolve():(i&&(this.backdrop=![Wa,Yi].includes(this.triggerElement.tagName.toLowerCase())),i===!1&&this.menuItemsWithSubMenus.forEach(a=>{let d=this.getSubMenuPopoverOfTarget(a);d&&d.hide()}),this.resetMenuNavigation(),super.isOpenUpdated(t,i))}async firstUpdated(t){await super.firstUpdated(t),this.collectMenuItems(),this.resetTabIndexes(0)}resetTabIndexes(t){this.menuItems.length>0&&(this.menuItems.forEach(i=>i.setAttribute("tabindex","-1")),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}getCurrentIndex(t){return this.menuItems.findIndex(i=>i===t)}resetTabIndexAndSetFocus(t,i){t!==i&&(this.menuItems[i].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}closeAllMenuPopovers(t){for(;Ce.peek()!==t&&rh(Ce.peek());){let i=Ce.pop();if(i)i.hide();else break}}closeOtherSubMenusOnSameLevel(t){let i=this.menuItemsWithSubMenus.filter(d=>d!==t);this.getOpenSubMenusOfItems(i).forEach(d=>{d.hide()})}fireMenuItemAction(t){t.matches(Wa)&&t.dispatchEvent(new Event("action",{bubbles:!0,composed:!0}))}handleMouseClick(t){let i=t.target;if(t.stopPropagation(),!(!Za(i)||!t.isTrusted)){if(this.getSubMenuPopoverOfTarget(i)){this.closeOtherSubMenusOnSameLevel(i);return}this.closeAllMenuPopovers(),this.fireMenuItemAction(i)}}resolveDirectionKey(t,i){if(!i)return t;switch(t){case Z.ARROW_LEFT:return Z.ARROW_RIGHT;case Z.ARROW_RIGHT:return Z.ARROW_LEFT;default:return t}}};Qa.styles=[...Fe.styles,...yv],p([u({type:String,reflect:!0})],Qa.prototype,"placement",2);var ih=Qa;ih.register(Jt);var XT=ih;var Kl=class{constructor(o,t,i){this.variant=o,this.expanded=t,this.parentNavTooltipText=i}hasSiblingWithTriggerId(o){var a,d;let t=o==null?void 0:o.getAttribute("id");return t?Array.from((d=(a=o==null?void 0:o.parentElement)==null?void 0:a.children)!=null?d:[]).some(m=>m!==o&&m.tagName.toLowerCase()===Jt&&m.getAttribute("triggerid")===t):!1}getParentNavMenuItems(o){if(!o)return[];let t=[],i=o;for(;i;){let a=i==null?void 0:i.closest(Jt);if(!a)break;let d=a.getAttribute("triggerid");if(!d)break;let m=document.getElementById(d);if(m&&m.tagName.toLowerCase()===Yi)t.push(m),i=m;else break}return t}setCurrentActiveNavMenuItem(o){var d;let t=((d=this.currentActiveNavMenuItem)==null?void 0:d.navId)===(o==null?void 0:o.navId),i=(o==null?void 0:o.disableAriaCurrent)||this.hasSiblingWithTriggerId(o)||(o==null?void 0:o.softDisabled);if(t||i||(this.currentActiveNavMenuItem&&(this.currentActiveNavMenuItem.removeAttribute("aria-current"),this.currentActiveNavMenuItem.removeAttribute("active"),this.getParentNavMenuItems(this.currentActiveNavMenuItem).forEach(b=>{b.removeAttribute("tooltip-text"),b.removeAttribute("tooltip-placement"),b.removeAttribute("active")})),!o))return;this.currentActiveNavMenuItem=o,o.setAttribute("aria-current","page"),o.setAttribute("active",""),this.getParentNavMenuItems(o).forEach(m=>{m.setAttribute("tooltip-text",this.parentNavTooltipText||""),m.setAttribute("tooltip-placement",Yt.BOTTOM),m.setAttribute("active","")})}};Kl.context=Ui;var Xl=Kl;var ZT=z`
4058
+ `,bv=[qT];var Qa=n=>{var t;if(!n)return!1;let o=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();return o===et.MENUITEM||o===et.MENUITEMCHECKBOX||o===et.MENUITEMRADIO},rh=n=>{var o;return((o=n==null?void 0:n.tagName)==null?void 0:o.toLowerCase())===te};var Ja=class extends $e{constructor(){super();this.placement=Wd.PLACEMENT;this.menuItems=[];this.menuItemsWithSubMenus=[];this.onOutsidePopoverClick=t=>{if(Ie.peek()!==this)return;let i=t.composedPath(),a=this.contains(t.target)||i.includes(this.triggerElement)||i.includes(this),c=this.backdropElement?i.includes(this.backdropElement):!1;(!a||c)&&this.closeAllMenuPopovers()};this.togglePopoverVisible=t=>{var i;(i=this.triggerElement)!=null&&i.hasAttribute("soft-disabled")||!this.isEventFromTrigger(t)||(this.visible?this.hide():this.show())};this.handleItemCreation=t=>{let i=t.target;Qa(i)&&(t.stopImmediatePropagation(),i.addEventListener("destroyed",this.handleItemChangeEvent),i.addEventListener("disabled",this.handleItemChangeEvent))};this.handleItemChangeEvent=t=>{t.stopImmediatePropagation(),t.target&&t.type==="destroyed"&&(t.target.removeEventListener("destroyed",this.handleItemChangeEvent),t.target.removeEventListener("disabled",this.handleItemChangeEvent)),this.resetMenuNavigation()};this.resetMenuNavigation=()=>{this.collectMenuItems(),this.menuItems.find(i=>i.getAttribute("tabindex")==="0")||this.resetTabIndexes(0)};this.handleKeyDown=t=>{let i=!1;this.collectMenuItems();let a=t.target,c=this.getCurrentIndex(a);if(c===-1)return;this.resetTabIndexes(c);let m=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(t.key,m)){case Q.HOME:{this.resetTabIndexAndSetFocus(0,c),i=!0;break}case Q.END:{this.resetTabIndexAndSetFocus(this.menuItems.length-1,c),i=!0;break}case Q.ARROW_DOWN:{let C=c+1===this.menuItems.length?0:c+1;this.resetTabIndexAndSetFocus(C,c),i=!0;break}case Q.ARROW_UP:{let C=c-1===-1?this.menuItems.length-1:c-1;this.resetTabIndexAndSetFocus(C,c),i=!0;break}case Q.ARROW_RIGHT:{let C=this.getSubMenuPopoverOfTarget(a);C&&(C.show(),i=!0);break}case Q.ARROW_LEFT:{rh(this.parentElement)&&(this.hide(),this.resetTabIndexAndSetFocus(0,c),i=!0);break}case Q.ESCAPE:{this.resetTabIndexAndSetFocus(0,c),i=!0;break}case Q.ENTER:{this.getSubMenuPopoverOfTarget(a)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(a),i=!0);break}case Q.SPACE:{i=!0;break}default:break}i&&(t.stopPropagation(),t.preventDefault())};this.handleKeyUp=t=>{let i=!1,a=t.target;switch(t.key){case Q.SPACE:{a.matches(`${Wl}, ${Yl}`)||this.getSubMenuPopoverOfTarget(a)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(a),i=!0);break}default:break}i&&(t.stopPropagation(),t.preventDefault())};this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("keyup",this.handleKeyUp),this.addEventListener("click",this.handleMouseClick),this.addEventListener("created",this.handleItemCreation)}getSubMenuPopoverOfTarget(t){var a,c;let i=t.getAttribute("id");return i?(c=(a=this.parentElement)==null?void 0:a.querySelector)==null?void 0:c.call(a,`${te}[triggerid="${i}"]`):null}collectMenuItems(){var a;let t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot"),i=(t==null?void 0:t.assignedElements({flatten:!0}))||[];this.menuItems=i.map(c=>c.tagName.toLowerCase()===ui?Array.from(c.children).filter(m=>Qa(m)):Qa(c)?c:[]).flat().filter(c=>!!c&&!c.hasAttribute("disabled")),this.menuItemsWithSubMenus=this.menuItems.filter(c=>this.getSubMenuPopoverOfTarget(c))}getOpenSubMenusOfItems(t){let i=[];return!t||t.length===0||t.forEach(a=>{let c=this.getSubMenuPopoverOfTarget(a);c&&c.visible&&i.push(c)}),i}connectedCallback(){super.connectedCallback(),this.role=et.MENU,this.ariaOrientation=Wd.ORIENTATION,this.backdrop=!1,this.color=To.TONAL,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.interactive=!0,this.showArrow=!1,this.closeButton=!1,this.closeButtonAriaLabel=null}async isOpenUpdated(t,i){return t===i||!this.triggerElement?Promise.resolve():(i&&(this.backdrop=![ja,Wi].includes(this.triggerElement.tagName.toLowerCase())),i===!1&&this.menuItemsWithSubMenus.forEach(a=>{let c=this.getSubMenuPopoverOfTarget(a);c&&c.hide()}),this.resetMenuNavigation(),super.isOpenUpdated(t,i))}async firstUpdated(t){await super.firstUpdated(t),this.collectMenuItems(),this.resetTabIndexes(0)}resetTabIndexes(t){this.menuItems.length>0&&(this.menuItems.forEach(i=>i.setAttribute("tabindex","-1")),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}getCurrentIndex(t){return this.menuItems.findIndex(i=>i===t)}resetTabIndexAndSetFocus(t,i){t!==i&&(this.menuItems[i].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}closeAllMenuPopovers(t){for(;Ie.peek()!==t&&rh(Ie.peek());){let i=Ie.pop();if(i)i.hide();else break}}closeOtherSubMenusOnSameLevel(t){let i=this.menuItemsWithSubMenus.filter(c=>c!==t);this.getOpenSubMenusOfItems(i).forEach(c=>{c.hide()})}fireMenuItemAction(t){t.matches(ja)&&t.dispatchEvent(new Event("action",{bubbles:!0,composed:!0}))}handleMouseClick(t){let i=t.target;if(t.stopPropagation(),!(!Qa(i)||!t.isTrusted)){if(this.getSubMenuPopoverOfTarget(i)){this.closeOtherSubMenusOnSameLevel(i);return}this.closeAllMenuPopovers(),this.fireMenuItemAction(i)}}resolveDirectionKey(t,i){if(!i)return t;switch(t){case Q.ARROW_LEFT:return Q.ARROW_RIGHT;case Q.ARROW_RIGHT:return Q.ARROW_LEFT;default:return t}}};Ja.styles=[...$e.styles,...bv],p([u({type:String,reflect:!0})],Ja.prototype,"placement",2);var ih=Ja;ih.register(te);var XT=ih;var Kl=class{constructor(o,t,i){this.variant=o,this.expanded=t,this.parentNavTooltipText=i}hasSiblingWithTriggerId(o){var a,c;let t=o==null?void 0:o.getAttribute("id");return t?Array.from((c=(a=o==null?void 0:o.parentElement)==null?void 0:a.children)!=null?c:[]).some(m=>m!==o&&m.tagName.toLowerCase()===te&&m.getAttribute("triggerid")===t):!1}getParentNavMenuItems(o){if(!o)return[];let t=[],i=o;for(;i;){let a=i==null?void 0:i.closest(te);if(!a)break;let c=a.getAttribute("triggerid");if(!c)break;let m=document.getElementById(c);if(m&&m.tagName.toLowerCase()===Wi)t.push(m),i=m;else break}return t}setCurrentActiveNavMenuItem(o){var c;let t=((c=this.currentActiveNavMenuItem)==null?void 0:c.navId)===(o==null?void 0:o.navId),i=(o==null?void 0:o.disableAriaCurrent)||this.hasSiblingWithTriggerId(o)||(o==null?void 0:o.softDisabled);if(t||i||(this.currentActiveNavMenuItem&&(this.currentActiveNavMenuItem.removeAttribute("aria-current"),this.currentActiveNavMenuItem.removeAttribute("active"),this.getParentNavMenuItems(this.currentActiveNavMenuItem).forEach(b=>{b.removeAttribute("tooltip-text"),b.removeAttribute("tooltip-placement"),b.removeAttribute("active")})),!o))return;this.currentActiveNavMenuItem=o,o.setAttribute("aria-current","page"),o.setAttribute("active",""),this.getParentNavMenuItems(o).forEach(m=>{m.setAttribute("tooltip-text",this.parentNavTooltipText||""),m.setAttribute("tooltip-placement",Yt.BOTTOM),m.setAttribute("active","")})}};Kl.context=Hi;var ql=Kl;var ZT=V`
4059
4059
  :host {
4060
4060
  --mdc-sidenavigation-expanded-width: 15rem;
4061
4061
  --mdc-sidenavigation-collapsed-width: 4.5rem;
@@ -4125,7 +4125,7 @@
4125
4125
  :host::part(vertical-divider-button) {
4126
4126
  z-index: var(--mdc-sidenavigation-vertical-divider-button-z-index);
4127
4127
  }
4128
- `,Ev=[ZT];var ui=class extends rr{constructor(){super({context:Xl.context,initialValue:new Xl(Yl.VARIANT,!0)});this.variant=Yl.VARIANT;this.footerText="";this.handleNestedNavMenuItemActiveChange=t=>{var i;if((i=this.context)!=null&&i.value){let a=this.findNav(this.navMenuItems,t.detail.navId);this.context.value.setCurrentActiveNavMenuItem(a)}};this.findNav=(t,i)=>t.find(a=>a.navId===i);this.addEventListener("activechange",this.handleNestedNavMenuItemActiveChange.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.NAVIGATION}static get Context(){return Xl.context}updated(t){if(super.updated(t),t.has("variant"))switch(this.setVariant(this.variant),this.variant){case Br.FIXED_EXPANDED:this.expanded=!0;break;case Br.FIXED_COLLAPSED:this.expanded=!1;break;default:}(t.has("variant")||t.has("expanded"))&&this.updateContext()}firstUpdated(t){super.firstUpdated(t),this.variant===Br.FLEXIBLE&&this.expanded===void 0&&(this.expanded=!0,this.updateContext())}updateContext(){(this.context.value.variant!==this.variant||this.context.value.expanded!==this.expanded||this.context.value.parentNavTooltipText!==this.parentNavTooltipText)&&(this.context.value.variant=this.variant,this.context.value.expanded=this.expanded,this.context.value.parentNavTooltipText=this.parentNavTooltipText,this.context.updateObservers())}get navMenuItems(){return Array.from(this.querySelectorAll(`${Yi}:not([disabled])`))}setVariant(t){this.setAttribute("variant",Object.values(Br).includes(t)?t:Yl.VARIANT)}toggleSideNavigation(){this.expanded=!this.expanded,this.dispatchEvent(new CustomEvent("toggle",{detail:{expanded:this.expanded}}))}preventScrollOnSpace(t){t.key===Z.SPACE&&t.preventDefault()}render(){var t;return this.variant===Br.HIDDEN?I``:I`
4128
+ `,yv=[ZT];var fi=class extends rr{constructor(){super({context:ql.context,initialValue:new ql(Gl.VARIANT,!0)});this.variant=Gl.VARIANT;this.footerText="";this.handleNestedNavMenuItemActiveChange=t=>{var i;if((i=this.context)!=null&&i.value){let a=this.findNav(this.navMenuItems,t.detail.navId);this.context.value.setCurrentActiveNavMenuItem(a)}};this.findNav=(t,i)=>t.find(a=>a.navId===i);this.addEventListener("activechange",this.handleNestedNavMenuItemActiveChange.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.NAVIGATION}static get Context(){return ql.context}updated(t){if(super.updated(t),t.has("variant"))switch(this.setVariant(this.variant),this.variant){case Br.FIXED_EXPANDED:this.expanded=!0;break;case Br.FIXED_COLLAPSED:this.expanded=!1;break;default:}(t.has("variant")||t.has("expanded"))&&this.updateContext()}firstUpdated(t){super.firstUpdated(t),this.variant===Br.FLEXIBLE&&this.expanded===void 0&&(this.expanded=!0,this.updateContext())}updateContext(){(this.context.value.variant!==this.variant||this.context.value.expanded!==this.expanded||this.context.value.parentNavTooltipText!==this.parentNavTooltipText)&&(this.context.value.variant=this.variant,this.context.value.expanded=this.expanded,this.context.value.parentNavTooltipText=this.parentNavTooltipText,this.context.updateObservers())}get navMenuItems(){return Array.from(this.querySelectorAll(`${Wi}:not([disabled])`))}setVariant(t){this.setAttribute("variant",Object.values(Br).includes(t)?t:Gl.VARIANT)}toggleSideNavigation(){this.expanded=!this.expanded,this.dispatchEvent(new CustomEvent("toggle",{detail:{expanded:this.expanded}}))}preventScrollOnSpace(t){t.key===Q.SPACE&&t.preventDefault()}render(){var t;return this.variant===Br.HIDDEN?I``:I`
4129
4129
  <div part="side-navigation-container" id="side-nav-container">
4130
4130
  <div part="scrollable-section" tabindex="-1" @keydown=${this.preventScrollOnSpace}>
4131
4131
  <slot name="scrollable-section">
@@ -4151,8 +4151,8 @@
4151
4151
  </div>
4152
4152
  ${this.variant===Br.FLEXIBLE?I`<mdc-divider
4153
4153
  part="vertical-divider"
4154
- orientation=${_o.VERTICAL}
4155
- variant=${Oa.GRADIENT}
4154
+ orientation=${Io.VERTICAL}
4155
+ variant=${Pa.GRADIENT}
4156
4156
  arrow-direction=${this.expanded?lr.NEGATIVE:lr.POSITIVE}
4157
4157
  button-position=${lr.POSITIVE}
4158
4158
  >
@@ -4164,7 +4164,7 @@
4164
4164
  aria-controls="side-nav-container"
4165
4165
  ></mdc-button>
4166
4166
  </mdc-divider>`:j}
4167
- `}};ui.styles=[...q.styles,...Ev],p([u({type:String,reflect:!0})],ui.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"footer-text"})],ui.prototype,"footerText",2),p([u({type:Boolean,reflect:!0})],ui.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"grabber-btn-aria-label"})],ui.prototype,"grabberBtnAriaLabel",2),p([u({type:String,reflect:!0,attribute:"parent-nav-tooltip-text"})],ui.prototype,"parentNavTooltipText",2);var wo=ui;var QT=z`
4167
+ `}};fi.styles=[...K.styles,...yv],p([u({type:String,reflect:!0})],fi.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"footer-text"})],fi.prototype,"footerText",2),p([u({type:Boolean,reflect:!0})],fi.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"grabber-btn-aria-label"})],fi.prototype,"grabberBtnAriaLabel",2),p([u({type:String,reflect:!0,attribute:"parent-nav-tooltip-text"})],fi.prototype,"parentNavTooltipText",2);var No=fi;var QT=V`
4168
4168
  :host {
4169
4169
  display: flex;
4170
4170
  flex-direction: column;
@@ -4182,7 +4182,7 @@
4182
4182
  :host(:dir(rtl))::part(align-header) {
4183
4183
  padding-right: 1.75rem;
4184
4184
  }
4185
- `,Tv=[QT];var Ur=class extends q{constructor(){super(...arguments);this.ariaLabel=null;this.headerText=null;this.showDivider=!1;this.dividerVariant=ev.DIVIDER_VARIANT;this.hideHeaderText=!1;this.sideNavigationContext=ir.consume({host:this,context:wo.Context})}connectedCallback(){super.connectedCallback(),this.setAttribute("role",et.GROUP)}update(t){var d;super.update(t),(t.has("ariaLabel")||t.has("headerText"))&&(!this.ariaLabel||this.ariaLabel===t.get("headerText"))&&(this.ariaLabel=this.headerText||"");let i=(d=this.sideNavigationContext)==null?void 0:d.value;if(!i)return;let{expanded:a}=i;this.hideHeaderText=!a}renderHeader(){var t,i;return this.headerText?I` <mdc-listheader
4185
+ `,Ev=[QT];var Ur=class extends K{constructor(){super(...arguments);this.ariaLabel=null;this.headerText=null;this.showDivider=!1;this.dividerVariant=tv.DIVIDER_VARIANT;this.hideHeaderText=!1;this.sideNavigationContext=ir.consume({host:this,context:No.Context})}connectedCallback(){super.connectedCallback(),this.setAttribute("role",et.GROUP)}update(t){var c;super.update(t),(t.has("ariaLabel")||t.has("headerText"))&&(!this.ariaLabel||this.ariaLabel===t.get("headerText"))&&(this.ariaLabel=this.headerText||"");let i=(c=this.sideNavigationContext)==null?void 0:c.value;if(!i)return;let{expanded:a}=i;this.hideHeaderText=!a}renderHeader(){var t,i;return this.headerText?I` <mdc-listheader
4186
4186
  part="header ${(i=(t=this.sideNavigationContext)==null?void 0:t.value)!=null&&i.expanded?"align-header":""}"
4187
4187
  header-text="${this.headerText}"
4188
4188
  prefix-icon="${rt(this.prefixIcon)}"
@@ -4191,7 +4191,7 @@
4191
4191
  ${this.hideHeaderText?null:this.renderHeader()}
4192
4192
  <slot part="container"></slot>
4193
4193
  ${this.showDivider?I`<mdc-divider variant="${this.dividerVariant}" part="divider"></mdc-divider>`:null}
4194
- `}};Ur.styles=[...q.styles,...Tv],p([u({type:String,reflect:!0,attribute:"aria-label"})],Ur.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Ur.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],Ur.prototype,"prefixIcon",2),p([u({type:Boolean,reflect:!0,attribute:"show-divider"})],Ur.prototype,"showDivider",2),p([u({type:String,reflect:!0,attribute:"divider-variant"})],Ur.prototype,"dividerVariant",2),p([u({type:Boolean,reflect:!0,attribute:"hide-header-text"})],Ur.prototype,"hideHeaderText",2);var oh=Ur;oh.register(mi);var JT=oh;var tx=[bt,z`
4194
+ `}};Ur.styles=[...K.styles,...Ev],p([u({type:String,reflect:!0,attribute:"aria-label"})],Ur.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Ur.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],Ur.prototype,"prefixIcon",2),p([u({type:Boolean,reflect:!0,attribute:"show-divider"})],Ur.prototype,"showDivider",2),p([u({type:String,reflect:!0,attribute:"divider-variant"})],Ur.prototype,"dividerVariant",2),p([u({type:Boolean,reflect:!0,attribute:"hide-header-text"})],Ur.prototype,"hideHeaderText",2);var oh=Ur;oh.register(ui);var JT=oh;var tx=[bt,V`
4195
4195
  :host {
4196
4196
  --mdc-navmenuitem-color: var(--mds-color-theme-text-primary-normal);
4197
4197
  --mdc-navmenuitem-disabled-color: var(--mds-color-theme-text-primary-disabled);
@@ -4336,7 +4336,7 @@
4336
4336
  left: -0.75rem;
4337
4337
  top: 0.875rem;
4338
4338
  }
4339
- `,...St()],xv=tx;var We=class extends qt(cr){constructor(){super();this.maxCounter=bv.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=ir.consume({host:this,context:wo.Context});this.emitNavMenuItemActiveChange=t=>{let i=new CustomEvent("activechange",{detail:{navId:this.navId,active:t},bubbles:!0});this.dispatchEvent(i)};this.addEventListener("click",this.handleClickEvent.bind(this)),this.addEventListener("focusin",this.renderDynamicTooltip.bind(this)),this.addEventListener("mouseenter",this.renderDynamicTooltip.bind(this)),this.addEventListener("focusout",this.removeTooltip.bind(this)),this.addEventListener("mouseout",this.removeTooltip.bind(this))}connectedCallback(){super.connectedCallback(),this.variant=void 0,!this.navId&&this.onerror&&this.onerror("[mdc-navmenuitem] navId is required and was not provided."),this.toggleAttribute("in-menupopover",this.isNested())}disconnectedCallback(){super.disconnectedCallback(),this.removeTooltip()}updated(){var i,a;let t=(i=this.sideNavigationContext)==null?void 0:i.value;if(t)if(this.showLabel=this.isNested()?!0:t.expanded,this.showLabel)this.removeAttribute("aria-label");else{let d=(a=this.label)!=null?a:"";this.ariaLabel=this.ariaLabel||d,this.setAttribute("aria-label",d)}}removeTooltip(){let t=document.querySelector(`${qa}[triggerid="${this.id}"]`);t&&t.remove()}renderDynamicTooltip(){if(!this.tooltipText)return;this.id||(this.id=`mdc-navmenuitem-${Se()}`),this.removeTooltip();let t=document.createElement(qa);t.id=`mdc-navmenuitem-tooltip-${Se()}`,t.textContent=this.tooltipText,t.setAttribute("triggerid",this.id),t.setAttribute("visible",""),t.setAttribute("show-arrow",""),this.hasAttribute("slot")&&t.setAttribute("slot",this.getAttribute("slot")||""),this.after(t)}isNested(){let t=this.parentElement;for(;t;){if(t.tagName.toLowerCase()===Jt)return!0;t=t.parentElement}return!1}modifyIconName(t){if(!this.iconName)return;let i=this.iconName.endsWith("-filled"),a=lo(this.iconName);t?i||(this.prevIconName=this.iconName,this.iconName=`${a}-filled`):this.prevIconName&&(this.iconName=this.prevIconName)}handleClickEvent(){this.disabled||this.emitNavMenuItemActiveChange(this.active)}update(t){super.update(t),t.has("active")&&this.modifyIconName(this.active)}renderTextLabel(t){return I`
4339
+ `,...St()],Tv=tx;var We=class extends Kt(dr){constructor(){super();this.maxCounter=gv.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=ir.consume({host:this,context:No.Context});this.emitNavMenuItemActiveChange=t=>{let i=new CustomEvent("activechange",{detail:{navId:this.navId,active:t},bubbles:!0});this.dispatchEvent(i)};this.addEventListener("click",this.handleClickEvent.bind(this)),this.addEventListener("focusin",this.renderDynamicTooltip.bind(this)),this.addEventListener("mouseenter",this.renderDynamicTooltip.bind(this)),this.addEventListener("focusout",this.removeTooltip.bind(this)),this.addEventListener("mouseout",this.removeTooltip.bind(this))}connectedCallback(){super.connectedCallback(),this.variant=void 0,!this.navId&&this.onerror&&this.onerror("[mdc-navmenuitem] navId is required and was not provided."),this.toggleAttribute("in-menupopover",this.isNested())}disconnectedCallback(){super.disconnectedCallback(),this.removeTooltip()}updated(){var i,a;let t=(i=this.sideNavigationContext)==null?void 0:i.value;if(t)if(this.showLabel=this.isNested()?!0:t.expanded,this.showLabel)this.removeAttribute("aria-label");else{let c=(a=this.label)!=null?a:"";this.ariaLabel=this.ariaLabel||c,this.setAttribute("aria-label",c)}}removeTooltip(){let t=document.querySelector(`${qa}[triggerid="${this.id}"]`);t&&t.remove()}renderDynamicTooltip(){if(!this.tooltipText)return;this.id||(this.id=`mdc-navmenuitem-${Ae()}`),this.removeTooltip();let t=document.createElement(qa);t.id=`mdc-navmenuitem-tooltip-${Ae()}`,t.textContent=this.tooltipText,t.setAttribute("triggerid",this.id),t.setAttribute("visible",""),t.setAttribute("show-arrow",""),this.hasAttribute("slot")&&t.setAttribute("slot",this.getAttribute("slot")||""),this.after(t)}isNested(){let t=this.parentElement;for(;t;){if(t.tagName.toLowerCase()===te)return!0;t=t.parentElement}return!1}modifyIconName(t){if(!this.iconName)return;let i=this.iconName.endsWith("-filled"),a=co(this.iconName);t?i||(this.prevIconName=this.iconName,this.iconName=`${a}-filled`):this.prevIconName&&(this.iconName=this.prevIconName)}handleClickEvent(){this.disabled||this.emitNavMenuItemActiveChange(this.active)}update(t){super.update(t),t.has("active")&&this.modifyIconName(this.active)}renderTextLabel(t){return I`
4340
4340
  <mdc-text
4341
4341
  type=${this.active?st.BODY_MIDSIZE_BOLD:st.BODY_MIDSIZE_MEDIUM}
4342
4342
  tagname=${mt.SPAN}
@@ -4345,8 +4345,8 @@
4345
4345
  ${t}
4346
4346
  </mdc-text>
4347
4347
  `}renderArrowIcon(t){let i=t?"":"arrow";return I`
4348
- <mdc-icon name=${gv.RIGHT_ARROW} length-unit="rem" part="trailing-arrow" class="${i}"> </mdc-icon>
4349
- `}renderBadge(t){let i=t?"":"badge";return Object.values(vv).includes(this.badgeType)?I`
4348
+ <mdc-icon name=${vv.RIGHT_ARROW} length-unit="rem" part="trailing-arrow" class="${i}"> </mdc-icon>
4349
+ `}renderBadge(t){let i=t?"":"badge";return Object.values(fv).includes(this.badgeType)?I`
4350
4350
  <mdc-badge
4351
4351
  class="${i}"
4352
4352
  type="${rt(this.badgeType)}"
@@ -4361,7 +4361,7 @@
4361
4361
  </div>
4362
4362
  ${this.showLabel?I`${this.renderTextLabel(this.label)}${this.renderBadge(this.showLabel)}`:j}
4363
4363
  ${t!=null&&t.hasSiblingWithTriggerId(this)?this.renderArrowIcon(this.showLabel):j}
4364
- `}};We.styles=[...cr.styles,...xv],p([u({type:Boolean,reflect:!0})],We.prototype,"active",2),p([u({type:String,reflect:!0,attribute:"badge-type"})],We.prototype,"badgeType",2),p([u({type:Number,reflect:!0})],We.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],We.prototype,"maxCounter",2),p([u({type:String,reflect:!0,attribute:"nav-id"})],We.prototype,"navId",2),p([u({type:Boolean,reflect:!0,attribute:"show-label"})],We.prototype,"showLabel",2),p([u({type:String,attribute:"aria-label"})],We.prototype,"ariaLabel",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],We.prototype,"disableAriaCurrent",2),p([u({type:String,reflect:!0,attribute:"tooltip-text"})],We.prototype,"tooltipText",2);var sh=We;sh.register(Yi);var ex=sh;var Ja=B.constructTagName("optgroup"),ah="header-id";var rx=z`
4364
+ `}};We.styles=[...dr.styles,...Tv],p([u({type:Boolean,reflect:!0})],We.prototype,"active",2),p([u({type:String,reflect:!0,attribute:"badge-type"})],We.prototype,"badgeType",2),p([u({type:Number,reflect:!0})],We.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],We.prototype,"maxCounter",2),p([u({type:String,reflect:!0,attribute:"nav-id"})],We.prototype,"navId",2),p([u({type:Boolean,reflect:!0,attribute:"show-label"})],We.prototype,"showLabel",2),p([u({type:String,attribute:"aria-label"})],We.prototype,"ariaLabel",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],We.prototype,"disableAriaCurrent",2),p([u({type:String,reflect:!0,attribute:"tooltip-text"})],We.prototype,"tooltipText",2);var sh=We;sh.register(Wi);var ex=sh;var tn=B.constructTagName("optgroup"),ah="header-id";var rx=V`
4365
4365
  :host {
4366
4366
  --mdc-optgroup-disabled-color: var(--mds-color-theme-text-primary-disabled);
4367
4367
  }
@@ -4377,7 +4377,7 @@
4377
4377
  :host([data-hidden]) {
4378
4378
  display: none;
4379
4379
  }
4380
- `,Av=[rx];var Ls=class extends Ut(Vt(q)){setDisabledForAllOptions(){this.options.forEach(o=>{this.disabled?o.setAttribute("disabled",""):o.removeAttribute("disabled")})}updated(o){super.updated(o),o.has("disabled")&&this.setDisabledForAllOptions()}render(){var t;let o=this.label?I`
4380
+ `,xv=[rx];var Ms=class extends Ut(zt(K)){setDisabledForAllOptions(){this.options.forEach(o=>{this.disabled?o.setAttribute("disabled",""):o.removeAttribute("disabled")})}updated(o){super.updated(o),o.has("disabled")&&this.setDisabledForAllOptions()}render(){var t;let o=this.label?I`
4381
4381
  <mdc-text
4382
4382
  id="${ah}"
4383
4383
  part="header-text"
@@ -4394,7 +4394,7 @@
4394
4394
  ${o}
4395
4395
  <slot role="${et.PRESENTATION}"></slot>
4396
4396
  </div>
4397
- `}};Ls.styles=[...q.styles,...Av],p([u({type:String,reflect:!0})],Ls.prototype,"label",2),p([Rt({selector:"mdc-option"})],Ls.prototype,"options",2);var nh=Ls;nh.register(Ja);var ix=nh;var Sv="check-bold",hr=B.constructTagName("option");var ox=[Li,z`
4397
+ `}};Ms.styles=[...K.styles,...xv],p([u({type:String,reflect:!0})],Ms.prototype,"label",2),p([Ot({selector:"mdc-option"})],Ms.prototype,"options",2);var nh=Ms;nh.register(tn);var ix=nh;var Av="check-bold",Hr=B.constructTagName("option");var ox=[Mi,V`
4398
4398
  :host {
4399
4399
  --mdc-listitem-column-gap: 0.75rem;
4400
4400
  --mdc-option-icon-width: 1rem;
@@ -4427,22 +4427,18 @@
4427
4427
  :host([data-hidden]) {
4428
4428
  display: none;
4429
4429
  }
4430
- `],_v=ox;var No=class extends Ee(pi){constructor(){super(...arguments);this.selected=!1;this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.role="option",this.variant=Ba.INSET_RECTANGLE,this.setAttribute("aria-selected",`${this.selected}`),this.setAttribute("aria-disabled",`${!!this.disabled}`),this.name=void 0,this.sideHeaderText=void 0,this.sublineText=void 0}update(t){super.update(t),t.has("selected")&&(this.setAttribute("aria-selected",`${this.selected}`),this.dispatchModifiedEvent(this.selected?"selected":"unselected"))}render(){let t=this.prefixIcon?I`
4430
+ `],Sv=ox;var Lo=class extends Ee(mi){constructor(){super(...arguments);this.selected=!1;this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.role=et.OPTION,this.variant=Ua.INSET_RECTANGLE,this.setAttribute("aria-selected",`${this.selected}`),this.setAttribute("aria-disabled",`${!!this.disabled}`),this.name=void 0,this.sideHeaderText=void 0,this.sublineText=void 0}update(t){super.update(t),t.has("selected")&&(this.setAttribute("aria-selected",`${this.selected}`),this.dispatchModifiedEvent(this.selected?"selected":"unselected"))}render(){let t=this.prefixIcon?I`
4431
4431
  <div part="leading-icon">
4432
4432
  <mdc-icon length-unit="rem" slot="leading-controls" name="${rt(this.prefixIcon)}"></mdc-icon>
4433
4433
  </div>
4434
- `:j,i=this.selected?I`
4435
- <mdc-icon length-unit="rem" slot="trailing-controls" name="${Sv}"></mdc-icon>
4436
- `:j;return I`
4434
+ `:j,i=this.selected?I` <mdc-icon length-unit="rem" slot="trailing-controls" name="${Av}"></mdc-icon> `:j;return I`
4437
4435
  ${t}
4438
4436
  <div part="leading-text">
4439
4437
  ${this.getText("leading-text-primary-label",st.BODY_MIDSIZE_REGULAR,this.label)}
4440
4438
  ${this.getText("leading-text-secondary-label",st.BODY_SMALL_REGULAR,this.secondaryLabel)}
4441
4439
  </div>
4442
- <div part="trailing">
4443
- ${i}
4444
- </div>
4445
- `}};No.styles=[...pi.styles,..._v],p([u({type:Boolean,reflect:!0})],No.prototype,"selected",2),p([u({type:String,reflect:!0,attribute:"prefix-icon"})],No.prototype,"prefixIcon",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],No.prototype,"ariaLabel",2);var lh=No;lh.register(hr);var sx=lh;var dh={HIDE_BOLD:"hide-bold",SHOW_BOLD:"show-bold"},Iv=B.constructTagName("password");var Lo=class extends Sr{constructor(){super(...arguments);this.showHideButtonAriaLabel="";this.helpTextType=Mt.VALIDATION;this.showPassword=!1}connectedCallback(){super.connectedCallback(),this.trailingButton=!0}toggleShowPassword(){this.showPassword=!this.showPassword}renderTrailingButton(t=!1){let i=t||this.value;return i?I`
4440
+ <div part="trailing">${i}</div>
4441
+ `}};Lo.styles=[...mi.styles,...Sv],p([u({type:Boolean,reflect:!0})],Lo.prototype,"selected",2),p([u({type:String,reflect:!0,attribute:"prefix-icon"})],Lo.prototype,"prefixIcon",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],Lo.prototype,"ariaLabel",2);var lh=Lo;lh.register(Hr);var sx=lh;var ch={HIDE_BOLD:"hide-bold",SHOW_BOLD:"show-bold"},_v=B.constructTagName("password");var Mo=class extends Ar{constructor(){super(...arguments);this.showHideButtonAriaLabel="";this.helpTextType=Mt.VALIDATION;this.showPassword=!1}connectedCallback(){super.connectedCallback(),this.trailingButton=!0}toggleShowPassword(){this.showPassword=!this.showPassword}renderTrailingButton(t=!1){let i=t||this.value;return i?I`
4446
4442
  <mdc-button
4447
4443
  part="trailing-button"
4448
4444
  class="own-focus-ring ${i?"":"hidden"}"
@@ -4451,9 +4447,9 @@
4451
4447
  size="${Mt.ICON_SIZE}"
4452
4448
  @click=${this.toggleShowPassword}
4453
4449
  aria-label=${this.showHideButtonAriaLabel}
4454
- prefix-icon=${this.showPassword?dh.HIDE_BOLD:dh.SHOW_BOLD}
4450
+ prefix-icon=${this.showPassword?ch.HIDE_BOLD:ch.SHOW_BOLD}
4455
4451
  ></mdc-button>
4456
- `:j}renderInputElement(t,i){let a=this.showPassword?xs.TEXT:xs.PASSWORD;return super.renderInputElement(a,i)}};Lo.styles=[...Sr.styles],p([u({type:String,attribute:"show-hide-button-aria-label"})],Lo.prototype,"showHideButtonAriaLabel",2),p([u({type:String,attribute:"help-text-type"})],Lo.prototype,"helpTextType",2),p([gt()],Lo.prototype,"showPassword",2);var ch=Lo;ch.register(Iv);var ax=ch;Fe.register(lf);var nx=Fe;var Cv=B.constructTagName("progressbar"),Zl={DEFAULT:"default",INLINE:"inline"},kv={VARIANT:Zl.DEFAULT,VALIDATION:zt.DEFAULT};var lx=[bt,z`
4452
+ `:j}renderInputElement(t,i){let a=this.showPassword?As.TEXT:As.PASSWORD;return super.renderInputElement(a,i)}};Mo.styles=[...Ar.styles],p([u({type:String,attribute:"show-hide-button-aria-label"})],Mo.prototype,"showHideButtonAriaLabel",2),p([u({type:String,attribute:"help-text-type"})],Mo.prototype,"helpTextType",2),p([gt()],Mo.prototype,"showPassword",2);var dh=Mo;dh.register(_v);var ax=dh;$e.register(nf);var nx=$e;var Iv=B.constructTagName("progressbar"),Xl={DEFAULT:"default",INLINE:"inline"},Cv={VARIANT:Xl.DEFAULT,VALIDATION:Vt.DEFAULT};var lx=[bt,V`
4457
4453
  :host {
4458
4454
  --mdc-progressbar-background-color: var(--mds-color-theme-control-indicator-inactive-normal);
4459
4455
  --mdc-progressbar-active-background-color: var(--mds-color-theme-control-active-normal);
@@ -4540,27 +4536,27 @@
4540
4536
  border: var(--mdc-progressbar-border);
4541
4537
  }
4542
4538
  }
4543
- `],wv=lx;var Ro=class extends Ut(dr){constructor(){super(...arguments);this.variant=kv.VARIANT;this.value="0";this.error=!1;this.renderProgressbar=()=>{var d;let t=this.getValidationVariant(),i=this.clampedValue>0&&this.clampedValue<100,a=this.error?"100":`${this.clampedValue}`;return I`
4539
+ `],kv=lx;var Ro=class extends Ut(cr){constructor(){super(...arguments);this.variant=Cv.VARIANT;this.value="0";this.error=!1;this.renderProgressbar=()=>{var c;let t=this.getValidationVariant(),i=this.clampedValue>0&&this.clampedValue<100,a=this.error?"100":`${this.clampedValue}`;return I`
4544
4540
  <div
4545
4541
  part="progress-container ${i?"gap":""}"
4546
4542
  role="${et.PROGRESSBAR}"
4547
4543
  aria-valuenow="${this.clampedValue}"
4548
4544
  aria-valuemin="0"
4549
4545
  aria-valuemax="100"
4550
- aria-label="${(d=this.dataAriaLabel)!=null?d:""}"
4546
+ aria-label="${(c=this.dataAriaLabel)!=null?c:""}"
4551
4547
  >
4552
4548
  <div part="progress-bar ${t}" style="width: ${a}%"></div>
4553
4549
  <div part="remaining"></div>
4554
4550
  </div>
4555
- `}}connectedCallback(){super.connectedCallback(),this.id=`mdc-progressbar-${Se()}`,this.disabled=void 0,this.toggletipText=void 0,this.toggletipPlacement=void 0}get clampedValue(){let t=Number(this.value);return Number.isNaN(t)?0:Math.max(0,Math.min(100,t))}getValidationVariant(){return this.error?this.helpTextType=zt.ERROR:this.clampedValue===100?this.helpTextType=zt.SUCCESS:this.helpTextType=zt.DEFAULT,this.helpTextType}render(){let t=this.variant===Zl.INLINE;return I`
4551
+ `}}connectedCallback(){super.connectedCallback(),this.id=`mdc-progressbar-${Ae()}`,this.disabled=void 0,this.toggletipText=void 0,this.toggletipPlacement=void 0}get clampedValue(){let t=Number(this.value);return Number.isNaN(t)?0:Math.max(0,Math.min(100,t))}getValidationVariant(){return this.error?this.helpTextType=Vt.ERROR:this.clampedValue===100?this.helpTextType=Vt.SUCCESS:this.helpTextType=Vt.DEFAULT,this.helpTextType}render(){let t=this.variant===Xl.INLINE;return I`
4556
4552
  ${t?I`<div part="inline-label-container">${this.renderLabelElement()} ${this.renderProgressbar()}</div>`:I`
4557
4553
  <div part="label-container">
4558
4554
  ${this.renderLabelElement()}
4559
- ${this.variant===Zl.DEFAULT&&this.label?I`<span part="percentage">${this.clampedValue}%</span>`:""}
4555
+ ${this.variant===Xl.DEFAULT&&this.label?I`<span part="percentage">${this.clampedValue}%</span>`:""}
4560
4556
  </div>
4561
4557
  ${this.renderProgressbar()} ${this.renderHelperText()}
4562
4558
  `}
4563
- `}};Ro.styles=[...dr.styles,...wv],p([u({type:String,reflect:!0})],Ro.prototype,"variant",2),p([u({type:String,reflect:!0})],Ro.prototype,"value",2),p([u({type:Boolean,attribute:"error"})],Ro.prototype,"error",2);var tn=Ro;tn.register(Cv);var dx=tn;var Nv=B.constructTagName("progressspinner"),te={RADIUS:20,CIRCUMFERENCE:2*Math.PI*20,STROKE_WIDTH:4,GAP_SIZE:7.5,ERROR_ICON_SIZE:2,SUCCESS_ICON_SIZE:3,ICON_LENGTH_UNIT:"em"},hh={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var ph=n=>{if(n===0)return 0;let o=n/100*te.CIRCUMFERENCE-te.GAP_SIZE;return Math.max(o,.1*n)},Lv=n=>{let o=te.CIRCUMFERENCE-ph(n)-2*te.GAP_SIZE;return n===0?te.CIRCUMFERENCE:o<0?0:o},Rv=n=>n===0?0:te.GAP_SIZE*.5,Mv=(n,o)=>{let t=o+te.GAP_SIZE*1.5;return n===0?0:t};var cx=z`
4559
+ `}};Ro.styles=[...cr.styles,...kv],p([u({type:String,reflect:!0})],Ro.prototype,"variant",2),p([u({type:String,reflect:!0})],Ro.prototype,"value",2),p([u({type:Boolean,attribute:"error"})],Ro.prototype,"error",2);var en=Ro;en.register(Iv);var cx=en;var wv=B.constructTagName("progressspinner"),ee={RADIUS:20,CIRCUMFERENCE:2*Math.PI*20,STROKE_WIDTH:4,GAP_SIZE:7.5,ERROR_ICON_SIZE:2,SUCCESS_ICON_SIZE:3,ICON_LENGTH_UNIT:"em"},hh={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var ph=n=>{if(n===0)return 0;let o=n/100*ee.CIRCUMFERENCE-ee.GAP_SIZE;return Math.max(o,.1*n)},Nv=n=>{let o=ee.CIRCUMFERENCE-ph(n)-2*ee.GAP_SIZE;return n===0?ee.CIRCUMFERENCE:o<0?0:o},Lv=n=>n===0?0:ee.GAP_SIZE*.5,Mv=(n,o)=>{let t=o+ee.GAP_SIZE*1.5;return n===0?0:t};var dx=V`
4564
4560
  :host {
4565
4561
  --mdc-spinner-size: 3rem;
4566
4562
  --mdc-track-color: var(--mds-color-theme-control-indicator-inactive-normal);
@@ -4607,32 +4603,32 @@
4607
4603
  color: var(--mdc-progress-error-color);
4608
4604
  margin: calc(1 / 6 * var(--mdc-spinner-size));
4609
4605
  }
4610
- `,Ov=[cx];var Ql=class extends tn{connectedCallback(){super.connectedCallback(),this.id="",this.disabled=void 0,this.helpTextType=void 0,this.helpText=void 0,this.required=void 0,this.variant=void 0,this.label=void 0}renderProgressSpinner(){var d;let o=ph(this.clampedValue),t=Lv(this.clampedValue),i=Rv(this.clampedValue),a=Mv(this.clampedValue,o);return I`
4606
+ `,Rv=[dx];var Zl=class extends en{connectedCallback(){super.connectedCallback(),this.id="",this.disabled=void 0,this.helpTextType=void 0,this.helpText=void 0,this.required=void 0,this.variant=void 0,this.label=void 0}renderProgressSpinner(){var c;let o=ph(this.clampedValue),t=Nv(this.clampedValue),i=Lv(this.clampedValue),a=Mv(this.clampedValue,o);return I`
4611
4607
  <div
4612
4608
  part="spinner-container ${this.variant}"
4613
4609
  role="${et.PROGRESSBAR}"
4614
4610
  aria-valuenow="${this.clampedValue}"
4615
4611
  aria-valuemin="0"
4616
4612
  aria-valuemax="100"
4617
- aria-label="${(d=this.dataAriaLabel)!=null?d:""}"
4613
+ aria-label="${(c=this.dataAriaLabel)!=null?c:""}"
4618
4614
  >
4619
4615
  <svg part="spinner-base" viewBox="0 0 48 48">
4620
4616
  <circle
4621
4617
  part="spinner-track"
4622
4618
  cx="24"
4623
4619
  cy="24"
4624
- r="${te.RADIUS}"
4625
- stroke-width="${t===0?0:te.STROKE_WIDTH}"
4626
- stroke-dasharray="${t} ${te.CIRCUMFERENCE}"
4620
+ r="${ee.RADIUS}"
4621
+ stroke-width="${t===0?0:ee.STROKE_WIDTH}"
4622
+ stroke-dasharray="${t} ${ee.CIRCUMFERENCE}"
4627
4623
  stroke-dashoffset="-${a}"
4628
4624
  />
4629
4625
  <circle
4630
4626
  part="spinner-progress"
4631
4627
  cx="24"
4632
4628
  cy="24"
4633
- r="${te.RADIUS}"
4634
- stroke-width="${o===0?0:te.STROKE_WIDTH}"
4635
- stroke-dasharray="${o} ${te.CIRCUMFERENCE}"
4629
+ r="${ee.RADIUS}"
4630
+ stroke-width="${o===0?0:ee.STROKE_WIDTH}"
4631
+ stroke-dasharray="${o} ${ee.CIRCUMFERENCE}"
4636
4632
  stroke-dashoffset="-${i}"
4637
4633
  />
4638
4634
  </svg>
@@ -4642,18 +4638,18 @@
4642
4638
  part="error-icon"
4643
4639
  aria-label="${(o=this.dataAriaLabel)!=null?o:""}"
4644
4640
  name="${hh.ERROR_LEGACY_FILLED}"
4645
- size="${te.ERROR_ICON_SIZE}"
4646
- length-unit="${te.ICON_LENGTH_UNIT}"
4641
+ size="${ee.ERROR_ICON_SIZE}"
4642
+ length-unit="${ee.ICON_LENGTH_UNIT}"
4647
4643
  ></mdc-icon>
4648
4644
  `}renderSuccessState(){var o;return I`
4649
4645
  <mdc-icon
4650
4646
  part="success-icon"
4651
4647
  aria-label="${(o=this.dataAriaLabel)!=null?o:""}"
4652
4648
  name="${hh.CHECK_CIRCLE_BOLD}"
4653
- size="${te.SUCCESS_ICON_SIZE}"
4654
- length-unit="${te.ICON_LENGTH_UNIT}"
4649
+ size="${ee.SUCCESS_ICON_SIZE}"
4650
+ length-unit="${ee.ICON_LENGTH_UNIT}"
4655
4651
  ></mdc-icon>
4656
- `}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():I` ${this.renderProgressSpinner()}`}};Ql.styles=[...q.styles,...Ov];var mh=Ql;mh.register(Nv);var hx=mh;var px=[bt,z`
4652
+ `}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():I` ${this.renderProgressSpinner()}`}};Zl.styles=[...K.styles,...Rv];var mh=Zl;mh.register(wv);var hx=mh;var px=[bt,V`
4657
4653
  :host {
4658
4654
  display: flex;
4659
4655
  flex-direction: row;
@@ -4738,7 +4734,7 @@
4738
4734
  :host::part(required-indicator) {
4739
4735
  display: none;
4740
4736
  }
4741
- `,...St(!0)],Pv=px;var Rs=class extends ge(Ee(Ut(oe))){constructor(){super(...arguments);this.checked=!1;this.readonly=!1;this.renderLabelAndHelperText=()=>this.label?I`<div class="mdc-radio__label-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:j}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.updateTabIndex(),this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}getAllRadiosWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-radio[name="${this.name}"]`))}formResetCallback(){this.getAllRadiosWithinSameGroup().forEach(i=>{i.checked=!1}),this.updateComplete.then(()=>{this.setActualFormValue()}).catch(i=>{this.onerror&&this.onerror(i)})}formStateRestoreCallback(t){this.value===t&&t!==""&&(this.checked=!0)}setComponentValidity(t){t?this.internals.setValidity({}):this.required&&!this.checked&&(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()),this.updateTabIndex()}setGroupValidity(t,i){this.updateComplete.then(()=>{t.forEach(a=>{a.setComponentValidity(i)})}).catch(a=>{this.onerror&&this.onerror(a)})}setActualFormValue(){let t="";this.checked?t=this.value?this.value:"on":t=null;let i=this.getAllRadiosWithinSameGroup();if(this.checked)this.setGroupValidity(i,!0);else{let a=i.some(b=>b.required),d=!!i.find(b=>b.checked),m=a&&!d;this.setGroupValidity(i,!m)}this.internals.setFormValue(t)}handleChange(){var a;if(this.disabled||this.readonly)return;this.getAllRadiosWithinSameGroup().forEach(d=>{var b;let m=(b=d.shadowRoot)==null?void 0:b.querySelector("input");m&&(d.checked=!1,m.checked=!1)}),this.checked=!0;let i=(a=this.shadowRoot)==null?void 0:a.querySelector("input");i&&(i.checked=!0),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}updateRadio(t,i){var a,d;(d=(a=t[i].shadowRoot)==null?void 0:a.querySelector("input"))==null||d.focus(),t[i].handleChange()}handleKeyDown(t){var m;if(this.disabled)return;let a=this.getAllRadiosWithinSameGroup().filter(b=>!b.disabled),d=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let b=(d+1)%a.length;this.updateRadio(a,b)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let b=(d-1+a.length)%a.length;this.updateRadio(a,b)}else t.key===Z.SPACE&&this.updateRadio(a,d);this.updateTabIndex(),t.key===Z.ENTER&&((m=this.form)==null||m.requestSubmit())}updateTabIndex(){let t=this.getAllRadiosWithinSameGroup(),i=t.find(d=>d.checked),a=t.find(d=>!d.disabled);t.forEach(d=>{var b;let m=(b=d.shadowRoot)==null?void 0:b.querySelector("input");m&&(m.tabIndex=-1,(d===i||!i&&d===a)&&(m.tabIndex=0))})}update(t){super.update(t),t.has("checked")&&this.setActualFormValue()}render(){var t;return I`
4737
+ `,...St(!0)],Ov=px;var Rs=class extends ge(Ee(Ut(se))){constructor(){super(...arguments);this.checked=!1;this.readonly=!1;this.renderLabelAndHelperText=()=>this.label?I`<div class="mdc-radio__label-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:j}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.updateTabIndex(),this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}getAllRadiosWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-radio[name="${this.name}"]`))}formResetCallback(){this.getAllRadiosWithinSameGroup().forEach(i=>{i.checked=!1}),this.updateComplete.then(()=>{this.setActualFormValue()}).catch(i=>{this.onerror&&this.onerror(i)})}formStateRestoreCallback(t){this.value===t&&t!==""&&(this.checked=!0)}setComponentValidity(t){t?this.internals.setValidity({}):this.required&&!this.checked&&(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()),this.updateTabIndex()}setGroupValidity(t,i){this.updateComplete.then(()=>{t.forEach(a=>{a.setComponentValidity(i)})}).catch(a=>{this.onerror&&this.onerror(a)})}setActualFormValue(){let t="";this.checked?t=this.value?this.value:"on":t=null;let i=this.getAllRadiosWithinSameGroup();if(this.checked)this.setGroupValidity(i,!0);else{let a=i.some(b=>b.required),c=!!i.find(b=>b.checked),m=a&&!c;this.setGroupValidity(i,!m)}this.internals.setFormValue(t)}handleChange(){var a;if(this.disabled||this.readonly)return;this.getAllRadiosWithinSameGroup().forEach(c=>{var b;let m=(b=c.shadowRoot)==null?void 0:b.querySelector("input");m&&(c.checked=!1,m.checked=!1)}),this.checked=!0;let i=(a=this.shadowRoot)==null?void 0:a.querySelector("input");i&&(i.checked=!0),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}updateRadio(t,i){var a,c;(c=(a=t[i].shadowRoot)==null?void 0:a.querySelector("input"))==null||c.focus(),t[i].handleChange()}handleKeyDown(t){var m;if(this.disabled)return;let a=this.getAllRadiosWithinSameGroup().filter(b=>!b.disabled),c=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let b=(c+1)%a.length;this.updateRadio(a,b)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let b=(c-1+a.length)%a.length;this.updateRadio(a,b)}else t.key===Q.SPACE&&this.updateRadio(a,c);this.updateTabIndex(),t.key===Q.ENTER&&((m=this.form)==null||m.requestSubmit())}updateTabIndex(){let t=this.getAllRadiosWithinSameGroup(),i=t.find(c=>c.checked),a=t.find(c=>!c.disabled);t.forEach(c=>{var b;let m=(b=c.shadowRoot)==null?void 0:b.querySelector("input");m&&(m.tabIndex=-1,(c===i||!i&&c===a)&&(m.tabIndex=0))})}update(t){super.update(t),t.has("checked")&&this.setActualFormValue()}render(){var t;return I`
4742
4738
  <mdc-staticradio
4743
4739
  class="mdc-focus-ring"
4744
4740
  ?checked="${this.checked}"
@@ -4765,7 +4761,7 @@
4765
4761
  />
4766
4762
  </mdc-staticradio>
4767
4763
  ${this.renderLabelAndHelperText()}
4768
- `}};Rs.styles=[...oe.styles,...Pv],p([u({type:Boolean,reflect:!0})],Rs.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Rs.prototype,"readonly",2);var uh=Rs;var Jl=B.constructTagName("radio");uh.register(Jl);var mx=uh;var en=class extends Dl{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var t,i,a,d,m;(m=(d=(a=(i=Array.from(((t=this.shadowRoot)==null?void 0:t.querySelectorAll("slot"))||[]))==null?void 0:i.flatMap(b=>b.assignedElements({flatten:!0})))==null?void 0:a.filter(b=>b.tagName.toLowerCase()===Jl||b.tagName.toLowerCase()===El))==null?void 0:d.filter(b=>!b.hasAttribute("name")))==null||m.forEach(b=>{b.setAttribute("name",this.name),this.required&&b.setAttribute("required",this.required.toString())})}};en.styles=[...Dl.styles],p([u({type:String})],en.prototype,"name",2);var fh=en;var Dv=B.constructTagName("radiogroup");fh.register(Dv);var ux=fh;var fx=z`
4764
+ `}};Rs.styles=[...se.styles,...Ov],p([u({type:Boolean,reflect:!0})],Rs.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Rs.prototype,"readonly",2);var uh=Rs;var Ql=B.constructTagName("radio");uh.register(Ql);var mx=uh;var rn=class extends Dl{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var t,i,a,c,m;(m=(c=(a=(i=Array.from(((t=this.shadowRoot)==null?void 0:t.querySelectorAll("slot"))||[]))==null?void 0:i.flatMap(b=>b.assignedElements({flatten:!0})))==null?void 0:a.filter(b=>b.tagName.toLowerCase()===Ql||b.tagName.toLowerCase()===El))==null?void 0:c.filter(b=>!b.hasAttribute("name")))==null||m.forEach(b=>{b.setAttribute("name",this.name),this.required&&b.setAttribute("required",this.required.toString())})}};rn.styles=[...Dl.styles],p([u({type:String})],rn.prototype,"name",2);var fh=rn;var Pv=B.constructTagName("radiogroup");fh.register(Pv);var ux=fh;var fx=V`
4769
4765
  :host::part(filters-container) {
4770
4766
  display: flex;
4771
4767
  gap: 0.25rem;
@@ -4790,10 +4786,10 @@
4790
4786
  position: relative;
4791
4787
  scrollbar-width: none;
4792
4788
  }
4793
- `,$v=[fx];var Fv=B.constructTagName("searchfield"),rn={TYPE:xs.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:Bl};var Mo=class extends Sr{constructor(){super(...arguments);this.isInputFocused=!1;this.hasInputChips=!1}handleKeyDown(t){super.handleKeyDown(t),t.key===Z.ESCAPE&&this.clearInputText()}connectedCallback(){super.connectedCallback(),this.leadingIcon=rn.ICON,this.trailingButton=rn.CLOSE_BTN,this.helpText=void 0,this.helpTextType=void 0,this.required=void 0,this.validationMessage=void 0,this.prefixText=void 0}renderInputChips(){var t;this.hasInputChips=!!((t=this.inputChips)!=null&&t.length),this.inputChips&&this.inputChips.forEach(i=>{i.matches(rn.INPUT_CHIP_TAG)||i.remove()})}firstUpdated(t){this.inputElement.onfocus=()=>{this.isInputFocused=!0},this.inputElement.onblur=()=>{this.isInputFocused=!1},super.firstUpdated(t)}clearInputText(){var t;super.clearInputText(),(t=this.inputChips)==null||t.forEach(i=>{i.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return I`
4789
+ `,Dv=[fx];var Fv=B.constructTagName("searchfield"),on={TYPE:As.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:Bl};var Oo=class extends Ar{constructor(){super(...arguments);this.isInputFocused=!1;this.hasInputChips=!1}handleKeyDown(t){super.handleKeyDown(t),t.key===Q.ESCAPE&&this.clearInputText()}connectedCallback(){super.connectedCallback(),this.leadingIcon=on.ICON,this.trailingButton=on.CLOSE_BTN,this.helpText=void 0,this.helpTextType=void 0,this.required=void 0,this.validationMessage=void 0,this.prefixText=void 0}renderInputChips(){var t;this.hasInputChips=!!((t=this.inputChips)!=null&&t.length),this.inputChips&&this.inputChips.forEach(i=>{i.matches(on.INPUT_CHIP_TAG)||i.remove()})}firstUpdated(t){this.inputElement.onfocus=()=>{this.isInputFocused=!0},this.inputElement.onblur=()=>{this.isInputFocused=!1},super.firstUpdated(t)}clearInputText(){var t;super.clearInputText(),(t=this.inputChips)==null||t.forEach(i=>{i.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return I`
4794
4790
  ${this.renderLabelElement()}
4795
4791
  <div
4796
- class="${Dr({"input-container":!0,"mdc-focus-ring":this.isInputFocused})}"
4792
+ class="${Pr({"input-container":!0,"mdc-focus-ring":this.isInputFocused})}"
4797
4793
  part="input-container"
4798
4794
  >
4799
4795
  ${this.renderLeadingIcon()}
@@ -4801,16 +4797,16 @@
4801
4797
  <div
4802
4798
  part="filters-container"
4803
4799
  @click=${()=>this.inputElement.focus()}
4804
- @keydown=${t=>t.key===Z.ENTER?this.inputElement.focus():null}
4805
- @keyup=${t=>t.key===Z.SPACE?this.inputElement.focus():null}
4800
+ @keydown=${t=>t.key===Q.ENTER?this.inputElement.focus():null}
4801
+ @keyup=${t=>t.key===Q.SPACE?this.inputElement.focus():null}
4806
4802
  >
4807
4803
  <slot name="filters" @slotchange=${this.renderInputChips}></slot>
4808
4804
  </div>
4809
- ${this.renderInputElement(rn.TYPE,this.hasInputChips)}
4805
+ ${this.renderInputElement(on.TYPE,this.hasInputChips)}
4810
4806
  </div>
4811
4807
  ${this.renderTrailingButton(this.hasInputChips)}
4812
4808
  </div>
4813
- `}};Mo.styles=[...Sr.styles,...$v],p([Rt({slot:"filters"})],Mo.prototype,"inputChips",2),p([gt()],Mo.prototype,"isInputFocused",2),p([gt()],Mo.prototype,"hasInputChips",2);var vh=Mo;vh.register(Fv);var vx=vh;var Vv=B.constructTagName("select"),gh={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},on="select-base-triggerid",bh="select-listbox";var gx=z`
4809
+ `}};Oo.styles=[...Ar.styles,...Dv],p([Ot({slot:"filters"})],Oo.prototype,"inputChips",2),p([gt()],Oo.prototype,"isInputFocused",2),p([gt()],Oo.prototype,"hasInputChips",2);var vh=Oo;vh.register(Fv);var vx=vh;var $v=B.constructTagName("select"),gh={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},Jl="select-base-triggerid",zv="select-listbox";var gx=V`
4814
4810
  :host {
4815
4811
  --mdc-select-background-color: var(--mds-color-theme-background-primary-ghost);
4816
4812
  --mdc-select-background-color-hover: var(--mds-color-theme-background-primary-hover);
@@ -4931,24 +4927,24 @@
4931
4927
  :host([soft-disabled])::part(base-text) {
4932
4928
  color: var(--mdc-select-text-color-disabled);
4933
4929
  }
4934
- `,zv=[gx,...St(!0)];var Te=class extends ge(Ee(Ut(oe))){constructor(){super(...arguments);this.readonly=!1;this.placement=Yt.BOTTOM_START;this.boundary=_t.BOUNDARY;this.strategy=_t.STRATEGY;this.popoverZIndex=_t.Z_INDEX;this.displayPopover=!1;this.initialSelectedOption=null}getAllValidOptions(){var t;return Array.from(((t=this.slottedListboxes[0])==null?void 0:t.querySelectorAll(`${hr}:not([disabled])`))||[])}getFirstValidOption(){var t;return(t=this.slottedListboxes[0])==null?void 0:t.querySelector(`${hr}:not([disabled])`)}getLastValidOption(){let t=this.getAllValidOptions();return t.length>0?t[t.length-1]:null}getFirstSelectedOption(){var t;return(t=this.slottedListboxes[0])==null?void 0:t.querySelector(`${hr}[selected]:not([disabled])`)}async firstUpdated(t){await this.updateComplete,this.modifyListBoxWrapper();let i=this.getFirstSelectedOption();if(i)this.initialSelectedOption=i,this.setSelectedOption(i);else if(this.placeholder)this.placeholder&&this.setInputValidity();else{let a=this.getFirstValidOption();this.setSelectedOption(a),this.fireEvents()}this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}updated(t){super.updated(t),(t.has("disabled")||t.has("softDisabled")||t.has("readonly"))&&(this.disabled||this.softDisabled||this.readonly)&&(this.displayPopover=!1),t.has("dataAriaLabel")&&this.modifyListBoxWrapper()}modifyListBoxWrapper(){let t=this.slottedListboxes[0];t&&(t.setAttribute("id",bh),t.setAttribute("aria-label",this.dataAriaLabel||""),t.setAttribute("aria-labelledby",on))}handleOptionsClick(t){let i=t.target;i&&i.tagName===hr.toUpperCase()&&!i.hasAttribute("disabled")&&!i.hasAttribute("soft-disabled")&&(this.setSelectedOption(i),this.displayPopover=!1,this.fireEvents())}setSelectedOption(t){var i,a,d;this.updateSelectedInChildOptions(t),this.updateTabIndexForAllOptions(t),this.selectedOption=t,this.value=(a=(i=this.selectedOption)==null?void 0:i.value)!=null?a:"",this.internals.setFormValue(this.value),(d=this.inputElement)==null||d.setAttribute("value",this.value),this.setInputValidity()}updateTabIndexForAllOptions(t){let i=this.getAllValidOptions(),a=t||i[0];i.forEach(d=>{d.setAttribute("tabindex",d===a?"0":"-1")})}updateSelectedInChildOptions(t){t==null||t.setAttribute("selected","true"),this.getAllValidOptions().forEach(a=>{a!==t&&a.removeAttribute("selected")})}fireEvents(){this.dispatchInput(this.selectedOption),this.dispatchChange(this.selectedOption)}setInputValidity(){var t,i;!this.selectedOption&&this.required&&this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(i=this.inputElement)==null||i.setCustomValidity(""),this.setValidity()}formResetCallback(){var i;let t=this.initialSelectedOption||null;((i=this.selectedOption)==null?void 0:i.value)!==(t==null?void 0:t.value)&&(this.setSelectedOption(t),this.fireEvents())}formStateRestoreCallback(t){var a;let i=this.getAllValidOptions().find(d=>d.value===t||d.label===t);((a=this.selectedOption)==null?void 0:a.value)!==(i==null?void 0:i.value)&&(this.setSelectedOption(i||null),this.fireEvents())}dispatchChange(t){this.dispatchEvent(new CustomEvent("change",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}dispatchInput(t){this.dispatchEvent(new CustomEvent("input",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}handleClickCombobox(t){this.disabled||this.softDisabled||this.readonly||(this.displayPopover=!this.displayPopover,t.stopPropagation())}handleKeydownCombobox(t){if(!(this.disabled||this.softDisabled||this.readonly))switch(t.key){case Z.ARROW_DOWN:case Z.ARROW_UP:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case Z.ENTER:case Z.SPACE:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case Z.HOME:{this.displayPopover=!0;let i=this.getFirstValidOption();i&&(i==null||i.focus(),this.updateTabIndexForAllOptions(i)),t.preventDefault();break}case Z.END:{this.displayPopover=!0;let i=this.getLastValidOption();i&&(i.focus(),this.updateTabIndexForAllOptions(i)),t.preventDefault();break}default:break}}handlePopoverKeydown(t){let i=null;switch(t.key){case Z.HOME:{i=this.getFirstValidOption();break}case Z.END:{i=this.getLastValidOption();break}case Z.ARROW_DOWN:{let a=this.getAllValidOptions(),d=a.findIndex(b=>b===t.target),m=Math.min(d+1,a.length-1);i=a[m];break}case Z.ARROW_UP:{let a=this.getAllValidOptions(),d=a.findIndex(b=>b===t.target),m=Math.max(d-1,0);i=a[m];break}case Z.PAGE_DOWN:{let a=this.getAllValidOptions(),d=a.findIndex(b=>b===t.target),m=Math.min(d+10,a.length-1);i=a[m];break}case Z.PAGE_UP:{let a=this.getAllValidOptions(),d=a.findIndex(b=>b===t.target),m=Math.max(d-10,0);i=a[m];break}default:break}i&&(this.focusAndUpdateTabIndexes(i),t.preventDefault(),t.stopPropagation())}focusAndUpdateTabIndexes(t){t&&(t.focus(),this.updateTabIndexForAllOptions(t))}handleNativeInputFocus(){this.visualCombobox.focus()}updateState(){var i;let t=this.getFirstSelectedOption();this.inputElement&&(t?((i=this.selectedOption)==null?void 0:i.value)!==t.value&&this.setSelectedOption(t):this.setSelectedOption(this.placeholder?null:this.getFirstValidOption()))}render(){var t,i,a,d,m,b;return I`
4930
+ `,Vv=[gx,...St(!0)];var Ce=class extends Is(Bi(ge(Ee(Ut(se))))){constructor(){super();this.readonly=!1;this.placement=Yt.BOTTOM_START;this.boundary=_t.BOUNDARY;this.strategy=_t.STRATEGY;this.popoverZIndex=_t.Z_INDEX;this.displayPopover=!1;this.initialSelectedOption=null;this.itemsStore=new Vr(this,{isValidItem:this.isValidItem,onStoreUpdate:this.onStoreUpdate});this.addEventListener(Jt.MODIFIED,this.handleModifiedEvent)}connectedCallback(){super.connectedCallback(),this.loop="false",this.initialFocus=0}get navItems(){return this.itemsStore.items}attributeChangedCallback(t,i,a){var c;if(super.attributeChangedCallback(t,i,a),t==="value"&&a!==""&&a!==i&&a!==((c=this.selectedOption)==null?void 0:c.value)&&this.navItems.length){let m=this.getFirstSelectedOption(),b=this.getFirstOption(),C=this.navItems.find(W=>W.value===a),L=null;if(C)L=C;else if(this.placeholder)L=null;else if(b)L=b;else if(m)L=m;else return;this.updateComplete.then(()=>{this.setSelectedOption(L)}).catch(W=>{this.onerror&&this.onerror(W)})}}onStoreUpdate(t,i,a){switch(i){case"added":t.setAttribute("tabindex","-1");break;case"removed":{if(a===-1||t.tabIndex!==0)return;let c=a+1;if(c>=this.navItems.length&&(c=a-1),c===-1){this.displayPopover=!1,this.handleNativeInputFocus();return}this.resetTabIndexes(c);break}default:break}}isValidItem(t){return t.matches(`${Hr}:not([disabled])`)}getFirstSelectedOption(){return this.navItems.find(t=>t.hasAttribute("selected"))}getFirstOption(){return this.navItems[0]}handleModifiedEvent(t){let i=t.target,a=this.getFirstSelectedOption();switch(t.detail.change){case"selected":{a?this.setSelectedOption(a):this.setSelectedOption(i);break}case"unselected":{a?this.setSelectedOption(a):this.setSelectedOption(this.placeholder?null:this.getFirstOption());break}default:break}}async firstUpdated(t){await this.updateComplete;let i=this.getFirstSelectedOption();if(i)this.initialSelectedOption=i,this.setSelectedOption(i);else if(this.placeholder)this.placeholder&&this.setInputValidity();else{let a=this.getFirstOption();this.setSelectedOption(a),this.fireEvents()}this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}updated(t){super.updated(t),(t.has("disabled")||t.has("softDisabled")||t.has("readonly"))&&(this.disabled||this.softDisabled||this.readonly)&&(this.displayPopover=!1)}handleOptionsClick(t){let i=t.target;i&&i.tagName===Hr.toUpperCase()&&!i.hasAttribute("disabled")&&!i.hasAttribute("soft-disabled")&&(this.setSelectedOption(i),this.displayPopover=!1,this.fireEvents())}setSelectedOption(t){var i,a,c;t!==this.selectedOption&&(this.updateSelectedInChildOptions(t),this.resetTabIndexes(this.navItems.indexOf(t)),this.selectedOption=t,this.value=(a=(i=this.selectedOption)==null?void 0:i.value)!=null?a:"",this.internals.setFormValue(this.value),(c=this.inputElement)==null||c.setAttribute("value",this.value),this.setInputValidity())}updateSelectedInChildOptions(t){t==null||t.setAttribute("selected","true"),this.navItems.forEach(i=>{i!==t&&i.removeAttribute("selected")})}fireEvents(){this.dispatchInput(this.selectedOption),this.dispatchChange(this.selectedOption)}setInputValidity(){var t,i;!this.selectedOption&&this.required&&this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(i=this.inputElement)==null||i.setCustomValidity(""),this.setValidity()}formResetCallback(){var i;let t=this.initialSelectedOption||null;((i=this.selectedOption)==null?void 0:i.value)!==(t==null?void 0:t.value)&&(this.setSelectedOption(t),this.fireEvents())}formStateRestoreCallback(t){var a;let i=this.navItems.find(c=>c.value===t||c.label===t);((a=this.selectedOption)==null?void 0:a.value)!==(i==null?void 0:i.value)&&(this.setSelectedOption(i||null),this.fireEvents())}dispatchChange(t){this.dispatchEvent(new CustomEvent("change",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}dispatchInput(t){this.dispatchEvent(new CustomEvent("input",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}handleClickCombobox(t){this.disabled||this.softDisabled||this.readonly||(this.displayPopover=!this.displayPopover,t.stopPropagation())}handleKeydownCombobox(t){if(!(this.disabled||this.softDisabled||this.readonly))switch(t.key){case Q.ARROW_DOWN:case Q.ARROW_UP:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case Q.ENTER:case Q.SPACE:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case Q.HOME:{this.displayPopover=!0,this.resetTabIndexAndSetFocus(0),t.preventDefault();break}case Q.END:{this.displayPopover=!0,this.resetTabIndexAndSetFocus(this.navItems.length-1),t.preventDefault();break}default:break}}handleNativeInputFocus(){this.visualCombobox.focus()}render(){var t,i,a,c,m,b;return I`
4935
4931
  ${this.renderLabel()}
4936
4932
  <div part="container">
4937
4933
  <div
4938
- id="${on}"
4934
+ id="${Jl}"
4939
4935
  part="base-container"
4940
4936
  @click="${this.handleClickCombobox}"
4941
4937
  @keydown="${this.handleKeydownCombobox}"
4942
4938
  tabindex="${this.disabled?"-1":"0"}"
4943
4939
  class="${this.disabled?"":"mdc-focus-ring"}"
4944
4940
  role="${et.COMBOBOX}"
4945
- aria-controls="${bh}"
4941
+ aria-controls="${zv}"
4946
4942
  aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
4947
4943
  aria-labelledby="${this.label?Mt.HEADING_ID:""}"
4948
4944
  aria-expanded="${this.displayPopover?"true":"false"}"
4949
4945
  aria-haspopup="${et.LISTBOX}"
4950
4946
  aria-required="${this.required?"true":"false"}"
4951
- aria-invalid="${this.helpTextType===zt.ERROR?"true":"false"}"
4947
+ aria-invalid="${this.helpTextType===Vt.ERROR?"true":"false"}"
4952
4948
  aria-disabled="${rt(this.disabled||this.softDisabled)}"
4953
4949
  aria-readonly="${rt(this.readonly)}"
4954
4950
  >
@@ -4959,7 +4955,7 @@
4959
4955
  part="selected-icon"
4960
4956
  ></mdc-icon>`:j}
4961
4957
  <mdc-text
4962
- part="base-text ${(d=this.selectedOption)!=null&&d.label?"selected":""}"
4958
+ part="base-text ${(c=this.selectedOption)!=null&&c.label?"selected":""}"
4963
4959
  type="${st.BODY_MIDSIZE_REGULAR}"
4964
4960
  tagname="${mt.SPAN}"
4965
4961
  >
@@ -4989,8 +4985,7 @@
4989
4985
  />
4990
4986
  <mdc-popover
4991
4987
  trigger="manual"
4992
- triggerid="${on}"
4993
- @keydown="${this.handlePopoverKeydown}"
4988
+ triggerid="${Jl}"
4994
4989
  interactive
4995
4990
  ?visible="${this.displayPopover}"
4996
4991
  role=""
@@ -5013,7 +5008,7 @@
5013
5008
  </mdc-popover>
5014
5009
  </div>
5015
5010
  ${this.renderHelperText()}
5016
- `}};Te.styles=[...oe.styles,...zv],p([u({type:String})],Te.prototype,"placeholder",2),p([u({type:Boolean})],Te.prototype,"readonly",2),p([u({type:String,reflect:!0})],Te.prototype,"placement",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Te.prototype,"softDisabled",2),p([u({type:String,reflect:!0,attribute:"boundary"})],Te.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"strategy"})],Te.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],Te.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],Te.prototype,"backdropAppendTo",2),p([Rt({selector:"mdc-selectlistbox"})],Te.prototype,"slottedListboxes",2),p([tr(`[id="${on}"]`)],Te.prototype,"visualCombobox",2),p([gt()],Te.prototype,"selectedOption",2),p([gt()],Te.prototype,"displayPopover",2);var yh=Te;yh.register(Vv);var bx=yh;var Eh=class extends q{connectedCallback(){super.connectedCallback(),this.role=et.LISTBOX}createRenderRoot(){return this}},Th=Eh;var td=B.constructTagName("selectlistbox");Th.register(td);var yx=Th;wo.register(Ui);var Ex=wo;var Bv=B.constructTagName("skeleton"),Uv={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},Hv={VARIANT:Uv.RECTANGULAR};var Tx=z`
5011
+ `}};Ce.styles=[...se.styles,...Vv],p([u({type:String})],Ce.prototype,"placeholder",2),p([u({type:Boolean})],Ce.prototype,"readonly",2),p([u({type:String,reflect:!0})],Ce.prototype,"placement",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Ce.prototype,"softDisabled",2),p([u({type:String,reflect:!0,attribute:"boundary"})],Ce.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"strategy"})],Ce.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],Ce.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],Ce.prototype,"backdropAppendTo",2),p([tr(`[id="${Jl}"]`)],Ce.prototype,"visualCombobox",2),p([gt()],Ce.prototype,"selectedOption",2),p([gt()],Ce.prototype,"displayPopover",2);var bh=Ce;bh.register($v);var bx=bh;var yh=class extends K{connectedCallback(){super.connectedCallback(),this.role=et.LISTBOX}createRenderRoot(){return this}},Eh=yh;var tc=B.constructTagName("selectlistbox");Eh.register(tc);var yx=Eh;No.register(Hi);var Ex=No;var Bv=B.constructTagName("skeleton"),Uv={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},Hv={VARIANT:Uv.RECTANGULAR};var Tx=V`
5017
5012
  :host {
5018
5013
  --mdc-skeleton-background-color: var(--mds-color-theme-background-skeleton-normal);
5019
5014
  --mdc-skeleton-height: 100%;
@@ -5050,7 +5045,7 @@
5050
5045
  ::slotted(*) {
5051
5046
  visibility: hidden;
5052
5047
  }
5053
- `,Gv=Tx;var sn=class extends q{constructor(){super(...arguments);this.variant=Hv.VARIANT}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}firstUpdated(t){super.firstUpdated(t),this.checkSlotContent()}checkSlotContent(){var i;let t=(i=this.shadowRoot)==null?void 0:i.querySelector("slot");t&&(t.assignedNodes().length>0?this.setAttribute("has-content",""):this.removeAttribute("has-content"))}render(){return I`<slot @slotchange=${this.checkSlotContent}></slot>`}};sn.styles=[...q.styles,Gv],p([u({type:String,reflect:!0})],sn.prototype,"variant",2);var xh=sn;xh.register(Bv);var xx=xh;var Ax=[bt,z`
5048
+ `,Gv=Tx;var sn=class extends K{constructor(){super(...arguments);this.variant=Hv.VARIANT}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}firstUpdated(t){super.firstUpdated(t),this.checkSlotContent()}checkSlotContent(){var i;let t=(i=this.shadowRoot)==null?void 0:i.querySelector("slot");t&&(t.assignedNodes().length>0?this.setAttribute("has-content",""):this.removeAttribute("has-content"))}render(){return I`<slot @slotchange=${this.checkSlotContent}></slot>`}};sn.styles=[...K.styles,Gv],p([u({type:String,reflect:!0})],sn.prototype,"variant",2);var Th=sn;Th.register(Bv);var xx=Th;var Ax=[bt,V`
5054
5049
  :host {
5055
5050
  --mdc-spinner-default-color: var(--mds-color-theme-control-active-normal);
5056
5051
  --mdc-spinner-inverted-color: var(--mds-color-theme-inverted-control-active-normal);
@@ -5114,11 +5109,11 @@
5114
5109
  stroke-dashoffset: -292;
5115
5110
  }
5116
5111
  }
5117
- `],Yv=Ax;var Wv=B.constructTagName("spinner"),Sx={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},_x={STANDALONE:"standalone",BUTTON:"button"},ed={VARIANT:_x.STANDALONE,SIZE:Sx.MIDSIZE,INVERTED:!1};var Wi=class extends q{constructor(){super(...arguments);this.inverted=ed.INVERTED;this.size=ed.SIZE;this.ariaLabel=null;this.variant=ed.VARIANT}updated(t){super.updated(t),t.has("ariaLabel")&&(this.role=this.ariaLabel?et.IMG:null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return I`
5112
+ `],Yv=Ax;var Wv=B.constructTagName("spinner"),Sx={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},_x={STANDALONE:"standalone",BUTTON:"button"},ec={VARIANT:_x.STANDALONE,SIZE:Sx.MIDSIZE,INVERTED:!1};var ji=class extends K{constructor(){super(...arguments);this.inverted=ec.INVERTED;this.size=ec.SIZE;this.ariaLabel=null;this.variant=ec.VARIANT}updated(t){super.updated(t),t.has("ariaLabel")&&(this.role=this.ariaLabel?et.IMG:null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return I`
5118
5113
  <svg part="container" viewBox="0 0 100 100">
5119
5114
  <circle part="circle" cx="50" cy="50" r="46"></circle>
5120
5115
  </svg>
5121
- `}};Wi.styles=[...q.styles,...Yv],p([u({type:Boolean,reflect:!0})],Wi.prototype,"inverted",2),p([u({type:String,reflect:!0})],Wi.prototype,"size",2),p([u({type:String,attribute:"aria-label"})],Wi.prototype,"ariaLabel",2),p([u({type:String,reflect:!0})],Wi.prototype,"variant",2);var Ah=Wi;Ah.register(Wv);var Ix=Ah;Ra.register(bf);var Cx=Ra;var kx={COMPLETE:"complete",INCOMPLETE:"incomplete"},Sh={VERTICAL:"vertical",HORIZONTAL:"horizontal"},_h={STATUS:kx.INCOMPLETE,ORIENTATION:Sh.HORIZONTAL},jv=B.constructTagName("stepperconnector");var qv=B.constructTagName("stepperitem"),Ih={INLINE:"inline",STACKED:"stacked"},fi={COMPLETED:"completed",CURRENT:"current",ERROR_CURRENT:"error-current",ERROR_INCOMPLETE:"error-incomplete",NOT_STARTED:"not-started"},rd={COMPLETED:"check-bold",ERROR:"error-legacy-badge-filled",PENCIL:"edit-bold"},Ch={VARIANT:Ih.INLINE,STATUS:fi.NOT_STARTED};var id=B.constructTagName("stepper"),an={ORIENTATION:Sh.HORIZONTAL,VARIANT:Ih.INLINE};var od=class{constructor(o,t){this.orientation=o,this.variant=t}};od.context=id;var sd=od;var wx=z`
5116
+ `}};ji.styles=[...K.styles,...Yv],p([u({type:Boolean,reflect:!0})],ji.prototype,"inverted",2),p([u({type:String,reflect:!0})],ji.prototype,"size",2),p([u({type:String,attribute:"aria-label"})],ji.prototype,"ariaLabel",2),p([u({type:String,reflect:!0})],ji.prototype,"variant",2);var xh=ji;xh.register(Wv);var Ix=xh;Ra.register(gf);var Cx=Ra;var kx={COMPLETE:"complete",INCOMPLETE:"incomplete"},Ah={VERTICAL:"vertical",HORIZONTAL:"horizontal"},Sh={STATUS:kx.INCOMPLETE,ORIENTATION:Ah.HORIZONTAL},jv=B.constructTagName("stepperconnector");var Kv=B.constructTagName("stepperitem"),_h={INLINE:"inline",STACKED:"stacked"},vi={COMPLETED:"completed",CURRENT:"current",ERROR_CURRENT:"error-current",ERROR_INCOMPLETE:"error-incomplete",NOT_STARTED:"not-started"},rc={COMPLETED:"check-bold",ERROR:"error-legacy-badge-filled",PENCIL:"edit-bold"},Ih={VARIANT:_h.INLINE,STATUS:vi.NOT_STARTED};var ic=B.constructTagName("stepper"),an={ORIENTATION:Ah.HORIZONTAL,VARIANT:_h.INLINE};var oc=class{constructor(o,t){this.orientation=o,this.variant=t}};oc.context=ic;var sc=oc;var wx=V`
5122
5117
  :host {
5123
5118
  gap: 0.5rem;
5124
5119
  }
@@ -5155,7 +5150,7 @@
5155
5150
  padding-top: 0.9375rem;
5156
5151
  margin: 0 -3rem;
5157
5152
  }
5158
- `,Kv=[bt,wx];var Ms=class extends rr{constructor(){super({context:sd.context,initialValue:new sd(an.ORIENTATION,an.VARIANT)});this.orientation=an.ORIENTATION;this.variant=an.VARIANT}connectedCallback(){super.connectedCallback(),this.role=et.LIST}static get Context(){return sd.context}updated(t){(t.has("orientation")||t.has("variant"))&&this.updateContext()}updateContext(){(this.context.value.variant!==this.variant||this.context.value.orientation!==this.orientation)&&(this.context.value.variant=this.variant,this.context.value.orientation=this.orientation,this.context.updateObservers())}render(){return I` <slot></slot> `}};Ms.styles=[...q.styles,...Kv],p([u({type:String,reflect:!0})],Ms.prototype,"orientation",2),p([u({type:String,reflect:!0})],Ms.prototype,"variant",2);var Oo=Ms;Oo.register(id);var Nx=Oo;var Lx=z`
5153
+ `,qv=[bt,wx];var Os=class extends rr{constructor(){super({context:sc.context,initialValue:new sc(an.ORIENTATION,an.VARIANT)});this.orientation=an.ORIENTATION;this.variant=an.VARIANT}connectedCallback(){super.connectedCallback(),this.role=et.LIST}static get Context(){return sc.context}updated(t){(t.has("orientation")||t.has("variant"))&&this.updateContext()}updateContext(){(this.context.value.variant!==this.variant||this.context.value.orientation!==this.orientation)&&(this.context.value.variant=this.variant,this.context.value.orientation=this.orientation,this.context.updateObservers())}render(){return I` <slot></slot> `}};Os.styles=[...K.styles,...qv],p([u({type:String,reflect:!0})],Os.prototype,"orientation",2),p([u({type:String,reflect:!0})],Os.prototype,"variant",2);var Po=Os;Po.register(ic);var Nx=Po;var Lx=V`
5159
5154
  :host {
5160
5155
  --mdc-stepperconnector-complete-background: var(--mds-color-theme-outline-theme-normal);
5161
5156
  --mdc-stepperconnector-incomplete-background: var(--mds-color-theme-outline-primary-normal);
@@ -5190,7 +5185,7 @@
5190
5185
  border-left: 1px solid var(--mdc-stepperconnector-complete-background);
5191
5186
  }
5192
5187
  }
5193
- `,Xv=[Lx];var Os=class extends q{constructor(){super(...arguments);this.status=_h.STATUS;this.orientation=_h.ORIENTATION;this.stepperContext=ir.consume({host:this,context:Oo.Context})}updated(t){var a;super.updated(t);let i=(a=this.stepperContext)==null?void 0:a.value;!i||!i.orientation||(this.orientation=i.orientation)}render(){return I` <div part="connector"></div> `}};Os.styles=[...q.styles,...Xv],p([u({type:String,reflect:!0})],Os.prototype,"status",2),p([u({type:String,reflect:!0})],Os.prototype,"orientation",2);var kh=Os;kh.register(jv);var Rx=kh;var Mx=z`
5188
+ `,Xv=[Lx];var Ps=class extends K{constructor(){super(...arguments);this.status=Sh.STATUS;this.orientation=Sh.ORIENTATION;this.stepperContext=ir.consume({host:this,context:Po.Context})}updated(t){var a;super.updated(t);let i=(a=this.stepperContext)==null?void 0:a.value;!i||!i.orientation||(this.orientation=i.orientation)}render(){return I` <div part="connector"></div> `}};Ps.styles=[...K.styles,...Xv],p([u({type:String,reflect:!0})],Ps.prototype,"status",2),p([u({type:String,reflect:!0})],Ps.prototype,"orientation",2);var Ch=Ps;Ch.register(jv);var Mx=Ch;var Rx=V`
5194
5189
  :host {
5195
5190
  gap: 0.5rem;
5196
5191
  border-radius: 0.25rem;
@@ -5347,15 +5342,15 @@
5347
5342
  :host([status='error-incomplete']:active) {
5348
5343
  --mdc-stepperitem-help-text-color: var(--mds-color-theme-text-error-active);
5349
5344
  }
5350
- `,Zv=[bt,Mx,...St()];var vi=class extends Rr(q){constructor(){super();this.variant=Ch.VARIANT;this.status=Ch.STATUS;this.label="";this.stepperContext=ir.consume({host:this,context:Oo.Context});this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this))}updated(t){var a;super.updated(t);let i=(a=this.stepperContext)==null?void 0:a.value;!i||!i.variant||(this.variant=i.variant)}connectedCallback(){super.connectedCallback(),this.role=et.LISTITEM}handleKeyDown(t){[Z.ENTER,Z.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===Z.ENTER&&this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleKeyUp(t){[Z.ENTER,Z.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===Z.SPACE&&this.triggerClickEvent())}renderStatusIcon(){return this.status===fi.COMPLETED?I`<mdc-icon part="status-icon" name=${rd.COMPLETED} length-unit="rem" size="1"></mdc-icon>`:this.status===fi.ERROR_CURRENT||this.status===fi.CURRENT?I`<mdc-icon part="status-icon" name=${rd.PENCIL} length-unit="rem" size="1"></mdc-icon>`:this.stepNumber&&(this.status===fi.NOT_STARTED||this.status===fi.ERROR_INCOMPLETE)?I`<mdc-text part="step-number" tagname=${mt.SPAN} type=${st.BODY_MIDSIZE_REGULAR}
5345
+ `,Zv=[bt,Rx,...St()];var gi=class extends Lr(K){constructor(){super();this.variant=Ih.VARIANT;this.status=Ih.STATUS;this.label="";this.stepperContext=ir.consume({host:this,context:Po.Context});this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this))}updated(t){var a;super.updated(t);let i=(a=this.stepperContext)==null?void 0:a.value;!i||!i.variant||(this.variant=i.variant)}connectedCallback(){super.connectedCallback(),this.role=et.LISTITEM}handleKeyDown(t){[Q.ENTER,Q.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===Q.ENTER&&this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleKeyUp(t){[Q.ENTER,Q.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===Q.SPACE&&this.triggerClickEvent())}renderStatusIcon(){return this.status===vi.COMPLETED?I`<mdc-icon part="status-icon" name=${rc.COMPLETED} length-unit="rem" size="1"></mdc-icon>`:this.status===vi.ERROR_CURRENT||this.status===vi.CURRENT?I`<mdc-icon part="status-icon" name=${rc.PENCIL} length-unit="rem" size="1"></mdc-icon>`:this.stepNumber&&(this.status===vi.NOT_STARTED||this.status===vi.ERROR_INCOMPLETE)?I`<mdc-text part="step-number" tagname=${mt.SPAN} type=${st.BODY_MIDSIZE_REGULAR}
5351
5346
  >${this.stepNumber}</mdc-text
5352
5347
  >`:j}renderHelpText(){if(!this.helpText)return j;let t=I`<mdc-text
5353
5348
  part="help-text"
5354
5349
  tagname=${mt.SPAN}
5355
5350
  type=${st.BODY_MIDSIZE_REGULAR}
5356
5351
  >${this.helpText}</mdc-text
5357
- >`;return this.status===fi.ERROR_INCOMPLETE||this.status===fi.ERROR_CURRENT?I`<div part="help-text-container">
5358
- <mdc-icon part="help-icon" name=${rd.ERROR} length-unit="rem" size="1"></mdc-icon>
5352
+ >`;return this.status===vi.ERROR_INCOMPLETE||this.status===vi.ERROR_CURRENT?I`<div part="help-text-container">
5353
+ <mdc-icon part="help-icon" name=${rc.ERROR} length-unit="rem" size="1"></mdc-icon>
5359
5354
  ${t}
5360
5355
  </div>`:t}render(){return I` <div part="status-container">${this.renderStatusIcon()}</div>
5361
5356
  <div part="label-container">
@@ -5363,7 +5358,7 @@
5363
5358
  >${this.label}</mdc-text
5364
5359
  >`:j}
5365
5360
  ${this.renderHelpText()}
5366
- </div>`}};vi.styles=[...q.styles,...Zv],p([u({type:String,reflect:!0})],vi.prototype,"variant",2),p([u({type:String,reflect:!0})],vi.prototype,"status",2),p([u({type:String,reflect:!0})],vi.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"help-text"})],vi.prototype,"helpText",2),p([u({type:Number,reflect:!0,attribute:"step-number"})],vi.prototype,"stepNumber",2);var wh=vi;wh.register(qv);var Ox=wh;var Qv=B.constructTagName("tab"),Nh={GLASS:"glass",LINE:"line",PILL:"pill"},ad={VARIANT:Nh.PILL,ACTIVE:!1};var Px=[bt,z`
5361
+ </div>`}};gi.styles=[...K.styles,...Zv],p([u({type:String,reflect:!0})],gi.prototype,"variant",2),p([u({type:String,reflect:!0})],gi.prototype,"status",2),p([u({type:String,reflect:!0})],gi.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"help-text"})],gi.prototype,"helpText",2),p([u({type:Number,reflect:!0,attribute:"step-number"})],gi.prototype,"stepNumber",2);var kh=gi;kh.register(Kv);var Ox=kh;var Qv=B.constructTagName("tab"),wh={GLASS:"glass",LINE:"line",PILL:"pill"},ac={VARIANT:wh.PILL,ACTIVE:!1};var Px=[bt,V`
5367
5362
  :host {
5368
5363
  --mdc-tab-content-gap: 0.5rem;
5369
5364
  --mdc-tab-height: 2rem;
@@ -5605,7 +5600,7 @@
5605
5600
  background-color: var(--mdc-tab-pill-active-background-color-disabled);
5606
5601
  color: var(--mdc-tab-pill-active-color-disabled);
5607
5602
  }
5608
- `,...St()],Jv=Px;var ji=class extends qt(re){constructor(){super(...arguments);this.active=ad.ACTIVE;this.variant=ad.VARIANT;this.handleTabActiveChange=t=>{let i=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:t},bubbles:!0});this.dispatchEvent(i)}}connectedCallback(){super.connectedCallback(),this.role=et.TAB,this.softDisabled=void 0,this.size=void 0,this.type=void 0,this.ariaStateKey="aria-selected",!this.tabId&&this.onerror&&this.onerror("tab id is required")}modifyIconName(t){this.iconName&&(t?(this.prevIconName=this.iconName,this.iconName=`${lo(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(t){this.setAttribute("variant",Object.values(Nh).includes(t)?t:ad.VARIANT)}setActive(t,i){super.setActive(t,i),this.modifyIconName(i)}executeAction(){this.handleTabActiveChange(this.active)}update(t){super.update(t),t.has("variant")&&this.setVariant(this.variant)}render(){return I`
5603
+ `,...St()],Jv=Px;var Ki=class extends Kt(ie){constructor(){super(...arguments);this.active=ac.ACTIVE;this.variant=ac.VARIANT;this.handleTabActiveChange=t=>{let i=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:t},bubbles:!0});this.dispatchEvent(i)}}connectedCallback(){super.connectedCallback(),this.role=et.TAB,this.softDisabled=void 0,this.size=void 0,this.type=void 0,this.ariaStateKey="aria-selected",!this.tabId&&this.onerror&&this.onerror("tab id is required")}modifyIconName(t){this.iconName&&(t?(this.prevIconName=this.iconName,this.iconName=`${co(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(t){this.setAttribute("variant",Object.values(wh).includes(t)?t:ac.VARIANT)}setActive(t,i){super.setActive(t,i),this.modifyIconName(i)}executeAction(){this.handleTabActiveChange(this.active)}update(t){super.update(t),t.has("variant")&&this.setVariant(this.variant)}render(){return I`
5609
5604
  <div part="container">
5610
5605
  ${this.iconName?I` <mdc-icon name="${this.iconName}" size="1" length-unit="rem" part="icon"></mdc-icon>`:j}
5611
5606
  ${this.text?I` <mdc-text
@@ -5619,7 +5614,7 @@
5619
5614
  <slot name="chip"></slot>
5620
5615
  </div>
5621
5616
  <div part="indicator"></div>
5622
- `}};ji.styles=[...re.styles,...Jv],p([u({type:Boolean,reflect:!0})],ji.prototype,"active",2),p([u({type:String,reflect:!0})],ji.prototype,"text",2),p([u({type:String,reflect:!0})],ji.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"tab-id"})],ji.prototype,"tabId",2);var pr=ji;pr.register(Qv);var Dx=pr;var $x=[Li,z`
5617
+ `}};Ki.styles=[...ie.styles,...Jv],p([u({type:Boolean,reflect:!0})],Ki.prototype,"active",2),p([u({type:String,reflect:!0})],Ki.prototype,"text",2),p([u({type:String,reflect:!0})],Ki.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"tab-id"})],Ki.prototype,"tabId",2);var hr=Ki;hr.register(Qv);var Dx=hr;var Fx=[Mi,V`
5623
5618
  :host {
5624
5619
  --mdc-tablist-focus-ring-outer-width: var(--mdc-focus-ring-outer-width);
5625
5620
  --mdc-tablist-gap: 0.5rem;
@@ -5649,16 +5644,16 @@
5649
5644
  :host mdc-button[prefix-icon='arrow-right-regular'] {
5650
5645
  margin-left: var(--mdc-tablist-arrow-button-margin);
5651
5646
  }
5652
- `],tg=[...$x];var eg=B.constructTagName("tablist"),nn={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Ps={FORWARD:"forward",BACKWARD:"backward"};var nd=n=>n[0],Lh=n=>n[n.length-1],rg=(n,o)=>{let t=n.findIndex(i=>o===i)-1;return n[(t+n.length)%n.length]},ig=(n,o)=>{let t=n.findIndex(i=>o===i)+1;return n[t%n.length]},og=(n,o)=>n.find(t=>t.tabId===o),Rh=n=>n.find(o=>o.active);var _r=class extends q{constructor(){super();this.showForwardArrowButton=!1;this.showBackwardArrowButton=!1;this.addEventListener("keydown",this.handleKeydown.bind(this)),this.addEventListener("activechange",this.handleNestedTabActiveChange)}isRtl(){var t;return((t=document.querySelector("html"))==null?void 0:t.getAttribute("dir"))==="rtl"||window.getComputedStyle(this).direction==="rtl"}async firstUpdated(){var a,d,m;if(!this.tabs)return;if(Array.isArray(this.tabs)&&this.tabs.length===0){this.onerror&&this.onerror("The tablist component must have at least one child tab");return}let t=this.tabs.map(b=>b.tabId);new Set(t).size!==this.tabs.length&&this.onerror&&this.onerror("The tabs inside the tab list must have unique tab ids"),new ResizeObserver(async()=>{await this.handleArrowButtonVisibility()}).observe(this),this.activeTabId||(this.activeTabId=(a=nd(this.tabs))==null?void 0:a.tabId),(d=this.tabsContainer)==null||d.addEventListener("focusin",this.handleFocus.bind(this)),(m=this.tabsContainer)==null||m.addEventListener("mousedown",this.handleMousedown.bind(this))}disconnectedCallback(){var t,i;super.disconnectedCallback(),(t=this.tabsContainer)==null||t.removeEventListener("focusin",this.handleFocus),(i=this.tabsContainer)==null||i.removeEventListener("mousedown",this.handleMousedown)}async update(t){if(super.update(t),t.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let i=og(this.tabs,this.activeTabId);if(!(i instanceof pr))return;this.setActiveTab(i),t.get("activeTabId")?(this.fireTabChangeEvent(i),await this.focusTab(i)):this.resetTabIndexAndSetNewTabIndex(i)}}fireTabChangeEvent(t){let i=new CustomEvent("change",{detail:{tabId:t.tabId}});this.dispatchEvent(i)}async handleFocus(t){if(t.relatedTarget instanceof pr||!(t.target instanceof pr))return;let i=Rh(this.tabs||[]);i instanceof pr&&await this.focusTab(i)}handleMousedown(t){t.target instanceof pr&&t.preventDefault()}async handleNestedTabActiveChange(t){t.stopPropagation();let i=t.target;i instanceof pr&&(this.setActiveTab(i),await this.focusTab(i),this.activeTabId=i.tabId)}resetTabIndexAndSetNewTabIndex(t){var i;(i=this.tabs)==null||i.forEach(a=>{a.setAttribute("tabindex",a===t?"0":"-1")})}setActiveTab(t){var i;(i=this.tabs)==null||i.forEach(a=>{a===t?a.setAttribute("active",""):a.removeAttribute("active")})}async focusTab(t){t instanceof pr&&(t!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(t),t.focus()),await this.handleArrowButtonVisibility())}async handleKeydown(t){let i=t.target;if(!(i instanceof pr)||!this.tabs)return;let a=rg(this.tabs,i),d=ig(this.tabs,i),m=nd(this.tabs),b=Lh(this.tabs);switch(t.code){case nn.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?d:a);break;case nn.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?a:d);break;case nn.HOME:await this.focusTab(m);break;case nn.END:await this.focusTab(b);break;default:}}shouldShowArrowButton(t){return t===Ps.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton}async switchFocus(){var t,i;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(t=Rh(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((i=this.notFocusedArrowButton)==null||i.focus())}async handleArrowButtonVisibility(){var K,it,X;if(!this.tabs||!this.tabsContainer)return;let t=!1;((K=this.shadowRoot)==null?void 0:K.activeElement)instanceof co&&(t=!0);let i=nd(this.tabs),a=Lh(this.tabs),d=i.getBoundingClientRect().left,m=(it=this.tabsContainer)==null?void 0:it.getBoundingClientRect().left,b=a.getBoundingClientRect().right,C=(X=this.tabsContainer)==null?void 0:X.getBoundingClientRect().right,M=i.getBoundingClientRect().right,W=a.getBoundingClientRect().left;if(!this.isRtl()){d<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,b>C?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}M>C?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,W<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus()}async scrollTabs(t){var d;let i=this.isRtl()?-1:1,a=this.isRtl()?1:-1;(d=this.tabsContainer)==null||d.scrollBy({left:this.tabsContainer.clientWidth*(t===Ps.FORWARD?i:a),behavior:"instant"}),await this.handleArrowButtonVisibility()}render(){let t=this.isRtl()?"left":"right",i=this.isRtl()?"right":"left",a=d=>I` ${this.shouldShowArrowButton(d)?I`<mdc-button
5647
+ `],tg=[...Fx];var eg=B.constructTagName("tablist"),nn={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Ds={FORWARD:"forward",BACKWARD:"backward"};var nc=n=>n[0],Nh=n=>n[n.length-1],rg=(n,o)=>{let t=n.findIndex(i=>o===i)-1;return n[(t+n.length)%n.length]},ig=(n,o)=>{let t=n.findIndex(i=>o===i)+1;return n[t%n.length]},og=(n,o)=>n.find(t=>t.tabId===o),Lh=n=>n.find(o=>o.active);var Sr=class extends K{constructor(){super();this.showForwardArrowButton=!1;this.showBackwardArrowButton=!1;this.addEventListener("keydown",this.handleKeydown.bind(this)),this.addEventListener("activechange",this.handleNestedTabActiveChange)}isRtl(){var t;return((t=document.querySelector("html"))==null?void 0:t.getAttribute("dir"))==="rtl"||window.getComputedStyle(this).direction==="rtl"}async firstUpdated(){var a,c,m;if(!this.tabs)return;if(Array.isArray(this.tabs)&&this.tabs.length===0){this.onerror&&this.onerror("The tablist component must have at least one child tab");return}let t=this.tabs.map(b=>b.tabId);new Set(t).size!==this.tabs.length&&this.onerror&&this.onerror("The tabs inside the tab list must have unique tab ids"),new ResizeObserver(async()=>{await this.handleArrowButtonVisibility()}).observe(this),this.activeTabId||(this.activeTabId=(a=nc(this.tabs))==null?void 0:a.tabId),(c=this.tabsContainer)==null||c.addEventListener("focusin",this.handleFocus.bind(this)),(m=this.tabsContainer)==null||m.addEventListener("mousedown",this.handleMousedown.bind(this))}disconnectedCallback(){var t,i;super.disconnectedCallback(),(t=this.tabsContainer)==null||t.removeEventListener("focusin",this.handleFocus),(i=this.tabsContainer)==null||i.removeEventListener("mousedown",this.handleMousedown)}async update(t){if(super.update(t),t.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let i=og(this.tabs,this.activeTabId);if(!(i instanceof hr))return;this.setActiveTab(i),t.get("activeTabId")?(this.fireTabChangeEvent(i),await this.focusTab(i)):this.resetTabIndexAndSetNewTabIndex(i)}}fireTabChangeEvent(t){let i=new CustomEvent("change",{detail:{tabId:t.tabId}});this.dispatchEvent(i)}async handleFocus(t){if(t.relatedTarget instanceof hr||!(t.target instanceof hr))return;let i=Lh(this.tabs||[]);i instanceof hr&&await this.focusTab(i)}handleMousedown(t){t.target instanceof hr&&t.preventDefault()}async handleNestedTabActiveChange(t){t.stopPropagation();let i=t.target;i instanceof hr&&(this.setActiveTab(i),await this.focusTab(i),this.activeTabId=i.tabId)}resetTabIndexAndSetNewTabIndex(t){var i;(i=this.tabs)==null||i.forEach(a=>{a.setAttribute("tabindex",a===t?"0":"-1")})}setActiveTab(t){var i;(i=this.tabs)==null||i.forEach(a=>{a===t?a.setAttribute("active",""):a.removeAttribute("active")})}async focusTab(t){t instanceof hr&&(t!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(t),t.focus()),await this.handleArrowButtonVisibility())}async handleKeydown(t){let i=t.target;if(!(i instanceof hr)||!this.tabs)return;let a=rg(this.tabs,i),c=ig(this.tabs,i),m=nc(this.tabs),b=Nh(this.tabs);switch(t.code){case nn.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?c:a);break;case nn.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?a:c);break;case nn.HOME:await this.focusTab(m);break;case nn.END:await this.focusTab(b);break;default:}}shouldShowArrowButton(t){return t===Ds.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton}async switchFocus(){var t,i;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(t=Lh(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((i=this.notFocusedArrowButton)==null||i.focus())}async handleArrowButtonVisibility(){var q,it,X;if(!this.tabs||!this.tabsContainer)return;let t=!1;((q=this.shadowRoot)==null?void 0:q.activeElement)instanceof ho&&(t=!0);let i=nc(this.tabs),a=Nh(this.tabs),c=i.getBoundingClientRect().left,m=(it=this.tabsContainer)==null?void 0:it.getBoundingClientRect().left,b=a.getBoundingClientRect().right,C=(X=this.tabsContainer)==null?void 0:X.getBoundingClientRect().right,L=i.getBoundingClientRect().right,W=a.getBoundingClientRect().left;if(!this.isRtl()){c<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,b>C?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}L>C?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,W<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus()}async scrollTabs(t){var c;let i=this.isRtl()?-1:1,a=this.isRtl()?1:-1;(c=this.tabsContainer)==null||c.scrollBy({left:this.tabsContainer.clientWidth*(t===Ds.FORWARD?i:a),behavior:"instant"}),await this.handleArrowButtonVisibility()}render(){let t=this.isRtl()?"left":"right",i=this.isRtl()?"right":"left",a=c=>I` ${this.shouldShowArrowButton(c)?I`<mdc-button
5653
5648
  variant="tertiary"
5654
- prefix-icon="arrow-${d===Ps.FORWARD?t:i}-regular"
5655
- aria-label="Scroll tabs ${d===Ps.FORWARD?t:i}"
5656
- @click="${()=>this.scrollTabs(d)}"
5649
+ prefix-icon="arrow-${c===Ds.FORWARD?t:i}-regular"
5650
+ aria-label="Scroll tabs ${c===Ds.FORWARD?t:i}"
5651
+ @click="${()=>this.scrollTabs(c)}"
5657
5652
  ></mdc-button>`:j}`;return I` ${a("backward")}
5658
5653
  <div class="container" role="${et.TABLIST}" tabindex="-1" aria-label="${rt(this.dataAriaLabel)}">
5659
5654
  <slot></slot>
5660
5655
  </div>
5661
- ${a(Ps.FORWARD)}`}};_r.styles=[...q.styles,...tg],p([u({type:String,attribute:"active-tab-id",reflect:!0})],_r.prototype,"activeTabId",2),p([u({type:String,attribute:"data-aria-label"})],_r.prototype,"dataAriaLabel",2),p([tr(".container")],_r.prototype,"tabsContainer",2),p([tr("mdc-button:not(:focus-visible)")],_r.prototype,"notFocusedArrowButton",2),p([Rt({selector:"mdc-tab"})],_r.prototype,"tabs",2),p([gt()],_r.prototype,"showForwardArrowButton",2),p([gt()],_r.prototype,"showBackwardArrowButton",2);var Mh=_r;Mh.register(eg);var Fx=Mh;var sg=B.constructTagName("textarea"),Oh={HARD:"hard",SOFT:"soft"},ag={OFF:"off",ON:"on"},ld={CHARACTER_COUNTER_TYPE:st.BODY_MIDSIZE_REGULAR,ROWS:5,COLS:40,WRAP:Oh.SOFT};var Vx=[z`
5656
+ ${a(Ds.FORWARD)}`}};Sr.styles=[...K.styles,...tg],p([u({type:String,attribute:"active-tab-id",reflect:!0})],Sr.prototype,"activeTabId",2),p([u({type:String,attribute:"data-aria-label"})],Sr.prototype,"dataAriaLabel",2),p([tr(".container")],Sr.prototype,"tabsContainer",2),p([tr("mdc-button:not(:focus-visible)")],Sr.prototype,"notFocusedArrowButton",2),p([Ot({selector:"mdc-tab"})],Sr.prototype,"tabs",2),p([gt()],Sr.prototype,"showForwardArrowButton",2),p([gt()],Sr.prototype,"showBackwardArrowButton",2);var Mh=Sr;Mh.register(eg);var $x=Mh;var sg=B.constructTagName("textarea"),Rh={HARD:"hard",SOFT:"soft"},ag={OFF:"off",ON:"on"},lc={CHARACTER_COUNTER_TYPE:st.BODY_MIDSIZE_REGULAR,ROWS:5,COLS:40,WRAP:Rh.SOFT};var zx=[V`
5662
5657
  :host {
5663
5658
  --mdc-textarea-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
5664
5659
  --mdc-textarea-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
@@ -5777,8 +5772,8 @@
5777
5772
  opacity: 0;
5778
5773
  pointer-events: none;
5779
5774
  }
5780
- `,...St(!0)],ng=Vx;var xe=class extends ge(Ee(Ut(dr))){constructor(){super(...arguments);this.readonly=!1;this.rows=ld.ROWS;this.cols=ld.COLS;this.wrap=Oh.SOFT;this.autocapitalize=zl.OFF;this.autocomplete=ag.OFF;this.characterLimitExceedingFired=!1}get textarea(){return this.inputElement}connectedCallback(){var t;super.connectedCallback(),this.value=((t=this.textContent)==null?void 0:t.trim())||this.value,this.updateComplete.then(()=>{this.textarea&&(this.textarea.checkValidity(),this.setTextareaValidity(),this.internals.setFormValue(this.textarea.value))}).catch(i=>{this.onerror&&this.onerror(i)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===zt.ERROR&&this.helpText?this.textarea.setCustomValidity(this.helpText):this.textarea.setCustomValidity(""),this.setValidity()}formResetCallback(){this.value="",this.requestUpdate()}formStateRestoreCallback(t){this.value=t}handleValueChange(){this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(t=>{this.onerror&&this.onerror(t)})}updated(t){super.updated(t),t.has("value")&&(this.handleValueChange(),this.handleCharacterOverflowStateChange())}attributeChangedCallback(t,i,a){super.attributeChangedCallback(t,i,a),["maxlength","minlength","required"].includes(t)&&this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(m=>{this.onerror&&this.onerror(m)})}dispatchCharacterOverflowStateChangeEvent(){this.dispatchEvent(new CustomEvent("limitexceeded",{detail:{currentCharacterCount:this.value.length,maxCharacterLimit:this.maxCharacterLimit,value:this.value},bubbles:!0,composed:!0}))}handleCharacterOverflowStateChange(){this.maxCharacterLimit&&(this.value.length>this.maxCharacterLimit&&!this.characterLimitExceedingFired?(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!0):this.value.length<=this.maxCharacterLimit&&this.characterLimitExceedingFired&&(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!1))}updateValue(){this.value=this.textarea.value,this.internals.setFormValue(this.textarea.value)}onChange(t){this.updateValue();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}renderCharacterCounter(){return this.maxCharacterLimit?I`
5781
- <mdc-text part="character-counter" tagname="span" type=${ld.CHARACTER_COUNTER_TYPE}>
5775
+ `,...St(!0)],ng=zx;var Te=class extends ge(Ee(Ut(cr))){constructor(){super(...arguments);this.readonly=!1;this.rows=lc.ROWS;this.cols=lc.COLS;this.wrap=Rh.SOFT;this.autocapitalize=Vl.OFF;this.autocomplete=ag.OFF;this.characterLimitExceedingFired=!1}get textarea(){return this.inputElement}connectedCallback(){var t;super.connectedCallback(),this.value=((t=this.textContent)==null?void 0:t.trim())||this.value,this.updateComplete.then(()=>{this.textarea&&(this.textarea.checkValidity(),this.setTextareaValidity(),this.internals.setFormValue(this.textarea.value))}).catch(i=>{this.onerror&&this.onerror(i)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===Vt.ERROR&&this.helpText?this.textarea.setCustomValidity(this.helpText):this.textarea.setCustomValidity(""),this.setValidity()}formResetCallback(){this.value="",this.requestUpdate()}formStateRestoreCallback(t){this.value=t}handleValueChange(){this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(t=>{this.onerror&&this.onerror(t)})}updated(t){super.updated(t),t.has("value")&&(this.handleValueChange(),this.handleCharacterOverflowStateChange())}attributeChangedCallback(t,i,a){super.attributeChangedCallback(t,i,a),["maxlength","minlength","required"].includes(t)&&this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(m=>{this.onerror&&this.onerror(m)})}dispatchCharacterOverflowStateChangeEvent(){this.dispatchEvent(new CustomEvent("limitexceeded",{detail:{currentCharacterCount:this.value.length,maxCharacterLimit:this.maxCharacterLimit,value:this.value},bubbles:!0,composed:!0}))}handleCharacterOverflowStateChange(){this.maxCharacterLimit&&(this.value.length>this.maxCharacterLimit&&!this.characterLimitExceedingFired?(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!0):this.value.length<=this.maxCharacterLimit&&this.characterLimitExceedingFired&&(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!1))}updateValue(){this.value=this.textarea.value,this.internals.setFormValue(this.textarea.value)}onChange(t){this.updateValue();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}renderCharacterCounter(){return this.maxCharacterLimit?I`
5776
+ <mdc-text part="character-counter" tagname="span" type=${lc.CHARACTER_COUNTER_TYPE}>
5782
5777
  ${this.value.length<10?`0${this.value.length}`:this.value.length}/${this.maxCharacterLimit}
5783
5778
  </mdc-text>
5784
5779
  `:j}renderTextareaFooter(){return!this.helpText&&!this.maxCharacterLimit?j:I` <div part="textarea-footer">${this.renderHelperText()} ${this.renderCharacterCounter()}</div> `}render(){var t;return I`
@@ -5809,7 +5804,7 @@
5809
5804
  ></textarea>
5810
5805
  </div>
5811
5806
  ${this.renderTextareaFooter()}
5812
- `}};xe.styles=[...dr.styles,...ng],p([u({type:String})],xe.prototype,"placeholder",2),p([u({type:Boolean})],xe.prototype,"readonly",2),p([u({type:Number})],xe.prototype,"rows",2),p([u({type:Number})],xe.prototype,"cols",2),p([u({type:String})],xe.prototype,"wrap",2),p([u({type:String})],xe.prototype,"autocapitalize",2),p([u({type:String})],xe.prototype,"autocomplete",2),p([u({type:String})],xe.prototype,"dirname",2),p([u({type:Number})],xe.prototype,"maxlength",2),p([u({type:Number})],xe.prototype,"minlength",2),p([u({type:Number,attribute:"max-character-limit"})],xe.prototype,"maxCharacterLimit",2),p([tr("textarea")],xe.prototype,"inputElement",2);var Ph=xe;Ph.register(sg);var zx=Ph;var Bx=[z`
5807
+ `}};Te.styles=[...cr.styles,...ng],p([u({type:String})],Te.prototype,"placeholder",2),p([u({type:Boolean})],Te.prototype,"readonly",2),p([u({type:Number})],Te.prototype,"rows",2),p([u({type:Number})],Te.prototype,"cols",2),p([u({type:String})],Te.prototype,"wrap",2),p([u({type:String})],Te.prototype,"autocapitalize",2),p([u({type:String})],Te.prototype,"autocomplete",2),p([u({type:String})],Te.prototype,"dirname",2),p([u({type:Number})],Te.prototype,"maxlength",2),p([u({type:Number})],Te.prototype,"minlength",2),p([u({type:Number,attribute:"max-character-limit"})],Te.prototype,"maxCharacterLimit",2),p([tr("textarea")],Te.prototype,"inputElement",2);var Oh=Te;Oh.register(sg);var Vx=Oh;var Bx=[V`
5813
5808
  :host {
5814
5809
  display: block;
5815
5810
  position: relative;
@@ -5823,10 +5818,10 @@
5823
5818
  .typewriter-hidden {
5824
5819
  display: none;
5825
5820
  }
5826
- `],lg=Bx;var dg=B.constructTagName("typewriter"),Po={VERY_SLOW:240,SLOW:120,NORMAL:60,FAST:20,VERY_FAST:1},gi={TYPE:be.TYPE,TEXT_ELEMENT_TAGNAME:be.TEXT_ELEMENT_TAGNAME,CSS_PART_TEXT:"text",CSS_PART_CONTAINER:"container",CHILDREN:"",SPEED:"normal",CUSTOM_EVENT:{TYPING_COMPLETE:"typing-complete"}};var Ir=class extends q{constructor(){super(...arguments);this.type=gi.TYPE;this.tagname=gi.TEXT_ELEMENT_TAGNAME;this.speed=gi.SPEED;this.maxQueueSize=Number.MAX_SAFE_INTEGER;this.displayedText="";this.originalText="";this.currentIndex=0;this.typingTimeout=null;this.pendingTimeouts=new Set;this.textChunkQueue=[];this.previousTextContent="";this.typingComplete=!0}connectedCallback(){super.connectedCallback(),this.createTimeout(()=>{this.captureAndProcessContent()},0)}disconnectedCallback(){this.clearTypingAnimation(),this.clearAllTimeouts(),super.disconnectedCallback()}createTimeout(t,i){let a=window.setTimeout(()=>{this.pendingTimeouts.delete(a),t()},i);return this.pendingTimeouts.add(a),a}clearAllTimeouts(){this.pendingTimeouts.forEach(t=>clearTimeout(t)),this.pendingTimeouts.clear()}clearQueue(){this.textChunkQueue.length=0}addTextChunk(t,i,a){t&&(this.maxQueueSize<Number.MAX_SAFE_INTEGER&&this.textChunkQueue.length>=this.maxQueueSize&&this.textChunkQueue.splice(0,this.textChunkQueue.length-this.maxQueueSize+1),this.textChunkQueue.push({text:t,speed:i,instant:a}),this.processChunkQueue())}addInstantTextChunk(t){this.addTextChunk(t,void 0,!0)}processChunkQueue(){this.textChunkQueue.length>0&&this.processNextChunk()}processNextChunk(){if(this.textChunkQueue.length===0)return;let t=this.textChunkQueue.shift(),i=this.speed;t.speed!==void 0&&(this.speed=t.speed),this.originalText+=t.text,this.typingComplete=!1,t.instant?(this.displayedText=this.originalText,this.currentIndex=this.originalText.length,this.typingComplete=!0,this.requestUpdate(),t.speed!==void 0&&(this.speed=i),this.textChunkQueue.length>0?this.createTimeout(()=>{this.processNextChunk()},0):this.dispatchEvent(new CustomEvent(gi.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0}))):this.startTypingAnimation(()=>{t.speed!==void 0&&(this.speed=i),this.textChunkQueue.length>0?this.createTimeout(()=>{this.processNextChunk()},0):this.dispatchEvent(new CustomEvent(gi.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0}))})}getTypingDelayMs(){let t=this.speed;switch(t){case"slow":return Po.SLOW;case"fast":return Po.FAST;case"very-slow":return Po.VERY_SLOW;case"very-fast":return Po.VERY_FAST;case"normal":return Po.NORMAL;default:{let i=parseInt(t,10);return Number.isNaN(i)?Po.NORMAL:Math.max(10,i)}}}updated(t){super.updated(t),t.has("speed")&&!this.typingComplete&&this.textChunkQueue.length===0&&this.startTypingAnimation()}captureAndProcessContent(){var a;let t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot");if(!t)return;let i=t.assignedNodes().filter(d=>d.nodeType===Node.TEXT_NODE||d.nodeType===Node.ELEMENT_NODE).map(d=>d.textContent||"").join("");i!==this.previousTextContent&&(this.displayedText===""||!i.includes(this.displayedText)?(this.originalText=i,this.displayedText="",this.currentIndex=0,this.typingComplete=!1):(this.originalText=i,this.typingComplete=!1),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{content:this.originalText,isTyping:!this.typingComplete}})),this.previousTextContent=i,this.startTypingAnimation())}startTypingAnimation(t){if(this.clearTypingAnimation(),this.displayedText===this.originalText){this.typingComplete=!0,t&&this.createTimeout(()=>{t()},0);return}this.currentIndex=this.displayedText.length,this.typingComplete=!1;let i=()=>{if(this.currentIndex<this.originalText.length){let a=this.originalText[this.currentIndex],d=this.displayedText+a;d!==this.displayedText&&(this.displayedText=d,this.requestUpdate()),this.currentIndex+=1,this.typingTimeout=window.setTimeout(i,this.getTypingDelayMs())}else this.clearTypingAnimation(),this.typingComplete=!0,t?this.createTimeout(()=>{t()},0):this.createTimeout(()=>{this.dispatchEvent(new CustomEvent(gi.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0,detail:{finalContent:this.originalText}}))},0)};this.typingTimeout=window.setTimeout(i,this.getTypingDelayMs())}clearTypingAnimation(){this.typingTimeout!==null&&(clearTimeout(this.typingTimeout),this.typingTimeout=null)}handleSlotChange(){this.captureAndProcessContent()}render(){return I`
5827
- <div part="${gi.CSS_PART_CONTAINER}" aria-live="polite" aria-busy="${!this.typingComplete}">
5821
+ `],lg=Bx;var cg=B.constructTagName("typewriter"),Do={VERY_SLOW:240,SLOW:120,NORMAL:60,FAST:20,VERY_FAST:1},bi={TYPE:be.TYPE,TEXT_ELEMENT_TAGNAME:be.TEXT_ELEMENT_TAGNAME,CSS_PART_TEXT:"text",CSS_PART_CONTAINER:"container",CHILDREN:"",SPEED:"normal",CUSTOM_EVENT:{TYPING_COMPLETE:"typing-complete"}};var _r=class extends K{constructor(){super(...arguments);this.type=bi.TYPE;this.tagname=bi.TEXT_ELEMENT_TAGNAME;this.speed=bi.SPEED;this.maxQueueSize=Number.MAX_SAFE_INTEGER;this.displayedText="";this.originalText="";this.currentIndex=0;this.typingTimeout=null;this.pendingTimeouts=new Set;this.textChunkQueue=[];this.previousTextContent="";this.typingComplete=!0}connectedCallback(){super.connectedCallback(),this.createTimeout(()=>{this.captureAndProcessContent()},0)}disconnectedCallback(){this.clearTypingAnimation(),this.clearAllTimeouts(),super.disconnectedCallback()}createTimeout(t,i){let a=window.setTimeout(()=>{this.pendingTimeouts.delete(a),t()},i);return this.pendingTimeouts.add(a),a}clearAllTimeouts(){this.pendingTimeouts.forEach(t=>clearTimeout(t)),this.pendingTimeouts.clear()}clearQueue(){this.textChunkQueue.length=0}addTextChunk(t,i,a){t&&(this.maxQueueSize<Number.MAX_SAFE_INTEGER&&this.textChunkQueue.length>=this.maxQueueSize&&this.textChunkQueue.splice(0,this.textChunkQueue.length-this.maxQueueSize+1),this.textChunkQueue.push({text:t,speed:i,instant:a}),this.processChunkQueue())}addInstantTextChunk(t){this.addTextChunk(t,void 0,!0)}processChunkQueue(){this.textChunkQueue.length>0&&this.processNextChunk()}processNextChunk(){if(this.textChunkQueue.length===0)return;let t=this.textChunkQueue.shift(),i=this.speed;t.speed!==void 0&&(this.speed=t.speed),this.originalText+=t.text,this.typingComplete=!1,t.instant?(this.displayedText=this.originalText,this.currentIndex=this.originalText.length,this.typingComplete=!0,this.requestUpdate(),t.speed!==void 0&&(this.speed=i),this.textChunkQueue.length>0?this.createTimeout(()=>{this.processNextChunk()},0):this.dispatchEvent(new CustomEvent(bi.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0}))):this.startTypingAnimation(()=>{t.speed!==void 0&&(this.speed=i),this.textChunkQueue.length>0?this.createTimeout(()=>{this.processNextChunk()},0):this.dispatchEvent(new CustomEvent(bi.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0}))})}getTypingDelayMs(){let t=this.speed;switch(t){case"slow":return Do.SLOW;case"fast":return Do.FAST;case"very-slow":return Do.VERY_SLOW;case"very-fast":return Do.VERY_FAST;case"normal":return Do.NORMAL;default:{let i=parseInt(t,10);return Number.isNaN(i)?Do.NORMAL:Math.max(10,i)}}}updated(t){super.updated(t),t.has("speed")&&!this.typingComplete&&this.textChunkQueue.length===0&&this.startTypingAnimation()}captureAndProcessContent(){var a;let t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot");if(!t)return;let i=t.assignedNodes().filter(c=>c.nodeType===Node.TEXT_NODE||c.nodeType===Node.ELEMENT_NODE).map(c=>c.textContent||"").join("");i!==this.previousTextContent&&(this.displayedText===""||!i.includes(this.displayedText)?(this.originalText=i,this.displayedText="",this.currentIndex=0,this.typingComplete=!1):(this.originalText=i,this.typingComplete=!1),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{content:this.originalText,isTyping:!this.typingComplete}})),this.previousTextContent=i,this.startTypingAnimation())}startTypingAnimation(t){if(this.clearTypingAnimation(),this.displayedText===this.originalText){this.typingComplete=!0,t&&this.createTimeout(()=>{t()},0);return}this.currentIndex=this.displayedText.length,this.typingComplete=!1;let i=()=>{if(this.currentIndex<this.originalText.length){let a=this.originalText[this.currentIndex],c=this.displayedText+a;c!==this.displayedText&&(this.displayedText=c,this.requestUpdate()),this.currentIndex+=1,this.typingTimeout=window.setTimeout(i,this.getTypingDelayMs())}else this.clearTypingAnimation(),this.typingComplete=!0,t?this.createTimeout(()=>{t()},0):this.createTimeout(()=>{this.dispatchEvent(new CustomEvent(bi.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0,detail:{finalContent:this.originalText}}))},0)};this.typingTimeout=window.setTimeout(i,this.getTypingDelayMs())}clearTypingAnimation(){this.typingTimeout!==null&&(clearTimeout(this.typingTimeout),this.typingTimeout=null)}handleSlotChange(){this.captureAndProcessContent()}render(){return I`
5822
+ <div part="${bi.CSS_PART_CONTAINER}" aria-live="polite" aria-busy="${!this.typingComplete}">
5828
5823
  <mdc-text
5829
- part="${gi.CSS_PART_TEXT}"
5824
+ part="${bi.CSS_PART_TEXT}"
5830
5825
  type="${this.type}"
5831
5826
  tagname="${rt(this.tagname)}"
5832
5827
  aria-label="${this.originalText}"
@@ -5834,7 +5829,7 @@
5834
5829
  >
5835
5830
  <slot @slotchange=${this.handleSlotChange} class="typewriter-hidden"></slot>
5836
5831
  </div>
5837
- `}};Ir.styles=[...q.styles,...lg],p([u({attribute:"type",reflect:!0,type:String})],Ir.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],Ir.prototype,"tagname",2),p([u({attribute:"speed",reflect:!0})],Ir.prototype,"speed",2),p([u({attribute:"max-queue-size",type:Number,reflect:!0})],Ir.prototype,"maxQueueSize",2),p([gt()],Ir.prototype,"displayedText",2),p([gt()],Ir.prototype,"originalText",2),p([gt()],Ir.prototype,"typingComplete",2);var Dh=Ir;Dh.register(dg);var Ux=Dh;var dd=B.constructTagName("themeprovider"),$h={THEMECLASS:"mds-theme-stable-darkWebex"};var cd=class{constructor(o){this.themeclass=o}};cd.context=dd;var hd=cd;var Hx=z`
5832
+ `}};_r.styles=[...K.styles,...lg],p([u({attribute:"type",reflect:!0,type:String})],_r.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],_r.prototype,"tagname",2),p([u({attribute:"speed",reflect:!0})],_r.prototype,"speed",2),p([u({attribute:"max-queue-size",type:Number,reflect:!0})],_r.prototype,"maxQueueSize",2),p([gt()],_r.prototype,"displayedText",2),p([gt()],_r.prototype,"originalText",2),p([gt()],_r.prototype,"typingComplete",2);var Ph=_r;Ph.register(cg);var Ux=Ph;var cc=B.constructTagName("themeprovider"),Dh={THEMECLASS:"mds-theme-stable-darkWebex"};var dc=class{constructor(o){this.themeclass=o}};dc.context=cc;var hc=dc;var Hx=V`
5838
5833
  :host {
5839
5834
  --mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
5840
5835
  --mdc-themeprovider-font-family: var(--mds-font-family-primary);
@@ -5861,7 +5856,7 @@
5861
5856
  * {
5862
5857
  scrollbar-color: var(--mdc-themeprovider-scrollbar-thumb-color) var(--mdc-themeprovider-scrollbar-track-color);
5863
5858
  }
5864
- `,cg=[Hx];var Ds=class extends rr{constructor(){super({context:hd.context,initialValue:new hd($h.THEMECLASS)});this.themeclass=$h.THEMECLASS}static get Context(){return hd.context}updated(t){super.updated(t),t.has("themeclass")&&(this.setThemeInClassList(),this.currentThemeClass=this.themeclass)}updateContext(){this.context.value.themeclass!==this.themeclass&&(this.context.value.themeclass=this.themeclass,this.context.updateObservers())}setThemeInClassList(){this.currentThemeClass&&this.classList.remove(...this.currentThemeClass.split(" ")),this.themeclass&&this.classList.add(...this.themeclass.split(" "))}};Ds.styles=[...rr.styles,...cg],p([gt()],Ds.prototype,"currentThemeClass",2),p([u({type:String})],Ds.prototype,"themeclass",2);var Fh=Ds;Fh.register(dd);var Gx=Fh;var hg=B.constructTagName("toast"),ln={CUSTOM:"custom",SUCCESS:"success",WARNING:"warning",ERROR:"error"},pd={SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},Ve={HEADER_TAG_NAME:"h2",CANCEL_ICON:"cancel-bold",ARROW_UP_BOLD:"arrow-up-bold",ARROW_DOWN_BOLD:"arrow-down-bold",PREFIX_ICON_SIZE:1.5,CLOSE_ICON_SIZE:er[20],BUTTON:Qr,PRIMARY_BUTTON:Dt.PRIMARY,SECONDARY_BUTTON:Dt.SECONDARY,TERTIARY_BUTTON:Dt.TERTIARY,VARIANT:ln.CUSTOM};var pg=n=>{switch(n){case ln.SUCCESS:return pd.SUCCESS_ICON_NAME;case ln.WARNING:return pd.WARNING_ICON_NAME;case ln.ERROR:return pd.ERROR_ICON_NAME;default:return null}};var Yx=z`
5859
+ `,dg=[Hx];var Fs=class extends rr{constructor(){super({context:hc.context,initialValue:new hc(Dh.THEMECLASS)});this.themeclass=Dh.THEMECLASS}static get Context(){return hc.context}updated(t){super.updated(t),t.has("themeclass")&&(this.setThemeInClassList(),this.currentThemeClass=this.themeclass)}updateContext(){this.context.value.themeclass!==this.themeclass&&(this.context.value.themeclass=this.themeclass,this.context.updateObservers())}setThemeInClassList(){this.currentThemeClass&&this.classList.remove(...this.currentThemeClass.split(" ")),this.themeclass&&this.classList.add(...this.themeclass.split(" "))}};Fs.styles=[...rr.styles,...dg],p([gt()],Fs.prototype,"currentThemeClass",2),p([u({type:String})],Fs.prototype,"themeclass",2);var Fh=Fs;Fh.register(cc);var Gx=Fh;var hg=B.constructTagName("toast"),ln={CUSTOM:"custom",SUCCESS:"success",WARNING:"warning",ERROR:"error"},pc={SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},ze={HEADER_TAG_NAME:"h2",CANCEL_ICON:"cancel-bold",ARROW_UP_BOLD:"arrow-up-bold",ARROW_DOWN_BOLD:"arrow-down-bold",PREFIX_ICON_SIZE:1.5,CLOSE_ICON_SIZE:er[20],BUTTON:Jr,PRIMARY_BUTTON:Dt.PRIMARY,SECONDARY_BUTTON:Dt.SECONDARY,TERTIARY_BUTTON:Dt.TERTIARY,VARIANT:ln.CUSTOM};var pg=n=>{switch(n){case ln.SUCCESS:return pc.SUCCESS_ICON_NAME;case ln.WARNING:return pc.WARNING_ICON_NAME;case ln.ERROR:return pc.ERROR_ICON_NAME;default:return null}};var Yx=V`
5865
5860
  :host {
5866
5861
  --mdc-toast-background-color: var(--mds-color-theme-background-solid-primary-normal);
5867
5862
  --mdc-toast-border-color: var(--mds-color-theme-outline-primary-normal);
@@ -5946,10 +5941,10 @@
5946
5941
  mdc-text::part(text) {
5947
5942
  margin: 0;
5948
5943
  }
5949
- `,mg=[Yx];var ke=class extends ns(q){constructor(){super(...arguments);this.variant=Ve.VARIANT;this.headerTagName=Ve.HEADER_TAG_NAME;this.ariaLabel=null;this.isDetailVisible=!1;this.hasDetailedSlot=!1;this.hasFooterButtons=""}closeToast(){let t=new CustomEvent("close",{bubbles:!0,composed:!0,detail:{id:this.id}});this.dispatchEvent(t)}toggleDetailVisibility(){this.isDetailVisible=!this.isDetailVisible}updateDetailedSlotPresence(){var t,i;this.hasDetailedSlot=(i=(t=this.detailedElements)==null?void 0:t.some(a=>{var d;return(d=a.textContent)==null?void 0:d.trim()}))!=null?i:!1}updateFooterButtonsPresence(){var t,i,a,d;this.hasFooterButtons=((i=(t=this.footerButtonPrimary)==null?void 0:t.length)!=null?i:0)>0||((d=(a=this.footerButtonSecondary)==null?void 0:a.length)!=null?d:0)>0||this.shouldRenderToggleButton()?"has-footer-buttons":""}firstUpdated(t){super.firstUpdated(t),this.updateDetailedSlotPresence()}renderIcon(t){return t?I`
5944
+ `,mg=[Yx];var ke=class extends ls(K){constructor(){super(...arguments);this.variant=ze.VARIANT;this.headerTagName=ze.HEADER_TAG_NAME;this.ariaLabel=null;this.isDetailVisible=!1;this.hasDetailedSlot=!1;this.hasFooterButtons=""}closeToast(){let t=new CustomEvent("close",{bubbles:!0,composed:!0,detail:{id:this.id}});this.dispatchEvent(t)}toggleDetailVisibility(){this.isDetailVisible=!this.isDetailVisible}updateDetailedSlotPresence(){var t,i;this.hasDetailedSlot=(i=(t=this.detailedElements)==null?void 0:t.some(a=>{var c;return(c=a.textContent)==null?void 0:c.trim()}))!=null?i:!1}updateFooterButtonsPresence(){var t,i,a,c;this.hasFooterButtons=((i=(t=this.footerButtonPrimary)==null?void 0:t.length)!=null?i:0)>0||((c=(a=this.footerButtonSecondary)==null?void 0:a.length)!=null?c:0)>0||this.shouldRenderToggleButton()?"has-footer-buttons":""}firstUpdated(t){super.firstUpdated(t),this.updateDetailedSlotPresence()}renderIcon(t){return t?I`
5950
5945
  <mdc-icon
5951
5946
  name="${t}"
5952
- size="${Ve.PREFIX_ICON_SIZE}"
5947
+ size="${ze.PREFIX_ICON_SIZE}"
5953
5948
  part="toast-prefix-icon"
5954
5949
  ></mdc-icon>
5955
5950
  `:j}shouldRenderToggleButton(){return this.hasDetailedSlot&&this.showMoreText&&this.showLessText}renderToggleDetailButton(){return this.shouldRenderToggleButton()?I`
@@ -5957,7 +5952,7 @@
5957
5952
  variant="tertiary"
5958
5953
  part="footer-button-toggle"
5959
5954
  @click="${this.toggleDetailVisibility}"
5960
- postfix-icon="${this.isDetailVisible?Ve.ARROW_UP_BOLD:Ve.ARROW_DOWN_BOLD}"
5955
+ postfix-icon="${this.isDetailVisible?ze.ARROW_UP_BOLD:ze.ARROW_DOWN_BOLD}"
5961
5956
  >
5962
5957
  ${this.isDetailVisible?this.showLessText:this.showMoreText}
5963
5958
  </mdc-button>
@@ -5974,16 +5969,16 @@
5974
5969
  ${this.renderToggleDetailButton()}
5975
5970
  <slot
5976
5971
  name="footer-button-secondary"
5977
- @slotchange=${()=>this.handleFooterSlot(Ve.BUTTON,Ve.SECONDARY_BUTTON)}
5972
+ @slotchange=${()=>this.handleFooterSlot(ze.BUTTON,ze.SECONDARY_BUTTON)}
5978
5973
  ></slot>
5979
5974
  <slot
5980
5975
  name="footer-button-primary"
5981
- @slotchange=${()=>this.handleFooterSlot(Ve.BUTTON,Ve.PRIMARY_BUTTON)}
5976
+ @slotchange=${()=>this.handleFooterSlot(ze.BUTTON,ze.PRIMARY_BUTTON)}
5982
5977
  ></slot>
5983
5978
  </div>
5984
5979
  </slot>`}render(){var t;return I`
5985
5980
  <div part="content-container">
5986
- ${this.variant===Ve.VARIANT?I`<slot name="content-prefix"></slot>`:I`${this.renderIcon((t=pg(this.variant))!=null?t:"")}`}
5981
+ ${this.variant===ze.VARIANT?I`<slot name="content-prefix"></slot>`:I`${this.renderIcon((t=pg(this.variant))!=null?t:"")}`}
5987
5982
  <div part="toast-content">
5988
5983
  ${this.renderHeader()}
5989
5984
  <slot name="toast-body-normal"></slot>
@@ -5993,15 +5988,15 @@
5993
5988
  </div>
5994
5989
  <mdc-button
5995
5990
  part="toast-close-btn"
5996
- prefix-icon="${Ve.CANCEL_ICON}"
5997
- variant="${Ve.TERTIARY_BUTTON}"
5998
- size="${Ve.CLOSE_ICON_SIZE}"
5991
+ prefix-icon="${ze.CANCEL_ICON}"
5992
+ variant="${ze.TERTIARY_BUTTON}"
5993
+ size="${ze.CLOSE_ICON_SIZE}"
5999
5994
  aria-label="${rt(this.closeButtonAriaLabel)}"
6000
5995
  @click="${this.closeToast}"
6001
5996
  ></mdc-button>
6002
5997
  </div>
6003
5998
  ${this.renderFooter()}
6004
- `}};ke.styles=[...q.styles,...mg],p([u({type:String,reflect:!0})],ke.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],ke.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],ke.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],ke.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],ke.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"show-more-text"})],ke.prototype,"showMoreText",2),p([u({type:String,reflect:!0,attribute:"show-less-text"})],ke.prototype,"showLessText",2),p([gt()],ke.prototype,"isDetailVisible",2),p([gt()],ke.prototype,"hasDetailedSlot",2),p([Rt({slot:"toast-body-detailed",flatten:!0})],ke.prototype,"detailedElements",2),p([gt()],ke.prototype,"hasFooterButtons",2);var Vh=ke;Vh.register(hg);var Wx=Vh;var jx=[bt,z`
5999
+ `}};ke.styles=[...K.styles,...mg],p([u({type:String,reflect:!0})],ke.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],ke.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],ke.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],ke.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],ke.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"show-more-text"})],ke.prototype,"showMoreText",2),p([u({type:String,reflect:!0,attribute:"show-less-text"})],ke.prototype,"showLessText",2),p([gt()],ke.prototype,"isDetailVisible",2),p([gt()],ke.prototype,"hasDetailedSlot",2),p([Ot({slot:"toast-body-detailed",flatten:!0})],ke.prototype,"detailedElements",2),p([gt()],ke.prototype,"hasFooterButtons",2);var $h=ke;$h.register(hg);var Wx=$h;var jx=[bt,V`
6005
6000
  :host {
6006
6001
  --mdc-toggle-width: 3rem;
6007
6002
  --mdc-toggle-height: 1.5rem;
@@ -6087,7 +6082,7 @@
6087
6082
  :host([disabled]) .mdc-help-text {
6088
6083
  color: var(--mdc-toggle-label-color-disabled);
6089
6084
  }
6090
- `,...St(!0)],ug=jx;var $s=class extends ge(Ee(Ut(dr))){constructor(){super(...arguments);this.checked=!1;this.size=Jc.SIZE}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.checked=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}setFormValue(){let t=null;this.checked?t=this.value?this.value:"isActive":t=null,this.manageRequired(),this.internals.setFormValue(t)}toggleState(){this.disabled||(this.checked=!this.checked)}handleKeyDown(t){var i;t.key===Z.ENTER&&((i=this.form)==null||i.requestSubmit())}handleChange(t){this.toggleState();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}setToggleSize(t){this.setAttribute("size",Object.values(Ka).includes(t)?t:Jc.SIZE)}update(t){super.update(t),t.has("checked")&&this.setFormValue(),t.has("size")&&this.setToggleSize(this.size)}render(){var t;return I`
6085
+ `,...St(!0)],ug=jx;var $s=class extends ge(Ee(Ut(cr))){constructor(){super(...arguments);this.checked=!1;this.size=Jd.SIZE}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.checked=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}setFormValue(){let t=null;this.checked?t=this.value?this.value:"isActive":t=null,this.manageRequired(),this.internals.setFormValue(t)}toggleState(){this.disabled||(this.checked=!this.checked)}handleKeyDown(t){var i;t.key===Q.ENTER&&((i=this.form)==null||i.requestSubmit())}handleChange(t){this.toggleState();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}setToggleSize(t){this.setAttribute("size",Object.values(Xa).includes(t)?t:Jd.SIZE)}update(t){super.update(t),t.has("checked")&&this.setFormValue(),t.has("size")&&this.setToggleSize(this.size)}render(){var t;return I`
6091
6086
  <mdc-statictoggle
6092
6087
  ?checked="${this.checked}"
6093
6088
  ?disabled="${this.disabled}"
@@ -6114,10 +6109,10 @@
6114
6109
  />
6115
6110
  </mdc-statictoggle>
6116
6111
  ${this.renderLabel()} ${this.renderHelperText()}
6117
- `}};$s.styles=[...dr.styles,...ug],p([u({type:Boolean,reflect:!0})],$s.prototype,"checked",2),p([u({type:String,reflect:!0})],$s.prototype,"size",2);var zh=$s;zh.register(cv);var qx=zh;function Do(n,o,t){var d;let i=(d=t.initialDeps)!=null?d:[],a;return()=>{var m,b,C,M;let W;t.key&&((m=t.debug)!=null&&m.call(t))&&(W=Date.now());let K=n();if(!(K.length!==i.length||K.some((tt,lt)=>i[lt]!==tt)))return a;i=K;let X;if(t.key&&((b=t.debug)!=null&&b.call(t))&&(X=Date.now()),a=o(...K),t.key&&((C=t.debug)!=null&&C.call(t))){let tt=Math.round((Date.now()-W)*100)/100,lt=Math.round((Date.now()-X)*100)/100,dt=lt/16,vt=(At,wt)=>{for(At=String(At);At.length<wt;)At=" "+At;return At};console.info(`%c\u23F1 ${vt(lt,5)} /${vt(tt,5)} ms`,`
6112
+ `}};$s.styles=[...cr.styles,...ug],p([u({type:Boolean,reflect:!0})],$s.prototype,"checked",2),p([u({type:String,reflect:!0})],$s.prototype,"size",2);var zh=$s;zh.register(cv);var Kx=zh;function Fo(n,o,t){var c;let i=(c=t.initialDeps)!=null?c:[],a;return()=>{var m,b,C,L;let W;t.key&&((m=t.debug)!=null&&m.call(t))&&(W=Date.now());let q=n();if(!(q.length!==i.length||q.some((tt,lt)=>i[lt]!==tt)))return a;i=q;let X;if(t.key&&((b=t.debug)!=null&&b.call(t))&&(X=Date.now()),a=o(...q),t.key&&((C=t.debug)!=null&&C.call(t))){let tt=Math.round((Date.now()-W)*100)/100,lt=Math.round((Date.now()-X)*100)/100,ct=lt/16,vt=(At,wt)=>{for(At=String(At);At.length<wt;)At=" "+At;return At};console.info(`%c\u23F1 ${vt(lt,5)} /${vt(tt,5)} ms`,`
6118
6113
  font-size: .6rem;
6119
6114
  font-weight: bold;
6120
- color: hsl(${Math.max(0,Math.min(120-120*dt,120))}deg 100% 31%);`,t==null?void 0:t.key)}return(M=t==null?void 0:t.onChange)==null||M.call(t,a),a}}function md(n,o){if(n===void 0)throw new Error(`Unexpected undefined${o?`: ${o}`:""}`);return n}var fg=(n,o)=>Math.abs(n-o)<1,vg=(n,o,t)=>{let i;return function(...a){n.clearTimeout(i),i=n.setTimeout(()=>o.apply(this,a),t)}};var Kx=n=>n,Xx=n=>{let o=Math.max(n.startIndex-n.overscan,0),t=Math.min(n.endIndex+n.overscan,n.count-1),i=[];for(let a=o;a<=t;a++)i.push(a);return i},bg=(n,o)=>{let t=n.scrollElement;if(!t)return;let i=n.targetWindow;if(!i)return;let a=m=>{let{width:b,height:C}=m;o({width:Math.round(b),height:Math.round(C)})};if(a(t.getBoundingClientRect()),!i.ResizeObserver)return()=>{};let d=new i.ResizeObserver(m=>{let b=m[0];if(b!=null&&b.borderBoxSize){let C=b.borderBoxSize[0];if(C){a({width:C.inlineSize,height:C.blockSize});return}}a(t.getBoundingClientRect())});return d.observe(t,{box:"border-box"}),()=>{d.unobserve(t)}},gg={passive:!0};var Zx=typeof window>"u"?!0:"onscrollend"in window,yg=(n,o)=>{let t=n.scrollElement;if(!t)return;let i=n.targetWindow;if(!i)return;let a=0,d=n.options.useScrollendEvent&&Zx?()=>{}:vg(i,()=>{o(a,!1)},n.options.isScrollingResetDelay),m=M=>()=>{let{horizontal:W,isRtl:K}=n.options;a=W?t.scrollLeft*(K&&-1||1):t.scrollTop,d(),o(a,M)},b=m(!0),C=m(!1);return C(),t.addEventListener("scroll",b,gg),t.addEventListener("scrollend",C,gg),()=>{t.removeEventListener("scroll",b),t.removeEventListener("scrollend",C)}};var Qx=(n,o,t)=>{if(o!=null&&o.borderBoxSize){let i=o.borderBoxSize[0];if(i)return Math.round(i[t.options.horizontal?"inlineSize":"blockSize"])}return Math.round(n.getBoundingClientRect()[t.options.horizontal?"width":"height"])};var Eg=(n,{adjustments:o=0,behavior:t},i)=>{var a,d;let m=n+o;(d=(a=i.scrollElement)==null?void 0:a.scrollTo)==null||d.call(a,{[i.options.horizontal?"left":"top"]:m,behavior:t})},ud=class{constructor(o){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null,i=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(a=>{a.forEach(d=>{this._measureElement(d.target,d)})}));return{disconnect:()=>{var a;(a=i())==null||a.disconnect(),t=null},observe:a=>{var d;return(d=i())==null?void 0:d.observe(a,{box:"border-box"})},unobserve:a=>{var d;return(d=i())==null?void 0:d.unobserve(a)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([i,a])=>{typeof a>"u"&&delete t[i]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:Kx,rangeExtractor:Xx,onChange:()=>{},measureElement:Qx,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...t}},this.notify=t=>{var i,a;(a=(i=this.options).onChange)==null||a.call(i,this,t)},this.maybeNotify=Do(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var a;var t;let i=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==i){if(this.cleanup(),!i){this.maybeNotify();return}this.scrollElement=i,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(a=(t=this.scrollElement)==null?void 0:t.window)!=null?a:null,this.elementsCache.forEach(d=>{this.observer.observe(d)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,d=>{this.scrollRect=d,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(d,m)=>{this.scrollAdjustments=0,this.scrollDirection=m?this.getScrollOffset()<d?"forward":"backward":null,this.scrollOffset=d,this.isScrolling=m,this.maybeNotify()}))}},this.getSize=()=>{var t;return this.options.enabled?(this.scrollRect=(t=this.scrollRect)!=null?t:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var t;return this.options.enabled?(this.scrollOffset=(t=this.scrollOffset)!=null?t:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(t,i)=>{let a=new Map,d=new Map;for(let m=i-1;m>=0;m--){let b=t[m];if(a.has(b.lane))continue;let C=d.get(b.lane);if(C==null||b.end>C.end?d.set(b.lane,b):b.end<C.end&&a.set(b.lane,!0),a.size===this.options.lanes)break}return d.size===this.options.lanes?Array.from(d.values()).sort((m,b)=>m.end===b.end?m.index-b.index:m.end-b.end)[0]:void 0},this.getMeasurementOptions=Do(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,i,a,d,m)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:i,scrollMargin:a,getItemKey:d,enabled:m}),{key:!1}),this.getMeasurements=Do(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:i,scrollMargin:a,getItemKey:d,enabled:m},b)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(W=>{this.itemSizeCache.set(W.key,W.size)}));let C=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let M=this.measurementsCache.slice(0,C);for(let W=C;W<t;W++){let K=d(W),it=this.options.lanes===1?M[W-1]:this.getFurthestMeasurement(M,W),X=it?it.end+this.options.gap:i+a,tt=b.get(K),lt=typeof tt=="number"?tt:this.options.estimateSize(W),dt=X+lt,vt=it?it.lane:W%this.options.lanes;M[W]={index:W,start:X,size:lt,end:dt,key:K,lane:vt}}return this.measurementsCache=M,M},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Do(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(t,i,a)=>this.range=t.length>0&&i>0?Jx({measurements:t,outerSize:i,scrollOffset:a}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=Do(()=>{let t=null,i=null,a=this.calculateRange();return a&&(t=a.startIndex,i=a.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,i]},(t,i,a,d,m)=>d===null||m===null?[]:t({startIndex:d,endIndex:m,overscan:i,count:a}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let i=this.options.indexAttribute,a=t.getAttribute(i);return a?parseInt(a,10):(console.warn(`Missing attribute name '${i}={index}' on measured element.`),-1)},this._measureElement=(t,i)=>{let a=this.indexFromElement(t),d=this.measurementsCache[a];if(!d)return;let m=d.key,b=this.elementsCache.get(m);b!==t&&(b&&this.observer.unobserve(b),this.observer.observe(t),this.elementsCache.set(m,t)),t.isConnected&&this.resizeItem(a,this.options.measureElement(t,i,this))},this.resizeItem=(t,i)=>{var b;let a=this.measurementsCache[t];if(!a)return;let d=(b=this.itemSizeCache.get(a.key))!=null?b:a.size,m=i-d;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(a,m,this):a.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(a.index),this.itemSizeCache=new Map(this.itemSizeCache.set(a.key,i)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((i,a)=>{i.isConnected||(this.observer.unobserve(i),this.elementsCache.delete(a))});return}this._measureElement(t,void 0)},this.getVirtualItems=Do(()=>[this.getIndexes(),this.getMeasurements()],(t,i)=>{let a=[];for(let d=0,m=t.length;d<m;d++){let b=t[d],C=i[b];a.push(C)}return a},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let i=this.getMeasurements();if(i.length!==0)return md(i[Tg(0,i.length-1,a=>md(i[a]).start,t)])},this.getOffsetForAlignment=(t,i)=>{let a=this.getSize(),d=this.getScrollOffset();i==="auto"&&t>=d+a&&(i="end"),i==="end"&&(t-=a);let m=this.options.horizontal?"scrollWidth":"scrollHeight",C=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[m]:this.scrollElement[m]:0)-a;return Math.max(Math.min(C,t),0)},this.getOffsetForIndex=(t,i="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));let a=this.measurementsCache[t];if(!a)return;let d=this.getSize(),m=this.getScrollOffset();if(i==="auto")if(a.end>=m+d-this.options.scrollPaddingEnd)i="end";else if(a.start<=m+this.options.scrollPaddingStart)i="start";else return[m,i];let b=a.start-this.options.scrollPaddingStart+(a.size-d)/2;switch(i){case"center":return[this.getOffsetForAlignment(b,i),i];case"end":return[this.getOffsetForAlignment(a.end+this.options.scrollPaddingEnd,i),i];default:return[this.getOffsetForAlignment(a.start-this.options.scrollPaddingStart,i),i]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(t,{align:i="start",behavior:a}={})=>{this.cancelScrollToIndex(),a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,i),{adjustments:void 0,behavior:a})},this.scrollToIndex=(t,{align:i="auto",behavior:a}={})=>{t=Math.max(0,Math.min(t,this.options.count-1)),this.cancelScrollToIndex(),a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let d=this.getOffsetForIndex(t,i);if(!d)return;let[m,b]=d;this._scrollToOffset(m,{adjustments:void 0,behavior:a}),a!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(t))){let[M]=md(this.getOffsetForIndex(t,b));fg(M,this.getScrollOffset())||this.scrollToIndex(t,{align:b,behavior:a})}else this.scrollToIndex(t,{align:b,behavior:a})}))},this.scrollBy=(t,{behavior:i}={})=>{this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:i})},this.getTotalSize=()=>{var d;var t;let i=this.getMeasurements(),a;return i.length===0?a=this.options.paddingStart:a=this.options.lanes===1?(d=(t=i[i.length-1])==null?void 0:t.end)!=null?d:0:Math.max(...i.slice(-this.options.lanes).map(m=>m.end)),Math.max(a-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:i,behavior:a})=>{this.options.scrollToFn(t,{behavior:a,adjustments:i},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(o)}},Tg=(n,o,t,i)=>{for(;n<=o;){let a=(n+o)/2|0,d=t(a);if(d<i)n=a+1;else if(d>i)o=a-1;else return a}return n>0?n-1:0};function Jx({measurements:n,outerSize:o,scrollOffset:t}){let i=n.length-1,d=Tg(0,i,b=>n[b].start,t),m=d;for(;m<i&&n[m].end<t+o;)m++;return{startIndex:d,endIndex:m}}var Bh=class{constructor(o,t){this.cleanup=()=>{},(this.host=o).addController(this);let i={...t,onChange:(a,d)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=t.onChange)==null||m.call(t,a,d)}};this.virtualizer=new ud(i)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},fd=class extends Bh{constructor(o,t){super(o,{observeElementRect:bg,observeElementOffset:yg,scrollToFn:Eg,...t})}};var tA=[z`
6115
+ color: hsl(${Math.max(0,Math.min(120-120*ct,120))}deg 100% 31%);`,t==null?void 0:t.key)}return(L=t==null?void 0:t.onChange)==null||L.call(t,a),a}}function mc(n,o){if(n===void 0)throw new Error(`Unexpected undefined${o?`: ${o}`:""}`);return n}var fg=(n,o)=>Math.abs(n-o)<1,vg=(n,o,t)=>{let i;return function(...a){n.clearTimeout(i),i=n.setTimeout(()=>o.apply(this,a),t)}};var qx=n=>n,Xx=n=>{let o=Math.max(n.startIndex-n.overscan,0),t=Math.min(n.endIndex+n.overscan,n.count-1),i=[];for(let a=o;a<=t;a++)i.push(a);return i},bg=(n,o)=>{let t=n.scrollElement;if(!t)return;let i=n.targetWindow;if(!i)return;let a=m=>{let{width:b,height:C}=m;o({width:Math.round(b),height:Math.round(C)})};if(a(t.getBoundingClientRect()),!i.ResizeObserver)return()=>{};let c=new i.ResizeObserver(m=>{let b=m[0];if(b!=null&&b.borderBoxSize){let C=b.borderBoxSize[0];if(C){a({width:C.inlineSize,height:C.blockSize});return}}a(t.getBoundingClientRect())});return c.observe(t,{box:"border-box"}),()=>{c.unobserve(t)}},gg={passive:!0};var Zx=typeof window>"u"?!0:"onscrollend"in window,yg=(n,o)=>{let t=n.scrollElement;if(!t)return;let i=n.targetWindow;if(!i)return;let a=0,c=n.options.useScrollendEvent&&Zx?()=>{}:vg(i,()=>{o(a,!1)},n.options.isScrollingResetDelay),m=L=>()=>{let{horizontal:W,isRtl:q}=n.options;a=W?t.scrollLeft*(q&&-1||1):t.scrollTop,c(),o(a,L)},b=m(!0),C=m(!1);return C(),t.addEventListener("scroll",b,gg),t.addEventListener("scrollend",C,gg),()=>{t.removeEventListener("scroll",b),t.removeEventListener("scrollend",C)}};var Qx=(n,o,t)=>{if(o!=null&&o.borderBoxSize){let i=o.borderBoxSize[0];if(i)return Math.round(i[t.options.horizontal?"inlineSize":"blockSize"])}return Math.round(n.getBoundingClientRect()[t.options.horizontal?"width":"height"])};var Eg=(n,{adjustments:o=0,behavior:t},i)=>{var a,c;let m=n+o;(c=(a=i.scrollElement)==null?void 0:a.scrollTo)==null||c.call(a,{[i.options.horizontal?"left":"top"]:m,behavior:t})},uc=class{constructor(o){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null,i=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(a=>{a.forEach(c=>{this._measureElement(c.target,c)})}));return{disconnect:()=>{var a;(a=i())==null||a.disconnect(),t=null},observe:a=>{var c;return(c=i())==null?void 0:c.observe(a,{box:"border-box"})},unobserve:a=>{var c;return(c=i())==null?void 0:c.unobserve(a)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([i,a])=>{typeof a>"u"&&delete t[i]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:qx,rangeExtractor:Xx,onChange:()=>{},measureElement:Qx,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...t}},this.notify=t=>{var i,a;(a=(i=this.options).onChange)==null||a.call(i,this,t)},this.maybeNotify=Fo(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var a;var t;let i=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==i){if(this.cleanup(),!i){this.maybeNotify();return}this.scrollElement=i,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(a=(t=this.scrollElement)==null?void 0:t.window)!=null?a:null,this.elementsCache.forEach(c=>{this.observer.observe(c)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,c=>{this.scrollRect=c,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(c,m)=>{this.scrollAdjustments=0,this.scrollDirection=m?this.getScrollOffset()<c?"forward":"backward":null,this.scrollOffset=c,this.isScrolling=m,this.maybeNotify()}))}},this.getSize=()=>{var t;return this.options.enabled?(this.scrollRect=(t=this.scrollRect)!=null?t:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var t;return this.options.enabled?(this.scrollOffset=(t=this.scrollOffset)!=null?t:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(t,i)=>{let a=new Map,c=new Map;for(let m=i-1;m>=0;m--){let b=t[m];if(a.has(b.lane))continue;let C=c.get(b.lane);if(C==null||b.end>C.end?c.set(b.lane,b):b.end<C.end&&a.set(b.lane,!0),a.size===this.options.lanes)break}return c.size===this.options.lanes?Array.from(c.values()).sort((m,b)=>m.end===b.end?m.index-b.index:m.end-b.end)[0]:void 0},this.getMeasurementOptions=Fo(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,i,a,c,m)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:i,scrollMargin:a,getItemKey:c,enabled:m}),{key:!1}),this.getMeasurements=Fo(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:i,scrollMargin:a,getItemKey:c,enabled:m},b)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(W=>{this.itemSizeCache.set(W.key,W.size)}));let C=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let L=this.measurementsCache.slice(0,C);for(let W=C;W<t;W++){let q=c(W),it=this.options.lanes===1?L[W-1]:this.getFurthestMeasurement(L,W),X=it?it.end+this.options.gap:i+a,tt=b.get(q),lt=typeof tt=="number"?tt:this.options.estimateSize(W),ct=X+lt,vt=it?it.lane:W%this.options.lanes;L[W]={index:W,start:X,size:lt,end:ct,key:q,lane:vt}}return this.measurementsCache=L,L},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Fo(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(t,i,a)=>this.range=t.length>0&&i>0?Jx({measurements:t,outerSize:i,scrollOffset:a}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=Fo(()=>{let t=null,i=null,a=this.calculateRange();return a&&(t=a.startIndex,i=a.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,i]},(t,i,a,c,m)=>c===null||m===null?[]:t({startIndex:c,endIndex:m,overscan:i,count:a}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let i=this.options.indexAttribute,a=t.getAttribute(i);return a?parseInt(a,10):(console.warn(`Missing attribute name '${i}={index}' on measured element.`),-1)},this._measureElement=(t,i)=>{let a=this.indexFromElement(t),c=this.measurementsCache[a];if(!c)return;let m=c.key,b=this.elementsCache.get(m);b!==t&&(b&&this.observer.unobserve(b),this.observer.observe(t),this.elementsCache.set(m,t)),t.isConnected&&this.resizeItem(a,this.options.measureElement(t,i,this))},this.resizeItem=(t,i)=>{var b;let a=this.measurementsCache[t];if(!a)return;let c=(b=this.itemSizeCache.get(a.key))!=null?b:a.size,m=i-c;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(a,m,this):a.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(a.index),this.itemSizeCache=new Map(this.itemSizeCache.set(a.key,i)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((i,a)=>{i.isConnected||(this.observer.unobserve(i),this.elementsCache.delete(a))});return}this._measureElement(t,void 0)},this.getVirtualItems=Fo(()=>[this.getIndexes(),this.getMeasurements()],(t,i)=>{let a=[];for(let c=0,m=t.length;c<m;c++){let b=t[c],C=i[b];a.push(C)}return a},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let i=this.getMeasurements();if(i.length!==0)return mc(i[Tg(0,i.length-1,a=>mc(i[a]).start,t)])},this.getOffsetForAlignment=(t,i)=>{let a=this.getSize(),c=this.getScrollOffset();i==="auto"&&t>=c+a&&(i="end"),i==="end"&&(t-=a);let m=this.options.horizontal?"scrollWidth":"scrollHeight",C=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[m]:this.scrollElement[m]:0)-a;return Math.max(Math.min(C,t),0)},this.getOffsetForIndex=(t,i="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));let a=this.measurementsCache[t];if(!a)return;let c=this.getSize(),m=this.getScrollOffset();if(i==="auto")if(a.end>=m+c-this.options.scrollPaddingEnd)i="end";else if(a.start<=m+this.options.scrollPaddingStart)i="start";else return[m,i];let b=a.start-this.options.scrollPaddingStart+(a.size-c)/2;switch(i){case"center":return[this.getOffsetForAlignment(b,i),i];case"end":return[this.getOffsetForAlignment(a.end+this.options.scrollPaddingEnd,i),i];default:return[this.getOffsetForAlignment(a.start-this.options.scrollPaddingStart,i),i]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(t,{align:i="start",behavior:a}={})=>{this.cancelScrollToIndex(),a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,i),{adjustments:void 0,behavior:a})},this.scrollToIndex=(t,{align:i="auto",behavior:a}={})=>{t=Math.max(0,Math.min(t,this.options.count-1)),this.cancelScrollToIndex(),a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let c=this.getOffsetForIndex(t,i);if(!c)return;let[m,b]=c;this._scrollToOffset(m,{adjustments:void 0,behavior:a}),a!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(t))){let[L]=mc(this.getOffsetForIndex(t,b));fg(L,this.getScrollOffset())||this.scrollToIndex(t,{align:b,behavior:a})}else this.scrollToIndex(t,{align:b,behavior:a})}))},this.scrollBy=(t,{behavior:i}={})=>{this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:i})},this.getTotalSize=()=>{var c;var t;let i=this.getMeasurements(),a;return i.length===0?a=this.options.paddingStart:a=this.options.lanes===1?(c=(t=i[i.length-1])==null?void 0:t.end)!=null?c:0:Math.max(...i.slice(-this.options.lanes).map(m=>m.end)),Math.max(a-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:i,behavior:a})=>{this.options.scrollToFn(t,{behavior:a,adjustments:i},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(o)}},Tg=(n,o,t,i)=>{for(;n<=o;){let a=(n+o)/2|0,c=t(a);if(c<i)n=a+1;else if(c>i)o=a-1;else return a}return n>0?n-1:0};function Jx({measurements:n,outerSize:o,scrollOffset:t}){let i=n.length-1,c=Tg(0,i,b=>n[b].start,t),m=c;for(;m<i&&n[m].end<t+o;)m++;return{startIndex:c,endIndex:m}}var Vh=class{constructor(o,t){this.cleanup=()=>{},(this.host=o).addController(this);let i={...t,onChange:(a,c)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=t.onChange)==null||m.call(t,a,c)}};this.virtualizer=new uc(i)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},fc=class extends Vh{constructor(o,t){super(o,{observeElementRect:bg,observeElementOffset:yg,scrollToFn:Eg,...t})}};var tA=[V`
6121
6116
  :host::part(scroll) {
6122
6117
  height: 100%;
6123
6118
  width: 100%;
@@ -6127,11 +6122,11 @@
6127
6122
  position: relative;
6128
6123
  width: 100%;
6129
6124
  }
6130
- `],xg=tA;var Ag=B.constructTagName("virtualizedlist"),x7=B.constructTagName("virtualizedwrapper"),Sg={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0}};var Fs=class extends q{constructor(){super();this.virtualizerProps=Sg.VIRTUALIZER_PROPS;this.scrollElementRef=il();this.virtualItems=[];this.virtualizerController=null,this.virtualizer=null,this.setlistdata=null,this.onscroll=null}update(t){super.update(t),t.get("virtualizerProps")&&this.setVirtualizerOptions()}firstUpdated(t){super.firstUpdated(t),this.setVirtualizerOptions()}setVirtualizerOptions(){var t;(t=this.virtualizer)==null||t.setOptions({...this.virtualizer.options,...this.virtualizerProps}),this.requestUpdate()}connectedCallback(){var t;this.virtualizerController=new fd(this,{count:this.virtualizerProps.count,estimateSize:(t=this.virtualizerProps)==null?void 0:t.estimateSize,getScrollElement:()=>this.scrollElementRef.value||null,...this.virtualizerProps}),super.connectedCallback()}getVirtualizedListWrapper(t){var b,C;this.virtualizer=t.getVirtualizer();let{getTotalSize:i,getVirtualItems:a,measureElement:d}=this.virtualizer,m=a();if(m!==this.virtualItems){this.virtualItems=m;let M=a(),W={position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${(C=(b=M[0])==null?void 0:b.start)!=null?C:0}px)`};this.setlistdata&&this.setlistdata({virtualItems:M,measureElement:d,listStyle:W})}return I`<div part="container" style="height: ${i()}px;">
6125
+ `],xg=tA;var Ag=B.constructTagName("virtualizedlist"),C7=B.constructTagName("virtualizedwrapper"),Sg={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0}};var zs=class extends K{constructor(){super();this.virtualizerProps=Sg.VIRTUALIZER_PROPS;this.scrollElementRef=il();this.virtualItems=[];this.virtualizerController=null,this.virtualizer=null,this.setlistdata=null,this.onscroll=null}update(t){super.update(t),t.get("virtualizerProps")&&this.setVirtualizerOptions()}firstUpdated(t){super.firstUpdated(t),this.setVirtualizerOptions()}setVirtualizerOptions(){var t;(t=this.virtualizer)==null||t.setOptions({...this.virtualizer.options,...this.virtualizerProps}),this.requestUpdate()}connectedCallback(){var t;this.virtualizerController=new fc(this,{count:this.virtualizerProps.count,estimateSize:(t=this.virtualizerProps)==null?void 0:t.estimateSize,getScrollElement:()=>this.scrollElementRef.value||null,...this.virtualizerProps}),super.connectedCallback()}getVirtualizedListWrapper(t){var b,C;this.virtualizer=t.getVirtualizer();let{getTotalSize:i,getVirtualItems:a,measureElement:c}=this.virtualizer,m=a();if(m!==this.virtualItems){this.virtualItems=m;let L=a(),W={position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${(C=(b=L[0])==null?void 0:b.start)!=null?C:0}px)`};this.setlistdata&&this.setlistdata({virtualItems:L,measureElement:c,listStyle:W})}return I`<div part="container" style="height: ${i()}px;">
6131
6126
  <slot></slot>
6132
6127
  </div>`}handleScroll(t){let i=t.constructor;this.dispatchEvent(new i(t.type,t))}render(){return I`<div ${ol(this.scrollElementRef)} part="scroll" @scroll=${this.handleScroll}>
6133
6128
  ${this.virtualizerController?this.getVirtualizedListWrapper(this.virtualizerController):I``}
6134
- </div>`}};Fs.styles=[...q.styles,...xg],p([u({type:Object,attribute:"virtualizerprops"})],Fs.prototype,"virtualizerProps",2),p([u({type:Function,attribute:"setlistdata"})],Fs.prototype,"setlistdata",2);var Uh=Fs;Uh.register(Ag);var eA=Uh;re.register(pm);var _g=B.constructTagName("combobox"),Hh={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},Ig="list";var Gh="combobox-trigger-id";var dn=class{static dispatchComboboxEvent(o,t,i,a=!0){o.dispatchEvent(new CustomEvent(t,{detail:{value:i==null?void 0:i.value,label:i==null?void 0:i.label},composed:!0,bubbles:a}))}static onInputCombobox(o,t){this.dispatchComboboxEvent(o,"input",t)}static onChangeCombobox(o,t){this.dispatchComboboxEvent(o,"change",t)}};var rA=z`
6129
+ </div>`}};zs.styles=[...K.styles,...xg],p([u({type:Object,attribute:"virtualizerprops"})],zs.prototype,"virtualizerProps",2),p([u({type:Function,attribute:"setlistdata"})],zs.prototype,"setlistdata",2);var Bh=zs;Bh.register(Ag);var eA=Bh;ie.register(hm);var _g=B.constructTagName("combobox"),Uh={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},Ig="list";var Hh="combobox-trigger-id";var cn=class{static dispatchComboboxEvent(o,t,i,a=!0){o.dispatchEvent(new CustomEvent(t,{detail:{value:i==null?void 0:i.value,label:i==null?void 0:i.label},composed:!0,bubbles:a}))}static onInputCombobox(o,t){this.dispatchComboboxEvent(o,"input",t)}static onChangeCombobox(o,t){this.dispatchComboboxEvent(o,"change",t)}};var rA=V`
6135
6130
  :host {
6136
6131
  --mdc-combobox-border-color: var(--mds-color-theme-outline-input-normal);
6137
6132
  --mdc-combobox-icon-color: var(--mds-color-theme-text-primary-normal);
@@ -6256,7 +6251,7 @@
6256
6251
  --mdc-icon-fill-color: ButtonText;
6257
6252
  }
6258
6253
  }
6259
- `,Cg=[rA];var ae=class extends _s(ge(Ee(Ut(oe)))){constructor(){super();this.readonly=!1;this.placement=Yt.BOTTOM_START;this.boundary=_t.BOUNDARY;this.strategy=_t.STRATEGY;this.popoverZIndex=_t.Z_INDEX;this.isOpen=!1;this.filteredValue="";this.initialSelectedOption=null;this.handleUpdateError=t=>{this.onerror&&this.onerror(t)};this.handleDestroyEvent=t=>{let i=t.target;if(!this.isValidItem(i)||i.tabIndex!==0)return;let a=this.navItems.findIndex(m=>m===i);if(a===-1)return;let d=a+1;d>=this.navItems.length&&(d=a-1)};this.addEventListener(he.DESTROYED,this.handleDestroyEvent),this.itemsStore=new zi(this,{isValidItem:this.isValidItem})}get navItems(){return this.itemsStore.items}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(this.handleUpdateError)}isValidItem(t){return t.matches(`${hr}:not([disabled])`)}openPopover(){this.isOpen=!0}closePopover(){this.isOpen=!1}toggleDropdown(){this.isOpen=!this.isOpen}compareOptionWithValue(t,i){return(t.getAttribute("label")||"").toLowerCase().startsWith(i==null?void 0:i.toLowerCase())}getFirstSelectedOption(){return this.navItems.find(t=>t.hasAttribute("selected"))}getVisibleOptions(t){return this.navItems.filter(i=>this.compareOptionWithValue(i,t))}setSelectedValue(t){this.value=(t==null?void 0:t.getAttribute("value"))||"",this.filteredValue=(t==null?void 0:t.getAttribute("label"))||"",this.internals.setFormValue(this.value),this.updateHiddenOptions(),this.updateSelectedOption(t),this.setInputValidity(),this.resetHelpText(),dn.onInputCombobox(this,t),dn.onChangeCombobox(this,t)}resetSelectedValue(){this.value="",this.internals.setFormValue(this.value),this.resetHelpText()}resetHelpText(){this.invalidCustomValueText&&this.helpText===this.invalidCustomValueText&&(this.helpText="",this.helpTextType=zt.DEFAULT)}attributeChangedCallback(t,i,a){super.attributeChangedCallback(t,i,a),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(this.handleUpdateError)}async firstUpdated(t){await this.updateComplete,this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t);let i=this.getFirstSelectedOption();if(i)this.initialSelectedOption=i,this.setSelectedValue(i);else if(this.value){let a=this.navItems.find(d=>d.value===this.value);this.setSelectedValue(a)}else this.placeholder&&this.setInputValidity();this.navItems.forEach(a=>{a.setAttribute("tabindex","-1")})}updated(t){super.updated(t),(t.has("slottedListboxes")||t.has("isOpen"))&&(this.visualCombobox&&"ariaControlsElements"in this.visualCombobox&&(this.visualCombobox.ariaControlsElements=this.slottedListboxes),this.dropDownButton&&"ariaControlsElements"in this.dropDownButton&&(this.dropDownButton.ariaControlsElements=this.slottedListboxes)),(t.has("disabled")||t.has("readonly"))&&(this.disabled||this.readonly)&&this.closePopover()}setInputValidity(){var t,i;!this.value&&this.required?(this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(i=this.inputElement)==null||i.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){var i;let t=this.initialSelectedOption||null;this.setSelectedValue(t),this.filteredValue=(i=t==null?void 0:t.label)!=null?i:"",this.setInputValidity()}formStateRestoreCallback(t){let i=this.navItems.find(a=>a.value===t||a.label===t);this.setSelectedValue(i||null)}handleNativeInputFocus(){this.visualCombobox.focus()}resetFocusedOption(){this.navItems.filter(t=>t.hasAttribute("data-focused")).forEach(t=>this.updateOptionAttributes(t,!1))}updateSelectedOption(t){this.navItems.forEach(i=>{i.removeAttribute("selected")}),t==null||t.setAttribute("selected","")}updateOptionAttributes(t,i){t!==void 0&&(i?t.setAttribute("data-focused",""):t.removeAttribute("data-focused"),t.setAttribute("aria-selected",i.toString()))}handleBlurChange(){let t=this.getVisibleOptions(this.filteredValue),i=t.findIndex(a=>a.hasAttribute("data-focused"));if(i!==-1){this.setSelectedValue(t[i]),this.closePopover();return}i===-1&&this.filteredValue!==""&&this.invalidCustomValueText&&!this.getFirstSelectedOption()&&(this.helpText=this.invalidCustomValueText,this.helpTextType=zt.ERROR),this.setInputValidity()}updateFocusAndScrollIntoView(t,i,a){var d;this.updateOptionAttributes(t[i],!1),this.updateOptionAttributes(t[a],!0),(d=t[a])==null||d.scrollIntoView({block:"nearest"})}handleInputKeydown(t){let i=this.getVisibleOptions(this.filteredValue),a=i.findIndex(d=>d.hasAttribute("data-focused"));switch(t.key){case Z.ARROW_DOWN:{this.openPopover();let d=i.length-1===a?0:a+1;this.updateFocusAndScrollIntoView(i,a,d),t.preventDefault();break}case Z.ARROW_UP:{this.openPopover();let d=a===-1||a===0?i.length-1:a-1;this.updateFocusAndScrollIntoView(i,a,d),t.preventDefault();break}case Z.ENTER:{if(a===-1)return;this.setSelectedValue(i[a]),this.isOpen===!0&&this.closePopover();break}case Z.ESCAPE:{a!==-1&&this.updateOptionAttributes(i[a],!1),i.length&&this.shouldDisplayPopover(i.length)?this.closePopover():(this.resetSelectedValue(),this.filteredValue="");break}case Z.TAB:{this.closePopover();break}case Z.HOME:case Z.END:{this.resetFocusedOption();break}default:break}}updateHiddenOptions(){this.navItems.forEach(t=>{this.compareOptionWithValue(t,this.filteredValue)?(t.removeAttribute("data-hidden"),this.showOptionGroupAndDivider(t)):(t.setAttribute("data-hidden",""),this.hideOptionGroupAndDivider(t))})}hideOptionGroupAndDivider(t){var i,a,d;(i=t.parentElement)!=null&&i.matches(Ja)&&((a=Array.from(t.parentElement.children))==null?void 0:a.filter(b=>!b.hasAttribute("data-hidden"))).length===0&&(t.parentElement.setAttribute("data-hidden",""),(d=t.parentElement.nextElementSibling)!=null&&d.matches(Ma)&&t.parentElement.nextElementSibling.setAttribute("data-hidden",""))}showOptionGroupAndDivider(t){var i,a,d;(i=t.parentElement)!=null&&i.matches(Ja)&&((a=Array.from(t.parentElement.children))==null?void 0:a.filter(b=>!b.hasAttribute("data-hidden"))).length>0&&(t.parentElement.removeAttribute("data-hidden"),(d=t.parentElement.nextElementSibling)!=null&&d.matches(Ma)&&t.parentElement.nextElementSibling.removeAttribute("data-hidden"))}handleInputChange(t){var i;this.filteredValue=t.target.value,this.resetSelectedValue(),this.resetFocusedOption(),this.updateHiddenOptions(),(i=this.getFirstSelectedOption())==null||i.removeAttribute("selected"),this.isOpen===!1&&this.openPopover()}handleOptionsClick(t){var a;let i=(a=t.target.closest(hr))!=null?a:null;i&&!i.hasAttribute("disabled")&&(this.setSelectedValue(i),this.closePopover(),this.updateComplete.then(()=>this.handleNativeInputFocus()).catch(this.handleUpdateError))}shouldDisplayPopover(t){return this.disabled||this.readonly?!1:t?this.isOpen:!!this.noResultText}renderNativeInput(){return I`
6254
+ `,Cg=[rA];var ne=class extends Bi(ge(Ee(Ut(se)))){constructor(){super();this.readonly=!1;this.placement=Yt.BOTTOM_START;this.boundary=_t.BOUNDARY;this.strategy=_t.STRATEGY;this.popoverZIndex=_t.Z_INDEX;this.isOpen=!1;this.filteredValue="";this.initialSelectedOption=null;this.handleUpdateError=t=>{this.onerror&&this.onerror(t)};this.handleDestroyEvent=t=>{let i=t.target;if(!this.isValidItem(i)||i.tabIndex!==0)return;let a=this.navItems.findIndex(m=>m===i);if(a===-1)return;let c=a+1;c>=this.navItems.length&&(c=a-1)};this.addEventListener(Jt.DESTROYED,this.handleDestroyEvent),this.itemsStore=new Vr(this,{isValidItem:this.isValidItem})}get navItems(){return this.itemsStore.items}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(this.handleUpdateError)}isValidItem(t){return t.matches(`${Hr}:not([disabled])`)}openPopover(){this.isOpen=!0}closePopover(){this.isOpen=!1}toggleDropdown(){this.isOpen=!this.isOpen}compareOptionWithValue(t,i){return(t.getAttribute("label")||"").toLowerCase().startsWith(i==null?void 0:i.toLowerCase())}getFirstSelectedOption(){return this.navItems.find(t=>t.hasAttribute("selected"))}getVisibleOptions(t){return this.navItems.filter(i=>this.compareOptionWithValue(i,t))}setSelectedValue(t){this.value=(t==null?void 0:t.getAttribute("value"))||"",this.filteredValue=(t==null?void 0:t.getAttribute("label"))||"",this.internals.setFormValue(this.value),this.updateHiddenOptions(),this.updateSelectedOption(t),this.setInputValidity(),this.resetHelpText(),cn.onInputCombobox(this,t),cn.onChangeCombobox(this,t)}resetSelectedValue(){this.value="",this.internals.setFormValue(this.value),this.resetHelpText()}resetHelpText(){this.invalidCustomValueText&&this.helpText===this.invalidCustomValueText&&(this.helpText="",this.helpTextType=Vt.DEFAULT)}attributeChangedCallback(t,i,a){super.attributeChangedCallback(t,i,a),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(this.handleUpdateError)}async firstUpdated(t){await this.updateComplete,this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t);let i=this.getFirstSelectedOption();if(i)this.initialSelectedOption=i,this.setSelectedValue(i);else if(this.value){let a=this.navItems.find(c=>c.value===this.value);this.setSelectedValue(a)}else this.placeholder&&this.setInputValidity();this.navItems.forEach(a=>{a.setAttribute("tabindex","-1")})}updated(t){super.updated(t),(t.has("slottedListboxes")||t.has("isOpen"))&&(this.visualCombobox&&"ariaControlsElements"in this.visualCombobox&&(this.visualCombobox.ariaControlsElements=this.slottedListboxes),this.dropDownButton&&"ariaControlsElements"in this.dropDownButton&&(this.dropDownButton.ariaControlsElements=this.slottedListboxes)),(t.has("disabled")||t.has("readonly"))&&(this.disabled||this.readonly)&&this.closePopover()}setInputValidity(){var t,i;!this.value&&this.required?(this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(i=this.inputElement)==null||i.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){var i;let t=this.initialSelectedOption||null;this.setSelectedValue(t),this.filteredValue=(i=t==null?void 0:t.label)!=null?i:"",this.setInputValidity()}formStateRestoreCallback(t){let i=this.navItems.find(a=>a.value===t||a.label===t);this.setSelectedValue(i||null)}handleNativeInputFocus(){this.visualCombobox.focus()}resetFocusedOption(){this.navItems.filter(t=>t.hasAttribute("data-focused")).forEach(t=>this.updateOptionAttributes(t,!1))}updateSelectedOption(t){this.navItems.forEach(i=>{i.removeAttribute("selected")}),t==null||t.setAttribute("selected","")}updateOptionAttributes(t,i){t!==void 0&&(i?t.setAttribute("data-focused",""):t.removeAttribute("data-focused"),t.setAttribute("aria-selected",i.toString()))}handleBlurChange(){let t=this.getVisibleOptions(this.filteredValue),i=t.findIndex(a=>a.hasAttribute("data-focused"));if(i!==-1){this.setSelectedValue(t[i]),this.closePopover();return}i===-1&&this.filteredValue!==""&&this.invalidCustomValueText&&!this.getFirstSelectedOption()&&(this.helpText=this.invalidCustomValueText,this.helpTextType=Vt.ERROR),this.setInputValidity()}updateFocusAndScrollIntoView(t,i,a){var c;this.updateOptionAttributes(t[i],!1),this.updateOptionAttributes(t[a],!0),(c=t[a])==null||c.scrollIntoView({block:"nearest"})}handleInputKeydown(t){let i=this.getVisibleOptions(this.filteredValue),a=i.findIndex(c=>c.hasAttribute("data-focused"));switch(t.key){case Q.ARROW_DOWN:{this.openPopover();let c=i.length-1===a?0:a+1;this.updateFocusAndScrollIntoView(i,a,c),t.preventDefault();break}case Q.ARROW_UP:{this.openPopover();let c=a===-1||a===0?i.length-1:a-1;this.updateFocusAndScrollIntoView(i,a,c),t.preventDefault();break}case Q.ENTER:{if(a===-1)return;this.setSelectedValue(i[a]),this.isOpen===!0&&this.closePopover();break}case Q.ESCAPE:{a!==-1&&this.updateOptionAttributes(i[a],!1),i.length&&this.shouldDisplayPopover(i.length)?this.closePopover():(this.resetSelectedValue(),this.filteredValue="");break}case Q.TAB:{this.closePopover();break}case Q.HOME:case Q.END:{this.resetFocusedOption();break}default:break}}updateHiddenOptions(){this.navItems.forEach(t=>{this.compareOptionWithValue(t,this.filteredValue)?(t.removeAttribute("data-hidden"),this.showOptionGroupAndDivider(t)):(t.setAttribute("data-hidden",""),this.hideOptionGroupAndDivider(t))})}hideOptionGroupAndDivider(t){var i,a,c;(i=t.parentElement)!=null&&i.matches(tn)&&((a=Array.from(t.parentElement.children))==null?void 0:a.filter(b=>!b.hasAttribute("data-hidden"))).length===0&&(t.parentElement.setAttribute("data-hidden",""),(c=t.parentElement.nextElementSibling)!=null&&c.matches(Oa)&&t.parentElement.nextElementSibling.setAttribute("data-hidden",""))}showOptionGroupAndDivider(t){var i,a,c;(i=t.parentElement)!=null&&i.matches(tn)&&((a=Array.from(t.parentElement.children))==null?void 0:a.filter(b=>!b.hasAttribute("data-hidden"))).length>0&&(t.parentElement.removeAttribute("data-hidden"),(c=t.parentElement.nextElementSibling)!=null&&c.matches(Oa)&&t.parentElement.nextElementSibling.removeAttribute("data-hidden"))}handleInputChange(t){var i;this.filteredValue=t.target.value,this.resetSelectedValue(),this.resetFocusedOption(),this.updateHiddenOptions(),(i=this.getFirstSelectedOption())==null||i.removeAttribute("selected"),this.isOpen===!1&&this.openPopover()}handleOptionsClick(t){var a;let i=(a=t.target.closest(Hr))!=null?a:null;i&&!i.hasAttribute("disabled")&&(this.setSelectedValue(i),this.closePopover(),this.updateComplete.then(()=>this.handleNativeInputFocus()).catch(this.handleUpdateError))}shouldDisplayPopover(t){return this.disabled||this.readonly?!1:t?this.isOpen:!!this.noResultText}renderNativeInput(){return I`
6260
6255
  <input
6261
6256
  id="${this.inputId}"
6262
6257
  name="${this.name}"
@@ -6268,7 +6263,7 @@
6268
6263
  ?required=${this.required}
6269
6264
  ?disabled=${this.disabled}
6270
6265
  ?readonly=${this.readonly}
6271
- autocomplete="${Ts.OFF}"
6266
+ autocomplete="${xs.OFF}"
6272
6267
  @focus=${this.handleNativeInputFocus}
6273
6268
  @invalid=${this.setInputValidity}
6274
6269
  />
@@ -6278,7 +6273,7 @@
6278
6273
  slot="input"
6279
6274
  ?disabled="${this.disabled}"
6280
6275
  .value="${Va(this.filteredValue)}"
6281
- autocomplete="${Ts.OFF}"
6276
+ autocomplete="${xs.OFF}"
6282
6277
  class="input"
6283
6278
  part="mdc-input"
6284
6279
  placeholder="${rt(this.placeholder)}"
@@ -6293,7 +6288,7 @@
6293
6288
  aria-disabled="${this.disabled?"true":"false"}"
6294
6289
  aria-expanded="${this.isOpen?"true":"false"}"
6295
6290
  aria-haspopup="${et.LISTBOX}"
6296
- aria-invalid="${this.helpTextType===zt.ERROR?"true":"false"}"
6291
+ aria-invalid="${this.helpTextType===Vt.ERROR?"true":"false"}"
6297
6292
  aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
6298
6293
  aria-labelledby="${this.label?Mt.HEADING_ID:""}"
6299
6294
  aria-readonly="${this.readonly?"true":"false"}"
@@ -6301,7 +6296,7 @@
6301
6296
  />
6302
6297
  `}renderNoResultsText(t){return t===0&&this.noResultText?I`<mdc-listitem part="no-result-text" tabindex="-1" role="" label="${this.noResultText}"></mdc-listitem>`:j}render(){var i;let t=this.getVisibleOptions(this.filteredValue);return I`
6303
6298
  ${this.renderLabel()}
6304
- <div part="combobox__base" id="${Gh}">
6299
+ <div part="combobox__base" id="${Hh}">
6305
6300
  ${this.renderNativeInput()}
6306
6301
  <mdc-input
6307
6302
  @click="${()=>this.toggleDropdown()}"
@@ -6321,7 +6316,7 @@
6321
6316
  >
6322
6317
  <mdc-icon
6323
6318
  part="combobox__button-icon"
6324
- name="${this.shouldDisplayPopover(t.length)?Hh.ARROW_UP:Hh.ARROW_DOWN}"
6319
+ name="${this.shouldDisplayPopover(t.length)?Uh.ARROW_UP:Uh.ARROW_DOWN}"
6325
6320
  size="1"
6326
6321
  length-unit="rem"
6327
6322
  ></mdc-icon>
@@ -6342,8 +6337,8 @@
6342
6337
  role=""
6343
6338
  size
6344
6339
  strategy="${rt(this.strategy)}"
6345
- trigger="${ni.MANUAL}"
6346
- triggerid="${Gh}"
6340
+ trigger="${li.MANUAL}"
6341
+ triggerid="${Hh}"
6347
6342
  z-index="${rt(this.popoverZIndex)}"
6348
6343
  >
6349
6344
  ${this.renderNoResultsText(t.length)}
@@ -6351,7 +6346,7 @@
6351
6346
  </mdc-popover>
6352
6347
  </div>
6353
6348
  ${this.renderHelperText()}
6354
- `}};ae.styles=[...oe.styles,...Sr.styles,...Cg],p([u({type:String})],ae.prototype,"placeholder",2),p([u({type:Boolean})],ae.prototype,"readonly",2),p([u({type:String,reflect:!0})],ae.prototype,"placement",2),p([u({type:String,attribute:"no-result-text",reflect:!0})],ae.prototype,"noResultText",2),p([u({type:String,attribute:"invalid-custom-value-text",reflect:!0})],ae.prototype,"invalidCustomValueText",2),p([u({type:String,reflect:!0})],ae.prototype,"boundary",2),p([u({type:String,reflect:!0})],ae.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],ae.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],ae.prototype,"backdropAppendTo",2),p([tr(`[role="${et.COMBOBOX}"]`)],ae.prototype,"visualCombobox",2),p([tr('[part="combobox__button"]')],ae.prototype,"dropDownButton",2),p([Rt({selector:td})],ae.prototype,"slottedListboxes",2),p([gt()],ae.prototype,"isOpen",2),p([gt()],ae.prototype,"filteredValue",2);var Yh=ae;Yh.register(_g);var iA=Yh;var kg=(n,o,t)=>{let i=new Map;for(let a=o;a<=t;a++)i.set(n[a],a);return i},wg=ri(class extends Pr{constructor(n){if(super(n),n.type!==He.CHILD)throw Error("repeat() can only be used in text expressions")}dt(n,o,t){let i;t===void 0?t=o:o!==void 0&&(i=o);let a=[],d=[],m=0;for(let b of n)a[m]=i?i(b,m):m,d[m]=t(b,m),m++;return{values:d,keys:a}}render(n,o,t){return this.dt(n,o,t).values}update(n,[o,t,i]){var lt;let a=Fm(n),{values:d,keys:m}=this.dt(o,t,i);if(!Array.isArray(a))return this.ut=m,d;let b=(lt=this.ut)!=null?lt:this.ut=[],C=[],M,W,K=0,it=a.length-1,X=0,tt=d.length-1;for(;K<=it&&X<=tt;)if(a[K]===null)K++;else if(a[it]===null)it--;else if(b[K]===m[X])C[X]=Oi(a[K],d[X]),K++,X++;else if(b[it]===m[tt])C[tt]=Oi(a[it],d[tt]),it--,tt--;else if(b[K]===m[tt])C[tt]=Oi(a[K],d[tt]),rs(n,C[tt+1],a[K]),K++,tt--;else if(b[it]===m[X])C[X]=Oi(a[it],d[X]),rs(n,a[K],a[it]),it--,X++;else if(M===void 0&&(M=kg(m,X,tt),W=kg(b,K,it)),M.has(b[K]))if(M.has(b[it])){let dt=W.get(m[X]),vt=dt!==void 0?a[dt]:null;if(vt===null){let At=rs(n,a[K]);Oi(At,d[X]),C[X]=At}else C[X]=Oi(vt,d[X]),rs(n,a[K],vt),a[dt]=null;X++}else tl(a[it]),it--;else tl(a[K]),K++;for(;X<=tt;){let dt=rs(n,C[tt+1]);Oi(dt,d[X]),C[X++]=dt}for(;K<=it;){let dt=a[K++];dt!==null&&tl(dt)}return this.ut=m,Jn(n,C),ve}});var Ng=B.constructTagName("slider"),oA={START:"start",END:"end",UNDEFINED:void 0},qi={MIN:0,MAX:100,STEP:1,STATE:oA.UNDEFINED,ICON_SIZE:1.25,ICON_LENGTH_UNIT:"rem"};var sA=z`
6349
+ `}};ne.styles=[...se.styles,...Ar.styles,...Cg],p([u({type:String})],ne.prototype,"placeholder",2),p([u({type:Boolean})],ne.prototype,"readonly",2),p([u({type:String,reflect:!0})],ne.prototype,"placement",2),p([u({type:String,attribute:"no-result-text",reflect:!0})],ne.prototype,"noResultText",2),p([u({type:String,attribute:"invalid-custom-value-text",reflect:!0})],ne.prototype,"invalidCustomValueText",2),p([u({type:String,reflect:!0})],ne.prototype,"boundary",2),p([u({type:String,reflect:!0})],ne.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],ne.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],ne.prototype,"backdropAppendTo",2),p([tr(`[role="${et.COMBOBOX}"]`)],ne.prototype,"visualCombobox",2),p([tr('[part="combobox__button"]')],ne.prototype,"dropDownButton",2),p([Ot({selector:tc})],ne.prototype,"slottedListboxes",2),p([gt()],ne.prototype,"isOpen",2),p([gt()],ne.prototype,"filteredValue",2);var Gh=ne;Gh.register(_g);var iA=Gh;var kg=(n,o,t)=>{let i=new Map;for(let a=o;a<=t;a++)i.set(n[a],a);return i},wg=ii(class extends Or{constructor(n){if(super(n),n.type!==He.CHILD)throw Error("repeat() can only be used in text expressions")}dt(n,o,t){let i;t===void 0?t=o:o!==void 0&&(i=o);let a=[],c=[],m=0;for(let b of n)a[m]=i?i(b,m):m,c[m]=t(b,m),m++;return{values:c,keys:a}}render(n,o,t){return this.dt(n,o,t).values}update(n,[o,t,i]){var lt;let a=Fm(n),{values:c,keys:m}=this.dt(o,t,i);if(!Array.isArray(a))return this.ut=m,c;let b=(lt=this.ut)!=null?lt:this.ut=[],C=[],L,W,q=0,it=a.length-1,X=0,tt=c.length-1;for(;q<=it&&X<=tt;)if(a[q]===null)q++;else if(a[it]===null)it--;else if(b[q]===m[X])C[X]=Pi(a[q],c[X]),q++,X++;else if(b[it]===m[tt])C[tt]=Pi(a[it],c[tt]),it--,tt--;else if(b[q]===m[tt])C[tt]=Pi(a[q],c[tt]),is(n,C[tt+1],a[q]),q++,tt--;else if(b[it]===m[X])C[X]=Pi(a[it],c[X]),is(n,a[q],a[it]),it--,X++;else if(L===void 0&&(L=kg(m,X,tt),W=kg(b,q,it)),L.has(b[q]))if(L.has(b[it])){let ct=W.get(m[X]),vt=ct!==void 0?a[ct]:null;if(vt===null){let At=is(n,a[q]);Pi(At,c[X]),C[X]=At}else C[X]=Pi(vt,c[X]),is(n,a[q],vt),a[ct]=null;X++}else tl(a[it]),it--;else tl(a[q]),q++;for(;X<=tt;){let ct=is(n,C[tt+1]);Pi(ct,c[X]),C[X++]=ct}for(;q<=it;){let ct=a[q++];ct!==null&&tl(ct)}return this.ut=m,Jn(n,C),ve}});var Ng=B.constructTagName("slider"),oA={START:"start",END:"end",UNDEFINED:void 0},qi={MIN:0,MAX:100,STEP:1,STATE:oA.UNDEFINED,ICON_SIZE:1.25,ICON_LENGTH_UNIT:"rem"};var sA=V`
6355
6350
  :host {
6356
6351
  width: 100%;
6357
6352
  --mdc-slider-tooltip-left: 0;
@@ -6573,14 +6568,14 @@
6573
6568
  border: 1px solid;
6574
6569
  }
6575
6570
  }
6576
- `,Lg=[Li,sA];var kt=class extends q{constructor(){super();this.thumbFocused=qi.STATE;this.thumbHovered=qi.STATE;this.range=!1;this.min=qi.MIN;this.max=qi.MAX;this.step=qi.STEP;this.addEventListener("keydown",this.preventChange.bind(this)),this.addEventListener("mousedown",this.preventChange.bind(this))}updated(t){super.updated(t),(t.has("value")||t.has("step")||t.has("min")||t.has("max")||t.has("disabled")||t.has("softDisabled")||t.has("range")||t.has("valueStart")||t.has("valueEnd"))&&this.updateTrackStyling(),t.has("softDisabled")&&this.setSoftDisabled(),(t.has("range")||t.has("valueStart")||t.has("valueEnd"))&&this.initializeRangeSlider()}preventChange(t){this.softDisabled&&(t instanceof KeyboardEvent&&t.key!==Z.TAB||!(t instanceof KeyboardEvent))&&(t.preventDefault(),t.stopPropagation())}setSoftDisabled(){this.inputElements.forEach(t=>{let i=t;this.softDisabled?i.setAttribute("aria-disabled","true"):i.removeAttribute("aria-disabled")})}initializeRangeSlider(){this.valueStart===void 0&&(this.valueStart=this.min),this.valueEnd===void 0&&(this.valueEnd=this.max),this.handleInput(0),this.handleInput(1)}handleInput(t){let i=this.inputElements[t];if(i)if(t===0){if(!this.valueEnd)return;let a=Number(i.value);a>this.valueEnd?(i.value=String(this.valueEnd),this.valueStart=this.valueEnd):a>=this.min&&a<this.valueEnd?this.valueStart=a:a<this.min&&(i.value=String(this.min),this.valueStart=this.min)}else{if(!this.valueStart)return;let a=Number(i.value);a<this.valueStart?(i.value=String(this.valueStart),this.valueEnd=this.valueStart):a<=this.max&&a>this.valueStart?this.valueEnd=a:a>this.max&&(i.value=String(this.max),this.valueEnd=this.max)}}iconTemplate(t,i){return typeof t=="string"&&t.length>0?I`<mdc-icon
6571
+ `,Lg=[Mi,sA];var kt=class extends K{constructor(){super();this.thumbFocused=qi.STATE;this.thumbHovered=qi.STATE;this.range=!1;this.min=qi.MIN;this.max=qi.MAX;this.step=qi.STEP;this.addEventListener("keydown",this.preventChange.bind(this)),this.addEventListener("mousedown",this.preventChange.bind(this))}updated(t){super.updated(t),(t.has("value")||t.has("step")||t.has("min")||t.has("max")||t.has("disabled")||t.has("softDisabled")||t.has("range")||t.has("valueStart")||t.has("valueEnd"))&&this.updateTrackStyling(),t.has("softDisabled")&&this.setSoftDisabled(),(t.has("range")||t.has("valueStart")||t.has("valueEnd"))&&this.initializeRangeSlider()}preventChange(t){this.softDisabled&&(t instanceof KeyboardEvent&&t.key!==Q.TAB||!(t instanceof KeyboardEvent))&&(t.preventDefault(),t.stopPropagation())}setSoftDisabled(){this.inputElements.forEach(t=>{let i=t;this.softDisabled?i.setAttribute("aria-disabled","true"):i.removeAttribute("aria-disabled")})}initializeRangeSlider(){this.valueStart===void 0&&(this.valueStart=this.min),this.valueEnd===void 0&&(this.valueEnd=this.max),this.handleInput(0),this.handleInput(1)}handleInput(t){let i=this.inputElements[t];if(i)if(t===0){if(!this.valueEnd)return;let a=Number(i.value);a>this.valueEnd?(i.value=String(this.valueEnd),this.valueStart=this.valueEnd):a>=this.min&&a<this.valueEnd?this.valueStart=a:a<this.min&&(i.value=String(this.min),this.valueStart=this.min)}else{if(!this.valueStart)return;let a=Number(i.value);a<this.valueStart?(i.value=String(this.valueStart),this.valueEnd=this.valueStart):a<=this.max&&a>this.valueStart?this.valueEnd=a:a>this.max&&(i.value=String(this.max),this.valueEnd=this.max)}}iconTemplate(t,i){return typeof t=="string"&&t.length>0?I`<mdc-icon
6577
6572
  name="${t}"
6578
6573
  part="${i}"
6579
6574
  length-unit="${qi.ICON_LENGTH_UNIT}"
6580
6575
  size="${qi.ICON_SIZE}"
6581
- ></mdc-icon>`:null}tooltipTemplate(t,i){let[a,d]=this.inputElements,m=i==="end"?d:a,b=Number(m==null?void 0:m.value);if(typeof b!="number"||Number.isNaN(b)||this.max===this.min||this.disabled)return j;let C=(b-this.min)/(this.max-this.min);return I`<div part="slider-tooltip" aria-hidden="true" style="--mdc-slider-tooltip-left: ${C}">
6576
+ ></mdc-icon>`:null}tooltipTemplate(t,i){let[a,c]=this.inputElements,m=i==="end"?c:a,b=Number(m==null?void 0:m.value);if(typeof b!="number"||Number.isNaN(b)||this.max===this.min||this.disabled)return j;let C=(b-this.min)/(this.max-this.min);return I`<div part="slider-tooltip" aria-hidden="true" style="--mdc-slider-tooltip-left: ${C}">
6582
6577
  ${t||b}
6583
- </div> `}updateTrackStyling(){let t="var(--mdc-slider-progress-color)",i="var(--mdc-slider-track-color)";if((this.disabled||this.softDisabled)&&(t="var(--mds-color-theme-control-active-disabled)",i="var(--mds-color-theme-control-inactive-disabled)"),this.range){if(!this.inputElements[1])return;let a=Number(this.inputElements[0].value),d=Number(this.inputElements[1].value),m=Number(this.inputElements[0].max)||1,b=Math.max(0,Math.min(100,(a-this.min)/(m-this.min)*100)),C=Math.max(0,Math.min(100,(d-this.min)/(m-this.min)*100));this.inputElements[1].style.background=`linear-gradient(
6578
+ </div> `}updateTrackStyling(){let t="var(--mdc-slider-progress-color)",i="var(--mdc-slider-track-color)";if((this.disabled||this.softDisabled)&&(t="var(--mds-color-theme-control-active-disabled)",i="var(--mds-color-theme-control-inactive-disabled)"),this.range){if(!this.inputElements[1])return;let a=Number(this.inputElements[0].value),c=Number(this.inputElements[1].value),m=Number(this.inputElements[0].max)||1,b=Math.max(0,Math.min(100,(a-this.min)/(m-this.min)*100)),C=Math.max(0,Math.min(100,(c-this.min)/(m-this.min)*100));this.inputElements[1].style.background=`linear-gradient(
6584
6579
  to right,
6585
6580
  ${i} 0%,
6586
6581
  ${i} ${b}%,
@@ -6588,9 +6583,9 @@
6588
6583
  ${t} ${C}%,
6589
6584
  ${i} ${C}%,
6590
6585
  ${i} 100%
6591
- )`}else{if(!this.inputElements[0])return;let a=Number(this.inputElements[0].value),d=Number(this.inputElements[0].max)||1,m=Math.max(0,Math.min(100,(a-this.min)/(d-this.min)*100));this.inputElements[0].style.background=`linear-gradient(to right, ${t} ${m}%, ${i} ${m}%)`}}onInput(t){let i=t.target;this.value=Number(i.value)}onChange(t){let i=t.target;this.value=Number(i.value),this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value}}))}onChangeStart(t){let i=t.target;this.valueStart=Number(i.value),this.dispatchEvent(new CustomEvent("change",{detail:{valueStart:this.valueStart,valueEnd:this.valueEnd}}))}onChangeEnd(t){let i=t.target;this.valueEnd=Number(i.value),this.dispatchEvent(new CustomEvent("change",{detail:{valueEnd:this.valueEnd,valueStart:this.valueStart}}))}getTickStyles(t){if(this.max===this.min)return"";let i=(t-this.min)/(this.max-this.min),a=[];if(this.inputElements[0]){let m=(Number(this.inputElements[0].value)-this.min)/(this.max-this.min);a.push(m)}if(this.range&&this.inputElements[1]){let m=(Number(this.inputElements[1].value)-this.min)/(this.max-this.min);a.push(m)}return a.includes(i)?"display:none;":`--mdc-slider-tick-left:${i};`}renderTicks(){let t=[];if(this.step&&this.step>1)for(let i=this.min;i<=this.max;i+=this.step)t.push(i);return this.step>1?I` <div part="slider-ticks">
6586
+ )`}else{if(!this.inputElements[0])return;let a=Number(this.inputElements[0].value),c=Number(this.inputElements[0].max)||1,m=Math.max(0,Math.min(100,(a-this.min)/(c-this.min)*100));this.inputElements[0].style.background=`linear-gradient(to right, ${t} ${m}%, ${i} ${m}%)`}}onInput(t){let i=t.target;this.value=Number(i.value)}onChange(t){let i=t.target;this.value=Number(i.value),this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value}}))}onChangeStart(t){let i=t.target;this.valueStart=Number(i.value),this.dispatchEvent(new CustomEvent("change",{detail:{valueStart:this.valueStart,valueEnd:this.valueEnd}}))}onChangeEnd(t){let i=t.target;this.valueEnd=Number(i.value),this.dispatchEvent(new CustomEvent("change",{detail:{valueEnd:this.valueEnd,valueStart:this.valueStart}}))}getTickStyles(t){if(this.max===this.min)return"";let i=(t-this.min)/(this.max-this.min),a=[];if(this.inputElements[0]){let m=(Number(this.inputElements[0].value)-this.min)/(this.max-this.min);a.push(m)}if(this.range&&this.inputElements[1]){let m=(Number(this.inputElements[1].value)-this.min)/(this.max-this.min);a.push(m)}return a.includes(i)?"display:none;":`--mdc-slider-tick-left:${i};`}renderTicks(){let t=[];if(this.step&&this.step>1)for(let i=this.min;i<=this.max;i+=this.step)t.push(i);return this.step>1?I` <div part="slider-ticks">
6592
6587
  ${wg(t,i=>i,i=>I`<span part="slider-tick" style=${this.getTickStyles(i)}></span>`)}
6593
- </div>`:j}render(){var t,i,a,d,m,b,C,M,W,K,it,X,tt,lt,dt,vt,At;return I`
6588
+ </div>`:j}render(){var t,i,a,c,m,b,C,L,W,q,it,X,tt,lt,ct,vt,At;return I`
6594
6589
  ${this.label?I`<label part="slider-label" for="single-slider">${this.label}</label>`:null}
6595
6590
  <div part="slider-track">
6596
6591
  ${this.iconTemplate(this.leadingIcon,"leading-icon")}
@@ -6609,7 +6604,7 @@
6609
6604
  name="${(a=this.nameStart)!=null?a:""}"
6610
6605
  aria-valuemin="${this.min}"
6611
6606
  aria-valuemax="${this.max}"
6612
- aria-valuenow="${(d=this.valueStart)!=null?d:this.min}"
6607
+ aria-valuenow="${(c=this.valueStart)!=null?c:this.min}"
6613
6608
  aria-label="${this.startAriaLabel||this.label||""}"
6614
6609
  aria-valuetext="${this.startAriaValuetext||this.valueLabelStart||this.valueStart||""}"
6615
6610
  tabindex="${this.disabled?-1:0}"
@@ -6633,7 +6628,7 @@
6633
6628
  name="${(C=this.nameEnd)!=null?C:""}"
6634
6629
  aria-valuemin="${this.min}"
6635
6630
  aria-valuemax="${this.max}"
6636
- aria-valuenow="${(M=this.valueEnd)!=null?M:this.max}"
6631
+ aria-valuenow="${(L=this.valueEnd)!=null?L:this.max}"
6637
6632
  aria-label="${this.endAriaLabel||this.label||""}"
6638
6633
  aria-valuetext="${this.endAriaValueText||this.valueLabelEnd||this.valueEnd||""}"
6639
6634
  tabindex="${this.disabled?-1:0}"
@@ -6653,14 +6648,14 @@
6653
6648
  min="${this.min}"
6654
6649
  max="${this.max}"
6655
6650
  step="${(W=this.step)!=null?W:1}"
6656
- .value="${String((K=this.value)!=null?K:this.min)}"
6651
+ .value="${String((q=this.value)!=null?q:this.min)}"
6657
6652
  ?disabled="${this.disabled}"
6658
6653
  name="${(it=this.name)!=null?it:""}"
6659
6654
  aria-valuemin="${this.min}"
6660
6655
  aria-valuemax="${this.max}"
6661
6656
  aria-valuenow="${(X=this.value)!=null?X:this.min}"
6662
6657
  aria-label="${(lt=(tt=this.dataAriaLabel)!=null?tt:this.label)!=null?lt:""}"
6663
- aria-valuetext="${(At=(dt=this.dataAriaValuetext)!=null?dt:this.valueLabel)!=null?At:String((vt=this.value)!=null?vt:"")}"
6658
+ aria-valuetext="${(At=(ct=this.dataAriaValuetext)!=null?ct:this.valueLabel)!=null?At:String((vt=this.value)!=null?vt:"")}"
6664
6659
  tabindex="${this.disabled?-1:0}"
6665
6660
  @input=${this.onInput}
6666
6661
  @change=${this.onChange}
@@ -6678,7 +6673,7 @@
6678
6673
  ${this.labelStart?I`<span part="slider-label-start">${this.labelStart}</span>`:null}
6679
6674
  ${this.labelEnd?I`<span part="slider-label-end">${this.labelEnd}</span>`:null}
6680
6675
  </div>
6681
- `}};kt.styles=[...q.styles,...Lg],p([gt()],kt.prototype,"thumbFocused",2),p([gt()],kt.prototype,"thumbHovered",2),p([u({reflect:!0,type:Boolean})],kt.prototype,"range",2),p([u({reflect:!0,type:Number})],kt.prototype,"min",2),p([u({reflect:!0,type:Number})],kt.prototype,"max",2),p([u({reflect:!0,type:Boolean})],kt.prototype,"disabled",2),p([u({reflect:!0,type:Boolean,attribute:"soft-disabled"})],kt.prototype,"softDisabled",2),p([u({reflect:!0,type:String,attribute:"leading-icon"})],kt.prototype,"leadingIcon",2),p([u({reflect:!0,type:String,attribute:"trailing-icon"})],kt.prototype,"trailingIcon",2),p([u({reflect:!0,type:Number})],kt.prototype,"value",2),p([u({reflect:!0,type:Number,attribute:"value-start"})],kt.prototype,"valueStart",2),p([u({reflect:!0,type:Number,attribute:"value-end"})],kt.prototype,"valueEnd",2),p([u({reflect:!0,type:Number})],kt.prototype,"step",2),p([u({reflect:!0,type:String})],kt.prototype,"label",2),p([u({reflect:!0,type:String,attribute:"label-start"})],kt.prototype,"labelStart",2),p([u({reflect:!0,type:String,attribute:"label-end"})],kt.prototype,"labelEnd",2),p([u({reflect:!0,type:String,attribute:"value-label"})],kt.prototype,"valueLabel",2),p([u({reflect:!0,type:String,attribute:"value-label-start"})],kt.prototype,"valueLabelStart",2),p([u({reflect:!0,type:String,attribute:"value-label-end"})],kt.prototype,"valueLabelEnd",2),p([u({reflect:!0,type:String})],kt.prototype,"name",2),p([u({reflect:!0,type:String,attribute:"name-start"})],kt.prototype,"nameStart",2),p([u({reflect:!0,type:String,attribute:"name-end"})],kt.prototype,"nameEnd",2),p([u({reflect:!0,type:String,attribute:"data-aria-label"})],kt.prototype,"dataAriaLabel",2),p([u({reflect:!0,type:String,attribute:"start-aria-label"})],kt.prototype,"startAriaLabel",2),p([u({reflect:!0,type:String,attribute:"end-aria-label"})],kt.prototype,"endAriaLabel",2),p([u({reflect:!0,type:String,attribute:"data-aria-valuetext"})],kt.prototype,"dataAriaValuetext",2),p([u({reflect:!0,type:String,attribute:"start-aria-valuetext"})],kt.prototype,"startAriaValuetext",2),p([u({reflect:!0,type:String,attribute:"end-aria-valuetext"})],kt.prototype,"endAriaValueText",2),p([hm('input[type="range"]')],kt.prototype,"inputElements",2);var Wh=kt;Wh.register(Ng);var aA=Wh;var nA=z`
6676
+ `}};kt.styles=[...K.styles,...Lg],p([gt()],kt.prototype,"thumbFocused",2),p([gt()],kt.prototype,"thumbHovered",2),p([u({reflect:!0,type:Boolean})],kt.prototype,"range",2),p([u({reflect:!0,type:Number})],kt.prototype,"min",2),p([u({reflect:!0,type:Number})],kt.prototype,"max",2),p([u({reflect:!0,type:Boolean})],kt.prototype,"disabled",2),p([u({reflect:!0,type:Boolean,attribute:"soft-disabled"})],kt.prototype,"softDisabled",2),p([u({reflect:!0,type:String,attribute:"leading-icon"})],kt.prototype,"leadingIcon",2),p([u({reflect:!0,type:String,attribute:"trailing-icon"})],kt.prototype,"trailingIcon",2),p([u({reflect:!0,type:Number})],kt.prototype,"value",2),p([u({reflect:!0,type:Number,attribute:"value-start"})],kt.prototype,"valueStart",2),p([u({reflect:!0,type:Number,attribute:"value-end"})],kt.prototype,"valueEnd",2),p([u({reflect:!0,type:Number})],kt.prototype,"step",2),p([u({reflect:!0,type:String})],kt.prototype,"label",2),p([u({reflect:!0,type:String,attribute:"label-start"})],kt.prototype,"labelStart",2),p([u({reflect:!0,type:String,attribute:"label-end"})],kt.prototype,"labelEnd",2),p([u({reflect:!0,type:String,attribute:"value-label"})],kt.prototype,"valueLabel",2),p([u({reflect:!0,type:String,attribute:"value-label-start"})],kt.prototype,"valueLabelStart",2),p([u({reflect:!0,type:String,attribute:"value-label-end"})],kt.prototype,"valueLabelEnd",2),p([u({reflect:!0,type:String})],kt.prototype,"name",2),p([u({reflect:!0,type:String,attribute:"name-start"})],kt.prototype,"nameStart",2),p([u({reflect:!0,type:String,attribute:"name-end"})],kt.prototype,"nameEnd",2),p([u({reflect:!0,type:String,attribute:"data-aria-label"})],kt.prototype,"dataAriaLabel",2),p([u({reflect:!0,type:String,attribute:"start-aria-label"})],kt.prototype,"startAriaLabel",2),p([u({reflect:!0,type:String,attribute:"end-aria-label"})],kt.prototype,"endAriaLabel",2),p([u({reflect:!0,type:String,attribute:"data-aria-valuetext"})],kt.prototype,"dataAriaValuetext",2),p([u({reflect:!0,type:String,attribute:"start-aria-valuetext"})],kt.prototype,"startAriaValuetext",2),p([u({reflect:!0,type:String,attribute:"end-aria-valuetext"})],kt.prototype,"endAriaValueText",2),p([dm('input[type="range"]')],kt.prototype,"inputElements",2);var Yh=kt;Yh.register(Ng);var aA=Yh;var nA=V`
6682
6677
  :host {
6683
6678
  --mdc-listbox-max-height: auto;
6684
6679
 
@@ -6695,7 +6690,7 @@
6695
6690
  ::slotted(mdc-option) {
6696
6691
  width: 100%;
6697
6692
  }
6698
- `,Rg=[nA];var $o=class extends Hl(_s(q)){constructor(){super();this.loop="false";this.name=void 0;this.value=void 0;this.itemsStore=new zi(this,{isValidItem:this.isValidItem});this.handleDestroyEvent=()=>{this.handleNoSelection()};this.addEventListener("click",this.handleClick),this.addEventListener("modified",this.handleModifiedEvent),this.addEventListener("destroyed",this.handleDestroyEvent)}connectedCallback(){super.connectedCallback(),this.role=et.LISTBOX}handleModifiedEvent(t){let i=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(i);break;case"disabled":this.itemsStore.delete(i);break;case"selected":this.setSelectedOption(i,!1,!1);break;case"unselected":this.handleNoSelection();break;default:break}}handleNoSelection(){this.getFirstSelectedOption()||(this.selectedOption=void 0,this.value=void 0)}get navItems(){return this.itemsStore.items}isValidItem(t){return t.matches(`${hr}:not([disabled])`)}handleClick(t){let i=t.target;this.isValidItem(i)&&this.setSelectedOption(i)}getFirstSelectedOption(){return this.itemsStore.items.find(t=>t.matches("[selected]"))}updated(t){if(t.has("value")){let i=this.itemsStore.items.find(a=>a.value===this.value);i?this.setSelectedOption(i,!1):this.setSelectedOption(null,!1)}}setSelectedOption(t,i=!0,a=!0){t!=null&&t.disabled||t!=null&&t.softDisabled||(a&&this.updateSelectedInChildOptions(t),this.selectedOption=t,this.value=t==null?void 0:t.value,i&&this.fireEvents())}updateSelectedInChildOptions(t){this.itemsStore.items.forEach(i=>i.removeAttribute("selected")),t==null||t.toggleAttribute("selected",!0)}fireEvents(){this.selectedOption&&this.dispatchEvent(new Event("change",{composed:!0,bubbles:!0}))}render(){return I`<slot part="container"></slot>`}};$o.styles=[...Hc.styles,...Rg],p([u({type:String,reflect:!0})],$o.prototype,"name",2),p([u({type:String,reflect:!0})],$o.prototype,"value",2),p([gt()],$o.prototype,"selectedOption",2);var jh=$o;var Mg=B.constructTagName("listbox");jh.register(Mg);var lA=jh;var Og=B.constructTagName("banner"),Vs={CUSTOM:"custom",INFORMATIONAL:"informational",WARNING:"warning",ERROR:"error",SUCCESS:"success"},cn={INFORMATIONAL_ICON_NAME:"info-circle-bold",SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},vd={VARIANT:Vs.CUSTOM,PREFIX_ICON_SIZE:1.5};var dA=z`
6693
+ `,Mg=[nA];var $o=class extends Is(Bi(K)){constructor(){super();this.loop="false";this.name=void 0;this.value=void 0;this.itemsStore=new Vr(this,{isValidItem:this.isValidItem});this.handleDestroyEvent=()=>{this.handleNoSelection()};this.addEventListener("click",this.handleClick),this.addEventListener("modified",this.handleModifiedEvent),this.addEventListener("destroyed",this.handleDestroyEvent)}connectedCallback(){super.connectedCallback(),this.role=et.LISTBOX}handleModifiedEvent(t){let i=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(i);break;case"disabled":this.itemsStore.delete(i);break;case"selected":this.setSelectedOption(i,!1,!1);break;case"unselected":this.handleNoSelection();break;default:break}}handleNoSelection(){this.getFirstSelectedOption()||(this.selectedOption=void 0,this.value=void 0)}get navItems(){return this.itemsStore.items}isValidItem(t){return t.matches(`${Hr}:not([disabled])`)}handleClick(t){let i=t.target;this.isValidItem(i)&&this.setSelectedOption(i)}getFirstSelectedOption(){return this.itemsStore.items.find(t=>t.matches("[selected]"))}updated(t){if(t.has("value")){let i=this.itemsStore.items.find(a=>a.value===this.value);i?this.setSelectedOption(i,!1):this.setSelectedOption(null,!1)}}setSelectedOption(t,i=!0,a=!0){t!=null&&t.disabled||t!=null&&t.softDisabled||(a&&this.updateSelectedInChildOptions(t),this.selectedOption=t,this.value=t==null?void 0:t.value,i&&this.fireEvents())}updateSelectedInChildOptions(t){this.itemsStore.items.forEach(i=>i.removeAttribute("selected")),t==null||t.toggleAttribute("selected",!0)}fireEvents(){this.selectedOption&&this.dispatchEvent(new Event("change",{composed:!0,bubbles:!0}))}render(){return I`<slot part="container"></slot>`}};$o.styles=[...Hd.styles,...Mg],p([u({type:String,reflect:!0})],$o.prototype,"name",2),p([u({type:String,reflect:!0})],$o.prototype,"value",2),p([gt()],$o.prototype,"selectedOption",2);var Wh=$o;var Rg=B.constructTagName("listbox");Wh.register(Rg);var lA=Wh;var Og=B.constructTagName("banner"),Vs={CUSTOM:"custom",INFORMATIONAL:"informational",WARNING:"warning",ERROR:"error",SUCCESS:"success"},dn={INFORMATIONAL_ICON_NAME:"info-circle-bold",SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},vc={VARIANT:Vs.CUSTOM,PREFIX_ICON_SIZE:1.5};var cA=V`
6699
6694
  :host {
6700
6695
  --mdc-banner-background-color: var(--mds-color-theme-background-solid-primary-normal);
6701
6696
  --mdc-banner-border-color: var(--mds-color-theme-outline-secondary-normal);
@@ -6778,10 +6773,10 @@
6778
6773
  gap: var(--mdc-banner-gap);
6779
6774
  flex-wrap: wrap;
6780
6775
  }
6781
- `,Pg=[dA];var Dg=n=>{switch(n){case Vs.INFORMATIONAL:return cn.INFORMATIONAL_ICON_NAME;case Vs.SUCCESS:return cn.SUCCESS_ICON_NAME;case Vs.WARNING:return cn.WARNING_ICON_NAME;case Vs.ERROR:return cn.ERROR_ICON_NAME;default:return null}};var Fo=class extends q{constructor(){super(...arguments);this.variant=vd.VARIANT;this.label=""}renderIcon(t){return t?I`
6776
+ `,Pg=[cA];var Dg=n=>{switch(n){case Vs.INFORMATIONAL:return dn.INFORMATIONAL_ICON_NAME;case Vs.SUCCESS:return dn.SUCCESS_ICON_NAME;case Vs.WARNING:return dn.WARNING_ICON_NAME;case Vs.ERROR:return dn.ERROR_ICON_NAME;default:return null}};var zo=class extends K{constructor(){super(...arguments);this.variant=vc.VARIANT;this.label=""}renderIcon(t){return t?I`
6782
6777
  <mdc-icon
6783
6778
  name="${t}"
6784
- size="${vd.PREFIX_ICON_SIZE}"
6779
+ size="${vc.PREFIX_ICON_SIZE}"
6785
6780
  part="leading-icon"
6786
6781
  length-unit="rem"
6787
6782
  ></mdc-icon>
@@ -6796,7 +6791,7 @@
6796
6791
  <slot name="content">
6797
6792
  <div part="leading">
6798
6793
  <slot name="leading-icon">
6799
- ${this.variant!==vd.VARIANT?this.renderIcon((t=Dg(this.variant))!=null?t:""):j}
6794
+ ${this.variant!==vc.VARIANT?this.renderIcon((t=Dg(this.variant))!=null?t:""):j}
6800
6795
  </slot>
6801
6796
  <slot name="leading-text">
6802
6797
  <div part="leading-text">${this.getTextLabel()}</div>
@@ -6806,7 +6801,7 @@
6806
6801
  <slot name="trailing-actions"></slot>
6807
6802
  </div>
6808
6803
  </slot>
6809
- `}};Fo.styles=[...q.styles,...Pg],p([u({type:String,reflect:!0})],Fo.prototype,"variant",2),p([u({type:String,reflect:!0})],Fo.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],Fo.prototype,"secondaryLabel",2);var qh=Fo;qh.register(Og);var cA=qh;})();
6804
+ `}};zo.styles=[...K.styles,...Pg],p([u({type:String,reflect:!0})],zo.prototype,"variant",2),p([u({type:String,reflect:!0})],zo.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],zo.prototype,"secondaryLabel",2);var jh=zo;jh.register(Og);var dA=jh;})();
6810
6805
  /*! Bundled license information:
6811
6806
 
6812
6807
  lottie-web/build/player/lottie_light.js: