@momentum-design/components 0.122.17 → 0.122.19

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 py=Object.create;var Ud=Object.defineProperty;var nm=Object.getOwnPropertyDescriptor;var my=Object.getOwnPropertyNames;var uy=Object.getPrototypeOf,fy=Object.prototype.hasOwnProperty;var vy=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports);var gy=(n,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of my(o))!fy.call(n,s)&&s!==t&&Ud(n,s,{get:()=>o[s],enumerable:!(r=nm(o,s))||r.enumerable});return n};var by=(n,o,t)=>(t=n!=null?py(uy(n)):{},gy(o||!n||!n.__esModule?Ud(t,"default",{value:n,enumerable:!0}):t,n));var p=(n,o,t,r)=>{for(var s=r>1?void 0:r?nm(o,t):o,d=n.length-1,m;d>=0;d--)(m=n[d])&&(s=(r?m(o,t,s):m(s))||s);return r&&s&&Ud(o,t,s),s};var lu=vy((_a,ll)=>{typeof navigator<"u"&&function(n,o){typeof _a=="object"&&typeof ll<"u"?ll.exports=o():typeof define=="function"&&define.amd?define(o):(n=typeof globalThis<"u"?globalThis:n||self,n.lottie=o())}(_a,function(){"use strict";var n="http://www.w3.org/2000/svg",o="",t=!1,r=-999999,s=function(i){t=!!i},d=function(){return t},m=function(i){o=i},b=function(){return o};function x(e){return document.createElement(e)}function L(e,i){var a,l=e.length,h;for(a=0;a<l;a+=1){h=e[a].prototype;for(var c in h)Object.prototype.hasOwnProperty.call(h,c)&&(i.prototype[c]=h[c])}}function U(e,i){return Object.getOwnPropertyDescriptor(e,i)}function K(e){function i(){}return i.prototype=e,i}var Z=function(){function e(i){this.audios=[],this.audioFactory=i,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(a){this.audios.push(a)},pause:function(){var a,l=this.audios.length;for(a=0;a<l;a+=1)this.audios[a].pause()},resume:function(){var a,l=this.audios.length;for(a=0;a<l;a+=1)this.audios[a].resume()},setRate:function(a){var l,h=this.audios.length;for(l=0;l<h;l+=1)this.audios[l].setRate(a)},createAudio:function(a){return this.audioFactory?this.audioFactory(a):window.Howl?new window.Howl({src:[a]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(a){this.audioFactory=a},setVolume:function(a){this._volume=a,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var a,l=this.audios.length;for(a=0;a<l;a+=1)this.audios[a].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),X=function(){function e(a,l){var h=0,c=[],v;switch(a){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 i(a,l){return a==="float32"?new Float32Array(l):a==="int16"?new Int16Array(l):a==="uint8c"?new Uint8ClampedArray(l):e(a,l)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?i:e}();function it(e){return Array.apply(null,{length:e})}function dt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dt=function(a){return typeof a}:dt=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},dt(e)}var lt=!0,gt=null,St=null,Ct="",Gt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),zt=!1,Yt=Math.pow,Zt=Math.sqrt,ne=Math.floor,fr=Math.max,Ne=Math.min,Qe={};(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"],i,a=e.length;for(i=0;i<a;i+=1)Qe[e[i]]=Math[e[i]]})();function vr(){return{}}Qe.random=Math.random,Qe.abs=function(e){var i=dt(e);if(i==="object"&&e.length){var a=it(e.length),l,h=e.length;for(l=0;l<h;l+=1)a[l]=Math.abs(e[l]);return a}return Math.abs(e)};var gr=150,kt=Math.PI/180,me=.5519;function Je(e){zt=!!e}function tr(e){return zt?Math.round(e):e}function er(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 rr(e,i,a,l){this.type=e,this.currentTime=i,this.totalTime=a,this.direction=l<0?-1:1}function vn(e,i){this.type=e,this.direction=i<0?-1:1}function up(e,i,a,l){this.type=e,this.currentLoop=a,this.totalLoops=i,this.direction=l<0?-1:1}function fp(e,i,a){this.type=e,this.firstFrame=i,this.totalFrames=a}function vp(e,i){this.type=e,this.target=i}function pb(e,i){this.type="renderFrameError",this.nativeError=e,this.currentTime=i}function mb(e){this.type="configError",this.nativeError=e}function GA(e,i){this.type=e,this.nativeError=i}var Le=function(){var e=0;return function(){return e+=1,Ct+"__lottie_element_"+e}}();function wd(e,i,a){var l,h,c,v,A,g,k,R;switch(v=Math.floor(e*6),A=e*6-v,g=a*(1-i),k=a*(1-A*i),R=a*(1-(1-A)*i),v%6){case 0:l=a,h=R,c=g;break;case 1:l=k,h=a,c=g;break;case 2:l=g,h=a,c=R;break;case 3:l=g,h=k,c=a;break;case 4:l=R,h=g,c=a;break;case 5:l=a,h=g,c=k;break;default:break}return[l,h,c]}function Nd(e,i,a){var l=Math.max(e,i,a),h=Math.min(e,i,a),c=l-h,v,A=l===0?0:c/l,g=l/255;switch(l){case h:v=0;break;case e:v=i-a+c*(i<a?6:0),v/=6*c;break;case i:v=a-e+c*2,v/=6*c;break;case a:v=e-i+c*4,v/=6*c;break;default:break}return[v,A,g]}function gp(e,i){var a=Nd(e[0]*255,e[1]*255,e[2]*255);return a[1]+=i,a[1]>1?a[1]=1:a[1]<=0&&(a[1]=0),wd(a[0],a[1],a[2])}function bp(e,i){var a=Nd(e[0]*255,e[1]*255,e[2]*255);return a[2]+=i,a[2]>1?a[2]=1:a[2]<0&&(a[2]=0),wd(a[0],a[1],a[2])}function yp(e,i){var a=Nd(e[0]*255,e[1]*255,e[2]*255);return a[0]+=i/360,a[0]>1?a[0]-=1:a[0]<0&&(a[0]+=1),wd(a[0],a[1],a[2])}var YA=function(){var e=[],i,a;for(i=0;i<256;i+=1)a=i.toString(16),e[i]=a.length===1?"0"+a:a;return function(l,h,c){return l<0&&(l=0),h<0&&(h=0),c<0&&(c=0),"#"+e[l]+e[h]+e[c]}}(),ub=function(i){lt=!!i},fb=function(){return lt},vb=function(i){gt=i},gn=function(){return gt},WA=function(i){St=i},Ep=function(){return St},bn=function(i){gr=i},js=function(){return gr},gb=function(i){Ct=i},jA=function(){return Ct};function Tt(e){return document.createElementNS(n,e)}function yn(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?yn=function(a){return typeof a}:yn=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},yn(e)}var Ks=function(){var e=1,i=[],a,l,h={onmessage:function(){},postMessage:function(O){a({data:O})}},c={postMessage:function(O){h.onmessage({data:O})}};function v(T){if(window.Worker&&window.Blob&&d()){var O=new Blob(["var _workerSelf = self; self.onmessage = ",T.toString()],{type:"text/javascript"}),D=URL.createObjectURL(O);return new Worker(D)}return a=T,h}function A(){l||(l=v(function(O){function D(){function V(J,I){var P,f,y=J.length,Y,$,nt,ft;for(f=0;f<y;f+=1)if(P=J[f],"ks"in P&&!P.completed){if(P.completed=!0,P.hasMask){var Et=P.masksProperties;for($=Et.length,Y=0;Y<$;Y+=1)if(Et[Y].pt.k.i)w(Et[Y].pt.k);else for(ft=Et[Y].pt.k.length,nt=0;nt<ft;nt+=1)Et[Y].pt.k[nt].s&&w(Et[Y].pt.k[nt].s[0]),Et[Y].pt.k[nt].e&&w(Et[Y].pt.k[nt].e[0])}P.ty===0?(P.layers=E(P.refId,I),V(P.layers,I)):P.ty===4?S(P.shapes):P.ty===5&&xt(P)}}function N(J,I){if(J){var P=0,f=J.length;for(P=0;P<f;P+=1)J[P].t===1&&(J[P].data.layers=E(J[P].data.refId,I),V(J[P].data.layers,I))}}function C(J,I){for(var P=0,f=I.length;P<f;){if(I[P].id===J)return I[P];P+=1}return null}function E(J,I){var P=C(J,I);return P?P.layers.__used?JSON.parse(JSON.stringify(P.layers)):(P.layers.__used=!0,P.layers):null}function S(J){var I,P=J.length,f,y;for(I=P-1;I>=0;I-=1)if(J[I].ty==="sh")if(J[I].ks.k.i)w(J[I].ks.k);else for(y=J[I].ks.k.length,f=0;f<y;f+=1)J[I].ks.k[f].s&&w(J[I].ks.k[f].s[0]),J[I].ks.k[f].e&&w(J[I].ks.k[f].e[0]);else J[I].ty==="gr"&&S(J[I].it)}function w(J){var I,P=J.i.length;for(I=0;I<P;I+=1)J.i[I][0]+=J.v[I][0],J.i[I][1]+=J.v[I][1],J.o[I][0]+=J.v[I][0],J.o[I][1]+=J.v[I][1]}function F(J,I){var P=I?I.split("."):[100,100,100];return J[0]>P[0]?!0:P[0]>J[0]?!1:J[1]>P[1]?!0:P[1]>J[1]?!1:J[2]>P[2]?!0:P[2]>J[2]?!1:null}var H=function(){var J=[4,4,14];function I(f){var y=f.t.d;f.t.d={k:[{s:y,t:0}]}}function P(f){var y,Y=f.length;for(y=0;y<Y;y+=1)f[y].ty===5&&I(f[y])}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),W=function(){var J=[4,7,99];return function(I){if(I.chars&&!F(J,I.v)){var P,f=I.chars.length;for(P=0;P<f;P+=1){var y=I.chars[P];y.data&&y.data.shapes&&(S(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}},I.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"})))}}}}(),et=function(){var J=[5,7,15];function I(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,Y=f.length;for(y=0;y<Y;y+=1)f[y].ty===5&&I(f[y])}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),yt=function(){var J=[4,1,9];function I(f){var y,Y=f.length,$,nt;for(y=0;y<Y;y+=1)if(f[y].ty==="gr")I(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,Y=f.length;for(y=0;y<Y;y+=1)f[y].ty===4&&I(f[y].shapes)}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),pt=function(){var J=[4,4,18];function I(f){var y,Y=f.length,$,nt;for(y=Y-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"&&I(f[y].it)}function P(f){var y,Y,$=f.length,nt,ft,Et,Rt;for(Y=0;Y<$;Y+=1){if(y=f[Y],y.hasMask){var Ot=y.masksProperties;for(ft=Ot.length,nt=0;nt<ft;nt+=1)if(Ot[nt].pt.k.i)Ot[nt].pt.k.c=Ot[nt].cl;else for(Rt=Ot[nt].pt.k.length,Et=0;Et<Rt;Et+=1)Ot[nt].pt.k[Et].s&&(Ot[nt].pt.k[Et].s[0].c=Ot[nt].cl),Ot[nt].pt.k[Et].e&&(Ot[nt].pt.k[Et].e[0].c=Ot[nt].cl)}y.ty===4&&I(y.shapes)}}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}();function ot(J){J.__complete||(yt(J),H(J),W(J),et(J),pt(J),V(J.layers,J.assets),N(J.chars,J.assets),J.__complete=!0)}function xt(J){J.t.a.length===0&&"m"in J.t.p}var ct={};return ct.completeData=ot,ct.checkColors=yt,ct.checkChars=W,ct.checkPathProperties=et,ct.checkShapes=pt,ct.completeLayers=V,ct}if(c.dataManager||(c.dataManager=D()),c.assetLoader||(c.assetLoader=function(){function V(C){var E=C.getResponseHeader("content-type");return E&&C.responseType==="json"&&E.indexOf("json")!==-1||C.response&&yn(C.response)==="object"?C.response:C.response&&typeof C.response=="string"?JSON.parse(C.response):C.responseText?JSON.parse(C.responseText):null}function N(C,E,S,w){var F,H=new XMLHttpRequest;try{H.responseType="json"}catch{}H.onreadystatechange=function(){if(H.readyState===4)if(H.status===200)F=V(H),S(F);else try{F=V(H),S(F)}catch(W){w&&w(W)}};try{H.open(["G","E","T"].join(""),C,!0)}catch{H.open(["G","E","T"].join(""),E+"/"+C,!0)}H.send()}return{load:N}}()),O.data.type==="loadAnimation")c.assetLoader.load(O.data.path,O.data.fullPath,function(V){c.dataManager.completeData(V),c.postMessage({id:O.data.id,payload:V,status:"success"})},function(){c.postMessage({id:O.data.id,status:"error"})});else if(O.data.type==="complete"){var M=O.data.animation;c.dataManager.completeData(M),c.postMessage({id:O.data.id,payload:M,status:"success"})}else O.data.type==="loadData"&&c.assetLoader.load(O.data.path,O.data.fullPath,function(V){c.postMessage({id:O.data.id,payload:V,status:"success"})},function(){c.postMessage({id:O.data.id,status:"error"})})}),l.onmessage=function(T){var O=T.data,D=O.id,M=i[D];i[D]=null,O.status==="success"?M.onComplete(O.payload):M.onError&&M.onError()})}function g(T,O){e+=1;var D="processId_"+e;return i[D]={onComplete:T,onError:O},D}function k(T,O,D){A();var M=g(O,D);l.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function R(T,O,D){A();var M=g(O,D);l.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function G(T,O,D){A();var M=g(O,D);l.postMessage({type:"complete",animation:T,id:M})}return{loadAnimation:k,loadData:R,completeAnimation:G}}(),bb=function(){var e=function(){var N=x("canvas");N.width=1,N.height=1;var C=N.getContext("2d");return C.fillStyle="rgba(0,0,0,0)",C.fillRect(0,0,1,1),N}();function i(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function l(N,C,E){var S="";if(N.e)S=N.p;else if(C){var w=N.p;w.indexOf("images/")!==-1&&(w=w.split("/")[1]),S=C+w}else S=E,S+=N.u?N.u:"",S+=N.p;return S}function h(N){var C=0,E=setInterval((function(){var S=N.getBBox();(S.width||C>500)&&(this._imageLoaded(),clearInterval(E)),C+=1}).bind(this),50)}function c(N){var C=l(N,this.assetsPath,this.path),E=Tt("image");Gt?this.testImageLoaded(E):E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),E.setAttributeNS("http://www.w3.org/1999/xlink","href",C),this._elementHelper.append?this._elementHelper.append(E):this._elementHelper.appendChild(E);var S={img:E,assetData:N};return S}function v(N){var C=l(N,this.assetsPath,this.path),E=x("img");E.crossOrigin="anonymous",E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),E.src=C;var S={img:E,assetData:N};return S}function A(N){var C={assetData:N},E=l(N,this.assetsPath,this.path);return Ks.loadData(E,(function(S){C.img=S,this._footageLoaded()}).bind(this),(function(){C.img={},this._footageLoaded()}).bind(this)),C}function g(N,C){this.imagesLoadedCb=C;var E,S=N.length;for(E=0;E<S;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 R(N){this.assetsPath=N||""}function G(N){for(var C=0,E=this.images.length;C<E;){if(this.images[C].assetData===N)return this.images[C].img;C+=1}return null}function T(){this.imagesLoadedCb=null,this.images.length=0}function O(){return this.totalImages===this.loadedAssets}function D(){return this.totalFootages===this.loadedFootagesCount}function M(N,C){N==="svg"?(this._elementHelper=C,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function V(){this._imageLoaded=i.bind(this),this._footageLoaded=a.bind(this),this.testImageLoaded=h.bind(this),this.createFootageData=A.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:R,setPath:k,loadedImages:O,loadedFootages:D,destroy:T,getAsset:G,createImgData:v,createImageData:c,imageLoaded:i,footageLoaded:a,setCacheType:M},V}();function Tp(){}Tp.prototype={triggerEvent:function(i,a){if(this._cbs[i])for(var l=this._cbs[i],h=0;h<l.length;h+=1)l[h](a)},addEventListener:function(i,a){return this._cbs[i]||(this._cbs[i]=[]),this._cbs[i].push(a),(function(){this.removeEventListener(i,a)}).bind(this)},removeEventListener:function(i,a){if(!a)this._cbs[i]=null;else if(this._cbs[i]){for(var l=0,h=this._cbs[i].length;l<h;)this._cbs[i][l]===a&&(this._cbs[i].splice(l,1),l-=1,h-=1),l+=1;this._cbs[i].length||(this._cbs[i]=null)}}};var yb=function(){function e(i){for(var a=i.split(`\r
2
- `),l={},h,c=0,v=0;v<a.length;v+=1)h=a[v].split(":"),h.length===2&&(l[h[0]]=h[1].trim(),c+=1);if(c===0)throw new Error;return l}return function(i){for(var a=[],l=0;l<i.length;l+=1){var h=i[l],c={time:h.tm,duration:h.dr};try{c.payload=JSON.parse(i[l].cm)}catch{try{c.payload=e(i[l].cm)}catch{c.payload={name:i[l].cm}}}a.push(c)}return a}}(),Eb=function(){function e(i){this.compositions.push(i)}return function(){function i(a){for(var l=0,h=this.compositions.length;l<h;){if(this.compositions[l].data&&this.compositions[l].data.nm===a)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 i.compositions=[],i.currentFrame=0,i.registerComposition=e,i}}(),qs={},Tb=function(i,a){qs[i]=a};function xb(e){return qs[e]}function Ab(){if(qs.canvas)return"canvas";for(var e in qs)if(qs[e])return e;return""}function Xs(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Xs=function(a){return typeof a}:Xs=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Xs(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=Le(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=fb(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Eb(),this.imagePreloader=new bb,this.audioController=Z(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new rr("drawnFrame",0,0,0),this.expressionsPlugin=gn()};L([Tp],ut),ut.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var i="svg";e.animType?i=e.animType:e.renderer&&(i=e.renderer);var a=xb(i);this.renderer=new a(this,e.rendererSettings),this.imagePreloader.setCacheType(i,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=i,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")),Ks.loadAnimation(e.path,this.configAnimation,this.onSetupError))},ut.prototype.onSetupError=function(){this.trigger("data_failed")},ut.prototype.setupAnimation=function(e){Ks.completeAnimation(e,this.configAnimation)},ut.prototype.setData=function(e,i){i&&Xs(i)!=="object"&&(i=JSON.parse(i));var a={wrapper:e,animationData:i},l=e.attributes;a.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:"",a.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:Ab()||"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"?a.loop=!1:h==="true"?a.loop=!0:h!==""&&(a.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;a.autoplay=c!=="false",a.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"&&(a.prerender=!1),a.path?this.setParams(a):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 i=this.animationData.layers,a,l=i.length,h=e.layers,c,v=h.length;for(c=0;c<v;c+=1)for(a=0;a<l;){if(i[a].id===h[c].id){i[a]=h[c];break}a+=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,a=0;a<l;a+=1)this.animationData.assets.push(e.assets[a]);this.animationData.__complete=!1,Ks.completeAnimation(this.animationData,this.onSegmentComplete)},ut.prototype.onSegmentComplete=function(e){this.animationData=e;var i=gn();i&&i.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 i=e.shift();this.timeCompleted=i.time*this.frameRate;var a=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Ks.loadData(a,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=yb(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(i){this.triggerConfigError(i)}},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=gn();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,i){var a=typeof e=="number"?e:void 0,l=typeof i=="number"?i:void 0;this.renderer.updateContainerSize(a,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 i,a=0;a<this.markers.length;a+=1)if(i=this.markers[a],i.payload&&i.payload.name===e)return i;return null},ut.prototype.goToAndStop=function(e,i,a){if(!(a&&this.name!==a)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&this.goToAndStop(h.time,!0)}else i?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},ut.prototype.goToAndPlay=function(e,i,a){if(!(a&&this.name!==a)){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,i,a);this.play()}},ut.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var i=this.currentRawFrame+e*this.frameModifier,a=!1;i>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(i>this.totalFrames?i%this.totalFrames:0)||(a=!0,i=this.totalFrames-1):i>=this.totalFrames?(this.playCount+=1,this.checkSegments(i%this.totalFrames)||(this.setCurrentRawFrameValue(i%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(i):i<0?this.checkSegments(i%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+i%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(a=!0,i=0)):this.setCurrentRawFrameValue(i),a&&(this.setCurrentRawFrameValue(i),this.pause(),this.trigger("complete"))}},ut.prototype.adjustSegment=function(e,i){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-i)):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+i)),this.trigger("segmentStart")},ut.prototype.setSegment=function(e,i){var a=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?a=e:this.currentRawFrame+this.firstFrame>i&&(a=i-e)),this.firstFrame=e,this.totalFrames=i-e,this.timeCompleted=this.totalFrames,a!==-1&&this.goToAndStop(a,!0)},ut.prototype.playSegments=function(e,i){if(i&&(this.segments.length=0),Xs(e[0])==="object"){var a,l=e.length;for(a=0;a<l;a+=1)this.segments.push(e[a])}else this.segments.push(e);this.segments.length&&i&&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,i){i&&this.name!==i||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 i="";if(e.e)i=e.p;else if(this.assetsPath){var a=e.p;a.indexOf("images/")!==-1&&(a=a.split("/")[1]),i=this.assetsPath+a}else i=this.path,i+=e.u?e.u:"",i+=e.p;return i},ut.prototype.getAssetData=function(e){for(var i=0,a=this.assets.length;i<a;){if(e===this.assets[i].id)return this.assets[i];i+=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,i,a){try{var l=this.renderer.getElementByPath(e);l.updateDocumentData(i,a)}catch{}},ut.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new rr(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 up(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new vn(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new fp(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new vp(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new rr(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new up(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new vn(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new fp(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new vp(e,this))},ut.prototype.triggerRenderFrameError=function(e){var i=new pb(e,this.currentFrame);this.triggerEvent("error",i),this.onError&&this.onError.call(this,i)},ut.prototype.triggerConfigError=function(e){var i=new mb(e,this.currentFrame);this.triggerEvent("error",i),this.onError&&this.onError.call(this,i)};var Qt=function(){var e={},i=[],a=0,l=0,h=0,c=!0,v=!1;function A(I){for(var P=0,f=I.target;P<l;)i[P].animation===f&&(i.splice(P,1),P-=1,l-=1,f.isPaused||G()),P+=1}function g(I,P){if(!I)return null;for(var f=0;f<l;){if(i[f].elem===I&&i[f].elem!==null)return i[f].animation;f+=1}var y=new ut;return T(y,I),y.setData(I,P),y}function k(){var I,P=i.length,f=[];for(I=0;I<P;I+=1)f.push(i[I].animation);return f}function R(){h+=1,yt()}function G(){h-=1}function T(I,P){I.addEventListener("destroy",A),I.addEventListener("_active",R),I.addEventListener("_idle",G),i.push({elem:P,animation:I}),l+=1}function O(I){var P=new ut;return T(P,null),P.setParams(I),P}function D(I,P){var f;for(f=0;f<l;f+=1)i[f].animation.setSpeed(I,P)}function M(I,P){var f;for(f=0;f<l;f+=1)i[f].animation.setDirection(I,P)}function V(I){var P;for(P=0;P<l;P+=1)i[P].animation.play(I)}function N(I){var P=I-a,f;for(f=0;f<l;f+=1)i[f].animation.advanceTime(P);a=I,h&&!v?window.requestAnimationFrame(N):c=!0}function C(I){a=I,window.requestAnimationFrame(N)}function E(I){var P;for(P=0;P<l;P+=1)i[P].animation.pause(I)}function S(I,P,f){var y;for(y=0;y<l;y+=1)i[y].animation.goToAndStop(I,P,f)}function w(I){var P;for(P=0;P<l;P+=1)i[P].animation.stop(I)}function F(I){var P;for(P=0;P<l;P+=1)i[P].animation.togglePause(I)}function H(I){var P;for(P=l-1;P>=0;P-=1)i[P].animation.destroy(I)}function W(I,P,f){var y=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),Y,$=y.length;for(Y=0;Y<$;Y+=1)f&&y[Y].setAttribute("data-bm-type",f),g(y[Y],I);if(P&&$===0){f||(f="svg");var nt=document.getElementsByTagName("body")[0];nt.innerText="";var ft=x("div");ft.style.width="100%",ft.style.height="100%",ft.setAttribute("data-bm-type",f),nt.appendChild(ft),g(ft,I)}}function et(){var I;for(I=0;I<l;I+=1)i[I].animation.resize()}function yt(){!v&&h&&c&&(window.requestAnimationFrame(C),c=!1)}function pt(){v=!0}function ot(){v=!1,yt()}function xt(I,P){var f;for(f=0;f<l;f+=1)i[f].animation.setVolume(I,P)}function ct(I){var P;for(P=0;P<l;P+=1)i[P].animation.mute(I)}function J(I){var P;for(P=0;P<l;P+=1)i[P].animation.unmute(I)}return e.registerAnimation=g,e.loadAnimation=O,e.setSpeed=D,e.setDirection=M,e.play=V,e.pause=E,e.stop=w,e.togglePause=F,e.searchAnimations=W,e.resize=et,e.goToAndStop=S,e.destroy=H,e.freeze=pt,e.unfreeze=ot,e.setVolume=xt,e.mute=ct,e.unmute=J,e.getRegisteredAnimations=k,e}(),Zs=function(){var e={};e.getBezierEasing=a;var i={};function a(C,E,S,w,F){var H=F||("bez_"+C+"_"+E+"_"+S+"_"+w).replace(/\./g,"p");if(i[H])return i[H];var W=new N([C,E,S,w]);return i[H]=W,W}var l=4,h=.001,c=1e-7,v=10,A=11,g=1/(A-1),k=typeof Float32Array=="function";function R(C,E){return 1-3*E+3*C}function G(C,E){return 3*E-6*C}function T(C){return 3*C}function O(C,E,S){return((R(E,S)*C+G(E,S))*C+T(E))*C}function D(C,E,S){return 3*R(E,S)*C*C+2*G(E,S)*C+T(E)}function M(C,E,S,w,F){var H,W,et=0;do W=E+(S-E)/2,H=O(W,w,F)-C,H>0?S=W:E=W;while(Math.abs(H)>c&&++et<v);return W}function V(C,E,S,w){for(var F=0;F<l;++F){var H=D(E,S,w);if(H===0)return E;var W=O(E,S,w)-C;E-=W/H}return E}function N(C){this._p=C,this._mSampleValues=k?new Float32Array(A):new Array(A),this._precomputed=!1,this.get=this.get.bind(this)}return N.prototype={get:function(E){var S=this._p[0],w=this._p[1],F=this._p[2],H=this._p[3];return this._precomputed||this._precompute(),S===w&&F===H?E:E===0?0:E===1?1:O(this._getTForX(E),w,H)},_precompute:function(){var E=this._p[0],S=this._p[1],w=this._p[2],F=this._p[3];this._precomputed=!0,(E!==S||w!==F)&&this._calcSampleValues()},_calcSampleValues:function(){for(var E=this._p[0],S=this._p[2],w=0;w<A;++w)this._mSampleValues[w]=O(w*g,E,S)},_getTForX:function(E){for(var S=this._p[0],w=this._p[2],F=this._mSampleValues,H=0,W=1,et=A-1;W!==et&&F[W]<=E;++W)H+=g;--W;var yt=(E-F[W])/(F[W+1]-F[W]),pt=H+yt*g,ot=D(pt,S,w);return ot>=h?V(E,pt,S,w):ot===0?pt:M(E,H,H+g,S,w)}},e}(),xp=function(){function e(i){return i.concat(it(i.length))}return{double:e}}(),En=function(){return function(e,i,a){var l=0,h=e,c=it(h),v={newElement:A,release:g};function A(){var k;return l?(l-=1,k=c[l]):k=i(),k}function g(k){l===h&&(c=xp.double(c),h*=2),a&&a(k),c[l]=k,l+=1}return v}}(),Ap=function(){function e(){return{addedLength:0,percents:X("float32",js()),lengths:X("float32",js())}}return En(8,e)}(),Sp=function(){function e(){return{lengths:[],totalLength:0}}function i(a){var l,h=a.lengths.length;for(l=0;l<h;l+=1)Ap.release(a.lengths[l]);a.lengths.length=0}return En(8,e,i)}();function Sb(){var e=Math;function i(T,O,D,M,V,N){var C=T*M+O*V+D*N-V*M-N*T-D*O;return C>-.001&&C<.001}function a(T,O,D,M,V,N,C,E,S){if(D===0&&N===0&&S===0)return i(T,O,M,V,C,E);var w=e.sqrt(e.pow(M-T,2)+e.pow(V-O,2)+e.pow(N-D,2)),F=e.sqrt(e.pow(C-T,2)+e.pow(E-O,2)+e.pow(S-D,2)),H=e.sqrt(e.pow(C-M,2)+e.pow(E-V,2)+e.pow(S-N,2)),W;return w>F?w>H?W=w-F-H:W=H-F-w:H>F?W=H-F-w:W=F-w-H,W>-1e-4&&W<1e-4}var l=function(){return function(T,O,D,M){var V=js(),N,C,E,S,w,F=0,H,W=[],et=[],yt=Ap.newElement();for(E=D.length,N=0;N<V;N+=1){for(w=N/(V-1),H=0,C=0;C<E;C+=1)S=Yt(1-w,3)*T[C]+3*Yt(1-w,2)*w*D[C]+3*(1-w)*Yt(w,2)*M[C]+Yt(w,3)*O[C],W[C]=S,et[C]!==null&&(H+=Yt(W[C]-et[C],2)),et[C]=W[C];H&&(H=Zt(H),F+=H),yt.percents[N]=w,yt.lengths[N]=F}return yt.addedLength=F,yt}}();function h(T){var O=Sp.newElement(),D=T.c,M=T.v,V=T.o,N=T.i,C,E=T._length,S=O.lengths,w=0;for(C=0;C<E-1;C+=1)S[C]=l(M[C],M[C+1],V[C],N[C+1]),w+=S[C].addedLength;return D&&E&&(S[C]=l(M[C],M[0],V[C],N[0]),w+=S[C].addedLength),O.totalLength=w,O}function c(T){this.segmentLength=0,this.points=new Array(T)}function v(T,O){this.partialLength=T,this.point=O}var A=function(){var T={};return function(O,D,M,V){var N=(O[0]+"_"+O[1]+"_"+D[0]+"_"+D[1]+"_"+M[0]+"_"+M[1]+"_"+V[0]+"_"+V[1]).replace(/\./g,"p");if(!T[N]){var C=js(),E,S,w,F,H,W=0,et,yt,pt=null;O.length===2&&(O[0]!==D[0]||O[1]!==D[1])&&i(O[0],O[1],D[0],D[1],O[0]+M[0],O[1]+M[1])&&i(O[0],O[1],D[0],D[1],D[0]+V[0],D[1]+V[1])&&(C=2);var ot=new c(C);for(w=M.length,E=0;E<C;E+=1){for(yt=it(w),H=E/(C-1),et=0,S=0;S<w;S+=1)F=Yt(1-H,3)*O[S]+3*Yt(1-H,2)*H*(O[S]+M[S])+3*(1-H)*Yt(H,2)*(D[S]+V[S])+Yt(H,3)*D[S],yt[S]=F,pt!==null&&(et+=Yt(yt[S]-pt[S],2));et=Zt(et),W+=et,ot.points[E]=new v(et,yt),pt=yt}ot.segmentLength=W,T[N]=ot}return T[N]}}();function g(T,O){var D=O.percents,M=O.lengths,V=D.length,N=ne((V-1)*T),C=T*O.addedLength,E=0;if(N===V-1||N===0||C===M[N])return D[N];for(var S=M[N]>C?-1:1,w=!0;w;)if(M[N]<=C&&M[N+1]>C?(E=(C-M[N])/(M[N+1]-M[N]),w=!1):N+=S,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,O,D,M,V,N){var C=g(V,N),E=1-C,S=e.round((E*E*E*T[0]+(C*E*E+E*C*E+E*E*C)*D[0]+(C*C*E+E*C*C+C*E*C)*M[0]+C*C*C*O[0])*1e3)/1e3,w=e.round((E*E*E*T[1]+(C*E*E+E*C*E+E*E*C)*D[1]+(C*C*E+E*C*C+C*E*C)*M[1]+C*C*C*O[1])*1e3)/1e3;return[S,w]}var R=X("float32",8);function G(T,O,D,M,V,N,C){V<0?V=0:V>1&&(V=1);var E=g(V,C);N=N>1?1:N;var S=g(N,C),w,F=T.length,H=1-E,W=1-S,et=H*H*H,yt=E*H*H*3,pt=E*E*H*3,ot=E*E*E,xt=H*H*W,ct=E*H*W+H*E*W+H*H*S,J=E*E*W+H*E*S+E*H*S,I=E*E*S,P=H*W*W,f=E*W*W+H*S*W+H*W*S,y=E*S*W+H*S*S+E*W*S,Y=E*S*S,$=W*W*W,nt=S*W*W+W*S*W+W*W*S,ft=S*S*W+W*S*S+S*W*S,Et=S*S*S;for(w=0;w<F;w+=1)R[w*4]=e.round((et*T[w]+yt*D[w]+pt*M[w]+ot*O[w])*1e3)/1e3,R[w*4+1]=e.round((xt*T[w]+ct*D[w]+J*M[w]+I*O[w])*1e3)/1e3,R[w*4+2]=e.round((P*T[w]+f*D[w]+y*M[w]+Y*O[w])*1e3)/1e3,R[w*4+3]=e.round(($*T[w]+nt*D[w]+ft*M[w]+Et*O[w])*1e3)/1e3;return R}return{getSegmentsLength:h,getNewSegment:G,getPointInSegment:k,buildBezierData:A,pointOnLine2D:i,pointOnLine3D:a}}var kr=Sb(),oo=r,Ip=Math.abs;function _p(e,i){var a=this.offsetTime,l;this.propType==="multidimensional"&&(l=X("float32",this.pv.length));for(var h=i.lastIndex,c=h,v=this.keyframes.length-1,A=!0,g,k,R;A;){if(g=this.keyframes[c],k=this.keyframes[c+1],c===v-1&&e>=k.t-a){g.h&&(g=k),h=0;break}if(k.t-a>e){h=c;break}c<v-1?c+=1:(h=0,A=!1)}R=this.keyframesMetadata[c]||{};var G,T,O,D,M,V,N=k.t-a,C=g.t-a,E;if(g.to){R.bezierData||(R.bezierData=kr.buildBezierData(g.s,k.s||g.e,g.to,g.ti));var S=R.bezierData;if(e>=N||e<C){var w=e>=N?S.points.length-1:0;for(T=S.points[w].point.length,G=0;G<T;G+=1)l[G]=S.points[w].point[G]}else{R.__fnct?V=R.__fnct:(V=Zs.getBezierEasing(g.o.x,g.o.y,g.i.x,g.i.y,g.n).get,R.__fnct=V),O=V((e-C)/(N-C));var F=S.segmentLength*O,H,W=i.lastFrame<e&&i._lastKeyframeIndex===c?i._lastAddedLength:0;for(M=i.lastFrame<e&&i._lastKeyframeIndex===c?i._lastPoint:0,A=!0,D=S.points.length;A;){if(W+=S.points[M].partialLength,F===0||O===0||M===S.points.length-1){for(T=S.points[M].point.length,G=0;G<T;G+=1)l[G]=S.points[M].point[G];break}else if(F>=W&&F<W+S.points[M+1].partialLength){for(H=(F-W)/S.points[M+1].partialLength,T=S.points[M].point.length,G=0;G<T;G+=1)l[G]=S.points[M].point[G]+(S.points[M+1].point[G]-S.points[M].point[G])*H;break}M<D-1?M+=1:A=!1}i._lastPoint=M,i._lastAddedLength=W-S.points[M].partialLength,i._lastKeyframeIndex=c}}else{var et,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<=C)l[0]=g.s[0],l[1]=g.s[1],l[2]=g.s[2];else{var ct=Cp(g.s),J=Cp(E),I=(e-C)/(N-C);_b(l,Ib(ct,J,I))}else for(c=0;c<v;c+=1)g.h!==1&&(e>=N?O=1:e<C?O=0:(g.o.x.constructor===Array?(R.__fnct||(R.__fnct=[]),R.__fnct[c]?V=R.__fnct[c]:(et=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=Zs.getBezierEasing(et,yt,pt,ot).get,R.__fnct[c]=V)):R.__fnct?V=R.__fnct:(et=g.o.x,yt=g.o.y,pt=g.i.x,ot=g.i.y,V=Zs.getBezierEasing(et,yt,pt,ot).get,g.keyframeMetadata=V),O=V((e-C)/(N-C)))),E=k.s||g.e,xt=g.h===1?g.s[c]:g.s[c]+(E[c]-g.s[c])*O,this.propType==="multidimensional"?l[c]=xt:l=xt}return i.lastIndex=h,l}function Ib(e,i,a){var l=[],h=e[0],c=e[1],v=e[2],A=e[3],g=i[0],k=i[1],R=i[2],G=i[3],T,O,D,M,V;return O=h*g+c*k+v*R+A*G,O<0&&(O=-O,g=-g,k=-k,R=-R,G=-G),1-O>1e-6?(T=Math.acos(O),D=Math.sin(T),M=Math.sin((1-a)*T)/D,V=Math.sin(a*T)/D):(M=1-a,V=a),l[0]=M*h+V*g,l[1]=M*c+V*k,l[2]=M*v+V*R,l[3]=M*A+V*G,l}function _b(e,i){var a=i[0],l=i[1],h=i[2],c=i[3],v=Math.atan2(2*l*c-2*a*h,1-2*l*l-2*h*h),A=Math.asin(2*a*l+2*h*c),g=Math.atan2(2*a*c-2*l*h,1-2*a*a-2*h*h);e[0]=v/kt,e[1]=A/kt,e[2]=g/kt}function Cp(e){var i=e[0]*kt,a=e[1]*kt,l=e[2]*kt,h=Math.cos(i/2),c=Math.cos(a/2),v=Math.cos(l/2),A=Math.sin(i/2),g=Math.sin(a/2),k=Math.sin(l/2),R=h*c*v-A*g*k,G=A*g*v+h*c*k,T=A*c*v+h*g*k,O=h*g*v-A*c*k;return[G,T,O,R]}function kp(){var e=this.comp.renderedFrame-this.offsetTime,i=this.keyframes[0].t-this.offsetTime,a=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==oo&&(this._caching.lastFrame>=a&&e>=a||this._caching.lastFrame<i&&e<i))){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 Tn(e){var i;if(this.propType==="unidimensional")i=e*this.mult,Ip(this.v-i)>1e-5&&(this.v=i,this._mdf=!0);else for(var a=0,l=this.v.length;a<l;)i=e[a]*this.mult,Ip(this.v[a]-i)>1e-5&&(this.v[a]=i,this._mdf=!0),a+=1}function xn(){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,i=this.effectsSequence.length,a=this.kf?this.pv:this.data.k;for(e=0;e<i;e+=1)a=this.effectsSequence[e](a);this.setVValue(a),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function An(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function Cb(e,i,a,l){this.propType="unidimensional",this.mult=a||1,this.data=i,this.v=a?i.k*a:i.k,this.pv=i.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=xn,this.setVValue=Tn,this.addEffect=An}function kb(e,i,a,l){this.propType="multidimensional",this.mult=a||1,this.data=i,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=i.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]=i.k[h]*this.mult,this.pv[h]=i.k[h];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=xn,this.setVValue=Tn,this.addEffect=An}function wb(e,i,a,l){this.propType="unidimensional",this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:oo,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=i,this.mult=a||1,this.elem=e,this.container=l,this.comp=e.comp,this.v=oo,this.pv=oo,this._isFirstFrame=!0,this.getValue=xn,this.setVValue=Tn,this.interpolateValue=_p,this.effectsSequence=[kp.bind(this)],this.addEffect=An}function Nb(e,i,a,l){this.propType="multidimensional";var h,c=i.k.length,v,A,g,k;for(h=0;h<c-1;h+=1)i.k[h].to&&i.k[h].s&&i.k[h+1]&&i.k[h+1].s&&(v=i.k[h].s,A=i.k[h+1].s,g=i.k[h].to,k=i.k[h].ti,(v.length===2&&!(v[0]===A[0]&&v[1]===A[1])&&kr.pointOnLine2D(v[0],v[1],A[0],A[1],v[0]+g[0],v[1]+g[1])&&kr.pointOnLine2D(v[0],v[1],A[0],A[1],A[0]+k[0],A[1]+k[1])||v.length===3&&!(v[0]===A[0]&&v[1]===A[1]&&v[2]===A[2])&&kr.pointOnLine3D(v[0],v[1],v[2],A[0],A[1],A[2],v[0]+g[0],v[1]+g[1],v[2]+g[2])&&kr.pointOnLine3D(v[0],v[1],v[2],A[0],A[1],A[2],A[0]+k[0],A[1]+k[1],A[2]+k[2]))&&(i.k[h].to=null,i.k[h].ti=null),v[0]===A[0]&&v[1]===A[1]&&g[0]===0&&g[1]===0&&k[0]===0&&k[1]===0&&(v.length===2||v[2]===A[2]&&g[2]===0&&k[2]===0)&&(i.k[h].to=null,i.k[h].ti=null));this.effectsSequence=[kp.bind(this)],this.data=i,this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=a||1,this.elem=e,this.container=l,this.comp=e.comp,this.getValue=xn,this.setVValue=Tn,this.interpolateValue=_p,this.frameId=-1;var R=i.k[0].s.length;for(this.v=X("float32",R),this.pv=X("float32",R),h=0;h<R;h+=1)this.v[h]=oo,this.pv[h]=oo;this._caching={lastFrame:oo,lastIndex:0,value:X("float32",R)},this.addEffect=An}var at=function(){function e(a,l,h,c,v){l.sid&&(l=a.globalData.slotManager.getProp(l));var A;if(!l.k.length)A=new Cb(a,l,c,v);else if(typeof l.k[0]=="number")A=new kb(a,l,c,v);else switch(h){case 0:A=new wb(a,l,c,v);break;case 1:A=new Nb(a,l,c,v);break;default:break}return A.effectsSequence.length&&v.addDynamicProperty(A),A}var i={getProp:e};return i}();function le(){}le.prototype={addDynamicProperty:function(i){this.dynamicProperties.indexOf(i)===-1&&(this.dynamicProperties.push(i),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var i,a=this.dynamicProperties.length;for(i=0;i<a;i+=1)this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(i){this.container=i,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var so=function(){function e(){return X("float32",2)}return En(8,e)}();function Wr(){this.c=!1,this._length=0,this._maxLength=8,this.v=it(this._maxLength),this.o=it(this._maxLength),this.i=it(this._maxLength)}Wr.prototype.setPathData=function(e,i){this.c=e,this.setLength(i);for(var a=0;a<i;)this.v[a]=so.newElement(),this.o[a]=so.newElement(),this.i[a]=so.newElement(),a+=1},Wr.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},Wr.prototype.doubleArrayLength=function(){this.v=this.v.concat(it(this._maxLength)),this.i=this.i.concat(it(this._maxLength)),this.o=this.o.concat(it(this._maxLength)),this._maxLength*=2},Wr.prototype.setXYAt=function(e,i,a,l,h){var c;switch(this._length=Math.max(this._length,l+1),this._length>=this._maxLength&&this.doubleArrayLength(),a){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]=so.newElement()),c[l][0]=e,c[l][1]=i},Wr.prototype.setTripleAt=function(e,i,a,l,h,c,v,A){this.setXYAt(e,i,"v",v,A),this.setXYAt(a,l,"o",v,A),this.setXYAt(h,c,"i",v,A)},Wr.prototype.reverse=function(){var e=new Wr;e.setPathData(this.c,this._length);var i=this.v,a=this.o,l=this.i,h=0;this.c&&(e.setTripleAt(i[0][0],i[0][1],l[0][0],l[0][1],a[0][0],a[0][1],0,!1),h=1);var c=this._length-1,v=this._length,A;for(A=h;A<v;A+=1)e.setTripleAt(i[c][0],i[c][1],l[c][0],l[c][1],a[c][0],a[c][1],A,!1),c-=1;return e},Wr.prototype.length=function(){return this._length};var ue=function(){function e(){return new Wr}function i(h){var c=h._length,v;for(v=0;v<c;v+=1)so.release(h.v[v]),so.release(h.i[v]),so.release(h.o[v]),h.v[v]=null,h.i[v]=null,h.o[v]=null;h._length=0,h.c=!1}function a(h){var c=l.newElement(),v,A=h._length===void 0?h.v.length:h._length;for(c.setLength(A),c.c=h.c,v=0;v<A;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=En(4,e,i);return l.clone=a,l}();function Ld(){this._length=0,this._maxLength=4,this.shapes=it(this._maxLength)}Ld.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(it(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},Ld.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)ue.release(this.shapes[e]);this._length=0};var qo=function(){var e={newShapeCollection:h,release:c},i=0,a=4,l=it(a);function h(){var v;return i?(i-=1,v=l[i]):v=new Ld,v}function c(v){var A,g=v._length;for(A=0;A<g;A+=1)ue.release(v.shapes[A]);v._length=0,i===a&&(l=xp.double(l),a*=2),l[i]=v,i+=1}return e}(),Sn=function(){var e=-999999;function i(N,C,E){var S=E.lastIndex,w,F,H,W,et,yt,pt,ot,xt,ct=this.keyframes;if(N<ct[0].t-this.offsetTime)w=ct[0].s[0],H=!0,S=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],H=!0;else{for(var J=S,I=ct.length-1,P=!0,f,y,Y;P&&(f=ct[J],y=ct[J+1],!(y.t-this.offsetTime>N));)J<I-1?J+=1:P=!1;if(Y=this.keyframesMetadata[J]||{},H=f.h===1,S=J,!H){if(N>=y.t-this.offsetTime)ot=1;else if(N<f.t-this.offsetTime)ot=0;else{var $;Y.__fnct?$=Y.__fnct:($=Zs.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,Y.__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=C._length,pt=w.i[0].length,E.lastIndex=S,W=0;W<yt;W+=1)for(et=0;et<pt;et+=1)xt=H?w.i[W][et]:w.i[W][et]+(F.i[W][et]-w.i[W][et])*ot,C.i[W][et]=xt,xt=H?w.o[W][et]:w.o[W][et]+(F.o[W][et]-w.o[W][et])*ot,C.o[W][et]=xt,xt=H?w.v[W][et]:w.v[W][et]+(F.v[W][et]-w.v[W][et])*ot,C.v[W][et]=xt}function a(){var N=this.comp.renderedFrame-this.offsetTime,C=this.keyframes[0].t-this.offsetTime,E=this.keyframes[this.keyframes.length-1].t-this.offsetTime,S=this._caching.lastFrame;return S!==e&&(S<C&&N<C||S>E&&N>E)||(this._caching.lastIndex=S<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,C){if(N._length!==C._length||N.c!==C.c)return!1;var E,S=N._length;for(E=0;E<S;E+=1)if(N.v[E][0]!==C.v[E][0]||N.v[E][1]!==C.v[E][1]||N.o[E][0]!==C.o[E][0]||N.o[E][1]!==C.o[E][1]||N.i[E][0]!==C.i[E][0]||N.i[E][1]!==C.i[E][1])return!1;return!0}function c(N){h(this.v,N)||(this.v=ue.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 C,E=this.effectsSequence.length;for(C=0;C<E;C+=1)N=this.effectsSequence[C](N);this.setVValue(N),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function A(N,C,E){this.propType="shape",this.comp=N.comp,this.container=N,this.elem=N,this.data=C,this.k=!1,this.kf=!1,this._mdf=!1;var S=E===3?C.pt.k:C.ks.k;this.v=ue.clone(S),this.pv=ue.clone(this.v),this.localShapeCollection=qo.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)}A.prototype.interpolateShape=i,A.prototype.getValue=v,A.prototype.setVValue=c,A.prototype.addEffect=g;function k(N,C,E){this.propType="shape",this.comp=N.comp,this.elem=N,this.container=N,this.offsetTime=N.data.st,this.keyframes=E===3?C.pt.k:C.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var S=this.keyframes[0].s[0].i.length;this.v=ue.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,S),this.pv=ue.clone(this.v),this.localShapeCollection=qo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=l,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[a.bind(this)]}k.prototype.getValue=v,k.prototype.interpolateShape=i,k.prototype.setVValue=c,k.prototype.addEffect=g;var R=function(){var N=me;function C(E,S){this.v=ue.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=qo.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=S.d,this.elem=E,this.comp=E.comp,this.frameId=-1,this.initDynamicPropertyContainer(E),this.p=at.getProp(E,S.p,1,0,this),this.s=at.getProp(E,S.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return C.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 S=this.p.v[0],w=this.p.v[1],F=this.s.v[0]/2,H=this.s.v[1]/2,W=this.d!==3,et=this.v;et.v[0][0]=S,et.v[0][1]=w-H,et.v[1][0]=W?S+F:S-F,et.v[1][1]=w,et.v[2][0]=S,et.v[2][1]=w+H,et.v[3][0]=W?S-F:S+F,et.v[3][1]=w,et.i[0][0]=W?S-F*N:S+F*N,et.i[0][1]=w-H,et.i[1][0]=W?S+F:S-F,et.i[1][1]=w-H*N,et.i[2][0]=W?S+F*N:S-F*N,et.i[2][1]=w+H,et.i[3][0]=W?S-F:S+F,et.i[3][1]=w+H*N,et.o[0][0]=W?S+F*N:S-F*N,et.o[0][1]=w-H,et.o[1][0]=W?S+F:S-F,et.o[1][1]=w+H*N,et.o[2][0]=W?S-F*N:S+F*N,et.o[2][1]=w+H,et.o[3][0]=W?S-F:S+F,et.o[3][1]=w-H*N}},L([le],C),C}(),G=function(){function N(C,E){this.v=ue.newElement(),this.v.setPathData(!0,0),this.elem=C,this.comp=C.comp,this.data=E,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(C),E.sy===1?(this.ir=at.getProp(C,E.ir,0,0,this),this.is=at.getProp(C,E.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=at.getProp(C,E.pt,0,0,this),this.p=at.getProp(C,E.p,1,0,this),this.r=at.getProp(C,E.r,0,kt,this),this.or=at.getProp(C,E.or,0,0,this),this.os=at.getProp(C,E.os,0,.01,this),this.localShapeCollection=qo.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,S=Math.PI*2/E,w=!0,F=this.or.v,H=this.ir.v,W=this.os.v,et=this.is.v,yt=2*Math.PI*F/(E*2),pt=2*Math.PI*H/(E*2),ot,xt,ct,J,I=-Math.PI/2;I+=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:H,ct=w?W:et,J=w?yt:pt;var f=xt*Math.cos(I),y=xt*Math.sin(I),Y=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-Y*J*ct*P,y-$*J*ct*P,f+Y*J*ct*P,y+$*J*ct*P,ot,!0),w=!w,I+=S*P}},convertPolygonToPath:function(){var E=Math.floor(this.pt.v),S=Math.PI*2/E,w=this.or.v,F=this.os.v,H=2*Math.PI*w/(E*4),W,et=-Math.PI*.5,yt=this.data.d===3?-1:1;for(et+=this.r.v,this.v._length=0,W=0;W<E;W+=1){var pt=w*Math.cos(et),ot=w*Math.sin(et),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*H*F*yt,ot-ct*H*F*yt,pt+xt*H*F*yt,ot+ct*H*F*yt,W,!0),et+=S*yt}this.paths.length=0,this.paths[0]=this.v}},L([le],N),N}(),T=function(){function N(C,E){this.v=ue.newElement(),this.v.c=!0,this.localShapeCollection=qo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=C,this.comp=C.comp,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(C),this.p=at.getProp(C,E.p,1,0,this),this.s=at.getProp(C,E.s,1,0,this),this.r=at.getProp(C,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],S=this.p.v[1],w=this.s.v[0]/2,F=this.s.v[1]/2,H=Ne(w,F,this.r.v),W=H*(1-me);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(E+w,S-F+H,E+w,S-F+H,E+w,S-F+W,0,!0),this.v.setTripleAt(E+w,S+F-H,E+w,S+F-W,E+w,S+F-H,1,!0),H!==0?(this.v.setTripleAt(E+w-H,S+F,E+w-H,S+F,E+w-W,S+F,2,!0),this.v.setTripleAt(E-w+H,S+F,E-w+W,S+F,E-w+H,S+F,3,!0),this.v.setTripleAt(E-w,S+F-H,E-w,S+F-H,E-w,S+F-W,4,!0),this.v.setTripleAt(E-w,S-F+H,E-w,S-F+W,E-w,S-F+H,5,!0),this.v.setTripleAt(E-w+H,S-F,E-w+H,S-F,E-w+W,S-F,6,!0),this.v.setTripleAt(E+w-H,S-F,E+w-W,S-F,E+w-H,S-F,7,!0)):(this.v.setTripleAt(E-w,S+F,E-w+W,S+F,E-w,S+F,2),this.v.setTripleAt(E-w,S-F,E-w,S-F+W,E-w,S-F,3))):(this.v.setTripleAt(E+w,S-F+H,E+w,S-F+W,E+w,S-F+H,0,!0),H!==0?(this.v.setTripleAt(E+w-H,S-F,E+w-H,S-F,E+w-W,S-F,1,!0),this.v.setTripleAt(E-w+H,S-F,E-w+W,S-F,E-w+H,S-F,2,!0),this.v.setTripleAt(E-w,S-F+H,E-w,S-F+H,E-w,S-F+W,3,!0),this.v.setTripleAt(E-w,S+F-H,E-w,S+F-W,E-w,S+F-H,4,!0),this.v.setTripleAt(E-w+H,S+F,E-w+H,S+F,E-w+W,S+F,5,!0),this.v.setTripleAt(E+w-H,S+F,E+w-W,S+F,E+w-H,S+F,6,!0),this.v.setTripleAt(E+w,S+F-H,E+w,S+F-H,E+w,S+F-W,7,!0)):(this.v.setTripleAt(E-w,S-F,E-w+W,S-F,E-w,S-F,1,!0),this.v.setTripleAt(E-w,S+F,E-w,S+F-W,E-w,S+F,2,!0),this.v.setTripleAt(E+w,S+F,E+w-W,S+F,E+w,S+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([le],N),N}();function O(N,C,E){var S;if(E===3||E===4){var w=E===3?C.pt:C.ks,F=w.k;F.length?S=new k(N,C,E):S=new A(N,C,E)}else E===5?S=new T(N,C):E===6?S=new R(N,C):E===7&&(S=new G(N,C));return S.k&&N.addDynamicProperty(S),S}function D(){return A}function M(){return k}var V={};return V.getShapeProp=O,V.getConstructorFunction=D,V.getKeyframedConstructorFunction=M,V}();var fe=function(){var e=Math.cos,i=Math.sin,a=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),Y=i(f);return this._t(y,-Y,0,0,Y,y,0,0,0,0,1,0,0,0,0,1)}function v(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(1,0,0,0,0,y,-Y,0,0,Y,y,0,0,0,0,1)}function A(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(y,0,Y,0,0,1,0,0,-Y,0,y,0,0,0,0,1)}function g(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(y,-Y,0,0,Y,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 R(f,y){return this.shear(a(f),a(y))}function G(f,y){var Y=e(y),$=i(y);return this._t(Y,$,0,0,-$,Y,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,a(f),1,0,0,0,0,1,0,0,0,0,1)._t(Y,-$,0,0,$,Y,0,0,0,0,1,0,0,0,0,1)}function T(f,y,Y){return!Y&&Y!==0&&(Y=1),f===1&&y===1&&Y===1?this:this._t(f,0,0,0,0,y,0,0,0,0,Y,0,0,0,0,1)}function O(f,y,Y,$,nt,ft,Et,Rt,Ot,Jt,Oe,Nr,Me,de,Ye,Dt){return this.props[0]=f,this.props[1]=y,this.props[2]=Y,this.props[3]=$,this.props[4]=nt,this.props[5]=ft,this.props[6]=Et,this.props[7]=Rt,this.props[8]=Ot,this.props[9]=Jt,this.props[10]=Oe,this.props[11]=Nr,this.props[12]=Me,this.props[13]=de,this.props[14]=Ye,this.props[15]=Dt,this}function D(f,y,Y){return Y=Y||0,f!==0||y!==0||Y!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,f,y,Y,1):this}function M(f,y,Y,$,nt,ft,Et,Rt,Ot,Jt,Oe,Nr,Me,de,Ye,Dt){var ht=this.props;if(f===1&&y===0&&Y===0&&$===0&&nt===0&&ft===1&&Et===0&&Rt===0&&Ot===0&&Jt===0&&Oe===1&&Nr===0)return ht[12]=ht[12]*f+ht[15]*Me,ht[13]=ht[13]*ft+ht[15]*de,ht[14]=ht[14]*Oe+ht[15]*Ye,ht[15]*=Dt,this._identityCalculated=!1,this;var qr=ht[0],Ii=ht[1],Xr=ht[2],Lr=ht[3],Zr=ht[4],Qr=ht[5],Pe=ht[6],_i=ht[7],Ci=ht[8],yr=ht[9],ki=ht[10],Er=ht[11],co=ht[12],On=ht[13],Mn=ht[14],Pn=ht[15];return ht[0]=qr*f+Ii*nt+Xr*Ot+Lr*Me,ht[1]=qr*y+Ii*ft+Xr*Jt+Lr*de,ht[2]=qr*Y+Ii*Et+Xr*Oe+Lr*Ye,ht[3]=qr*$+Ii*Rt+Xr*Nr+Lr*Dt,ht[4]=Zr*f+Qr*nt+Pe*Ot+_i*Me,ht[5]=Zr*y+Qr*ft+Pe*Jt+_i*de,ht[6]=Zr*Y+Qr*Et+Pe*Oe+_i*Ye,ht[7]=Zr*$+Qr*Rt+Pe*Nr+_i*Dt,ht[8]=Ci*f+yr*nt+ki*Ot+Er*Me,ht[9]=Ci*y+yr*ft+ki*Jt+Er*de,ht[10]=Ci*Y+yr*Et+ki*Oe+Er*Ye,ht[11]=Ci*$+yr*Rt+ki*Nr+Er*Dt,ht[12]=co*f+On*nt+Mn*Ot+Pn*Me,ht[13]=co*y+On*ft+Mn*Jt+Pn*de,ht[14]=co*Y+On*Et+Mn*Oe+Pn*Ye,ht[15]=co*$+On*Rt+Mn*Nr+Pn*Dt,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 C(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 S(f){var y;for(y=0;y<16;y+=1)this.props[y]=f[y]}function w(f,y,Y){return{x:f*this.props[0]+y*this.props[4]+Y*this.props[8]+this.props[12],y:f*this.props[1]+y*this.props[5]+Y*this.props[9]+this.props[13],z:f*this.props[2]+y*this.props[6]+Y*this.props[10]+this.props[14]}}function F(f,y,Y){return f*this.props[0]+y*this.props[4]+Y*this.props[8]+this.props[12]}function H(f,y,Y){return f*this.props[1]+y*this.props[5]+Y*this.props[9]+this.props[13]}function W(f,y,Y){return f*this.props[2]+y*this.props[6]+Y*this.props[10]+this.props[14]}function et(){var f=this.props[0]*this.props[5]-this.props[1]*this.props[4],y=this.props[5]/f,Y=-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,Rt=new fe;return Rt.props[0]=y,Rt.props[1]=Y,Rt.props[4]=$,Rt.props[5]=nt,Rt.props[12]=ft,Rt.props[13]=Et,Rt}function yt(f){var y=this.getInverseMatrix();return y.applyToPointArray(f[0],f[1],f[2]||0)}function pt(f){var y,Y=f.length,$=[];for(y=0;y<Y;y+=1)$[y]=yt(f[y]);return $}function ot(f,y,Y){var $=X("float32",6);if(this.isIdentity())$[0]=f[0],$[1]=f[1],$[2]=y[0],$[3]=y[1],$[4]=Y[0],$[5]=Y[1];else{var nt=this.props[0],ft=this.props[1],Et=this.props[4],Rt=this.props[5],Ot=this.props[12],Jt=this.props[13];$[0]=f[0]*nt+f[1]*Et+Ot,$[1]=f[0]*ft+f[1]*Rt+Jt,$[2]=y[0]*nt+y[1]*Et+Ot,$[3]=y[0]*ft+y[1]*Rt+Jt,$[4]=Y[0]*nt+Y[1]*Et+Ot,$[5]=Y[0]*ft+Y[1]*Rt+Jt}return $}function xt(f,y,Y){var $;return this.isIdentity()?$=[f,y,Y]:$=[f*this.props[0]+y*this.props[4]+Y*this.props[8]+this.props[12],f*this.props[1]+y*this.props[5]+Y*this.props[9]+this.props[13],f*this.props[2]+y*this.props[6]+Y*this.props[10]+this.props[14]],$}function ct(f,y){if(this.isIdentity())return f+","+y;var Y=this.props;return Math.round((f*Y[0]+y*Y[4]+Y[12])*100)/100+","+Math.round((f*Y[1]+y*Y[5]+Y[13])*100)/100}function J(){for(var f=0,y=this.props,Y="matrix3d(",$=1e4;f<16;)Y+=l(y[f]*$)/$,Y+=f===15?")":",",f+=1;return Y}function I(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=I(f[0]),Y=I(f[1]),$=I(f[4]),nt=I(f[5]),ft=I(f[12]),Et=I(f[13]);return"matrix("+y+","+Y+","+$+","+nt+","+ft+","+Et+")"}return function(){this.reset=h,this.rotate=c,this.rotateX=v,this.rotateY=A,this.rotateZ=g,this.skew=R,this.skewFromAxis=G,this.shear=k,this.scale=T,this.setTransform=O,this.translate=D,this.transform=M,this.multiply=V,this.applyToPoint=w,this.applyToX=F,this.applyToY=H,this.applyToZ=W,this.applyToPointArray=xt,this.applyToTriplePoints=ot,this.applyToPointStringified=ct,this.toCSS=J,this.to2dCSS=P,this.clone=E,this.cloneFromProps=S,this.equals=C,this.inversePoints=pt,this.inversePoint=yt,this.getInverseMatrix=et,this._t=this.transform,this.isIdentity=N,this._identity=!0,this._identityCalculated=!1,this.props=X("float32",16),this.reset()}}();function In(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?In=function(a){return typeof a}:In=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},In(e)}var Mt={},_n="__[STANDALONE]__",wp="__[ANIMATIONDATA]__",Np="";function Lb(e){m(e)}function Lp(){_n===!0?Qt.searchAnimations(wp,_n,Np):Qt.searchAnimations()}function Rb(e){ub(e)}function Ob(e){gb(e)}function Mb(e){return _n===!0&&(e.animationData=JSON.parse(wp)),Qt.loadAnimation(e)}function Pb(e){if(typeof e=="string")switch(e){case"high":bn(200);break;default:case"medium":bn(50);break;case"low":bn(10);break}else!isNaN(e)&&e>1&&bn(e);js()>=50?Je(!1):Je(!0)}function Db(){return typeof navigator<"u"}function Fb(e,i){e==="expressions"&&vb(i)}function $b(e){switch(e){case"propertyFactory":return at;case"shapePropertyFactory":return Sn;case"matrix":return fe;default:return null}}Mt.play=Qt.play,Mt.pause=Qt.pause,Mt.setLocationHref=Lb,Mt.togglePause=Qt.togglePause,Mt.setSpeed=Qt.setSpeed,Mt.setDirection=Qt.setDirection,Mt.stop=Qt.stop,Mt.searchAnimations=Lp,Mt.registerAnimation=Qt.registerAnimation,Mt.loadAnimation=Mb,Mt.setSubframeRendering=Rb,Mt.resize=Qt.resize,Mt.goToAndStop=Qt.goToAndStop,Mt.destroy=Qt.destroy,Mt.setQuality=Pb,Mt.inBrowser=Db,Mt.installPlugin=Fb,Mt.freeze=Qt.freeze,Mt.unfreeze=Qt.unfreeze,Mt.setVolume=Qt.setVolume,Mt.mute=Qt.mute,Mt.unmute=Qt.unmute,Mt.getRegisteredAnimations=Qt.getRegisteredAnimations,Mt.useWebWorker=s,Mt.setIDPrefix=Ob,Mt.__getFactory=$b,Mt.version="5.12.2";function zb(){document.readyState==="complete"&&(clearInterval(Ub),Lp())}function Vb(e){for(var i=Rp.split("&"),a=0;a<i.length;a+=1){var l=i[a].split("=");if(decodeURIComponent(l[0])==e)return decodeURIComponent(l[1])}return null}var Rp="";if(_n){var Op=document.getElementsByTagName("script"),Bb=Op.length-1,Mp=Op[Bb]||{src:""};Rp=Mp.src?Mp.src.replace(/^[^\?]+\??/,""):"",Np=Vb("renderer")}var Ub=setInterval(zb,100);try{!((typeof _a>"u"?"undefined":In(_a))==="object"&&typeof ll<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Mt)}catch{}var yi=function(){var e={},i={};e.registerModifier=a,e.getModifier=l;function a(h,c){i[h]||(i[h]=c)}function l(h,c,v){return new i[h](c,v)}return e}();function ir(){}ir.prototype.initModifierProperties=function(){},ir.prototype.addShapeToModifier=function(){},ir.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var i={shape:e.sh,data:e,localShapeCollection:qo.newShapeCollection()};this.shapes.push(i),this.addShapeToModifier(i),this._isAnimated&&e.setAsAnimated()}},ir.prototype.init=function(e,i){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,i),this.frameId=r,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ir.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},L([le],ir);function br(){}L([ir],br),br.prototype.initModifierProperties=function(e,i){this.s=at.getProp(e,i.s,0,.01,this),this.e=at.getProp(e,i.e,0,.01,this),this.o=at.getProp(e,i.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=i.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},br.prototype.addShapeToModifier=function(e){e.pathsData=[]},br.prototype.calculateShapeEdges=function(e,i,a,l,h){var c=[];i<=1?c.push({s:e,e:i}):e>=1?c.push({s:e-1,e:i-1}):(c.push({s:e,e:1}),c.push({s:0,e:i-1}));var v=[],A,g=c.length,k;for(A=0;A<g;A+=1)if(k=c[A],!(k.e*h<l||k.s*h>l+a)){var R,G;k.s*h<=l?R=0:R=(k.s*h-l)/a,k.e*h>=l+a?G=1:G=(k.e*h-l)/a,v.push([R,G])}return v.length||v.push([0,0]),v},br.prototype.releasePathsData=function(e){var i,a=e.length;for(i=0;i<a;i+=1)Sp.release(e[i]);return e.length=0,e},br.prototype.processShapes=function(e){var i,a;if(this._mdf||e){var l=this.o.v%360/360;if(l<0&&(l+=1),this.s.v>1?i=1+l:this.s.v<0?i=0+l:i=this.s.v+l,this.e.v>1?a=1+l:this.e.v<0?a=0+l:a=this.e.v+l,i>a){var h=i;i=a,a=h}i=Math.round(i*1e4)*1e-4,a=Math.round(a*1e4)*1e-4,this.sValue=i,this.eValue=a}else i=this.sValue,a=this.eValue;var c,v,A=this.shapes.length,g,k,R,G,T,O=0;if(a===i)for(v=0;v<A;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(a===1&&i===0||a===0&&i===1){if(this._mdf)for(v=0;v<A;v+=1)this.shapes[v].pathsData.length=0,this.shapes[v].shape._mdf=!0}else{var D=[],M,V;for(v=0;v<A;v+=1)if(M=this.shapes[v],!M.shape._mdf&&!this._mdf&&!e&&this.m!==2)M.shape.paths=M.localShapeCollection;else{if(c=M.shape.paths,k=c._length,T=0,!M.shape._mdf&&M.pathsData.length)T=M.totalShapeLength;else{for(R=this.releasePathsData(M.pathsData),g=0;g<k;g+=1)G=kr.getSegmentsLength(c.shapes[g]),R.push(G),T+=G.totalLength;M.totalShapeLength=T,M.pathsData=R}O+=T,M.shape._mdf=!0}var N=i,C=a,E=0,S;for(v=A-1;v>=0;v-=1)if(M=this.shapes[v],M.shape._mdf){for(V=M.localShapeCollection,V.releaseShapes(),this.m===2&&A>1?(S=this.calculateShapeEdges(i,a,M.totalShapeLength,E,O),E+=M.totalShapeLength):S=[[N,C]],k=S.length,g=0;g<k;g+=1){N=S[g][0],C=S[g][1],D.length=0,C<=1?D.push({s:M.totalShapeLength*N,e:M.totalShapeLength*C}):N>=1?D.push({s:M.totalShapeLength*(N-1),e:M.totalShapeLength*(C-1)}):(D.push({s:M.totalShapeLength*N,e:M.totalShapeLength}),D.push({s:0,e:M.totalShapeLength*(C-1)}));var w=this.addShapes(M,D[0]);if(D[0].s!==D[0].e){if(D.length>1){var F=M.shape.paths.shapes[M.shape.paths._length-1];if(F.c){var H=w.pop();this.addPaths(w,V),w=this.addShapes(M,D[1],H)}else this.addPaths(w,V),w=this.addShapes(M,D[1])}this.addPaths(w,V)}}M.shape.paths=V}}},br.prototype.addPaths=function(e,i){var a,l=e.length;for(a=0;a<l;a+=1)i.addShape(e[a])},br.prototype.addSegment=function(e,i,a,l,h,c,v){h.setXYAt(i[0],i[1],"o",c),h.setXYAt(a[0],a[1],"i",c+1),v&&h.setXYAt(e[0],e[1],"v",c),h.setXYAt(l[0],l[1],"v",c+1)},br.prototype.addSegmentFromArray=function(e,i,a,l){i.setXYAt(e[1],e[5],"o",a),i.setXYAt(e[2],e[6],"i",a+1),l&&i.setXYAt(e[0],e[4],"v",a),i.setXYAt(e[3],e[7],"v",a+1)},br.prototype.addShapes=function(e,i,a){var l=e.pathsData,h=e.shape.paths.shapes,c,v=e.shape.paths._length,A,g,k=0,R,G,T,O,D=[],M,V=!0;for(a?(G=a._length,M=a._length):(a=ue.newElement(),G=0,M=0),D.push(a),c=0;c<v;c+=1){for(T=l[c].lengths,a.c=h[c].c,g=h[c].c?T.length:T.length+1,A=1;A<g;A+=1)if(R=T[A-1],k+R.addedLength<i.s)k+=R.addedLength,a.c=!1;else if(k>i.e){a.c=!1;break}else i.s<=k&&i.e>=k+R.addedLength?(this.addSegment(h[c].v[A-1],h[c].o[A-1],h[c].i[A],h[c].v[A],a,G,V),V=!1):(O=kr.getNewSegment(h[c].v[A-1],h[c].v[A],h[c].o[A-1],h[c].i[A],(i.s-k)/R.addedLength,(i.e-k)/R.addedLength,T[A-1]),this.addSegmentFromArray(O,a,G,V),V=!1,a.c=!1),k+=R.addedLength,G+=1;if(h[c].c&&T.length){if(R=T[A-1],k<=i.e){var N=T[A-1].addedLength;i.s<=k&&i.e>=k+N?(this.addSegment(h[c].v[A-1],h[c].o[A-1],h[c].i[0],h[c].v[0],a,G,V),V=!1):(O=kr.getNewSegment(h[c].v[A-1],h[c].v[0],h[c].o[A-1],h[c].i[0],(i.s-k)/N,(i.e-k)/N,T[A-1]),this.addSegmentFromArray(O,a,G,V),V=!1,a.c=!1)}else a.c=!1;k+=R.addedLength,G+=1}if(a._length&&(a.setXYAt(a.v[M][0],a.v[M][1],"i",M),a.setXYAt(a.v[a._length-1][0],a.v[a._length-1][1],"o",a._length-1)),k>i.e)break;c<v-1&&(a=ue.newElement(),V=!0,D.push(a),G=0)}return D};function Qs(){}L([ir],Qs),Qs.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amount=at.getProp(e,i.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Qs.prototype.processPath=function(e,i){var a=i/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=ue.newElement();v.c=e.c;var A,g,k,R,G,T;for(c=0;c<h;c+=1)A=e.v[c][0]+(l[0]-e.v[c][0])*a,g=e.v[c][1]+(l[1]-e.v[c][1])*a,k=e.o[c][0]+(l[0]-e.o[c][0])*-a,R=e.o[c][1]+(l[1]-e.o[c][1])*-a,G=e.i[c][0]+(l[0]-e.i[c][0])*-a,T=e.i[c][1]+(l[1]-e.i[c][1])*-a,v.setTripleAt(A,g,k,R,G,T,c);return v},Qs.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.amount.v;if(v!==0){var A,g;for(a=0;a<l;a+=1){if(A=this.shapes[a],g=A.localShapeCollection,!(!A.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),A.shape._mdf=!0,i=A.shape.paths.shapes,c=A.shape.paths._length,h=0;h<c;h+=1)g.addShape(this.processPath(i[h],v));A.shape.paths=A.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Rd=function(){var e=[0,0];function i(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 a(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 R,G;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?(R=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/k,0),G=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?(R=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/k,0),G=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/k,0)):(R=this.p.pv,G=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){R=[],G=[];var T=this.px,O=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(R[0]=T.getValueAtTime((T.keyframes[0].t+.01)/k,0),R[1]=O.getValueAtTime((O.keyframes[0].t+.01)/k,0),G[0]=T.getValueAtTime(T.keyframes[0].t/k,0),G[1]=O.getValueAtTime(O.keyframes[0].t/k,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(R[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/k,0),R[1]=O.getValueAtTime(O.keyframes[O.keyframes.length-1].t/k,0),G[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/k,0),G[1]=O.getValueAtTime((O.keyframes[O.keyframes.length-1].t-.01)/k,0)):(R=[T.pv,O.pv],G[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/k,T.offsetTime),G[1]=O.getValueAtTime((O._caching.lastFrame+O.offsetTime-.01)/k,O.offsetTime))}else G=e,R=G;this.v.rotate(-Math.atan2(R[1]-G[1],R[0]-G[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,R){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=k,this.v=new fe,this.pre=new fe,this.appliedTransformations=0,this.initDynamicPropertyContainer(R||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,kt,this),this.ry=at.getProp(g,k.ry,0,kt,this),this.rz=at.getProp(g,k.rz,0,kt,this),k.or.k[0].ti){var G,T=k.or.k.length;for(G=0;G<T;G+=1)k.or.k[G].to=null,k.or.k[G].ti=null}this.or=at.getProp(g,k.or,1,kt,this),this.or.sh=!0}else this.r=at.getProp(g,k.r||{k:0},0,kt,this);k.sk&&(this.sk=at.getProp(g,k.sk,0,kt,this),this.sa=at.getProp(g,k.sa,0,kt,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:i,getValue:a,precalculateMatrix:l,autoOrient:h},L([le],v),v.prototype.addDynamicProperty=c,v.prototype._addDynamicProperty=le.prototype.addDynamicProperty;function A(g,k,R){return new v(g,k,R)}return{getTransformProperty:A}}();function wr(){}L([ir],wr),wr.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.c=at.getProp(e,i.c,0,null,this),this.o=at.getProp(e,i.o,0,null,this),this.tr=Rd.getTransformProperty(e,i.tr,this),this.so=at.getProp(e,i.tr.so,0,.01,this),this.eo=at.getProp(e,i.tr.eo,0,.01,this),this.data=i,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new fe,this.rMatrix=new fe,this.sMatrix=new fe,this.tMatrix=new fe,this.matrix=new fe},wr.prototype.applyTransforms=function(e,i,a,l,h,c){var v=c?-1:1,A=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]),i.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),i.rotate(-l.r.v*v*h),i.translate(l.a.v[0],l.a.v[1],l.a.v[2]),a.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),a.scale(c?1/A:A,c?1/g:g),a.translate(l.a.v[0],l.a.v[1],l.a.v[2])},wr.prototype.init=function(e,i,a,l){for(this.elem=e,this.arr=i,this.pos=a,this.elemsData=l,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,i[a]);a>0;)a-=1,this._elements.unshift(i[a]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},wr.prototype.resetElements=function(e){var i,a=e.length;for(i=0;i<a;i+=1)e[i]._processed=!1,e[i].ty==="gr"&&this.resetElements(e[i].it)},wr.prototype.cloneElements=function(e){var i=JSON.parse(JSON.stringify(e));return this.resetElements(i),i},wr.prototype.changeGroupRender=function(e,i){var a,l=e.length;for(a=0;a<l;a+=1)e[a]._render=i,e[a].ty==="gr"&&this.changeGroupRender(e[a].it,i)},wr.prototype.processShapes=function(e){var i,a,l,h,c,v=!1;if(this._mdf||e){var A=Math.ceil(this.c.v);if(this._groups.length<A){for(;this._groups.length<A;){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<A,this._groups[l]._render=k,this.changeGroupRender(this._groups[l].it,k),!k){var R=this.elemsData[l].it,G=R[R.length-1];G.transform.op.v!==0?(G.transform.op._mdf=!0,G.transform.op.v=0):G.transform.op._mdf=!1}c+=1}this._currentCopies=A;var T=this.o.v,O=T%1,D=T>0?Math.floor(T):Math.ceil(T),M=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 C=0;if(T>0){for(;C<D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),C+=1;O&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,O,!1),C+=O)}else if(T<0){for(;C>D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),C-=1;O&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-O,!0),C-=O)}l=this.data.m===1?0:this._currentCopies-1,h=this.data.m===1?1:-1,c=this._currentCopies;for(var E,S;c;){if(i=this.elemsData[l].it,a=i[i.length-1].transform.mProps.v.props,S=a.length,i[i.length-1].transform.mProps._mdf=!0,i[i.length-1].transform.op._mdf=!0,i[i.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(l/(this._currentCopies-1)),C!==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(M[0],M[1],M[2],M[3],M[4],M[5],M[6],M[7],M[8],M[9],M[10],M[11],M[12],M[13],M[14],M[15]),E=0;E<S;E+=1)a[E]=this.matrix.props[E];this.matrix.reset()}else for(this.matrix.reset(),E=0;E<S;E+=1)a[E]=this.matrix.props[E];C+=1,c-=1,l+=h}}else for(c=this._currentCopies,l=0,h=1;c;)i=this.elemsData[l].it,a=i[i.length-1].transform.mProps.v.props,i[i.length-1].transform.mProps._mdf=!1,i[i.length-1].transform.op._mdf=!1,c-=1,l+=h;return v},wr.prototype.addShape=function(){};function Js(){}L([ir],Js),Js.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.rd=at.getProp(e,i.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},Js.prototype.processPath=function(e,i){var a=ue.newElement();a.c=e.c;var l,h=e._length,c,v,A,g,k,R,G=0,T,O,D,M,V,N;for(l=0;l<h;l+=1)c=e.v[l],A=e.o[l],v=e.i[l],c[0]===A[0]&&c[1]===A[1]&&c[0]===v[0]&&c[1]===v[1]?(l===0||l===h-1)&&!e.c?(a.setTripleAt(c[0],c[1],A[0],A[1],v[0],v[1],G),G+=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)),R=k?Math.min(k/2,i)/k:0,V=c[0]+(g[0]-c[0])*R,T=V,N=c[1]-(c[1]-g[1])*R,O=N,D=T-(T-c[0])*me,M=O-(O-c[1])*me,a.setTripleAt(T,O,D,M,V,N,G),G+=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)),R=k?Math.min(k/2,i)/k:0,D=c[0]+(g[0]-c[0])*R,T=D,M=c[1]+(g[1]-c[1])*R,O=M,V=T-(T-c[0])*me,N=O-(O-c[1])*me,a.setTripleAt(T,O,D,M,V,N,G),G+=1):(a.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],G),G+=1);return a},Js.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.rd.v;if(v!==0){var A,g;for(a=0;a<l;a+=1){if(A=this.shapes[a],g=A.localShapeCollection,!(!A.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),A.shape._mdf=!0,i=A.shape.paths.shapes,c=A.shape.paths._length,h=0;h<c;h+=1)g.addShape(this.processPath(i[h],v));A.shape.paths=A.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Cn(e,i){return Math.abs(e-i)*1e5<=Math.min(Math.abs(e),Math.abs(i))}function Od(e){return Math.abs(e)<=1e-5}function Pp(e,i,a){return e*(1-a)+i*a}function Ei(e,i,a){return[Pp(e[0],i[0],a),Pp(e[1],i[1],a)]}function Hb(e,i,a){if(e===0)return[];var l=i*i-4*e*a;if(l<0)return[];var h=-i/(2*e);if(l===0)return[h];var c=Math.sqrt(l)/(2*e);return[h-c,h+c]}function Dp(e,i,a,l){return[-e+3*i-3*a+l,3*e-6*i+3*a,-3*e+3*i,e]}function Fp(e){return new Kt(e,e,e,e,!1)}function Kt(e,i,a,l,h){h&&Zo(e,i)&&(i=Ei(e,l,1/3)),h&&Zo(a,l)&&(a=Ei(e,l,2/3));var c=Dp(e[0],i[0],a[0],l[0]),v=Dp(e[1],i[1],a[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,i,a,l]}Kt.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]]},Kt.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]]},Kt.prototype.tangentAngle=function(e){var i=this.derivative(e);return Math.atan2(i[1],i[0])},Kt.prototype.normalAngle=function(e){var i=this.derivative(e);return Math.atan2(i[0],i[1])},Kt.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Od(e))return[];var i=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,a=i*i-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(a<0)return[];var l=Math.sqrt(a);return Od(l)?l>0&&l<1?[i]:[]:[i-l,i+l].filter(function(h){return h>0&&h<1})},Kt.prototype.split=function(e){if(e<=0)return[Fp(this.points[0]),this];if(e>=1)return[this,Fp(this.points[this.points.length-1])];var i=Ei(this.points[0],this.points[1],e),a=Ei(this.points[1],this.points[2],e),l=Ei(this.points[2],this.points[3],e),h=Ei(i,a,e),c=Ei(a,l,e),v=Ei(h,c,e);return[new Kt(this.points[0],i,h,v,!0),new Kt(v,c,l,this.points[3],!0)]};function $p(e,i){var a=e.points[0][i],l=e.points[e.points.length-1][i];if(a>l){var h=l;l=a,a=h}for(var c=Hb(3*e.a[i],2*e.b[i],e.c[i]),v=0;v<c.length;v+=1)if(c[v]>0&&c[v]<1){var A=e.point(c[v])[i];A<a?a=A:A>l&&(l=A)}return{min:a,max:l}}Kt.prototype.bounds=function(){return{x:$p(this,0),y:$p(this,1)}},Kt.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 kn(e,i,a){var l=e.boundingBox();return{cx:l.cx,cy:l.cy,width:l.width,height:l.height,bez:e,t:(i+a)/2,t1:i,t2:a}}function zp(e){var i=e.bez.split(.5);return[kn(i[0],e.t1,e.t),kn(i[1],e.t,e.t2)]}function Gb(e,i){return Math.abs(e.cx-i.cx)*2<e.width+i.width&&Math.abs(e.cy-i.cy)*2<e.height+i.height}function ta(e,i,a,l,h,c){if(Gb(e,i)){if(a>=c||e.width<=l&&e.height<=l&&i.width<=l&&i.height<=l){h.push([e.t,i.t]);return}var v=zp(e),A=zp(i);ta(v[0],A[0],a+1,l,h,c),ta(v[0],A[1],a+1,l,h,c),ta(v[1],A[0],a+1,l,h,c),ta(v[1],A[1],a+1,l,h,c)}}Kt.prototype.intersections=function(e,i,a){i===void 0&&(i=2),a===void 0&&(a=7);var l=[];return ta(kn(this,0,1),kn(e,0,1),0,i,l,a),l},Kt.shapeSegment=function(e,i){var a=(i+1)%e.length();return new Kt(e.v[i],e.o[i],e.i[a],e.v[a],!0)},Kt.shapeSegmentInverted=function(e,i){var a=(i+1)%e.length();return new Kt(e.v[a],e.i[a],e.o[i],e.v[i],!0)};function Md(e,i){return[e[1]*i[2]-e[2]*i[1],e[2]*i[0]-e[0]*i[2],e[0]*i[1]-e[1]*i[0]]}function wn(e,i,a,l){var h=[e[0],e[1],1],c=[i[0],i[1],1],v=[a[0],a[1],1],A=[l[0],l[1],1],g=Md(Md(h,c),Md(v,A));return Od(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function Xo(e,i,a){return[e[0]+Math.cos(i)*a,e[1]-Math.sin(i)*a]}function Pd(e,i){return Math.hypot(e[0]-i[0],e[1]-i[1])}function Zo(e,i){return Cn(e[0],i[0])&&Cn(e[1],i[1])}function ea(){}L([ir],ea),ea.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amplitude=at.getProp(e,i.s,0,null,this),this.frequency=at.getProp(e,i.r,0,null,this),this.pointsType=at.getProp(e,i.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Vp(e,i,a,l,h,c,v){var A=a-Math.PI/2,g=a+Math.PI/2,k=i[0]+Math.cos(a)*l*h,R=i[1]-Math.sin(a)*l*h;e.setTripleAt(k,R,k+Math.cos(A)*c,R-Math.sin(A)*c,k+Math.cos(g)*v,R-Math.sin(g)*v,e.length())}function Yb(e,i){var a=[i[0]-e[0],i[1]-e[1]],l=-Math.PI*.5,h=[Math.cos(l)*a[0]-Math.sin(l)*a[1],Math.sin(l)*a[0]+Math.cos(l)*a[1]];return h}function Wb(e,i){var a=i===0?e.length()-1:i-1,l=(i+1)%e.length(),h=e.v[a],c=e.v[l],v=Yb(h,c);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function Bp(e,i,a,l,h,c,v){var A=Wb(i,a),g=i.v[a%i._length],k=i.v[a===0?i._length-1:a-1],R=i.v[(a+1)%i._length],G=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]-R[0],2)+Math.pow(g[1]-R[1],2)):0;Vp(e,i.v[a%i._length],A,v,l,T/((h+1)*2),G/((h+1)*2),c)}function jb(e,i,a,l,h,c){for(var v=0;v<l;v+=1){var A=(v+1)/(l+1),g=h===2?Math.sqrt(Math.pow(i.points[3][0]-i.points[0][0],2)+Math.pow(i.points[3][1]-i.points[0][1],2)):0,k=i.normalAngle(A),R=i.point(A);Vp(e,R,k,c,a,g/((l+1)*2),g/((l+1)*2),h),c=-c}return c}ea.prototype.processPath=function(e,i,a,l){var h=e._length,c=ue.newElement();if(c.c=e.c,e.c||(h-=1),h===0)return c;var v=-1,A=Kt.shapeSegment(e,0);Bp(c,e,0,i,a,l,v);for(var g=0;g<h;g+=1)v=jb(c,A,i,a,l,-v),g===h-1&&!e.c?A=null:A=Kt.shapeSegment(e,(g+1)%h),Bp(c,e,g+1,i,a,l,v);return c},ea.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.amplitude.v,A=Math.max(0,Math.round(this.frequency.v)),g=this.pointsType.v;if(v!==0){var k,R;for(a=0;a<l;a+=1){if(k=this.shapes[a],R=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(R.releaseShapes(),k.shape._mdf=!0,i=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)R.addShape(this.processPath(i[h],v,A,g));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Dd(e,i,a){var l=Math.atan2(i[0]-e[0],i[1]-e[1]);return[Xo(e,l,a),Xo(i,l,a)]}function Qo(e,i){var a,l,h,c,v,A,g;g=Dd(e.points[0],e.points[1],i),a=g[0],l=g[1],g=Dd(e.points[1],e.points[2],i),h=g[0],c=g[1],g=Dd(e.points[2],e.points[3],i),v=g[0],A=g[1];var k=wn(a,l,h,c);k===null&&(k=l);var R=wn(v,A,h,c);return R===null&&(R=v),new Kt(a,k,R,A)}function Up(e,i,a,l,h){var c=i.points[3],v=a.points[0];if(l===3||Zo(c,v))return c;if(l===2){var A=-i.tangentAngle(1),g=-a.tangentAngle(0)+Math.PI,k=wn(c,Xo(c,A+Math.PI/2,100),v,Xo(v,A+Math.PI/2,100)),R=k?Pd(k,c):Pd(c,v)/2,G=Xo(c,A,2*R*me);return e.setXYAt(G[0],G[1],"o",e.length()-1),G=Xo(v,g,2*R*me),e.setTripleAt(v[0],v[1],v[0],v[1],G[0],G[1],e.length()),v}var T=Zo(c,i.points[2])?i.points[0]:i.points[2],O=Zo(v,a.points[1])?a.points[3]:a.points[1],D=wn(T,c,v,O);return D&&Pd(D,c)<h?(e.setTripleAt(D[0],D[1],D[0],D[1],D[0],D[1],e.length()),D):c}function Hp(e,i){var a=e.intersections(i);return a.length&&Cn(a[0][0],1)&&a.shift(),a.length?a[0]:null}function Gp(e,i){var a=e.slice(),l=i.slice(),h=Hp(e[e.length-1],i[0]);return h&&(a[e.length-1]=e[e.length-1].split(h[0])[0],l[0]=i[0].split(h[1])[1]),e.length>1&&i.length>1&&(h=Hp(e[0],i[i.length-1]),h)?[[e[0].split(h[0])[0]],[i[i.length-1].split(h[1])[1]]]:[a,l]}function Kb(e){for(var i,a=1;a<e.length;a+=1)i=Gp(e[a-1],e[a]),e[a-1]=i[0],e[a]=i[1];return e.length>1&&(i=Gp(e[e.length-1],e[0]),e[e.length-1]=i[0],e[0]=i[1]),e}function Yp(e,i){var a=e.inflectionPoints(),l,h,c,v;if(a.length===0)return[Qo(e,i)];if(a.length===1||Cn(a[1],1))return c=e.split(a[0]),l=c[0],h=c[1],[Qo(l,i),Qo(h,i)];c=e.split(a[0]),l=c[0];var A=(a[1]-a[0])/(1-a[0]);return c=c[1].split(A),v=c[0],h=c[1],[Qo(l,i),Qo(v,i),Qo(h,i)]}function ra(){}L([ir],ra),ra.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amount=at.getProp(e,i.a,0,null,this),this.miterLimit=at.getProp(e,i.ml,0,null,this),this.lineJoin=i.lj,this._isAnimated=this.amount.effectsSequence.length!==0},ra.prototype.processPath=function(e,i,a,l){var h=ue.newElement();h.c=e.c;var c=e.length();e.c||(c-=1);var v,A,g,k=[];for(v=0;v<c;v+=1)g=Kt.shapeSegment(e,v),k.push(Yp(g,i));if(!e.c)for(v=c-1;v>=0;v-=1)g=Kt.shapeSegmentInverted(e,v),k.push(Yp(g,i));k=Kb(k);var R=null,G=null;for(v=0;v<k.length;v+=1){var T=k[v];for(G&&(R=Up(h,G,T[0],a,l)),G=T[T.length-1],A=0;A<T.length;A+=1)g=T[A],R&&Zo(g.points[0],R)?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()),R=g.points[3]}return k.length&&Up(h,G,k[0][0],a,l),h},ra.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.amount.v,A=this.miterLimit.v,g=this.lineJoin;if(v!==0){var k,R;for(a=0;a<l;a+=1){if(k=this.shapes[a],R=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(R.releaseShapes(),k.shape._mdf=!0,i=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)R.addShape(this.processPath(i[h],v,g,A));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Wp(e){for(var i=e.fStyle?e.fStyle.split(" "):[],a="normal",l="normal",h=i.length,c,v=0;v<h;v+=1)switch(c=i[v].toLowerCase(),c){case"italic":l="italic";break;case"bold":a="700";break;case"black":a="900";break;case"medium":a="500";break;case"regular":case"normal":a="400";break;case"light":case"thin":a="200";break;default:break}return{style:l,weight:e.fWeight||a}}var ao=function(){var e=5e3,i={w:0,size:0,shapes:[],data:{shapes:[]}},a=[];a=a.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,A=65039,g=8205,k=127462,R=127487,G=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T(I){var P=I.split(","),f,y=P.length,Y=[];for(f=0;f<y;f+=1)P[f]!=="sans-serif"&&P[f]!=="monospace"&&Y.push(P[f]);return Y.join(",")}function O(I,P){var f=x("span");f.setAttribute("aria-hidden",!0),f.style.fontFamily=P;var y=x("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 Y=y.offsetWidth;return y.style.fontFamily=T(I)+", "+P,{node:y,w:Y,parent:f}}function D(){var I,P=this.fonts.length,f,y,Y=P;for(I=0;I<P;I+=1)this.fonts[I].loaded?Y-=1:this.fonts[I].fOrigin==="n"||this.fonts[I].origin===0?this.fonts[I].loaded=!0:(f=this.fonts[I].monoCase.node,y=this.fonts[I].monoCase.w,f.offsetWidth!==y?(Y-=1,this.fonts[I].loaded=!0):(f=this.fonts[I].sansCase.node,y=this.fonts[I].sansCase.w,f.offsetWidth!==y&&(Y-=1,this.fonts[I].loaded=!0)),this.fonts[I].loaded&&(this.fonts[I].sansCase.parent.parentNode.removeChild(this.fonts[I].sansCase.parent),this.fonts[I].monoCase.parent.parentNode.removeChild(this.fonts[I].monoCase.parent)));Y!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function M(I,P){var f=document.body&&P?"svg":"canvas",y,Y=Wp(I);if(f==="svg"){var $=Tt("text");$.style.fontSize="100px",$.setAttribute("font-family",I.fFamily),$.setAttribute("font-style",Y.style),$.setAttribute("font-weight",Y.weight),$.textContent="1",I.fClass?($.style.fontFamily="inherit",$.setAttribute("class",I.fClass)):$.style.fontFamily=I.fFamily,P.appendChild($),y=$}else{var nt=new OffscreenCanvas(500,500).getContext("2d");nt.font=Y.style+" "+Y.weight+" 100px "+I.fFamily,y=nt}function ft(Et){return f==="svg"?(y.textContent=Et,y.getComputedTextLength()):y.measureText(Et).width}return{measureText:ft}}function V(I,P){if(!I){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=I.list;return}if(!document.body){this.isLoaded=!0,I.list.forEach(function(Oe){Oe.helper=M(Oe),Oe.cache={}}),this.fonts=I.list;return}var f=I.list,y,Y=f.length,$=Y;for(y=0;y<Y;y+=1){var nt=!0,ft,Et;if(f[y].loaded=!1,f[y].monoCase=O(f[y].fFamily,"monospace"),f[y].sansCase=O(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 Rt=x("style");Rt.setAttribute("f-forigin",f[y].fOrigin),Rt.setAttribute("f-origin",f[y].origin),Rt.setAttribute("f-family",f[y].fFamily),Rt.type="text/css",Rt.innerText="@font-face {font-family: "+f[y].fFamily+"; font-style: normal; src: url('"+f[y].fPath+"');}",P.appendChild(Rt)}}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 Ot=x("link");Ot.setAttribute("f-forigin",f[y].fOrigin),Ot.setAttribute("f-origin",f[y].origin),Ot.type="text/css",Ot.rel="stylesheet",Ot.href=f[y].fPath,document.body.appendChild(Ot)}}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 Jt=x("link");Jt.setAttribute("f-forigin",f[y].fOrigin),Jt.setAttribute("f-origin",f[y].origin),Jt.setAttribute("rel","stylesheet"),Jt.setAttribute("href",f[y].fPath),P.appendChild(Jt)}}f[y].helper=M(f[y],P),f[y].cache={},this.fonts.push(f[y])}$===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function N(I){if(I){this.chars||(this.chars=[]);var P,f=I.length,y,Y=this.chars.length,$;for(P=0;P<f;P+=1){for(y=0,$=!1;y<Y;)this.chars[y].style===I[P].style&&this.chars[y].fFamily===I[P].fFamily&&this.chars[y].ch===I[P].ch&&($=!0),y+=1;$||(this.chars.push(I[P]),Y+=1)}}}function C(I,P,f){for(var y=0,Y=this.chars.length;y<Y;){if(this.chars[y].ch===I&&this.chars[y].style===P&&this.chars[y].fFamily===f)return this.chars[y];y+=1}return(typeof I=="string"&&I.charCodeAt(0)!==13||!I)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",I,P,f)),i}function E(I,P,f){var y=this.getFontByName(P),Y=I;if(!y.cache[Y]){var $=y.helper;if(I===" "){var nt=$.measureText("|"+I+"|"),ft=$.measureText("||");y.cache[Y]=(nt-ft)/100}else y.cache[Y]=$.measureText(I)/100}return y.cache[Y]*f}function S(I){for(var P=0,f=this.fonts.length;P<f;){if(this.fonts[P].fName===I)return this.fonts[P];P+=1}return this.fonts[0]}function w(I){var P=0,f=I.charCodeAt(0);if(f>=55296&&f<=56319){var y=I.charCodeAt(1);y>=56320&&y<=57343&&(P=(f-55296)*1024+y-56320+65536)}return P}function F(I,P){var f=I.toString(16)+P.toString(16);return G.indexOf(f)!==-1}function H(I){return I===g}function W(I){return I===A}function et(I){var P=w(I);return P>=k&&P<=R}function yt(I){return et(I.substr(0,2))&&et(I.substr(2,2))}function pt(I){return a.indexOf(I)!==-1}function ot(I,P){var f=w(I.substr(P,2));if(f!==l)return!1;var y=0;for(P+=2;y<5;){if(f=w(I.substr(P,2)),f<c||f>v)return!1;y+=1,P+=2}return w(I.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=F,ct.isZeroWidthJoiner=H,ct.isFlagEmoji=yt,ct.isRegionalCode=et,ct.isCombinedCharacter=pt,ct.isRegionalFlag=ot,ct.isVariationSelector=W,ct.BLACK_FLAG_CODE_POINT=l;var J={addChars:N,addFonts:V,getCharData:C,getFontByName:S,measureText:E,checkLoadedFonts:D,setIsLoaded:xt};return ct.prototype=J,ct}();function jp(e){this.animationData=e}jp.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function qb(e){return new jp(e)}function Nn(){}Nn.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(i){this.renderableComponents.indexOf(i)===-1&&this.renderableComponents.push(i)},removeRenderableComponent:function(i){this.renderableComponents.indexOf(i)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(i),1)},prepareRenderableFrame:function(i){this.checkLayerLimits(i)},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(i){this.data.ip-this.data.st<=i&&this.data.op-this.data.st>i?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 i,a=this.renderableComponents.length;for(i=0;i<a;i+=1)this.renderableComponents[i].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 Fd=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(i){return e[i]||""}}();function Xb(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function Zb(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function Qb(e,i,a){this.p=at.getProp(i,e.v,1,0,a)}function Jb(e,i,a){this.p=at.getProp(i,e.v,1,0,a)}function ty(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function ey(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function ry(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function iy(){this.p={}}function Kp(e,i){var a=e.ef||[];this.effectElements=[];var l,h=a.length,c;for(l=0;l<h;l+=1)c=new ia(a[l],i),this.effectElements.push(c)}function ia(e,i){this.init(e,i)}L([le],ia),ia.prototype.getValue=ia.prototype.iterateDynamicProperties,ia.prototype.init=function(e,i){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(i);var a,l=this.data.ef.length,h,c=this.data.ef;for(a=0;a<l;a+=1){switch(h=null,c[a].ty){case 0:h=new Xb(c[a],i,this);break;case 1:h=new Zb(c[a],i,this);break;case 2:h=new Qb(c[a],i,this);break;case 3:h=new Jb(c[a],i,this);break;case 4:case 7:h=new ry(c[a],i,this);break;case 10:h=new ty(c[a],i,this);break;case 11:h=new ey(c[a],i,this);break;case 5:h=new Kp(c[a],i,this);break;default:h=new iy(c[a],i,this);break}h&&this.effectElements.push(h)}};function Ti(){}Ti.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var i=0,a=this.data.masksProperties.length;i<a;){if(this.data.masksProperties[i].mode!=="n"&&this.data.masksProperties[i].cl!==!1)return!0;i+=1}return!1},initExpressions:function(){var i=Ep();if(i){var a=i("layer"),l=i("effects"),h=i("shape"),c=i("text"),v=i("comp");this.layerInterface=a(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var A=l.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(A),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 i=Fd(this.data.bm),a=this.baseElement||this.layerElement;a.style["mix-blend-mode"]=i},initBaseData:function(i,a,l){this.globalData=a,this.comp=l,this.data=i,this.layerId=Le(),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(i,a){var l,h=this.dynamicProperties.length;for(l=0;l<h;l+=1)(a||this._isParent&&this.dynamicProperties[l].propType==="transform")&&(this.dynamicProperties[l].getValue(),this.dynamicProperties[l]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(i){this.dynamicProperties.indexOf(i)===-1&&this.dynamicProperties.push(i)}};function Ai(e,i,a){this.initFrame(),this.initRenderable(),this.assetData=i.getAssetData(e.refId),this.footageData=i.imageLoader.getAsset(this.assetData),this.initBaseData(e,i,a)}Ai.prototype.prepareFrame=function(){},L([Nn,Ti,xi],Ai),Ai.prototype.getBaseElement=function(){return null},Ai.prototype.renderFrame=function(){},Ai.prototype.destroy=function(){},Ai.prototype.initExpressions=function(){var e=Ep();if(e){var i=e("footage");this.layerInterface=i(this)}},Ai.prototype.getFootageData=function(){return this.footageData};function Re(e,i,a){this.initFrame(),this.initRenderable(),this.assetData=i.getAssetData(e.refId),this.initBaseData(e,i,a),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,i.frameRate,this):{_placeholder:!0},this.lv=at.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}Re.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var i=this.tm.v;this._currentTime=i}this._volume=this.lv.v[0];var a=this._volume*this._volumeMultiplier;this._previousVolume!==a&&(this._previousVolume=a,this.audio.volume(a))},L([Nn,Ti,xi],Re),Re.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))},Re.prototype.show=function(){},Re.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Re.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Re.prototype.resume=function(){this._canPlay=!0},Re.prototype.setRate=function(e){this.audio.rate(e)},Re.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},Re.prototype.getBaseElement=function(){return null},Re.prototype.destroy=function(){},Re.prototype.sourceRectAtTime=function(){},Re.prototype.initExpressions=function(){};function ve(){}ve.prototype.checkLayers=function(e){var i,a=this.layers.length,l;for(this.completeLayers=!0,i=a-1;i>=0;i-=1)this.elements[i]||(l=this.layers[i],l.ip-l.st<=e-this.layers[i].st&&l.op-l.st>e-this.layers[i].st&&this.buildItem(i)),this.completeLayers=this.elements[i]?this.completeLayers:!1;this.checkPendingElements()},ve.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)}},ve.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},ve.prototype.createAudio=function(e){return new Re(e,this.globalData,this)},ve.prototype.createFootage=function(e){return new Ai(e,this.globalData,this)},ve.prototype.buildAllItems=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)this.buildItem(e);this.checkPendingElements()},ve.prototype.includeLayers=function(e){this.completeLayers=!1;var i,a=e.length,l,h=this.layers.length;for(i=0;i<a;i+=1)for(l=0;l<h;){if(this.layers[l].id===e[i].id){this.layers[l]=e[i];break}l+=1}},ve.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},ve.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},ve.prototype.buildElementParenting=function(e,i,a){for(var l=this.elements,h=this.layers,c=0,v=h.length;c<v;)h[c].ind==i&&(!l[c]||l[c]===!0?(this.buildItem(c),this.addPendingElement(e)):(a.push(l[c]),l[c].setAsParent(),h[c].parent!==void 0?this.buildElementParenting(e,h[c].parent,a):e.setHierarchy(a))),c+=1},ve.prototype.addPendingElement=function(e){this.pendingElements.push(e)},ve.prototype.searchExtraCompositions=function(e){var i,a=e.length;for(i=0;i<a;i+=1)if(e[i].xt){var l=this.createComp(e[i]);l.initExpressions(),this.globalData.projectInterface.registerComposition(l)}},ve.prototype.getElementById=function(e){var i,a=this.elements.length;for(i=0;i<a;i+=1)if(this.elements[i].data.ind===e)return this.elements[i];return null},ve.prototype.getElementByPath=function(e){var i=e.shift(),a;if(typeof i=="number")a=this.elements[i];else{var l,h=this.elements.length;for(l=0;l<h;l+=1)if(this.elements[l].data.nm===i){a=this.elements[l];break}}return e.length===0?a:a.getElementByPath(e)},ve.prototype.setupGlobalData=function(e,i){this.globalData.fontManager=new ao,this.globalData.slotManager=qb(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,i),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 oy={TRANSFORM_EFFECT:"transformEFfect"};function Jo(){}Jo.prototype={initTransform:function(){var i=new fe;this.finalTransform={mProp:this.data.ks?Rd.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:i,localMat:i,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 i,a=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(i=this.finalTransform.mProp.v.props,a.cloneFromProps(i),l=0;l<h;l+=1)a.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 i=0,a=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;i<a;)this.localTransforms[i]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[i]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),i+=1;if(this.finalTransform._localMatMdf){var l=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(l),i=1;i<a;i+=1){var h=this.localTransforms[i].matrix;l.multiply(h)}l.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(i=0;i<a;i+=1)c*=this.localTransforms[i].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var i=this.renderableEffectsManager.getEffects(oy.TRANSFORM_EFFECT);if(i.length){this.localTransforms=[],this.finalTransform.localMat=new fe;var a=0,l=i.length;for(a=0;a<l;a+=1)this.localTransforms.push(i[a])}}},globalToLocal:function(i){var a=[];a.push(this.finalTransform);for(var l=!0,h=this.comp;l;)h.finalTransform?(h.data.hasMask&&a.splice(0,0,h.finalTransform),h=h.comp):l=!1;var c,v=a.length,A;for(c=0;c<v;c+=1)A=a[c].mat.applyToPointArray(0,0,0),i=[i[0]-A[0],i[1]-A[1],0];return i},mHelper:new fe};function no(e,i,a){this.data=e,this.element=i,this.globalData=a,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=it(c),this.solidPath="";var v,A=this.masksProperties,g=0,k=[],R,G,T=Le(),O,D,M,V,N="clipPath",C="clip-path";for(h=0;h<c;h+=1)if((A[h].mode!=="a"&&A[h].mode!=="n"||A[h].inv||A[h].o.k!==100||A[h].o.x)&&(N="mask",C="mask"),(A[h].mode==="s"||A[h].mode==="i")&&g===0?(O=Tt("rect"),O.setAttribute("fill","#ffffff"),O.setAttribute("width",this.element.comp.data.w||0),O.setAttribute("height",this.element.comp.data.h||0),k.push(O)):O=null,v=Tt("path"),A[h].mode==="n")this.viewData[h]={op:at.getProp(this.element,A[h].o,0,.01,this.element),prop:Sn.getShapeProp(this.element,A[h],3),elem:v,lastPath:""},l.appendChild(v);else{g+=1,v.setAttribute("fill",A[h].mode==="s"?"#000000":"#ffffff"),v.setAttribute("clip-rule","nonzero");var E;if(A[h].x.k!==0?(N="mask",C="mask",V=at.getProp(this.element,A[h].x,0,null,this.element),E=Le(),D=Tt("filter"),D.setAttribute("id",E),M=Tt("feMorphology"),M.setAttribute("operator","erode"),M.setAttribute("in","SourceGraphic"),M.setAttribute("radius","0"),D.appendChild(M),l.appendChild(D),v.setAttribute("stroke",A[h].mode==="s"?"#000000":"#ffffff")):(M=null,V=null),this.storedData[h]={elem:v,x:V,expan:M,lastPath:"",lastOperator:"",filterId:E,lastRadius:0},A[h].mode==="i"){G=k.length;var S=Tt("g");for(R=0;R<G;R+=1)S.appendChild(k[R]);var w=Tt("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",T+"_"+g),w.appendChild(v),l.appendChild(w),S.setAttribute("mask","url("+b()+"#"+T+"_"+g+")"),k.length=0,k.push(S)}else k.push(v);A[h].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[h]={elem:v,lastPath:"",op:at.getProp(this.element,A[h].o,0,.01,this.element),prop:Sn.getShapeProp(this.element,A[h],3),invRect:O},this.viewData[h].prop.k||this.drawPath(A[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(C,"url("+b()+"#"+T+")"),l.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}no.prototype.getMaskProperty=function(e){return this.viewData[e].prop},no.prototype.renderFrame=function(e){var i=this.element.finalTransform.mat,a,l=this.masksProperties.length;for(a=0;a<l;a+=1)if((this.viewData[a].prop._mdf||e)&&this.drawPath(this.masksProperties[a],this.viewData[a].prop.v,this.viewData[a]),(this.viewData[a].op._mdf||e)&&this.viewData[a].elem.setAttribute("fill-opacity",this.viewData[a].op.v),this.masksProperties[a].mode!=="n"&&(this.viewData[a].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[a].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[a].x&&(this.storedData[a].x._mdf||e))){var h=this.storedData[a].expan;this.storedData[a].x.v<0?(this.storedData[a].lastOperator!=="erode"&&(this.storedData[a].lastOperator="erode",this.storedData[a].elem.setAttribute("filter","url("+b()+"#"+this.storedData[a].filterId+")")),h.setAttribute("radius",-this.storedData[a].x.v)):(this.storedData[a].lastOperator!=="dilate"&&(this.storedData[a].lastOperator="dilate",this.storedData[a].elem.setAttribute("filter",null)),this.storedData[a].elem.setAttribute("stroke-width",this.storedData[a].x.v*2))}},no.prototype.getMaskelement=function(){return this.maskElement},no.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},no.prototype.drawPath=function(e,i,a){var l=" M"+i.v[0][0]+","+i.v[0][1],h,c;for(c=i._length,h=1;h<c;h+=1)l+=" C"+i.o[h-1][0]+","+i.o[h-1][1]+" "+i.i[h][0]+","+i.i[h][1]+" "+i.v[h][0]+","+i.v[h][1];if(i.c&&c>1&&(l+=" C"+i.o[h-1][0]+","+i.o[h-1][1]+" "+i.i[0][0]+","+i.i[0][1]+" "+i.v[0][0]+","+i.v[0][1]),a.lastPath!==l){var v="";a.elem&&(i.c&&(v=e.inv?this.solidPath+l:l),a.elem.setAttribute("d",v)),a.lastPath=l}},no.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var oa=function(){var e={};e.createFilter=i,e.createAlphaToLuminanceFilter=a;function i(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 a(){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}(),qp=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}(),Ln={},Xp="filter_result_";function $d(e){var i,a="SourceGraphic",l=e.data.ef?e.data.ef.length:0,h=Le(),c=oa.createFilter(h,!0),v=0;this.filters=[];var A;for(i=0;i<l;i+=1){A=null;var g=e.data.ef[i].ty;if(Ln[g]){var k=Ln[g].effect;A=new k(c,e.effectsManager.effectElements[i],e,Xp+v,a),a=Xp+v,Ln[g].countsAsEffect&&(v+=1)}A&&this.filters.push(A)}v&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+b()+"#"+h+")")),this.filters.length&&e.addRenderableComponent(this)}$d.prototype.renderFrame=function(e){var i,a=this.filters.length;for(i=0;i<a;i+=1)this.filters[i].renderFrame(e)},$d.prototype.getEffects=function(e){var i,a=this.filters.length,l=[];for(i=0;i<a;i+=1)this.filters[i].type===e&&l.push(this.filters[i]);return l};function KA(e,i,a){Ln[e]={effect:i,countsAsEffect:a}}function sa(){}sa.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 i=null;if(this.data.td){this.matteMasks={};var a=Tt("g");a.setAttribute("id",this.layerId),a.appendChild(this.layerElement),i=a,this.globalData.defs.appendChild(a)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),i=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=Le();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,i?i.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 no(this.data,this,this.globalData),this.renderableEffectsManager=new $d(this),this.searchEffectTransforms()},getMatte:function(i){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[i]){var a=this.layerId+"_"+i,l,h,c,v;if(i===1||i===3){var A=Tt("mask");A.setAttribute("id",a),A.setAttribute("mask-type",i===3?"luminance":"alpha"),c=Tt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),A.appendChild(c),this.globalData.defs.appendChild(A),!qp.maskType&&i===1&&(A.setAttribute("mask-type","luminance"),l=Le(),h=oa.createFilter(l),this.globalData.defs.appendChild(h),h.appendChild(oa.createAlphaToLuminanceFilter()),v=Tt("g"),v.appendChild(c),A.appendChild(v),v.setAttribute("filter","url("+b()+"#"+l+")"))}else if(i===2){var g=Tt("mask");g.setAttribute("id",a),g.setAttribute("mask-type","alpha");var k=Tt("g");g.appendChild(k),l=Le(),h=oa.createFilter(l);var R=Tt("feComponentTransfer");R.setAttribute("in","SourceGraphic"),h.appendChild(R);var G=Tt("feFuncA");G.setAttribute("type","table"),G.setAttribute("tableValues","1.0 0.0"),R.appendChild(G),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),qp.maskType||(g.setAttribute("mask-type","luminance"),h.appendChild(oa.createAlphaToLuminanceFilter()),v=Tt("g"),k.appendChild(T),v.appendChild(this.layerElement),k.appendChild(v)),this.globalData.defs.appendChild(g)}this.matteMasks[i]=a}return this.matteMasks[i]},setMatte:function(i){this.matteElement&&this.matteElement.setAttribute("mask","url("+b()+"#"+i+")")}};function ts(){}ts.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(i){this.hierarchy=i},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function aa(){}(function(){var e={initElement:function(a,l,h){this.initFrame(),this.initBaseData(a,l,h),this.initTransform(a,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 a=this.baseElement||this.layerElement;a.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var a=this.baseElement||this.layerElement;a.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(a){this._mdf=!1,this.prepareRenderableFrame(a),this.prepareProperties(a,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};L([Nn,K(e)],aa)})();function na(e,i,a){this.assetData=i.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=i.slotManager.getProp(this.assetData)),this.initElement(e,i,a),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}L([Ti,Jo,sa,ts,xi,aa],na),na.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)},na.prototype.sourceRectAtTime=function(){return this.sourceRect};function sy(e,i){this.elem=e,this.pos=i}function Zp(){}Zp.prototype={addShapeToModifiers:function(i){var a,l=this.shapeModifiers.length;for(a=0;a<l;a+=1)this.shapeModifiers[a].addShape(i)},isShapeInAnimatedModifiers:function(i){for(var a=0,l=this.shapeModifiers.length;a<l;)if(this.shapeModifiers[a].isAnimatedWithShape(i))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var i,a=this.shapes.length;for(i=0;i<a;i+=1)this.shapes[i].sh.reset();a=this.shapeModifiers.length;var l;for(i=a-1;i>=0&&(l=this.shapeModifiers[i].processShapes(this._isFirstFrame),!l);i-=1);}},searchProcessedElement:function(i){for(var a=this.processedElements,l=0,h=a.length;l<h;){if(a[l].elem===i)return a[l].pos;l+=1}return 0},addProcessedElement:function(i,a){for(var l=this.processedElements,h=l.length;h;)if(h-=1,l[h].elem===i){l[h].pos=a;return}l.push(new sy(i,a))},prepareFrame:function(i){this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange)}};var Qp={1:"butt",2:"round",3:"square"},Jp={1:"miter",2:"round",3:"bevel"};function tm(e,i,a){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=a,this.lvl=i,this._isAnimated=!!a.k;for(var l=0,h=e.length;l<h;){if(e[l].mProps.dynamicProperties.length){this._isAnimated=!0;break}l+=1}}tm.prototype.setAsAnimated=function(){this._isAnimated=!0};function em(e,i){this.data=e,this.type=e.ty,this.d="",this.lvl=i,this._mdf=!1,this.closed=e.hd===!0,this.pElem=Tt("path"),this.msElem=null}em.prototype.reset=function(){this.d="",this._mdf=!1};function Rn(e,i,a,l){this.elem=e,this.frameId=-1,this.dataProps=it(i.length),this.renderer=a,this.k=!1,this.dashStr="",this.dashArray=X("float32",i.length?i.length-1:0),this.dashoffset=X("float32",1),this.initDynamicPropertyContainer(l);var h,c=i.length||0,v;for(h=0;h<c;h+=1)v=at.getProp(e,i[h].v,0,0,this),this.k=v.k||this.k,this.dataProps[h]={n:i[h].n,p:v};this.k||this.getValue(!0),this._isAnimated=this.k}Rn.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 i=0,a=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),i=0;i<a;i+=1)this.dataProps[i].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[i].p.v:this.dashArray[i]=this.dataProps[i].p.v:this.dashoffset[0]=this.dataProps[i].p.v}},L([le],Rn);function rm(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,i.o,0,.01,this),this.w=at.getProp(e,i.w,0,null,this),this.d=new Rn(e,i.d||{},"svg",this),this.c=at.getProp(e,i.c,1,255,this),this.style=a,this._isAnimated=!!this._isAnimated}L([le],rm);function im(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,i.o,0,.01,this),this.c=at.getProp(e,i.c,1,255,this),this.style=a}L([le],im);function om(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=a}L([le],om);function la(e,i,a){this.data=i,this.c=X("uint8c",i.p*4);var l=i.k.k[0].s?i.k.k[0].s.length-i.p*4:i.k.k.length-i.p*4;this.o=X("float32",l),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=l,this.initDynamicPropertyContainer(a),this.prop=at.getProp(e,i.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}la.prototype.comparePoints=function(e,i){for(var a=0,l=this.o.length/2,h;a<l;){if(h=Math.abs(e[a*4]-e[i*4+a*2]),h>.01)return!1;a+=1}return!0},la.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,i=this.data.k.k.length;e<i;){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},la.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var i,a=this.data.p*4,l,h;for(i=0;i<a;i+=1)l=i%4===0?100:255,h=Math.round(this.prop.v[i]*l),this.c[i]!==h&&(this.c[i]=h,this._cmdf=!e);if(this.o.length)for(a=this.prop.v.length,i=this.data.p*4;i<a;i+=1)l=i%2===0?100:1,h=i%2===0?Math.round(this.prop.v[i]*100):this.prop.v[i],this.o[i-this.data.p*4]!==h&&(this.o[i-this.data.p*4]=h,this._omdf=!e);this._mdf=!e}},L([le],la);function es(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,i,a)}es.prototype.initGradientData=function(e,i,a){this.o=at.getProp(e,i.o,0,.01,this),this.s=at.getProp(e,i.s,1,null,this),this.e=at.getProp(e,i.e,1,null,this),this.h=at.getProp(e,i.h||{k:0},0,.01,this),this.a=at.getProp(e,i.a||{k:0},0,kt,this),this.g=new la(e,i.g,this),this.style=a,this.stops=[],this.setGradientData(a.pElem,i),this.setGradientOpacity(i,a),this._isAnimated=!!this._isAnimated},es.prototype.setGradientData=function(e,i){var a=Le(),l=Tt(i.t===1?"linearGradient":"radialGradient");l.setAttribute("id",a),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse");var h=[],c,v,A;for(A=i.g.p*4,v=0;v<A;v+=4)c=Tt("stop"),l.appendChild(c),h.push(c);e.setAttribute(i.ty==="gf"?"fill":"stroke","url("+b()+"#"+a+")"),this.gf=l,this.cst=h},es.prototype.setGradientOpacity=function(e,i){if(this.g._hasOpacity&&!this.g._collapsable){var a,l,h,c=Tt("mask"),v=Tt("path");c.appendChild(v);var A=Le(),g=Le();c.setAttribute("id",g);var k=Tt(e.t===1?"linearGradient":"radialGradient");k.setAttribute("id",A),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 R=this.stops;for(l=e.g.p*4;l<h;l+=2)a=Tt("stop"),a.setAttribute("stop-color","rgb(255,255,255)"),k.appendChild(a),R.push(a);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+b()+"#"+A+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",Qp[e.lc||2]),v.setAttribute("stroke-linejoin",Jp[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=k,this.ms=c,this.ost=R,this.maskId=g,i.msElem=v}},L([le],es);function sm(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=at.getProp(e,i.w,0,null,this),this.d=new Rn(e,i.d||{},"svg",this),this.initGradientData(e,i,a),this._isAnimated=!!this._isAnimated}L([es,le],sm);function ay(){this.it=[],this.prevViewData=[],this.gr=Tt("g")}function ny(e,i,a){this.transform={mProps:e,op:i,container:a},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var am=function(i,a,l,h){if(a===0)return"";var c=i.o,v=i.i,A=i.v,g,k=" M"+h.applyToPointStringified(A[0][0],A[0][1]);for(g=1;g<a;g+=1)k+=" C"+h.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+h.applyToPointStringified(v[g][0],v[g][1])+" "+h.applyToPointStringified(A[g][0],A[g][1]);return l&&a&&(k+=" C"+h.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+h.applyToPointStringified(v[0][0],v[0][1])+" "+h.applyToPointStringified(A[0][0],A[0][1]),k+="z"),k},ly=function(){var e=new fe,i=new fe,a={createRenderFunction:l};function l(G){switch(G.ty){case"fl":return A;case"gf":return k;case"gs":return g;case"st":return R;case"sh":case"el":case"rc":case"sr":return v;case"tr":return h;case"no":return c;default:return null}}function h(G,T,O){(O||T.transform.op._mdf)&&T.transform.container.setAttribute("opacity",T.transform.op.v),(O||T.transform.mProps._mdf)&&T.transform.container.setAttribute("transform",T.transform.mProps.v.to2dCSS())}function c(){}function v(G,T,O){var D,M,V,N,C,E,S=T.styles.length,w=T.lvl,F,H,W,et;for(E=0;E<S;E+=1){if(N=T.sh._mdf||O,T.styles[E].lvl<w){for(H=i.reset(),W=w-T.styles[E].lvl,et=T.transformers.length-1;!N&&W>0;)N=T.transformers[et].mProps._mdf||N,W-=1,et-=1;if(N)for(W=w-T.styles[E].lvl,et=T.transformers.length-1;W>0;)H.multiply(T.transformers[et].mProps.v),W-=1,et-=1}else H=e;if(F=T.sh.paths,M=F._length,N){for(V="",D=0;D<M;D+=1)C=F.shapes[D],C&&C._length&&(V+=am(C,C._length,C.c,H));T.caches[E]=V}else V=T.caches[E];T.styles[E].d+=G.hd===!0?"":V,T.styles[E]._mdf=N||T.styles[E]._mdf}}function A(G,T,O){var D=T.style;(T.c._mdf||O)&&D.pElem.setAttribute("fill","rgb("+ne(T.c.v[0])+","+ne(T.c.v[1])+","+ne(T.c.v[2])+")"),(T.o._mdf||O)&&D.pElem.setAttribute("fill-opacity",T.o.v)}function g(G,T,O){k(G,T,O),R(G,T,O)}function k(G,T,O){var D=T.gf,M=T.g._hasOpacity,V=T.s.v,N=T.e.v;if(T.o._mdf||O){var C=G.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(C,T.o.v)}if(T.s._mdf||O){var E=G.t===1?"x1":"cx",S=E==="x1"?"y1":"cy";D.setAttribute(E,V[0]),D.setAttribute(S,V[1]),M&&!T.g._collapsable&&(T.of.setAttribute(E,V[0]),T.of.setAttribute(S,V[1]))}var w,F,H,W;if(T.g._cmdf||O){w=T.cst;var et=T.g.c;for(H=w.length,F=0;F<H;F+=1)W=w[F],W.setAttribute("offset",et[F*4]+"%"),W.setAttribute("stop-color","rgb("+et[F*4+1]+","+et[F*4+2]+","+et[F*4+3]+")")}if(M&&(T.g._omdf||O)){var yt=T.g.o;for(T.g._collapsable?w=T.cst:w=T.ost,H=w.length,F=0;F<H;F+=1)W=w[F],T.g._collapsable||W.setAttribute("offset",yt[F*2]+"%"),W.setAttribute("stop-opacity",yt[F*2+1])}if(G.t===1)(T.e._mdf||O)&&(D.setAttribute("x2",N[0]),D.setAttribute("y2",N[1]),M&&!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||O)&&(pt=Math.sqrt(Math.pow(V[0]-N[0],2)+Math.pow(V[1]-N[1],2)),D.setAttribute("r",pt),M&&!T.g._collapsable&&T.of.setAttribute("r",pt)),T.e._mdf||T.h._mdf||T.a._mdf||O){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,J=Math.cos(ot+T.a.v)*ct+V[0],I=Math.sin(ot+T.a.v)*ct+V[1];D.setAttribute("fx",J),D.setAttribute("fy",I),M&&!T.g._collapsable&&(T.of.setAttribute("fx",J),T.of.setAttribute("fy",I))}}}function R(G,T,O){var D=T.style,M=T.d;M&&(M._mdf||O)&&M.dashStr&&(D.pElem.setAttribute("stroke-dasharray",M.dashStr),D.pElem.setAttribute("stroke-dashoffset",M.dashoffset[0])),T.c&&(T.c._mdf||O)&&D.pElem.setAttribute("stroke","rgb("+ne(T.c.v[0])+","+ne(T.c.v[1])+","+ne(T.c.v[2])+")"),(T.o._mdf||O)&&D.pElem.setAttribute("stroke-opacity",T.o.v),(T.w._mdf||O)&&(D.pElem.setAttribute("stroke-width",T.w.v),D.msElem&&D.msElem.setAttribute("stroke-width",T.w.v))}return a}();function qt(e,i,a){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,i,a),this.prevViewData=[]}L([Ti,Jo,sa,Zp,ts,xi,aa],qt),qt.prototype.initSecondaryElement=function(){},qt.prototype.identityMatrix=new fe,qt.prototype.buildExpressionInterface=function(){},qt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},qt.prototype.filterUniqueShapes=function(){var e,i=this.shapes.length,a,l,h=this.stylesList.length,c,v=[],A=!1;for(l=0;l<h;l+=1){for(c=this.stylesList[l],A=!1,v.length=0,e=0;e<i;e+=1)a=this.shapes[e],a.styles.indexOf(c)!==-1&&(v.push(a),A=a._isAnimated||A);v.length>1&&A&&this.setShapesAsAnimated(v)}},qt.prototype.setShapesAsAnimated=function(e){var i,a=e.length;for(i=0;i<a;i+=1)e[i].setAsAnimated()},qt.prototype.createStyleElement=function(e,i){var a,l=new em(e,i),h=l.pElem;if(e.ty==="st")a=new rm(this,e,l);else if(e.ty==="fl")a=new im(this,e,l);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?es:sm;a=new c(this,e,l),this.globalData.defs.appendChild(a.gf),a.maskId&&(this.globalData.defs.appendChild(a.ms),this.globalData.defs.appendChild(a.of),h.setAttribute("mask","url("+b()+"#"+a.maskId+")"))}else e.ty==="no"&&(a=new om(this,e,l));return(e.ty==="st"||e.ty==="gs")&&(h.setAttribute("stroke-linecap",Qp[e.lc||2]),h.setAttribute("stroke-linejoin",Jp[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"]=Fd(e.bm)),this.stylesList.push(l),this.addToAnimatedContents(e,a),a},qt.prototype.createGroupElement=function(e){var i=new ay;return e.ln&&i.gr.setAttribute("id",e.ln),e.cl&&i.gr.setAttribute("class",e.cl),e.bm&&(i.gr.style["mix-blend-mode"]=Fd(e.bm)),i},qt.prototype.createTransformElement=function(e,i){var a=Rd.getTransformProperty(this,e,this),l=new ny(a,a.o,i);return this.addToAnimatedContents(e,l),l},qt.prototype.createShapeElement=function(e,i,a){var l=4;e.ty==="rc"?l=5:e.ty==="el"?l=6:e.ty==="sr"&&(l=7);var h=Sn.getShapeProp(this,e,l,this),c=new tm(i,a,h);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(e,c),c},qt.prototype.addToAnimatedContents=function(e,i){for(var a=0,l=this.animatedContents.length;a<l;){if(this.animatedContents[a].element===i)return;a+=1}this.animatedContents.push({fn:ly.createRenderFunction(e),element:i,data:e})},qt.prototype.setElementStyles=function(e){var i=e.styles,a,l=this.stylesList.length;for(a=0;a<l;a+=1)this.stylesList[a].closed||i.push(this.stylesList[a])},qt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,i=this.itemsData.length;for(e=0;e<i;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),i=this.dynamicProperties.length,e=0;e<i;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},qt.prototype.searchShapes=function(e,i,a,l,h,c,v){var A=[].concat(c),g,k=e.length-1,R,G,T=[],O=[],D,M,V;for(g=k;g>=0;g-=1){if(V=this.searchProcessedElement(e[g]),V?i[g]=a[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?i[g].style.closed=!1:i[g]=this.createStyleElement(e[g],h),e[g]._render&&i[g].style.pElem.parentNode!==l&&l.appendChild(i[g].style.pElem),T.push(i[g].style);else if(e[g].ty==="gr"){if(!V)i[g]=this.createGroupElement(e[g]);else for(G=i[g].it.length,R=0;R<G;R+=1)i[g].prevViewData[R]=i[g].it[R];this.searchShapes(e[g].it,i[g].it,i[g].prevViewData,i[g].gr,h+1,A,v),e[g]._render&&i[g].gr.parentNode!==l&&l.appendChild(i[g].gr)}else e[g].ty==="tr"?(V||(i[g]=this.createTransformElement(e[g],l)),D=i[g].transform,A.push(D)):e[g].ty==="sh"||e[g].ty==="rc"||e[g].ty==="el"||e[g].ty==="sr"?(V||(i[g]=this.createShapeElement(e[g],A,h)),this.setElementStyles(i[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?(M=i[g],M.closed=!1):(M=yi.getModifier(e[g].ty),M.init(this,e[g]),i[g]=M,this.shapeModifiers.push(M)),O.push(M)):e[g].ty==="rp"&&(V?(M=i[g],M.closed=!0):(M=yi.getModifier(e[g].ty),i[g]=M,M.init(this,e,g,i),this.shapeModifiers.push(M),v=!1),O.push(M));this.addProcessedElement(e[g],g+1)}for(k=T.length,g=0;g<k;g+=1)T[g].closed=!0;for(k=O.length,g=0;g<k;g+=1)O[g].closed=!0},qt.prototype.renderInnerContent=function(){this.renderModifiers();var e,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<i;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"))},qt.prototype.renderShape=function(){var e,i=this.animatedContents.length,a;for(e=0;e<i;e+=1)a=this.animatedContents[e],(this._isFirstFrame||a.element._isAnimated)&&a.data!==!0&&a.fn(a.data,a.element,this._isFirstFrame)},qt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function zd(e,i,a,l,h,c){this.o=e,this.sw=i,this.sc=a,this.fc=l,this.m=h,this.p=c,this._mdf={o:!0,sw:!!i,sc:!!a,fc:!!l,m:!0,p:!0}}zd.prototype.update=function(e,i,a,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!==i&&(this.sw=i,this._mdf.sw=!0,v=!0),this.sc!==a&&(this.sc=a,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 Se(e,i){this._frameId=r,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,i.d&&i.d.sid&&(i.d=e.globalData.slotManager.getProp(i.d)),this.data=i,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)}Se.prototype.defaultBoxWidth=[0,0],Se.prototype.copyData=function(e,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);return e},Se.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},Se.prototype.searchProperty=function(){return this.searchKeyframes()},Se.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Se.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},Se.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 i=this.currentData,a=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)a!==this.keysIndex?c=this.effectsSequence[l](c,c.t):c=this.effectsSequence[l](this.currentData,c.t);i!==c&&this.setCurrentData(c),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},Se.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,i=this.elem.comp.renderedFrame,a=0,l=e.length;a<=l-1&&!(a===l-1||e[a+1].t>i);)a+=1;return this.keysIndex!==a&&(this.keysIndex=a),this.data.d.k[this.keysIndex].s},Se.prototype.buildFinalText=function(e){for(var i=[],a=0,l=e.length,h,c,v=!1,A=!1,g="";a<l;)v=A,A=!1,h=e.charCodeAt(a),g=e.charAt(a),ao.isCombinedCharacter(h)?v=!0:h>=55296&&h<=56319?ao.isRegionalFlag(e,a)?g=e.substr(a,14):(c=e.charCodeAt(a+1),c>=56320&&c<=57343&&(ao.isModifier(h,c)?(g=e.substr(a,2),v=!0):ao.isFlagEmoji(e.substr(a,4))?g=e.substr(a,4):g=e.substr(a,2))):h>56319?(c=e.charCodeAt(a+1),ao.isVariationSelector(h)&&(v=!0)):ao.isZeroWidthJoiner(h)&&(v=!0,A=!0),v?(i[i.length-1]+=g,v=!1):i.push(g),a+=g.length;return i},Se.prototype.completeTextData=function(e){e.__complete=!0;var i=this.elem.globalData.fontManager,a=this.data,l=[],h,c,v,A=0,g,k=a.m.g,R=0,G=0,T=0,O=[],D=0,M=0,V,N,C=i.getFontByName(e.f),E,S=0,w=Wp(C);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 F=e.tr/1e3*e.finalSize,H;if(e.sz)for(var W=!0,et=e.sz[0],yt=e.sz[1],pt,ot;W;){ot=this.buildFinalText(e.t),pt=0,D=0,c=ot.length,F=e.tr/1e3*e.finalSize;var xt=-1;for(h=0;h<c;h+=1)H=ot[h].charCodeAt(0),v=!1,ot[h]===" "?xt=h:(H===13||H===3)&&(D=0,v=!0,pt+=e.finalLineHeight||e.finalSize*1.2),i.chars?(E=i.getCharData(ot[h],C.fStyle,C.fFamily),S=v?0:E.w*e.finalSize/100):S=i.measureText(ot[h],e.f,e.finalSize),D+S>et&&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+=S,D+=F);pt+=C.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,W=!1)}D=-F,S=0;var ct=0,J;for(h=0;h<c;h+=1)if(v=!1,J=e.finalText[h],H=J.charCodeAt(0),H===13||H===3?(ct=0,O.push(D),M=D>M?D:M,D=-2*F,g="",v=!0,T+=1):g=J,i.chars?(E=i.getCharData(J,C.fStyle,i.getFontByName(e.f).fFamily),S=v?0:E.w*e.finalSize/100):S=i.measureText(g,e.f,e.finalSize),J===" "?ct+=S+F:(D+=S+F+ct,ct=0),l.push({l:S,an:S,add:R,n:v,anIndexes:[],val:g,line:T,animatorJustifyOffset:0}),k==2){if(R+=S,g===""||g===" "||h===c-1){for((g===""||g===" ")&&(R-=S);G<=h;)l[G].an=R,l[G].ind=A,l[G].extra=S,G+=1;A+=1,R=0}}else if(k==3){if(R+=S,g===""||h===c-1){for(g===""&&(R-=S);G<=h;)l[G].an=R,l[G].ind=A,l[G].extra=S,G+=1;R=0,A+=1}}else l[A].ind=A,l[A].extra=0,A+=1;if(e.l=l,M=D>M?D:M,O.push(D),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=M,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=O;var I=a.a,P,f;N=I.length;var y,Y,$=[];for(V=0;V<N;V+=1){for(P=I[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),Y=0,y=P.s.b,h=0;h<c;h+=1)f=l[h],f.anIndexes[V]=Y,(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&&$.push(Y),Y+=1);a.a[V].s.totalChars=Y;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=$.splice(Math.floor(Math.random()*$.length),1)[0]),f.anIndexes[V]=ft}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=C.ascent*e.finalSize/100},Se.prototype.updateDocumentData=function(e,i){i=i===void 0?this.keysIndex:i;var a=this.copyData({},this.data.d.k[i].s);a=this.copyData(a,e),this.data.d.k[i].s=a,this.recalculate(i),this.setCurrentData(a),this.elem.addDynamicProperty(this)},Se.prototype.recalculate=function(e){var i=this.data.d.k[e].s;i.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(i)},Se.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},Se.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var dy=function(){var e=Math.max,i=Math.min,a=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 A=0,g=0,k=1,R=1;this.ne.v>0?A=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?k=1-this.xe.v/100:R=1+this.xe.v/100;var G=Zs.getBezierEasing(A,g,k,R).get,T=0,O=this.finalS,D=this.finalE,M=this.data.sh;if(M===2)D===O?T=v>=D?1:0:T=e(0,i(.5/(D-O)+(v-O)/(D-O),1)),T=G(T);else if(M===3)D===O?T=v>=D?0:1:T=1-e(0,i(.5/(D-O)+(v-O)/(D-O),1)),T=G(T);else if(M===4)D===O?T=0:(T=e(0,i(.5/(D-O)+(v-O)/(D-O),1)),T<.5?T*=2:T=1-2*(T-.5)),T=G(T);else if(M===5){if(D===O)T=0;else{var V=D-O;v=i(e(0,v+.5-O),D-O);var N=-V/2+v,C=V/2;T=Math.sqrt(1-N*N/(C*C))}T=G(T)}else M===6?(D===O?T=0:(v=i(e(0,v+.5-O),D-O),T=(1+Math.cos(Math.PI+Math.PI*2*v/(D-O)))/2),T=G(T)):(v>=a(O)&&(v-O<0?T=e(0,i(i(D,1)-(O-v),1)):T=e(0,i(D-v,1))),T=G(T));if(this.sm.v!==100){var E=this.sm.v*.01;E===0&&(E=1e-8);var S=.5-E*.5;T<S?T=0:(T=(T-S)/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 A=this.data.r===2?1:100/this.data.totalChars,g=this.o.v/A,k=this.s.v/A+g,R=this.e.v/A+g;if(k>R){var G=k;k=R,R=G}this.finalS=k,this.finalE=R}},L([le],l);function h(c,v,A){return new l(c,v,A)}return{getTextSelectorProp:h}}();function cy(e,i,a){var l={propType:!1},h=at.getProp,c=i.a;this.a={r:c.r?h(e,c.r,0,kt,a):l,rx:c.rx?h(e,c.rx,0,kt,a):l,ry:c.ry?h(e,c.ry,0,kt,a):l,sk:c.sk?h(e,c.sk,0,kt,a):l,sa:c.sa?h(e,c.sa,0,kt,a):l,s:c.s?h(e,c.s,1,.01,a):l,a:c.a?h(e,c.a,1,0,a):l,o:c.o?h(e,c.o,0,.01,a):l,p:c.p?h(e,c.p,1,0,a):l,sw:c.sw?h(e,c.sw,0,0,a):l,sc:c.sc?h(e,c.sc,1,0,a):l,fc:c.fc?h(e,c.fc,1,0,a):l,fh:c.fh?h(e,c.fh,0,0,a):l,fs:c.fs?h(e,c.fs,0,.01,a):l,fb:c.fb?h(e,c.fb,0,.01,a):l,t:c.t?h(e,c.t,0,0,a):l},this.s=dy.getTextSelectorProp(e,i.s,a),this.s.t=i.s.t}function lo(e,i,a){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=i,this._elem=a,this._animatorsData=it(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(a)}lo.prototype.searchProperties=function(){var e,i=this._textData.a.length,a,l=at.getProp;for(e=0;e<i;e+=1)a=this._textData.a[e],this._animatorsData[e]=new cy(this._elem,a,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)},lo.prototype.getMeasures=function(e,i){if(this.lettersChangedFlag=i,!(!this._mdf&&!this._isFirstFrame&&!i&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var a=this._moreOptions.alignment.v,l=this._animatorsData,h=this._textData,c=this.mHelper,v=this._renderType,A=this.renderedLetters.length,g,k,R,G,T=e.l,O,D,M,V,N,C,E,S,w,F,H,W,et,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()),O={tLength:0,segments:[]},G=ot._length-1;var xt;for(W=0,R=0;R<G;R+=1)xt=kr.buildBezierData(ot.v[R],ot.v[R+1],[ot.o[R][0]-ot.v[R][0],ot.o[R][1]-ot.v[R][1]],[ot.i[R+1][0]-ot.v[R+1][0],ot.i[R+1][1]-ot.v[R+1][1]]),O.tLength+=xt.segmentLength,O.segments.push(xt),W+=xt.segmentLength;R=G,pt.v.c&&(xt=kr.buildBezierData(ot.v[R],ot.v[0],[ot.o[R][0]-ot.v[R][0],ot.o[R][1]-ot.v[R][1]],[ot.i[0][0]-ot.v[0][0],ot.i[0][1]-ot.v[0][1]]),O.tLength+=xt.segmentLength,O.segments.push(xt),W+=xt.segmentLength),this._pathData.pi=O}if(O=this._pathData.pi,D=this._pathData.f.v,E=0,C=1,V=0,N=!0,F=O.segments,D<0&&pt.v.c)for(O.tLength<Math.abs(D)&&(D=-Math.abs(D)%O.tLength),E=F.length-1,w=F[E].points,C=w.length-1;D<0;)D+=w[C].partialLength,C-=1,C<0&&(E-=1,w=F[E].points,C=w.length-1);w=F[E].points,S=w[C-1],M=w[C],H=M.partialLength}G=T.length,g=0,k=0;var ct=e.finalSize*1.2*.714,J=!0,I,P,f,y,Y;y=l.length;var $,nt=-1,ft,Et,Rt,Ot=D,Jt=E,Oe=C,Nr=-1,Me,de,Ye,Dt,ht,qr,Ii,Xr,Lr="",Zr=this.defaultPropsArray,Qr;if(e.j===2||e.j===1){var Pe=0,_i=0,Ci=e.j===2?-.5:-1,yr=0,ki=!0;for(R=0;R<G;R+=1)if(T[R].n){for(Pe&&(Pe+=_i);yr<R;)T[yr].animatorJustifyOffset=Pe,yr+=1;Pe=0,ki=!0}else{for(f=0;f<y;f+=1)I=l[f].a,I.t.propType&&(ki&&e.j===2&&(_i+=I.t.v*Ci),P=l[f].s,$=P.getMult(T[R].anIndexes[f],h.a[f].s.totalChars),$.length?Pe+=I.t.v*$[0]*Ci:Pe+=I.t.v*$*Ci);ki=!1}for(Pe&&(Pe+=_i);yr<R;)T[yr].animatorJustifyOffset=Pe,yr+=1}for(R=0;R<G;R+=1){if(c.reset(),Me=1,T[R].n)g=0,k+=e.yOffset,k+=J?1:0,D=Ot,J=!1,this._hasMaskedPath&&(E=Jt,C=Oe,w=F[E].points,S=w[C-1],M=w[C],H=M.partialLength,V=0),Lr="",Xr="",qr="",Qr="",Zr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Nr!==T[R].line){switch(e.j){case 1:D+=W-e.lineWidths[T[R].line];break;case 2:D+=(W-e.lineWidths[T[R].line])/2;break;default:break}Nr=T[R].line}nt!==T[R].ind&&(T[nt]&&(D+=T[nt].extra),D+=T[R].an/2,nt=T[R].ind),D+=a[0]*T[R].an*.005;var Er=0;for(f=0;f<y;f+=1)I=l[f].a,I.p.propType&&(P=l[f].s,$=P.getMult(T[R].anIndexes[f],h.a[f].s.totalChars),$.length?Er+=I.p.v[0]*$[0]:Er+=I.p.v[0]*$),I.a.propType&&(P=l[f].s,$=P.getMult(T[R].anIndexes[f],h.a[f].s.totalChars),$.length?Er+=I.a.v[0]*$[0]:Er+=I.a.v[0]*$);for(N=!0,this._pathData.a.v&&(D=T[0].an*.5+(W-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*nt/(G-1),D+=this._pathData.f.v);N;)V+H>=D+Er||!w?(et=(D+Er-V)/M.partialLength,Et=S.point[0]+(M.point[0]-S.point[0])*et,Rt=S.point[1]+(M.point[1]-S.point[1])*et,c.translate(-a[0]*T[R].an*.005,-(a[1]*ct)*.01),N=!1):w&&(V+=M.partialLength,C+=1,C>=w.length&&(C=0,E+=1,F[E]?w=F[E].points:pt.v.c?(C=0,E=0,w=F[E].points):(V-=M.partialLength,w=null)),w&&(S=M,M=w[C],H=M.partialLength));ft=T[R].an/2-T[R].add,c.translate(-ft,0,0)}else ft=T[R].an/2-T[R].add,c.translate(-ft,0,0),c.translate(-a[0]*T[R].an*.005,-a[1]*ct*.01,0);for(f=0;f<y;f+=1)I=l[f].a,I.t.propType&&(P=l[f].s,$=P.getMult(T[R].anIndexes[f],h.a[f].s.totalChars),(g!==0||e.j!==0)&&(this._hasMaskedPath?$.length?D+=I.t.v*$[0]:D+=I.t.v*$:$.length?g+=I.t.v*$[0]:g+=I.t.v*$));for(e.strokeWidthAnim&&(Ye=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&&(Dt=[e.fc[0],e.fc[1],e.fc[2]]),f=0;f<y;f+=1)I=l[f].a,I.a.propType&&(P=l[f].s,$=P.getMult(T[R].anIndexes[f],h.a[f].s.totalChars),$.length?c.translate(-I.a.v[0]*$[0],-I.a.v[1]*$[1],I.a.v[2]*$[2]):c.translate(-I.a.v[0]*$,-I.a.v[1]*$,I.a.v[2]*$));for(f=0;f<y;f+=1)I=l[f].a,I.s.propType&&(P=l[f].s,$=P.getMult(T[R].anIndexes[f],h.a[f].s.totalChars),$.length?c.scale(1+(I.s.v[0]-1)*$[0],1+(I.s.v[1]-1)*$[1],1):c.scale(1+(I.s.v[0]-1)*$,1+(I.s.v[1]-1)*$,1));for(f=0;f<y;f+=1){if(I=l[f].a,P=l[f].s,$=P.getMult(T[R].anIndexes[f],h.a[f].s.totalChars),I.sk.propType&&($.length?c.skewFromAxis(-I.sk.v*$[0],I.sa.v*$[1]):c.skewFromAxis(-I.sk.v*$,I.sa.v*$)),I.r.propType&&($.length?c.rotateZ(-I.r.v*$[2]):c.rotateZ(-I.r.v*$)),I.ry.propType&&($.length?c.rotateY(I.ry.v*$[1]):c.rotateY(I.ry.v*$)),I.rx.propType&&($.length?c.rotateX(I.rx.v*$[0]):c.rotateX(I.rx.v*$)),I.o.propType&&($.length?Me+=(I.o.v*$[0]-Me)*$[0]:Me+=(I.o.v*$-Me)*$),e.strokeWidthAnim&&I.sw.propType&&($.length?Ye+=I.sw.v*$[0]:Ye+=I.sw.v*$),e.strokeColorAnim&&I.sc.propType)for(ht=0;ht<3;ht+=1)$.length?de[ht]+=(I.sc.v[ht]-de[ht])*$[0]:de[ht]+=(I.sc.v[ht]-de[ht])*$;if(e.fillColorAnim&&e.fc){if(I.fc.propType)for(ht=0;ht<3;ht+=1)$.length?Dt[ht]+=(I.fc.v[ht]-Dt[ht])*$[0]:Dt[ht]+=(I.fc.v[ht]-Dt[ht])*$;I.fh.propType&&($.length?Dt=yp(Dt,I.fh.v*$[0]):Dt=yp(Dt,I.fh.v*$)),I.fs.propType&&($.length?Dt=gp(Dt,I.fs.v*$[0]):Dt=gp(Dt,I.fs.v*$)),I.fb.propType&&($.length?Dt=bp(Dt,I.fb.v*$[0]):Dt=bp(Dt,I.fb.v*$))}}for(f=0;f<y;f+=1)I=l[f].a,I.p.propType&&(P=l[f].s,$=P.getMult(T[R].anIndexes[f],h.a[f].s.totalChars),this._hasMaskedPath?$.length?c.translate(0,I.p.v[1]*$[0],-I.p.v[2]*$[1]):c.translate(0,I.p.v[1]*$,-I.p.v[2]*$):$.length?c.translate(I.p.v[0]*$[0],I.p.v[1]*$[1],-I.p.v[2]*$[2]):c.translate(I.p.v[0]*$,I.p.v[1]*$,-I.p.v[2]*$));if(e.strokeWidthAnim&&(qr=Ye<0?0:Ye),e.strokeColorAnim&&(Ii="rgb("+Math.round(de[0]*255)+","+Math.round(de[1]*255)+","+Math.round(de[2]*255)+")"),e.fillColorAnim&&e.fc&&(Xr="rgb("+Math.round(Dt[0]*255)+","+Math.round(Dt[1]*255)+","+Math.round(Dt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-e.ls),c.translate(0,a[1]*ct*.01+k,0),this._pathData.p.v){yt=(M.point[1]-S.point[1])/(M.point[0]-S.point[0]);var co=Math.atan(yt)*180/Math.PI;M.point[0]<S.point[0]&&(co+=180),c.rotate(-co*Math.PI/180)}c.translate(Et,Rt,0),D-=a[0]*T[R].an*.005,T[R+1]&&nt!==T[R+1].ind&&(D+=T[R].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[R].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[R].line]),0,0);break;case 2:c.translate(T[R].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[R].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(ft,0,0),c.translate(a[0]*T[R].an*.005,a[1]*ct*.01,0),g+=T[R].l+e.tr*.001*e.finalSize}v==="html"?Lr=c.toCSS():v==="svg"?Lr=c.to2dCSS():Zr=[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]],Qr=Me}A<=R?(Y=new zd(Qr,qr,Ii,Xr,Lr,Zr),this.renderedLetters.push(Y),A+=1,this.lettersChangedFlag=!0):(Y=this.renderedLetters[R],this.lettersChangedFlag=Y.update(Qr,qr,Ii,Xr,Lr,Zr)||this.lettersChangedFlag)}}},lo.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},lo.prototype.mHelper=new fe,lo.prototype.defaultPropsArray=[],L([le],lo);function or(){}or.prototype.initElement=function(e,i,a){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,i,a),this.textProperty=new Se(this,e.t,this.dynamicProperties),this.textAnimator=new lo(e.t,this.renderType,this),this.initTransform(e,i,a),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},or.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},or.prototype.createPathShape=function(e,i){var a,l=i.length,h,c="";for(a=0;a<l;a+=1)i[a].ty==="sh"&&(h=i[a].ks.k,c+=am(h,h.i.length,!0,e));return c},or.prototype.updateDocumentData=function(e,i){this.textProperty.updateDocumentData(e,i)},or.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},or.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},or.prototype.applyTextPropertiesToMatrix=function(e,i,a,l,h){switch(e.ps&&i.translate(e.ps[0],e.ps[1]+e.ascent,0),i.translate(0,-e.ls,0),e.j){case 1:i.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[a]),0,0);break;case 2:i.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[a])/2,0,0);break;default:break}i.translate(l,h,0)},or.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},or.prototype.emptyProp=new zd,or.prototype.destroy=function(){},or.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var hy={shapes:[]};function jr(e,i,a){this.textSpans=[],this.renderType="svg",this.initElement(e,i,a)}L([Ti,Jo,sa,ts,xi,aa,or],jr),jr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Tt("text"))},jr.prototype.buildTextContents=function(e){for(var i=0,a=e.length,l=[],h="";i<a;)e[i]==="\r"||e[i]===""?(l.push(h),h=""):h+=e[i],i+=1;return l.push(h),l},jr.prototype.buildShapeData=function(e,i){if(e.shapes&&e.shapes.length){var a=e.shapes[0];if(a.it){var l=a.it[a.it.length-1];l.s&&(l.s.k[0]=i,l.s.k[1]=i)}}return e},jr.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,i,a=this.textProperty.currentData;this.renderedLetters=it(a?a.l.length:0),a.fc?this.layerElement.setAttribute("fill",this.buildColor(a.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),a.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(a.sc)),this.layerElement.setAttribute("stroke-width",a.sw)),this.layerElement.setAttribute("font-size",a.finalSize);var l=this.globalData.fontManager.getFontByName(a.f);if(l.fClass)this.layerElement.setAttribute("class",l.fClass);else{this.layerElement.setAttribute("font-family",l.fFamily);var h=a.fWeight,c=a.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",h)}this.layerElement.setAttribute("aria-label",a.t);var v=a.l||[],A=!!this.globalData.fontManager.chars;i=v.length;var g,k=this.mHelper,R="",G=this.data.singleShape,T=0,O=0,D=!0,M=a.tr*.001*a.finalSize;if(G&&!A&&!a.sz){var V=this.textContainer,N="start";switch(a.j){case 1:N="end";break;case 2:N="middle";break;default:N="start";break}V.setAttribute("text-anchor",N),V.setAttribute("letter-spacing",M);var C=this.buildTextContents(a.finalText);for(i=C.length,O=a.ps?a.ps[1]+a.ascent:0,e=0;e<i;e+=1)g=this.textSpans[e].span||Tt("tspan"),g.textContent=C[e],g.setAttribute("x",0),g.setAttribute("y",O),g.style.display="inherit",V.appendChild(g),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=g,O+=a.finalLineHeight;this.layerElement.appendChild(V)}else{var E=this.textSpans.length,S;for(e=0;e<i;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!A||!G||e===0){if(g=E>e?this.textSpans[e].span:Tt(A?"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,A){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(),G&&(v[e].n&&(T=-M,O+=a.yOffset,O+=D?1:0,D=!1),this.applyTextPropertiesToMatrix(a,k,v[e].line,T,O),T+=v[e].l||0,T+=M),A){S=this.globalData.fontManager.getCharData(a.finalText[e],l.fStyle,this.globalData.fontManager.getFontByName(a.f).fFamily);var F;if(S.t===1)F=new da(S.data,this.globalData,this);else{var H=hy;S.data&&S.data.shapes&&(H=this.buildShapeData(S.data,a.finalSize)),F=new qt(H,this.globalData,this)}if(this.textSpans[e].glyph){var W=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(W.layerElement),W.destroy()}this.textSpans[e].glyph=F,F._debug=!0,F.prepareFrame(0),F.renderFrame(),this.textSpans[e].childSpan.appendChild(F.layerElement),S.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+a.finalSize/100+","+a.finalSize/100+")")}else G&&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")}G&&g&&g.setAttribute("d",R)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},jr.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},jr.prototype.getValue=function(){var e,i=this.textSpans.length,a;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<i;e+=1)a=this.textSpans[e].glyph,a&&(a.prepareFrame(this.comp.renderedFrame-this.data.st),a._mdf&&(this._mdf=!0))},jr.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,i,a=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;i=l.length;var h,c,v;for(e=0;e<i;e+=1)l[e].n||(h=a[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 Vd(e,i,a){this.initElement(e,i,a)}L([na],Vd),Vd.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,i,a){this.initFrame(),this.initBaseData(e,i,a),this.initFrame(),this.initTransform(e,i,a),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,Jo,ts,xi],Si);function re(){}L([ve],re),re.prototype.createNull=function(e){return new Si(e,this.globalData,this)},re.prototype.createShape=function(e){return new qt(e,this.globalData,this)},re.prototype.createText=function(e){return new jr(e,this.globalData,this)},re.prototype.createImage=function(e){return new na(e,this.globalData,this)},re.prototype.createSolid=function(e){return new Vd(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 i=this.globalData.defs;this.setupGlobalData(e,i),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var a=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=Le();a.setAttribute("id",h),a.appendChild(l),this.layerElement.setAttribute("clip-path","url("+b()+"#"+h+")"),i.appendChild(a),this.layers=e.layers,this.elements=it(e.layers.length)},re.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,i=this.layers?this.layers.length:0;for(e=0;e<i;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 i=0,a=this.layers.length;for(i=0;i<a;i+=1)if(this.layers[i].ind===e)return i;return-1},re.prototype.buildItem=function(e){var i=this.elements;if(!(i[e]||this.layers[e].ty===99)){i[e]=!0;var a=this.createItem(this.layers[e]);if(i[e]=a,gn()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(a),a.initExpressions()),this.appendElementInPos(a,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(a);else{var h=i[l],c=h.getMatte(this.layers[e].tt);a.setMatte(c)}}}},re.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var i=0,a=this.elements.length;i<a;){if(this.elements[i]===e){var l="tp"in e.data?this.findIndexByInd(e.data.tp):i-1,h=this.elements[l],c=h.getMatte(this.layers[i].tt);e.setMatte(c);break}i+=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 i,a=this.layers.length;for(this.completeLayers||this.checkLayers(e),i=a-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(e-this.layers[i].st);if(this.globalData._mdf)for(i=0;i<a;i+=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame()}},re.prototype.appendElementInPos=function(e,i){var a=e.getBaseElement();if(a){for(var l=0,h;l<i;)this.elements[l]&&this.elements[l]!==!0&&this.elements[l].getBaseElement()&&(h=this.elements[l].getBaseElement()),l+=1;h?this.layerElement.insertBefore(a,h):this.layerElement.appendChild(a)}},re.prototype.hide=function(){this.layerElement.style.display="none"},re.prototype.show=function(){this.layerElement.style.display="block"};function Kr(){}L([Ti,Jo,ts,xi,aa],Kr),Kr.prototype.initElement=function(e,i,a){this.initFrame(),this.initBaseData(e,i,a),this.initTransform(e,i,a),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!i.progressiveLoad)&&this.buildAllItems(),this.hide()},Kr.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 i=this.tm.v;i===this.data.op&&(i=this.data.op-1),this.renderedFrame=i}var a,l=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),a=l-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&(this.elements[a].prepareFrame(this.renderedFrame-this.layers[a].st),this.elements[a]._mdf&&(this._mdf=!0))}},Kr.prototype.renderInnerContent=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},Kr.prototype.setElements=function(e){this.elements=e},Kr.prototype.getElements=function(){return this.elements},Kr.prototype.destroyElements=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)this.elements[e]&&this.elements[e].destroy()},Kr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function da(e,i,a){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?it(this.layers.length):[],this.initElement(e,i,a),this.tm=e.tm?at.getProp(this,e.tm,0,i.frameRate,this):{_placeholder:!0}}L([re,Kr,sa],da),da.prototype.createComp=function(e){return new da(e,this.globalData,this)};function Bd(e,i){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=Tt("svg");var a="";if(i&&i.title){var l=Tt("title"),h=Le();l.setAttribute("id",h),l.textContent=i.title,this.svgElement.appendChild(l),a+=h}if(i&&i.description){var c=Tt("desc"),v=Le();c.setAttribute("id",v),c.textContent=i.description,this.svgElement.appendChild(c),a+=" "+v}a&&this.svgElement.setAttribute("aria-labelledby",a);var A=Tt("defs");this.svgElement.appendChild(A);var g=Tt("g");this.svgElement.appendChild(g),this.layerElement=g,this.renderConfig={preserveAspectRatio:i&&i.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:i&&i.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:i&&i.contentVisibility||"visible",progressiveLoad:i&&i.progressiveLoad||!1,hideOnTransparent:!(i&&i.hideOnTransparent===!1),viewBoxOnly:i&&i.viewBoxOnly||!1,viewBoxSize:i&&i.viewBoxSize||!1,className:i&&i.className||"",id:i&&i.id||"",focusable:i&&i.focusable,filterSize:{width:i&&i.filterSize&&i.filterSize.width||"100%",height:i&&i.filterSize&&i.filterSize.height||"100%",x:i&&i.filterSize&&i.filterSize.x||"0%",y:i&&i.filterSize&&i.filterSize.y||"0%"},width:i&&i.width,height:i&&i.height,runExpressions:!i||i.runExpressions===void 0||i.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:A,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return L([re],Bd),Bd.prototype.createComp=function(e){return new da(e,this.globalData,this)},Tb("svg",Bd),yi.registerModifier("tm",br),yi.registerModifier("pb",Qs),yi.registerModifier("rp",wr),yi.registerModifier("rd",Js),yi.registerModifier("zz",ea),yi.registerModifier("op",ra),Mt})});var Dn=globalThis,Fn=Dn.ShadowRoot&&(Dn.ShadyCSS===void 0||Dn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Hd=Symbol(),lm=new WeakMap,ca=class{constructor(o,t,r){if(this._$cssResult$=!0,r!==Hd)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(Fn&&o===void 0){let r=t!==void 0&&t.length===1;r&&(o=lm.get(t)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),r&&lm.set(t,o))}return o}toString(){return this.cssText}},dm=n=>new ca(typeof n=="string"?n:n+"",void 0,Hd),B=(n,...o)=>{let t=n.length===1?n[0]:o.reduce((r,s,d)=>r+(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.")})(s)+n[d+1],n[0]);return new ca(t,n,Hd)},Gd=(n,o)=>{if(Fn)n.adoptedStyleSheets=o.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of o){let r=document.createElement("style"),s=Dn.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=t.cssText,n.appendChild(r)}},$n=Fn?n=>n:n=>n instanceof CSSStyleSheet?(o=>{let t="";for(let r of o.cssRules)t+=r.cssText;return dm(t)})(n):n;var{is:yy,defineProperty:Ey,getOwnPropertyDescriptor:Ty,getOwnPropertyNames:xy,getOwnPropertySymbols:Ay,getPrototypeOf:Sy}=Object,wi=globalThis,cm=wi.trustedTypes,Iy=cm?cm.emptyScript:"",Yd=wi.reactiveElementPolyfillSupport,ha=(n,o)=>n,pa={toAttribute(n,o){switch(o){case Boolean:n=n?Iy: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}},zn=(n,o)=>!yy(n,o),hm={attribute:!0,type:String,converter:pa,reflect:!1,hasChanged:zn},pm,mm;(pm=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(mm=wi.litPropertyMetadata)!=null||(wi.litPropertyMetadata=new WeakMap);var Jr=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=hm){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(o,t),!t.noAccessor){let r=Symbol(),s=this.getPropertyDescriptor(o,r,t);s!==void 0&&Ey(this.prototype,o,s)}}static getPropertyDescriptor(o,t,r){var m;let{get:s,set:d}=(m=Ty(this.prototype,o))!=null?m:{get(){return this[t]},set(b){this[t]=b}};return{get(){return s==null?void 0:s.call(this)},set(b){let x=s==null?void 0:s.call(this);d.call(this,b),this.requestUpdate(o,x,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){var t;return(t=this.elementProperties.get(o))!=null?t:hm}static _$Ei(){if(this.hasOwnProperty(ha("elementProperties")))return;let o=Sy(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(ha("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ha("properties"))){let t=this.properties,r=[...xy(t),...Ay(t)];for(let s of r)this.createProperty(s,t[s])}let o=this[Symbol.metadata];if(o!==null){let t=litPropertyMetadata.get(o);if(t!==void 0)for(let[r,s]of t)this.elementProperties.set(r,s)}this._$Eh=new Map;for(let[t,r]of this.elementProperties){let s=this._$Eu(t,r);s!==void 0&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){let t=[];if(Array.isArray(o)){let r=new Set(o.flat(1/0).reverse());for(let s of r)t.unshift($n(s))}else o!==void 0&&t.push($n(o));return t}static _$Eu(o,t){let r=t.attribute;return r===!1?void 0:typeof r=="string"?r: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,r;((t=this._$EO)!=null?t:this._$EO=new Set).add(o),this.renderRoot!==void 0&&this.isConnected&&((r=o.hostConnected)==null||r.call(o))}removeController(o){var t;(t=this._$EO)==null||t.delete(o)}_$E_(){let o=new Map,t=this.constructor.elementProperties;for(let r of t.keys())this.hasOwnProperty(r)&&(o.set(r,this[r]),delete this[r]);o.size>0&&(this._$Ep=o)}createRenderRoot(){var t;let o=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return Gd(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(r=>{var s;return(s=r.hostConnected)==null?void 0:s.call(r)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(t=>{var r;return(r=t.hostDisconnected)==null?void 0:r.call(t)})}attributeChangedCallback(o,t,r){this._$AK(o,r)}_$EC(o,t){var d;let r=this.constructor.elementProperties.get(o),s=this.constructor._$Eu(o,r);if(s!==void 0&&r.reflect===!0){let m=(((d=r.converter)==null?void 0:d.toAttribute)!==void 0?r.converter:pa).toAttribute(t,r.type);this._$Em=o,m==null?this.removeAttribute(s):this.setAttribute(s,m),this._$Em=null}}_$AK(o,t){var d;let r=this.constructor,s=r._$Eh.get(o);if(s!==void 0&&this._$Em!==s){let m=r.getPropertyOptions(s),b=typeof m.converter=="function"?{fromAttribute:m.converter}:((d=m.converter)==null?void 0:d.fromAttribute)!==void 0?m.converter:pa;this._$Em=s,this[s]=b.fromAttribute(t,m.type),this._$Em=null}}requestUpdate(o,t,r){var s;if(o!==void 0){if(r!=null||(r=this.constructor.getPropertyOptions(o)),!((s=r.hasChanged)!=null?s:zn)(this[o],t))return;this.P(o,t,r)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,t,r){var s;this._$AL.has(o)||this._$AL.set(o,t),r.reflect===!0&&this._$Em!==o&&((s=this._$Ej)!=null?s: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 r,s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((r=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),(s=this._$EO)==null||s.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(r=>{var s;return(s=r.hostUpdated)==null?void 0:s.call(r)}),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){}},um;Jr.elementStyles=[],Jr.shadowRootOptions={mode:"open"},Jr[ha("elementProperties")]=new Map,Jr[ha("finalized")]=new Map,Yd==null||Yd({ReactiveElement:Jr}),((um=wi.reactiveElementVersions)!=null?um:wi.reactiveElementVersions=[]).push("2.0.4");var ua=globalThis,Vn=ua.trustedTypes,fm=Vn?Vn.createPolicy("lit-html",{createHTML:n=>n}):void 0,Kd="$lit$",ti=`lit$${Math.random().toFixed(9).slice(2)}$`,qd="?"+ti,_y=`<${qd}>`,mo=document,fa=()=>mo.createComment(""),va=n=>n===null||typeof n!="object"&&typeof n!="function",Xd=Array.isArray,xm=n=>Xd(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",Wd=`[
3
- \f\r]`,ma=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,vm=/-->/g,gm=/>/g,ho=RegExp(`>|${Wd}(?:([^\\s"'>=/]+)(${Wd}*=${Wd}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),bm=/'/g,ym=/"/g,Am=/^(?:script|style|textarea|title)$/i,Zd=n=>(o,...t)=>({_$litType$:n,strings:o,values:t}),_=Zd(1),t0=Zd(2),e0=Zd(3),ge=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),Em=new WeakMap,po=mo.createTreeWalker(mo,129);function Sm(n,o){if(!Xd(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return fm!==void 0?fm.createHTML(o):o}var Im=(n,o)=>{let t=n.length-1,r=[],s,d=o===2?"<svg>":o===3?"<math>":"",m=ma;for(let b=0;b<t;b++){let x=n[b],L,U,K=-1,Z=0;for(;Z<x.length&&(m.lastIndex=Z,U=m.exec(x),U!==null);)Z=m.lastIndex,m===ma?U[1]==="!--"?m=vm:U[1]!==void 0?m=gm:U[2]!==void 0?(Am.test(U[2])&&(s=RegExp("</"+U[2],"g")),m=ho):U[3]!==void 0&&(m=ho):m===ho?U[0]===">"?(m=s!=null?s:ma,K=-1):U[1]===void 0?K=-2:(K=m.lastIndex-U[2].length,L=U[1],m=U[3]===void 0?ho:U[3]==='"'?ym:bm):m===ym||m===bm?m=ho:m===vm||m===gm?m=ma:(m=ho,s=void 0);let X=m===ho&&n[b+1].startsWith("/>")?" ":"";d+=m===ma?x+_y:K>=0?(r.push(L),x.slice(0,K)+Kd+x.slice(K)+ti+X):x+ti+(K===-2?b:X)}return[Sm(n,d+(n[t]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),r]},ga=class n{constructor({strings:o,_$litType$:t},r){let s;this.parts=[];let d=0,m=0,b=o.length-1,x=this.parts,[L,U]=Im(o,t);if(this.el=n.createElement(L,r),po.currentNode=this.el.content,t===2||t===3){let K=this.el.content.firstChild;K.replaceWith(...K.childNodes)}for(;(s=po.nextNode())!==null&&x.length<b;){if(s.nodeType===1){if(s.hasAttributes())for(let K of s.getAttributeNames())if(K.endsWith(Kd)){let Z=U[m++],X=s.getAttribute(K).split(ti),it=/([.?@])?(.*)/.exec(Z);x.push({type:1,index:d,name:it[2],strings:X,ctor:it[1]==="."?Un:it[1]==="?"?Hn:it[1]==="@"?Gn:fo}),s.removeAttribute(K)}else K.startsWith(ti)&&(x.push({type:6,index:d}),s.removeAttribute(K));if(Am.test(s.tagName)){let K=s.textContent.split(ti),Z=K.length-1;if(Z>0){s.textContent=Vn?Vn.emptyScript:"";for(let X=0;X<Z;X++)s.append(K[X],fa()),po.nextNode(),x.push({type:2,index:++d});s.append(K[Z],fa())}}}else if(s.nodeType===8)if(s.data===qd)x.push({type:2,index:d});else{let K=-1;for(;(K=s.data.indexOf(ti,K+1))!==-1;)x.push({type:7,index:d}),K+=ti.length-1}d++}}static createElement(o,t){let r=mo.createElement("template");return r.innerHTML=o,r}};function uo(n,o,t=n,r){var m,b,x;if(o===ge)return o;let s=r!==void 0?(m=t.o)==null?void 0:m[r]:t.l,d=va(o)?void 0:o._$litDirective$;return(s==null?void 0:s.constructor)!==d&&((b=s==null?void 0:s._$AO)==null||b.call(s,!1),d===void 0?s=void 0:(s=new d(n),s._$AT(n,t,r)),r!==void 0?((x=t.o)!=null?x:t.o=[])[r]=s:t.l=s),s!==void 0&&(o=uo(n,s._$AS(n,o.values),s,r)),o}var Bn=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:r}=this._$AD,s=((L=o==null?void 0:o.creationScope)!=null?L:mo).importNode(t,!0);po.currentNode=s;let d=po.nextNode(),m=0,b=0,x=r[0];for(;x!==void 0;){if(m===x.index){let U;x.type===2?U=new rs(d,d.nextSibling,this,o):x.type===1?U=new x.ctor(d,x.name,x.strings,this,o):x.type===6&&(U=new Yn(d,this,o)),this._$AV.push(U),x=r[++b]}m!==(x==null?void 0:x.index)&&(d=po.nextNode(),m++)}return po.currentNode=mo,s}p(o){let t=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(o,r,t),t+=r.strings.length-2):r._$AI(o[t])),t++}},rs=class n{get _$AU(){var o,t;return(t=(o=this._$AM)==null?void 0:o._$AU)!=null?t:this.v}constructor(o,t,r,s){var d;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=o,this._$AB=t,this._$AM=r,this.options=s,this.v=(d=s==null?void 0:s.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=uo(this,o,t),va(o)?o===j||o==null||o===""?(this._$AH!==j&&this._$AR(),this._$AH=j):o!==this._$AH&&o!==ge&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):xm(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&&va(this._$AH)?this._$AA.nextSibling.data=o:this.T(mo.createTextNode(o)),this._$AH=o}$(o){var d;let{values:t,_$litType$:r}=o,s=typeof r=="number"?this._$AC(o):(r.el===void 0&&(r.el=ga.createElement(Sm(r.h,r.h[0]),this.options)),r);if(((d=this._$AH)==null?void 0:d._$AD)===s)this._$AH.p(t);else{let m=new Bn(s,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 ga(o)),t}k(o){Xd(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,r,s=0;for(let d of o)s===t.length?t.push(r=new n(this.O(fa()),this.O(fa()),this,this.options)):r=t[s],r._$AI(d),s++;s<t.length&&(this._$AR(r&&r._$AB.nextSibling,s),t.length=s)}_$AR(o=this._$AA.nextSibling,t){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,t);o&&o!==this._$AB;){let s=o.nextSibling;o.remove(),o=s}}setConnected(o){var t;this._$AM===void 0&&(this.v=o,(t=this._$AP)==null||t.call(this,o))}},fo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,t,r,s,d){this.type=1,this._$AH=j,this._$AN=void 0,this.element=o,this.name=t,this._$AM=s,this.options=d,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=j}_$AI(o,t=this,r,s){let d=this.strings,m=!1;if(d===void 0)o=uo(this,o,t,0),m=!va(o)||o!==this._$AH&&o!==ge,m&&(this._$AH=o);else{let b=o,x,L;for(o=d[0],x=0;x<d.length-1;x++)L=uo(this,b[r+x],t,x),L===ge&&(L=this._$AH[x]),m||(m=!va(L)||L!==this._$AH[x]),L===j?o=j:o!==j&&(o+=(L!=null?L:"")+d[x+1]),this._$AH[x]=L}m&&!s&&this.j(o)}j(o){o===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o!=null?o:"")}},Un=class extends fo{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===j?void 0:o}},Hn=class extends fo{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==j)}},Gn=class extends fo{constructor(o,t,r,s,d){super(o,t,r,s,d),this.type=5}_$AI(o,t=this){var m;if((o=(m=uo(this,o,t,0))!=null?m:j)===ge)return;let r=this._$AH,s=o===j&&r!==j||o.capture!==r.capture||o.once!==r.once||o.passive!==r.passive,d=o!==j&&(r===j||s);s&&this.element.removeEventListener(this.name,this,r),d&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){var t,r;typeof this._$AH=="function"?this._$AH.call((r=(t=this.options)==null?void 0:t.host)!=null?r:this.element,o):this._$AH.handleEvent(o)}},Yn=class{constructor(o,t,r){this.element=o,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(o){uo(this,o)}},_m={M:Kd,P:ti,A:qd,C:1,L:Im,R:Bn,D:xm,V:uo,I:rs,H:fo,N:Hn,U:Gn,B:Un,F:Yn},jd=ua.litHtmlPolyfillSupport,Tm;jd==null||jd(ga,rs),((Tm=ua.litHtmlVersions)!=null?Tm:ua.litHtmlVersions=[]).push("3.2.0");var Cm=(n,o,t)=>{var d,m;let r=(d=t==null?void 0:t.renderBefore)!=null?d:o,s=r._$litPart$;if(s===void 0){let b=(m=t==null?void 0:t.renderBefore)!=null?m:null;r._$litPart$=s=new rs(o.insertBefore(fa(),b),b,void 0,t!=null?t:{})}return s._$AI(n),s};var Ni=class extends Jr{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,r;let o=super.createRenderRoot();return(r=(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=Cm(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 ge}},km;Ni._$litElement$=!0,Ni.finalized=!0,(km=globalThis.litElementHydrateSupport)==null||km.call(globalThis,{LitElement:Ni});var Qd=globalThis.litElementPolyfillSupport;Qd==null||Qd({LitElement:Ni});var wm;((wm=globalThis.litElementVersions)!=null?wm:globalThis.litElementVersions=[]).push("4.1.0");var Cy={attribute:!0,type:String,converter:pa,reflect:!1,hasChanged:zn},ky=(n=Cy,o,t)=>{let{kind:r,metadata:s}=t,d=globalThis.litPropertyMetadata.get(s);if(d===void 0&&globalThis.litPropertyMetadata.set(s,d=new Map),d.set(t.name,n),r==="accessor"){let{name:m}=t;return{set(b){let x=o.get.call(this);o.set.call(this,b),this.requestUpdate(m,x,n)},init(b){return b!==void 0&&this.P(m,void 0,n),b}}}if(r==="setter"){let{name:m}=t;return function(b){let x=this[m];o.call(this,b),this.requestUpdate(m,x,n)}}throw Error("Unsupported decorator location: "+r)};function u(n){return(o,t)=>typeof t=="object"?ky(n,o,t):((r,s,d)=>{let m=s.hasOwnProperty(d);return s.constructor.createProperty(d,m?{...r,wrapped:!0}:r),m?Object.getOwnPropertyDescriptor(s,d):void 0})(n,o,t)}function vt(n){return u({...n,state:!0,attribute:!1})}function Nm(n){return(o,t)=>{let r=typeof o=="function"?o:o[t];Object.assign(r,n)}}var Rr=(n,o,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof o!="object"&&Object.defineProperty(n,o,t),t);function be(n,o){return(t,r,s)=>{let d=m=>{var b,x;return(x=(b=m.renderRoot)==null?void 0:b.querySelector(n))!=null?x:null};if(o){let{get:m,set:b}=typeof r=="object"?t:s!=null?s:(()=>{let x=Symbol();return{get(){return this[x]},set(L){this[x]=L}}})();return Rr(t,r,{get(){let x=m.call(this);return x===void 0&&(x=d(this),(x!==null||this.hasUpdated)&&b.call(this,x)),x}})}return Rr(t,r,{get(){return d(this)}})}}var Jd;function Lm(n){return(o,t)=>Rr(o,t,{get(){var r;return((r=this.renderRoot)!=null?r:Jd!=null?Jd:Jd=document.createDocumentFragment()).querySelectorAll(n)}})}function Pt(n){return(o,t)=>{let{slot:r,selector:s}=n!=null?n:{},d="slot"+(r?`[name=${r}]`:":not([name])");return Rr(o,t,{get(){var x,L;let m=(x=this.renderRoot)==null?void 0:x.querySelector(d),b=(L=m==null?void 0:m.assignedElements(n))!=null?L:[];return s===void 0?b:b.filter(U=>U.matches(s))}})}}function Wn(n){return(o,t)=>{let{slot:r}=n!=null?n:{},s="slot"+(r?`[name=${r}]`:":not([name])");return Rr(o,t,{get(){var m,b;let d=(m=this.renderRoot)==null?void 0:m.querySelector(s);return(b=d==null?void 0:d.assignedNodes(n))!=null?b:[]}})}}var wy={PREFIX:"mdc",SEPARATOR:"-"},Ny={NAMESPACE:wy},tc=Ny;var Ly=n=>[tc.NAMESPACE.PREFIX,n].join(tc.NAMESPACE.SEPARATOR),z={constructTagName:Ly};var rt={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 Rm=z.constructTagName("buttonsimple"),vo={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},is={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},ba={SIZE:vo[32],TYPE:is.BUTTON,ROLE:rt.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var ei=z.constructTagName("button"),Ft={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},ya={40:40,32:32,28:28,24:24},sr={64:64,52:52,20:20,...ya},go={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},os={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},De={VARIANT:Ft.PRIMARY,SIZE:ya[32],COLOR:go.DEFAULT,TYPE_INTERNAL:os.ICON,TYPE:is.BUTTON,INVERTED:!1};var jn=n=>{class o extends n{constructor(){super(...arguments);this.variant=De.VARIANT;this.color=De.COLOR;this.typeInternal=De.TYPE_INTERNAL}setVariant(s){this.setAttribute("variant",Object.values(Ft).includes(s)?s:De.VARIANT)}setColor(s){!Object.values(go).includes(s)||this.variant===Ft.TERTIARY?this.setAttribute("color",`${De.COLOR}`):this.setAttribute("color",s)}setSize(s){let m=this.typeInternal===os.ICON?Object.values(sr).includes(s)&&!(s===sr[20]&&this.variant!==Ft.TERTIARY):Object.values(ya).includes(s);this.setAttribute("size",m?`${s}`:`${De.SIZE}`)}inferButtonType(){var L,U,K,Z,X,it;let s=(U=(L=this.shadowRoot)==null?void 0:L.querySelector("slot:not([name])"))==null?void 0:U.assignedNodes().filter(dt=>{var lt;return dt.nodeType!==Node.TEXT_NODE||((lt=dt.textContent)==null?void 0:lt.trim())}).length,d=(Z=(K=this.shadowRoot)==null?void 0:K.querySelector('slot[name="prefix"]'))==null?void 0:Z.assignedNodes().filter(dt=>{var lt;return dt.nodeType!==Node.TEXT_NODE||((lt=dt.textContent)==null?void 0:lt.trim())}).length,m=this.prefixIcon||d&&d>0,b=(it=(X=this.shadowRoot)==null?void 0:X.querySelector('slot[name="postfix"]'))==null?void 0:it.assignedNodes().filter(dt=>{var lt;return dt.nodeType!==Node.TEXT_NODE||((lt=dt.textContent)==null?void 0:lt.trim())}).length,x=this.postfixIcon||b&&b>0;s&&(m||x)?(this.typeInternal=os.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!s&&(m||x)?(this.typeInternal=os.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=os.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([vt()],o.prototype,"typeInternal",2),o};var Om=B`
1
+ "use strict";(()=>{var py=Object.create;var Hd=Object.defineProperty;var lm=Object.getOwnPropertyDescriptor;var my=Object.getOwnPropertyNames;var uy=Object.getPrototypeOf,fy=Object.prototype.hasOwnProperty;var vy=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports);var gy=(n,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of my(o))!fy.call(n,s)&&s!==t&&Hd(n,s,{get:()=>o[s],enumerable:!(r=lm(o,s))||r.enumerable});return n};var by=(n,o,t)=>(t=n!=null?py(uy(n)):{},gy(o||!n||!n.__esModule?Hd(t,"default",{value:n,enumerable:!0}):t,n));var p=(n,o,t,r)=>{for(var s=r>1?void 0:r?lm(o,t):o,d=n.length-1,m;d>=0;d--)(m=n[d])&&(s=(r?m(o,t,s):m(s))||s);return r&&s&&Hd(o,t,s),s};var du=vy((_a,ll)=>{typeof navigator<"u"&&function(n,o){typeof _a=="object"&&typeof ll<"u"?ll.exports=o():typeof define=="function"&&define.amd?define(o):(n=typeof globalThis<"u"?globalThis:n||self,n.lottie=o())}(_a,function(){"use strict";var n="http://www.w3.org/2000/svg",o="",t=!1,r=-999999,s=function(i){t=!!i},d=function(){return t},m=function(i){o=i},g=function(){return o};function x(e){return document.createElement(e)}function L(e,i){var a,l=e.length,h;for(a=0;a<l;a+=1){h=e[a].prototype;for(var c in h)Object.prototype.hasOwnProperty.call(h,c)&&(i.prototype[c]=h[c])}}function B(e,i){return Object.getOwnPropertyDescriptor(e,i)}function K(e){function i(){}return i.prototype=e,i}var Z=function(){function e(i){this.audios=[],this.audioFactory=i,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(a){this.audios.push(a)},pause:function(){var a,l=this.audios.length;for(a=0;a<l;a+=1)this.audios[a].pause()},resume:function(){var a,l=this.audios.length;for(a=0;a<l;a+=1)this.audios[a].resume()},setRate:function(a){var l,h=this.audios.length;for(l=0;l<h;l+=1)this.audios[l].setRate(a)},createAudio:function(a){return this.audioFactory?this.audioFactory(a):window.Howl?new window.Howl({src:[a]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(a){this.audioFactory=a},setVolume:function(a){this._volume=a,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var a,l=this.audios.length;for(a=0;a<l;a+=1)this.audios[a].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),X=function(){function e(a,l){var h=0,c=[],v;switch(a){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 i(a,l){return a==="float32"?new Float32Array(l):a==="int16"?new Int16Array(l):a==="uint8c"?new Uint8ClampedArray(l):e(a,l)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?i:e}();function it(e){return Array.apply(null,{length:e})}function dt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dt=function(a){return typeof a}:dt=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},dt(e)}var lt=!0,gt=null,St=null,Ct="",Gt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),zt=!1,Yt=Math.pow,Zt=Math.sqrt,ne=Math.floor,fr=Math.max,Ne=Math.min,Qe={};(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"],i,a=e.length;for(i=0;i<a;i+=1)Qe[e[i]]=Math[e[i]]})();function vr(){return{}}Qe.random=Math.random,Qe.abs=function(e){var i=dt(e);if(i==="object"&&e.length){var a=it(e.length),l,h=e.length;for(l=0;l<h;l+=1)a[l]=Math.abs(e[l]);return a}return Math.abs(e)};var gr=150,kt=Math.PI/180,me=.5519;function Je(e){zt=!!e}function tr(e){return zt?Math.round(e):e}function er(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 rr(e,i,a,l){this.type=e,this.currentTime=i,this.totalTime=a,this.direction=l<0?-1:1}function vn(e,i){this.type=e,this.direction=i<0?-1:1}function fp(e,i,a,l){this.type=e,this.currentLoop=a,this.totalLoops=i,this.direction=l<0?-1:1}function vp(e,i,a){this.type=e,this.firstFrame=i,this.totalFrames=a}function gp(e,i){this.type=e,this.target=i}function pb(e,i){this.type="renderFrameError",this.nativeError=e,this.currentTime=i}function mb(e){this.type="configError",this.nativeError=e}function GA(e,i){this.type=e,this.nativeError=i}var Le=function(){var e=0;return function(){return e+=1,Ct+"__lottie_element_"+e}}();function Nd(e,i,a){var l,h,c,v,A,b,k,O;switch(v=Math.floor(e*6),A=e*6-v,b=a*(1-i),k=a*(1-A*i),O=a*(1-(1-A)*i),v%6){case 0:l=a,h=O,c=b;break;case 1:l=k,h=a,c=b;break;case 2:l=b,h=a,c=O;break;case 3:l=b,h=k,c=a;break;case 4:l=O,h=b,c=a;break;case 5:l=a,h=b,c=k;break;default:break}return[l,h,c]}function Ld(e,i,a){var l=Math.max(e,i,a),h=Math.min(e,i,a),c=l-h,v,A=l===0?0:c/l,b=l/255;switch(l){case h:v=0;break;case e:v=i-a+c*(i<a?6:0),v/=6*c;break;case i:v=a-e+c*2,v/=6*c;break;case a:v=e-i+c*4,v/=6*c;break;default:break}return[v,A,b]}function bp(e,i){var a=Ld(e[0]*255,e[1]*255,e[2]*255);return a[1]+=i,a[1]>1?a[1]=1:a[1]<=0&&(a[1]=0),Nd(a[0],a[1],a[2])}function yp(e,i){var a=Ld(e[0]*255,e[1]*255,e[2]*255);return a[2]+=i,a[2]>1?a[2]=1:a[2]<0&&(a[2]=0),Nd(a[0],a[1],a[2])}function Ep(e,i){var a=Ld(e[0]*255,e[1]*255,e[2]*255);return a[0]+=i/360,a[0]>1?a[0]-=1:a[0]<0&&(a[0]+=1),Nd(a[0],a[1],a[2])}var YA=function(){var e=[],i,a;for(i=0;i<256;i+=1)a=i.toString(16),e[i]=a.length===1?"0"+a:a;return function(l,h,c){return l<0&&(l=0),h<0&&(h=0),c<0&&(c=0),"#"+e[l]+e[h]+e[c]}}(),ub=function(i){lt=!!i},fb=function(){return lt},vb=function(i){gt=i},gn=function(){return gt},WA=function(i){St=i},Tp=function(){return St},bn=function(i){gr=i},js=function(){return gr},gb=function(i){Ct=i},jA=function(){return Ct};function Tt(e){return document.createElementNS(n,e)}function yn(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?yn=function(a){return typeof a}:yn=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},yn(e)}var Ks=function(){var e=1,i=[],a,l,h={onmessage:function(){},postMessage:function(R){a({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 a=T,h}function A(){l||(l=v(function(R){function D(){function V(J,I){var P,f,y=J.length,Y,$,nt,ft;for(f=0;f<y;f+=1)if(P=J[f],"ks"in P&&!P.completed){if(P.completed=!0,P.hasMask){var Et=P.masksProperties;for($=Et.length,Y=0;Y<$;Y+=1)if(Et[Y].pt.k.i)w(Et[Y].pt.k);else for(ft=Et[Y].pt.k.length,nt=0;nt<ft;nt+=1)Et[Y].pt.k[nt].s&&w(Et[Y].pt.k[nt].s[0]),Et[Y].pt.k[nt].e&&w(Et[Y].pt.k[nt].e[0])}P.ty===0?(P.layers=E(P.refId,I),V(P.layers,I)):P.ty===4?S(P.shapes):P.ty===5&&xt(P)}}function N(J,I){if(J){var P=0,f=J.length;for(P=0;P<f;P+=1)J[P].t===1&&(J[P].data.layers=E(J[P].data.refId,I),V(J[P].data.layers,I))}}function C(J,I){for(var P=0,f=I.length;P<f;){if(I[P].id===J)return I[P];P+=1}return null}function E(J,I){var P=C(J,I);return P?P.layers.__used?JSON.parse(JSON.stringify(P.layers)):(P.layers.__used=!0,P.layers):null}function S(J){var I,P=J.length,f,y;for(I=P-1;I>=0;I-=1)if(J[I].ty==="sh")if(J[I].ks.k.i)w(J[I].ks.k);else for(y=J[I].ks.k.length,f=0;f<y;f+=1)J[I].ks.k[f].s&&w(J[I].ks.k[f].s[0]),J[I].ks.k[f].e&&w(J[I].ks.k[f].e[0]);else J[I].ty==="gr"&&S(J[I].it)}function w(J){var I,P=J.i.length;for(I=0;I<P;I+=1)J.i[I][0]+=J.v[I][0],J.i[I][1]+=J.v[I][1],J.o[I][0]+=J.v[I][0],J.o[I][1]+=J.v[I][1]}function F(J,I){var P=I?I.split("."):[100,100,100];return J[0]>P[0]?!0:P[0]>J[0]?!1:J[1]>P[1]?!0:P[1]>J[1]?!1:J[2]>P[2]?!0:P[2]>J[2]?!1:null}var H=function(){var J=[4,4,14];function I(f){var y=f.t.d;f.t.d={k:[{s:y,t:0}]}}function P(f){var y,Y=f.length;for(y=0;y<Y;y+=1)f[y].ty===5&&I(f[y])}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),W=function(){var J=[4,7,99];return function(I){if(I.chars&&!F(J,I.v)){var P,f=I.chars.length;for(P=0;P<f;P+=1){var y=I.chars[P];y.data&&y.data.shapes&&(S(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}},I.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"})))}}}}(),et=function(){var J=[5,7,15];function I(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,Y=f.length;for(y=0;y<Y;y+=1)f[y].ty===5&&I(f[y])}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),yt=function(){var J=[4,1,9];function I(f){var y,Y=f.length,$,nt;for(y=0;y<Y;y+=1)if(f[y].ty==="gr")I(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,Y=f.length;for(y=0;y<Y;y+=1)f[y].ty===4&&I(f[y].shapes)}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),pt=function(){var J=[4,4,18];function I(f){var y,Y=f.length,$,nt;for(y=Y-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"&&I(f[y].it)}function P(f){var y,Y,$=f.length,nt,ft,Et,Ot;for(Y=0;Y<$;Y+=1){if(y=f[Y],y.hasMask){var Rt=y.masksProperties;for(ft=Rt.length,nt=0;nt<ft;nt+=1)if(Rt[nt].pt.k.i)Rt[nt].pt.k.c=Rt[nt].cl;else for(Ot=Rt[nt].pt.k.length,Et=0;Et<Ot;Et+=1)Rt[nt].pt.k[Et].s&&(Rt[nt].pt.k[Et].s[0].c=Rt[nt].cl),Rt[nt].pt.k[Et].e&&(Rt[nt].pt.k[Et].e[0].c=Rt[nt].cl)}y.ty===4&&I(y.shapes)}}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}();function ot(J){J.__complete||(yt(J),H(J),W(J),et(J),pt(J),V(J.layers,J.assets),N(J.chars,J.assets),J.__complete=!0)}function xt(J){J.t.a.length===0&&"m"in J.t.p}var ct={};return ct.completeData=ot,ct.checkColors=yt,ct.checkChars=W,ct.checkPathProperties=et,ct.checkShapes=pt,ct.completeLayers=V,ct}if(c.dataManager||(c.dataManager=D()),c.assetLoader||(c.assetLoader=function(){function V(C){var E=C.getResponseHeader("content-type");return E&&C.responseType==="json"&&E.indexOf("json")!==-1||C.response&&yn(C.response)==="object"?C.response:C.response&&typeof C.response=="string"?JSON.parse(C.response):C.responseText?JSON.parse(C.responseText):null}function N(C,E,S,w){var F,H=new XMLHttpRequest;try{H.responseType="json"}catch{}H.onreadystatechange=function(){if(H.readyState===4)if(H.status===200)F=V(H),S(F);else try{F=V(H),S(F)}catch(W){w&&w(W)}};try{H.open(["G","E","T"].join(""),C,!0)}catch{H.open(["G","E","T"].join(""),E+"/"+C,!0)}H.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 M=R.data.animation;c.dataManager.completeData(M),c.postMessage({id:R.data.id,payload:M,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,M=i[D];i[D]=null,R.status==="success"?M.onComplete(R.payload):M.onError&&M.onError()})}function b(T,R){e+=1;var D="processId_"+e;return i[D]={onComplete:T,onError:R},D}function k(T,R,D){A();var M=b(R,D);l.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function O(T,R,D){A();var M=b(R,D);l.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function G(T,R,D){A();var M=b(R,D);l.postMessage({type:"complete",animation:T,id:M})}return{loadAnimation:k,loadData:O,completeAnimation:G}}(),bb=function(){var e=function(){var N=x("canvas");N.width=1,N.height=1;var C=N.getContext("2d");return C.fillStyle="rgba(0,0,0,0)",C.fillRect(0,0,1,1),N}();function i(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function l(N,C,E){var S="";if(N.e)S=N.p;else if(C){var w=N.p;w.indexOf("images/")!==-1&&(w=w.split("/")[1]),S=C+w}else S=E,S+=N.u?N.u:"",S+=N.p;return S}function h(N){var C=0,E=setInterval((function(){var S=N.getBBox();(S.width||C>500)&&(this._imageLoaded(),clearInterval(E)),C+=1}).bind(this),50)}function c(N){var C=l(N,this.assetsPath,this.path),E=Tt("image");Gt?this.testImageLoaded(E):E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),E.setAttributeNS("http://www.w3.org/1999/xlink","href",C),this._elementHelper.append?this._elementHelper.append(E):this._elementHelper.appendChild(E);var S={img:E,assetData:N};return S}function v(N){var C=l(N,this.assetsPath,this.path),E=x("img");E.crossOrigin="anonymous",E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),E.src=C;var S={img:E,assetData:N};return S}function A(N){var C={assetData:N},E=l(N,this.assetsPath,this.path);return Ks.loadData(E,(function(S){C.img=S,this._footageLoaded()}).bind(this),(function(){C.img={},this._footageLoaded()}).bind(this)),C}function b(N,C){this.imagesLoadedCb=C;var E,S=N.length;for(E=0;E<S;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 O(N){this.assetsPath=N||""}function G(N){for(var C=0,E=this.images.length;C<E;){if(this.images[C].assetData===N)return this.images[C].img;C+=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 M(N,C){N==="svg"?(this._elementHelper=C,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function V(){this._imageLoaded=i.bind(this),this._footageLoaded=a.bind(this),this.testImageLoaded=h.bind(this),this.createFootageData=A.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:b,setAssetsPath:O,setPath:k,loadedImages:R,loadedFootages:D,destroy:T,getAsset:G,createImgData:v,createImageData:c,imageLoaded:i,footageLoaded:a,setCacheType:M},V}();function xp(){}xp.prototype={triggerEvent:function(i,a){if(this._cbs[i])for(var l=this._cbs[i],h=0;h<l.length;h+=1)l[h](a)},addEventListener:function(i,a){return this._cbs[i]||(this._cbs[i]=[]),this._cbs[i].push(a),(function(){this.removeEventListener(i,a)}).bind(this)},removeEventListener:function(i,a){if(!a)this._cbs[i]=null;else if(this._cbs[i]){for(var l=0,h=this._cbs[i].length;l<h;)this._cbs[i][l]===a&&(this._cbs[i].splice(l,1),l-=1,h-=1),l+=1;this._cbs[i].length||(this._cbs[i]=null)}}};var yb=function(){function e(i){for(var a=i.split(`\r
2
+ `),l={},h,c=0,v=0;v<a.length;v+=1)h=a[v].split(":"),h.length===2&&(l[h[0]]=h[1].trim(),c+=1);if(c===0)throw new Error;return l}return function(i){for(var a=[],l=0;l<i.length;l+=1){var h=i[l],c={time:h.tm,duration:h.dr};try{c.payload=JSON.parse(i[l].cm)}catch{try{c.payload=e(i[l].cm)}catch{c.payload={name:i[l].cm}}}a.push(c)}return a}}(),Eb=function(){function e(i){this.compositions.push(i)}return function(){function i(a){for(var l=0,h=this.compositions.length;l<h;){if(this.compositions[l].data&&this.compositions[l].data.nm===a)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 i.compositions=[],i.currentFrame=0,i.registerComposition=e,i}}(),qs={},Tb=function(i,a){qs[i]=a};function xb(e){return qs[e]}function Ab(){if(qs.canvas)return"canvas";for(var e in qs)if(qs[e])return e;return""}function Xs(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Xs=function(a){return typeof a}:Xs=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Xs(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=Le(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=fb(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Eb(),this.imagePreloader=new bb,this.audioController=Z(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new rr("drawnFrame",0,0,0),this.expressionsPlugin=gn()};L([xp],ut),ut.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var i="svg";e.animType?i=e.animType:e.renderer&&(i=e.renderer);var a=xb(i);this.renderer=new a(this,e.rendererSettings),this.imagePreloader.setCacheType(i,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=i,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")),Ks.loadAnimation(e.path,this.configAnimation,this.onSetupError))},ut.prototype.onSetupError=function(){this.trigger("data_failed")},ut.prototype.setupAnimation=function(e){Ks.completeAnimation(e,this.configAnimation)},ut.prototype.setData=function(e,i){i&&Xs(i)!=="object"&&(i=JSON.parse(i));var a={wrapper:e,animationData:i},l=e.attributes;a.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:"",a.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:Ab()||"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"?a.loop=!1:h==="true"?a.loop=!0:h!==""&&(a.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;a.autoplay=c!=="false",a.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"&&(a.prerender=!1),a.path?this.setParams(a):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 i=this.animationData.layers,a,l=i.length,h=e.layers,c,v=h.length;for(c=0;c<v;c+=1)for(a=0;a<l;){if(i[a].id===h[c].id){i[a]=h[c];break}a+=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,a=0;a<l;a+=1)this.animationData.assets.push(e.assets[a]);this.animationData.__complete=!1,Ks.completeAnimation(this.animationData,this.onSegmentComplete)},ut.prototype.onSegmentComplete=function(e){this.animationData=e;var i=gn();i&&i.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 i=e.shift();this.timeCompleted=i.time*this.frameRate;var a=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Ks.loadData(a,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=yb(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(i){this.triggerConfigError(i)}},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=gn();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,i){var a=typeof e=="number"?e:void 0,l=typeof i=="number"?i:void 0;this.renderer.updateContainerSize(a,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 i,a=0;a<this.markers.length;a+=1)if(i=this.markers[a],i.payload&&i.payload.name===e)return i;return null},ut.prototype.goToAndStop=function(e,i,a){if(!(a&&this.name!==a)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&this.goToAndStop(h.time,!0)}else i?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},ut.prototype.goToAndPlay=function(e,i,a){if(!(a&&this.name!==a)){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,i,a);this.play()}},ut.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var i=this.currentRawFrame+e*this.frameModifier,a=!1;i>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(i>this.totalFrames?i%this.totalFrames:0)||(a=!0,i=this.totalFrames-1):i>=this.totalFrames?(this.playCount+=1,this.checkSegments(i%this.totalFrames)||(this.setCurrentRawFrameValue(i%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(i):i<0?this.checkSegments(i%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+i%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(a=!0,i=0)):this.setCurrentRawFrameValue(i),a&&(this.setCurrentRawFrameValue(i),this.pause(),this.trigger("complete"))}},ut.prototype.adjustSegment=function(e,i){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-i)):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+i)),this.trigger("segmentStart")},ut.prototype.setSegment=function(e,i){var a=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?a=e:this.currentRawFrame+this.firstFrame>i&&(a=i-e)),this.firstFrame=e,this.totalFrames=i-e,this.timeCompleted=this.totalFrames,a!==-1&&this.goToAndStop(a,!0)},ut.prototype.playSegments=function(e,i){if(i&&(this.segments.length=0),Xs(e[0])==="object"){var a,l=e.length;for(a=0;a<l;a+=1)this.segments.push(e[a])}else this.segments.push(e);this.segments.length&&i&&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,i){i&&this.name!==i||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 i="";if(e.e)i=e.p;else if(this.assetsPath){var a=e.p;a.indexOf("images/")!==-1&&(a=a.split("/")[1]),i=this.assetsPath+a}else i=this.path,i+=e.u?e.u:"",i+=e.p;return i},ut.prototype.getAssetData=function(e){for(var i=0,a=this.assets.length;i<a;){if(e===this.assets[i].id)return this.assets[i];i+=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,i,a){try{var l=this.renderer.getElementByPath(e);l.updateDocumentData(i,a)}catch{}},ut.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new rr(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 fp(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new vn(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new vp(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new gp(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new rr(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new fp(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new vn(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new vp(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new gp(e,this))},ut.prototype.triggerRenderFrameError=function(e){var i=new pb(e,this.currentFrame);this.triggerEvent("error",i),this.onError&&this.onError.call(this,i)},ut.prototype.triggerConfigError=function(e){var i=new mb(e,this.currentFrame);this.triggerEvent("error",i),this.onError&&this.onError.call(this,i)};var Qt=function(){var e={},i=[],a=0,l=0,h=0,c=!0,v=!1;function A(I){for(var P=0,f=I.target;P<l;)i[P].animation===f&&(i.splice(P,1),P-=1,l-=1,f.isPaused||G()),P+=1}function b(I,P){if(!I)return null;for(var f=0;f<l;){if(i[f].elem===I&&i[f].elem!==null)return i[f].animation;f+=1}var y=new ut;return T(y,I),y.setData(I,P),y}function k(){var I,P=i.length,f=[];for(I=0;I<P;I+=1)f.push(i[I].animation);return f}function O(){h+=1,yt()}function G(){h-=1}function T(I,P){I.addEventListener("destroy",A),I.addEventListener("_active",O),I.addEventListener("_idle",G),i.push({elem:P,animation:I}),l+=1}function R(I){var P=new ut;return T(P,null),P.setParams(I),P}function D(I,P){var f;for(f=0;f<l;f+=1)i[f].animation.setSpeed(I,P)}function M(I,P){var f;for(f=0;f<l;f+=1)i[f].animation.setDirection(I,P)}function V(I){var P;for(P=0;P<l;P+=1)i[P].animation.play(I)}function N(I){var P=I-a,f;for(f=0;f<l;f+=1)i[f].animation.advanceTime(P);a=I,h&&!v?window.requestAnimationFrame(N):c=!0}function C(I){a=I,window.requestAnimationFrame(N)}function E(I){var P;for(P=0;P<l;P+=1)i[P].animation.pause(I)}function S(I,P,f){var y;for(y=0;y<l;y+=1)i[y].animation.goToAndStop(I,P,f)}function w(I){var P;for(P=0;P<l;P+=1)i[P].animation.stop(I)}function F(I){var P;for(P=0;P<l;P+=1)i[P].animation.togglePause(I)}function H(I){var P;for(P=l-1;P>=0;P-=1)i[P].animation.destroy(I)}function W(I,P,f){var y=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),Y,$=y.length;for(Y=0;Y<$;Y+=1)f&&y[Y].setAttribute("data-bm-type",f),b(y[Y],I);if(P&&$===0){f||(f="svg");var nt=document.getElementsByTagName("body")[0];nt.innerText="";var ft=x("div");ft.style.width="100%",ft.style.height="100%",ft.setAttribute("data-bm-type",f),nt.appendChild(ft),b(ft,I)}}function et(){var I;for(I=0;I<l;I+=1)i[I].animation.resize()}function yt(){!v&&h&&c&&(window.requestAnimationFrame(C),c=!1)}function pt(){v=!0}function ot(){v=!1,yt()}function xt(I,P){var f;for(f=0;f<l;f+=1)i[f].animation.setVolume(I,P)}function ct(I){var P;for(P=0;P<l;P+=1)i[P].animation.mute(I)}function J(I){var P;for(P=0;P<l;P+=1)i[P].animation.unmute(I)}return e.registerAnimation=b,e.loadAnimation=R,e.setSpeed=D,e.setDirection=M,e.play=V,e.pause=E,e.stop=w,e.togglePause=F,e.searchAnimations=W,e.resize=et,e.goToAndStop=S,e.destroy=H,e.freeze=pt,e.unfreeze=ot,e.setVolume=xt,e.mute=ct,e.unmute=J,e.getRegisteredAnimations=k,e}(),Zs=function(){var e={};e.getBezierEasing=a;var i={};function a(C,E,S,w,F){var H=F||("bez_"+C+"_"+E+"_"+S+"_"+w).replace(/\./g,"p");if(i[H])return i[H];var W=new N([C,E,S,w]);return i[H]=W,W}var l=4,h=.001,c=1e-7,v=10,A=11,b=1/(A-1),k=typeof Float32Array=="function";function O(C,E){return 1-3*E+3*C}function G(C,E){return 3*E-6*C}function T(C){return 3*C}function R(C,E,S){return((O(E,S)*C+G(E,S))*C+T(E))*C}function D(C,E,S){return 3*O(E,S)*C*C+2*G(E,S)*C+T(E)}function M(C,E,S,w,F){var H,W,et=0;do W=E+(S-E)/2,H=R(W,w,F)-C,H>0?S=W:E=W;while(Math.abs(H)>c&&++et<v);return W}function V(C,E,S,w){for(var F=0;F<l;++F){var H=D(E,S,w);if(H===0)return E;var W=R(E,S,w)-C;E-=W/H}return E}function N(C){this._p=C,this._mSampleValues=k?new Float32Array(A):new Array(A),this._precomputed=!1,this.get=this.get.bind(this)}return N.prototype={get:function(E){var S=this._p[0],w=this._p[1],F=this._p[2],H=this._p[3];return this._precomputed||this._precompute(),S===w&&F===H?E:E===0?0:E===1?1:R(this._getTForX(E),w,H)},_precompute:function(){var E=this._p[0],S=this._p[1],w=this._p[2],F=this._p[3];this._precomputed=!0,(E!==S||w!==F)&&this._calcSampleValues()},_calcSampleValues:function(){for(var E=this._p[0],S=this._p[2],w=0;w<A;++w)this._mSampleValues[w]=R(w*b,E,S)},_getTForX:function(E){for(var S=this._p[0],w=this._p[2],F=this._mSampleValues,H=0,W=1,et=A-1;W!==et&&F[W]<=E;++W)H+=b;--W;var yt=(E-F[W])/(F[W+1]-F[W]),pt=H+yt*b,ot=D(pt,S,w);return ot>=h?V(E,pt,S,w):ot===0?pt:M(E,H,H+b,S,w)}},e}(),Ap=function(){function e(i){return i.concat(it(i.length))}return{double:e}}(),En=function(){return function(e,i,a){var l=0,h=e,c=it(h),v={newElement:A,release:b};function A(){var k;return l?(l-=1,k=c[l]):k=i(),k}function b(k){l===h&&(c=Ap.double(c),h*=2),a&&a(k),c[l]=k,l+=1}return v}}(),Sp=function(){function e(){return{addedLength:0,percents:X("float32",js()),lengths:X("float32",js())}}return En(8,e)}(),Ip=function(){function e(){return{lengths:[],totalLength:0}}function i(a){var l,h=a.lengths.length;for(l=0;l<h;l+=1)Sp.release(a.lengths[l]);a.lengths.length=0}return En(8,e,i)}();function Sb(){var e=Math;function i(T,R,D,M,V,N){var C=T*M+R*V+D*N-V*M-N*T-D*R;return C>-.001&&C<.001}function a(T,R,D,M,V,N,C,E,S){if(D===0&&N===0&&S===0)return i(T,R,M,V,C,E);var w=e.sqrt(e.pow(M-T,2)+e.pow(V-R,2)+e.pow(N-D,2)),F=e.sqrt(e.pow(C-T,2)+e.pow(E-R,2)+e.pow(S-D,2)),H=e.sqrt(e.pow(C-M,2)+e.pow(E-V,2)+e.pow(S-N,2)),W;return w>F?w>H?W=w-F-H:W=H-F-w:H>F?W=H-F-w:W=F-w-H,W>-1e-4&&W<1e-4}var l=function(){return function(T,R,D,M){var V=js(),N,C,E,S,w,F=0,H,W=[],et=[],yt=Sp.newElement();for(E=D.length,N=0;N<V;N+=1){for(w=N/(V-1),H=0,C=0;C<E;C+=1)S=Yt(1-w,3)*T[C]+3*Yt(1-w,2)*w*D[C]+3*(1-w)*Yt(w,2)*M[C]+Yt(w,3)*R[C],W[C]=S,et[C]!==null&&(H+=Yt(W[C]-et[C],2)),et[C]=W[C];H&&(H=Zt(H),F+=H),yt.percents[N]=w,yt.lengths[N]=F}return yt.addedLength=F,yt}}();function h(T){var R=Ip.newElement(),D=T.c,M=T.v,V=T.o,N=T.i,C,E=T._length,S=R.lengths,w=0;for(C=0;C<E-1;C+=1)S[C]=l(M[C],M[C+1],V[C],N[C+1]),w+=S[C].addedLength;return D&&E&&(S[C]=l(M[C],M[0],V[C],N[0]),w+=S[C].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 A=function(){var T={};return function(R,D,M,V){var N=(R[0]+"_"+R[1]+"_"+D[0]+"_"+D[1]+"_"+M[0]+"_"+M[1]+"_"+V[0]+"_"+V[1]).replace(/\./g,"p");if(!T[N]){var C=js(),E,S,w,F,H,W=0,et,yt,pt=null;R.length===2&&(R[0]!==D[0]||R[1]!==D[1])&&i(R[0],R[1],D[0],D[1],R[0]+M[0],R[1]+M[1])&&i(R[0],R[1],D[0],D[1],D[0]+V[0],D[1]+V[1])&&(C=2);var ot=new c(C);for(w=M.length,E=0;E<C;E+=1){for(yt=it(w),H=E/(C-1),et=0,S=0;S<w;S+=1)F=Yt(1-H,3)*R[S]+3*Yt(1-H,2)*H*(R[S]+M[S])+3*(1-H)*Yt(H,2)*(D[S]+V[S])+Yt(H,3)*D[S],yt[S]=F,pt!==null&&(et+=Yt(yt[S]-pt[S],2));et=Zt(et),W+=et,ot.points[E]=new v(et,yt),pt=yt}ot.segmentLength=W,T[N]=ot}return T[N]}}();function b(T,R){var D=R.percents,M=R.lengths,V=D.length,N=ne((V-1)*T),C=T*R.addedLength,E=0;if(N===V-1||N===0||C===M[N])return D[N];for(var S=M[N]>C?-1:1,w=!0;w;)if(M[N]<=C&&M[N+1]>C?(E=(C-M[N])/(M[N+1]-M[N]),w=!1):N+=S,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,M,V,N){var C=b(V,N),E=1-C,S=e.round((E*E*E*T[0]+(C*E*E+E*C*E+E*E*C)*D[0]+(C*C*E+E*C*C+C*E*C)*M[0]+C*C*C*R[0])*1e3)/1e3,w=e.round((E*E*E*T[1]+(C*E*E+E*C*E+E*E*C)*D[1]+(C*C*E+E*C*C+C*E*C)*M[1]+C*C*C*R[1])*1e3)/1e3;return[S,w]}var O=X("float32",8);function G(T,R,D,M,V,N,C){V<0?V=0:V>1&&(V=1);var E=b(V,C);N=N>1?1:N;var S=b(N,C),w,F=T.length,H=1-E,W=1-S,et=H*H*H,yt=E*H*H*3,pt=E*E*H*3,ot=E*E*E,xt=H*H*W,ct=E*H*W+H*E*W+H*H*S,J=E*E*W+H*E*S+E*H*S,I=E*E*S,P=H*W*W,f=E*W*W+H*S*W+H*W*S,y=E*S*W+H*S*S+E*W*S,Y=E*S*S,$=W*W*W,nt=S*W*W+W*S*W+W*W*S,ft=S*S*W+W*S*S+S*W*S,Et=S*S*S;for(w=0;w<F;w+=1)O[w*4]=e.round((et*T[w]+yt*D[w]+pt*M[w]+ot*R[w])*1e3)/1e3,O[w*4+1]=e.round((xt*T[w]+ct*D[w]+J*M[w]+I*R[w])*1e3)/1e3,O[w*4+2]=e.round((P*T[w]+f*D[w]+y*M[w]+Y*R[w])*1e3)/1e3,O[w*4+3]=e.round(($*T[w]+nt*D[w]+ft*M[w]+Et*R[w])*1e3)/1e3;return O}return{getSegmentsLength:h,getNewSegment:G,getPointInSegment:k,buildBezierData:A,pointOnLine2D:i,pointOnLine3D:a}}var kr=Sb(),oo=r,_p=Math.abs;function Cp(e,i){var a=this.offsetTime,l;this.propType==="multidimensional"&&(l=X("float32",this.pv.length));for(var h=i.lastIndex,c=h,v=this.keyframes.length-1,A=!0,b,k,O;A;){if(b=this.keyframes[c],k=this.keyframes[c+1],c===v-1&&e>=k.t-a){b.h&&(b=k),h=0;break}if(k.t-a>e){h=c;break}c<v-1?c+=1:(h=0,A=!1)}O=this.keyframesMetadata[c]||{};var G,T,R,D,M,V,N=k.t-a,C=b.t-a,E;if(b.to){O.bezierData||(O.bezierData=kr.buildBezierData(b.s,k.s||b.e,b.to,b.ti));var S=O.bezierData;if(e>=N||e<C){var w=e>=N?S.points.length-1:0;for(T=S.points[w].point.length,G=0;G<T;G+=1)l[G]=S.points[w].point[G]}else{O.__fnct?V=O.__fnct:(V=Zs.getBezierEasing(b.o.x,b.o.y,b.i.x,b.i.y,b.n).get,O.__fnct=V),R=V((e-C)/(N-C));var F=S.segmentLength*R,H,W=i.lastFrame<e&&i._lastKeyframeIndex===c?i._lastAddedLength:0;for(M=i.lastFrame<e&&i._lastKeyframeIndex===c?i._lastPoint:0,A=!0,D=S.points.length;A;){if(W+=S.points[M].partialLength,F===0||R===0||M===S.points.length-1){for(T=S.points[M].point.length,G=0;G<T;G+=1)l[G]=S.points[M].point[G];break}else if(F>=W&&F<W+S.points[M+1].partialLength){for(H=(F-W)/S.points[M+1].partialLength,T=S.points[M].point.length,G=0;G<T;G+=1)l[G]=S.points[M].point[G]+(S.points[M+1].point[G]-S.points[M].point[G])*H;break}M<D-1?M+=1:A=!1}i._lastPoint=M,i._lastAddedLength=W-S.points[M].partialLength,i._lastKeyframeIndex=c}}else{var et,yt,pt,ot,xt;if(v=b.s.length,E=k.s||b.e,this.sh&&b.h!==1)if(e>=N)l[0]=E[0],l[1]=E[1],l[2]=E[2];else if(e<=C)l[0]=b.s[0],l[1]=b.s[1],l[2]=b.s[2];else{var ct=kp(b.s),J=kp(E),I=(e-C)/(N-C);_b(l,Ib(ct,J,I))}else for(c=0;c<v;c+=1)b.h!==1&&(e>=N?R=1:e<C?R=0:(b.o.x.constructor===Array?(O.__fnct||(O.__fnct=[]),O.__fnct[c]?V=O.__fnct[c]:(et=b.o.x[c]===void 0?b.o.x[0]:b.o.x[c],yt=b.o.y[c]===void 0?b.o.y[0]:b.o.y[c],pt=b.i.x[c]===void 0?b.i.x[0]:b.i.x[c],ot=b.i.y[c]===void 0?b.i.y[0]:b.i.y[c],V=Zs.getBezierEasing(et,yt,pt,ot).get,O.__fnct[c]=V)):O.__fnct?V=O.__fnct:(et=b.o.x,yt=b.o.y,pt=b.i.x,ot=b.i.y,V=Zs.getBezierEasing(et,yt,pt,ot).get,b.keyframeMetadata=V),R=V((e-C)/(N-C)))),E=k.s||b.e,xt=b.h===1?b.s[c]:b.s[c]+(E[c]-b.s[c])*R,this.propType==="multidimensional"?l[c]=xt:l=xt}return i.lastIndex=h,l}function Ib(e,i,a){var l=[],h=e[0],c=e[1],v=e[2],A=e[3],b=i[0],k=i[1],O=i[2],G=i[3],T,R,D,M,V;return R=h*b+c*k+v*O+A*G,R<0&&(R=-R,b=-b,k=-k,O=-O,G=-G),1-R>1e-6?(T=Math.acos(R),D=Math.sin(T),M=Math.sin((1-a)*T)/D,V=Math.sin(a*T)/D):(M=1-a,V=a),l[0]=M*h+V*b,l[1]=M*c+V*k,l[2]=M*v+V*O,l[3]=M*A+V*G,l}function _b(e,i){var a=i[0],l=i[1],h=i[2],c=i[3],v=Math.atan2(2*l*c-2*a*h,1-2*l*l-2*h*h),A=Math.asin(2*a*l+2*h*c),b=Math.atan2(2*a*c-2*l*h,1-2*a*a-2*h*h);e[0]=v/kt,e[1]=A/kt,e[2]=b/kt}function kp(e){var i=e[0]*kt,a=e[1]*kt,l=e[2]*kt,h=Math.cos(i/2),c=Math.cos(a/2),v=Math.cos(l/2),A=Math.sin(i/2),b=Math.sin(a/2),k=Math.sin(l/2),O=h*c*v-A*b*k,G=A*b*v+h*c*k,T=A*c*v+h*b*k,R=h*b*v-A*c*k;return[G,T,R,O]}function wp(){var e=this.comp.renderedFrame-this.offsetTime,i=this.keyframes[0].t-this.offsetTime,a=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==oo&&(this._caching.lastFrame>=a&&e>=a||this._caching.lastFrame<i&&e<i))){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 Tn(e){var i;if(this.propType==="unidimensional")i=e*this.mult,_p(this.v-i)>1e-5&&(this.v=i,this._mdf=!0);else for(var a=0,l=this.v.length;a<l;)i=e[a]*this.mult,_p(this.v[a]-i)>1e-5&&(this.v[a]=i,this._mdf=!0),a+=1}function xn(){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,i=this.effectsSequence.length,a=this.kf?this.pv:this.data.k;for(e=0;e<i;e+=1)a=this.effectsSequence[e](a);this.setVValue(a),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function An(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function Cb(e,i,a,l){this.propType="unidimensional",this.mult=a||1,this.data=i,this.v=a?i.k*a:i.k,this.pv=i.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=xn,this.setVValue=Tn,this.addEffect=An}function kb(e,i,a,l){this.propType="multidimensional",this.mult=a||1,this.data=i,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=i.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]=i.k[h]*this.mult,this.pv[h]=i.k[h];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=xn,this.setVValue=Tn,this.addEffect=An}function wb(e,i,a,l){this.propType="unidimensional",this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:oo,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=i,this.mult=a||1,this.elem=e,this.container=l,this.comp=e.comp,this.v=oo,this.pv=oo,this._isFirstFrame=!0,this.getValue=xn,this.setVValue=Tn,this.interpolateValue=Cp,this.effectsSequence=[wp.bind(this)],this.addEffect=An}function Nb(e,i,a,l){this.propType="multidimensional";var h,c=i.k.length,v,A,b,k;for(h=0;h<c-1;h+=1)i.k[h].to&&i.k[h].s&&i.k[h+1]&&i.k[h+1].s&&(v=i.k[h].s,A=i.k[h+1].s,b=i.k[h].to,k=i.k[h].ti,(v.length===2&&!(v[0]===A[0]&&v[1]===A[1])&&kr.pointOnLine2D(v[0],v[1],A[0],A[1],v[0]+b[0],v[1]+b[1])&&kr.pointOnLine2D(v[0],v[1],A[0],A[1],A[0]+k[0],A[1]+k[1])||v.length===3&&!(v[0]===A[0]&&v[1]===A[1]&&v[2]===A[2])&&kr.pointOnLine3D(v[0],v[1],v[2],A[0],A[1],A[2],v[0]+b[0],v[1]+b[1],v[2]+b[2])&&kr.pointOnLine3D(v[0],v[1],v[2],A[0],A[1],A[2],A[0]+k[0],A[1]+k[1],A[2]+k[2]))&&(i.k[h].to=null,i.k[h].ti=null),v[0]===A[0]&&v[1]===A[1]&&b[0]===0&&b[1]===0&&k[0]===0&&k[1]===0&&(v.length===2||v[2]===A[2]&&b[2]===0&&k[2]===0)&&(i.k[h].to=null,i.k[h].ti=null));this.effectsSequence=[wp.bind(this)],this.data=i,this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=a||1,this.elem=e,this.container=l,this.comp=e.comp,this.getValue=xn,this.setVValue=Tn,this.interpolateValue=Cp,this.frameId=-1;var O=i.k[0].s.length;for(this.v=X("float32",O),this.pv=X("float32",O),h=0;h<O;h+=1)this.v[h]=oo,this.pv[h]=oo;this._caching={lastFrame:oo,lastIndex:0,value:X("float32",O)},this.addEffect=An}var at=function(){function e(a,l,h,c,v){l.sid&&(l=a.globalData.slotManager.getProp(l));var A;if(!l.k.length)A=new Cb(a,l,c,v);else if(typeof l.k[0]=="number")A=new kb(a,l,c,v);else switch(h){case 0:A=new wb(a,l,c,v);break;case 1:A=new Nb(a,l,c,v);break;default:break}return A.effectsSequence.length&&v.addDynamicProperty(A),A}var i={getProp:e};return i}();function le(){}le.prototype={addDynamicProperty:function(i){this.dynamicProperties.indexOf(i)===-1&&(this.dynamicProperties.push(i),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var i,a=this.dynamicProperties.length;for(i=0;i<a;i+=1)this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(i){this.container=i,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var so=function(){function e(){return X("float32",2)}return En(8,e)}();function Wr(){this.c=!1,this._length=0,this._maxLength=8,this.v=it(this._maxLength),this.o=it(this._maxLength),this.i=it(this._maxLength)}Wr.prototype.setPathData=function(e,i){this.c=e,this.setLength(i);for(var a=0;a<i;)this.v[a]=so.newElement(),this.o[a]=so.newElement(),this.i[a]=so.newElement(),a+=1},Wr.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},Wr.prototype.doubleArrayLength=function(){this.v=this.v.concat(it(this._maxLength)),this.i=this.i.concat(it(this._maxLength)),this.o=this.o.concat(it(this._maxLength)),this._maxLength*=2},Wr.prototype.setXYAt=function(e,i,a,l,h){var c;switch(this._length=Math.max(this._length,l+1),this._length>=this._maxLength&&this.doubleArrayLength(),a){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]=so.newElement()),c[l][0]=e,c[l][1]=i},Wr.prototype.setTripleAt=function(e,i,a,l,h,c,v,A){this.setXYAt(e,i,"v",v,A),this.setXYAt(a,l,"o",v,A),this.setXYAt(h,c,"i",v,A)},Wr.prototype.reverse=function(){var e=new Wr;e.setPathData(this.c,this._length);var i=this.v,a=this.o,l=this.i,h=0;this.c&&(e.setTripleAt(i[0][0],i[0][1],l[0][0],l[0][1],a[0][0],a[0][1],0,!1),h=1);var c=this._length-1,v=this._length,A;for(A=h;A<v;A+=1)e.setTripleAt(i[c][0],i[c][1],l[c][0],l[c][1],a[c][0],a[c][1],A,!1),c-=1;return e},Wr.prototype.length=function(){return this._length};var ue=function(){function e(){return new Wr}function i(h){var c=h._length,v;for(v=0;v<c;v+=1)so.release(h.v[v]),so.release(h.i[v]),so.release(h.o[v]),h.v[v]=null,h.i[v]=null,h.o[v]=null;h._length=0,h.c=!1}function a(h){var c=l.newElement(),v,A=h._length===void 0?h.v.length:h._length;for(c.setLength(A),c.c=h.c,v=0;v<A;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=En(4,e,i);return l.clone=a,l}();function Od(){this._length=0,this._maxLength=4,this.shapes=it(this._maxLength)}Od.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(it(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},Od.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)ue.release(this.shapes[e]);this._length=0};var qo=function(){var e={newShapeCollection:h,release:c},i=0,a=4,l=it(a);function h(){var v;return i?(i-=1,v=l[i]):v=new Od,v}function c(v){var A,b=v._length;for(A=0;A<b;A+=1)ue.release(v.shapes[A]);v._length=0,i===a&&(l=Ap.double(l),a*=2),l[i]=v,i+=1}return e}(),Sn=function(){var e=-999999;function i(N,C,E){var S=E.lastIndex,w,F,H,W,et,yt,pt,ot,xt,ct=this.keyframes;if(N<ct[0].t-this.offsetTime)w=ct[0].s[0],H=!0,S=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],H=!0;else{for(var J=S,I=ct.length-1,P=!0,f,y,Y;P&&(f=ct[J],y=ct[J+1],!(y.t-this.offsetTime>N));)J<I-1?J+=1:P=!1;if(Y=this.keyframesMetadata[J]||{},H=f.h===1,S=J,!H){if(N>=y.t-this.offsetTime)ot=1;else if(N<f.t-this.offsetTime)ot=0;else{var $;Y.__fnct?$=Y.__fnct:($=Zs.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,Y.__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=C._length,pt=w.i[0].length,E.lastIndex=S,W=0;W<yt;W+=1)for(et=0;et<pt;et+=1)xt=H?w.i[W][et]:w.i[W][et]+(F.i[W][et]-w.i[W][et])*ot,C.i[W][et]=xt,xt=H?w.o[W][et]:w.o[W][et]+(F.o[W][et]-w.o[W][et])*ot,C.o[W][et]=xt,xt=H?w.v[W][et]:w.v[W][et]+(F.v[W][et]-w.v[W][et])*ot,C.v[W][et]=xt}function a(){var N=this.comp.renderedFrame-this.offsetTime,C=this.keyframes[0].t-this.offsetTime,E=this.keyframes[this.keyframes.length-1].t-this.offsetTime,S=this._caching.lastFrame;return S!==e&&(S<C&&N<C||S>E&&N>E)||(this._caching.lastIndex=S<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,C){if(N._length!==C._length||N.c!==C.c)return!1;var E,S=N._length;for(E=0;E<S;E+=1)if(N.v[E][0]!==C.v[E][0]||N.v[E][1]!==C.v[E][1]||N.o[E][0]!==C.o[E][0]||N.o[E][1]!==C.o[E][1]||N.i[E][0]!==C.i[E][0]||N.i[E][1]!==C.i[E][1])return!1;return!0}function c(N){h(this.v,N)||(this.v=ue.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 C,E=this.effectsSequence.length;for(C=0;C<E;C+=1)N=this.effectsSequence[C](N);this.setVValue(N),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function A(N,C,E){this.propType="shape",this.comp=N.comp,this.container=N,this.elem=N,this.data=C,this.k=!1,this.kf=!1,this._mdf=!1;var S=E===3?C.pt.k:C.ks.k;this.v=ue.clone(S),this.pv=ue.clone(this.v),this.localShapeCollection=qo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=l,this.effectsSequence=[]}function b(N){this.effectsSequence.push(N),this.container.addDynamicProperty(this)}A.prototype.interpolateShape=i,A.prototype.getValue=v,A.prototype.setVValue=c,A.prototype.addEffect=b;function k(N,C,E){this.propType="shape",this.comp=N.comp,this.elem=N,this.container=N,this.offsetTime=N.data.st,this.keyframes=E===3?C.pt.k:C.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var S=this.keyframes[0].s[0].i.length;this.v=ue.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,S),this.pv=ue.clone(this.v),this.localShapeCollection=qo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=l,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[a.bind(this)]}k.prototype.getValue=v,k.prototype.interpolateShape=i,k.prototype.setVValue=c,k.prototype.addEffect=b;var O=function(){var N=me;function C(E,S){this.v=ue.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=qo.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=S.d,this.elem=E,this.comp=E.comp,this.frameId=-1,this.initDynamicPropertyContainer(E),this.p=at.getProp(E,S.p,1,0,this),this.s=at.getProp(E,S.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return C.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 S=this.p.v[0],w=this.p.v[1],F=this.s.v[0]/2,H=this.s.v[1]/2,W=this.d!==3,et=this.v;et.v[0][0]=S,et.v[0][1]=w-H,et.v[1][0]=W?S+F:S-F,et.v[1][1]=w,et.v[2][0]=S,et.v[2][1]=w+H,et.v[3][0]=W?S-F:S+F,et.v[3][1]=w,et.i[0][0]=W?S-F*N:S+F*N,et.i[0][1]=w-H,et.i[1][0]=W?S+F:S-F,et.i[1][1]=w-H*N,et.i[2][0]=W?S+F*N:S-F*N,et.i[2][1]=w+H,et.i[3][0]=W?S-F:S+F,et.i[3][1]=w+H*N,et.o[0][0]=W?S+F*N:S-F*N,et.o[0][1]=w-H,et.o[1][0]=W?S+F:S-F,et.o[1][1]=w+H*N,et.o[2][0]=W?S-F*N:S+F*N,et.o[2][1]=w+H,et.o[3][0]=W?S-F:S+F,et.o[3][1]=w-H*N}},L([le],C),C}(),G=function(){function N(C,E){this.v=ue.newElement(),this.v.setPathData(!0,0),this.elem=C,this.comp=C.comp,this.data=E,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(C),E.sy===1?(this.ir=at.getProp(C,E.ir,0,0,this),this.is=at.getProp(C,E.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=at.getProp(C,E.pt,0,0,this),this.p=at.getProp(C,E.p,1,0,this),this.r=at.getProp(C,E.r,0,kt,this),this.or=at.getProp(C,E.or,0,0,this),this.os=at.getProp(C,E.os,0,.01,this),this.localShapeCollection=qo.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,S=Math.PI*2/E,w=!0,F=this.or.v,H=this.ir.v,W=this.os.v,et=this.is.v,yt=2*Math.PI*F/(E*2),pt=2*Math.PI*H/(E*2),ot,xt,ct,J,I=-Math.PI/2;I+=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:H,ct=w?W:et,J=w?yt:pt;var f=xt*Math.cos(I),y=xt*Math.sin(I),Y=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-Y*J*ct*P,y-$*J*ct*P,f+Y*J*ct*P,y+$*J*ct*P,ot,!0),w=!w,I+=S*P}},convertPolygonToPath:function(){var E=Math.floor(this.pt.v),S=Math.PI*2/E,w=this.or.v,F=this.os.v,H=2*Math.PI*w/(E*4),W,et=-Math.PI*.5,yt=this.data.d===3?-1:1;for(et+=this.r.v,this.v._length=0,W=0;W<E;W+=1){var pt=w*Math.cos(et),ot=w*Math.sin(et),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*H*F*yt,ot-ct*H*F*yt,pt+xt*H*F*yt,ot+ct*H*F*yt,W,!0),et+=S*yt}this.paths.length=0,this.paths[0]=this.v}},L([le],N),N}(),T=function(){function N(C,E){this.v=ue.newElement(),this.v.c=!0,this.localShapeCollection=qo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=C,this.comp=C.comp,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(C),this.p=at.getProp(C,E.p,1,0,this),this.s=at.getProp(C,E.s,1,0,this),this.r=at.getProp(C,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],S=this.p.v[1],w=this.s.v[0]/2,F=this.s.v[1]/2,H=Ne(w,F,this.r.v),W=H*(1-me);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(E+w,S-F+H,E+w,S-F+H,E+w,S-F+W,0,!0),this.v.setTripleAt(E+w,S+F-H,E+w,S+F-W,E+w,S+F-H,1,!0),H!==0?(this.v.setTripleAt(E+w-H,S+F,E+w-H,S+F,E+w-W,S+F,2,!0),this.v.setTripleAt(E-w+H,S+F,E-w+W,S+F,E-w+H,S+F,3,!0),this.v.setTripleAt(E-w,S+F-H,E-w,S+F-H,E-w,S+F-W,4,!0),this.v.setTripleAt(E-w,S-F+H,E-w,S-F+W,E-w,S-F+H,5,!0),this.v.setTripleAt(E-w+H,S-F,E-w+H,S-F,E-w+W,S-F,6,!0),this.v.setTripleAt(E+w-H,S-F,E+w-W,S-F,E+w-H,S-F,7,!0)):(this.v.setTripleAt(E-w,S+F,E-w+W,S+F,E-w,S+F,2),this.v.setTripleAt(E-w,S-F,E-w,S-F+W,E-w,S-F,3))):(this.v.setTripleAt(E+w,S-F+H,E+w,S-F+W,E+w,S-F+H,0,!0),H!==0?(this.v.setTripleAt(E+w-H,S-F,E+w-H,S-F,E+w-W,S-F,1,!0),this.v.setTripleAt(E-w+H,S-F,E-w+W,S-F,E-w+H,S-F,2,!0),this.v.setTripleAt(E-w,S-F+H,E-w,S-F+H,E-w,S-F+W,3,!0),this.v.setTripleAt(E-w,S+F-H,E-w,S+F-W,E-w,S+F-H,4,!0),this.v.setTripleAt(E-w+H,S+F,E-w+H,S+F,E-w+W,S+F,5,!0),this.v.setTripleAt(E+w-H,S+F,E+w-W,S+F,E+w-H,S+F,6,!0),this.v.setTripleAt(E+w,S+F-H,E+w,S+F-H,E+w,S+F-W,7,!0)):(this.v.setTripleAt(E-w,S-F,E-w+W,S-F,E-w,S-F,1,!0),this.v.setTripleAt(E-w,S+F,E-w,S+F-W,E-w,S+F,2,!0),this.v.setTripleAt(E+w,S+F,E+w-W,S+F,E+w,S+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([le],N),N}();function R(N,C,E){var S;if(E===3||E===4){var w=E===3?C.pt:C.ks,F=w.k;F.length?S=new k(N,C,E):S=new A(N,C,E)}else E===5?S=new T(N,C):E===6?S=new O(N,C):E===7&&(S=new G(N,C));return S.k&&N.addDynamicProperty(S),S}function D(){return A}function M(){return k}var V={};return V.getShapeProp=R,V.getConstructorFunction=D,V.getKeyframedConstructorFunction=M,V}();var fe=function(){var e=Math.cos,i=Math.sin,a=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),Y=i(f);return this._t(y,-Y,0,0,Y,y,0,0,0,0,1,0,0,0,0,1)}function v(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(1,0,0,0,0,y,-Y,0,0,Y,y,0,0,0,0,1)}function A(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(y,0,Y,0,0,1,0,0,-Y,0,y,0,0,0,0,1)}function b(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(y,-Y,0,0,Y,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 O(f,y){return this.shear(a(f),a(y))}function G(f,y){var Y=e(y),$=i(y);return this._t(Y,$,0,0,-$,Y,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,a(f),1,0,0,0,0,1,0,0,0,0,1)._t(Y,-$,0,0,$,Y,0,0,0,0,1,0,0,0,0,1)}function T(f,y,Y){return!Y&&Y!==0&&(Y=1),f===1&&y===1&&Y===1?this:this._t(f,0,0,0,0,y,0,0,0,0,Y,0,0,0,0,1)}function R(f,y,Y,$,nt,ft,Et,Ot,Rt,Jt,Re,Nr,Me,de,Ye,Dt){return this.props[0]=f,this.props[1]=y,this.props[2]=Y,this.props[3]=$,this.props[4]=nt,this.props[5]=ft,this.props[6]=Et,this.props[7]=Ot,this.props[8]=Rt,this.props[9]=Jt,this.props[10]=Re,this.props[11]=Nr,this.props[12]=Me,this.props[13]=de,this.props[14]=Ye,this.props[15]=Dt,this}function D(f,y,Y){return Y=Y||0,f!==0||y!==0||Y!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,f,y,Y,1):this}function M(f,y,Y,$,nt,ft,Et,Ot,Rt,Jt,Re,Nr,Me,de,Ye,Dt){var ht=this.props;if(f===1&&y===0&&Y===0&&$===0&&nt===0&&ft===1&&Et===0&&Ot===0&&Rt===0&&Jt===0&&Re===1&&Nr===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]*Ye,ht[15]*=Dt,this._identityCalculated=!1,this;var qr=ht[0],Ii=ht[1],Xr=ht[2],Lr=ht[3],Zr=ht[4],Qr=ht[5],Pe=ht[6],_i=ht[7],Ci=ht[8],yr=ht[9],ki=ht[10],Er=ht[11],co=ht[12],Rn=ht[13],Mn=ht[14],Pn=ht[15];return ht[0]=qr*f+Ii*nt+Xr*Rt+Lr*Me,ht[1]=qr*y+Ii*ft+Xr*Jt+Lr*de,ht[2]=qr*Y+Ii*Et+Xr*Re+Lr*Ye,ht[3]=qr*$+Ii*Ot+Xr*Nr+Lr*Dt,ht[4]=Zr*f+Qr*nt+Pe*Rt+_i*Me,ht[5]=Zr*y+Qr*ft+Pe*Jt+_i*de,ht[6]=Zr*Y+Qr*Et+Pe*Re+_i*Ye,ht[7]=Zr*$+Qr*Ot+Pe*Nr+_i*Dt,ht[8]=Ci*f+yr*nt+ki*Rt+Er*Me,ht[9]=Ci*y+yr*ft+ki*Jt+Er*de,ht[10]=Ci*Y+yr*Et+ki*Re+Er*Ye,ht[11]=Ci*$+yr*Ot+ki*Nr+Er*Dt,ht[12]=co*f+Rn*nt+Mn*Rt+Pn*Me,ht[13]=co*y+Rn*ft+Mn*Jt+Pn*de,ht[14]=co*Y+Rn*Et+Mn*Re+Pn*Ye,ht[15]=co*$+Rn*Ot+Mn*Nr+Pn*Dt,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 C(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 S(f){var y;for(y=0;y<16;y+=1)this.props[y]=f[y]}function w(f,y,Y){return{x:f*this.props[0]+y*this.props[4]+Y*this.props[8]+this.props[12],y:f*this.props[1]+y*this.props[5]+Y*this.props[9]+this.props[13],z:f*this.props[2]+y*this.props[6]+Y*this.props[10]+this.props[14]}}function F(f,y,Y){return f*this.props[0]+y*this.props[4]+Y*this.props[8]+this.props[12]}function H(f,y,Y){return f*this.props[1]+y*this.props[5]+Y*this.props[9]+this.props[13]}function W(f,y,Y){return f*this.props[2]+y*this.props[6]+Y*this.props[10]+this.props[14]}function et(){var f=this.props[0]*this.props[5]-this.props[1]*this.props[4],y=this.props[5]/f,Y=-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,Ot=new fe;return Ot.props[0]=y,Ot.props[1]=Y,Ot.props[4]=$,Ot.props[5]=nt,Ot.props[12]=ft,Ot.props[13]=Et,Ot}function yt(f){var y=this.getInverseMatrix();return y.applyToPointArray(f[0],f[1],f[2]||0)}function pt(f){var y,Y=f.length,$=[];for(y=0;y<Y;y+=1)$[y]=yt(f[y]);return $}function ot(f,y,Y){var $=X("float32",6);if(this.isIdentity())$[0]=f[0],$[1]=f[1],$[2]=y[0],$[3]=y[1],$[4]=Y[0],$[5]=Y[1];else{var nt=this.props[0],ft=this.props[1],Et=this.props[4],Ot=this.props[5],Rt=this.props[12],Jt=this.props[13];$[0]=f[0]*nt+f[1]*Et+Rt,$[1]=f[0]*ft+f[1]*Ot+Jt,$[2]=y[0]*nt+y[1]*Et+Rt,$[3]=y[0]*ft+y[1]*Ot+Jt,$[4]=Y[0]*nt+Y[1]*Et+Rt,$[5]=Y[0]*ft+Y[1]*Ot+Jt}return $}function xt(f,y,Y){var $;return this.isIdentity()?$=[f,y,Y]:$=[f*this.props[0]+y*this.props[4]+Y*this.props[8]+this.props[12],f*this.props[1]+y*this.props[5]+Y*this.props[9]+this.props[13],f*this.props[2]+y*this.props[6]+Y*this.props[10]+this.props[14]],$}function ct(f,y){if(this.isIdentity())return f+","+y;var Y=this.props;return Math.round((f*Y[0]+y*Y[4]+Y[12])*100)/100+","+Math.round((f*Y[1]+y*Y[5]+Y[13])*100)/100}function J(){for(var f=0,y=this.props,Y="matrix3d(",$=1e4;f<16;)Y+=l(y[f]*$)/$,Y+=f===15?")":",",f+=1;return Y}function I(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=I(f[0]),Y=I(f[1]),$=I(f[4]),nt=I(f[5]),ft=I(f[12]),Et=I(f[13]);return"matrix("+y+","+Y+","+$+","+nt+","+ft+","+Et+")"}return function(){this.reset=h,this.rotate=c,this.rotateX=v,this.rotateY=A,this.rotateZ=b,this.skew=O,this.skewFromAxis=G,this.shear=k,this.scale=T,this.setTransform=R,this.translate=D,this.transform=M,this.multiply=V,this.applyToPoint=w,this.applyToX=F,this.applyToY=H,this.applyToZ=W,this.applyToPointArray=xt,this.applyToTriplePoints=ot,this.applyToPointStringified=ct,this.toCSS=J,this.to2dCSS=P,this.clone=E,this.cloneFromProps=S,this.equals=C,this.inversePoints=pt,this.inversePoint=yt,this.getInverseMatrix=et,this._t=this.transform,this.isIdentity=N,this._identity=!0,this._identityCalculated=!1,this.props=X("float32",16),this.reset()}}();function In(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?In=function(a){return typeof a}:In=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},In(e)}var Mt={},_n="__[STANDALONE]__",Np="__[ANIMATIONDATA]__",Lp="";function Lb(e){m(e)}function Op(){_n===!0?Qt.searchAnimations(Np,_n,Lp):Qt.searchAnimations()}function Ob(e){ub(e)}function Rb(e){gb(e)}function Mb(e){return _n===!0&&(e.animationData=JSON.parse(Np)),Qt.loadAnimation(e)}function Pb(e){if(typeof e=="string")switch(e){case"high":bn(200);break;default:case"medium":bn(50);break;case"low":bn(10);break}else!isNaN(e)&&e>1&&bn(e);js()>=50?Je(!1):Je(!0)}function Db(){return typeof navigator<"u"}function Fb(e,i){e==="expressions"&&vb(i)}function $b(e){switch(e){case"propertyFactory":return at;case"shapePropertyFactory":return Sn;case"matrix":return fe;default:return null}}Mt.play=Qt.play,Mt.pause=Qt.pause,Mt.setLocationHref=Lb,Mt.togglePause=Qt.togglePause,Mt.setSpeed=Qt.setSpeed,Mt.setDirection=Qt.setDirection,Mt.stop=Qt.stop,Mt.searchAnimations=Op,Mt.registerAnimation=Qt.registerAnimation,Mt.loadAnimation=Mb,Mt.setSubframeRendering=Ob,Mt.resize=Qt.resize,Mt.goToAndStop=Qt.goToAndStop,Mt.destroy=Qt.destroy,Mt.setQuality=Pb,Mt.inBrowser=Db,Mt.installPlugin=Fb,Mt.freeze=Qt.freeze,Mt.unfreeze=Qt.unfreeze,Mt.setVolume=Qt.setVolume,Mt.mute=Qt.mute,Mt.unmute=Qt.unmute,Mt.getRegisteredAnimations=Qt.getRegisteredAnimations,Mt.useWebWorker=s,Mt.setIDPrefix=Rb,Mt.__getFactory=$b,Mt.version="5.12.2";function zb(){document.readyState==="complete"&&(clearInterval(Ub),Op())}function Vb(e){for(var i=Rp.split("&"),a=0;a<i.length;a+=1){var l=i[a].split("=");if(decodeURIComponent(l[0])==e)return decodeURIComponent(l[1])}return null}var Rp="";if(_n){var Mp=document.getElementsByTagName("script"),Bb=Mp.length-1,Pp=Mp[Bb]||{src:""};Rp=Pp.src?Pp.src.replace(/^[^\?]+\??/,""):"",Lp=Vb("renderer")}var Ub=setInterval(zb,100);try{!((typeof _a>"u"?"undefined":In(_a))==="object"&&typeof ll<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Mt)}catch{}var yi=function(){var e={},i={};e.registerModifier=a,e.getModifier=l;function a(h,c){i[h]||(i[h]=c)}function l(h,c,v){return new i[h](c,v)}return e}();function ir(){}ir.prototype.initModifierProperties=function(){},ir.prototype.addShapeToModifier=function(){},ir.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var i={shape:e.sh,data:e,localShapeCollection:qo.newShapeCollection()};this.shapes.push(i),this.addShapeToModifier(i),this._isAnimated&&e.setAsAnimated()}},ir.prototype.init=function(e,i){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,i),this.frameId=r,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ir.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},L([le],ir);function br(){}L([ir],br),br.prototype.initModifierProperties=function(e,i){this.s=at.getProp(e,i.s,0,.01,this),this.e=at.getProp(e,i.e,0,.01,this),this.o=at.getProp(e,i.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=i.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},br.prototype.addShapeToModifier=function(e){e.pathsData=[]},br.prototype.calculateShapeEdges=function(e,i,a,l,h){var c=[];i<=1?c.push({s:e,e:i}):e>=1?c.push({s:e-1,e:i-1}):(c.push({s:e,e:1}),c.push({s:0,e:i-1}));var v=[],A,b=c.length,k;for(A=0;A<b;A+=1)if(k=c[A],!(k.e*h<l||k.s*h>l+a)){var O,G;k.s*h<=l?O=0:O=(k.s*h-l)/a,k.e*h>=l+a?G=1:G=(k.e*h-l)/a,v.push([O,G])}return v.length||v.push([0,0]),v},br.prototype.releasePathsData=function(e){var i,a=e.length;for(i=0;i<a;i+=1)Ip.release(e[i]);return e.length=0,e},br.prototype.processShapes=function(e){var i,a;if(this._mdf||e){var l=this.o.v%360/360;if(l<0&&(l+=1),this.s.v>1?i=1+l:this.s.v<0?i=0+l:i=this.s.v+l,this.e.v>1?a=1+l:this.e.v<0?a=0+l:a=this.e.v+l,i>a){var h=i;i=a,a=h}i=Math.round(i*1e4)*1e-4,a=Math.round(a*1e4)*1e-4,this.sValue=i,this.eValue=a}else i=this.sValue,a=this.eValue;var c,v,A=this.shapes.length,b,k,O,G,T,R=0;if(a===i)for(v=0;v<A;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(a===1&&i===0||a===0&&i===1){if(this._mdf)for(v=0;v<A;v+=1)this.shapes[v].pathsData.length=0,this.shapes[v].shape._mdf=!0}else{var D=[],M,V;for(v=0;v<A;v+=1)if(M=this.shapes[v],!M.shape._mdf&&!this._mdf&&!e&&this.m!==2)M.shape.paths=M.localShapeCollection;else{if(c=M.shape.paths,k=c._length,T=0,!M.shape._mdf&&M.pathsData.length)T=M.totalShapeLength;else{for(O=this.releasePathsData(M.pathsData),b=0;b<k;b+=1)G=kr.getSegmentsLength(c.shapes[b]),O.push(G),T+=G.totalLength;M.totalShapeLength=T,M.pathsData=O}R+=T,M.shape._mdf=!0}var N=i,C=a,E=0,S;for(v=A-1;v>=0;v-=1)if(M=this.shapes[v],M.shape._mdf){for(V=M.localShapeCollection,V.releaseShapes(),this.m===2&&A>1?(S=this.calculateShapeEdges(i,a,M.totalShapeLength,E,R),E+=M.totalShapeLength):S=[[N,C]],k=S.length,b=0;b<k;b+=1){N=S[b][0],C=S[b][1],D.length=0,C<=1?D.push({s:M.totalShapeLength*N,e:M.totalShapeLength*C}):N>=1?D.push({s:M.totalShapeLength*(N-1),e:M.totalShapeLength*(C-1)}):(D.push({s:M.totalShapeLength*N,e:M.totalShapeLength}),D.push({s:0,e:M.totalShapeLength*(C-1)}));var w=this.addShapes(M,D[0]);if(D[0].s!==D[0].e){if(D.length>1){var F=M.shape.paths.shapes[M.shape.paths._length-1];if(F.c){var H=w.pop();this.addPaths(w,V),w=this.addShapes(M,D[1],H)}else this.addPaths(w,V),w=this.addShapes(M,D[1])}this.addPaths(w,V)}}M.shape.paths=V}}},br.prototype.addPaths=function(e,i){var a,l=e.length;for(a=0;a<l;a+=1)i.addShape(e[a])},br.prototype.addSegment=function(e,i,a,l,h,c,v){h.setXYAt(i[0],i[1],"o",c),h.setXYAt(a[0],a[1],"i",c+1),v&&h.setXYAt(e[0],e[1],"v",c),h.setXYAt(l[0],l[1],"v",c+1)},br.prototype.addSegmentFromArray=function(e,i,a,l){i.setXYAt(e[1],e[5],"o",a),i.setXYAt(e[2],e[6],"i",a+1),l&&i.setXYAt(e[0],e[4],"v",a),i.setXYAt(e[3],e[7],"v",a+1)},br.prototype.addShapes=function(e,i,a){var l=e.pathsData,h=e.shape.paths.shapes,c,v=e.shape.paths._length,A,b,k=0,O,G,T,R,D=[],M,V=!0;for(a?(G=a._length,M=a._length):(a=ue.newElement(),G=0,M=0),D.push(a),c=0;c<v;c+=1){for(T=l[c].lengths,a.c=h[c].c,b=h[c].c?T.length:T.length+1,A=1;A<b;A+=1)if(O=T[A-1],k+O.addedLength<i.s)k+=O.addedLength,a.c=!1;else if(k>i.e){a.c=!1;break}else i.s<=k&&i.e>=k+O.addedLength?(this.addSegment(h[c].v[A-1],h[c].o[A-1],h[c].i[A],h[c].v[A],a,G,V),V=!1):(R=kr.getNewSegment(h[c].v[A-1],h[c].v[A],h[c].o[A-1],h[c].i[A],(i.s-k)/O.addedLength,(i.e-k)/O.addedLength,T[A-1]),this.addSegmentFromArray(R,a,G,V),V=!1,a.c=!1),k+=O.addedLength,G+=1;if(h[c].c&&T.length){if(O=T[A-1],k<=i.e){var N=T[A-1].addedLength;i.s<=k&&i.e>=k+N?(this.addSegment(h[c].v[A-1],h[c].o[A-1],h[c].i[0],h[c].v[0],a,G,V),V=!1):(R=kr.getNewSegment(h[c].v[A-1],h[c].v[0],h[c].o[A-1],h[c].i[0],(i.s-k)/N,(i.e-k)/N,T[A-1]),this.addSegmentFromArray(R,a,G,V),V=!1,a.c=!1)}else a.c=!1;k+=O.addedLength,G+=1}if(a._length&&(a.setXYAt(a.v[M][0],a.v[M][1],"i",M),a.setXYAt(a.v[a._length-1][0],a.v[a._length-1][1],"o",a._length-1)),k>i.e)break;c<v-1&&(a=ue.newElement(),V=!0,D.push(a),G=0)}return D};function Qs(){}L([ir],Qs),Qs.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amount=at.getProp(e,i.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Qs.prototype.processPath=function(e,i){var a=i/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=ue.newElement();v.c=e.c;var A,b,k,O,G,T;for(c=0;c<h;c+=1)A=e.v[c][0]+(l[0]-e.v[c][0])*a,b=e.v[c][1]+(l[1]-e.v[c][1])*a,k=e.o[c][0]+(l[0]-e.o[c][0])*-a,O=e.o[c][1]+(l[1]-e.o[c][1])*-a,G=e.i[c][0]+(l[0]-e.i[c][0])*-a,T=e.i[c][1]+(l[1]-e.i[c][1])*-a,v.setTripleAt(A,b,k,O,G,T,c);return v},Qs.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.amount.v;if(v!==0){var A,b;for(a=0;a<l;a+=1){if(A=this.shapes[a],b=A.localShapeCollection,!(!A.shape._mdf&&!this._mdf&&!e))for(b.releaseShapes(),A.shape._mdf=!0,i=A.shape.paths.shapes,c=A.shape.paths._length,h=0;h<c;h+=1)b.addShape(this.processPath(i[h],v));A.shape.paths=A.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Rd=function(){var e=[0,0];function i(b){var k=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||k,this.a&&b.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&b.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&b.skewFromAxis(-this.sk.v,this.sa.v),this.r?b.rotate(-this.r.v):b.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?b.translate(this.px.v,this.py.v,-this.pz.v):b.translate(this.px.v,this.py.v,0):b.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function a(b){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||b){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 O,G;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?(O=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/k,0),G=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?(O=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/k,0),G=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/k,0)):(O=this.p.pv,G=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){O=[],G=[];var T=this.px,R=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(O[0]=T.getValueAtTime((T.keyframes[0].t+.01)/k,0),O[1]=R.getValueAtTime((R.keyframes[0].t+.01)/k,0),G[0]=T.getValueAtTime(T.keyframes[0].t/k,0),G[1]=R.getValueAtTime(R.keyframes[0].t/k,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(O[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/k,0),O[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/k,0),G[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/k,0),G[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/k,0)):(O=[T.pv,R.pv],G[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/k,T.offsetTime),G[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/k,R.offsetTime))}else G=e,O=G;this.v.rotate(-Math.atan2(O[1]-G[1],O[0]-G[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(b){this._addDynamicProperty(b),this.elem.addDynamicProperty(b),this._isDirty=!0}function v(b,k,O){if(this.elem=b,this.frameId=-1,this.propType="transform",this.data=k,this.v=new fe,this.pre=new fe,this.appliedTransformations=0,this.initDynamicPropertyContainer(O||b),k.p&&k.p.s?(this.px=at.getProp(b,k.p.x,0,0,this),this.py=at.getProp(b,k.p.y,0,0,this),k.p.z&&(this.pz=at.getProp(b,k.p.z,0,0,this))):this.p=at.getProp(b,k.p||{k:[0,0,0]},1,0,this),k.rx){if(this.rx=at.getProp(b,k.rx,0,kt,this),this.ry=at.getProp(b,k.ry,0,kt,this),this.rz=at.getProp(b,k.rz,0,kt,this),k.or.k[0].ti){var G,T=k.or.k.length;for(G=0;G<T;G+=1)k.or.k[G].to=null,k.or.k[G].ti=null}this.or=at.getProp(b,k.or,1,kt,this),this.or.sh=!0}else this.r=at.getProp(b,k.r||{k:0},0,kt,this);k.sk&&(this.sk=at.getProp(b,k.sk,0,kt,this),this.sa=at.getProp(b,k.sa,0,kt,this)),this.a=at.getProp(b,k.a||{k:[0,0,0]},1,0,this),this.s=at.getProp(b,k.s||{k:[100,100,100]},1,.01,this),k.o?this.o=at.getProp(b,k.o,0,.01,b):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}v.prototype={applyToMatrix:i,getValue:a,precalculateMatrix:l,autoOrient:h},L([le],v),v.prototype.addDynamicProperty=c,v.prototype._addDynamicProperty=le.prototype.addDynamicProperty;function A(b,k,O){return new v(b,k,O)}return{getTransformProperty:A}}();function wr(){}L([ir],wr),wr.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.c=at.getProp(e,i.c,0,null,this),this.o=at.getProp(e,i.o,0,null,this),this.tr=Rd.getTransformProperty(e,i.tr,this),this.so=at.getProp(e,i.tr.so,0,.01,this),this.eo=at.getProp(e,i.tr.eo,0,.01,this),this.data=i,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new fe,this.rMatrix=new fe,this.sMatrix=new fe,this.tMatrix=new fe,this.matrix=new fe},wr.prototype.applyTransforms=function(e,i,a,l,h,c){var v=c?-1:1,A=l.s.v[0]+(1-l.s.v[0])*(1-h),b=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]),i.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),i.rotate(-l.r.v*v*h),i.translate(l.a.v[0],l.a.v[1],l.a.v[2]),a.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),a.scale(c?1/A:A,c?1/b:b),a.translate(l.a.v[0],l.a.v[1],l.a.v[2])},wr.prototype.init=function(e,i,a,l){for(this.elem=e,this.arr=i,this.pos=a,this.elemsData=l,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,i[a]);a>0;)a-=1,this._elements.unshift(i[a]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},wr.prototype.resetElements=function(e){var i,a=e.length;for(i=0;i<a;i+=1)e[i]._processed=!1,e[i].ty==="gr"&&this.resetElements(e[i].it)},wr.prototype.cloneElements=function(e){var i=JSON.parse(JSON.stringify(e));return this.resetElements(i),i},wr.prototype.changeGroupRender=function(e,i){var a,l=e.length;for(a=0;a<l;a+=1)e[a]._render=i,e[a].ty==="gr"&&this.changeGroupRender(e[a].it,i)},wr.prototype.processShapes=function(e){var i,a,l,h,c,v=!1;if(this._mdf||e){var A=Math.ceil(this.c.v);if(this._groups.length<A){for(;this._groups.length<A;){var b={it:this.cloneElements(this._elements),ty:"gr"};b.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,b),this._groups.splice(0,0,b),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<A,this._groups[l]._render=k,this.changeGroupRender(this._groups[l].it,k),!k){var O=this.elemsData[l].it,G=O[O.length-1];G.transform.op.v!==0?(G.transform.op._mdf=!0,G.transform.op.v=0):G.transform.op._mdf=!1}c+=1}this._currentCopies=A;var T=this.o.v,R=T%1,D=T>0?Math.floor(T):Math.ceil(T),M=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 C=0;if(T>0){for(;C<D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),C+=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,R,!1),C+=R)}else if(T<0){for(;C>D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),C-=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-R,!0),C-=R)}l=this.data.m===1?0:this._currentCopies-1,h=this.data.m===1?1:-1,c=this._currentCopies;for(var E,S;c;){if(i=this.elemsData[l].it,a=i[i.length-1].transform.mProps.v.props,S=a.length,i[i.length-1].transform.mProps._mdf=!0,i[i.length-1].transform.op._mdf=!0,i[i.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(l/(this._currentCopies-1)),C!==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(M[0],M[1],M[2],M[3],M[4],M[5],M[6],M[7],M[8],M[9],M[10],M[11],M[12],M[13],M[14],M[15]),E=0;E<S;E+=1)a[E]=this.matrix.props[E];this.matrix.reset()}else for(this.matrix.reset(),E=0;E<S;E+=1)a[E]=this.matrix.props[E];C+=1,c-=1,l+=h}}else for(c=this._currentCopies,l=0,h=1;c;)i=this.elemsData[l].it,a=i[i.length-1].transform.mProps.v.props,i[i.length-1].transform.mProps._mdf=!1,i[i.length-1].transform.op._mdf=!1,c-=1,l+=h;return v},wr.prototype.addShape=function(){};function Js(){}L([ir],Js),Js.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.rd=at.getProp(e,i.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},Js.prototype.processPath=function(e,i){var a=ue.newElement();a.c=e.c;var l,h=e._length,c,v,A,b,k,O,G=0,T,R,D,M,V,N;for(l=0;l<h;l+=1)c=e.v[l],A=e.o[l],v=e.i[l],c[0]===A[0]&&c[1]===A[1]&&c[0]===v[0]&&c[1]===v[1]?(l===0||l===h-1)&&!e.c?(a.setTripleAt(c[0],c[1],A[0],A[1],v[0],v[1],G),G+=1):(l===0?b=e.v[h-1]:b=e.v[l-1],k=Math.sqrt(Math.pow(c[0]-b[0],2)+Math.pow(c[1]-b[1],2)),O=k?Math.min(k/2,i)/k:0,V=c[0]+(b[0]-c[0])*O,T=V,N=c[1]-(c[1]-b[1])*O,R=N,D=T-(T-c[0])*me,M=R-(R-c[1])*me,a.setTripleAt(T,R,D,M,V,N,G),G+=1,l===h-1?b=e.v[0]:b=e.v[l+1],k=Math.sqrt(Math.pow(c[0]-b[0],2)+Math.pow(c[1]-b[1],2)),O=k?Math.min(k/2,i)/k:0,D=c[0]+(b[0]-c[0])*O,T=D,M=c[1]+(b[1]-c[1])*O,R=M,V=T-(T-c[0])*me,N=R-(R-c[1])*me,a.setTripleAt(T,R,D,M,V,N,G),G+=1):(a.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],G),G+=1);return a},Js.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.rd.v;if(v!==0){var A,b;for(a=0;a<l;a+=1){if(A=this.shapes[a],b=A.localShapeCollection,!(!A.shape._mdf&&!this._mdf&&!e))for(b.releaseShapes(),A.shape._mdf=!0,i=A.shape.paths.shapes,c=A.shape.paths._length,h=0;h<c;h+=1)b.addShape(this.processPath(i[h],v));A.shape.paths=A.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Cn(e,i){return Math.abs(e-i)*1e5<=Math.min(Math.abs(e),Math.abs(i))}function Md(e){return Math.abs(e)<=1e-5}function Dp(e,i,a){return e*(1-a)+i*a}function Ei(e,i,a){return[Dp(e[0],i[0],a),Dp(e[1],i[1],a)]}function Hb(e,i,a){if(e===0)return[];var l=i*i-4*e*a;if(l<0)return[];var h=-i/(2*e);if(l===0)return[h];var c=Math.sqrt(l)/(2*e);return[h-c,h+c]}function Fp(e,i,a,l){return[-e+3*i-3*a+l,3*e-6*i+3*a,-3*e+3*i,e]}function $p(e){return new Kt(e,e,e,e,!1)}function Kt(e,i,a,l,h){h&&Zo(e,i)&&(i=Ei(e,l,1/3)),h&&Zo(a,l)&&(a=Ei(e,l,2/3));var c=Fp(e[0],i[0],a[0],l[0]),v=Fp(e[1],i[1],a[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,i,a,l]}Kt.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]]},Kt.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]]},Kt.prototype.tangentAngle=function(e){var i=this.derivative(e);return Math.atan2(i[1],i[0])},Kt.prototype.normalAngle=function(e){var i=this.derivative(e);return Math.atan2(i[0],i[1])},Kt.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Md(e))return[];var i=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,a=i*i-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(a<0)return[];var l=Math.sqrt(a);return Md(l)?l>0&&l<1?[i]:[]:[i-l,i+l].filter(function(h){return h>0&&h<1})},Kt.prototype.split=function(e){if(e<=0)return[$p(this.points[0]),this];if(e>=1)return[this,$p(this.points[this.points.length-1])];var i=Ei(this.points[0],this.points[1],e),a=Ei(this.points[1],this.points[2],e),l=Ei(this.points[2],this.points[3],e),h=Ei(i,a,e),c=Ei(a,l,e),v=Ei(h,c,e);return[new Kt(this.points[0],i,h,v,!0),new Kt(v,c,l,this.points[3],!0)]};function zp(e,i){var a=e.points[0][i],l=e.points[e.points.length-1][i];if(a>l){var h=l;l=a,a=h}for(var c=Hb(3*e.a[i],2*e.b[i],e.c[i]),v=0;v<c.length;v+=1)if(c[v]>0&&c[v]<1){var A=e.point(c[v])[i];A<a?a=A:A>l&&(l=A)}return{min:a,max:l}}Kt.prototype.bounds=function(){return{x:zp(this,0),y:zp(this,1)}},Kt.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 kn(e,i,a){var l=e.boundingBox();return{cx:l.cx,cy:l.cy,width:l.width,height:l.height,bez:e,t:(i+a)/2,t1:i,t2:a}}function Vp(e){var i=e.bez.split(.5);return[kn(i[0],e.t1,e.t),kn(i[1],e.t,e.t2)]}function Gb(e,i){return Math.abs(e.cx-i.cx)*2<e.width+i.width&&Math.abs(e.cy-i.cy)*2<e.height+i.height}function ta(e,i,a,l,h,c){if(Gb(e,i)){if(a>=c||e.width<=l&&e.height<=l&&i.width<=l&&i.height<=l){h.push([e.t,i.t]);return}var v=Vp(e),A=Vp(i);ta(v[0],A[0],a+1,l,h,c),ta(v[0],A[1],a+1,l,h,c),ta(v[1],A[0],a+1,l,h,c),ta(v[1],A[1],a+1,l,h,c)}}Kt.prototype.intersections=function(e,i,a){i===void 0&&(i=2),a===void 0&&(a=7);var l=[];return ta(kn(this,0,1),kn(e,0,1),0,i,l,a),l},Kt.shapeSegment=function(e,i){var a=(i+1)%e.length();return new Kt(e.v[i],e.o[i],e.i[a],e.v[a],!0)},Kt.shapeSegmentInverted=function(e,i){var a=(i+1)%e.length();return new Kt(e.v[a],e.i[a],e.o[i],e.v[i],!0)};function Pd(e,i){return[e[1]*i[2]-e[2]*i[1],e[2]*i[0]-e[0]*i[2],e[0]*i[1]-e[1]*i[0]]}function wn(e,i,a,l){var h=[e[0],e[1],1],c=[i[0],i[1],1],v=[a[0],a[1],1],A=[l[0],l[1],1],b=Pd(Pd(h,c),Pd(v,A));return Md(b[2])?null:[b[0]/b[2],b[1]/b[2]]}function Xo(e,i,a){return[e[0]+Math.cos(i)*a,e[1]-Math.sin(i)*a]}function Dd(e,i){return Math.hypot(e[0]-i[0],e[1]-i[1])}function Zo(e,i){return Cn(e[0],i[0])&&Cn(e[1],i[1])}function ea(){}L([ir],ea),ea.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amplitude=at.getProp(e,i.s,0,null,this),this.frequency=at.getProp(e,i.r,0,null,this),this.pointsType=at.getProp(e,i.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Bp(e,i,a,l,h,c,v){var A=a-Math.PI/2,b=a+Math.PI/2,k=i[0]+Math.cos(a)*l*h,O=i[1]-Math.sin(a)*l*h;e.setTripleAt(k,O,k+Math.cos(A)*c,O-Math.sin(A)*c,k+Math.cos(b)*v,O-Math.sin(b)*v,e.length())}function Yb(e,i){var a=[i[0]-e[0],i[1]-e[1]],l=-Math.PI*.5,h=[Math.cos(l)*a[0]-Math.sin(l)*a[1],Math.sin(l)*a[0]+Math.cos(l)*a[1]];return h}function Wb(e,i){var a=i===0?e.length()-1:i-1,l=(i+1)%e.length(),h=e.v[a],c=e.v[l],v=Yb(h,c);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function Up(e,i,a,l,h,c,v){var A=Wb(i,a),b=i.v[a%i._length],k=i.v[a===0?i._length-1:a-1],O=i.v[(a+1)%i._length],G=c===2?Math.sqrt(Math.pow(b[0]-k[0],2)+Math.pow(b[1]-k[1],2)):0,T=c===2?Math.sqrt(Math.pow(b[0]-O[0],2)+Math.pow(b[1]-O[1],2)):0;Bp(e,i.v[a%i._length],A,v,l,T/((h+1)*2),G/((h+1)*2),c)}function jb(e,i,a,l,h,c){for(var v=0;v<l;v+=1){var A=(v+1)/(l+1),b=h===2?Math.sqrt(Math.pow(i.points[3][0]-i.points[0][0],2)+Math.pow(i.points[3][1]-i.points[0][1],2)):0,k=i.normalAngle(A),O=i.point(A);Bp(e,O,k,c,a,b/((l+1)*2),b/((l+1)*2),h),c=-c}return c}ea.prototype.processPath=function(e,i,a,l){var h=e._length,c=ue.newElement();if(c.c=e.c,e.c||(h-=1),h===0)return c;var v=-1,A=Kt.shapeSegment(e,0);Up(c,e,0,i,a,l,v);for(var b=0;b<h;b+=1)v=jb(c,A,i,a,l,-v),b===h-1&&!e.c?A=null:A=Kt.shapeSegment(e,(b+1)%h),Up(c,e,b+1,i,a,l,v);return c},ea.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.amplitude.v,A=Math.max(0,Math.round(this.frequency.v)),b=this.pointsType.v;if(v!==0){var k,O;for(a=0;a<l;a+=1){if(k=this.shapes[a],O=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(O.releaseShapes(),k.shape._mdf=!0,i=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)O.addShape(this.processPath(i[h],v,A,b));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Fd(e,i,a){var l=Math.atan2(i[0]-e[0],i[1]-e[1]);return[Xo(e,l,a),Xo(i,l,a)]}function Qo(e,i){var a,l,h,c,v,A,b;b=Fd(e.points[0],e.points[1],i),a=b[0],l=b[1],b=Fd(e.points[1],e.points[2],i),h=b[0],c=b[1],b=Fd(e.points[2],e.points[3],i),v=b[0],A=b[1];var k=wn(a,l,h,c);k===null&&(k=l);var O=wn(v,A,h,c);return O===null&&(O=v),new Kt(a,k,O,A)}function Hp(e,i,a,l,h){var c=i.points[3],v=a.points[0];if(l===3||Zo(c,v))return c;if(l===2){var A=-i.tangentAngle(1),b=-a.tangentAngle(0)+Math.PI,k=wn(c,Xo(c,A+Math.PI/2,100),v,Xo(v,A+Math.PI/2,100)),O=k?Dd(k,c):Dd(c,v)/2,G=Xo(c,A,2*O*me);return e.setXYAt(G[0],G[1],"o",e.length()-1),G=Xo(v,b,2*O*me),e.setTripleAt(v[0],v[1],v[0],v[1],G[0],G[1],e.length()),v}var T=Zo(c,i.points[2])?i.points[0]:i.points[2],R=Zo(v,a.points[1])?a.points[3]:a.points[1],D=wn(T,c,v,R);return D&&Dd(D,c)<h?(e.setTripleAt(D[0],D[1],D[0],D[1],D[0],D[1],e.length()),D):c}function Gp(e,i){var a=e.intersections(i);return a.length&&Cn(a[0][0],1)&&a.shift(),a.length?a[0]:null}function Yp(e,i){var a=e.slice(),l=i.slice(),h=Gp(e[e.length-1],i[0]);return h&&(a[e.length-1]=e[e.length-1].split(h[0])[0],l[0]=i[0].split(h[1])[1]),e.length>1&&i.length>1&&(h=Gp(e[0],i[i.length-1]),h)?[[e[0].split(h[0])[0]],[i[i.length-1].split(h[1])[1]]]:[a,l]}function Kb(e){for(var i,a=1;a<e.length;a+=1)i=Yp(e[a-1],e[a]),e[a-1]=i[0],e[a]=i[1];return e.length>1&&(i=Yp(e[e.length-1],e[0]),e[e.length-1]=i[0],e[0]=i[1]),e}function Wp(e,i){var a=e.inflectionPoints(),l,h,c,v;if(a.length===0)return[Qo(e,i)];if(a.length===1||Cn(a[1],1))return c=e.split(a[0]),l=c[0],h=c[1],[Qo(l,i),Qo(h,i)];c=e.split(a[0]),l=c[0];var A=(a[1]-a[0])/(1-a[0]);return c=c[1].split(A),v=c[0],h=c[1],[Qo(l,i),Qo(v,i),Qo(h,i)]}function ra(){}L([ir],ra),ra.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amount=at.getProp(e,i.a,0,null,this),this.miterLimit=at.getProp(e,i.ml,0,null,this),this.lineJoin=i.lj,this._isAnimated=this.amount.effectsSequence.length!==0},ra.prototype.processPath=function(e,i,a,l){var h=ue.newElement();h.c=e.c;var c=e.length();e.c||(c-=1);var v,A,b,k=[];for(v=0;v<c;v+=1)b=Kt.shapeSegment(e,v),k.push(Wp(b,i));if(!e.c)for(v=c-1;v>=0;v-=1)b=Kt.shapeSegmentInverted(e,v),k.push(Wp(b,i));k=Kb(k);var O=null,G=null;for(v=0;v<k.length;v+=1){var T=k[v];for(G&&(O=Hp(h,G,T[0],a,l)),G=T[T.length-1],A=0;A<T.length;A+=1)b=T[A],O&&Zo(b.points[0],O)?h.setXYAt(b.points[1][0],b.points[1][1],"o",h.length()-1):h.setTripleAt(b.points[0][0],b.points[0][1],b.points[1][0],b.points[1][1],b.points[0][0],b.points[0][1],h.length()),h.setTripleAt(b.points[3][0],b.points[3][1],b.points[3][0],b.points[3][1],b.points[2][0],b.points[2][1],h.length()),O=b.points[3]}return k.length&&Hp(h,G,k[0][0],a,l),h},ra.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.amount.v,A=this.miterLimit.v,b=this.lineJoin;if(v!==0){var k,O;for(a=0;a<l;a+=1){if(k=this.shapes[a],O=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(O.releaseShapes(),k.shape._mdf=!0,i=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)O.addShape(this.processPath(i[h],v,b,A));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function jp(e){for(var i=e.fStyle?e.fStyle.split(" "):[],a="normal",l="normal",h=i.length,c,v=0;v<h;v+=1)switch(c=i[v].toLowerCase(),c){case"italic":l="italic";break;case"bold":a="700";break;case"black":a="900";break;case"medium":a="500";break;case"regular":case"normal":a="400";break;case"light":case"thin":a="200";break;default:break}return{style:l,weight:e.fWeight||a}}var ao=function(){var e=5e3,i={w:0,size:0,shapes:[],data:{shapes:[]}},a=[];a=a.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,A=65039,b=8205,k=127462,O=127487,G=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T(I){var P=I.split(","),f,y=P.length,Y=[];for(f=0;f<y;f+=1)P[f]!=="sans-serif"&&P[f]!=="monospace"&&Y.push(P[f]);return Y.join(",")}function R(I,P){var f=x("span");f.setAttribute("aria-hidden",!0),f.style.fontFamily=P;var y=x("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 Y=y.offsetWidth;return y.style.fontFamily=T(I)+", "+P,{node:y,w:Y,parent:f}}function D(){var I,P=this.fonts.length,f,y,Y=P;for(I=0;I<P;I+=1)this.fonts[I].loaded?Y-=1:this.fonts[I].fOrigin==="n"||this.fonts[I].origin===0?this.fonts[I].loaded=!0:(f=this.fonts[I].monoCase.node,y=this.fonts[I].monoCase.w,f.offsetWidth!==y?(Y-=1,this.fonts[I].loaded=!0):(f=this.fonts[I].sansCase.node,y=this.fonts[I].sansCase.w,f.offsetWidth!==y&&(Y-=1,this.fonts[I].loaded=!0)),this.fonts[I].loaded&&(this.fonts[I].sansCase.parent.parentNode.removeChild(this.fonts[I].sansCase.parent),this.fonts[I].monoCase.parent.parentNode.removeChild(this.fonts[I].monoCase.parent)));Y!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function M(I,P){var f=document.body&&P?"svg":"canvas",y,Y=jp(I);if(f==="svg"){var $=Tt("text");$.style.fontSize="100px",$.setAttribute("font-family",I.fFamily),$.setAttribute("font-style",Y.style),$.setAttribute("font-weight",Y.weight),$.textContent="1",I.fClass?($.style.fontFamily="inherit",$.setAttribute("class",I.fClass)):$.style.fontFamily=I.fFamily,P.appendChild($),y=$}else{var nt=new OffscreenCanvas(500,500).getContext("2d");nt.font=Y.style+" "+Y.weight+" 100px "+I.fFamily,y=nt}function ft(Et){return f==="svg"?(y.textContent=Et,y.getComputedTextLength()):y.measureText(Et).width}return{measureText:ft}}function V(I,P){if(!I){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=I.list;return}if(!document.body){this.isLoaded=!0,I.list.forEach(function(Re){Re.helper=M(Re),Re.cache={}}),this.fonts=I.list;return}var f=I.list,y,Y=f.length,$=Y;for(y=0;y<Y;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 Ot=x("style");Ot.setAttribute("f-forigin",f[y].fOrigin),Ot.setAttribute("f-origin",f[y].origin),Ot.setAttribute("f-family",f[y].fFamily),Ot.type="text/css",Ot.innerText="@font-face {font-family: "+f[y].fFamily+"; font-style: normal; src: url('"+f[y].fPath+"');}",P.appendChild(Ot)}}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 Rt=x("link");Rt.setAttribute("f-forigin",f[y].fOrigin),Rt.setAttribute("f-origin",f[y].origin),Rt.type="text/css",Rt.rel="stylesheet",Rt.href=f[y].fPath,document.body.appendChild(Rt)}}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 Jt=x("link");Jt.setAttribute("f-forigin",f[y].fOrigin),Jt.setAttribute("f-origin",f[y].origin),Jt.setAttribute("rel","stylesheet"),Jt.setAttribute("href",f[y].fPath),P.appendChild(Jt)}}f[y].helper=M(f[y],P),f[y].cache={},this.fonts.push(f[y])}$===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function N(I){if(I){this.chars||(this.chars=[]);var P,f=I.length,y,Y=this.chars.length,$;for(P=0;P<f;P+=1){for(y=0,$=!1;y<Y;)this.chars[y].style===I[P].style&&this.chars[y].fFamily===I[P].fFamily&&this.chars[y].ch===I[P].ch&&($=!0),y+=1;$||(this.chars.push(I[P]),Y+=1)}}}function C(I,P,f){for(var y=0,Y=this.chars.length;y<Y;){if(this.chars[y].ch===I&&this.chars[y].style===P&&this.chars[y].fFamily===f)return this.chars[y];y+=1}return(typeof I=="string"&&I.charCodeAt(0)!==13||!I)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",I,P,f)),i}function E(I,P,f){var y=this.getFontByName(P),Y=I;if(!y.cache[Y]){var $=y.helper;if(I===" "){var nt=$.measureText("|"+I+"|"),ft=$.measureText("||");y.cache[Y]=(nt-ft)/100}else y.cache[Y]=$.measureText(I)/100}return y.cache[Y]*f}function S(I){for(var P=0,f=this.fonts.length;P<f;){if(this.fonts[P].fName===I)return this.fonts[P];P+=1}return this.fonts[0]}function w(I){var P=0,f=I.charCodeAt(0);if(f>=55296&&f<=56319){var y=I.charCodeAt(1);y>=56320&&y<=57343&&(P=(f-55296)*1024+y-56320+65536)}return P}function F(I,P){var f=I.toString(16)+P.toString(16);return G.indexOf(f)!==-1}function H(I){return I===b}function W(I){return I===A}function et(I){var P=w(I);return P>=k&&P<=O}function yt(I){return et(I.substr(0,2))&&et(I.substr(2,2))}function pt(I){return a.indexOf(I)!==-1}function ot(I,P){var f=w(I.substr(P,2));if(f!==l)return!1;var y=0;for(P+=2;y<5;){if(f=w(I.substr(P,2)),f<c||f>v)return!1;y+=1,P+=2}return w(I.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=F,ct.isZeroWidthJoiner=H,ct.isFlagEmoji=yt,ct.isRegionalCode=et,ct.isCombinedCharacter=pt,ct.isRegionalFlag=ot,ct.isVariationSelector=W,ct.BLACK_FLAG_CODE_POINT=l;var J={addChars:N,addFonts:V,getCharData:C,getFontByName:S,measureText:E,checkLoadedFonts:D,setIsLoaded:xt};return ct.prototype=J,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 qb(e){return new Kp(e)}function Nn(){}Nn.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(i){this.renderableComponents.indexOf(i)===-1&&this.renderableComponents.push(i)},removeRenderableComponent:function(i){this.renderableComponents.indexOf(i)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(i),1)},prepareRenderableFrame:function(i){this.checkLayerLimits(i)},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(i){this.data.ip-this.data.st<=i&&this.data.op-this.data.st>i?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 i,a=this.renderableComponents.length;for(i=0;i<a;i+=1)this.renderableComponents[i].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(i){return e[i]||""}}();function Xb(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function Zb(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function Qb(e,i,a){this.p=at.getProp(i,e.v,1,0,a)}function Jb(e,i,a){this.p=at.getProp(i,e.v,1,0,a)}function ty(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function ey(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function ry(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function iy(){this.p={}}function qp(e,i){var a=e.ef||[];this.effectElements=[];var l,h=a.length,c;for(l=0;l<h;l+=1)c=new ia(a[l],i),this.effectElements.push(c)}function ia(e,i){this.init(e,i)}L([le],ia),ia.prototype.getValue=ia.prototype.iterateDynamicProperties,ia.prototype.init=function(e,i){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(i);var a,l=this.data.ef.length,h,c=this.data.ef;for(a=0;a<l;a+=1){switch(h=null,c[a].ty){case 0:h=new Xb(c[a],i,this);break;case 1:h=new Zb(c[a],i,this);break;case 2:h=new Qb(c[a],i,this);break;case 3:h=new Jb(c[a],i,this);break;case 4:case 7:h=new ry(c[a],i,this);break;case 10:h=new ty(c[a],i,this);break;case 11:h=new ey(c[a],i,this);break;case 5:h=new qp(c[a],i,this);break;default:h=new iy(c[a],i,this);break}h&&this.effectElements.push(h)}};function Ti(){}Ti.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var i=0,a=this.data.masksProperties.length;i<a;){if(this.data.masksProperties[i].mode!=="n"&&this.data.masksProperties[i].cl!==!1)return!0;i+=1}return!1},initExpressions:function(){var i=Tp();if(i){var a=i("layer"),l=i("effects"),h=i("shape"),c=i("text"),v=i("comp");this.layerInterface=a(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var A=l.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(A),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 i=$d(this.data.bm),a=this.baseElement||this.layerElement;a.style["mix-blend-mode"]=i},initBaseData:function(i,a,l){this.globalData=a,this.comp=l,this.data=i,this.layerId=Le(),this.data.sr||(this.data.sr=1),this.effectsManager=new qp(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(i,a){var l,h=this.dynamicProperties.length;for(l=0;l<h;l+=1)(a||this._isParent&&this.dynamicProperties[l].propType==="transform")&&(this.dynamicProperties[l].getValue(),this.dynamicProperties[l]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(i){this.dynamicProperties.indexOf(i)===-1&&this.dynamicProperties.push(i)}};function Ai(e,i,a){this.initFrame(),this.initRenderable(),this.assetData=i.getAssetData(e.refId),this.footageData=i.imageLoader.getAsset(this.assetData),this.initBaseData(e,i,a)}Ai.prototype.prepareFrame=function(){},L([Nn,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 i=e("footage");this.layerInterface=i(this)}},Ai.prototype.getFootageData=function(){return this.footageData};function Oe(e,i,a){this.initFrame(),this.initRenderable(),this.assetData=i.getAssetData(e.refId),this.initBaseData(e,i,a),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,i.frameRate,this):{_placeholder:!0},this.lv=at.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}Oe.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var i=this.tm.v;this._currentTime=i}this._volume=this.lv.v[0];var a=this._volume*this._volumeMultiplier;this._previousVolume!==a&&(this._previousVolume=a,this.audio.volume(a))},L([Nn,Ti,xi],Oe),Oe.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))},Oe.prototype.show=function(){},Oe.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Oe.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Oe.prototype.resume=function(){this._canPlay=!0},Oe.prototype.setRate=function(e){this.audio.rate(e)},Oe.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},Oe.prototype.getBaseElement=function(){return null},Oe.prototype.destroy=function(){},Oe.prototype.sourceRectAtTime=function(){},Oe.prototype.initExpressions=function(){};function ve(){}ve.prototype.checkLayers=function(e){var i,a=this.layers.length,l;for(this.completeLayers=!0,i=a-1;i>=0;i-=1)this.elements[i]||(l=this.layers[i],l.ip-l.st<=e-this.layers[i].st&&l.op-l.st>e-this.layers[i].st&&this.buildItem(i)),this.completeLayers=this.elements[i]?this.completeLayers:!1;this.checkPendingElements()},ve.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)}},ve.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},ve.prototype.createAudio=function(e){return new Oe(e,this.globalData,this)},ve.prototype.createFootage=function(e){return new Ai(e,this.globalData,this)},ve.prototype.buildAllItems=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)this.buildItem(e);this.checkPendingElements()},ve.prototype.includeLayers=function(e){this.completeLayers=!1;var i,a=e.length,l,h=this.layers.length;for(i=0;i<a;i+=1)for(l=0;l<h;){if(this.layers[l].id===e[i].id){this.layers[l]=e[i];break}l+=1}},ve.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},ve.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},ve.prototype.buildElementParenting=function(e,i,a){for(var l=this.elements,h=this.layers,c=0,v=h.length;c<v;)h[c].ind==i&&(!l[c]||l[c]===!0?(this.buildItem(c),this.addPendingElement(e)):(a.push(l[c]),l[c].setAsParent(),h[c].parent!==void 0?this.buildElementParenting(e,h[c].parent,a):e.setHierarchy(a))),c+=1},ve.prototype.addPendingElement=function(e){this.pendingElements.push(e)},ve.prototype.searchExtraCompositions=function(e){var i,a=e.length;for(i=0;i<a;i+=1)if(e[i].xt){var l=this.createComp(e[i]);l.initExpressions(),this.globalData.projectInterface.registerComposition(l)}},ve.prototype.getElementById=function(e){var i,a=this.elements.length;for(i=0;i<a;i+=1)if(this.elements[i].data.ind===e)return this.elements[i];return null},ve.prototype.getElementByPath=function(e){var i=e.shift(),a;if(typeof i=="number")a=this.elements[i];else{var l,h=this.elements.length;for(l=0;l<h;l+=1)if(this.elements[l].data.nm===i){a=this.elements[l];break}}return e.length===0?a:a.getElementByPath(e)},ve.prototype.setupGlobalData=function(e,i){this.globalData.fontManager=new ao,this.globalData.slotManager=qb(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,i),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 oy={TRANSFORM_EFFECT:"transformEFfect"};function Jo(){}Jo.prototype={initTransform:function(){var i=new fe;this.finalTransform={mProp:this.data.ks?Rd.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:i,localMat:i,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 i,a=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(i=this.finalTransform.mProp.v.props,a.cloneFromProps(i),l=0;l<h;l+=1)a.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 i=0,a=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;i<a;)this.localTransforms[i]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[i]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),i+=1;if(this.finalTransform._localMatMdf){var l=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(l),i=1;i<a;i+=1){var h=this.localTransforms[i].matrix;l.multiply(h)}l.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(i=0;i<a;i+=1)c*=this.localTransforms[i].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var i=this.renderableEffectsManager.getEffects(oy.TRANSFORM_EFFECT);if(i.length){this.localTransforms=[],this.finalTransform.localMat=new fe;var a=0,l=i.length;for(a=0;a<l;a+=1)this.localTransforms.push(i[a])}}},globalToLocal:function(i){var a=[];a.push(this.finalTransform);for(var l=!0,h=this.comp;l;)h.finalTransform?(h.data.hasMask&&a.splice(0,0,h.finalTransform),h=h.comp):l=!1;var c,v=a.length,A;for(c=0;c<v;c+=1)A=a[c].mat.applyToPointArray(0,0,0),i=[i[0]-A[0],i[1]-A[1],0];return i},mHelper:new fe};function no(e,i,a){this.data=e,this.element=i,this.globalData=a,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=it(c),this.solidPath="";var v,A=this.masksProperties,b=0,k=[],O,G,T=Le(),R,D,M,V,N="clipPath",C="clip-path";for(h=0;h<c;h+=1)if((A[h].mode!=="a"&&A[h].mode!=="n"||A[h].inv||A[h].o.k!==100||A[h].o.x)&&(N="mask",C="mask"),(A[h].mode==="s"||A[h].mode==="i")&&b===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"),A[h].mode==="n")this.viewData[h]={op:at.getProp(this.element,A[h].o,0,.01,this.element),prop:Sn.getShapeProp(this.element,A[h],3),elem:v,lastPath:""},l.appendChild(v);else{b+=1,v.setAttribute("fill",A[h].mode==="s"?"#000000":"#ffffff"),v.setAttribute("clip-rule","nonzero");var E;if(A[h].x.k!==0?(N="mask",C="mask",V=at.getProp(this.element,A[h].x,0,null,this.element),E=Le(),D=Tt("filter"),D.setAttribute("id",E),M=Tt("feMorphology"),M.setAttribute("operator","erode"),M.setAttribute("in","SourceGraphic"),M.setAttribute("radius","0"),D.appendChild(M),l.appendChild(D),v.setAttribute("stroke",A[h].mode==="s"?"#000000":"#ffffff")):(M=null,V=null),this.storedData[h]={elem:v,x:V,expan:M,lastPath:"",lastOperator:"",filterId:E,lastRadius:0},A[h].mode==="i"){G=k.length;var S=Tt("g");for(O=0;O<G;O+=1)S.appendChild(k[O]);var w=Tt("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",T+"_"+b),w.appendChild(v),l.appendChild(w),S.setAttribute("mask","url("+g()+"#"+T+"_"+b+")"),k.length=0,k.push(S)}else k.push(v);A[h].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[h]={elem:v,lastPath:"",op:at.getProp(this.element,A[h].o,0,.01,this.element),prop:Sn.getShapeProp(this.element,A[h],3),invRect:R},this.viewData[h].prop.k||this.drawPath(A[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]);b>0&&(this.maskElement.setAttribute("id",T),this.element.maskedElement.setAttribute(C,"url("+g()+"#"+T+")"),l.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}no.prototype.getMaskProperty=function(e){return this.viewData[e].prop},no.prototype.renderFrame=function(e){var i=this.element.finalTransform.mat,a,l=this.masksProperties.length;for(a=0;a<l;a+=1)if((this.viewData[a].prop._mdf||e)&&this.drawPath(this.masksProperties[a],this.viewData[a].prop.v,this.viewData[a]),(this.viewData[a].op._mdf||e)&&this.viewData[a].elem.setAttribute("fill-opacity",this.viewData[a].op.v),this.masksProperties[a].mode!=="n"&&(this.viewData[a].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[a].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[a].x&&(this.storedData[a].x._mdf||e))){var h=this.storedData[a].expan;this.storedData[a].x.v<0?(this.storedData[a].lastOperator!=="erode"&&(this.storedData[a].lastOperator="erode",this.storedData[a].elem.setAttribute("filter","url("+g()+"#"+this.storedData[a].filterId+")")),h.setAttribute("radius",-this.storedData[a].x.v)):(this.storedData[a].lastOperator!=="dilate"&&(this.storedData[a].lastOperator="dilate",this.storedData[a].elem.setAttribute("filter",null)),this.storedData[a].elem.setAttribute("stroke-width",this.storedData[a].x.v*2))}},no.prototype.getMaskelement=function(){return this.maskElement},no.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},no.prototype.drawPath=function(e,i,a){var l=" M"+i.v[0][0]+","+i.v[0][1],h,c;for(c=i._length,h=1;h<c;h+=1)l+=" C"+i.o[h-1][0]+","+i.o[h-1][1]+" "+i.i[h][0]+","+i.i[h][1]+" "+i.v[h][0]+","+i.v[h][1];if(i.c&&c>1&&(l+=" C"+i.o[h-1][0]+","+i.o[h-1][1]+" "+i.i[0][0]+","+i.i[0][1]+" "+i.v[0][0]+","+i.v[0][1]),a.lastPath!==l){var v="";a.elem&&(i.c&&(v=e.inv?this.solidPath+l:l),a.elem.setAttribute("d",v)),a.lastPath=l}},no.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var oa=function(){var e={};e.createFilter=i,e.createAlphaToLuminanceFilter=a;function i(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 a(){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}(),Xp=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}(),Ln={},Zp="filter_result_";function zd(e){var i,a="SourceGraphic",l=e.data.ef?e.data.ef.length:0,h=Le(),c=oa.createFilter(h,!0),v=0;this.filters=[];var A;for(i=0;i<l;i+=1){A=null;var b=e.data.ef[i].ty;if(Ln[b]){var k=Ln[b].effect;A=new k(c,e.effectsManager.effectElements[i],e,Zp+v,a),a=Zp+v,Ln[b].countsAsEffect&&(v+=1)}A&&this.filters.push(A)}v&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+g()+"#"+h+")")),this.filters.length&&e.addRenderableComponent(this)}zd.prototype.renderFrame=function(e){var i,a=this.filters.length;for(i=0;i<a;i+=1)this.filters[i].renderFrame(e)},zd.prototype.getEffects=function(e){var i,a=this.filters.length,l=[];for(i=0;i<a;i+=1)this.filters[i].type===e&&l.push(this.filters[i]);return l};function KA(e,i,a){Ln[e]={effect:i,countsAsEffect:a}}function sa(){}sa.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 i=null;if(this.data.td){this.matteMasks={};var a=Tt("g");a.setAttribute("id",this.layerId),a.appendChild(this.layerElement),i=a,this.globalData.defs.appendChild(a)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),i=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=Le();if(l.setAttribute("id",c),l.appendChild(h),this.globalData.defs.appendChild(l),this.checkMasks()){var v=Tt("g");v.setAttribute("clip-path","url("+g()+"#"+c+")"),v.appendChild(this.layerElement),this.transformedElement=v,i?i.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+g()+"#"+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 no(this.data,this,this.globalData),this.renderableEffectsManager=new zd(this),this.searchEffectTransforms()},getMatte:function(i){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[i]){var a=this.layerId+"_"+i,l,h,c,v;if(i===1||i===3){var A=Tt("mask");A.setAttribute("id",a),A.setAttribute("mask-type",i===3?"luminance":"alpha"),c=Tt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),A.appendChild(c),this.globalData.defs.appendChild(A),!Xp.maskType&&i===1&&(A.setAttribute("mask-type","luminance"),l=Le(),h=oa.createFilter(l),this.globalData.defs.appendChild(h),h.appendChild(oa.createAlphaToLuminanceFilter()),v=Tt("g"),v.appendChild(c),A.appendChild(v),v.setAttribute("filter","url("+g()+"#"+l+")"))}else if(i===2){var b=Tt("mask");b.setAttribute("id",a),b.setAttribute("mask-type","alpha");var k=Tt("g");b.appendChild(k),l=Le(),h=oa.createFilter(l);var O=Tt("feComponentTransfer");O.setAttribute("in","SourceGraphic"),h.appendChild(O);var G=Tt("feFuncA");G.setAttribute("type","table"),G.setAttribute("tableValues","1.0 0.0"),O.appendChild(G),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("+g()+"#"+l+")"),k.appendChild(T),c=Tt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),k.appendChild(c),Xp.maskType||(b.setAttribute("mask-type","luminance"),h.appendChild(oa.createAlphaToLuminanceFilter()),v=Tt("g"),k.appendChild(T),v.appendChild(this.layerElement),k.appendChild(v)),this.globalData.defs.appendChild(b)}this.matteMasks[i]=a}return this.matteMasks[i]},setMatte:function(i){this.matteElement&&this.matteElement.setAttribute("mask","url("+g()+"#"+i+")")}};function ts(){}ts.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(i){this.hierarchy=i},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function aa(){}(function(){var e={initElement:function(a,l,h){this.initFrame(),this.initBaseData(a,l,h),this.initTransform(a,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 a=this.baseElement||this.layerElement;a.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var a=this.baseElement||this.layerElement;a.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(a){this._mdf=!1,this.prepareRenderableFrame(a),this.prepareProperties(a,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};L([Nn,K(e)],aa)})();function na(e,i,a){this.assetData=i.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=i.slotManager.getProp(this.assetData)),this.initElement(e,i,a),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}L([Ti,Jo,sa,ts,xi,aa],na),na.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)},na.prototype.sourceRectAtTime=function(){return this.sourceRect};function sy(e,i){this.elem=e,this.pos=i}function Qp(){}Qp.prototype={addShapeToModifiers:function(i){var a,l=this.shapeModifiers.length;for(a=0;a<l;a+=1)this.shapeModifiers[a].addShape(i)},isShapeInAnimatedModifiers:function(i){for(var a=0,l=this.shapeModifiers.length;a<l;)if(this.shapeModifiers[a].isAnimatedWithShape(i))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var i,a=this.shapes.length;for(i=0;i<a;i+=1)this.shapes[i].sh.reset();a=this.shapeModifiers.length;var l;for(i=a-1;i>=0&&(l=this.shapeModifiers[i].processShapes(this._isFirstFrame),!l);i-=1);}},searchProcessedElement:function(i){for(var a=this.processedElements,l=0,h=a.length;l<h;){if(a[l].elem===i)return a[l].pos;l+=1}return 0},addProcessedElement:function(i,a){for(var l=this.processedElements,h=l.length;h;)if(h-=1,l[h].elem===i){l[h].pos=a;return}l.push(new sy(i,a))},prepareFrame:function(i){this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange)}};var Jp={1:"butt",2:"round",3:"square"},tm={1:"miter",2:"round",3:"bevel"};function em(e,i,a){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=a,this.lvl=i,this._isAnimated=!!a.k;for(var l=0,h=e.length;l<h;){if(e[l].mProps.dynamicProperties.length){this._isAnimated=!0;break}l+=1}}em.prototype.setAsAnimated=function(){this._isAnimated=!0};function rm(e,i){this.data=e,this.type=e.ty,this.d="",this.lvl=i,this._mdf=!1,this.closed=e.hd===!0,this.pElem=Tt("path"),this.msElem=null}rm.prototype.reset=function(){this.d="",this._mdf=!1};function On(e,i,a,l){this.elem=e,this.frameId=-1,this.dataProps=it(i.length),this.renderer=a,this.k=!1,this.dashStr="",this.dashArray=X("float32",i.length?i.length-1:0),this.dashoffset=X("float32",1),this.initDynamicPropertyContainer(l);var h,c=i.length||0,v;for(h=0;h<c;h+=1)v=at.getProp(e,i[h].v,0,0,this),this.k=v.k||this.k,this.dataProps[h]={n:i[h].n,p:v};this.k||this.getValue(!0),this._isAnimated=this.k}On.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 i=0,a=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),i=0;i<a;i+=1)this.dataProps[i].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[i].p.v:this.dashArray[i]=this.dataProps[i].p.v:this.dashoffset[0]=this.dataProps[i].p.v}},L([le],On);function im(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,i.o,0,.01,this),this.w=at.getProp(e,i.w,0,null,this),this.d=new On(e,i.d||{},"svg",this),this.c=at.getProp(e,i.c,1,255,this),this.style=a,this._isAnimated=!!this._isAnimated}L([le],im);function om(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,i.o,0,.01,this),this.c=at.getProp(e,i.c,1,255,this),this.style=a}L([le],om);function sm(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=a}L([le],sm);function la(e,i,a){this.data=i,this.c=X("uint8c",i.p*4);var l=i.k.k[0].s?i.k.k[0].s.length-i.p*4:i.k.k.length-i.p*4;this.o=X("float32",l),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=l,this.initDynamicPropertyContainer(a),this.prop=at.getProp(e,i.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}la.prototype.comparePoints=function(e,i){for(var a=0,l=this.o.length/2,h;a<l;){if(h=Math.abs(e[a*4]-e[i*4+a*2]),h>.01)return!1;a+=1}return!0},la.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,i=this.data.k.k.length;e<i;){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},la.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var i,a=this.data.p*4,l,h;for(i=0;i<a;i+=1)l=i%4===0?100:255,h=Math.round(this.prop.v[i]*l),this.c[i]!==h&&(this.c[i]=h,this._cmdf=!e);if(this.o.length)for(a=this.prop.v.length,i=this.data.p*4;i<a;i+=1)l=i%2===0?100:1,h=i%2===0?Math.round(this.prop.v[i]*100):this.prop.v[i],this.o[i-this.data.p*4]!==h&&(this.o[i-this.data.p*4]=h,this._omdf=!e);this._mdf=!e}},L([le],la);function es(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,i,a)}es.prototype.initGradientData=function(e,i,a){this.o=at.getProp(e,i.o,0,.01,this),this.s=at.getProp(e,i.s,1,null,this),this.e=at.getProp(e,i.e,1,null,this),this.h=at.getProp(e,i.h||{k:0},0,.01,this),this.a=at.getProp(e,i.a||{k:0},0,kt,this),this.g=new la(e,i.g,this),this.style=a,this.stops=[],this.setGradientData(a.pElem,i),this.setGradientOpacity(i,a),this._isAnimated=!!this._isAnimated},es.prototype.setGradientData=function(e,i){var a=Le(),l=Tt(i.t===1?"linearGradient":"radialGradient");l.setAttribute("id",a),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse");var h=[],c,v,A;for(A=i.g.p*4,v=0;v<A;v+=4)c=Tt("stop"),l.appendChild(c),h.push(c);e.setAttribute(i.ty==="gf"?"fill":"stroke","url("+g()+"#"+a+")"),this.gf=l,this.cst=h},es.prototype.setGradientOpacity=function(e,i){if(this.g._hasOpacity&&!this.g._collapsable){var a,l,h,c=Tt("mask"),v=Tt("path");c.appendChild(v);var A=Le(),b=Le();c.setAttribute("id",b);var k=Tt(e.t===1?"linearGradient":"radialGradient");k.setAttribute("id",A),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 O=this.stops;for(l=e.g.p*4;l<h;l+=2)a=Tt("stop"),a.setAttribute("stop-color","rgb(255,255,255)"),k.appendChild(a),O.push(a);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+g()+"#"+A+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",Jp[e.lc||2]),v.setAttribute("stroke-linejoin",tm[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=k,this.ms=c,this.ost=O,this.maskId=b,i.msElem=v}},L([le],es);function am(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=at.getProp(e,i.w,0,null,this),this.d=new On(e,i.d||{},"svg",this),this.initGradientData(e,i,a),this._isAnimated=!!this._isAnimated}L([es,le],am);function ay(){this.it=[],this.prevViewData=[],this.gr=Tt("g")}function ny(e,i,a){this.transform={mProps:e,op:i,container:a},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var nm=function(i,a,l,h){if(a===0)return"";var c=i.o,v=i.i,A=i.v,b,k=" M"+h.applyToPointStringified(A[0][0],A[0][1]);for(b=1;b<a;b+=1)k+=" C"+h.applyToPointStringified(c[b-1][0],c[b-1][1])+" "+h.applyToPointStringified(v[b][0],v[b][1])+" "+h.applyToPointStringified(A[b][0],A[b][1]);return l&&a&&(k+=" C"+h.applyToPointStringified(c[b-1][0],c[b-1][1])+" "+h.applyToPointStringified(v[0][0],v[0][1])+" "+h.applyToPointStringified(A[0][0],A[0][1]),k+="z"),k},ly=function(){var e=new fe,i=new fe,a={createRenderFunction:l};function l(G){switch(G.ty){case"fl":return A;case"gf":return k;case"gs":return b;case"st":return O;case"sh":case"el":case"rc":case"sr":return v;case"tr":return h;case"no":return c;default:return null}}function h(G,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(G,T,R){var D,M,V,N,C,E,S=T.styles.length,w=T.lvl,F,H,W,et;for(E=0;E<S;E+=1){if(N=T.sh._mdf||R,T.styles[E].lvl<w){for(H=i.reset(),W=w-T.styles[E].lvl,et=T.transformers.length-1;!N&&W>0;)N=T.transformers[et].mProps._mdf||N,W-=1,et-=1;if(N)for(W=w-T.styles[E].lvl,et=T.transformers.length-1;W>0;)H.multiply(T.transformers[et].mProps.v),W-=1,et-=1}else H=e;if(F=T.sh.paths,M=F._length,N){for(V="",D=0;D<M;D+=1)C=F.shapes[D],C&&C._length&&(V+=nm(C,C._length,C.c,H));T.caches[E]=V}else V=T.caches[E];T.styles[E].d+=G.hd===!0?"":V,T.styles[E]._mdf=N||T.styles[E]._mdf}}function A(G,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 b(G,T,R){k(G,T,R),O(G,T,R)}function k(G,T,R){var D=T.gf,M=T.g._hasOpacity,V=T.s.v,N=T.e.v;if(T.o._mdf||R){var C=G.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(C,T.o.v)}if(T.s._mdf||R){var E=G.t===1?"x1":"cx",S=E==="x1"?"y1":"cy";D.setAttribute(E,V[0]),D.setAttribute(S,V[1]),M&&!T.g._collapsable&&(T.of.setAttribute(E,V[0]),T.of.setAttribute(S,V[1]))}var w,F,H,W;if(T.g._cmdf||R){w=T.cst;var et=T.g.c;for(H=w.length,F=0;F<H;F+=1)W=w[F],W.setAttribute("offset",et[F*4]+"%"),W.setAttribute("stop-color","rgb("+et[F*4+1]+","+et[F*4+2]+","+et[F*4+3]+")")}if(M&&(T.g._omdf||R)){var yt=T.g.o;for(T.g._collapsable?w=T.cst:w=T.ost,H=w.length,F=0;F<H;F+=1)W=w[F],T.g._collapsable||W.setAttribute("offset",yt[F*2]+"%"),W.setAttribute("stop-opacity",yt[F*2+1])}if(G.t===1)(T.e._mdf||R)&&(D.setAttribute("x2",N[0]),D.setAttribute("y2",N[1]),M&&!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),M&&!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,J=Math.cos(ot+T.a.v)*ct+V[0],I=Math.sin(ot+T.a.v)*ct+V[1];D.setAttribute("fx",J),D.setAttribute("fy",I),M&&!T.g._collapsable&&(T.of.setAttribute("fx",J),T.of.setAttribute("fy",I))}}}function O(G,T,R){var D=T.style,M=T.d;M&&(M._mdf||R)&&M.dashStr&&(D.pElem.setAttribute("stroke-dasharray",M.dashStr),D.pElem.setAttribute("stroke-dashoffset",M.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 a}();function qt(e,i,a){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,i,a),this.prevViewData=[]}L([Ti,Jo,sa,Qp,ts,xi,aa],qt),qt.prototype.initSecondaryElement=function(){},qt.prototype.identityMatrix=new fe,qt.prototype.buildExpressionInterface=function(){},qt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},qt.prototype.filterUniqueShapes=function(){var e,i=this.shapes.length,a,l,h=this.stylesList.length,c,v=[],A=!1;for(l=0;l<h;l+=1){for(c=this.stylesList[l],A=!1,v.length=0,e=0;e<i;e+=1)a=this.shapes[e],a.styles.indexOf(c)!==-1&&(v.push(a),A=a._isAnimated||A);v.length>1&&A&&this.setShapesAsAnimated(v)}},qt.prototype.setShapesAsAnimated=function(e){var i,a=e.length;for(i=0;i<a;i+=1)e[i].setAsAnimated()},qt.prototype.createStyleElement=function(e,i){var a,l=new rm(e,i),h=l.pElem;if(e.ty==="st")a=new im(this,e,l);else if(e.ty==="fl")a=new om(this,e,l);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?es:am;a=new c(this,e,l),this.globalData.defs.appendChild(a.gf),a.maskId&&(this.globalData.defs.appendChild(a.ms),this.globalData.defs.appendChild(a.of),h.setAttribute("mask","url("+g()+"#"+a.maskId+")"))}else e.ty==="no"&&(a=new sm(this,e,l));return(e.ty==="st"||e.ty==="gs")&&(h.setAttribute("stroke-linecap",Jp[e.lc||2]),h.setAttribute("stroke-linejoin",tm[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,a),a},qt.prototype.createGroupElement=function(e){var i=new ay;return e.ln&&i.gr.setAttribute("id",e.ln),e.cl&&i.gr.setAttribute("class",e.cl),e.bm&&(i.gr.style["mix-blend-mode"]=$d(e.bm)),i},qt.prototype.createTransformElement=function(e,i){var a=Rd.getTransformProperty(this,e,this),l=new ny(a,a.o,i);return this.addToAnimatedContents(e,l),l},qt.prototype.createShapeElement=function(e,i,a){var l=4;e.ty==="rc"?l=5:e.ty==="el"?l=6:e.ty==="sr"&&(l=7);var h=Sn.getShapeProp(this,e,l,this),c=new em(i,a,h);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(e,c),c},qt.prototype.addToAnimatedContents=function(e,i){for(var a=0,l=this.animatedContents.length;a<l;){if(this.animatedContents[a].element===i)return;a+=1}this.animatedContents.push({fn:ly.createRenderFunction(e),element:i,data:e})},qt.prototype.setElementStyles=function(e){var i=e.styles,a,l=this.stylesList.length;for(a=0;a<l;a+=1)this.stylesList[a].closed||i.push(this.stylesList[a])},qt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,i=this.itemsData.length;for(e=0;e<i;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),i=this.dynamicProperties.length,e=0;e<i;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},qt.prototype.searchShapes=function(e,i,a,l,h,c,v){var A=[].concat(c),b,k=e.length-1,O,G,T=[],R=[],D,M,V;for(b=k;b>=0;b-=1){if(V=this.searchProcessedElement(e[b]),V?i[b]=a[V-1]:e[b]._render=v,e[b].ty==="fl"||e[b].ty==="st"||e[b].ty==="gf"||e[b].ty==="gs"||e[b].ty==="no")V?i[b].style.closed=!1:i[b]=this.createStyleElement(e[b],h),e[b]._render&&i[b].style.pElem.parentNode!==l&&l.appendChild(i[b].style.pElem),T.push(i[b].style);else if(e[b].ty==="gr"){if(!V)i[b]=this.createGroupElement(e[b]);else for(G=i[b].it.length,O=0;O<G;O+=1)i[b].prevViewData[O]=i[b].it[O];this.searchShapes(e[b].it,i[b].it,i[b].prevViewData,i[b].gr,h+1,A,v),e[b]._render&&i[b].gr.parentNode!==l&&l.appendChild(i[b].gr)}else e[b].ty==="tr"?(V||(i[b]=this.createTransformElement(e[b],l)),D=i[b].transform,A.push(D)):e[b].ty==="sh"||e[b].ty==="rc"||e[b].ty==="el"||e[b].ty==="sr"?(V||(i[b]=this.createShapeElement(e[b],A,h)),this.setElementStyles(i[b])):e[b].ty==="tm"||e[b].ty==="rd"||e[b].ty==="ms"||e[b].ty==="pb"||e[b].ty==="zz"||e[b].ty==="op"?(V?(M=i[b],M.closed=!1):(M=yi.getModifier(e[b].ty),M.init(this,e[b]),i[b]=M,this.shapeModifiers.push(M)),R.push(M)):e[b].ty==="rp"&&(V?(M=i[b],M.closed=!0):(M=yi.getModifier(e[b].ty),i[b]=M,M.init(this,e,b,i),this.shapeModifiers.push(M),v=!1),R.push(M));this.addProcessedElement(e[b],b+1)}for(k=T.length,b=0;b<k;b+=1)T[b].closed=!0;for(k=R.length,b=0;b<k;b+=1)R[b].closed=!0},qt.prototype.renderInnerContent=function(){this.renderModifiers();var e,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<i;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"))},qt.prototype.renderShape=function(){var e,i=this.animatedContents.length,a;for(e=0;e<i;e+=1)a=this.animatedContents[e],(this._isFirstFrame||a.element._isAnimated)&&a.data!==!0&&a.fn(a.data,a.element,this._isFirstFrame)},qt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Vd(e,i,a,l,h,c){this.o=e,this.sw=i,this.sc=a,this.fc=l,this.m=h,this.p=c,this._mdf={o:!0,sw:!!i,sc:!!a,fc:!!l,m:!0,p:!0}}Vd.prototype.update=function(e,i,a,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!==i&&(this.sw=i,this._mdf.sw=!0,v=!0),this.sc!==a&&(this.sc=a,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 Se(e,i){this._frameId=r,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,i.d&&i.d.sid&&(i.d=e.globalData.slotManager.getProp(i.d)),this.data=i,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)}Se.prototype.defaultBoxWidth=[0,0],Se.prototype.copyData=function(e,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);return e},Se.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},Se.prototype.searchProperty=function(){return this.searchKeyframes()},Se.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Se.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},Se.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 i=this.currentData,a=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)a!==this.keysIndex?c=this.effectsSequence[l](c,c.t):c=this.effectsSequence[l](this.currentData,c.t);i!==c&&this.setCurrentData(c),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},Se.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,i=this.elem.comp.renderedFrame,a=0,l=e.length;a<=l-1&&!(a===l-1||e[a+1].t>i);)a+=1;return this.keysIndex!==a&&(this.keysIndex=a),this.data.d.k[this.keysIndex].s},Se.prototype.buildFinalText=function(e){for(var i=[],a=0,l=e.length,h,c,v=!1,A=!1,b="";a<l;)v=A,A=!1,h=e.charCodeAt(a),b=e.charAt(a),ao.isCombinedCharacter(h)?v=!0:h>=55296&&h<=56319?ao.isRegionalFlag(e,a)?b=e.substr(a,14):(c=e.charCodeAt(a+1),c>=56320&&c<=57343&&(ao.isModifier(h,c)?(b=e.substr(a,2),v=!0):ao.isFlagEmoji(e.substr(a,4))?b=e.substr(a,4):b=e.substr(a,2))):h>56319?(c=e.charCodeAt(a+1),ao.isVariationSelector(h)&&(v=!0)):ao.isZeroWidthJoiner(h)&&(v=!0,A=!0),v?(i[i.length-1]+=b,v=!1):i.push(b),a+=b.length;return i},Se.prototype.completeTextData=function(e){e.__complete=!0;var i=this.elem.globalData.fontManager,a=this.data,l=[],h,c,v,A=0,b,k=a.m.g,O=0,G=0,T=0,R=[],D=0,M=0,V,N,C=i.getFontByName(e.f),E,S=0,w=jp(C);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 F=e.tr/1e3*e.finalSize,H;if(e.sz)for(var W=!0,et=e.sz[0],yt=e.sz[1],pt,ot;W;){ot=this.buildFinalText(e.t),pt=0,D=0,c=ot.length,F=e.tr/1e3*e.finalSize;var xt=-1;for(h=0;h<c;h+=1)H=ot[h].charCodeAt(0),v=!1,ot[h]===" "?xt=h:(H===13||H===3)&&(D=0,v=!0,pt+=e.finalLineHeight||e.finalSize*1.2),i.chars?(E=i.getCharData(ot[h],C.fStyle,C.fFamily),S=v?0:E.w*e.finalSize/100):S=i.measureText(ot[h],e.f,e.finalSize),D+S>et&&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+=S,D+=F);pt+=C.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,W=!1)}D=-F,S=0;var ct=0,J;for(h=0;h<c;h+=1)if(v=!1,J=e.finalText[h],H=J.charCodeAt(0),H===13||H===3?(ct=0,R.push(D),M=D>M?D:M,D=-2*F,b="",v=!0,T+=1):b=J,i.chars?(E=i.getCharData(J,C.fStyle,i.getFontByName(e.f).fFamily),S=v?0:E.w*e.finalSize/100):S=i.measureText(b,e.f,e.finalSize),J===" "?ct+=S+F:(D+=S+F+ct,ct=0),l.push({l:S,an:S,add:O,n:v,anIndexes:[],val:b,line:T,animatorJustifyOffset:0}),k==2){if(O+=S,b===""||b===" "||h===c-1){for((b===""||b===" ")&&(O-=S);G<=h;)l[G].an=O,l[G].ind=A,l[G].extra=S,G+=1;A+=1,O=0}}else if(k==3){if(O+=S,b===""||h===c-1){for(b===""&&(O-=S);G<=h;)l[G].an=O,l[G].ind=A,l[G].extra=S,G+=1;O=0,A+=1}}else l[A].ind=A,l[A].extra=0,A+=1;if(e.l=l,M=D>M?D:M,R.push(D),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=M,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 I=a.a,P,f;N=I.length;var y,Y,$=[];for(V=0;V<N;V+=1){for(P=I[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),Y=0,y=P.s.b,h=0;h<c;h+=1)f=l[h],f.anIndexes[V]=Y,(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&&$.push(Y),Y+=1);a.a[V].s.totalChars=Y;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=$.splice(Math.floor(Math.random()*$.length),1)[0]),f.anIndexes[V]=ft}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=C.ascent*e.finalSize/100},Se.prototype.updateDocumentData=function(e,i){i=i===void 0?this.keysIndex:i;var a=this.copyData({},this.data.d.k[i].s);a=this.copyData(a,e),this.data.d.k[i].s=a,this.recalculate(i),this.setCurrentData(a),this.elem.addDynamicProperty(this)},Se.prototype.recalculate=function(e){var i=this.data.d.k[e].s;i.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(i)},Se.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},Se.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var dy=function(){var e=Math.max,i=Math.min,a=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 A=0,b=0,k=1,O=1;this.ne.v>0?A=this.ne.v/100:b=-this.ne.v/100,this.xe.v>0?k=1-this.xe.v/100:O=1+this.xe.v/100;var G=Zs.getBezierEasing(A,b,k,O).get,T=0,R=this.finalS,D=this.finalE,M=this.data.sh;if(M===2)D===R?T=v>=D?1:0:T=e(0,i(.5/(D-R)+(v-R)/(D-R),1)),T=G(T);else if(M===3)D===R?T=v>=D?0:1:T=1-e(0,i(.5/(D-R)+(v-R)/(D-R),1)),T=G(T);else if(M===4)D===R?T=0:(T=e(0,i(.5/(D-R)+(v-R)/(D-R),1)),T<.5?T*=2:T=1-2*(T-.5)),T=G(T);else if(M===5){if(D===R)T=0;else{var V=D-R;v=i(e(0,v+.5-R),D-R);var N=-V/2+v,C=V/2;T=Math.sqrt(1-N*N/(C*C))}T=G(T)}else M===6?(D===R?T=0:(v=i(e(0,v+.5-R),D-R),T=(1+Math.cos(Math.PI+Math.PI*2*v/(D-R)))/2),T=G(T)):(v>=a(R)&&(v-R<0?T=e(0,i(i(D,1)-(R-v),1)):T=e(0,i(D-v,1))),T=G(T));if(this.sm.v!==100){var E=this.sm.v*.01;E===0&&(E=1e-8);var S=.5-E*.5;T<S?T=0:(T=(T-S)/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 A=this.data.r===2?1:100/this.data.totalChars,b=this.o.v/A,k=this.s.v/A+b,O=this.e.v/A+b;if(k>O){var G=k;k=O,O=G}this.finalS=k,this.finalE=O}},L([le],l);function h(c,v,A){return new l(c,v,A)}return{getTextSelectorProp:h}}();function cy(e,i,a){var l={propType:!1},h=at.getProp,c=i.a;this.a={r:c.r?h(e,c.r,0,kt,a):l,rx:c.rx?h(e,c.rx,0,kt,a):l,ry:c.ry?h(e,c.ry,0,kt,a):l,sk:c.sk?h(e,c.sk,0,kt,a):l,sa:c.sa?h(e,c.sa,0,kt,a):l,s:c.s?h(e,c.s,1,.01,a):l,a:c.a?h(e,c.a,1,0,a):l,o:c.o?h(e,c.o,0,.01,a):l,p:c.p?h(e,c.p,1,0,a):l,sw:c.sw?h(e,c.sw,0,0,a):l,sc:c.sc?h(e,c.sc,1,0,a):l,fc:c.fc?h(e,c.fc,1,0,a):l,fh:c.fh?h(e,c.fh,0,0,a):l,fs:c.fs?h(e,c.fs,0,.01,a):l,fb:c.fb?h(e,c.fb,0,.01,a):l,t:c.t?h(e,c.t,0,0,a):l},this.s=dy.getTextSelectorProp(e,i.s,a),this.s.t=i.s.t}function lo(e,i,a){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=i,this._elem=a,this._animatorsData=it(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(a)}lo.prototype.searchProperties=function(){var e,i=this._textData.a.length,a,l=at.getProp;for(e=0;e<i;e+=1)a=this._textData.a[e],this._animatorsData[e]=new cy(this._elem,a,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)},lo.prototype.getMeasures=function(e,i){if(this.lettersChangedFlag=i,!(!this._mdf&&!this._isFirstFrame&&!i&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var a=this._moreOptions.alignment.v,l=this._animatorsData,h=this._textData,c=this.mHelper,v=this._renderType,A=this.renderedLetters.length,b,k,O,G,T=e.l,R,D,M,V,N,C,E,S,w,F,H,W,et,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:[]},G=ot._length-1;var xt;for(W=0,O=0;O<G;O+=1)xt=kr.buildBezierData(ot.v[O],ot.v[O+1],[ot.o[O][0]-ot.v[O][0],ot.o[O][1]-ot.v[O][1]],[ot.i[O+1][0]-ot.v[O+1][0],ot.i[O+1][1]-ot.v[O+1][1]]),R.tLength+=xt.segmentLength,R.segments.push(xt),W+=xt.segmentLength;O=G,pt.v.c&&(xt=kr.buildBezierData(ot.v[O],ot.v[0],[ot.o[O][0]-ot.v[O][0],ot.o[O][1]-ot.v[O][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),W+=xt.segmentLength),this._pathData.pi=R}if(R=this._pathData.pi,D=this._pathData.f.v,E=0,C=1,V=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,C=w.length-1;D<0;)D+=w[C].partialLength,C-=1,C<0&&(E-=1,w=F[E].points,C=w.length-1);w=F[E].points,S=w[C-1],M=w[C],H=M.partialLength}G=T.length,b=0,k=0;var ct=e.finalSize*1.2*.714,J=!0,I,P,f,y,Y;y=l.length;var $,nt=-1,ft,Et,Ot,Rt=D,Jt=E,Re=C,Nr=-1,Me,de,Ye,Dt,ht,qr,Ii,Xr,Lr="",Zr=this.defaultPropsArray,Qr;if(e.j===2||e.j===1){var Pe=0,_i=0,Ci=e.j===2?-.5:-1,yr=0,ki=!0;for(O=0;O<G;O+=1)if(T[O].n){for(Pe&&(Pe+=_i);yr<O;)T[yr].animatorJustifyOffset=Pe,yr+=1;Pe=0,ki=!0}else{for(f=0;f<y;f+=1)I=l[f].a,I.t.propType&&(ki&&e.j===2&&(_i+=I.t.v*Ci),P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?Pe+=I.t.v*$[0]*Ci:Pe+=I.t.v*$*Ci);ki=!1}for(Pe&&(Pe+=_i);yr<O;)T[yr].animatorJustifyOffset=Pe,yr+=1}for(O=0;O<G;O+=1){if(c.reset(),Me=1,T[O].n)b=0,k+=e.yOffset,k+=J?1:0,D=Rt,J=!1,this._hasMaskedPath&&(E=Jt,C=Re,w=F[E].points,S=w[C-1],M=w[C],H=M.partialLength,V=0),Lr="",Xr="",qr="",Qr="",Zr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Nr!==T[O].line){switch(e.j){case 1:D+=W-e.lineWidths[T[O].line];break;case 2:D+=(W-e.lineWidths[T[O].line])/2;break;default:break}Nr=T[O].line}nt!==T[O].ind&&(T[nt]&&(D+=T[nt].extra),D+=T[O].an/2,nt=T[O].ind),D+=a[0]*T[O].an*.005;var Er=0;for(f=0;f<y;f+=1)I=l[f].a,I.p.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?Er+=I.p.v[0]*$[0]:Er+=I.p.v[0]*$),I.a.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?Er+=I.a.v[0]*$[0]:Er+=I.a.v[0]*$);for(N=!0,this._pathData.a.v&&(D=T[0].an*.5+(W-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*nt/(G-1),D+=this._pathData.f.v);N;)V+H>=D+Er||!w?(et=(D+Er-V)/M.partialLength,Et=S.point[0]+(M.point[0]-S.point[0])*et,Ot=S.point[1]+(M.point[1]-S.point[1])*et,c.translate(-a[0]*T[O].an*.005,-(a[1]*ct)*.01),N=!1):w&&(V+=M.partialLength,C+=1,C>=w.length&&(C=0,E+=1,F[E]?w=F[E].points:pt.v.c?(C=0,E=0,w=F[E].points):(V-=M.partialLength,w=null)),w&&(S=M,M=w[C],H=M.partialLength));ft=T[O].an/2-T[O].add,c.translate(-ft,0,0)}else ft=T[O].an/2-T[O].add,c.translate(-ft,0,0),c.translate(-a[0]*T[O].an*.005,-a[1]*ct*.01,0);for(f=0;f<y;f+=1)I=l[f].a,I.t.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),(b!==0||e.j!==0)&&(this._hasMaskedPath?$.length?D+=I.t.v*$[0]:D+=I.t.v*$:$.length?b+=I.t.v*$[0]:b+=I.t.v*$));for(e.strokeWidthAnim&&(Ye=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&&(Dt=[e.fc[0],e.fc[1],e.fc[2]]),f=0;f<y;f+=1)I=l[f].a,I.a.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?c.translate(-I.a.v[0]*$[0],-I.a.v[1]*$[1],I.a.v[2]*$[2]):c.translate(-I.a.v[0]*$,-I.a.v[1]*$,I.a.v[2]*$));for(f=0;f<y;f+=1)I=l[f].a,I.s.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?c.scale(1+(I.s.v[0]-1)*$[0],1+(I.s.v[1]-1)*$[1],1):c.scale(1+(I.s.v[0]-1)*$,1+(I.s.v[1]-1)*$,1));for(f=0;f<y;f+=1){if(I=l[f].a,P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),I.sk.propType&&($.length?c.skewFromAxis(-I.sk.v*$[0],I.sa.v*$[1]):c.skewFromAxis(-I.sk.v*$,I.sa.v*$)),I.r.propType&&($.length?c.rotateZ(-I.r.v*$[2]):c.rotateZ(-I.r.v*$)),I.ry.propType&&($.length?c.rotateY(I.ry.v*$[1]):c.rotateY(I.ry.v*$)),I.rx.propType&&($.length?c.rotateX(I.rx.v*$[0]):c.rotateX(I.rx.v*$)),I.o.propType&&($.length?Me+=(I.o.v*$[0]-Me)*$[0]:Me+=(I.o.v*$-Me)*$),e.strokeWidthAnim&&I.sw.propType&&($.length?Ye+=I.sw.v*$[0]:Ye+=I.sw.v*$),e.strokeColorAnim&&I.sc.propType)for(ht=0;ht<3;ht+=1)$.length?de[ht]+=(I.sc.v[ht]-de[ht])*$[0]:de[ht]+=(I.sc.v[ht]-de[ht])*$;if(e.fillColorAnim&&e.fc){if(I.fc.propType)for(ht=0;ht<3;ht+=1)$.length?Dt[ht]+=(I.fc.v[ht]-Dt[ht])*$[0]:Dt[ht]+=(I.fc.v[ht]-Dt[ht])*$;I.fh.propType&&($.length?Dt=Ep(Dt,I.fh.v*$[0]):Dt=Ep(Dt,I.fh.v*$)),I.fs.propType&&($.length?Dt=bp(Dt,I.fs.v*$[0]):Dt=bp(Dt,I.fs.v*$)),I.fb.propType&&($.length?Dt=yp(Dt,I.fb.v*$[0]):Dt=yp(Dt,I.fb.v*$))}}for(f=0;f<y;f+=1)I=l[f].a,I.p.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),this._hasMaskedPath?$.length?c.translate(0,I.p.v[1]*$[0],-I.p.v[2]*$[1]):c.translate(0,I.p.v[1]*$,-I.p.v[2]*$):$.length?c.translate(I.p.v[0]*$[0],I.p.v[1]*$[1],-I.p.v[2]*$[2]):c.translate(I.p.v[0]*$,I.p.v[1]*$,-I.p.v[2]*$));if(e.strokeWidthAnim&&(qr=Ye<0?0:Ye),e.strokeColorAnim&&(Ii="rgb("+Math.round(de[0]*255)+","+Math.round(de[1]*255)+","+Math.round(de[2]*255)+")"),e.fillColorAnim&&e.fc&&(Xr="rgb("+Math.round(Dt[0]*255)+","+Math.round(Dt[1]*255)+","+Math.round(Dt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-e.ls),c.translate(0,a[1]*ct*.01+k,0),this._pathData.p.v){yt=(M.point[1]-S.point[1])/(M.point[0]-S.point[0]);var co=Math.atan(yt)*180/Math.PI;M.point[0]<S.point[0]&&(co+=180),c.rotate(-co*Math.PI/180)}c.translate(Et,Ot,0),D-=a[0]*T[O].an*.005,T[O+1]&&nt!==T[O+1].ind&&(D+=T[O].an/2,D+=e.tr*.001*e.finalSize)}else{switch(c.translate(b,k,0),e.ps&&c.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:c.translate(T[O].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[O].line]),0,0);break;case 2:c.translate(T[O].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[O].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(ft,0,0),c.translate(a[0]*T[O].an*.005,a[1]*ct*.01,0),b+=T[O].l+e.tr*.001*e.finalSize}v==="html"?Lr=c.toCSS():v==="svg"?Lr=c.to2dCSS():Zr=[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]],Qr=Me}A<=O?(Y=new Vd(Qr,qr,Ii,Xr,Lr,Zr),this.renderedLetters.push(Y),A+=1,this.lettersChangedFlag=!0):(Y=this.renderedLetters[O],this.lettersChangedFlag=Y.update(Qr,qr,Ii,Xr,Lr,Zr)||this.lettersChangedFlag)}}},lo.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},lo.prototype.mHelper=new fe,lo.prototype.defaultPropsArray=[],L([le],lo);function or(){}or.prototype.initElement=function(e,i,a){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,i,a),this.textProperty=new Se(this,e.t,this.dynamicProperties),this.textAnimator=new lo(e.t,this.renderType,this),this.initTransform(e,i,a),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},or.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},or.prototype.createPathShape=function(e,i){var a,l=i.length,h,c="";for(a=0;a<l;a+=1)i[a].ty==="sh"&&(h=i[a].ks.k,c+=nm(h,h.i.length,!0,e));return c},or.prototype.updateDocumentData=function(e,i){this.textProperty.updateDocumentData(e,i)},or.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},or.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},or.prototype.applyTextPropertiesToMatrix=function(e,i,a,l,h){switch(e.ps&&i.translate(e.ps[0],e.ps[1]+e.ascent,0),i.translate(0,-e.ls,0),e.j){case 1:i.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[a]),0,0);break;case 2:i.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[a])/2,0,0);break;default:break}i.translate(l,h,0)},or.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},or.prototype.emptyProp=new Vd,or.prototype.destroy=function(){},or.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var hy={shapes:[]};function jr(e,i,a){this.textSpans=[],this.renderType="svg",this.initElement(e,i,a)}L([Ti,Jo,sa,ts,xi,aa,or],jr),jr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Tt("text"))},jr.prototype.buildTextContents=function(e){for(var i=0,a=e.length,l=[],h="";i<a;)e[i]==="\r"||e[i]===""?(l.push(h),h=""):h+=e[i],i+=1;return l.push(h),l},jr.prototype.buildShapeData=function(e,i){if(e.shapes&&e.shapes.length){var a=e.shapes[0];if(a.it){var l=a.it[a.it.length-1];l.s&&(l.s.k[0]=i,l.s.k[1]=i)}}return e},jr.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,i,a=this.textProperty.currentData;this.renderedLetters=it(a?a.l.length:0),a.fc?this.layerElement.setAttribute("fill",this.buildColor(a.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),a.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(a.sc)),this.layerElement.setAttribute("stroke-width",a.sw)),this.layerElement.setAttribute("font-size",a.finalSize);var l=this.globalData.fontManager.getFontByName(a.f);if(l.fClass)this.layerElement.setAttribute("class",l.fClass);else{this.layerElement.setAttribute("font-family",l.fFamily);var h=a.fWeight,c=a.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",h)}this.layerElement.setAttribute("aria-label",a.t);var v=a.l||[],A=!!this.globalData.fontManager.chars;i=v.length;var b,k=this.mHelper,O="",G=this.data.singleShape,T=0,R=0,D=!0,M=a.tr*.001*a.finalSize;if(G&&!A&&!a.sz){var V=this.textContainer,N="start";switch(a.j){case 1:N="end";break;case 2:N="middle";break;default:N="start";break}V.setAttribute("text-anchor",N),V.setAttribute("letter-spacing",M);var C=this.buildTextContents(a.finalText);for(i=C.length,R=a.ps?a.ps[1]+a.ascent:0,e=0;e<i;e+=1)b=this.textSpans[e].span||Tt("tspan"),b.textContent=C[e],b.setAttribute("x",0),b.setAttribute("y",R),b.style.display="inherit",V.appendChild(b),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=b,R+=a.finalLineHeight;this.layerElement.appendChild(V)}else{var E=this.textSpans.length,S;for(e=0;e<i;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!A||!G||e===0){if(b=E>e?this.textSpans[e].span:Tt(A?"g":"text"),E<=e){if(b.setAttribute("stroke-linecap","butt"),b.setAttribute("stroke-linejoin","round"),b.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=b,A){var w=Tt("g");b.appendChild(w),this.textSpans[e].childSpan=w}this.textSpans[e].span=b,this.layerElement.appendChild(b)}b.style.display="inherit"}if(k.reset(),G&&(v[e].n&&(T=-M,R+=a.yOffset,R+=D?1:0,D=!1),this.applyTextPropertiesToMatrix(a,k,v[e].line,T,R),T+=v[e].l||0,T+=M),A){S=this.globalData.fontManager.getCharData(a.finalText[e],l.fStyle,this.globalData.fontManager.getFontByName(a.f).fFamily);var F;if(S.t===1)F=new da(S.data,this.globalData,this);else{var H=hy;S.data&&S.data.shapes&&(H=this.buildShapeData(S.data,a.finalSize)),F=new qt(H,this.globalData,this)}if(this.textSpans[e].glyph){var W=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(W.layerElement),W.destroy()}this.textSpans[e].glyph=F,F._debug=!0,F.prepareFrame(0),F.renderFrame(),this.textSpans[e].childSpan.appendChild(F.layerElement),S.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+a.finalSize/100+","+a.finalSize/100+")")}else G&&b.setAttribute("transform","translate("+k.props[12]+","+k.props[13]+")"),b.textContent=v[e].val,b.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}G&&b&&b.setAttribute("d",O)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},jr.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},jr.prototype.getValue=function(){var e,i=this.textSpans.length,a;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<i;e+=1)a=this.textSpans[e].glyph,a&&(a.prepareFrame(this.comp.renderedFrame-this.data.st),a._mdf&&(this._mdf=!0))},jr.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,i,a=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;i=l.length;var h,c,v;for(e=0;e<i;e+=1)l[e].n||(h=a[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 Bd(e,i,a){this.initElement(e,i,a)}L([na],Bd),Bd.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,i,a){this.initFrame(),this.initBaseData(e,i,a),this.initFrame(),this.initTransform(e,i,a),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,Jo,ts,xi],Si);function re(){}L([ve],re),re.prototype.createNull=function(e){return new Si(e,this.globalData,this)},re.prototype.createShape=function(e){return new qt(e,this.globalData,this)},re.prototype.createText=function(e){return new jr(e,this.globalData,this)},re.prototype.createImage=function(e){return new na(e,this.globalData,this)},re.prototype.createSolid=function(e){return new Bd(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 i=this.globalData.defs;this.setupGlobalData(e,i),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var a=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=Le();a.setAttribute("id",h),a.appendChild(l),this.layerElement.setAttribute("clip-path","url("+g()+"#"+h+")"),i.appendChild(a),this.layers=e.layers,this.elements=it(e.layers.length)},re.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,i=this.layers?this.layers.length:0;for(e=0;e<i;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 i=0,a=this.layers.length;for(i=0;i<a;i+=1)if(this.layers[i].ind===e)return i;return-1},re.prototype.buildItem=function(e){var i=this.elements;if(!(i[e]||this.layers[e].ty===99)){i[e]=!0;var a=this.createItem(this.layers[e]);if(i[e]=a,gn()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(a),a.initExpressions()),this.appendElementInPos(a,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(a);else{var h=i[l],c=h.getMatte(this.layers[e].tt);a.setMatte(c)}}}},re.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var i=0,a=this.elements.length;i<a;){if(this.elements[i]===e){var l="tp"in e.data?this.findIndexByInd(e.data.tp):i-1,h=this.elements[l],c=h.getMatte(this.layers[i].tt);e.setMatte(c);break}i+=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 i,a=this.layers.length;for(this.completeLayers||this.checkLayers(e),i=a-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(e-this.layers[i].st);if(this.globalData._mdf)for(i=0;i<a;i+=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame()}},re.prototype.appendElementInPos=function(e,i){var a=e.getBaseElement();if(a){for(var l=0,h;l<i;)this.elements[l]&&this.elements[l]!==!0&&this.elements[l].getBaseElement()&&(h=this.elements[l].getBaseElement()),l+=1;h?this.layerElement.insertBefore(a,h):this.layerElement.appendChild(a)}},re.prototype.hide=function(){this.layerElement.style.display="none"},re.prototype.show=function(){this.layerElement.style.display="block"};function Kr(){}L([Ti,Jo,ts,xi,aa],Kr),Kr.prototype.initElement=function(e,i,a){this.initFrame(),this.initBaseData(e,i,a),this.initTransform(e,i,a),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!i.progressiveLoad)&&this.buildAllItems(),this.hide()},Kr.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 i=this.tm.v;i===this.data.op&&(i=this.data.op-1),this.renderedFrame=i}var a,l=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),a=l-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&(this.elements[a].prepareFrame(this.renderedFrame-this.layers[a].st),this.elements[a]._mdf&&(this._mdf=!0))}},Kr.prototype.renderInnerContent=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},Kr.prototype.setElements=function(e){this.elements=e},Kr.prototype.getElements=function(){return this.elements},Kr.prototype.destroyElements=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)this.elements[e]&&this.elements[e].destroy()},Kr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function da(e,i,a){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?it(this.layers.length):[],this.initElement(e,i,a),this.tm=e.tm?at.getProp(this,e.tm,0,i.frameRate,this):{_placeholder:!0}}L([re,Kr,sa],da),da.prototype.createComp=function(e){return new da(e,this.globalData,this)};function Ud(e,i){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=Tt("svg");var a="";if(i&&i.title){var l=Tt("title"),h=Le();l.setAttribute("id",h),l.textContent=i.title,this.svgElement.appendChild(l),a+=h}if(i&&i.description){var c=Tt("desc"),v=Le();c.setAttribute("id",v),c.textContent=i.description,this.svgElement.appendChild(c),a+=" "+v}a&&this.svgElement.setAttribute("aria-labelledby",a);var A=Tt("defs");this.svgElement.appendChild(A);var b=Tt("g");this.svgElement.appendChild(b),this.layerElement=b,this.renderConfig={preserveAspectRatio:i&&i.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:i&&i.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:i&&i.contentVisibility||"visible",progressiveLoad:i&&i.progressiveLoad||!1,hideOnTransparent:!(i&&i.hideOnTransparent===!1),viewBoxOnly:i&&i.viewBoxOnly||!1,viewBoxSize:i&&i.viewBoxSize||!1,className:i&&i.className||"",id:i&&i.id||"",focusable:i&&i.focusable,filterSize:{width:i&&i.filterSize&&i.filterSize.width||"100%",height:i&&i.filterSize&&i.filterSize.height||"100%",x:i&&i.filterSize&&i.filterSize.x||"0%",y:i&&i.filterSize&&i.filterSize.y||"0%"},width:i&&i.width,height:i&&i.height,runExpressions:!i||i.runExpressions===void 0||i.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:A,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return L([re],Ud),Ud.prototype.createComp=function(e){return new da(e,this.globalData,this)},Tb("svg",Ud),yi.registerModifier("tm",br),yi.registerModifier("pb",Qs),yi.registerModifier("rp",wr),yi.registerModifier("rd",Js),yi.registerModifier("zz",ea),yi.registerModifier("op",ra),Mt})});var Dn=globalThis,Fn=Dn.ShadowRoot&&(Dn.ShadyCSS===void 0||Dn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gd=Symbol(),dm=new WeakMap,ca=class{constructor(o,t,r){if(this._$cssResult$=!0,r!==Gd)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(Fn&&o===void 0){let r=t!==void 0&&t.length===1;r&&(o=dm.get(t)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),r&&dm.set(t,o))}return o}toString(){return this.cssText}},cm=n=>new ca(typeof n=="string"?n:n+"",void 0,Gd),U=(n,...o)=>{let t=n.length===1?n[0]:o.reduce((r,s,d)=>r+(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.")})(s)+n[d+1],n[0]);return new ca(t,n,Gd)},Yd=(n,o)=>{if(Fn)n.adoptedStyleSheets=o.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of o){let r=document.createElement("style"),s=Dn.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=t.cssText,n.appendChild(r)}},$n=Fn?n=>n:n=>n instanceof CSSStyleSheet?(o=>{let t="";for(let r of o.cssRules)t+=r.cssText;return cm(t)})(n):n;var{is:yy,defineProperty:Ey,getOwnPropertyDescriptor:Ty,getOwnPropertyNames:xy,getOwnPropertySymbols:Ay,getPrototypeOf:Sy}=Object,wi=globalThis,hm=wi.trustedTypes,Iy=hm?hm.emptyScript:"",Wd=wi.reactiveElementPolyfillSupport,ha=(n,o)=>n,pa={toAttribute(n,o){switch(o){case Boolean:n=n?Iy: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}},zn=(n,o)=>!yy(n,o),pm={attribute:!0,type:String,converter:pa,reflect:!1,hasChanged:zn},mm,um;(mm=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(um=wi.litPropertyMetadata)!=null||(wi.litPropertyMetadata=new WeakMap);var Jr=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=pm){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(o,t),!t.noAccessor){let r=Symbol(),s=this.getPropertyDescriptor(o,r,t);s!==void 0&&Ey(this.prototype,o,s)}}static getPropertyDescriptor(o,t,r){var m;let{get:s,set:d}=(m=Ty(this.prototype,o))!=null?m:{get(){return this[t]},set(g){this[t]=g}};return{get(){return s==null?void 0:s.call(this)},set(g){let x=s==null?void 0:s.call(this);d.call(this,g),this.requestUpdate(o,x,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){var t;return(t=this.elementProperties.get(o))!=null?t:pm}static _$Ei(){if(this.hasOwnProperty(ha("elementProperties")))return;let o=Sy(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(ha("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ha("properties"))){let t=this.properties,r=[...xy(t),...Ay(t)];for(let s of r)this.createProperty(s,t[s])}let o=this[Symbol.metadata];if(o!==null){let t=litPropertyMetadata.get(o);if(t!==void 0)for(let[r,s]of t)this.elementProperties.set(r,s)}this._$Eh=new Map;for(let[t,r]of this.elementProperties){let s=this._$Eu(t,r);s!==void 0&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){let t=[];if(Array.isArray(o)){let r=new Set(o.flat(1/0).reverse());for(let s of r)t.unshift($n(s))}else o!==void 0&&t.push($n(o));return t}static _$Eu(o,t){let r=t.attribute;return r===!1?void 0:typeof r=="string"?r: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,r;((t=this._$EO)!=null?t:this._$EO=new Set).add(o),this.renderRoot!==void 0&&this.isConnected&&((r=o.hostConnected)==null||r.call(o))}removeController(o){var t;(t=this._$EO)==null||t.delete(o)}_$E_(){let o=new Map,t=this.constructor.elementProperties;for(let r of t.keys())this.hasOwnProperty(r)&&(o.set(r,this[r]),delete this[r]);o.size>0&&(this._$Ep=o)}createRenderRoot(){var t;let o=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return Yd(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(r=>{var s;return(s=r.hostConnected)==null?void 0:s.call(r)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(t=>{var r;return(r=t.hostDisconnected)==null?void 0:r.call(t)})}attributeChangedCallback(o,t,r){this._$AK(o,r)}_$EC(o,t){var d;let r=this.constructor.elementProperties.get(o),s=this.constructor._$Eu(o,r);if(s!==void 0&&r.reflect===!0){let m=(((d=r.converter)==null?void 0:d.toAttribute)!==void 0?r.converter:pa).toAttribute(t,r.type);this._$Em=o,m==null?this.removeAttribute(s):this.setAttribute(s,m),this._$Em=null}}_$AK(o,t){var d;let r=this.constructor,s=r._$Eh.get(o);if(s!==void 0&&this._$Em!==s){let m=r.getPropertyOptions(s),g=typeof m.converter=="function"?{fromAttribute:m.converter}:((d=m.converter)==null?void 0:d.fromAttribute)!==void 0?m.converter:pa;this._$Em=s,this[s]=g.fromAttribute(t,m.type),this._$Em=null}}requestUpdate(o,t,r){var s;if(o!==void 0){if(r!=null||(r=this.constructor.getPropertyOptions(o)),!((s=r.hasChanged)!=null?s:zn)(this[o],t))return;this.P(o,t,r)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,t,r){var s;this._$AL.has(o)||this._$AL.set(o,t),r.reflect===!0&&this._$Em!==o&&((s=this._$Ej)!=null?s: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 r,s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((r=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,g]of this._$Ep)this[m]=g;this._$Ep=void 0}let d=this.constructor.elementProperties;if(d.size>0)for(let[m,g]of d)g.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],g)}let o=!1,t=this._$AL;try{o=this.shouldUpdate(t),o?(this.willUpdate(t),(s=this._$EO)==null||s.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(r=>{var s;return(s=r.hostUpdated)==null?void 0:s.call(r)}),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){}},fm;Jr.elementStyles=[],Jr.shadowRootOptions={mode:"open"},Jr[ha("elementProperties")]=new Map,Jr[ha("finalized")]=new Map,Wd==null||Wd({ReactiveElement:Jr}),((fm=wi.reactiveElementVersions)!=null?fm:wi.reactiveElementVersions=[]).push("2.0.4");var ua=globalThis,Vn=ua.trustedTypes,vm=Vn?Vn.createPolicy("lit-html",{createHTML:n=>n}):void 0,qd="$lit$",ti=`lit$${Math.random().toFixed(9).slice(2)}$`,Xd="?"+ti,_y=`<${Xd}>`,mo=document,fa=()=>mo.createComment(""),va=n=>n===null||typeof n!="object"&&typeof n!="function",Zd=Array.isArray,Am=n=>Zd(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",jd=`[
3
+ \f\r]`,ma=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,gm=/-->/g,bm=/>/g,ho=RegExp(`>|${jd}(?:([^\\s"'>=/]+)(${jd}*=${jd}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ym=/'/g,Em=/"/g,Sm=/^(?:script|style|textarea|title)$/i,Qd=n=>(o,...t)=>({_$litType$:n,strings:o,values:t}),_=Qd(1),t0=Qd(2),e0=Qd(3),ge=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),Tm=new WeakMap,po=mo.createTreeWalker(mo,129);function Im(n,o){if(!Zd(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return vm!==void 0?vm.createHTML(o):o}var _m=(n,o)=>{let t=n.length-1,r=[],s,d=o===2?"<svg>":o===3?"<math>":"",m=ma;for(let g=0;g<t;g++){let x=n[g],L,B,K=-1,Z=0;for(;Z<x.length&&(m.lastIndex=Z,B=m.exec(x),B!==null);)Z=m.lastIndex,m===ma?B[1]==="!--"?m=gm:B[1]!==void 0?m=bm:B[2]!==void 0?(Sm.test(B[2])&&(s=RegExp("</"+B[2],"g")),m=ho):B[3]!==void 0&&(m=ho):m===ho?B[0]===">"?(m=s!=null?s:ma,K=-1):B[1]===void 0?K=-2:(K=m.lastIndex-B[2].length,L=B[1],m=B[3]===void 0?ho:B[3]==='"'?Em:ym):m===Em||m===ym?m=ho:m===gm||m===bm?m=ma:(m=ho,s=void 0);let X=m===ho&&n[g+1].startsWith("/>")?" ":"";d+=m===ma?x+_y:K>=0?(r.push(L),x.slice(0,K)+qd+x.slice(K)+ti+X):x+ti+(K===-2?g:X)}return[Im(n,d+(n[t]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),r]},ga=class n{constructor({strings:o,_$litType$:t},r){let s;this.parts=[];let d=0,m=0,g=o.length-1,x=this.parts,[L,B]=_m(o,t);if(this.el=n.createElement(L,r),po.currentNode=this.el.content,t===2||t===3){let K=this.el.content.firstChild;K.replaceWith(...K.childNodes)}for(;(s=po.nextNode())!==null&&x.length<g;){if(s.nodeType===1){if(s.hasAttributes())for(let K of s.getAttributeNames())if(K.endsWith(qd)){let Z=B[m++],X=s.getAttribute(K).split(ti),it=/([.?@])?(.*)/.exec(Z);x.push({type:1,index:d,name:it[2],strings:X,ctor:it[1]==="."?Un:it[1]==="?"?Hn:it[1]==="@"?Gn:fo}),s.removeAttribute(K)}else K.startsWith(ti)&&(x.push({type:6,index:d}),s.removeAttribute(K));if(Sm.test(s.tagName)){let K=s.textContent.split(ti),Z=K.length-1;if(Z>0){s.textContent=Vn?Vn.emptyScript:"";for(let X=0;X<Z;X++)s.append(K[X],fa()),po.nextNode(),x.push({type:2,index:++d});s.append(K[Z],fa())}}}else if(s.nodeType===8)if(s.data===Xd)x.push({type:2,index:d});else{let K=-1;for(;(K=s.data.indexOf(ti,K+1))!==-1;)x.push({type:7,index:d}),K+=ti.length-1}d++}}static createElement(o,t){let r=mo.createElement("template");return r.innerHTML=o,r}};function uo(n,o,t=n,r){var m,g,x;if(o===ge)return o;let s=r!==void 0?(m=t.o)==null?void 0:m[r]:t.l,d=va(o)?void 0:o._$litDirective$;return(s==null?void 0:s.constructor)!==d&&((g=s==null?void 0:s._$AO)==null||g.call(s,!1),d===void 0?s=void 0:(s=new d(n),s._$AT(n,t,r)),r!==void 0?((x=t.o)!=null?x:t.o=[])[r]=s:t.l=s),s!==void 0&&(o=uo(n,s._$AS(n,o.values),s,r)),o}var Bn=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:r}=this._$AD,s=((L=o==null?void 0:o.creationScope)!=null?L:mo).importNode(t,!0);po.currentNode=s;let d=po.nextNode(),m=0,g=0,x=r[0];for(;x!==void 0;){if(m===x.index){let B;x.type===2?B=new rs(d,d.nextSibling,this,o):x.type===1?B=new x.ctor(d,x.name,x.strings,this,o):x.type===6&&(B=new Yn(d,this,o)),this._$AV.push(B),x=r[++g]}m!==(x==null?void 0:x.index)&&(d=po.nextNode(),m++)}return po.currentNode=mo,s}p(o){let t=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(o,r,t),t+=r.strings.length-2):r._$AI(o[t])),t++}},rs=class n{get _$AU(){var o,t;return(t=(o=this._$AM)==null?void 0:o._$AU)!=null?t:this.v}constructor(o,t,r,s){var d;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=o,this._$AB=t,this._$AM=r,this.options=s,this.v=(d=s==null?void 0:s.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=uo(this,o,t),va(o)?o===j||o==null||o===""?(this._$AH!==j&&this._$AR(),this._$AH=j):o!==this._$AH&&o!==ge&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Am(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&&va(this._$AH)?this._$AA.nextSibling.data=o:this.T(mo.createTextNode(o)),this._$AH=o}$(o){var d;let{values:t,_$litType$:r}=o,s=typeof r=="number"?this._$AC(o):(r.el===void 0&&(r.el=ga.createElement(Im(r.h,r.h[0]),this.options)),r);if(((d=this._$AH)==null?void 0:d._$AD)===s)this._$AH.p(t);else{let m=new Bn(s,this),g=m.u(this.options);m.p(t),this.T(g),this._$AH=m}}_$AC(o){let t=Tm.get(o.strings);return t===void 0&&Tm.set(o.strings,t=new ga(o)),t}k(o){Zd(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,r,s=0;for(let d of o)s===t.length?t.push(r=new n(this.O(fa()),this.O(fa()),this,this.options)):r=t[s],r._$AI(d),s++;s<t.length&&(this._$AR(r&&r._$AB.nextSibling,s),t.length=s)}_$AR(o=this._$AA.nextSibling,t){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,t);o&&o!==this._$AB;){let s=o.nextSibling;o.remove(),o=s}}setConnected(o){var t;this._$AM===void 0&&(this.v=o,(t=this._$AP)==null||t.call(this,o))}},fo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,t,r,s,d){this.type=1,this._$AH=j,this._$AN=void 0,this.element=o,this.name=t,this._$AM=s,this.options=d,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=j}_$AI(o,t=this,r,s){let d=this.strings,m=!1;if(d===void 0)o=uo(this,o,t,0),m=!va(o)||o!==this._$AH&&o!==ge,m&&(this._$AH=o);else{let g=o,x,L;for(o=d[0],x=0;x<d.length-1;x++)L=uo(this,g[r+x],t,x),L===ge&&(L=this._$AH[x]),m||(m=!va(L)||L!==this._$AH[x]),L===j?o=j:o!==j&&(o+=(L!=null?L:"")+d[x+1]),this._$AH[x]=L}m&&!s&&this.j(o)}j(o){o===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o!=null?o:"")}},Un=class extends fo{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===j?void 0:o}},Hn=class extends fo{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==j)}},Gn=class extends fo{constructor(o,t,r,s,d){super(o,t,r,s,d),this.type=5}_$AI(o,t=this){var m;if((o=(m=uo(this,o,t,0))!=null?m:j)===ge)return;let r=this._$AH,s=o===j&&r!==j||o.capture!==r.capture||o.once!==r.once||o.passive!==r.passive,d=o!==j&&(r===j||s);s&&this.element.removeEventListener(this.name,this,r),d&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){var t,r;typeof this._$AH=="function"?this._$AH.call((r=(t=this.options)==null?void 0:t.host)!=null?r:this.element,o):this._$AH.handleEvent(o)}},Yn=class{constructor(o,t,r){this.element=o,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(o){uo(this,o)}},Cm={M:qd,P:ti,A:Xd,C:1,L:_m,R:Bn,D:Am,V:uo,I:rs,H:fo,N:Hn,U:Gn,B:Un,F:Yn},Kd=ua.litHtmlPolyfillSupport,xm;Kd==null||Kd(ga,rs),((xm=ua.litHtmlVersions)!=null?xm:ua.litHtmlVersions=[]).push("3.2.0");var km=(n,o,t)=>{var d,m;let r=(d=t==null?void 0:t.renderBefore)!=null?d:o,s=r._$litPart$;if(s===void 0){let g=(m=t==null?void 0:t.renderBefore)!=null?m:null;r._$litPart$=s=new rs(o.insertBefore(fa(),g),g,void 0,t!=null?t:{})}return s._$AI(n),s};var Ni=class extends Jr{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,r;let o=super.createRenderRoot();return(r=(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=km(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 ge}},wm;Ni._$litElement$=!0,Ni.finalized=!0,(wm=globalThis.litElementHydrateSupport)==null||wm.call(globalThis,{LitElement:Ni});var Jd=globalThis.litElementPolyfillSupport;Jd==null||Jd({LitElement:Ni});var Nm;((Nm=globalThis.litElementVersions)!=null?Nm:globalThis.litElementVersions=[]).push("4.1.0");var Cy={attribute:!0,type:String,converter:pa,reflect:!1,hasChanged:zn},ky=(n=Cy,o,t)=>{let{kind:r,metadata:s}=t,d=globalThis.litPropertyMetadata.get(s);if(d===void 0&&globalThis.litPropertyMetadata.set(s,d=new Map),d.set(t.name,n),r==="accessor"){let{name:m}=t;return{set(g){let x=o.get.call(this);o.set.call(this,g),this.requestUpdate(m,x,n)},init(g){return g!==void 0&&this.P(m,void 0,n),g}}}if(r==="setter"){let{name:m}=t;return function(g){let x=this[m];o.call(this,g),this.requestUpdate(m,x,n)}}throw Error("Unsupported decorator location: "+r)};function u(n){return(o,t)=>typeof t=="object"?ky(n,o,t):((r,s,d)=>{let m=s.hasOwnProperty(d);return s.constructor.createProperty(d,m?{...r,wrapped:!0}:r),m?Object.getOwnPropertyDescriptor(s,d):void 0})(n,o,t)}function vt(n){return u({...n,state:!0,attribute:!1})}function Lm(n){return(o,t)=>{let r=typeof o=="function"?o:o[t];Object.assign(r,n)}}var Or=(n,o,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof o!="object"&&Object.defineProperty(n,o,t),t);function be(n,o){return(t,r,s)=>{let d=m=>{var g,x;return(x=(g=m.renderRoot)==null?void 0:g.querySelector(n))!=null?x:null};if(o){let{get:m,set:g}=typeof r=="object"?t:s!=null?s:(()=>{let x=Symbol();return{get(){return this[x]},set(L){this[x]=L}}})();return Or(t,r,{get(){let x=m.call(this);return x===void 0&&(x=d(this),(x!==null||this.hasUpdated)&&g.call(this,x)),x}})}return Or(t,r,{get(){return d(this)}})}}var tc;function Om(n){return(o,t)=>Or(o,t,{get(){var r;return((r=this.renderRoot)!=null?r:tc!=null?tc:tc=document.createDocumentFragment()).querySelectorAll(n)}})}function Pt(n){return(o,t)=>{let{slot:r,selector:s}=n!=null?n:{},d="slot"+(r?`[name=${r}]`:":not([name])");return Or(o,t,{get(){var x,L;let m=(x=this.renderRoot)==null?void 0:x.querySelector(d),g=(L=m==null?void 0:m.assignedElements(n))!=null?L:[];return s===void 0?g:g.filter(B=>B.matches(s))}})}}function Wn(n){return(o,t)=>{let{slot:r}=n!=null?n:{},s="slot"+(r?`[name=${r}]`:":not([name])");return Or(o,t,{get(){var m,g;let d=(m=this.renderRoot)==null?void 0:m.querySelector(s);return(g=d==null?void 0:d.assignedNodes(n))!=null?g:[]}})}}var wy={PREFIX:"mdc",SEPARATOR:"-"},Ny={NAMESPACE:wy},ec=Ny;var Ly=n=>[ec.NAMESPACE.PREFIX,n].join(ec.NAMESPACE.SEPARATOR),z={constructTagName:Ly};var rt={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 Rm=z.constructTagName("buttonsimple"),vo={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},is={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},ba={SIZE:vo[32],TYPE:is.BUTTON,ROLE:rt.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var ei=z.constructTagName("button"),Ft={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},ya={40:40,32:32,28:28,24:24},sr={64:64,52:52,20:20,...ya},go={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},os={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},De={VARIANT:Ft.PRIMARY,SIZE:ya[32],COLOR:go.DEFAULT,TYPE_INTERNAL:os.ICON,TYPE:is.BUTTON,INVERTED:!1};var jn=n=>{class o extends n{constructor(){super(...arguments);this.variant=De.VARIANT;this.color=De.COLOR;this.typeInternal=De.TYPE_INTERNAL}setVariant(s){this.setAttribute("variant",Object.values(Ft).includes(s)?s:De.VARIANT)}setColor(s){!Object.values(go).includes(s)||this.variant===Ft.TERTIARY?this.setAttribute("color",`${De.COLOR}`):this.setAttribute("color",s)}setSize(s){let m=this.typeInternal===os.ICON?Object.values(sr).includes(s)&&!(s===sr[20]&&this.variant!==Ft.TERTIARY):Object.values(ya).includes(s);this.setAttribute("size",m?`${s}`:`${De.SIZE}`)}inferButtonType(){var L,B,K,Z,X,it;let s=(B=(L=this.shadowRoot)==null?void 0:L.querySelector("slot:not([name])"))==null?void 0:B.assignedNodes().filter(dt=>{var lt;return dt.nodeType!==Node.TEXT_NODE||((lt=dt.textContent)==null?void 0:lt.trim())}).length,d=(Z=(K=this.shadowRoot)==null?void 0:K.querySelector('slot[name="prefix"]'))==null?void 0:Z.assignedNodes().filter(dt=>{var lt;return dt.nodeType!==Node.TEXT_NODE||((lt=dt.textContent)==null?void 0:lt.trim())}).length,m=this.prefixIcon||d&&d>0,g=(it=(X=this.shadowRoot)==null?void 0:X.querySelector('slot[name="postfix"]'))==null?void 0:it.assignedNodes().filter(dt=>{var lt;return dt.nodeType!==Node.TEXT_NODE||((lt=dt.textContent)==null?void 0:lt.trim())}).length,x=this.postfixIcon||g&&g>0;s&&(m||x)?(this.typeInternal=os.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!s&&(m||x)?(this.typeInternal=os.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=os.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([vt()],o.prototype,"typeInternal",2),o};var Mm=U`
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 Kn=class extends Ni{static register(o){customElements.get(o)||customElements.define(o,this)}};Kn.styles=[Om];var Mm=Kn;var q=Mm;var Li=class extends Event{constructor(o,t,r){super("context-request",{bubbles:!0,composed:!0}),this.context=o,this.callback=t,this.subscribe=r!=null?r:!1}};var ss=class{constructor(o,t,r,s){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=r,this.subscribe=s!=null?s:!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 qn=class{get value(){return this.o}set value(o){this.setValue(o)}setValue(o,t=!1){let r=t||!Object.is(o,this.o);this.o=o,r&&this.updateObservers()}constructor(o){this.subscriptions=new Map,this.updateObservers=()=>{for(let[t,{disposer:r}]of this.subscriptions)t(this.o,r)},o!==void 0&&(this.value=o)}addCallback(o,t,r){if(!r)return void o(this.value);this.subscriptions.has(o)||this.subscriptions.set(o,{disposer:()=>{this.subscriptions.delete(o)},consumerHost:t});let{disposer:s}=this.subscriptions.get(o);o(this.value,s)}clearCallbacks(){this.subscriptions.clear()}};var ec=class extends Event{constructor(o){super("context-provider",{bubbles:!0,composed:!0}),this.context=o}},as=class extends qn{constructor(o,t,r){var s,d;super(t.context!==void 0?t.initialValue:r),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 x=new Set;for(let[L,{consumerHost:U}]of this.subscriptions)x.has(L)||(x.add(L),U.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(),(d=(s=this.host).addController)==null||d.call(s,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new ec(this.context))}};var Ry=B`
14
+ `;var Kn=class extends Ni{static register(o){customElements.get(o)||customElements.define(o,this)}};Kn.styles=[Mm];var Pm=Kn;var q=Pm;var Li=class extends Event{constructor(o,t,r){super("context-request",{bubbles:!0,composed:!0}),this.context=o,this.callback=t,this.subscribe=r!=null?r:!1}};var ss=class{constructor(o,t,r,s){var d;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(m,g)=>{this.unsubscribe&&(this.unsubscribe!==g&&(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,g)),this.unsubscribe=g},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=r,this.subscribe=s!=null?s:!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 qn=class{get value(){return this.o}set value(o){this.setValue(o)}setValue(o,t=!1){let r=t||!Object.is(o,this.o);this.o=o,r&&this.updateObservers()}constructor(o){this.subscriptions=new Map,this.updateObservers=()=>{for(let[t,{disposer:r}]of this.subscriptions)t(this.o,r)},o!==void 0&&(this.value=o)}addCallback(o,t,r){if(!r)return void o(this.value);this.subscriptions.has(o)||this.subscriptions.set(o,{disposer:()=>{this.subscriptions.delete(o)},consumerHost:t});let{disposer:s}=this.subscriptions.get(o);o(this.value,s)}clearCallbacks(){this.subscriptions.clear()}};var rc=class extends Event{constructor(o){super("context-provider",{bubbles:!0,composed:!0}),this.context=o}},as=class extends qn{constructor(o,t,r){var s,d;super(t.context!==void 0?t.initialValue:r),this.onContextRequest=m=>{let g=m.composedPath()[0];m.context===this.context&&g!==this.host&&(m.stopPropagation(),this.addCallback(m.callback,g,m.subscribe))},this.onProviderRequest=m=>{let g=m.composedPath()[0];if(m.context!==this.context||g===this.host)return;let x=new Set;for(let[L,{consumerHost:B}]of this.subscriptions)x.has(L)||(x.add(L),B.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(),(d=(s=this.host).addController)==null||d.call(s,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new rc(this.context))}};var Oy=U`
15
15
  :host {
16
16
  display: contents;
17
17
  }
18
- `,Pm=Ry;var Xn=class extends q{constructor({context:o,initialValue:t}){super(),this.context=new as(this,{context:o,initialValue:t})}render(){return this.updateContext(),_`<slot></slot>`}};Xn.styles=[...q.styles,Pm];var Dm=Xn;var Fe=Dm;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 ye=n=>{class o extends n{constructor(){super(...arguments);this.elementToAutoFocus=null;this.autoFocusOnMount=!1}async firstUpdated(s){super.firstUpdated(s),this.autoFocusOnMount&&(await this.updateComplete,(this.elementToAutoFocus||this).focus())}}return p([u({type:Boolean,reflect:!0,attribute:"auto-focus-on-mount"})],o.prototype,"autoFocusOnMount",2),o};var Bt=n=>{class o extends n{}return p([u({reflect:!0,type:Boolean})],o.prototype,"disabled",2),o};var Or=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=B`
18
+ `,Dm=Oy;var Xn=class extends q{constructor({context:o,initialValue:t}){super(),this.context=new as(this,{context:o,initialValue:t})}render(){return this.updateContext(),_`<slot></slot>`}};Xn.styles=[...q.styles,Dm];var Fm=Xn;var Fe=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 ye=n=>{class o extends n{constructor(){super(...arguments);this.elementToAutoFocus=null;this.autoFocusOnMount=!1}async firstUpdated(s){super.firstUpdated(s),this.autoFocusOnMount&&(await this.updateComplete,(this.elementToAutoFocus||this).focus())}}return p([u({type:Boolean,reflect:!0,attribute:"auto-focus-on-mount"})],o.prototype,"autoFocusOnMount",2),o};var Bt=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=U`
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
- `,Ri=B`
26
+ `,Oi=U`
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
- `,Oi=B`0 0 0 var(--mdc-focus-ring-inner-width) var(--mdc-focus-ring-inner-color),
39
+ `,Ri=U`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
- `,At=(n=!1)=>n?[Ri,B`
42
+ `,At=(n=!1)=>n?[Oi,U`
43
43
  .mdc-focus-ring:focus-visible {
44
44
  outline: none;
45
45
  }
@@ -49,7 +49,7 @@
49
49
  /* Add focus ring to parent when child is focused. The parent element must have class name mdc-focus-ring */
50
50
  .mdc-focus-ring:focus-within {
51
51
  position: relative;
52
- box-shadow: ${Oi};
52
+ box-shadow: ${Ri};
53
53
  }
54
54
  /* Remove focus ring from parent when children has its own focus ring.
55
55
  The child element must have class name own-focus-ring */
@@ -63,14 +63,14 @@
63
63
  outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
64
64
  }
65
65
  }
66
- `]:[Ri,B`
66
+ `]:[Oi,U`
67
67
  :host([disabled]:focus) {
68
68
  box-shadow: none;
69
69
  }
70
70
  :host(:focus-visible) {
71
71
  outline: none;
72
72
  position: relative;
73
- box-shadow: ${Oi};
73
+ box-shadow: ${Ri};
74
74
  }
75
75
  /* High Contrast Mode */
76
76
  @media (forced-colors: active) {
@@ -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,B`
81
+ `];var Ry=[bt,U`
82
82
  :host {
83
83
  --mdc-button-height: unset;
84
84
  --mdc-button-background: transparent;
@@ -131,7 +131,7 @@
131
131
  :host([size='20']) {
132
132
  --mdc-button-height: 1.25rem;
133
133
  }
134
- `,...At()],Fm=Oy;var We=class extends ye(Or(Bt(q))){constructor(){super();this.size=ba.SIZE;this.role=ba.ROLE;this.type=ba.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||ba.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===is.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===is.RESET&&this.form&&this.form.reset()}setActive(t,r){this.ariaStateKey&&this.ariaStateKey.split(",").filter(d=>d.trim().startsWith("aria-")).forEach(d=>{r===!0?t.setAttribute(d.trim(),"true"):r===!1?t.setAttribute(d.trim(),"false"):t.removeAttribute(d.trim())})}setSoftDisabled(t,r){r?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}setDisabled(t,r){r?(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 _` <slot></slot> `}};We.formAssociated=!0,We.styles=[...q.styles,...Fm],p([u({type:Boolean,reflect:!0})],We.prototype,"active",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],We.prototype,"softDisabled",2),p([u({type:Number,reflect:!0})],We.prototype,"size",2),p([u({type:String,reflect:!0})],We.prototype,"role",2),p([u({type:String,reflect:!0})],We.prototype,"ariaStateKey",2),p([u({reflect:!0})],We.prototype,"type",2),p([u({type:String,reflect:!0})],We.prototype,"name",2),p([u({type:String,reflect:!0})],We.prototype,"value",2);var ie=We;var My=B`
134
+ `,...At()],$m=Ry;var We=class extends ye(Rr(Bt(q))){constructor(){super();this.size=ba.SIZE;this.role=ba.ROLE;this.type=ba.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||ba.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===is.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===is.RESET&&this.form&&this.form.reset()}setActive(t,r){this.ariaStateKey&&this.ariaStateKey.split(",").filter(d=>d.trim().startsWith("aria-")).forEach(d=>{r===!0?t.setAttribute(d.trim(),"true"):r===!1?t.setAttribute(d.trim(),"false"):t.removeAttribute(d.trim())})}setSoftDisabled(t,r){r?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}setDisabled(t,r){r?(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 _` <slot></slot> `}};We.formAssociated=!0,We.styles=[...q.styles,...$m],p([u({type:Boolean,reflect:!0})],We.prototype,"active",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],We.prototype,"softDisabled",2),p([u({type:Number,reflect:!0})],We.prototype,"size",2),p([u({type:String,reflect:!0})],We.prototype,"role",2),p([u({type:String,reflect:!0})],We.prototype,"ariaStateKey",2),p([u({reflect:!0})],We.prototype,"type",2),p([u({type:String,reflect:!0})],We.prototype,"name",2),p([u({type:String,reflect:!0})],We.prototype,"value",2);var ie=We;var My=U`
135
135
  :host {
136
136
  --mdc-button-prefix-icon-size: 1rem;
137
137
  --mdc-button-postfix-icon-size: 1rem;
@@ -416,7 +416,7 @@
416
416
  :host::part(postfix-icon) {
417
417
  flex-shrink: 0;
418
418
  }
419
- `,$m=[My];var bo=n=>{let o=n.split("-"),t=["bold","filled","regular","light"];return o.filter(r=>!t.includes(r)).join("-")};var ri=class extends jn(ie){constructor(){super(...arguments);this.size=De.SIZE;this.inverted=De.INVERTED;this.role=rt.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=`${bo(this.prefixIcon)}-filled`),this.postfixIcon&&(this.postfixFilledIconName=`${bo(this.postfixIcon)}-filled`)):(this.prefixFilledIconName=this.prefixIcon,this.postfixFilledIconName=this.postfixIcon)}render(){return _`
419
+ `,zm=[My];var bo=n=>{let o=n.split("-"),t=["bold","filled","regular","light"];return o.filter(r=>!t.includes(r)).join("-")};var ri=class extends jn(ie){constructor(){super(...arguments);this.size=De.SIZE;this.inverted=De.INVERTED;this.role=rt.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=`${bo(this.prefixIcon)}-filled`),this.postfixIcon&&(this.postfixFilledIconName=`${bo(this.postfixIcon)}-filled`)):(this.prefixFilledIconName=this.prefixIcon,this.postfixFilledIconName=this.postfixIcon)}render(){return _`
420
420
  <slot name="prefix" part="prefix">
421
421
  ${this.prefixFilledIconName?_` <mdc-icon
422
422
  name="${this.prefixFilledIconName}"
@@ -432,7 +432,7 @@
432
432
  length-unit="rem"
433
433
  ></mdc-icon>`:""}
434
434
  </slot>
435
- `}};ri.styles=[...ie.styles,...$m],p([u({type:Number})],ri.prototype,"size",2),p([u({type:Boolean,reflect:!0})],ri.prototype,"inverted",2),p([u({type:String,reflect:!0})],ri.prototype,"role",2),p([vt()],ri.prototype,"prefixFilledIconName",2),p([vt()],ri.prototype,"postfixFilledIconName",2);var yo=ri;var Py=n=>{let{host:o,context:t,subscribe:r}=n;return new ss(o,{context:t,subscribe:r!=null?r:!0})},Dy={consume:Py},$e=Dy;var Zn=z.constructTagName("iconprovider"),zm=["svg"],Vm=["em","rem","px","%"],Fy={px:16,em:1,rem:1,"%":100},ii={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:Fy.em,ICON_SET:"momentum-icons"};var Qn=class{};Qn.context=Zn;var Jn=Qn;var Mr=class extends Fe{constructor(){super({context:Jn.context,initialValue:new Jn});this.iconSet=ii.ICON_SET;this.fileExtension=ii.FILE_EXTENSION;this.lengthUnit=ii.LENGTH_UNIT;this.size=ii.SIZE}static get Context(){return Jn.context}updateValuesInContext(){this.fileExtension&&zm.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=ii.FILE_EXTENSION,this.context.value.fileExtension=ii.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&&Vm.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=ii.LENGTH_UNIT,this.context.value.lengthUnit=ii.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 Ea=Mr;var $y=[bt,B`
435
+ `}};ri.styles=[...ie.styles,...zm],p([u({type:Number})],ri.prototype,"size",2),p([u({type:Boolean,reflect:!0})],ri.prototype,"inverted",2),p([u({type:String,reflect:!0})],ri.prototype,"role",2),p([vt()],ri.prototype,"prefixFilledIconName",2),p([vt()],ri.prototype,"postfixFilledIconName",2);var yo=ri;var Py=n=>{let{host:o,context:t,subscribe:r}=n;return new ss(o,{context:t,subscribe:r!=null?r:!0})},Dy={consume:Py},$e=Dy;var Zn=z.constructTagName("iconprovider"),Vm=["svg"],Bm=["em","rem","px","%"],Fy={px:16,em:1,rem:1,"%":100},ii={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:Fy.em,ICON_SET:"momentum-icons"};var Qn=class{};Qn.context=Zn;var Jn=Qn;var Mr=class extends Fe{constructor(){super({context:Jn.context,initialValue:new Jn});this.iconSet=ii.ICON_SET;this.fileExtension=ii.FILE_EXTENSION;this.lengthUnit=ii.LENGTH_UNIT;this.size=ii.SIZE}static get Context(){return Jn.context}updateValuesInContext(){this.fileExtension&&Vm.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=ii.FILE_EXTENSION,this.context.value.fileExtension=ii.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&&Bm.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=ii.LENGTH_UNIT,this.context.value.lengthUnit=ii.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 Ea=Mr;var $y=[bt,U`
436
436
  :host {
437
437
  --mdc-icon-fill-color: currentColor;
438
438
  --mdc-icon-size: var(--computed-icon-size);
@@ -447,7 +447,7 @@
447
447
  width: 100%;
448
448
  fill: var(--mdc-icon-fill-color);
449
449
  }
450
- `,...At()],Bm=$y;var Ta={},Um=async n=>(Ta[n]===void 0&&(Ta[n]=new Map),{async set(o,t){Ta[n].set(o.url,await t.text())},async get(o){return Ta[n].get(o.url)},async delete(o){Ta[n].delete(o.url)}}),Hm=async n=>{let o=await caches.open(n);return{set:async(t,r)=>{await o.put(t,r)},get:async t=>{let r=await o.match(t);return r==null?void 0:r.text()},delete:async t=>{await o.delete(t)}}},tl=async(n,o)=>o==="in-memory-cache"?Um(n):Hm(n);var Gm=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the icon!");return o}),Ym=async({url:n,name:o,fileExtension:t,cacheStrategy:r,cacheName:s,renewSignal:d})=>{let m=d(),b=new Request(`${n}/${o}.${t}`,{signal:m});return!s||!r||!["in-memory-cache","web-cache-api"].includes(r)?Gm(b).then(x=>x.text()):tl(s,r).then(x=>x.get(b).then(L=>L||Gm(b.clone()).then(U=>{var K;return U.status<400&&U.headers.has("content-type")?(K=x.set)==null?void 0:K.call(x,b,U.clone()).then(()=>U.text()):U.text()})).catch(L=>{throw new Error(`Error in caching the Icon ${o}, ${L}`)}))};var Wm=z.constructTagName("icon"),rc={NAME:void 0,SIZE:1};var je=class extends q{constructor(){super();this.name=rc.NAME;this.ariaLabel=null;this.ariaLabelledby=null;this.iconProviderContext=$e.consume({host:this,context:Ea.Context});this.abortController=new AbortController}prepareIconElement(t){let r=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&r.setAttribute("data-name",this.name),r.setAttribute("part","icon"),r.setAttribute("aria-hidden","true"),r}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:r,url:s,cacheName:d,iconSet:m,cacheStrategy:b}=this.iconProviderContext.value;if(m==="custom-icons"&&s&&r&&this.name){let x=()=>{var L;return(L=this.abortController)==null||L.abort(),this.abortController=new AbortController,this.abortController.signal};return Ym({url:s,name:this.name,fileExtension:r,cacheName:d,cacheStrategy:b,renewSignal:x}).then(L=>{let U=this.prepareIconElement(L);this.handleIconLoadedSuccess(U)}).catch(L=>{this.handleIconLoadedFailure(L)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(x=>{this.handleIconLoadedSuccess(x.default())}).catch(x=>{this.handleIconLoadedFailure(x)})}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 r=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(r)}handleIconLoadedFailure(t){let r=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(r)}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let r=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",r)}}get computedIconSize(){var t,r;return(r=(t=this.size)!=null?t:this.sizeFromContext)!=null?r:rc.SIZE}updated(t){var r,s,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!==((r=this.iconProviderContext.value)==null?void 0:r.lengthUnit)&&(this.lengthUnitFromContext=(s=this.iconProviderContext.value)==null?void 0:s.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 _` ${this.iconData} `}};je.styles=[...q.styles,...Bm],p([vt()],je.prototype,"iconData",2),p([vt()],je.prototype,"lengthUnitFromContext",2),p([vt()],je.prototype,"sizeFromContext",2),p([u({type:String,reflect:!0})],je.prototype,"name",2),p([u({type:Number})],je.prototype,"size",2),p([u({type:String,attribute:"length-unit"})],je.prototype,"lengthUnit",2),p([u({type:String,attribute:"aria-label"})],je.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],je.prototype,"ariaLabelledby",2),p([vt()],je.prototype,"abortController",2);var ic=je;ic.register(Wm);var zy=ic;yo.register(ei);var Vy=yo;var jm=B`
450
+ `,...At()],Um=$y;var Ta={},Hm=async n=>(Ta[n]===void 0&&(Ta[n]=new Map),{async set(o,t){Ta[n].set(o.url,await t.text())},async get(o){return Ta[n].get(o.url)},async delete(o){Ta[n].delete(o.url)}}),Gm=async n=>{let o=await caches.open(n);return{set:async(t,r)=>{await o.put(t,r)},get:async t=>{let r=await o.match(t);return r==null?void 0:r.text()},delete:async t=>{await o.delete(t)}}},tl=async(n,o)=>o==="in-memory-cache"?Hm(n):Gm(n);var Ym=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the icon!");return o}),Wm=async({url:n,name:o,fileExtension:t,cacheStrategy:r,cacheName:s,renewSignal:d})=>{let m=d(),g=new Request(`${n}/${o}.${t}`,{signal:m});return!s||!r||!["in-memory-cache","web-cache-api"].includes(r)?Ym(g).then(x=>x.text()):tl(s,r).then(x=>x.get(g).then(L=>L||Ym(g.clone()).then(B=>{var K;return B.status<400&&B.headers.has("content-type")?(K=x.set)==null?void 0:K.call(x,g,B.clone()).then(()=>B.text()):B.text()})).catch(L=>{throw new Error(`Error in caching the Icon ${o}, ${L}`)}))};var jm=z.constructTagName("icon"),ic={NAME:void 0,SIZE:1};var je=class extends q{constructor(){super();this.name=ic.NAME;this.ariaLabel=null;this.ariaLabelledby=null;this.iconProviderContext=$e.consume({host:this,context:Ea.Context});this.abortController=new AbortController}prepareIconElement(t){let r=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&r.setAttribute("data-name",this.name),r.setAttribute("part","icon"),r.setAttribute("aria-hidden","true"),r}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:r,url:s,cacheName:d,iconSet:m,cacheStrategy:g}=this.iconProviderContext.value;if(m==="custom-icons"&&s&&r&&this.name){let x=()=>{var L;return(L=this.abortController)==null||L.abort(),this.abortController=new AbortController,this.abortController.signal};return Wm({url:s,name:this.name,fileExtension:r,cacheName:d,cacheStrategy:g,renewSignal:x}).then(L=>{let B=this.prepareIconElement(L);this.handleIconLoadedSuccess(B)}).catch(L=>{this.handleIconLoadedFailure(L)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(x=>{this.handleIconLoadedSuccess(x.default())}).catch(x=>{this.handleIconLoadedFailure(x)})}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 r=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(r)}handleIconLoadedFailure(t){let r=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(r)}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let r=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",r)}}get computedIconSize(){var t,r;return(r=(t=this.size)!=null?t:this.sizeFromContext)!=null?r:ic.SIZE}updated(t){var r,s,d,m;super.updated(t),t.has("name")&&this.getIconData().catch(g=>{g.name!=="AbortError"&&this.onerror&&this.onerror(g)}),(t.has("ariaLabel")||t.has("ariaLabelledby"))&&(this.role=this.ariaLabel||this.ariaLabelledby?"img":null),(t.has("size")||t.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((r=this.iconProviderContext.value)==null?void 0:r.lengthUnit)&&(this.lengthUnitFromContext=(s=this.iconProviderContext.value)==null?void 0:s.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 _` ${this.iconData} `}};je.styles=[...q.styles,...Um],p([vt()],je.prototype,"iconData",2),p([vt()],je.prototype,"lengthUnitFromContext",2),p([vt()],je.prototype,"sizeFromContext",2),p([u({type:String,reflect:!0})],je.prototype,"name",2),p([u({type:Number})],je.prototype,"size",2),p([u({type:String,attribute:"length-unit"})],je.prototype,"lengthUnit",2),p([u({type:String,attribute:"aria-label"})],je.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],je.prototype,"ariaLabelledby",2),p([vt()],je.prototype,"abortController",2);var oc=je;oc.register(jm);var zy=oc;yo.register(ei);var Vy=yo;var Km=U`
451
451
  :host::part(text) {
452
452
  font-size: unset;
453
453
  font-weight: unset;
@@ -690,14 +690,14 @@
690
690
  text-decoration: var(--mds-font-apps-body-small-regular-text-decoration);
691
691
  text-transform: var(--mds-font-apps-body-small-regular-text-case);
692
692
  }
693
- `;var By=[B`
693
+ `;var By=[U`
694
694
  :host {
695
695
  --mdc-text-font-family: var(--mdc-themeprovider-font-family);
696
696
 
697
697
  display: block;
698
698
  font-family: var(--mdc-text-font-family);
699
699
  }
700
- `,jm],Km=By;var xa=z.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"},Ee={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 ls=class extends q{constructor(){super(...arguments);this.type=Ee.TYPE;this.tagname=Ee.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case mt.H1:return _`<h1 part=${Ee.CSS_PART_TEXT}><slot></slot></h1>`;case mt.H2:return _`<h2 part=${Ee.CSS_PART_TEXT}><slot></slot></h2>`;case mt.H3:return _`<h3 part=${Ee.CSS_PART_TEXT}><slot></slot></h3>`;case mt.H4:return _`<h4 part=${Ee.CSS_PART_TEXT}><slot></slot></h4>`;case mt.H5:return _`<h5 part=${Ee.CSS_PART_TEXT}><slot></slot></h5>`;case mt.H6:return _`<h6 part=${Ee.CSS_PART_TEXT}><slot></slot></h6>`;case mt.DIV:return _`<div part=${Ee.CSS_PART_TEXT}><slot></slot></div>`;case mt.SPAN:return _`<span part=${Ee.CSS_PART_TEXT}><slot></slot></span>`;case mt.SMALL:return _`<small part=${Ee.CSS_PART_TEXT}><slot></slot></small>`;case mt.P:default:return _`<p part=${Ee.CSS_PART_TEXT}><slot></slot></p>`}}};ls.styles=[...q.styles,...Km],p([u({attribute:"type",reflect:!0,type:String})],ls.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],ls.prototype,"tagname",2);var oc=ls;oc.register(xa);var Uy=oc;var tt=n=>n!=null?n:j;var ce=[];for(let n=0;n<256;++n)ce.push((n+256).toString(16).slice(1));function qm(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 sc,Hy=new Uint8Array(16);function ac(){if(!sc){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");sc=crypto.getRandomValues.bind(crypto)}return sc(Hy)}var Gy=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),nc={randomUUID:Gy};function Yy(n,o,t){var s,d,m;if(nc.randomUUID&&!o&&!n)return nc.randomUUID();n=n||{};let r=(m=(d=n.random)!=null?d:(s=n.rng)==null?void 0:s.call(n))!=null?m:ac();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[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]=r[b];return o}return qm(r)}var Te=Yy;var Xm=z.constructTagName("accordiongroup"),lc={SMALL:"small",LARGE:"large"},Wy={BORDERLESS:"borderless",CONTAINED:"contained",STACKED:"stacked"},Aa={SIZE:lc.SMALL,VARIANT:Wy.STACKED};var el=z.constructTagName("accordionbutton"),Sa={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},jy={DEFAULT:"default",BORDERLESS:"borderless"},Mi={EXPANDED:!1,SIZE:lc.SMALL,DATA_ARIA_LEVEL:3,VARIANT:jy.DEFAULT,ICON_NAME:Sa.ARROW_UP};var Ky=B`
700
+ `,Km],qm=By;var xa=z.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"},Ee={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 ls=class extends q{constructor(){super(...arguments);this.type=Ee.TYPE;this.tagname=Ee.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case mt.H1:return _`<h1 part=${Ee.CSS_PART_TEXT}><slot></slot></h1>`;case mt.H2:return _`<h2 part=${Ee.CSS_PART_TEXT}><slot></slot></h2>`;case mt.H3:return _`<h3 part=${Ee.CSS_PART_TEXT}><slot></slot></h3>`;case mt.H4:return _`<h4 part=${Ee.CSS_PART_TEXT}><slot></slot></h4>`;case mt.H5:return _`<h5 part=${Ee.CSS_PART_TEXT}><slot></slot></h5>`;case mt.H6:return _`<h6 part=${Ee.CSS_PART_TEXT}><slot></slot></h6>`;case mt.DIV:return _`<div part=${Ee.CSS_PART_TEXT}><slot></slot></div>`;case mt.SPAN:return _`<span part=${Ee.CSS_PART_TEXT}><slot></slot></span>`;case mt.SMALL:return _`<small part=${Ee.CSS_PART_TEXT}><slot></slot></small>`;case mt.P:default:return _`<p part=${Ee.CSS_PART_TEXT}><slot></slot></p>`}}};ls.styles=[...q.styles,...qm],p([u({attribute:"type",reflect:!0,type:String})],ls.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],ls.prototype,"tagname",2);var sc=ls;sc.register(xa);var Uy=sc;var tt=n=>n!=null?n:j;var ce=[];for(let n=0;n<256;++n)ce.push((n+256).toString(16).slice(1));function Xm(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 ac,Hy=new Uint8Array(16);function nc(){if(!ac){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");ac=crypto.getRandomValues.bind(crypto)}return ac(Hy)}var Gy=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lc={randomUUID:Gy};function Yy(n,o,t){var s,d,m;if(lc.randomUUID&&!o&&!n)return lc.randomUUID();n=n||{};let r=(m=(d=n.random)!=null?d:(s=n.rng)==null?void 0:s.call(n))!=null?m:nc();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[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 g=0;g<16;++g)o[t+g]=r[g];return o}return Xm(r)}var Te=Yy;var Zm=z.constructTagName("accordiongroup"),dc={SMALL:"small",LARGE:"large"},Wy={BORDERLESS:"borderless",CONTAINED:"contained",STACKED:"stacked"},Aa={SIZE:dc.SMALL,VARIANT:Wy.STACKED};var el=z.constructTagName("accordionbutton"),Sa={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},jy={DEFAULT:"default",BORDERLESS:"borderless"},Mi={EXPANDED:!1,SIZE:dc.SMALL,DATA_ARIA_LEVEL:3,VARIANT:jy.DEFAULT,ICON_NAME:Sa.ARROW_UP};var Ky=U`
701
701
  :host {
702
702
  --mdc-accordionbutton-border-color: var(--mds-color-theme-outline-secondary-normal);
703
703
  --mdc-accordionbutton-hover-color: var(--mds-color-theme-background-primary-hover);
@@ -814,7 +814,7 @@
814
814
  :host([variant='default']:not([expanded]))::part(header-section) {
815
815
  border-bottom: none;
816
816
  }
817
- `,Zm=[Ky,...At(!0)];var Pr=class extends Bt(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-${Te()}`;this.bodySectionId=`body-section-${Te()}`}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?_`<mdc-icon name="${t}" length-unit="rem" size="1"></mdc-icon>`:j}renderHeadingText(){return this.headerText?_`<mdc-text id="${this.headSectionId}" type="${st.BODY_LARGE_REGULAR}" tagname=${mt.SPAN}
817
+ `,Qm=[Ky,...At(!0)];var Pr=class extends Bt(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-${Te()}`;this.bodySectionId=`body-section-${Te()}`}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?_`<mdc-icon name="${t}" length-unit="rem" size="1"></mdc-icon>`:j}renderHeadingText(){return this.headerText?_`<mdc-text id="${this.headSectionId}" type="${st.BODY_LARGE_REGULAR}" tagname=${mt.SPAN}
818
818
  >${this.headerText}</mdc-text
819
819
  >`:j}renderHeader(){return _`
820
820
  <div
@@ -845,7 +845,7 @@
845
845
  role="${rt.REGION}"
846
846
  >
847
847
  <slot></slot>
848
- </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 _` ${this.renderHeader()} ${this.renderBody()} `}};Pr.styles=[...q.styles,...Zm],p([u({type:String,reflect:!0})],Pr.prototype,"size",2),p([u({type:String,reflect:!0})],Pr.prototype,"variant",2),p([u({type:Number,reflect:!0,attribute:"data-aria-level"})],Pr.prototype,"dataAriaLevel",2),p([u({type:Boolean,reflect:!0})],Pr.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Pr.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],Pr.prototype,"prefixIcon",2);var ds=Pr;var qy=B`
848
+ </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 _` ${this.renderHeader()} ${this.renderBody()} `}};Pr.styles=[...q.styles,...Qm],p([u({type:String,reflect:!0})],Pr.prototype,"size",2),p([u({type:String,reflect:!0})],Pr.prototype,"variant",2),p([u({type:Number,reflect:!0,attribute:"data-aria-level"})],Pr.prototype,"dataAriaLevel",2),p([u({type:Boolean,reflect:!0})],Pr.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Pr.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],Pr.prototype,"prefixIcon",2);var ds=Pr;var qy=U`
849
849
  :host::part(header-section) {
850
850
  display: flex;
851
851
  align-items: center;
@@ -859,7 +859,7 @@
859
859
  :host::part(trailing-header__button) {
860
860
  margin: 0.125rem;
861
861
  }
862
- `,Qm=[qy];var Pi=class extends ds{update(o){super.update(o),o.has("disabled")&&[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(t=>{this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled")})}renderHeader(){return _`
862
+ `,Jm=[qy];var Pi=class extends ds{update(o){super.update(o),o.has("disabled")&&[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(t=>{this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled")})}renderHeader(){return _`
863
863
  <div part="header-section">
864
864
  <div part="leading-header">
865
865
  ${this.renderIcon(this.prefixIcon)}
@@ -881,7 +881,7 @@
881
881
  ></mdc-button>
882
882
  </div>
883
883
  </div>
884
- `}};Pi.styles=[...ds.styles,...Qm],p([Pt({slot:"leading-controls"})],Pi.prototype,"leadingControlsSlot",2),p([Pt({slot:"trailing-controls"})],Pi.prototype,"trailingControlsSlot",2),p([u({type:String,attribute:"open-button-aria-label",reflect:!0})],Pi.prototype,"openButtonAriaLabel",2),p([u({type:String,attribute:"close-button-aria-label",reflect:!0})],Pi.prototype,"closeButtonAriaLabel",2);var dc=Pi;var rl=z.constructTagName("accordion");dc.register(rl);var Xy=dc;var Zy=B`
884
+ `}};Pi.styles=[...ds.styles,...Jm],p([Pt({slot:"leading-controls"})],Pi.prototype,"leadingControlsSlot",2),p([Pt({slot:"trailing-controls"})],Pi.prototype,"trailingControlsSlot",2),p([u({type:String,attribute:"open-button-aria-label",reflect:!0})],Pi.prototype,"openButtonAriaLabel",2),p([u({type:String,attribute:"close-button-aria-label",reflect:!0})],Pi.prototype,"closeButtonAriaLabel",2);var cc=Pi;var rl=z.constructTagName("accordion");cc.register(rl);var Xy=cc;var Zy=U`
885
885
  :host {
886
886
  --mdc-accordiongroup-border-color: var(--mds-color-theme-outline-secondary-normal);
887
887
 
@@ -925,7 +925,7 @@
925
925
  :host([variant='borderless']) ::slotted(mdc-accordionbutton[expanded]) {
926
926
  border-bottom: 1px solid var(--mdc-accordiongroup-border-color);
927
927
  }
928
- `,Jm=[Zy,...At()];var oi=class extends q{constructor(){super();this.size=Aa.SIZE;this.variant=Aa.VARIANT;this.allowMultiple=!1;this.addEventListener("shown",this.handleAccordionExpanded)}handleAccordionExpanded(t){this.allowMultiple||[...this.accordionItems,...this.accordionButtonItems].forEach(r=>{r!==t.target&&r.hasAttribute("expanded")&&r.toggleAttribute("expanded")})}setChildrenAccordionAttributes(t,r){[...this.accordionItems].forEach(s=>{s.setAttribute(t,r)}),[...this.accordionButtonItems].forEach(s=>{s.setAttribute(t,r)})}updated(t){super.updated(t),t.has("size")&&(this.size||(this.size=Aa.SIZE),this.setChildrenAccordionAttributes("size",this.size)),t.has("variant")&&(this.variant||(this.variant=Aa.VARIANT),this.setChildrenAccordionAttributes("variant",this.variant))}render(){return _` <slot></slot> `}};oi.styles=[...q.styles,...Jm],p([u({type:String,reflect:!0})],oi.prototype,"size",2),p([u({type:String,reflect:!0})],oi.prototype,"variant",2),p([u({type:Boolean,reflect:!0,attribute:"allow-multiple"})],oi.prototype,"allowMultiple",2),p([Pt({selector:rl})],oi.prototype,"accordionItems",2),p([Pt({selector:el})],oi.prototype,"accordionButtonItems",2);var cc=oi;cc.register(Xm);var Qy=cc;ds.register(el);var Jy=ds;var Wt=n=>{class o extends n{}return p([u({type:String,attribute:"icon-name"})],o.prototype,"iconName",2),o};var tE=B`
928
+ `,tu=[Zy,...At()];var oi=class extends q{constructor(){super();this.size=Aa.SIZE;this.variant=Aa.VARIANT;this.allowMultiple=!1;this.addEventListener("shown",this.handleAccordionExpanded)}handleAccordionExpanded(t){this.allowMultiple||[...this.accordionItems,...this.accordionButtonItems].forEach(r=>{r!==t.target&&r.hasAttribute("expanded")&&r.toggleAttribute("expanded")})}setChildrenAccordionAttributes(t,r){[...this.accordionItems].forEach(s=>{s.setAttribute(t,r)}),[...this.accordionButtonItems].forEach(s=>{s.setAttribute(t,r)})}updated(t){super.updated(t),t.has("size")&&(this.size||(this.size=Aa.SIZE),this.setChildrenAccordionAttributes("size",this.size)),t.has("variant")&&(this.variant||(this.variant=Aa.VARIANT),this.setChildrenAccordionAttributes("variant",this.variant))}render(){return _` <slot></slot> `}};oi.styles=[...q.styles,...tu],p([u({type:String,reflect:!0})],oi.prototype,"size",2),p([u({type:String,reflect:!0})],oi.prototype,"variant",2),p([u({type:Boolean,reflect:!0,attribute:"allow-multiple"})],oi.prototype,"allowMultiple",2),p([Pt({selector:rl})],oi.prototype,"accordionItems",2),p([Pt({selector:el})],oi.prototype,"accordionButtonItems",2);var hc=oi;hc.register(Zm);var Qy=hc;ds.register(el);var Jy=ds;var Wt=n=>{class o extends n{}return p([u({type:String,attribute:"icon-name"})],o.prototype,"iconName",2),o};var tE=U`
929
929
  :host {
930
930
  height: 1.5rem;
931
931
  gap: 0.25rem;
@@ -1031,16 +1031,16 @@
1031
1031
  :host([variant='informational']:active) {
1032
1032
  --mdc-chip-background-color: var(--mds-color-theme-background-alert-theme-active);
1033
1033
  }
1034
- `,tu=[bt,tE,...At()];var eu=z.constructTagName("alertchip"),Eo={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},cs={VARIANT:Eo.NEUTRAL,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:vo[24],ROLE:"button"};var ru=n=>({[Eo.ERROR]:"error-legacy-badge-filled",[Eo.WARNING]:"warning-badge-filled",[Eo.SUCCESS]:"check-circle-badge-filled",[Eo.INFORMATIONAL]:"info-badge-filled",[Eo.NEUTRAL]:"dnd-presence-badge-filled"})[n];var hs=class extends Wt(ie){constructor(){super(...arguments);this.variant=cs.VARIANT;this.label=""}connectedCallback(){super.connectedCallback(),this.disabled=void 0,this.softDisabled=void 0,this.active=void 0,this.size=cs.SIZE,this.role=cs.ROLE}render(){return _`
1035
- <mdc-icon part="icon" name="${this.iconName||ru(this.variant)}" length-unit="rem" size="1"></mdc-icon>
1034
+ `,eu=[bt,tE,...At()];var ru=z.constructTagName("alertchip"),Eo={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},cs={VARIANT:Eo.NEUTRAL,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:vo[24],ROLE:"button"};var iu=n=>({[Eo.ERROR]:"error-legacy-badge-filled",[Eo.WARNING]:"warning-badge-filled",[Eo.SUCCESS]:"check-circle-badge-filled",[Eo.INFORMATIONAL]:"info-badge-filled",[Eo.NEUTRAL]:"dnd-presence-badge-filled"})[n];var hs=class extends Wt(ie){constructor(){super(...arguments);this.variant=cs.VARIANT;this.label=""}connectedCallback(){super.connectedCallback(),this.disabled=void 0,this.softDisabled=void 0,this.active=void 0,this.size=cs.SIZE,this.role=cs.ROLE}render(){return _`
1035
+ <mdc-icon part="icon" name="${this.iconName||iu(this.variant)}" length-unit="rem" size="1"></mdc-icon>
1036
1036
  ${this.label?_`<mdc-text part="label" type="${cs.TEXT_TYPE}" tagname="${cs.TAG_NAME}"
1037
1037
  >${this.label}</mdc-text
1038
1038
  >`:j}
1039
- `}};hs.styles=[...q.styles,...tu],p([u({type:String})],hs.prototype,"variant",2),p([u({type:String})],hs.prototype,"label",2);var hc=hs;hc.register(eu);var eE=hc;var{I:rE}=_m;var il=n=>n.strings===void 0,iu=()=>document.createComment(""),ps=(n,o,t)=>{var d;let r=n._$AA.parentNode,s=o===void 0?n._$AB:o._$AA;if(t===void 0){let m=r.insertBefore(iu(),s),b=r.insertBefore(iu(),s);t=new rE(m,b,n,n.options)}else{let m=t._$AB.nextSibling,b=t._$AM,x=b!==n;if(x){let L;(d=t._$AQ)==null||d.call(t,n),t._$AM=n,t._$AP!==void 0&&(L=n._$AU)!==b._$AU&&t._$AP(L)}if(m!==s||x){let L=t._$AA;for(;L!==m;){let U=L.nextSibling;r.insertBefore(L,s),L=U}}}return t},Di=(n,o,t=n)=>(n._$AI(o,t),n),iE={},ol=(n,o=iE)=>n._$AH=o,ou=n=>n._$AH,sl=n=>{var r;(r=n._$AP)==null||r.call(n,!1,!0);let o=n._$AA,t=n._$AB.nextSibling;for(;o!==t;){let s=o.nextSibling;o.remove(),o=s}};var Ke={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},si=n=>(...o)=>({_$litDirective$:n,values:o}),Dr=class{constructor(o){}get _$AU(){return this._$AM._$AU}_$AT(o,t,r){this.t=o,this._$AM=t,this.i=r}_$AS(o,t){return this.update(o,t)}update(o,t){return this.render(...t)}};var Ia=(n,o)=>{var r;let t=n._$AN;if(t===void 0)return!1;for(let s of t)(r=s._$AO)==null||r.call(s,o,!1),Ia(s,o);return!0},al=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)},su=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),aE(o)}};function oE(n){this._$AN!==void 0?(al(this),this._$AM=n,su(this)):this._$AM=n}function sE(n,o=!1,t=0){let r=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(o)if(Array.isArray(r))for(let d=t;d<r.length;d++)Ia(r[d],!1),al(r[d]);else r!=null&&(Ia(r,!1),al(r));else Ia(this,n)}var aE=n=>{var o,t;n.type==Ke.CHILD&&((o=n._$AP)!=null||(n._$AP=sE),(t=n._$AQ)!=null||(n._$AQ=oE))},nl=class extends Dr{constructor(){super(...arguments),this._$AN=void 0}_$AT(o,t,r){super._$AT(o,t,r),su(this),this.isConnected=o._$AU}_$AO(o,t=!0){var r,s;o!==this.isConnected&&(this.isConnected=o,o?(r=this.reconnected)==null||r.call(this):(s=this.disconnected)==null||s.call(this)),t&&(Ia(this,o),al(this))}setValue(o){if(il(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 au=()=>new mc,mc=class{},pc=new WeakMap,nu=si(class extends nl{render(n){return j}update(n,[o]){var r;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=(r=n.options)==null?void 0:r.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,r=pc.get(t);r===void 0&&(r=new WeakMap,pc.set(t,r)),r.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),r.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=pc.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 hu=by(lu());var uc={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 nE=[bt,B`
1039
+ `}};hs.styles=[...q.styles,...eu],p([u({type:String})],hs.prototype,"variant",2),p([u({type:String})],hs.prototype,"label",2);var pc=hs;pc.register(ru);var eE=pc;var{I:rE}=Cm;var il=n=>n.strings===void 0,ou=()=>document.createComment(""),ps=(n,o,t)=>{var d;let r=n._$AA.parentNode,s=o===void 0?n._$AB:o._$AA;if(t===void 0){let m=r.insertBefore(ou(),s),g=r.insertBefore(ou(),s);t=new rE(m,g,n,n.options)}else{let m=t._$AB.nextSibling,g=t._$AM,x=g!==n;if(x){let L;(d=t._$AQ)==null||d.call(t,n),t._$AM=n,t._$AP!==void 0&&(L=n._$AU)!==g._$AU&&t._$AP(L)}if(m!==s||x){let L=t._$AA;for(;L!==m;){let B=L.nextSibling;r.insertBefore(L,s),L=B}}}return t},Di=(n,o,t=n)=>(n._$AI(o,t),n),iE={},ol=(n,o=iE)=>n._$AH=o,su=n=>n._$AH,sl=n=>{var r;(r=n._$AP)==null||r.call(n,!1,!0);let o=n._$AA,t=n._$AB.nextSibling;for(;o!==t;){let s=o.nextSibling;o.remove(),o=s}};var Ke={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},si=n=>(...o)=>({_$litDirective$:n,values:o}),Dr=class{constructor(o){}get _$AU(){return this._$AM._$AU}_$AT(o,t,r){this.t=o,this._$AM=t,this.i=r}_$AS(o,t){return this.update(o,t)}update(o,t){return this.render(...t)}};var Ia=(n,o)=>{var r;let t=n._$AN;if(t===void 0)return!1;for(let s of t)(r=s._$AO)==null||r.call(s,o,!1),Ia(s,o);return!0},al=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)},au=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),aE(o)}};function oE(n){this._$AN!==void 0?(al(this),this._$AM=n,au(this)):this._$AM=n}function sE(n,o=!1,t=0){let r=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(o)if(Array.isArray(r))for(let d=t;d<r.length;d++)Ia(r[d],!1),al(r[d]);else r!=null&&(Ia(r,!1),al(r));else Ia(this,n)}var aE=n=>{var o,t;n.type==Ke.CHILD&&((o=n._$AP)!=null||(n._$AP=sE),(t=n._$AQ)!=null||(n._$AQ=oE))},nl=class extends Dr{constructor(){super(...arguments),this._$AN=void 0}_$AT(o,t,r){super._$AT(o,t,r),au(this),this.isConnected=o._$AU}_$AO(o,t=!0){var r,s;o!==this.isConnected&&(this.isConnected=o,o?(r=this.reconnected)==null||r.call(this):(s=this.disconnected)==null||s.call(this)),t&&(Ia(this,o),al(this))}setValue(o){if(il(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 nu=()=>new uc,uc=class{},mc=new WeakMap,lu=si(class extends nl{render(n){return j}update(n,[o]){var r;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=(r=n.options)==null?void 0:r.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,r=mc.get(t);r===void 0&&(r=new WeakMap,mc.set(t,r)),r.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),r.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=mc.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 pu=by(du());var fc={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 nE=[bt,U`
1040
1040
  :host svg {
1041
1041
  display: block;
1042
1042
  }
1043
- `],du=nE;var cu=z.constructTagName("animation"),dl={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var ai=class extends q{constructor(){super(...arguments);this.name=dl.NAME;this.loop=dl.LOOP;this.autoplay=dl.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledby=null;this.containerRef=au();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=hu.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 r=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(r)}getAnimationData(){this.name&&uc[this.name]?import(`@momentum-design/animations/dist/lottie${uc[this.name].replace(/^\.\/lottie/,"")}`).then(r=>this.onLoadSuccessHandler(r.default)).catch(r=>this.onLoadFailHandler(r)):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?rt.IMG:null)}disconnectedCallback(){super.disconnectedCallback(),this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy(),this.lottieInstance=void 0)}render(){return _`<div aria-hidden="true" ${nu(this.containerRef)}></div>`}};ai.styles=[...q.styles,...du],p([u({type:String,reflect:!0})],ai.prototype,"name",2),p([u({type:String,reflect:!0})],ai.prototype,"loop",2),p([u({type:Boolean,reflect:!0})],ai.prototype,"autoplay",2),p([u({type:String,attribute:"aria-label"})],ai.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],ai.prototype,"ariaLabelledby",2);var fc=ai;fc.register(cu);var lE=fc;var ms=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)))}}};ms.stack=new Set,ms.currentKeydownListener=null;var cl=n=>{class o extends n{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(s){this.isFocusTrapActivated=s}activateFocusTrap(){this.setIsFocusTrapActivated(!0),ms.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),ms.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(s){return s.getClientRects().length===0}hasZeroDimensions(s){let{width:d,height:m}=s.getBoundingClientRect(),{offsetWidth:b,offsetHeight:x}=s;return b+x+m+d===0}isNotVisible(s){return this.hasZeroDimensions(s)||this.hasNoClientRects(s)}hasHiddenStyle(s){let{display:d,opacity:m,visibility:b}=s.style;return d==="none"||m==="0"||b==="hidden"||b==="collapse"}hasComputedHidden(s){let d=getComputedStyle(s);return d.visibility==="hidden"||d.height==="0"||d.display==="none"}isHidden(s){return s.hasAttribute("hidden")||s.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(s)||this.isNotVisible(s)||this.hasComputedHidden(s)}isDisabled(s){return s.disabled}isNotTabbable(s){return s.getAttribute("tabindex")==="-1"}isInteractiveElement(s){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(s.tagName)||s instanceof HTMLAnchorElement&&s.hasAttribute("href")||s instanceof HTMLInputElement&&s.type!=="hidden"||(s instanceof HTMLAudioElement||s instanceof HTMLVideoElement)&&s.hasAttribute("controls")||(s instanceof HTMLImageElement||s instanceof HTMLObjectElement)&&s.hasAttribute("usemap")||s.hasAttribute("tabindex")&&s.tabIndex>-1)}isFocusable(s){return this.isHidden(s)||this.isNotTabbable(s)||this.isDisabled(s)?!1:this.isInteractiveElement(s)}findFocusable(s,d=new Set){s instanceof HTMLElement&&this.isFocusable(s)&&d.add(s);let m=[];return s.children.length?m=Array.from(s.children):s instanceof HTMLElement&&s.shadowRoot&&(m=Array.from(s.shadowRoot.children)),m.forEach(b=>{let x=b;this.isFocusable(x)&&d.add(x),x.shadowRoot?this.findFocusable(x.shadowRoot,d):x.tagName==="SLOT"?x.assignedElements({flatten:!0}).forEach(U=>{U instanceof HTMLElement&&this.findFocusable(U,d)}):this.findFocusable(x,d)}),[...d]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(s=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[s]&&(this.focusTrapIndex=s,this.focusableElements[s].focus({preventScroll:!0}))}calculateNextIndex(s,d){let{length:m}=this.focusableElements;if(s===-1)return d>0?0:m-1;let b=s+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 s=document.activeElement||document.body;for(;s instanceof HTMLElement&&((d=s.shadowRoot)!=null&&d.activeElement);)s=s.shadowRoot.activeElement;return s||document.body}findElement(s){return this.focusableElements.findIndex(d=>this.isEqualFocusNode(s,d))}isEqualFocusNode(s,d){return s.nodeType>=0?d.isEqualNode(s)&&d===s:!1}trapFocus(s){if(this.setFocusableElements(),this.focusableElements.length===0)return;let d=this.getDeepActiveElement(),m=this.findElement(d);s.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let x=this.focusableElements[this.focusTrapIndex];x.tagName!=="IFRAME"&&x&&(s.preventDefault(),x.focus())}handleTabKeydown(s){this.isFocusTrapActivated&&s.key==="Tab"&&this.trapFocus(s)}}return p([u({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],o.prototype,"shouldFocusTrapWrap",2),o};var hl=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 pl=z.constructTagName("link"),ml={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},ul={LARGE:1,MIDSIZE:.875,SMALL:.75},pu={LINK_SIZE:ml.LARGE};var mu=z.constructTagName("card"),vc={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},dE={HORIZONTAL:"horizontal",VERTICAL:"vertical"},oe={VARIANT:vc.BORDER,ORIENTATION:dE.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:ei};var us=n=>{class o extends n{updateFooterButtonColors(r){let s=[...this.footerButtonPrimary||[],...this.footerButtonSecondary||[]];s==null||s.forEach(d=>{r===vc.PROMOTIONAL?d.setAttribute("color",go.PROMOTIONAL):d.setAttribute("color",go.DEFAULT)})}handleFooterSlot(r,s){var m,b,x;let d=[];r===oe.LINK&&((m=this.footerLink)!=null&&m.length)?d=this.footerLink:r===oe.BUTTON&&s===Ft.PRIMARY&&((b=this.footerButtonPrimary)!=null&&b.length)?d=this.footerButtonPrimary:r===oe.BUTTON&&s===Ft.SECONDARY&&((x=this.footerButtonSecondary)!=null&&x.length)&&(d=this.footerButtonSecondary);for(let L=1;L<d.length;L+=1)d[L].remove();d.forEach(L=>{L.matches(r)||L.remove(),s&&L.setAttribute("variant",s)})}renderFooter(){return _` <slot name="footer">
1043
+ `],cu=nE;var hu=z.constructTagName("animation"),dl={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var ai=class extends q{constructor(){super(...arguments);this.name=dl.NAME;this.loop=dl.LOOP;this.autoplay=dl.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledby=null;this.containerRef=nu();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=pu.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 r=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(r)}getAnimationData(){this.name&&fc[this.name]?import(`@momentum-design/animations/dist/lottie${fc[this.name].replace(/^\.\/lottie/,"")}`).then(r=>this.onLoadSuccessHandler(r.default)).catch(r=>this.onLoadFailHandler(r)):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?rt.IMG:null)}disconnectedCallback(){super.disconnectedCallback(),this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy(),this.lottieInstance=void 0)}render(){return _`<div aria-hidden="true" ${lu(this.containerRef)}></div>`}};ai.styles=[...q.styles,...cu],p([u({type:String,reflect:!0})],ai.prototype,"name",2),p([u({type:String,reflect:!0})],ai.prototype,"loop",2),p([u({type:Boolean,reflect:!0})],ai.prototype,"autoplay",2),p([u({type:String,attribute:"aria-label"})],ai.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],ai.prototype,"ariaLabelledby",2);var vc=ai;vc.register(hu);var lE=vc;var ms=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)))}}};ms.stack=new Set,ms.currentKeydownListener=null;var cl=n=>{class o extends n{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(s){this.isFocusTrapActivated=s}activateFocusTrap(){this.setIsFocusTrapActivated(!0),ms.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),ms.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(s){return s.getClientRects().length===0}hasZeroDimensions(s){let{width:d,height:m}=s.getBoundingClientRect(),{offsetWidth:g,offsetHeight:x}=s;return g+x+m+d===0}isNotVisible(s){return this.hasZeroDimensions(s)||this.hasNoClientRects(s)}hasHiddenStyle(s){let{display:d,opacity:m,visibility:g}=s.style;return d==="none"||m==="0"||g==="hidden"||g==="collapse"}hasComputedHidden(s){let d=getComputedStyle(s);return d.visibility==="hidden"||d.height==="0"||d.display==="none"}isHidden(s){return s.hasAttribute("hidden")||s.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(s)||this.isNotVisible(s)||this.hasComputedHidden(s)}isDisabled(s){return s.disabled}isNotTabbable(s){return s.getAttribute("tabindex")==="-1"}isInteractiveElement(s){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(s.tagName)||s instanceof HTMLAnchorElement&&s.hasAttribute("href")||s instanceof HTMLInputElement&&s.type!=="hidden"||(s instanceof HTMLAudioElement||s instanceof HTMLVideoElement)&&s.hasAttribute("controls")||(s instanceof HTMLImageElement||s instanceof HTMLObjectElement)&&s.hasAttribute("usemap")||s.hasAttribute("tabindex")&&s.tabIndex>-1)}isFocusable(s){return this.isHidden(s)||this.isNotTabbable(s)||this.isDisabled(s)?!1:this.isInteractiveElement(s)}findFocusable(s,d=new Set){s instanceof HTMLElement&&this.isFocusable(s)&&d.add(s);let m=[];return s.children.length?m=Array.from(s.children):s instanceof HTMLElement&&s.shadowRoot&&(m=Array.from(s.shadowRoot.children)),m.forEach(g=>{let x=g;this.isFocusable(x)&&d.add(x),x.shadowRoot?this.findFocusable(x.shadowRoot,d):x.tagName==="SLOT"?x.assignedElements({flatten:!0}).forEach(B=>{B instanceof HTMLElement&&this.findFocusable(B,d)}):this.findFocusable(x,d)}),[...d]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(s=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[s]&&(this.focusTrapIndex=s,this.focusableElements[s].focus({preventScroll:!0}))}calculateNextIndex(s,d){let{length:m}=this.focusableElements;if(s===-1)return d>0?0:m-1;let g=s+d;return this.shouldFocusTrapWrap?(g<0&&(g=m-1),g>=m&&(g=0)):(g<0&&(g=0),g>=m&&(g=m-1)),g}getDeepActiveElement(){var d;let s=document.activeElement||document.body;for(;s instanceof HTMLElement&&((d=s.shadowRoot)!=null&&d.activeElement);)s=s.shadowRoot.activeElement;return s||document.body}findElement(s){return this.focusableElements.findIndex(d=>this.isEqualFocusNode(s,d))}isEqualFocusNode(s,d){return s.nodeType>=0?d.isEqualNode(s)&&d===s:!1}trapFocus(s){if(this.setFocusableElements(),this.focusableElements.length===0)return;let d=this.getDeepActiveElement(),m=this.findElement(d);s.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let x=this.focusableElements[this.focusTrapIndex];x.tagName!=="IFRAME"&&x&&(s.preventDefault(),x.focus())}handleTabKeydown(s){this.isFocusTrapActivated&&s.key==="Tab"&&this.trapFocus(s)}}return p([u({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],o.prototype,"shouldFocusTrapWrap",2),o};var hl=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 pl=z.constructTagName("link"),ml={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},ul={LARGE:1,MIDSIZE:.875,SMALL:.75},mu={LINK_SIZE:ml.LARGE};var uu=z.constructTagName("card"),gc={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},dE={HORIZONTAL:"horizontal",VERTICAL:"vertical"},oe={VARIANT:gc.BORDER,ORIENTATION:dE.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:ei};var us=n=>{class o extends n{updateFooterButtonColors(r){let s=[...this.footerButtonPrimary||[],...this.footerButtonSecondary||[]];s==null||s.forEach(d=>{r===gc.PROMOTIONAL?d.setAttribute("color",go.PROMOTIONAL):d.setAttribute("color",go.DEFAULT)})}handleFooterSlot(r,s){var m,g,x;let d=[];r===oe.LINK&&((m=this.footerLink)!=null&&m.length)?d=this.footerLink:r===oe.BUTTON&&s===Ft.PRIMARY&&((g=this.footerButtonPrimary)!=null&&g.length)?d=this.footerButtonPrimary:r===oe.BUTTON&&s===Ft.SECONDARY&&((x=this.footerButtonSecondary)!=null&&x.length)&&(d=this.footerButtonSecondary);for(let L=1;L<d.length;L+=1)d[L].remove();d.forEach(L=>{L.matches(r)||L.remove(),s&&L.setAttribute("variant",s)})}renderFooter(){return _` <slot name="footer">
1044
1044
  <div part="footer">
1045
1045
  <slot name="footer-link" @slotchange=${()=>this.handleFooterSlot(oe.LINK)}></slot>
1046
1046
  <slot
@@ -1062,7 +1062,7 @@
1062
1062
  background: ${this.isBackdropInvisible?"transparent":"var(--mds-color-theme-common-overlays-secondary-normal)"};
1063
1063
  z-index: ${this.zIndex-1};
1064
1064
  }
1065
- `,d.appendChild(m);let x=document.getElementById(this.backdropAppendTo)||this.parentElement;x==null||x.appendChild(d),this.backdropElement=d}removeBackdrop(){this.backdropElement&&(this.backdropElement.remove(),this.backdropElement=null)}keepElementAboveBackdrop(s){s&&(this.elementOriginalStyle={zIndex:s.style.zIndex,position:s.style.position},s.style.zIndex=`${this.zIndex}`,["fixed","absolute"].includes(window.getComputedStyle(s).position)||(s.style.position="relative"))}moveElementBackAfterBackdropRemoval(s){!s||!this.elementOriginalStyle||(s.style.zIndex=this.elementOriginalStyle.zIndex,s.style.position=this.elementOriginalStyle.position,this.elementOriginalStyle=void 0)}}return o};var uu=z.constructTagName("dialog"),gc={DEFAULT:"default",PROMOTIONAL:"promotional"},ar={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:gc.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var Fi=class{static dispatchDialogEvent(o,t,r=!0){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:r}))}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 cE=B`
1065
+ `,d.appendChild(m);let x=document.getElementById(this.backdropAppendTo)||this.parentElement;x==null||x.appendChild(d),this.backdropElement=d}removeBackdrop(){this.backdropElement&&(this.backdropElement.remove(),this.backdropElement=null)}keepElementAboveBackdrop(s){s&&(this.elementOriginalStyle={zIndex:s.style.zIndex,position:s.style.position},s.style.zIndex=`${this.zIndex}`,["fixed","absolute"].includes(window.getComputedStyle(s).position)||(s.style.position="relative"))}moveElementBackAfterBackdropRemoval(s){!s||!this.elementOriginalStyle||(s.style.zIndex=this.elementOriginalStyle.zIndex,s.style.position=this.elementOriginalStyle.position,this.elementOriginalStyle=void 0)}}return o};var fu=z.constructTagName("dialog"),bc={DEFAULT:"default",PROMOTIONAL:"promotional"},ar={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:bc.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var Fi=class{static dispatchDialogEvent(o,t,r=!0){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:r}))}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 cE=U`
1066
1066
  :host {
1067
1067
  --mdc-dialog-primary-background-color: var(--mds-color-theme-background-solid-primary-normal);
1068
1068
  --mdc-dialog-border-color: var(--mds-color-theme-outline-secondary-normal);
@@ -1205,7 +1205,7 @@
1205
1205
  mdc-text::part(text) {
1206
1206
  margin: 0;
1207
1207
  }
1208
- `,fu=[cE];var jt=class extends fl(hl(cl(us(q)))){constructor(){super(...arguments);this.id="";this.visible=ar.VISIBLE;this.zIndex=ar.Z_INDEX;this.size=ar.SIZE;this.variant=ar.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedby=null;this.ariaDescription=null;this.headerTagName=ar.HEADER_TAG_NAME;this.descriptionTagName=ar.DESCRIPTION_TAG_NAME;this.role=ar.ROLE;this.disableAriaHasPopup=ar.DISABLE_ARIA_HAS_POPUP;this.focusTrap=ar.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,r;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),this.removeBackdrop(),(t=this.triggerElement)==null||t.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(r=this.deactivateFocusTrap)==null||r.call(this),this.focusBackToTrigger(),Fi.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(),Fi.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 r=t.get("visible");await this.isOpenUpdated(r,this.visible)}t.has("zIndex")&&(this.zIndex===null&&(this.zIndex=ar.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,r;this.disableAriaHasPopup||(r=this.triggerElement)==null||r.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(){Fi.onCloseDialog(this,!1)}async isOpenUpdated(t,r){var s,d,m,b,x;t!==r&&(r&&!t?(this.lastActiveElement=document.activeElement,this.removeBackdrop(),this.createBackdrop("dialog"),this.activatePreventScroll(),await this.updateComplete,this.focusTrap&&((s=this.activateFocusTrap)==null||s.call(this)),(d=this.setInitialFocus)==null||d.call(this),(m=this.triggerElement)==null||m.setAttribute("aria-expanded","true"),Fi.onShowDialog(this)):!r&&t&&(this.removeBackdrop(),(b=this.triggerElement)==null||b.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(x=this.deactivateFocusTrap)==null||x.call(this),this.focusBackToTrigger(),Fi.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}renderHeader(){return this.headerText?_` <div part="header-section">
1208
+ `,vu=[cE];var jt=class extends fl(hl(cl(us(q)))){constructor(){super(...arguments);this.id="";this.visible=ar.VISIBLE;this.zIndex=ar.Z_INDEX;this.size=ar.SIZE;this.variant=ar.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedby=null;this.ariaDescription=null;this.headerTagName=ar.HEADER_TAG_NAME;this.descriptionTagName=ar.DESCRIPTION_TAG_NAME;this.role=ar.ROLE;this.disableAriaHasPopup=ar.DISABLE_ARIA_HAS_POPUP;this.focusTrap=ar.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,r;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),this.removeBackdrop(),(t=this.triggerElement)==null||t.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(r=this.deactivateFocusTrap)==null||r.call(this),this.focusBackToTrigger(),Fi.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(),Fi.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 r=t.get("visible");await this.isOpenUpdated(r,this.visible)}t.has("zIndex")&&(this.zIndex===null&&(this.zIndex=ar.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,r;this.disableAriaHasPopup||(r=this.triggerElement)==null||r.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(){Fi.onCloseDialog(this,!1)}async isOpenUpdated(t,r){var s,d,m,g,x;t!==r&&(r&&!t?(this.lastActiveElement=document.activeElement,this.removeBackdrop(),this.createBackdrop("dialog"),this.activatePreventScroll(),await this.updateComplete,this.focusTrap&&((s=this.activateFocusTrap)==null||s.call(this)),(d=this.setInitialFocus)==null||d.call(this),(m=this.triggerElement)==null||m.setAttribute("aria-expanded","true"),Fi.onShowDialog(this)):!r&&t&&(this.removeBackdrop(),(g=this.triggerElement)==null||g.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(x=this.deactivateFocusTrap)==null||x.call(this),this.focusBackToTrigger(),Fi.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}renderHeader(){return this.headerText?_` <div part="header-section">
1209
1209
  <div part="header">
1210
1210
  <slot name="header-prefix"></slot>
1211
1211
  <mdc-text
@@ -1236,7 +1236,7 @@
1236
1236
  @click="${this.closeDialog}"
1237
1237
  ></mdc-button>
1238
1238
  ${this.renderBody()} ${this.renderFooter()}
1239
- `}};jt.styles=[...q.styles,...fu],p([u({type:String,reflect:!0})],jt.prototype,"id",2),p([u({type:String,reflect:!0})],jt.prototype,"triggerId",2),p([u({type:Boolean,reflect:!0})],jt.prototype,"visible",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],jt.prototype,"zIndex",2),p([u({type:String,reflect:!0})],jt.prototype,"size",2),p([u({type:String,reflect:!0})],jt.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],jt.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],jt.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],jt.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],jt.prototype,"ariaDescribedby",2),p([u({type:String,reflect:!0,attribute:"aria-description"})],jt.prototype,"ariaDescription",2),p([u({type:String,reflect:!0,attribute:"header-text"})],jt.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"description-text"})],jt.prototype,"descriptionText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],jt.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"description-tag-name"})],jt.prototype,"descriptionTagName",2),p([u({type:String,reflect:!0})],jt.prototype,"role",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],jt.prototype,"disableAriaHasPopup",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],jt.prototype,"focusTrap",2);var fs=jt;var hE=B`
1239
+ `}};jt.styles=[...q.styles,...vu],p([u({type:String,reflect:!0})],jt.prototype,"id",2),p([u({type:String,reflect:!0})],jt.prototype,"triggerId",2),p([u({type:Boolean,reflect:!0})],jt.prototype,"visible",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],jt.prototype,"zIndex",2),p([u({type:String,reflect:!0})],jt.prototype,"size",2),p([u({type:String,reflect:!0})],jt.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],jt.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],jt.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],jt.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],jt.prototype,"ariaDescribedby",2),p([u({type:String,reflect:!0,attribute:"aria-description"})],jt.prototype,"ariaDescription",2),p([u({type:String,reflect:!0,attribute:"header-text"})],jt.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"description-text"})],jt.prototype,"descriptionText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],jt.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"description-tag-name"})],jt.prototype,"descriptionTagName",2),p([u({type:String,reflect:!0})],jt.prototype,"role",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],jt.prototype,"disableAriaHasPopup",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],jt.prototype,"focusTrap",2);var fs=jt;var hE=U`
1240
1240
  :host {
1241
1241
  --mdc-announcementdialog-illustration-background-color: var(--mds-color-theme-background-solid-secondary-normal);
1242
1242
 
@@ -1285,7 +1285,7 @@
1285
1285
  margin-inline-end: 0;
1286
1286
  }
1287
1287
  }
1288
- `,vu=[hE];var gu=z.constructTagName("announcementdialog");var bu={SIZE:"medium"};var vs=class extends fs{constructor(){super(...arguments);this.size=bu.SIZE}connectedCallback(){super.connectedCallback(),this.variant=gc.DEFAULT}renderHeader(){return _`${j}`}renderBody(){return _`
1288
+ `,gu=[hE];var bu=z.constructTagName("announcementdialog");var yu={SIZE:"medium"};var vs=class extends fs{constructor(){super(...arguments);this.size=yu.SIZE}connectedCallback(){super.connectedCallback(),this.variant=bc.DEFAULT}renderHeader(){return _`${j}`}renderBody(){return _`
1289
1289
  <div part="body">
1290
1290
  <div part="illustration-container">
1291
1291
  <slot name="illustration-container">
@@ -1305,7 +1305,7 @@
1305
1305
  </slot>
1306
1306
  </div>
1307
1307
  </div>
1308
- `}};vs.styles=[...fs.styles,...vu],p([u({type:String,reflect:!0})],vs.prototype,"illustration",2),p([u({type:String,reflect:!0})],vs.prototype,"size",2);var bc=vs;var vl=z.constructTagName("illustrationprovider"),yu=["svg"],Ca={FILE_EXTENSION:"svg",ILLUSTRATION_SET:"momentum-illustrations"};var gl=class{};gl.context=vl;var bl=gl;var $i=class extends Fe{constructor(){super({context:bl.context,initialValue:new bl});this.illustrationSet=Ca.ILLUSTRATION_SET;this.fileExtension=Ca.FILE_EXTENSION}static get Context(){return bl.context}updateValuesInContext(){this.fileExtension&&yu.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=Ca.FILE_EXTENSION,this.context.value.fileExtension=Ca.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})],$i.prototype,"illustrationSet",2),p([u({type:String})],$i.prototype,"url",2),p([u({type:String,attribute:"file-extension",reflect:!0})],$i.prototype,"fileExtension",2),p([u({type:String,attribute:"cache-strategy"})],$i.prototype,"cacheStrategy",2),p([u({type:String,attribute:"cache-name"})],$i.prototype,"cacheName",2);var ka=$i;var pE=[bt,B`
1308
+ `}};vs.styles=[...fs.styles,...gu],p([u({type:String,reflect:!0})],vs.prototype,"illustration",2),p([u({type:String,reflect:!0})],vs.prototype,"size",2);var yc=vs;var vl=z.constructTagName("illustrationprovider"),Eu=["svg"],Ca={FILE_EXTENSION:"svg",ILLUSTRATION_SET:"momentum-illustrations"};var gl=class{};gl.context=vl;var bl=gl;var $i=class extends Fe{constructor(){super({context:bl.context,initialValue:new bl});this.illustrationSet=Ca.ILLUSTRATION_SET;this.fileExtension=Ca.FILE_EXTENSION}static get Context(){return bl.context}updateValuesInContext(){this.fileExtension&&Eu.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=Ca.FILE_EXTENSION,this.context.value.fileExtension=Ca.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})],$i.prototype,"illustrationSet",2),p([u({type:String})],$i.prototype,"url",2),p([u({type:String,attribute:"file-extension",reflect:!0})],$i.prototype,"fileExtension",2),p([u({type:String,attribute:"cache-strategy"})],$i.prototype,"cacheStrategy",2),p([u({type:String,attribute:"cache-name"})],$i.prototype,"cacheName",2);var ka=$i;var pE=[bt,U`
1309
1309
  :host {
1310
1310
  --mdc-illustration-size: auto;
1311
1311
  }
@@ -1313,7 +1313,7 @@
1313
1313
  height: var(--mdc-illustration-size);
1314
1314
  width: var(--mdc-illustration-size);
1315
1315
  }
1316
- `],Eu=pE;var Tu=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the illustration!");return o}),xu=async({url:n,name:o,fileExtension:t,cacheStrategy:r,cacheName:s,renewSignal:d})=>{let m=d(),b=new Request(`${n}/${o}.${t}`,{signal:m});return!s||!r||!["in-memory-cache","web-cache-api"].includes(r)?Tu(b).then(x=>x.text()):tl(s,r).then(x=>x.get(b).then(L=>L||Tu(b.clone()).then(U=>{var K;return U.status<400&&U.headers.has("content-type")?(K=x.set)==null?void 0:K.call(x,b,U.clone()).then(()=>U.text()):U.text()})).catch(L=>{throw new Error(`Error in caching the Illustration ${o}, ${L}`)}))};var Au=z.constructTagName("illustration"),Su={NAME:void 0};var ni=class extends q{constructor(){super();this.name=Su.NAME;this.ariaLabel=null;this.ariaLabelledby=null;this.illustrationProviderContext=$e.consume({host:this,context:ka.Context});this.abortController=new AbortController}prepareIllustrationElement(t){let r=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&r.setAttribute("data-name",this.name),r.setAttribute("part","illustration"),r.setAttribute("aria-hidden","true"),r}async getIllustrationData(){if(this.illustrationProviderContext.value){let{fileExtension:r,url:s,cacheName:d,illustrationSet:m,cacheStrategy:b}=this.illustrationProviderContext.value;if(m==="custom-illustrations"&&s&&r&&this.name){let x=()=>{var L;return(L=this.abortController)==null||L.abort(),this.abortController=new AbortController,this.abortController.signal};return xu({url:s,name:this.name,fileExtension:r,cacheName:d,cacheStrategy:b,renewSignal:x}).then(L=>{let U=this.prepareIllustrationElement(L);this.handleIllustrationLoadedSuccess(U)}).catch(L=>{this.handleIllustrationLoadedFailure(L)})}if(m==="momentum-illustrations"&&this.name)return import(`@momentum-design/illustrations/dist/ts/${this.name}.ts`).then(x=>{this.handleIllustrationLoadedSuccess(x.default())}).catch(x=>{this.handleIllustrationLoadedFailure(x)})}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 r=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(r)}handleIllustrationLoadedFailure(t){let r=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(r)}updated(t){super.updated(t),t.has("name")&&this.getIllustrationData().catch(r=>{r.name!=="AbortError"&&this.onerror&&this.onerror(r)}),(t.has("ariaLabel")||t.has("ariaLabelledby"))&&(this.role=this.ariaLabel||this.ariaLabelledby?rt.IMG:null)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return _` ${this.illustrationData} `}};ni.styles=[...q.styles,...Eu],p([vt()],ni.prototype,"illustrationData",2),p([u({type:String,reflect:!0})],ni.prototype,"name",2),p([u({type:String,attribute:"aria-label"})],ni.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],ni.prototype,"ariaLabelledby",2),p([vt()],ni.prototype,"abortController",2);var yc=ni;yc.register(Au);var mE=yc;bc.register(gu);var uE=bc;var fE=B`
1316
+ `],Tu=pE;var xu=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the illustration!");return o}),Au=async({url:n,name:o,fileExtension:t,cacheStrategy:r,cacheName:s,renewSignal:d})=>{let m=d(),g=new Request(`${n}/${o}.${t}`,{signal:m});return!s||!r||!["in-memory-cache","web-cache-api"].includes(r)?xu(g).then(x=>x.text()):tl(s,r).then(x=>x.get(g).then(L=>L||xu(g.clone()).then(B=>{var K;return B.status<400&&B.headers.has("content-type")?(K=x.set)==null?void 0:K.call(x,g,B.clone()).then(()=>B.text()):B.text()})).catch(L=>{throw new Error(`Error in caching the Illustration ${o}, ${L}`)}))};var Su=z.constructTagName("illustration"),Iu={NAME:void 0};var ni=class extends q{constructor(){super();this.name=Iu.NAME;this.ariaLabel=null;this.ariaLabelledby=null;this.illustrationProviderContext=$e.consume({host:this,context:ka.Context});this.abortController=new AbortController}prepareIllustrationElement(t){let r=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&r.setAttribute("data-name",this.name),r.setAttribute("part","illustration"),r.setAttribute("aria-hidden","true"),r}async getIllustrationData(){if(this.illustrationProviderContext.value){let{fileExtension:r,url:s,cacheName:d,illustrationSet:m,cacheStrategy:g}=this.illustrationProviderContext.value;if(m==="custom-illustrations"&&s&&r&&this.name){let x=()=>{var L;return(L=this.abortController)==null||L.abort(),this.abortController=new AbortController,this.abortController.signal};return Au({url:s,name:this.name,fileExtension:r,cacheName:d,cacheStrategy:g,renewSignal:x}).then(L=>{let B=this.prepareIllustrationElement(L);this.handleIllustrationLoadedSuccess(B)}).catch(L=>{this.handleIllustrationLoadedFailure(L)})}if(m==="momentum-illustrations"&&this.name)return import(`@momentum-design/illustrations/dist/ts/${this.name}.ts`).then(x=>{this.handleIllustrationLoadedSuccess(x.default())}).catch(x=>{this.handleIllustrationLoadedFailure(x)})}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 r=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(r)}handleIllustrationLoadedFailure(t){let r=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(r)}updated(t){super.updated(t),t.has("name")&&this.getIllustrationData().catch(r=>{r.name!=="AbortError"&&this.onerror&&this.onerror(r)}),(t.has("ariaLabel")||t.has("ariaLabelledby"))&&(this.role=this.ariaLabel||this.ariaLabelledby?rt.IMG:null)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return _` ${this.illustrationData} `}};ni.styles=[...q.styles,...Tu],p([vt()],ni.prototype,"illustrationData",2),p([u({type:String,reflect:!0})],ni.prototype,"name",2),p([u({type:String,attribute:"aria-label"})],ni.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],ni.prototype,"ariaLabelledby",2),p([vt()],ni.prototype,"abortController",2);var Ec=ni;Ec.register(Su);var mE=Ec;yc.register(bu);var uE=yc;var fE=U`
1317
1317
  :host {
1318
1318
  --mdc-appheader-height: 4rem;
1319
1319
  }
@@ -1347,7 +1347,7 @@
1347
1347
  justify-content: flex-end;
1348
1348
  flex: 1;
1349
1349
  }
1350
- `,Iu=[fE];var yl=class extends q{render(){return _`
1350
+ `,_u=[fE];var yl=class extends q{render(){return _`
1351
1351
  <header part="container">
1352
1352
  <div part="leading-section">
1353
1353
  <slot name="leading"></slot>
@@ -1357,7 +1357,7 @@
1357
1357
  <slot name="trailing"></slot>
1358
1358
  </div>
1359
1359
  </header>
1360
- `}};yl.styles=[...q.styles,...Iu];var Ec=yl;var _u=z.constructTagName("appheader");Ec.register(_u);var vE=Ec;var Cu=z.constructTagName("avatar"),Ie={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},Tc=99,gE="user-regular",Vt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},gs={TYPE:Ie.PHOTO,SIZE:Vt[32],ICON_NAME:gE};var El=n=>{class o extends n{constructor(){super(...arguments);this.size=gs.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 bE=[bt,B`
1360
+ `}};yl.styles=[...q.styles,..._u];var Tc=yl;var Cu=z.constructTagName("appheader");Tc.register(Cu);var vE=Tc;var ku=z.constructTagName("avatar"),Ie={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},xc=99,gE="user-regular",Vt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},gs={TYPE:Ie.PHOTO,SIZE:Vt[32],ICON_NAME:gE};var El=n=>{class o extends n{constructor(){super(...arguments);this.size=gs.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 bE=[bt,U`
1361
1361
  :host {
1362
1362
  --mdc-avatar-default-background-color: var(--mds-color-theme-avatar-default);
1363
1363
  --mdc-avatar-default-foreground-color: var(--mds-color-theme-common-text-primary-normal);
@@ -1513,8 +1513,8 @@
1513
1513
  outline: 0.125rem solid;
1514
1514
  }
1515
1515
  }
1516
- `],ku=bE;var wu=z.constructTagName("presence"),xe={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"},Xt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},bs={TYPE:xe.ACTIVE,SIZE:Xt[32]};var Nu=n=>({[Vt[124]]:Xt[124],[Vt[88]]:Xt[88],[Vt[72]]:Xt[72],[Vt[64]]:Xt[64],[Vt[48]]:Xt[48],[Vt[32]]:Xt[32],[Vt[24]]:Xt[24]})[n]||Xt[32],Lu=n=>({[Vt[124]]:4.75,[Vt[88]]:3,[Vt[72]]:2.5,[Vt[64]]:2.25,[Vt[48]]:1.75,[Vt[32]]:1.25,[Vt[24]]:1})[n]||1.25,Ru=n=>({[Vt[124]]:st.HEADING_XLARGE_MEDIUM,[Vt[88]]:st.HEADING_LARGE_MEDIUM,[Vt[72]]:st.HEADING_MIDSIZE_MEDIUM,[Vt[64]]:st.HEADING_SMALL_MEDIUM,[Vt[48]]:st.HEADING_SMALL_MEDIUM,[Vt[32]]:st.BODY_MIDSIZE_MEDIUM,[Vt[24]]:st.BODY_SMALL_MEDIUM})[n]||st.BODY_MIDSIZE_MEDIUM;var wa=class extends El(Wt(q)){constructor(){super(...arguments);this.isPhotoLoaded=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}getPresenceTemplateBasedOnType(t){return t===Ie.COUNTER&&(this.counter||this.counter===0)||this.isTyping?j:this.presence?_`
1517
- <mdc-presence part="presence" type="${this.presence}" size="${Nu(this.size)}"></mdc-presence>
1516
+ `],wu=bE;var Nu=z.constructTagName("presence"),xe={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"},Xt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},bs={TYPE:xe.ACTIVE,SIZE:Xt[32]};var Lu=n=>({[Vt[124]]:Xt[124],[Vt[88]]:Xt[88],[Vt[72]]:Xt[72],[Vt[64]]:Xt[64],[Vt[48]]:Xt[48],[Vt[32]]:Xt[32],[Vt[24]]:Xt[24]})[n]||Xt[32],Ou=n=>({[Vt[124]]:4.75,[Vt[88]]:3,[Vt[72]]:2.5,[Vt[64]]:2.25,[Vt[48]]:1.75,[Vt[32]]:1.25,[Vt[24]]:1})[n]||1.25,Ru=n=>({[Vt[124]]:st.HEADING_XLARGE_MEDIUM,[Vt[88]]:st.HEADING_LARGE_MEDIUM,[Vt[72]]:st.HEADING_MIDSIZE_MEDIUM,[Vt[64]]:st.HEADING_SMALL_MEDIUM,[Vt[48]]:st.HEADING_SMALL_MEDIUM,[Vt[32]]:st.BODY_MIDSIZE_MEDIUM,[Vt[24]]:st.BODY_SMALL_MEDIUM})[n]||st.BODY_MIDSIZE_MEDIUM;var wa=class extends El(Wt(q)){constructor(){super(...arguments);this.isPhotoLoaded=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}getPresenceTemplateBasedOnType(t){return t===Ie.COUNTER&&(this.counter||this.counter===0)||this.isTyping?j:this.presence?_`
1517
+ <mdc-presence part="presence" type="${this.presence}" size="${Lu(this.size)}"></mdc-presence>
1518
1518
  `: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 _`
1519
1519
  <img
1520
1520
  part="photo"
@@ -1525,11 +1525,11 @@
1525
1525
  @error="${this.handleOnError}"
1526
1526
  />
1527
1527
  `}iconTemplate(){let t=this.iconName||gs.ICON_NAME;return _`
1528
- <mdc-icon name="${tt(t)}" length-unit="rem" size="${Lu(this.size)}"></mdc-icon>
1529
- `}textTemplate(t){return _` <mdc-text type="${Ru(this.size)}" tagname="span"> ${t} </mdc-text> `}generateCounterText(t){return t<0?"0":t>Tc?`${Tc}+`:t.toString()}generateInitialsText(t){return t.toUpperCase().slice(0,2)}generateTextContent(t){let r="";return t===Ie.TEXT&&this.initials&&(r=this.generateInitialsText(this.initials)),t===Ie.COUNTER&&(this.counter||this.counter===0)&&(r=this.generateCounterText(this.counter)),this.textTemplate(r)}getTypeBasedOnInputs(){return this.src?Ie.PHOTO:this.iconName?Ie.ICON:this.initials?Ie.TEXT:this.counter||this.counter===0?Ie.COUNTER:Ie.ICON}getTemplateBasedOnType(t){switch(t){case Ie.PHOTO:return this.photoTemplate();case Ie.TEXT:case Ie.COUNTER:return this.generateTextContent(t);case Ie.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?_`<div part="loading-wrapper"><div part="loader"></div></div>`:j}getPhotoPlaceHolderContent(t){return this.isPhotoLoaded?j:t===Ie.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 _`
1528
+ <mdc-icon name="${tt(t)}" length-unit="rem" size="${Ou(this.size)}"></mdc-icon>
1529
+ `}textTemplate(t){return _` <mdc-text type="${Ru(this.size)}" tagname="span"> ${t} </mdc-text> `}generateCounterText(t){return t<0?"0":t>xc?`${xc}+`:t.toString()}generateInitialsText(t){return t.toUpperCase().slice(0,2)}generateTextContent(t){let r="";return t===Ie.TEXT&&this.initials&&(r=this.generateInitialsText(this.initials)),t===Ie.COUNTER&&(this.counter||this.counter===0)&&(r=this.generateCounterText(this.counter)),this.textTemplate(r)}getTypeBasedOnInputs(){return this.src?Ie.PHOTO:this.iconName?Ie.ICON:this.initials?Ie.TEXT:this.counter||this.counter===0?Ie.COUNTER:Ie.ICON}getTemplateBasedOnType(t){switch(t){case Ie.PHOTO:return this.photoTemplate();case Ie.TEXT:case Ie.COUNTER:return this.generateTextContent(t);case Ie.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?_`<div part="loading-wrapper"><div part="loader"></div></div>`:j}getPhotoPlaceHolderContent(t){return this.isPhotoLoaded?j:t===Ie.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 _`
1530
1530
  ${this.getPhotoPlaceHolderContent(t)} ${this.getTemplateBasedOnType(t)} ${this.getLoadingContent()}
1531
1531
  ${this.getPresenceTemplateBasedOnType(t)}
1532
- `}};wa.styles=[...q.styles,...ku],p([vt()],wa.prototype,"isPhotoLoaded",2);var xc=wa;var yE=[bt,B`
1532
+ `}};wa.styles=[...q.styles,...wu],p([vt()],wa.prototype,"isPhotoLoaded",2);var Ac=wa;var yE=[bt,U`
1533
1533
  :host {
1534
1534
  --mdc-presence-active-background-color: var(--mds-color-theme-indicator-stable);
1535
1535
  --mdc-presence-away-background-color: var(--mds-color-theme-indicator-locked);
@@ -1623,17 +1623,17 @@
1623
1623
  :host::part(mdc-presence-icon__scheduled) {
1624
1624
  color: var(--mdc-presence-scheduled-background-color);
1625
1625
  }
1626
- `],Ou=yE;var Mu=n=>{switch(n){case xe.AWAY:return"recents-presence-badge-filled";case xe.AWAY_CALLING:return"away-calling-presence-filled";case xe.BUSY:return"busy-presence-bold";case xe.DND:return"dnd-presence-badge-filled";case xe.MEETING:return"camera-filled";case xe.ON_CALL:return"handset-filled";case xe.ON_DEVICE:return"generic-device-video-badge-filled";case xe.ON_MOBILE:return"phone-badge-filled";case xe.PAUSE:return"pause-badge-filled";case xe.PTO:return"pto-presence-filled";case xe.PRESENTING:return"share-screen-badge-filled";case xe.QUIET:return"quiet-hours-presence-filled";case xe.SCHEDULED:return"meetings-presence-badge-filled";case xe.ACTIVE:default:return"active-presence-small-filled"}},Pu=n=>({[Xt[124]]:2.25,[Xt[88]]:1.625,[Xt[72]]:1.3125,[Xt[64]]:1.1875,[Xt[48]]:.875,[Xt[32]]:.875,[Xt[24]]:.875})[n]||.875;var To=class extends q{constructor(){super(...arguments);this.type=bs.TYPE;this.size=bs.SIZE;this.currentIconType=bs.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Xt).includes(t)?`${t}`:bs.SIZE.toString())}get icon(){let t=Mu(this.type);return t==="active-presence-small-filled"&&(this.type=bs.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 _`
1626
+ `],Mu=yE;var Pu=n=>{switch(n){case xe.AWAY:return"recents-presence-badge-filled";case xe.AWAY_CALLING:return"away-calling-presence-filled";case xe.BUSY:return"busy-presence-bold";case xe.DND:return"dnd-presence-badge-filled";case xe.MEETING:return"camera-filled";case xe.ON_CALL:return"handset-filled";case xe.ON_DEVICE:return"generic-device-video-badge-filled";case xe.ON_MOBILE:return"phone-badge-filled";case xe.PAUSE:return"pause-badge-filled";case xe.PTO:return"pto-presence-filled";case xe.PRESENTING:return"share-screen-badge-filled";case xe.QUIET:return"quiet-hours-presence-filled";case xe.SCHEDULED:return"meetings-presence-badge-filled";case xe.ACTIVE:default:return"active-presence-small-filled"}},Du=n=>({[Xt[124]]:2.25,[Xt[88]]:1.625,[Xt[72]]:1.3125,[Xt[64]]:1.1875,[Xt[48]]:.875,[Xt[32]]:.875,[Xt[24]]:.875})[n]||.875;var To=class extends q{constructor(){super(...arguments);this.type=bs.TYPE;this.size=bs.SIZE;this.currentIconType=bs.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Xt).includes(t)?`${t}`:bs.SIZE.toString())}get icon(){let t=Pu(this.type);return t==="active-presence-small-filled"&&(this.type=bs.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 _`
1627
1627
  <div part="presence-content">
1628
1628
  <mdc-icon
1629
1629
  part="mdc-presence-icon mdc-presence-icon__${this.currentIconType}"
1630
1630
  name="${this.icon}"
1631
- size="${Pu(this.size)}"
1631
+ size="${Du(this.size)}"
1632
1632
  @load="${this.handleOnLoad}"
1633
1633
  @error="${this.handleOnError}"
1634
1634
  ></mdc-icon>
1635
1635
  </div>
1636
- `}};To.styles=[...q.styles,...Ou],p([u({type:String,reflect:!0})],To.prototype,"type",2),p([u({type:Number,reflect:!0})],To.prototype,"size",2),p([vt()],To.prototype,"currentIconType",2);var Ac=To;Ac.register(wu);var EE=Ac;xc.register(Cu);var TE=xc;var xE=[bt,B`
1636
+ `}};To.styles=[...q.styles,...Mu],p([u({type:String,reflect:!0})],To.prototype,"type",2),p([u({type:Number,reflect:!0})],To.prototype,"size",2),p([vt()],To.prototype,"currentIconType",2);var Sc=To;Sc.register(Nu);var EE=Sc;Ac.register(ku);var TE=Ac;var xE=[bt,U`
1637
1637
  :host {
1638
1638
  --mdc-avatarbutton-overlay-background-color-rest: var(--mds-color-theme-avatar-ghost);
1639
1639
  --mdc-avatarbutton-overlay-background-color-hover: var(--mds-color-theme-avatar-hover);
@@ -1662,7 +1662,7 @@
1662
1662
  :host::part(presence) {
1663
1663
  z-index: 2;
1664
1664
  }
1665
- `,...At()],Du=xE;var Na=class extends El(Wt(ie)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role=rt.BUTTON,this.type=De.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Vt).includes(t)?`${t}`:gs.SIZE.toString())}render(){return _`
1665
+ `,...At()],Fu=xE;var Na=class extends El(Wt(ie)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role=rt.BUTTON,this.type=De.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Vt).includes(t)?`${t}`:gs.SIZE.toString())}render(){return _`
1666
1666
  <div part="overlay" aria-hidden="true"></div>
1667
1667
  <mdc-avatar
1668
1668
  exportparts="content, photo, presence, loading-wrapper, loader"
@@ -1674,7 +1674,7 @@
1674
1674
  size="${tt(this.size)}"
1675
1675
  src="${tt(this.src)}"
1676
1676
  ></mdc-avatar>
1677
- `}};Na.styles=[...Du],p([u({type:String,attribute:"aria-label"})],Na.prototype,"ariaLabel",2);var Sc=Na;var Fu=z.constructTagName("avatarbutton");Sc.register(Fu);var AE=Sc;var $u=z.constructTagName("badge"),nr={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Tl={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},Ic={PRIMARY:"primary",SECONDARY:"secondary"},zi={TYPE:nr.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:Ic.PRIMARY,ICON_SIZE:1};var SE=[bt,B`
1677
+ `}};Na.styles=[...Fu],p([u({type:String,attribute:"aria-label"})],Na.prototype,"ariaLabel",2);var Ic=Na;var $u=z.constructTagName("avatarbutton");Ic.register($u);var AE=Ic;var zu=z.constructTagName("badge"),nr={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Tl={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},_c={PRIMARY:"primary",SECONDARY:"secondary"},zi={TYPE:nr.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:_c.PRIMARY,ICON_SIZE:1};var SE=[bt,U`
1678
1678
  :host {
1679
1679
  --mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
1680
1680
  --mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
@@ -1750,7 +1750,7 @@
1750
1750
  outline: none;
1751
1751
  }
1752
1752
  }
1753
- `],zu=SE;var Fr=class extends Wt(q){constructor(){super(...arguments);this.variant=zi.VARIANT;this.maxCounter=zi.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(t,r){return r===void 0||typeof r!="number"||t===0?"":r>t?`${t}+`:t>zi.MAX_COUNTER_LIMIT||r>zi.MAX_COUNTER_LIMIT?`${zi.MAX_COUNTER_LIMIT}+`:r.toString()}getBadgeIcon(t){return _`
1753
+ `],Vu=SE;var Fr=class extends Wt(q){constructor(){super(...arguments);this.variant=zi.VARIANT;this.maxCounter=zi.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(t,r){return r===void 0||typeof r!="number"||t===0?"":r>t?`${t}+`:t>zi.MAX_COUNTER_LIMIT||r>zi.MAX_COUNTER_LIMIT?`${zi.MAX_COUNTER_LIMIT}+`:r.toString()}getBadgeIcon(t){return _`
1754
1754
  <mdc-icon
1755
1755
  part="badge-icon ${this.overlay?"badge-overlay":""}"
1756
1756
  name="${tt(t)}"
@@ -1764,7 +1764,7 @@
1764
1764
  >
1765
1765
  ${this.getCounterText(this.maxCounter,this.counter)}
1766
1766
  </mdc-text>
1767
- `}setRoleByAriaLabel(){this.ariaLabel?this.role=rt.IMG:this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(Ic).includes(this.variant)&&(this.variant=zi.VARIANT);let{iconName:t,type:r}=this;switch(r){case nr.ICON:return this.getBadgeIcon(t||"");case nr.COUNTER:return this.getBadgeCounterText();case nr.SUCCESS:return this.getBadgeIcon(Tl.SUCCESS_ICON_NAME);case nr.WARNING:return this.getBadgeIcon(Tl.WARNING_ICON_NAME);case nr.ERROR:return this.getBadgeIcon(Tl.ERROR_ICON_NAME);case nr.DOT:default:return this.type=nr.DOT,this.getBadgeDot()}}update(t){super.update(t),t.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};Fr.styles=[...q.styles,...zu],p([u({type:String,reflect:!0})],Fr.prototype,"type",2),p([u({type:String,reflect:!0})],Fr.prototype,"variant",2),p([u({type:Number})],Fr.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],Fr.prototype,"maxCounter",2),p([u({type:Boolean})],Fr.prototype,"overlay",2),p([u({type:String,attribute:"aria-label"})],Fr.prototype,"ariaLabel",2);var _c=Fr;_c.register($u);var IE=_c;var _E=B`
1767
+ `}setRoleByAriaLabel(){this.ariaLabel?this.role=rt.IMG:this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(_c).includes(this.variant)&&(this.variant=zi.VARIANT);let{iconName:t,type:r}=this;switch(r){case nr.ICON:return this.getBadgeIcon(t||"");case nr.COUNTER:return this.getBadgeCounterText();case nr.SUCCESS:return this.getBadgeIcon(Tl.SUCCESS_ICON_NAME);case nr.WARNING:return this.getBadgeIcon(Tl.WARNING_ICON_NAME);case nr.ERROR:return this.getBadgeIcon(Tl.ERROR_ICON_NAME);case nr.DOT:default:return this.type=nr.DOT,this.getBadgeDot()}}update(t){super.update(t),t.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};Fr.styles=[...q.styles,...Vu],p([u({type:String,reflect:!0})],Fr.prototype,"type",2),p([u({type:String,reflect:!0})],Fr.prototype,"variant",2),p([u({type:Number})],Fr.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],Fr.prototype,"maxCounter",2),p([u({type:Boolean})],Fr.prototype,"overlay",2),p([u({type:String,attribute:"aria-label"})],Fr.prototype,"ariaLabel",2);var Cc=Fr;Cc.register(zu);var IE=Cc;var _E=U`
1768
1768
  :host {
1769
1769
  display: block;
1770
1770
  height: 100%;
@@ -1778,7 +1778,7 @@
1778
1778
  width: 100%;
1779
1779
  object-fit: contain;
1780
1780
  }
1781
- `,Vu=[_E];var xo=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,r){let m=new DOMParser().parseFromString(o.strings[0],"text/html").querySelector(t);return m&&Object.entries(r).forEach(([b,x])=>{m.setAttribute(b,x)}),m||o}injectHtmlAttributes(o,t){return Object.entries(t).forEach(([r,s])=>{o.setAttribute(r,s)}),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 _` ${this.brandVisualData} `}};xo.styles=[...q.styles,...Vu],p([vt()],xo.prototype,"brandVisualData",2),p([u({type:String,reflect:!0})],xo.prototype,"name",2),p([u({type:String,reflect:!0})],xo.prototype,"altText",2);var Cc=xo;var Bu=z.constructTagName("brandvisual");Cc.register(Bu);var CE=Cc;var kE=B`
1781
+ `,Bu=[_E];var xo=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,r){let m=new DOMParser().parseFromString(o.strings[0],"text/html").querySelector(t);return m&&Object.entries(r).forEach(([g,x])=>{m.setAttribute(g,x)}),m||o}injectHtmlAttributes(o,t){return Object.entries(t).forEach(([r,s])=>{o.setAttribute(r,s)}),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 _` ${this.brandVisualData} `}};xo.styles=[...q.styles,...Bu],p([vt()],xo.prototype,"brandVisualData",2),p([u({type:String,reflect:!0})],xo.prototype,"name",2),p([u({type:String,reflect:!0})],xo.prototype,"altText",2);var kc=xo;var Uu=z.constructTagName("brandvisual");kc.register(Uu);var CE=kc;var kE=U`
1782
1782
  :host {
1783
1783
  --mdc-bullet-background-color: var(--mds-color-theme-outline-secondary-normal);
1784
1784
  --mdc-bullet-size-small: 0.25rem;
@@ -1799,7 +1799,7 @@
1799
1799
  :host([size='large']) {
1800
1800
  height: var(--mdc-bullet-size-large);
1801
1801
  }
1802
- `,Uu=[kE];var Hu=z.constructTagName("bullet"),Gu={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var La=class extends q{constructor(){super(...arguments);this.size=Gu.SMALL}};La.styles=[...q.styles,...Uu],p([u({type:String,reflect:!0})],La.prototype,"size",2);var kc=La;kc.register(Hu);var wE=kc;var Yu=z.constructTagName("buttongroup"),NE={40:40,32:32,28:28,24:24},LE={HORIZONTAL:"horizontal",VERTICAL:"vertical"},RE={PRIMARY:"primary",SECONDARY:"secondary"},xl={SIZE:NE[28],VARIANT:RE.PRIMARY,ORIENTATION:LE.HORIZONTAL};var OE=B`
1802
+ `,Hu=[kE];var Gu=z.constructTagName("bullet"),Yu={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var La=class extends q{constructor(){super(...arguments);this.size=Yu.SMALL}};La.styles=[...q.styles,...Hu],p([u({type:String,reflect:!0})],La.prototype,"size",2);var wc=La;wc.register(Gu);var wE=wc;var Wu=z.constructTagName("buttongroup"),NE={40:40,32:32,28:28,24:24},LE={HORIZONTAL:"horizontal",VERTICAL:"vertical"},OE={PRIMARY:"primary",SECONDARY:"secondary"},xl={SIZE:NE[28],VARIANT:OE.PRIMARY,ORIENTATION:LE.HORIZONTAL};var RE=U`
1803
1803
  :host {
1804
1804
  --mdc-buttongroup-border-radius: 1.25rem;
1805
1805
  --mdc-buttongroup-border-color: var(--mds-color-theme-outline-button-normal);
@@ -1856,14 +1856,14 @@
1856
1856
  position: absolute;
1857
1857
  height: 100%;
1858
1858
  border-inline-end: var(--mdc-buttongroup-border-width) solid var(--mdc-buttongroup-divider-color);
1859
- inset-inline-end: calc(var(--mdc-buttongroup-border-width) / 2);
1859
+ inset-inline-start: 100%;
1860
1860
  }
1861
1861
  :host([variant='secondary'][orientation='vertical']) ::slotted(mdc-button:not(:last-of-type))::after {
1862
1862
  content: '';
1863
1863
  position: absolute;
1864
1864
  width: 100%;
1865
1865
  border-block-end: var(--mdc-buttongroup-border-width) solid var(--mdc-buttongroup-divider-color);
1866
- inset-block-end: calc(var(--mdc-buttongroup-border-width) / 2);
1866
+ inset-block-end: 0%;
1867
1867
  }
1868
1868
 
1869
1869
  :host([orientation='vertical']) ::slotted(mdc-button:first-of-type) {
@@ -1899,7 +1899,7 @@
1899
1899
  :host([compact][orientation='horizontal'][size='40']) ::slotted(mdc-button) {
1900
1900
  width: 2.5rem;
1901
1901
  }
1902
- `,Wu=[bt,OE];var li=class extends q{constructor(){super(...arguments);this.orientation=xl.ORIENTATION;this.variant=xl.VARIANT;this.size=xl.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 _`<div part="container"><slot @slotchange=${this.handleSlotChange}></slot></div>`}};li.styles=[...q.styles,...Wu],p([u({type:String,reflect:!0})],li.prototype,"orientation",2),p([u({type:String,reflect:!0})],li.prototype,"variant",2),p([u({type:Number,reflect:!0})],li.prototype,"size",2),p([u({type:Boolean,reflect:!0})],li.prototype,"compact",2),p([Pt({selector:"mdc-button"})],li.prototype,"buttons",2);var wc=li;wc.register(Yu);var ME=wc;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 ju=z.constructTagName("linksimple"),ys={INLINE:!1,INVERTED:!1};var PE=[bt,B`
1902
+ `,ju=[bt,RE];var li=class extends q{constructor(){super(...arguments);this.orientation=xl.ORIENTATION;this.variant=xl.VARIANT;this.size=xl.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 _`<div part="container"><slot @slotchange=${this.handleSlotChange}></slot></div>`}};li.styles=[...q.styles,...ju],p([u({type:String,reflect:!0})],li.prototype,"orientation",2),p([u({type:String,reflect:!0})],li.prototype,"variant",2),p([u({type:Number,reflect:!0})],li.prototype,"size",2),p([u({type:Boolean,reflect:!0})],li.prototype,"compact",2),p([Pt({selector:"mdc-button"})],li.prototype,"buttons",2);var Nc=li;Nc.register(Wu);var ME=Nc;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 Ku=z.constructTagName("linksimple"),ys={INLINE:!1,INVERTED:!1};var PE=[bt,U`
1903
1903
  :host {
1904
1904
  --mdc-link-border-radius: 0.25rem;
1905
1905
  --mdc-link-color-active: var(--mds-color-theme-text-accent-active);
@@ -1978,7 +1978,7 @@
1978
1978
  :host([inline])::part(anchor) {
1979
1979
  text-decoration: var(--mds-font-apps-body-large-regular-underline-text-decoration);
1980
1980
  }
1981
- `,...At(!0)],Ku=PE;var ze=class extends Ut(Bt(q)){constructor(){super(...arguments);this.inline=ys.INLINE;this.inverted=ys.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 _`<slot></slot>`}render(){var t;return _`
1981
+ `,...At(!0)],qu=PE;var ze=class extends Ut(Bt(q)){constructor(){super(...arguments);this.inline=ys.INLINE;this.inverted=ys.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 _`<slot></slot>`}render(){var t;return _`
1982
1982
  <a
1983
1983
  class="mdc-focus-ring"
1984
1984
  part="anchor"
@@ -1995,7 +1995,7 @@
1995
1995
  >
1996
1996
  ${this.renderAnchorContent()}
1997
1997
  </a>
1998
- `}};ze.styles=[...q.styles,...Ku],p([u({type:Boolean,reflect:!0})],ze.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],ze.prototype,"inverted",2),p([u({type:String,reflect:!0})],ze.prototype,"href",2),p([u({type:String,reflect:!0})],ze.prototype,"target",2),p([u({type:String,reflect:!0})],ze.prototype,"rel",2),p([u({type:String,reflect:!0})],ze.prototype,"download",2),p([u({type:String,reflect:!0})],ze.prototype,"ping",2),p([u({type:String,reflect:!0})],ze.prototype,"hreflang",2),p([u({type:String,reflect:!0})],ze.prototype,"type",2),p([u({type:String,reflect:!0})],ze.prototype,"referrerpolicy",2);var $r=ze;var DE=B`
1998
+ `}};ze.styles=[...q.styles,...qu],p([u({type:Boolean,reflect:!0})],ze.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],ze.prototype,"inverted",2),p([u({type:String,reflect:!0})],ze.prototype,"href",2),p([u({type:String,reflect:!0})],ze.prototype,"target",2),p([u({type:String,reflect:!0})],ze.prototype,"rel",2),p([u({type:String,reflect:!0})],ze.prototype,"download",2),p([u({type:String,reflect:!0})],ze.prototype,"ping",2),p([u({type:String,reflect:!0})],ze.prototype,"hreflang",2),p([u({type:String,reflect:!0})],ze.prototype,"type",2),p([u({type:String,reflect:!0})],ze.prototype,"referrerpolicy",2);var $r=ze;var DE=U`
1999
1999
  :host {
2000
2000
  border: unset;
2001
2001
  }
@@ -2049,11 +2049,11 @@
2049
2049
  :host([variant='secondary'][soft-disabled])::part(anchor) {
2050
2050
  border-color: var(--mdc-button-border-color);
2051
2051
  }
2052
- `,qu=[DE,...At(!0)];var Es=class extends jn($r){constructor(){super(...arguments);this.size=De.SIZE}setSoftDisabled(t,r){r?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 _`
2052
+ `,Xu=[DE,...At(!0)];var Es=class extends jn($r){constructor(){super(...arguments);this.size=De.SIZE}setSoftDisabled(t,r){r?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 _`
2053
2053
  ${this.prefixIcon?_`<mdc-icon name="${this.prefixIcon}" part="prefix-icon" length-unit="rem"></mdc-icon>`:""}
2054
2054
  <slot @slotchange="${this.inferButtonType}" part="button-text"></slot>
2055
2055
  ${this.postfixIcon?_`<mdc-icon name="${this.postfixIcon}" part="postfix-icon" length-unit="rem"></mdc-icon>`:""}
2056
- `}};Es.styles=[...yo.styles,...qu],p([u({type:Number,reflect:!0})],Es.prototype,"size",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Es.prototype,"softDisabled",2);var Nc=Es;var Xu=z.constructTagName("buttonlink");Nc.register(Xu);var FE=Nc;var Al=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?_`<div part="image-wrapper"><img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" /></div>`:j}renderIcon(){return this.iconName?_`<mdc-icon
2056
+ `}};Es.styles=[...yo.styles,...Xu],p([u({type:Number,reflect:!0})],Es.prototype,"size",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Es.prototype,"softDisabled",2);var Lc=Es;var Zu=z.constructTagName("buttonlink");Lc.register(Zu);var FE=Lc;var Al=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?_`<div part="image-wrapper"><img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" /></div>`:j}renderIcon(){return this.iconName?_`<mdc-icon
2057
2057
  part="icon"
2058
2058
  size="${oe.ICON_SIZE}"
2059
2059
  length-unit="${oe.ICON_LENGTH_UNIT}"
@@ -2063,7 +2063,7 @@
2063
2063
  ${this.subtitle?_`<mdc-text part="subtitle" type="${oe.SUBTITLE_TYPE}" tagname="${this.subtitleTagName}"
2064
2064
  >${this.subtitle}</mdc-text
2065
2065
  >`:j}
2066
- </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 $E=B`
2066
+ </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 $E=U`
2067
2067
  :host {
2068
2068
  --mdc-card-width: 20rem;
2069
2069
  align-items: stretch;
@@ -2172,7 +2172,7 @@
2172
2172
  mdc-text::part(text) {
2173
2173
  margin: 0;
2174
2174
  }
2175
- `,Zu=[bt,$E];var Ra=class extends Al(us(q)){constructor(){super(...arguments);this.handleIconButtons=()=>{var t;(t=this.iconButtons)==null||t.forEach(r=>{r.matches(oe.BUTTON)&&(r.setAttribute("variant",Ft.TERTIARY),r.setAttribute("size","32"))})}}update(t){super.update(t),t.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?_`<div part="header">
2175
+ `,Qu=[bt,$E];var Oa=class extends Al(us(q)){constructor(){super(...arguments);this.handleIconButtons=()=>{var t;(t=this.iconButtons)==null||t.forEach(r=>{r.matches(oe.BUTTON)&&(r.setAttribute("variant",Ft.TERTIARY),r.setAttribute("size","32"))})}}update(t){super.update(t),t.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?_`<div part="header">
2176
2176
  ${this.renderIcon()} ${this.renderTitle()}
2177
2177
  <div part="icon-button"><slot name="icon-button" @slotchange=${this.handleIconButtons}></slot></div>
2178
2178
  </div>`:j}render(){return _`
@@ -2186,7 +2186,7 @@
2186
2186
  </div>
2187
2187
  ${this.renderFooter()}
2188
2188
  </div>
2189
- `}};Ra.styles=[...q.styles,...Zu],p([Pt({slot:"icon-button"})],Ra.prototype,"iconButtons",2);var Tr=Ra;Tr.register(mu);var zE=Tr;var VE=B`
2189
+ `}};Oa.styles=[...q.styles,...Qu],p([Pt({slot:"icon-button"})],Oa.prototype,"iconButtons",2);var Tr=Oa;Tr.register(uu);var zE=Tr;var VE=U`
2190
2190
  :host {
2191
2191
  cursor: pointer;
2192
2192
  user-select: none;
@@ -2208,7 +2208,7 @@
2208
2208
  :host([disabled])::part(image) {
2209
2209
  opacity: 0.5;
2210
2210
  }
2211
- `,Qu=[VE,...At()];var Sl=class extends Al(ie){connectedCallback(){super.connectedCallback(),this.active=void 0,this.size=void 0}renderHeader(){return this.cardTitle?_`<div part="header">${this.renderIcon()} ${this.renderTitle()}</div>`:j}render(){return _`
2211
+ `,Ju=[VE,...At()];var Sl=class extends Al(ie){connectedCallback(){super.connectedCallback(),this.active=void 0,this.size=void 0}renderHeader(){return this.cardTitle?_`<div part="header">${this.renderIcon()} ${this.renderTitle()}</div>`:j}render(){return _`
2212
2212
  ${this.renderImage()}
2213
2213
  <div part="body">
2214
2214
  ${this.renderHeader()}
@@ -2216,7 +2216,7 @@
2216
2216
  <slot name="body"></slot>
2217
2217
  <slot name="after-body"></slot>
2218
2218
  </div>
2219
- `}};Sl.styles=[...Tr.styles,...Qu];var Lc=Sl;var Ju=z.constructTagName("cardbutton");Lc.register(Ju);var BE=Lc;var tf=z.constructTagName("cardcheckbox"),Rc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},Il={CHECK:"check",CHECKBOX:"checkbox"},_l={SELECTION_TYPE:Il.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var UE=B`
2219
+ `}};Sl.styles=[...Tr.styles,...Ju];var Oc=Sl;var tf=z.constructTagName("cardbutton");Oc.register(tf);var BE=Oc;var ef=z.constructTagName("cardcheckbox"),Rc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},Il={CHECK:"check",CHECKBOX:"checkbox"},_l={SELECTION_TYPE:Il.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var UE=U`
2220
2220
  :host {
2221
2221
  cursor: pointer;
2222
2222
  user-select: none;
@@ -2273,7 +2273,7 @@
2273
2273
  :host([disabled])::part(check-icon) {
2274
2274
  color: var(--mds-color-theme-text-primary-disabled);
2275
2275
  }
2276
- `,ef=[UE,...At()];var Ts=class extends Bt(Or(Tr)){constructor(){super();this.checked=!1;this.selectionType=_l.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=rt.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?Rc.CHECKED:Rc.DEFAULT;switch(this.selectionType){case Il.CHECK:return _`<mdc-icon
2276
+ `,rf=[UE,...At()];var Ts=class extends Bt(Rr(Tr)){constructor(){super();this.checked=!1;this.selectionType=_l.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=rt.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?Rc.CHECKED:Rc.DEFAULT;switch(this.selectionType){case Il.CHECK:return _`<mdc-icon
2277
2277
  part="check check-icon"
2278
2278
  size="${_l.ICON_SIZE}"
2279
2279
  length-unit="${_l.ICON_LENGTH_UNIT}"
@@ -2290,7 +2290,7 @@
2290
2290
  <slot name="body"></slot>
2291
2291
  <slot name="after-body"></slot>
2292
2292
  </div>
2293
- `}};Ts.styles=[...Tr.styles,...ef],p([u({type:Boolean,reflect:!0})],Ts.prototype,"checked",2),p([u({type:String,attribute:"selection-type",reflect:!0})],Ts.prototype,"selectionType",2);var Oc=Ts;var HE=[B`
2293
+ `}};Ts.styles=[...Tr.styles,...rf],p([u({type:Boolean,reflect:!0})],Ts.prototype,"checked",2),p([u({type:String,attribute:"selection-type",reflect:!0})],Ts.prototype,"selectionType",2);var Mc=Ts;var HE=[U`
2294
2294
  :host {
2295
2295
  --mdc-checkbox-border-color: var(--mds-color-theme-outline-input-normal);
2296
2296
  --mdc-checkbox-background-color: var(--mds-color-theme-control-inactive-normal);
@@ -2368,7 +2368,7 @@
2368
2368
  --mdc-checkbox-icon-color: GrayText;
2369
2369
  }
2370
2370
  }
2371
- `],rf=HE;var of=z.constructTagName("formfieldwrapper"),$t={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Lt={VALIDATION:$t.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top",TOGGLETIP_STRATEGY:"absolute"},Oa={TAGNAME:mt.SPAN,TYPE:st.BODY_MIDSIZE_REGULAR,HEADER_TYPE:st.BODY_MIDSIZE_BOLD};var sf=z.constructTagName("checkbox"),Cl={CHECKED:"check-bold",INDETERMINATE:"minus-bold"},af={ERROR:$t.ERROR,DEFAULT:$t.DEFAULT};var nf=z.constructTagName("staticcheckbox");var Vi=class extends Bt(q){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.readonly=!1;this.softDisabled=!1}render(){let t=this.checked||this.indeterminate?_`
2371
+ `],of=HE;var sf=z.constructTagName("formfieldwrapper"),$t={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Lt={VALIDATION:$t.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top",TOGGLETIP_STRATEGY:"absolute"},Ra={TAGNAME:mt.SPAN,TYPE:st.BODY_MIDSIZE_REGULAR,HEADER_TYPE:st.BODY_MIDSIZE_BOLD};var af=z.constructTagName("checkbox"),Cl={CHECKED:"check-bold",INDETERMINATE:"minus-bold"},nf={ERROR:$t.ERROR,DEFAULT:$t.DEFAULT};var lf=z.constructTagName("staticcheckbox");var Vi=class extends Bt(q){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.readonly=!1;this.softDisabled=!1}render(){let t=this.checked||this.indeterminate?_`
2372
2372
  <mdc-icon
2373
2373
  part="checkbox-icon"
2374
2374
  name="${this.indeterminate?Cl.INDETERMINATE:Cl.CHECKED}"
@@ -2376,7 +2376,7 @@
2376
2376
  length-unit="rem"
2377
2377
  ></mdc-icon>
2378
2378
  `:j;return _`<slot></slot>
2379
- <div part="icon-container">${t}</div>`}};Vi.styles=[...q.styles,...rf],p([u({type:Boolean,reflect:!0})],Vi.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Vi.prototype,"indeterminate",2),p([u({type:Boolean,reflect:!0})],Vi.prototype,"readonly",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Vi.prototype,"softDisabled",2);var Mc=Vi;Mc.register(nf);var GE=Mc;Oc.register(tf);var YE=Oc;var WE=B`
2379
+ <div part="icon-container">${t}</div>`}};Vi.styles=[...q.styles,...of],p([u({type:Boolean,reflect:!0})],Vi.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Vi.prototype,"indeterminate",2),p([u({type:Boolean,reflect:!0})],Vi.prototype,"readonly",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Vi.prototype,"softDisabled",2);var Pc=Vi;Pc.register(lf);var GE=Pc;Mc.register(ef);var YE=Mc;var WE=U`
2380
2380
  :host {
2381
2381
  cursor: pointer;
2382
2382
  user-select: none;
@@ -2429,7 +2429,7 @@
2429
2429
  :host([disabled])::part(image) {
2430
2430
  opacity: 0.5;
2431
2431
  }
2432
- `,lf=[WE,...At()];var xs=class extends Bt(Or(Tr)){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=rt.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled||this.checked)return;this.getAllCardsWithinSameGroup().forEach(r=>{r.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,r){t[r].focus(),t[r].toggleChecked()}toggleOnEnter(t){if(this.disabled)return;let s=this.getAllCardsWithinSameGroup().filter(m=>!m.disabled),d=s.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let m=(d+1)%s.length;this.updateCardRadio(s,m)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let m=(d-1+s.length)%s.length;this.updateCardRadio(s,m)}t.key===Q.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Q.SPACE&&this.toggleChecked()}renderHeader(){return this.cardTitle?_`<div part="header">
2432
+ `,df=[WE,...At()];var xs=class extends Bt(Rr(Tr)){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=rt.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled||this.checked)return;this.getAllCardsWithinSameGroup().forEach(r=>{r.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,r){t[r].focus(),t[r].toggleChecked()}toggleOnEnter(t){if(this.disabled)return;let s=this.getAllCardsWithinSameGroup().filter(m=>!m.disabled),d=s.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let m=(d+1)%s.length;this.updateCardRadio(s,m)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let m=(d-1+s.length)%s.length;this.updateCardRadio(s,m)}t.key===Q.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Q.SPACE&&this.toggleChecked()}renderHeader(){return this.cardTitle?_`<div part="header">
2433
2433
  ${this.renderIcon()} ${this.renderTitle()}
2434
2434
  <mdc-staticradio part="check" ?checked="${this.checked}" ?disabled="${this.disabled}"></mdc-staticradio>
2435
2435
  </div>`:j}render(){return _`
@@ -2440,7 +2440,7 @@
2440
2440
  <slot name="body"></slot>
2441
2441
  <slot name="after-body"></slot>
2442
2442
  </div>
2443
- `}};xs.styles=[...Tr.styles,...lf],p([u({type:Boolean,reflect:!0})],xs.prototype,"checked",2),p([u({type:String})],xs.prototype,"name",2);var Pc=xs;var kl=z.constructTagName("cardradio");var jE=[B`
2443
+ `}};xs.styles=[...Tr.styles,...df],p([u({type:Boolean,reflect:!0})],xs.prototype,"checked",2),p([u({type:String})],xs.prototype,"name",2);var Dc=xs;var kl=z.constructTagName("cardradio");var jE=[U`
2444
2444
  :host {
2445
2445
  --mdc-radio-inner-circle-size: 0.375rem;
2446
2446
  --mdc-radio-outer-circle-size: 1rem;
@@ -2537,8 +2537,8 @@
2537
2537
  --mdc-radio-outer-circle-background-color: GrayText;
2538
2538
  }
2539
2539
  }
2540
- `],df=jE;var Ao=class extends Bt(q){constructor(){super(...arguments);this.checked=!1;this.readonly=!1;this.softDisabled=!1}render(){return _` <slot></slot>
2541
- <span part="radio-icon" class="radio-icon"></span>`}};Ao.styles=[...q.styles,...df],p([u({type:Boolean,reflect:!0})],Ao.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Ao.prototype,"readonly",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Ao.prototype,"softDisabled",2);var Dc=Ao;var cf=z.constructTagName("staticradio");Dc.register(cf);var KE=Dc;Pc.register(kl);var qE=Pc;var zr=Math.min,_e=Math.max,Pa=Math.round,Da=Math.floor,xr=n=>({x:n,y:n}),XE={left:"right",right:"left",bottom:"top",top:"bottom"},ZE={start:"end",end:"start"};function Nl(n,o,t){return _e(n,zr(o,t))}function So(n,o){return typeof n=="function"?n(o):n}function di(n){return n.split("-")[0]}function Io(n){return n.split("-")[1]}function Fc(n){return n==="x"?"y":"x"}function Ll(n){return n==="y"?"height":"width"}var QE=new Set(["top","bottom"]);function Vr(n){return QE.has(di(n))?"y":"x"}function Rl(n){return Fc(Vr(n))}function mf(n,o,t){t===void 0&&(t=!1);let r=Io(n),s=Rl(n),d=Ll(s),m=s==="x"?r===(t?"end":"start")?"right":"left":r==="start"?"bottom":"top";return o.reference[d]>o.floating[d]&&(m=Ma(m)),[m,Ma(m)]}function uf(n){let o=Ma(n);return[wl(n),o,wl(o)]}function wl(n){return n.replace(/start|end/g,o=>ZE[o])}var hf=["left","right"],pf=["right","left"],JE=["top","bottom"],tT=["bottom","top"];function eT(n,o,t){switch(n){case"top":case"bottom":return t?o?pf:hf:o?hf:pf;case"left":case"right":return o?JE:tT;default:return[]}}function ff(n,o,t,r){let s=Io(n),d=eT(di(n),t==="start",r);return s&&(d=d.map(m=>m+"-"+s),o&&(d=d.concat(d.map(wl)))),d}function Ma(n){return n.replace(/left|right|bottom|top/g,o=>XE[o])}function rT(n){return{top:0,right:0,bottom:0,left:0,...n}}function $c(n){return typeof n!="number"?rT(n):{top:n,right:n,bottom:n,left:n}}function _o(n){let{x:o,y:t,width:r,height:s}=n;return{width:r,height:s,top:t,left:o,right:o+r,bottom:t+s,x:o,y:t}}function vf(n,o,t){let{reference:r,floating:s}=n,d=Vr(o),m=Rl(o),b=Ll(m),x=di(o),L=d==="y",U=r.x+r.width/2-s.width/2,K=r.y+r.height/2-s.height/2,Z=r[b]/2-s[b]/2,X;switch(x){case"top":X={x:U,y:r.y-s.height};break;case"bottom":X={x:U,y:r.y+r.height};break;case"right":X={x:r.x+r.width,y:K};break;case"left":X={x:r.x-s.width,y:K};break;default:X={x:r.x,y:r.y}}switch(Io(o)){case"start":X[m]-=Z*(t&&L?-1:1);break;case"end":X[m]+=Z*(t&&L?-1:1);break}return X}var gf=async(n,o,t)=>{let{placement:r="bottom",strategy:s="absolute",middleware:d=[],platform:m}=t,b=d.filter(Boolean),x=await(m.isRTL==null?void 0:m.isRTL(o)),L=await m.getElementRects({reference:n,floating:o,strategy:s}),{x:U,y:K}=vf(L,r,x),Z=r,X={},it=0;for(let dt=0;dt<b.length;dt++){let{name:lt,fn:gt}=b[dt],{x:St,y:Ct,data:Gt,reset:zt}=await gt({x:U,y:K,initialPlacement:r,placement:Z,strategy:s,middlewareData:X,rects:L,platform:m,elements:{reference:n,floating:o}});U=St!=null?St:U,K=Ct!=null?Ct:K,X={...X,[lt]:{...X[lt],...Gt}},zt&&it<=50&&(it++,typeof zt=="object"&&(zt.placement&&(Z=zt.placement),zt.rects&&(L=zt.rects===!0?await m.getElementRects({reference:n,floating:o,strategy:s}):zt.rects),{x:U,y:K}=vf(L,Z,x)),dt=-1)}return{x:U,y:K,placement:Z,strategy:s,middlewareData:X}};async function Ol(n,o){var t;o===void 0&&(o={});let{x:r,y:s,platform:d,rects:m,elements:b,strategy:x}=n,{boundary:L="clippingAncestors",rootBoundary:U="viewport",elementContext:K="floating",altBoundary:Z=!1,padding:X=0}=So(o,n),it=$c(X),lt=b[Z?K==="floating"?"reference":"floating":K],gt=_o(await d.getClippingRect({element:(t=await(d.isElement==null?void 0:d.isElement(lt)))==null||t?lt:lt.contextElement||await(d.getDocumentElement==null?void 0:d.getDocumentElement(b.floating)),boundary:L,rootBoundary:U,strategy:x})),St=K==="floating"?{x:r,y:s,width:m.floating.width,height:m.floating.height}:m.reference,Ct=await(d.getOffsetParent==null?void 0:d.getOffsetParent(b.floating)),Gt=await(d.isElement==null?void 0:d.isElement(Ct))?await(d.getScale==null?void 0:d.getScale(Ct))||{x:1,y:1}:{x:1,y:1},zt=_o(d.convertOffsetParentRelativeRectToViewportRelativeRect?await d.convertOffsetParentRelativeRectToViewportRelativeRect({elements:b,rect:St,offsetParent:Ct,strategy:x}):St);return{top:(gt.top-zt.top+it.top)/Gt.y,bottom:(zt.bottom-gt.bottom+it.bottom)/Gt.y,left:(gt.left-zt.left+it.left)/Gt.x,right:(zt.right-gt.right+it.right)/Gt.x}}var bf=n=>({name:"arrow",options:n,async fn(o){let{x:t,y:r,placement:s,rects:d,platform:m,elements:b,middlewareData:x}=o,{element:L,padding:U=0}=So(n,o)||{};if(L==null)return{};let K=$c(U),Z={x:t,y:r},X=Rl(s),it=Ll(X),dt=await m.getDimensions(L),lt=X==="y",gt=lt?"top":"left",St=lt?"bottom":"right",Ct=lt?"clientHeight":"clientWidth",Gt=d.reference[it]+d.reference[X]-Z[X]-d.floating[it],zt=Z[X]-d.reference[X],Yt=await(m.getOffsetParent==null?void 0:m.getOffsetParent(L)),Zt=Yt?Yt[Ct]:0;(!Zt||!await(m.isElement==null?void 0:m.isElement(Yt)))&&(Zt=b.floating[Ct]||d.floating[it]);let ne=Gt/2-zt/2,fr=Zt/2-dt[it]/2-1,Ne=zr(K[gt],fr),Qe=zr(K[St],fr),vr=Ne,gr=Zt-dt[it]-Qe,kt=Zt/2-dt[it]/2+ne,me=Nl(vr,kt,gr),Je=!x.arrow&&Io(s)!=null&&kt!==me&&d.reference[it]/2-(kt<vr?Ne:Qe)-dt[it]/2<0,tr=Je?kt<vr?kt-vr:kt-gr:0;return{[X]:Z[X]+tr,data:{[X]:me,centerOffset:kt-me-tr,...Je&&{alignmentOffset:tr}},reset:Je}}});var yf=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(o){var t,r;let{placement:s,middlewareData:d,rects:m,initialPlacement:b,platform:x,elements:L}=o,{mainAxis:U=!0,crossAxis:K=!0,fallbackPlacements:Z,fallbackStrategy:X="bestFit",fallbackAxisSideDirection:it="none",flipAlignment:dt=!0,...lt}=So(n,o);if((t=d.arrow)!=null&&t.alignmentOffset)return{};let gt=di(s),St=Vr(b),Ct=di(b)===b,Gt=await(x.isRTL==null?void 0:x.isRTL(L.floating)),zt=Z||(Ct||!dt?[Ma(b)]:uf(b)),Yt=it!=="none";!Z&&Yt&&zt.push(...ff(b,dt,it,Gt));let Zt=[b,...zt],ne=await Ol(o,lt),fr=[],Ne=((r=d.flip)==null?void 0:r.overflows)||[];if(U&&fr.push(ne[gt]),K){let kt=mf(s,m,Gt);fr.push(ne[kt[0]],ne[kt[1]])}if(Ne=[...Ne,{placement:s,overflows:fr}],!fr.every(kt=>kt<=0)){var Qe,vr;let kt=(((Qe=d.flip)==null?void 0:Qe.index)||0)+1,me=Zt[kt];if(me&&(!(K==="alignment"?St!==Vr(me):!1)||Ne.every(er=>er.overflows[0]>0&&Vr(er.placement)===St)))return{data:{index:kt,overflows:Ne},reset:{placement:me}};let Je=(vr=Ne.filter(tr=>tr.overflows[0]<=0).sort((tr,er)=>tr.overflows[1]-er.overflows[1])[0])==null?void 0:vr.placement;if(!Je)switch(X){case"bestFit":{var gr;let tr=(gr=Ne.filter(er=>{if(Yt){let rr=Vr(er.placement);return rr===St||rr==="y"}return!0}).map(er=>[er.placement,er.overflows.filter(rr=>rr>0).reduce((rr,vn)=>rr+vn,0)]).sort((er,rr)=>er[1]-rr[1])[0])==null?void 0:gr[0];tr&&(Je=tr);break}case"initialPlacement":Je=b;break}if(s!==Je)return{reset:{placement:Je}}}return{}}}};var iT=new Set(["left","top"]);async function oT(n,o){let{placement:t,platform:r,elements:s}=n,d=await(r.isRTL==null?void 0:r.isRTL(s.floating)),m=di(t),b=Io(t),x=Vr(t)==="y",L=iT.has(m)?-1:1,U=d&&x?-1:1,K=So(o,n),{mainAxis:Z,crossAxis:X,alignmentAxis:it}=typeof K=="number"?{mainAxis:K,crossAxis:0,alignmentAxis:null}:{mainAxis:K.mainAxis||0,crossAxis:K.crossAxis||0,alignmentAxis:K.alignmentAxis};return b&&typeof it=="number"&&(X=b==="end"?it*-1:it),x?{x:X*U,y:Z*L}:{x:Z*L,y:X*U}}var Ef=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(o){var t,r;let{x:s,y:d,placement:m,middlewareData:b}=o,x=await oT(o,n);return m===((t=b.offset)==null?void 0:t.placement)&&(r=b.arrow)!=null&&r.alignmentOffset?{}:{x:s+x.x,y:d+x.y,data:{...x,placement:m}}}}},Tf=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(o){let{x:t,y:r,placement:s}=o,{mainAxis:d=!0,crossAxis:m=!1,limiter:b={fn:lt=>{let{x:gt,y:St}=lt;return{x:gt,y:St}}},...x}=So(n,o),L={x:t,y:r},U=await Ol(o,x),K=Vr(di(s)),Z=Fc(K),X=L[Z],it=L[K];if(d){let lt=Z==="y"?"top":"left",gt=Z==="y"?"bottom":"right",St=X+U[lt],Ct=X-U[gt];X=Nl(St,X,Ct)}if(m){let lt=K==="y"?"top":"left",gt=K==="y"?"bottom":"right",St=it+U[lt],Ct=it-U[gt];it=Nl(St,it,Ct)}let dt=b.fn({...o,[Z]:X,[K]:it});return{...dt,data:{x:dt.x-t,y:dt.y-r,enabled:{[Z]:d,[K]:m}}}}}};var xf=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(o){var t,r;let{placement:s,rects:d,platform:m,elements:b}=o,{apply:x=()=>{},...L}=So(n,o),U=await Ol(o,L),K=di(s),Z=Io(s),X=Vr(s)==="y",{width:it,height:dt}=d.floating,lt,gt;K==="top"||K==="bottom"?(lt=K,gt=Z===(await(m.isRTL==null?void 0:m.isRTL(b.floating))?"start":"end")?"left":"right"):(gt=K,lt=Z==="end"?"top":"bottom");let St=dt-U.top-U.bottom,Ct=it-U.left-U.right,Gt=zr(dt-U[lt],St),zt=zr(it-U[gt],Ct),Yt=!o.middlewareData.shift,Zt=Gt,ne=zt;if((t=o.middlewareData.shift)!=null&&t.enabled.x&&(ne=Ct),(r=o.middlewareData.shift)!=null&&r.enabled.y&&(Zt=St),Yt&&!Z){let Ne=_e(U.left,0),Qe=_e(U.right,0),vr=_e(U.top,0),gr=_e(U.bottom,0);X?ne=it-2*(Ne!==0||Qe!==0?Ne+Qe:_e(U.left,U.right)):Zt=dt-2*(vr!==0||gr!==0?vr+gr:_e(U.top,U.bottom))}await x({...o,availableWidth:ne,availableHeight:Zt});let fr=await m.getDimensions(b.floating);return it!==fr.width||dt!==fr.height?{reset:{rects:!0}}:{}}}};function Ml(){return typeof window<"u"}function Co(n){return Sf(n)?(n.nodeName||"").toLowerCase():"#document"}function Ve(n){var o;return(n==null||(o=n.ownerDocument)==null?void 0:o.defaultView)||window}function Ar(n){var o;return(o=(Sf(n)?n.ownerDocument:n.document)||window.document)==null?void 0:o.documentElement}function Sf(n){return Ml()?n instanceof Node||n instanceof Ve(n).Node:!1}function lr(n){return Ml()?n instanceof Element||n instanceof Ve(n).Element:!1}function Sr(n){return Ml()?n instanceof HTMLElement||n instanceof Ve(n).HTMLElement:!1}function Af(n){return!Ml()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Ve(n).ShadowRoot}var sT=new Set(["inline","contents"]);function Ss(n){let{overflow:o,overflowX:t,overflowY:r,display:s}=dr(n);return/auto|scroll|overlay|hidden|clip/.test(o+r+t)&&!sT.has(s)}var aT=new Set(["table","td","th"]);function If(n){return aT.has(Co(n))}var nT=[":popover-open",":modal"];function Fa(n){return nT.some(o=>{try{return n.matches(o)}catch{return!1}})}var lT=["transform","translate","scale","rotate","perspective"],dT=["transform","translate","scale","rotate","perspective","filter"],cT=["paint","layout","strict","content"];function Pl(n){let o=Dl(),t=lr(n)?dr(n):n;return lT.some(r=>t[r]?t[r]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!o&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!o&&(t.filter?t.filter!=="none":!1)||dT.some(r=>(t.willChange||"").includes(r))||cT.some(r=>(t.contain||"").includes(r))}function _f(n){let o=ci(n);for(;Sr(o)&&!ko(o);){if(Pl(o))return o;if(Fa(o))return null;o=ci(o)}return null}function Dl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var hT=new Set(["html","body","#document"]);function ko(n){return hT.has(Co(n))}function dr(n){return Ve(n).getComputedStyle(n)}function $a(n){return lr(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function ci(n){if(Co(n)==="html")return n;let o=n.assignedSlot||n.parentNode||Af(n)&&n.host||Ar(n);return Af(o)?o.host:o}function Cf(n){let o=ci(n);return ko(o)?n.ownerDocument?n.ownerDocument.body:n.body:Sr(o)&&Ss(o)?o:Cf(o)}function As(n,o,t){var r;o===void 0&&(o=[]),t===void 0&&(t=!0);let s=Cf(n),d=s===((r=n.ownerDocument)==null?void 0:r.body),m=Ve(s);if(d){let b=Fl(m);return o.concat(m,m.visualViewport||[],Ss(s)?s:[],b&&t?As(b):[])}return o.concat(s,As(s,[],t))}function Fl(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function Nf(n){let o=dr(n),t=parseFloat(o.width)||0,r=parseFloat(o.height)||0,s=Sr(n),d=s?n.offsetWidth:t,m=s?n.offsetHeight:r,b=Pa(t)!==d||Pa(r)!==m;return b&&(t=d,r=m),{width:t,height:r,$:b}}function Vc(n){return lr(n)?n:n.contextElement}function Is(n){let o=Vc(n);if(!Sr(o))return xr(1);let t=o.getBoundingClientRect(),{width:r,height:s,$:d}=Nf(o),m=(d?Pa(t.width):t.width)/r,b=(d?Pa(t.height):t.height)/s;return(!m||!Number.isFinite(m))&&(m=1),(!b||!Number.isFinite(b))&&(b=1),{x:m,y:b}}var pT=xr(0);function Lf(n){let o=Ve(n);return!Dl()||!o.visualViewport?pT:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function mT(n,o,t){return o===void 0&&(o=!1),!t||o&&t!==Ve(n)?!1:o}function wo(n,o,t,r){o===void 0&&(o=!1),t===void 0&&(t=!1);let s=n.getBoundingClientRect(),d=Vc(n),m=xr(1);o&&(r?lr(r)&&(m=Is(r)):m=Is(n));let b=mT(d,t,r)?Lf(d):xr(0),x=(s.left+b.x)/m.x,L=(s.top+b.y)/m.y,U=s.width/m.x,K=s.height/m.y;if(d){let Z=Ve(d),X=r&&lr(r)?Ve(r):r,it=Z,dt=Fl(it);for(;dt&&r&&X!==it;){let lt=Is(dt),gt=dt.getBoundingClientRect(),St=dr(dt),Ct=gt.left+(dt.clientLeft+parseFloat(St.paddingLeft))*lt.x,Gt=gt.top+(dt.clientTop+parseFloat(St.paddingTop))*lt.y;x*=lt.x,L*=lt.y,U*=lt.x,K*=lt.y,x+=Ct,L+=Gt,it=Ve(dt),dt=Fl(it)}}return _o({width:U,height:K,x,y:L})}function Bc(n,o){let t=$a(n).scrollLeft;return o?o.left+t:wo(Ar(n)).left+t}function Rf(n,o,t){t===void 0&&(t=!1);let r=n.getBoundingClientRect(),s=r.left+o.scrollLeft-(t?0:Bc(n,r)),d=r.top+o.scrollTop;return{x:s,y:d}}function uT(n){let{elements:o,rect:t,offsetParent:r,strategy:s}=n,d=s==="fixed",m=Ar(r),b=o?Fa(o.floating):!1;if(r===m||b&&d)return t;let x={scrollLeft:0,scrollTop:0},L=xr(1),U=xr(0),K=Sr(r);if((K||!K&&!d)&&((Co(r)!=="body"||Ss(m))&&(x=$a(r)),Sr(r))){let X=wo(r);L=Is(r),U.x=X.x+r.clientLeft,U.y=X.y+r.clientTop}let Z=m&&!K&&!d?Rf(m,x,!0):xr(0);return{width:t.width*L.x,height:t.height*L.y,x:t.x*L.x-x.scrollLeft*L.x+U.x+Z.x,y:t.y*L.y-x.scrollTop*L.y+U.y+Z.y}}function fT(n){return Array.from(n.getClientRects())}function vT(n){let o=Ar(n),t=$a(n),r=n.ownerDocument.body,s=_e(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),d=_e(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight),m=-t.scrollLeft+Bc(n),b=-t.scrollTop;return dr(r).direction==="rtl"&&(m+=_e(o.clientWidth,r.clientWidth)-s),{width:s,height:d,x:m,y:b}}function gT(n,o){let t=Ve(n),r=Ar(n),s=t.visualViewport,d=r.clientWidth,m=r.clientHeight,b=0,x=0;if(s){d=s.width,m=s.height;let L=Dl();(!L||L&&o==="fixed")&&(b=s.offsetLeft,x=s.offsetTop)}return{width:d,height:m,x:b,y:x}}var bT=new Set(["absolute","fixed"]);function yT(n,o){let t=wo(n,!0,o==="fixed"),r=t.top+n.clientTop,s=t.left+n.clientLeft,d=Sr(n)?Is(n):xr(1),m=n.clientWidth*d.x,b=n.clientHeight*d.y,x=s*d.x,L=r*d.y;return{width:m,height:b,x,y:L}}function kf(n,o,t){let r;if(o==="viewport")r=gT(n,t);else if(o==="document")r=vT(Ar(n));else if(lr(o))r=yT(o,t);else{let s=Lf(n);r={x:o.x-s.x,y:o.y-s.y,width:o.width,height:o.height}}return _o(r)}function Of(n,o){let t=ci(n);return t===o||!lr(t)||ko(t)?!1:dr(t).position==="fixed"||Of(t,o)}function ET(n,o){let t=o.get(n);if(t)return t;let r=As(n,[],!1).filter(b=>lr(b)&&Co(b)!=="body"),s=null,d=dr(n).position==="fixed",m=d?ci(n):n;for(;lr(m)&&!ko(m);){let b=dr(m),x=Pl(m);!x&&b.position==="fixed"&&(s=null),(d?!x&&!s:!x&&b.position==="static"&&!!s&&bT.has(s.position)||Ss(m)&&!x&&Of(n,m))?r=r.filter(U=>U!==m):s=b,m=ci(m)}return o.set(n,r),r}function TT(n){let{element:o,boundary:t,rootBoundary:r,strategy:s}=n,m=[...t==="clippingAncestors"?Fa(o)?[]:ET(o,this._c):[].concat(t),r],b=m[0],x=m.reduce((L,U)=>{let K=kf(o,U,s);return L.top=_e(K.top,L.top),L.right=zr(K.right,L.right),L.bottom=zr(K.bottom,L.bottom),L.left=_e(K.left,L.left),L},kf(o,b,s));return{width:x.right-x.left,height:x.bottom-x.top,x:x.left,y:x.top}}function xT(n){let{width:o,height:t}=Nf(n);return{width:o,height:t}}function AT(n,o,t){let r=Sr(o),s=Ar(o),d=t==="fixed",m=wo(n,!0,d,o),b={scrollLeft:0,scrollTop:0},x=xr(0);function L(){x.x=Bc(s)}if(r||!r&&!d)if((Co(o)!=="body"||Ss(s))&&(b=$a(o)),r){let X=wo(o,!0,d,o);x.x=X.x+o.clientLeft,x.y=X.y+o.clientTop}else s&&L();d&&!r&&s&&L();let U=s&&!r&&!d?Rf(s,b):xr(0),K=m.left+b.scrollLeft-x.x-U.x,Z=m.top+b.scrollTop-x.y-U.y;return{x:K,y:Z,width:m.width,height:m.height}}function zc(n){return dr(n).position==="static"}function wf(n,o){if(!Sr(n)||dr(n).position==="fixed")return null;if(o)return o(n);let t=n.offsetParent;return Ar(n)===t&&(t=t.ownerDocument.body),t}function Mf(n,o){let t=Ve(n);if(Fa(n))return t;if(!Sr(n)){let s=ci(n);for(;s&&!ko(s);){if(lr(s)&&!zc(s))return s;s=ci(s)}return t}let r=wf(n,o);for(;r&&If(r)&&zc(r);)r=wf(r,o);return r&&ko(r)&&zc(r)&&!Pl(r)?t:r||_f(n)||t}var ST=async function(n){let o=this.getOffsetParent||Mf,t=this.getDimensions,r=await t(n.floating);return{reference:AT(n.reference,await o(n.floating),n.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function IT(n){return dr(n).direction==="rtl"}var _T={convertOffsetParentRelativeRectToViewportRelativeRect:uT,getDocumentElement:Ar,getClippingRect:TT,getOffsetParent:Mf,getElementRects:ST,getClientRects:fT,getDimensions:xT,getScale:Is,isElement:lr,isRTL:IT};function Pf(n,o){return n.x===o.x&&n.y===o.y&&n.width===o.width&&n.height===o.height}function CT(n,o){let t=null,r,s=Ar(n);function d(){var b;clearTimeout(r),(b=t)==null||b.disconnect(),t=null}function m(b,x){b===void 0&&(b=!1),x===void 0&&(x=1),d();let L=n.getBoundingClientRect(),{left:U,top:K,width:Z,height:X}=L;if(b||o(),!Z||!X)return;let it=Da(K),dt=Da(s.clientWidth-(U+Z)),lt=Da(s.clientHeight-(K+X)),gt=Da(U),Ct={rootMargin:-it+"px "+-dt+"px "+-lt+"px "+-gt+"px",threshold:_e(0,zr(1,x))||1},Gt=!0;function zt(Yt){let Zt=Yt[0].intersectionRatio;if(Zt!==x){if(!Gt)return m();Zt?m(!1,Zt):r=setTimeout(()=>{m(!1,1e-7)},1e3)}Zt===1&&!Pf(L,n.getBoundingClientRect())&&m(),Gt=!1}try{t=new IntersectionObserver(zt,{...Ct,root:s.ownerDocument})}catch{t=new IntersectionObserver(zt,Ct)}t.observe(n)}return m(!0),d}function Df(n,o,t,r){r===void 0&&(r={});let{ancestorScroll:s=!0,ancestorResize:d=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:b=typeof IntersectionObserver=="function",animationFrame:x=!1}=r,L=Vc(n),U=s||d?[...L?As(L):[],...As(o)]:[];U.forEach(gt=>{s&&gt.addEventListener("scroll",t,{passive:!0}),d&&gt.addEventListener("resize",t)});let K=L&&b?CT(L,t):null,Z=-1,X=null;m&&(X=new ResizeObserver(gt=>{let[St]=gt;St&&St.target===L&&X&&(X.unobserve(o),cancelAnimationFrame(Z),Z=requestAnimationFrame(()=>{var Ct;(Ct=X)==null||Ct.observe(o)})),t()}),L&&!x&&X.observe(L),X.observe(o));let it,dt=x?wo(n):null;x&&lt();function lt(){let gt=wo(n);dt&&!Pf(dt,gt)&&t(),dt=gt,it=requestAnimationFrame(lt)}return t(),()=>{var gt;U.forEach(St=>{s&&St.removeEventListener("scroll",t),d&&St.removeEventListener("resize",t)}),K==null||K(),(gt=X)==null||gt.disconnect(),X=null,x&&cancelAnimationFrame(it)}}var Ff=Ef;var $f=Tf,zf=yf,Vf=xf;var Bf=bf;var Uf=(n,o,t)=>{let r=new Map,s={platform:_T,...t},d={...s.platform,_c:r};return gf(n,o,{...s,platform:d})};var Hf=z.constructTagName("popover"),wt={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"},hi={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},No={TONAL:"tonal",CONTRAST:"contrast"},kT={ABSOLUTE:"absolute",FIXED:"fixed"},It={PLACEMENT:wt.BOTTOM,TRIGGER:hi.CLICK,COLOR:No.TONAL,STRATEGY:kT.ABSOLUTE,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:rt.DIALOG,Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,PROPAGATE_EVENT_ON_ESCAPE:!1,KEEP_CONNECTED_TOOLTIP_OPEN:!1,IS_BACKDROP_INVISIBLE:!0,ANIMATION_FRAME:!1};var pi=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 Uc=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 Uc;var wT=B`
2540
+ `],cf=jE;var Ao=class extends Bt(q){constructor(){super(...arguments);this.checked=!1;this.readonly=!1;this.softDisabled=!1}render(){return _` <slot></slot>
2541
+ <span part="radio-icon" class="radio-icon"></span>`}};Ao.styles=[...q.styles,...cf],p([u({type:Boolean,reflect:!0})],Ao.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Ao.prototype,"readonly",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Ao.prototype,"softDisabled",2);var Fc=Ao;var hf=z.constructTagName("staticradio");Fc.register(hf);var KE=Fc;Dc.register(kl);var qE=Dc;var zr=Math.min,_e=Math.max,Pa=Math.round,Da=Math.floor,xr=n=>({x:n,y:n}),XE={left:"right",right:"left",bottom:"top",top:"bottom"},ZE={start:"end",end:"start"};function Nl(n,o,t){return _e(n,zr(o,t))}function So(n,o){return typeof n=="function"?n(o):n}function di(n){return n.split("-")[0]}function Io(n){return n.split("-")[1]}function $c(n){return n==="x"?"y":"x"}function Ll(n){return n==="y"?"height":"width"}var QE=new Set(["top","bottom"]);function Vr(n){return QE.has(di(n))?"y":"x"}function Ol(n){return $c(Vr(n))}function uf(n,o,t){t===void 0&&(t=!1);let r=Io(n),s=Ol(n),d=Ll(s),m=s==="x"?r===(t?"end":"start")?"right":"left":r==="start"?"bottom":"top";return o.reference[d]>o.floating[d]&&(m=Ma(m)),[m,Ma(m)]}function ff(n){let o=Ma(n);return[wl(n),o,wl(o)]}function wl(n){return n.replace(/start|end/g,o=>ZE[o])}var pf=["left","right"],mf=["right","left"],JE=["top","bottom"],tT=["bottom","top"];function eT(n,o,t){switch(n){case"top":case"bottom":return t?o?mf:pf:o?pf:mf;case"left":case"right":return o?JE:tT;default:return[]}}function vf(n,o,t,r){let s=Io(n),d=eT(di(n),t==="start",r);return s&&(d=d.map(m=>m+"-"+s),o&&(d=d.concat(d.map(wl)))),d}function Ma(n){return n.replace(/left|right|bottom|top/g,o=>XE[o])}function rT(n){return{top:0,right:0,bottom:0,left:0,...n}}function zc(n){return typeof n!="number"?rT(n):{top:n,right:n,bottom:n,left:n}}function _o(n){let{x:o,y:t,width:r,height:s}=n;return{width:r,height:s,top:t,left:o,right:o+r,bottom:t+s,x:o,y:t}}function gf(n,o,t){let{reference:r,floating:s}=n,d=Vr(o),m=Ol(o),g=Ll(m),x=di(o),L=d==="y",B=r.x+r.width/2-s.width/2,K=r.y+r.height/2-s.height/2,Z=r[g]/2-s[g]/2,X;switch(x){case"top":X={x:B,y:r.y-s.height};break;case"bottom":X={x:B,y:r.y+r.height};break;case"right":X={x:r.x+r.width,y:K};break;case"left":X={x:r.x-s.width,y:K};break;default:X={x:r.x,y:r.y}}switch(Io(o)){case"start":X[m]-=Z*(t&&L?-1:1);break;case"end":X[m]+=Z*(t&&L?-1:1);break}return X}var bf=async(n,o,t)=>{let{placement:r="bottom",strategy:s="absolute",middleware:d=[],platform:m}=t,g=d.filter(Boolean),x=await(m.isRTL==null?void 0:m.isRTL(o)),L=await m.getElementRects({reference:n,floating:o,strategy:s}),{x:B,y:K}=gf(L,r,x),Z=r,X={},it=0;for(let dt=0;dt<g.length;dt++){let{name:lt,fn:gt}=g[dt],{x:St,y:Ct,data:Gt,reset:zt}=await gt({x:B,y:K,initialPlacement:r,placement:Z,strategy:s,middlewareData:X,rects:L,platform:m,elements:{reference:n,floating:o}});B=St!=null?St:B,K=Ct!=null?Ct:K,X={...X,[lt]:{...X[lt],...Gt}},zt&&it<=50&&(it++,typeof zt=="object"&&(zt.placement&&(Z=zt.placement),zt.rects&&(L=zt.rects===!0?await m.getElementRects({reference:n,floating:o,strategy:s}):zt.rects),{x:B,y:K}=gf(L,Z,x)),dt=-1)}return{x:B,y:K,placement:Z,strategy:s,middlewareData:X}};async function Rl(n,o){var t;o===void 0&&(o={});let{x:r,y:s,platform:d,rects:m,elements:g,strategy:x}=n,{boundary:L="clippingAncestors",rootBoundary:B="viewport",elementContext:K="floating",altBoundary:Z=!1,padding:X=0}=So(o,n),it=zc(X),lt=g[Z?K==="floating"?"reference":"floating":K],gt=_o(await d.getClippingRect({element:(t=await(d.isElement==null?void 0:d.isElement(lt)))==null||t?lt:lt.contextElement||await(d.getDocumentElement==null?void 0:d.getDocumentElement(g.floating)),boundary:L,rootBoundary:B,strategy:x})),St=K==="floating"?{x:r,y:s,width:m.floating.width,height:m.floating.height}:m.reference,Ct=await(d.getOffsetParent==null?void 0:d.getOffsetParent(g.floating)),Gt=await(d.isElement==null?void 0:d.isElement(Ct))?await(d.getScale==null?void 0:d.getScale(Ct))||{x:1,y:1}:{x:1,y:1},zt=_o(d.convertOffsetParentRelativeRectToViewportRelativeRect?await d.convertOffsetParentRelativeRectToViewportRelativeRect({elements:g,rect:St,offsetParent:Ct,strategy:x}):St);return{top:(gt.top-zt.top+it.top)/Gt.y,bottom:(zt.bottom-gt.bottom+it.bottom)/Gt.y,left:(gt.left-zt.left+it.left)/Gt.x,right:(zt.right-gt.right+it.right)/Gt.x}}var yf=n=>({name:"arrow",options:n,async fn(o){let{x:t,y:r,placement:s,rects:d,platform:m,elements:g,middlewareData:x}=o,{element:L,padding:B=0}=So(n,o)||{};if(L==null)return{};let K=zc(B),Z={x:t,y:r},X=Ol(s),it=Ll(X),dt=await m.getDimensions(L),lt=X==="y",gt=lt?"top":"left",St=lt?"bottom":"right",Ct=lt?"clientHeight":"clientWidth",Gt=d.reference[it]+d.reference[X]-Z[X]-d.floating[it],zt=Z[X]-d.reference[X],Yt=await(m.getOffsetParent==null?void 0:m.getOffsetParent(L)),Zt=Yt?Yt[Ct]:0;(!Zt||!await(m.isElement==null?void 0:m.isElement(Yt)))&&(Zt=g.floating[Ct]||d.floating[it]);let ne=Gt/2-zt/2,fr=Zt/2-dt[it]/2-1,Ne=zr(K[gt],fr),Qe=zr(K[St],fr),vr=Ne,gr=Zt-dt[it]-Qe,kt=Zt/2-dt[it]/2+ne,me=Nl(vr,kt,gr),Je=!x.arrow&&Io(s)!=null&&kt!==me&&d.reference[it]/2-(kt<vr?Ne:Qe)-dt[it]/2<0,tr=Je?kt<vr?kt-vr:kt-gr:0;return{[X]:Z[X]+tr,data:{[X]:me,centerOffset:kt-me-tr,...Je&&{alignmentOffset:tr}},reset:Je}}});var Ef=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(o){var t,r;let{placement:s,middlewareData:d,rects:m,initialPlacement:g,platform:x,elements:L}=o,{mainAxis:B=!0,crossAxis:K=!0,fallbackPlacements:Z,fallbackStrategy:X="bestFit",fallbackAxisSideDirection:it="none",flipAlignment:dt=!0,...lt}=So(n,o);if((t=d.arrow)!=null&&t.alignmentOffset)return{};let gt=di(s),St=Vr(g),Ct=di(g)===g,Gt=await(x.isRTL==null?void 0:x.isRTL(L.floating)),zt=Z||(Ct||!dt?[Ma(g)]:ff(g)),Yt=it!=="none";!Z&&Yt&&zt.push(...vf(g,dt,it,Gt));let Zt=[g,...zt],ne=await Rl(o,lt),fr=[],Ne=((r=d.flip)==null?void 0:r.overflows)||[];if(B&&fr.push(ne[gt]),K){let kt=uf(s,m,Gt);fr.push(ne[kt[0]],ne[kt[1]])}if(Ne=[...Ne,{placement:s,overflows:fr}],!fr.every(kt=>kt<=0)){var Qe,vr;let kt=(((Qe=d.flip)==null?void 0:Qe.index)||0)+1,me=Zt[kt];if(me&&(!(K==="alignment"?St!==Vr(me):!1)||Ne.every(er=>er.overflows[0]>0&&Vr(er.placement)===St)))return{data:{index:kt,overflows:Ne},reset:{placement:me}};let Je=(vr=Ne.filter(tr=>tr.overflows[0]<=0).sort((tr,er)=>tr.overflows[1]-er.overflows[1])[0])==null?void 0:vr.placement;if(!Je)switch(X){case"bestFit":{var gr;let tr=(gr=Ne.filter(er=>{if(Yt){let rr=Vr(er.placement);return rr===St||rr==="y"}return!0}).map(er=>[er.placement,er.overflows.filter(rr=>rr>0).reduce((rr,vn)=>rr+vn,0)]).sort((er,rr)=>er[1]-rr[1])[0])==null?void 0:gr[0];tr&&(Je=tr);break}case"initialPlacement":Je=g;break}if(s!==Je)return{reset:{placement:Je}}}return{}}}};var iT=new Set(["left","top"]);async function oT(n,o){let{placement:t,platform:r,elements:s}=n,d=await(r.isRTL==null?void 0:r.isRTL(s.floating)),m=di(t),g=Io(t),x=Vr(t)==="y",L=iT.has(m)?-1:1,B=d&&x?-1:1,K=So(o,n),{mainAxis:Z,crossAxis:X,alignmentAxis:it}=typeof K=="number"?{mainAxis:K,crossAxis:0,alignmentAxis:null}:{mainAxis:K.mainAxis||0,crossAxis:K.crossAxis||0,alignmentAxis:K.alignmentAxis};return g&&typeof it=="number"&&(X=g==="end"?it*-1:it),x?{x:X*B,y:Z*L}:{x:Z*L,y:X*B}}var Tf=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(o){var t,r;let{x:s,y:d,placement:m,middlewareData:g}=o,x=await oT(o,n);return m===((t=g.offset)==null?void 0:t.placement)&&(r=g.arrow)!=null&&r.alignmentOffset?{}:{x:s+x.x,y:d+x.y,data:{...x,placement:m}}}}},xf=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(o){let{x:t,y:r,placement:s}=o,{mainAxis:d=!0,crossAxis:m=!1,limiter:g={fn:lt=>{let{x:gt,y:St}=lt;return{x:gt,y:St}}},...x}=So(n,o),L={x:t,y:r},B=await Rl(o,x),K=Vr(di(s)),Z=$c(K),X=L[Z],it=L[K];if(d){let lt=Z==="y"?"top":"left",gt=Z==="y"?"bottom":"right",St=X+B[lt],Ct=X-B[gt];X=Nl(St,X,Ct)}if(m){let lt=K==="y"?"top":"left",gt=K==="y"?"bottom":"right",St=it+B[lt],Ct=it-B[gt];it=Nl(St,it,Ct)}let dt=g.fn({...o,[Z]:X,[K]:it});return{...dt,data:{x:dt.x-t,y:dt.y-r,enabled:{[Z]:d,[K]:m}}}}}};var Af=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(o){var t,r;let{placement:s,rects:d,platform:m,elements:g}=o,{apply:x=()=>{},...L}=So(n,o),B=await Rl(o,L),K=di(s),Z=Io(s),X=Vr(s)==="y",{width:it,height:dt}=d.floating,lt,gt;K==="top"||K==="bottom"?(lt=K,gt=Z===(await(m.isRTL==null?void 0:m.isRTL(g.floating))?"start":"end")?"left":"right"):(gt=K,lt=Z==="end"?"top":"bottom");let St=dt-B.top-B.bottom,Ct=it-B.left-B.right,Gt=zr(dt-B[lt],St),zt=zr(it-B[gt],Ct),Yt=!o.middlewareData.shift,Zt=Gt,ne=zt;if((t=o.middlewareData.shift)!=null&&t.enabled.x&&(ne=Ct),(r=o.middlewareData.shift)!=null&&r.enabled.y&&(Zt=St),Yt&&!Z){let Ne=_e(B.left,0),Qe=_e(B.right,0),vr=_e(B.top,0),gr=_e(B.bottom,0);X?ne=it-2*(Ne!==0||Qe!==0?Ne+Qe:_e(B.left,B.right)):Zt=dt-2*(vr!==0||gr!==0?vr+gr:_e(B.top,B.bottom))}await x({...o,availableWidth:ne,availableHeight:Zt});let fr=await m.getDimensions(g.floating);return it!==fr.width||dt!==fr.height?{reset:{rects:!0}}:{}}}};function Ml(){return typeof window<"u"}function Co(n){return If(n)?(n.nodeName||"").toLowerCase():"#document"}function Ve(n){var o;return(n==null||(o=n.ownerDocument)==null?void 0:o.defaultView)||window}function Ar(n){var o;return(o=(If(n)?n.ownerDocument:n.document)||window.document)==null?void 0:o.documentElement}function If(n){return Ml()?n instanceof Node||n instanceof Ve(n).Node:!1}function lr(n){return Ml()?n instanceof Element||n instanceof Ve(n).Element:!1}function Sr(n){return Ml()?n instanceof HTMLElement||n instanceof Ve(n).HTMLElement:!1}function Sf(n){return!Ml()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Ve(n).ShadowRoot}var sT=new Set(["inline","contents"]);function Ss(n){let{overflow:o,overflowX:t,overflowY:r,display:s}=dr(n);return/auto|scroll|overlay|hidden|clip/.test(o+r+t)&&!sT.has(s)}var aT=new Set(["table","td","th"]);function _f(n){return aT.has(Co(n))}var nT=[":popover-open",":modal"];function Fa(n){return nT.some(o=>{try{return n.matches(o)}catch{return!1}})}var lT=["transform","translate","scale","rotate","perspective"],dT=["transform","translate","scale","rotate","perspective","filter"],cT=["paint","layout","strict","content"];function Pl(n){let o=Dl(),t=lr(n)?dr(n):n;return lT.some(r=>t[r]?t[r]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!o&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!o&&(t.filter?t.filter!=="none":!1)||dT.some(r=>(t.willChange||"").includes(r))||cT.some(r=>(t.contain||"").includes(r))}function Cf(n){let o=ci(n);for(;Sr(o)&&!ko(o);){if(Pl(o))return o;if(Fa(o))return null;o=ci(o)}return null}function Dl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var hT=new Set(["html","body","#document"]);function ko(n){return hT.has(Co(n))}function dr(n){return Ve(n).getComputedStyle(n)}function $a(n){return lr(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function ci(n){if(Co(n)==="html")return n;let o=n.assignedSlot||n.parentNode||Sf(n)&&n.host||Ar(n);return Sf(o)?o.host:o}function kf(n){let o=ci(n);return ko(o)?n.ownerDocument?n.ownerDocument.body:n.body:Sr(o)&&Ss(o)?o:kf(o)}function As(n,o,t){var r;o===void 0&&(o=[]),t===void 0&&(t=!0);let s=kf(n),d=s===((r=n.ownerDocument)==null?void 0:r.body),m=Ve(s);if(d){let g=Fl(m);return o.concat(m,m.visualViewport||[],Ss(s)?s:[],g&&t?As(g):[])}return o.concat(s,As(s,[],t))}function Fl(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function Lf(n){let o=dr(n),t=parseFloat(o.width)||0,r=parseFloat(o.height)||0,s=Sr(n),d=s?n.offsetWidth:t,m=s?n.offsetHeight:r,g=Pa(t)!==d||Pa(r)!==m;return g&&(t=d,r=m),{width:t,height:r,$:g}}function Bc(n){return lr(n)?n:n.contextElement}function Is(n){let o=Bc(n);if(!Sr(o))return xr(1);let t=o.getBoundingClientRect(),{width:r,height:s,$:d}=Lf(o),m=(d?Pa(t.width):t.width)/r,g=(d?Pa(t.height):t.height)/s;return(!m||!Number.isFinite(m))&&(m=1),(!g||!Number.isFinite(g))&&(g=1),{x:m,y:g}}var pT=xr(0);function Of(n){let o=Ve(n);return!Dl()||!o.visualViewport?pT:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function mT(n,o,t){return o===void 0&&(o=!1),!t||o&&t!==Ve(n)?!1:o}function wo(n,o,t,r){o===void 0&&(o=!1),t===void 0&&(t=!1);let s=n.getBoundingClientRect(),d=Bc(n),m=xr(1);o&&(r?lr(r)&&(m=Is(r)):m=Is(n));let g=mT(d,t,r)?Of(d):xr(0),x=(s.left+g.x)/m.x,L=(s.top+g.y)/m.y,B=s.width/m.x,K=s.height/m.y;if(d){let Z=Ve(d),X=r&&lr(r)?Ve(r):r,it=Z,dt=Fl(it);for(;dt&&r&&X!==it;){let lt=Is(dt),gt=dt.getBoundingClientRect(),St=dr(dt),Ct=gt.left+(dt.clientLeft+parseFloat(St.paddingLeft))*lt.x,Gt=gt.top+(dt.clientTop+parseFloat(St.paddingTop))*lt.y;x*=lt.x,L*=lt.y,B*=lt.x,K*=lt.y,x+=Ct,L+=Gt,it=Ve(dt),dt=Fl(it)}}return _o({width:B,height:K,x,y:L})}function Uc(n,o){let t=$a(n).scrollLeft;return o?o.left+t:wo(Ar(n)).left+t}function Rf(n,o,t){t===void 0&&(t=!1);let r=n.getBoundingClientRect(),s=r.left+o.scrollLeft-(t?0:Uc(n,r)),d=r.top+o.scrollTop;return{x:s,y:d}}function uT(n){let{elements:o,rect:t,offsetParent:r,strategy:s}=n,d=s==="fixed",m=Ar(r),g=o?Fa(o.floating):!1;if(r===m||g&&d)return t;let x={scrollLeft:0,scrollTop:0},L=xr(1),B=xr(0),K=Sr(r);if((K||!K&&!d)&&((Co(r)!=="body"||Ss(m))&&(x=$a(r)),Sr(r))){let X=wo(r);L=Is(r),B.x=X.x+r.clientLeft,B.y=X.y+r.clientTop}let Z=m&&!K&&!d?Rf(m,x,!0):xr(0);return{width:t.width*L.x,height:t.height*L.y,x:t.x*L.x-x.scrollLeft*L.x+B.x+Z.x,y:t.y*L.y-x.scrollTop*L.y+B.y+Z.y}}function fT(n){return Array.from(n.getClientRects())}function vT(n){let o=Ar(n),t=$a(n),r=n.ownerDocument.body,s=_e(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),d=_e(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight),m=-t.scrollLeft+Uc(n),g=-t.scrollTop;return dr(r).direction==="rtl"&&(m+=_e(o.clientWidth,r.clientWidth)-s),{width:s,height:d,x:m,y:g}}function gT(n,o){let t=Ve(n),r=Ar(n),s=t.visualViewport,d=r.clientWidth,m=r.clientHeight,g=0,x=0;if(s){d=s.width,m=s.height;let L=Dl();(!L||L&&o==="fixed")&&(g=s.offsetLeft,x=s.offsetTop)}return{width:d,height:m,x:g,y:x}}var bT=new Set(["absolute","fixed"]);function yT(n,o){let t=wo(n,!0,o==="fixed"),r=t.top+n.clientTop,s=t.left+n.clientLeft,d=Sr(n)?Is(n):xr(1),m=n.clientWidth*d.x,g=n.clientHeight*d.y,x=s*d.x,L=r*d.y;return{width:m,height:g,x,y:L}}function wf(n,o,t){let r;if(o==="viewport")r=gT(n,t);else if(o==="document")r=vT(Ar(n));else if(lr(o))r=yT(o,t);else{let s=Of(n);r={x:o.x-s.x,y:o.y-s.y,width:o.width,height:o.height}}return _o(r)}function Mf(n,o){let t=ci(n);return t===o||!lr(t)||ko(t)?!1:dr(t).position==="fixed"||Mf(t,o)}function ET(n,o){let t=o.get(n);if(t)return t;let r=As(n,[],!1).filter(g=>lr(g)&&Co(g)!=="body"),s=null,d=dr(n).position==="fixed",m=d?ci(n):n;for(;lr(m)&&!ko(m);){let g=dr(m),x=Pl(m);!x&&g.position==="fixed"&&(s=null),(d?!x&&!s:!x&&g.position==="static"&&!!s&&bT.has(s.position)||Ss(m)&&!x&&Mf(n,m))?r=r.filter(B=>B!==m):s=g,m=ci(m)}return o.set(n,r),r}function TT(n){let{element:o,boundary:t,rootBoundary:r,strategy:s}=n,m=[...t==="clippingAncestors"?Fa(o)?[]:ET(o,this._c):[].concat(t),r],g=m[0],x=m.reduce((L,B)=>{let K=wf(o,B,s);return L.top=_e(K.top,L.top),L.right=zr(K.right,L.right),L.bottom=zr(K.bottom,L.bottom),L.left=_e(K.left,L.left),L},wf(o,g,s));return{width:x.right-x.left,height:x.bottom-x.top,x:x.left,y:x.top}}function xT(n){let{width:o,height:t}=Lf(n);return{width:o,height:t}}function AT(n,o,t){let r=Sr(o),s=Ar(o),d=t==="fixed",m=wo(n,!0,d,o),g={scrollLeft:0,scrollTop:0},x=xr(0);function L(){x.x=Uc(s)}if(r||!r&&!d)if((Co(o)!=="body"||Ss(s))&&(g=$a(o)),r){let X=wo(o,!0,d,o);x.x=X.x+o.clientLeft,x.y=X.y+o.clientTop}else s&&L();d&&!r&&s&&L();let B=s&&!r&&!d?Rf(s,g):xr(0),K=m.left+g.scrollLeft-x.x-B.x,Z=m.top+g.scrollTop-x.y-B.y;return{x:K,y:Z,width:m.width,height:m.height}}function Vc(n){return dr(n).position==="static"}function Nf(n,o){if(!Sr(n)||dr(n).position==="fixed")return null;if(o)return o(n);let t=n.offsetParent;return Ar(n)===t&&(t=t.ownerDocument.body),t}function Pf(n,o){let t=Ve(n);if(Fa(n))return t;if(!Sr(n)){let s=ci(n);for(;s&&!ko(s);){if(lr(s)&&!Vc(s))return s;s=ci(s)}return t}let r=Nf(n,o);for(;r&&_f(r)&&Vc(r);)r=Nf(r,o);return r&&ko(r)&&Vc(r)&&!Pl(r)?t:r||Cf(n)||t}var ST=async function(n){let o=this.getOffsetParent||Pf,t=this.getDimensions,r=await t(n.floating);return{reference:AT(n.reference,await o(n.floating),n.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function IT(n){return dr(n).direction==="rtl"}var _T={convertOffsetParentRelativeRectToViewportRelativeRect:uT,getDocumentElement:Ar,getClippingRect:TT,getOffsetParent:Pf,getElementRects:ST,getClientRects:fT,getDimensions:xT,getScale:Is,isElement:lr,isRTL:IT};function Df(n,o){return n.x===o.x&&n.y===o.y&&n.width===o.width&&n.height===o.height}function CT(n,o){let t=null,r,s=Ar(n);function d(){var g;clearTimeout(r),(g=t)==null||g.disconnect(),t=null}function m(g,x){g===void 0&&(g=!1),x===void 0&&(x=1),d();let L=n.getBoundingClientRect(),{left:B,top:K,width:Z,height:X}=L;if(g||o(),!Z||!X)return;let it=Da(K),dt=Da(s.clientWidth-(B+Z)),lt=Da(s.clientHeight-(K+X)),gt=Da(B),Ct={rootMargin:-it+"px "+-dt+"px "+-lt+"px "+-gt+"px",threshold:_e(0,zr(1,x))||1},Gt=!0;function zt(Yt){let Zt=Yt[0].intersectionRatio;if(Zt!==x){if(!Gt)return m();Zt?m(!1,Zt):r=setTimeout(()=>{m(!1,1e-7)},1e3)}Zt===1&&!Df(L,n.getBoundingClientRect())&&m(),Gt=!1}try{t=new IntersectionObserver(zt,{...Ct,root:s.ownerDocument})}catch{t=new IntersectionObserver(zt,Ct)}t.observe(n)}return m(!0),d}function Ff(n,o,t,r){r===void 0&&(r={});let{ancestorScroll:s=!0,ancestorResize:d=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:g=typeof IntersectionObserver=="function",animationFrame:x=!1}=r,L=Bc(n),B=s||d?[...L?As(L):[],...As(o)]:[];B.forEach(gt=>{s&&gt.addEventListener("scroll",t,{passive:!0}),d&&gt.addEventListener("resize",t)});let K=L&&g?CT(L,t):null,Z=-1,X=null;m&&(X=new ResizeObserver(gt=>{let[St]=gt;St&&St.target===L&&X&&(X.unobserve(o),cancelAnimationFrame(Z),Z=requestAnimationFrame(()=>{var Ct;(Ct=X)==null||Ct.observe(o)})),t()}),L&&!x&&X.observe(L),X.observe(o));let it,dt=x?wo(n):null;x&&lt();function lt(){let gt=wo(n);dt&&!Df(dt,gt)&&t(),dt=gt,it=requestAnimationFrame(lt)}return t(),()=>{var gt;B.forEach(St=>{s&&St.removeEventListener("scroll",t),d&&St.removeEventListener("resize",t)}),K==null||K(),(gt=X)==null||gt.disconnect(),X=null,x&&cancelAnimationFrame(it)}}var $f=Tf;var zf=xf,Vf=Ef,Bf=Af;var Uf=yf;var Hf=(n,o,t)=>{let r=new Map,s={platform:_T,...t},d={...s.platform,_c:r};return bf(n,o,{...s,platform:d})};var Gf=z.constructTagName("popover"),wt={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"},hi={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},No={TONAL:"tonal",CONTRAST:"contrast"},kT={ABSOLUTE:"absolute",FIXED:"fixed"},It={PLACEMENT:wt.BOTTOM,TRIGGER:hi.CLICK,COLOR:No.TONAL,STRATEGY:kT.ABSOLUTE,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:rt.DIALOG,Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,PROPAGATE_EVENT_ON_ESCAPE:!1,KEEP_CONNECTED_TOOLTIP_OPEN:!1,IS_BACKDROP_INVISIBLE:!0,ANIMATION_FRAME:!1};var pi=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 Hc=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 Hc;var wT=U`
2542
2542
  :host {
2543
2543
  --mdc-popover-arrow-border-radius: 0.1875rem;
2544
2544
  --mdc-popover-arrow-border: 0.0625rem solid var(--mds-color-theme-outline-secondary-normal);
@@ -2660,7 +2660,7 @@
2660
2660
  border-top-right-radius: var(--mdc-popover-arrow-border-radius);
2661
2661
  border-bottom-left-radius: 100%;
2662
2662
  }
2663
- `,Gf=[wT];var zl=z.constructTagName("popoverportal"),$l=class extends q{connectedCallback(){super.connectedCallback(),this.ariaHidden="true",this.style.display="none"}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this.onDisconnect)==null||o.call(this)}};var Vl=class{constructor(o){this.portalElement=null;this.disconnectAfterAppendTo=!1;this.arrowPixelChange=!1;this.popover=o}setupDelay(){try{let[o,t]=this.popover.delay.split(",").map(r=>{let s=parseInt(r,10);if(Number.isNaN(s)||s<0)throw new Error(`Invalid delay value: ${r}`);return s});return[o,t]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(o){let t=this.popover.renderRoot.querySelector('div[part="popover-hover-bridge"]');Object.assign(t.style,{top:"",left:"",right:"",bottom:""});let r=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,s=this.popover.offsetHeight||0,d=this.popover.offsetWidth||0;if(t)switch(o.split("-")[0]){case"top":t.style.height=r,t.style.bottom=`calc(-1 * (${r}))`,t.style.left="50%",t.style.width=`${d}px`;break;case"left":t.style.height=`${s}px`,t.style.width=r,t.style.right=`calc(-1.5 * (${r}))`;break;case"right":t.style.height=`${s}px`,t.style.width=r,t.style.left=`calc(-0.5 * (${r}))`;break;case"bottom":default:t.style.height=r,t.style.top=`calc(-1 * (${r}))`,t.style.left="50%",t.style.width=`${d}px`;break}}setupAppendTo(){var o,t;if(this.popover.appendTo){let r=document.getElementById(this.popover.appendTo);r&&!Array.from(r.children).includes(this.popover)&&(this.disconnectAfterAppendTo=!0,this.portalElement=document.createElement(zl),this.portalElement.onDisconnect=()=>{this.popover.remove(),this.portalElement=null},(t=(o=this.popover.parentElement)==null?void 0:o.appendChild)==null||t.call(o,this.portalElement),r.appendChild(this.popover))}}cleanupAppendTo(){!this.disconnectAfterAppendTo&&this.portalElement&&this.portalElement.remove(),this.disconnectAfterAppendTo=!1}updateAriaLabels(){var o,t,r;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.ariaLabel&&(this.popover.ariaLabelledby=((r=this.popover.triggerElement)==null?void 0:r.id)||""))}updateAriaModal(){this.popover.role===rt.DIALOG||this.popover.role===rt.ALERTDIALOG?this.popover.setAttribute("aria-modal","true"):this.popover.removeAttribute("aria-modal")}updateAriaExpandedAttribute(){var o,t,r;this.popover.disableAriaExpanded||((o=this.popover.triggerElement)==null||o.setAttribute("aria-expanded",`${this.popover.visible}`),(r=this.popover.triggerElement)==null||r.setAttribute("aria-haspopup",((t=this.popover.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||this.popover.role||"dialog"))}updateArrowStyle(o,t){var U;if(!this.popover.arrowElement)return;let r=t.split("-")[0],s={top:"bottom",right:"left",bottom:"top",left:"right"}[r],{x:d,y:m}=o,b=this.popover.arrowElement.getBoundingClientRect(),x=(U=this.popover.arrowElement.offsetParent)==null?void 0:U.getBoundingClientRect();if(!this.arrowPixelChange){let K=x!=null&&x[s]?12-Math.abs(b[s]-x[s]):0;Math.round(K)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let L=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",r),Object.assign(this.popover.arrowElement.style,{left:d!=null?`${d}px`:"",top:m!=null?`${m}px`:"",[s]:`${-this.popover.arrowElement.offsetHeight/2-L}px`})}updatePopoverStyle(o,t){Object.assign(this.popover.style,{left:`${o}px`,top:`${t}px`})}};var _t=class extends fl(hl(cl(q))){constructor(){super();this.id="";this.triggerID="";this.trigger=It.TRIGGER;this.placement=It.PLACEMENT;this.color=It.COLOR;this.visible=It.VISIBLE;this.offset=It.OFFSET;this.boundary=It.BOUNDARY;this.boundaryRoot=It.BOUNDARY_ROOT;this.focusTrap=It.FOCUS_TRAP;this.preventScroll=It.PREVENT_SCROLL;this.showArrow=It.ARROW;this.closeButton=It.CLOSE_BUTTON;this.interactive=It.INTERACTIVE;this.delay=It.DELAY;this.hideOnEscape=It.HIDE_ON_ESCAPE;this.propagateEventOnEscape=It.PROPAGATE_EVENT_ON_ESCAPE;this.hideOnBlur=It.HIDE_ON_BLUR;this.hideOnOutsideClick=It.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=It.FOCUS_BACK;this.backdrop=It.BACKDROP;this.isBackdropInvisible=It.IS_BACKDROP_INVISIBLE;this.flip=It.FLIP;this.size=It.SIZE;this.zIndex=It.Z_INDEX;this.closeButtonAriaLabel=null;this.strategy=It.STRATEGY;this.role=It.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=It.DISABLE_ARIA_EXPANDED;this.keepConnectedTooltipOpen=It.KEEP_CONNECTED_TOOLTIP_OPEN;this.animationFrame=It.ANIMATION_FRAME;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 s=(((d=this.trigger)==null?void 0:d.split(" "))||[]).filter(m=>Object.values(hi).includes(m)).length>0?this.trigger:It.TRIGGER;s==="mouseenter"&&(this.interactive?s="mouseenter click":s="mouseenter focusin"),this.trigger=s};this.setupTriggerListeners=()=>{if(this.trigger.includes("click")&&document.addEventListener("click",this.togglePopoverVisible,{capture:!0}),this.trigger.includes("mouseenter")){let t=this.renderRoot.querySelector('div[part="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('div[part="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 r=t.composedPath(),s=this.contains(t.target)||r.includes(this.triggerElement)||r.includes(this),d=this.backdropElement?r.includes(this.backdropElement):!1;(!s||d)&&(this.hide(),pi.onClickOutside(this))};this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(this.propagateEventOnEscape||t.stopPropagation(),t.preventDefault(),this.hide(),pi.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 r;this.isEventFromTrigger(t)&&((r=this.triggerElement)!=null&&r.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 r=!this.boundary||this.boundary==="clippingAncestors"?"clippingAncestors":Array.from(document.querySelectorAll(this.boundary)),s=this.boundaryRoot,d=[$f({boundary:r,rootBoundary:s,padding:this.boundaryPadding})],m=this.offset;if(this.flip&&d.push(zf({boundary:r,rootBoundary:s})),this.size){let b=L=>{this.style.setProperty("--mdc-popover-internal-available-height",`${L}px`)},x=this.renderRoot.querySelector('[part="popover-content"]');d.push(Vf({boundary:r,rootBoundary:s,apply({availableHeight:L}){x&&(Object.assign(x.style,{maxHeight:`${L}px`,overflowY:"auto"}),b(L))},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector('div[part="popover-arrow"]'),this.arrowElement)){let b=this.arrowElement.offsetHeight,x=Math.sqrt(2*b**2)/2;m+=x,d.push(Bf({element:this.arrowElement,padding:12}))}d.push(Ff(m)),this.floatingUICleanupFunction=Df(t,this,async()=>{let{triggerElement:b}=this;if(!b)return;let x=this.adjustPlacementForRtl(this.placement),{x:L,y:U,middlewareData:K,placement:Z}=await Uf(b,this,{placement:x,middleware:d,strategy:this.strategy});this.utils.updatePopoverStyle(L,U),K.arrow&&this.arrowElement&&this.utils.updateArrowStyle(K.arrow,Z),this.trigger.includes("mouseenter")&&this.utils.setupHoverBridge(Z)},{animationFrame:this.animationFrame})};this.utils=new Vl(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(r=>r!==this)}get triggerElement(){return this.getRootNode().querySelector(`[id="${this.triggerID}"]`)}async firstUpdated(t){super.firstUpdated(t),pi.onCreatedPopover(this)}connectedCallback(){super.connectedCallback(),this.style.zIndex=`${this.zIndex}`,this.utils.setupAppendTo(),this.setupTriggerListeners()}async disconnectedCallback(){var t,r;super.disconnectedCallback(),this.removeAllListeners(),(t=this.deactivateFocusTrap)==null||t.call(this),this.deactivatePreventScroll(),this.moveElementBackAfterBackdropRemoval(this.triggerElement),this.removeBackdrop(),(r=this.floatingUICleanupFunction)==null||r.call(this),this.cancelCloseDelay(),this.keepConnectedTooltipOpen||this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),this.utils.cleanupAppendTo(),pi.onDestroyedPopover(this),Ce.remove(this)}async updated(t){if(super.updated(t),t.has("visible")){let r=t.get("visible")||!1;await this.isOpenUpdated(r,this.visible),this.utils.updateAriaExpandedAttribute()}t.has("trigger")&&(this.parseTrigger(),this.removeTriggerListeners(),this.setupTriggerListeners()),t.has("placement")&&this.setAttribute("placement",Object.values(wt).includes(this.placement)?this.placement:It.PLACEMENT),t.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),t.has("color")&&this.setAttribute("color",Object.values(No).includes(this.color)?this.color:It.COLOR),t.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),t.has("appendTo")&&(this.appendTo?this.utils.setupAppendTo():this.utils.cleanupAppendTo()),(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,r){var d,m;let{triggerElement:s}=this;t===r||!s||(r&&!this.shouldSuppressOpening?(Ce.peek()!==this&&Ce.push(this),this.keepConnectedTooltipOpen||this.connectedTooltip&&(this.connectedTooltip.visible=!1,this.connectedTooltip.shouldSuppressOpening=!0),this.backdrop&&!this.backdropElement&&(this.createBackdrop("popover"),this.keepElementAboveBackdrop(s)),this.positionPopover(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(s.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,x;this.interactive&&this.focusTrap&&((b=this.activateFocusTrap)==null||b.call(this),(x=this.setInitialFocus)==null||x.call(this))},0),pi.onShowPopover(this)):(Ce.peek()===this&&Ce.pop(),(d=this.floatingUICleanupFunction)==null||d.call(this),this.backdrop&&(this.moveElementBackAfterBackdropRemoval(s),this.removeBackdrop()),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(s.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&&(s==null||s.focus()),this.keepConnectedTooltipOpen||this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),pi.onHidePopover(this)))}isEventFromTrigger(t){var r;return this.triggerID?t.composed?t.composedPath().some(s=>(s==null?void 0:s.id)===this.triggerID):((r=t.target)==null?void 0:r.id)===this.triggerID:!1}isRtl(){return window.getComputedStyle(this).direction==="rtl"}adjustPlacementForRtl(t){if(!this.isRtl())return t;switch(t){case wt.LEFT:return wt.RIGHT;case wt.LEFT_START:return wt.RIGHT_START;case wt.LEFT_END:return wt.RIGHT_END;case wt.RIGHT:return wt.LEFT;case wt.RIGHT_START:return wt.LEFT_START;case wt.RIGHT_END:return wt.LEFT_END;default:return t}}render(){return _`
2663
+ `,Yf=[wT];var zl=z.constructTagName("popoverportal"),$l=class extends q{connectedCallback(){super.connectedCallback(),this.ariaHidden="true",this.style.display="none"}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this.onDisconnect)==null||o.call(this)}};var Vl=class{constructor(o){this.portalElement=null;this.disconnectAfterAppendTo=!1;this.arrowPixelChange=!1;this.popover=o}setupDelay(){try{let[o,t]=this.popover.delay.split(",").map(r=>{let s=parseInt(r,10);if(Number.isNaN(s)||s<0)throw new Error(`Invalid delay value: ${r}`);return s});return[o,t]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(o){let t=this.popover.renderRoot.querySelector('div[part="popover-hover-bridge"]');Object.assign(t.style,{top:"",left:"",right:"",bottom:""});let r=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,s=this.popover.offsetHeight||0,d=this.popover.offsetWidth||0;if(t)switch(o.split("-")[0]){case"top":t.style.height=r,t.style.bottom=`calc(-1 * (${r}))`,t.style.left="50%",t.style.width=`${d}px`;break;case"left":t.style.height=`${s}px`,t.style.width=r,t.style.right=`calc(-1.5 * (${r}))`;break;case"right":t.style.height=`${s}px`,t.style.width=r,t.style.left=`calc(-0.5 * (${r}))`;break;case"bottom":default:t.style.height=r,t.style.top=`calc(-1 * (${r}))`,t.style.left="50%",t.style.width=`${d}px`;break}}setupAppendTo(){var o,t;if(this.popover.appendTo){let r=document.getElementById(this.popover.appendTo);r&&!Array.from(r.children).includes(this.popover)&&(this.disconnectAfterAppendTo=!0,this.portalElement=document.createElement(zl),this.portalElement.onDisconnect=()=>{this.popover.remove(),this.portalElement=null},(t=(o=this.popover.parentElement)==null?void 0:o.appendChild)==null||t.call(o,this.portalElement),r.appendChild(this.popover))}}cleanupAppendTo(){!this.disconnectAfterAppendTo&&this.portalElement&&this.portalElement.remove(),this.disconnectAfterAppendTo=!1}updateAriaLabels(){var o,t,r;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.ariaLabel&&(this.popover.ariaLabelledby=((r=this.popover.triggerElement)==null?void 0:r.id)||""))}updateAriaModal(){this.popover.role===rt.DIALOG||this.popover.role===rt.ALERTDIALOG?this.popover.setAttribute("aria-modal","true"):this.popover.removeAttribute("aria-modal")}updateAriaExpandedAttribute(){var o,t,r;this.popover.disableAriaExpanded||((o=this.popover.triggerElement)==null||o.setAttribute("aria-expanded",`${this.popover.visible}`),(r=this.popover.triggerElement)==null||r.setAttribute("aria-haspopup",((t=this.popover.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||this.popover.role||"dialog"))}updateArrowStyle(o,t){var B;if(!this.popover.arrowElement)return;let r=t.split("-")[0],s={top:"bottom",right:"left",bottom:"top",left:"right"}[r],{x:d,y:m}=o,g=this.popover.arrowElement.getBoundingClientRect(),x=(B=this.popover.arrowElement.offsetParent)==null?void 0:B.getBoundingClientRect();if(!this.arrowPixelChange){let K=x!=null&&x[s]?12-Math.abs(g[s]-x[s]):0;Math.round(K)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let L=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",r),Object.assign(this.popover.arrowElement.style,{left:d!=null?`${d}px`:"",top:m!=null?`${m}px`:"",[s]:`${-this.popover.arrowElement.offsetHeight/2-L}px`})}updatePopoverStyle(o,t){Object.assign(this.popover.style,{left:`${o}px`,top:`${t}px`})}};var _t=class extends fl(hl(cl(q))){constructor(){super();this.id="";this.triggerID="";this.trigger=It.TRIGGER;this.placement=It.PLACEMENT;this.color=It.COLOR;this.visible=It.VISIBLE;this.offset=It.OFFSET;this.boundary=It.BOUNDARY;this.boundaryRoot=It.BOUNDARY_ROOT;this.focusTrap=It.FOCUS_TRAP;this.preventScroll=It.PREVENT_SCROLL;this.showArrow=It.ARROW;this.closeButton=It.CLOSE_BUTTON;this.interactive=It.INTERACTIVE;this.delay=It.DELAY;this.hideOnEscape=It.HIDE_ON_ESCAPE;this.propagateEventOnEscape=It.PROPAGATE_EVENT_ON_ESCAPE;this.hideOnBlur=It.HIDE_ON_BLUR;this.hideOnOutsideClick=It.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=It.FOCUS_BACK;this.backdrop=It.BACKDROP;this.isBackdropInvisible=It.IS_BACKDROP_INVISIBLE;this.flip=It.FLIP;this.size=It.SIZE;this.zIndex=It.Z_INDEX;this.closeButtonAriaLabel=null;this.strategy=It.STRATEGY;this.role=It.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=It.DISABLE_ARIA_EXPANDED;this.keepConnectedTooltipOpen=It.KEEP_CONNECTED_TOOLTIP_OPEN;this.animationFrame=It.ANIMATION_FRAME;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 s=(((d=this.trigger)==null?void 0:d.split(" "))||[]).filter(m=>Object.values(hi).includes(m)).length>0?this.trigger:It.TRIGGER;s==="mouseenter"&&(this.interactive?s="mouseenter click":s="mouseenter focusin"),this.trigger=s};this.setupTriggerListeners=()=>{if(this.trigger.includes("click")&&document.addEventListener("click",this.togglePopoverVisible,{capture:!0}),this.trigger.includes("mouseenter")){let t=this.renderRoot.querySelector('div[part="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('div[part="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 r=t.composedPath(),s=this.contains(t.target)||r.includes(this.triggerElement)||r.includes(this),d=this.backdropElement?r.includes(this.backdropElement):!1;(!s||d)&&(this.hide(),pi.onClickOutside(this))};this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(this.propagateEventOnEscape||t.stopPropagation(),t.preventDefault(),this.hide(),pi.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 r;this.isEventFromTrigger(t)&&((r=this.triggerElement)!=null&&r.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 r=!this.boundary||this.boundary==="clippingAncestors"?"clippingAncestors":Array.from(document.querySelectorAll(this.boundary)),s=this.boundaryRoot,d=[zf({boundary:r,rootBoundary:s,padding:this.boundaryPadding})],m=this.offset;if(this.flip&&d.push(Vf({boundary:r,rootBoundary:s})),this.size){let g=L=>{this.style.setProperty("--mdc-popover-internal-available-height",`${L}px`)},x=this.renderRoot.querySelector('[part="popover-content"]');d.push(Bf({boundary:r,rootBoundary:s,apply({availableHeight:L}){x&&(Object.assign(x.style,{maxHeight:`${L}px`,overflowY:"auto"}),g(L))},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector('div[part="popover-arrow"]'),this.arrowElement)){let g=this.arrowElement.offsetHeight,x=Math.sqrt(2*g**2)/2;m+=x,d.push(Uf({element:this.arrowElement,padding:12}))}d.push($f(m)),this.floatingUICleanupFunction=Ff(t,this,async()=>{let{triggerElement:g}=this;if(!g)return;let x=this.adjustPlacementForRtl(this.placement),{x:L,y:B,middlewareData:K,placement:Z}=await Hf(g,this,{placement:x,middleware:d,strategy:this.strategy});this.utils.updatePopoverStyle(L,B),K.arrow&&this.arrowElement&&this.utils.updateArrowStyle(K.arrow,Z),this.trigger.includes("mouseenter")&&this.utils.setupHoverBridge(Z)},{animationFrame:this.animationFrame})};this.utils=new Vl(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(r=>r!==this)}get triggerElement(){return this.getRootNode().querySelector(`[id="${this.triggerID}"]`)}async firstUpdated(t){super.firstUpdated(t),pi.onCreatedPopover(this)}connectedCallback(){super.connectedCallback(),this.style.zIndex=`${this.zIndex}`,this.utils.setupAppendTo(),this.setupTriggerListeners()}async disconnectedCallback(){var t,r;super.disconnectedCallback(),this.removeAllListeners(),(t=this.deactivateFocusTrap)==null||t.call(this),this.deactivatePreventScroll(),this.moveElementBackAfterBackdropRemoval(this.triggerElement),this.removeBackdrop(),(r=this.floatingUICleanupFunction)==null||r.call(this),this.cancelCloseDelay(),this.keepConnectedTooltipOpen||this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),this.utils.cleanupAppendTo(),pi.onDestroyedPopover(this),Ce.remove(this)}async updated(t){if(super.updated(t),t.has("visible")){let r=t.get("visible")||!1;await this.isOpenUpdated(r,this.visible),this.utils.updateAriaExpandedAttribute()}t.has("trigger")&&(this.parseTrigger(),this.removeTriggerListeners(),this.setupTriggerListeners()),t.has("placement")&&this.setAttribute("placement",Object.values(wt).includes(this.placement)?this.placement:It.PLACEMENT),t.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),t.has("color")&&this.setAttribute("color",Object.values(No).includes(this.color)?this.color:It.COLOR),t.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),t.has("appendTo")&&(this.appendTo?this.utils.setupAppendTo():this.utils.cleanupAppendTo()),(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,r){var d,m;let{triggerElement:s}=this;t===r||!s||(r&&!this.shouldSuppressOpening?(Ce.peek()!==this&&Ce.push(this),this.keepConnectedTooltipOpen||this.connectedTooltip&&(this.connectedTooltip.visible=!1,this.connectedTooltip.shouldSuppressOpening=!0),this.backdrop&&!this.backdropElement&&(this.createBackdrop("popover"),this.keepElementAboveBackdrop(s)),this.positionPopover(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(s.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 g,x;this.interactive&&this.focusTrap&&((g=this.activateFocusTrap)==null||g.call(this),(x=this.setInitialFocus)==null||x.call(this))},0),pi.onShowPopover(this)):(Ce.peek()===this&&Ce.pop(),(d=this.floatingUICleanupFunction)==null||d.call(this),this.backdrop&&(this.moveElementBackAfterBackdropRemoval(s),this.removeBackdrop()),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(s.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&&(s==null||s.focus()),this.keepConnectedTooltipOpen||this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),pi.onHidePopover(this)))}isEventFromTrigger(t){var r;return this.triggerID?t.composed?t.composedPath().some(s=>(s==null?void 0:s.id)===this.triggerID):((r=t.target)==null?void 0:r.id)===this.triggerID:!1}isRtl(){return window.getComputedStyle(this).direction==="rtl"}adjustPlacementForRtl(t){if(!this.isRtl())return t;switch(t){case wt.LEFT:return wt.RIGHT;case wt.LEFT_START:return wt.RIGHT_START;case wt.LEFT_END:return wt.RIGHT_END;case wt.RIGHT:return wt.LEFT;case wt.RIGHT_START:return wt.LEFT_START;case wt.RIGHT_END:return wt.LEFT_END;default:return t}}render(){return _`
2664
2664
  <div part="popover-hover-bridge"></div>
2665
2665
  ${this.closeButton?_` <mdc-button
2666
2666
  part="popover-close"
@@ -2674,7 +2674,7 @@
2674
2674
  <div part="popover-content">
2675
2675
  <slot></slot>
2676
2676
  </div>
2677
- `}};_t.styles=[...q.styles,...Gf],p([u({type:String,reflect:!0})],_t.prototype,"id",2),p([u({type:String,reflect:!0})],_t.prototype,"triggerID",2),p([u({type:String,reflect:!0})],_t.prototype,"trigger",2),p([u({type:String,reflect:!0})],_t.prototype,"placement",2),p([u({type:String,reflect:!0})],_t.prototype,"color",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"visible",2),p([u({type:Number,reflect:!0})],_t.prototype,"offset",2),p([u({type:String,reflect:!0,attribute:"boundary"})],_t.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"boundary-root"})],_t.prototype,"boundaryRoot",2),p([u({type:Number,reflect:!0,attribute:"boundary-padding"})],_t.prototype,"boundaryPadding",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],_t.prototype,"focusTrap",2),p([u({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],_t.prototype,"preventScroll",2),p([u({type:Boolean,reflect:!0,attribute:"show-arrow"})],_t.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],_t.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"interactive",2),p([u({type:String,reflect:!0})],_t.prototype,"delay",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],_t.prototype,"hideOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"propagate-event-on-escape"})],_t.prototype,"propagateEventOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],_t.prototype,"hideOnBlur",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],_t.prototype,"hideOnOutsideClick",2),p([u({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],_t.prototype,"focusBackToTrigger",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"backdrop",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],_t.prototype,"backdropAppendTo",2),p([u({type:Boolean,reflect:!0,attribute:"is-backdrop-invisible"})],_t.prototype,"isBackdropInvisible",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"flip",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"size",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],_t.prototype,"zIndex",2),p([u({type:String,reflect:!0,attribute:"append-to"})],_t.prototype,"appendTo",2),p([u({type:String,attribute:"close-button-aria-label",reflect:!0})],_t.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0})],_t.prototype,"strategy",2),p([u({type:String,reflect:!0})],_t.prototype,"role",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],_t.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],_t.prototype,"ariaDescribedby",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],_t.prototype,"disableAriaExpanded",2),p([u({type:Boolean,reflect:!0,attribute:"keep-connected-tooltip-open"})],_t.prototype,"keepConnectedTooltipOpen",2),p([u({type:Boolean,reflect:!0,attribute:"animation-frame"})],_t.prototype,"animationFrame",2);var Be=_t;var Yf=z.constructTagName("toggletip"),Lo={CLOSE_BUTTON:!0,CLOSE_BUTTON_ARIA_LABEL:"Close",OFFSET:4,PLACEMENT:wt.TOP,CLICK:hi.CLICK,SHOW_ARROW:!0};var NT=B`
2677
+ `}};_t.styles=[...q.styles,...Yf],p([u({type:String,reflect:!0})],_t.prototype,"id",2),p([u({type:String,reflect:!0})],_t.prototype,"triggerID",2),p([u({type:String,reflect:!0})],_t.prototype,"trigger",2),p([u({type:String,reflect:!0})],_t.prototype,"placement",2),p([u({type:String,reflect:!0})],_t.prototype,"color",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"visible",2),p([u({type:Number,reflect:!0})],_t.prototype,"offset",2),p([u({type:String,reflect:!0,attribute:"boundary"})],_t.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"boundary-root"})],_t.prototype,"boundaryRoot",2),p([u({type:Number,reflect:!0,attribute:"boundary-padding"})],_t.prototype,"boundaryPadding",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],_t.prototype,"focusTrap",2),p([u({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],_t.prototype,"preventScroll",2),p([u({type:Boolean,reflect:!0,attribute:"show-arrow"})],_t.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],_t.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"interactive",2),p([u({type:String,reflect:!0})],_t.prototype,"delay",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],_t.prototype,"hideOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"propagate-event-on-escape"})],_t.prototype,"propagateEventOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],_t.prototype,"hideOnBlur",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],_t.prototype,"hideOnOutsideClick",2),p([u({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],_t.prototype,"focusBackToTrigger",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"backdrop",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],_t.prototype,"backdropAppendTo",2),p([u({type:Boolean,reflect:!0,attribute:"is-backdrop-invisible"})],_t.prototype,"isBackdropInvisible",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"flip",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"size",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],_t.prototype,"zIndex",2),p([u({type:String,reflect:!0,attribute:"append-to"})],_t.prototype,"appendTo",2),p([u({type:String,attribute:"close-button-aria-label",reflect:!0})],_t.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0})],_t.prototype,"strategy",2),p([u({type:String,reflect:!0})],_t.prototype,"role",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],_t.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],_t.prototype,"ariaDescribedby",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],_t.prototype,"disableAriaExpanded",2),p([u({type:Boolean,reflect:!0,attribute:"keep-connected-tooltip-open"})],_t.prototype,"keepConnectedTooltipOpen",2),p([u({type:Boolean,reflect:!0,attribute:"animation-frame"})],_t.prototype,"animationFrame",2);var Be=_t;var Wf=z.constructTagName("toggletip"),Lo={CLOSE_BUTTON:!0,CLOSE_BUTTON_ARIA_LABEL:"Close",OFFSET:4,PLACEMENT:wt.TOP,CLICK:hi.CLICK,SHOW_ARROW:!0};var NT=U`
2678
2678
  :host {
2679
2679
  --mdc-toggletip-max-width: 400px;
2680
2680
  --mdc-toggletip-text-color: var(--mds-color-theme-text-primary-normal);
@@ -2704,7 +2704,7 @@
2704
2704
  :host([close-button]:dir(rtl))::part(popover-content) {
2705
2705
  margin-left: 2rem;
2706
2706
  }
2707
- `,Wf=[NT];var Bi=class extends Be{constructor(){super(...arguments);this.currentAnnouncement="";this.placement=Lo.PLACEMENT}connectedCallback(){var t;super.connectedCallback(),this.closeButton=(t=this.closeButton)!=null?t:Lo.CLOSE_BUTTON,this.closeButtonAriaLabel=Lo.CLOSE_BUTTON_ARIA_LABEL,this.trigger=Lo.CLICK,this.showArrow=Lo.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,r;return((r=(t=this.defaultSlotNodes)==null?void 0:t.map(s=>s.textContent).join(" "))==null?void 0:r.trim())||""}onPlacementUpdated(){Object.values(wt).includes(this.placement)||(this.placement=Lo.PLACEMENT)}update(t){super.update(t),t.has("placement")&&this.onPlacementUpdated(),t.has("visible")&&(this.currentAnnouncement=this.visible?this.getToggleTipText():"")}render(){return _`
2707
+ `,jf=[NT];var Bi=class extends Be{constructor(){super(...arguments);this.currentAnnouncement="";this.placement=Lo.PLACEMENT}connectedCallback(){var t;super.connectedCallback(),this.closeButton=(t=this.closeButton)!=null?t:Lo.CLOSE_BUTTON,this.closeButtonAriaLabel=Lo.CLOSE_BUTTON_ARIA_LABEL,this.trigger=Lo.CLICK,this.showArrow=Lo.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,r;return((r=(t=this.defaultSlotNodes)==null?void 0:t.map(s=>s.textContent).join(" "))==null?void 0:r.trim())||""}onPlacementUpdated(){Object.values(wt).includes(this.placement)||(this.placement=Lo.PLACEMENT)}update(t){super.update(t),t.has("placement")&&this.onPlacementUpdated(),t.has("visible")&&(this.currentAnnouncement=this.visible?this.getToggleTipText():"")}render(){return _`
2708
2708
  ${super.render()}
2709
2709
  <mdc-screenreaderannouncer
2710
2710
  identity="${tt(this.screenreaderAnnouncerIdentity)}"
@@ -2712,12 +2712,12 @@
2712
2712
  delay="300"
2713
2713
  >
2714
2714
  </mdc-screenreaderannouncer>
2715
- `}};Bi.styles=[...Be.styles,...Wf],p([Wn()],Bi.prototype,"defaultSlotNodes",2),p([vt()],Bi.prototype,"currentAnnouncement",2),p([u({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],Bi.prototype,"screenreaderAnnouncerIdentity",2),p([u({type:String,reflect:!0})],Bi.prototype,"placement",2);var Hc=Bi;function jf(n,o=500){let t,r=(...s)=>{t!==void 0&&window.clearTimeout(t),t=window.setTimeout(()=>{t=void 0,n(...s)},o)};return r.cancel=()=>{t!==void 0&&(window.clearTimeout(t),t=void 0)},r}var Kf=z.constructTagName("screenreaderannouncer"),LT={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},Ro={ARIA_LIVE:LT.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4,DEBOUNCE:500};var RT=[B`
2715
+ `}};Bi.styles=[...Be.styles,...jf],p([Wn()],Bi.prototype,"defaultSlotNodes",2),p([vt()],Bi.prototype,"currentAnnouncement",2),p([u({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],Bi.prototype,"screenreaderAnnouncerIdentity",2),p([u({type:String,reflect:!0})],Bi.prototype,"placement",2);var Gc=Bi;function Bl(n,o=500){let t,r=(...s)=>{t!==void 0&&window.clearTimeout(t),t=window.setTimeout(()=>{t=void 0,n(...s)},o)};return r.cancel=()=>{t!==void 0&&(window.clearTimeout(t),t=void 0)},r}var Kf=z.constructTagName("screenreaderannouncer"),LT={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},Oo={ARIA_LIVE:LT.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4,DEBOUNCE:500};var OT=[U`
2716
2716
  :host {
2717
2717
  display: none;
2718
2718
  visibility: hidden;
2719
2719
  }
2720
- `],qf=RT;var Br=class extends q{constructor(){super(...arguments);this.announcement="";this.identity="";this.dataAriaLive=Ro.ARIA_LIVE;this.delay=Ro.DELAY;this.timeout=Ro.TIMEOUT;this.debounceTime=Ro.DEBOUNCE;this.timeOutIds=[];this.ariaLiveAnnouncementIds=[]}announce(t,r,s,d){var m;if(t.length>0){let b=`mdc-screenreaderannouncer-announcement-${Te()}`,x=document.createElement("div");x.setAttribute("id",b),x.setAttribute("aria-live",d),(m=document.getElementById(this.identity))==null||m.appendChild(x);let L=window.setTimeout(()=>{let U=document.createElement("p");U.textContent=t,x.appendChild(U),this.ariaLiveAnnouncementIds.push(b);let K=window.setTimeout(()=>{var Z;(Z=document.getElementById(b))==null||Z.remove()},s);this.timeOutIds.push(K)},r);this.timeOutIds.push(L)}}clearTimeOutsAndAnnouncements(){this.timeOutIds.forEach(t=>{window.clearTimeout(t)}),this.ariaLiveAnnouncementIds.forEach(t=>{var r;(r=document.getElementById(t))==null||r.remove()})}createAnnouncementAriaLiveRegion(){let t=document.getElementById(this.identity);if(!t){t=document.createElement("div"),t.id=this.identity;let r=document.createElement("style");r.textContent=`
2720
+ `],qf=OT;var Br=class extends q{constructor(){super(...arguments);this.announcement="";this.identity="";this.dataAriaLive=Oo.ARIA_LIVE;this.delay=Oo.DELAY;this.timeout=Oo.TIMEOUT;this.debounceTime=Oo.DEBOUNCE;this.timeOutIds=[];this.ariaLiveAnnouncementIds=[]}announce(t,r,s,d){var m;if(t.length>0){let g=`mdc-screenreaderannouncer-announcement-${Te()}`,x=document.createElement("div");x.setAttribute("id",g),x.setAttribute("aria-live",d),(m=document.getElementById(this.identity))==null||m.appendChild(x);let L=window.setTimeout(()=>{let B=document.createElement("p");B.textContent=t,x.appendChild(B),this.ariaLiveAnnouncementIds.push(g);let K=window.setTimeout(()=>{var Z;(Z=document.getElementById(g))==null||Z.remove()},s);this.timeOutIds.push(K)},r);this.timeOutIds.push(L)}}clearTimeOutsAndAnnouncements(){this.timeOutIds.forEach(t=>{window.clearTimeout(t)}),this.ariaLiveAnnouncementIds.forEach(t=>{var r;(r=document.getElementById(t))==null||r.remove()})}createAnnouncementAriaLiveRegion(){let t=document.getElementById(this.identity);if(!t){t=document.createElement("div"),t.id=this.identity;let r=document.createElement("style");r.textContent=`
2721
2721
  .mdc-screenreaderannouncer__visually-hidden {
2722
2722
  clip: rect(0 0 0 0);
2723
2723
  clip-path: inset(50%);
@@ -2727,7 +2727,7 @@
2727
2727
  white-space: nowrap;
2728
2728
  width: 1px;
2729
2729
  }
2730
- `,t.appendChild(r),t.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(t)}}setupDebouncedAnnounce(){this.debouncedAnnounce=jf(()=>{this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")},this.debounceTime)}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=Ro.IDENTITY),this.createAnnouncementAriaLiveRegion(),this.setupDebouncedAnnounce()}disconnectedCallback(){var t;super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements(),(t=this.debouncedAnnounce)==null||t.cancel()}updated(t){var r;t.has("identity")&&this.identity.length===0&&(this.identity=Ro.IDENTITY,this.createAnnouncementAriaLiveRegion()),t.has("debounceTime")&&this.setupDebouncedAnnounce(),t.has("announcement")&&this.announcement.length>0&&((r=this.debouncedAnnounce)==null||r.call(this))}};Br.styles=[...q.styles,...qf],p([u({type:String,reflect:!0})],Br.prototype,"announcement",2),p([u({type:String,reflect:!0})],Br.prototype,"identity",2),p([u({type:String,reflect:!0,attribute:"data-aria-live"})],Br.prototype,"dataAriaLive",2),p([u({type:Number,reflect:!0})],Br.prototype,"delay",2),p([u({type:Number,reflect:!0})],Br.prototype,"timeout",2),p([u({type:Number,reflect:!0,attribute:"debounce-time"})],Br.prototype,"debounceTime",2);var Gc=Br;Gc.register(Kf);var OT=Gc;Hc.register(Yf);var MT=Hc;var Ae=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([be("input")],o.prototype,"inputElement",2),o};var PT=B`
2730
+ `,t.appendChild(r),t.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(t)}}setupDebouncedAnnounce(){this.debouncedAnnounce=Bl(()=>{this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")},this.debounceTime)}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=Oo.IDENTITY),this.createAnnouncementAriaLiveRegion(),this.setupDebouncedAnnounce()}disconnectedCallback(){var t;super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements(),(t=this.debouncedAnnounce)==null||t.cancel()}updated(t){var r;t.has("identity")&&this.identity.length===0&&(this.identity=Oo.IDENTITY,this.createAnnouncementAriaLiveRegion()),t.has("debounceTime")&&this.setupDebouncedAnnounce(),t.has("announcement")&&this.announcement.length>0&&((r=this.debouncedAnnounce)==null||r.call(this))}};Br.styles=[...q.styles,...qf],p([u({type:String,reflect:!0})],Br.prototype,"announcement",2),p([u({type:String,reflect:!0})],Br.prototype,"identity",2),p([u({type:String,reflect:!0,attribute:"data-aria-live"})],Br.prototype,"dataAriaLive",2),p([u({type:Number,reflect:!0})],Br.prototype,"delay",2),p([u({type:Number,reflect:!0})],Br.prototype,"timeout",2),p([u({type:Number,reflect:!0,attribute:"debounce-time"})],Br.prototype,"debounceTime",2);var Yc=Br;Yc.register(Kf);var RT=Yc;Gc.register(Wf);var MT=Gc;var Ae=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([be("input")],o.prototype,"inputElement",2),o};var PT=U`
2731
2731
  :host {
2732
2732
  --mdc-label-font-size: var(--mds-font-apps-body-midsize-medium-font-size);
2733
2733
  --mdc-label-font-weight: var(--mds-font-apps-body-midsize-medium-font-weight);
@@ -2807,16 +2807,16 @@
2807
2807
  }
2808
2808
  `,Xf=[bt,PT];var Zf=n=>({[$t.ERROR]:"error-legacy-badge-filled",[$t.WARNING]:"warning-badge-filled",[$t.SUCCESS]:"check-circle-badge-filled",[$t.PRIORITY]:"priority-badge-filled",[$t.DEFAULT]:""})[n]||"";var Ue=class extends Bt(q){constructor(){super(...arguments);this.inputId=`mdc-el-${Te()}`;this.required=!1;this.helpTextType=Lt.VALIDATION;this.toggletipPlacement=Lt.TOGGLETIP_PLACEMENT;this.toggletipStrategy=Lt.TOGGLETIP_STRATEGY;this.readonly=!1;this.softDisabled=!1;this.shouldRenderLabel=!0}renderLabelElement(){return this.label?this.shouldRenderLabel?_`<label for="${this.inputId}" id="${Lt.HEADING_ID}" part="label">${this.label}</label>`:_` <mdc-text
2809
2809
  id="${Lt.HEADING_ID}"
2810
- tagname="${Oa.TAGNAME}"
2811
- type="${Oa.HEADER_TYPE}"
2810
+ tagname="${Ra.TAGNAME}"
2811
+ type="${Ra.HEADER_TYPE}"
2812
2812
  part="label"
2813
2813
  >${this.label}</mdc-text
2814
2814
  >`:j}renderHelpTextIcon(){if(!this.helpText)return j;let t=Zf(this.helpTextType||Lt.VALIDATION);return t&&!this.disabled?_`<mdc-icon part="helper-icon" size="1" length-unit="rem" name=${t}></mdc-icon>`:j}renderHelpText(){return this.helpText?_`
2815
2815
  <mdc-text
2816
2816
  id="${Lt.HELPER_TEXT_ID}"
2817
2817
  part="help-text"
2818
- tagname=${Oa.TAGNAME}
2819
- type=${Oa.TYPE}
2818
+ tagname=${Ra.TAGNAME}
2819
+ type=${Ra.TYPE}
2820
2820
  >
2821
2821
  ${this.helpText}
2822
2822
  </mdc-text>
@@ -2847,7 +2847,7 @@
2847
2847
  </div>`}renderHelperText(){return this.helpText?_`<div part="help-text-container">
2848
2848
  <slot name="help-icon">${this.renderHelpTextIcon()}</slot>
2849
2849
  <slot name="help-text">${this.renderHelpText()}</slot>
2850
- </div>`:j}};Ue.styles=[...q.styles,...Xf],p([u({reflect:!0,type:String})],Ue.prototype,"label",2),p([u({type:Boolean,reflect:!0,attribute:"required"})],Ue.prototype,"required",2),p([u({reflect:!0,attribute:"help-text-type"})],Ue.prototype,"helpTextType",2),p([u({type:String,reflect:!0,attribute:"help-text"})],Ue.prototype,"helpText",2),p([u({type:String,reflect:!0,attribute:"toggletip-text"})],Ue.prototype,"toggletipText",2),p([u({type:String,reflect:!0,attribute:"toggletip-placement"})],Ue.prototype,"toggletipPlacement",2),p([u({type:String,reflect:!0,attribute:"toggletip-strategy"})],Ue.prototype,"toggletipStrategy",2),p([u({type:String,reflect:!0,attribute:"info-icon-aria-label"})],Ue.prototype,"infoIconAriaLabel",2),p([u({type:Boolean,reflect:!0})],Ue.prototype,"readonly",2),p([u({type:Boolean,reflect:!0,attribute:"soft-disabled"})],Ue.prototype,"softDisabled",2);var se=Ue;var DT=[B`
2850
+ </div>`:j}};Ue.styles=[...q.styles,...Xf],p([u({reflect:!0,type:String})],Ue.prototype,"label",2),p([u({type:Boolean,reflect:!0,attribute:"required"})],Ue.prototype,"required",2),p([u({reflect:!0,attribute:"help-text-type"})],Ue.prototype,"helpTextType",2),p([u({type:String,reflect:!0,attribute:"help-text"})],Ue.prototype,"helpText",2),p([u({type:String,reflect:!0,attribute:"toggletip-text"})],Ue.prototype,"toggletipText",2),p([u({type:String,reflect:!0,attribute:"toggletip-placement"})],Ue.prototype,"toggletipPlacement",2),p([u({type:String,reflect:!0,attribute:"toggletip-strategy"})],Ue.prototype,"toggletipStrategy",2),p([u({type:String,reflect:!0,attribute:"info-icon-aria-label"})],Ue.prototype,"infoIconAriaLabel",2),p([u({type:Boolean,reflect:!0})],Ue.prototype,"readonly",2),p([u({type:Boolean,reflect:!0,attribute:"soft-disabled"})],Ue.prototype,"softDisabled",2);var se=Ue;var DT=[U`
2851
2851
  :host {
2852
2852
  flex-direction: row;
2853
2853
  align-items: flex-start;
@@ -2917,7 +2917,7 @@
2917
2917
  :host([soft-disabled]) {
2918
2918
  pointer-events: none;
2919
2919
  }
2920
- `,...At(!0)],Qf=DT;var Ui=class extends ye(Ae(Ut(se))){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.autofocus=!1;this.helpTextType=af.DEFAULT;this.renderLabelAndHelperText=()=>this.label?_`<div part="text-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:j}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.softDisabled&&!this.readonly&&(this.checked=!this.checked,this.indeterminate=!1)}handleKeyDown(t){var r;(this.readonly||this.softDisabled)&&t.key===Q.SPACE&&t.preventDefault(),t.key===Q.ENTER&&((r=this.form)==null||r.requestSubmit())}handleChange(t){this.toggleState();let r=t.constructor;this.dispatchEvent(new r(t.type,t))}update(t){super.update(t),t.has("checked")&&this.setFormValue()}render(){var t;return _`
2920
+ `,...At(!0)],Qf=DT;var Ui=class extends ye(Ae(Ut(se))){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.autofocus=!1;this.helpTextType=nf.DEFAULT;this.renderLabelAndHelperText=()=>this.label?_`<div part="text-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:j}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.softDisabled&&!this.readonly&&(this.checked=!this.checked,this.indeterminate=!1)}handleKeyDown(t){var r;(this.readonly||this.softDisabled)&&t.key===Q.SPACE&&t.preventDefault(),t.key===Q.ENTER&&((r=this.form)==null||r.requestSubmit())}handleChange(t){this.toggleState();let r=t.constructor;this.dispatchEvent(new r(t.type,t))}update(t){super.update(t),t.has("checked")&&this.setFormValue()}render(){var t;return _`
2921
2921
  <mdc-staticcheckbox
2922
2922
  part="static-checkbox"
2923
2923
  class="mdc-focus-ring"
@@ -2947,7 +2947,7 @@
2947
2947
  />
2948
2948
  </mdc-staticcheckbox>
2949
2949
  ${this.renderLabelAndHelperText()}
2950
- `}};Ui.styles=[...se.styles,...Qf],p([u({type:Boolean,reflect:!0})],Ui.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Ui.prototype,"indeterminate",2),p([u({type:Boolean,reflect:!0})],Ui.prototype,"autofocus",2),p([u({type:String,reflect:!0,attribute:"help-text-type"})],Ui.prototype,"helpTextType",2);var Yc=Ui;Yc.register(sf);var FT=Yc;var Jf=z.constructTagName("staticchip"),Wc={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",ORANGE:"orange",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},Bl={COLOR:Wc.DEFAULT,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN};var $T=B`
2950
+ `}};Ui.styles=[...se.styles,...Qf],p([u({type:Boolean,reflect:!0})],Ui.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Ui.prototype,"indeterminate",2),p([u({type:Boolean,reflect:!0})],Ui.prototype,"autofocus",2),p([u({type:String,reflect:!0,attribute:"help-text-type"})],Ui.prototype,"helpTextType",2);var Wc=Ui;Wc.register(af);var FT=Wc;var Jf=z.constructTagName("staticchip"),jc={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",ORANGE:"orange",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},Ul={COLOR:jc.DEFAULT,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN};var $T=U`
2951
2951
  :host {
2952
2952
  height: 1.5rem;
2953
2953
  gap: 0.25rem;
@@ -3019,12 +3019,12 @@
3019
3019
  --mdc-chip-border-color: var(--mds-color-theme-outline-label-violet);
3020
3020
  --mdc-chip-background-color: var(--mds-color-theme-background-label-violet-normal);
3021
3021
  }
3022
- `,tv=[bt,$T];var _s=class extends Wt(q){constructor(){super(...arguments);this.color=Bl.COLOR;this.label=""}renderIcon(){return this.iconName?_` <mdc-icon part="icon" name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return _`
3022
+ `,tv=[bt,$T];var _s=class extends Wt(q){constructor(){super(...arguments);this.color=Ul.COLOR;this.label=""}renderIcon(){return this.iconName?_` <mdc-icon part="icon" name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return _`
3023
3023
  ${this.renderIcon()}
3024
- ${this.label?_`<mdc-text part="label" type="${Bl.TEXT_TYPE}" tagname="${Bl.TAG_NAME}"
3024
+ ${this.label?_`<mdc-text part="label" type="${Ul.TEXT_TYPE}" tagname="${Ul.TAG_NAME}"
3025
3025
  >${this.label}</mdc-text
3026
3026
  >`:j}
3027
- `}};_s.styles=[...q.styles,...tv],p([u({type:String,reflect:!0})],_s.prototype,"color",2),p([u({type:String})],_s.prototype,"label",2);var za=_s;var ev=z.constructTagName("chip"),Cs={COLOR:Wc.DEFAULT,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:vo[24],ROLE:rt.BUTTON};var zT=B`
3027
+ `}};_s.styles=[...q.styles,...tv],p([u({type:String,reflect:!0})],_s.prototype,"color",2),p([u({type:String})],_s.prototype,"label",2);var za=_s;var ev=z.constructTagName("chip"),Cs={COLOR:jc.DEFAULT,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:vo[24],ROLE:rt.BUTTON};var zT=U`
3028
3028
  :host {
3029
3029
  cursor: pointer;
3030
3030
  height: 1.5rem;
@@ -3123,7 +3123,7 @@
3123
3123
  ${this.label?_`<mdc-text part="label" type="${Cs.TEXT_TYPE}" tagname="${Cs.TAG_NAME}"
3124
3124
  >${this.label}</mdc-text
3125
3125
  >`:j}
3126
- `}};ks.styles=[...za.styles,...rv],p([u({type:String,reflect:!0})],ks.prototype,"color",2),p([u({type:String})],ks.prototype,"label",2);var ws=ks;ws.register(ev);var VT=ws;var iv=z.constructTagName("coachmark"),Oo={COLOR:No.CONTRAST,TRIGGER:hi.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var Mo=class extends Be{constructor(){super(...arguments);this.trigger=Oo.TRIGGER;this.showArrow=Oo.ARROW;this.closeButton=Oo.CLOSE_BUTTON;this.disableAriaExpanded=Oo.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=Oo.COLOR,this.showArrow=Oo.ARROW}};p([u({type:String,reflect:!0})],Mo.prototype,"trigger",2),p([u({type:Boolean,attribute:"show-arrow"})],Mo.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],Mo.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],Mo.prototype,"disableAriaExpanded",2);var jc=Mo;jc.register(iv);var BT=jc;var Ul=z.constructTagName("controltypeprovider"),Hl={CONTROL_TYPE:"uncontrolled"},Gl=["controlled","uncontrolled"];var UT=Ul,Kc=UT;var Yl=class extends Fe{constructor(){super({context:Kc});this.innerControlType=Hl.CONTROL_TYPE}static get Context(){return Kc}set controlType(t){Gl.includes(t)&&(this.innerControlType=t)}get controlType(){return this.innerControlType}updateContext(){this.context.value!==this.controlType&&(this.context.value=this.controlType,this.context.updateObservers())}};p([u({type:String,attribute:"control-type",reflect:!0})],Yl.prototype,"controlType",1);var qc=Yl;qc.register(Ul);var Xc=qc;fs.register(uu);var HT=fs;var Va=z.constructTagName("divider"),Po={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Ba={SOLID:"solid",GRADIENT:"gradient"},cr={POSITIVE:"positive",NEGATIVE:"negative"},Ua={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},Do={ORIENTATION:Po.HORIZONTAL,VARIANT:Ba.SOLID,ARROW_DIRECTION:cr.NEGATIVE,BUTTON_DIRECTION:cr.NEGATIVE};var GT=[bt,B`
3126
+ `}};ks.styles=[...za.styles,...rv],p([u({type:String,reflect:!0})],ks.prototype,"color",2),p([u({type:String})],ks.prototype,"label",2);var ws=ks;ws.register(ev);var VT=ws;var iv=z.constructTagName("coachmark"),Ro={COLOR:No.CONTRAST,TRIGGER:hi.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var Mo=class extends Be{constructor(){super(...arguments);this.trigger=Ro.TRIGGER;this.showArrow=Ro.ARROW;this.closeButton=Ro.CLOSE_BUTTON;this.disableAriaExpanded=Ro.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=Ro.COLOR,this.showArrow=Ro.ARROW}};p([u({type:String,reflect:!0})],Mo.prototype,"trigger",2),p([u({type:Boolean,attribute:"show-arrow"})],Mo.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],Mo.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],Mo.prototype,"disableAriaExpanded",2);var Kc=Mo;Kc.register(iv);var BT=Kc;var Hl=z.constructTagName("controltypeprovider"),Gl={CONTROL_TYPE:"uncontrolled"},Yl=["controlled","uncontrolled"];var UT=Hl,qc=UT;var Wl=class extends Fe{constructor(){super({context:qc});this.innerControlType=Gl.CONTROL_TYPE}static get Context(){return qc}set controlType(t){Yl.includes(t)&&(this.innerControlType=t)}get controlType(){return this.innerControlType}updateContext(){this.context.value!==this.controlType&&(this.context.value=this.controlType,this.context.updateObservers())}};p([u({type:String,attribute:"control-type",reflect:!0})],Wl.prototype,"controlType",1);var Xc=Wl;Xc.register(Hl);var Zc=Xc;fs.register(fu);var HT=fs;var Va=z.constructTagName("divider"),Po={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Ba={SOLID:"solid",GRADIENT:"gradient"},cr={POSITIVE:"positive",NEGATIVE:"negative"},Ua={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},Do={ORIENTATION:Po.HORIZONTAL,VARIANT:Ba.SOLID,ARROW_DIRECTION:cr.NEGATIVE,BUTTON_DIRECTION:cr.NEGATIVE};var GT=[bt,U`
3127
3127
  :host {
3128
3128
  --mdc-divider-background-color: var(--mds-color-theme-outline-secondary-normal);
3129
3129
  --mdc-divider-width: 0.0625rem;
@@ -3324,11 +3324,11 @@
3324
3324
  :host([data-hidden]) {
3325
3325
  display: none;
3326
3326
  }
3327
- `],ov=GT;var Hi=class extends q{constructor(){super(...arguments);this.orientation=Do.ORIENTATION;this.variant=Do.VARIANT;this.arrowDirection=Do.ARROW_DIRECTION;this.buttonPosition=Do.BUTTON_DIRECTION}setVariant(t){this.setAttribute("variant",Object.values(Ba).includes(t)?t:Do.VARIANT)}setOrientation(t){this.setAttribute("orientation",Object.values(Po).includes(t)?t:Do.ORIENTATION)}ensureValidDirections(){let t=this.orientation===Po.HORIZONTAL?cr.NEGATIVE:cr.POSITIVE;Object.values(cr).includes(this.buttonPosition)||(this.buttonPosition=t),Object.values(cr).includes(this.arrowDirection)||(this.arrowDirection=t)}setGrabberButton(){this.ensureValidDirections();let t=this.querySelector("mdc-button");if(t){let r=this.getArrowIcon();t.setAttribute("variant","secondary"),t.setAttribute("prefix-icon",r)}}getArrowIcon(){let t=this.orientation===Po.HORIZONTAL,r=this.arrowDirection===cr.POSITIVE;return t?r?Ua.UP:Ua.DOWN:r?Ua.RIGHT:Ua.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"),r=(t==null?void 0:t.assignedElements({flatten:!0}))||[];if(r.length>1)return;let s=r.some(b=>b.tagName===xa.toUpperCase()),d=r.some(b=>b.tagName===ei.toUpperCase());s&&!d?this.setAttribute("data-type","mdc-text-divider"):!s&&d&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}connectedCallback(){super.connectedCallback(),this.setAttribute("data-type","mdc-primary-divider")}render(){return _`
3327
+ `],ov=GT;var Hi=class extends q{constructor(){super(...arguments);this.orientation=Do.ORIENTATION;this.variant=Do.VARIANT;this.arrowDirection=Do.ARROW_DIRECTION;this.buttonPosition=Do.BUTTON_DIRECTION}setVariant(t){this.setAttribute("variant",Object.values(Ba).includes(t)?t:Do.VARIANT)}setOrientation(t){this.setAttribute("orientation",Object.values(Po).includes(t)?t:Do.ORIENTATION)}ensureValidDirections(){let t=this.orientation===Po.HORIZONTAL?cr.NEGATIVE:cr.POSITIVE;Object.values(cr).includes(this.buttonPosition)||(this.buttonPosition=t),Object.values(cr).includes(this.arrowDirection)||(this.arrowDirection=t)}setGrabberButton(){this.ensureValidDirections();let t=this.querySelector("mdc-button");if(t){let r=this.getArrowIcon();t.setAttribute("variant","secondary"),t.setAttribute("prefix-icon",r)}}getArrowIcon(){let t=this.orientation===Po.HORIZONTAL,r=this.arrowDirection===cr.POSITIVE;return t?r?Ua.UP:Ua.DOWN:r?Ua.RIGHT:Ua.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"),r=(t==null?void 0:t.assignedElements({flatten:!0}))||[];if(r.length>1)return;let s=r.some(g=>g.tagName===xa.toUpperCase()),d=r.some(g=>g.tagName===ei.toUpperCase());s&&!d?this.setAttribute("data-type","mdc-text-divider"):!s&&d&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}connectedCallback(){super.connectedCallback(),this.setAttribute("data-type","mdc-primary-divider")}render(){return _`
3328
3328
  <div></div>
3329
3329
  <slot @slotchange=${this.inferDividerType}></slot>
3330
3330
  <div></div>
3331
- `}};Hi.styles=[...q.styles,...ov],p([u({type:String,reflect:!0})],Hi.prototype,"orientation",2),p([u({type:String,reflect:!0})],Hi.prototype,"variant",2),p([u({type:String,attribute:"arrow-direction",reflect:!0})],Hi.prototype,"arrowDirection",2),p([u({type:String,attribute:"button-position",reflect:!0})],Hi.prototype,"buttonPosition",2);var Zc=Hi;Zc.register(Va);var YT=Zc;var WT=B`
3331
+ `}};Hi.styles=[...q.styles,...ov],p([u({type:String,reflect:!0})],Hi.prototype,"orientation",2),p([u({type:String,reflect:!0})],Hi.prototype,"variant",2),p([u({type:String,attribute:"arrow-direction",reflect:!0})],Hi.prototype,"arrowDirection",2),p([u({type:String,attribute:"button-position",reflect:!0})],Hi.prototype,"buttonPosition",2);var Qc=Hi;Qc.register(Va);var YT=Qc;var WT=U`
3332
3332
  :host([selected]) {
3333
3333
  border: 2px solid;
3334
3334
  --mdc-chip-background-color: var(--mds-color-theme-background-label-default-active);
@@ -3350,7 +3350,7 @@
3350
3350
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
3351
3351
  cursor: auto;
3352
3352
  }
3353
- `,sv=[WT];var av=z.constructTagName("filterchip"),Qc={ICON_NAME:"check-bold",COLOR:"default"};var Ha=class extends ws{constructor(){super(...arguments);this.selected=!1}connectedCallback(){super.connectedCallback(),this.color=Qc.COLOR}setSelected(t){t?(this.iconName=Qc.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)}};Ha.styles=[...ws.styles,...sv],p([u({type:Boolean,reflect:!0})],Ha.prototype,"selected",2);var Jc=Ha;Jc.register(av);var jT=Jc;var KT=B`
3353
+ `,sv=[WT];var av=z.constructTagName("filterchip"),Jc={ICON_NAME:"check-bold",COLOR:"default"};var Ha=class extends ws{constructor(){super(...arguments);this.selected=!1}connectedCallback(){super.connectedCallback(),this.color=Jc.COLOR}setSelected(t){t?(this.iconName=Jc.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)}};Ha.styles=[...ws.styles,...sv],p([u({type:Boolean,reflect:!0})],Ha.prototype,"selected",2);var th=Ha;th.register(av);var jT=th;var KT=U`
3354
3354
  :host::part(container) {
3355
3355
  display: flex;
3356
3356
  flex-direction: column;
@@ -3362,7 +3362,7 @@
3362
3362
  flex-direction: column;
3363
3363
  gap: 0.25rem;
3364
3364
  }
3365
- `,nv=[KT];var Wl=class extends Ut(se){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.disabled=void 0}render(){var t;return _`
3365
+ `,nv=[KT];var jl=class extends Ut(se){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.disabled=void 0}render(){var t;return _`
3366
3366
  <div
3367
3367
  part="container"
3368
3368
  role="${this.isRadio?rt.RADIOGROUP:rt.GROUP}"
@@ -3373,7 +3373,7 @@
3373
3373
  <div part="group-header">${this.renderLabel()} ${this.renderHelperText()}</div>
3374
3374
  <slot></slot>
3375
3375
  </div>
3376
- `}};Wl.styles=[...se.styles,...nv];var th=Wl;var lv=z.constructTagName("formfieldgroup");th.register(lv);var jl=th;Ea.register(Zn);var qT=Ea;ka.register(vl);var XT=ka;var Fo=si(class extends Dr{constructor(n){if(super(n),n.type!==Ke.PROPERTY&&n.type!==Ke.ATTRIBUTE&&n.type!==Ke.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!il(n))throw Error("`live` bindings can only contain a single expression")}render(n){return n}update(n,[o]){if(o===ge||o===j)return o;let t=n.element,r=n.name;if(n.type===Ke.PROPERTY){if(o===t[r])return ge}else if(n.type===Ke.BOOLEAN_ATTRIBUTE){if(!!o===t.hasAttribute(r))return ge}else if(n.type===Ke.ATTRIBUTE&&t.getAttribute(r)===o+"")return ge;return ol(n),o}});se.register(of);var hr=se;var dv=z.constructTagName("input"),Kl={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},Ns={OFF:"off",ON:"on"},Gi={PASSWORD:"password",TEXT:"text",SEARCH:"search"},cv={MAX_LENGTH:10,VALIDATION:$t.ERROR},mi={VALIDATION:$t.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Ft.TERTIARY,CLEAR_BUTTON_SIZE:sr[20],PREFIX_TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:mt.SPAN,AUTO_COMPLETE:Ns.OFF,INPUT_TYPE:Gi.TEXT};var ZT=[B`
3376
+ `}};jl.styles=[...se.styles,...nv];var eh=jl;var lv=z.constructTagName("formfieldgroup");eh.register(lv);var Kl=eh;Ea.register(Zn);var qT=Ea;ka.register(vl);var XT=ka;var Fo=si(class extends Dr{constructor(n){if(super(n),n.type!==Ke.PROPERTY&&n.type!==Ke.ATTRIBUTE&&n.type!==Ke.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!il(n))throw Error("`live` bindings can only contain a single expression")}render(n){return n}update(n,[o]){if(o===ge||o===j)return o;let t=n.element,r=n.name;if(n.type===Ke.PROPERTY){if(o===t[r])return ge}else if(n.type===Ke.BOOLEAN_ATTRIBUTE){if(!!o===t.hasAttribute(r))return ge}else if(n.type===Ke.ATTRIBUTE&&t.getAttribute(r)===o+"")return ge;return ol(n),o}});se.register(sf);var hr=se;var dv=z.constructTagName("input"),ql={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},Ns={OFF:"off",ON:"on"},Gi={PASSWORD:"password",TEXT:"text",SEARCH:"search"},cv={MAX_LENGTH:10,VALIDATION:$t.ERROR},mi={VALIDATION:$t.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Ft.TERTIARY,CLEAR_BUTTON_SIZE:sr[20],PREFIX_TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:mt.SPAN,AUTO_COMPLETE:Ns.OFF,INPUT_TYPE:Gi.TEXT};var ZT=[U`
3377
3377
  :host {
3378
3378
  --mdc-input-text-color: var(--mds-color-theme-text-primary-normal);
3379
3379
  --mdc-input-border-color: var(--mds-color-theme-outline-input-normal);
@@ -3483,7 +3483,7 @@
3483
3483
  opacity: 0;
3484
3484
  pointer-events: none;
3485
3485
  }
3486
- `,...At(!0)],hv=ZT;var ae=class extends ye(Ae(Ut(hr))){constructor(){super(...arguments);this.placeholder="";this.trailingButton=!1;this.autocapitalize=Kl.OFF;this.autocomplete=Ns.OFF;this.clearAriaLabel="";this.dataAriaDescribedby=null}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,r,s){super.attributeChangedCallback(t,r,s),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 r=t.constructor;this.dispatchEvent(new r(t.type,t))}handleKeyDown(t){var r;t.key===Q.ENTER&&((r=this.form)==null||r.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?_`
3486
+ `,...At(!0)],hv=ZT;var ae=class extends ye(Ae(Ut(hr))){constructor(){super(...arguments);this.placeholder="";this.trailingButton=!1;this.autocapitalize=ql.OFF;this.autocomplete=Ns.OFF;this.clearAriaLabel="";this.dataAriaDescribedby=null}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,r,s){super.attributeChangedCallback(t,r,s),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 r=t.constructor;this.dispatchEvent(new r(t.type,t))}handleKeyDown(t){var r;t.key===Q.ENTER&&((r=this.form)==null||r.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?_`
3487
3487
  <mdc-icon
3488
3488
  part="leading-icon"
3489
3489
  name=${this.leadingIcon}
@@ -3546,7 +3546,7 @@
3546
3546
  <slot name="trailing-button">${this.renderTrailingButton()}</slot>
3547
3547
  </div>
3548
3548
  ${this.helpText?this.renderHelperText():j}
3549
- `}};ae.styles=[...hr.styles,...hv],p([u({type:String})],ae.prototype,"placeholder",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),p([u({type:String,reflect:!0,attribute:"data-aria-describedby"})],ae.prototype,"dataAriaDescribedby",2);var Ir=ae;Ir.register(dv);var QT=Ir;var JT=B`
3549
+ `}};ae.styles=[...hr.styles,...hv],p([u({type:String})],ae.prototype,"placeholder",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),p([u({type:String,reflect:!0,attribute:"data-aria-describedby"})],ae.prototype,"dataAriaDescribedby",2);var Ir=ae;Ir.register(dv);var QT=Ir;var JT=U`
3550
3550
  :host {
3551
3551
  height: 1.5rem;
3552
3552
  gap: 0.25rem;
@@ -3582,13 +3582,13 @@
3582
3582
  width: 1.25rem;
3583
3583
  height: 1.25rem;
3584
3584
  }
3585
- `,pv=[bt,JT];var ql=z.constructTagName("inputchip"),Xl={TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,CLOSE_ICON:"cancel-bold"};var $o=class extends Wt(Bt(q)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderPrefix(){return _`
3585
+ `,pv=[bt,JT];var Xl=z.constructTagName("inputchip"),Zl={TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,CLOSE_ICON:"cancel-bold"};var $o=class extends Wt(Bt(q)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderPrefix(){return _`
3586
3586
  <slot name="prefix">
3587
3587
  ${this.iconName?_`<mdc-icon part="icon" name="${this.iconName}" length-unit="rem" size="1"></mdc-icon>`:j}
3588
3588
  </slot>
3589
3589
  `}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return _`
3590
3590
  ${this.renderPrefix()}
3591
- ${this.label?_`<mdc-text part="label" type="${Xl.TEXT_TYPE}" tagname="${Xl.TAG_NAME}"
3591
+ ${this.label?_`<mdc-text part="label" type="${Zl.TEXT_TYPE}" tagname="${Zl.TAG_NAME}"
3592
3592
  >${this.label}</mdc-text
3593
3593
  >`:j}
3594
3594
  <mdc-button
@@ -3596,11 +3596,11 @@
3596
3596
  variant="tertiary"
3597
3597
  part="close-icon"
3598
3598
  aria-label="${this.clearAriaLabel}"
3599
- prefix-icon="${Xl.CLOSE_ICON}"
3599
+ prefix-icon="${Zl.CLOSE_ICON}"
3600
3600
  size="20"
3601
3601
  @click="${this.handleClose}"
3602
3602
  ></mdc-button>
3603
- `}};$o.styles=[...q.styles,...pv],p([u({type:String})],$o.prototype,"label",2),p([u({type:Boolean})],$o.prototype,"error",2),p([u({type:String,attribute:"clear-aria-label"})],$o.prototype,"clearAriaLabel",2);var eh=$o;eh.register(ql);var tx=eh;var ex=B`
3603
+ `}};$o.styles=[...q.styles,...pv],p([u({type:String})],$o.prototype,"label",2),p([u({type:Boolean})],$o.prototype,"error",2),p([u({type:String,attribute:"clear-aria-label"})],$o.prototype,"clearAriaLabel",2);var rh=$o;rh.register(Xl);var tx=rh;var ex=U`
3604
3604
  :host::part(anchor) {
3605
3605
  display: flex;
3606
3606
  align-items: center;
@@ -3660,8 +3660,8 @@
3660
3660
  text-decoration: var(--mds-font-apps-body-small-regular-underline-text-decoration);
3661
3661
  text-transform: var(--mds-font-apps-body-small-regular-underline-text-case);
3662
3662
  }
3663
- `,mv=[ex];var Ga=class extends Wt($r){constructor(){super(...arguments);this.size=pu.LINK_SIZE}getIconSize(){switch(this.size){case ml.SMALL:return ul.SMALL;case ml.MIDSIZE:return ul.MIDSIZE;default:return ul.LARGE}}renderAnchorContent(){return _` <slot></slot>
3664
- ${this.iconName?_`<mdc-icon part="icon" name="${this.iconName}" size="${this.getIconSize()}" length-unit="rem"></mdc-icon>`:j}`}};Ga.styles=[...$r.styles,...mv],p([u({type:String,reflect:!0})],Ga.prototype,"size",2);var rh=Ga;rh.register(pl);var rx=rh;var uv=z.constructTagName("linkbutton"),Ls={12:12,14:14,16:16},Rs={SIZE:Ls[16],ROLE:rt.BUTTON,INLINE:ys.INLINE,INVERTED:ys.INVERTED};var fv=n=>{switch(n){case Ls[12]:return .75;case Ls[14]:return .875;default:return 1}};var ix=B`
3663
+ `,mv=[ex];var Ga=class extends Wt($r){constructor(){super(...arguments);this.size=mu.LINK_SIZE}getIconSize(){switch(this.size){case ml.SMALL:return ul.SMALL;case ml.MIDSIZE:return ul.MIDSIZE;default:return ul.LARGE}}renderAnchorContent(){return _` <slot></slot>
3664
+ ${this.iconName?_`<mdc-icon part="icon" name="${this.iconName}" size="${this.getIconSize()}" length-unit="rem"></mdc-icon>`:j}`}};Ga.styles=[...$r.styles,...mv],p([u({type:String,reflect:!0})],Ga.prototype,"size",2);var ih=Ga;ih.register(pl);var rx=ih;var uv=z.constructTagName("linkbutton"),Ls={12:12,14:14,16:16},Os={SIZE:Ls[16],ROLE:rt.BUTTON,INLINE:ys.INLINE,INVERTED:ys.INVERTED};var fv=n=>{switch(n){case Ls[12]:return .75;case Ls[14]:return .875;default:return 1}};var ix=U`
3665
3665
  :host {
3666
3666
  gap: 0.25rem;
3667
3667
  cursor: pointer;
@@ -3760,10 +3760,10 @@
3760
3760
  color: var(--mdc-link-color-disabled);
3761
3761
  pointer-events: none;
3762
3762
  }
3763
- `,vv=[ix,...At()];var zo=class extends Wt(ie){constructor(){super(...arguments);this.size=Rs.SIZE;this.inline=Rs.INLINE;this.inverted=Rs.INVERTED}connectedCallback(){super.connectedCallback(),this.active=void 0,this.role=Rs.ROLE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Ls).includes(t)?`${t}`:Rs.SIZE.toString())}render(){return _`
3763
+ `,vv=[ix,...At()];var zo=class extends Wt(ie){constructor(){super(...arguments);this.size=Os.SIZE;this.inline=Os.INLINE;this.inverted=Os.INVERTED}connectedCallback(){super.connectedCallback(),this.active=void 0,this.role=Os.ROLE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Ls).includes(t)?`${t}`:Os.SIZE.toString())}render(){return _`
3764
3764
  <slot></slot>
3765
3765
  ${this.iconName?_` <mdc-icon name=${this.iconName} size=${fv(this.size)} length-unit="rem"></mdc-icon> `:j}
3766
- `}};zo.styles=[...$r.styles,...vv],p([u({type:Number,reflect:!0})],zo.prototype,"size",2),p([u({type:Boolean,reflect:!0})],zo.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],zo.prototype,"inverted",2);var ih=zo;ih.register(uv);var ox=ih;$r.register(ju);var sx=$r;var Os=n=>{class o extends n{constructor(...s){super(...s);this.loop="true";this.propagateAllKeyEvents=!1;this.initialFocus=0;this.handleNavigationClick=s=>{let d=s.target,m=this.getCurrentIndex(d);if(m!==-1){let b=!(this.navItems.at(m)!==d&&document.activeElement===s.target);this.resetTabIndexAndSetFocus(m,void 0,b)}};this.addEventListener("keydown",this.handleNavigationKeyDown.bind(this)),this.addEventListener("click",this.handleNavigationClick)}async firstUpdated(s){super.firstUpdated(s),this.setInitialFocus()}setInitialFocus(){let s=Math.max(Math.min(this.initialFocus,this.navItems.length-1),0);this.resetTabIndexAndSetFocus(s,void 0,!1)}handleNavigationKeyDown(s){let d=new Set([Q.ARROW_DOWN,Q.ARROW_UP,Q.HOME,Q.END]),m=window.getComputedStyle(this).direction==="rtl",b=this.resolveDirectionKey(s.key,m);if(!d.has(b))return;let x=s.target,L=this.getCurrentIndex(x);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 U=this.shouldLoop()?0:L,K=L+1===this.navItems.length?U:L+1;this.resetTabIndexAndSetFocus(K,L);break}case Q.ARROW_UP:{let U=this.shouldLoop()?this.navItems.length-1:L,K=L-1===-1?U:L-1;this.resetTabIndexAndSetFocus(K,L);break}default:break}this.propagateAllKeyEvents||(s.stopPropagation(),s.preventDefault())}}getCurrentIndex(s){return s?this.navItems.findIndex(d=>d===s||!!(d.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)):-1}resetTabIndexes(s,d=!0){var m;if(this.navItems.length>0){this.navItems.forEach(L=>L.setAttribute("tabindex","-1"));let b=this.navItems.at(s)?s:0,x=(m=this.navItems.at(b))!=null?m:this.navItems.find(Boolean);x&&(x.setAttribute("tabindex","0"),d&&x.focus())}}resetTabIndexAndSetFocus(s,d,m=!0){var L;let{navItems:b}=this;if(b.length===0)return;let x=(L=b.at(s))!=null?L:b.find(Boolean);s===d&&x&&x.getAttribute("tabindex")==="0"||(d===void 0?b.forEach(U=>U.setAttribute("tabindex","-1")):b.at(d)&&b.at(d).setAttribute("tabindex","-1"),x.setAttribute("tabindex","0"),m&&(x.focus({preventScroll:!0}),x.scrollIntoView({block:"nearest"})))}resolveDirectionKey(s,d){if(!d)return s;switch(s){case Q.ARROW_LEFT:return Q.ARROW_RIGHT;case Q.ARROW_RIGHT:return Q.ARROW_LEFT;default:return s}}shouldLoop(){return this.loop!=="false"}}return o};var Zl=z.constructTagName("listitem"),Ya={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},gv={VARIANT:Ya.FULL_WIDTH};var Ht={CREATED:"created",FIRST_UPDATE_COMPLETED:"first-update-completed",DESTROYED:"destroyed",MODIFIED:"modified"};var bv=(n,o)=>!!(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING);var ax=n=>!!n,Ur=class{constructor(o,t){this.cache=[];this.itemCreationHandler=o=>{this.addItem(o.target,void 0)};this.itemDestroyHandler=o=>{this.delete(o.detail.originalTarget)};this.host=o,o.addController(this),this.isValidItem=(t==null?void 0:t.isValidItem)||ax,this.onStoreUpdate=t==null?void 0:t.onStoreUpdate}get items(){return this.cache}hostConnected(){this.host.addEventListener(Ht.CREATED,this.itemCreationHandler),this.host.addEventListener(Ht.DESTROYED,this.itemDestroyHandler)}hostDisconnected(){this.host.removeEventListener(Ht.CREATED,this.itemCreationHandler),this.host.removeEventListener(Ht.DESTROYED,this.itemDestroyHandler),this.reset()}add(o){this.addItem(o,void 0)}addAt(o,t){this.addItem(o,t)}addItem(o,t=void 0){var s;let r=o;if(this.isValidItem(r)&&!this.cache.includes(r)){let d=t===void 0?this.cache.findIndex(m=>bv(r,m)):t;this.onStoreUpdate&&((s=this.onStoreUpdate)==null||s.call(this,r,"added",d===-1?this.cache.length:d,this.cache.slice())),d===-1?this.cache.push(r):d>=0&&this.cache.splice(d,0,r)}}delete(o){var r;let t=this.cache.indexOf(o);t!==-1&&(this.onStoreUpdate&&((r=this.onStoreUpdate)==null||r.call(this,o,"removed",t,this.cache.slice())),this.cache.splice(t,1))}reset(o){this.cache.length=0,o&&this.cache.push(...o)}};var Yi=n=>{class o extends n{constructor(...s){super(...s);this.handleItemCreation=s=>{let d=s.target;d&&d.addEventListener(Ht.DESTROYED,this.handleItemRemovedEvent)};this.handleItemRemovedEvent=s=>{s.stopImmediatePropagation(),s.target&&s.type===Ht.DESTROYED&&(s.target.removeEventListener(Ht.DESTROYED,this.handleItemRemovedEvent),this.dispatchEvent(new CustomEvent(s.type,{bubbles:s.bubbles,composed:s.composed,detail:{originalTarget:s.target}})))};this.addEventListener(Ht.CREATED,this.handleItemCreation)}}return o};var nx=B`
3766
+ `}};zo.styles=[...$r.styles,...vv],p([u({type:Number,reflect:!0})],zo.prototype,"size",2),p([u({type:Boolean,reflect:!0})],zo.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],zo.prototype,"inverted",2);var oh=zo;oh.register(uv);var ox=oh;$r.register(Ku);var sx=$r;var Rs=n=>{class o extends n{constructor(...s){super(...s);this.loop="true";this.propagateAllKeyEvents=!1;this.initialFocus=0;this.handleNavigationClick=s=>{let d=s.target,m=this.getCurrentIndex(d);if(m!==-1){let g=!(this.navItems.at(m)!==d&&document.activeElement===s.target);this.resetTabIndexAndSetFocus(m,void 0,g)}};this.addEventListener("keydown",this.handleNavigationKeyDown.bind(this)),this.addEventListener("click",this.handleNavigationClick)}async firstUpdated(s){super.firstUpdated(s),this.setInitialFocus()}setInitialFocus(){let s=Math.max(Math.min(this.initialFocus,this.navItems.length-1),0);this.resetTabIndexAndSetFocus(s,void 0,!1)}handleNavigationKeyDown(s){let d=new Set([Q.ARROW_DOWN,Q.ARROW_UP,Q.HOME,Q.END]),m=window.getComputedStyle(this).direction==="rtl",g=this.resolveDirectionKey(s.key,m);if(!d.has(g))return;let x=s.target,L=this.getCurrentIndex(x);if(L!==-1){switch(this.resetTabIndexes(L),g){case Q.HOME:{this.resetTabIndexAndSetFocus(0,L);break}case Q.END:{this.resetTabIndexAndSetFocus(this.navItems.length-1,L);break}case Q.ARROW_DOWN:{let B=this.shouldLoop()?0:L,K=L+1===this.navItems.length?B:L+1;this.resetTabIndexAndSetFocus(K,L);break}case Q.ARROW_UP:{let B=this.shouldLoop()?this.navItems.length-1:L,K=L-1===-1?B:L-1;this.resetTabIndexAndSetFocus(K,L);break}default:break}this.propagateAllKeyEvents||(s.stopPropagation(),s.preventDefault())}}getCurrentIndex(s){return s?this.navItems.findIndex(d=>d===s||!!(d.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)):-1}resetTabIndexes(s,d=!0){var m;if(this.navItems.length>0){this.navItems.forEach(L=>L.setAttribute("tabindex","-1"));let g=this.navItems.at(s)?s:0,x=(m=this.navItems.at(g))!=null?m:this.navItems.find(Boolean);x&&(x.setAttribute("tabindex","0"),d&&x.focus())}}resetTabIndexAndSetFocus(s,d,m=!0){var L;let{navItems:g}=this;if(g.length===0)return;let x=(L=g.at(s))!=null?L:g.find(Boolean);s===d&&x&&x.getAttribute("tabindex")==="0"||(d===void 0?g.forEach(B=>B.setAttribute("tabindex","-1")):g.at(d)&&g.at(d).setAttribute("tabindex","-1"),x.setAttribute("tabindex","0"),m&&(x.focus({preventScroll:!0}),x.scrollIntoView({block:"nearest"})))}resolveDirectionKey(s,d){if(!d)return s;switch(s){case Q.ARROW_LEFT:return Q.ARROW_RIGHT;case Q.ARROW_RIGHT:return Q.ARROW_LEFT;default:return s}}shouldLoop(){return this.loop!=="false"}}return o};var Ql=z.constructTagName("listitem"),Ya={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},gv={VARIANT:Ya.FULL_WIDTH};var Ht={CREATED:"created",FIRST_UPDATE_COMPLETED:"first-update-completed",DESTROYED:"destroyed",MODIFIED:"modified"};var bv=(n,o)=>!!(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING);var ax=n=>!!n,Ur=class{constructor(o,t){this.cache=[];this.itemCreationHandler=o=>{this.addItem(o.target,void 0)};this.itemDestroyHandler=o=>{this.delete(o.detail.originalTarget)};this.host=o,o.addController(this),this.isValidItem=(t==null?void 0:t.isValidItem)||ax,this.onStoreUpdate=t==null?void 0:t.onStoreUpdate}get items(){return this.cache}hostConnected(){this.host.addEventListener(Ht.CREATED,this.itemCreationHandler),this.host.addEventListener(Ht.DESTROYED,this.itemDestroyHandler)}hostDisconnected(){this.host.removeEventListener(Ht.CREATED,this.itemCreationHandler),this.host.removeEventListener(Ht.DESTROYED,this.itemDestroyHandler),this.reset()}add(o){this.addItem(o,void 0)}addAt(o,t){this.addItem(o,t)}addItem(o,t=void 0){var s;let r=o;if(this.isValidItem(r)&&!this.cache.includes(r)){let d=t===void 0?this.cache.findIndex(m=>bv(r,m)):t;this.onStoreUpdate&&((s=this.onStoreUpdate)==null||s.call(this,r,"added",d===-1?this.cache.length:d,this.cache.slice())),d===-1?this.cache.push(r):d>=0&&this.cache.splice(d,0,r)}}delete(o){var r;let t=this.cache.indexOf(o);t!==-1&&(this.onStoreUpdate&&((r=this.onStoreUpdate)==null||r.call(this,o,"removed",t,this.cache.slice())),this.cache.splice(t,1))}reset(o){this.cache.length=0,o&&this.cache.push(...o)}};var Yi=n=>{class o extends n{constructor(...s){super(...s);this.handleItemCreation=s=>{let d=s.target;d&&d.addEventListener(Ht.DESTROYED,this.handleItemRemovedEvent)};this.handleItemRemovedEvent=s=>{s.stopImmediatePropagation(),s.target&&s.type===Ht.DESTROYED&&(s.target.removeEventListener(Ht.DESTROYED,this.handleItemRemovedEvent),this.dispatchEvent(new CustomEvent(s.type,{bubbles:s.bubbles,composed:s.composed,detail:{originalTarget:s.target}})))};this.addEventListener(Ht.CREATED,this.handleItemCreation)}}return o};var nx=U`
3767
3767
  :host {
3768
3768
  display: flex;
3769
3769
  flex-direction: column;
@@ -3778,11 +3778,11 @@
3778
3778
  scroll-padding-top: 0.25rem;
3779
3779
  scroll-padding-bottom: 0.25rem;
3780
3780
  }
3781
- `,yv=[nx];var Ev=z.constructTagName("list");var oh={LOOP:"true",INITIAL_FOCUS:0};var Ms=class extends Os(Yi(q)){constructor(){super();this.loop=oh.LOOP;this.initialFocus=oh.INITIAL_FOCUS;this.focusWithin=!1;this.handleModifiedEvent=t=>{let r=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(r);break;case"disabled":this.itemsStore.delete(r);break;default:break}};this.addEventListener(Ht.MODIFIED,this.handleModifiedEvent),this.addEventListener("focusin",this.handleFocusEvent),this.addEventListener("focusout",this.handleFocusEvent),this.itemsStore=new Ur(this,{isValidItem:this.isValidItem,onStoreUpdate:this.onElementStoreUpdate.bind(this)})}connectedCallback(){super.connectedCallback(),this.role=rt.LIST}get navItems(){return this.itemsStore.items}onElementStoreUpdate(t,r,s){if(r==="added")t.tabIndex=-1;else if(r==="removed"&&t.tabIndex===0){let d=s+1;d>=this.navItems.length&&(d=s-1),this.resetTabIndexes(d,this.focusWithin)}}handleFocusEvent(t){t.type==="focusout"&&t.relatedTarget===null||(this.focusWithin=t.type==="focusin")}isValidItem(t){return t.matches(`${Zl}:not([disabled])`)}render(){return _`
3781
+ `,yv=[nx];var Ev=z.constructTagName("list");var sh={LOOP:"true",INITIAL_FOCUS:0};var Ms=class extends Rs(Yi(q)){constructor(){super();this.loop=sh.LOOP;this.initialFocus=sh.INITIAL_FOCUS;this.focusWithin=!1;this.handleModifiedEvent=t=>{let r=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(r);break;case"disabled":this.itemsStore.delete(r);break;default:break}};this.addEventListener(Ht.MODIFIED,this.handleModifiedEvent),this.addEventListener("focusin",this.handleFocusEvent),this.addEventListener("focusout",this.handleFocusEvent),this.itemsStore=new Ur(this,{isValidItem:this.isValidItem,onStoreUpdate:this.onElementStoreUpdate.bind(this)})}connectedCallback(){super.connectedCallback(),this.role=rt.LIST}get navItems(){return this.itemsStore.items}onElementStoreUpdate(t,r,s){if(r==="added")t.tabIndex=-1;else if(r==="removed"&&t.tabIndex===0){let d=s+1;d>=this.navItems.length&&(d=s-1),this.resetTabIndexes(d,this.focusWithin)}}handleFocusEvent(t){t.type==="focusout"&&t.relatedTarget===null||(this.focusWithin=t.type==="focusin")}isValidItem(t){return t.matches(`${Ql}:not([disabled])`)}render(){return _`
3782
3782
  <slot name="list-header"></slot>
3783
3783
  <!-- make the container slot role presentation to keep it ignored in a11y tree -->
3784
3784
  <slot part="container" role="presentation"></slot>
3785
- `}};Ms.styles=[...q.styles,...yv],p([u({type:String,reflect:!0})],Ms.prototype,"loop",2),p([u({type:Number,reflect:!0,attribute:"initial-focus"})],Ms.prototype,"initialFocus",2);var Ps=Ms;Ps.register(Ev);var sh=Ps;var lx=B`
3785
+ `}};Ms.styles=[...q.styles,...yv],p([u({type:String,reflect:!0})],Ms.prototype,"loop",2),p([u({type:Number,reflect:!0,attribute:"initial-focus"})],Ms.prototype,"initialFocus",2);var Ps=Ms;Ps.register(Ev);var ah=Ps;var lx=U`
3786
3786
  :host {
3787
3787
  --mdc-listheader-padding: 0.5rem 0.75rem;
3788
3788
  --mdc-listheader-gap: 0.5rem;
@@ -3828,7 +3828,7 @@
3828
3828
  size="1"
3829
3829
  length-unit="rem"
3830
3830
  ></mdc-icon>`:j}
3831
- `}};Wi.styles=[...q.styles,...Tv],p([u({type:String,attribute:"prefix-icon"})],Wi.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon"})],Wi.prototype,"postfixIcon",2),p([u({type:String,attribute:"header-text"})],Wi.prototype,"headerText",2),p([u({type:Boolean,reflect:!0})],Wi.prototype,"disabled",2);var ah=Wi;var xv=z.constructTagName("listheader");ah.register(xv);var dx=ah;var Av=n=>{class o extends n{connectedCallback(){super.connectedCallback(),this.dispatchEvent(new Event(Ht.CREATED,{bubbles:!0,composed:!0})),this.updateComplete.then(()=>{this.dispatchEvent(new Event(Ht.FIRST_UPDATE_COMPLETED,{bubbles:!0,composed:!0}))})}disconnectedCallback(){super.disconnectedCallback(),this.dispatchEvent(new Event(Ht.DESTROYED,{bubbles:!0,composed:!0}))}dispatchModifiedEvent(r){this.dispatchEvent(new CustomEvent(Ht.MODIFIED,{detail:{change:r},bubbles:!0,composed:!0}))}}return o};var Wa=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 cx=B`
3831
+ `}};Wi.styles=[...q.styles,...Tv],p([u({type:String,attribute:"prefix-icon"})],Wi.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon"})],Wi.prototype,"postfixIcon",2),p([u({type:String,attribute:"header-text"})],Wi.prototype,"headerText",2),p([u({type:Boolean,reflect:!0})],Wi.prototype,"disabled",2);var nh=Wi;var xv=z.constructTagName("listheader");nh.register(xv);var dx=nh;var Av=n=>{class o extends n{connectedCallback(){super.connectedCallback(),this.dispatchEvent(new Event(Ht.CREATED,{bubbles:!0,composed:!0})),this.updateComplete.then(()=>{this.dispatchEvent(new Event(Ht.FIRST_UPDATE_COMPLETED,{bubbles:!0,composed:!0}))})}disconnectedCallback(){super.disconnectedCallback(),this.dispatchEvent(new Event(Ht.DESTROYED,{bubbles:!0,composed:!0}))}dispatchModifiedEvent(r){this.dispatchEvent(new CustomEvent(Ht.MODIFIED,{detail:{change:r},bubbles:!0,composed:!0}))}}return o};var Wa=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 cx=U`
3832
3832
  :host {
3833
3833
  --mdc-listitem-default-background-color: var(--mds-color-theme-background-primary-ghost);
3834
3834
  --mdc-listitem-default-active-background-color: var(--mds-color-theme-background-primary-active);
@@ -3941,7 +3941,7 @@
3941
3941
  flex-direction: row;
3942
3942
  flex-shrink: 0;
3943
3943
  }
3944
- `,Sv=[cx,...At()];var ke=class extends Bt(Or(Av(q))){constructor(){super();this.variant=gv.VARIANT;this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("click",this.handleClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=this.role||rt.LISTITEM}handleClick(t){this.disabled&&(t.stopImmediatePropagation(),t.preventDefault())}handleKeyDown(t){(t.key===Q.ENTER||t.key===Q.SPACE)&&this.triggerClickEvent(t)&&t.preventDefault()}triggerClickEvent(t){if(t.target!==this&&document.activeElement===t.target)return!1;let s=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});return this.dispatchEvent(s),!0}getText(t,r,s){return _`
3944
+ `,Sv=[cx,...At()];var ke=class extends Bt(Rr(Av(q))){constructor(){super();this.variant=gv.VARIANT;this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("click",this.handleClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=this.role||rt.LISTITEM}handleClick(t){this.disabled&&(t.stopImmediatePropagation(),t.preventDefault())}handleKeyDown(t){(t.key===Q.ENTER||t.key===Q.SPACE)&&this.triggerClickEvent(t)&&t.preventDefault()}triggerClickEvent(t){if(t.target!==this&&document.activeElement===t.target)return!1;let s=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});return this.dispatchEvent(s),!0}getText(t,r,s){return _`
3945
3945
  <slot name="${t}">
3946
3946
  ${s?_`<mdc-text part="${t}" type="${r}" tagname="${mt.SPAN}">${s}</mdc-text>`:j}
3947
3947
  </slot>
@@ -3973,7 +3973,7 @@
3973
3973
  ${this.renderTrailingControls()}
3974
3974
  </div>
3975
3975
  </slot>
3976
- `}};ke.styles=[...q.styles,...Sv],p([Pt({slot:"leading-controls"})],ke.prototype,"leadingControlsSlot",2),p([Pt({slot:"trailing-controls"})],ke.prototype,"trailingControlsSlot",2),p([u({type:String,reflect:!0})],ke.prototype,"variant",2),p([u({type:String,reflect:!0})],ke.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],ke.prototype,"secondaryLabel",2),p([u({type:String,reflect:!0,attribute:"tertiary-label"})],ke.prototype,"tertiaryLabel",2),p([u({type:String,reflect:!0,attribute:"side-header-text"})],ke.prototype,"sideHeaderText",2),p([u({type:String,reflect:!0,attribute:"subline-text"})],ke.prototype,"sublineText",2),p([u({type:Boolean,reflect:!0,attribute:"soft-disabled"})],ke.prototype,"softDisabled",2),p([u({type:Number,reflect:!0,attribute:"data-index"})],ke.prototype,"dataIndex",2),p([u({type:Boolean,reflect:!0,attribute:"active"})],ke.prototype,"active",2);var ui=ke;ui.register(Zl);var hx=ui;var px=B`
3976
+ `}};ke.styles=[...q.styles,...Sv],p([Pt({slot:"leading-controls"})],ke.prototype,"leadingControlsSlot",2),p([Pt({slot:"trailing-controls"})],ke.prototype,"trailingControlsSlot",2),p([u({type:String,reflect:!0})],ke.prototype,"variant",2),p([u({type:String,reflect:!0})],ke.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],ke.prototype,"secondaryLabel",2),p([u({type:String,reflect:!0,attribute:"tertiary-label"})],ke.prototype,"tertiaryLabel",2),p([u({type:String,reflect:!0,attribute:"side-header-text"})],ke.prototype,"sideHeaderText",2),p([u({type:String,reflect:!0,attribute:"subline-text"})],ke.prototype,"sublineText",2),p([u({type:Boolean,reflect:!0,attribute:"soft-disabled"})],ke.prototype,"softDisabled",2),p([u({type:Number,reflect:!0,attribute:"data-index"})],ke.prototype,"dataIndex",2),p([u({type:Boolean,reflect:!0,attribute:"active"})],ke.prototype,"active",2);var ui=ke;ui.register(Ql);var hx=ui;var px=U`
3977
3977
  :host {
3978
3978
  --mdc-marker-width: 0.25rem;
3979
3979
  --mdc-marker-solid-background-color: var(--mds-color-theme-outline-secondary-normal);
@@ -3998,7 +3998,7 @@
3998
3998
  var(--mdc-marker-striped-background-color) 0.375rem
3999
3999
  );
4000
4000
  }
4001
- `,Iv=[px];var _v=z.constructTagName("marker"),Cv={SOLID:"solid",STRIPED:"striped"};var ja=class extends q{constructor(){super(...arguments);this.variant=Cv.SOLID}};ja.styles=[...q.styles,...Iv],p([u({type:String,reflect:!0})],ja.prototype,"variant",2);var nh=ja;nh.register(_v);var mx=nh;var te=z.constructTagName("menupopover"),lh={PLACEMENT:wt.BOTTOM_START,ORIENTATION:"vertical"};var fi=z.constructTagName("menusection"),kv={DIVIDER_VARIANT:"solid"};var ji=z.constructTagName("sidenavigation"),Hr={FIXED_EXPANDED:"fixed-expanded",FIXED_COLLAPSED:"fixed-collapsed",FLEXIBLE:"flexible",HIDDEN:"hidden"},Ql={VARIANT:Hr.FLEXIBLE};var Ka=z.constructTagName("menubar"),wv={ORIENTATION:"vertical"};var ux=B`
4001
+ `,Iv=[px];var _v=z.constructTagName("marker"),Cv={SOLID:"solid",STRIPED:"striped"};var ja=class extends q{constructor(){super(...arguments);this.variant=Cv.SOLID}};ja.styles=[...q.styles,...Iv],p([u({type:String,reflect:!0})],ja.prototype,"variant",2);var lh=ja;lh.register(_v);var mx=lh;var te=z.constructTagName("menupopover"),dh={PLACEMENT:wt.BOTTOM_START,ORIENTATION:"vertical"};var fi=z.constructTagName("menusection"),kv={DIVIDER_VARIANT:"solid"};var ji=z.constructTagName("sidenavigation"),Hr={FIXED_EXPANDED:"fixed-expanded",FIXED_COLLAPSED:"fixed-collapsed",FLEXIBLE:"flexible",HIDDEN:"hidden"},Jl={VARIANT:Hr.FLEXIBLE};var Ka=z.constructTagName("menubar"),wv={ORIENTATION:"vertical"};var ux=U`
4002
4002
  :host {
4003
4003
  display: flex;
4004
4004
  }
@@ -4010,7 +4010,7 @@
4010
4010
  :host([aria-orientation='vertical']) {
4011
4011
  flex-direction: column;
4012
4012
  }
4013
- `,Nv=[ux];var qa=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=rt.MENUBAR,this.ariaOrientation=wv.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:[],r=[],s=b=>{b.role===rt.MENUITEM&&!b.hasAttribute("disabled")?r.push(b):b.tagName.toLowerCase()===fi&&Array.from(b.children).forEach(s)};return t.forEach(s),r}getVisibleSubMenusOfItems(o){let t=[];return!o||o.length===0||o.forEach(r=>{var m;let s=r.getAttribute("id");if(!s)return;let d=(m=document.querySelector)==null?void 0:m.call(document,`${te}[triggerid="${s}"]`);d&&d.visible&&t.push(d)}),t}getAllPopovers(){var s,d;if(!this.menuItems.length)return[];let o=(d=(s=this.menuItems[0])==null?void 0:s.closest(ji))!=null?d:this;if(!o)return[];let t=[],r=m=>{m.querySelectorAll(`${te}`).forEach(b=>{t.push(b)}),m.querySelectorAll("slot").forEach(b=>{b.assignedElements({flatten:!0}).forEach(r)})};return r(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 r=this.menuItems.filter(d=>d!==t);this.getVisibleSubMenusOfItems(r).forEach(d=>{d.hide()})}resetTabIndexAndSetActiveTabIndex(o){o.forEach((t,r)=>{let s=r===0?"0":"-1";t==null||t.setAttribute("tabindex",s)})}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(s=>s.getAttribute("id")===o))return;let r=this.getSubmenu(o);r&&r.show()}updatePopoverPlacement(){let o=wt.RIGHT_START;this.getAllPopovers().forEach(t=>{t.setAttribute("placement",o)})}updateTabIndexAndFocus(o,t,r){var s,d,m;r<0||t<0||(t!==r&&((s=o[t])==null||s.setAttribute("tabindex","-1"),(d=o[r])==null||d.setAttribute("tabindex","0")),(m=o[r])==null||m.focus())}navigateToMenuItem(o,t,r=!1){var m;let{length:s}=this.menuItems;if(s===0)return;let d=o;if(d=t==="prev"?(o-1+s)%s:(o+1)%s,this.updateTabIndexAndFocus(this.menuItems,o,d),r){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===Q.ARROW_LEFT?Q.ARROW_RIGHT:o===Q.ARROW_RIGHT?Q.ARROW_LEFT:o:o}isTopLevelMenuItem(o){var d;let t=o.parentElement;if(!t||o.role!==rt.MENUITEM)return!1;let r=t.tagName.toLowerCase(),s=(d=t.parentElement)==null?void 0:d.tagName.toLowerCase();return r===Ka||r===ji||r===fi&&(s===Ka||s===ji)}isNestedMenuItem(o){return!!o.closest(te)&&o.role===rt.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===rt.MENUITEM){let r=o.closest(te),s=r==null?void 0:r.getAttribute("triggerid"),d=this.menuItems.find(m=>m.getAttribute("id")===s);if(d){this.isTopLevelMenuItem(d)&&(r==null||r.hide()),await(r==null?void 0:r.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()===te){let r=t.getAttribute("triggerid"),s=this.menuItems.find(d=>d.getAttribute("id")===r);if(s)return this.isTopLevelMenuItem(s)?this.menuItems.findIndex(d=>d===s):this.getParentMenuItemIndex(s)}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 s=t>=0?this.menuItems[t]:o.target;await this.crossMenubarNavigationOnLeft(s);break}case Q.ARROW_RIGHT:{let s=t>=0?this.menuItems[t]:o.target;await this.crossMenubarNavigationOnRight(s);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 _`<slot role="${rt.GROUP}"></slot>`}};qa.styles=[...q.styles,...Nv],p([Pt({selector:"mdc-menusection",flatten:!0})],qa.prototype,"menusections",2);var dh=qa;dh.register(Ka);var fx=dh;var Xa=z.constructTagName("menuitem"),Za={LEFT:"arrow-left-bold",RIGHT:"arrow-right-bold"},ch={POSITIVE:"positive",NEGATIVE:"negative"},hh={LEADING:"leading",TRAILING:"trailing"};var vx=B`
4013
+ `,Nv=[ux];var qa=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=rt.MENUBAR,this.ariaOrientation=wv.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:[],r=[],s=g=>{g.role===rt.MENUITEM&&!g.hasAttribute("disabled")?r.push(g):g.tagName.toLowerCase()===fi&&Array.from(g.children).forEach(s)};return t.forEach(s),r}getVisibleSubMenusOfItems(o){let t=[];return!o||o.length===0||o.forEach(r=>{var m;let s=r.getAttribute("id");if(!s)return;let d=(m=document.querySelector)==null?void 0:m.call(document,`${te}[triggerid="${s}"]`);d&&d.visible&&t.push(d)}),t}getAllPopovers(){var s,d;if(!this.menuItems.length)return[];let o=(d=(s=this.menuItems[0])==null?void 0:s.closest(ji))!=null?d:this;if(!o)return[];let t=[],r=m=>{m.querySelectorAll(`${te}`).forEach(g=>{t.push(g)}),m.querySelectorAll("slot").forEach(g=>{g.assignedElements({flatten:!0}).forEach(r)})};return r(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 r=this.menuItems.filter(d=>d!==t);this.getVisibleSubMenusOfItems(r).forEach(d=>{d.hide()})}resetTabIndexAndSetActiveTabIndex(o){o.forEach((t,r)=>{let s=r===0?"0":"-1";t==null||t.setAttribute("tabindex",s)})}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(s=>s.getAttribute("id")===o))return;let r=this.getSubmenu(o);r&&r.show()}updatePopoverPlacement(){let o=wt.RIGHT_START;this.getAllPopovers().forEach(t=>{t.setAttribute("placement",o)})}updateTabIndexAndFocus(o,t,r){var s,d,m;r<0||t<0||(t!==r&&((s=o[t])==null||s.setAttribute("tabindex","-1"),(d=o[r])==null||d.setAttribute("tabindex","0")),(m=o[r])==null||m.focus())}navigateToMenuItem(o,t,r=!1){var m;let{length:s}=this.menuItems;if(s===0)return;let d=o;if(d=t==="prev"?(o-1+s)%s:(o+1)%s,this.updateTabIndexAndFocus(this.menuItems,o,d),r){let g=(m=this.menuItems[d])==null?void 0:m.getAttribute("id");this.getSubmenu(g)&&!this.menuItems[d].hasAttribute("soft-disabled")&&this.showSubmenu(g)}}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 d;let t=o.parentElement;if(!t||o.role!==rt.MENUITEM)return!1;let r=t.tagName.toLowerCase(),s=(d=t.parentElement)==null?void 0:d.tagName.toLowerCase();return r===Ka||r===ji||r===fi&&(s===Ka||s===ji)}isNestedMenuItem(o){return!!o.closest(te)&&o.role===rt.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===rt.MENUITEM){let r=o.closest(te),s=r==null?void 0:r.getAttribute("triggerid"),d=this.menuItems.find(m=>m.getAttribute("id")===s);if(d){this.isTopLevelMenuItem(d)&&(r==null||r.hide()),await(r==null?void 0:r.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()===te){let r=t.getAttribute("triggerid"),s=this.menuItems.find(d=>d.getAttribute("id")===r);if(s)return this.isTopLevelMenuItem(s)?this.menuItems.findIndex(d=>d===s):this.getParentMenuItemIndex(s)}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 s=t>=0?this.menuItems[t]:o.target;await this.crossMenubarNavigationOnLeft(s);break}case Q.ARROW_RIGHT:{let s=t>=0?this.menuItems[t]:o.target;await this.crossMenubarNavigationOnRight(s);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 _`<slot role="${rt.GROUP}"></slot>`}};qa.styles=[...q.styles,...Nv],p([Pt({selector:"mdc-menusection",flatten:!0})],qa.prototype,"menusections",2);var ch=qa;ch.register(Ka);var fx=ch;var Xa=z.constructTagName("menuitem"),Za={LEFT:"arrow-left-bold",RIGHT:"arrow-right-bold"},hh={POSITIVE:"positive",NEGATIVE:"negative"},ph={LEADING:"leading",TRAILING:"trailing"};var vx=U`
4014
4014
  :host(:dir(rtl))::part(trailing-arrow),
4015
4015
  :host(:dir(rtl))::part(leading-arrow) {
4016
4016
  transform: rotate(180deg);
@@ -4019,23 +4019,23 @@
4019
4019
  :host::part(leading-arrow) {
4020
4020
  --mdc-icon-size: 1.25rem;
4021
4021
  }
4022
- `,Lv=[vx];var Ki=class extends ui{constructor(){super(),this.addEventListener("keyup",this.handleKeyUp.bind(this))}handleKeyDown(o){o.key===Q.ENTER&&(this.triggerClickEvent(o),o.preventDefault())}handleKeyUp(o){o.key===Q.SPACE&&(this.triggerClickEvent(o),o.preventDefault())}connectedCallback(){super.connectedCallback(),this.role=rt.MENUITEM,this.variant=Ya.INSET_RECTANGLE}renderTrailingControls(){let o=this.arrowDirection===ch.NEGATIVE?Za.LEFT:Za.RIGHT;return _`
4022
+ `,Lv=[vx];var Ki=class extends ui{constructor(){super(),this.addEventListener("keyup",this.handleKeyUp.bind(this))}handleKeyDown(o){o.key===Q.ENTER&&(this.triggerClickEvent(o),o.preventDefault())}handleKeyUp(o){o.key===Q.SPACE&&(this.triggerClickEvent(o),o.preventDefault())}connectedCallback(){super.connectedCallback(),this.role=rt.MENUITEM,this.variant=Ya.INSET_RECTANGLE}renderTrailingControls(){let o=this.arrowDirection===hh.NEGATIVE?Za.LEFT:Za.RIGHT;return _`
4023
4023
  <slot
4024
4024
  name="trailing-controls"
4025
4025
  @click=${this.stopEventPropagation}
4026
4026
  @keyup=${this.stopEventPropagation}
4027
4027
  @keydown=${this.stopEventPropagation}
4028
4028
  ></slot>
4029
- ${this.arrowPosition===hh.TRAILING?_`<mdc-icon name="${o}" length-unit="rem" part="trailing-arrow"></mdc-icon>`:j}
4030
- `}renderLeadingControls(){let o=this.arrowDirection===ch.POSITIVE?Za.RIGHT:Za.LEFT;return _`
4029
+ ${this.arrowPosition===ph.TRAILING?_`<mdc-icon name="${o}" length-unit="rem" part="trailing-arrow"></mdc-icon>`:j}
4030
+ `}renderLeadingControls(){let o=this.arrowDirection===hh.POSITIVE?Za.RIGHT:Za.LEFT;return _`
4031
4031
  <slot
4032
4032
  name="leading-controls"
4033
4033
  @click=${this.stopEventPropagation}
4034
4034
  @keyup=${this.stopEventPropagation}
4035
4035
  @keydown=${this.stopEventPropagation}
4036
4036
  ></slot>
4037
- ${this.arrowPosition===hh.LEADING?_`<mdc-icon name="${o}" length-unit="rem" part="leading-arrow"></mdc-icon>`:j}
4038
- `}};Ki.styles=[...ui.styles,...Lv],p([u({type:String,reflect:!0,attribute:"arrow-position"})],Ki.prototype,"arrowPosition",2),p([u({type:String,reflect:!0,attribute:"arrow-direction"})],Ki.prototype,"arrowDirection",2),p([u({type:String,reflect:!0})],Ki.prototype,"name",2),p([u({type:String,reflect:!0})],Ki.prototype,"value",2);var pr=Ki;pr.register(Xa);var gx=pr;var Rv=z.constructTagName("statictoggle"),bx={DEFAULT:"default",COMPACT:"compact"},ph={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},Ov={compact:.75,default:1.25},Mv={SIZE:bx.DEFAULT};var yx=[B`
4037
+ ${this.arrowPosition===ph.LEADING?_`<mdc-icon name="${o}" length-unit="rem" part="leading-arrow"></mdc-icon>`:j}
4038
+ `}};Ki.styles=[...ui.styles,...Lv],p([u({type:String,reflect:!0,attribute:"arrow-position"})],Ki.prototype,"arrowPosition",2),p([u({type:String,reflect:!0,attribute:"arrow-direction"})],Ki.prototype,"arrowDirection",2),p([u({type:String,reflect:!0})],Ki.prototype,"name",2),p([u({type:String,reflect:!0})],Ki.prototype,"value",2);var pr=Ki;pr.register(Xa);var gx=pr;var Ov=z.constructTagName("statictoggle"),bx={DEFAULT:"default",COMPACT:"compact"},mh={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},Rv={compact:.75,default:1.25},Mv={SIZE:bx.DEFAULT};var yx=[U`
4039
4039
  :host {
4040
4040
  --mdc-toggle-width: 3rem;
4041
4041
  --mdc-toggle-height: 1.5rem;
@@ -4133,13 +4133,13 @@
4133
4133
  <slot></slot>
4134
4134
  <div part="slider">
4135
4135
  <mdc-icon
4136
- name="${this.checked?ph.CHECKED:ph.UNCHECKED}"
4136
+ name="${this.checked?mh.CHECKED:mh.UNCHECKED}"
4137
4137
  part="toggle-icon"
4138
4138
  length-unit="rem"
4139
- size="${Ov[this.size]}"
4139
+ size="${Rv[this.size]}"
4140
4140
  ></mdc-icon>
4141
4141
  </div>
4142
- `}};qi.styles=[...q.styles,...Pv],p([u({type:Boolean,reflect:!0})],qi.prototype,"checked",2),p([u({type:String,reflect:!0})],qi.prototype,"size",2),p([u({type:Boolean,reflect:!0})],qi.prototype,"readonly",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],qi.prototype,"softDisabled",2);var mh=qi;mh.register(Rv);var Ex=mh;var Qa=z.constructTagName("tooltip"),qe={DESCRIPTION:"description",LABEL:"label",NONE:"none"},Xi={BACKDROP:!1,DELAY:"0,0",OFFSET:4,PLACEMENT:wt.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:qe.DESCRIPTION};var Tx=B`
4142
+ `}};qi.styles=[...q.styles,...Pv],p([u({type:Boolean,reflect:!0})],qi.prototype,"checked",2),p([u({type:String,reflect:!0})],qi.prototype,"size",2),p([u({type:Boolean,reflect:!0})],qi.prototype,"readonly",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],qi.prototype,"softDisabled",2);var uh=qi;uh.register(Ov);var Ex=uh;var Qa=z.constructTagName("tooltip"),qe={DESCRIPTION:"description",LABEL:"label",NONE:"none"},Xi={BACKDROP:!1,DELAY:"0,0",OFFSET:4,PLACEMENT:wt.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:qe.DESCRIPTION};var Tx=U`
4143
4143
  :host {
4144
4144
  --mdc-tooltip-max-width: 400px;
4145
4145
  --mdc-tooltip-padding: 0.75rem;
@@ -4163,14 +4163,14 @@
4163
4163
  :host([color='contrast'])::part(popover-content) {
4164
4164
  color: var(--mdc-tooltip-text-color-contrast);
4165
4165
  }
4166
- `,Dv=[Tx];var Ds=class extends Be{constructor(){super(...arguments);this.tooltipType=Xi.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||Xi.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||Xi.OFFSET,this.placement=this.placement||Xi.PLACEMENT,this.role=rt.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,r;return((r=(t=this.defaultSlotNodes)==null?void 0:t.map(s=>s.textContent).join(" "))==null?void 0:r.trim())||""}setTooltipType(t){this.setAttribute("tooltip-type",Object.values(qe).includes(t)?t:Xi.TOOLTIP_TYPE)}async onIdUpdated(){if(this.id.length===0&&(this.id=`mdc-tooltip-${Te()}`),await this.updateComplete,this.triggerElement)switch(this.tooltipType){case qe.DESCRIPTION:this.triggerElement.setAttribute("aria-describedby",this.id);break;case qe.LABEL:this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(wt).includes(this.placement)||(this.placement=Xi.PLACEMENT)}onTooltipTypeUpdated(t){let r=t.get("tooltipType");if(Object.values(qe).includes(this.tooltipType)||this.setTooltipType(Xi.TOOLTIP_TYPE),this.triggerElement){let s=this.getTooltipText();switch(this.tooltipType){case qe.DESCRIPTION:r===qe.LABEL&&this.triggerElement.removeAttribute("aria-labelledby"),this.triggerElement.setAttribute("aria-describedby",this.id);break;case qe.LABEL:r===qe.DESCRIPTION&&this.triggerElement.removeAttribute("aria-describedby"),this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:r===qe.DESCRIPTION?this.triggerElement.removeAttribute("aria-describedby"):r===qe.LABEL&&this.triggerElement.removeAttribute("aria-labelledby");break}s.length>0&&this.tooltipType!==qe.NONE&&!this.ariaLabel&&(this.ariaLabel=s)}}async update(t){super.update(t),t.has("id")&&await this.onIdUpdated(),t.has("placement")&&this.onPlacementUpdated(),t.has("tooltipType")&&this.onTooltipTypeUpdated(t)}};Ds.styles=[...Be.styles,...Dv],p([u({type:String,attribute:"tooltip-type",reflect:!0})],Ds.prototype,"tooltipType",2),p([Wn()],Ds.prototype,"defaultSlotNodes",2);var uh=Ds;uh.register(Qa);var xx=uh;var Zi=si(class extends Dr{constructor(n){var o;if(super(n),n.type!==Ke.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 r,s;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]&&!((r=this.nt)!=null&&r.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)||(s=this.nt)!=null&&s.has(d)||(m?(t.add(d),this.st.add(d)):(t.remove(d),this.st.delete(d)))}return ge}});var Fv=z.constructTagName("toggle"),Ja={DEFAULT:"default",COMPACT:"compact"};var fh={SIZE:Ja.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var Jl=n=>{class o extends n{constructor(){super(...arguments);this.controlTypeProviderContext=$e.consume({host:this,context:Xc.Context})}willUpdate(){this.controlType&&Gl.includes(this.controlType)||(this.controlTypeProviderContext.value?this.controlType=this.controlTypeProviderContext.value:this.controlType=Hl.CONTROL_TYPE)}}return p([u({type:String,attribute:"control-type",reflect:!0})],o.prototype,"controlType",2),o};var td=z.constructTagName("menuitemcheckbox"),tn={NONE:"none",CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},$v={INDICATOR:tn.CHECKBOX};var Ax=B`
4166
+ `,Dv=[Tx];var Ds=class extends Be{constructor(){super(...arguments);this.tooltipType=Xi.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||Xi.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||Xi.OFFSET,this.placement=this.placement||Xi.PLACEMENT,this.role=rt.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,r;return((r=(t=this.defaultSlotNodes)==null?void 0:t.map(s=>s.textContent).join(" "))==null?void 0:r.trim())||""}setTooltipType(t){this.setAttribute("tooltip-type",Object.values(qe).includes(t)?t:Xi.TOOLTIP_TYPE)}async onIdUpdated(){if(this.id.length===0&&(this.id=`mdc-tooltip-${Te()}`),await this.updateComplete,this.triggerElement)switch(this.tooltipType){case qe.DESCRIPTION:this.triggerElement.setAttribute("aria-describedby",this.id);break;case qe.LABEL:this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(wt).includes(this.placement)||(this.placement=Xi.PLACEMENT)}onTooltipTypeUpdated(t){let r=t.get("tooltipType");if(Object.values(qe).includes(this.tooltipType)||this.setTooltipType(Xi.TOOLTIP_TYPE),this.triggerElement){let s=this.getTooltipText();switch(this.tooltipType){case qe.DESCRIPTION:r===qe.LABEL&&this.triggerElement.removeAttribute("aria-labelledby"),this.triggerElement.setAttribute("aria-describedby",this.id);break;case qe.LABEL:r===qe.DESCRIPTION&&this.triggerElement.removeAttribute("aria-describedby"),this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:r===qe.DESCRIPTION?this.triggerElement.removeAttribute("aria-describedby"):r===qe.LABEL&&this.triggerElement.removeAttribute("aria-labelledby");break}s.length>0&&this.tooltipType!==qe.NONE&&!this.ariaLabel&&(this.ariaLabel=s)}}async update(t){super.update(t),t.has("id")&&await this.onIdUpdated(),t.has("placement")&&this.onPlacementUpdated(),t.has("tooltipType")&&this.onTooltipTypeUpdated(t)}};Ds.styles=[...Be.styles,...Dv],p([u({type:String,attribute:"tooltip-type",reflect:!0})],Ds.prototype,"tooltipType",2),p([Wn()],Ds.prototype,"defaultSlotNodes",2);var fh=Ds;fh.register(Qa);var xx=fh;var Zi=si(class extends Dr{constructor(n){var o;if(super(n),n.type!==Ke.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 r,s;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]&&!((r=this.nt)!=null&&r.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)||(s=this.nt)!=null&&s.has(d)||(m?(t.add(d),this.st.add(d)):(t.remove(d),this.st.delete(d)))}return ge}});var Fv=z.constructTagName("toggle"),Ja={DEFAULT:"default",COMPACT:"compact"};var vh={SIZE:Ja.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var td=n=>{class o extends n{constructor(){super(...arguments);this.controlTypeProviderContext=$e.consume({host:this,context:Zc.Context})}willUpdate(){this.controlType&&Yl.includes(this.controlType)||(this.controlTypeProviderContext.value?this.controlType=this.controlTypeProviderContext.value:this.controlType=Gl.CONTROL_TYPE)}}return p([u({type:String,attribute:"control-type",reflect:!0})],o.prototype,"controlType",2),o};var ed=z.constructTagName("menuitemcheckbox"),tn={NONE:"none",CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},$v={INDICATOR:tn.CHECKBOX};var Ax=U`
4167
4167
  :host::part(checkmark-icon) {
4168
4168
  --mdc-icon-fill-color: currentColor;
4169
4169
  }
4170
4170
  :host .hidden-checkmark {
4171
4171
  visibility: hidden;
4172
4172
  }
4173
- `,zv=[Ax];var Fs=class extends Jl(pr){constructor(){super();this.checked=!1;this.indicator=$v.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.MENUITEMCHECKBOX}handleMouseClick(){this.disabled||this.softDisabled||(this.controlType!=="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===tn.CHECKBOX?_`
4173
+ `,zv=[Ax];var Fs=class extends td(pr){constructor(){super();this.checked=!1;this.indicator=$v.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.MENUITEMCHECKBOX}handleMouseClick(){this.disabled||this.softDisabled||(this.controlType!=="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===tn.CHECKBOX?_`
4174
4174
  <mdc-staticcheckbox
4175
4175
  slot="leading-controls"
4176
4176
  ?checked="${this.checked}"
@@ -4212,21 +4212,21 @@
4212
4212
  ${this.staticToggle()} ${this.getCheckmarkIcon()}
4213
4213
  </div>
4214
4214
  </slot>
4215
- `}};Fs.styles=[...pr.styles,...zv],p([u({type:Boolean,reflect:!0})],Fs.prototype,"checked",2),p([u({type:String,reflect:!0})],Fs.prototype,"indicator",2);var vh=Fs;vh.register(td);var Sx=vh;var ed=z.constructTagName("menuitemradio"),rd={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},Vv={INDICATOR:rd.RADIO};var Ix=B`
4215
+ `}};Fs.styles=[...pr.styles,...zv],p([u({type:Boolean,reflect:!0})],Fs.prototype,"checked",2),p([u({type:String,reflect:!0})],Fs.prototype,"indicator",2);var gh=Fs;gh.register(ed);var Sx=gh;var rd=z.constructTagName("menuitemradio"),id={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},Vv={INDICATOR:id.RADIO};var Ix=U`
4216
4216
  :host::part(checkmark-icon) {
4217
4217
  --mdc-icon-fill-color: currentColor;
4218
4218
  }
4219
4219
  :host .hidden-checkmark {
4220
4220
  visibility: hidden;
4221
4221
  }
4222
- `,Bv=[Ix];var $s=class extends Jl(pr){constructor(){super();this.checked=!1;this.indicator=Vv.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${fi}, ${te}`);return!t||!this.name?[]:Array.from(t.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(r=>{r!==this&&r.removeAttribute("checked")})}handleMouseClick(){this.disabled||this.softDisabled||this.checked||(this.controlType!=="controlled"&&(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===rd.RADIO?_`
4222
+ `,Bv=[Ix];var $s=class extends td(pr){constructor(){super();this.checked=!1;this.indicator=Vv.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${fi}, ${te}`);return!t||!this.name?[]:Array.from(t.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(r=>{r!==this&&r.removeAttribute("checked")})}handleMouseClick(){this.disabled||this.softDisabled||this.checked||(this.controlType!=="controlled"&&(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===id.RADIO?_`
4223
4223
  <mdc-staticradio
4224
4224
  slot="leading-controls"
4225
4225
  ?checked="${this.checked}"
4226
4226
  ?disabled="${this.disabled}"
4227
4227
  ?soft-disabled="${this.softDisabled}"
4228
4228
  ></mdc-staticradio>
4229
- `:j}renderCheckmarkIcon(){return this.indicator===rd.CHECKMARK?_`
4229
+ `:j}renderCheckmarkIcon(){return this.indicator===id.CHECKMARK?_`
4230
4230
  <mdc-icon
4231
4231
  slot="trailing-controls"
4232
4232
  name="check-bold"
@@ -4253,7 +4253,7 @@
4253
4253
  ${this.renderCheckmarkIcon()}
4254
4254
  </div>
4255
4255
  </slot>
4256
- `}};$s.styles=[...pr.styles,...Bv],p([u({type:Boolean,reflect:!0})],$s.prototype,"checked",2),p([u({type:String,reflect:!0})],$s.prototype,"indicator",2);var gh=$s;gh.register(ed);var _x=gh;var Qi=z.constructTagName("navmenuitem"),Uv={DOT:nr.DOT,COUNTER:nr.COUNTER},Hv={RIGHT_ARROW:"arrow-right-bold"},Gv={MAX_COUNTER:99,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:vo[24],VARIANT:Hr.FLEXIBLE};var Cx=B`
4256
+ `}};$s.styles=[...pr.styles,...Bv],p([u({type:Boolean,reflect:!0})],$s.prototype,"checked",2),p([u({type:String,reflect:!0})],$s.prototype,"indicator",2);var bh=$s;bh.register(rd);var _x=bh;var Qi=z.constructTagName("navmenuitem"),Uv={DOT:nr.DOT,COUNTER:nr.COUNTER},Hv={RIGHT_ARROW:"arrow-right-bold"},Gv={MAX_COUNTER:99,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:vo[24],VARIANT:Hr.FLEXIBLE};var Cx=U`
4257
4257
  :host::part(popover-content) {
4258
4258
  padding: 0.75rem 0.5rem;
4259
4259
  }
@@ -4261,7 +4261,7 @@
4261
4261
  ::slotted(mdc-divider) {
4262
4262
  margin-block: 0.25rem;
4263
4263
  }
4264
- `,Yv=[Cx];var en=n=>{var t;if(!n)return!1;let o=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();return o===rt.MENUITEM||o===rt.MENUITEMCHECKBOX||o===rt.MENUITEMRADIO},bh=n=>{var o;return((o=n==null?void 0:n.tagName)==null?void 0:o.toLowerCase())===te};var rn=class extends Be{constructor(){super();this.placement=lh.PLACEMENT;this.menuItems=[];this.menuItemsWithSubMenus=[];this.onOutsidePopoverClick=t=>{if(Ce.peek()!==this)return;let r=t.composedPath(),s=this.contains(t.target)||r.includes(this.triggerElement)||r.includes(this),d=this.backdropElement?r.includes(this.backdropElement):!1;(!s||d)&&this.closeAllMenuPopovers()};this.togglePopoverVisible=t=>{var r;(r=this.triggerElement)!=null&&r.hasAttribute("soft-disabled")||!this.isEventFromTrigger(t)||(this.visible?this.hide():this.show())};this.handleItemCreation=t=>{let r=t.target;en(r)&&(t.stopImmediatePropagation(),r.addEventListener("destroyed",this.handleItemChangeEvent),r.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(r=>r.getAttribute("tabindex")==="0")||this.resetTabIndexes(0)};this.handleKeyDown=t=>{let r=!1;this.collectMenuItems();let s=t.target,d=this.getCurrentIndex(s);if(d===-1)return;this.resetTabIndexes(d);let m=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(t.key,m)){case Q.HOME:{this.resetTabIndexAndSetFocus(0,d),r=!0;break}case Q.END:{this.resetTabIndexAndSetFocus(this.menuItems.length-1,d),r=!0;break}case Q.ARROW_DOWN:{let x=d+1===this.menuItems.length?0:d+1;this.resetTabIndexAndSetFocus(x,d),r=!0;break}case Q.ARROW_UP:{let x=d-1===-1?this.menuItems.length-1:d-1;this.resetTabIndexAndSetFocus(x,d),r=!0;break}case Q.ARROW_RIGHT:{let x=this.getSubMenuPopoverOfTarget(s);x&&(x.show(),r=!0);break}case Q.ARROW_LEFT:{bh(this.parentElement)&&(this.hide(),this.resetTabIndexAndSetFocus(0,d),r=!0);break}case Q.ESCAPE:{this.resetTabIndexAndSetFocus(0,d),r=!0;break}case Q.ENTER:{!this.getSubMenuPopoverOfTarget(s)&&!s.hasAttribute("soft-disabled")&&(this.closeAllMenuPopovers(),this.fireMenuItemAction(s),r=!0);break}case Q.SPACE:{r=!0;break}default:break}r&&(t.stopPropagation(),t.preventDefault())};this.handleKeyUp=t=>{let r=!1,s=t.target;switch(t.key){case Q.SPACE:{!s.matches(`${ed}, ${td}`)&&!s.hasAttribute("soft-disabled")&&(this.getSubMenuPopoverOfTarget(s)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(s),r=!0));break}default:break}r&&(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 s,d;let r=t.getAttribute("id");return r?(d=(s=this.parentElement)==null?void 0:s.querySelector)==null?void 0:d.call(s,`${te}[triggerid="${r}"]`):null}collectMenuItems(){var s;let t=(s=this.shadowRoot)==null?void 0:s.querySelector("slot"),r=(t==null?void 0:t.assignedElements({flatten:!0}))||[];this.menuItems=r.map(d=>d.tagName.toLowerCase()===fi?Array.from(d.children).filter(m=>en(m)):en(d)?d:[]).flat().filter(d=>!!d&&!d.hasAttribute("disabled")),this.menuItemsWithSubMenus=this.menuItems.filter(d=>this.getSubMenuPopoverOfTarget(d))}getOpenSubMenusOfItems(t){let r=[];return!t||t.length===0||t.forEach(s=>{let d=this.getSubMenuPopoverOfTarget(s);d&&d.visible&&r.push(d)}),r}connectedCallback(){super.connectedCallback(),this.role=rt.MENU,this.ariaOrientation=lh.ORIENTATION,this.backdrop=!1,this.color=No.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,r){return t===r||!this.triggerElement?Promise.resolve():(r&&(this.backdrop=![Xa,Qi].includes(this.triggerElement.tagName.toLowerCase())),r===!1&&this.menuItemsWithSubMenus.forEach(s=>{let d=this.getSubMenuPopoverOfTarget(s);d&&d.hide()}),this.resetMenuNavigation(),super.isOpenUpdated(t,r))}async firstUpdated(t){await super.firstUpdated(t),this.collectMenuItems(),this.resetTabIndexes(0)}resetTabIndexes(t){this.menuItems.length>0&&(this.menuItems.forEach(r=>r.setAttribute("tabindex","-1")),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}getCurrentIndex(t){return this.menuItems.findIndex(r=>r===t)}resetTabIndexAndSetFocus(t,r){t!==r&&(this.menuItems[r].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}closeAllMenuPopovers(t){for(;Ce.peek()!==t&&bh(Ce.peek());){let r=Ce.pop();if(r)r.hide();else break}}closeOtherSubMenusOnSameLevel(t){let r=this.menuItemsWithSubMenus.filter(d=>d!==t);this.getOpenSubMenusOfItems(r).forEach(d=>{d.hide()})}fireMenuItemAction(t){t.matches(Xa)&&t.dispatchEvent(new Event("action",{bubbles:!0,composed:!0}))}handleMouseClick(t){let r=t.target;if(t.stopPropagation(),!(!en(r)||!t.isTrusted||r.hasAttribute("soft-disabled"))){if(this.getSubMenuPopoverOfTarget(r)){this.closeOtherSubMenusOnSameLevel(r);return}this.closeAllMenuPopovers(),this.fireMenuItemAction(r)}}resolveDirectionKey(t,r){if(!r)return t;switch(t){case Q.ARROW_LEFT:return Q.ARROW_RIGHT;case Q.ARROW_RIGHT:return Q.ARROW_LEFT;default:return t}}};rn.styles=[...Be.styles,...Yv],p([u({type:String,reflect:!0})],rn.prototype,"placement",2);var yh=rn;yh.register(te);var kx=yh;var id=class{constructor(o,t,r){this.variant=o,this.expanded=t,this.parentNavTooltipText=r}hasSiblingWithTriggerId(o){var s,d;let t=o==null?void 0:o.getAttribute("id");return t?Array.from((d=(s=o==null?void 0:o.parentElement)==null?void 0:s.children)!=null?d:[]).some(m=>m!==o&&m.tagName.toLowerCase()===te&&m.getAttribute("triggerid")===t):!1}getParentNavMenuItems(o){if(!o)return[];let t=[],r=o;for(;r;){let s=r==null?void 0:r.closest(te);if(!s)break;let d=s.getAttribute("triggerid");if(!d)break;let m=document.getElementById(d);if(m&&m.tagName.toLowerCase()===Qi)t.push(m),r=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),r=(o==null?void 0:o.disableAriaCurrent)||this.hasSiblingWithTriggerId(o)||(o==null?void 0:o.softDisabled);if(t||r||(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",wt.BOTTOM),m.setAttribute("active","")})}};id.context=ji;var od=id;var wx=B`
4264
+ `,Yv=[Cx];var en=n=>{var t;if(!n)return!1;let o=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();return o===rt.MENUITEM||o===rt.MENUITEMCHECKBOX||o===rt.MENUITEMRADIO},yh=n=>{var o;return((o=n==null?void 0:n.tagName)==null?void 0:o.toLowerCase())===te};var rn=class extends Be{constructor(){super();this.placement=dh.PLACEMENT;this.menuItems=[];this.menuItemsWithSubMenus=[];this.onOutsidePopoverClick=t=>{if(Ce.peek()!==this)return;let r=t.composedPath(),s=this.contains(t.target)||r.includes(this.triggerElement)||r.includes(this),d=this.backdropElement?r.includes(this.backdropElement):!1;(!s||d)&&this.closeAllMenuPopovers()};this.togglePopoverVisible=t=>{var r;(r=this.triggerElement)!=null&&r.hasAttribute("soft-disabled")||!this.isEventFromTrigger(t)||(this.visible?this.hide():this.show())};this.handleItemCreation=t=>{let r=t.target;en(r)&&(t.stopImmediatePropagation(),r.addEventListener("destroyed",this.handleItemChangeEvent),r.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(r=>r.getAttribute("tabindex")==="0")||this.resetTabIndexes(0)};this.handleKeyDown=t=>{let r=!1;this.collectMenuItems();let s=t.target,d=this.getCurrentIndex(s);if(d===-1)return;this.resetTabIndexes(d);let m=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(t.key,m)){case Q.HOME:{this.resetTabIndexAndSetFocus(0,d),r=!0;break}case Q.END:{this.resetTabIndexAndSetFocus(this.menuItems.length-1,d),r=!0;break}case Q.ARROW_DOWN:{let x=d+1===this.menuItems.length?0:d+1;this.resetTabIndexAndSetFocus(x,d),r=!0;break}case Q.ARROW_UP:{let x=d-1===-1?this.menuItems.length-1:d-1;this.resetTabIndexAndSetFocus(x,d),r=!0;break}case Q.ARROW_RIGHT:{let x=this.getSubMenuPopoverOfTarget(s);x&&(x.show(),r=!0);break}case Q.ARROW_LEFT:{yh(this.parentElement)&&(this.hide(),this.resetTabIndexAndSetFocus(0,d),r=!0);break}case Q.ESCAPE:{this.resetTabIndexAndSetFocus(0,d),r=!0;break}case Q.ENTER:{!this.getSubMenuPopoverOfTarget(s)&&!s.hasAttribute("soft-disabled")&&(this.closeAllMenuPopovers(),this.fireMenuItemAction(s),r=!0);break}case Q.SPACE:{r=!0;break}default:break}r&&(t.stopPropagation(),t.preventDefault())};this.handleKeyUp=t=>{let r=!1,s=t.target;switch(t.key){case Q.SPACE:{!s.matches(`${rd}, ${ed}`)&&!s.hasAttribute("soft-disabled")&&(this.getSubMenuPopoverOfTarget(s)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(s),r=!0));break}default:break}r&&(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 s,d;let r=t.getAttribute("id");return r?(d=(s=this.parentElement)==null?void 0:s.querySelector)==null?void 0:d.call(s,`${te}[triggerid="${r}"]`):null}collectMenuItems(){var s;let t=(s=this.shadowRoot)==null?void 0:s.querySelector("slot"),r=(t==null?void 0:t.assignedElements({flatten:!0}))||[];this.menuItems=r.map(d=>d.tagName.toLowerCase()===fi?Array.from(d.children).filter(m=>en(m)):en(d)?d:[]).flat().filter(d=>!!d&&!d.hasAttribute("disabled")),this.menuItemsWithSubMenus=this.menuItems.filter(d=>this.getSubMenuPopoverOfTarget(d))}getOpenSubMenusOfItems(t){let r=[];return!t||t.length===0||t.forEach(s=>{let d=this.getSubMenuPopoverOfTarget(s);d&&d.visible&&r.push(d)}),r}connectedCallback(){super.connectedCallback(),this.role=rt.MENU,this.ariaOrientation=dh.ORIENTATION,this.backdrop=!1,this.color=No.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,r){return t===r||!this.triggerElement?Promise.resolve():(r&&(this.backdrop=![Xa,Qi].includes(this.triggerElement.tagName.toLowerCase())),r===!1&&this.menuItemsWithSubMenus.forEach(s=>{let d=this.getSubMenuPopoverOfTarget(s);d&&d.hide()}),this.resetMenuNavigation(),super.isOpenUpdated(t,r))}async firstUpdated(t){await super.firstUpdated(t),this.collectMenuItems(),this.resetTabIndexes(0)}resetTabIndexes(t){this.menuItems.length>0&&(this.menuItems.forEach(r=>r.setAttribute("tabindex","-1")),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}getCurrentIndex(t){return this.menuItems.findIndex(r=>r===t)}resetTabIndexAndSetFocus(t,r){t!==r&&(this.menuItems[r].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}closeAllMenuPopovers(t){for(;Ce.peek()!==t&&yh(Ce.peek());){let r=Ce.pop();if(r)r.hide();else break}}closeOtherSubMenusOnSameLevel(t){let r=this.menuItemsWithSubMenus.filter(d=>d!==t);this.getOpenSubMenusOfItems(r).forEach(d=>{d.hide()})}fireMenuItemAction(t){t.matches(Xa)&&t.dispatchEvent(new Event("action",{bubbles:!0,composed:!0}))}handleMouseClick(t){let r=t.target;if(t.stopPropagation(),!(!en(r)||!t.isTrusted||r.hasAttribute("soft-disabled"))){if(this.getSubMenuPopoverOfTarget(r)){this.closeOtherSubMenusOnSameLevel(r);return}this.closeAllMenuPopovers(),this.fireMenuItemAction(r)}}resolveDirectionKey(t,r){if(!r)return t;switch(t){case Q.ARROW_LEFT:return Q.ARROW_RIGHT;case Q.ARROW_RIGHT:return Q.ARROW_LEFT;default:return t}}};rn.styles=[...Be.styles,...Yv],p([u({type:String,reflect:!0})],rn.prototype,"placement",2);var Eh=rn;Eh.register(te);var kx=Eh;var od=class{constructor(o,t,r){this.variant=o,this.expanded=t,this.parentNavTooltipText=r}hasSiblingWithTriggerId(o){var s,d;let t=o==null?void 0:o.getAttribute("id");return t?Array.from((d=(s=o==null?void 0:o.parentElement)==null?void 0:s.children)!=null?d:[]).some(m=>m!==o&&m.tagName.toLowerCase()===te&&m.getAttribute("triggerid")===t):!1}getParentNavMenuItems(o){if(!o)return[];let t=[],r=o;for(;r;){let s=r==null?void 0:r.closest(te);if(!s)break;let d=s.getAttribute("triggerid");if(!d)break;let m=document.getElementById(d);if(m&&m.tagName.toLowerCase()===Qi)t.push(m),r=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),r=(o==null?void 0:o.disableAriaCurrent)||this.hasSiblingWithTriggerId(o)||(o==null?void 0:o.softDisabled);if(t||r||(this.currentActiveNavMenuItem&&(this.currentActiveNavMenuItem.removeAttribute("aria-current"),this.currentActiveNavMenuItem.removeAttribute("active"),this.getParentNavMenuItems(this.currentActiveNavMenuItem).forEach(g=>{g.removeAttribute("tooltip-text"),g.removeAttribute("tooltip-placement"),g.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",wt.BOTTOM),m.setAttribute("active","")})}};od.context=ji;var sd=od;var wx=U`
4265
4265
  :host {
4266
4266
  --mdc-sidenavigation-expanded-width: 15rem;
4267
4267
  --mdc-sidenavigation-collapsed-width: 4.5rem;
@@ -4331,7 +4331,7 @@
4331
4331
  :host::part(vertical-divider-button) {
4332
4332
  z-index: var(--mdc-sidenavigation-vertical-divider-button-z-index);
4333
4333
  }
4334
- `,Wv=[wx];var vi=class extends Fe{constructor(){super({context:od.context,initialValue:new od(Ql.VARIANT,!0)});this.variant=Ql.VARIANT;this.footerText="";this.handleNestedNavMenuItemActiveChange=t=>{var r;if((r=this.context)!=null&&r.value){let s=this.findNav(this.navMenuItems,t.detail.navId);this.context.value.setCurrentActiveNavMenuItem(s)}};this.findNav=(t,r)=>t.find(s=>s.navId===r);this.addEventListener("activechange",this.handleNestedNavMenuItemActiveChange.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.NAVIGATION}static get Context(){return od.context}updated(t){if(super.updated(t),t.has("variant"))switch(this.setVariant(this.variant),this.variant){case Hr.FIXED_EXPANDED:this.expanded=!0;break;case Hr.FIXED_COLLAPSED:this.expanded=!1;break;default:}(t.has("variant")||t.has("expanded"))&&this.updateContext()}firstUpdated(t){super.firstUpdated(t),this.variant===Hr.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(`${Qi}:not([disabled])`))}setVariant(t){this.setAttribute("variant",Object.values(Hr).includes(t)?t:Ql.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===Hr.HIDDEN?_``:_`
4334
+ `,Wv=[wx];var vi=class extends Fe{constructor(){super({context:sd.context,initialValue:new sd(Jl.VARIANT,!0)});this.variant=Jl.VARIANT;this.footerText="";this.handleNestedNavMenuItemActiveChange=t=>{var r;if((r=this.context)!=null&&r.value){let s=this.findNav(this.navMenuItems,t.detail.navId);this.context.value.setCurrentActiveNavMenuItem(s)}};this.findNav=(t,r)=>t.find(s=>s.navId===r);this.addEventListener("activechange",this.handleNestedNavMenuItemActiveChange.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.NAVIGATION}static get Context(){return sd.context}updated(t){if(super.updated(t),t.has("variant"))switch(this.setVariant(this.variant),this.variant){case Hr.FIXED_EXPANDED:this.expanded=!0;break;case Hr.FIXED_COLLAPSED:this.expanded=!1;break;default:}(t.has("variant")||t.has("expanded"))&&this.updateContext()}firstUpdated(t){super.firstUpdated(t),this.variant===Hr.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(`${Qi}:not([disabled])`))}setVariant(t){this.setAttribute("variant",Object.values(Hr).includes(t)?t:Jl.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===Hr.HIDDEN?_``:_`
4335
4335
  <div part="side-navigation-container" id="side-nav-container">
4336
4336
  <div part="scrollable-section" tabindex="-1" @keydown=${this.preventScrollOnSpace}>
4337
4337
  <slot name="scrollable-section">
@@ -4370,7 +4370,7 @@
4370
4370
  aria-controls="side-nav-container"
4371
4371
  ></mdc-button>
4372
4372
  </mdc-divider>`:j}
4373
- `}};vi.styles=[...q.styles,...Wv],p([u({type:String,reflect:!0})],vi.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"footer-text"})],vi.prototype,"footerText",2),p([u({type:Boolean,reflect:!0})],vi.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"grabber-btn-aria-label"})],vi.prototype,"grabberBtnAriaLabel",2),p([u({type:String,reflect:!0,attribute:"parent-nav-tooltip-text"})],vi.prototype,"parentNavTooltipText",2);var Vo=vi;var Nx=B`
4373
+ `}};vi.styles=[...q.styles,...Wv],p([u({type:String,reflect:!0})],vi.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"footer-text"})],vi.prototype,"footerText",2),p([u({type:Boolean,reflect:!0})],vi.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"grabber-btn-aria-label"})],vi.prototype,"grabberBtnAriaLabel",2),p([u({type:String,reflect:!0,attribute:"parent-nav-tooltip-text"})],vi.prototype,"parentNavTooltipText",2);var Vo=vi;var Nx=U`
4374
4374
  :host {
4375
4375
  display: flex;
4376
4376
  flex-direction: column;
@@ -4397,7 +4397,7 @@
4397
4397
  ${this.hideHeaderText?null:this.renderHeader()}
4398
4398
  <slot part="container"></slot>
4399
4399
  ${this.showDivider?_`<mdc-divider variant="${this.dividerVariant}" part="divider"></mdc-divider>`:null}
4400
- `}};Gr.styles=[...q.styles,...jv],p([u({type:String,reflect:!0,attribute:"aria-label"})],Gr.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Gr.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],Gr.prototype,"prefixIcon",2),p([u({type:Boolean,reflect:!0,attribute:"show-divider"})],Gr.prototype,"showDivider",2),p([u({type:String,reflect:!0,attribute:"divider-variant"})],Gr.prototype,"dividerVariant",2),p([u({type:Boolean,reflect:!0,attribute:"hide-header-text"})],Gr.prototype,"hideHeaderText",2);var Eh=Gr;Eh.register(fi);var Lx=Eh;var Rx=[bt,B`
4400
+ `}};Gr.styles=[...q.styles,...jv],p([u({type:String,reflect:!0,attribute:"aria-label"})],Gr.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Gr.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],Gr.prototype,"prefixIcon",2),p([u({type:Boolean,reflect:!0,attribute:"show-divider"})],Gr.prototype,"showDivider",2),p([u({type:String,reflect:!0,attribute:"divider-variant"})],Gr.prototype,"dividerVariant",2),p([u({type:Boolean,reflect:!0,attribute:"hide-header-text"})],Gr.prototype,"hideHeaderText",2);var Th=Gr;Th.register(fi);var Lx=Th;var Ox=[bt,U`
4401
4401
  :host {
4402
4402
  --mdc-navmenuitem-color: var(--mds-color-theme-text-primary-normal);
4403
4403
  --mdc-navmenuitem-disabled-color: var(--mds-color-theme-text-primary-disabled);
@@ -4542,7 +4542,7 @@
4542
4542
  left: -0.75rem;
4543
4543
  top: 0.875rem;
4544
4544
  }
4545
- `,...At()],Kv=Rx;var Xe=class extends Wt(pr){constructor(){super();this.maxCounter=Gv.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=$e.consume({host:this,context:Vo.Context});this.emitNavMenuItemActiveChange=t=>{let r=new CustomEvent("activechange",{detail:{navId:this.navId,active:t},bubbles:!0});this.dispatchEvent(r)};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 r,s;let t=(r=this.sideNavigationContext)==null?void 0:r.value;if(t)if(this.showLabel=this.isNested()?!0:t.expanded,this.showLabel)this.removeAttribute("aria-label");else{let d=(s=this.label)!=null?s:"";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-${Te()}`),this.removeTooltip();let t=document.createElement(Qa);t.id=`mdc-navmenuitem-tooltip-${Te()}`,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 r=this.iconName.endsWith("-filled"),s=bo(this.iconName);t?r||(this.prevIconName=this.iconName,this.iconName=`${s}-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 _`
4545
+ `,...At()],Kv=Ox;var Xe=class extends Wt(pr){constructor(){super();this.maxCounter=Gv.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=$e.consume({host:this,context:Vo.Context});this.emitNavMenuItemActiveChange=t=>{let r=new CustomEvent("activechange",{detail:{navId:this.navId,active:t},bubbles:!0});this.dispatchEvent(r)};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 r,s;let t=(r=this.sideNavigationContext)==null?void 0:r.value;if(t)if(this.showLabel=this.isNested()?!0:t.expanded,this.showLabel)this.removeAttribute("aria-label");else{let d=(s=this.label)!=null?s:"";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-${Te()}`),this.removeTooltip();let t=document.createElement(Qa);t.id=`mdc-navmenuitem-tooltip-${Te()}`,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 r=this.iconName.endsWith("-filled"),s=bo(this.iconName);t?r||(this.prevIconName=this.iconName,this.iconName=`${s}-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 _`
4546
4546
  <mdc-text
4547
4547
  type=${this.active?st.BODY_MIDSIZE_BOLD:st.BODY_MIDSIZE_MEDIUM}
4548
4548
  tagname=${mt.SPAN}
@@ -4571,7 +4571,7 @@
4571
4571
  </div>
4572
4572
  ${this.showLabel?_`${this.renderTextLabel(this.label)}${this.renderBadge(this.showLabel)}`:j}
4573
4573
  ${t!=null&&t.hasSiblingWithTriggerId(this)?this.renderArrowIcon(this.showLabel):j}
4574
- `}};Xe.styles=[...pr.styles,...Kv],p([u({type:Boolean,reflect:!0})],Xe.prototype,"active",2),p([u({type:String,reflect:!0,attribute:"badge-type"})],Xe.prototype,"badgeType",2),p([u({type:Number,reflect:!0})],Xe.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],Xe.prototype,"maxCounter",2),p([u({type:String,reflect:!0,attribute:"nav-id"})],Xe.prototype,"navId",2),p([u({type:Boolean,reflect:!0,attribute:"show-label"})],Xe.prototype,"showLabel",2),p([u({type:String,attribute:"aria-label"})],Xe.prototype,"ariaLabel",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],Xe.prototype,"disableAriaCurrent",2),p([u({type:String,reflect:!0,attribute:"tooltip-text"})],Xe.prototype,"tooltipText",2);var Th=Xe;Th.register(Qi);var Ox=Th;var qv="check-bold",mr=z.constructTagName("option");var on=z.constructTagName("optgroup"),xh="header-id";var Mx=B`
4574
+ `}};Xe.styles=[...pr.styles,...Kv],p([u({type:Boolean,reflect:!0})],Xe.prototype,"active",2),p([u({type:String,reflect:!0,attribute:"badge-type"})],Xe.prototype,"badgeType",2),p([u({type:Number,reflect:!0})],Xe.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],Xe.prototype,"maxCounter",2),p([u({type:String,reflect:!0,attribute:"nav-id"})],Xe.prototype,"navId",2),p([u({type:Boolean,reflect:!0,attribute:"show-label"})],Xe.prototype,"showLabel",2),p([u({type:String,attribute:"aria-label"})],Xe.prototype,"ariaLabel",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],Xe.prototype,"disableAriaCurrent",2),p([u({type:String,reflect:!0,attribute:"tooltip-text"})],Xe.prototype,"tooltipText",2);var xh=Xe;xh.register(Qi);var Rx=xh;var qv="check-bold",mr=z.constructTagName("option");var on=z.constructTagName("optgroup"),Ah="header-id";var Mx=U`
4575
4575
  :host {
4576
4576
  --mdc-optgroup-disabled-color: var(--mds-color-theme-text-primary-disabled);
4577
4577
  }
@@ -4589,7 +4589,7 @@
4589
4589
  }
4590
4590
  `,Xv=[Mx];var zs=class extends Ut(Bt(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?_`
4591
4591
  <mdc-text
4592
- id="${xh}"
4592
+ id="${Ah}"
4593
4593
  part="header-text"
4594
4594
  type="${st.BODY_MIDSIZE_BOLD}"
4595
4595
  tagname="${mt.SPAN}"
@@ -4598,13 +4598,13 @@
4598
4598
  `:j;return _`
4599
4599
  <div
4600
4600
  role="${rt.GROUP}"
4601
- aria-labelledby="${this.label?xh:""}"
4601
+ aria-labelledby="${this.label?Ah:""}"
4602
4602
  aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
4603
4603
  >
4604
4604
  ${o}
4605
4605
  <slot role="${rt.PRESENTATION}"></slot>
4606
4606
  </div>
4607
- `}};zs.styles=[...q.styles,...Xv],p([u({type:String,reflect:!0})],zs.prototype,"label",2),p([Pt({selector:mr})],zs.prototype,"options",2);var Ah=zs;Ah.register(on);var Px=Ah;var Dx=[Ri,B`
4607
+ `}};zs.styles=[...q.styles,...Xv],p([u({type:String,reflect:!0})],zs.prototype,"label",2),p([Pt({selector:mr})],zs.prototype,"options",2);var Sh=zs;Sh.register(on);var Px=Sh;var Dx=[Oi,U`
4608
4608
  :host {
4609
4609
  --mdc-listitem-column-gap: 0.75rem;
4610
4610
  --mdc-option-icon-width: 1rem;
@@ -4628,7 +4628,7 @@
4628
4628
  :host([data-focused]) {
4629
4629
  outline: none;
4630
4630
  position: relative;
4631
- box-shadow: ${Oi};
4631
+ box-shadow: ${Ri};
4632
4632
  }
4633
4633
  :host([data-hidden]) {
4634
4634
  display: none;
@@ -4644,7 +4644,7 @@
4644
4644
  </div>
4645
4645
  </div>
4646
4646
  <div part="trailing">${t}</div>
4647
- `}};Bo.styles=[...ui.styles,...Zv],p([u({type:Boolean,reflect:!0})],Bo.prototype,"selected",2),p([u({type:String,reflect:!0,attribute:"prefix-icon"})],Bo.prototype,"prefixIcon",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],Bo.prototype,"ariaLabel",2);var Sh=Bo;Sh.register(mr);var Fx=Sh;var Ih={HIDE_BOLD:"hide-bold",SHOW_BOLD:"show-bold"},Qv=z.constructTagName("password");var Ji=class extends Ir{constructor(){super(...arguments);this.showButtonAriaLabel="";this.hideButtonAriaLabel="";this.helpTextType=Lt.VALIDATION;this.showPassword=!1}connectedCallback(){super.connectedCallback(),this.trailingButton=!0}toggleShowPassword(){this.showPassword=!this.showPassword}renderTrailingButton(t=!1){let r=t||this.value;return r?_`
4647
+ `}};Bo.styles=[...ui.styles,...Zv],p([u({type:Boolean,reflect:!0})],Bo.prototype,"selected",2),p([u({type:String,reflect:!0,attribute:"prefix-icon"})],Bo.prototype,"prefixIcon",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],Bo.prototype,"ariaLabel",2);var Ih=Bo;Ih.register(mr);var Fx=Ih;var _h={HIDE_BOLD:"hide-bold",SHOW_BOLD:"show-bold"},Qv=z.constructTagName("password");var Ji=class extends Ir{constructor(){super(...arguments);this.showButtonAriaLabel="";this.hideButtonAriaLabel="";this.helpTextType=Lt.VALIDATION;this.showPassword=!1}connectedCallback(){super.connectedCallback(),this.trailingButton=!0}toggleShowPassword(){this.showPassword=!this.showPassword}renderTrailingButton(t=!1){let r=t||this.value;return r?_`
4648
4648
  <mdc-button
4649
4649
  part="trailing-button"
4650
4650
  class="own-focus-ring ${r?"":"hidden"}"
@@ -4653,9 +4653,9 @@
4653
4653
  size="${Lt.ICON_SIZE}"
4654
4654
  @click=${this.toggleShowPassword}
4655
4655
  aria-label=${this.showPassword?this.hideButtonAriaLabel:this.showButtonAriaLabel}
4656
- prefix-icon=${this.showPassword?Ih.HIDE_BOLD:Ih.SHOW_BOLD}
4656
+ prefix-icon=${this.showPassword?_h.HIDE_BOLD:_h.SHOW_BOLD}
4657
4657
  ></mdc-button>
4658
- `:j}renderInputElement(t,r){let s=this.showPassword?Gi.TEXT:Gi.PASSWORD;return super.renderInputElement(s,r)}};Ji.styles=[...Ir.styles],p([u({type:String,attribute:"show-button-aria-label",reflect:!0})],Ji.prototype,"showButtonAriaLabel",2),p([u({type:String,attribute:"hide-button-aria-label",reflect:!0})],Ji.prototype,"hideButtonAriaLabel",2),p([u({type:String,attribute:"help-text-type"})],Ji.prototype,"helpTextType",2),p([vt()],Ji.prototype,"showPassword",2);var _h=Ji;_h.register(Qv);var $x=_h;Be.register(Hf);$l.register(zl);var zx=Be;var sd=z.constructTagName("progressbar"),ad={DEFAULT:"default",INLINE:"inline"},Jv={VARIANT:ad.DEFAULT,VALIDATION:$t.DEFAULT};var Vx=[bt,B`
4658
+ `:j}renderInputElement(t,r){let s=this.showPassword?Gi.TEXT:Gi.PASSWORD;return super.renderInputElement(s,r)}};Ji.styles=[...Ir.styles],p([u({type:String,attribute:"show-button-aria-label",reflect:!0})],Ji.prototype,"showButtonAriaLabel",2),p([u({type:String,attribute:"hide-button-aria-label",reflect:!0})],Ji.prototype,"hideButtonAriaLabel",2),p([u({type:String,attribute:"help-text-type"})],Ji.prototype,"helpTextType",2),p([vt()],Ji.prototype,"showPassword",2);var Ch=Ji;Ch.register(Qv);var $x=Ch;Be.register(Gf);$l.register(zl);var zx=Be;var ad=z.constructTagName("progressbar"),nd={DEFAULT:"default",INLINE:"inline"},Jv={VARIANT:nd.DEFAULT,VALIDATION:$t.DEFAULT};var Vx=[bt,U`
4659
4659
  :host {
4660
4660
  --mdc-progressbar-background-color: var(--mds-color-theme-control-indicator-inactive-normal);
4661
4661
  --mdc-progressbar-progress-background-color: var(--mds-color-theme-control-active-normal);
@@ -4740,15 +4740,15 @@
4740
4740
  <div part="progress-bar ${t}" style="width: ${s}%"></div>
4741
4741
  <div part="remaining"></div>
4742
4742
  </div>
4743
- `}}connectedCallback(){super.connectedCallback(),this.id=`${sd}-${Te()}`,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=$t.ERROR:this.clampedValue===100?this.helpTextType=$t.SUCCESS:this.helpTextType=$t.DEFAULT,this.helpTextType}render(){let t=this.variant===ad.INLINE;return _`
4743
+ `}}connectedCallback(){super.connectedCallback(),this.id=`${ad}-${Te()}`,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=$t.ERROR:this.clampedValue===100?this.helpTextType=$t.SUCCESS:this.helpTextType=$t.DEFAULT,this.helpTextType}render(){let t=this.variant===nd.INLINE;return _`
4744
4744
  ${t?_`<div part="inline-label-container">${this.renderLabelElement()} ${this.renderProgressbar()}</div>`:_`
4745
4745
  <div part="label-container">
4746
4746
  ${this.renderLabelElement()}
4747
- ${this.variant===ad.DEFAULT&&this.label?_`<span part="percentage">${this.clampedValue}%</span>`:""}
4747
+ ${this.variant===nd.DEFAULT&&this.label?_`<span part="percentage">${this.clampedValue}%</span>`:""}
4748
4748
  </div>
4749
4749
  ${this.renderProgressbar()} ${this.renderHelperText()}
4750
4750
  `}
4751
- `}};Uo.styles=[...hr.styles,...tg],p([u({type:String,reflect:!0})],Uo.prototype,"variant",2),p([u({type:String,reflect:!0})],Uo.prototype,"value",2),p([u({type:Boolean,attribute:"error"})],Uo.prototype,"error",2);var sn=Uo;sn.register(sd);var Bx=sn;var eg=z.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"},Ch={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var kh=n=>{if(n===0)return 0;let o=n/100*ee.CIRCUMFERENCE-ee.GAP_SIZE;return Math.max(o,.1*n)},rg=n=>{let o=ee.CIRCUMFERENCE-kh(n)-2*ee.GAP_SIZE;return n===0?ee.CIRCUMFERENCE:o<0?0:o},ig=n=>n===0?0:ee.GAP_SIZE*.5,og=(n,o)=>{let t=o+ee.GAP_SIZE*1.5;return n===0?0:t};var Ux=B`
4751
+ `}};Uo.styles=[...hr.styles,...tg],p([u({type:String,reflect:!0})],Uo.prototype,"variant",2),p([u({type:String,reflect:!0})],Uo.prototype,"value",2),p([u({type:Boolean,attribute:"error"})],Uo.prototype,"error",2);var sn=Uo;sn.register(ad);var Bx=sn;var eg=z.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"},kh={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var wh=n=>{if(n===0)return 0;let o=n/100*ee.CIRCUMFERENCE-ee.GAP_SIZE;return Math.max(o,.1*n)},rg=n=>{let o=ee.CIRCUMFERENCE-wh(n)-2*ee.GAP_SIZE;return n===0?ee.CIRCUMFERENCE:o<0?0:o},ig=n=>n===0?0:ee.GAP_SIZE*.5,og=(n,o)=>{let t=o+ee.GAP_SIZE*1.5;return n===0?0:t};var Ux=U`
4752
4752
  :host {
4753
4753
  --mdc-spinner-size: 3rem;
4754
4754
  --mdc-track-color: var(--mds-color-theme-control-indicator-inactive-normal);
@@ -4795,7 +4795,7 @@
4795
4795
  color: var(--mdc-progress-error-color);
4796
4796
  margin: calc(1 / 6 * var(--mdc-spinner-size));
4797
4797
  }
4798
- `,sg=[Ux];var nd=class extends sn{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=kh(this.clampedValue),t=rg(this.clampedValue),r=ig(this.clampedValue),s=og(this.clampedValue,o);return _`
4798
+ `,sg=[Ux];var ld=class extends sn{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=wh(this.clampedValue),t=rg(this.clampedValue),r=ig(this.clampedValue),s=og(this.clampedValue,o);return _`
4799
4799
  <div
4800
4800
  part="spinner-container ${this.variant}"
4801
4801
  role="${rt.PROGRESSBAR}"
@@ -4829,7 +4829,7 @@
4829
4829
  <mdc-icon
4830
4830
  part="error-icon"
4831
4831
  aria-label="${(o=this.dataAriaLabel)!=null?o:""}"
4832
- name="${Ch.ERROR_LEGACY_FILLED}"
4832
+ name="${kh.ERROR_LEGACY_FILLED}"
4833
4833
  size="${ee.ERROR_ICON_SIZE}"
4834
4834
  length-unit="${ee.ICON_LENGTH_UNIT}"
4835
4835
  ></mdc-icon>
@@ -4837,11 +4837,11 @@
4837
4837
  <mdc-icon
4838
4838
  part="success-icon"
4839
4839
  aria-label="${(o=this.dataAriaLabel)!=null?o:""}"
4840
- name="${Ch.CHECK_CIRCLE_BOLD}"
4840
+ name="${kh.CHECK_CIRCLE_BOLD}"
4841
4841
  size="${ee.SUCCESS_ICON_SIZE}"
4842
4842
  length-unit="${ee.ICON_LENGTH_UNIT}"
4843
4843
  ></mdc-icon>
4844
- `}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():_` ${this.renderProgressSpinner()}`}};nd.styles=[...q.styles,...sg];var wh=nd;wh.register(eg);var Hx=wh;var Gx=[bt,B`
4844
+ `}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():_` ${this.renderProgressSpinner()}`}};ld.styles=[...q.styles,...sg];var Nh=ld;Nh.register(eg);var Hx=Nh;var Gx=[bt,U`
4845
4845
  :host {
4846
4846
  display: flex;
4847
4847
  flex-direction: row;
@@ -4903,7 +4903,7 @@
4903
4903
  :host([soft-disabled]) {
4904
4904
  pointer-events: none;
4905
4905
  }
4906
- `,...At(!0)],ag=Gx;var an=class extends ye(Ae(Ut(se))){constructor(){super(...arguments);this.checked=!1;this.renderLabelAndHelperText=()=>this.label?_`<div part="text-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(r=>{r.checked=!1}),this.updateComplete.then(()=>{this.setActualFormValue()}).catch(r=>{this.onerror&&this.onerror(r)})}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,r){this.updateComplete.then(()=>{t.forEach(s=>{s.setComponentValidity(r)})}).catch(s=>{this.onerror&&this.onerror(s)})}setActualFormValue(){let t="";this.checked?t=this.value?this.value:"on":t=null;let r=this.getAllRadiosWithinSameGroup();if(this.checked)this.setGroupValidity(r,!0);else{let s=r.some(b=>b.required),d=!!r.find(b=>b.checked),m=s&&!d;this.setGroupValidity(r,!m)}this.internals.setFormValue(t)}handleChange(){var s;if(this.disabled||this.readonly||this.softDisabled)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 r=(s=this.shadowRoot)==null?void 0:s.querySelector("input");r&&(r.checked=!0),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}updateRadio(t,r){var s,d;(d=(s=t[r].shadowRoot)==null?void 0:s.querySelector("input"))==null||d.focus(),t[r].handleChange()}handleKeyDown(t){var m;if(this.disabled)return;(this.readonly||this.softDisabled)&&t.key===Q.SPACE&&t.preventDefault();let s=this.getAllRadiosWithinSameGroup().filter(b=>!b.disabled),d=s.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let b=(d+1)%s.length;this.updateRadio(s,b)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let b=(d-1+s.length)%s.length;this.updateRadio(s,b)}else t.key===Q.SPACE&&this.updateRadio(s,d);this.updateTabIndex(),t.key===Q.ENTER&&((m=this.form)==null||m.requestSubmit())}updateTabIndex(){let t=this.getAllRadiosWithinSameGroup(),r=t.find(d=>d.checked),s=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===r||!r&&d===s)&&(m.tabIndex=0))})}update(t){super.update(t),t.has("checked")&&this.setActualFormValue()}render(){var t;return _`
4906
+ `,...At(!0)],ag=Gx;var an=class extends ye(Ae(Ut(se))){constructor(){super(...arguments);this.checked=!1;this.renderLabelAndHelperText=()=>this.label?_`<div part="text-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(r=>{r.checked=!1}),this.updateComplete.then(()=>{this.setActualFormValue()}).catch(r=>{this.onerror&&this.onerror(r)})}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,r){this.updateComplete.then(()=>{t.forEach(s=>{s.setComponentValidity(r)})}).catch(s=>{this.onerror&&this.onerror(s)})}setActualFormValue(){let t="";this.checked?t=this.value?this.value:"on":t=null;let r=this.getAllRadiosWithinSameGroup();if(this.checked)this.setGroupValidity(r,!0);else{let s=r.some(g=>g.required),d=!!r.find(g=>g.checked),m=s&&!d;this.setGroupValidity(r,!m)}this.internals.setFormValue(t)}handleChange(){var s;if(this.disabled||this.readonly||this.softDisabled)return;this.getAllRadiosWithinSameGroup().forEach(d=>{var g;let m=(g=d.shadowRoot)==null?void 0:g.querySelector("input");m&&(d.checked=!1,m.checked=!1)}),this.checked=!0;let r=(s=this.shadowRoot)==null?void 0:s.querySelector("input");r&&(r.checked=!0),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}updateRadio(t,r){var s,d;(d=(s=t[r].shadowRoot)==null?void 0:s.querySelector("input"))==null||d.focus(),t[r].handleChange()}handleKeyDown(t){var m;if(this.disabled)return;(this.readonly||this.softDisabled)&&t.key===Q.SPACE&&t.preventDefault();let s=this.getAllRadiosWithinSameGroup().filter(g=>!g.disabled),d=s.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let g=(d+1)%s.length;this.updateRadio(s,g)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let g=(d-1+s.length)%s.length;this.updateRadio(s,g)}else t.key===Q.SPACE&&this.updateRadio(s,d);this.updateTabIndex(),t.key===Q.ENTER&&((m=this.form)==null||m.requestSubmit())}updateTabIndex(){let t=this.getAllRadiosWithinSameGroup(),r=t.find(d=>d.checked),s=t.find(d=>!d.disabled);t.forEach(d=>{var g;let m=(g=d.shadowRoot)==null?void 0:g.querySelector("input");m&&(m.tabIndex=-1,(d===r||!r&&d===s)&&(m.tabIndex=0))})}update(t){super.update(t),t.has("checked")&&this.setActualFormValue()}render(){var t;return _`
4907
4907
  <mdc-staticradio
4908
4908
  class="mdc-focus-ring"
4909
4909
  ?checked="${this.checked}"
@@ -4932,7 +4932,7 @@
4932
4932
  />
4933
4933
  </mdc-staticradio>
4934
4934
  ${this.renderLabelAndHelperText()}
4935
- `}};an.styles=[...se.styles,...ag],p([u({type:Boolean,reflect:!0})],an.prototype,"checked",2);var Nh=an;var ld=z.constructTagName("radio");Nh.register(ld);var Yx=Nh;var nn=class extends jl{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var t,r,s,d,m;(m=(d=(s=(r=Array.from(((t=this.shadowRoot)==null?void 0:t.querySelectorAll("slot"))||[]))==null?void 0:r.flatMap(b=>b.assignedElements({flatten:!0})))==null?void 0:s.filter(b=>b.tagName.toLowerCase()===ld||b.tagName.toLowerCase()===kl))==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())})}};nn.styles=[...jl.styles],p([u({type:String})],nn.prototype,"name",2);var Lh=nn;var ng=z.constructTagName("radiogroup");Lh.register(ng);var Wx=Lh;var jx=B`
4935
+ `}};an.styles=[...se.styles,...ag],p([u({type:Boolean,reflect:!0})],an.prototype,"checked",2);var Lh=an;var dd=z.constructTagName("radio");Lh.register(dd);var Yx=Lh;var nn=class extends Kl{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var t,r,s,d,m;(m=(d=(s=(r=Array.from(((t=this.shadowRoot)==null?void 0:t.querySelectorAll("slot"))||[]))==null?void 0:r.flatMap(g=>g.assignedElements({flatten:!0})))==null?void 0:s.filter(g=>g.tagName.toLowerCase()===dd||g.tagName.toLowerCase()===kl))==null?void 0:d.filter(g=>!g.hasAttribute("name")))==null||m.forEach(g=>{g.setAttribute("name",this.name),this.required&&g.setAttribute("required",this.required.toString())})}};nn.styles=[...Kl.styles],p([u({type:String})],nn.prototype,"name",2);var Oh=nn;var ng=z.constructTagName("radiogroup");Oh.register(ng);var Wx=Oh;var jx=U`
4936
4936
  :host::part(filters-container) {
4937
4937
  display: flex;
4938
4938
  gap: 0.25rem;
@@ -4962,7 +4962,7 @@
4962
4962
  position: relative;
4963
4963
  scrollbar-width: none;
4964
4964
  }
4965
- `,lg=[jx];var dg=z.constructTagName("searchfield"),ln={TYPE:Gi.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:ql};var Ho=class extends Ir{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=ln.ICON,this.trailingButton=ln.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(r=>{r.matches(ln.INPUT_CHIP_TAG)||r.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(r=>{r.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return _`
4965
+ `,lg=[jx];var dg=z.constructTagName("searchfield"),ln={TYPE:Gi.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:Xl};var Ho=class extends Ir{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=ln.ICON,this.trailingButton=ln.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(r=>{r.matches(ln.INPUT_CHIP_TAG)||r.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(r=>{r.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return _`
4966
4966
  ${this.renderLabelElement()}
4967
4967
  <div
4968
4968
  class="${Zi({"mdc-focus-ring":this.isInputFocused})}"
@@ -4982,7 +4982,7 @@
4982
4982
  </div>
4983
4983
  ${this.renderTrailingButton(this.hasInputChips)}
4984
4984
  </div>
4985
- `}};Ho.styles=[...Ir.styles,...lg],p([Pt({slot:"filters"})],Ho.prototype,"inputChips",2),p([vt()],Ho.prototype,"isInputFocused",2),p([vt()],Ho.prototype,"hasInputChips",2);var Vs=Ho;Vs.register(dg);var Kx=Vs;var qx=B`
4985
+ `}};Ho.styles=[...Ir.styles,...lg],p([Pt({slot:"filters"})],Ho.prototype,"inputChips",2),p([vt()],Ho.prototype,"isInputFocused",2),p([vt()],Ho.prototype,"hasInputChips",2);var Vs=Ho;Vs.register(dg);var Kx=Vs;var qx=U`
4986
4986
  :host {
4987
4987
  --mdc-searchpopover-width: 100%;
4988
4988
  --mdc-searchpopover-popover-width: var(--mdc-searchpopover-width);
@@ -5002,7 +5002,7 @@
5002
5002
  min-width: auto;
5003
5003
  padding: 0.75rem 0.5rem;
5004
5004
  }
5005
- `,cg=[qx];var hg=z.constructTagName("searchpopover"),Rh={TYPE:Gi.TEXT,DISPLAY_POPOVER:!1},Oh="searchpopover-container-triggerid",dd="searchpopover-popoverid";var to=class extends Vs{constructor(){super(...arguments);this.displayPopover=Rh.DISPLAY_POPOVER;this.placement=wt.BOTTOM_START;this.popoverZIndex=It.Z_INDEX}renderInputElement(){var r,s;let t=this.hasInputChips?"":this.placeholder;return _`<input
5005
+ `,cg=[qx];var hg=z.constructTagName("searchpopover"),Rh={TYPE:Gi.TEXT,DISPLAY_POPOVER:!1},Mh="searchpopover-container-triggerid",cd="searchpopover-popoverid";var to=class extends Vs{constructor(){super(...arguments);this.displayPopover=Rh.DISPLAY_POPOVER;this.placement=wt.BOTTOM_START;this.popoverZIndex=It.Z_INDEX}renderInputElement(){var r,s;let t=this.hasInputChips?"":this.placeholder;return _`<input
5006
5006
  aria-label="${(r=this.dataAriaLabel)!=null?r:""}"
5007
5007
  part="input-text"
5008
5008
  id="${this.inputId}"
@@ -5013,8 +5013,8 @@
5013
5013
  ?required="${this.required}"
5014
5014
  type="${Rh.TYPE}"
5015
5015
  aria-expanded="${this.displayPopover?"true":"false"}"
5016
- aria-controls="${dd}"
5017
- aria-owns="${dd}"
5016
+ aria-controls="${cd}"
5017
+ aria-owns="${cd}"
5018
5018
  aria-haspopup="${rt.DIALOG}"
5019
5019
  aria-describedby="${tt(this.helpText?Lt.HELPER_TEXT_ID:(s=this.dataAriaDescribedby)!=null?s:"")}"
5020
5020
  aria-invalid="${this.helpTextType==="error"?"true":"false"}"
@@ -5036,7 +5036,7 @@
5036
5036
  <div
5037
5037
  class="${Zi({"mdc-focus-ring":this.isInputFocused})}"
5038
5038
  part="input-container"
5039
- id="${Oh}"
5039
+ id="${Mh}"
5040
5040
  >
5041
5041
  ${this.renderLeadingIcon()}
5042
5042
  <div part="scrollable-container" tabindex="-1">
@@ -5053,8 +5053,8 @@
5053
5053
  ${this.renderTrailingButton(this.hasInputChips)}
5054
5054
  </div>
5055
5055
  <mdc-popover
5056
- triggerID="${Oh}"
5057
- id="${dd}"
5056
+ triggerID="${Mh}"
5057
+ id="${cd}"
5058
5058
  trigger="manual"
5059
5059
  interactive
5060
5060
  ?visible=${this.displayPopover}
@@ -5070,7 +5070,7 @@
5070
5070
  >
5071
5071
  <slot></slot>
5072
5072
  </mdc-popover>
5073
- `}};to.styles=[...Vs.styles,...cg],p([u({type:Boolean,reflect:!0,attribute:"display-popover"})],to.prototype,"displayPopover",2),p([u({type:String,reflect:!0})],to.prototype,"placement",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],to.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"popover-aria-label"})],to.prototype,"popoverAriaLabel",2);var Mh=to;Mh.register(hg);var Xx=Mh;var pg=z.constructTagName("select"),Ph={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},cd="select-base-triggerid",mg="select-listbox";var Zx=B`
5073
+ `}};to.styles=[...Vs.styles,...cg],p([u({type:Boolean,reflect:!0,attribute:"display-popover"})],to.prototype,"displayPopover",2),p([u({type:String,reflect:!0})],to.prototype,"placement",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],to.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"popover-aria-label"})],to.prototype,"popoverAriaLabel",2);var Ph=to;Ph.register(hg);var Xx=Ph;var pg=z.constructTagName("select"),Dh={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},hd="select-base-triggerid",mg="select-listbox";var Zx=U`
5074
5074
  :host {
5075
5075
  --mdc-select-background-color: var(--mds-color-theme-background-primary-ghost);
5076
5076
  --mdc-select-text-color: var(--mds-color-theme-text-secondary-normal);
@@ -5176,11 +5176,11 @@
5176
5176
  :host([soft-disabled])::part(base-text) {
5177
5177
  --mdc-select-text-color: var(--mds-color-theme-text-primary-disabled);
5178
5178
  }
5179
- `,ug=[Zx,...At(!0)];var Ze=class extends Os(Yi(ye(Ae(Ut(se))))){constructor(){super();this.placement=wt.BOTTOM_START;this.boundary=It.BOUNDARY;this.strategy=It.STRATEGY;this.popoverZIndex=It.Z_INDEX;this.displayPopover=!1;this.initialSelectedOption=null;this.itemsStore=new Ur(this,{isValidItem:this.isValidItem,onStoreUpdate:this.onStoreUpdate});this.addEventListener(Ht.MODIFIED,this.handleModifiedEvent)}connectedCallback(){super.connectedCallback(),this.loop="false",this.initialFocus=0}get navItems(){return this.itemsStore.items}attributeChangedCallback(t,r,s){var d;if(super.attributeChangedCallback(t,r,s),t==="value"&&s!==""&&s!==r&&s!==((d=this.selectedOption)==null?void 0:d.value)&&this.navItems.length){let m=this.getFirstSelectedOption(),b=this.getFirstOption(),x=this.navItems.find(U=>U.value===s),L=null;if(x)L=x;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(U=>{this.onerror&&this.onerror(U)})}}onStoreUpdate(t,r,s){switch(r){case"added":t.setAttribute("tabindex","-1");break;case"removed":{if(s===-1||t.tabIndex!==0)return;let d=s+1;if(d>=this.navItems.length&&(d=s-1),d===-1){this.displayPopover=!1,this.handleNativeInputFocus();return}this.resetTabIndexes(d);break}default:break}}isValidItem(t){return t.matches(`${mr}:not([disabled])`)}getFirstSelectedOption(){return this.navItems.find(t=>t.hasAttribute("selected"))}getFirstOption(){return this.navItems[0]}handleModifiedEvent(t){let r=t.target,s=this.getFirstSelectedOption();switch(t.detail.change){case"selected":{s?this.setSelectedOption(s):this.setSelectedOption(r);break}case"unselected":{s?this.setSelectedOption(s):this.setSelectedOption(this.placeholder?null:this.getFirstOption());break}case"enabled":{this.itemsStore.add(r);break}case"disabled":{this.itemsStore.delete(r);break}default:break}}async firstUpdated(t){await this.updateComplete;let r=this.getFirstSelectedOption();if(r)this.initialSelectedOption=r,this.setSelectedOption(r);else if(this.placeholder)this.placeholder&&this.setInputValidity();else{let s=this.getFirstOption();this.setSelectedOption(s),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 r=t.target;r&&r.tagName===mr.toUpperCase()&&!r.hasAttribute("disabled")&&!r.hasAttribute("soft-disabled")&&(this.setSelectedOption(r),this.displayPopover=!1,this.fireEvents())}setSelectedOption(t){var r,s,d;t!==this.selectedOption&&(this.updateSelectedInChildOptions(t),this.resetTabIndexes(this.navItems.indexOf(t)),this.selectedOption=t,this.value=(s=(r=this.selectedOption)==null?void 0:r.value)!=null?s:"",this.internals.setFormValue(this.value),(d=this.inputElement)==null||d.setAttribute("value",this.value),this.setInputValidity())}updateSelectedInChildOptions(t){t==null||t.setAttribute("selected","true"),this.navItems.forEach(r=>{r!==t&&r.removeAttribute("selected")})}fireEvents(){this.dispatchInput(this.selectedOption),this.dispatchChange(this.selectedOption)}setInputValidity(){var t,r;!this.selectedOption&&this.required&&this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(r=this.inputElement)==null||r.setCustomValidity(""),this.setValidity()}formResetCallback(){var r;let t=this.initialSelectedOption||null;((r=this.selectedOption)==null?void 0:r.value)!==(t==null?void 0:t.value)&&(this.setSelectedOption(t),this.fireEvents())}formStateRestoreCallback(t){var s;let r=this.navItems.find(d=>d.value===t||d.label===t);((s=this.selectedOption)==null?void 0:s.value)!==(r==null?void 0:r.value)&&(this.setSelectedOption(r||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,r,s,d,m,b;return _`
5179
+ `,ug=[Zx,...At(!0)];var Ze=class extends Rs(Yi(ye(Ae(Ut(se))))){constructor(){super();this.placement=wt.BOTTOM_START;this.boundary=It.BOUNDARY;this.strategy=It.STRATEGY;this.popoverZIndex=It.Z_INDEX;this.displayPopover=!1;this.initialSelectedOption=null;this.debounceTime=500;this.searchString="";this.onStoreUpdate=(t,r,s,d)=>{switch(r){case"added":t.setAttribute("tabindex","-1");break;case"removed":{if(s===-1||d.length===0)return;let m=s+1;if(m>=d.length&&(m=s-1),m===-1&&this.displayPopover){this.displayPopover=!1,this.handleNativeInputFocus();return}if(t.tabIndex===0&&this.resetTabIndexes(m),t.hasAttribute("selected")){let g=null;this.placeholder||(g=s===0?d[m]:d[0]),this.setSelectedOption(g)}break}default:break}};this.isValidItem=t=>t.matches(`${mr}:not([disabled])`);this.addEventListener(Ht.MODIFIED,this.handleModifiedEvent),this.itemsStore=new Ur(this,{isValidItem:this.isValidItem,onStoreUpdate:this.onStoreUpdate})}connectedCallback(){super.connectedCallback(),this.loop="false",this.initialFocus=0,this.setupDebounceSearch()}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.debounceSearch)==null||t.cancel(),window.cancelAnimationFrame(this.animationFrameId)}get navItems(){return this.itemsStore.items}attributeChangedCallback(t,r,s){var d;if(super.attributeChangedCallback(t,r,s),t==="value"&&s!==""&&s!==r&&s!==((d=this.selectedOption)==null?void 0:d.value)&&this.navItems.length){let m=this.getFirstSelectedOption(),g=this.getFirstOption(),x=this.navItems.find(B=>B.value===s),L=null;if(x)L=x;else if(this.placeholder)L=null;else if(g)L=g;else if(m)L=m;else return;this.updateComplete.then(()=>{this.setSelectedOption(L)}).catch(B=>{this.onerror&&this.onerror(B)})}}getFirstSelectedOption(){return this.navItems.find(t=>t.hasAttribute("selected"))}getFirstOption(){return this.navItems[0]}handleModifiedEvent(t){let r=t.target,s=this.getFirstSelectedOption();switch(t.detail.change){case"selected":{s?this.setSelectedOption(s):this.setSelectedOption(r);break}case"unselected":{s?this.setSelectedOption(s):this.setSelectedOption(this.placeholder?null:this.getFirstOption());break}case"enabled":{this.itemsStore.add(r);break}case"disabled":{this.itemsStore.delete(r);break}default:break}}async firstUpdated(t){await this.updateComplete;let r=this.getFirstSelectedOption();if(r)this.initialSelectedOption=r,this.setSelectedOption(r);else if(this.placeholder)this.placeholder&&this.setInputValidity();else{let s=this.getFirstOption();this.setSelectedOption(s),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 r=t.target;r&&r.tagName===mr.toUpperCase()&&!r.hasAttribute("disabled")&&!r.hasAttribute("soft-disabled")&&(this.setSelectedOption(r),this.displayPopover=!1,this.fireEvents())}setSelectedOption(t){var r,s,d;t!==this.selectedOption&&(this.updateSelectedInChildOptions(t),this.resetTabIndexes(this.navItems.indexOf(t)),this.selectedOption=t,this.value=(s=(r=this.selectedOption)==null?void 0:r.value)!=null?s:"",this.internals.setFormValue(this.value),(d=this.inputElement)==null||d.setAttribute("value",this.value),this.setInputValidity())}updateSelectedInChildOptions(t){t==null||t.setAttribute("selected","true"),this.navItems.forEach(r=>{r!==t&&r.removeAttribute("selected")})}fireEvents(){this.dispatchInput(this.selectedOption),this.dispatchChange(this.selectedOption)}setInputValidity(){var t,r;!this.selectedOption&&this.required&&this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(r=this.inputElement)==null||r.setCustomValidity(""),this.setValidity()}formResetCallback(){var r;let t=this.initialSelectedOption||null;((r=this.selectedOption)==null?void 0:r.value)!==(t==null?void 0:t.value)&&(this.setSelectedOption(t),this.fireEvents())}formStateRestoreCallback(t){var s;let r=this.navItems.find(d=>d.value===t||d.label===t);((s=this.selectedOption)==null?void 0:s.value)!==(r==null?void 0:r.value)&&(this.setSelectedOption(r||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())}setupDebounceSearch(){this.debounceSearch=Bl(()=>{this.searchString=""},this.debounceTime)}debounceSearchKey(t){var r;return(r=this.debounceSearch)==null||r.call(this),this.searchString+=t,this.searchString}filterOptionsBySearchKey(t,r){return t.filter(s=>{var d;return(d=s.getAttribute("label"))==null?void 0:d.toLowerCase().startsWith(r.toLowerCase())})}handleSelectedOptionBasedOnFilter(t){let r=this.navItems.findIndex(g=>g.tabIndex===0)+1,s=[...this.navItems.slice(r),...this.navItems.slice(0,r)],d=this.filterOptionsBySearchKey(s,t),m=null;if(d.length)[m]=d;else if(t.split("").every(g=>g===t[0])){let g=this.navItems[r],x=this.filterOptionsBySearchKey(s,t[0]),L=x.filter(B=>B===g);m=L.length?L[0]:x[0]}this.navItems.indexOf(m)!==-1&&this.resetTabIndexAndSetFocusAfterUpdate(this.navItems.indexOf(m))}handleKeydownCombobox(t){if(!(this.disabled||this.softDisabled||this.readonly)){switch(t.key){case Q.ARROW_DOWN:case Q.ARROW_UP:case Q.ENTER:case Q.SPACE:this.displayPopover=!0,t.stopPropagation();break;case Q.HOME:{this.displayPopover=!0,this.resetTabIndexAndSetFocusAfterUpdate(0);break}case Q.END:{this.displayPopover=!0,this.resetTabIndexAndSetFocusAfterUpdate(this.navItems.length-1);break}default:{t.key.length===1&&(this.displayPopover=!0,this.handleSelectedOptionByKeyInput(t.key));break}}t.preventDefault(),t.stopPropagation()}}resetTabIndexAndSetFocusAfterUpdate(t){this.displayPopover&&(this.animationFrameId=window.requestAnimationFrame(()=>{this.resetTabIndexAndSetFocus(t)}))}handleNativeInputFocus(){this.visualCombobox.focus()}handleSelectedOptionByKeyInput(t){let r=this.debounceSearchKey(t);this.handleSelectedOptionBasedOnFilter(r)}handleKeydownPopover(t){t.key.length===1&&this.handleSelectedOptionByKeyInput(t.key)}render(){var t,r,s,d,m,g;return _`
5180
5180
  ${this.renderLabel()}
5181
5181
  <div part="container">
5182
5182
  <div
5183
- id="${cd}"
5183
+ id="${hd}"
5184
5184
  part="base-container"
5185
5185
  @click="${this.handleClickCombobox}"
5186
5186
  @keydown="${this.handleKeydownCombobox}"
@@ -5208,13 +5208,13 @@
5208
5208
  type="${st.BODY_MIDSIZE_REGULAR}"
5209
5209
  tagname="${mt.SPAN}"
5210
5210
  >
5211
- ${(b=(m=this.selectedOption)==null?void 0:m.label)!=null?b:this.placeholder}
5211
+ ${(g=(m=this.selectedOption)==null?void 0:m.label)!=null?g:this.placeholder}
5212
5212
  </mdc-text>
5213
5213
  <div part="icon-container">
5214
5214
  <mdc-icon
5215
5215
  size="1"
5216
5216
  length-unit="rem"
5217
- name="${this.displayPopover?Ph.ARROW_UP:Ph.ARROW_DOWN}"
5217
+ name="${this.displayPopover?Dh.ARROW_UP:Dh.ARROW_DOWN}"
5218
5218
  ></mdc-icon>
5219
5219
  </div>
5220
5220
  </div>
@@ -5234,7 +5234,7 @@
5234
5234
  />
5235
5235
  <mdc-popover
5236
5236
  trigger="manual"
5237
- triggerid="${cd}"
5237
+ triggerid="${hd}"
5238
5238
  interactive
5239
5239
  ?visible="${this.displayPopover}"
5240
5240
  role=""
@@ -5245,6 +5245,7 @@
5245
5245
  focus-back-to-trigger
5246
5246
  focus-trap
5247
5247
  size
5248
+ @keydown="${this.handleKeydownPopover}"
5248
5249
  boundary="${tt(this.boundary)}"
5249
5250
  strategy="${tt(this.strategy)}"
5250
5251
  placement="${this.placement}"
@@ -5257,7 +5258,7 @@
5257
5258
  </mdc-popover>
5258
5259
  </div>
5259
5260
  ${this.renderHelperText()}
5260
- `}};Ze.styles=[...se.styles,...ug],p([u({type:String})],Ze.prototype,"placeholder",2),p([u({type:String,reflect:!0})],Ze.prototype,"placement",2),p([u({type:String,reflect:!0,attribute:"boundary"})],Ze.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"strategy"})],Ze.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],Ze.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],Ze.prototype,"backdropAppendTo",2),p([be(`[id="${cd}"]`)],Ze.prototype,"visualCombobox",2),p([vt()],Ze.prototype,"selectedOption",2),p([vt()],Ze.prototype,"displayPopover",2);var Dh=Ze;Dh.register(pg);var Qx=Dh;var Fh=class extends q{connectedCallback(){super.connectedCallback(),this.role=rt.LISTBOX}createRenderRoot(){return this}},$h=Fh;var hd=z.constructTagName("selectlistbox");$h.register(hd);var Jx=$h;Vo.register(ji);var tA=Vo;var fg=z.constructTagName("skeleton"),vg={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},gg={VARIANT:vg.RECTANGULAR};var eA=B`
5261
+ `}};Ze.styles=[...se.styles,...ug],p([u({type:String})],Ze.prototype,"placeholder",2),p([u({type:String,reflect:!0})],Ze.prototype,"placement",2),p([u({type:String,reflect:!0,attribute:"boundary"})],Ze.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"strategy"})],Ze.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],Ze.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],Ze.prototype,"backdropAppendTo",2),p([be(`[id="${hd}"]`)],Ze.prototype,"visualCombobox",2),p([vt()],Ze.prototype,"selectedOption",2),p([vt()],Ze.prototype,"displayPopover",2);var Fh=Ze;Fh.register(pg);var Qx=Fh;var $h=class extends q{connectedCallback(){super.connectedCallback(),this.role=rt.LISTBOX}createRenderRoot(){return this}},zh=$h;var pd=z.constructTagName("selectlistbox");zh.register(pd);var Jx=zh;Vo.register(ji);var tA=Vo;var fg=z.constructTagName("skeleton"),vg={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},gg={VARIANT:vg.RECTANGULAR};var eA=U`
5261
5262
  :host {
5262
5263
  --mdc-skeleton-background-color: var(--mds-color-theme-background-skeleton-normal);
5263
5264
  --mdc-skeleton-height: 100%;
@@ -5294,7 +5295,7 @@
5294
5295
  ::slotted(*) {
5295
5296
  visibility: hidden;
5296
5297
  }
5297
- `,bg=eA;var dn=class extends q{constructor(){super(...arguments);this.variant=gg.VARIANT}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}firstUpdated(t){super.firstUpdated(t),this.checkSlotContent()}checkSlotContent(){var r;let t=(r=this.shadowRoot)==null?void 0:r.querySelector("slot");t&&(t.assignedNodes().length>0?this.setAttribute("has-content",""):this.removeAttribute("has-content"))}render(){return _`<slot @slotchange=${this.checkSlotContent}></slot>`}};dn.styles=[...q.styles,bg],p([u({type:String,reflect:!0})],dn.prototype,"variant",2);var zh=dn;zh.register(fg);var rA=zh;var iA=[bt,B`
5298
+ `,bg=eA;var dn=class extends q{constructor(){super(...arguments);this.variant=gg.VARIANT}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}firstUpdated(t){super.firstUpdated(t),this.checkSlotContent()}checkSlotContent(){var r;let t=(r=this.shadowRoot)==null?void 0:r.querySelector("slot");t&&(t.assignedNodes().length>0?this.setAttribute("has-content",""):this.removeAttribute("has-content"))}render(){return _`<slot @slotchange=${this.checkSlotContent}></slot>`}};dn.styles=[...q.styles,bg],p([u({type:String,reflect:!0})],dn.prototype,"variant",2);var Vh=dn;Vh.register(fg);var rA=Vh;var iA=[bt,U`
5298
5299
  :host {
5299
5300
  --mdc-spinner-default-color: var(--mds-color-theme-control-active-normal);
5300
5301
  --mdc-spinner-inverted-color: var(--mds-color-theme-inverted-control-active-normal);
@@ -5358,11 +5359,11 @@
5358
5359
  stroke-dashoffset: -292;
5359
5360
  }
5360
5361
  }
5361
- `],yg=iA;var Eg=z.constructTagName("spinner"),oA={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},sA={STANDALONE:"standalone",BUTTON:"button"},pd={VARIANT:sA.STANDALONE,SIZE:oA.MIDSIZE,INVERTED:!1};var eo=class extends q{constructor(){super(...arguments);this.inverted=pd.INVERTED;this.size=pd.SIZE;this.ariaLabel=null;this.variant=pd.VARIANT}updated(t){super.updated(t),t.has("ariaLabel")&&(this.role=this.ariaLabel?rt.IMG:null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return _`
5362
+ `],yg=iA;var Eg=z.constructTagName("spinner"),oA={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},sA={STANDALONE:"standalone",BUTTON:"button"},md={VARIANT:sA.STANDALONE,SIZE:oA.MIDSIZE,INVERTED:!1};var eo=class extends q{constructor(){super(...arguments);this.inverted=md.INVERTED;this.size=md.SIZE;this.ariaLabel=null;this.variant=md.VARIANT}updated(t){super.updated(t),t.has("ariaLabel")&&(this.role=this.ariaLabel?rt.IMG:null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return _`
5362
5363
  <svg part="container" viewBox="0 0 100 100">
5363
5364
  <circle part="circle" cx="50" cy="50" r="46"></circle>
5364
5365
  </svg>
5365
- `}};eo.styles=[...q.styles,...yg],p([u({type:Boolean,reflect:!0})],eo.prototype,"inverted",2),p([u({type:String,reflect:!0})],eo.prototype,"size",2),p([u({type:String,attribute:"aria-label"})],eo.prototype,"ariaLabel",2),p([u({type:String,reflect:!0})],eo.prototype,"variant",2);var Vh=eo;Vh.register(Eg);var aA=Vh;za.register(Jf);var nA=za;var lA={COMPLETE:"complete",INCOMPLETE:"incomplete"},Bh={VERTICAL:"vertical",HORIZONTAL:"horizontal"},Uh={STATUS:lA.INCOMPLETE,ORIENTATION:Bh.HORIZONTAL},Tg=z.constructTagName("stepperconnector");var xg=z.constructTagName("stepperitem"),Hh={INLINE:"inline",STACKED:"stacked"},gi={COMPLETED:"completed",CURRENT:"current",ERROR_CURRENT:"error-current",ERROR_INCOMPLETE:"error-incomplete",NOT_STARTED:"not-started"},md={COMPLETED:"check-bold",ERROR:"error-legacy-badge-filled",PENCIL:"edit-bold"},Gh={VARIANT:Hh.INLINE,STATUS:gi.NOT_STARTED};var ud=z.constructTagName("stepper"),cn={ORIENTATION:Bh.HORIZONTAL,VARIANT:Hh.INLINE};var fd=class{constructor(o,t){this.orientation=o,this.variant=t}};fd.context=ud;var vd=fd;var dA=B`
5366
+ `}};eo.styles=[...q.styles,...yg],p([u({type:Boolean,reflect:!0})],eo.prototype,"inverted",2),p([u({type:String,reflect:!0})],eo.prototype,"size",2),p([u({type:String,attribute:"aria-label"})],eo.prototype,"ariaLabel",2),p([u({type:String,reflect:!0})],eo.prototype,"variant",2);var Bh=eo;Bh.register(Eg);var aA=Bh;za.register(Jf);var nA=za;var lA={COMPLETE:"complete",INCOMPLETE:"incomplete"},Uh={VERTICAL:"vertical",HORIZONTAL:"horizontal"},Hh={STATUS:lA.INCOMPLETE,ORIENTATION:Uh.HORIZONTAL},Tg=z.constructTagName("stepperconnector");var xg=z.constructTagName("stepperitem"),Gh={INLINE:"inline",STACKED:"stacked"},gi={COMPLETED:"completed",CURRENT:"current",ERROR_CURRENT:"error-current",ERROR_INCOMPLETE:"error-incomplete",NOT_STARTED:"not-started"},ud={COMPLETED:"check-bold",ERROR:"error-legacy-badge-filled",PENCIL:"edit-bold"},Yh={VARIANT:Gh.INLINE,STATUS:gi.NOT_STARTED};var fd=z.constructTagName("stepper"),cn={ORIENTATION:Uh.HORIZONTAL,VARIANT:Gh.INLINE};var vd=class{constructor(o,t){this.orientation=o,this.variant=t}};vd.context=fd;var gd=vd;var dA=U`
5366
5367
  :host {
5367
5368
  gap: 0.5rem;
5368
5369
  }
@@ -5399,7 +5400,7 @@
5399
5400
  padding-top: 0.9375rem;
5400
5401
  margin: 0 -3rem;
5401
5402
  }
5402
- `,Ag=[bt,dA];var Bs=class extends Fe{constructor(){super({context:vd.context,initialValue:new vd(cn.ORIENTATION,cn.VARIANT)});this.orientation=cn.ORIENTATION;this.variant=cn.VARIANT}connectedCallback(){super.connectedCallback(),this.role=rt.LIST}static get Context(){return vd.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 _` <slot></slot> `}};Bs.styles=[...q.styles,...Ag],p([u({type:String,reflect:!0})],Bs.prototype,"orientation",2),p([u({type:String,reflect:!0})],Bs.prototype,"variant",2);var Go=Bs;Go.register(ud);var cA=Go;var hA=B`
5403
+ `,Ag=[bt,dA];var Bs=class extends Fe{constructor(){super({context:gd.context,initialValue:new gd(cn.ORIENTATION,cn.VARIANT)});this.orientation=cn.ORIENTATION;this.variant=cn.VARIANT}connectedCallback(){super.connectedCallback(),this.role=rt.LIST}static get Context(){return gd.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 _` <slot></slot> `}};Bs.styles=[...q.styles,...Ag],p([u({type:String,reflect:!0})],Bs.prototype,"orientation",2),p([u({type:String,reflect:!0})],Bs.prototype,"variant",2);var Go=Bs;Go.register(fd);var cA=Go;var hA=U`
5403
5404
  :host {
5404
5405
  --mdc-stepperconnector-complete-background: var(--mds-color-theme-outline-theme-normal);
5405
5406
  --mdc-stepperconnector-incomplete-background: var(--mds-color-theme-outline-primary-normal);
@@ -5434,7 +5435,7 @@
5434
5435
  border-left: 1px solid var(--mdc-stepperconnector-complete-background);
5435
5436
  }
5436
5437
  }
5437
- `,Sg=[hA];var Us=class extends q{constructor(){super(...arguments);this.status=Uh.STATUS;this.orientation=Uh.ORIENTATION;this.stepperContext=$e.consume({host:this,context:Go.Context})}updated(t){var s;super.updated(t);let r=(s=this.stepperContext)==null?void 0:s.value;!r||!r.orientation||(this.orientation=r.orientation)}render(){return _` <div part="connector"></div> `}};Us.styles=[...q.styles,...Sg],p([u({type:String,reflect:!0})],Us.prototype,"status",2),p([u({type:String,reflect:!0})],Us.prototype,"orientation",2);var Yh=Us;Yh.register(Tg);var pA=Yh;var mA=B`
5438
+ `,Sg=[hA];var Us=class extends q{constructor(){super(...arguments);this.status=Hh.STATUS;this.orientation=Hh.ORIENTATION;this.stepperContext=$e.consume({host:this,context:Go.Context})}updated(t){var s;super.updated(t);let r=(s=this.stepperContext)==null?void 0:s.value;!r||!r.orientation||(this.orientation=r.orientation)}render(){return _` <div part="connector"></div> `}};Us.styles=[...q.styles,...Sg],p([u({type:String,reflect:!0})],Us.prototype,"status",2),p([u({type:String,reflect:!0})],Us.prototype,"orientation",2);var Wh=Us;Wh.register(Tg);var pA=Wh;var mA=U`
5438
5439
  :host {
5439
5440
  gap: 0.5rem;
5440
5441
  border-radius: 0.25rem;
@@ -5591,7 +5592,7 @@
5591
5592
  :host([status='error-incomplete']:active) {
5592
5593
  --mdc-stepperitem-help-text-color: var(--mds-color-theme-text-error-active);
5593
5594
  }
5594
- `,Ig=[bt,mA,...At()];var bi=class extends Or(q){constructor(){super();this.variant=Gh.VARIANT;this.status=Gh.STATUS;this.label="";this.stepperContext=$e.consume({host:this,context:Go.Context});this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this))}updated(t){var s;super.updated(t);let r=(s=this.stepperContext)==null?void 0:s.value;!r||!r.variant||(this.variant=r.variant)}connectedCallback(){super.connectedCallback(),this.role=rt.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===gi.COMPLETED?_`<mdc-icon part="status-icon" name=${md.COMPLETED} length-unit="rem" size="1"></mdc-icon>`:this.status===gi.ERROR_CURRENT||this.status===gi.CURRENT?_`<mdc-icon part="status-icon" name=${md.PENCIL} length-unit="rem" size="1"></mdc-icon>`:this.stepNumber&&(this.status===gi.NOT_STARTED||this.status===gi.ERROR_INCOMPLETE)?_`<mdc-text part="step-number" tagname=${mt.SPAN} type=${st.BODY_MIDSIZE_REGULAR}
5595
+ `,Ig=[bt,mA,...At()];var bi=class extends Rr(q){constructor(){super();this.variant=Yh.VARIANT;this.status=Yh.STATUS;this.label="";this.stepperContext=$e.consume({host:this,context:Go.Context});this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this))}updated(t){var s;super.updated(t);let r=(s=this.stepperContext)==null?void 0:s.value;!r||!r.variant||(this.variant=r.variant)}connectedCallback(){super.connectedCallback(),this.role=rt.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===gi.COMPLETED?_`<mdc-icon part="status-icon" name=${ud.COMPLETED} length-unit="rem" size="1"></mdc-icon>`:this.status===gi.ERROR_CURRENT||this.status===gi.CURRENT?_`<mdc-icon part="status-icon" name=${ud.PENCIL} length-unit="rem" size="1"></mdc-icon>`:this.stepNumber&&(this.status===gi.NOT_STARTED||this.status===gi.ERROR_INCOMPLETE)?_`<mdc-text part="step-number" tagname=${mt.SPAN} type=${st.BODY_MIDSIZE_REGULAR}
5595
5596
  >${this.stepNumber}</mdc-text
5596
5597
  >`:j}renderHelpText(){if(!this.helpText)return j;let t=_`<mdc-text
5597
5598
  part="help-text"
@@ -5599,7 +5600,7 @@
5599
5600
  type=${st.BODY_MIDSIZE_REGULAR}
5600
5601
  >${this.helpText}</mdc-text
5601
5602
  >`;return this.status===gi.ERROR_INCOMPLETE||this.status===gi.ERROR_CURRENT?_`<div part="help-text-container">
5602
- <mdc-icon part="help-icon" name=${md.ERROR} length-unit="rem" size="1"></mdc-icon>
5603
+ <mdc-icon part="help-icon" name=${ud.ERROR} length-unit="rem" size="1"></mdc-icon>
5603
5604
  ${t}
5604
5605
  </div>`:t}render(){return _` <div part="status-container">${this.renderStatusIcon()}</div>
5605
5606
  <div part="label-container">
@@ -5607,7 +5608,7 @@
5607
5608
  >${this.label}</mdc-text
5608
5609
  >`:j}
5609
5610
  ${this.renderHelpText()}
5610
- </div>`}};bi.styles=[...q.styles,...Ig],p([u({type:String,reflect:!0})],bi.prototype,"variant",2),p([u({type:String,reflect:!0})],bi.prototype,"status",2),p([u({type:String,reflect:!0})],bi.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"help-text"})],bi.prototype,"helpText",2),p([u({type:Number,reflect:!0,attribute:"step-number"})],bi.prototype,"stepNumber",2);var Wh=bi;Wh.register(xg);var uA=Wh;var _g=z.constructTagName("tab"),jh={GLASS:"glass",LINE:"line",PILL:"pill"},gd={VARIANT:jh.PILL,ACTIVE:!1};var fA=[bt,B`
5611
+ </div>`}};bi.styles=[...q.styles,...Ig],p([u({type:String,reflect:!0})],bi.prototype,"variant",2),p([u({type:String,reflect:!0})],bi.prototype,"status",2),p([u({type:String,reflect:!0})],bi.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"help-text"})],bi.prototype,"helpText",2),p([u({type:Number,reflect:!0,attribute:"step-number"})],bi.prototype,"stepNumber",2);var jh=bi;jh.register(xg);var uA=jh;var _g=z.constructTagName("tab"),Kh={GLASS:"glass",LINE:"line",PILL:"pill"},bd={VARIANT:Kh.PILL,ACTIVE:!1};var fA=[bt,U`
5611
5612
  :host {
5612
5613
  --mdc-tab-content-gap: 0.5rem;
5613
5614
  --mdc-tab-height: 2rem;
@@ -5857,7 +5858,7 @@
5857
5858
  background-color: var(--mdc-tab-pill-active-background-color-disabled);
5858
5859
  color: var(--mdc-tab-pill-active-color-disabled);
5859
5860
  }
5860
- `,...At()],Cg=fA;var ro=class extends Wt(ie){constructor(){super(...arguments);this.active=gd.ACTIVE;this.variant=gd.VARIANT;this.handleTabActiveChange=t=>{let r=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:t},bubbles:!0});this.dispatchEvent(r)}}connectedCallback(){super.connectedCallback(),this.role=rt.TAB,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=`${bo(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(t){this.setAttribute("variant",Object.values(jh).includes(t)?t:gd.VARIANT)}setActive(t,r){super.setActive(t,r),this.modifyIconName(r)}executeAction(){this.handleTabActiveChange(this.active)}update(t){super.update(t),t.has("variant")&&this.setVariant(this.variant)}render(){return _`
5861
+ `,...At()],Cg=fA;var ro=class extends Wt(ie){constructor(){super(...arguments);this.active=bd.ACTIVE;this.variant=bd.VARIANT;this.handleTabActiveChange=t=>{let r=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:t},bubbles:!0});this.dispatchEvent(r)}}connectedCallback(){super.connectedCallback(),this.role=rt.TAB,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=`${bo(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(t){this.setAttribute("variant",Object.values(Kh).includes(t)?t:bd.VARIANT)}setActive(t,r){super.setActive(t,r),this.modifyIconName(r)}executeAction(){this.handleTabActiveChange(this.active)}update(t){super.update(t),t.has("variant")&&this.setVariant(this.variant)}render(){return _`
5861
5862
  <div part="container">
5862
5863
  <slot name="prefix">
5863
5864
  ${this.iconName?_` <mdc-icon name="${this.iconName}" size="1" length-unit="rem" part="icon"></mdc-icon>`:j}
@@ -5873,7 +5874,7 @@
5873
5874
  <slot name="chip"></slot>
5874
5875
  </div>
5875
5876
  <div part="indicator"></div>
5876
- `}};ro.styles=[...ie.styles,...Cg],p([u({type:Boolean,reflect:!0})],ro.prototype,"active",2),p([u({type:String,reflect:!0})],ro.prototype,"text",2),p([u({type:String,reflect:!0})],ro.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"tab-id"})],ro.prototype,"tabId",2);var ur=ro;ur.register(_g);var vA=ur;var gA=[Ri,B`
5877
+ `}};ro.styles=[...ie.styles,...Cg],p([u({type:Boolean,reflect:!0})],ro.prototype,"active",2),p([u({type:String,reflect:!0})],ro.prototype,"text",2),p([u({type:String,reflect:!0})],ro.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"tab-id"})],ro.prototype,"tabId",2);var ur=ro;ur.register(_g);var vA=ur;var gA=[Oi,U`
5877
5878
  :host {
5878
5879
  --mdc-tablist-focus-ring-outer-width: var(--mdc-focus-ring-outer-width);
5879
5880
  --mdc-tablist-gap: 0.5rem;
@@ -5903,7 +5904,7 @@
5903
5904
  :host mdc-button[prefix-icon='arrow-right-regular'] {
5904
5905
  margin-left: var(--mdc-tablist-arrow-button-margin);
5905
5906
  }
5906
- `],kg=[...gA];var wg=z.constructTagName("tablist"),hn={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Hs={FORWARD:"forward",BACKWARD:"backward"};var bd=n=>n[0],Kh=n=>n[n.length-1],Ng=(n,o)=>{let t=n.findIndex(r=>o===r)-1;return n[(t+n.length)%n.length]},Lg=(n,o)=>{let t=n.findIndex(r=>o===r)+1;return n[t%n.length]},Rg=(n,o)=>n.find(t=>t.tabId===o),qh=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 s,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=(s=bd(this.tabs))==null?void 0:s.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,r;super.disconnectedCallback(),(t=this.tabsContainer)==null||t.removeEventListener("focusin",this.handleFocus),(r=this.tabsContainer)==null||r.removeEventListener("mousedown",this.handleMousedown)}async update(t){if(super.update(t),t.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let r=Rg(this.tabs,this.activeTabId);if(!(r instanceof ur))return;this.setActiveTab(r),t.get("activeTabId")?(this.fireTabChangeEvent(r),await this.focusTab(r)):this.resetTabIndexAndSetNewTabIndex(r)}}fireTabChangeEvent(t){let r=new CustomEvent("change",{detail:{tabId:t.tabId}});this.dispatchEvent(r)}async handleFocus(t){if(t.relatedTarget instanceof ur||!(t.target instanceof ur))return;let r=qh(this.tabs||[]);r instanceof ur&&await this.focusTab(r)}handleMousedown(t){t.target instanceof ur&&t.preventDefault()}async handleNestedTabActiveChange(t){t.stopPropagation();let r=t.target;r instanceof ur&&(this.setActiveTab(r),await this.focusTab(r),this.activeTabId=r.tabId)}resetTabIndexAndSetNewTabIndex(t){var r;(r=this.tabs)==null||r.forEach(s=>{s.setAttribute("tabindex",s===t?"0":"-1")})}setActiveTab(t){var r;(r=this.tabs)==null||r.forEach(s=>{s===t?s.setAttribute("active",""):s.removeAttribute("active")})}async focusTab(t){t instanceof ur&&(t!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(t),t.focus()),await this.handleArrowButtonVisibility())}async handleKeydown(t){let r=t.target;if(!(r instanceof ur)||!this.tabs)return;let s=Ng(this.tabs,r),d=Lg(this.tabs,r),m=bd(this.tabs),b=Kh(this.tabs);switch(t.code){case hn.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?d:s);break;case hn.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?s:d);break;case hn.HOME:await this.focusTab(m);break;case hn.END:await this.focusTab(b);break;default:}}shouldShowArrowButton(t){return t===Hs.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton}async switchFocus(){var t,r;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(t=qh(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((r=this.notFocusedArrowButton)==null||r.focus())}async handleArrowButtonVisibility(){var K,Z,X;if(!this.tabs||!this.tabsContainer)return;let t=!1;((K=this.shadowRoot)==null?void 0:K.activeElement)instanceof yo&&(t=!0);let r=bd(this.tabs),s=Kh(this.tabs),d=r.getBoundingClientRect().left,m=(Z=this.tabsContainer)==null?void 0:Z.getBoundingClientRect().left,b=s.getBoundingClientRect().right,x=(X=this.tabsContainer)==null?void 0:X.getBoundingClientRect().right,L=r.getBoundingClientRect().right,U=s.getBoundingClientRect().left;if(!this.isRtl()){d<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,b>x?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}L>x?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,U<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus()}async scrollTabs(t){var d;let r=this.isRtl()?-1:1,s=this.isRtl()?1:-1;(d=this.tabsContainer)==null||d.scrollBy({left:this.tabsContainer.clientWidth*(t===Hs.FORWARD?r:s),behavior:"instant"}),await this.handleArrowButtonVisibility()}render(){let t=this.isRtl()?"left":"right",r=this.isRtl()?"right":"left",s=d=>_` ${this.shouldShowArrowButton(d)?_`<mdc-button
5907
+ `],kg=[...gA];var wg=z.constructTagName("tablist"),hn={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Hs={FORWARD:"forward",BACKWARD:"backward"};var yd=n=>n[0],qh=n=>n[n.length-1],Ng=(n,o)=>{let t=n.findIndex(r=>o===r)-1;return n[(t+n.length)%n.length]},Lg=(n,o)=>{let t=n.findIndex(r=>o===r)+1;return n[t%n.length]},Og=(n,o)=>n.find(t=>t.tabId===o),Xh=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 s,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(g=>g.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=(s=yd(this.tabs))==null?void 0:s.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,r;super.disconnectedCallback(),(t=this.tabsContainer)==null||t.removeEventListener("focusin",this.handleFocus),(r=this.tabsContainer)==null||r.removeEventListener("mousedown",this.handleMousedown)}async update(t){if(super.update(t),t.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let r=Og(this.tabs,this.activeTabId);if(!(r instanceof ur))return;this.setActiveTab(r),t.get("activeTabId")?(this.fireTabChangeEvent(r),await this.focusTab(r)):this.resetTabIndexAndSetNewTabIndex(r)}}fireTabChangeEvent(t){let r=new CustomEvent("change",{detail:{tabId:t.tabId}});this.dispatchEvent(r)}async handleFocus(t){if(t.relatedTarget instanceof ur||!(t.target instanceof ur))return;let r=Xh(this.tabs||[]);r instanceof ur&&await this.focusTab(r)}handleMousedown(t){t.target instanceof ur&&t.preventDefault()}async handleNestedTabActiveChange(t){t.stopPropagation();let r=t.target;r instanceof ur&&(this.setActiveTab(r),await this.focusTab(r),this.activeTabId=r.tabId)}resetTabIndexAndSetNewTabIndex(t){var r;(r=this.tabs)==null||r.forEach(s=>{s.setAttribute("tabindex",s===t?"0":"-1")})}setActiveTab(t){var r;(r=this.tabs)==null||r.forEach(s=>{s===t?s.setAttribute("active",""):s.removeAttribute("active")})}async focusTab(t){t instanceof ur&&(t!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(t),t.focus()),await this.handleArrowButtonVisibility())}async handleKeydown(t){let r=t.target;if(!(r instanceof ur)||!this.tabs)return;let s=Ng(this.tabs,r),d=Lg(this.tabs,r),m=yd(this.tabs),g=qh(this.tabs);switch(t.code){case hn.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?d:s);break;case hn.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?s:d);break;case hn.HOME:await this.focusTab(m);break;case hn.END:await this.focusTab(g);break;default:}}shouldShowArrowButton(t){return t===Hs.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton}async switchFocus(){var t,r;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(t=Xh(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((r=this.notFocusedArrowButton)==null||r.focus())}async handleArrowButtonVisibility(){var K,Z,X;if(!this.tabs||!this.tabsContainer)return;let t=!1;((K=this.shadowRoot)==null?void 0:K.activeElement)instanceof yo&&(t=!0);let r=yd(this.tabs),s=qh(this.tabs),d=r.getBoundingClientRect().left,m=(Z=this.tabsContainer)==null?void 0:Z.getBoundingClientRect().left,g=s.getBoundingClientRect().right,x=(X=this.tabsContainer)==null?void 0:X.getBoundingClientRect().right,L=r.getBoundingClientRect().right,B=s.getBoundingClientRect().left;if(!this.isRtl()){d<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,g>x?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}L>x?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,B<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus()}async scrollTabs(t){var d;let r=this.isRtl()?-1:1,s=this.isRtl()?1:-1;(d=this.tabsContainer)==null||d.scrollBy({left:this.tabsContainer.clientWidth*(t===Hs.FORWARD?r:s),behavior:"instant"}),await this.handleArrowButtonVisibility()}render(){let t=this.isRtl()?"left":"right",r=this.isRtl()?"right":"left",s=d=>_` ${this.shouldShowArrowButton(d)?_`<mdc-button
5907
5908
  variant="tertiary"
5908
5909
  prefix-icon="arrow-${d===Hs.FORWARD?t:r}-regular"
5909
5910
  aria-label="Scroll tabs ${d===Hs.FORWARD?t:r}"
@@ -5912,7 +5913,7 @@
5912
5913
  <div part="container" role="${rt.TABLIST}" tabindex="-1" aria-label="${tt(this.dataAriaLabel)}">
5913
5914
  <slot></slot>
5914
5915
  </div>
5915
- ${s(Hs.FORWARD)}`}};_r.styles=[...q.styles,...kg],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([be('[part="container"]')],_r.prototype,"tabsContainer",2),p([be("mdc-button:not(:focus-visible)")],_r.prototype,"notFocusedArrowButton",2),p([Pt({selector:"mdc-tab"})],_r.prototype,"tabs",2),p([vt()],_r.prototype,"showForwardArrowButton",2),p([vt()],_r.prototype,"showBackwardArrowButton",2);var Xh=_r;Xh.register(wg);var bA=Xh;var Og=z.constructTagName("textarea"),Zh={HARD:"hard",SOFT:"soft"},Mg={OFF:"off",ON:"on"},yd={CHARACTER_COUNTER_TYPE:st.BODY_MIDSIZE_REGULAR,ROWS:5,COLS:40,WRAP:Zh.SOFT};var yA=[B`
5916
+ ${s(Hs.FORWARD)}`}};_r.styles=[...q.styles,...kg],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([be('[part="container"]')],_r.prototype,"tabsContainer",2),p([be("mdc-button:not(:focus-visible)")],_r.prototype,"notFocusedArrowButton",2),p([Pt({selector:"mdc-tab"})],_r.prototype,"tabs",2),p([vt()],_r.prototype,"showForwardArrowButton",2),p([vt()],_r.prototype,"showBackwardArrowButton",2);var Zh=_r;Zh.register(wg);var bA=Zh;var Rg=z.constructTagName("textarea"),Qh={HARD:"hard",SOFT:"soft"},Mg={OFF:"off",ON:"on"},Ed={CHARACTER_COUNTER_TYPE:st.BODY_MIDSIZE_REGULAR,ROWS:5,COLS:40,WRAP:Qh.SOFT};var yA=[U`
5916
5917
  :host {
5917
5918
  --mdc-textarea-text-color: var(--mds-color-theme-text-primary-normal);
5918
5919
  --mdc-textarea-border-color: var(--mds-color-theme-outline-input-normal);
@@ -6010,8 +6011,8 @@
6010
6011
  opacity: 0;
6011
6012
  pointer-events: none;
6012
6013
  }
6013
- `,...At(!0)],Pg=yA;var he=class extends ye(Ae(Ut(hr))){constructor(){super(...arguments);this.rows=yd.ROWS;this.cols=yd.COLS;this.wrap=Zh.SOFT;this.autocapitalize=Kl.OFF;this.autocomplete=Mg.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(r=>{this.onerror&&this.onerror(r)})}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===$t.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,r,s){super.attributeChangedCallback(t,r,s),["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),this.announceMaxLengthWarning()}announceMaxLengthWarning(){this.ariaLiveAnnouncer="",!(!this.maxCharacterLimit||this.value.length===0)&&(this.helpText&&this.value.length>this.maxCharacterLimit?this.updateComplete.then(()=>{this.ariaLiveAnnouncer=this.helpText}).catch(()=>{}):this.characterLimitAnnouncement&&this.value.length<=this.maxCharacterLimit&&(this.ariaLiveAnnouncer=this.characterLimitAnnouncement.replace("%{number-of-characters}",this.value.length.toString()).replace("%{max-character-limit}",this.maxCharacterLimit.toString())))}onChange(t){this.updateValue();let r=t.constructor;this.dispatchEvent(new r(t.type,t))}renderCharacterCounter(){return this.maxCharacterLimit?_`
6014
- <mdc-text part="character-counter" tagname="span" type=${yd.CHARACTER_COUNTER_TYPE}>
6014
+ `,...At(!0)],Pg=yA;var he=class extends ye(Ae(Ut(hr))){constructor(){super(...arguments);this.rows=Ed.ROWS;this.cols=Ed.COLS;this.wrap=Qh.SOFT;this.autocapitalize=ql.OFF;this.autocomplete=Mg.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(r=>{this.onerror&&this.onerror(r)})}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===$t.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,r,s){super.attributeChangedCallback(t,r,s),["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),this.announceMaxLengthWarning()}announceMaxLengthWarning(){this.ariaLiveAnnouncer="",!(!this.maxCharacterLimit||this.value.length===0)&&(this.helpText&&this.value.length>this.maxCharacterLimit?this.updateComplete.then(()=>{this.ariaLiveAnnouncer=this.helpText}).catch(()=>{}):this.characterLimitAnnouncement&&this.value.length<=this.maxCharacterLimit&&(this.ariaLiveAnnouncer=this.characterLimitAnnouncement.replace("%{number-of-characters}",this.value.length.toString()).replace("%{max-character-limit}",this.maxCharacterLimit.toString())))}onChange(t){this.updateValue();let r=t.constructor;this.dispatchEvent(new r(t.type,t))}renderCharacterCounter(){return this.maxCharacterLimit?_`
6015
+ <mdc-text part="character-counter" tagname="span" type=${Ed.CHARACTER_COUNTER_TYPE}>
6015
6016
  ${this.value.length}/${this.maxCharacterLimit}
6016
6017
  </mdc-text>
6017
6018
  `:j}renderTextareaFooter(){return!this.helpText&&!this.maxCharacterLimit?j:_` <div part="textarea-footer">${this.renderHelperText()} ${this.renderCharacterCounter()}</div> `}render(){var t;return _`
@@ -6047,7 +6048,7 @@
6047
6048
  ></mdc-screenreaderannouncer>
6048
6049
  </div>
6049
6050
  ${this.renderTextareaFooter()}
6050
- `}};he.styles=[...hr.styles,...Pg],p([u({type:String})],he.prototype,"placeholder",2),p([u({type:Number})],he.prototype,"rows",2),p([u({type:Number})],he.prototype,"cols",2),p([u({type:String})],he.prototype,"wrap",2),p([u({type:String})],he.prototype,"autocapitalize",2),p([u({type:String})],he.prototype,"autocomplete",2),p([u({type:String})],he.prototype,"dirname",2),p([u({type:Number})],he.prototype,"maxlength",2),p([u({type:Number})],he.prototype,"minlength",2),p([u({type:Number,attribute:"max-character-limit"})],he.prototype,"maxCharacterLimit",2),p([u({type:String,attribute:"character-limit-announcement"})],he.prototype,"characterLimitAnnouncement",2),p([be("textarea")],he.prototype,"inputElement",2),p([vt()],he.prototype,"ariaLiveAnnouncer",2);var Qh=he;Qh.register(Og);var EA=Qh;var TA=[B`
6051
+ `}};he.styles=[...hr.styles,...Pg],p([u({type:String})],he.prototype,"placeholder",2),p([u({type:Number})],he.prototype,"rows",2),p([u({type:Number})],he.prototype,"cols",2),p([u({type:String})],he.prototype,"wrap",2),p([u({type:String})],he.prototype,"autocapitalize",2),p([u({type:String})],he.prototype,"autocomplete",2),p([u({type:String})],he.prototype,"dirname",2),p([u({type:Number})],he.prototype,"maxlength",2),p([u({type:Number})],he.prototype,"minlength",2),p([u({type:Number,attribute:"max-character-limit"})],he.prototype,"maxCharacterLimit",2),p([u({type:String,attribute:"character-limit-announcement"})],he.prototype,"characterLimitAnnouncement",2),p([be("textarea")],he.prototype,"inputElement",2),p([vt()],he.prototype,"ariaLiveAnnouncer",2);var Jh=he;Jh.register(Rg);var EA=Jh;var TA=[U`
6051
6052
  :host {
6052
6053
  display: block;
6053
6054
  position: relative;
@@ -6072,7 +6073,7 @@
6072
6073
  >
6073
6074
  <slot @slotchange=${this.handleSlotChange} part="${Yr.CSS_PART_HIDDEN}"></slot>
6074
6075
  </div>
6075
- `}};Cr.styles=[...q.styles,...Dg],p([u({attribute:"type",reflect:!0,type:String})],Cr.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],Cr.prototype,"tagname",2),p([u({attribute:"speed",reflect:!0})],Cr.prototype,"speed",2),p([u({attribute:"max-queue-size",type:Number,reflect:!0})],Cr.prototype,"maxQueueSize",2),p([vt()],Cr.prototype,"displayedText",2),p([vt()],Cr.prototype,"originalText",2),p([vt()],Cr.prototype,"typingComplete",2);var Jh=Cr;Jh.register(Fg);var xA=Jh;var Ed=z.constructTagName("themeprovider"),tp={THEMECLASS:"mds-theme-stable-darkWebex"};var Td=class{constructor(o){this.themeclass=o}};Td.context=Ed;var xd=Td;var AA=B`
6076
+ `}};Cr.styles=[...q.styles,...Dg],p([u({attribute:"type",reflect:!0,type:String})],Cr.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],Cr.prototype,"tagname",2),p([u({attribute:"speed",reflect:!0})],Cr.prototype,"speed",2),p([u({attribute:"max-queue-size",type:Number,reflect:!0})],Cr.prototype,"maxQueueSize",2),p([vt()],Cr.prototype,"displayedText",2),p([vt()],Cr.prototype,"originalText",2),p([vt()],Cr.prototype,"typingComplete",2);var tp=Cr;tp.register(Fg);var xA=tp;var Td=z.constructTagName("themeprovider"),ep={THEMECLASS:"mds-theme-stable-darkWebex"};var xd=class{constructor(o){this.themeclass=o}};xd.context=Td;var Ad=xd;var AA=U`
6076
6077
  :host {
6077
6078
  --mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
6078
6079
  --mdc-themeprovider-font-family: var(--mds-font-family-primary);
@@ -6099,7 +6100,7 @@
6099
6100
  * {
6100
6101
  scrollbar-color: var(--mdc-themeprovider-scrollbar-thumb-color) var(--mdc-themeprovider-scrollbar-track-color);
6101
6102
  }
6102
- `,$g=[AA];var Gs=class extends Fe{constructor(){super({context:xd.context,initialValue:new xd(tp.THEMECLASS)});this.themeclass=tp.THEMECLASS}static get Context(){return xd.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(" "))}};Gs.styles=[...Fe.styles,...$g],p([vt()],Gs.prototype,"currentThemeClass",2),p([u({type:String})],Gs.prototype,"themeclass",2);var ep=Gs;ep.register(Ed);var SA=ep;var zg=z.constructTagName("toast"),pn={CUSTOM:"custom",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Ad={SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},He={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:sr[20],BUTTON:ei,PRIMARY_BUTTON:Ft.PRIMARY,SECONDARY_BUTTON:Ft.SECONDARY,TERTIARY_BUTTON:Ft.TERTIARY,VARIANT:pn.CUSTOM};var Vg=n=>{switch(n){case pn.SUCCESS:return Ad.SUCCESS_ICON_NAME;case pn.WARNING:return Ad.WARNING_ICON_NAME;case pn.ERROR:return Ad.ERROR_ICON_NAME;default:return null}};var IA=B`
6103
+ `,$g=[AA];var Gs=class extends Fe{constructor(){super({context:Ad.context,initialValue:new Ad(ep.THEMECLASS)});this.themeclass=ep.THEMECLASS}static get Context(){return Ad.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(" "))}};Gs.styles=[...Fe.styles,...$g],p([vt()],Gs.prototype,"currentThemeClass",2),p([u({type:String})],Gs.prototype,"themeclass",2);var rp=Gs;rp.register(Td);var SA=rp;var zg=z.constructTagName("toast"),pn={CUSTOM:"custom",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Sd={SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},He={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:sr[20],BUTTON:ei,PRIMARY_BUTTON:Ft.PRIMARY,SECONDARY_BUTTON:Ft.SECONDARY,TERTIARY_BUTTON:Ft.TERTIARY,VARIANT:pn.CUSTOM};var Vg=n=>{switch(n){case pn.SUCCESS:return Sd.SUCCESS_ICON_NAME;case pn.WARNING:return Sd.WARNING_ICON_NAME;case pn.ERROR:return Sd.ERROR_ICON_NAME;default:return null}};var IA=U`
6103
6104
  :host {
6104
6105
  --mdc-toast-background-color: var(--mds-color-theme-background-solid-primary-normal);
6105
6106
  --mdc-toast-border-color: var(--mds-color-theme-outline-primary-normal);
@@ -6231,7 +6232,7 @@
6231
6232
  ></mdc-button>
6232
6233
  </div>
6233
6234
  ${this.renderFooter()}
6234
- `}};we.styles=[...q.styles,...Bg],p([u({type:String,reflect:!0})],we.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],we.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],we.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],we.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],we.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"show-more-text"})],we.prototype,"showMoreText",2),p([u({type:String,reflect:!0,attribute:"show-less-text"})],we.prototype,"showLessText",2),p([vt()],we.prototype,"isDetailVisible",2),p([vt()],we.prototype,"hasDetailedSlot",2),p([Pt({slot:"toast-body-detailed",flatten:!0})],we.prototype,"detailedElements",2),p([vt()],we.prototype,"hasFooterButtons",2);var rp=we;rp.register(zg);var _A=rp;var CA=[bt,B`
6235
+ `}};we.styles=[...q.styles,...Bg],p([u({type:String,reflect:!0})],we.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],we.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],we.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],we.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],we.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"show-more-text"})],we.prototype,"showMoreText",2),p([u({type:String,reflect:!0,attribute:"show-less-text"})],we.prototype,"showLessText",2),p([vt()],we.prototype,"isDetailVisible",2),p([vt()],we.prototype,"hasDetailedSlot",2),p([Pt({slot:"toast-body-detailed",flatten:!0})],we.prototype,"detailedElements",2),p([vt()],we.prototype,"hasFooterButtons",2);var ip=we;ip.register(zg);var _A=ip;var CA=[bt,U`
6235
6236
  /* Grid layout for labeled toggles */
6236
6237
  :host([label]),
6237
6238
  :host([help-text]) {
@@ -6300,7 +6301,7 @@
6300
6301
  :host([soft-disabled]) {
6301
6302
  pointer-events: none;
6302
6303
  }
6303
- `,...At(!0)],Ug=CA;var Ys=class extends ye(Ae(Ut(hr))){constructor(){super(...arguments);this.checked=!1;this.size=fh.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.softDisabled&&!this.readonly&&(this.checked=!this.checked)}handleKeyDown(t){var r;(this.readonly||this.softDisabled)&&t.key===Q.SPACE&&t.preventDefault(),t.key===Q.ENTER&&((r=this.form)==null||r.requestSubmit())}handleChange(t){this.toggleState();let r=t.constructor;this.dispatchEvent(new r(t.type,t))}setToggleSize(t){this.setAttribute("size",Object.values(Ja).includes(t)?t:fh.SIZE)}update(t){super.update(t),t.has("checked")&&this.setFormValue(),t.has("size")&&this.setToggleSize(this.size)}render(){var t;return _`
6304
+ `,...At(!0)],Ug=CA;var Ys=class extends ye(Ae(Ut(hr))){constructor(){super(...arguments);this.checked=!1;this.size=vh.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.softDisabled&&!this.readonly&&(this.checked=!this.checked)}handleKeyDown(t){var r;(this.readonly||this.softDisabled)&&t.key===Q.SPACE&&t.preventDefault(),t.key===Q.ENTER&&((r=this.form)==null||r.requestSubmit())}handleChange(t){this.toggleState();let r=t.constructor;this.dispatchEvent(new r(t.type,t))}setToggleSize(t){this.setAttribute("size",Object.values(Ja).includes(t)?t:vh.SIZE)}update(t){super.update(t),t.has("checked")&&this.setFormValue(),t.has("size")&&this.setToggleSize(this.size)}render(){var t;return _`
6304
6305
  <mdc-statictoggle
6305
6306
  ?checked="${this.checked}"
6306
6307
  ?disabled="${this.disabled}"
@@ -6330,10 +6331,10 @@
6330
6331
  />
6331
6332
  </mdc-statictoggle>
6332
6333
  ${this.renderLabel()} ${this.renderHelperText()}
6333
- `}};Ys.styles=[...hr.styles,...Ug],p([u({type:Boolean,reflect:!0})],Ys.prototype,"checked",2),p([u({type:String,reflect:!0})],Ys.prototype,"size",2);var ip=Ys;ip.register(Fv);var kA=ip;function Wo(n,o,t){var m;let r=(m=t.initialDeps)!=null?m:[],s;function d(){var b,x,L,U;let K;t.key&&((b=t.debug)!=null&&b.call(t))&&(K=Date.now());let Z=n();if(!(Z.length!==r.length||Z.some((dt,lt)=>r[lt]!==dt)))return s;r=Z;let it;if(t.key&&((x=t.debug)!=null&&x.call(t))&&(it=Date.now()),s=o(...Z),t.key&&((L=t.debug)!=null&&L.call(t))){let dt=Math.round((Date.now()-K)*100)/100,lt=Math.round((Date.now()-it)*100)/100,gt=lt/16,St=(Ct,Gt)=>{for(Ct=String(Ct);Ct.length<Gt;)Ct=" "+Ct;return Ct};console.info(`%c\u23F1 ${St(lt,5)} /${St(dt,5)} ms`,`
6334
+ `}};Ys.styles=[...hr.styles,...Ug],p([u({type:Boolean,reflect:!0})],Ys.prototype,"checked",2),p([u({type:String,reflect:!0})],Ys.prototype,"size",2);var op=Ys;op.register(Fv);var kA=op;function Wo(n,o,t){var m;let r=(m=t.initialDeps)!=null?m:[],s;function d(){var g,x,L,B;let K;t.key&&((g=t.debug)!=null&&g.call(t))&&(K=Date.now());let Z=n();if(!(Z.length!==r.length||Z.some((dt,lt)=>r[lt]!==dt)))return s;r=Z;let it;if(t.key&&((x=t.debug)!=null&&x.call(t))&&(it=Date.now()),s=o(...Z),t.key&&((L=t.debug)!=null&&L.call(t))){let dt=Math.round((Date.now()-K)*100)/100,lt=Math.round((Date.now()-it)*100)/100,gt=lt/16,St=(Ct,Gt)=>{for(Ct=String(Ct);Ct.length<Gt;)Ct=" "+Ct;return Ct};console.info(`%c\u23F1 ${St(lt,5)} /${St(dt,5)} ms`,`
6334
6335
  font-size: .6rem;
6335
6336
  font-weight: bold;
6336
- color: hsl(${Math.max(0,Math.min(120-120*gt,120))}deg 100% 31%);`,t==null?void 0:t.key)}return(U=t==null?void 0:t.onChange)==null||U.call(t,s),s}return d.updateDeps=b=>{r=b},d}function op(n,o){if(n===void 0)throw new Error(`Unexpected undefined${o?`: ${o}`:""}`);return n}var Hg=(n,o)=>Math.abs(n-o)<1.01,Gg=(n,o,t)=>{let r;return function(...s){n.clearTimeout(r),r=n.setTimeout(()=>o.apply(this,s),t)}};var Yg=n=>{let{offsetWidth:o,offsetHeight:t}=n;return{width:o,height:t}},wA=n=>n,sp=n=>{let o=Math.max(n.startIndex-n.overscan,0),t=Math.min(n.endIndex+n.overscan,n.count-1),r=[];for(let s=o;s<=t;s++)r.push(s);return r},Kg=(n,o)=>{let t=n.scrollElement;if(!t)return;let r=n.targetWindow;if(!r)return;let s=m=>{let{width:b,height:x}=m;o({width:Math.round(b),height:Math.round(x)})};if(s(Yg(t)),!r.ResizeObserver)return()=>{};let d=new r.ResizeObserver(m=>{let b=()=>{let x=m[0];if(x!=null&&x.borderBoxSize){let L=x.borderBoxSize[0];if(L){s({width:L.inlineSize,height:L.blockSize});return}}s(Yg(t))};n.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(b):b()});return d.observe(t,{box:"border-box"}),()=>{d.unobserve(t)}},Wg={passive:!0};var jg=typeof window>"u"?!0:"onscrollend"in window,qg=(n,o)=>{let t=n.scrollElement;if(!t)return;let r=n.targetWindow;if(!r)return;let s=0,d=n.options.useScrollendEvent&&jg?()=>{}:Gg(r,()=>{o(s,!1)},n.options.isScrollingResetDelay),m=U=>()=>{let{horizontal:K,isRtl:Z}=n.options;s=K?t.scrollLeft*(Z&&-1||1):t.scrollTop,d(),o(s,U)},b=m(!0),x=m(!1);x(),t.addEventListener("scroll",b,Wg);let L=n.options.useScrollendEvent&&jg;return L&&t.addEventListener("scrollend",x,Wg),()=>{t.removeEventListener("scroll",b),L&&t.removeEventListener("scrollend",x)}};var NA=(n,o,t)=>{if(o!=null&&o.borderBoxSize){let r=o.borderBoxSize[0];if(r)return Math.round(r[t.options.horizontal?"inlineSize":"blockSize"])}return n[t.options.horizontal?"offsetWidth":"offsetHeight"]};var Xg=(n,{adjustments:o=0,behavior:t},r)=>{var s,d;let m=n+o;(d=(s=r.scrollElement)==null?void 0:s.scrollTo)==null||d.call(s,{[r.options.horizontal?"left":"top"]:m,behavior:t})},Sd=class{constructor(o){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,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,r=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(s=>{s.forEach(d=>{let m=()=>{this._measureElement(d.target,d)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(m):m()})}));return{disconnect:()=>{var s;(s=r())==null||s.disconnect(),t=null},observe:s=>{var d;return(d=r())==null?void 0:d.observe(s,{box:"border-box"})},unobserve:s=>{var d;return(d=r())==null?void 0:d.unobserve(s)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([r,s])=>{typeof s>"u"&&delete t[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:wA,rangeExtractor:sp,onChange:()=>{},measureElement:NA,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...t}},this.notify=t=>{var r,s;(s=(r=this.options).onChange)==null||s.call(r,this,t)},this.maybeNotify=Wo(()=>(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 s;var t;let r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(s=(t=this.scrollElement)==null?void 0:t.window)!=null?s: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,r)=>{let s=new Map,d=new Map;for(let m=r-1;m>=0;m--){let b=t[m];if(s.has(b.lane))continue;let x=d.get(b.lane);if(x==null||b.end>x.end?d.set(b.lane,b):b.end<x.end&&s.set(b.lane,!0),s.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=Wo(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,r,s,d,m)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:r,scrollMargin:s,getItemKey:d,enabled:m}),{key:!1}),this.getMeasurements=Wo(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:r,scrollMargin:s,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(U=>{this.itemSizeCache.set(U.key,U.size)}));let x=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let L=this.measurementsCache.slice(0,x);for(let U=x;U<t;U++){let K=d(U),Z=this.options.lanes===1?L[U-1]:this.getFurthestMeasurement(L,U),X=Z?Z.end+this.options.gap:r+s,it=b.get(K),dt=typeof it=="number"?it:this.options.estimateSize(U),lt=X+dt,gt=Z?Z.lane:U%this.options.lanes;L[U]={index:U,start:X,size:dt,end:lt,key:K,lane:gt}}return this.measurementsCache=L,L},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Wo(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(t,r,s,d)=>this.range=t.length>0&&r>0?LA({measurements:t,outerSize:r,scrollOffset:s,lanes:d}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=Wo(()=>{let t=null,r=null,s=this.calculateRange();return s&&(t=s.startIndex,r=s.endIndex),this.maybeNotify.updateDeps([this.isScrolling,t,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,r]},(t,r,s,d,m)=>d===null||m===null?[]:t({startIndex:d,endIndex:m,overscan:r,count:s}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let r=this.options.indexAttribute,s=t.getAttribute(r);return s?parseInt(s,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(t,r)=>{let s=this.indexFromElement(t),d=this.measurementsCache[s];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(s,this.options.measureElement(t,r,this))},this.resizeItem=(t,r)=>{var b;let s=this.measurementsCache[t];if(!s)return;let d=(b=this.itemSizeCache.get(s.key))!=null?b:s.size,m=r-d;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(s,m,this):s.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(s.index),this.itemSizeCache=new Map(this.itemSizeCache.set(s.key,r)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((r,s)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(s))});return}this._measureElement(t,void 0)},this.getVirtualItems=Wo(()=>[this.getVirtualIndexes(),this.getMeasurements()],(t,r)=>{let s=[];for(let d=0,m=t.length;d<m;d++){let b=t[d],x=r[b];s.push(x)}return s},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let r=this.getMeasurements();if(r.length!==0)return op(r[Zg(0,r.length-1,s=>op(r[s]).start,t)])},this.getOffsetForAlignment=(t,r,s=0)=>{let d=this.getSize(),m=this.getScrollOffset();r==="auto"&&(r=t>=m+d?"end":"start"),r==="center"?t+=(s-d)/2:r==="end"&&(t-=d);let b=this.getTotalSize()+this.options.scrollMargin-d;return Math.max(Math.min(b,t),0)},this.getOffsetForIndex=(t,r="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));let s=this.measurementsCache[t];if(!s)return;let d=this.getSize(),m=this.getScrollOffset();if(r==="auto")if(s.end>=m+d-this.options.scrollPaddingEnd)r="end";else if(s.start<=m+this.options.scrollPaddingStart)r="start";else return[m,r];let b=r==="end"?s.end+this.options.scrollPaddingEnd:s.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(b,r,s.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(t,{align:r="start",behavior:s}={})=>{s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,r),{adjustments:void 0,behavior:s})},this.scrollToIndex=(t,{align:r="auto",behavior:s}={})=>{s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),t=Math.max(0,Math.min(t,this.options.count-1));let d=0,m=10,b=L=>{if(!this.targetWindow)return;let U=this.getOffsetForIndex(t,L);if(!U){console.warn("Failed to get offset for index:",t);return}let[K,Z]=U;this._scrollToOffset(K,{adjustments:void 0,behavior:s}),this.targetWindow.requestAnimationFrame(()=>{let X=this.getScrollOffset(),it=this.getOffsetForIndex(t,Z);if(!it){console.warn("Failed to get offset for index:",t);return}Hg(it[0],X)||x(Z)})},x=L=>{this.targetWindow&&(d++,d<m?this.targetWindow.requestAnimationFrame(()=>b(L)):console.warn(`Failed to scroll to index ${t} after ${m} attempts.`))};b(r)},this.scrollBy=(t,{behavior:r}={})=>{r==="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:r})},this.getTotalSize=()=>{var d;var t;let r=this.getMeasurements(),s;if(r.length===0)s=this.options.paddingStart;else if(this.options.lanes===1)s=(d=(t=r[r.length-1])==null?void 0:t.end)!=null?d:0;else{let m=Array(this.options.lanes).fill(null),b=r.length-1;for(;b>=0&&m.some(x=>x===null);){let x=r[b];m[x.lane]===null&&(m[x.lane]=x.end),b--}s=Math.max(...m.filter(x=>x!==null))}return Math.max(s-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:r,behavior:s})=>{this.options.scrollToFn(t,{behavior:s,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(o)}},Zg=(n,o,t,r)=>{for(;n<=o;){let s=(n+o)/2|0,d=t(s);if(d<r)n=s+1;else if(d>r)o=s-1;else return s}return n>0?n-1:0};function LA({measurements:n,outerSize:o,scrollOffset:t,lanes:r}){let s=n.length-1,d=x=>n[x].start;if(n.length<=r)return{startIndex:0,endIndex:s};let m=Zg(0,s,d,t),b=m;if(r===1)for(;b<s&&n[b].end<t+o;)b++;else if(r>1){let x=Array(r).fill(0);for(;b<s&&x.some(U=>U<t+o);){let U=n[b];x[U.lane]=U.end,b++}let L=Array(r).fill(t+o);for(;m>=0&&L.some(U=>U>=t);){let U=n[m];L[U.lane]=U.start,m--}m=Math.max(0,m-m%r),b=Math.min(s,b+(r-1-b%r))}return{startIndex:m,endIndex:b}}var ap=class{constructor(o,t){this.cleanup=()=>{},(this.host=o).addController(this);let r={...t,onChange:(s,d)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=t.onChange)==null||m.call(t,s,d)}};this.virtualizer=new Sd(r)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},Id=class extends ap{constructor(o,t){super(o,{observeElementRect:Kg,observeElementOffset:qg,scrollToFn:Xg,...t})}};var RA={includeEnd:!1},_d=class{constructor(o,t,r={}){let s={...RA,...r};this.start=o,this.end=t,this.includeEnd=s.includeEnd}includes(o){let{start:t,end:r,includeEnd:s}=this,d=Math.min(t,r),m=Math.max(t,r);return s?o>=d&&o<=m:o>=d&&o<m}iter(o=1){if(o<=0)throw new Error("Step must be a positive non-zero number");let t=o*(this.start<=this.end?1:-1),{includeEnd:r,end:s}=this,d=this.start,m=!1;return{next:()=>{if(m)return{value:void 0,done:!0};let b=d;return d+=t,(r?b>s:b>=s)?(m=!0,{value:void 0,done:!0}):{value:b,done:!1}}}}[Symbol.iterator](){return this.iter()}};var Cd=class{constructor(o,t,r){this.getIndex=()=>0;this.items=o,this.getIndex=t,this.lengthFn=r}get length(){return this.lengthFn()}at(o){return this.items.find(t=>this.getIndex(t)===o)}map(o,t){return this.items.map((r,s,d)=>o.call(t,r,this.getIndex(r),d))}forEach(o,t){this.items.forEach((r,s,d)=>{o.call(t,r,this.getIndex(r),d)})}findIndex(o,t){let r=this.items.find((s,d,m)=>o.call(t,s,this.getIndex(s),m));return r?this.getIndex(r):-1}find(o,t){return this.items.find((r,s,d)=>o.call(t,r,this.getIndex(r),d))}};var OA=[B`
6337
+ color: hsl(${Math.max(0,Math.min(120-120*gt,120))}deg 100% 31%);`,t==null?void 0:t.key)}return(B=t==null?void 0:t.onChange)==null||B.call(t,s),s}return d.updateDeps=g=>{r=g},d}function sp(n,o){if(n===void 0)throw new Error(`Unexpected undefined${o?`: ${o}`:""}`);return n}var Hg=(n,o)=>Math.abs(n-o)<1.01,Gg=(n,o,t)=>{let r;return function(...s){n.clearTimeout(r),r=n.setTimeout(()=>o.apply(this,s),t)}};var Yg=n=>{let{offsetWidth:o,offsetHeight:t}=n;return{width:o,height:t}},wA=n=>n,ap=n=>{let o=Math.max(n.startIndex-n.overscan,0),t=Math.min(n.endIndex+n.overscan,n.count-1),r=[];for(let s=o;s<=t;s++)r.push(s);return r},Kg=(n,o)=>{let t=n.scrollElement;if(!t)return;let r=n.targetWindow;if(!r)return;let s=m=>{let{width:g,height:x}=m;o({width:Math.round(g),height:Math.round(x)})};if(s(Yg(t)),!r.ResizeObserver)return()=>{};let d=new r.ResizeObserver(m=>{let g=()=>{let x=m[0];if(x!=null&&x.borderBoxSize){let L=x.borderBoxSize[0];if(L){s({width:L.inlineSize,height:L.blockSize});return}}s(Yg(t))};n.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(g):g()});return d.observe(t,{box:"border-box"}),()=>{d.unobserve(t)}},Wg={passive:!0};var jg=typeof window>"u"?!0:"onscrollend"in window,qg=(n,o)=>{let t=n.scrollElement;if(!t)return;let r=n.targetWindow;if(!r)return;let s=0,d=n.options.useScrollendEvent&&jg?()=>{}:Gg(r,()=>{o(s,!1)},n.options.isScrollingResetDelay),m=B=>()=>{let{horizontal:K,isRtl:Z}=n.options;s=K?t.scrollLeft*(Z&&-1||1):t.scrollTop,d(),o(s,B)},g=m(!0),x=m(!1);x(),t.addEventListener("scroll",g,Wg);let L=n.options.useScrollendEvent&&jg;return L&&t.addEventListener("scrollend",x,Wg),()=>{t.removeEventListener("scroll",g),L&&t.removeEventListener("scrollend",x)}};var NA=(n,o,t)=>{if(o!=null&&o.borderBoxSize){let r=o.borderBoxSize[0];if(r)return Math.round(r[t.options.horizontal?"inlineSize":"blockSize"])}return n[t.options.horizontal?"offsetWidth":"offsetHeight"]};var Xg=(n,{adjustments:o=0,behavior:t},r)=>{var s,d;let m=n+o;(d=(s=r.scrollElement)==null?void 0:s.scrollTo)==null||d.call(s,{[r.options.horizontal?"left":"top"]:m,behavior:t})},Id=class{constructor(o){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,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,r=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(s=>{s.forEach(d=>{let m=()=>{this._measureElement(d.target,d)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(m):m()})}));return{disconnect:()=>{var s;(s=r())==null||s.disconnect(),t=null},observe:s=>{var d;return(d=r())==null?void 0:d.observe(s,{box:"border-box"})},unobserve:s=>{var d;return(d=r())==null?void 0:d.unobserve(s)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([r,s])=>{typeof s>"u"&&delete t[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:wA,rangeExtractor:ap,onChange:()=>{},measureElement:NA,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...t}},this.notify=t=>{var r,s;(s=(r=this.options).onChange)==null||s.call(r,this,t)},this.maybeNotify=Wo(()=>(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 s;var t;let r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(s=(t=this.scrollElement)==null?void 0:t.window)!=null?s: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,r)=>{let s=new Map,d=new Map;for(let m=r-1;m>=0;m--){let g=t[m];if(s.has(g.lane))continue;let x=d.get(g.lane);if(x==null||g.end>x.end?d.set(g.lane,g):g.end<x.end&&s.set(g.lane,!0),s.size===this.options.lanes)break}return d.size===this.options.lanes?Array.from(d.values()).sort((m,g)=>m.end===g.end?m.index-g.index:m.end-g.end)[0]:void 0},this.getMeasurementOptions=Wo(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,r,s,d,m)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:r,scrollMargin:s,getItemKey:d,enabled:m}),{key:!1}),this.getMeasurements=Wo(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:r,scrollMargin:s,getItemKey:d,enabled:m},g)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(B=>{this.itemSizeCache.set(B.key,B.size)}));let x=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let L=this.measurementsCache.slice(0,x);for(let B=x;B<t;B++){let K=d(B),Z=this.options.lanes===1?L[B-1]:this.getFurthestMeasurement(L,B),X=Z?Z.end+this.options.gap:r+s,it=g.get(K),dt=typeof it=="number"?it:this.options.estimateSize(B),lt=X+dt,gt=Z?Z.lane:B%this.options.lanes;L[B]={index:B,start:X,size:dt,end:lt,key:K,lane:gt}}return this.measurementsCache=L,L},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Wo(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(t,r,s,d)=>this.range=t.length>0&&r>0?LA({measurements:t,outerSize:r,scrollOffset:s,lanes:d}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=Wo(()=>{let t=null,r=null,s=this.calculateRange();return s&&(t=s.startIndex,r=s.endIndex),this.maybeNotify.updateDeps([this.isScrolling,t,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,r]},(t,r,s,d,m)=>d===null||m===null?[]:t({startIndex:d,endIndex:m,overscan:r,count:s}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let r=this.options.indexAttribute,s=t.getAttribute(r);return s?parseInt(s,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(t,r)=>{let s=this.indexFromElement(t),d=this.measurementsCache[s];if(!d)return;let m=d.key,g=this.elementsCache.get(m);g!==t&&(g&&this.observer.unobserve(g),this.observer.observe(t),this.elementsCache.set(m,t)),t.isConnected&&this.resizeItem(s,this.options.measureElement(t,r,this))},this.resizeItem=(t,r)=>{var g;let s=this.measurementsCache[t];if(!s)return;let d=(g=this.itemSizeCache.get(s.key))!=null?g:s.size,m=r-d;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(s,m,this):s.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(s.index),this.itemSizeCache=new Map(this.itemSizeCache.set(s.key,r)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((r,s)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(s))});return}this._measureElement(t,void 0)},this.getVirtualItems=Wo(()=>[this.getVirtualIndexes(),this.getMeasurements()],(t,r)=>{let s=[];for(let d=0,m=t.length;d<m;d++){let g=t[d],x=r[g];s.push(x)}return s},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let r=this.getMeasurements();if(r.length!==0)return sp(r[Zg(0,r.length-1,s=>sp(r[s]).start,t)])},this.getOffsetForAlignment=(t,r,s=0)=>{let d=this.getSize(),m=this.getScrollOffset();r==="auto"&&(r=t>=m+d?"end":"start"),r==="center"?t+=(s-d)/2:r==="end"&&(t-=d);let g=this.getTotalSize()+this.options.scrollMargin-d;return Math.max(Math.min(g,t),0)},this.getOffsetForIndex=(t,r="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));let s=this.measurementsCache[t];if(!s)return;let d=this.getSize(),m=this.getScrollOffset();if(r==="auto")if(s.end>=m+d-this.options.scrollPaddingEnd)r="end";else if(s.start<=m+this.options.scrollPaddingStart)r="start";else return[m,r];let g=r==="end"?s.end+this.options.scrollPaddingEnd:s.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(g,r,s.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(t,{align:r="start",behavior:s}={})=>{s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,r),{adjustments:void 0,behavior:s})},this.scrollToIndex=(t,{align:r="auto",behavior:s}={})=>{s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),t=Math.max(0,Math.min(t,this.options.count-1));let d=0,m=10,g=L=>{if(!this.targetWindow)return;let B=this.getOffsetForIndex(t,L);if(!B){console.warn("Failed to get offset for index:",t);return}let[K,Z]=B;this._scrollToOffset(K,{adjustments:void 0,behavior:s}),this.targetWindow.requestAnimationFrame(()=>{let X=this.getScrollOffset(),it=this.getOffsetForIndex(t,Z);if(!it){console.warn("Failed to get offset for index:",t);return}Hg(it[0],X)||x(Z)})},x=L=>{this.targetWindow&&(d++,d<m?this.targetWindow.requestAnimationFrame(()=>g(L)):console.warn(`Failed to scroll to index ${t} after ${m} attempts.`))};g(r)},this.scrollBy=(t,{behavior:r}={})=>{r==="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:r})},this.getTotalSize=()=>{var d;var t;let r=this.getMeasurements(),s;if(r.length===0)s=this.options.paddingStart;else if(this.options.lanes===1)s=(d=(t=r[r.length-1])==null?void 0:t.end)!=null?d:0;else{let m=Array(this.options.lanes).fill(null),g=r.length-1;for(;g>=0&&m.some(x=>x===null);){let x=r[g];m[x.lane]===null&&(m[x.lane]=x.end),g--}s=Math.max(...m.filter(x=>x!==null))}return Math.max(s-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:r,behavior:s})=>{this.options.scrollToFn(t,{behavior:s,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(o)}},Zg=(n,o,t,r)=>{for(;n<=o;){let s=(n+o)/2|0,d=t(s);if(d<r)n=s+1;else if(d>r)o=s-1;else return s}return n>0?n-1:0};function LA({measurements:n,outerSize:o,scrollOffset:t,lanes:r}){let s=n.length-1,d=x=>n[x].start;if(n.length<=r)return{startIndex:0,endIndex:s};let m=Zg(0,s,d,t),g=m;if(r===1)for(;g<s&&n[g].end<t+o;)g++;else if(r>1){let x=Array(r).fill(0);for(;g<s&&x.some(B=>B<t+o);){let B=n[g];x[B.lane]=B.end,g++}let L=Array(r).fill(t+o);for(;m>=0&&L.some(B=>B>=t);){let B=n[m];L[B.lane]=B.start,m--}m=Math.max(0,m-m%r),g=Math.min(s,g+(r-1-g%r))}return{startIndex:m,endIndex:g}}var np=class{constructor(o,t){this.cleanup=()=>{},(this.host=o).addController(this);let r={...t,onChange:(s,d)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=t.onChange)==null||m.call(t,s,d)}};this.virtualizer=new Id(r)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},_d=class extends np{constructor(o,t){super(o,{observeElementRect:Kg,observeElementOffset:qg,scrollToFn:Xg,...t})}};var OA={includeEnd:!1},Cd=class{constructor(o,t,r={}){let s={...OA,...r};this.start=o,this.end=t,this.includeEnd=s.includeEnd}includes(o){let{start:t,end:r,includeEnd:s}=this,d=Math.min(t,r),m=Math.max(t,r);return s?o>=d&&o<=m:o>=d&&o<m}iter(o=1){if(o<=0)throw new Error("Step must be a positive non-zero number");let t=o*(this.start<=this.end?1:-1),{includeEnd:r,end:s}=this,d=this.start,m=!1;return{next:()=>{if(m)return{value:void 0,done:!0};let g=d;return d+=t,(r?g>s:g>=s)?(m=!0,{value:void 0,done:!0}):{value:g,done:!1}}}}[Symbol.iterator](){return this.iter()}};var kd=class{constructor(o,t,r){this.getIndex=()=>0;this.items=o,this.getIndex=t,this.lengthFn=r}get length(){return this.lengthFn()}at(o){return this.items.find(t=>this.getIndex(t)===o)}map(o,t){return this.items.map((r,s,d)=>o.call(t,r,this.getIndex(r),d))}forEach(o,t){this.items.forEach((r,s,d)=>{o.call(t,r,this.getIndex(r),d)})}findIndex(o,t){let r=this.items.find((s,d,m)=>o.call(t,s,this.getIndex(s),m));return r?this.getIndex(r):-1}find(o,t){return this.items.find((r,s,d)=>o.call(t,r,this.getIndex(r),d))}};var RA=[U`
6337
6338
  :host {
6338
6339
  height: 100%;
6339
6340
  }
@@ -6361,7 +6362,7 @@
6361
6362
  ::slotted(mdc-listitem) {
6362
6363
  position: relative;
6363
6364
  }
6364
- `],Qg=OA;var Jg=z.constructTagName("virtualizedlist"),L8=z.constructTagName("virtualizedwrapper"),mn={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0,getItemKey:n=>n},LOOP:"false",SCROLL_ANCHORING:!1,IS_AT_BOTTOM_THRESHOLD:16};var Ge=class extends Ut(Ps){constructor(){super();this.virtualizerProps=mn.VIRTUALIZER_PROPS;this.loop=mn.LOOP;this.scrollAnchoring=mn.SCROLL_ANCHORING;this.observeSizeChanges=!1;this.revertList=!1;this.atBottomThreshold=mn.IS_AT_BOTTOM_THRESHOLD;this.virtualizer=null;this.virtualizedNavItems=null;this.virtualizerController=null;this.selectedIndex=this.initialFocus;this.selectedKey=null;this.firstIndex=0;this.firstKey=null;this.hiddenIndexes=[];this.atBottomValue="no";this.atBottomTimer=-1;this.lastScrollPosition=0;this.endOfScrollQueue=[];this.resizeObserver=null;this.handleElementFirstUpdateCompleted=t=>{var r,s;this.observeSizeChanges&&this.navItems.find(d=>d===t.target)!==void 0&&((s=(r=this.virtualizer)==null?void 0:r.measureElement)==null||s.call(r,t.target))};this.addEventListener("wheel",this.handleWheelEvent.bind(this)),this.addEventListener(Ht.FIRST_UPDATE_COMPLETED,this.handleElementFirstUpdateCompleted.bind(this))}get virtualItems(){var t,r;return(r=(t=this.virtualizer)==null?void 0:t.getVirtualItems())!=null?r:[]}get navItems(){var t,r,s,d;if(((t=this.virtualizedNavItems)==null?void 0:t.items)!==super.navItems){let m=(d=(s=(r=this.virtualizer)==null?void 0:r.options)==null?void 0:s.indexAttribute)!=null?d:"data-index";this.virtualizedNavItems=new Cd(super.navItems,b=>Number(b.getAttribute(m)),()=>this.virtualizerProps.count)}return this.virtualizedNavItems}get atBottom(){return this.atBottomValue}set atBottom(t){(this.atBottomValue!==t||t==="yes"&&this.atBottomTimer===-1)&&(this.atBottomValue=t,t==="yes"?this.scrollToBottom():this.clearScrollToBottomTimer())}get totalListHeight(){var t,r;return(r=(t=this.virtualizer)==null?void 0:t.getTotalSize())!=null?r:0}connectedCallback(){this.virtualizerController=new Id(this,{...this.virtualizerProps,horizontal:!1,getScrollElement:()=>this.scrollRef,onChange:this.onVListStateChangeHandler.bind(this),rangeExtractor:this.virtualizerRangeExtractor.bind(this)}),this.virtualizer=this.virtualizerController.getVirtualizer(),super.connectedCallback(),this.role=null,this.atBottom=this.revertList&&this.scrollAnchoring?"yes":"no",this.resizeObserver=new ResizeObserver(this.handleResizeObserverCallback.bind(this)),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.clearScrollToBottomTimer(),this.virtualizerController=null,this.virtualizer=null,this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}async update(t){super.update(t),t.has("virtualizerProps")&&await this.handleVirtualizerPropsUpdate(t.get("virtualizerProps")),t.has("observeSizeChanges")&&this.navItems.forEach(r=>{var s,d;this.observeSizeChanges&&((d=(s=this.virtualizer)==null?void 0:s.measureElement)==null||d.call(s,r))}),t.has("scrollAnchoring")&&(this.scrollAnchoring?this.checkAtBottom():this.atBottom="no"),t.has("revertList")&&this.revertList&&this.scrollAnchoring&&(this.atBottom="yes"),t.has("atBottomThreshold")&&this.scrollAnchoring&&this.checkAtBottom()}async handleVirtualizerPropsUpdate(t){var d,m;let{virtualizer:r}=this;if(!r)return;let s=r.measurementsCache.slice();if(r.setOptions({...r.options,...this.virtualizerProps}),this.virtualizerProps.count!==(t==null?void 0:t.count)&&(this.emitChangeEvent(),this.syncUI()),this.scrollAnchoring&&s.length>0){let b=Math.abs(this.virtualizerProps.count-((d=t==null?void 0:t.count)!=null?d:0)),x=this.selectedIndex,L=this.firstKey,U=new _d(x-b,x+b,{includeEnd:!0}),K=(m=Array.from(U).find(X=>r.options.getItemKey(X)===this.selectedKey))!=null?m:this.selectedIndex;if(this.setSelectedIndex(K),this.requestUpdate(),await this.updateComplete,this.atBottom==="yes"){this.scrollToBottom();return}if(this.focusWithin&&x!==this.selectedIndex||!this.focusWithin&&this.firstKey!==L){let X=r.measurementsCache[this.selectedIndex].end-s[x].end;this.scrollRef.scrollTop+=X}}}setInitialFocus(){setTimeout(async()=>{if(!this.virtualizer)return;let{scrollToIndex:t}=this.virtualizer;if(this.setSelectedIndex(this.initialFocus),this.selectedIndex>=this.navItems.length)return;t(this.selectedIndex,{align:"center"}),this.navItems.find(this.isElementSelected,this)&&this.resetTabIndexes(this.selectedIndex,!1)},0)}emitChangeEvent(){var r,s,d,m,b;(s=(r=this.virtualizerProps).onChange)==null||s.call(r,this.virtualizer,this.virtualizer.isScrolling);let t={virtualizer:this.virtualizer,virtualItems:(b=(m=(d=this.virtualizer)==null?void 0:d.getVirtualItems)==null?void 0:m.call(d))!=null?b:[]};this.dispatchEvent(new CustomEvent("virtualitemschange",{detail:t,bubbles:!1,cancelable:!1}))}virtualizerRangeExtractor(t){var x,L,U,K;let{navItems:r,virtualizerProps:s,virtualizer:d}=this,m=(L=(x=s.rangeExtractor)==null?void 0:x.call(s,t))!=null?L:sp(t);return this.hiddenIndexes.forEach(Z=>{let X=r.at(Z);X&&(X.removeAttribute("data-virtualized-hidden"),X.style.removeProperty("--mdc-virtualizedlist-hidden-top"))}),this.firstIndex=t.startIndex,this.firstKey=(K=(U=this.virtualizer)==null?void 0:U.options.getItemKey(this.firstIndex))!=null?K:null,this.hiddenIndexes.length=0,[this.selectedIndex-1,this.selectedIndex,this.selectedIndex+1].forEach(Z=>{var X;m.includes(Z)||(Z<t.startIndex&&Z>=0&&(m.unshift(Z),this.hiddenIndexes.push(Z)),Z>t.endIndex&&Z<((X=d==null?void 0:d.options.count)!=null?X:0)&&(m.push(Z),this.hiddenIndexes.push(Z)))}),this.updateHiddenItemsPosition(),m.sort((Z,X)=>Z-X),m}updateHiddenItemsPosition(){let{navItems:t,virtualizerProps:r,virtualizer:s}=this;if(!s||r.count===0)return;let{measurementsCache:d,range:m}=s;this.hiddenIndexes.forEach(b=>{var L;let x=t.at(b);if(x){let U=d[(L=m==null?void 0:m.startIndex)!=null?L:0],K=d[b];x.setAttribute("data-virtualized-hidden","true"),x.style.setProperty("--mdc-virtualizedlist-hidden-top",`${K.start-U.start}px`)}})}isElementSelected(t){var r;return((r=this.virtualizer)==null?void 0:r.indexFromElement(t))===this.selectedIndex}setSelectedIndex(t){if(this.virtualizer){let{count:r,getItemKey:s}=this.virtualizer.options;this.selectedIndex=Math.max(0,Math.min(r-1,t)),this.selectedKey=s(t),this.scrollAnchoring&&this.selectedIndex+1===r&&(this.atBottom="yes")}}onElementStoreUpdate(t,r){if(r==="added"){let s=this.isElementSelected(t);t.tabIndex=s?0:-1,this.setAriaSetSize(t)}else r==="removed"&&t.tabIndex===0&&queueMicrotask(()=>{this.resetTabIndexes(this.selectedIndex,this.focusWithin)})}async onVListStateChangeHandler(t,r){this.syncUI(),await this.updateComplete,this.requestUpdate(),!r&&this.endOfScrollQueue.length>0&&(this.endOfScrollQueue.forEach(s=>s()),this.endOfScrollQueue.length=0),this.checkAtBottom(),this.emitChangeEvent()}onScrollHandler(t){let r=t.target;this.atBottom==="re-evaluate"||r.scrollTop<this.lastScrollPosition?this.atBottom="no":this.checkAtBottom(),this.lastScrollPosition=r.scrollTop}checkAtBottom(){let{clientHeight:t,scrollHeight:r,scrollTop:s}=this.scrollRef;this.scrollAnchoring&&this.virtualizer&&this.atBottom==="no"&&r>t-this.atBottomThreshold&&!this.virtualizer.isScrolling&&(this.atBottom=r-s<=t+this.atBottomThreshold?"yes":"no")}handleNavigationKeyDown(t){var r,s,d,m;switch(t.key){case Q.HOME:{(s=(r=this.virtualizer)==null?void 0:r.scrollToIndex)==null||s.call(r,0,{align:"start"}),this.endOfScrollQueue.push(()=>this.resetTabIndexes(0));break}case Q.END:{let b=this.virtualizerProps.count-1;(m=(d=this.virtualizer)==null?void 0:d.scrollToIndex)==null||m.call(d,b,{align:"end"}),this.endOfScrollQueue.push(()=>this.resetTabIndexes(b));break}case Q.ARROW_UP:{this.atBottom="re-evaluate";break}default:}super.handleNavigationKeyDown(t)}resetTabIndexes(t,r=!0){super.resetTabIndexes(t,r),this.setSelectedIndex(t)}resetTabIndexAndSetFocus(t,r,s){if(this.navItems.find(m=>{var b;return((b=this.virtualizer)==null?void 0:b.indexFromElement(m))===t})===void 0){this.scrollToIndex(t,{}),this.endOfScrollQueue.push(()=>{super.resetTabIndexAndSetFocus(t,r,s),this.setSelectedIndex(t)});return}super.resetTabIndexAndSetFocus(t,r,s),this.setSelectedIndex(t)}setAriaSetSize(t){var r,s;t.setAttribute("aria-setsize",`${(s=(r=this.virtualizer)==null?void 0:r.options.count)!=null?s:-1}`)}scrollToBottom(){if(this.clearScrollToBottomTimer(),this.atBottom==="yes"&&this.scrollRef){let{clientHeight:t,scrollHeight:r,scrollTop:s}=this.scrollRef;this.totalListHeight>t&&(this.scrollRef.scrollTop+=r-t-s),this.atBottomTimer=requestAnimationFrame(this.scrollToBottom.bind(this))}}clearScrollToBottomTimer(){cancelAnimationFrame(this.atBottomTimer),this.atBottomTimer=-1}scrollToIndex(t,r){var s,d;(d=(s=this.virtualizer).scrollToIndex)==null||d.call(s,t,r),this.atBottom=this.scrollAnchoring&&t+1===this.virtualizerProps.count?"yes":"no"}syncUI(){var d;let t=this.virtualItems.find(({index:m})=>!this.hiddenIndexes.includes(m)),r=(d=t==null?void 0:t.start)!=null?d:0;window.getComputedStyle(this);let s=0;this.revertList&&this.scrollRef.clientHeight>=this.totalListHeight&&(s=this.scrollRef.clientHeight-this.totalListHeight),this.wrapperRef.style.height=`${this.totalListHeight}px`,this.containerRef.style.transform=`translateY(${s+r}px)`}handleWheelEvent(t){t.deltaY<0&&(this.atBottom="re-evaluate")}handleResizeObserverCallback(){requestAnimationFrame(()=>{this.revertList&&this.scrollRef.clientHeight>=this.totalListHeight&&this.syncUI()})}render(){var t;return _`
6365
+ `],Qg=RA;var Jg=z.constructTagName("virtualizedlist"),O8=z.constructTagName("virtualizedwrapper"),mn={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0,getItemKey:n=>n},LOOP:"false",SCROLL_ANCHORING:!1,IS_AT_BOTTOM_THRESHOLD:16};var Ge=class extends Ut(Ps){constructor(){super();this.virtualizerProps=mn.VIRTUALIZER_PROPS;this.loop=mn.LOOP;this.scrollAnchoring=mn.SCROLL_ANCHORING;this.observeSizeChanges=!1;this.revertList=!1;this.atBottomThreshold=mn.IS_AT_BOTTOM_THRESHOLD;this.virtualizer=null;this.virtualizedNavItems=null;this.virtualizerController=null;this.selectedIndex=this.initialFocus;this.selectedKey=null;this.firstIndex=0;this.firstKey=null;this.hiddenIndexes=[];this.atBottomValue="no";this.atBottomTimer=-1;this.lastScrollPosition=0;this.endOfScrollQueue=[];this.resizeObserver=null;this.handleElementFirstUpdateCompleted=t=>{var r,s;this.observeSizeChanges&&this.navItems.find(d=>d===t.target)!==void 0&&((s=(r=this.virtualizer)==null?void 0:r.measureElement)==null||s.call(r,t.target))};this.addEventListener("wheel",this.handleWheelEvent.bind(this)),this.addEventListener(Ht.FIRST_UPDATE_COMPLETED,this.handleElementFirstUpdateCompleted.bind(this))}get virtualItems(){var t,r;return(r=(t=this.virtualizer)==null?void 0:t.getVirtualItems())!=null?r:[]}get navItems(){var t,r,s,d;if(((t=this.virtualizedNavItems)==null?void 0:t.items)!==super.navItems){let m=(d=(s=(r=this.virtualizer)==null?void 0:r.options)==null?void 0:s.indexAttribute)!=null?d:"data-index";this.virtualizedNavItems=new kd(super.navItems,g=>Number(g.getAttribute(m)),()=>this.virtualizerProps.count)}return this.virtualizedNavItems}get atBottom(){return this.atBottomValue}set atBottom(t){(this.atBottomValue!==t||t==="yes"&&this.atBottomTimer===-1)&&(this.atBottomValue=t,t==="yes"?this.scrollToBottom():this.clearScrollToBottomTimer())}get totalListHeight(){var t,r;return(r=(t=this.virtualizer)==null?void 0:t.getTotalSize())!=null?r:0}connectedCallback(){this.virtualizerController=new _d(this,{...this.virtualizerProps,horizontal:!1,getScrollElement:()=>this.scrollRef,onChange:this.onVListStateChangeHandler.bind(this),rangeExtractor:this.virtualizerRangeExtractor.bind(this)}),this.virtualizer=this.virtualizerController.getVirtualizer(),super.connectedCallback(),this.role=null,this.atBottom=this.revertList&&this.scrollAnchoring?"yes":"no",this.resizeObserver=new ResizeObserver(this.handleResizeObserverCallback.bind(this)),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.clearScrollToBottomTimer(),this.virtualizerController=null,this.virtualizer=null,this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}async update(t){super.update(t),t.has("virtualizerProps")&&await this.handleVirtualizerPropsUpdate(t.get("virtualizerProps")),t.has("observeSizeChanges")&&this.navItems.forEach(r=>{var s,d;this.observeSizeChanges&&((d=(s=this.virtualizer)==null?void 0:s.measureElement)==null||d.call(s,r))}),t.has("scrollAnchoring")&&(this.scrollAnchoring?this.checkAtBottom():this.atBottom="no"),t.has("revertList")&&this.revertList&&this.scrollAnchoring&&(this.atBottom="yes"),t.has("atBottomThreshold")&&this.scrollAnchoring&&this.checkAtBottom()}async handleVirtualizerPropsUpdate(t){var d,m;let{virtualizer:r}=this;if(!r)return;let s=r.measurementsCache.slice();if(r.setOptions({...r.options,...this.virtualizerProps}),this.virtualizerProps.count!==(t==null?void 0:t.count)&&(this.emitChangeEvent(),this.syncUI()),this.scrollAnchoring&&s.length>0){let g=Math.abs(this.virtualizerProps.count-((d=t==null?void 0:t.count)!=null?d:0)),x=this.selectedIndex,L=this.firstKey,B=new Cd(x-g,x+g,{includeEnd:!0}),K=(m=Array.from(B).find(X=>r.options.getItemKey(X)===this.selectedKey))!=null?m:this.selectedIndex;if(this.setSelectedIndex(K),this.requestUpdate(),await this.updateComplete,this.atBottom==="yes"){this.scrollToBottom();return}if(this.focusWithin&&x!==this.selectedIndex||!this.focusWithin&&this.firstKey!==L){let X=r.measurementsCache[this.selectedIndex].end-s[x].end;this.scrollRef.scrollTop+=X}}}setInitialFocus(){setTimeout(async()=>{if(!this.virtualizer)return;let{scrollToIndex:t}=this.virtualizer;if(this.setSelectedIndex(this.initialFocus),this.selectedIndex>=this.navItems.length)return;t(this.selectedIndex,{align:"center"}),this.navItems.find(this.isElementSelected,this)&&this.resetTabIndexes(this.selectedIndex,!1)},0)}emitChangeEvent(){var r,s,d,m,g;(s=(r=this.virtualizerProps).onChange)==null||s.call(r,this.virtualizer,this.virtualizer.isScrolling);let t={virtualizer:this.virtualizer,virtualItems:(g=(m=(d=this.virtualizer)==null?void 0:d.getVirtualItems)==null?void 0:m.call(d))!=null?g:[]};this.dispatchEvent(new CustomEvent("virtualitemschange",{detail:t,bubbles:!1,cancelable:!1}))}virtualizerRangeExtractor(t){var x,L,B,K;let{navItems:r,virtualizerProps:s,virtualizer:d}=this,m=(L=(x=s.rangeExtractor)==null?void 0:x.call(s,t))!=null?L:ap(t);return this.hiddenIndexes.forEach(Z=>{let X=r.at(Z);X&&(X.removeAttribute("data-virtualized-hidden"),X.style.removeProperty("--mdc-virtualizedlist-hidden-top"))}),this.firstIndex=t.startIndex,this.firstKey=(K=(B=this.virtualizer)==null?void 0:B.options.getItemKey(this.firstIndex))!=null?K:null,this.hiddenIndexes.length=0,[this.selectedIndex-1,this.selectedIndex,this.selectedIndex+1].forEach(Z=>{var X;m.includes(Z)||(Z<t.startIndex&&Z>=0&&(m.unshift(Z),this.hiddenIndexes.push(Z)),Z>t.endIndex&&Z<((X=d==null?void 0:d.options.count)!=null?X:0)&&(m.push(Z),this.hiddenIndexes.push(Z)))}),this.updateHiddenItemsPosition(),m.sort((Z,X)=>Z-X),m}updateHiddenItemsPosition(){let{navItems:t,virtualizerProps:r,virtualizer:s}=this;if(!s||r.count===0)return;let{measurementsCache:d,range:m}=s;this.hiddenIndexes.forEach(g=>{var L;let x=t.at(g);if(x){let B=d[(L=m==null?void 0:m.startIndex)!=null?L:0],K=d[g];x.setAttribute("data-virtualized-hidden","true"),x.style.setProperty("--mdc-virtualizedlist-hidden-top",`${K.start-B.start}px`)}})}isElementSelected(t){var r;return((r=this.virtualizer)==null?void 0:r.indexFromElement(t))===this.selectedIndex}setSelectedIndex(t){if(this.virtualizer){let{count:r,getItemKey:s}=this.virtualizer.options;this.selectedIndex=Math.max(0,Math.min(r-1,t)),this.selectedKey=s(t),this.scrollAnchoring&&this.selectedIndex+1===r&&(this.atBottom="yes")}}onElementStoreUpdate(t,r){if(r==="added"){let s=this.isElementSelected(t);t.tabIndex=s?0:-1,this.setAriaSetSize(t)}else r==="removed"&&t.tabIndex===0&&queueMicrotask(()=>{this.resetTabIndexes(this.selectedIndex,this.focusWithin)})}async onVListStateChangeHandler(t,r){this.syncUI(),await this.updateComplete,this.requestUpdate(),!r&&this.endOfScrollQueue.length>0&&(this.endOfScrollQueue.forEach(s=>s()),this.endOfScrollQueue.length=0),this.checkAtBottom(),this.emitChangeEvent()}onScrollHandler(t){let r=t.target;this.atBottom==="re-evaluate"||r.scrollTop<this.lastScrollPosition?this.atBottom="no":this.checkAtBottom(),this.lastScrollPosition=r.scrollTop}checkAtBottom(){let{clientHeight:t,scrollHeight:r,scrollTop:s}=this.scrollRef;this.scrollAnchoring&&this.virtualizer&&this.atBottom==="no"&&r>t-this.atBottomThreshold&&!this.virtualizer.isScrolling&&(this.atBottom=r-s<=t+this.atBottomThreshold?"yes":"no")}handleNavigationKeyDown(t){var r,s,d,m;switch(t.key){case Q.HOME:{(s=(r=this.virtualizer)==null?void 0:r.scrollToIndex)==null||s.call(r,0,{align:"start"}),this.endOfScrollQueue.push(()=>this.resetTabIndexes(0));break}case Q.END:{let g=this.virtualizerProps.count-1;(m=(d=this.virtualizer)==null?void 0:d.scrollToIndex)==null||m.call(d,g,{align:"end"}),this.endOfScrollQueue.push(()=>this.resetTabIndexes(g));break}case Q.ARROW_UP:{this.atBottom="re-evaluate";break}default:}super.handleNavigationKeyDown(t)}resetTabIndexes(t,r=!0){super.resetTabIndexes(t,r),this.setSelectedIndex(t)}resetTabIndexAndSetFocus(t,r,s){if(this.navItems.find(m=>{var g;return((g=this.virtualizer)==null?void 0:g.indexFromElement(m))===t})===void 0){this.scrollToIndex(t,{}),this.endOfScrollQueue.push(()=>{super.resetTabIndexAndSetFocus(t,r,s),this.setSelectedIndex(t)});return}super.resetTabIndexAndSetFocus(t,r,s),this.setSelectedIndex(t)}setAriaSetSize(t){var r,s;t.setAttribute("aria-setsize",`${(s=(r=this.virtualizer)==null?void 0:r.options.count)!=null?s:-1}`)}scrollToBottom(){if(this.clearScrollToBottomTimer(),this.atBottom==="yes"&&this.scrollRef){let{clientHeight:t,scrollHeight:r,scrollTop:s}=this.scrollRef;this.totalListHeight>t&&(this.scrollRef.scrollTop+=r-t-s),this.atBottomTimer=requestAnimationFrame(this.scrollToBottom.bind(this))}}clearScrollToBottomTimer(){cancelAnimationFrame(this.atBottomTimer),this.atBottomTimer=-1}scrollToIndex(t,r){var s,d;(d=(s=this.virtualizer).scrollToIndex)==null||d.call(s,t,r),this.atBottom=this.scrollAnchoring&&t+1===this.virtualizerProps.count?"yes":"no"}syncUI(){var d;let t=this.virtualItems.find(({index:m})=>!this.hiddenIndexes.includes(m)),r=(d=t==null?void 0:t.start)!=null?d:0;window.getComputedStyle(this);let s=0;this.revertList&&this.scrollRef.clientHeight>=this.totalListHeight&&(s=this.scrollRef.clientHeight-this.totalListHeight),this.wrapperRef.style.height=`${this.totalListHeight}px`,this.containerRef.style.transform=`translateY(${s+r}px)`}handleWheelEvent(t){t.deltaY<0&&(this.atBottom="re-evaluate")}handleResizeObserverCallback(){requestAnimationFrame(()=>{this.revertList&&this.scrollRef.clientHeight>=this.totalListHeight&&this.syncUI()})}render(){var t;return _`
6365
6366
  <slot name="list-header"></slot>
6366
6367
  <div part="scroll" tabindex="-1" @scroll="${this.onScrollHandler}">
6367
6368
  <div part="wrapper">
@@ -6370,7 +6371,7 @@
6370
6371
  </div>
6371
6372
  </div>
6372
6373
  </div>
6373
- `}};Ge.styles=[...Ps.styles,...Qg],p([u({type:Object})],Ge.prototype,"virtualizerProps",2),p([u({type:String,reflect:!0})],Ge.prototype,"loop",2),p([u({type:Boolean,attribute:"scroll-anchoring",reflect:!0})],Ge.prototype,"scrollAnchoring",2),p([u({type:Boolean,reflect:!0,attribute:"observe-size-changes"})],Ge.prototype,"observeSizeChanges",2),p([u({type:Boolean,reflect:!0,attribute:"revert-list"})],Ge.prototype,"revertList",2),p([u({type:Number,reflect:!0,attribute:"at-bottom-threshold"})],Ge.prototype,"atBottomThreshold",2),p([be('[part="scroll"]',!0)],Ge.prototype,"scrollRef",2),p([be('[part="wrapper"]',!0)],Ge.prototype,"wrapperRef",2),p([be('[part="container"]',!0)],Ge.prototype,"containerRef",2),p([Nm({passive:!0})],Ge.prototype,"onScrollHandler",1);var np=Ge;np.register(Jg);var MA=np;ie.register(Rm);var tb=z.constructTagName("combobox"),lp={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},eb="list";var dp="combobox-trigger-id";var un=class{static dispatchComboboxEvent(o,t,r,s=!0){o.dispatchEvent(new CustomEvent(t,{detail:{value:r==null?void 0:r.value,label:r==null?void 0:r.label},composed:!0,bubbles:s}))}static onInputCombobox(o,t){this.dispatchComboboxEvent(o,"input",t)}static onChangeCombobox(o,t){this.dispatchComboboxEvent(o,"change",t)}};var PA=B`
6374
+ `}};Ge.styles=[...Ps.styles,...Qg],p([u({type:Object})],Ge.prototype,"virtualizerProps",2),p([u({type:String,reflect:!0})],Ge.prototype,"loop",2),p([u({type:Boolean,attribute:"scroll-anchoring",reflect:!0})],Ge.prototype,"scrollAnchoring",2),p([u({type:Boolean,reflect:!0,attribute:"observe-size-changes"})],Ge.prototype,"observeSizeChanges",2),p([u({type:Boolean,reflect:!0,attribute:"revert-list"})],Ge.prototype,"revertList",2),p([u({type:Number,reflect:!0,attribute:"at-bottom-threshold"})],Ge.prototype,"atBottomThreshold",2),p([be('[part="scroll"]',!0)],Ge.prototype,"scrollRef",2),p([be('[part="wrapper"]',!0)],Ge.prototype,"wrapperRef",2),p([be('[part="container"]',!0)],Ge.prototype,"containerRef",2),p([Lm({passive:!0})],Ge.prototype,"onScrollHandler",1);var lp=Ge;lp.register(Jg);var MA=lp;ie.register(Rm);var tb=z.constructTagName("combobox"),dp={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},eb="list";var cp="combobox-trigger-id";var un=class{static dispatchComboboxEvent(o,t,r,s=!0){o.dispatchEvent(new CustomEvent(t,{detail:{value:r==null?void 0:r.value,label:r==null?void 0:r.label},composed:!0,bubbles:s}))}static onInputCombobox(o,t){this.dispatchComboboxEvent(o,"input",t)}static onChangeCombobox(o,t){this.dispatchComboboxEvent(o,"change",t)}};var PA=U`
6374
6375
  :host {
6375
6376
  --mdc-combobox-border-color: var(--mds-color-theme-outline-input-normal);
6376
6377
  --mdc-combobox-icon-color: var(--mds-color-theme-text-primary-normal);
@@ -6475,7 +6476,7 @@
6475
6476
  --mdc-icon-fill-color: ButtonText;
6476
6477
  }
6477
6478
  }
6478
- `,rb=[PA];var pe=class extends Yi(ye(Ae(Ut(se)))){constructor(){super();this.placement=wt.BOTTOM_START;this.boundary=It.BOUNDARY;this.strategy=It.STRATEGY;this.popoverZIndex=It.Z_INDEX;this.isOpen=!1;this.filteredValue="";this.initialSelectedOption=null;this.handleUpdateError=t=>{this.onerror&&this.onerror(t)};this.handleDestroyEvent=t=>{let r=t.detail.originalTarget;if(r&&(!this.isValidItem(r)||r.tabIndex!==0))return;let s=this.navItems.findIndex(m=>m===r);if(s===-1)return;let d=s+1;d>=this.navItems.length&&(d=s-1)};this.addEventListener(Ht.DESTROYED,this.handleDestroyEvent),this.itemsStore=new Ur(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(`${mr}:not([disabled])`)}openPopover(){this.isOpen=!0}closePopover(){this.isOpen=!1}toggleDropdown(){this.isOpen=!this.isOpen}compareOptionWithValue(t,r){return(t.getAttribute("label")||"").toLowerCase().startsWith(r==null?void 0:r.toLowerCase())}getFirstSelectedOption(){return this.navItems.find(t=>t.hasAttribute("selected"))}getVisibleOptions(t){return this.navItems.filter(r=>this.compareOptionWithValue(r,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(),un.onInputCombobox(this,t),un.onChangeCombobox(this,t)}resetSelectedValue(){this.value="",this.internals.setFormValue(this.value),this.resetHelpText()}resetHelpText(){this.invalidCustomValueText&&this.helpText===this.invalidCustomValueText&&(this.helpText="",this.helpTextType=$t.DEFAULT)}attributeChangedCallback(t,r,s){super.attributeChangedCallback(t,r,s),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 r=this.getFirstSelectedOption();if(r)this.initialSelectedOption=r,this.setSelectedValue(r);else if(this.value){let s=this.navItems.find(d=>d.value===this.value);this.setSelectedValue(s)}else this.placeholder&&this.setInputValidity();this.navItems.forEach(s=>{s.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,r;!this.value&&this.required?(this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(r=this.inputElement)==null||r.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){var r;let t=this.initialSelectedOption||null;this.setSelectedValue(t),this.filteredValue=(r=t==null?void 0:t.label)!=null?r:"",this.setInputValidity()}formStateRestoreCallback(t){let r=this.navItems.find(s=>s.value===t||s.label===t);this.setSelectedValue(r||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(r=>{r.removeAttribute("selected")}),t==null||t.setAttribute("selected","")}updateOptionAttributes(t,r){t!==void 0&&(r?t.setAttribute("data-focused",""):t.removeAttribute("data-focused"),t.setAttribute("aria-selected",r.toString()))}handleBlurChange(){let t=this.getVisibleOptions(this.filteredValue),r=t.findIndex(s=>s.hasAttribute("data-focused"));if(r!==-1){this.setSelectedValue(t[r]),this.closePopover();return}r===-1&&this.filteredValue!==""&&this.invalidCustomValueText&&!this.getFirstSelectedOption()&&(this.helpText=this.invalidCustomValueText,this.helpTextType=$t.ERROR),this.setInputValidity()}updateFocusAndScrollIntoView(t,r,s){var d;this.updateOptionAttributes(t[r],!1),this.updateOptionAttributes(t[s],!0),(d=t[s])==null||d.scrollIntoView({block:"nearest"})}handleInputKeydown(t){let r=this.getVisibleOptions(this.filteredValue),s=r.findIndex(d=>d.hasAttribute("data-focused"));switch(t.key){case Q.ARROW_DOWN:{this.openPopover();let d=r.length-1===s?0:s+1;this.updateFocusAndScrollIntoView(r,s,d),t.preventDefault();break}case Q.ARROW_UP:{this.openPopover();let d=s===-1||s===0?r.length-1:s-1;this.updateFocusAndScrollIntoView(r,s,d),t.preventDefault();break}case Q.ENTER:{if(s===-1)return;this.setSelectedValue(r[s]),this.isOpen===!0&&this.closePopover();break}case Q.ESCAPE:{s!==-1&&this.updateOptionAttributes(r[s],!1),r.length&&this.shouldDisplayPopover(r.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 r,s,d;(r=t.parentElement)!=null&&r.matches(on)&&((s=Array.from(t.parentElement.children))==null?void 0:s.filter(b=>!b.hasAttribute("data-hidden"))).length===0&&(t.parentElement.setAttribute("data-hidden",""),(d=t.parentElement.nextElementSibling)!=null&&d.matches(Va)&&t.parentElement.nextElementSibling.setAttribute("data-hidden",""))}showOptionGroupAndDivider(t){var r,s,d;(r=t.parentElement)!=null&&r.matches(on)&&((s=Array.from(t.parentElement.children))==null?void 0:s.filter(b=>!b.hasAttribute("data-hidden"))).length>0&&(t.parentElement.removeAttribute("data-hidden"),(d=t.parentElement.nextElementSibling)!=null&&d.matches(Va)&&t.parentElement.nextElementSibling.removeAttribute("data-hidden"))}handleInputChange(t){var r;this.filteredValue=t.target.value,this.resetSelectedValue(),this.resetFocusedOption(),this.updateHiddenOptions(),(r=this.getFirstSelectedOption())==null||r.removeAttribute("selected"),this.isOpen===!1&&this.openPopover()}handleOptionsClick(t){var s;let r=(s=t.target.closest(mr))!=null?s:null;r&&!r.hasAttribute("disabled")&&(this.setSelectedValue(r),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 _`
6479
+ `,rb=[PA];var pe=class extends Yi(ye(Ae(Ut(se)))){constructor(){super();this.placement=wt.BOTTOM_START;this.boundary=It.BOUNDARY;this.strategy=It.STRATEGY;this.popoverZIndex=It.Z_INDEX;this.isOpen=!1;this.filteredValue="";this.initialSelectedOption=null;this.handleUpdateError=t=>{this.onerror&&this.onerror(t)};this.handleDestroyEvent=t=>{let r=t.detail.originalTarget;if(r&&(!this.isValidItem(r)||r.tabIndex!==0))return;let s=this.navItems.findIndex(m=>m===r);if(s===-1)return;let d=s+1;d>=this.navItems.length&&(d=s-1)};this.addEventListener(Ht.DESTROYED,this.handleDestroyEvent),this.itemsStore=new Ur(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(`${mr}:not([disabled])`)}openPopover(){this.isOpen=!0}closePopover(){this.isOpen=!1}toggleDropdown(){this.isOpen=!this.isOpen}compareOptionWithValue(t,r){return(t.getAttribute("label")||"").toLowerCase().startsWith(r==null?void 0:r.toLowerCase())}getFirstSelectedOption(){return this.navItems.find(t=>t.hasAttribute("selected"))}getVisibleOptions(t){return this.navItems.filter(r=>this.compareOptionWithValue(r,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(),un.onInputCombobox(this,t),un.onChangeCombobox(this,t)}resetSelectedValue(){this.value="",this.internals.setFormValue(this.value),this.resetHelpText()}resetHelpText(){this.invalidCustomValueText&&this.helpText===this.invalidCustomValueText&&(this.helpText="",this.helpTextType=$t.DEFAULT)}attributeChangedCallback(t,r,s){super.attributeChangedCallback(t,r,s),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 r=this.getFirstSelectedOption();if(r)this.initialSelectedOption=r,this.setSelectedValue(r);else if(this.value){let s=this.navItems.find(d=>d.value===this.value);this.setSelectedValue(s)}else this.placeholder&&this.setInputValidity();this.navItems.forEach(s=>{s.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,r;!this.value&&this.required?(this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(r=this.inputElement)==null||r.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){var r;let t=this.initialSelectedOption||null;this.setSelectedValue(t),this.filteredValue=(r=t==null?void 0:t.label)!=null?r:"",this.setInputValidity()}formStateRestoreCallback(t){let r=this.navItems.find(s=>s.value===t||s.label===t);this.setSelectedValue(r||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(r=>{r.removeAttribute("selected")}),t==null||t.setAttribute("selected","")}updateOptionAttributes(t,r){t!==void 0&&(r?t.setAttribute("data-focused",""):t.removeAttribute("data-focused"),t.setAttribute("aria-selected",r.toString()))}handleBlurChange(){let t=this.getVisibleOptions(this.filteredValue),r=t.findIndex(s=>s.hasAttribute("data-focused"));if(r!==-1){this.setSelectedValue(t[r]),this.closePopover();return}r===-1&&this.filteredValue!==""&&this.invalidCustomValueText&&!this.getFirstSelectedOption()&&(this.helpText=this.invalidCustomValueText,this.helpTextType=$t.ERROR),this.setInputValidity()}updateFocusAndScrollIntoView(t,r,s){var d;this.updateOptionAttributes(t[r],!1),this.updateOptionAttributes(t[s],!0),(d=t[s])==null||d.scrollIntoView({block:"nearest"})}handleInputKeydown(t){let r=this.getVisibleOptions(this.filteredValue),s=r.findIndex(d=>d.hasAttribute("data-focused"));switch(t.key){case Q.ARROW_DOWN:{this.openPopover();let d=r.length-1===s?0:s+1;this.updateFocusAndScrollIntoView(r,s,d),t.preventDefault();break}case Q.ARROW_UP:{this.openPopover();let d=s===-1||s===0?r.length-1:s-1;this.updateFocusAndScrollIntoView(r,s,d),t.preventDefault();break}case Q.ENTER:{if(s===-1)return;this.setSelectedValue(r[s]),this.isOpen===!0&&this.closePopover();break}case Q.ESCAPE:{s!==-1&&this.updateOptionAttributes(r[s],!1),r.length&&this.shouldDisplayPopover(r.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 r,s,d;(r=t.parentElement)!=null&&r.matches(on)&&((s=Array.from(t.parentElement.children))==null?void 0:s.filter(g=>!g.hasAttribute("data-hidden"))).length===0&&(t.parentElement.setAttribute("data-hidden",""),(d=t.parentElement.nextElementSibling)!=null&&d.matches(Va)&&t.parentElement.nextElementSibling.setAttribute("data-hidden",""))}showOptionGroupAndDivider(t){var r,s,d;(r=t.parentElement)!=null&&r.matches(on)&&((s=Array.from(t.parentElement.children))==null?void 0:s.filter(g=>!g.hasAttribute("data-hidden"))).length>0&&(t.parentElement.removeAttribute("data-hidden"),(d=t.parentElement.nextElementSibling)!=null&&d.matches(Va)&&t.parentElement.nextElementSibling.removeAttribute("data-hidden"))}handleInputChange(t){var r;this.filteredValue=t.target.value,this.resetSelectedValue(),this.resetFocusedOption(),this.updateHiddenOptions(),(r=this.getFirstSelectedOption())==null||r.removeAttribute("selected"),this.isOpen===!1&&this.openPopover()}handleOptionsClick(t){var s;let r=(s=t.target.closest(mr))!=null?s:null;r&&!r.hasAttribute("disabled")&&(this.setSelectedValue(r),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 _`
6479
6480
  <input
6480
6481
  id="${this.inputId}"
6481
6482
  name="${this.name}"
@@ -6519,7 +6520,7 @@
6519
6520
  />
6520
6521
  `}renderNoResultsText(t){return t===0&&this.noResultText?_`<mdc-listitem part="no-result-text" tabindex="-1" role="" label="${this.noResultText}"></mdc-listitem>`:j}render(){var r;let t=this.getVisibleOptions(this.filteredValue);return _`
6521
6522
  ${this.renderLabel()}
6522
- <div part="combobox__base" id="${dp}">
6523
+ <div part="combobox__base" id="${cp}">
6523
6524
  ${this.renderNativeInput()}
6524
6525
  <mdc-input
6525
6526
  @click="${()=>this.toggleDropdown()}"
@@ -6539,7 +6540,7 @@
6539
6540
  >
6540
6541
  <mdc-icon
6541
6542
  part="combobox__button-icon"
6542
- name="${this.shouldDisplayPopover(t.length)?lp.ARROW_UP:lp.ARROW_DOWN}"
6543
+ name="${this.shouldDisplayPopover(t.length)?dp.ARROW_UP:dp.ARROW_DOWN}"
6543
6544
  size="1"
6544
6545
  length-unit="rem"
6545
6546
  ></mdc-icon>
@@ -6561,7 +6562,7 @@
6561
6562
  size
6562
6563
  strategy="${tt(this.strategy)}"
6563
6564
  trigger="${hi.MANUAL}"
6564
- triggerid="${dp}"
6565
+ triggerid="${cp}"
6565
6566
  z-index="${tt(this.popoverZIndex)}"
6566
6567
  >
6567
6568
  ${this.renderNoResultsText(t.length)}
@@ -6569,7 +6570,7 @@
6569
6570
  </mdc-popover>
6570
6571
  </div>
6571
6572
  ${this.renderHelperText()}
6572
- `}};pe.styles=[...Ir.styles,...se.styles,...rb],p([u({type:String})],pe.prototype,"placeholder",2),p([u({type:String,reflect:!0})],pe.prototype,"placement",2),p([u({type:String,attribute:"no-result-text",reflect:!0})],pe.prototype,"noResultText",2),p([u({type:String,attribute:"invalid-custom-value-text",reflect:!0})],pe.prototype,"invalidCustomValueText",2),p([u({type:String,reflect:!0})],pe.prototype,"boundary",2),p([u({type:String,reflect:!0})],pe.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],pe.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],pe.prototype,"backdropAppendTo",2),p([be(`[role="${rt.COMBOBOX}"]`)],pe.prototype,"visualCombobox",2),p([be('[part="combobox__button"]')],pe.prototype,"dropDownButton",2),p([Pt({selector:hd})],pe.prototype,"slottedListboxes",2),p([vt()],pe.prototype,"isOpen",2),p([vt()],pe.prototype,"filteredValue",2);var cp=pe;cp.register(tb);var DA=cp;var ib=(n,o,t)=>{let r=new Map;for(let s=o;s<=t;s++)r.set(n[s],s);return r},ob=si(class extends Dr{constructor(n){if(super(n),n.type!==Ke.CHILD)throw Error("repeat() can only be used in text expressions")}dt(n,o,t){let r;t===void 0?t=o:o!==void 0&&(r=o);let s=[],d=[],m=0;for(let b of n)s[m]=r?r(b,m):m,d[m]=t(b,m),m++;return{values:d,keys:s}}render(n,o,t){return this.dt(n,o,t).values}update(n,[o,t,r]){var dt;let s=ou(n),{values:d,keys:m}=this.dt(o,t,r);if(!Array.isArray(s))return this.ut=m,d;let b=(dt=this.ut)!=null?dt:this.ut=[],x=[],L,U,K=0,Z=s.length-1,X=0,it=d.length-1;for(;K<=Z&&X<=it;)if(s[K]===null)K++;else if(s[Z]===null)Z--;else if(b[K]===m[X])x[X]=Di(s[K],d[X]),K++,X++;else if(b[Z]===m[it])x[it]=Di(s[Z],d[it]),Z--,it--;else if(b[K]===m[it])x[it]=Di(s[K],d[it]),ps(n,x[it+1],s[K]),K++,it--;else if(b[Z]===m[X])x[X]=Di(s[Z],d[X]),ps(n,s[K],s[Z]),Z--,X++;else if(L===void 0&&(L=ib(m,X,it),U=ib(b,K,Z)),L.has(b[K]))if(L.has(b[Z])){let lt=U.get(m[X]),gt=lt!==void 0?s[lt]:null;if(gt===null){let St=ps(n,s[K]);Di(St,d[X]),x[X]=St}else x[X]=Di(gt,d[X]),ps(n,s[K],gt),s[lt]=null;X++}else sl(s[Z]),Z--;else sl(s[K]),K++;for(;X<=it;){let lt=ps(n,x[it+1]);Di(lt,d[X]),x[X++]=lt}for(;K<=Z;){let lt=s[K++];lt!==null&&sl(lt)}return this.ut=m,ol(n,x),ge}});var sb=z.constructTagName("slider"),FA={START:"start",END:"end",UNDEFINED:void 0},io={MIN:0,MAX:100,STEP:1,STATE:FA.UNDEFINED,ICON_SIZE:1.25,ICON_LENGTH_UNIT:"rem"};var $A=B`
6573
+ `}};pe.styles=[...Ir.styles,...se.styles,...rb],p([u({type:String})],pe.prototype,"placeholder",2),p([u({type:String,reflect:!0})],pe.prototype,"placement",2),p([u({type:String,attribute:"no-result-text",reflect:!0})],pe.prototype,"noResultText",2),p([u({type:String,attribute:"invalid-custom-value-text",reflect:!0})],pe.prototype,"invalidCustomValueText",2),p([u({type:String,reflect:!0})],pe.prototype,"boundary",2),p([u({type:String,reflect:!0})],pe.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],pe.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],pe.prototype,"backdropAppendTo",2),p([be(`[role="${rt.COMBOBOX}"]`)],pe.prototype,"visualCombobox",2),p([be('[part="combobox__button"]')],pe.prototype,"dropDownButton",2),p([Pt({selector:pd})],pe.prototype,"slottedListboxes",2),p([vt()],pe.prototype,"isOpen",2),p([vt()],pe.prototype,"filteredValue",2);var hp=pe;hp.register(tb);var DA=hp;var ib=(n,o,t)=>{let r=new Map;for(let s=o;s<=t;s++)r.set(n[s],s);return r},ob=si(class extends Dr{constructor(n){if(super(n),n.type!==Ke.CHILD)throw Error("repeat() can only be used in text expressions")}dt(n,o,t){let r;t===void 0?t=o:o!==void 0&&(r=o);let s=[],d=[],m=0;for(let g of n)s[m]=r?r(g,m):m,d[m]=t(g,m),m++;return{values:d,keys:s}}render(n,o,t){return this.dt(n,o,t).values}update(n,[o,t,r]){var dt;let s=su(n),{values:d,keys:m}=this.dt(o,t,r);if(!Array.isArray(s))return this.ut=m,d;let g=(dt=this.ut)!=null?dt:this.ut=[],x=[],L,B,K=0,Z=s.length-1,X=0,it=d.length-1;for(;K<=Z&&X<=it;)if(s[K]===null)K++;else if(s[Z]===null)Z--;else if(g[K]===m[X])x[X]=Di(s[K],d[X]),K++,X++;else if(g[Z]===m[it])x[it]=Di(s[Z],d[it]),Z--,it--;else if(g[K]===m[it])x[it]=Di(s[K],d[it]),ps(n,x[it+1],s[K]),K++,it--;else if(g[Z]===m[X])x[X]=Di(s[Z],d[X]),ps(n,s[K],s[Z]),Z--,X++;else if(L===void 0&&(L=ib(m,X,it),B=ib(g,K,Z)),L.has(g[K]))if(L.has(g[Z])){let lt=B.get(m[X]),gt=lt!==void 0?s[lt]:null;if(gt===null){let St=ps(n,s[K]);Di(St,d[X]),x[X]=St}else x[X]=Di(gt,d[X]),ps(n,s[K],gt),s[lt]=null;X++}else sl(s[Z]),Z--;else sl(s[K]),K++;for(;X<=it;){let lt=ps(n,x[it+1]);Di(lt,d[X]),x[X++]=lt}for(;K<=Z;){let lt=s[K++];lt!==null&&sl(lt)}return this.ut=m,ol(n,x),ge}});var sb=z.constructTagName("slider"),FA={START:"start",END:"end",UNDEFINED:void 0},io={MIN:0,MAX:100,STEP:1,STATE:FA.UNDEFINED,ICON_SIZE:1.25,ICON_LENGTH_UNIT:"rem"};var $A=U`
6573
6574
  :host {
6574
6575
  width: 100%;
6575
6576
  --mdc-slider-tooltip-left: 0;
@@ -6737,15 +6738,15 @@
6737
6738
  }
6738
6739
 
6739
6740
  input[type='range']:focus::-webkit-slider-thumb {
6740
- box-shadow: ${Oi};
6741
+ box-shadow: ${Ri};
6741
6742
  }
6742
6743
 
6743
6744
  input[type='range']:focus::-moz-range-thumb {
6744
- box-shadow: ${Oi};
6745
+ box-shadow: ${Ri};
6745
6746
  }
6746
6747
 
6747
6748
  input[type='range']:focus::-ms-thumb {
6748
- box-shadow: ${Oi};
6749
+ box-shadow: ${Ri};
6749
6750
  }
6750
6751
 
6751
6752
  :host::part(slider-tooltip) {
@@ -6791,24 +6792,24 @@
6791
6792
  border: 1px solid;
6792
6793
  }
6793
6794
  }
6794
- `,ab=[Ri,$A];var Nt=class extends q{constructor(){super();this.thumbFocused=io.STATE;this.thumbHovered=io.STATE;this.range=!1;this.min=io.MIN;this.max=io.MAX;this.step=io.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 r=t;this.softDisabled?r.setAttribute("aria-disabled","true"):r.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 r=this.inputElements[t];if(r)if(t===0){if(!this.valueEnd)return;let s=Number(r.value);s>this.valueEnd?(r.value=String(this.valueEnd),this.valueStart=this.valueEnd):s>=this.min&&s<this.valueEnd?this.valueStart=s:s<this.min&&(r.value=String(this.min),this.valueStart=this.min)}else{if(!this.valueStart)return;let s=Number(r.value);s<this.valueStart?(r.value=String(this.valueStart),this.valueEnd=this.valueStart):s<=this.max&&s>this.valueStart?this.valueEnd=s:s>this.max&&(r.value=String(this.max),this.valueEnd=this.max)}}iconTemplate(t,r){return typeof t=="string"&&t.length>0?_`<mdc-icon
6795
+ `,ab=[Oi,$A];var Nt=class extends q{constructor(){super();this.thumbFocused=io.STATE;this.thumbHovered=io.STATE;this.range=!1;this.min=io.MIN;this.max=io.MAX;this.step=io.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 r=t;this.softDisabled?r.setAttribute("aria-disabled","true"):r.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 r=this.inputElements[t];if(r)if(t===0){if(!this.valueEnd)return;let s=Number(r.value);s>this.valueEnd?(r.value=String(this.valueEnd),this.valueStart=this.valueEnd):s>=this.min&&s<this.valueEnd?this.valueStart=s:s<this.min&&(r.value=String(this.min),this.valueStart=this.min)}else{if(!this.valueStart)return;let s=Number(r.value);s<this.valueStart?(r.value=String(this.valueStart),this.valueEnd=this.valueStart):s<=this.max&&s>this.valueStart?this.valueEnd=s:s>this.max&&(r.value=String(this.max),this.valueEnd=this.max)}}iconTemplate(t,r){return typeof t=="string"&&t.length>0?_`<mdc-icon
6795
6796
  name="${t}"
6796
6797
  part="${r}"
6797
6798
  length-unit="${io.ICON_LENGTH_UNIT}"
6798
6799
  size="${io.ICON_SIZE}"
6799
- ></mdc-icon>`:null}tooltipTemplate(t,r){let[s,d]=this.inputElements,m=r==="end"?d:s,b=Number(m==null?void 0:m.value);if(typeof b!="number"||Number.isNaN(b)||this.max===this.min||this.disabled||this.hideTooltip)return j;let x=(b-this.min)/(this.max-this.min);return _`<div part="slider-tooltip" aria-hidden="true" style="--mdc-slider-tooltip-left: ${x}">
6800
- ${t||b}
6801
- </div> `}updateTrackStyling(){let t="var(--mdc-slider-progress-color)",r="var(--mdc-slider-track-color)";if((this.disabled||this.softDisabled)&&(t="var(--mds-color-theme-control-active-disabled)",r="var(--mds-color-theme-control-inactive-disabled)"),this.range){if(!this.inputElements[1])return;let s=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,(s-this.min)/(m-this.min)*100)),x=Math.max(0,Math.min(100,(d-this.min)/(m-this.min)*100));this.inputElements[1].style.background=`linear-gradient(
6800
+ ></mdc-icon>`:null}tooltipTemplate(t,r){let[s,d]=this.inputElements,m=r==="end"?d:s,g=Number(m==null?void 0:m.value);if(typeof g!="number"||Number.isNaN(g)||this.max===this.min||this.disabled||this.hideTooltip)return j;let x=(g-this.min)/(this.max-this.min);return _`<div part="slider-tooltip" aria-hidden="true" style="--mdc-slider-tooltip-left: ${x}">
6801
+ ${t||g}
6802
+ </div> `}updateTrackStyling(){let t="var(--mdc-slider-progress-color)",r="var(--mdc-slider-track-color)";if((this.disabled||this.softDisabled)&&(t="var(--mds-color-theme-control-active-disabled)",r="var(--mds-color-theme-control-inactive-disabled)"),this.range){if(!this.inputElements[1])return;let s=Number(this.inputElements[0].value),d=Number(this.inputElements[1].value),m=Number(this.inputElements[0].max)||1,g=Math.max(0,Math.min(100,(s-this.min)/(m-this.min)*100)),x=Math.max(0,Math.min(100,(d-this.min)/(m-this.min)*100));this.inputElements[1].style.background=`linear-gradient(
6802
6803
  to right,
6803
6804
  ${r} 0%,
6804
- ${r} ${b}%,
6805
- ${t} ${b}%,
6805
+ ${r} ${g}%,
6806
+ ${t} ${g}%,
6806
6807
  ${t} ${x}%,
6807
6808
  ${r} ${x}%,
6808
6809
  ${r} 100%
6809
6810
  )`}else{if(!this.inputElements[0])return;let s=Number(this.inputElements[0].value),d=Number(this.inputElements[0].max)||1,m=Math.max(0,Math.min(100,(s-this.min)/(d-this.min)*100));this.inputElements[0].style.background=`linear-gradient(to right, ${t} ${m}%, ${r} ${m}%)`}}onInput(t){let r=t.target;this.value=Number(r.value)}onChange(t){let r=t.target;this.value=Number(r.value),this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value}}))}onChangeStart(t){let r=t.target;this.valueStart=Number(r.value),this.dispatchEvent(new CustomEvent("change",{detail:{valueStart:this.valueStart,valueEnd:this.valueEnd}}))}onChangeEnd(t){let r=t.target;this.valueEnd=Number(r.value),this.dispatchEvent(new CustomEvent("change",{detail:{valueEnd:this.valueEnd,valueStart:this.valueStart}}))}getTickStyles(t){if(this.max===this.min)return"";let r=(t-this.min)/(this.max-this.min),s=[];if(this.inputElements[0]){let m=(Number(this.inputElements[0].value)-this.min)/(this.max-this.min);s.push(m)}if(this.range&&this.inputElements[1]){let m=(Number(this.inputElements[1].value)-this.min)/(this.max-this.min);s.push(m)}return s.includes(r)?"display:none;":`--mdc-slider-tick-left:${r};`}renderTicks(){let t=[];if(this.step&&this.step>1)for(let r=this.min;r<=this.max;r+=this.step)t.push(r);return this.step>1?_` <div part="slider-ticks">
6810
6811
  ${ob(t,r=>r,r=>_`<span part="slider-tick" style=${this.getTickStyles(r)}></span>`)}
6811
- </div>`:j}render(){var t,r,s,d,m,b,x,L,U,K,Z,X,it,dt,lt,gt,St;return _`
6812
+ </div>`:j}render(){var t,r,s,d,m,g,x,L,B,K,Z,X,it,dt,lt,gt,St;return _`
6812
6813
  ${this.label?_`<label part="slider-label" for="single-slider">${this.label}</label>`:null}
6813
6814
  <div part="slider-track">
6814
6815
  ${this.iconTemplate(this.leadingIcon,"leading-icon")}
@@ -6846,7 +6847,7 @@
6846
6847
  min="${this.min}"
6847
6848
  max="${this.max}"
6848
6849
  step="${(m=this.step)!=null?m:1}"
6849
- .value="${String((b=this.valueEnd)!=null?b:this.max)}"
6850
+ .value="${String((g=this.valueEnd)!=null?g:this.max)}"
6850
6851
  ?disabled="${this.disabled}"
6851
6852
  name="${(x=this.nameEnd)!=null?x:""}"
6852
6853
  aria-valuemin="${this.min}"
@@ -6870,7 +6871,7 @@
6870
6871
  type="range"
6871
6872
  min="${this.min}"
6872
6873
  max="${this.max}"
6873
- step="${(U=this.step)!=null?U:1}"
6874
+ step="${(B=this.step)!=null?B:1}"
6874
6875
  .value="${String((K=this.value)!=null?K:this.min)}"
6875
6876
  ?disabled="${this.disabled}"
6876
6877
  name="${(Z=this.name)!=null?Z:""}"
@@ -6896,7 +6897,7 @@
6896
6897
  ${this.labelStart?_`<span part="slider-label-start">${this.labelStart}</span>`:null}
6897
6898
  ${this.labelEnd?_`<span part="slider-label-end">${this.labelEnd}</span>`:null}
6898
6899
  </div>
6899
- `}};Nt.styles=[...q.styles,...ab],p([vt()],Nt.prototype,"thumbFocused",2),p([vt()],Nt.prototype,"thumbHovered",2),p([u({reflect:!0,type:Boolean})],Nt.prototype,"range",2),p([u({reflect:!0,type:Number})],Nt.prototype,"min",2),p([u({reflect:!0,type:Number})],Nt.prototype,"max",2),p([u({reflect:!0,type:Boolean})],Nt.prototype,"disabled",2),p([u({reflect:!0,type:Boolean,attribute:"soft-disabled"})],Nt.prototype,"softDisabled",2),p([u({reflect:!0,type:String,attribute:"leading-icon"})],Nt.prototype,"leadingIcon",2),p([u({reflect:!0,type:String,attribute:"trailing-icon"})],Nt.prototype,"trailingIcon",2),p([u({reflect:!0,type:Number})],Nt.prototype,"value",2),p([u({reflect:!0,type:Number,attribute:"value-start"})],Nt.prototype,"valueStart",2),p([u({reflect:!0,type:Number,attribute:"value-end"})],Nt.prototype,"valueEnd",2),p([u({reflect:!0,type:Number})],Nt.prototype,"step",2),p([u({reflect:!0,type:String})],Nt.prototype,"label",2),p([u({reflect:!0,type:String,attribute:"label-start"})],Nt.prototype,"labelStart",2),p([u({reflect:!0,type:String,attribute:"label-end"})],Nt.prototype,"labelEnd",2),p([u({reflect:!0,type:String,attribute:"value-label"})],Nt.prototype,"valueLabel",2),p([u({reflect:!0,type:String,attribute:"value-label-start"})],Nt.prototype,"valueLabelStart",2),p([u({reflect:!0,type:String,attribute:"value-label-end"})],Nt.prototype,"valueLabelEnd",2),p([u({reflect:!0,type:String})],Nt.prototype,"name",2),p([u({reflect:!0,type:String,attribute:"name-start"})],Nt.prototype,"nameStart",2),p([u({reflect:!0,type:String,attribute:"name-end"})],Nt.prototype,"nameEnd",2),p([u({reflect:!0,type:String,attribute:"data-aria-label"})],Nt.prototype,"dataAriaLabel",2),p([u({reflect:!0,type:String,attribute:"start-aria-label"})],Nt.prototype,"startAriaLabel",2),p([u({reflect:!0,type:String,attribute:"end-aria-label"})],Nt.prototype,"endAriaLabel",2),p([u({reflect:!0,type:String,attribute:"data-aria-valuetext"})],Nt.prototype,"dataAriaValuetext",2),p([u({reflect:!0,type:String,attribute:"start-aria-valuetext"})],Nt.prototype,"startAriaValuetext",2),p([u({reflect:!0,type:String,attribute:"end-aria-valuetext"})],Nt.prototype,"endAriaValueText",2),p([u({reflect:!0,type:Boolean,attribute:"hide-tooltip"})],Nt.prototype,"hideTooltip",2),p([Lm('input[type="range"]')],Nt.prototype,"inputElements",2);var hp=Nt;hp.register(sb);var zA=hp;var VA=B`
6900
+ `}};Nt.styles=[...q.styles,...ab],p([vt()],Nt.prototype,"thumbFocused",2),p([vt()],Nt.prototype,"thumbHovered",2),p([u({reflect:!0,type:Boolean})],Nt.prototype,"range",2),p([u({reflect:!0,type:Number})],Nt.prototype,"min",2),p([u({reflect:!0,type:Number})],Nt.prototype,"max",2),p([u({reflect:!0,type:Boolean})],Nt.prototype,"disabled",2),p([u({reflect:!0,type:Boolean,attribute:"soft-disabled"})],Nt.prototype,"softDisabled",2),p([u({reflect:!0,type:String,attribute:"leading-icon"})],Nt.prototype,"leadingIcon",2),p([u({reflect:!0,type:String,attribute:"trailing-icon"})],Nt.prototype,"trailingIcon",2),p([u({reflect:!0,type:Number})],Nt.prototype,"value",2),p([u({reflect:!0,type:Number,attribute:"value-start"})],Nt.prototype,"valueStart",2),p([u({reflect:!0,type:Number,attribute:"value-end"})],Nt.prototype,"valueEnd",2),p([u({reflect:!0,type:Number})],Nt.prototype,"step",2),p([u({reflect:!0,type:String})],Nt.prototype,"label",2),p([u({reflect:!0,type:String,attribute:"label-start"})],Nt.prototype,"labelStart",2),p([u({reflect:!0,type:String,attribute:"label-end"})],Nt.prototype,"labelEnd",2),p([u({reflect:!0,type:String,attribute:"value-label"})],Nt.prototype,"valueLabel",2),p([u({reflect:!0,type:String,attribute:"value-label-start"})],Nt.prototype,"valueLabelStart",2),p([u({reflect:!0,type:String,attribute:"value-label-end"})],Nt.prototype,"valueLabelEnd",2),p([u({reflect:!0,type:String})],Nt.prototype,"name",2),p([u({reflect:!0,type:String,attribute:"name-start"})],Nt.prototype,"nameStart",2),p([u({reflect:!0,type:String,attribute:"name-end"})],Nt.prototype,"nameEnd",2),p([u({reflect:!0,type:String,attribute:"data-aria-label"})],Nt.prototype,"dataAriaLabel",2),p([u({reflect:!0,type:String,attribute:"start-aria-label"})],Nt.prototype,"startAriaLabel",2),p([u({reflect:!0,type:String,attribute:"end-aria-label"})],Nt.prototype,"endAriaLabel",2),p([u({reflect:!0,type:String,attribute:"data-aria-valuetext"})],Nt.prototype,"dataAriaValuetext",2),p([u({reflect:!0,type:String,attribute:"start-aria-valuetext"})],Nt.prototype,"startAriaValuetext",2),p([u({reflect:!0,type:String,attribute:"end-aria-valuetext"})],Nt.prototype,"endAriaValueText",2),p([u({reflect:!0,type:Boolean,attribute:"hide-tooltip"})],Nt.prototype,"hideTooltip",2),p([Om('input[type="range"]')],Nt.prototype,"inputElements",2);var pp=Nt;pp.register(sb);var zA=pp;var VA=U`
6900
6901
  :host {
6901
6902
  --mdc-listbox-max-height: auto;
6902
6903
 
@@ -6913,7 +6914,7 @@
6913
6914
  ::slotted(mdc-option) {
6914
6915
  width: 100%;
6915
6916
  }
6916
- `,nb=[VA];var jo=class extends Os(Yi(q)){constructor(){super();this.loop="false";this.name=void 0;this.value=void 0;this.itemsStore=new Ur(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=rt.LISTBOX}handleModifiedEvent(t){let r=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(r);break;case"disabled":this.itemsStore.delete(r);break;case"selected":this.setSelectedOption(r,!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(`${mr}:not([disabled])`)}handleClick(t){let r=t.target;this.isValidItem(r)&&this.setSelectedOption(r)}getFirstSelectedOption(){return this.itemsStore.items.find(t=>t.matches("[selected]"))}updated(t){if(t.has("value")){let r=this.itemsStore.items.find(s=>s.value===this.value);r?this.setSelectedOption(r,!1):this.setSelectedOption(null,!1)}}setSelectedOption(t,r=!0,s=!0){t!=null&&t.disabled||t!=null&&t.softDisabled||(s&&this.updateSelectedInChildOptions(t),this.selectedOption=t,this.value=t==null?void 0:t.value,r&&this.fireEvents())}updateSelectedInChildOptions(t){this.itemsStore.items.forEach(r=>r.removeAttribute("selected")),t==null||t.toggleAttribute("selected",!0)}fireEvents(){this.selectedOption&&this.dispatchEvent(new Event("change",{composed:!0,bubbles:!0}))}render(){return _`<slot part="container"></slot>`}};jo.styles=[...sh.styles,...nb],p([u({type:String,reflect:!0})],jo.prototype,"name",2),p([u({type:String,reflect:!0})],jo.prototype,"value",2),p([vt()],jo.prototype,"selectedOption",2);var pp=jo;var lb=z.constructTagName("listbox");pp.register(lb);var BA=pp;var db=z.constructTagName("banner"),Ws={CUSTOM:"custom",INFORMATIONAL:"informational",WARNING:"warning",ERROR:"error",SUCCESS:"success"},fn={INFORMATIONAL_ICON_NAME:"info-circle-bold",SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},kd={VARIANT:Ws.CUSTOM,PREFIX_ICON_SIZE:1.5};var UA=B`
6917
+ `,nb=[VA];var jo=class extends Rs(Yi(q)){constructor(){super();this.loop="false";this.name=void 0;this.value=void 0;this.itemsStore=new Ur(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=rt.LISTBOX}handleModifiedEvent(t){let r=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(r);break;case"disabled":this.itemsStore.delete(r);break;case"selected":this.setSelectedOption(r,!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(`${mr}:not([disabled])`)}handleClick(t){let r=t.target;this.isValidItem(r)&&this.setSelectedOption(r)}getFirstSelectedOption(){return this.itemsStore.items.find(t=>t.matches("[selected]"))}updated(t){if(t.has("value")){let r=this.itemsStore.items.find(s=>s.value===this.value);r?this.setSelectedOption(r,!1):this.setSelectedOption(null,!1)}}setSelectedOption(t,r=!0,s=!0){t!=null&&t.disabled||t!=null&&t.softDisabled||(s&&this.updateSelectedInChildOptions(t),this.selectedOption=t,this.value=t==null?void 0:t.value,r&&this.fireEvents())}updateSelectedInChildOptions(t){this.itemsStore.items.forEach(r=>r.removeAttribute("selected")),t==null||t.toggleAttribute("selected",!0)}fireEvents(){this.selectedOption&&this.dispatchEvent(new Event("change",{composed:!0,bubbles:!0}))}render(){return _`<slot part="container"></slot>`}};jo.styles=[...ah.styles,...nb],p([u({type:String,reflect:!0})],jo.prototype,"name",2),p([u({type:String,reflect:!0})],jo.prototype,"value",2),p([vt()],jo.prototype,"selectedOption",2);var mp=jo;var lb=z.constructTagName("listbox");mp.register(lb);var BA=mp;var db=z.constructTagName("banner"),Ws={CUSTOM:"custom",INFORMATIONAL:"informational",WARNING:"warning",ERROR:"error",SUCCESS:"success"},fn={INFORMATIONAL_ICON_NAME:"info-circle-bold",SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},wd={VARIANT:Ws.CUSTOM,PREFIX_ICON_SIZE:1.5};var UA=U`
6917
6918
  :host {
6918
6919
  --mdc-banner-background-color: var(--mds-color-theme-background-solid-primary-normal);
6919
6920
  --mdc-banner-border-color: var(--mds-color-theme-outline-secondary-normal);
@@ -6996,10 +6997,10 @@
6996
6997
  gap: var(--mdc-banner-gap);
6997
6998
  flex-wrap: wrap;
6998
6999
  }
6999
- `,cb=[UA];var hb=n=>{switch(n){case Ws.INFORMATIONAL:return fn.INFORMATIONAL_ICON_NAME;case Ws.SUCCESS:return fn.SUCCESS_ICON_NAME;case Ws.WARNING:return fn.WARNING_ICON_NAME;case Ws.ERROR:return fn.ERROR_ICON_NAME;default:return null}};var Ko=class extends q{constructor(){super(...arguments);this.variant=kd.VARIANT;this.label=""}renderIcon(t){return t?_`
7000
+ `,cb=[UA];var hb=n=>{switch(n){case Ws.INFORMATIONAL:return fn.INFORMATIONAL_ICON_NAME;case Ws.SUCCESS:return fn.SUCCESS_ICON_NAME;case Ws.WARNING:return fn.WARNING_ICON_NAME;case Ws.ERROR:return fn.ERROR_ICON_NAME;default:return null}};var Ko=class extends q{constructor(){super(...arguments);this.variant=wd.VARIANT;this.label=""}renderIcon(t){return t?_`
7000
7001
  <mdc-icon
7001
7002
  name="${t}"
7002
- size="${kd.PREFIX_ICON_SIZE}"
7003
+ size="${wd.PREFIX_ICON_SIZE}"
7003
7004
  part="leading-icon"
7004
7005
  length-unit="rem"
7005
7006
  ></mdc-icon>
@@ -7014,7 +7015,7 @@
7014
7015
  <slot name="content">
7015
7016
  <div part="leading">
7016
7017
  <slot name="leading-icon">
7017
- ${this.variant!==kd.VARIANT?this.renderIcon((t=hb(this.variant))!=null?t:""):j}
7018
+ ${this.variant!==wd.VARIANT?this.renderIcon((t=hb(this.variant))!=null?t:""):j}
7018
7019
  </slot>
7019
7020
  <slot name="leading-text">
7020
7021
  <div part="leading-text">${this.getTextLabel()}</div>
@@ -7024,7 +7025,7 @@
7024
7025
  <slot name="trailing-actions"></slot>
7025
7026
  </div>
7026
7027
  </slot>
7027
- `}};Ko.styles=[...q.styles,...cb],p([u({type:String,reflect:!0})],Ko.prototype,"variant",2),p([u({type:String,reflect:!0})],Ko.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],Ko.prototype,"secondaryLabel",2);var mp=Ko;mp.register(db);var HA=mp;})();
7028
+ `}};Ko.styles=[...q.styles,...cb],p([u({type:String,reflect:!0})],Ko.prototype,"variant",2),p([u({type:String,reflect:!0})],Ko.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],Ko.prototype,"secondaryLabel",2);var up=Ko;up.register(db);var HA=up;})();
7028
7029
  /*! Bundled license information:
7029
7030
 
7030
7031
  lottie-web/build/player/lottie_light.js: