@momentum-design/components 0.118.4 → 0.118.6

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.
Files changed (30) hide show
  1. package/dist/browser/index.js +259 -263
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/checkbox/checkbox.component.js +2 -2
  4. package/dist/components/checkbox/checkbox.styles.js +13 -8
  5. package/dist/components/combobox/combobox.component.js +1 -1
  6. package/dist/components/formfieldgroup/formfieldgroup.styles.js +0 -4
  7. package/dist/components/formfieldwrapper/formfieldwrapper.component.d.ts +2 -2
  8. package/dist/components/formfieldwrapper/formfieldwrapper.component.js +5 -7
  9. package/dist/components/formfieldwrapper/formfieldwrapper.styles.js +22 -16
  10. package/dist/components/popover/index.js +2 -0
  11. package/dist/components/popover/popover.component.d.ts +44 -8
  12. package/dist/components/popover/popover.component.js +53 -11
  13. package/dist/components/popover/popover.portal.component.d.ts +29 -0
  14. package/dist/components/popover/popover.portal.component.js +37 -0
  15. package/dist/components/popover/popover.utils.d.ts +15 -0
  16. package/dist/components/popover/popover.utils.js +32 -3
  17. package/dist/components/progressbar/progressbar.styles.js +3 -5
  18. package/dist/components/radio/radio.component.js +2 -2
  19. package/dist/components/radio/radio.styles.js +8 -12
  20. package/dist/components/toggle/toggle.component.d.ts +0 -3
  21. package/dist/components/toggle/toggle.component.js +0 -3
  22. package/dist/components/toggle/toggle.styles.js +11 -14
  23. package/dist/custom-elements.json +355 -347
  24. package/dist/react/index.d.ts +2 -2
  25. package/dist/react/index.js +2 -2
  26. package/dist/react/popover/index.d.ts +43 -7
  27. package/dist/react/popover/index.js +43 -7
  28. package/dist/react/toggle/index.d.ts +0 -3
  29. package/dist/react/toggle/index.js +0 -3
  30. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- "use strict";(()=>{var Hb=Object.create;var Rd=Object.defineProperty;var Yp=Object.getOwnPropertyDescriptor;var Gb=Object.getOwnPropertyNames;var Yb=Object.getPrototypeOf,Wb=Object.prototype.hasOwnProperty;var jb=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports);var Kb=(n,o,t,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of Gb(o))!Wb.call(n,a)&&a!==t&&Rd(n,a,{get:()=>o[a],enumerable:!(i=Yp(o,a))||i.enumerable});return n};var qb=(n,o,t)=>(t=n!=null?Hb(Yb(n)):{},Kb(o||!n||!n.__esModule?Rd(t,"default",{value:n,enumerable:!0}):t,n));var p=(n,o,t,i)=>{for(var a=i>1?void 0:i?Yp(o,t):o,d=n.length-1,m;d>=0;d--)(m=n[d])&&(a=(i?m(o,t,a):m(a))||a);return i&&a&&Rd(o,t,a),a};var Hm=jb((Aa,nl)=>{typeof navigator<"u"&&function(n,o){typeof Aa=="object"&&typeof nl<"u"?nl.exports=o():typeof define=="function"&&define.amd?define(o):(n=typeof globalThis<"u"?globalThis:n||self,n.lottie=o())}(Aa,function(){"use strict";var n="http://www.w3.org/2000/svg",o="",t=!1,i=-999999,a=function(r){t=!!r},d=function(){return t},m=function(r){o=r},b=function(){return o};function C(e){return document.createElement(e)}function L(e,r){var s,l=e.length,h;for(s=0;s<l;s+=1){h=e[s].prototype;for(var c in h)Object.prototype.hasOwnProperty.call(h,c)&&(r.prototype[c]=h[c])}}function W(e,r){return Object.getOwnPropertyDescriptor(e,r)}function q(e){function r(){}return r.prototype=e,r}var it=function(){function e(r){this.audios=[],this.audioFactory=r,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(s){this.audios.push(s)},pause:function(){var s,l=this.audios.length;for(s=0;s<l;s+=1)this.audios[s].pause()},resume:function(){var s,l=this.audios.length;for(s=0;s<l;s+=1)this.audios[s].resume()},setRate:function(s){var l,h=this.audios.length;for(l=0;l<h;l+=1)this.audios[l].setRate(s)},createAudio:function(s){return this.audioFactory?this.audioFactory(s):window.Howl?new window.Howl({src:[s]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(s){this.audioFactory=s},setVolume:function(s){this._volume=s,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var s,l=this.audios.length;for(s=0;s<l;s+=1)this.audios[s].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),X=function(){function e(s,l){var h=0,c=[],v;switch(s){case"int16":case"uint8c":v=1;break;default:v=1.1;break}for(h=0;h<l;h+=1)c.push(v);return c}function r(s,l){return s==="float32"?new Float32Array(l):s==="int16"?new Int16Array(l):s==="uint8c"?new Uint8ClampedArray(l):e(s,l)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:e}();function tt(e){return Array.apply(null,{length:e})}function lt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?lt=function(s){return typeof s}:lt=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},lt(e)}var dt=!0,vt=null,At=null,wt="",Wt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),$t=!1,Bt=Math.pow,Zt=Math.sqrt,le=Math.floor,ur=Math.max,we=Math.min,je={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r,s=e.length;for(r=0;r<s;r+=1)je[e[r]]=Math[e[r]]})();function fr(){return{}}je.random=Math.random,je.abs=function(e){var r=lt(e);if(r==="object"&&e.length){var s=tt(e.length),l,h=e.length;for(l=0;l<h;l+=1)s[l]=Math.abs(e[l]);return s}return Math.abs(e)};var vr=150,Ct=Math.PI/180,pe=.5519;function Ke(e){$t=!!e}function qe(e){return $t?Math.round(e):e}function Xe(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function Ze(e,r,s,l){this.type=e,this.currentTime=r,this.totalTime=s,this.direction=l<0?-1:1}function mn(e,r){this.type=e,this.direction=r<0?-1:1}function Qh(e,r,s,l){this.type=e,this.currentLoop=s,this.totalLoops=r,this.direction=l<0?-1:1}function Jh(e,r,s){this.type=e,this.firstFrame=r,this.totalFrames=s}function tp(e,r){this.type=e,this.target=r}function Hg(e,r){this.type="renderFrameError",this.nativeError=e,this.currentTime=r}function Gg(e){this.type="configError",this.nativeError=e}function yA(e,r){this.type=e,this.nativeError=r}var Ne=function(){var e=0;return function(){return e+=1,wt+"__lottie_element_"+e}}();function Ed(e,r,s){var l,h,c,v,x,g,k,M;switch(v=Math.floor(e*6),x=e*6-v,g=s*(1-r),k=s*(1-x*r),M=s*(1-(1-x)*r),v%6){case 0:l=s,h=M,c=g;break;case 1:l=k,h=s,c=g;break;case 2:l=g,h=s,c=M;break;case 3:l=g,h=k,c=s;break;case 4:l=M,h=g,c=s;break;case 5:l=s,h=g,c=k;break;default:break}return[l,h,c]}function Td(e,r,s){var l=Math.max(e,r,s),h=Math.min(e,r,s),c=l-h,v,x=l===0?0:c/l,g=l/255;switch(l){case h:v=0;break;case e:v=r-s+c*(r<s?6:0),v/=6*c;break;case r:v=s-e+c*2,v/=6*c;break;case s:v=e-r+c*4,v/=6*c;break;default:break}return[v,x,g]}function ep(e,r){var s=Td(e[0]*255,e[1]*255,e[2]*255);return s[1]+=r,s[1]>1?s[1]=1:s[1]<=0&&(s[1]=0),Ed(s[0],s[1],s[2])}function rp(e,r){var s=Td(e[0]*255,e[1]*255,e[2]*255);return s[2]+=r,s[2]>1?s[2]=1:s[2]<0&&(s[2]=0),Ed(s[0],s[1],s[2])}function ip(e,r){var s=Td(e[0]*255,e[1]*255,e[2]*255);return s[0]+=r/360,s[0]>1?s[0]-=1:s[0]<0&&(s[0]+=1),Ed(s[0],s[1],s[2])}var EA=function(){var e=[],r,s;for(r=0;r<256;r+=1)s=r.toString(16),e[r]=s.length===1?"0"+s:s;return function(l,h,c){return l<0&&(l=0),h<0&&(h=0),c<0&&(c=0),"#"+e[l]+e[h]+e[c]}}(),Yg=function(r){dt=!!r},Wg=function(){return dt},jg=function(r){vt=r},un=function(){return vt},TA=function(r){At=r},op=function(){return At},fn=function(r){vr=r},Hs=function(){return vr},Kg=function(r){wt=r},xA=function(){return wt};function Tt(e){return document.createElementNS(n,e)}function vn(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?vn=function(s){return typeof s}:vn=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},vn(e)}var Gs=function(){var e=1,r=[],s,l,h={onmessage:function(){},postMessage:function(R){s({data:R})}},c={postMessage:function(R){h.onmessage({data:R})}};function v(T){if(window.Worker&&window.Blob&&d()){var R=new Blob(["var _workerSelf = self; self.onmessage = ",T.toString()],{type:"text/javascript"}),D=URL.createObjectURL(R);return new Worker(D)}return s=T,h}function x(){l||(l=v(function(R){function D(){function z(Z,S){var P,f,y=Z.length,G,F,nt,ft;for(f=0;f<y;f+=1)if(P=Z[f],"ks"in P&&!P.completed){if(P.completed=!0,P.hasMask){var Et=P.masksProperties;for(F=Et.length,G=0;G<F;G+=1)if(Et[G].pt.k.i)w(Et[G].pt.k);else for(ft=Et[G].pt.k.length,nt=0;nt<ft;nt+=1)Et[G].pt.k[nt].s&&w(Et[G].pt.k[nt].s[0]),Et[G].pt.k[nt].e&&w(Et[G].pt.k[nt].e[0])}P.ty===0?(P.layers=E(P.refId,S),z(P.layers,S)):P.ty===4?A(P.shapes):P.ty===5&&xt(P)}}function N(Z,S){if(Z){var P=0,f=Z.length;for(P=0;P<f;P+=1)Z[P].t===1&&(Z[P].data.layers=E(Z[P].data.refId,S),z(Z[P].data.layers,S))}}function I(Z,S){for(var P=0,f=S.length;P<f;){if(S[P].id===Z)return S[P];P+=1}return null}function E(Z,S){var P=I(Z,S);return P?P.layers.__used?JSON.parse(JSON.stringify(P.layers)):(P.layers.__used=!0,P.layers):null}function A(Z){var S,P=Z.length,f,y;for(S=P-1;S>=0;S-=1)if(Z[S].ty==="sh")if(Z[S].ks.k.i)w(Z[S].ks.k);else for(y=Z[S].ks.k.length,f=0;f<y;f+=1)Z[S].ks.k[f].s&&w(Z[S].ks.k[f].s[0]),Z[S].ks.k[f].e&&w(Z[S].ks.k[f].e[0]);else Z[S].ty==="gr"&&A(Z[S].it)}function w(Z){var S,P=Z.i.length;for(S=0;S<P;S+=1)Z.i[S][0]+=Z.v[S][0],Z.i[S][1]+=Z.v[S][1],Z.o[S][0]+=Z.v[S][0],Z.o[S][1]+=Z.v[S][1]}function $(Z,S){var P=S?S.split("."):[100,100,100];return Z[0]>P[0]?!0:P[0]>Z[0]?!1:Z[1]>P[1]?!0:P[1]>Z[1]?!1:Z[2]>P[2]?!0:P[2]>Z[2]?!1:null}var U=function(){var Z=[4,4,14];function S(f){var y=f.t.d;f.t.d={k:[{s:y,t:0}]}}function P(f){var y,G=f.length;for(y=0;y<G;y+=1)f[y].ty===5&&S(f[y])}return function(f){if($(Z,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),Y=function(){var Z=[4,7,99];return function(S){if(S.chars&&!$(Z,S.v)){var P,f=S.chars.length;for(P=0;P<f;P+=1){var y=S.chars[P];y.data&&y.data.shapes&&(A(y.data.shapes),y.data.ip=0,y.data.op=99999,y.data.st=0,y.data.sr=1,y.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},S.chars[P].t||(y.data.shapes.push({ty:"no"}),y.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),J=function(){var Z=[5,7,15];function S(f){var y=f.t.p;typeof y.a=="number"&&(y.a={a:0,k:y.a}),typeof y.p=="number"&&(y.p={a:0,k:y.p}),typeof y.r=="number"&&(y.r={a:0,k:y.r})}function P(f){var y,G=f.length;for(y=0;y<G;y+=1)f[y].ty===5&&S(f[y])}return function(f){if($(Z,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),yt=function(){var Z=[4,1,9];function S(f){var y,G=f.length,F,nt;for(y=0;y<G;y+=1)if(f[y].ty==="gr")S(f[y].it);else if(f[y].ty==="fl"||f[y].ty==="st")if(f[y].c.k&&f[y].c.k[0].i)for(nt=f[y].c.k.length,F=0;F<nt;F+=1)f[y].c.k[F].s&&(f[y].c.k[F].s[0]/=255,f[y].c.k[F].s[1]/=255,f[y].c.k[F].s[2]/=255,f[y].c.k[F].s[3]/=255),f[y].c.k[F].e&&(f[y].c.k[F].e[0]/=255,f[y].c.k[F].e[1]/=255,f[y].c.k[F].e[2]/=255,f[y].c.k[F].e[3]/=255);else f[y].c.k[0]/=255,f[y].c.k[1]/=255,f[y].c.k[2]/=255,f[y].c.k[3]/=255}function P(f){var y,G=f.length;for(y=0;y<G;y+=1)f[y].ty===4&&S(f[y].shapes)}return function(f){if($(Z,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),pt=function(){var Z=[4,4,18];function S(f){var y,G=f.length,F,nt;for(y=G-1;y>=0;y-=1)if(f[y].ty==="sh")if(f[y].ks.k.i)f[y].ks.k.c=f[y].closed;else for(nt=f[y].ks.k.length,F=0;F<nt;F+=1)f[y].ks.k[F].s&&(f[y].ks.k[F].s[0].c=f[y].closed),f[y].ks.k[F].e&&(f[y].ks.k[F].e[0].c=f[y].closed);else f[y].ty==="gr"&&S(f[y].it)}function P(f){var y,G,F=f.length,nt,ft,Et,Nt;for(G=0;G<F;G+=1){if(y=f[G],y.hasMask){var Lt=y.masksProperties;for(ft=Lt.length,nt=0;nt<ft;nt+=1)if(Lt[nt].pt.k.i)Lt[nt].pt.k.c=Lt[nt].cl;else for(Nt=Lt[nt].pt.k.length,Et=0;Et<Nt;Et+=1)Lt[nt].pt.k[Et].s&&(Lt[nt].pt.k[Et].s[0].c=Lt[nt].cl),Lt[nt].pt.k[Et].e&&(Lt[nt].pt.k[Et].e[0].c=Lt[nt].cl)}y.ty===4&&S(y.shapes)}}return function(f){if($(Z,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}();function ot(Z){Z.__complete||(yt(Z),U(Z),Y(Z),J(Z),pt(Z),z(Z.layers,Z.assets),N(Z.chars,Z.assets),Z.__complete=!0)}function xt(Z){Z.t.a.length===0&&"m"in Z.t.p}var ct={};return ct.completeData=ot,ct.checkColors=yt,ct.checkChars=Y,ct.checkPathProperties=J,ct.checkShapes=pt,ct.completeLayers=z,ct}if(c.dataManager||(c.dataManager=D()),c.assetLoader||(c.assetLoader=function(){function z(I){var E=I.getResponseHeader("content-type");return E&&I.responseType==="json"&&E.indexOf("json")!==-1||I.response&&vn(I.response)==="object"?I.response:I.response&&typeof I.response=="string"?JSON.parse(I.response):I.responseText?JSON.parse(I.responseText):null}function N(I,E,A,w){var $,U=new XMLHttpRequest;try{U.responseType="json"}catch{}U.onreadystatechange=function(){if(U.readyState===4)if(U.status===200)$=z(U),A($);else try{$=z(U),A($)}catch(Y){w&&w(Y)}};try{U.open(["G","E","T"].join(""),I,!0)}catch{U.open(["G","E","T"].join(""),E+"/"+I,!0)}U.send()}return{load:N}}()),R.data.type==="loadAnimation")c.assetLoader.load(R.data.path,R.data.fullPath,function(z){c.dataManager.completeData(z),c.postMessage({id:R.data.id,payload:z,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})});else if(R.data.type==="complete"){var O=R.data.animation;c.dataManager.completeData(O),c.postMessage({id:R.data.id,payload:O,status:"success"})}else R.data.type==="loadData"&&c.assetLoader.load(R.data.path,R.data.fullPath,function(z){c.postMessage({id:R.data.id,payload:z,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})})}),l.onmessage=function(T){var R=T.data,D=R.id,O=r[D];r[D]=null,R.status==="success"?O.onComplete(R.payload):O.onError&&O.onError()})}function g(T,R){e+=1;var D="processId_"+e;return r[D]={onComplete:T,onError:R},D}function k(T,R,D){x();var O=g(R,D);l.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:O})}function M(T,R,D){x();var O=g(R,D);l.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:O})}function H(T,R,D){x();var O=g(R,D);l.postMessage({type:"complete",animation:T,id:O})}return{loadAnimation:k,loadData:M,completeAnimation:H}}(),qg=function(){var e=function(){var N=C("canvas");N.width=1,N.height=1;var I=N.getContext("2d");return I.fillStyle="rgba(0,0,0,0)",I.fillRect(0,0,1,1),N}();function r(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function s(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function l(N,I,E){var A="";if(N.e)A=N.p;else if(I){var w=N.p;w.indexOf("images/")!==-1&&(w=w.split("/")[1]),A=I+w}else A=E,A+=N.u?N.u:"",A+=N.p;return A}function h(N){var I=0,E=setInterval((function(){var A=N.getBBox();(A.width||I>500)&&(this._imageLoaded(),clearInterval(E)),I+=1}).bind(this),50)}function c(N){var I=l(N,this.assetsPath,this.path),E=Tt("image");Wt?this.testImageLoaded(E):E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),E.setAttributeNS("http://www.w3.org/1999/xlink","href",I),this._elementHelper.append?this._elementHelper.append(E):this._elementHelper.appendChild(E);var A={img:E,assetData:N};return A}function v(N){var I=l(N,this.assetsPath,this.path),E=C("img");E.crossOrigin="anonymous",E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),E.src=I;var A={img:E,assetData:N};return A}function x(N){var I={assetData:N},E=l(N,this.assetsPath,this.path);return Gs.loadData(E,(function(A){I.img=A,this._footageLoaded()}).bind(this),(function(){I.img={},this._footageLoaded()}).bind(this)),I}function g(N,I){this.imagesLoadedCb=I;var E,A=N.length;for(E=0;E<A;E+=1)N[E].layers||(!N[E].t||N[E].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(N[E]))):N[E].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(N[E]))))}function k(N){this.path=N||""}function M(N){this.assetsPath=N||""}function H(N){for(var I=0,E=this.images.length;I<E;){if(this.images[I].assetData===N)return this.images[I].img;I+=1}return null}function T(){this.imagesLoadedCb=null,this.images.length=0}function R(){return this.totalImages===this.loadedAssets}function D(){return this.totalFootages===this.loadedFootagesCount}function O(N,I){N==="svg"?(this._elementHelper=I,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function z(){this._imageLoaded=r.bind(this),this._footageLoaded=s.bind(this),this.testImageLoaded=h.bind(this),this.createFootageData=x.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return z.prototype={loadAssets:g,setAssetsPath:M,setPath:k,loadedImages:R,loadedFootages:D,destroy:T,getAsset:H,createImgData:v,createImageData:c,imageLoaded:r,footageLoaded:s,setCacheType:O},z}();function sp(){}sp.prototype={triggerEvent:function(r,s){if(this._cbs[r])for(var l=this._cbs[r],h=0;h<l.length;h+=1)l[h](s)},addEventListener:function(r,s){return this._cbs[r]||(this._cbs[r]=[]),this._cbs[r].push(s),(function(){this.removeEventListener(r,s)}).bind(this)},removeEventListener:function(r,s){if(!s)this._cbs[r]=null;else if(this._cbs[r]){for(var l=0,h=this._cbs[r].length;l<h;)this._cbs[r][l]===s&&(this._cbs[r].splice(l,1),l-=1,h-=1),l+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var Xg=function(){function e(r){for(var s=r.split(`\r
2
- `),l={},h,c=0,v=0;v<s.length;v+=1)h=s[v].split(":"),h.length===2&&(l[h[0]]=h[1].trim(),c+=1);if(c===0)throw new Error;return l}return function(r){for(var s=[],l=0;l<r.length;l+=1){var h=r[l],c={time:h.tm,duration:h.dr};try{c.payload=JSON.parse(r[l].cm)}catch{try{c.payload=e(r[l].cm)}catch{c.payload={name:r[l].cm}}}s.push(c)}return s}}(),Zg=function(){function e(r){this.compositions.push(r)}return function(){function r(s){for(var l=0,h=this.compositions.length;l<h;){if(this.compositions[l].data&&this.compositions[l].data.nm===s)return this.compositions[l].prepareFrame&&this.compositions[l].data.xt&&this.compositions[l].prepareFrame(this.currentFrame),this.compositions[l].compInterface;l+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=e,r}}(),Ys={},Qg=function(r,s){Ys[r]=s};function Jg(e){return Ys[e]}function tb(){if(Ys.canvas)return"canvas";for(var e in Ys)if(Ys[e])return e;return""}function Ws(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ws=function(s){return typeof s}:Ws=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ws(e)}var ut=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=Ne(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Wg(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Zg(),this.imagePreloader=new qg,this.audioController=it(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new Ze("drawnFrame",0,0,0),this.expressionsPlugin=un()};L([sp],ut),ut.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var r="svg";e.animType?r=e.animType:e.renderer&&(r=e.renderer);var s=Jg(r);this.renderer=new s(this,e.rendererSettings),this.imagePreloader.setCacheType(r,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=r,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Gs.loadAnimation(e.path,this.configAnimation,this.onSetupError))},ut.prototype.onSetupError=function(){this.trigger("data_failed")},ut.prototype.setupAnimation=function(e){Gs.completeAnimation(e,this.configAnimation)},ut.prototype.setData=function(e,r){r&&Ws(r)!=="object"&&(r=JSON.parse(r));var s={wrapper:e,animationData:r},l=e.attributes;s.path=l.getNamedItem("data-animation-path")?l.getNamedItem("data-animation-path").value:l.getNamedItem("data-bm-path")?l.getNamedItem("data-bm-path").value:l.getNamedItem("bm-path")?l.getNamedItem("bm-path").value:"",s.animType=l.getNamedItem("data-anim-type")?l.getNamedItem("data-anim-type").value:l.getNamedItem("data-bm-type")?l.getNamedItem("data-bm-type").value:l.getNamedItem("bm-type")?l.getNamedItem("bm-type").value:l.getNamedItem("data-bm-renderer")?l.getNamedItem("data-bm-renderer").value:l.getNamedItem("bm-renderer")?l.getNamedItem("bm-renderer").value:tb()||"canvas";var h=l.getNamedItem("data-anim-loop")?l.getNamedItem("data-anim-loop").value:l.getNamedItem("data-bm-loop")?l.getNamedItem("data-bm-loop").value:l.getNamedItem("bm-loop")?l.getNamedItem("bm-loop").value:"";h==="false"?s.loop=!1:h==="true"?s.loop=!0:h!==""&&(s.loop=parseInt(h,10));var c=l.getNamedItem("data-anim-autoplay")?l.getNamedItem("data-anim-autoplay").value:l.getNamedItem("data-bm-autoplay")?l.getNamedItem("data-bm-autoplay").value:l.getNamedItem("bm-autoplay")?l.getNamedItem("bm-autoplay").value:!0;s.autoplay=c!=="false",s.name=l.getNamedItem("data-name")?l.getNamedItem("data-name").value:l.getNamedItem("data-bm-name")?l.getNamedItem("data-bm-name").value:l.getNamedItem("bm-name")?l.getNamedItem("bm-name").value:"";var v=l.getNamedItem("data-anim-prerender")?l.getNamedItem("data-anim-prerender").value:l.getNamedItem("data-bm-prerender")?l.getNamedItem("data-bm-prerender").value:l.getNamedItem("bm-prerender")?l.getNamedItem("bm-prerender").value:"";v==="false"&&(s.prerender=!1),s.path?this.setParams(s):this.trigger("destroy")},ut.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var r=this.animationData.layers,s,l=r.length,h=e.layers,c,v=h.length;for(c=0;c<v;c+=1)for(s=0;s<l;){if(r[s].id===h[c].id){r[s]=h[c];break}s+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(l=e.assets.length,s=0;s<l;s+=1)this.animationData.assets.push(e.assets[s]);this.animationData.__complete=!1,Gs.completeAnimation(this.animationData,this.onSegmentComplete)},ut.prototype.onSegmentComplete=function(e){this.animationData=e;var r=un();r&&r.initExpressions(this),this.loadNextSegment()},ut.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var r=e.shift();this.timeCompleted=r.time*this.frameRate;var s=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Gs.loadData(s,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},ut.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},ut.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},ut.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},ut.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=Xg(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},ut.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},ut.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=un();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},ut.prototype.resize=function(e,r){var s=typeof e=="number"?e:void 0,l=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(s,l)},ut.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},ut.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},ut.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},ut.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},ut.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},ut.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},ut.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},ut.prototype.getMarkerData=function(e){for(var r,s=0;s<this.markers.length;s+=1)if(r=this.markers[s],r.payload&&r.payload.name===e)return r;return null},ut.prototype.goToAndStop=function(e,r,s){if(!(s&&this.name!==s)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&this.goToAndStop(h.time,!0)}else r?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},ut.prototype.goToAndPlay=function(e,r,s){if(!(s&&this.name!==s)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&(h.duration?this.playSegments([h.time,h.time+h.duration],!0):this.goToAndStop(h.time,!0))}else this.goToAndStop(l,r,s);this.play()}},ut.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var r=this.currentRawFrame+e*this.frameModifier,s=!1;r>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(r>this.totalFrames?r%this.totalFrames:0)||(s=!0,r=this.totalFrames-1):r>=this.totalFrames?(this.playCount+=1,this.checkSegments(r%this.totalFrames)||(this.setCurrentRawFrameValue(r%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(r):r<0?this.checkSegments(r%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+r%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(s=!0,r=0)):this.setCurrentRawFrameValue(r),s&&(this.setCurrentRawFrameValue(r),this.pause(),this.trigger("complete"))}},ut.prototype.adjustSegment=function(e,r){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-r)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+r)),this.trigger("segmentStart")},ut.prototype.setSegment=function(e,r){var s=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?s=e:this.currentRawFrame+this.firstFrame>r&&(s=r-e)),this.firstFrame=e,this.totalFrames=r-e,this.timeCompleted=this.totalFrames,s!==-1&&this.goToAndStop(s,!0)},ut.prototype.playSegments=function(e,r){if(r&&(this.segments.length=0),Ws(e[0])==="object"){var s,l=e.length;for(s=0;s<l;s+=1)this.segments.push(e[s])}else this.segments.push(e);this.segments.length&&r&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},ut.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},ut.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},ut.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},ut.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},ut.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},ut.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},ut.prototype.setLoop=function(e){this.loop=e},ut.prototype.setVolume=function(e,r){r&&this.name!==r||this.audioController.setVolume(e)},ut.prototype.getVolume=function(){return this.audioController.getVolume()},ut.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},ut.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},ut.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},ut.prototype.getPath=function(){return this.path},ut.prototype.getAssetsPath=function(e){var r="";if(e.e)r=e.p;else if(this.assetsPath){var s=e.p;s.indexOf("images/")!==-1&&(s=s.split("/")[1]),r=this.assetsPath+s}else r=this.path,r+=e.u?e.u:"",r+=e.p;return r},ut.prototype.getAssetData=function(e){for(var r=0,s=this.assets.length;r<s;){if(e===this.assets[r].id)return this.assets[r];r+=1}return null},ut.prototype.hide=function(){this.renderer.hide()},ut.prototype.show=function(){this.renderer.show()},ut.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},ut.prototype.updateDocumentData=function(e,r,s){try{var l=this.renderer.getElementByPath(e);l.updateDocumentData(r,s)}catch{}},ut.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new Ze(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new Qh(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new mn(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new Jh(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new tp(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new Ze(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new Qh(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new mn(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new Jh(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new tp(e,this))},ut.prototype.triggerRenderFrameError=function(e){var r=new Hg(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},ut.prototype.triggerConfigError=function(e){var r=new Gg(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var Qt=function(){var e={},r=[],s=0,l=0,h=0,c=!0,v=!1;function x(S){for(var P=0,f=S.target;P<l;)r[P].animation===f&&(r.splice(P,1),P-=1,l-=1,f.isPaused||H()),P+=1}function g(S,P){if(!S)return null;for(var f=0;f<l;){if(r[f].elem===S&&r[f].elem!==null)return r[f].animation;f+=1}var y=new ut;return T(y,S),y.setData(S,P),y}function k(){var S,P=r.length,f=[];for(S=0;S<P;S+=1)f.push(r[S].animation);return f}function M(){h+=1,yt()}function H(){h-=1}function T(S,P){S.addEventListener("destroy",x),S.addEventListener("_active",M),S.addEventListener("_idle",H),r.push({elem:P,animation:S}),l+=1}function R(S){var P=new ut;return T(P,null),P.setParams(S),P}function D(S,P){var f;for(f=0;f<l;f+=1)r[f].animation.setSpeed(S,P)}function O(S,P){var f;for(f=0;f<l;f+=1)r[f].animation.setDirection(S,P)}function z(S){var P;for(P=0;P<l;P+=1)r[P].animation.play(S)}function N(S){var P=S-s,f;for(f=0;f<l;f+=1)r[f].animation.advanceTime(P);s=S,h&&!v?window.requestAnimationFrame(N):c=!0}function I(S){s=S,window.requestAnimationFrame(N)}function E(S){var P;for(P=0;P<l;P+=1)r[P].animation.pause(S)}function A(S,P,f){var y;for(y=0;y<l;y+=1)r[y].animation.goToAndStop(S,P,f)}function w(S){var P;for(P=0;P<l;P+=1)r[P].animation.stop(S)}function $(S){var P;for(P=0;P<l;P+=1)r[P].animation.togglePause(S)}function U(S){var P;for(P=l-1;P>=0;P-=1)r[P].animation.destroy(S)}function Y(S,P,f){var y=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),G,F=y.length;for(G=0;G<F;G+=1)f&&y[G].setAttribute("data-bm-type",f),g(y[G],S);if(P&&F===0){f||(f="svg");var nt=document.getElementsByTagName("body")[0];nt.innerText="";var ft=C("div");ft.style.width="100%",ft.style.height="100%",ft.setAttribute("data-bm-type",f),nt.appendChild(ft),g(ft,S)}}function J(){var S;for(S=0;S<l;S+=1)r[S].animation.resize()}function yt(){!v&&h&&c&&(window.requestAnimationFrame(I),c=!1)}function pt(){v=!0}function ot(){v=!1,yt()}function xt(S,P){var f;for(f=0;f<l;f+=1)r[f].animation.setVolume(S,P)}function ct(S){var P;for(P=0;P<l;P+=1)r[P].animation.mute(S)}function Z(S){var P;for(P=0;P<l;P+=1)r[P].animation.unmute(S)}return e.registerAnimation=g,e.loadAnimation=R,e.setSpeed=D,e.setDirection=O,e.play=z,e.pause=E,e.stop=w,e.togglePause=$,e.searchAnimations=Y,e.resize=J,e.goToAndStop=A,e.destroy=U,e.freeze=pt,e.unfreeze=ot,e.setVolume=xt,e.mute=ct,e.unmute=Z,e.getRegisteredAnimations=k,e}(),js=function(){var e={};e.getBezierEasing=s;var r={};function s(I,E,A,w,$){var U=$||("bez_"+I+"_"+E+"_"+A+"_"+w).replace(/\./g,"p");if(r[U])return r[U];var Y=new N([I,E,A,w]);return r[U]=Y,Y}var l=4,h=.001,c=1e-7,v=10,x=11,g=1/(x-1),k=typeof Float32Array=="function";function M(I,E){return 1-3*E+3*I}function H(I,E){return 3*E-6*I}function T(I){return 3*I}function R(I,E,A){return((M(E,A)*I+H(E,A))*I+T(E))*I}function D(I,E,A){return 3*M(E,A)*I*I+2*H(E,A)*I+T(E)}function O(I,E,A,w,$){var U,Y,J=0;do Y=E+(A-E)/2,U=R(Y,w,$)-I,U>0?A=Y:E=Y;while(Math.abs(U)>c&&++J<v);return Y}function z(I,E,A,w){for(var $=0;$<l;++$){var U=D(E,A,w);if(U===0)return E;var Y=R(E,A,w)-I;E-=Y/U}return E}function N(I){this._p=I,this._mSampleValues=k?new Float32Array(x):new Array(x),this._precomputed=!1,this.get=this.get.bind(this)}return N.prototype={get:function(E){var A=this._p[0],w=this._p[1],$=this._p[2],U=this._p[3];return this._precomputed||this._precompute(),A===w&&$===U?E:E===0?0:E===1?1:R(this._getTForX(E),w,U)},_precompute:function(){var E=this._p[0],A=this._p[1],w=this._p[2],$=this._p[3];this._precomputed=!0,(E!==A||w!==$)&&this._calcSampleValues()},_calcSampleValues:function(){for(var E=this._p[0],A=this._p[2],w=0;w<x;++w)this._mSampleValues[w]=R(w*g,E,A)},_getTForX:function(E){for(var A=this._p[0],w=this._p[2],$=this._mSampleValues,U=0,Y=1,J=x-1;Y!==J&&$[Y]<=E;++Y)U+=g;--Y;var yt=(E-$[Y])/($[Y+1]-$[Y]),pt=U+yt*g,ot=D(pt,A,w);return ot>=h?z(E,pt,A,w):ot===0?pt:O(E,U,U+g,A,w)}},e}(),ap=function(){function e(r){return r.concat(tt(r.length))}return{double:e}}(),gn=function(){return function(e,r,s){var l=0,h=e,c=tt(h),v={newElement:x,release:g};function x(){var k;return l?(l-=1,k=c[l]):k=r(),k}function g(k){l===h&&(c=ap.double(c),h*=2),s&&s(k),c[l]=k,l+=1}return v}}(),np=function(){function e(){return{addedLength:0,percents:X("float32",Hs()),lengths:X("float32",Hs())}}return gn(8,e)}(),lp=function(){function e(){return{lengths:[],totalLength:0}}function r(s){var l,h=s.lengths.length;for(l=0;l<h;l+=1)np.release(s.lengths[l]);s.lengths.length=0}return gn(8,e,r)}();function eb(){var e=Math;function r(T,R,D,O,z,N){var I=T*O+R*z+D*N-z*O-N*T-D*R;return I>-.001&&I<.001}function s(T,R,D,O,z,N,I,E,A){if(D===0&&N===0&&A===0)return r(T,R,O,z,I,E);var w=e.sqrt(e.pow(O-T,2)+e.pow(z-R,2)+e.pow(N-D,2)),$=e.sqrt(e.pow(I-T,2)+e.pow(E-R,2)+e.pow(A-D,2)),U=e.sqrt(e.pow(I-O,2)+e.pow(E-z,2)+e.pow(A-N,2)),Y;return w>$?w>U?Y=w-$-U:Y=U-$-w:U>$?Y=U-$-w:Y=$-w-U,Y>-1e-4&&Y<1e-4}var l=function(){return function(T,R,D,O){var z=Hs(),N,I,E,A,w,$=0,U,Y=[],J=[],yt=np.newElement();for(E=D.length,N=0;N<z;N+=1){for(w=N/(z-1),U=0,I=0;I<E;I+=1)A=Bt(1-w,3)*T[I]+3*Bt(1-w,2)*w*D[I]+3*(1-w)*Bt(w,2)*O[I]+Bt(w,3)*R[I],Y[I]=A,J[I]!==null&&(U+=Bt(Y[I]-J[I],2)),J[I]=Y[I];U&&(U=Zt(U),$+=U),yt.percents[N]=w,yt.lengths[N]=$}return yt.addedLength=$,yt}}();function h(T){var R=lp.newElement(),D=T.c,O=T.v,z=T.o,N=T.i,I,E=T._length,A=R.lengths,w=0;for(I=0;I<E-1;I+=1)A[I]=l(O[I],O[I+1],z[I],N[I+1]),w+=A[I].addedLength;return D&&E&&(A[I]=l(O[I],O[0],z[I],N[0]),w+=A[I].addedLength),R.totalLength=w,R}function c(T){this.segmentLength=0,this.points=new Array(T)}function v(T,R){this.partialLength=T,this.point=R}var x=function(){var T={};return function(R,D,O,z){var N=(R[0]+"_"+R[1]+"_"+D[0]+"_"+D[1]+"_"+O[0]+"_"+O[1]+"_"+z[0]+"_"+z[1]).replace(/\./g,"p");if(!T[N]){var I=Hs(),E,A,w,$,U,Y=0,J,yt,pt=null;R.length===2&&(R[0]!==D[0]||R[1]!==D[1])&&r(R[0],R[1],D[0],D[1],R[0]+O[0],R[1]+O[1])&&r(R[0],R[1],D[0],D[1],D[0]+z[0],D[1]+z[1])&&(I=2);var ot=new c(I);for(w=O.length,E=0;E<I;E+=1){for(yt=tt(w),U=E/(I-1),J=0,A=0;A<w;A+=1)$=Bt(1-U,3)*R[A]+3*Bt(1-U,2)*U*(R[A]+O[A])+3*(1-U)*Bt(U,2)*(D[A]+z[A])+Bt(U,3)*D[A],yt[A]=$,pt!==null&&(J+=Bt(yt[A]-pt[A],2));J=Zt(J),Y+=J,ot.points[E]=new v(J,yt),pt=yt}ot.segmentLength=Y,T[N]=ot}return T[N]}}();function g(T,R){var D=R.percents,O=R.lengths,z=D.length,N=le((z-1)*T),I=T*R.addedLength,E=0;if(N===z-1||N===0||I===O[N])return D[N];for(var A=O[N]>I?-1:1,w=!0;w;)if(O[N]<=I&&O[N+1]>I?(E=(I-O[N])/(O[N+1]-O[N]),w=!1):N+=A,N<0||N>=z-1){if(N===z-1)return D[N];w=!1}return D[N]+(D[N+1]-D[N])*E}function k(T,R,D,O,z,N){var I=g(z,N),E=1-I,A=e.round((E*E*E*T[0]+(I*E*E+E*I*E+E*E*I)*D[0]+(I*I*E+E*I*I+I*E*I)*O[0]+I*I*I*R[0])*1e3)/1e3,w=e.round((E*E*E*T[1]+(I*E*E+E*I*E+E*E*I)*D[1]+(I*I*E+E*I*I+I*E*I)*O[1]+I*I*I*R[1])*1e3)/1e3;return[A,w]}var M=X("float32",8);function H(T,R,D,O,z,N,I){z<0?z=0:z>1&&(z=1);var E=g(z,I);N=N>1?1:N;var A=g(N,I),w,$=T.length,U=1-E,Y=1-A,J=U*U*U,yt=E*U*U*3,pt=E*E*U*3,ot=E*E*E,xt=U*U*Y,ct=E*U*Y+U*E*Y+U*U*A,Z=E*E*Y+U*E*A+E*U*A,S=E*E*A,P=U*Y*Y,f=E*Y*Y+U*A*Y+U*Y*A,y=E*A*Y+U*A*A+E*Y*A,G=E*A*A,F=Y*Y*Y,nt=A*Y*Y+Y*A*Y+Y*Y*A,ft=A*A*Y+Y*A*A+A*Y*A,Et=A*A*A;for(w=0;w<$;w+=1)M[w*4]=e.round((J*T[w]+yt*D[w]+pt*O[w]+ot*R[w])*1e3)/1e3,M[w*4+1]=e.round((xt*T[w]+ct*D[w]+Z*O[w]+S*R[w])*1e3)/1e3,M[w*4+2]=e.round((P*T[w]+f*D[w]+y*O[w]+G*R[w])*1e3)/1e3,M[w*4+3]=e.round((F*T[w]+nt*D[w]+ft*O[w]+Et*R[w])*1e3)/1e3;return M}return{getSegmentsLength:h,getNewSegment:H,getPointInSegment:k,buildBezierData:x,pointOnLine2D:r,pointOnLine3D:s}}var Cr=eb(),qi=i,dp=Math.abs;function cp(e,r){var s=this.offsetTime,l;this.propType==="multidimensional"&&(l=X("float32",this.pv.length));for(var h=r.lastIndex,c=h,v=this.keyframes.length-1,x=!0,g,k,M;x;){if(g=this.keyframes[c],k=this.keyframes[c+1],c===v-1&&e>=k.t-s){g.h&&(g=k),h=0;break}if(k.t-s>e){h=c;break}c<v-1?c+=1:(h=0,x=!1)}M=this.keyframesMetadata[c]||{};var H,T,R,D,O,z,N=k.t-s,I=g.t-s,E;if(g.to){M.bezierData||(M.bezierData=Cr.buildBezierData(g.s,k.s||g.e,g.to,g.ti));var A=M.bezierData;if(e>=N||e<I){var w=e>=N?A.points.length-1:0;for(T=A.points[w].point.length,H=0;H<T;H+=1)l[H]=A.points[w].point[H]}else{M.__fnct?z=M.__fnct:(z=js.getBezierEasing(g.o.x,g.o.y,g.i.x,g.i.y,g.n).get,M.__fnct=z),R=z((e-I)/(N-I));var $=A.segmentLength*R,U,Y=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastAddedLength:0;for(O=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastPoint:0,x=!0,D=A.points.length;x;){if(Y+=A.points[O].partialLength,$===0||R===0||O===A.points.length-1){for(T=A.points[O].point.length,H=0;H<T;H+=1)l[H]=A.points[O].point[H];break}else if($>=Y&&$<Y+A.points[O+1].partialLength){for(U=($-Y)/A.points[O+1].partialLength,T=A.points[O].point.length,H=0;H<T;H+=1)l[H]=A.points[O].point[H]+(A.points[O+1].point[H]-A.points[O].point[H])*U;break}O<D-1?O+=1:x=!1}r._lastPoint=O,r._lastAddedLength=Y-A.points[O].partialLength,r._lastKeyframeIndex=c}}else{var J,yt,pt,ot,xt;if(v=g.s.length,E=k.s||g.e,this.sh&&g.h!==1)if(e>=N)l[0]=E[0],l[1]=E[1],l[2]=E[2];else if(e<=I)l[0]=g.s[0],l[1]=g.s[1],l[2]=g.s[2];else{var ct=hp(g.s),Z=hp(E),S=(e-I)/(N-I);ib(l,rb(ct,Z,S))}else for(c=0;c<v;c+=1)g.h!==1&&(e>=N?R=1:e<I?R=0:(g.o.x.constructor===Array?(M.__fnct||(M.__fnct=[]),M.__fnct[c]?z=M.__fnct[c]:(J=g.o.x[c]===void 0?g.o.x[0]:g.o.x[c],yt=g.o.y[c]===void 0?g.o.y[0]:g.o.y[c],pt=g.i.x[c]===void 0?g.i.x[0]:g.i.x[c],ot=g.i.y[c]===void 0?g.i.y[0]:g.i.y[c],z=js.getBezierEasing(J,yt,pt,ot).get,M.__fnct[c]=z)):M.__fnct?z=M.__fnct:(J=g.o.x,yt=g.o.y,pt=g.i.x,ot=g.i.y,z=js.getBezierEasing(J,yt,pt,ot).get,g.keyframeMetadata=z),R=z((e-I)/(N-I)))),E=k.s||g.e,xt=g.h===1?g.s[c]:g.s[c]+(E[c]-g.s[c])*R,this.propType==="multidimensional"?l[c]=xt:l=xt}return r.lastIndex=h,l}function rb(e,r,s){var l=[],h=e[0],c=e[1],v=e[2],x=e[3],g=r[0],k=r[1],M=r[2],H=r[3],T,R,D,O,z;return R=h*g+c*k+v*M+x*H,R<0&&(R=-R,g=-g,k=-k,M=-M,H=-H),1-R>1e-6?(T=Math.acos(R),D=Math.sin(T),O=Math.sin((1-s)*T)/D,z=Math.sin(s*T)/D):(O=1-s,z=s),l[0]=O*h+z*g,l[1]=O*c+z*k,l[2]=O*v+z*M,l[3]=O*x+z*H,l}function ib(e,r){var s=r[0],l=r[1],h=r[2],c=r[3],v=Math.atan2(2*l*c-2*s*h,1-2*l*l-2*h*h),x=Math.asin(2*s*l+2*h*c),g=Math.atan2(2*s*c-2*l*h,1-2*s*s-2*h*h);e[0]=v/Ct,e[1]=x/Ct,e[2]=g/Ct}function hp(e){var r=e[0]*Ct,s=e[1]*Ct,l=e[2]*Ct,h=Math.cos(r/2),c=Math.cos(s/2),v=Math.cos(l/2),x=Math.sin(r/2),g=Math.sin(s/2),k=Math.sin(l/2),M=h*c*v-x*g*k,H=x*g*v+h*c*k,T=x*c*v+h*g*k,R=h*g*v-x*c*k;return[H,T,R,M]}function pp(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,s=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==qi&&(this._caching.lastFrame>=s&&e>=s||this._caching.lastFrame<r&&e<r))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var l=this.interpolateValue(e,this._caching);this.pv=l}return this._caching.lastFrame=e,this.pv}function bn(e){var r;if(this.propType==="unidimensional")r=e*this.mult,dp(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var s=0,l=this.v.length;s<l;)r=e[s]*this.mult,dp(this.v[s]-r)>1e-5&&(this.v[s]=r,this._mdf=!0),s+=1}function yn(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,r=this.effectsSequence.length,s=this.kf?this.pv:this.data.k;for(e=0;e<r;e+=1)s=this.effectsSequence[e](s);this.setVValue(s),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function En(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ob(e,r,s,l){this.propType="unidimensional",this.mult=s||1,this.data=r,this.v=s?r.k*s:r.k,this.pv=r.k,this._mdf=!1,this.elem=e,this.container=l,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=yn,this.setVValue=bn,this.addEffect=En}function sb(e,r,s,l){this.propType="multidimensional",this.mult=s||1,this.data=r,this._mdf=!1,this.elem=e,this.container=l,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var h,c=r.k.length;for(this.v=X("float32",c),this.pv=X("float32",c),this.vel=X("float32",c),h=0;h<c;h+=1)this.v[h]=r.k[h]*this.mult,this.pv[h]=r.k[h];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=yn,this.setVValue=bn,this.addEffect=En}function ab(e,r,s,l){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:qi,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=s||1,this.elem=e,this.container=l,this.comp=e.comp,this.v=qi,this.pv=qi,this._isFirstFrame=!0,this.getValue=yn,this.setVValue=bn,this.interpolateValue=cp,this.effectsSequence=[pp.bind(this)],this.addEffect=En}function nb(e,r,s,l){this.propType="multidimensional";var h,c=r.k.length,v,x,g,k;for(h=0;h<c-1;h+=1)r.k[h].to&&r.k[h].s&&r.k[h+1]&&r.k[h+1].s&&(v=r.k[h].s,x=r.k[h+1].s,g=r.k[h].to,k=r.k[h].ti,(v.length===2&&!(v[0]===x[0]&&v[1]===x[1])&&Cr.pointOnLine2D(v[0],v[1],x[0],x[1],v[0]+g[0],v[1]+g[1])&&Cr.pointOnLine2D(v[0],v[1],x[0],x[1],x[0]+k[0],x[1]+k[1])||v.length===3&&!(v[0]===x[0]&&v[1]===x[1]&&v[2]===x[2])&&Cr.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],v[0]+g[0],v[1]+g[1],v[2]+g[2])&&Cr.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],x[0]+k[0],x[1]+k[1],x[2]+k[2]))&&(r.k[h].to=null,r.k[h].ti=null),v[0]===x[0]&&v[1]===x[1]&&g[0]===0&&g[1]===0&&k[0]===0&&k[1]===0&&(v.length===2||v[2]===x[2]&&g[2]===0&&k[2]===0)&&(r.k[h].to=null,r.k[h].ti=null));this.effectsSequence=[pp.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=s||1,this.elem=e,this.container=l,this.comp=e.comp,this.getValue=yn,this.setVValue=bn,this.interpolateValue=cp,this.frameId=-1;var M=r.k[0].s.length;for(this.v=X("float32",M),this.pv=X("float32",M),h=0;h<M;h+=1)this.v[h]=qi,this.pv[h]=qi;this._caching={lastFrame:qi,lastIndex:0,value:X("float32",M)},this.addEffect=En}var at=function(){function e(s,l,h,c,v){l.sid&&(l=s.globalData.slotManager.getProp(l));var x;if(!l.k.length)x=new ob(s,l,c,v);else if(typeof l.k[0]=="number")x=new sb(s,l,c,v);else switch(h){case 0:x=new ab(s,l,c,v);break;case 1:x=new nb(s,l,c,v);break;default:break}return x.effectsSequence.length&&v.addDynamicProperty(x),x}var r={getProp:e};return r}();function de(){}de.prototype={addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&(this.dynamicProperties.push(r),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var r,s=this.dynamicProperties.length;for(r=0;r<s;r+=1)this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(r){this.container=r,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Xi=function(){function e(){return X("float32",2)}return gn(8,e)}();function Gr(){this.c=!1,this._length=0,this._maxLength=8,this.v=tt(this._maxLength),this.o=tt(this._maxLength),this.i=tt(this._maxLength)}Gr.prototype.setPathData=function(e,r){this.c=e,this.setLength(r);for(var s=0;s<r;)this.v[s]=Xi.newElement(),this.o[s]=Xi.newElement(),this.i[s]=Xi.newElement(),s+=1},Gr.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},Gr.prototype.doubleArrayLength=function(){this.v=this.v.concat(tt(this._maxLength)),this.i=this.i.concat(tt(this._maxLength)),this.o=this.o.concat(tt(this._maxLength)),this._maxLength*=2},Gr.prototype.setXYAt=function(e,r,s,l,h){var c;switch(this._length=Math.max(this._length,l+1),this._length>=this._maxLength&&this.doubleArrayLength(),s){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[l]||c[l]&&!h)&&(c[l]=Xi.newElement()),c[l][0]=e,c[l][1]=r},Gr.prototype.setTripleAt=function(e,r,s,l,h,c,v,x){this.setXYAt(e,r,"v",v,x),this.setXYAt(s,l,"o",v,x),this.setXYAt(h,c,"i",v,x)},Gr.prototype.reverse=function(){var e=new Gr;e.setPathData(this.c,this._length);var r=this.v,s=this.o,l=this.i,h=0;this.c&&(e.setTripleAt(r[0][0],r[0][1],l[0][0],l[0][1],s[0][0],s[0][1],0,!1),h=1);var c=this._length-1,v=this._length,x;for(x=h;x<v;x+=1)e.setTripleAt(r[c][0],r[c][1],l[c][0],l[c][1],s[c][0],s[c][1],x,!1),c-=1;return e},Gr.prototype.length=function(){return this._length};var me=function(){function e(){return new Gr}function r(h){var c=h._length,v;for(v=0;v<c;v+=1)Xi.release(h.v[v]),Xi.release(h.i[v]),Xi.release(h.o[v]),h.v[v]=null,h.i[v]=null,h.o[v]=null;h._length=0,h.c=!1}function s(h){var c=l.newElement(),v,x=h._length===void 0?h.v.length:h._length;for(c.setLength(x),c.c=h.c,v=0;v<x;v+=1)c.setTripleAt(h.v[v][0],h.v[v][1],h.o[v][0],h.o[v][1],h.i[v][0],h.i[v][1],v);return c}var l=gn(4,e,r);return l.clone=s,l}();function xd(){this._length=0,this._maxLength=4,this.shapes=tt(this._maxLength)}xd.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(tt(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},xd.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)me.release(this.shapes[e]);this._length=0};var zo=function(){var e={newShapeCollection:h,release:c},r=0,s=4,l=tt(s);function h(){var v;return r?(r-=1,v=l[r]):v=new xd,v}function c(v){var x,g=v._length;for(x=0;x<g;x+=1)me.release(v.shapes[x]);v._length=0,r===s&&(l=ap.double(l),s*=2),l[r]=v,r+=1}return e}(),Tn=function(){var e=-999999;function r(N,I,E){var A=E.lastIndex,w,$,U,Y,J,yt,pt,ot,xt,ct=this.keyframes;if(N<ct[0].t-this.offsetTime)w=ct[0].s[0],U=!0,A=0;else if(N>=ct[ct.length-1].t-this.offsetTime)w=ct[ct.length-1].s?ct[ct.length-1].s[0]:ct[ct.length-2].e[0],U=!0;else{for(var Z=A,S=ct.length-1,P=!0,f,y,G;P&&(f=ct[Z],y=ct[Z+1],!(y.t-this.offsetTime>N));)Z<S-1?Z+=1:P=!1;if(G=this.keyframesMetadata[Z]||{},U=f.h===1,A=Z,!U){if(N>=y.t-this.offsetTime)ot=1;else if(N<f.t-this.offsetTime)ot=0;else{var F;G.__fnct?F=G.__fnct:(F=js.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,G.__fnct=F),ot=F((N-(f.t-this.offsetTime))/(y.t-this.offsetTime-(f.t-this.offsetTime)))}$=y.s?y.s[0]:f.e[0]}w=f.s[0]}for(yt=I._length,pt=w.i[0].length,E.lastIndex=A,Y=0;Y<yt;Y+=1)for(J=0;J<pt;J+=1)xt=U?w.i[Y][J]:w.i[Y][J]+($.i[Y][J]-w.i[Y][J])*ot,I.i[Y][J]=xt,xt=U?w.o[Y][J]:w.o[Y][J]+($.o[Y][J]-w.o[Y][J])*ot,I.o[Y][J]=xt,xt=U?w.v[Y][J]:w.v[Y][J]+($.v[Y][J]-w.v[Y][J])*ot,I.v[Y][J]=xt}function s(){var N=this.comp.renderedFrame-this.offsetTime,I=this.keyframes[0].t-this.offsetTime,E=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==e&&(A<I&&N<I||A>E&&N>E)||(this._caching.lastIndex=A<N?this._caching.lastIndex:0,this.interpolateShape(N,this.pv,this._caching)),this._caching.lastFrame=N,this.pv}function l(){this.paths=this.localShapeCollection}function h(N,I){if(N._length!==I._length||N.c!==I.c)return!1;var E,A=N._length;for(E=0;E<A;E+=1)if(N.v[E][0]!==I.v[E][0]||N.v[E][1]!==I.v[E][1]||N.o[E][0]!==I.o[E][0]||N.o[E][1]!==I.o[E][1]||N.i[E][0]!==I.i[E][0]||N.i[E][1]!==I.i[E][1])return!1;return!0}function c(N){h(this.v,N)||(this.v=me.clone(N),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function v(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var N;this.kf?N=this.pv:this.data.ks?N=this.data.ks.k:N=this.data.pt.k;var I,E=this.effectsSequence.length;for(I=0;I<E;I+=1)N=this.effectsSequence[I](N);this.setVValue(N),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function x(N,I,E){this.propType="shape",this.comp=N.comp,this.container=N,this.elem=N,this.data=I,this.k=!1,this.kf=!1,this._mdf=!1;var A=E===3?I.pt.k:I.ks.k;this.v=me.clone(A),this.pv=me.clone(this.v),this.localShapeCollection=zo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=l,this.effectsSequence=[]}function g(N){this.effectsSequence.push(N),this.container.addDynamicProperty(this)}x.prototype.interpolateShape=r,x.prototype.getValue=v,x.prototype.setVValue=c,x.prototype.addEffect=g;function k(N,I,E){this.propType="shape",this.comp=N.comp,this.elem=N,this.container=N,this.offsetTime=N.data.st,this.keyframes=E===3?I.pt.k:I.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=me.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=me.clone(this.v),this.localShapeCollection=zo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=l,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[s.bind(this)]}k.prototype.getValue=v,k.prototype.interpolateShape=r,k.prototype.setVValue=c,k.prototype.addEffect=g;var M=function(){var N=pe;function I(E,A){this.v=me.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=zo.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=E,this.comp=E.comp,this.frameId=-1,this.initDynamicPropertyContainer(E),this.p=at.getProp(E,A.p,1,0,this),this.s=at.getProp(E,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return I.prototype={reset:l,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var A=this.p.v[0],w=this.p.v[1],$=this.s.v[0]/2,U=this.s.v[1]/2,Y=this.d!==3,J=this.v;J.v[0][0]=A,J.v[0][1]=w-U,J.v[1][0]=Y?A+$:A-$,J.v[1][1]=w,J.v[2][0]=A,J.v[2][1]=w+U,J.v[3][0]=Y?A-$:A+$,J.v[3][1]=w,J.i[0][0]=Y?A-$*N:A+$*N,J.i[0][1]=w-U,J.i[1][0]=Y?A+$:A-$,J.i[1][1]=w-U*N,J.i[2][0]=Y?A+$*N:A-$*N,J.i[2][1]=w+U,J.i[3][0]=Y?A-$:A+$,J.i[3][1]=w+U*N,J.o[0][0]=Y?A+$*N:A-$*N,J.o[0][1]=w-U,J.o[1][0]=Y?A+$:A-$,J.o[1][1]=w+U*N,J.o[2][0]=Y?A-$*N:A+$*N,J.o[2][1]=w+U,J.o[3][0]=Y?A-$:A+$,J.o[3][1]=w-U*N}},L([de],I),I}(),H=function(){function N(I,E){this.v=me.newElement(),this.v.setPathData(!0,0),this.elem=I,this.comp=I.comp,this.data=E,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(I),E.sy===1?(this.ir=at.getProp(I,E.ir,0,0,this),this.is=at.getProp(I,E.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=at.getProp(I,E.pt,0,0,this),this.p=at.getProp(I,E.p,1,0,this),this.r=at.getProp(I,E.r,0,Ct,this),this.or=at.getProp(I,E.or,0,0,this),this.os=at.getProp(I,E.os,0,.01,this),this.localShapeCollection=zo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return N.prototype={reset:l,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var E=Math.floor(this.pt.v)*2,A=Math.PI*2/E,w=!0,$=this.or.v,U=this.ir.v,Y=this.os.v,J=this.is.v,yt=2*Math.PI*$/(E*2),pt=2*Math.PI*U/(E*2),ot,xt,ct,Z,S=-Math.PI/2;S+=this.r.v;var P=this.data.d===3?-1:1;for(this.v._length=0,ot=0;ot<E;ot+=1){xt=w?$:U,ct=w?Y:J,Z=w?yt:pt;var f=xt*Math.cos(S),y=xt*Math.sin(S),G=f===0&&y===0?0:y/Math.sqrt(f*f+y*y),F=f===0&&y===0?0:-f/Math.sqrt(f*f+y*y);f+=+this.p.v[0],y+=+this.p.v[1],this.v.setTripleAt(f,y,f-G*Z*ct*P,y-F*Z*ct*P,f+G*Z*ct*P,y+F*Z*ct*P,ot,!0),w=!w,S+=A*P}},convertPolygonToPath:function(){var E=Math.floor(this.pt.v),A=Math.PI*2/E,w=this.or.v,$=this.os.v,U=2*Math.PI*w/(E*4),Y,J=-Math.PI*.5,yt=this.data.d===3?-1:1;for(J+=this.r.v,this.v._length=0,Y=0;Y<E;Y+=1){var pt=w*Math.cos(J),ot=w*Math.sin(J),xt=pt===0&&ot===0?0:ot/Math.sqrt(pt*pt+ot*ot),ct=pt===0&&ot===0?0:-pt/Math.sqrt(pt*pt+ot*ot);pt+=+this.p.v[0],ot+=+this.p.v[1],this.v.setTripleAt(pt,ot,pt-xt*U*$*yt,ot-ct*U*$*yt,pt+xt*U*$*yt,ot+ct*U*$*yt,Y,!0),J+=A*yt}this.paths.length=0,this.paths[0]=this.v}},L([de],N),N}(),T=function(){function N(I,E){this.v=me.newElement(),this.v.c=!0,this.localShapeCollection=zo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=I,this.comp=I.comp,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(I),this.p=at.getProp(I,E.p,1,0,this),this.s=at.getProp(I,E.s,1,0,this),this.r=at.getProp(I,E.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return N.prototype={convertRectToPath:function(){var E=this.p.v[0],A=this.p.v[1],w=this.s.v[0]/2,$=this.s.v[1]/2,U=we(w,$,this.r.v),Y=U*(1-pe);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(E+w,A-$+U,E+w,A-$+U,E+w,A-$+Y,0,!0),this.v.setTripleAt(E+w,A+$-U,E+w,A+$-Y,E+w,A+$-U,1,!0),U!==0?(this.v.setTripleAt(E+w-U,A+$,E+w-U,A+$,E+w-Y,A+$,2,!0),this.v.setTripleAt(E-w+U,A+$,E-w+Y,A+$,E-w+U,A+$,3,!0),this.v.setTripleAt(E-w,A+$-U,E-w,A+$-U,E-w,A+$-Y,4,!0),this.v.setTripleAt(E-w,A-$+U,E-w,A-$+Y,E-w,A-$+U,5,!0),this.v.setTripleAt(E-w+U,A-$,E-w+U,A-$,E-w+Y,A-$,6,!0),this.v.setTripleAt(E+w-U,A-$,E+w-Y,A-$,E+w-U,A-$,7,!0)):(this.v.setTripleAt(E-w,A+$,E-w+Y,A+$,E-w,A+$,2),this.v.setTripleAt(E-w,A-$,E-w,A-$+Y,E-w,A-$,3))):(this.v.setTripleAt(E+w,A-$+U,E+w,A-$+Y,E+w,A-$+U,0,!0),U!==0?(this.v.setTripleAt(E+w-U,A-$,E+w-U,A-$,E+w-Y,A-$,1,!0),this.v.setTripleAt(E-w+U,A-$,E-w+Y,A-$,E-w+U,A-$,2,!0),this.v.setTripleAt(E-w,A-$+U,E-w,A-$+U,E-w,A-$+Y,3,!0),this.v.setTripleAt(E-w,A+$-U,E-w,A+$-Y,E-w,A+$-U,4,!0),this.v.setTripleAt(E-w+U,A+$,E-w+U,A+$,E-w+Y,A+$,5,!0),this.v.setTripleAt(E+w-U,A+$,E+w-Y,A+$,E+w-U,A+$,6,!0),this.v.setTripleAt(E+w,A+$-U,E+w,A+$-U,E+w,A+$-Y,7,!0)):(this.v.setTripleAt(E-w,A-$,E-w+Y,A-$,E-w,A-$,1,!0),this.v.setTripleAt(E-w,A+$,E-w,A+$-Y,E-w,A+$,2,!0),this.v.setTripleAt(E+w,A+$,E+w-Y,A+$,E+w,A+$,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:l},L([de],N),N}();function R(N,I,E){var A;if(E===3||E===4){var w=E===3?I.pt:I.ks,$=w.k;$.length?A=new k(N,I,E):A=new x(N,I,E)}else E===5?A=new T(N,I):E===6?A=new M(N,I):E===7&&(A=new H(N,I));return A.k&&N.addDynamicProperty(A),A}function D(){return x}function O(){return k}var z={};return z.getShapeProp=R,z.getConstructorFunction=D,z.getKeyframedConstructorFunction=O,z}();var ue=function(){var e=Math.cos,r=Math.sin,s=Math.tan,l=Math.round;function h(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function c(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(y,-G,0,0,G,y,0,0,0,0,1,0,0,0,0,1)}function v(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(1,0,0,0,0,y,-G,0,0,G,y,0,0,0,0,1)}function x(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(y,0,G,0,0,1,0,0,-G,0,y,0,0,0,0,1)}function g(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(y,-G,0,0,G,y,0,0,0,0,1,0,0,0,0,1)}function k(f,y){return this._t(1,y,f,1,0,0)}function M(f,y){return this.shear(s(f),s(y))}function H(f,y){var G=e(y),F=r(y);return this._t(G,F,0,0,-F,G,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,s(f),1,0,0,0,0,1,0,0,0,0,1)._t(G,-F,0,0,F,G,0,0,0,0,1,0,0,0,0,1)}function T(f,y,G){return!G&&G!==0&&(G=1),f===1&&y===1&&G===1?this:this._t(f,0,0,0,0,y,0,0,0,0,G,0,0,0,0,1)}function R(f,y,G,F,nt,ft,Et,Nt,Lt,Jt,Me,wr,Re,ce,Ve,Pt){return this.props[0]=f,this.props[1]=y,this.props[2]=G,this.props[3]=F,this.props[4]=nt,this.props[5]=ft,this.props[6]=Et,this.props[7]=Nt,this.props[8]=Lt,this.props[9]=Jt,this.props[10]=Me,this.props[11]=wr,this.props[12]=Re,this.props[13]=ce,this.props[14]=Ve,this.props[15]=Pt,this}function D(f,y,G){return G=G||0,f!==0||y!==0||G!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,f,y,G,1):this}function O(f,y,G,F,nt,ft,Et,Nt,Lt,Jt,Me,wr,Re,ce,Ve,Pt){var ht=this.props;if(f===1&&y===0&&G===0&&F===0&&nt===0&&ft===1&&Et===0&&Nt===0&&Lt===0&&Jt===0&&Me===1&&wr===0)return ht[12]=ht[12]*f+ht[15]*Re,ht[13]=ht[13]*ft+ht[15]*ce,ht[14]=ht[14]*Me+ht[15]*Ve,ht[15]*=Pt,this._identityCalculated=!1,this;var jr=ht[0],Si=ht[1],Kr=ht[2],Nr=ht[3],qr=ht[4],Xr=ht[5],Oe=ht[6],_i=ht[7],Ii=ht[8],br=ht[9],Ci=ht[10],yr=ht[11],to=ht[12],Nn=ht[13],Ln=ht[14],Mn=ht[15];return ht[0]=jr*f+Si*nt+Kr*Lt+Nr*Re,ht[1]=jr*y+Si*ft+Kr*Jt+Nr*ce,ht[2]=jr*G+Si*Et+Kr*Me+Nr*Ve,ht[3]=jr*F+Si*Nt+Kr*wr+Nr*Pt,ht[4]=qr*f+Xr*nt+Oe*Lt+_i*Re,ht[5]=qr*y+Xr*ft+Oe*Jt+_i*ce,ht[6]=qr*G+Xr*Et+Oe*Me+_i*Ve,ht[7]=qr*F+Xr*Nt+Oe*wr+_i*Pt,ht[8]=Ii*f+br*nt+Ci*Lt+yr*Re,ht[9]=Ii*y+br*ft+Ci*Jt+yr*ce,ht[10]=Ii*G+br*Et+Ci*Me+yr*Ve,ht[11]=Ii*F+br*Nt+Ci*wr+yr*Pt,ht[12]=to*f+Nn*nt+Ln*Lt+Mn*Re,ht[13]=to*y+Nn*ft+Ln*Jt+Mn*ce,ht[14]=to*G+Nn*Et+Ln*Me+Mn*Ve,ht[15]=to*F+Nn*Nt+Ln*wr+Mn*Pt,this._identityCalculated=!1,this}function z(f){var y=f.props;return this.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15])}function N(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function I(f){for(var y=0;y<16;){if(f.props[y]!==this.props[y])return!1;y+=1}return!0}function E(f){var y;for(y=0;y<16;y+=1)f.props[y]=this.props[y];return f}function A(f){var y;for(y=0;y<16;y+=1)this.props[y]=f[y]}function w(f,y,G){return{x:f*this.props[0]+y*this.props[4]+G*this.props[8]+this.props[12],y:f*this.props[1]+y*this.props[5]+G*this.props[9]+this.props[13],z:f*this.props[2]+y*this.props[6]+G*this.props[10]+this.props[14]}}function $(f,y,G){return f*this.props[0]+y*this.props[4]+G*this.props[8]+this.props[12]}function U(f,y,G){return f*this.props[1]+y*this.props[5]+G*this.props[9]+this.props[13]}function Y(f,y,G){return f*this.props[2]+y*this.props[6]+G*this.props[10]+this.props[14]}function J(){var f=this.props[0]*this.props[5]-this.props[1]*this.props[4],y=this.props[5]/f,G=-this.props[1]/f,F=-this.props[4]/f,nt=this.props[0]/f,ft=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/f,Et=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/f,Nt=new ue;return Nt.props[0]=y,Nt.props[1]=G,Nt.props[4]=F,Nt.props[5]=nt,Nt.props[12]=ft,Nt.props[13]=Et,Nt}function yt(f){var y=this.getInverseMatrix();return y.applyToPointArray(f[0],f[1],f[2]||0)}function pt(f){var y,G=f.length,F=[];for(y=0;y<G;y+=1)F[y]=yt(f[y]);return F}function ot(f,y,G){var F=X("float32",6);if(this.isIdentity())F[0]=f[0],F[1]=f[1],F[2]=y[0],F[3]=y[1],F[4]=G[0],F[5]=G[1];else{var nt=this.props[0],ft=this.props[1],Et=this.props[4],Nt=this.props[5],Lt=this.props[12],Jt=this.props[13];F[0]=f[0]*nt+f[1]*Et+Lt,F[1]=f[0]*ft+f[1]*Nt+Jt,F[2]=y[0]*nt+y[1]*Et+Lt,F[3]=y[0]*ft+y[1]*Nt+Jt,F[4]=G[0]*nt+G[1]*Et+Lt,F[5]=G[0]*ft+G[1]*Nt+Jt}return F}function xt(f,y,G){var F;return this.isIdentity()?F=[f,y,G]:F=[f*this.props[0]+y*this.props[4]+G*this.props[8]+this.props[12],f*this.props[1]+y*this.props[5]+G*this.props[9]+this.props[13],f*this.props[2]+y*this.props[6]+G*this.props[10]+this.props[14]],F}function ct(f,y){if(this.isIdentity())return f+","+y;var G=this.props;return Math.round((f*G[0]+y*G[4]+G[12])*100)/100+","+Math.round((f*G[1]+y*G[5]+G[13])*100)/100}function Z(){for(var f=0,y=this.props,G="matrix3d(",F=1e4;f<16;)G+=l(y[f]*F)/F,G+=f===15?")":",",f+=1;return G}function S(f){var y=1e4;return f<1e-6&&f>0||f>-1e-6&&f<0?l(f*y)/y:f}function P(){var f=this.props,y=S(f[0]),G=S(f[1]),F=S(f[4]),nt=S(f[5]),ft=S(f[12]),Et=S(f[13]);return"matrix("+y+","+G+","+F+","+nt+","+ft+","+Et+")"}return function(){this.reset=h,this.rotate=c,this.rotateX=v,this.rotateY=x,this.rotateZ=g,this.skew=M,this.skewFromAxis=H,this.shear=k,this.scale=T,this.setTransform=R,this.translate=D,this.transform=O,this.multiply=z,this.applyToPoint=w,this.applyToX=$,this.applyToY=U,this.applyToZ=Y,this.applyToPointArray=xt,this.applyToTriplePoints=ot,this.applyToPointStringified=ct,this.toCSS=Z,this.to2dCSS=P,this.clone=E,this.cloneFromProps=A,this.equals=I,this.inversePoints=pt,this.inversePoint=yt,this.getInverseMatrix=J,this._t=this.transform,this.isIdentity=N,this._identity=!0,this._identityCalculated=!1,this.props=X("float32",16),this.reset()}}();function xn(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xn=function(s){return typeof s}:xn=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},xn(e)}var Rt={},An="__[STANDALONE]__",mp="__[ANIMATIONDATA]__",up="";function lb(e){m(e)}function fp(){An===!0?Qt.searchAnimations(mp,An,up):Qt.searchAnimations()}function db(e){Yg(e)}function cb(e){Kg(e)}function hb(e){return An===!0&&(e.animationData=JSON.parse(mp)),Qt.loadAnimation(e)}function pb(e){if(typeof e=="string")switch(e){case"high":fn(200);break;default:case"medium":fn(50);break;case"low":fn(10);break}else!isNaN(e)&&e>1&&fn(e);Hs()>=50?Ke(!1):Ke(!0)}function mb(){return typeof navigator<"u"}function ub(e,r){e==="expressions"&&jg(r)}function fb(e){switch(e){case"propertyFactory":return at;case"shapePropertyFactory":return Tn;case"matrix":return ue;default:return null}}Rt.play=Qt.play,Rt.pause=Qt.pause,Rt.setLocationHref=lb,Rt.togglePause=Qt.togglePause,Rt.setSpeed=Qt.setSpeed,Rt.setDirection=Qt.setDirection,Rt.stop=Qt.stop,Rt.searchAnimations=fp,Rt.registerAnimation=Qt.registerAnimation,Rt.loadAnimation=hb,Rt.setSubframeRendering=db,Rt.resize=Qt.resize,Rt.goToAndStop=Qt.goToAndStop,Rt.destroy=Qt.destroy,Rt.setQuality=pb,Rt.inBrowser=mb,Rt.installPlugin=ub,Rt.freeze=Qt.freeze,Rt.unfreeze=Qt.unfreeze,Rt.setVolume=Qt.setVolume,Rt.mute=Qt.mute,Rt.unmute=Qt.unmute,Rt.getRegisteredAnimations=Qt.getRegisteredAnimations,Rt.useWebWorker=a,Rt.setIDPrefix=cb,Rt.__getFactory=fb,Rt.version="5.12.2";function vb(){document.readyState==="complete"&&(clearInterval(yb),fp())}function gb(e){for(var r=vp.split("&"),s=0;s<r.length;s+=1){var l=r[s].split("=");if(decodeURIComponent(l[0])==e)return decodeURIComponent(l[1])}return null}var vp="";if(An){var gp=document.getElementsByTagName("script"),bb=gp.length-1,bp=gp[bb]||{src:""};vp=bp.src?bp.src.replace(/^[^\?]+\??/,""):"",up=gb("renderer")}var yb=setInterval(vb,100);try{!((typeof Aa>"u"?"undefined":xn(Aa))==="object"&&typeof nl<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Rt)}catch{}var bi=function(){var e={},r={};e.registerModifier=s,e.getModifier=l;function s(h,c){r[h]||(r[h]=c)}function l(h,c,v){return new r[h](c,v)}return e}();function Qe(){}Qe.prototype.initModifierProperties=function(){},Qe.prototype.addShapeToModifier=function(){},Qe.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var r={shape:e.sh,data:e,localShapeCollection:zo.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&e.setAsAnimated()}},Qe.prototype.init=function(e,r){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r),this.frameId=i,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Qe.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},L([de],Qe);function gr(){}L([Qe],gr),gr.prototype.initModifierProperties=function(e,r){this.s=at.getProp(e,r.s,0,.01,this),this.e=at.getProp(e,r.e,0,.01,this),this.o=at.getProp(e,r.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=r.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},gr.prototype.addShapeToModifier=function(e){e.pathsData=[]},gr.prototype.calculateShapeEdges=function(e,r,s,l,h){var c=[];r<=1?c.push({s:e,e:r}):e>=1?c.push({s:e-1,e:r-1}):(c.push({s:e,e:1}),c.push({s:0,e:r-1}));var v=[],x,g=c.length,k;for(x=0;x<g;x+=1)if(k=c[x],!(k.e*h<l||k.s*h>l+s)){var M,H;k.s*h<=l?M=0:M=(k.s*h-l)/s,k.e*h>=l+s?H=1:H=(k.e*h-l)/s,v.push([M,H])}return v.length||v.push([0,0]),v},gr.prototype.releasePathsData=function(e){var r,s=e.length;for(r=0;r<s;r+=1)lp.release(e[r]);return e.length=0,e},gr.prototype.processShapes=function(e){var r,s;if(this._mdf||e){var l=this.o.v%360/360;if(l<0&&(l+=1),this.s.v>1?r=1+l:this.s.v<0?r=0+l:r=this.s.v+l,this.e.v>1?s=1+l:this.e.v<0?s=0+l:s=this.e.v+l,r>s){var h=r;r=s,s=h}r=Math.round(r*1e4)*1e-4,s=Math.round(s*1e4)*1e-4,this.sValue=r,this.eValue=s}else r=this.sValue,s=this.eValue;var c,v,x=this.shapes.length,g,k,M,H,T,R=0;if(s===r)for(v=0;v<x;v+=1)this.shapes[v].localShapeCollection.releaseShapes(),this.shapes[v].shape._mdf=!0,this.shapes[v].shape.paths=this.shapes[v].localShapeCollection,this._mdf&&(this.shapes[v].pathsData.length=0);else if(s===1&&r===0||s===0&&r===1){if(this._mdf)for(v=0;v<x;v+=1)this.shapes[v].pathsData.length=0,this.shapes[v].shape._mdf=!0}else{var D=[],O,z;for(v=0;v<x;v+=1)if(O=this.shapes[v],!O.shape._mdf&&!this._mdf&&!e&&this.m!==2)O.shape.paths=O.localShapeCollection;else{if(c=O.shape.paths,k=c._length,T=0,!O.shape._mdf&&O.pathsData.length)T=O.totalShapeLength;else{for(M=this.releasePathsData(O.pathsData),g=0;g<k;g+=1)H=Cr.getSegmentsLength(c.shapes[g]),M.push(H),T+=H.totalLength;O.totalShapeLength=T,O.pathsData=M}R+=T,O.shape._mdf=!0}var N=r,I=s,E=0,A;for(v=x-1;v>=0;v-=1)if(O=this.shapes[v],O.shape._mdf){for(z=O.localShapeCollection,z.releaseShapes(),this.m===2&&x>1?(A=this.calculateShapeEdges(r,s,O.totalShapeLength,E,R),E+=O.totalShapeLength):A=[[N,I]],k=A.length,g=0;g<k;g+=1){N=A[g][0],I=A[g][1],D.length=0,I<=1?D.push({s:O.totalShapeLength*N,e:O.totalShapeLength*I}):N>=1?D.push({s:O.totalShapeLength*(N-1),e:O.totalShapeLength*(I-1)}):(D.push({s:O.totalShapeLength*N,e:O.totalShapeLength}),D.push({s:0,e:O.totalShapeLength*(I-1)}));var w=this.addShapes(O,D[0]);if(D[0].s!==D[0].e){if(D.length>1){var $=O.shape.paths.shapes[O.shape.paths._length-1];if($.c){var U=w.pop();this.addPaths(w,z),w=this.addShapes(O,D[1],U)}else this.addPaths(w,z),w=this.addShapes(O,D[1])}this.addPaths(w,z)}}O.shape.paths=z}}},gr.prototype.addPaths=function(e,r){var s,l=e.length;for(s=0;s<l;s+=1)r.addShape(e[s])},gr.prototype.addSegment=function(e,r,s,l,h,c,v){h.setXYAt(r[0],r[1],"o",c),h.setXYAt(s[0],s[1],"i",c+1),v&&h.setXYAt(e[0],e[1],"v",c),h.setXYAt(l[0],l[1],"v",c+1)},gr.prototype.addSegmentFromArray=function(e,r,s,l){r.setXYAt(e[1],e[5],"o",s),r.setXYAt(e[2],e[6],"i",s+1),l&&r.setXYAt(e[0],e[4],"v",s),r.setXYAt(e[3],e[7],"v",s+1)},gr.prototype.addShapes=function(e,r,s){var l=e.pathsData,h=e.shape.paths.shapes,c,v=e.shape.paths._length,x,g,k=0,M,H,T,R,D=[],O,z=!0;for(s?(H=s._length,O=s._length):(s=me.newElement(),H=0,O=0),D.push(s),c=0;c<v;c+=1){for(T=l[c].lengths,s.c=h[c].c,g=h[c].c?T.length:T.length+1,x=1;x<g;x+=1)if(M=T[x-1],k+M.addedLength<r.s)k+=M.addedLength,s.c=!1;else if(k>r.e){s.c=!1;break}else r.s<=k&&r.e>=k+M.addedLength?(this.addSegment(h[c].v[x-1],h[c].o[x-1],h[c].i[x],h[c].v[x],s,H,z),z=!1):(R=Cr.getNewSegment(h[c].v[x-1],h[c].v[x],h[c].o[x-1],h[c].i[x],(r.s-k)/M.addedLength,(r.e-k)/M.addedLength,T[x-1]),this.addSegmentFromArray(R,s,H,z),z=!1,s.c=!1),k+=M.addedLength,H+=1;if(h[c].c&&T.length){if(M=T[x-1],k<=r.e){var N=T[x-1].addedLength;r.s<=k&&r.e>=k+N?(this.addSegment(h[c].v[x-1],h[c].o[x-1],h[c].i[0],h[c].v[0],s,H,z),z=!1):(R=Cr.getNewSegment(h[c].v[x-1],h[c].v[0],h[c].o[x-1],h[c].i[0],(r.s-k)/N,(r.e-k)/N,T[x-1]),this.addSegmentFromArray(R,s,H,z),z=!1,s.c=!1)}else s.c=!1;k+=M.addedLength,H+=1}if(s._length&&(s.setXYAt(s.v[O][0],s.v[O][1],"i",O),s.setXYAt(s.v[s._length-1][0],s.v[s._length-1][1],"o",s._length-1)),k>r.e)break;c<v-1&&(s=me.newElement(),z=!0,D.push(s),H=0)}return D};function Ks(){}L([Qe],Ks),Ks.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=at.getProp(e,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Ks.prototype.processPath=function(e,r){var s=r/100,l=[0,0],h=e._length,c=0;for(c=0;c<h;c+=1)l[0]+=e.v[c][0],l[1]+=e.v[c][1];l[0]/=h,l[1]/=h;var v=me.newElement();v.c=e.c;var x,g,k,M,H,T;for(c=0;c<h;c+=1)x=e.v[c][0]+(l[0]-e.v[c][0])*s,g=e.v[c][1]+(l[1]-e.v[c][1])*s,k=e.o[c][0]+(l[0]-e.o[c][0])*-s,M=e.o[c][1]+(l[1]-e.o[c][1])*-s,H=e.i[c][0]+(l[0]-e.i[c][0])*-s,T=e.i[c][1]+(l[1]-e.i[c][1])*-s,v.setTripleAt(x,g,k,M,H,T,c);return v},Ks.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,c,v=this.amount.v;if(v!==0){var x,g;for(s=0;s<l;s+=1){if(x=this.shapes[s],g=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,h=0;h<c;h+=1)g.addShape(this.processPath(r[h],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Ad=function(){var e=[0,0];function r(g){var k=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||k,this.a&&g.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&g.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&g.skewFromAxis(-this.sk.v,this.sa.v),this.r?g.rotate(-this.r.v):g.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?g.translate(this.px.v,this.py.v,-this.pz.v):g.translate(this.px.v,this.py.v,0):g.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function s(g){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||g){var k;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var M,H;if(k=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(M=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/k,0),H=this.p.getValueAtTime(this.p.keyframes[0].t/k,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(M=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/k,0),H=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/k,0)):(M=this.p.pv,H=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/k,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){M=[],H=[];var T=this.px,R=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(M[0]=T.getValueAtTime((T.keyframes[0].t+.01)/k,0),M[1]=R.getValueAtTime((R.keyframes[0].t+.01)/k,0),H[0]=T.getValueAtTime(T.keyframes[0].t/k,0),H[1]=R.getValueAtTime(R.keyframes[0].t/k,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(M[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/k,0),M[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/k,0),H[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/k,0),H[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/k,0)):(M=[T.pv,R.pv],H[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/k,T.offsetTime),H[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/k,R.offsetTime))}else H=e,M=H;this.v.rotate(-Math.atan2(M[1]-H[1],M[0]-H[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function l(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function h(){}function c(g){this._addDynamicProperty(g),this.elem.addDynamicProperty(g),this._isDirty=!0}function v(g,k,M){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=k,this.v=new ue,this.pre=new ue,this.appliedTransformations=0,this.initDynamicPropertyContainer(M||g),k.p&&k.p.s?(this.px=at.getProp(g,k.p.x,0,0,this),this.py=at.getProp(g,k.p.y,0,0,this),k.p.z&&(this.pz=at.getProp(g,k.p.z,0,0,this))):this.p=at.getProp(g,k.p||{k:[0,0,0]},1,0,this),k.rx){if(this.rx=at.getProp(g,k.rx,0,Ct,this),this.ry=at.getProp(g,k.ry,0,Ct,this),this.rz=at.getProp(g,k.rz,0,Ct,this),k.or.k[0].ti){var H,T=k.or.k.length;for(H=0;H<T;H+=1)k.or.k[H].to=null,k.or.k[H].ti=null}this.or=at.getProp(g,k.or,1,Ct,this),this.or.sh=!0}else this.r=at.getProp(g,k.r||{k:0},0,Ct,this);k.sk&&(this.sk=at.getProp(g,k.sk,0,Ct,this),this.sa=at.getProp(g,k.sa,0,Ct,this)),this.a=at.getProp(g,k.a||{k:[0,0,0]},1,0,this),this.s=at.getProp(g,k.s||{k:[100,100,100]},1,.01,this),k.o?this.o=at.getProp(g,k.o,0,.01,g):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}v.prototype={applyToMatrix:r,getValue:s,precalculateMatrix:l,autoOrient:h},L([de],v),v.prototype.addDynamicProperty=c,v.prototype._addDynamicProperty=de.prototype.addDynamicProperty;function x(g,k,M){return new v(g,k,M)}return{getTransformProperty:x}}();function kr(){}L([Qe],kr),kr.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.c=at.getProp(e,r.c,0,null,this),this.o=at.getProp(e,r.o,0,null,this),this.tr=Ad.getTransformProperty(e,r.tr,this),this.so=at.getProp(e,r.tr.so,0,.01,this),this.eo=at.getProp(e,r.tr.eo,0,.01,this),this.data=r,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new ue,this.rMatrix=new ue,this.sMatrix=new ue,this.tMatrix=new ue,this.matrix=new ue},kr.prototype.applyTransforms=function(e,r,s,l,h,c){var v=c?-1:1,x=l.s.v[0]+(1-l.s.v[0])*(1-h),g=l.s.v[1]+(1-l.s.v[1])*(1-h);e.translate(l.p.v[0]*v*h,l.p.v[1]*v*h,l.p.v[2]),r.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),r.rotate(-l.r.v*v*h),r.translate(l.a.v[0],l.a.v[1],l.a.v[2]),s.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),s.scale(c?1/x:x,c?1/g:g),s.translate(l.a.v[0],l.a.v[1],l.a.v[2])},kr.prototype.init=function(e,r,s,l){for(this.elem=e,this.arr=r,this.pos=s,this.elemsData=l,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r[s]);s>0;)s-=1,this._elements.unshift(r[s]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},kr.prototype.resetElements=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r]._processed=!1,e[r].ty==="gr"&&this.resetElements(e[r].it)},kr.prototype.cloneElements=function(e){var r=JSON.parse(JSON.stringify(e));return this.resetElements(r),r},kr.prototype.changeGroupRender=function(e,r){var s,l=e.length;for(s=0;s<l;s+=1)e[s]._render=r,e[s].ty==="gr"&&this.changeGroupRender(e[s].it,r)},kr.prototype.processShapes=function(e){var r,s,l,h,c,v=!1;if(this._mdf||e){var x=Math.ceil(this.c.v);if(this._groups.length<x){for(;this._groups.length<x;){var g={it:this.cloneElements(this._elements),ty:"gr"};g.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,g),this._groups.splice(0,0,g),this._currentCopies+=1}this.elem.reloadShapes(),v=!0}c=0;var k;for(l=0;l<=this._groups.length-1;l+=1){if(k=c<x,this._groups[l]._render=k,this.changeGroupRender(this._groups[l].it,k),!k){var M=this.elemsData[l].it,H=M[M.length-1];H.transform.op.v!==0?(H.transform.op._mdf=!0,H.transform.op.v=0):H.transform.op._mdf=!1}c+=1}this._currentCopies=x;var T=this.o.v,R=T%1,D=T>0?Math.floor(T):Math.ceil(T),O=this.pMatrix.props,z=this.rMatrix.props,N=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var I=0;if(T>0){for(;I<D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),I+=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,R,!1),I+=R)}else if(T<0){for(;I>D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),I-=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-R,!0),I-=R)}l=this.data.m===1?0:this._currentCopies-1,h=this.data.m===1?1:-1,c=this._currentCopies;for(var E,A;c;){if(r=this.elemsData[l].it,s=r[r.length-1].transform.mProps.v.props,A=s.length,r[r.length-1].transform.mProps._mdf=!0,r[r.length-1].transform.op._mdf=!0,r[r.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(l/(this._currentCopies-1)),I!==0){for((l!==0&&h===1||l!==this._currentCopies-1&&h===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(z[0],z[1],z[2],z[3],z[4],z[5],z[6],z[7],z[8],z[9],z[10],z[11],z[12],z[13],z[14],z[15]),this.matrix.transform(N[0],N[1],N[2],N[3],N[4],N[5],N[6],N[7],N[8],N[9],N[10],N[11],N[12],N[13],N[14],N[15]),this.matrix.transform(O[0],O[1],O[2],O[3],O[4],O[5],O[6],O[7],O[8],O[9],O[10],O[11],O[12],O[13],O[14],O[15]),E=0;E<A;E+=1)s[E]=this.matrix.props[E];this.matrix.reset()}else for(this.matrix.reset(),E=0;E<A;E+=1)s[E]=this.matrix.props[E];I+=1,c-=1,l+=h}}else for(c=this._currentCopies,l=0,h=1;c;)r=this.elemsData[l].it,s=r[r.length-1].transform.mProps.v.props,r[r.length-1].transform.mProps._mdf=!1,r[r.length-1].transform.op._mdf=!1,c-=1,l+=h;return v},kr.prototype.addShape=function(){};function qs(){}L([Qe],qs),qs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.rd=at.getProp(e,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},qs.prototype.processPath=function(e,r){var s=me.newElement();s.c=e.c;var l,h=e._length,c,v,x,g,k,M,H=0,T,R,D,O,z,N;for(l=0;l<h;l+=1)c=e.v[l],x=e.o[l],v=e.i[l],c[0]===x[0]&&c[1]===x[1]&&c[0]===v[0]&&c[1]===v[1]?(l===0||l===h-1)&&!e.c?(s.setTripleAt(c[0],c[1],x[0],x[1],v[0],v[1],H),H+=1):(l===0?g=e.v[h-1]:g=e.v[l-1],k=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),M=k?Math.min(k/2,r)/k:0,z=c[0]+(g[0]-c[0])*M,T=z,N=c[1]-(c[1]-g[1])*M,R=N,D=T-(T-c[0])*pe,O=R-(R-c[1])*pe,s.setTripleAt(T,R,D,O,z,N,H),H+=1,l===h-1?g=e.v[0]:g=e.v[l+1],k=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),M=k?Math.min(k/2,r)/k:0,D=c[0]+(g[0]-c[0])*M,T=D,O=c[1]+(g[1]-c[1])*M,R=O,z=T-(T-c[0])*pe,N=R-(R-c[1])*pe,s.setTripleAt(T,R,D,O,z,N,H),H+=1):(s.setTripleAt(e.v[l][0],e.v[l][1],e.o[l][0],e.o[l][1],e.i[l][0],e.i[l][1],H),H+=1);return s},qs.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,c,v=this.rd.v;if(v!==0){var x,g;for(s=0;s<l;s+=1){if(x=this.shapes[s],g=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,h=0;h<c;h+=1)g.addShape(this.processPath(r[h],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Sn(e,r){return Math.abs(e-r)*1e5<=Math.min(Math.abs(e),Math.abs(r))}function Sd(e){return Math.abs(e)<=1e-5}function yp(e,r,s){return e*(1-s)+r*s}function yi(e,r,s){return[yp(e[0],r[0],s),yp(e[1],r[1],s)]}function Eb(e,r,s){if(e===0)return[];var l=r*r-4*e*s;if(l<0)return[];var h=-r/(2*e);if(l===0)return[h];var c=Math.sqrt(l)/(2*e);return[h-c,h+c]}function Ep(e,r,s,l){return[-e+3*r-3*s+l,3*e-6*r+3*s,-3*e+3*r,e]}function Tp(e){return new Gt(e,e,e,e,!1)}function Gt(e,r,s,l,h){h&&Bo(e,r)&&(r=yi(e,l,1/3)),h&&Bo(s,l)&&(s=yi(e,l,2/3));var c=Ep(e[0],r[0],s[0],l[0]),v=Ep(e[1],r[1],s[1],l[1]);this.a=[c[0],v[0]],this.b=[c[1],v[1]],this.c=[c[2],v[2]],this.d=[c[3],v[3]],this.points=[e,r,s,l]}Gt.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},Gt.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},Gt.prototype.tangentAngle=function(e){var r=this.derivative(e);return Math.atan2(r[1],r[0])},Gt.prototype.normalAngle=function(e){var r=this.derivative(e);return Math.atan2(r[0],r[1])},Gt.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Sd(e))return[];var r=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,s=r*r-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(s<0)return[];var l=Math.sqrt(s);return Sd(l)?l>0&&l<1?[r]:[]:[r-l,r+l].filter(function(h){return h>0&&h<1})},Gt.prototype.split=function(e){if(e<=0)return[Tp(this.points[0]),this];if(e>=1)return[this,Tp(this.points[this.points.length-1])];var r=yi(this.points[0],this.points[1],e),s=yi(this.points[1],this.points[2],e),l=yi(this.points[2],this.points[3],e),h=yi(r,s,e),c=yi(s,l,e),v=yi(h,c,e);return[new Gt(this.points[0],r,h,v,!0),new Gt(v,c,l,this.points[3],!0)]};function xp(e,r){var s=e.points[0][r],l=e.points[e.points.length-1][r];if(s>l){var h=l;l=s,s=h}for(var c=Eb(3*e.a[r],2*e.b[r],e.c[r]),v=0;v<c.length;v+=1)if(c[v]>0&&c[v]<1){var x=e.point(c[v])[r];x<s?s=x:x>l&&(l=x)}return{min:s,max:l}}Gt.prototype.bounds=function(){return{x:xp(this,0),y:xp(this,1)}},Gt.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function _n(e,r,s){var l=e.boundingBox();return{cx:l.cx,cy:l.cy,width:l.width,height:l.height,bez:e,t:(r+s)/2,t1:r,t2:s}}function Ap(e){var r=e.bez.split(.5);return[_n(r[0],e.t1,e.t),_n(r[1],e.t,e.t2)]}function Tb(e,r){return Math.abs(e.cx-r.cx)*2<e.width+r.width&&Math.abs(e.cy-r.cy)*2<e.height+r.height}function Xs(e,r,s,l,h,c){if(Tb(e,r)){if(s>=c||e.width<=l&&e.height<=l&&r.width<=l&&r.height<=l){h.push([e.t,r.t]);return}var v=Ap(e),x=Ap(r);Xs(v[0],x[0],s+1,l,h,c),Xs(v[0],x[1],s+1,l,h,c),Xs(v[1],x[0],s+1,l,h,c),Xs(v[1],x[1],s+1,l,h,c)}}Gt.prototype.intersections=function(e,r,s){r===void 0&&(r=2),s===void 0&&(s=7);var l=[];return Xs(_n(this,0,1),_n(e,0,1),0,r,l,s),l},Gt.shapeSegment=function(e,r){var s=(r+1)%e.length();return new Gt(e.v[r],e.o[r],e.i[s],e.v[s],!0)},Gt.shapeSegmentInverted=function(e,r){var s=(r+1)%e.length();return new Gt(e.v[s],e.i[s],e.o[r],e.v[r],!0)};function _d(e,r){return[e[1]*r[2]-e[2]*r[1],e[2]*r[0]-e[0]*r[2],e[0]*r[1]-e[1]*r[0]]}function In(e,r,s,l){var h=[e[0],e[1],1],c=[r[0],r[1],1],v=[s[0],s[1],1],x=[l[0],l[1],1],g=_d(_d(h,c),_d(v,x));return Sd(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function Vo(e,r,s){return[e[0]+Math.cos(r)*s,e[1]-Math.sin(r)*s]}function Id(e,r){return Math.hypot(e[0]-r[0],e[1]-r[1])}function Bo(e,r){return Sn(e[0],r[0])&&Sn(e[1],r[1])}function Zs(){}L([Qe],Zs),Zs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amplitude=at.getProp(e,r.s,0,null,this),this.frequency=at.getProp(e,r.r,0,null,this),this.pointsType=at.getProp(e,r.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Sp(e,r,s,l,h,c,v){var x=s-Math.PI/2,g=s+Math.PI/2,k=r[0]+Math.cos(s)*l*h,M=r[1]-Math.sin(s)*l*h;e.setTripleAt(k,M,k+Math.cos(x)*c,M-Math.sin(x)*c,k+Math.cos(g)*v,M-Math.sin(g)*v,e.length())}function xb(e,r){var s=[r[0]-e[0],r[1]-e[1]],l=-Math.PI*.5,h=[Math.cos(l)*s[0]-Math.sin(l)*s[1],Math.sin(l)*s[0]+Math.cos(l)*s[1]];return h}function Ab(e,r){var s=r===0?e.length()-1:r-1,l=(r+1)%e.length(),h=e.v[s],c=e.v[l],v=xb(h,c);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function _p(e,r,s,l,h,c,v){var x=Ab(r,s),g=r.v[s%r._length],k=r.v[s===0?r._length-1:s-1],M=r.v[(s+1)%r._length],H=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]-M[0],2)+Math.pow(g[1]-M[1],2)):0;Sp(e,r.v[s%r._length],x,v,l,T/((h+1)*2),H/((h+1)*2),c)}function Sb(e,r,s,l,h,c){for(var v=0;v<l;v+=1){var x=(v+1)/(l+1),g=h===2?Math.sqrt(Math.pow(r.points[3][0]-r.points[0][0],2)+Math.pow(r.points[3][1]-r.points[0][1],2)):0,k=r.normalAngle(x),M=r.point(x);Sp(e,M,k,c,s,g/((l+1)*2),g/((l+1)*2),h),c=-c}return c}Zs.prototype.processPath=function(e,r,s,l){var h=e._length,c=me.newElement();if(c.c=e.c,e.c||(h-=1),h===0)return c;var v=-1,x=Gt.shapeSegment(e,0);_p(c,e,0,r,s,l,v);for(var g=0;g<h;g+=1)v=Sb(c,x,r,s,l,-v),g===h-1&&!e.c?x=null:x=Gt.shapeSegment(e,(g+1)%h),_p(c,e,g+1,r,s,l,v);return c},Zs.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,c,v=this.amplitude.v,x=Math.max(0,Math.round(this.frequency.v)),g=this.pointsType.v;if(v!==0){var k,M;for(s=0;s<l;s+=1){if(k=this.shapes[s],M=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(M.releaseShapes(),k.shape._mdf=!0,r=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)M.addShape(this.processPath(r[h],v,x,g));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Cd(e,r,s){var l=Math.atan2(r[0]-e[0],r[1]-e[1]);return[Vo(e,l,s),Vo(r,l,s)]}function Uo(e,r){var s,l,h,c,v,x,g;g=Cd(e.points[0],e.points[1],r),s=g[0],l=g[1],g=Cd(e.points[1],e.points[2],r),h=g[0],c=g[1],g=Cd(e.points[2],e.points[3],r),v=g[0],x=g[1];var k=In(s,l,h,c);k===null&&(k=l);var M=In(v,x,h,c);return M===null&&(M=v),new Gt(s,k,M,x)}function Ip(e,r,s,l,h){var c=r.points[3],v=s.points[0];if(l===3||Bo(c,v))return c;if(l===2){var x=-r.tangentAngle(1),g=-s.tangentAngle(0)+Math.PI,k=In(c,Vo(c,x+Math.PI/2,100),v,Vo(v,x+Math.PI/2,100)),M=k?Id(k,c):Id(c,v)/2,H=Vo(c,x,2*M*pe);return e.setXYAt(H[0],H[1],"o",e.length()-1),H=Vo(v,g,2*M*pe),e.setTripleAt(v[0],v[1],v[0],v[1],H[0],H[1],e.length()),v}var T=Bo(c,r.points[2])?r.points[0]:r.points[2],R=Bo(v,s.points[1])?s.points[3]:s.points[1],D=In(T,c,v,R);return D&&Id(D,c)<h?(e.setTripleAt(D[0],D[1],D[0],D[1],D[0],D[1],e.length()),D):c}function Cp(e,r){var s=e.intersections(r);return s.length&&Sn(s[0][0],1)&&s.shift(),s.length?s[0]:null}function kp(e,r){var s=e.slice(),l=r.slice(),h=Cp(e[e.length-1],r[0]);return h&&(s[e.length-1]=e[e.length-1].split(h[0])[0],l[0]=r[0].split(h[1])[1]),e.length>1&&r.length>1&&(h=Cp(e[0],r[r.length-1]),h)?[[e[0].split(h[0])[0]],[r[r.length-1].split(h[1])[1]]]:[s,l]}function _b(e){for(var r,s=1;s<e.length;s+=1)r=kp(e[s-1],e[s]),e[s-1]=r[0],e[s]=r[1];return e.length>1&&(r=kp(e[e.length-1],e[0]),e[e.length-1]=r[0],e[0]=r[1]),e}function wp(e,r){var s=e.inflectionPoints(),l,h,c,v;if(s.length===0)return[Uo(e,r)];if(s.length===1||Sn(s[1],1))return c=e.split(s[0]),l=c[0],h=c[1],[Uo(l,r),Uo(h,r)];c=e.split(s[0]),l=c[0];var x=(s[1]-s[0])/(1-s[0]);return c=c[1].split(x),v=c[0],h=c[1],[Uo(l,r),Uo(v,r),Uo(h,r)]}function Qs(){}L([Qe],Qs),Qs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=at.getProp(e,r.a,0,null,this),this.miterLimit=at.getProp(e,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Qs.prototype.processPath=function(e,r,s,l){var h=me.newElement();h.c=e.c;var c=e.length();e.c||(c-=1);var v,x,g,k=[];for(v=0;v<c;v+=1)g=Gt.shapeSegment(e,v),k.push(wp(g,r));if(!e.c)for(v=c-1;v>=0;v-=1)g=Gt.shapeSegmentInverted(e,v),k.push(wp(g,r));k=_b(k);var M=null,H=null;for(v=0;v<k.length;v+=1){var T=k[v];for(H&&(M=Ip(h,H,T[0],s,l)),H=T[T.length-1],x=0;x<T.length;x+=1)g=T[x],M&&Bo(g.points[0],M)?h.setXYAt(g.points[1][0],g.points[1][1],"o",h.length()-1):h.setTripleAt(g.points[0][0],g.points[0][1],g.points[1][0],g.points[1][1],g.points[0][0],g.points[0][1],h.length()),h.setTripleAt(g.points[3][0],g.points[3][1],g.points[3][0],g.points[3][1],g.points[2][0],g.points[2][1],h.length()),M=g.points[3]}return k.length&&Ip(h,H,k[0][0],s,l),h},Qs.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,c,v=this.amount.v,x=this.miterLimit.v,g=this.lineJoin;if(v!==0){var k,M;for(s=0;s<l;s+=1){if(k=this.shapes[s],M=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(M.releaseShapes(),k.shape._mdf=!0,r=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)M.addShape(this.processPath(r[h],v,g,x));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Np(e){for(var r=e.fStyle?e.fStyle.split(" "):[],s="normal",l="normal",h=r.length,c,v=0;v<h;v+=1)switch(c=r[v].toLowerCase(),c){case"italic":l="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200";break;default:break}return{style:l,weight:e.fWeight||s}}var Zi=function(){var e=5e3,r={w:0,size:0,shapes:[],data:{shapes:[]}},s=[];s=s.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var l=127988,h=917631,c=917601,v=917626,x=65039,g=8205,k=127462,M=127487,H=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T(S){var P=S.split(","),f,y=P.length,G=[];for(f=0;f<y;f+=1)P[f]!=="sans-serif"&&P[f]!=="monospace"&&G.push(P[f]);return G.join(",")}function R(S,P){var f=C("span");f.setAttribute("aria-hidden",!0),f.style.fontFamily=P;var y=C("span");y.innerText="giItT1WQy@!-/#",f.style.position="absolute",f.style.left="-10000px",f.style.top="-10000px",f.style.fontSize="300px",f.style.fontVariant="normal",f.style.fontStyle="normal",f.style.fontWeight="normal",f.style.letterSpacing="0",f.appendChild(y),document.body.appendChild(f);var G=y.offsetWidth;return y.style.fontFamily=T(S)+", "+P,{node:y,w:G,parent:f}}function D(){var S,P=this.fonts.length,f,y,G=P;for(S=0;S<P;S+=1)this.fonts[S].loaded?G-=1:this.fonts[S].fOrigin==="n"||this.fonts[S].origin===0?this.fonts[S].loaded=!0:(f=this.fonts[S].monoCase.node,y=this.fonts[S].monoCase.w,f.offsetWidth!==y?(G-=1,this.fonts[S].loaded=!0):(f=this.fonts[S].sansCase.node,y=this.fonts[S].sansCase.w,f.offsetWidth!==y&&(G-=1,this.fonts[S].loaded=!0)),this.fonts[S].loaded&&(this.fonts[S].sansCase.parent.parentNode.removeChild(this.fonts[S].sansCase.parent),this.fonts[S].monoCase.parent.parentNode.removeChild(this.fonts[S].monoCase.parent)));G!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function O(S,P){var f=document.body&&P?"svg":"canvas",y,G=Np(S);if(f==="svg"){var F=Tt("text");F.style.fontSize="100px",F.setAttribute("font-family",S.fFamily),F.setAttribute("font-style",G.style),F.setAttribute("font-weight",G.weight),F.textContent="1",S.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",S.fClass)):F.style.fontFamily=S.fFamily,P.appendChild(F),y=F}else{var nt=new OffscreenCanvas(500,500).getContext("2d");nt.font=G.style+" "+G.weight+" 100px "+S.fFamily,y=nt}function ft(Et){return f==="svg"?(y.textContent=Et,y.getComputedTextLength()):y.measureText(Et).width}return{measureText:ft}}function z(S,P){if(!S){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=S.list;return}if(!document.body){this.isLoaded=!0,S.list.forEach(function(Me){Me.helper=O(Me),Me.cache={}}),this.fonts=S.list;return}var f=S.list,y,G=f.length,F=G;for(y=0;y<G;y+=1){var nt=!0,ft,Et;if(f[y].loaded=!1,f[y].monoCase=R(f[y].fFamily,"monospace"),f[y].sansCase=R(f[y].fFamily,"sans-serif"),!f[y].fPath)f[y].loaded=!0,F-=1;else if(f[y].fOrigin==="p"||f[y].origin===3){if(ft=document.querySelectorAll('style[f-forigin="p"][f-family="'+f[y].fFamily+'"], style[f-origin="3"][f-family="'+f[y].fFamily+'"]'),ft.length>0&&(nt=!1),nt){var Nt=C("style");Nt.setAttribute("f-forigin",f[y].fOrigin),Nt.setAttribute("f-origin",f[y].origin),Nt.setAttribute("f-family",f[y].fFamily),Nt.type="text/css",Nt.innerText="@font-face {font-family: "+f[y].fFamily+"; font-style: normal; src: url('"+f[y].fPath+"');}",P.appendChild(Nt)}}else if(f[y].fOrigin==="g"||f[y].origin===1){for(ft=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Et=0;Et<ft.length;Et+=1)ft[Et].href.indexOf(f[y].fPath)!==-1&&(nt=!1);if(nt){var Lt=C("link");Lt.setAttribute("f-forigin",f[y].fOrigin),Lt.setAttribute("f-origin",f[y].origin),Lt.type="text/css",Lt.rel="stylesheet",Lt.href=f[y].fPath,document.body.appendChild(Lt)}}else if(f[y].fOrigin==="t"||f[y].origin===2){for(ft=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Et=0;Et<ft.length;Et+=1)f[y].fPath===ft[Et].src&&(nt=!1);if(nt){var Jt=C("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=O(f[y],P),f[y].cache={},this.fonts.push(f[y])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function N(S){if(S){this.chars||(this.chars=[]);var P,f=S.length,y,G=this.chars.length,F;for(P=0;P<f;P+=1){for(y=0,F=!1;y<G;)this.chars[y].style===S[P].style&&this.chars[y].fFamily===S[P].fFamily&&this.chars[y].ch===S[P].ch&&(F=!0),y+=1;F||(this.chars.push(S[P]),G+=1)}}}function I(S,P,f){for(var y=0,G=this.chars.length;y<G;){if(this.chars[y].ch===S&&this.chars[y].style===P&&this.chars[y].fFamily===f)return this.chars[y];y+=1}return(typeof S=="string"&&S.charCodeAt(0)!==13||!S)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",S,P,f)),r}function E(S,P,f){var y=this.getFontByName(P),G=S;if(!y.cache[G]){var F=y.helper;if(S===" "){var nt=F.measureText("|"+S+"|"),ft=F.measureText("||");y.cache[G]=(nt-ft)/100}else y.cache[G]=F.measureText(S)/100}return y.cache[G]*f}function A(S){for(var P=0,f=this.fonts.length;P<f;){if(this.fonts[P].fName===S)return this.fonts[P];P+=1}return this.fonts[0]}function w(S){var P=0,f=S.charCodeAt(0);if(f>=55296&&f<=56319){var y=S.charCodeAt(1);y>=56320&&y<=57343&&(P=(f-55296)*1024+y-56320+65536)}return P}function $(S,P){var f=S.toString(16)+P.toString(16);return H.indexOf(f)!==-1}function U(S){return S===g}function Y(S){return S===x}function J(S){var P=w(S);return P>=k&&P<=M}function yt(S){return J(S.substr(0,2))&&J(S.substr(2,2))}function pt(S){return s.indexOf(S)!==-1}function ot(S,P){var f=w(S.substr(P,2));if(f!==l)return!1;var y=0;for(P+=2;y<5;){if(f=w(S.substr(P,2)),f<c||f>v)return!1;y+=1,P+=2}return w(S.substr(P,2))===h}function xt(){this.isLoaded=!0}var ct=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};ct.isModifier=$,ct.isZeroWidthJoiner=U,ct.isFlagEmoji=yt,ct.isRegionalCode=J,ct.isCombinedCharacter=pt,ct.isRegionalFlag=ot,ct.isVariationSelector=Y,ct.BLACK_FLAG_CODE_POINT=l;var Z={addChars:N,addFonts:z,getCharData:I,getFontByName:A,measureText:E,checkLoadedFonts:D,setIsLoaded:xt};return ct.prototype=Z,ct}();function Lp(e){this.animationData=e}Lp.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function Ib(e){return new Lp(e)}function Cn(){}Cn.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(r){this.renderableComponents.indexOf(r)===-1&&this.renderableComponents.push(r)},removeRenderableComponent:function(r){this.renderableComponents.indexOf(r)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(r),1)},prepareRenderableFrame:function(r){this.checkLayerLimits(r)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(r){this.data.ip-this.data.st<=r&&this.data.op-this.data.st>r?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var r,s=this.renderableComponents.length;for(r=0;r<s;r+=1)this.renderableComponents[r].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var kd=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(r){return e[r]||""}}();function Cb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function kb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function wb(e,r,s){this.p=at.getProp(r,e.v,1,0,s)}function Nb(e,r,s){this.p=at.getProp(r,e.v,1,0,s)}function Lb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Mb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Rb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Ob(){this.p={}}function Mp(e,r){var s=e.ef||[];this.effectElements=[];var l,h=s.length,c;for(l=0;l<h;l+=1)c=new Js(s[l],r),this.effectElements.push(c)}function Js(e,r){this.init(e,r)}L([de],Js),Js.prototype.getValue=Js.prototype.iterateDynamicProperties,Js.prototype.init=function(e,r){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(r);var s,l=this.data.ef.length,h,c=this.data.ef;for(s=0;s<l;s+=1){switch(h=null,c[s].ty){case 0:h=new Cb(c[s],r,this);break;case 1:h=new kb(c[s],r,this);break;case 2:h=new wb(c[s],r,this);break;case 3:h=new Nb(c[s],r,this);break;case 4:case 7:h=new Rb(c[s],r,this);break;case 10:h=new Lb(c[s],r,this);break;case 11:h=new Mb(c[s],r,this);break;case 5:h=new Mp(c[s],r,this);break;default:h=new Ob(c[s],r,this);break}h&&this.effectElements.push(h)}};function Ei(){}Ei.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var r=0,s=this.data.masksProperties.length;r<s;){if(this.data.masksProperties[r].mode!=="n"&&this.data.masksProperties[r].cl!==!1)return!0;r+=1}return!1},initExpressions:function(){var r=op();if(r){var s=r("layer"),l=r("effects"),h=r("shape"),c=r("text"),v=r("comp");this.layerInterface=s(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var x=l.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(x),this.data.ty===0||this.data.xt?this.compInterface=v(this):this.data.ty===4?(this.layerInterface.shapeInterface=h(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=c(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var r=kd(this.data.bm),s=this.baseElement||this.layerElement;s.style["mix-blend-mode"]=r},initBaseData:function(r,s,l){this.globalData=s,this.comp=l,this.data=r,this.layerId=Ne(),this.data.sr||(this.data.sr=1),this.effectsManager=new Mp(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Ti(){}Ti.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,s){var l,h=this.dynamicProperties.length;for(l=0;l<h;l+=1)(s||this._isParent&&this.dynamicProperties[l].propType==="transform")&&(this.dynamicProperties[l].getValue(),this.dynamicProperties[l]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function xi(e,r,s){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.footageData=r.imageLoader.getAsset(this.assetData),this.initBaseData(e,r,s)}xi.prototype.prepareFrame=function(){},L([Cn,Ei,Ti],xi),xi.prototype.getBaseElement=function(){return null},xi.prototype.renderFrame=function(){},xi.prototype.destroy=function(){},xi.prototype.initExpressions=function(){var e=op();if(e){var r=e("footage");this.layerInterface=r(this)}},xi.prototype.getFootageData=function(){return this.footageData};function Le(e,r,s){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.initBaseData(e,r,s),this._isPlaying=!1,this._canPlay=!1;var l=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(l),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?at.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=at.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}Le.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var r=this.tm.v;this._currentTime=r}this._volume=this.lv.v[0];var s=this._volume*this._volumeMultiplier;this._previousVolume!==s&&(this._previousVolume=s,this.audio.volume(s))},L([Cn,Ei,Ti],Le),Le.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},Le.prototype.show=function(){},Le.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Le.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Le.prototype.resume=function(){this._canPlay=!0},Le.prototype.setRate=function(e){this.audio.rate(e)},Le.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},Le.prototype.getBaseElement=function(){return null},Le.prototype.destroy=function(){},Le.prototype.sourceRectAtTime=function(){},Le.prototype.initExpressions=function(){};function fe(){}fe.prototype.checkLayers=function(e){var r,s=this.layers.length,l;for(this.completeLayers=!0,r=s-1;r>=0;r-=1)this.elements[r]||(l=this.layers[r],l.ip-l.st<=e-this.layers[r].st&&l.op-l.st>e-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},fe.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},fe.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},fe.prototype.createAudio=function(e){return new Le(e,this.globalData,this)},fe.prototype.createFootage=function(e){return new xi(e,this.globalData,this)},fe.prototype.buildAllItems=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.buildItem(e);this.checkPendingElements()},fe.prototype.includeLayers=function(e){this.completeLayers=!1;var r,s=e.length,l,h=this.layers.length;for(r=0;r<s;r+=1)for(l=0;l<h;){if(this.layers[l].id===e[r].id){this.layers[l]=e[r];break}l+=1}},fe.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},fe.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},fe.prototype.buildElementParenting=function(e,r,s){for(var l=this.elements,h=this.layers,c=0,v=h.length;c<v;)h[c].ind==r&&(!l[c]||l[c]===!0?(this.buildItem(c),this.addPendingElement(e)):(s.push(l[c]),l[c].setAsParent(),h[c].parent!==void 0?this.buildElementParenting(e,h[c].parent,s):e.setHierarchy(s))),c+=1},fe.prototype.addPendingElement=function(e){this.pendingElements.push(e)},fe.prototype.searchExtraCompositions=function(e){var r,s=e.length;for(r=0;r<s;r+=1)if(e[r].xt){var l=this.createComp(e[r]);l.initExpressions(),this.globalData.projectInterface.registerComposition(l)}},fe.prototype.getElementById=function(e){var r,s=this.elements.length;for(r=0;r<s;r+=1)if(this.elements[r].data.ind===e)return this.elements[r];return null},fe.prototype.getElementByPath=function(e){var r=e.shift(),s;if(typeof r=="number")s=this.elements[r];else{var l,h=this.elements.length;for(l=0;l<h;l+=1)if(this.elements[l].data.nm===r){s=this.elements[l];break}}return e.length===0?s:s.getElementByPath(e)},fe.prototype.setupGlobalData=function(e,r){this.globalData.fontManager=new Zi,this.globalData.slotManager=Ib(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,r),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var Pb={TRANSFORM_EFFECT:"transformEFfect"};function Ho(){}Ho.prototype={initTransform:function(){var r=new ue;this.finalTransform={mProp:this.data.ks?Ad.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:r,localMat:r,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var r,s=this.finalTransform.mat,l=0,h=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;l<h;){if(this.hierarchy[l].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}l+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,s.cloneFromProps(r),l=0;l<h;l+=1)s.multiply(this.hierarchy[l].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var r=0,s=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;r<s;)this.localTransforms[r]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[r]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),r+=1;if(this.finalTransform._localMatMdf){var l=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(l),r=1;r<s;r+=1){var h=this.localTransforms[r].matrix;l.multiply(h)}l.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(r=0;r<s;r+=1)c*=this.localTransforms[r].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var r=this.renderableEffectsManager.getEffects(Pb.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new ue;var s=0,l=r.length;for(s=0;s<l;s+=1)this.localTransforms.push(r[s])}}},globalToLocal:function(r){var s=[];s.push(this.finalTransform);for(var l=!0,h=this.comp;l;)h.finalTransform?(h.data.hasMask&&s.splice(0,0,h.finalTransform),h=h.comp):l=!1;var c,v=s.length,x;for(c=0;c<v;c+=1)x=s[c].mat.applyToPointArray(0,0,0),r=[r[0]-x[0],r[1]-x[1],0];return r},mHelper:new ue};function Qi(e,r,s){this.data=e,this.element=r,this.globalData=s,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var l=this.globalData.defs,h,c=this.masksProperties?this.masksProperties.length:0;this.viewData=tt(c),this.solidPath="";var v,x=this.masksProperties,g=0,k=[],M,H,T=Ne(),R,D,O,z,N="clipPath",I="clip-path";for(h=0;h<c;h+=1)if((x[h].mode!=="a"&&x[h].mode!=="n"||x[h].inv||x[h].o.k!==100||x[h].o.x)&&(N="mask",I="mask"),(x[h].mode==="s"||x[h].mode==="i")&&g===0?(R=Tt("rect"),R.setAttribute("fill","#ffffff"),R.setAttribute("width",this.element.comp.data.w||0),R.setAttribute("height",this.element.comp.data.h||0),k.push(R)):R=null,v=Tt("path"),x[h].mode==="n")this.viewData[h]={op:at.getProp(this.element,x[h].o,0,.01,this.element),prop:Tn.getShapeProp(this.element,x[h],3),elem:v,lastPath:""},l.appendChild(v);else{g+=1,v.setAttribute("fill",x[h].mode==="s"?"#000000":"#ffffff"),v.setAttribute("clip-rule","nonzero");var E;if(x[h].x.k!==0?(N="mask",I="mask",z=at.getProp(this.element,x[h].x,0,null,this.element),E=Ne(),D=Tt("filter"),D.setAttribute("id",E),O=Tt("feMorphology"),O.setAttribute("operator","erode"),O.setAttribute("in","SourceGraphic"),O.setAttribute("radius","0"),D.appendChild(O),l.appendChild(D),v.setAttribute("stroke",x[h].mode==="s"?"#000000":"#ffffff")):(O=null,z=null),this.storedData[h]={elem:v,x:z,expan:O,lastPath:"",lastOperator:"",filterId:E,lastRadius:0},x[h].mode==="i"){H=k.length;var A=Tt("g");for(M=0;M<H;M+=1)A.appendChild(k[M]);var w=Tt("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",T+"_"+g),w.appendChild(v),l.appendChild(w),A.setAttribute("mask","url("+b()+"#"+T+"_"+g+")"),k.length=0,k.push(A)}else k.push(v);x[h].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[h]={elem:v,lastPath:"",op:at.getProp(this.element,x[h].o,0,.01,this.element),prop:Tn.getShapeProp(this.element,x[h],3),invRect:R},this.viewData[h].prop.k||this.drawPath(x[h],this.viewData[h].prop.v,this.viewData[h])}for(this.maskElement=Tt(N),c=k.length,h=0;h<c;h+=1)this.maskElement.appendChild(k[h]);g>0&&(this.maskElement.setAttribute("id",T),this.element.maskedElement.setAttribute(I,"url("+b()+"#"+T+")"),l.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Qi.prototype.getMaskProperty=function(e){return this.viewData[e].prop},Qi.prototype.renderFrame=function(e){var r=this.element.finalTransform.mat,s,l=this.masksProperties.length;for(s=0;s<l;s+=1)if((this.viewData[s].prop._mdf||e)&&this.drawPath(this.masksProperties[s],this.viewData[s].prop.v,this.viewData[s]),(this.viewData[s].op._mdf||e)&&this.viewData[s].elem.setAttribute("fill-opacity",this.viewData[s].op.v),this.masksProperties[s].mode!=="n"&&(this.viewData[s].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[s].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[s].x&&(this.storedData[s].x._mdf||e))){var h=this.storedData[s].expan;this.storedData[s].x.v<0?(this.storedData[s].lastOperator!=="erode"&&(this.storedData[s].lastOperator="erode",this.storedData[s].elem.setAttribute("filter","url("+b()+"#"+this.storedData[s].filterId+")")),h.setAttribute("radius",-this.storedData[s].x.v)):(this.storedData[s].lastOperator!=="dilate"&&(this.storedData[s].lastOperator="dilate",this.storedData[s].elem.setAttribute("filter",null)),this.storedData[s].elem.setAttribute("stroke-width",this.storedData[s].x.v*2))}},Qi.prototype.getMaskelement=function(){return this.maskElement},Qi.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},Qi.prototype.drawPath=function(e,r,s){var l=" M"+r.v[0][0]+","+r.v[0][1],h,c;for(c=r._length,h=1;h<c;h+=1)l+=" C"+r.o[h-1][0]+","+r.o[h-1][1]+" "+r.i[h][0]+","+r.i[h][1]+" "+r.v[h][0]+","+r.v[h][1];if(r.c&&c>1&&(l+=" C"+r.o[h-1][0]+","+r.o[h-1][1]+" "+r.i[0][0]+","+r.i[0][1]+" "+r.v[0][0]+","+r.v[0][1]),s.lastPath!==l){var v="";s.elem&&(r.c&&(v=e.inv?this.solidPath+l:l),s.elem.setAttribute("d",v)),s.lastPath=l}},Qi.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var ta=function(){var e={};e.createFilter=r,e.createAlphaToLuminanceFilter=s;function r(l,h){var c=Tt("filter");return c.setAttribute("id",l),h!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function s(){var l=Tt("feColorMatrix");return l.setAttribute("type","matrix"),l.setAttribute("color-interpolation-filters","sRGB"),l.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),l}return e}(),Rp=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}(),kn={},Op="filter_result_";function wd(e){var r,s="SourceGraphic",l=e.data.ef?e.data.ef.length:0,h=Ne(),c=ta.createFilter(h,!0),v=0;this.filters=[];var x;for(r=0;r<l;r+=1){x=null;var g=e.data.ef[r].ty;if(kn[g]){var k=kn[g].effect;x=new k(c,e.effectsManager.effectElements[r],e,Op+v,s),s=Op+v,kn[g].countsAsEffect&&(v+=1)}x&&this.filters.push(x)}v&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+b()+"#"+h+")")),this.filters.length&&e.addRenderableComponent(this)}wd.prototype.renderFrame=function(e){var r,s=this.filters.length;for(r=0;r<s;r+=1)this.filters[r].renderFrame(e)},wd.prototype.getEffects=function(e){var r,s=this.filters.length,l=[];for(r=0;r<s;r+=1)this.filters[r].type===e&&l.push(this.filters[r]);return l};function AA(e,r,s){kn[e]={effect:r,countsAsEffect:s}}function ea(){}ea.prototype={initRendererElement:function(){this.layerElement=Tt("g")},createContainerElements:function(){this.matteElement=Tt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var s=Tt("g");s.setAttribute("id",this.layerId),s.appendChild(this.layerElement),r=s,this.globalData.defs.appendChild(s)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),r=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var l=Tt("clipPath"),h=Tt("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var c=Ne();if(l.setAttribute("id",c),l.appendChild(h),this.globalData.defs.appendChild(l),this.checkMasks()){var v=Tt("g");v.setAttribute("clip-path","url("+b()+"#"+c+")"),v.appendChild(this.layerElement),this.transformedElement=v,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+b()+"#"+c+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new Qi(this.data,this,this.globalData),this.renderableEffectsManager=new wd(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var s=this.layerId+"_"+r,l,h,c,v;if(r===1||r===3){var x=Tt("mask");x.setAttribute("id",s),x.setAttribute("mask-type",r===3?"luminance":"alpha"),c=Tt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),x.appendChild(c),this.globalData.defs.appendChild(x),!Rp.maskType&&r===1&&(x.setAttribute("mask-type","luminance"),l=Ne(),h=ta.createFilter(l),this.globalData.defs.appendChild(h),h.appendChild(ta.createAlphaToLuminanceFilter()),v=Tt("g"),v.appendChild(c),x.appendChild(v),v.setAttribute("filter","url("+b()+"#"+l+")"))}else if(r===2){var g=Tt("mask");g.setAttribute("id",s),g.setAttribute("mask-type","alpha");var k=Tt("g");g.appendChild(k),l=Ne(),h=ta.createFilter(l);var M=Tt("feComponentTransfer");M.setAttribute("in","SourceGraphic"),h.appendChild(M);var H=Tt("feFuncA");H.setAttribute("type","table"),H.setAttribute("tableValues","1.0 0.0"),M.appendChild(H),this.globalData.defs.appendChild(h);var T=Tt("rect");T.setAttribute("width",this.comp.data.w),T.setAttribute("height",this.comp.data.h),T.setAttribute("x","0"),T.setAttribute("y","0"),T.setAttribute("fill","#ffffff"),T.setAttribute("opacity","0"),k.setAttribute("filter","url("+b()+"#"+l+")"),k.appendChild(T),c=Tt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),k.appendChild(c),Rp.maskType||(g.setAttribute("mask-type","luminance"),h.appendChild(ta.createAlphaToLuminanceFilter()),v=Tt("g"),k.appendChild(T),v.appendChild(this.layerElement),k.appendChild(v)),this.globalData.defs.appendChild(g)}this.matteMasks[r]=s}return this.matteMasks[r]},setMatte:function(r){this.matteElement&&this.matteElement.setAttribute("mask","url("+b()+"#"+r+")")}};function Go(){}Go.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(r){this.hierarchy=r},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function ra(){}(function(){var e={initElement:function(s,l,h){this.initFrame(),this.initBaseData(s,l,h),this.initTransform(s,l,h),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var s=this.baseElement||this.layerElement;s.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var s=this.baseElement||this.layerElement;s.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(s){this._mdf=!1,this.prepareRenderableFrame(s),this.prepareProperties(s,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};L([Cn,q(e)],ra)})();function ia(e,r,s){this.assetData=r.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=r.slotManager.getProp(this.assetData)),this.initElement(e,r,s),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}L([Ei,Ho,ea,Go,Ti,ra],ia),ia.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)},ia.prototype.sourceRectAtTime=function(){return this.sourceRect};function Db(e,r){this.elem=e,this.pos=r}function Pp(){}Pp.prototype={addShapeToModifiers:function(r){var s,l=this.shapeModifiers.length;for(s=0;s<l;s+=1)this.shapeModifiers[s].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var s=0,l=this.shapeModifiers.length;s<l;)if(this.shapeModifiers[s].isAnimatedWithShape(r))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var r,s=this.shapes.length;for(r=0;r<s;r+=1)this.shapes[r].sh.reset();s=this.shapeModifiers.length;var l;for(r=s-1;r>=0&&(l=this.shapeModifiers[r].processShapes(this._isFirstFrame),!l);r-=1);}},searchProcessedElement:function(r){for(var s=this.processedElements,l=0,h=s.length;l<h;){if(s[l].elem===r)return s[l].pos;l+=1}return 0},addProcessedElement:function(r,s){for(var l=this.processedElements,h=l.length;h;)if(h-=1,l[h].elem===r){l[h].pos=s;return}l.push(new Db(r,s))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var Dp={1:"butt",2:"round",3:"square"},$p={1:"miter",2:"round",3:"bevel"};function Fp(e,r,s){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=s,this.lvl=r,this._isAnimated=!!s.k;for(var l=0,h=e.length;l<h;){if(e[l].mProps.dynamicProperties.length){this._isAnimated=!0;break}l+=1}}Fp.prototype.setAsAnimated=function(){this._isAnimated=!0};function zp(e,r){this.data=e,this.type=e.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=e.hd===!0,this.pElem=Tt("path"),this.msElem=null}zp.prototype.reset=function(){this.d="",this._mdf=!1};function wn(e,r,s,l){this.elem=e,this.frameId=-1,this.dataProps=tt(r.length),this.renderer=s,this.k=!1,this.dashStr="",this.dashArray=X("float32",r.length?r.length-1:0),this.dashoffset=X("float32",1),this.initDynamicPropertyContainer(l);var h,c=r.length||0,v;for(h=0;h<c;h+=1)v=at.getProp(e,r[h].v,0,0,this),this.k=v.k||this.k,this.dataProps[h]={n:r[h].n,p:v};this.k||this.getValue(!0),this._isAnimated=this.k}wn.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var r=0,s=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),r=0;r<s;r+=1)this.dataProps[r].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[r].p.v:this.dashArray[r]=this.dataProps[r].p.v:this.dashoffset[0]=this.dataProps[r].p.v}},L([de],wn);function Vp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,r.o,0,.01,this),this.w=at.getProp(e,r.w,0,null,this),this.d=new wn(e,r.d||{},"svg",this),this.c=at.getProp(e,r.c,1,255,this),this.style=s,this._isAnimated=!!this._isAnimated}L([de],Vp);function Bp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,r.o,0,.01,this),this.c=at.getProp(e,r.c,1,255,this),this.style=s}L([de],Bp);function Up(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=s}L([de],Up);function oa(e,r,s){this.data=r,this.c=X("uint8c",r.p*4);var l=r.k.k[0].s?r.k.k[0].s.length-r.p*4:r.k.k.length-r.p*4;this.o=X("float32",l),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=l,this.initDynamicPropertyContainer(s),this.prop=at.getProp(e,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}oa.prototype.comparePoints=function(e,r){for(var s=0,l=this.o.length/2,h;s<l;){if(h=Math.abs(e[s*4]-e[r*4+s*2]),h>.01)return!1;s+=1}return!0},oa.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,r=this.data.k.k.length;e<r;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},oa.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var r,s=this.data.p*4,l,h;for(r=0;r<s;r+=1)l=r%4===0?100:255,h=Math.round(this.prop.v[r]*l),this.c[r]!==h&&(this.c[r]=h,this._cmdf=!e);if(this.o.length)for(s=this.prop.v.length,r=this.data.p*4;r<s;r+=1)l=r%2===0?100:1,h=r%2===0?Math.round(this.prop.v[r]*100):this.prop.v[r],this.o[r-this.data.p*4]!==h&&(this.o[r-this.data.p*4]=h,this._omdf=!e);this._mdf=!e}},L([de],oa);function Yo(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,r,s)}Yo.prototype.initGradientData=function(e,r,s){this.o=at.getProp(e,r.o,0,.01,this),this.s=at.getProp(e,r.s,1,null,this),this.e=at.getProp(e,r.e,1,null,this),this.h=at.getProp(e,r.h||{k:0},0,.01,this),this.a=at.getProp(e,r.a||{k:0},0,Ct,this),this.g=new oa(e,r.g,this),this.style=s,this.stops=[],this.setGradientData(s.pElem,r),this.setGradientOpacity(r,s),this._isAnimated=!!this._isAnimated},Yo.prototype.setGradientData=function(e,r){var s=Ne(),l=Tt(r.t===1?"linearGradient":"radialGradient");l.setAttribute("id",s),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse");var h=[],c,v,x;for(x=r.g.p*4,v=0;v<x;v+=4)c=Tt("stop"),l.appendChild(c),h.push(c);e.setAttribute(r.ty==="gf"?"fill":"stroke","url("+b()+"#"+s+")"),this.gf=l,this.cst=h},Yo.prototype.setGradientOpacity=function(e,r){if(this.g._hasOpacity&&!this.g._collapsable){var s,l,h,c=Tt("mask"),v=Tt("path");c.appendChild(v);var x=Ne(),g=Ne();c.setAttribute("id",g);var k=Tt(e.t===1?"linearGradient":"radialGradient");k.setAttribute("id",x),k.setAttribute("spreadMethod","pad"),k.setAttribute("gradientUnits","userSpaceOnUse"),h=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var M=this.stops;for(l=e.g.p*4;l<h;l+=2)s=Tt("stop"),s.setAttribute("stop-color","rgb(255,255,255)"),k.appendChild(s),M.push(s);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+b()+"#"+x+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",Dp[e.lc||2]),v.setAttribute("stroke-linejoin",$p[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=k,this.ms=c,this.ost=M,this.maskId=g,r.msElem=v}},L([de],Yo);function Hp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=at.getProp(e,r.w,0,null,this),this.d=new wn(e,r.d||{},"svg",this),this.initGradientData(e,r,s),this._isAnimated=!!this._isAnimated}L([Yo,de],Hp);function $b(){this.it=[],this.prevViewData=[],this.gr=Tt("g")}function Fb(e,r,s){this.transform={mProps:e,op:r,container:s},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var Gp=function(r,s,l,h){if(s===0)return"";var c=r.o,v=r.i,x=r.v,g,k=" M"+h.applyToPointStringified(x[0][0],x[0][1]);for(g=1;g<s;g+=1)k+=" C"+h.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+h.applyToPointStringified(v[g][0],v[g][1])+" "+h.applyToPointStringified(x[g][0],x[g][1]);return l&&s&&(k+=" C"+h.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+h.applyToPointStringified(v[0][0],v[0][1])+" "+h.applyToPointStringified(x[0][0],x[0][1]),k+="z"),k},zb=function(){var e=new ue,r=new ue,s={createRenderFunction:l};function l(H){switch(H.ty){case"fl":return x;case"gf":return k;case"gs":return g;case"st":return M;case"sh":case"el":case"rc":case"sr":return v;case"tr":return h;case"no":return c;default:return null}}function h(H,T,R){(R||T.transform.op._mdf)&&T.transform.container.setAttribute("opacity",T.transform.op.v),(R||T.transform.mProps._mdf)&&T.transform.container.setAttribute("transform",T.transform.mProps.v.to2dCSS())}function c(){}function v(H,T,R){var D,O,z,N,I,E,A=T.styles.length,w=T.lvl,$,U,Y,J;for(E=0;E<A;E+=1){if(N=T.sh._mdf||R,T.styles[E].lvl<w){for(U=r.reset(),Y=w-T.styles[E].lvl,J=T.transformers.length-1;!N&&Y>0;)N=T.transformers[J].mProps._mdf||N,Y-=1,J-=1;if(N)for(Y=w-T.styles[E].lvl,J=T.transformers.length-1;Y>0;)U.multiply(T.transformers[J].mProps.v),Y-=1,J-=1}else U=e;if($=T.sh.paths,O=$._length,N){for(z="",D=0;D<O;D+=1)I=$.shapes[D],I&&I._length&&(z+=Gp(I,I._length,I.c,U));T.caches[E]=z}else z=T.caches[E];T.styles[E].d+=H.hd===!0?"":z,T.styles[E]._mdf=N||T.styles[E]._mdf}}function x(H,T,R){var D=T.style;(T.c._mdf||R)&&D.pElem.setAttribute("fill","rgb("+le(T.c.v[0])+","+le(T.c.v[1])+","+le(T.c.v[2])+")"),(T.o._mdf||R)&&D.pElem.setAttribute("fill-opacity",T.o.v)}function g(H,T,R){k(H,T,R),M(H,T,R)}function k(H,T,R){var D=T.gf,O=T.g._hasOpacity,z=T.s.v,N=T.e.v;if(T.o._mdf||R){var I=H.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(I,T.o.v)}if(T.s._mdf||R){var E=H.t===1?"x1":"cx",A=E==="x1"?"y1":"cy";D.setAttribute(E,z[0]),D.setAttribute(A,z[1]),O&&!T.g._collapsable&&(T.of.setAttribute(E,z[0]),T.of.setAttribute(A,z[1]))}var w,$,U,Y;if(T.g._cmdf||R){w=T.cst;var J=T.g.c;for(U=w.length,$=0;$<U;$+=1)Y=w[$],Y.setAttribute("offset",J[$*4]+"%"),Y.setAttribute("stop-color","rgb("+J[$*4+1]+","+J[$*4+2]+","+J[$*4+3]+")")}if(O&&(T.g._omdf||R)){var yt=T.g.o;for(T.g._collapsable?w=T.cst:w=T.ost,U=w.length,$=0;$<U;$+=1)Y=w[$],T.g._collapsable||Y.setAttribute("offset",yt[$*2]+"%"),Y.setAttribute("stop-opacity",yt[$*2+1])}if(H.t===1)(T.e._mdf||R)&&(D.setAttribute("x2",N[0]),D.setAttribute("y2",N[1]),O&&!T.g._collapsable&&(T.of.setAttribute("x2",N[0]),T.of.setAttribute("y2",N[1])));else{var pt;if((T.s._mdf||T.e._mdf||R)&&(pt=Math.sqrt(Math.pow(z[0]-N[0],2)+Math.pow(z[1]-N[1],2)),D.setAttribute("r",pt),O&&!T.g._collapsable&&T.of.setAttribute("r",pt)),T.e._mdf||T.h._mdf||T.a._mdf||R){pt||(pt=Math.sqrt(Math.pow(z[0]-N[0],2)+Math.pow(z[1]-N[1],2)));var ot=Math.atan2(N[1]-z[1],N[0]-z[0]),xt=T.h.v;xt>=1?xt=.99:xt<=-1&&(xt=-.99);var ct=pt*xt,Z=Math.cos(ot+T.a.v)*ct+z[0],S=Math.sin(ot+T.a.v)*ct+z[1];D.setAttribute("fx",Z),D.setAttribute("fy",S),O&&!T.g._collapsable&&(T.of.setAttribute("fx",Z),T.of.setAttribute("fy",S))}}}function M(H,T,R){var D=T.style,O=T.d;O&&(O._mdf||R)&&O.dashStr&&(D.pElem.setAttribute("stroke-dasharray",O.dashStr),D.pElem.setAttribute("stroke-dashoffset",O.dashoffset[0])),T.c&&(T.c._mdf||R)&&D.pElem.setAttribute("stroke","rgb("+le(T.c.v[0])+","+le(T.c.v[1])+","+le(T.c.v[2])+")"),(T.o._mdf||R)&&D.pElem.setAttribute("stroke-opacity",T.o.v),(T.w._mdf||R)&&(D.pElem.setAttribute("stroke-width",T.w.v),D.msElem&&D.msElem.setAttribute("stroke-width",T.w.v))}return s}();function jt(e,r,s){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,r,s),this.prevViewData=[]}L([Ei,Ho,ea,Pp,Go,Ti,ra],jt),jt.prototype.initSecondaryElement=function(){},jt.prototype.identityMatrix=new ue,jt.prototype.buildExpressionInterface=function(){},jt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},jt.prototype.filterUniqueShapes=function(){var e,r=this.shapes.length,s,l,h=this.stylesList.length,c,v=[],x=!1;for(l=0;l<h;l+=1){for(c=this.stylesList[l],x=!1,v.length=0,e=0;e<r;e+=1)s=this.shapes[e],s.styles.indexOf(c)!==-1&&(v.push(s),x=s._isAnimated||x);v.length>1&&x&&this.setShapesAsAnimated(v)}},jt.prototype.setShapesAsAnimated=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r].setAsAnimated()},jt.prototype.createStyleElement=function(e,r){var s,l=new zp(e,r),h=l.pElem;if(e.ty==="st")s=new Vp(this,e,l);else if(e.ty==="fl")s=new Bp(this,e,l);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?Yo:Hp;s=new c(this,e,l),this.globalData.defs.appendChild(s.gf),s.maskId&&(this.globalData.defs.appendChild(s.ms),this.globalData.defs.appendChild(s.of),h.setAttribute("mask","url("+b()+"#"+s.maskId+")"))}else e.ty==="no"&&(s=new Up(this,e,l));return(e.ty==="st"||e.ty==="gs")&&(h.setAttribute("stroke-linecap",Dp[e.lc||2]),h.setAttribute("stroke-linejoin",$p[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"]=kd(e.bm)),this.stylesList.push(l),this.addToAnimatedContents(e,s),s},jt.prototype.createGroupElement=function(e){var r=new $b;return e.ln&&r.gr.setAttribute("id",e.ln),e.cl&&r.gr.setAttribute("class",e.cl),e.bm&&(r.gr.style["mix-blend-mode"]=kd(e.bm)),r},jt.prototype.createTransformElement=function(e,r){var s=Ad.getTransformProperty(this,e,this),l=new Fb(s,s.o,r);return this.addToAnimatedContents(e,l),l},jt.prototype.createShapeElement=function(e,r,s){var l=4;e.ty==="rc"?l=5:e.ty==="el"?l=6:e.ty==="sr"&&(l=7);var h=Tn.getShapeProp(this,e,l,this),c=new Fp(r,s,h);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(e,c),c},jt.prototype.addToAnimatedContents=function(e,r){for(var s=0,l=this.animatedContents.length;s<l;){if(this.animatedContents[s].element===r)return;s+=1}this.animatedContents.push({fn:zb.createRenderFunction(e),element:r,data:e})},jt.prototype.setElementStyles=function(e){var r=e.styles,s,l=this.stylesList.length;for(s=0;s<l;s+=1)this.stylesList[s].closed||r.push(this.stylesList[s])},jt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,r=this.itemsData.length;for(e=0;e<r;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),r=this.dynamicProperties.length,e=0;e<r;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},jt.prototype.searchShapes=function(e,r,s,l,h,c,v){var x=[].concat(c),g,k=e.length-1,M,H,T=[],R=[],D,O,z;for(g=k;g>=0;g-=1){if(z=this.searchProcessedElement(e[g]),z?r[g]=s[z-1]:e[g]._render=v,e[g].ty==="fl"||e[g].ty==="st"||e[g].ty==="gf"||e[g].ty==="gs"||e[g].ty==="no")z?r[g].style.closed=!1:r[g]=this.createStyleElement(e[g],h),e[g]._render&&r[g].style.pElem.parentNode!==l&&l.appendChild(r[g].style.pElem),T.push(r[g].style);else if(e[g].ty==="gr"){if(!z)r[g]=this.createGroupElement(e[g]);else for(H=r[g].it.length,M=0;M<H;M+=1)r[g].prevViewData[M]=r[g].it[M];this.searchShapes(e[g].it,r[g].it,r[g].prevViewData,r[g].gr,h+1,x,v),e[g]._render&&r[g].gr.parentNode!==l&&l.appendChild(r[g].gr)}else e[g].ty==="tr"?(z||(r[g]=this.createTransformElement(e[g],l)),D=r[g].transform,x.push(D)):e[g].ty==="sh"||e[g].ty==="rc"||e[g].ty==="el"||e[g].ty==="sr"?(z||(r[g]=this.createShapeElement(e[g],x,h)),this.setElementStyles(r[g])):e[g].ty==="tm"||e[g].ty==="rd"||e[g].ty==="ms"||e[g].ty==="pb"||e[g].ty==="zz"||e[g].ty==="op"?(z?(O=r[g],O.closed=!1):(O=bi.getModifier(e[g].ty),O.init(this,e[g]),r[g]=O,this.shapeModifiers.push(O)),R.push(O)):e[g].ty==="rp"&&(z?(O=r[g],O.closed=!0):(O=bi.getModifier(e[g].ty),r[g]=O,O.init(this,e,g,r),this.shapeModifiers.push(O),v=!1),R.push(O));this.addProcessedElement(e[g],g+1)}for(k=T.length,g=0;g<k;g+=1)T[g].closed=!0;for(k=R.length,g=0;g<k;g+=1)R[g].closed=!0},jt.prototype.renderInnerContent=function(){this.renderModifiers();var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<r;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},jt.prototype.renderShape=function(){var e,r=this.animatedContents.length,s;for(e=0;e<r;e+=1)s=this.animatedContents[e],(this._isFirstFrame||s.element._isAnimated)&&s.data!==!0&&s.fn(s.data,s.element,this._isFirstFrame)},jt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Nd(e,r,s,l,h,c){this.o=e,this.sw=r,this.sc=s,this.fc=l,this.m=h,this.p=c,this._mdf={o:!0,sw:!!r,sc:!!s,fc:!!l,m:!0,p:!0}}Nd.prototype.update=function(e,r,s,l,h,c){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var v=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,v=!0),this.sw!==r&&(this.sw=r,this._mdf.sw=!0,v=!0),this.sc!==s&&(this.sc=s,this._mdf.sc=!0,v=!0),this.fc!==l&&(this.fc=l,this._mdf.fc=!0,v=!0),this.m!==h&&(this.m=h,this._mdf.m=!0,v=!0),c.length&&(this.p[0]!==c[0]||this.p[1]!==c[1]||this.p[4]!==c[4]||this.p[5]!==c[5]||this.p[12]!==c[12]||this.p[13]!==c[13])&&(this.p=c,this._mdf.p=!0,v=!0),v};function Ae(e,r){this._frameId=i,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,r.d&&r.d.sid&&(r.d=e.globalData.slotManager.getProp(r.d)),this.data=r,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}Ae.prototype.defaultBoxWidth=[0,0],Ae.prototype.copyData=function(e,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},Ae.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},Ae.prototype.searchProperty=function(){return this.searchKeyframes()},Ae.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Ae.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},Ae.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var r=this.currentData,s=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var l,h=this.effectsSequence.length,c=e||this.data.d.k[this.keysIndex].s;for(l=0;l<h;l+=1)s!==this.keysIndex?c=this.effectsSequence[l](c,c.t):c=this.effectsSequence[l](this.currentData,c.t);r!==c&&this.setCurrentData(c),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},Ae.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,r=this.elem.comp.renderedFrame,s=0,l=e.length;s<=l-1&&!(s===l-1||e[s+1].t>r);)s+=1;return this.keysIndex!==s&&(this.keysIndex=s),this.data.d.k[this.keysIndex].s},Ae.prototype.buildFinalText=function(e){for(var r=[],s=0,l=e.length,h,c,v=!1,x=!1,g="";s<l;)v=x,x=!1,h=e.charCodeAt(s),g=e.charAt(s),Zi.isCombinedCharacter(h)?v=!0:h>=55296&&h<=56319?Zi.isRegionalFlag(e,s)?g=e.substr(s,14):(c=e.charCodeAt(s+1),c>=56320&&c<=57343&&(Zi.isModifier(h,c)?(g=e.substr(s,2),v=!0):Zi.isFlagEmoji(e.substr(s,4))?g=e.substr(s,4):g=e.substr(s,2))):h>56319?(c=e.charCodeAt(s+1),Zi.isVariationSelector(h)&&(v=!0)):Zi.isZeroWidthJoiner(h)&&(v=!0,x=!0),v?(r[r.length-1]+=g,v=!1):r.push(g),s+=g.length;return r},Ae.prototype.completeTextData=function(e){e.__complete=!0;var r=this.elem.globalData.fontManager,s=this.data,l=[],h,c,v,x=0,g,k=s.m.g,M=0,H=0,T=0,R=[],D=0,O=0,z,N,I=r.getFontByName(e.f),E,A=0,w=Np(I);e.fWeight=w.weight,e.fStyle=w.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),c=e.finalText.length,e.finalLineHeight=e.lh;var $=e.tr/1e3*e.finalSize,U;if(e.sz)for(var Y=!0,J=e.sz[0],yt=e.sz[1],pt,ot;Y;){ot=this.buildFinalText(e.t),pt=0,D=0,c=ot.length,$=e.tr/1e3*e.finalSize;var xt=-1;for(h=0;h<c;h+=1)U=ot[h].charCodeAt(0),v=!1,ot[h]===" "?xt=h:(U===13||U===3)&&(D=0,v=!0,pt+=e.finalLineHeight||e.finalSize*1.2),r.chars?(E=r.getCharData(ot[h],I.fStyle,I.fFamily),A=v?0:E.w*e.finalSize/100):A=r.measureText(ot[h],e.f,e.finalSize),D+A>J&&ot[h]!==" "?(xt===-1?c+=1:h=xt,pt+=e.finalLineHeight||e.finalSize*1.2,ot.splice(h,xt===h?1:0,"\r"),xt=-1,D=0):(D+=A,D+=$);pt+=I.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&yt<pt?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=ot,c=e.finalText.length,Y=!1)}D=-$,A=0;var ct=0,Z;for(h=0;h<c;h+=1)if(v=!1,Z=e.finalText[h],U=Z.charCodeAt(0),U===13||U===3?(ct=0,R.push(D),O=D>O?D:O,D=-2*$,g="",v=!0,T+=1):g=Z,r.chars?(E=r.getCharData(Z,I.fStyle,r.getFontByName(e.f).fFamily),A=v?0:E.w*e.finalSize/100):A=r.measureText(g,e.f,e.finalSize),Z===" "?ct+=A+$:(D+=A+$+ct,ct=0),l.push({l:A,an:A,add:M,n:v,anIndexes:[],val:g,line:T,animatorJustifyOffset:0}),k==2){if(M+=A,g===""||g===" "||h===c-1){for((g===""||g===" ")&&(M-=A);H<=h;)l[H].an=M,l[H].ind=x,l[H].extra=A,H+=1;x+=1,M=0}}else if(k==3){if(M+=A,g===""||h===c-1){for(g===""&&(M-=A);H<=h;)l[H].an=M,l[H].ind=x,l[H].extra=A,H+=1;M=0,x+=1}}else l[x].ind=x,l[x].extra=0,x+=1;if(e.l=l,O=D>O?D:O,R.push(D),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=O,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=R;var S=s.a,P,f;N=S.length;var y,G,F=[];for(z=0;z<N;z+=1){for(P=S[z],P.a.sc&&(e.strokeColorAnim=!0),P.a.sw&&(e.strokeWidthAnim=!0),(P.a.fc||P.a.fh||P.a.fs||P.a.fb)&&(e.fillColorAnim=!0),G=0,y=P.s.b,h=0;h<c;h+=1)f=l[h],f.anIndexes[z]=G,(y==1&&f.val!==""||y==2&&f.val!==""&&f.val!==" "||y==3&&(f.n||f.val==" "||h==c-1)||y==4&&(f.n||h==c-1))&&(P.s.rn===1&&F.push(G),G+=1);s.a[z].s.totalChars=G;var nt=-1,ft;if(P.s.rn===1)for(h=0;h<c;h+=1)f=l[h],nt!=f.anIndexes[z]&&(nt=f.anIndexes[z],ft=F.splice(Math.floor(Math.random()*F.length),1)[0]),f.anIndexes[z]=ft}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=I.ascent*e.finalSize/100},Ae.prototype.updateDocumentData=function(e,r){r=r===void 0?this.keysIndex:r;var s=this.copyData({},this.data.d.k[r].s);s=this.copyData(s,e),this.data.d.k[r].s=s,this.recalculate(r),this.setCurrentData(s),this.elem.addDynamicProperty(this)},Ae.prototype.recalculate=function(e){var r=this.data.d.k[e].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},Ae.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},Ae.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Vb=function(){var e=Math.max,r=Math.min,s=Math.floor;function l(c,v){this._currentTextLength=-1,this.k=!1,this.data=v,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=at.getProp(c,v.s||{k:0},0,0,this),"e"in v?this.e=at.getProp(c,v.e,0,0,this):this.e={v:100},this.o=at.getProp(c,v.o||{k:0},0,0,this),this.xe=at.getProp(c,v.xe||{k:0},0,0,this),this.ne=at.getProp(c,v.ne||{k:0},0,0,this),this.sm=at.getProp(c,v.sm||{k:100},0,0,this),this.a=at.getProp(c,v.a,0,.01,this),this.dynamicProperties.length||this.getValue()}l.prototype={getMult:function(v){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var x=0,g=0,k=1,M=1;this.ne.v>0?x=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?k=1-this.xe.v/100:M=1+this.xe.v/100;var H=js.getBezierEasing(x,g,k,M).get,T=0,R=this.finalS,D=this.finalE,O=this.data.sh;if(O===2)D===R?T=v>=D?1:0:T=e(0,r(.5/(D-R)+(v-R)/(D-R),1)),T=H(T);else if(O===3)D===R?T=v>=D?0:1:T=1-e(0,r(.5/(D-R)+(v-R)/(D-R),1)),T=H(T);else if(O===4)D===R?T=0:(T=e(0,r(.5/(D-R)+(v-R)/(D-R),1)),T<.5?T*=2:T=1-2*(T-.5)),T=H(T);else if(O===5){if(D===R)T=0;else{var z=D-R;v=r(e(0,v+.5-R),D-R);var N=-z/2+v,I=z/2;T=Math.sqrt(1-N*N/(I*I))}T=H(T)}else O===6?(D===R?T=0:(v=r(e(0,v+.5-R),D-R),T=(1+Math.cos(Math.PI+Math.PI*2*v/(D-R)))/2),T=H(T)):(v>=s(R)&&(v-R<0?T=e(0,r(r(D,1)-(R-v),1)):T=e(0,r(D-v,1))),T=H(T));if(this.sm.v!==100){var E=this.sm.v*.01;E===0&&(E=1e-8);var A=.5-E*.5;T<A?T=0:(T=(T-A)/E,T>1&&(T=1))}return T*this.a.v},getValue:function(v){this.iterateDynamicProperties(),this._mdf=v||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,v&&this.data.r===2&&(this.e.v=this._currentTextLength);var x=this.data.r===2?1:100/this.data.totalChars,g=this.o.v/x,k=this.s.v/x+g,M=this.e.v/x+g;if(k>M){var H=k;k=M,M=H}this.finalS=k,this.finalE=M}},L([de],l);function h(c,v,x){return new l(c,v,x)}return{getTextSelectorProp:h}}();function Bb(e,r,s){var l={propType:!1},h=at.getProp,c=r.a;this.a={r:c.r?h(e,c.r,0,Ct,s):l,rx:c.rx?h(e,c.rx,0,Ct,s):l,ry:c.ry?h(e,c.ry,0,Ct,s):l,sk:c.sk?h(e,c.sk,0,Ct,s):l,sa:c.sa?h(e,c.sa,0,Ct,s):l,s:c.s?h(e,c.s,1,.01,s):l,a:c.a?h(e,c.a,1,0,s):l,o:c.o?h(e,c.o,0,.01,s):l,p:c.p?h(e,c.p,1,0,s):l,sw:c.sw?h(e,c.sw,0,0,s):l,sc:c.sc?h(e,c.sc,1,0,s):l,fc:c.fc?h(e,c.fc,1,0,s):l,fh:c.fh?h(e,c.fh,0,0,s):l,fs:c.fs?h(e,c.fs,0,.01,s):l,fb:c.fb?h(e,c.fb,0,.01,s):l,t:c.t?h(e,c.t,0,0,s):l},this.s=Vb.getTextSelectorProp(e,r.s,s),this.s.t=r.s.t}function Ji(e,r,s){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=r,this._elem=s,this._animatorsData=tt(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(s)}Ji.prototype.searchProperties=function(){var e,r=this._textData.a.length,s,l=at.getProp;for(e=0;e<r;e+=1)s=this._textData.a[e],this._animatorsData[e]=new Bb(this._elem,s,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:l(this._elem,this._textData.p.a,0,0,this),f:l(this._elem,this._textData.p.f,0,0,this),l:l(this._elem,this._textData.p.l,0,0,this),r:l(this._elem,this._textData.p.r,0,0,this),p:l(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=l(this._elem,this._textData.m.a,1,0,this)},Ji.prototype.getMeasures=function(e,r){if(this.lettersChangedFlag=r,!(!this._mdf&&!this._isFirstFrame&&!r&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var s=this._moreOptions.alignment.v,l=this._animatorsData,h=this._textData,c=this.mHelper,v=this._renderType,x=this.renderedLetters.length,g,k,M,H,T=e.l,R,D,O,z,N,I,E,A,w,$,U,Y,J,yt,pt;if(this._hasMaskedPath){if(pt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var ot=pt.v;this._pathData.r.v&&(ot=ot.reverse()),R={tLength:0,segments:[]},H=ot._length-1;var xt;for(Y=0,M=0;M<H;M+=1)xt=Cr.buildBezierData(ot.v[M],ot.v[M+1],[ot.o[M][0]-ot.v[M][0],ot.o[M][1]-ot.v[M][1]],[ot.i[M+1][0]-ot.v[M+1][0],ot.i[M+1][1]-ot.v[M+1][1]]),R.tLength+=xt.segmentLength,R.segments.push(xt),Y+=xt.segmentLength;M=H,pt.v.c&&(xt=Cr.buildBezierData(ot.v[M],ot.v[0],[ot.o[M][0]-ot.v[M][0],ot.o[M][1]-ot.v[M][1]],[ot.i[0][0]-ot.v[0][0],ot.i[0][1]-ot.v[0][1]]),R.tLength+=xt.segmentLength,R.segments.push(xt),Y+=xt.segmentLength),this._pathData.pi=R}if(R=this._pathData.pi,D=this._pathData.f.v,E=0,I=1,z=0,N=!0,$=R.segments,D<0&&pt.v.c)for(R.tLength<Math.abs(D)&&(D=-Math.abs(D)%R.tLength),E=$.length-1,w=$[E].points,I=w.length-1;D<0;)D+=w[I].partialLength,I-=1,I<0&&(E-=1,w=$[E].points,I=w.length-1);w=$[E].points,A=w[I-1],O=w[I],U=O.partialLength}H=T.length,g=0,k=0;var ct=e.finalSize*1.2*.714,Z=!0,S,P,f,y,G;y=l.length;var F,nt=-1,ft,Et,Nt,Lt=D,Jt=E,Me=I,wr=-1,Re,ce,Ve,Pt,ht,jr,Si,Kr,Nr="",qr=this.defaultPropsArray,Xr;if(e.j===2||e.j===1){var Oe=0,_i=0,Ii=e.j===2?-.5:-1,br=0,Ci=!0;for(M=0;M<H;M+=1)if(T[M].n){for(Oe&&(Oe+=_i);br<M;)T[br].animatorJustifyOffset=Oe,br+=1;Oe=0,Ci=!0}else{for(f=0;f<y;f+=1)S=l[f].a,S.t.propType&&(Ci&&e.j===2&&(_i+=S.t.v*Ii),P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),F.length?Oe+=S.t.v*F[0]*Ii:Oe+=S.t.v*F*Ii);Ci=!1}for(Oe&&(Oe+=_i);br<M;)T[br].animatorJustifyOffset=Oe,br+=1}for(M=0;M<H;M+=1){if(c.reset(),Re=1,T[M].n)g=0,k+=e.yOffset,k+=Z?1:0,D=Lt,Z=!1,this._hasMaskedPath&&(E=Jt,I=Me,w=$[E].points,A=w[I-1],O=w[I],U=O.partialLength,z=0),Nr="",Kr="",jr="",Xr="",qr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(wr!==T[M].line){switch(e.j){case 1:D+=Y-e.lineWidths[T[M].line];break;case 2:D+=(Y-e.lineWidths[T[M].line])/2;break;default:break}wr=T[M].line}nt!==T[M].ind&&(T[nt]&&(D+=T[nt].extra),D+=T[M].an/2,nt=T[M].ind),D+=s[0]*T[M].an*.005;var yr=0;for(f=0;f<y;f+=1)S=l[f].a,S.p.propType&&(P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),F.length?yr+=S.p.v[0]*F[0]:yr+=S.p.v[0]*F),S.a.propType&&(P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),F.length?yr+=S.a.v[0]*F[0]:yr+=S.a.v[0]*F);for(N=!0,this._pathData.a.v&&(D=T[0].an*.5+(Y-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*nt/(H-1),D+=this._pathData.f.v);N;)z+U>=D+yr||!w?(J=(D+yr-z)/O.partialLength,Et=A.point[0]+(O.point[0]-A.point[0])*J,Nt=A.point[1]+(O.point[1]-A.point[1])*J,c.translate(-s[0]*T[M].an*.005,-(s[1]*ct)*.01),N=!1):w&&(z+=O.partialLength,I+=1,I>=w.length&&(I=0,E+=1,$[E]?w=$[E].points:pt.v.c?(I=0,E=0,w=$[E].points):(z-=O.partialLength,w=null)),w&&(A=O,O=w[I],U=O.partialLength));ft=T[M].an/2-T[M].add,c.translate(-ft,0,0)}else ft=T[M].an/2-T[M].add,c.translate(-ft,0,0),c.translate(-s[0]*T[M].an*.005,-s[1]*ct*.01,0);for(f=0;f<y;f+=1)S=l[f].a,S.t.propType&&(P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),(g!==0||e.j!==0)&&(this._hasMaskedPath?F.length?D+=S.t.v*F[0]:D+=S.t.v*F:F.length?g+=S.t.v*F[0]:g+=S.t.v*F));for(e.strokeWidthAnim&&(Ve=e.sw||0),e.strokeColorAnim&&(e.sc?ce=[e.sc[0],e.sc[1],e.sc[2]]:ce=[0,0,0]),e.fillColorAnim&&e.fc&&(Pt=[e.fc[0],e.fc[1],e.fc[2]]),f=0;f<y;f+=1)S=l[f].a,S.a.propType&&(P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),F.length?c.translate(-S.a.v[0]*F[0],-S.a.v[1]*F[1],S.a.v[2]*F[2]):c.translate(-S.a.v[0]*F,-S.a.v[1]*F,S.a.v[2]*F));for(f=0;f<y;f+=1)S=l[f].a,S.s.propType&&(P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),F.length?c.scale(1+(S.s.v[0]-1)*F[0],1+(S.s.v[1]-1)*F[1],1):c.scale(1+(S.s.v[0]-1)*F,1+(S.s.v[1]-1)*F,1));for(f=0;f<y;f+=1){if(S=l[f].a,P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),S.sk.propType&&(F.length?c.skewFromAxis(-S.sk.v*F[0],S.sa.v*F[1]):c.skewFromAxis(-S.sk.v*F,S.sa.v*F)),S.r.propType&&(F.length?c.rotateZ(-S.r.v*F[2]):c.rotateZ(-S.r.v*F)),S.ry.propType&&(F.length?c.rotateY(S.ry.v*F[1]):c.rotateY(S.ry.v*F)),S.rx.propType&&(F.length?c.rotateX(S.rx.v*F[0]):c.rotateX(S.rx.v*F)),S.o.propType&&(F.length?Re+=(S.o.v*F[0]-Re)*F[0]:Re+=(S.o.v*F-Re)*F),e.strokeWidthAnim&&S.sw.propType&&(F.length?Ve+=S.sw.v*F[0]:Ve+=S.sw.v*F),e.strokeColorAnim&&S.sc.propType)for(ht=0;ht<3;ht+=1)F.length?ce[ht]+=(S.sc.v[ht]-ce[ht])*F[0]:ce[ht]+=(S.sc.v[ht]-ce[ht])*F;if(e.fillColorAnim&&e.fc){if(S.fc.propType)for(ht=0;ht<3;ht+=1)F.length?Pt[ht]+=(S.fc.v[ht]-Pt[ht])*F[0]:Pt[ht]+=(S.fc.v[ht]-Pt[ht])*F;S.fh.propType&&(F.length?Pt=ip(Pt,S.fh.v*F[0]):Pt=ip(Pt,S.fh.v*F)),S.fs.propType&&(F.length?Pt=ep(Pt,S.fs.v*F[0]):Pt=ep(Pt,S.fs.v*F)),S.fb.propType&&(F.length?Pt=rp(Pt,S.fb.v*F[0]):Pt=rp(Pt,S.fb.v*F))}}for(f=0;f<y;f+=1)S=l[f].a,S.p.propType&&(P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),this._hasMaskedPath?F.length?c.translate(0,S.p.v[1]*F[0],-S.p.v[2]*F[1]):c.translate(0,S.p.v[1]*F,-S.p.v[2]*F):F.length?c.translate(S.p.v[0]*F[0],S.p.v[1]*F[1],-S.p.v[2]*F[2]):c.translate(S.p.v[0]*F,S.p.v[1]*F,-S.p.v[2]*F));if(e.strokeWidthAnim&&(jr=Ve<0?0:Ve),e.strokeColorAnim&&(Si="rgb("+Math.round(ce[0]*255)+","+Math.round(ce[1]*255)+","+Math.round(ce[2]*255)+")"),e.fillColorAnim&&e.fc&&(Kr="rgb("+Math.round(Pt[0]*255)+","+Math.round(Pt[1]*255)+","+Math.round(Pt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-e.ls),c.translate(0,s[1]*ct*.01+k,0),this._pathData.p.v){yt=(O.point[1]-A.point[1])/(O.point[0]-A.point[0]);var to=Math.atan(yt)*180/Math.PI;O.point[0]<A.point[0]&&(to+=180),c.rotate(-to*Math.PI/180)}c.translate(Et,Nt,0),D-=s[0]*T[M].an*.005,T[M+1]&&nt!==T[M+1].ind&&(D+=T[M].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[M].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[M].line]),0,0);break;case 2:c.translate(T[M].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[M].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(ft,0,0),c.translate(s[0]*T[M].an*.005,s[1]*ct*.01,0),g+=T[M].l+e.tr*.001*e.finalSize}v==="html"?Nr=c.toCSS():v==="svg"?Nr=c.to2dCSS():qr=[c.props[0],c.props[1],c.props[2],c.props[3],c.props[4],c.props[5],c.props[6],c.props[7],c.props[8],c.props[9],c.props[10],c.props[11],c.props[12],c.props[13],c.props[14],c.props[15]],Xr=Re}x<=M?(G=new Nd(Xr,jr,Si,Kr,Nr,qr),this.renderedLetters.push(G),x+=1,this.lettersChangedFlag=!0):(G=this.renderedLetters[M],this.lettersChangedFlag=G.update(Xr,jr,Si,Kr,Nr,qr)||this.lettersChangedFlag)}}},Ji.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Ji.prototype.mHelper=new ue,Ji.prototype.defaultPropsArray=[],L([de],Ji);function Je(){}Je.prototype.initElement=function(e,r,s){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,r,s),this.textProperty=new Ae(this,e.t,this.dynamicProperties),this.textAnimator=new Ji(e.t,this.renderType,this),this.initTransform(e,r,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Je.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},Je.prototype.createPathShape=function(e,r){var s,l=r.length,h,c="";for(s=0;s<l;s+=1)r[s].ty==="sh"&&(h=r[s].ks.k,c+=Gp(h,h.i.length,!0,e));return c},Je.prototype.updateDocumentData=function(e,r){this.textProperty.updateDocumentData(e,r)},Je.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},Je.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},Je.prototype.applyTextPropertiesToMatrix=function(e,r,s,l,h){switch(e.ps&&r.translate(e.ps[0],e.ps[1]+e.ascent,0),r.translate(0,-e.ls,0),e.j){case 1:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s]),0,0);break;case 2:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s])/2,0,0);break;default:break}r.translate(l,h,0)},Je.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},Je.prototype.emptyProp=new Nd,Je.prototype.destroy=function(){},Je.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var Ub={shapes:[]};function Yr(e,r,s){this.textSpans=[],this.renderType="svg",this.initElement(e,r,s)}L([Ei,Ho,ea,Go,Ti,ra,Je],Yr),Yr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Tt("text"))},Yr.prototype.buildTextContents=function(e){for(var r=0,s=e.length,l=[],h="";r<s;)e[r]==="\r"||e[r]===""?(l.push(h),h=""):h+=e[r],r+=1;return l.push(h),l},Yr.prototype.buildShapeData=function(e,r){if(e.shapes&&e.shapes.length){var s=e.shapes[0];if(s.it){var l=s.it[s.it.length-1];l.s&&(l.s.k[0]=r,l.s.k[1]=r)}}return e},Yr.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,r,s=this.textProperty.currentData;this.renderedLetters=tt(s?s.l.length:0),s.fc?this.layerElement.setAttribute("fill",this.buildColor(s.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),s.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(s.sc)),this.layerElement.setAttribute("stroke-width",s.sw)),this.layerElement.setAttribute("font-size",s.finalSize);var l=this.globalData.fontManager.getFontByName(s.f);if(l.fClass)this.layerElement.setAttribute("class",l.fClass);else{this.layerElement.setAttribute("font-family",l.fFamily);var h=s.fWeight,c=s.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",h)}this.layerElement.setAttribute("aria-label",s.t);var v=s.l||[],x=!!this.globalData.fontManager.chars;r=v.length;var g,k=this.mHelper,M="",H=this.data.singleShape,T=0,R=0,D=!0,O=s.tr*.001*s.finalSize;if(H&&!x&&!s.sz){var z=this.textContainer,N="start";switch(s.j){case 1:N="end";break;case 2:N="middle";break;default:N="start";break}z.setAttribute("text-anchor",N),z.setAttribute("letter-spacing",O);var I=this.buildTextContents(s.finalText);for(r=I.length,R=s.ps?s.ps[1]+s.ascent:0,e=0;e<r;e+=1)g=this.textSpans[e].span||Tt("tspan"),g.textContent=I[e],g.setAttribute("x",0),g.setAttribute("y",R),g.style.display="inherit",z.appendChild(g),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=g,R+=s.finalLineHeight;this.layerElement.appendChild(z)}else{var E=this.textSpans.length,A;for(e=0;e<r;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!x||!H||e===0){if(g=E>e?this.textSpans[e].span:Tt(x?"g":"text"),E<=e){if(g.setAttribute("stroke-linecap","butt"),g.setAttribute("stroke-linejoin","round"),g.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=g,x){var w=Tt("g");g.appendChild(w),this.textSpans[e].childSpan=w}this.textSpans[e].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(k.reset(),H&&(v[e].n&&(T=-O,R+=s.yOffset,R+=D?1:0,D=!1),this.applyTextPropertiesToMatrix(s,k,v[e].line,T,R),T+=v[e].l||0,T+=O),x){A=this.globalData.fontManager.getCharData(s.finalText[e],l.fStyle,this.globalData.fontManager.getFontByName(s.f).fFamily);var $;if(A.t===1)$=new sa(A.data,this.globalData,this);else{var U=Ub;A.data&&A.data.shapes&&(U=this.buildShapeData(A.data,s.finalSize)),$=new jt(U,this.globalData,this)}if(this.textSpans[e].glyph){var Y=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(Y.layerElement),Y.destroy()}this.textSpans[e].glyph=$,$._debug=!0,$.prepareFrame(0),$.renderFrame(),this.textSpans[e].childSpan.appendChild($.layerElement),A.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+s.finalSize/100+","+s.finalSize/100+")")}else H&&g.setAttribute("transform","translate("+k.props[12]+","+k.props[13]+")"),g.textContent=v[e].val,g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}H&&g&&g.setAttribute("d",M)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},Yr.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},Yr.prototype.getValue=function(){var e,r=this.textSpans.length,s;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)s=this.textSpans[e].glyph,s&&(s.prepareFrame(this.comp.renderedFrame-this.data.st),s._mdf&&(this._mdf=!0))},Yr.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,r,s=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;r=l.length;var h,c,v;for(e=0;e<r;e+=1)l[e].n||(h=s[e],c=this.textSpans[e].span,v=this.textSpans[e].glyph,v&&v.renderFrame(),h._mdf.m&&c.setAttribute("transform",h.m),h._mdf.o&&c.setAttribute("opacity",h.o),h._mdf.sw&&c.setAttribute("stroke-width",h.sw),h._mdf.sc&&c.setAttribute("stroke",h.sc),h._mdf.fc&&c.setAttribute("fill",h.fc))}};function Ld(e,r,s){this.initElement(e,r,s)}L([ia],Ld),Ld.prototype.createContent=function(){var e=Tt("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function Ai(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initFrame(),this.initTransform(e,r,s),this.initHierarchy()}Ai.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},Ai.prototype.renderFrame=function(){},Ai.prototype.getBaseElement=function(){return null},Ai.prototype.destroy=function(){},Ai.prototype.sourceRectAtTime=function(){},Ai.prototype.hide=function(){},L([Ei,Ho,Go,Ti],Ai);function re(){}L([fe],re),re.prototype.createNull=function(e){return new Ai(e,this.globalData,this)},re.prototype.createShape=function(e){return new jt(e,this.globalData,this)},re.prototype.createText=function(e){return new Yr(e,this.globalData,this)},re.prototype.createImage=function(e){return new ia(e,this.globalData,this)},re.prototype.createSolid=function(e){return new Ld(e,this.globalData,this)},re.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var r=this.globalData.defs;this.setupGlobalData(e,r),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var s=Tt("clipPath"),l=Tt("rect");l.setAttribute("width",e.w),l.setAttribute("height",e.h),l.setAttribute("x",0),l.setAttribute("y",0);var h=Ne();s.setAttribute("id",h),s.appendChild(l),this.layerElement.setAttribute("clip-path","url("+b()+"#"+h+")"),r.appendChild(s),this.layers=e.layers,this.elements=tt(e.layers.length)},re.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,r=this.layers?this.layers.length:0;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},re.prototype.updateContainerSize=function(){},re.prototype.findIndexByInd=function(e){var r=0,s=this.layers.length;for(r=0;r<s;r+=1)if(this.layers[r].ind===e)return r;return-1},re.prototype.buildItem=function(e){var r=this.elements;if(!(r[e]||this.layers[e].ty===99)){r[e]=!0;var s=this.createItem(this.layers[e]);if(r[e]=s,un()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(s),s.initExpressions()),this.appendElementInPos(s,e),this.layers[e].tt){var l="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(l===-1)return;if(!this.elements[l]||this.elements[l]===!0)this.buildItem(l),this.addPendingElement(s);else{var h=r[l],c=h.getMatte(this.layers[e].tt);s.setMatte(c)}}}},re.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var r=0,s=this.elements.length;r<s;){if(this.elements[r]===e){var l="tp"in e.data?this.findIndexByInd(e.data.tp):r-1,h=this.elements[l],c=h.getMatte(this.layers[r].tt);e.setMatte(c);break}r+=1}}},re.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var r,s=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=s-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf)for(r=0;r<s;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame()}},re.prototype.appendElementInPos=function(e,r){var s=e.getBaseElement();if(s){for(var l=0,h;l<r;)this.elements[l]&&this.elements[l]!==!0&&this.elements[l].getBaseElement()&&(h=this.elements[l].getBaseElement()),l+=1;h?this.layerElement.insertBefore(s,h):this.layerElement.appendChild(s)}},re.prototype.hide=function(){this.layerElement.style.display="none"},re.prototype.show=function(){this.layerElement.style.display="block"};function Wr(){}L([Ei,Ho,Go,Ti,ra],Wr),Wr.prototype.initElement=function(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initTransform(e,r,s),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!r.progressiveLoad)&&this.buildAllItems(),this.hide()},Wr.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var r=this.tm.v;r===this.data.op&&(r=this.data.op-1),this.renderedFrame=r}var s,l=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),s=l-1;s>=0;s-=1)(this.completeLayers||this.elements[s])&&(this.elements[s].prepareFrame(this.renderedFrame-this.layers[s].st),this.elements[s]._mdf&&(this._mdf=!0))}},Wr.prototype.renderInnerContent=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},Wr.prototype.setElements=function(e){this.elements=e},Wr.prototype.getElements=function(){return this.elements},Wr.prototype.destroyElements=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy()},Wr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function sa(e,r,s){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?tt(this.layers.length):[],this.initElement(e,r,s),this.tm=e.tm?at.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0}}L([re,Wr,ea],sa),sa.prototype.createComp=function(e){return new sa(e,this.globalData,this)};function Md(e,r){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=Tt("svg");var s="";if(r&&r.title){var l=Tt("title"),h=Ne();l.setAttribute("id",h),l.textContent=r.title,this.svgElement.appendChild(l),s+=h}if(r&&r.description){var c=Tt("desc"),v=Ne();c.setAttribute("id",v),c.textContent=r.description,this.svgElement.appendChild(c),s+=" "+v}s&&this.svgElement.setAttribute("aria-labelledby",s);var x=Tt("defs");this.svgElement.appendChild(x);var g=Tt("g");this.svgElement.appendChild(g),this.layerElement=g,this.renderConfig={preserveAspectRatio:r&&r.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:r&&r.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:r&&r.contentVisibility||"visible",progressiveLoad:r&&r.progressiveLoad||!1,hideOnTransparent:!(r&&r.hideOnTransparent===!1),viewBoxOnly:r&&r.viewBoxOnly||!1,viewBoxSize:r&&r.viewBoxSize||!1,className:r&&r.className||"",id:r&&r.id||"",focusable:r&&r.focusable,filterSize:{width:r&&r.filterSize&&r.filterSize.width||"100%",height:r&&r.filterSize&&r.filterSize.height||"100%",x:r&&r.filterSize&&r.filterSize.x||"0%",y:r&&r.filterSize&&r.filterSize.y||"0%"},width:r&&r.width,height:r&&r.height,runExpressions:!r||r.runExpressions===void 0||r.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:x,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return L([re],Md),Md.prototype.createComp=function(e){return new sa(e,this.globalData,this)},Qg("svg",Md),bi.registerModifier("tm",gr),bi.registerModifier("pb",Ks),bi.registerModifier("rp",kr),bi.registerModifier("rd",qs),bi.registerModifier("zz",Zs),bi.registerModifier("op",Qs),Rt})});var Rn=globalThis,On=Rn.ShadowRoot&&(Rn.ShadyCSS===void 0||Rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Od=Symbol(),Wp=new WeakMap,aa=class{constructor(o,t,i){if(this._$cssResult$=!0,i!==Od)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(On&&o===void 0){let i=t!==void 0&&t.length===1;i&&(o=Wp.get(t)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),i&&Wp.set(t,o))}return o}toString(){return this.cssText}},jp=n=>new aa(typeof n=="string"?n:n+"",void 0,Od),V=(n,...o)=>{let t=n.length===1?n[0]:o.reduce((i,a,d)=>i+(m=>{if(m._$cssResult$===!0)return m.cssText;if(typeof m=="number")return m;throw Error("Value passed to 'css' function must be a 'css' function result: "+m+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+n[d+1],n[0]);return new aa(t,n,Od)},Pd=(n,o)=>{if(On)n.adoptedStyleSheets=o.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of o){let i=document.createElement("style"),a=Rn.litNonce;a!==void 0&&i.setAttribute("nonce",a),i.textContent=t.cssText,n.appendChild(i)}},Pn=On?n=>n:n=>n instanceof CSSStyleSheet?(o=>{let t="";for(let i of o.cssRules)t+=i.cssText;return jp(t)})(n):n;var{is:Xb,defineProperty:Zb,getOwnPropertyDescriptor:Qb,getOwnPropertyNames:Jb,getOwnPropertySymbols:ty,getPrototypeOf:ey}=Object,ki=globalThis,Kp=ki.trustedTypes,ry=Kp?Kp.emptyScript:"",Dd=ki.reactiveElementPolyfillSupport,na=(n,o)=>n,la={toAttribute(n,o){switch(o){case Boolean:n=n?ry: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}},Dn=(n,o)=>!Xb(n,o),qp={attribute:!0,type:String,converter:la,reflect:!1,hasChanged:Dn},Xp,Zp;(Xp=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Zp=ki.litPropertyMetadata)!=null||(ki.litPropertyMetadata=new WeakMap);var Zr=class extends HTMLElement{static addInitializer(o){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(o)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(o,t=qp){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(o,t),!t.noAccessor){let i=Symbol(),a=this.getPropertyDescriptor(o,i,t);a!==void 0&&Zb(this.prototype,o,a)}}static getPropertyDescriptor(o,t,i){var m;let{get:a,set:d}=(m=Qb(this.prototype,o))!=null?m:{get(){return this[t]},set(b){this[t]=b}};return{get(){return a==null?void 0:a.call(this)},set(b){let C=a==null?void 0:a.call(this);d.call(this,b),this.requestUpdate(o,C,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){var t;return(t=this.elementProperties.get(o))!=null?t:qp}static _$Ei(){if(this.hasOwnProperty(na("elementProperties")))return;let o=ey(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(na("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(na("properties"))){let t=this.properties,i=[...Jb(t),...ty(t)];for(let a of i)this.createProperty(a,t[a])}let o=this[Symbol.metadata];if(o!==null){let t=litPropertyMetadata.get(o);if(t!==void 0)for(let[i,a]of t)this.elementProperties.set(i,a)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let a=this._$Eu(t,i);a!==void 0&&this._$Eh.set(a,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){let t=[];if(Array.isArray(o)){let i=new Set(o.flat(1/0).reverse());for(let a of i)t.unshift(Pn(a))}else o!==void 0&&t.push(Pn(o));return t}static _$Eu(o,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof o=="string"?o.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var o;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(o=this.constructor.l)==null||o.forEach(t=>t(this))}addController(o){var t,i;((t=this._$EO)!=null?t:this._$EO=new Set).add(o),this.renderRoot!==void 0&&this.isConnected&&((i=o.hostConnected)==null||i.call(o))}removeController(o){var t;(t=this._$EO)==null||t.delete(o)}_$E_(){let o=new Map,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(o.set(i,this[i]),delete this[i]);o.size>0&&(this._$Ep=o)}createRenderRoot(){var t;let o=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return Pd(o,this.constructor.elementStyles),o}connectedCallback(){var o,t;(o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(i=>{var a;return(a=i.hostConnected)==null?void 0:a.call(i)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(t=>{var i;return(i=t.hostDisconnected)==null?void 0:i.call(t)})}attributeChangedCallback(o,t,i){this._$AK(o,i)}_$EC(o,t){var d;let i=this.constructor.elementProperties.get(o),a=this.constructor._$Eu(o,i);if(a!==void 0&&i.reflect===!0){let m=(((d=i.converter)==null?void 0:d.toAttribute)!==void 0?i.converter:la).toAttribute(t,i.type);this._$Em=o,m==null?this.removeAttribute(a):this.setAttribute(a,m),this._$Em=null}}_$AK(o,t){var d;let i=this.constructor,a=i._$Eh.get(o);if(a!==void 0&&this._$Em!==a){let m=i.getPropertyOptions(a),b=typeof m.converter=="function"?{fromAttribute:m.converter}:((d=m.converter)==null?void 0:d.fromAttribute)!==void 0?m.converter:la;this._$Em=a,this[a]=b.fromAttribute(t,m.type),this._$Em=null}}requestUpdate(o,t,i){var a;if(o!==void 0){if(i!=null||(i=this.constructor.getPropertyOptions(o)),!((a=i.hasChanged)!=null?a:Dn)(this[o],t))return;this.P(o,t,i)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,t,i){var a;this._$AL.has(o)||this._$AL.set(o,t),i.reflect===!0&&this._$Em!==o&&((a=this._$Ej)!=null?a:this._$Ej=new Set).add(o)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let o=this.scheduleUpdate();return o!=null&&await o,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i,a;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((i=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,b]of this._$Ep)this[m]=b;this._$Ep=void 0}let d=this.constructor.elementProperties;if(d.size>0)for(let[m,b]of d)b.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],b)}let o=!1,t=this._$AL;try{o=this.shouldUpdate(t),o?(this.willUpdate(t),(a=this._$EO)==null||a.forEach(d=>{var m;return(m=d.hostUpdate)==null?void 0:m.call(d)}),this.update(t)):this._$EU()}catch(d){throw o=!1,this._$EU(),d}o&&this._$AE(t)}willUpdate(o){}_$AE(o){var t;(t=this._$EO)==null||t.forEach(i=>{var a;return(a=i.hostUpdated)==null?void 0:a.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(o)),this.updated(o)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(o){return!0}update(o){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(o){}firstUpdated(o){}},Qp;Zr.elementStyles=[],Zr.shadowRootOptions={mode:"open"},Zr[na("elementProperties")]=new Map,Zr[na("finalized")]=new Map,Dd==null||Dd({ReactiveElement:Zr}),((Qp=ki.reactiveElementVersions)!=null?Qp:ki.reactiveElementVersions=[]).push("2.0.4");var ca=globalThis,$n=ca.trustedTypes,Jp=$n?$n.createPolicy("lit-html",{createHTML:n=>n}):void 0,zd="$lit$",Qr=`lit$${Math.random().toFixed(9).slice(2)}$`,Vd="?"+Qr,iy=`<${Vd}>`,io=document,ha=()=>io.createComment(""),pa=n=>n===null||typeof n!="object"&&typeof n!="function",Bd=Array.isArray,am=n=>Bd(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",$d=`[
3
- \f\r]`,da=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,tm=/-->/g,em=/>/g,eo=RegExp(`>|${$d}(?:([^\\s"'>=/]+)(${$d}*=${$d}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),rm=/'/g,im=/"/g,nm=/^(?:script|style|textarea|title)$/i,Ud=n=>(o,...t)=>({_$litType$:n,strings:o,values:t}),_=Ud(1),wA=Ud(2),NA=Ud(3),ve=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),om=new WeakMap,ro=io.createTreeWalker(io,129);function lm(n,o){if(!Bd(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return Jp!==void 0?Jp.createHTML(o):o}var dm=(n,o)=>{let t=n.length-1,i=[],a,d=o===2?"<svg>":o===3?"<math>":"",m=da;for(let b=0;b<t;b++){let C=n[b],L,W,q=-1,it=0;for(;it<C.length&&(m.lastIndex=it,W=m.exec(C),W!==null);)it=m.lastIndex,m===da?W[1]==="!--"?m=tm:W[1]!==void 0?m=em:W[2]!==void 0?(nm.test(W[2])&&(a=RegExp("</"+W[2],"g")),m=eo):W[3]!==void 0&&(m=eo):m===eo?W[0]===">"?(m=a!=null?a:da,q=-1):W[1]===void 0?q=-2:(q=m.lastIndex-W[2].length,L=W[1],m=W[3]===void 0?eo:W[3]==='"'?im:rm):m===im||m===rm?m=eo:m===tm||m===em?m=da:(m=eo,a=void 0);let X=m===eo&&n[b+1].startsWith("/>")?" ":"";d+=m===da?C+iy:q>=0?(i.push(L),C.slice(0,q)+zd+C.slice(q)+Qr+X):C+Qr+(q===-2?b:X)}return[lm(n,d+(n[t]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),i]},ma=class n{constructor({strings:o,_$litType$:t},i){let a;this.parts=[];let d=0,m=0,b=o.length-1,C=this.parts,[L,W]=dm(o,t);if(this.el=n.createElement(L,i),ro.currentNode=this.el.content,t===2||t===3){let q=this.el.content.firstChild;q.replaceWith(...q.childNodes)}for(;(a=ro.nextNode())!==null&&C.length<b;){if(a.nodeType===1){if(a.hasAttributes())for(let q of a.getAttributeNames())if(q.endsWith(zd)){let it=W[m++],X=a.getAttribute(q).split(Qr),tt=/([.?@])?(.*)/.exec(it);C.push({type:1,index:d,name:tt[2],strings:X,ctor:tt[1]==="."?zn:tt[1]==="?"?Vn:tt[1]==="@"?Bn:so}),a.removeAttribute(q)}else q.startsWith(Qr)&&(C.push({type:6,index:d}),a.removeAttribute(q));if(nm.test(a.tagName)){let q=a.textContent.split(Qr),it=q.length-1;if(it>0){a.textContent=$n?$n.emptyScript:"";for(let X=0;X<it;X++)a.append(q[X],ha()),ro.nextNode(),C.push({type:2,index:++d});a.append(q[it],ha())}}}else if(a.nodeType===8)if(a.data===Vd)C.push({type:2,index:d});else{let q=-1;for(;(q=a.data.indexOf(Qr,q+1))!==-1;)C.push({type:7,index:d}),q+=Qr.length-1}d++}}static createElement(o,t){let i=io.createElement("template");return i.innerHTML=o,i}};function oo(n,o,t=n,i){var m,b,C;if(o===ve)return o;let a=i!==void 0?(m=t.o)==null?void 0:m[i]:t.l,d=pa(o)?void 0:o._$litDirective$;return(a==null?void 0:a.constructor)!==d&&((b=a==null?void 0:a._$AO)==null||b.call(a,!1),d===void 0?a=void 0:(a=new d(n),a._$AT(n,t,i)),i!==void 0?((C=t.o)!=null?C:t.o=[])[i]=a:t.l=a),a!==void 0&&(o=oo(n,a._$AS(n,o.values),a,i)),o}var Fn=class{constructor(o,t){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){var L;let{el:{content:t},parts:i}=this._$AD,a=((L=o==null?void 0:o.creationScope)!=null?L:io).importNode(t,!0);ro.currentNode=a;let d=ro.nextNode(),m=0,b=0,C=i[0];for(;C!==void 0;){if(m===C.index){let W;C.type===2?W=new Wo(d,d.nextSibling,this,o):C.type===1?W=new C.ctor(d,C.name,C.strings,this,o):C.type===6&&(W=new Un(d,this,o)),this._$AV.push(W),C=i[++b]}m!==(C==null?void 0:C.index)&&(d=ro.nextNode(),m++)}return ro.currentNode=io,a}p(o){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,t),t+=i.strings.length-2):i._$AI(o[t])),t++}},Wo=class n{get _$AU(){var o,t;return(t=(o=this._$AM)==null?void 0:o._$AU)!=null?t:this.v}constructor(o,t,i,a){var d;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=o,this._$AB=t,this._$AM=i,this.options=a,this.v=(d=a==null?void 0:a.isConnected)!=null?d:!0}get parentNode(){let o=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(o==null?void 0:o.nodeType)===11&&(o=t.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,t=this){o=oo(this,o,t),pa(o)?o===j||o==null||o===""?(this._$AH!==j&&this._$AR(),this._$AH=j):o!==this._$AH&&o!==ve&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):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&&pa(this._$AH)?this._$AA.nextSibling.data=o:this.T(io.createTextNode(o)),this._$AH=o}$(o){var d;let{values:t,_$litType$:i}=o,a=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=ma.createElement(lm(i.h,i.h[0]),this.options)),i);if(((d=this._$AH)==null?void 0:d._$AD)===a)this._$AH.p(t);else{let m=new Fn(a,this),b=m.u(this.options);m.p(t),this.T(b),this._$AH=m}}_$AC(o){let t=om.get(o.strings);return t===void 0&&om.set(o.strings,t=new ma(o)),t}k(o){Bd(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,a=0;for(let d of o)a===t.length?t.push(i=new n(this.O(ha()),this.O(ha()),this,this.options)):i=t[a],i._$AI(d),a++;a<t.length&&(this._$AR(i&&i._$AB.nextSibling,a),t.length=a)}_$AR(o=this._$AA.nextSibling,t){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,t);o&&o!==this._$AB;){let a=o.nextSibling;o.remove(),o=a}}setConnected(o){var t;this._$AM===void 0&&(this.v=o,(t=this._$AP)==null||t.call(this,o))}},so=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,t,i,a,d){this.type=1,this._$AH=j,this._$AN=void 0,this.element=o,this.name=t,this._$AM=a,this.options=d,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=j}_$AI(o,t=this,i,a){let d=this.strings,m=!1;if(d===void 0)o=oo(this,o,t,0),m=!pa(o)||o!==this._$AH&&o!==ve,m&&(this._$AH=o);else{let b=o,C,L;for(o=d[0],C=0;C<d.length-1;C++)L=oo(this,b[i+C],t,C),L===ve&&(L=this._$AH[C]),m||(m=!pa(L)||L!==this._$AH[C]),L===j?o=j:o!==j&&(o+=(L!=null?L:"")+d[C+1]),this._$AH[C]=L}m&&!a&&this.j(o)}j(o){o===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o!=null?o:"")}},zn=class extends so{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===j?void 0:o}},Vn=class extends so{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==j)}},Bn=class extends so{constructor(o,t,i,a,d){super(o,t,i,a,d),this.type=5}_$AI(o,t=this){var m;if((o=(m=oo(this,o,t,0))!=null?m:j)===ve)return;let i=this._$AH,a=o===j&&i!==j||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,d=o!==j&&(i===j||a);a&&this.element.removeEventListener(this.name,this,i),d&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){var t,i;typeof this._$AH=="function"?this._$AH.call((i=(t=this.options)==null?void 0:t.host)!=null?i:this.element,o):this._$AH.handleEvent(o)}},Un=class{constructor(o,t,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){oo(this,o)}},cm={M:zd,P:Qr,A:Vd,C:1,L:dm,R:Fn,D:am,V:oo,I:Wo,H:so,N:Vn,U:Bn,B:zn,F:Un},Fd=ca.litHtmlPolyfillSupport,sm;Fd==null||Fd(ma,Wo),((sm=ca.litHtmlVersions)!=null?sm:ca.litHtmlVersions=[]).push("3.2.0");var hm=(n,o,t)=>{var d,m;let i=(d=t==null?void 0:t.renderBefore)!=null?d:o,a=i._$litPart$;if(a===void 0){let b=(m=t==null?void 0:t.renderBefore)!=null?m:null;i._$litPart$=a=new Wo(o.insertBefore(ha(),b),b,void 0,t!=null?t:{})}return a._$AI(n),a};var wi=class extends Zr{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,i;let o=super.createRenderRoot();return(i=(t=this.renderOptions).renderBefore)!=null||(t.renderBefore=o.firstChild),o}update(o){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(o),this.o=hm(t,this.renderRoot,this.renderOptions)}connectedCallback(){var o;super.connectedCallback(),(o=this.o)==null||o.setConnected(!0)}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this.o)==null||o.setConnected(!1)}render(){return ve}},pm;wi._$litElement$=!0,wi.finalized=!0,(pm=globalThis.litElementHydrateSupport)==null||pm.call(globalThis,{LitElement:wi});var Hd=globalThis.litElementPolyfillSupport;Hd==null||Hd({LitElement:wi});var mm;((mm=globalThis.litElementVersions)!=null?mm:globalThis.litElementVersions=[]).push("4.1.0");var oy={attribute:!0,type:String,converter:la,reflect:!1,hasChanged:Dn},sy=(n=oy,o,t)=>{let{kind:i,metadata:a}=t,d=globalThis.litPropertyMetadata.get(a);if(d===void 0&&globalThis.litPropertyMetadata.set(a,d=new Map),d.set(t.name,n),i==="accessor"){let{name:m}=t;return{set(b){let C=o.get.call(this);o.set.call(this,b),this.requestUpdate(m,C,n)},init(b){return b!==void 0&&this.P(m,void 0,n),b}}}if(i==="setter"){let{name:m}=t;return function(b){let C=this[m];o.call(this,b),this.requestUpdate(m,C,n)}}throw Error("Unsupported decorator location: "+i)};function u(n){return(o,t)=>typeof t=="object"?sy(n,o,t):((i,a,d)=>{let m=a.hasOwnProperty(d);return a.constructor.createProperty(d,m?{...i,wrapped:!0}:i),m?Object.getOwnPropertyDescriptor(a,d):void 0})(n,o,t)}function gt(n){return u({...n,state:!0,attribute:!1})}var Lr=(n,o,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof o!="object"&&Object.defineProperty(n,o,t),t);function tr(n,o){return(t,i,a)=>{let d=m=>{var b,C;return(C=(b=m.renderRoot)==null?void 0:b.querySelector(n))!=null?C:null};if(o){let{get:m,set:b}=typeof i=="object"?t:a!=null?a:(()=>{let C=Symbol();return{get(){return this[C]},set(L){this[C]=L}}})();return Lr(t,i,{get(){let C=m.call(this);return C===void 0&&(C=d(this),(C!==null||this.hasUpdated)&&b.call(this,C)),C}})}return Lr(t,i,{get(){return d(this)}})}}var Gd;function um(n){return(o,t)=>Lr(o,t,{get(){var i;return((i=this.renderRoot)!=null?i:Gd!=null?Gd:Gd=document.createDocumentFragment()).querySelectorAll(n)}})}function Ot(n){return(o,t)=>{let{slot:i,selector:a}=n!=null?n:{},d="slot"+(i?`[name=${i}]`:":not([name])");return Lr(o,t,{get(){var C,L;let m=(C=this.renderRoot)==null?void 0:C.querySelector(d),b=(L=m==null?void 0:m.assignedElements(n))!=null?L:[];return a===void 0?b:b.filter(W=>W.matches(a))}})}}function Hn(n){return(o,t)=>{let{slot:i}=n!=null?n:{},a="slot"+(i?`[name=${i}]`:":not([name])");return Lr(o,t,{get(){var m,b;let d=(m=this.renderRoot)==null?void 0:m.querySelector(a);return(b=d==null?void 0:d.assignedNodes(n))!=null?b:[]}})}}var ay={PREFIX:"mdc",SEPARATOR:"-"},ny={NAMESPACE:ay},Yd=ny;var ly=n=>[Yd.NAMESPACE.PREFIX,n].join(Yd.NAMESPACE.SEPARATOR),B={constructTagName:ly};var et={ALERTDIALOG:"alertdialog",BUTTON:"button",CHECKBOX:"checkbox",COMBOBOX:"combobox",DIALOG:"dialog",GROUP:"group",HEADING:"heading",IMG:"img",LIST:"list",LISTBOX:"listbox",LISTITEM:"listitem",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",NAVIGATION:"navigation",OPTION:"option",PRESENTATION:"presentation",PROGRESSBAR:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",REGION:"region",TAB:"tab",TABLIST:"tablist",TOOLTIP:"tooltip"};var fm=B.constructTagName("buttonsimple"),ao={12:12,14:14,16:16,20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},jo={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},ua={SIZE:ao[32],TYPE:jo.BUTTON,ROLE:et.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var Jr=B.constructTagName("button"),Dt={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},fa={40:40,32:32,28:28,24:24},er={64:64,52:52,20:20,...fa},no={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},Ko={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},Pe={VARIANT:Dt.PRIMARY,SIZE:fa[32],COLOR:no.DEFAULT,TYPE_INTERNAL:Ko.ICON,TYPE:jo.BUTTON,INVERTED:!1};var Gn=n=>{class o extends n{constructor(){super(...arguments);this.variant=Pe.VARIANT;this.color=Pe.COLOR;this.typeInternal=Pe.TYPE_INTERNAL}setVariant(a){this.setAttribute("variant",Object.values(Dt).includes(a)?a:Pe.VARIANT)}setColor(a){!Object.values(no).includes(a)||this.variant===Dt.TERTIARY?this.setAttribute("color",`${Pe.COLOR}`):this.setAttribute("color",a)}setSize(a){let m=this.typeInternal===Ko.ICON?Object.values(er).includes(a)&&!(a===er[20]&&this.variant!==Dt.TERTIARY):Object.values(fa).includes(a);this.setAttribute("size",m?`${a}`:`${Pe.SIZE}`)}inferButtonType(){var L,W,q,it,X,tt;let a=(W=(L=this.shadowRoot)==null?void 0:L.querySelector("slot:not([name])"))==null?void 0:W.assignedNodes().filter(lt=>{var dt;return lt.nodeType!==Node.TEXT_NODE||((dt=lt.textContent)==null?void 0:dt.trim())}).length,d=(it=(q=this.shadowRoot)==null?void 0:q.querySelector('slot[name="prefix"]'))==null?void 0:it.assignedNodes().filter(lt=>{var dt;return lt.nodeType!==Node.TEXT_NODE||((dt=lt.textContent)==null?void 0:dt.trim())}).length,m=this.prefixIcon||d&&d>0,b=(tt=(X=this.shadowRoot)==null?void 0:X.querySelector('slot[name="postfix"]'))==null?void 0:tt.assignedNodes().filter(lt=>{var dt;return lt.nodeType!==Node.TEXT_NODE||((dt=lt.textContent)==null?void 0:dt.trim())}).length,C=this.postfixIcon||b&&b>0;a&&(m||C)?(this.typeInternal=Ko.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!a&&(m||C)?(this.typeInternal=Ko.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=Ko.PILL,this.setAttribute("data-btn-type","pill"))}}return p([u({type:String,attribute:"prefix-icon",reflect:!0})],o.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon",reflect:!0})],o.prototype,"postfixIcon",2),p([u({type:String})],o.prototype,"variant",2),p([u({type:String})],o.prototype,"color",2),p([gt()],o.prototype,"typeInternal",2),o};var vm=V`
1
+ "use strict";(()=>{var Yb=Object.create;var Pd=Object.defineProperty;var jp=Object.getOwnPropertyDescriptor;var Wb=Object.getOwnPropertyNames;var jb=Object.getPrototypeOf,Kb=Object.prototype.hasOwnProperty;var qb=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports);var Xb=(n,o,t,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of Wb(o))!Kb.call(n,a)&&a!==t&&Pd(n,a,{get:()=>o[a],enumerable:!(i=jp(o,a))||i.enumerable});return n};var Zb=(n,o,t)=>(t=n!=null?Yb(jb(n)):{},Xb(o||!n||!n.__esModule?Pd(t,"default",{value:n,enumerable:!0}):t,n));var p=(n,o,t,i)=>{for(var a=i>1?void 0:i?jp(o,t):o,d=n.length-1,m;d>=0;d--)(m=n[d])&&(a=(i?m(o,t,a):m(a))||a);return i&&a&&Pd(o,t,a),a};var Ym=qb((Aa,nl)=>{typeof navigator<"u"&&function(n,o){typeof Aa=="object"&&typeof nl<"u"?nl.exports=o():typeof define=="function"&&define.amd?define(o):(n=typeof globalThis<"u"?globalThis:n||self,n.lottie=o())}(Aa,function(){"use strict";var n="http://www.w3.org/2000/svg",o="",t=!1,i=-999999,a=function(r){t=!!r},d=function(){return t},m=function(r){o=r},b=function(){return o};function C(e){return document.createElement(e)}function L(e,r){var s,l=e.length,h;for(s=0;s<l;s+=1){h=e[s].prototype;for(var c in h)Object.prototype.hasOwnProperty.call(h,c)&&(r.prototype[c]=h[c])}}function W(e,r){return Object.getOwnPropertyDescriptor(e,r)}function q(e){function r(){}return r.prototype=e,r}var it=function(){function e(r){this.audios=[],this.audioFactory=r,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(s){this.audios.push(s)},pause:function(){var s,l=this.audios.length;for(s=0;s<l;s+=1)this.audios[s].pause()},resume:function(){var s,l=this.audios.length;for(s=0;s<l;s+=1)this.audios[s].resume()},setRate:function(s){var l,h=this.audios.length;for(l=0;l<h;l+=1)this.audios[l].setRate(s)},createAudio:function(s){return this.audioFactory?this.audioFactory(s):window.Howl?new window.Howl({src:[s]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(s){this.audioFactory=s},setVolume:function(s){this._volume=s,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var s,l=this.audios.length;for(s=0;s<l;s+=1)this.audios[s].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),X=function(){function e(s,l){var h=0,c=[],v;switch(s){case"int16":case"uint8c":v=1;break;default:v=1.1;break}for(h=0;h<l;h+=1)c.push(v);return c}function r(s,l){return s==="float32"?new Float32Array(l):s==="int16"?new Int16Array(l):s==="uint8c"?new Uint8ClampedArray(l):e(s,l)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:e}();function tt(e){return Array.apply(null,{length:e})}function lt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?lt=function(s){return typeof s}:lt=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},lt(e)}var dt=!0,vt=null,At=null,wt="",Wt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),$t=!1,Bt=Math.pow,Zt=Math.sqrt,le=Math.floor,ur=Math.max,we=Math.min,je={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r,s=e.length;for(r=0;r<s;r+=1)je[e[r]]=Math[e[r]]})();function fr(){return{}}je.random=Math.random,je.abs=function(e){var r=lt(e);if(r==="object"&&e.length){var s=tt(e.length),l,h=e.length;for(l=0;l<h;l+=1)s[l]=Math.abs(e[l]);return s}return Math.abs(e)};var vr=150,Ct=Math.PI/180,pe=.5519;function Ke(e){$t=!!e}function qe(e){return $t?Math.round(e):e}function Xe(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function Ze(e,r,s,l){this.type=e,this.currentTime=r,this.totalTime=s,this.direction=l<0?-1:1}function mn(e,r){this.type=e,this.direction=r<0?-1:1}function tp(e,r,s,l){this.type=e,this.currentLoop=s,this.totalLoops=r,this.direction=l<0?-1:1}function ep(e,r,s){this.type=e,this.firstFrame=r,this.totalFrames=s}function rp(e,r){this.type=e,this.target=r}function Yg(e,r){this.type="renderFrameError",this.nativeError=e,this.currentTime=r}function Wg(e){this.type="configError",this.nativeError=e}function TA(e,r){this.type=e,this.nativeError=r}var Ne=function(){var e=0;return function(){return e+=1,wt+"__lottie_element_"+e}}();function xd(e,r,s){var l,h,c,v,x,g,k,M;switch(v=Math.floor(e*6),x=e*6-v,g=s*(1-r),k=s*(1-x*r),M=s*(1-(1-x)*r),v%6){case 0:l=s,h=M,c=g;break;case 1:l=k,h=s,c=g;break;case 2:l=g,h=s,c=M;break;case 3:l=g,h=k,c=s;break;case 4:l=M,h=g,c=s;break;case 5:l=s,h=g,c=k;break;default:break}return[l,h,c]}function Ad(e,r,s){var l=Math.max(e,r,s),h=Math.min(e,r,s),c=l-h,v,x=l===0?0:c/l,g=l/255;switch(l){case h:v=0;break;case e:v=r-s+c*(r<s?6:0),v/=6*c;break;case r:v=s-e+c*2,v/=6*c;break;case s:v=e-r+c*4,v/=6*c;break;default:break}return[v,x,g]}function ip(e,r){var s=Ad(e[0]*255,e[1]*255,e[2]*255);return s[1]+=r,s[1]>1?s[1]=1:s[1]<=0&&(s[1]=0),xd(s[0],s[1],s[2])}function op(e,r){var s=Ad(e[0]*255,e[1]*255,e[2]*255);return s[2]+=r,s[2]>1?s[2]=1:s[2]<0&&(s[2]=0),xd(s[0],s[1],s[2])}function sp(e,r){var s=Ad(e[0]*255,e[1]*255,e[2]*255);return s[0]+=r/360,s[0]>1?s[0]-=1:s[0]<0&&(s[0]+=1),xd(s[0],s[1],s[2])}var xA=function(){var e=[],r,s;for(r=0;r<256;r+=1)s=r.toString(16),e[r]=s.length===1?"0"+s:s;return function(l,h,c){return l<0&&(l=0),h<0&&(h=0),c<0&&(c=0),"#"+e[l]+e[h]+e[c]}}(),jg=function(r){dt=!!r},Kg=function(){return dt},qg=function(r){vt=r},un=function(){return vt},AA=function(r){At=r},ap=function(){return At},fn=function(r){vr=r},Hs=function(){return vr},Xg=function(r){wt=r},SA=function(){return wt};function Tt(e){return document.createElementNS(n,e)}function vn(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?vn=function(s){return typeof s}:vn=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},vn(e)}var Gs=function(){var e=1,r=[],s,l,h={onmessage:function(){},postMessage:function(R){s({data:R})}},c={postMessage:function(R){h.onmessage({data:R})}};function v(T){if(window.Worker&&window.Blob&&d()){var R=new Blob(["var _workerSelf = self; self.onmessage = ",T.toString()],{type:"text/javascript"}),D=URL.createObjectURL(R);return new Worker(D)}return s=T,h}function x(){l||(l=v(function(R){function D(){function z(Z,S){var P,f,y=Z.length,G,F,nt,ft;for(f=0;f<y;f+=1)if(P=Z[f],"ks"in P&&!P.completed){if(P.completed=!0,P.hasMask){var Et=P.masksProperties;for(F=Et.length,G=0;G<F;G+=1)if(Et[G].pt.k.i)w(Et[G].pt.k);else for(ft=Et[G].pt.k.length,nt=0;nt<ft;nt+=1)Et[G].pt.k[nt].s&&w(Et[G].pt.k[nt].s[0]),Et[G].pt.k[nt].e&&w(Et[G].pt.k[nt].e[0])}P.ty===0?(P.layers=E(P.refId,S),z(P.layers,S)):P.ty===4?A(P.shapes):P.ty===5&&xt(P)}}function N(Z,S){if(Z){var P=0,f=Z.length;for(P=0;P<f;P+=1)Z[P].t===1&&(Z[P].data.layers=E(Z[P].data.refId,S),z(Z[P].data.layers,S))}}function I(Z,S){for(var P=0,f=S.length;P<f;){if(S[P].id===Z)return S[P];P+=1}return null}function E(Z,S){var P=I(Z,S);return P?P.layers.__used?JSON.parse(JSON.stringify(P.layers)):(P.layers.__used=!0,P.layers):null}function A(Z){var S,P=Z.length,f,y;for(S=P-1;S>=0;S-=1)if(Z[S].ty==="sh")if(Z[S].ks.k.i)w(Z[S].ks.k);else for(y=Z[S].ks.k.length,f=0;f<y;f+=1)Z[S].ks.k[f].s&&w(Z[S].ks.k[f].s[0]),Z[S].ks.k[f].e&&w(Z[S].ks.k[f].e[0]);else Z[S].ty==="gr"&&A(Z[S].it)}function w(Z){var S,P=Z.i.length;for(S=0;S<P;S+=1)Z.i[S][0]+=Z.v[S][0],Z.i[S][1]+=Z.v[S][1],Z.o[S][0]+=Z.v[S][0],Z.o[S][1]+=Z.v[S][1]}function $(Z,S){var P=S?S.split("."):[100,100,100];return Z[0]>P[0]?!0:P[0]>Z[0]?!1:Z[1]>P[1]?!0:P[1]>Z[1]?!1:Z[2]>P[2]?!0:P[2]>Z[2]?!1:null}var U=function(){var Z=[4,4,14];function S(f){var y=f.t.d;f.t.d={k:[{s:y,t:0}]}}function P(f){var y,G=f.length;for(y=0;y<G;y+=1)f[y].ty===5&&S(f[y])}return function(f){if($(Z,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),Y=function(){var Z=[4,7,99];return function(S){if(S.chars&&!$(Z,S.v)){var P,f=S.chars.length;for(P=0;P<f;P+=1){var y=S.chars[P];y.data&&y.data.shapes&&(A(y.data.shapes),y.data.ip=0,y.data.op=99999,y.data.st=0,y.data.sr=1,y.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},S.chars[P].t||(y.data.shapes.push({ty:"no"}),y.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),J=function(){var Z=[5,7,15];function S(f){var y=f.t.p;typeof y.a=="number"&&(y.a={a:0,k:y.a}),typeof y.p=="number"&&(y.p={a:0,k:y.p}),typeof y.r=="number"&&(y.r={a:0,k:y.r})}function P(f){var y,G=f.length;for(y=0;y<G;y+=1)f[y].ty===5&&S(f[y])}return function(f){if($(Z,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),yt=function(){var Z=[4,1,9];function S(f){var y,G=f.length,F,nt;for(y=0;y<G;y+=1)if(f[y].ty==="gr")S(f[y].it);else if(f[y].ty==="fl"||f[y].ty==="st")if(f[y].c.k&&f[y].c.k[0].i)for(nt=f[y].c.k.length,F=0;F<nt;F+=1)f[y].c.k[F].s&&(f[y].c.k[F].s[0]/=255,f[y].c.k[F].s[1]/=255,f[y].c.k[F].s[2]/=255,f[y].c.k[F].s[3]/=255),f[y].c.k[F].e&&(f[y].c.k[F].e[0]/=255,f[y].c.k[F].e[1]/=255,f[y].c.k[F].e[2]/=255,f[y].c.k[F].e[3]/=255);else f[y].c.k[0]/=255,f[y].c.k[1]/=255,f[y].c.k[2]/=255,f[y].c.k[3]/=255}function P(f){var y,G=f.length;for(y=0;y<G;y+=1)f[y].ty===4&&S(f[y].shapes)}return function(f){if($(Z,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),pt=function(){var Z=[4,4,18];function S(f){var y,G=f.length,F,nt;for(y=G-1;y>=0;y-=1)if(f[y].ty==="sh")if(f[y].ks.k.i)f[y].ks.k.c=f[y].closed;else for(nt=f[y].ks.k.length,F=0;F<nt;F+=1)f[y].ks.k[F].s&&(f[y].ks.k[F].s[0].c=f[y].closed),f[y].ks.k[F].e&&(f[y].ks.k[F].e[0].c=f[y].closed);else f[y].ty==="gr"&&S(f[y].it)}function P(f){var y,G,F=f.length,nt,ft,Et,Nt;for(G=0;G<F;G+=1){if(y=f[G],y.hasMask){var Lt=y.masksProperties;for(ft=Lt.length,nt=0;nt<ft;nt+=1)if(Lt[nt].pt.k.i)Lt[nt].pt.k.c=Lt[nt].cl;else for(Nt=Lt[nt].pt.k.length,Et=0;Et<Nt;Et+=1)Lt[nt].pt.k[Et].s&&(Lt[nt].pt.k[Et].s[0].c=Lt[nt].cl),Lt[nt].pt.k[Et].e&&(Lt[nt].pt.k[Et].e[0].c=Lt[nt].cl)}y.ty===4&&S(y.shapes)}}return function(f){if($(Z,f.v)&&(P(f.layers),f.assets)){var y,G=f.assets.length;for(y=0;y<G;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}();function ot(Z){Z.__complete||(yt(Z),U(Z),Y(Z),J(Z),pt(Z),z(Z.layers,Z.assets),N(Z.chars,Z.assets),Z.__complete=!0)}function xt(Z){Z.t.a.length===0&&"m"in Z.t.p}var ct={};return ct.completeData=ot,ct.checkColors=yt,ct.checkChars=Y,ct.checkPathProperties=J,ct.checkShapes=pt,ct.completeLayers=z,ct}if(c.dataManager||(c.dataManager=D()),c.assetLoader||(c.assetLoader=function(){function z(I){var E=I.getResponseHeader("content-type");return E&&I.responseType==="json"&&E.indexOf("json")!==-1||I.response&&vn(I.response)==="object"?I.response:I.response&&typeof I.response=="string"?JSON.parse(I.response):I.responseText?JSON.parse(I.responseText):null}function N(I,E,A,w){var $,U=new XMLHttpRequest;try{U.responseType="json"}catch{}U.onreadystatechange=function(){if(U.readyState===4)if(U.status===200)$=z(U),A($);else try{$=z(U),A($)}catch(Y){w&&w(Y)}};try{U.open(["G","E","T"].join(""),I,!0)}catch{U.open(["G","E","T"].join(""),E+"/"+I,!0)}U.send()}return{load:N}}()),R.data.type==="loadAnimation")c.assetLoader.load(R.data.path,R.data.fullPath,function(z){c.dataManager.completeData(z),c.postMessage({id:R.data.id,payload:z,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})});else if(R.data.type==="complete"){var O=R.data.animation;c.dataManager.completeData(O),c.postMessage({id:R.data.id,payload:O,status:"success"})}else R.data.type==="loadData"&&c.assetLoader.load(R.data.path,R.data.fullPath,function(z){c.postMessage({id:R.data.id,payload:z,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})})}),l.onmessage=function(T){var R=T.data,D=R.id,O=r[D];r[D]=null,R.status==="success"?O.onComplete(R.payload):O.onError&&O.onError()})}function g(T,R){e+=1;var D="processId_"+e;return r[D]={onComplete:T,onError:R},D}function k(T,R,D){x();var O=g(R,D);l.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:O})}function M(T,R,D){x();var O=g(R,D);l.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:O})}function H(T,R,D){x();var O=g(R,D);l.postMessage({type:"complete",animation:T,id:O})}return{loadAnimation:k,loadData:M,completeAnimation:H}}(),Zg=function(){var e=function(){var N=C("canvas");N.width=1,N.height=1;var I=N.getContext("2d");return I.fillStyle="rgba(0,0,0,0)",I.fillRect(0,0,1,1),N}();function r(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function s(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function l(N,I,E){var A="";if(N.e)A=N.p;else if(I){var w=N.p;w.indexOf("images/")!==-1&&(w=w.split("/")[1]),A=I+w}else A=E,A+=N.u?N.u:"",A+=N.p;return A}function h(N){var I=0,E=setInterval((function(){var A=N.getBBox();(A.width||I>500)&&(this._imageLoaded(),clearInterval(E)),I+=1}).bind(this),50)}function c(N){var I=l(N,this.assetsPath,this.path),E=Tt("image");Wt?this.testImageLoaded(E):E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),E.setAttributeNS("http://www.w3.org/1999/xlink","href",I),this._elementHelper.append?this._elementHelper.append(E):this._elementHelper.appendChild(E);var A={img:E,assetData:N};return A}function v(N){var I=l(N,this.assetsPath,this.path),E=C("img");E.crossOrigin="anonymous",E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),E.src=I;var A={img:E,assetData:N};return A}function x(N){var I={assetData:N},E=l(N,this.assetsPath,this.path);return Gs.loadData(E,(function(A){I.img=A,this._footageLoaded()}).bind(this),(function(){I.img={},this._footageLoaded()}).bind(this)),I}function g(N,I){this.imagesLoadedCb=I;var E,A=N.length;for(E=0;E<A;E+=1)N[E].layers||(!N[E].t||N[E].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(N[E]))):N[E].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(N[E]))))}function k(N){this.path=N||""}function M(N){this.assetsPath=N||""}function H(N){for(var I=0,E=this.images.length;I<E;){if(this.images[I].assetData===N)return this.images[I].img;I+=1}return null}function T(){this.imagesLoadedCb=null,this.images.length=0}function R(){return this.totalImages===this.loadedAssets}function D(){return this.totalFootages===this.loadedFootagesCount}function O(N,I){N==="svg"?(this._elementHelper=I,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function z(){this._imageLoaded=r.bind(this),this._footageLoaded=s.bind(this),this.testImageLoaded=h.bind(this),this.createFootageData=x.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return z.prototype={loadAssets:g,setAssetsPath:M,setPath:k,loadedImages:R,loadedFootages:D,destroy:T,getAsset:H,createImgData:v,createImageData:c,imageLoaded:r,footageLoaded:s,setCacheType:O},z}();function np(){}np.prototype={triggerEvent:function(r,s){if(this._cbs[r])for(var l=this._cbs[r],h=0;h<l.length;h+=1)l[h](s)},addEventListener:function(r,s){return this._cbs[r]||(this._cbs[r]=[]),this._cbs[r].push(s),(function(){this.removeEventListener(r,s)}).bind(this)},removeEventListener:function(r,s){if(!s)this._cbs[r]=null;else if(this._cbs[r]){for(var l=0,h=this._cbs[r].length;l<h;)this._cbs[r][l]===s&&(this._cbs[r].splice(l,1),l-=1,h-=1),l+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var Qg=function(){function e(r){for(var s=r.split(`\r
2
+ `),l={},h,c=0,v=0;v<s.length;v+=1)h=s[v].split(":"),h.length===2&&(l[h[0]]=h[1].trim(),c+=1);if(c===0)throw new Error;return l}return function(r){for(var s=[],l=0;l<r.length;l+=1){var h=r[l],c={time:h.tm,duration:h.dr};try{c.payload=JSON.parse(r[l].cm)}catch{try{c.payload=e(r[l].cm)}catch{c.payload={name:r[l].cm}}}s.push(c)}return s}}(),Jg=function(){function e(r){this.compositions.push(r)}return function(){function r(s){for(var l=0,h=this.compositions.length;l<h;){if(this.compositions[l].data&&this.compositions[l].data.nm===s)return this.compositions[l].prepareFrame&&this.compositions[l].data.xt&&this.compositions[l].prepareFrame(this.currentFrame),this.compositions[l].compInterface;l+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=e,r}}(),Ys={},tb=function(r,s){Ys[r]=s};function eb(e){return Ys[e]}function rb(){if(Ys.canvas)return"canvas";for(var e in Ys)if(Ys[e])return e;return""}function Ws(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ws=function(s){return typeof s}:Ws=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ws(e)}var ut=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=Ne(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Kg(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Jg(),this.imagePreloader=new Zg,this.audioController=it(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new Ze("drawnFrame",0,0,0),this.expressionsPlugin=un()};L([np],ut),ut.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var r="svg";e.animType?r=e.animType:e.renderer&&(r=e.renderer);var s=eb(r);this.renderer=new s(this,e.rendererSettings),this.imagePreloader.setCacheType(r,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=r,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Gs.loadAnimation(e.path,this.configAnimation,this.onSetupError))},ut.prototype.onSetupError=function(){this.trigger("data_failed")},ut.prototype.setupAnimation=function(e){Gs.completeAnimation(e,this.configAnimation)},ut.prototype.setData=function(e,r){r&&Ws(r)!=="object"&&(r=JSON.parse(r));var s={wrapper:e,animationData:r},l=e.attributes;s.path=l.getNamedItem("data-animation-path")?l.getNamedItem("data-animation-path").value:l.getNamedItem("data-bm-path")?l.getNamedItem("data-bm-path").value:l.getNamedItem("bm-path")?l.getNamedItem("bm-path").value:"",s.animType=l.getNamedItem("data-anim-type")?l.getNamedItem("data-anim-type").value:l.getNamedItem("data-bm-type")?l.getNamedItem("data-bm-type").value:l.getNamedItem("bm-type")?l.getNamedItem("bm-type").value:l.getNamedItem("data-bm-renderer")?l.getNamedItem("data-bm-renderer").value:l.getNamedItem("bm-renderer")?l.getNamedItem("bm-renderer").value:rb()||"canvas";var h=l.getNamedItem("data-anim-loop")?l.getNamedItem("data-anim-loop").value:l.getNamedItem("data-bm-loop")?l.getNamedItem("data-bm-loop").value:l.getNamedItem("bm-loop")?l.getNamedItem("bm-loop").value:"";h==="false"?s.loop=!1:h==="true"?s.loop=!0:h!==""&&(s.loop=parseInt(h,10));var c=l.getNamedItem("data-anim-autoplay")?l.getNamedItem("data-anim-autoplay").value:l.getNamedItem("data-bm-autoplay")?l.getNamedItem("data-bm-autoplay").value:l.getNamedItem("bm-autoplay")?l.getNamedItem("bm-autoplay").value:!0;s.autoplay=c!=="false",s.name=l.getNamedItem("data-name")?l.getNamedItem("data-name").value:l.getNamedItem("data-bm-name")?l.getNamedItem("data-bm-name").value:l.getNamedItem("bm-name")?l.getNamedItem("bm-name").value:"";var v=l.getNamedItem("data-anim-prerender")?l.getNamedItem("data-anim-prerender").value:l.getNamedItem("data-bm-prerender")?l.getNamedItem("data-bm-prerender").value:l.getNamedItem("bm-prerender")?l.getNamedItem("bm-prerender").value:"";v==="false"&&(s.prerender=!1),s.path?this.setParams(s):this.trigger("destroy")},ut.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var r=this.animationData.layers,s,l=r.length,h=e.layers,c,v=h.length;for(c=0;c<v;c+=1)for(s=0;s<l;){if(r[s].id===h[c].id){r[s]=h[c];break}s+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(l=e.assets.length,s=0;s<l;s+=1)this.animationData.assets.push(e.assets[s]);this.animationData.__complete=!1,Gs.completeAnimation(this.animationData,this.onSegmentComplete)},ut.prototype.onSegmentComplete=function(e){this.animationData=e;var r=un();r&&r.initExpressions(this),this.loadNextSegment()},ut.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var r=e.shift();this.timeCompleted=r.time*this.frameRate;var s=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Gs.loadData(s,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},ut.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},ut.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},ut.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},ut.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=Qg(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},ut.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},ut.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=un();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},ut.prototype.resize=function(e,r){var s=typeof e=="number"?e:void 0,l=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(s,l)},ut.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},ut.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},ut.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},ut.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},ut.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},ut.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},ut.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},ut.prototype.getMarkerData=function(e){for(var r,s=0;s<this.markers.length;s+=1)if(r=this.markers[s],r.payload&&r.payload.name===e)return r;return null},ut.prototype.goToAndStop=function(e,r,s){if(!(s&&this.name!==s)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&this.goToAndStop(h.time,!0)}else r?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},ut.prototype.goToAndPlay=function(e,r,s){if(!(s&&this.name!==s)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&(h.duration?this.playSegments([h.time,h.time+h.duration],!0):this.goToAndStop(h.time,!0))}else this.goToAndStop(l,r,s);this.play()}},ut.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var r=this.currentRawFrame+e*this.frameModifier,s=!1;r>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(r>this.totalFrames?r%this.totalFrames:0)||(s=!0,r=this.totalFrames-1):r>=this.totalFrames?(this.playCount+=1,this.checkSegments(r%this.totalFrames)||(this.setCurrentRawFrameValue(r%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(r):r<0?this.checkSegments(r%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+r%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(s=!0,r=0)):this.setCurrentRawFrameValue(r),s&&(this.setCurrentRawFrameValue(r),this.pause(),this.trigger("complete"))}},ut.prototype.adjustSegment=function(e,r){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-r)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+r)),this.trigger("segmentStart")},ut.prototype.setSegment=function(e,r){var s=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?s=e:this.currentRawFrame+this.firstFrame>r&&(s=r-e)),this.firstFrame=e,this.totalFrames=r-e,this.timeCompleted=this.totalFrames,s!==-1&&this.goToAndStop(s,!0)},ut.prototype.playSegments=function(e,r){if(r&&(this.segments.length=0),Ws(e[0])==="object"){var s,l=e.length;for(s=0;s<l;s+=1)this.segments.push(e[s])}else this.segments.push(e);this.segments.length&&r&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},ut.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},ut.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},ut.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},ut.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},ut.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},ut.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},ut.prototype.setLoop=function(e){this.loop=e},ut.prototype.setVolume=function(e,r){r&&this.name!==r||this.audioController.setVolume(e)},ut.prototype.getVolume=function(){return this.audioController.getVolume()},ut.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},ut.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},ut.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},ut.prototype.getPath=function(){return this.path},ut.prototype.getAssetsPath=function(e){var r="";if(e.e)r=e.p;else if(this.assetsPath){var s=e.p;s.indexOf("images/")!==-1&&(s=s.split("/")[1]),r=this.assetsPath+s}else r=this.path,r+=e.u?e.u:"",r+=e.p;return r},ut.prototype.getAssetData=function(e){for(var r=0,s=this.assets.length;r<s;){if(e===this.assets[r].id)return this.assets[r];r+=1}return null},ut.prototype.hide=function(){this.renderer.hide()},ut.prototype.show=function(){this.renderer.show()},ut.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},ut.prototype.updateDocumentData=function(e,r,s){try{var l=this.renderer.getElementByPath(e);l.updateDocumentData(r,s)}catch{}},ut.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new Ze(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new tp(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new mn(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new ep(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new rp(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new Ze(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new tp(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new mn(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new ep(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new rp(e,this))},ut.prototype.triggerRenderFrameError=function(e){var r=new Yg(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},ut.prototype.triggerConfigError=function(e){var r=new Wg(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var Qt=function(){var e={},r=[],s=0,l=0,h=0,c=!0,v=!1;function x(S){for(var P=0,f=S.target;P<l;)r[P].animation===f&&(r.splice(P,1),P-=1,l-=1,f.isPaused||H()),P+=1}function g(S,P){if(!S)return null;for(var f=0;f<l;){if(r[f].elem===S&&r[f].elem!==null)return r[f].animation;f+=1}var y=new ut;return T(y,S),y.setData(S,P),y}function k(){var S,P=r.length,f=[];for(S=0;S<P;S+=1)f.push(r[S].animation);return f}function M(){h+=1,yt()}function H(){h-=1}function T(S,P){S.addEventListener("destroy",x),S.addEventListener("_active",M),S.addEventListener("_idle",H),r.push({elem:P,animation:S}),l+=1}function R(S){var P=new ut;return T(P,null),P.setParams(S),P}function D(S,P){var f;for(f=0;f<l;f+=1)r[f].animation.setSpeed(S,P)}function O(S,P){var f;for(f=0;f<l;f+=1)r[f].animation.setDirection(S,P)}function z(S){var P;for(P=0;P<l;P+=1)r[P].animation.play(S)}function N(S){var P=S-s,f;for(f=0;f<l;f+=1)r[f].animation.advanceTime(P);s=S,h&&!v?window.requestAnimationFrame(N):c=!0}function I(S){s=S,window.requestAnimationFrame(N)}function E(S){var P;for(P=0;P<l;P+=1)r[P].animation.pause(S)}function A(S,P,f){var y;for(y=0;y<l;y+=1)r[y].animation.goToAndStop(S,P,f)}function w(S){var P;for(P=0;P<l;P+=1)r[P].animation.stop(S)}function $(S){var P;for(P=0;P<l;P+=1)r[P].animation.togglePause(S)}function U(S){var P;for(P=l-1;P>=0;P-=1)r[P].animation.destroy(S)}function Y(S,P,f){var y=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),G,F=y.length;for(G=0;G<F;G+=1)f&&y[G].setAttribute("data-bm-type",f),g(y[G],S);if(P&&F===0){f||(f="svg");var nt=document.getElementsByTagName("body")[0];nt.innerText="";var ft=C("div");ft.style.width="100%",ft.style.height="100%",ft.setAttribute("data-bm-type",f),nt.appendChild(ft),g(ft,S)}}function J(){var S;for(S=0;S<l;S+=1)r[S].animation.resize()}function yt(){!v&&h&&c&&(window.requestAnimationFrame(I),c=!1)}function pt(){v=!0}function ot(){v=!1,yt()}function xt(S,P){var f;for(f=0;f<l;f+=1)r[f].animation.setVolume(S,P)}function ct(S){var P;for(P=0;P<l;P+=1)r[P].animation.mute(S)}function Z(S){var P;for(P=0;P<l;P+=1)r[P].animation.unmute(S)}return e.registerAnimation=g,e.loadAnimation=R,e.setSpeed=D,e.setDirection=O,e.play=z,e.pause=E,e.stop=w,e.togglePause=$,e.searchAnimations=Y,e.resize=J,e.goToAndStop=A,e.destroy=U,e.freeze=pt,e.unfreeze=ot,e.setVolume=xt,e.mute=ct,e.unmute=Z,e.getRegisteredAnimations=k,e}(),js=function(){var e={};e.getBezierEasing=s;var r={};function s(I,E,A,w,$){var U=$||("bez_"+I+"_"+E+"_"+A+"_"+w).replace(/\./g,"p");if(r[U])return r[U];var Y=new N([I,E,A,w]);return r[U]=Y,Y}var l=4,h=.001,c=1e-7,v=10,x=11,g=1/(x-1),k=typeof Float32Array=="function";function M(I,E){return 1-3*E+3*I}function H(I,E){return 3*E-6*I}function T(I){return 3*I}function R(I,E,A){return((M(E,A)*I+H(E,A))*I+T(E))*I}function D(I,E,A){return 3*M(E,A)*I*I+2*H(E,A)*I+T(E)}function O(I,E,A,w,$){var U,Y,J=0;do Y=E+(A-E)/2,U=R(Y,w,$)-I,U>0?A=Y:E=Y;while(Math.abs(U)>c&&++J<v);return Y}function z(I,E,A,w){for(var $=0;$<l;++$){var U=D(E,A,w);if(U===0)return E;var Y=R(E,A,w)-I;E-=Y/U}return E}function N(I){this._p=I,this._mSampleValues=k?new Float32Array(x):new Array(x),this._precomputed=!1,this.get=this.get.bind(this)}return N.prototype={get:function(E){var A=this._p[0],w=this._p[1],$=this._p[2],U=this._p[3];return this._precomputed||this._precompute(),A===w&&$===U?E:E===0?0:E===1?1:R(this._getTForX(E),w,U)},_precompute:function(){var E=this._p[0],A=this._p[1],w=this._p[2],$=this._p[3];this._precomputed=!0,(E!==A||w!==$)&&this._calcSampleValues()},_calcSampleValues:function(){for(var E=this._p[0],A=this._p[2],w=0;w<x;++w)this._mSampleValues[w]=R(w*g,E,A)},_getTForX:function(E){for(var A=this._p[0],w=this._p[2],$=this._mSampleValues,U=0,Y=1,J=x-1;Y!==J&&$[Y]<=E;++Y)U+=g;--Y;var yt=(E-$[Y])/($[Y+1]-$[Y]),pt=U+yt*g,ot=D(pt,A,w);return ot>=h?z(E,pt,A,w):ot===0?pt:O(E,U,U+g,A,w)}},e}(),lp=function(){function e(r){return r.concat(tt(r.length))}return{double:e}}(),gn=function(){return function(e,r,s){var l=0,h=e,c=tt(h),v={newElement:x,release:g};function x(){var k;return l?(l-=1,k=c[l]):k=r(),k}function g(k){l===h&&(c=lp.double(c),h*=2),s&&s(k),c[l]=k,l+=1}return v}}(),dp=function(){function e(){return{addedLength:0,percents:X("float32",Hs()),lengths:X("float32",Hs())}}return gn(8,e)}(),cp=function(){function e(){return{lengths:[],totalLength:0}}function r(s){var l,h=s.lengths.length;for(l=0;l<h;l+=1)dp.release(s.lengths[l]);s.lengths.length=0}return gn(8,e,r)}();function ib(){var e=Math;function r(T,R,D,O,z,N){var I=T*O+R*z+D*N-z*O-N*T-D*R;return I>-.001&&I<.001}function s(T,R,D,O,z,N,I,E,A){if(D===0&&N===0&&A===0)return r(T,R,O,z,I,E);var w=e.sqrt(e.pow(O-T,2)+e.pow(z-R,2)+e.pow(N-D,2)),$=e.sqrt(e.pow(I-T,2)+e.pow(E-R,2)+e.pow(A-D,2)),U=e.sqrt(e.pow(I-O,2)+e.pow(E-z,2)+e.pow(A-N,2)),Y;return w>$?w>U?Y=w-$-U:Y=U-$-w:U>$?Y=U-$-w:Y=$-w-U,Y>-1e-4&&Y<1e-4}var l=function(){return function(T,R,D,O){var z=Hs(),N,I,E,A,w,$=0,U,Y=[],J=[],yt=dp.newElement();for(E=D.length,N=0;N<z;N+=1){for(w=N/(z-1),U=0,I=0;I<E;I+=1)A=Bt(1-w,3)*T[I]+3*Bt(1-w,2)*w*D[I]+3*(1-w)*Bt(w,2)*O[I]+Bt(w,3)*R[I],Y[I]=A,J[I]!==null&&(U+=Bt(Y[I]-J[I],2)),J[I]=Y[I];U&&(U=Zt(U),$+=U),yt.percents[N]=w,yt.lengths[N]=$}return yt.addedLength=$,yt}}();function h(T){var R=cp.newElement(),D=T.c,O=T.v,z=T.o,N=T.i,I,E=T._length,A=R.lengths,w=0;for(I=0;I<E-1;I+=1)A[I]=l(O[I],O[I+1],z[I],N[I+1]),w+=A[I].addedLength;return D&&E&&(A[I]=l(O[I],O[0],z[I],N[0]),w+=A[I].addedLength),R.totalLength=w,R}function c(T){this.segmentLength=0,this.points=new Array(T)}function v(T,R){this.partialLength=T,this.point=R}var x=function(){var T={};return function(R,D,O,z){var N=(R[0]+"_"+R[1]+"_"+D[0]+"_"+D[1]+"_"+O[0]+"_"+O[1]+"_"+z[0]+"_"+z[1]).replace(/\./g,"p");if(!T[N]){var I=Hs(),E,A,w,$,U,Y=0,J,yt,pt=null;R.length===2&&(R[0]!==D[0]||R[1]!==D[1])&&r(R[0],R[1],D[0],D[1],R[0]+O[0],R[1]+O[1])&&r(R[0],R[1],D[0],D[1],D[0]+z[0],D[1]+z[1])&&(I=2);var ot=new c(I);for(w=O.length,E=0;E<I;E+=1){for(yt=tt(w),U=E/(I-1),J=0,A=0;A<w;A+=1)$=Bt(1-U,3)*R[A]+3*Bt(1-U,2)*U*(R[A]+O[A])+3*(1-U)*Bt(U,2)*(D[A]+z[A])+Bt(U,3)*D[A],yt[A]=$,pt!==null&&(J+=Bt(yt[A]-pt[A],2));J=Zt(J),Y+=J,ot.points[E]=new v(J,yt),pt=yt}ot.segmentLength=Y,T[N]=ot}return T[N]}}();function g(T,R){var D=R.percents,O=R.lengths,z=D.length,N=le((z-1)*T),I=T*R.addedLength,E=0;if(N===z-1||N===0||I===O[N])return D[N];for(var A=O[N]>I?-1:1,w=!0;w;)if(O[N]<=I&&O[N+1]>I?(E=(I-O[N])/(O[N+1]-O[N]),w=!1):N+=A,N<0||N>=z-1){if(N===z-1)return D[N];w=!1}return D[N]+(D[N+1]-D[N])*E}function k(T,R,D,O,z,N){var I=g(z,N),E=1-I,A=e.round((E*E*E*T[0]+(I*E*E+E*I*E+E*E*I)*D[0]+(I*I*E+E*I*I+I*E*I)*O[0]+I*I*I*R[0])*1e3)/1e3,w=e.round((E*E*E*T[1]+(I*E*E+E*I*E+E*E*I)*D[1]+(I*I*E+E*I*I+I*E*I)*O[1]+I*I*I*R[1])*1e3)/1e3;return[A,w]}var M=X("float32",8);function H(T,R,D,O,z,N,I){z<0?z=0:z>1&&(z=1);var E=g(z,I);N=N>1?1:N;var A=g(N,I),w,$=T.length,U=1-E,Y=1-A,J=U*U*U,yt=E*U*U*3,pt=E*E*U*3,ot=E*E*E,xt=U*U*Y,ct=E*U*Y+U*E*Y+U*U*A,Z=E*E*Y+U*E*A+E*U*A,S=E*E*A,P=U*Y*Y,f=E*Y*Y+U*A*Y+U*Y*A,y=E*A*Y+U*A*A+E*Y*A,G=E*A*A,F=Y*Y*Y,nt=A*Y*Y+Y*A*Y+Y*Y*A,ft=A*A*Y+Y*A*A+A*Y*A,Et=A*A*A;for(w=0;w<$;w+=1)M[w*4]=e.round((J*T[w]+yt*D[w]+pt*O[w]+ot*R[w])*1e3)/1e3,M[w*4+1]=e.round((xt*T[w]+ct*D[w]+Z*O[w]+S*R[w])*1e3)/1e3,M[w*4+2]=e.round((P*T[w]+f*D[w]+y*O[w]+G*R[w])*1e3)/1e3,M[w*4+3]=e.round((F*T[w]+nt*D[w]+ft*O[w]+Et*R[w])*1e3)/1e3;return M}return{getSegmentsLength:h,getNewSegment:H,getPointInSegment:k,buildBezierData:x,pointOnLine2D:r,pointOnLine3D:s}}var Cr=ib(),qi=i,hp=Math.abs;function pp(e,r){var s=this.offsetTime,l;this.propType==="multidimensional"&&(l=X("float32",this.pv.length));for(var h=r.lastIndex,c=h,v=this.keyframes.length-1,x=!0,g,k,M;x;){if(g=this.keyframes[c],k=this.keyframes[c+1],c===v-1&&e>=k.t-s){g.h&&(g=k),h=0;break}if(k.t-s>e){h=c;break}c<v-1?c+=1:(h=0,x=!1)}M=this.keyframesMetadata[c]||{};var H,T,R,D,O,z,N=k.t-s,I=g.t-s,E;if(g.to){M.bezierData||(M.bezierData=Cr.buildBezierData(g.s,k.s||g.e,g.to,g.ti));var A=M.bezierData;if(e>=N||e<I){var w=e>=N?A.points.length-1:0;for(T=A.points[w].point.length,H=0;H<T;H+=1)l[H]=A.points[w].point[H]}else{M.__fnct?z=M.__fnct:(z=js.getBezierEasing(g.o.x,g.o.y,g.i.x,g.i.y,g.n).get,M.__fnct=z),R=z((e-I)/(N-I));var $=A.segmentLength*R,U,Y=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastAddedLength:0;for(O=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastPoint:0,x=!0,D=A.points.length;x;){if(Y+=A.points[O].partialLength,$===0||R===0||O===A.points.length-1){for(T=A.points[O].point.length,H=0;H<T;H+=1)l[H]=A.points[O].point[H];break}else if($>=Y&&$<Y+A.points[O+1].partialLength){for(U=($-Y)/A.points[O+1].partialLength,T=A.points[O].point.length,H=0;H<T;H+=1)l[H]=A.points[O].point[H]+(A.points[O+1].point[H]-A.points[O].point[H])*U;break}O<D-1?O+=1:x=!1}r._lastPoint=O,r._lastAddedLength=Y-A.points[O].partialLength,r._lastKeyframeIndex=c}}else{var J,yt,pt,ot,xt;if(v=g.s.length,E=k.s||g.e,this.sh&&g.h!==1)if(e>=N)l[0]=E[0],l[1]=E[1],l[2]=E[2];else if(e<=I)l[0]=g.s[0],l[1]=g.s[1],l[2]=g.s[2];else{var ct=mp(g.s),Z=mp(E),S=(e-I)/(N-I);sb(l,ob(ct,Z,S))}else for(c=0;c<v;c+=1)g.h!==1&&(e>=N?R=1:e<I?R=0:(g.o.x.constructor===Array?(M.__fnct||(M.__fnct=[]),M.__fnct[c]?z=M.__fnct[c]:(J=g.o.x[c]===void 0?g.o.x[0]:g.o.x[c],yt=g.o.y[c]===void 0?g.o.y[0]:g.o.y[c],pt=g.i.x[c]===void 0?g.i.x[0]:g.i.x[c],ot=g.i.y[c]===void 0?g.i.y[0]:g.i.y[c],z=js.getBezierEasing(J,yt,pt,ot).get,M.__fnct[c]=z)):M.__fnct?z=M.__fnct:(J=g.o.x,yt=g.o.y,pt=g.i.x,ot=g.i.y,z=js.getBezierEasing(J,yt,pt,ot).get,g.keyframeMetadata=z),R=z((e-I)/(N-I)))),E=k.s||g.e,xt=g.h===1?g.s[c]:g.s[c]+(E[c]-g.s[c])*R,this.propType==="multidimensional"?l[c]=xt:l=xt}return r.lastIndex=h,l}function ob(e,r,s){var l=[],h=e[0],c=e[1],v=e[2],x=e[3],g=r[0],k=r[1],M=r[2],H=r[3],T,R,D,O,z;return R=h*g+c*k+v*M+x*H,R<0&&(R=-R,g=-g,k=-k,M=-M,H=-H),1-R>1e-6?(T=Math.acos(R),D=Math.sin(T),O=Math.sin((1-s)*T)/D,z=Math.sin(s*T)/D):(O=1-s,z=s),l[0]=O*h+z*g,l[1]=O*c+z*k,l[2]=O*v+z*M,l[3]=O*x+z*H,l}function sb(e,r){var s=r[0],l=r[1],h=r[2],c=r[3],v=Math.atan2(2*l*c-2*s*h,1-2*l*l-2*h*h),x=Math.asin(2*s*l+2*h*c),g=Math.atan2(2*s*c-2*l*h,1-2*s*s-2*h*h);e[0]=v/Ct,e[1]=x/Ct,e[2]=g/Ct}function mp(e){var r=e[0]*Ct,s=e[1]*Ct,l=e[2]*Ct,h=Math.cos(r/2),c=Math.cos(s/2),v=Math.cos(l/2),x=Math.sin(r/2),g=Math.sin(s/2),k=Math.sin(l/2),M=h*c*v-x*g*k,H=x*g*v+h*c*k,T=x*c*v+h*g*k,R=h*g*v-x*c*k;return[H,T,R,M]}function up(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,s=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==qi&&(this._caching.lastFrame>=s&&e>=s||this._caching.lastFrame<r&&e<r))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var l=this.interpolateValue(e,this._caching);this.pv=l}return this._caching.lastFrame=e,this.pv}function bn(e){var r;if(this.propType==="unidimensional")r=e*this.mult,hp(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var s=0,l=this.v.length;s<l;)r=e[s]*this.mult,hp(this.v[s]-r)>1e-5&&(this.v[s]=r,this._mdf=!0),s+=1}function yn(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,r=this.effectsSequence.length,s=this.kf?this.pv:this.data.k;for(e=0;e<r;e+=1)s=this.effectsSequence[e](s);this.setVValue(s),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function En(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ab(e,r,s,l){this.propType="unidimensional",this.mult=s||1,this.data=r,this.v=s?r.k*s:r.k,this.pv=r.k,this._mdf=!1,this.elem=e,this.container=l,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=yn,this.setVValue=bn,this.addEffect=En}function nb(e,r,s,l){this.propType="multidimensional",this.mult=s||1,this.data=r,this._mdf=!1,this.elem=e,this.container=l,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var h,c=r.k.length;for(this.v=X("float32",c),this.pv=X("float32",c),this.vel=X("float32",c),h=0;h<c;h+=1)this.v[h]=r.k[h]*this.mult,this.pv[h]=r.k[h];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=yn,this.setVValue=bn,this.addEffect=En}function lb(e,r,s,l){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:qi,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=s||1,this.elem=e,this.container=l,this.comp=e.comp,this.v=qi,this.pv=qi,this._isFirstFrame=!0,this.getValue=yn,this.setVValue=bn,this.interpolateValue=pp,this.effectsSequence=[up.bind(this)],this.addEffect=En}function db(e,r,s,l){this.propType="multidimensional";var h,c=r.k.length,v,x,g,k;for(h=0;h<c-1;h+=1)r.k[h].to&&r.k[h].s&&r.k[h+1]&&r.k[h+1].s&&(v=r.k[h].s,x=r.k[h+1].s,g=r.k[h].to,k=r.k[h].ti,(v.length===2&&!(v[0]===x[0]&&v[1]===x[1])&&Cr.pointOnLine2D(v[0],v[1],x[0],x[1],v[0]+g[0],v[1]+g[1])&&Cr.pointOnLine2D(v[0],v[1],x[0],x[1],x[0]+k[0],x[1]+k[1])||v.length===3&&!(v[0]===x[0]&&v[1]===x[1]&&v[2]===x[2])&&Cr.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],v[0]+g[0],v[1]+g[1],v[2]+g[2])&&Cr.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],x[0]+k[0],x[1]+k[1],x[2]+k[2]))&&(r.k[h].to=null,r.k[h].ti=null),v[0]===x[0]&&v[1]===x[1]&&g[0]===0&&g[1]===0&&k[0]===0&&k[1]===0&&(v.length===2||v[2]===x[2]&&g[2]===0&&k[2]===0)&&(r.k[h].to=null,r.k[h].ti=null));this.effectsSequence=[up.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=s||1,this.elem=e,this.container=l,this.comp=e.comp,this.getValue=yn,this.setVValue=bn,this.interpolateValue=pp,this.frameId=-1;var M=r.k[0].s.length;for(this.v=X("float32",M),this.pv=X("float32",M),h=0;h<M;h+=1)this.v[h]=qi,this.pv[h]=qi;this._caching={lastFrame:qi,lastIndex:0,value:X("float32",M)},this.addEffect=En}var at=function(){function e(s,l,h,c,v){l.sid&&(l=s.globalData.slotManager.getProp(l));var x;if(!l.k.length)x=new ab(s,l,c,v);else if(typeof l.k[0]=="number")x=new nb(s,l,c,v);else switch(h){case 0:x=new lb(s,l,c,v);break;case 1:x=new db(s,l,c,v);break;default:break}return x.effectsSequence.length&&v.addDynamicProperty(x),x}var r={getProp:e};return r}();function de(){}de.prototype={addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&(this.dynamicProperties.push(r),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var r,s=this.dynamicProperties.length;for(r=0;r<s;r+=1)this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(r){this.container=r,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Xi=function(){function e(){return X("float32",2)}return gn(8,e)}();function Gr(){this.c=!1,this._length=0,this._maxLength=8,this.v=tt(this._maxLength),this.o=tt(this._maxLength),this.i=tt(this._maxLength)}Gr.prototype.setPathData=function(e,r){this.c=e,this.setLength(r);for(var s=0;s<r;)this.v[s]=Xi.newElement(),this.o[s]=Xi.newElement(),this.i[s]=Xi.newElement(),s+=1},Gr.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},Gr.prototype.doubleArrayLength=function(){this.v=this.v.concat(tt(this._maxLength)),this.i=this.i.concat(tt(this._maxLength)),this.o=this.o.concat(tt(this._maxLength)),this._maxLength*=2},Gr.prototype.setXYAt=function(e,r,s,l,h){var c;switch(this._length=Math.max(this._length,l+1),this._length>=this._maxLength&&this.doubleArrayLength(),s){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[l]||c[l]&&!h)&&(c[l]=Xi.newElement()),c[l][0]=e,c[l][1]=r},Gr.prototype.setTripleAt=function(e,r,s,l,h,c,v,x){this.setXYAt(e,r,"v",v,x),this.setXYAt(s,l,"o",v,x),this.setXYAt(h,c,"i",v,x)},Gr.prototype.reverse=function(){var e=new Gr;e.setPathData(this.c,this._length);var r=this.v,s=this.o,l=this.i,h=0;this.c&&(e.setTripleAt(r[0][0],r[0][1],l[0][0],l[0][1],s[0][0],s[0][1],0,!1),h=1);var c=this._length-1,v=this._length,x;for(x=h;x<v;x+=1)e.setTripleAt(r[c][0],r[c][1],l[c][0],l[c][1],s[c][0],s[c][1],x,!1),c-=1;return e},Gr.prototype.length=function(){return this._length};var me=function(){function e(){return new Gr}function r(h){var c=h._length,v;for(v=0;v<c;v+=1)Xi.release(h.v[v]),Xi.release(h.i[v]),Xi.release(h.o[v]),h.v[v]=null,h.i[v]=null,h.o[v]=null;h._length=0,h.c=!1}function s(h){var c=l.newElement(),v,x=h._length===void 0?h.v.length:h._length;for(c.setLength(x),c.c=h.c,v=0;v<x;v+=1)c.setTripleAt(h.v[v][0],h.v[v][1],h.o[v][0],h.o[v][1],h.i[v][0],h.i[v][1],v);return c}var l=gn(4,e,r);return l.clone=s,l}();function Sd(){this._length=0,this._maxLength=4,this.shapes=tt(this._maxLength)}Sd.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(tt(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},Sd.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)me.release(this.shapes[e]);this._length=0};var zo=function(){var e={newShapeCollection:h,release:c},r=0,s=4,l=tt(s);function h(){var v;return r?(r-=1,v=l[r]):v=new Sd,v}function c(v){var x,g=v._length;for(x=0;x<g;x+=1)me.release(v.shapes[x]);v._length=0,r===s&&(l=lp.double(l),s*=2),l[r]=v,r+=1}return e}(),Tn=function(){var e=-999999;function r(N,I,E){var A=E.lastIndex,w,$,U,Y,J,yt,pt,ot,xt,ct=this.keyframes;if(N<ct[0].t-this.offsetTime)w=ct[0].s[0],U=!0,A=0;else if(N>=ct[ct.length-1].t-this.offsetTime)w=ct[ct.length-1].s?ct[ct.length-1].s[0]:ct[ct.length-2].e[0],U=!0;else{for(var Z=A,S=ct.length-1,P=!0,f,y,G;P&&(f=ct[Z],y=ct[Z+1],!(y.t-this.offsetTime>N));)Z<S-1?Z+=1:P=!1;if(G=this.keyframesMetadata[Z]||{},U=f.h===1,A=Z,!U){if(N>=y.t-this.offsetTime)ot=1;else if(N<f.t-this.offsetTime)ot=0;else{var F;G.__fnct?F=G.__fnct:(F=js.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,G.__fnct=F),ot=F((N-(f.t-this.offsetTime))/(y.t-this.offsetTime-(f.t-this.offsetTime)))}$=y.s?y.s[0]:f.e[0]}w=f.s[0]}for(yt=I._length,pt=w.i[0].length,E.lastIndex=A,Y=0;Y<yt;Y+=1)for(J=0;J<pt;J+=1)xt=U?w.i[Y][J]:w.i[Y][J]+($.i[Y][J]-w.i[Y][J])*ot,I.i[Y][J]=xt,xt=U?w.o[Y][J]:w.o[Y][J]+($.o[Y][J]-w.o[Y][J])*ot,I.o[Y][J]=xt,xt=U?w.v[Y][J]:w.v[Y][J]+($.v[Y][J]-w.v[Y][J])*ot,I.v[Y][J]=xt}function s(){var N=this.comp.renderedFrame-this.offsetTime,I=this.keyframes[0].t-this.offsetTime,E=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==e&&(A<I&&N<I||A>E&&N>E)||(this._caching.lastIndex=A<N?this._caching.lastIndex:0,this.interpolateShape(N,this.pv,this._caching)),this._caching.lastFrame=N,this.pv}function l(){this.paths=this.localShapeCollection}function h(N,I){if(N._length!==I._length||N.c!==I.c)return!1;var E,A=N._length;for(E=0;E<A;E+=1)if(N.v[E][0]!==I.v[E][0]||N.v[E][1]!==I.v[E][1]||N.o[E][0]!==I.o[E][0]||N.o[E][1]!==I.o[E][1]||N.i[E][0]!==I.i[E][0]||N.i[E][1]!==I.i[E][1])return!1;return!0}function c(N){h(this.v,N)||(this.v=me.clone(N),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function v(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var N;this.kf?N=this.pv:this.data.ks?N=this.data.ks.k:N=this.data.pt.k;var I,E=this.effectsSequence.length;for(I=0;I<E;I+=1)N=this.effectsSequence[I](N);this.setVValue(N),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function x(N,I,E){this.propType="shape",this.comp=N.comp,this.container=N,this.elem=N,this.data=I,this.k=!1,this.kf=!1,this._mdf=!1;var A=E===3?I.pt.k:I.ks.k;this.v=me.clone(A),this.pv=me.clone(this.v),this.localShapeCollection=zo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=l,this.effectsSequence=[]}function g(N){this.effectsSequence.push(N),this.container.addDynamicProperty(this)}x.prototype.interpolateShape=r,x.prototype.getValue=v,x.prototype.setVValue=c,x.prototype.addEffect=g;function k(N,I,E){this.propType="shape",this.comp=N.comp,this.elem=N,this.container=N,this.offsetTime=N.data.st,this.keyframes=E===3?I.pt.k:I.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=me.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=me.clone(this.v),this.localShapeCollection=zo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=l,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[s.bind(this)]}k.prototype.getValue=v,k.prototype.interpolateShape=r,k.prototype.setVValue=c,k.prototype.addEffect=g;var M=function(){var N=pe;function I(E,A){this.v=me.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=zo.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=E,this.comp=E.comp,this.frameId=-1,this.initDynamicPropertyContainer(E),this.p=at.getProp(E,A.p,1,0,this),this.s=at.getProp(E,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return I.prototype={reset:l,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var A=this.p.v[0],w=this.p.v[1],$=this.s.v[0]/2,U=this.s.v[1]/2,Y=this.d!==3,J=this.v;J.v[0][0]=A,J.v[0][1]=w-U,J.v[1][0]=Y?A+$:A-$,J.v[1][1]=w,J.v[2][0]=A,J.v[2][1]=w+U,J.v[3][0]=Y?A-$:A+$,J.v[3][1]=w,J.i[0][0]=Y?A-$*N:A+$*N,J.i[0][1]=w-U,J.i[1][0]=Y?A+$:A-$,J.i[1][1]=w-U*N,J.i[2][0]=Y?A+$*N:A-$*N,J.i[2][1]=w+U,J.i[3][0]=Y?A-$:A+$,J.i[3][1]=w+U*N,J.o[0][0]=Y?A+$*N:A-$*N,J.o[0][1]=w-U,J.o[1][0]=Y?A+$:A-$,J.o[1][1]=w+U*N,J.o[2][0]=Y?A-$*N:A+$*N,J.o[2][1]=w+U,J.o[3][0]=Y?A-$:A+$,J.o[3][1]=w-U*N}},L([de],I),I}(),H=function(){function N(I,E){this.v=me.newElement(),this.v.setPathData(!0,0),this.elem=I,this.comp=I.comp,this.data=E,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(I),E.sy===1?(this.ir=at.getProp(I,E.ir,0,0,this),this.is=at.getProp(I,E.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=at.getProp(I,E.pt,0,0,this),this.p=at.getProp(I,E.p,1,0,this),this.r=at.getProp(I,E.r,0,Ct,this),this.or=at.getProp(I,E.or,0,0,this),this.os=at.getProp(I,E.os,0,.01,this),this.localShapeCollection=zo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return N.prototype={reset:l,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var E=Math.floor(this.pt.v)*2,A=Math.PI*2/E,w=!0,$=this.or.v,U=this.ir.v,Y=this.os.v,J=this.is.v,yt=2*Math.PI*$/(E*2),pt=2*Math.PI*U/(E*2),ot,xt,ct,Z,S=-Math.PI/2;S+=this.r.v;var P=this.data.d===3?-1:1;for(this.v._length=0,ot=0;ot<E;ot+=1){xt=w?$:U,ct=w?Y:J,Z=w?yt:pt;var f=xt*Math.cos(S),y=xt*Math.sin(S),G=f===0&&y===0?0:y/Math.sqrt(f*f+y*y),F=f===0&&y===0?0:-f/Math.sqrt(f*f+y*y);f+=+this.p.v[0],y+=+this.p.v[1],this.v.setTripleAt(f,y,f-G*Z*ct*P,y-F*Z*ct*P,f+G*Z*ct*P,y+F*Z*ct*P,ot,!0),w=!w,S+=A*P}},convertPolygonToPath:function(){var E=Math.floor(this.pt.v),A=Math.PI*2/E,w=this.or.v,$=this.os.v,U=2*Math.PI*w/(E*4),Y,J=-Math.PI*.5,yt=this.data.d===3?-1:1;for(J+=this.r.v,this.v._length=0,Y=0;Y<E;Y+=1){var pt=w*Math.cos(J),ot=w*Math.sin(J),xt=pt===0&&ot===0?0:ot/Math.sqrt(pt*pt+ot*ot),ct=pt===0&&ot===0?0:-pt/Math.sqrt(pt*pt+ot*ot);pt+=+this.p.v[0],ot+=+this.p.v[1],this.v.setTripleAt(pt,ot,pt-xt*U*$*yt,ot-ct*U*$*yt,pt+xt*U*$*yt,ot+ct*U*$*yt,Y,!0),J+=A*yt}this.paths.length=0,this.paths[0]=this.v}},L([de],N),N}(),T=function(){function N(I,E){this.v=me.newElement(),this.v.c=!0,this.localShapeCollection=zo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=I,this.comp=I.comp,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(I),this.p=at.getProp(I,E.p,1,0,this),this.s=at.getProp(I,E.s,1,0,this),this.r=at.getProp(I,E.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return N.prototype={convertRectToPath:function(){var E=this.p.v[0],A=this.p.v[1],w=this.s.v[0]/2,$=this.s.v[1]/2,U=we(w,$,this.r.v),Y=U*(1-pe);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(E+w,A-$+U,E+w,A-$+U,E+w,A-$+Y,0,!0),this.v.setTripleAt(E+w,A+$-U,E+w,A+$-Y,E+w,A+$-U,1,!0),U!==0?(this.v.setTripleAt(E+w-U,A+$,E+w-U,A+$,E+w-Y,A+$,2,!0),this.v.setTripleAt(E-w+U,A+$,E-w+Y,A+$,E-w+U,A+$,3,!0),this.v.setTripleAt(E-w,A+$-U,E-w,A+$-U,E-w,A+$-Y,4,!0),this.v.setTripleAt(E-w,A-$+U,E-w,A-$+Y,E-w,A-$+U,5,!0),this.v.setTripleAt(E-w+U,A-$,E-w+U,A-$,E-w+Y,A-$,6,!0),this.v.setTripleAt(E+w-U,A-$,E+w-Y,A-$,E+w-U,A-$,7,!0)):(this.v.setTripleAt(E-w,A+$,E-w+Y,A+$,E-w,A+$,2),this.v.setTripleAt(E-w,A-$,E-w,A-$+Y,E-w,A-$,3))):(this.v.setTripleAt(E+w,A-$+U,E+w,A-$+Y,E+w,A-$+U,0,!0),U!==0?(this.v.setTripleAt(E+w-U,A-$,E+w-U,A-$,E+w-Y,A-$,1,!0),this.v.setTripleAt(E-w+U,A-$,E-w+Y,A-$,E-w+U,A-$,2,!0),this.v.setTripleAt(E-w,A-$+U,E-w,A-$+U,E-w,A-$+Y,3,!0),this.v.setTripleAt(E-w,A+$-U,E-w,A+$-Y,E-w,A+$-U,4,!0),this.v.setTripleAt(E-w+U,A+$,E-w+U,A+$,E-w+Y,A+$,5,!0),this.v.setTripleAt(E+w-U,A+$,E+w-Y,A+$,E+w-U,A+$,6,!0),this.v.setTripleAt(E+w,A+$-U,E+w,A+$-U,E+w,A+$-Y,7,!0)):(this.v.setTripleAt(E-w,A-$,E-w+Y,A-$,E-w,A-$,1,!0),this.v.setTripleAt(E-w,A+$,E-w,A+$-Y,E-w,A+$,2,!0),this.v.setTripleAt(E+w,A+$,E+w-Y,A+$,E+w,A+$,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:l},L([de],N),N}();function R(N,I,E){var A;if(E===3||E===4){var w=E===3?I.pt:I.ks,$=w.k;$.length?A=new k(N,I,E):A=new x(N,I,E)}else E===5?A=new T(N,I):E===6?A=new M(N,I):E===7&&(A=new H(N,I));return A.k&&N.addDynamicProperty(A),A}function D(){return x}function O(){return k}var z={};return z.getShapeProp=R,z.getConstructorFunction=D,z.getKeyframedConstructorFunction=O,z}();var ue=function(){var e=Math.cos,r=Math.sin,s=Math.tan,l=Math.round;function h(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function c(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(y,-G,0,0,G,y,0,0,0,0,1,0,0,0,0,1)}function v(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(1,0,0,0,0,y,-G,0,0,G,y,0,0,0,0,1)}function x(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(y,0,G,0,0,1,0,0,-G,0,y,0,0,0,0,1)}function g(f){if(f===0)return this;var y=e(f),G=r(f);return this._t(y,-G,0,0,G,y,0,0,0,0,1,0,0,0,0,1)}function k(f,y){return this._t(1,y,f,1,0,0)}function M(f,y){return this.shear(s(f),s(y))}function H(f,y){var G=e(y),F=r(y);return this._t(G,F,0,0,-F,G,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,s(f),1,0,0,0,0,1,0,0,0,0,1)._t(G,-F,0,0,F,G,0,0,0,0,1,0,0,0,0,1)}function T(f,y,G){return!G&&G!==0&&(G=1),f===1&&y===1&&G===1?this:this._t(f,0,0,0,0,y,0,0,0,0,G,0,0,0,0,1)}function R(f,y,G,F,nt,ft,Et,Nt,Lt,Jt,Me,wr,Re,ce,Ve,Pt){return this.props[0]=f,this.props[1]=y,this.props[2]=G,this.props[3]=F,this.props[4]=nt,this.props[5]=ft,this.props[6]=Et,this.props[7]=Nt,this.props[8]=Lt,this.props[9]=Jt,this.props[10]=Me,this.props[11]=wr,this.props[12]=Re,this.props[13]=ce,this.props[14]=Ve,this.props[15]=Pt,this}function D(f,y,G){return G=G||0,f!==0||y!==0||G!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,f,y,G,1):this}function O(f,y,G,F,nt,ft,Et,Nt,Lt,Jt,Me,wr,Re,ce,Ve,Pt){var ht=this.props;if(f===1&&y===0&&G===0&&F===0&&nt===0&&ft===1&&Et===0&&Nt===0&&Lt===0&&Jt===0&&Me===1&&wr===0)return ht[12]=ht[12]*f+ht[15]*Re,ht[13]=ht[13]*ft+ht[15]*ce,ht[14]=ht[14]*Me+ht[15]*Ve,ht[15]*=Pt,this._identityCalculated=!1,this;var jr=ht[0],Si=ht[1],Kr=ht[2],Nr=ht[3],qr=ht[4],Xr=ht[5],Oe=ht[6],_i=ht[7],Ii=ht[8],br=ht[9],Ci=ht[10],yr=ht[11],to=ht[12],Nn=ht[13],Ln=ht[14],Mn=ht[15];return ht[0]=jr*f+Si*nt+Kr*Lt+Nr*Re,ht[1]=jr*y+Si*ft+Kr*Jt+Nr*ce,ht[2]=jr*G+Si*Et+Kr*Me+Nr*Ve,ht[3]=jr*F+Si*Nt+Kr*wr+Nr*Pt,ht[4]=qr*f+Xr*nt+Oe*Lt+_i*Re,ht[5]=qr*y+Xr*ft+Oe*Jt+_i*ce,ht[6]=qr*G+Xr*Et+Oe*Me+_i*Ve,ht[7]=qr*F+Xr*Nt+Oe*wr+_i*Pt,ht[8]=Ii*f+br*nt+Ci*Lt+yr*Re,ht[9]=Ii*y+br*ft+Ci*Jt+yr*ce,ht[10]=Ii*G+br*Et+Ci*Me+yr*Ve,ht[11]=Ii*F+br*Nt+Ci*wr+yr*Pt,ht[12]=to*f+Nn*nt+Ln*Lt+Mn*Re,ht[13]=to*y+Nn*ft+Ln*Jt+Mn*ce,ht[14]=to*G+Nn*Et+Ln*Me+Mn*Ve,ht[15]=to*F+Nn*Nt+Ln*wr+Mn*Pt,this._identityCalculated=!1,this}function z(f){var y=f.props;return this.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15])}function N(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function I(f){for(var y=0;y<16;){if(f.props[y]!==this.props[y])return!1;y+=1}return!0}function E(f){var y;for(y=0;y<16;y+=1)f.props[y]=this.props[y];return f}function A(f){var y;for(y=0;y<16;y+=1)this.props[y]=f[y]}function w(f,y,G){return{x:f*this.props[0]+y*this.props[4]+G*this.props[8]+this.props[12],y:f*this.props[1]+y*this.props[5]+G*this.props[9]+this.props[13],z:f*this.props[2]+y*this.props[6]+G*this.props[10]+this.props[14]}}function $(f,y,G){return f*this.props[0]+y*this.props[4]+G*this.props[8]+this.props[12]}function U(f,y,G){return f*this.props[1]+y*this.props[5]+G*this.props[9]+this.props[13]}function Y(f,y,G){return f*this.props[2]+y*this.props[6]+G*this.props[10]+this.props[14]}function J(){var f=this.props[0]*this.props[5]-this.props[1]*this.props[4],y=this.props[5]/f,G=-this.props[1]/f,F=-this.props[4]/f,nt=this.props[0]/f,ft=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/f,Et=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/f,Nt=new ue;return Nt.props[0]=y,Nt.props[1]=G,Nt.props[4]=F,Nt.props[5]=nt,Nt.props[12]=ft,Nt.props[13]=Et,Nt}function yt(f){var y=this.getInverseMatrix();return y.applyToPointArray(f[0],f[1],f[2]||0)}function pt(f){var y,G=f.length,F=[];for(y=0;y<G;y+=1)F[y]=yt(f[y]);return F}function ot(f,y,G){var F=X("float32",6);if(this.isIdentity())F[0]=f[0],F[1]=f[1],F[2]=y[0],F[3]=y[1],F[4]=G[0],F[5]=G[1];else{var nt=this.props[0],ft=this.props[1],Et=this.props[4],Nt=this.props[5],Lt=this.props[12],Jt=this.props[13];F[0]=f[0]*nt+f[1]*Et+Lt,F[1]=f[0]*ft+f[1]*Nt+Jt,F[2]=y[0]*nt+y[1]*Et+Lt,F[3]=y[0]*ft+y[1]*Nt+Jt,F[4]=G[0]*nt+G[1]*Et+Lt,F[5]=G[0]*ft+G[1]*Nt+Jt}return F}function xt(f,y,G){var F;return this.isIdentity()?F=[f,y,G]:F=[f*this.props[0]+y*this.props[4]+G*this.props[8]+this.props[12],f*this.props[1]+y*this.props[5]+G*this.props[9]+this.props[13],f*this.props[2]+y*this.props[6]+G*this.props[10]+this.props[14]],F}function ct(f,y){if(this.isIdentity())return f+","+y;var G=this.props;return Math.round((f*G[0]+y*G[4]+G[12])*100)/100+","+Math.round((f*G[1]+y*G[5]+G[13])*100)/100}function Z(){for(var f=0,y=this.props,G="matrix3d(",F=1e4;f<16;)G+=l(y[f]*F)/F,G+=f===15?")":",",f+=1;return G}function S(f){var y=1e4;return f<1e-6&&f>0||f>-1e-6&&f<0?l(f*y)/y:f}function P(){var f=this.props,y=S(f[0]),G=S(f[1]),F=S(f[4]),nt=S(f[5]),ft=S(f[12]),Et=S(f[13]);return"matrix("+y+","+G+","+F+","+nt+","+ft+","+Et+")"}return function(){this.reset=h,this.rotate=c,this.rotateX=v,this.rotateY=x,this.rotateZ=g,this.skew=M,this.skewFromAxis=H,this.shear=k,this.scale=T,this.setTransform=R,this.translate=D,this.transform=O,this.multiply=z,this.applyToPoint=w,this.applyToX=$,this.applyToY=U,this.applyToZ=Y,this.applyToPointArray=xt,this.applyToTriplePoints=ot,this.applyToPointStringified=ct,this.toCSS=Z,this.to2dCSS=P,this.clone=E,this.cloneFromProps=A,this.equals=I,this.inversePoints=pt,this.inversePoint=yt,this.getInverseMatrix=J,this._t=this.transform,this.isIdentity=N,this._identity=!0,this._identityCalculated=!1,this.props=X("float32",16),this.reset()}}();function xn(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xn=function(s){return typeof s}:xn=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},xn(e)}var Rt={},An="__[STANDALONE]__",fp="__[ANIMATIONDATA]__",vp="";function cb(e){m(e)}function gp(){An===!0?Qt.searchAnimations(fp,An,vp):Qt.searchAnimations()}function hb(e){jg(e)}function pb(e){Xg(e)}function mb(e){return An===!0&&(e.animationData=JSON.parse(fp)),Qt.loadAnimation(e)}function ub(e){if(typeof e=="string")switch(e){case"high":fn(200);break;default:case"medium":fn(50);break;case"low":fn(10);break}else!isNaN(e)&&e>1&&fn(e);Hs()>=50?Ke(!1):Ke(!0)}function fb(){return typeof navigator<"u"}function vb(e,r){e==="expressions"&&qg(r)}function gb(e){switch(e){case"propertyFactory":return at;case"shapePropertyFactory":return Tn;case"matrix":return ue;default:return null}}Rt.play=Qt.play,Rt.pause=Qt.pause,Rt.setLocationHref=cb,Rt.togglePause=Qt.togglePause,Rt.setSpeed=Qt.setSpeed,Rt.setDirection=Qt.setDirection,Rt.stop=Qt.stop,Rt.searchAnimations=gp,Rt.registerAnimation=Qt.registerAnimation,Rt.loadAnimation=mb,Rt.setSubframeRendering=hb,Rt.resize=Qt.resize,Rt.goToAndStop=Qt.goToAndStop,Rt.destroy=Qt.destroy,Rt.setQuality=ub,Rt.inBrowser=fb,Rt.installPlugin=vb,Rt.freeze=Qt.freeze,Rt.unfreeze=Qt.unfreeze,Rt.setVolume=Qt.setVolume,Rt.mute=Qt.mute,Rt.unmute=Qt.unmute,Rt.getRegisteredAnimations=Qt.getRegisteredAnimations,Rt.useWebWorker=a,Rt.setIDPrefix=pb,Rt.__getFactory=gb,Rt.version="5.12.2";function bb(){document.readyState==="complete"&&(clearInterval(Tb),gp())}function yb(e){for(var r=bp.split("&"),s=0;s<r.length;s+=1){var l=r[s].split("=");if(decodeURIComponent(l[0])==e)return decodeURIComponent(l[1])}return null}var bp="";if(An){var yp=document.getElementsByTagName("script"),Eb=yp.length-1,Ep=yp[Eb]||{src:""};bp=Ep.src?Ep.src.replace(/^[^\?]+\??/,""):"",vp=yb("renderer")}var Tb=setInterval(bb,100);try{!((typeof Aa>"u"?"undefined":xn(Aa))==="object"&&typeof nl<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Rt)}catch{}var bi=function(){var e={},r={};e.registerModifier=s,e.getModifier=l;function s(h,c){r[h]||(r[h]=c)}function l(h,c,v){return new r[h](c,v)}return e}();function Qe(){}Qe.prototype.initModifierProperties=function(){},Qe.prototype.addShapeToModifier=function(){},Qe.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var r={shape:e.sh,data:e,localShapeCollection:zo.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&e.setAsAnimated()}},Qe.prototype.init=function(e,r){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r),this.frameId=i,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Qe.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},L([de],Qe);function gr(){}L([Qe],gr),gr.prototype.initModifierProperties=function(e,r){this.s=at.getProp(e,r.s,0,.01,this),this.e=at.getProp(e,r.e,0,.01,this),this.o=at.getProp(e,r.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=r.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},gr.prototype.addShapeToModifier=function(e){e.pathsData=[]},gr.prototype.calculateShapeEdges=function(e,r,s,l,h){var c=[];r<=1?c.push({s:e,e:r}):e>=1?c.push({s:e-1,e:r-1}):(c.push({s:e,e:1}),c.push({s:0,e:r-1}));var v=[],x,g=c.length,k;for(x=0;x<g;x+=1)if(k=c[x],!(k.e*h<l||k.s*h>l+s)){var M,H;k.s*h<=l?M=0:M=(k.s*h-l)/s,k.e*h>=l+s?H=1:H=(k.e*h-l)/s,v.push([M,H])}return v.length||v.push([0,0]),v},gr.prototype.releasePathsData=function(e){var r,s=e.length;for(r=0;r<s;r+=1)cp.release(e[r]);return e.length=0,e},gr.prototype.processShapes=function(e){var r,s;if(this._mdf||e){var l=this.o.v%360/360;if(l<0&&(l+=1),this.s.v>1?r=1+l:this.s.v<0?r=0+l:r=this.s.v+l,this.e.v>1?s=1+l:this.e.v<0?s=0+l:s=this.e.v+l,r>s){var h=r;r=s,s=h}r=Math.round(r*1e4)*1e-4,s=Math.round(s*1e4)*1e-4,this.sValue=r,this.eValue=s}else r=this.sValue,s=this.eValue;var c,v,x=this.shapes.length,g,k,M,H,T,R=0;if(s===r)for(v=0;v<x;v+=1)this.shapes[v].localShapeCollection.releaseShapes(),this.shapes[v].shape._mdf=!0,this.shapes[v].shape.paths=this.shapes[v].localShapeCollection,this._mdf&&(this.shapes[v].pathsData.length=0);else if(s===1&&r===0||s===0&&r===1){if(this._mdf)for(v=0;v<x;v+=1)this.shapes[v].pathsData.length=0,this.shapes[v].shape._mdf=!0}else{var D=[],O,z;for(v=0;v<x;v+=1)if(O=this.shapes[v],!O.shape._mdf&&!this._mdf&&!e&&this.m!==2)O.shape.paths=O.localShapeCollection;else{if(c=O.shape.paths,k=c._length,T=0,!O.shape._mdf&&O.pathsData.length)T=O.totalShapeLength;else{for(M=this.releasePathsData(O.pathsData),g=0;g<k;g+=1)H=Cr.getSegmentsLength(c.shapes[g]),M.push(H),T+=H.totalLength;O.totalShapeLength=T,O.pathsData=M}R+=T,O.shape._mdf=!0}var N=r,I=s,E=0,A;for(v=x-1;v>=0;v-=1)if(O=this.shapes[v],O.shape._mdf){for(z=O.localShapeCollection,z.releaseShapes(),this.m===2&&x>1?(A=this.calculateShapeEdges(r,s,O.totalShapeLength,E,R),E+=O.totalShapeLength):A=[[N,I]],k=A.length,g=0;g<k;g+=1){N=A[g][0],I=A[g][1],D.length=0,I<=1?D.push({s:O.totalShapeLength*N,e:O.totalShapeLength*I}):N>=1?D.push({s:O.totalShapeLength*(N-1),e:O.totalShapeLength*(I-1)}):(D.push({s:O.totalShapeLength*N,e:O.totalShapeLength}),D.push({s:0,e:O.totalShapeLength*(I-1)}));var w=this.addShapes(O,D[0]);if(D[0].s!==D[0].e){if(D.length>1){var $=O.shape.paths.shapes[O.shape.paths._length-1];if($.c){var U=w.pop();this.addPaths(w,z),w=this.addShapes(O,D[1],U)}else this.addPaths(w,z),w=this.addShapes(O,D[1])}this.addPaths(w,z)}}O.shape.paths=z}}},gr.prototype.addPaths=function(e,r){var s,l=e.length;for(s=0;s<l;s+=1)r.addShape(e[s])},gr.prototype.addSegment=function(e,r,s,l,h,c,v){h.setXYAt(r[0],r[1],"o",c),h.setXYAt(s[0],s[1],"i",c+1),v&&h.setXYAt(e[0],e[1],"v",c),h.setXYAt(l[0],l[1],"v",c+1)},gr.prototype.addSegmentFromArray=function(e,r,s,l){r.setXYAt(e[1],e[5],"o",s),r.setXYAt(e[2],e[6],"i",s+1),l&&r.setXYAt(e[0],e[4],"v",s),r.setXYAt(e[3],e[7],"v",s+1)},gr.prototype.addShapes=function(e,r,s){var l=e.pathsData,h=e.shape.paths.shapes,c,v=e.shape.paths._length,x,g,k=0,M,H,T,R,D=[],O,z=!0;for(s?(H=s._length,O=s._length):(s=me.newElement(),H=0,O=0),D.push(s),c=0;c<v;c+=1){for(T=l[c].lengths,s.c=h[c].c,g=h[c].c?T.length:T.length+1,x=1;x<g;x+=1)if(M=T[x-1],k+M.addedLength<r.s)k+=M.addedLength,s.c=!1;else if(k>r.e){s.c=!1;break}else r.s<=k&&r.e>=k+M.addedLength?(this.addSegment(h[c].v[x-1],h[c].o[x-1],h[c].i[x],h[c].v[x],s,H,z),z=!1):(R=Cr.getNewSegment(h[c].v[x-1],h[c].v[x],h[c].o[x-1],h[c].i[x],(r.s-k)/M.addedLength,(r.e-k)/M.addedLength,T[x-1]),this.addSegmentFromArray(R,s,H,z),z=!1,s.c=!1),k+=M.addedLength,H+=1;if(h[c].c&&T.length){if(M=T[x-1],k<=r.e){var N=T[x-1].addedLength;r.s<=k&&r.e>=k+N?(this.addSegment(h[c].v[x-1],h[c].o[x-1],h[c].i[0],h[c].v[0],s,H,z),z=!1):(R=Cr.getNewSegment(h[c].v[x-1],h[c].v[0],h[c].o[x-1],h[c].i[0],(r.s-k)/N,(r.e-k)/N,T[x-1]),this.addSegmentFromArray(R,s,H,z),z=!1,s.c=!1)}else s.c=!1;k+=M.addedLength,H+=1}if(s._length&&(s.setXYAt(s.v[O][0],s.v[O][1],"i",O),s.setXYAt(s.v[s._length-1][0],s.v[s._length-1][1],"o",s._length-1)),k>r.e)break;c<v-1&&(s=me.newElement(),z=!0,D.push(s),H=0)}return D};function Ks(){}L([Qe],Ks),Ks.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=at.getProp(e,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Ks.prototype.processPath=function(e,r){var s=r/100,l=[0,0],h=e._length,c=0;for(c=0;c<h;c+=1)l[0]+=e.v[c][0],l[1]+=e.v[c][1];l[0]/=h,l[1]/=h;var v=me.newElement();v.c=e.c;var x,g,k,M,H,T;for(c=0;c<h;c+=1)x=e.v[c][0]+(l[0]-e.v[c][0])*s,g=e.v[c][1]+(l[1]-e.v[c][1])*s,k=e.o[c][0]+(l[0]-e.o[c][0])*-s,M=e.o[c][1]+(l[1]-e.o[c][1])*-s,H=e.i[c][0]+(l[0]-e.i[c][0])*-s,T=e.i[c][1]+(l[1]-e.i[c][1])*-s,v.setTripleAt(x,g,k,M,H,T,c);return v},Ks.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,c,v=this.amount.v;if(v!==0){var x,g;for(s=0;s<l;s+=1){if(x=this.shapes[s],g=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,h=0;h<c;h+=1)g.addShape(this.processPath(r[h],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var _d=function(){var e=[0,0];function r(g){var k=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||k,this.a&&g.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&g.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&g.skewFromAxis(-this.sk.v,this.sa.v),this.r?g.rotate(-this.r.v):g.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?g.translate(this.px.v,this.py.v,-this.pz.v):g.translate(this.px.v,this.py.v,0):g.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function s(g){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||g){var k;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var M,H;if(k=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(M=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/k,0),H=this.p.getValueAtTime(this.p.keyframes[0].t/k,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(M=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/k,0),H=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/k,0)):(M=this.p.pv,H=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/k,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){M=[],H=[];var T=this.px,R=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(M[0]=T.getValueAtTime((T.keyframes[0].t+.01)/k,0),M[1]=R.getValueAtTime((R.keyframes[0].t+.01)/k,0),H[0]=T.getValueAtTime(T.keyframes[0].t/k,0),H[1]=R.getValueAtTime(R.keyframes[0].t/k,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(M[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/k,0),M[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/k,0),H[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/k,0),H[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/k,0)):(M=[T.pv,R.pv],H[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/k,T.offsetTime),H[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/k,R.offsetTime))}else H=e,M=H;this.v.rotate(-Math.atan2(M[1]-H[1],M[0]-H[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function l(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function h(){}function c(g){this._addDynamicProperty(g),this.elem.addDynamicProperty(g),this._isDirty=!0}function v(g,k,M){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=k,this.v=new ue,this.pre=new ue,this.appliedTransformations=0,this.initDynamicPropertyContainer(M||g),k.p&&k.p.s?(this.px=at.getProp(g,k.p.x,0,0,this),this.py=at.getProp(g,k.p.y,0,0,this),k.p.z&&(this.pz=at.getProp(g,k.p.z,0,0,this))):this.p=at.getProp(g,k.p||{k:[0,0,0]},1,0,this),k.rx){if(this.rx=at.getProp(g,k.rx,0,Ct,this),this.ry=at.getProp(g,k.ry,0,Ct,this),this.rz=at.getProp(g,k.rz,0,Ct,this),k.or.k[0].ti){var H,T=k.or.k.length;for(H=0;H<T;H+=1)k.or.k[H].to=null,k.or.k[H].ti=null}this.or=at.getProp(g,k.or,1,Ct,this),this.or.sh=!0}else this.r=at.getProp(g,k.r||{k:0},0,Ct,this);k.sk&&(this.sk=at.getProp(g,k.sk,0,Ct,this),this.sa=at.getProp(g,k.sa,0,Ct,this)),this.a=at.getProp(g,k.a||{k:[0,0,0]},1,0,this),this.s=at.getProp(g,k.s||{k:[100,100,100]},1,.01,this),k.o?this.o=at.getProp(g,k.o,0,.01,g):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}v.prototype={applyToMatrix:r,getValue:s,precalculateMatrix:l,autoOrient:h},L([de],v),v.prototype.addDynamicProperty=c,v.prototype._addDynamicProperty=de.prototype.addDynamicProperty;function x(g,k,M){return new v(g,k,M)}return{getTransformProperty:x}}();function kr(){}L([Qe],kr),kr.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.c=at.getProp(e,r.c,0,null,this),this.o=at.getProp(e,r.o,0,null,this),this.tr=_d.getTransformProperty(e,r.tr,this),this.so=at.getProp(e,r.tr.so,0,.01,this),this.eo=at.getProp(e,r.tr.eo,0,.01,this),this.data=r,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new ue,this.rMatrix=new ue,this.sMatrix=new ue,this.tMatrix=new ue,this.matrix=new ue},kr.prototype.applyTransforms=function(e,r,s,l,h,c){var v=c?-1:1,x=l.s.v[0]+(1-l.s.v[0])*(1-h),g=l.s.v[1]+(1-l.s.v[1])*(1-h);e.translate(l.p.v[0]*v*h,l.p.v[1]*v*h,l.p.v[2]),r.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),r.rotate(-l.r.v*v*h),r.translate(l.a.v[0],l.a.v[1],l.a.v[2]),s.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),s.scale(c?1/x:x,c?1/g:g),s.translate(l.a.v[0],l.a.v[1],l.a.v[2])},kr.prototype.init=function(e,r,s,l){for(this.elem=e,this.arr=r,this.pos=s,this.elemsData=l,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r[s]);s>0;)s-=1,this._elements.unshift(r[s]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},kr.prototype.resetElements=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r]._processed=!1,e[r].ty==="gr"&&this.resetElements(e[r].it)},kr.prototype.cloneElements=function(e){var r=JSON.parse(JSON.stringify(e));return this.resetElements(r),r},kr.prototype.changeGroupRender=function(e,r){var s,l=e.length;for(s=0;s<l;s+=1)e[s]._render=r,e[s].ty==="gr"&&this.changeGroupRender(e[s].it,r)},kr.prototype.processShapes=function(e){var r,s,l,h,c,v=!1;if(this._mdf||e){var x=Math.ceil(this.c.v);if(this._groups.length<x){for(;this._groups.length<x;){var g={it:this.cloneElements(this._elements),ty:"gr"};g.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,g),this._groups.splice(0,0,g),this._currentCopies+=1}this.elem.reloadShapes(),v=!0}c=0;var k;for(l=0;l<=this._groups.length-1;l+=1){if(k=c<x,this._groups[l]._render=k,this.changeGroupRender(this._groups[l].it,k),!k){var M=this.elemsData[l].it,H=M[M.length-1];H.transform.op.v!==0?(H.transform.op._mdf=!0,H.transform.op.v=0):H.transform.op._mdf=!1}c+=1}this._currentCopies=x;var T=this.o.v,R=T%1,D=T>0?Math.floor(T):Math.ceil(T),O=this.pMatrix.props,z=this.rMatrix.props,N=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var I=0;if(T>0){for(;I<D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),I+=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,R,!1),I+=R)}else if(T<0){for(;I>D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),I-=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-R,!0),I-=R)}l=this.data.m===1?0:this._currentCopies-1,h=this.data.m===1?1:-1,c=this._currentCopies;for(var E,A;c;){if(r=this.elemsData[l].it,s=r[r.length-1].transform.mProps.v.props,A=s.length,r[r.length-1].transform.mProps._mdf=!0,r[r.length-1].transform.op._mdf=!0,r[r.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(l/(this._currentCopies-1)),I!==0){for((l!==0&&h===1||l!==this._currentCopies-1&&h===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(z[0],z[1],z[2],z[3],z[4],z[5],z[6],z[7],z[8],z[9],z[10],z[11],z[12],z[13],z[14],z[15]),this.matrix.transform(N[0],N[1],N[2],N[3],N[4],N[5],N[6],N[7],N[8],N[9],N[10],N[11],N[12],N[13],N[14],N[15]),this.matrix.transform(O[0],O[1],O[2],O[3],O[4],O[5],O[6],O[7],O[8],O[9],O[10],O[11],O[12],O[13],O[14],O[15]),E=0;E<A;E+=1)s[E]=this.matrix.props[E];this.matrix.reset()}else for(this.matrix.reset(),E=0;E<A;E+=1)s[E]=this.matrix.props[E];I+=1,c-=1,l+=h}}else for(c=this._currentCopies,l=0,h=1;c;)r=this.elemsData[l].it,s=r[r.length-1].transform.mProps.v.props,r[r.length-1].transform.mProps._mdf=!1,r[r.length-1].transform.op._mdf=!1,c-=1,l+=h;return v},kr.prototype.addShape=function(){};function qs(){}L([Qe],qs),qs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.rd=at.getProp(e,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},qs.prototype.processPath=function(e,r){var s=me.newElement();s.c=e.c;var l,h=e._length,c,v,x,g,k,M,H=0,T,R,D,O,z,N;for(l=0;l<h;l+=1)c=e.v[l],x=e.o[l],v=e.i[l],c[0]===x[0]&&c[1]===x[1]&&c[0]===v[0]&&c[1]===v[1]?(l===0||l===h-1)&&!e.c?(s.setTripleAt(c[0],c[1],x[0],x[1],v[0],v[1],H),H+=1):(l===0?g=e.v[h-1]:g=e.v[l-1],k=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),M=k?Math.min(k/2,r)/k:0,z=c[0]+(g[0]-c[0])*M,T=z,N=c[1]-(c[1]-g[1])*M,R=N,D=T-(T-c[0])*pe,O=R-(R-c[1])*pe,s.setTripleAt(T,R,D,O,z,N,H),H+=1,l===h-1?g=e.v[0]:g=e.v[l+1],k=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),M=k?Math.min(k/2,r)/k:0,D=c[0]+(g[0]-c[0])*M,T=D,O=c[1]+(g[1]-c[1])*M,R=O,z=T-(T-c[0])*pe,N=R-(R-c[1])*pe,s.setTripleAt(T,R,D,O,z,N,H),H+=1):(s.setTripleAt(e.v[l][0],e.v[l][1],e.o[l][0],e.o[l][1],e.i[l][0],e.i[l][1],H),H+=1);return s},qs.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,c,v=this.rd.v;if(v!==0){var x,g;for(s=0;s<l;s+=1){if(x=this.shapes[s],g=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,h=0;h<c;h+=1)g.addShape(this.processPath(r[h],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Sn(e,r){return Math.abs(e-r)*1e5<=Math.min(Math.abs(e),Math.abs(r))}function Id(e){return Math.abs(e)<=1e-5}function Tp(e,r,s){return e*(1-s)+r*s}function yi(e,r,s){return[Tp(e[0],r[0],s),Tp(e[1],r[1],s)]}function xb(e,r,s){if(e===0)return[];var l=r*r-4*e*s;if(l<0)return[];var h=-r/(2*e);if(l===0)return[h];var c=Math.sqrt(l)/(2*e);return[h-c,h+c]}function xp(e,r,s,l){return[-e+3*r-3*s+l,3*e-6*r+3*s,-3*e+3*r,e]}function Ap(e){return new Gt(e,e,e,e,!1)}function Gt(e,r,s,l,h){h&&Bo(e,r)&&(r=yi(e,l,1/3)),h&&Bo(s,l)&&(s=yi(e,l,2/3));var c=xp(e[0],r[0],s[0],l[0]),v=xp(e[1],r[1],s[1],l[1]);this.a=[c[0],v[0]],this.b=[c[1],v[1]],this.c=[c[2],v[2]],this.d=[c[3],v[3]],this.points=[e,r,s,l]}Gt.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},Gt.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},Gt.prototype.tangentAngle=function(e){var r=this.derivative(e);return Math.atan2(r[1],r[0])},Gt.prototype.normalAngle=function(e){var r=this.derivative(e);return Math.atan2(r[0],r[1])},Gt.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Id(e))return[];var r=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,s=r*r-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(s<0)return[];var l=Math.sqrt(s);return Id(l)?l>0&&l<1?[r]:[]:[r-l,r+l].filter(function(h){return h>0&&h<1})},Gt.prototype.split=function(e){if(e<=0)return[Ap(this.points[0]),this];if(e>=1)return[this,Ap(this.points[this.points.length-1])];var r=yi(this.points[0],this.points[1],e),s=yi(this.points[1],this.points[2],e),l=yi(this.points[2],this.points[3],e),h=yi(r,s,e),c=yi(s,l,e),v=yi(h,c,e);return[new Gt(this.points[0],r,h,v,!0),new Gt(v,c,l,this.points[3],!0)]};function Sp(e,r){var s=e.points[0][r],l=e.points[e.points.length-1][r];if(s>l){var h=l;l=s,s=h}for(var c=xb(3*e.a[r],2*e.b[r],e.c[r]),v=0;v<c.length;v+=1)if(c[v]>0&&c[v]<1){var x=e.point(c[v])[r];x<s?s=x:x>l&&(l=x)}return{min:s,max:l}}Gt.prototype.bounds=function(){return{x:Sp(this,0),y:Sp(this,1)}},Gt.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function _n(e,r,s){var l=e.boundingBox();return{cx:l.cx,cy:l.cy,width:l.width,height:l.height,bez:e,t:(r+s)/2,t1:r,t2:s}}function _p(e){var r=e.bez.split(.5);return[_n(r[0],e.t1,e.t),_n(r[1],e.t,e.t2)]}function Ab(e,r){return Math.abs(e.cx-r.cx)*2<e.width+r.width&&Math.abs(e.cy-r.cy)*2<e.height+r.height}function Xs(e,r,s,l,h,c){if(Ab(e,r)){if(s>=c||e.width<=l&&e.height<=l&&r.width<=l&&r.height<=l){h.push([e.t,r.t]);return}var v=_p(e),x=_p(r);Xs(v[0],x[0],s+1,l,h,c),Xs(v[0],x[1],s+1,l,h,c),Xs(v[1],x[0],s+1,l,h,c),Xs(v[1],x[1],s+1,l,h,c)}}Gt.prototype.intersections=function(e,r,s){r===void 0&&(r=2),s===void 0&&(s=7);var l=[];return Xs(_n(this,0,1),_n(e,0,1),0,r,l,s),l},Gt.shapeSegment=function(e,r){var s=(r+1)%e.length();return new Gt(e.v[r],e.o[r],e.i[s],e.v[s],!0)},Gt.shapeSegmentInverted=function(e,r){var s=(r+1)%e.length();return new Gt(e.v[s],e.i[s],e.o[r],e.v[r],!0)};function Cd(e,r){return[e[1]*r[2]-e[2]*r[1],e[2]*r[0]-e[0]*r[2],e[0]*r[1]-e[1]*r[0]]}function In(e,r,s,l){var h=[e[0],e[1],1],c=[r[0],r[1],1],v=[s[0],s[1],1],x=[l[0],l[1],1],g=Cd(Cd(h,c),Cd(v,x));return Id(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function Vo(e,r,s){return[e[0]+Math.cos(r)*s,e[1]-Math.sin(r)*s]}function kd(e,r){return Math.hypot(e[0]-r[0],e[1]-r[1])}function Bo(e,r){return Sn(e[0],r[0])&&Sn(e[1],r[1])}function Zs(){}L([Qe],Zs),Zs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amplitude=at.getProp(e,r.s,0,null,this),this.frequency=at.getProp(e,r.r,0,null,this),this.pointsType=at.getProp(e,r.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Ip(e,r,s,l,h,c,v){var x=s-Math.PI/2,g=s+Math.PI/2,k=r[0]+Math.cos(s)*l*h,M=r[1]-Math.sin(s)*l*h;e.setTripleAt(k,M,k+Math.cos(x)*c,M-Math.sin(x)*c,k+Math.cos(g)*v,M-Math.sin(g)*v,e.length())}function Sb(e,r){var s=[r[0]-e[0],r[1]-e[1]],l=-Math.PI*.5,h=[Math.cos(l)*s[0]-Math.sin(l)*s[1],Math.sin(l)*s[0]+Math.cos(l)*s[1]];return h}function _b(e,r){var s=r===0?e.length()-1:r-1,l=(r+1)%e.length(),h=e.v[s],c=e.v[l],v=Sb(h,c);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function Cp(e,r,s,l,h,c,v){var x=_b(r,s),g=r.v[s%r._length],k=r.v[s===0?r._length-1:s-1],M=r.v[(s+1)%r._length],H=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]-M[0],2)+Math.pow(g[1]-M[1],2)):0;Ip(e,r.v[s%r._length],x,v,l,T/((h+1)*2),H/((h+1)*2),c)}function Ib(e,r,s,l,h,c){for(var v=0;v<l;v+=1){var x=(v+1)/(l+1),g=h===2?Math.sqrt(Math.pow(r.points[3][0]-r.points[0][0],2)+Math.pow(r.points[3][1]-r.points[0][1],2)):0,k=r.normalAngle(x),M=r.point(x);Ip(e,M,k,c,s,g/((l+1)*2),g/((l+1)*2),h),c=-c}return c}Zs.prototype.processPath=function(e,r,s,l){var h=e._length,c=me.newElement();if(c.c=e.c,e.c||(h-=1),h===0)return c;var v=-1,x=Gt.shapeSegment(e,0);Cp(c,e,0,r,s,l,v);for(var g=0;g<h;g+=1)v=Ib(c,x,r,s,l,-v),g===h-1&&!e.c?x=null:x=Gt.shapeSegment(e,(g+1)%h),Cp(c,e,g+1,r,s,l,v);return c},Zs.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,c,v=this.amplitude.v,x=Math.max(0,Math.round(this.frequency.v)),g=this.pointsType.v;if(v!==0){var k,M;for(s=0;s<l;s+=1){if(k=this.shapes[s],M=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(M.releaseShapes(),k.shape._mdf=!0,r=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)M.addShape(this.processPath(r[h],v,x,g));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function wd(e,r,s){var l=Math.atan2(r[0]-e[0],r[1]-e[1]);return[Vo(e,l,s),Vo(r,l,s)]}function Uo(e,r){var s,l,h,c,v,x,g;g=wd(e.points[0],e.points[1],r),s=g[0],l=g[1],g=wd(e.points[1],e.points[2],r),h=g[0],c=g[1],g=wd(e.points[2],e.points[3],r),v=g[0],x=g[1];var k=In(s,l,h,c);k===null&&(k=l);var M=In(v,x,h,c);return M===null&&(M=v),new Gt(s,k,M,x)}function kp(e,r,s,l,h){var c=r.points[3],v=s.points[0];if(l===3||Bo(c,v))return c;if(l===2){var x=-r.tangentAngle(1),g=-s.tangentAngle(0)+Math.PI,k=In(c,Vo(c,x+Math.PI/2,100),v,Vo(v,x+Math.PI/2,100)),M=k?kd(k,c):kd(c,v)/2,H=Vo(c,x,2*M*pe);return e.setXYAt(H[0],H[1],"o",e.length()-1),H=Vo(v,g,2*M*pe),e.setTripleAt(v[0],v[1],v[0],v[1],H[0],H[1],e.length()),v}var T=Bo(c,r.points[2])?r.points[0]:r.points[2],R=Bo(v,s.points[1])?s.points[3]:s.points[1],D=In(T,c,v,R);return D&&kd(D,c)<h?(e.setTripleAt(D[0],D[1],D[0],D[1],D[0],D[1],e.length()),D):c}function wp(e,r){var s=e.intersections(r);return s.length&&Sn(s[0][0],1)&&s.shift(),s.length?s[0]:null}function Np(e,r){var s=e.slice(),l=r.slice(),h=wp(e[e.length-1],r[0]);return h&&(s[e.length-1]=e[e.length-1].split(h[0])[0],l[0]=r[0].split(h[1])[1]),e.length>1&&r.length>1&&(h=wp(e[0],r[r.length-1]),h)?[[e[0].split(h[0])[0]],[r[r.length-1].split(h[1])[1]]]:[s,l]}function Cb(e){for(var r,s=1;s<e.length;s+=1)r=Np(e[s-1],e[s]),e[s-1]=r[0],e[s]=r[1];return e.length>1&&(r=Np(e[e.length-1],e[0]),e[e.length-1]=r[0],e[0]=r[1]),e}function Lp(e,r){var s=e.inflectionPoints(),l,h,c,v;if(s.length===0)return[Uo(e,r)];if(s.length===1||Sn(s[1],1))return c=e.split(s[0]),l=c[0],h=c[1],[Uo(l,r),Uo(h,r)];c=e.split(s[0]),l=c[0];var x=(s[1]-s[0])/(1-s[0]);return c=c[1].split(x),v=c[0],h=c[1],[Uo(l,r),Uo(v,r),Uo(h,r)]}function Qs(){}L([Qe],Qs),Qs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=at.getProp(e,r.a,0,null,this),this.miterLimit=at.getProp(e,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Qs.prototype.processPath=function(e,r,s,l){var h=me.newElement();h.c=e.c;var c=e.length();e.c||(c-=1);var v,x,g,k=[];for(v=0;v<c;v+=1)g=Gt.shapeSegment(e,v),k.push(Lp(g,r));if(!e.c)for(v=c-1;v>=0;v-=1)g=Gt.shapeSegmentInverted(e,v),k.push(Lp(g,r));k=Cb(k);var M=null,H=null;for(v=0;v<k.length;v+=1){var T=k[v];for(H&&(M=kp(h,H,T[0],s,l)),H=T[T.length-1],x=0;x<T.length;x+=1)g=T[x],M&&Bo(g.points[0],M)?h.setXYAt(g.points[1][0],g.points[1][1],"o",h.length()-1):h.setTripleAt(g.points[0][0],g.points[0][1],g.points[1][0],g.points[1][1],g.points[0][0],g.points[0][1],h.length()),h.setTripleAt(g.points[3][0],g.points[3][1],g.points[3][0],g.points[3][1],g.points[2][0],g.points[2][1],h.length()),M=g.points[3]}return k.length&&kp(h,H,k[0][0],s,l),h},Qs.prototype.processShapes=function(e){var r,s,l=this.shapes.length,h,c,v=this.amount.v,x=this.miterLimit.v,g=this.lineJoin;if(v!==0){var k,M;for(s=0;s<l;s+=1){if(k=this.shapes[s],M=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(M.releaseShapes(),k.shape._mdf=!0,r=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)M.addShape(this.processPath(r[h],v,g,x));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Mp(e){for(var r=e.fStyle?e.fStyle.split(" "):[],s="normal",l="normal",h=r.length,c,v=0;v<h;v+=1)switch(c=r[v].toLowerCase(),c){case"italic":l="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200";break;default:break}return{style:l,weight:e.fWeight||s}}var Zi=function(){var e=5e3,r={w:0,size:0,shapes:[],data:{shapes:[]}},s=[];s=s.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var l=127988,h=917631,c=917601,v=917626,x=65039,g=8205,k=127462,M=127487,H=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T(S){var P=S.split(","),f,y=P.length,G=[];for(f=0;f<y;f+=1)P[f]!=="sans-serif"&&P[f]!=="monospace"&&G.push(P[f]);return G.join(",")}function R(S,P){var f=C("span");f.setAttribute("aria-hidden",!0),f.style.fontFamily=P;var y=C("span");y.innerText="giItT1WQy@!-/#",f.style.position="absolute",f.style.left="-10000px",f.style.top="-10000px",f.style.fontSize="300px",f.style.fontVariant="normal",f.style.fontStyle="normal",f.style.fontWeight="normal",f.style.letterSpacing="0",f.appendChild(y),document.body.appendChild(f);var G=y.offsetWidth;return y.style.fontFamily=T(S)+", "+P,{node:y,w:G,parent:f}}function D(){var S,P=this.fonts.length,f,y,G=P;for(S=0;S<P;S+=1)this.fonts[S].loaded?G-=1:this.fonts[S].fOrigin==="n"||this.fonts[S].origin===0?this.fonts[S].loaded=!0:(f=this.fonts[S].monoCase.node,y=this.fonts[S].monoCase.w,f.offsetWidth!==y?(G-=1,this.fonts[S].loaded=!0):(f=this.fonts[S].sansCase.node,y=this.fonts[S].sansCase.w,f.offsetWidth!==y&&(G-=1,this.fonts[S].loaded=!0)),this.fonts[S].loaded&&(this.fonts[S].sansCase.parent.parentNode.removeChild(this.fonts[S].sansCase.parent),this.fonts[S].monoCase.parent.parentNode.removeChild(this.fonts[S].monoCase.parent)));G!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function O(S,P){var f=document.body&&P?"svg":"canvas",y,G=Mp(S);if(f==="svg"){var F=Tt("text");F.style.fontSize="100px",F.setAttribute("font-family",S.fFamily),F.setAttribute("font-style",G.style),F.setAttribute("font-weight",G.weight),F.textContent="1",S.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",S.fClass)):F.style.fontFamily=S.fFamily,P.appendChild(F),y=F}else{var nt=new OffscreenCanvas(500,500).getContext("2d");nt.font=G.style+" "+G.weight+" 100px "+S.fFamily,y=nt}function ft(Et){return f==="svg"?(y.textContent=Et,y.getComputedTextLength()):y.measureText(Et).width}return{measureText:ft}}function z(S,P){if(!S){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=S.list;return}if(!document.body){this.isLoaded=!0,S.list.forEach(function(Me){Me.helper=O(Me),Me.cache={}}),this.fonts=S.list;return}var f=S.list,y,G=f.length,F=G;for(y=0;y<G;y+=1){var nt=!0,ft,Et;if(f[y].loaded=!1,f[y].monoCase=R(f[y].fFamily,"monospace"),f[y].sansCase=R(f[y].fFamily,"sans-serif"),!f[y].fPath)f[y].loaded=!0,F-=1;else if(f[y].fOrigin==="p"||f[y].origin===3){if(ft=document.querySelectorAll('style[f-forigin="p"][f-family="'+f[y].fFamily+'"], style[f-origin="3"][f-family="'+f[y].fFamily+'"]'),ft.length>0&&(nt=!1),nt){var Nt=C("style");Nt.setAttribute("f-forigin",f[y].fOrigin),Nt.setAttribute("f-origin",f[y].origin),Nt.setAttribute("f-family",f[y].fFamily),Nt.type="text/css",Nt.innerText="@font-face {font-family: "+f[y].fFamily+"; font-style: normal; src: url('"+f[y].fPath+"');}",P.appendChild(Nt)}}else if(f[y].fOrigin==="g"||f[y].origin===1){for(ft=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Et=0;Et<ft.length;Et+=1)ft[Et].href.indexOf(f[y].fPath)!==-1&&(nt=!1);if(nt){var Lt=C("link");Lt.setAttribute("f-forigin",f[y].fOrigin),Lt.setAttribute("f-origin",f[y].origin),Lt.type="text/css",Lt.rel="stylesheet",Lt.href=f[y].fPath,document.body.appendChild(Lt)}}else if(f[y].fOrigin==="t"||f[y].origin===2){for(ft=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Et=0;Et<ft.length;Et+=1)f[y].fPath===ft[Et].src&&(nt=!1);if(nt){var Jt=C("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=O(f[y],P),f[y].cache={},this.fonts.push(f[y])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function N(S){if(S){this.chars||(this.chars=[]);var P,f=S.length,y,G=this.chars.length,F;for(P=0;P<f;P+=1){for(y=0,F=!1;y<G;)this.chars[y].style===S[P].style&&this.chars[y].fFamily===S[P].fFamily&&this.chars[y].ch===S[P].ch&&(F=!0),y+=1;F||(this.chars.push(S[P]),G+=1)}}}function I(S,P,f){for(var y=0,G=this.chars.length;y<G;){if(this.chars[y].ch===S&&this.chars[y].style===P&&this.chars[y].fFamily===f)return this.chars[y];y+=1}return(typeof S=="string"&&S.charCodeAt(0)!==13||!S)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",S,P,f)),r}function E(S,P,f){var y=this.getFontByName(P),G=S;if(!y.cache[G]){var F=y.helper;if(S===" "){var nt=F.measureText("|"+S+"|"),ft=F.measureText("||");y.cache[G]=(nt-ft)/100}else y.cache[G]=F.measureText(S)/100}return y.cache[G]*f}function A(S){for(var P=0,f=this.fonts.length;P<f;){if(this.fonts[P].fName===S)return this.fonts[P];P+=1}return this.fonts[0]}function w(S){var P=0,f=S.charCodeAt(0);if(f>=55296&&f<=56319){var y=S.charCodeAt(1);y>=56320&&y<=57343&&(P=(f-55296)*1024+y-56320+65536)}return P}function $(S,P){var f=S.toString(16)+P.toString(16);return H.indexOf(f)!==-1}function U(S){return S===g}function Y(S){return S===x}function J(S){var P=w(S);return P>=k&&P<=M}function yt(S){return J(S.substr(0,2))&&J(S.substr(2,2))}function pt(S){return s.indexOf(S)!==-1}function ot(S,P){var f=w(S.substr(P,2));if(f!==l)return!1;var y=0;for(P+=2;y<5;){if(f=w(S.substr(P,2)),f<c||f>v)return!1;y+=1,P+=2}return w(S.substr(P,2))===h}function xt(){this.isLoaded=!0}var ct=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};ct.isModifier=$,ct.isZeroWidthJoiner=U,ct.isFlagEmoji=yt,ct.isRegionalCode=J,ct.isCombinedCharacter=pt,ct.isRegionalFlag=ot,ct.isVariationSelector=Y,ct.BLACK_FLAG_CODE_POINT=l;var Z={addChars:N,addFonts:z,getCharData:I,getFontByName:A,measureText:E,checkLoadedFonts:D,setIsLoaded:xt};return ct.prototype=Z,ct}();function Rp(e){this.animationData=e}Rp.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function kb(e){return new Rp(e)}function Cn(){}Cn.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(r){this.renderableComponents.indexOf(r)===-1&&this.renderableComponents.push(r)},removeRenderableComponent:function(r){this.renderableComponents.indexOf(r)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(r),1)},prepareRenderableFrame:function(r){this.checkLayerLimits(r)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(r){this.data.ip-this.data.st<=r&&this.data.op-this.data.st>r?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var r,s=this.renderableComponents.length;for(r=0;r<s;r+=1)this.renderableComponents[r].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var Nd=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(r){return e[r]||""}}();function wb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Nb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Lb(e,r,s){this.p=at.getProp(r,e.v,1,0,s)}function Mb(e,r,s){this.p=at.getProp(r,e.v,1,0,s)}function Rb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Ob(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Pb(e,r,s){this.p=at.getProp(r,e.v,0,0,s)}function Db(){this.p={}}function Op(e,r){var s=e.ef||[];this.effectElements=[];var l,h=s.length,c;for(l=0;l<h;l+=1)c=new Js(s[l],r),this.effectElements.push(c)}function Js(e,r){this.init(e,r)}L([de],Js),Js.prototype.getValue=Js.prototype.iterateDynamicProperties,Js.prototype.init=function(e,r){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(r);var s,l=this.data.ef.length,h,c=this.data.ef;for(s=0;s<l;s+=1){switch(h=null,c[s].ty){case 0:h=new wb(c[s],r,this);break;case 1:h=new Nb(c[s],r,this);break;case 2:h=new Lb(c[s],r,this);break;case 3:h=new Mb(c[s],r,this);break;case 4:case 7:h=new Pb(c[s],r,this);break;case 10:h=new Rb(c[s],r,this);break;case 11:h=new Ob(c[s],r,this);break;case 5:h=new Op(c[s],r,this);break;default:h=new Db(c[s],r,this);break}h&&this.effectElements.push(h)}};function Ei(){}Ei.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var r=0,s=this.data.masksProperties.length;r<s;){if(this.data.masksProperties[r].mode!=="n"&&this.data.masksProperties[r].cl!==!1)return!0;r+=1}return!1},initExpressions:function(){var r=ap();if(r){var s=r("layer"),l=r("effects"),h=r("shape"),c=r("text"),v=r("comp");this.layerInterface=s(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var x=l.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(x),this.data.ty===0||this.data.xt?this.compInterface=v(this):this.data.ty===4?(this.layerInterface.shapeInterface=h(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=c(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var r=Nd(this.data.bm),s=this.baseElement||this.layerElement;s.style["mix-blend-mode"]=r},initBaseData:function(r,s,l){this.globalData=s,this.comp=l,this.data=r,this.layerId=Ne(),this.data.sr||(this.data.sr=1),this.effectsManager=new Op(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Ti(){}Ti.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,s){var l,h=this.dynamicProperties.length;for(l=0;l<h;l+=1)(s||this._isParent&&this.dynamicProperties[l].propType==="transform")&&(this.dynamicProperties[l].getValue(),this.dynamicProperties[l]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function xi(e,r,s){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.footageData=r.imageLoader.getAsset(this.assetData),this.initBaseData(e,r,s)}xi.prototype.prepareFrame=function(){},L([Cn,Ei,Ti],xi),xi.prototype.getBaseElement=function(){return null},xi.prototype.renderFrame=function(){},xi.prototype.destroy=function(){},xi.prototype.initExpressions=function(){var e=ap();if(e){var r=e("footage");this.layerInterface=r(this)}},xi.prototype.getFootageData=function(){return this.footageData};function Le(e,r,s){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.initBaseData(e,r,s),this._isPlaying=!1,this._canPlay=!1;var l=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(l),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?at.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=at.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}Le.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var r=this.tm.v;this._currentTime=r}this._volume=this.lv.v[0];var s=this._volume*this._volumeMultiplier;this._previousVolume!==s&&(this._previousVolume=s,this.audio.volume(s))},L([Cn,Ei,Ti],Le),Le.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},Le.prototype.show=function(){},Le.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Le.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Le.prototype.resume=function(){this._canPlay=!0},Le.prototype.setRate=function(e){this.audio.rate(e)},Le.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},Le.prototype.getBaseElement=function(){return null},Le.prototype.destroy=function(){},Le.prototype.sourceRectAtTime=function(){},Le.prototype.initExpressions=function(){};function fe(){}fe.prototype.checkLayers=function(e){var r,s=this.layers.length,l;for(this.completeLayers=!0,r=s-1;r>=0;r-=1)this.elements[r]||(l=this.layers[r],l.ip-l.st<=e-this.layers[r].st&&l.op-l.st>e-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},fe.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},fe.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},fe.prototype.createAudio=function(e){return new Le(e,this.globalData,this)},fe.prototype.createFootage=function(e){return new xi(e,this.globalData,this)},fe.prototype.buildAllItems=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.buildItem(e);this.checkPendingElements()},fe.prototype.includeLayers=function(e){this.completeLayers=!1;var r,s=e.length,l,h=this.layers.length;for(r=0;r<s;r+=1)for(l=0;l<h;){if(this.layers[l].id===e[r].id){this.layers[l]=e[r];break}l+=1}},fe.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},fe.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},fe.prototype.buildElementParenting=function(e,r,s){for(var l=this.elements,h=this.layers,c=0,v=h.length;c<v;)h[c].ind==r&&(!l[c]||l[c]===!0?(this.buildItem(c),this.addPendingElement(e)):(s.push(l[c]),l[c].setAsParent(),h[c].parent!==void 0?this.buildElementParenting(e,h[c].parent,s):e.setHierarchy(s))),c+=1},fe.prototype.addPendingElement=function(e){this.pendingElements.push(e)},fe.prototype.searchExtraCompositions=function(e){var r,s=e.length;for(r=0;r<s;r+=1)if(e[r].xt){var l=this.createComp(e[r]);l.initExpressions(),this.globalData.projectInterface.registerComposition(l)}},fe.prototype.getElementById=function(e){var r,s=this.elements.length;for(r=0;r<s;r+=1)if(this.elements[r].data.ind===e)return this.elements[r];return null},fe.prototype.getElementByPath=function(e){var r=e.shift(),s;if(typeof r=="number")s=this.elements[r];else{var l,h=this.elements.length;for(l=0;l<h;l+=1)if(this.elements[l].data.nm===r){s=this.elements[l];break}}return e.length===0?s:s.getElementByPath(e)},fe.prototype.setupGlobalData=function(e,r){this.globalData.fontManager=new Zi,this.globalData.slotManager=kb(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,r),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var $b={TRANSFORM_EFFECT:"transformEFfect"};function Ho(){}Ho.prototype={initTransform:function(){var r=new ue;this.finalTransform={mProp:this.data.ks?_d.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:r,localMat:r,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var r,s=this.finalTransform.mat,l=0,h=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;l<h;){if(this.hierarchy[l].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}l+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,s.cloneFromProps(r),l=0;l<h;l+=1)s.multiply(this.hierarchy[l].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var r=0,s=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;r<s;)this.localTransforms[r]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[r]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),r+=1;if(this.finalTransform._localMatMdf){var l=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(l),r=1;r<s;r+=1){var h=this.localTransforms[r].matrix;l.multiply(h)}l.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(r=0;r<s;r+=1)c*=this.localTransforms[r].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var r=this.renderableEffectsManager.getEffects($b.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new ue;var s=0,l=r.length;for(s=0;s<l;s+=1)this.localTransforms.push(r[s])}}},globalToLocal:function(r){var s=[];s.push(this.finalTransform);for(var l=!0,h=this.comp;l;)h.finalTransform?(h.data.hasMask&&s.splice(0,0,h.finalTransform),h=h.comp):l=!1;var c,v=s.length,x;for(c=0;c<v;c+=1)x=s[c].mat.applyToPointArray(0,0,0),r=[r[0]-x[0],r[1]-x[1],0];return r},mHelper:new ue};function Qi(e,r,s){this.data=e,this.element=r,this.globalData=s,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var l=this.globalData.defs,h,c=this.masksProperties?this.masksProperties.length:0;this.viewData=tt(c),this.solidPath="";var v,x=this.masksProperties,g=0,k=[],M,H,T=Ne(),R,D,O,z,N="clipPath",I="clip-path";for(h=0;h<c;h+=1)if((x[h].mode!=="a"&&x[h].mode!=="n"||x[h].inv||x[h].o.k!==100||x[h].o.x)&&(N="mask",I="mask"),(x[h].mode==="s"||x[h].mode==="i")&&g===0?(R=Tt("rect"),R.setAttribute("fill","#ffffff"),R.setAttribute("width",this.element.comp.data.w||0),R.setAttribute("height",this.element.comp.data.h||0),k.push(R)):R=null,v=Tt("path"),x[h].mode==="n")this.viewData[h]={op:at.getProp(this.element,x[h].o,0,.01,this.element),prop:Tn.getShapeProp(this.element,x[h],3),elem:v,lastPath:""},l.appendChild(v);else{g+=1,v.setAttribute("fill",x[h].mode==="s"?"#000000":"#ffffff"),v.setAttribute("clip-rule","nonzero");var E;if(x[h].x.k!==0?(N="mask",I="mask",z=at.getProp(this.element,x[h].x,0,null,this.element),E=Ne(),D=Tt("filter"),D.setAttribute("id",E),O=Tt("feMorphology"),O.setAttribute("operator","erode"),O.setAttribute("in","SourceGraphic"),O.setAttribute("radius","0"),D.appendChild(O),l.appendChild(D),v.setAttribute("stroke",x[h].mode==="s"?"#000000":"#ffffff")):(O=null,z=null),this.storedData[h]={elem:v,x:z,expan:O,lastPath:"",lastOperator:"",filterId:E,lastRadius:0},x[h].mode==="i"){H=k.length;var A=Tt("g");for(M=0;M<H;M+=1)A.appendChild(k[M]);var w=Tt("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",T+"_"+g),w.appendChild(v),l.appendChild(w),A.setAttribute("mask","url("+b()+"#"+T+"_"+g+")"),k.length=0,k.push(A)}else k.push(v);x[h].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[h]={elem:v,lastPath:"",op:at.getProp(this.element,x[h].o,0,.01,this.element),prop:Tn.getShapeProp(this.element,x[h],3),invRect:R},this.viewData[h].prop.k||this.drawPath(x[h],this.viewData[h].prop.v,this.viewData[h])}for(this.maskElement=Tt(N),c=k.length,h=0;h<c;h+=1)this.maskElement.appendChild(k[h]);g>0&&(this.maskElement.setAttribute("id",T),this.element.maskedElement.setAttribute(I,"url("+b()+"#"+T+")"),l.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Qi.prototype.getMaskProperty=function(e){return this.viewData[e].prop},Qi.prototype.renderFrame=function(e){var r=this.element.finalTransform.mat,s,l=this.masksProperties.length;for(s=0;s<l;s+=1)if((this.viewData[s].prop._mdf||e)&&this.drawPath(this.masksProperties[s],this.viewData[s].prop.v,this.viewData[s]),(this.viewData[s].op._mdf||e)&&this.viewData[s].elem.setAttribute("fill-opacity",this.viewData[s].op.v),this.masksProperties[s].mode!=="n"&&(this.viewData[s].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[s].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[s].x&&(this.storedData[s].x._mdf||e))){var h=this.storedData[s].expan;this.storedData[s].x.v<0?(this.storedData[s].lastOperator!=="erode"&&(this.storedData[s].lastOperator="erode",this.storedData[s].elem.setAttribute("filter","url("+b()+"#"+this.storedData[s].filterId+")")),h.setAttribute("radius",-this.storedData[s].x.v)):(this.storedData[s].lastOperator!=="dilate"&&(this.storedData[s].lastOperator="dilate",this.storedData[s].elem.setAttribute("filter",null)),this.storedData[s].elem.setAttribute("stroke-width",this.storedData[s].x.v*2))}},Qi.prototype.getMaskelement=function(){return this.maskElement},Qi.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},Qi.prototype.drawPath=function(e,r,s){var l=" M"+r.v[0][0]+","+r.v[0][1],h,c;for(c=r._length,h=1;h<c;h+=1)l+=" C"+r.o[h-1][0]+","+r.o[h-1][1]+" "+r.i[h][0]+","+r.i[h][1]+" "+r.v[h][0]+","+r.v[h][1];if(r.c&&c>1&&(l+=" C"+r.o[h-1][0]+","+r.o[h-1][1]+" "+r.i[0][0]+","+r.i[0][1]+" "+r.v[0][0]+","+r.v[0][1]),s.lastPath!==l){var v="";s.elem&&(r.c&&(v=e.inv?this.solidPath+l:l),s.elem.setAttribute("d",v)),s.lastPath=l}},Qi.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var ta=function(){var e={};e.createFilter=r,e.createAlphaToLuminanceFilter=s;function r(l,h){var c=Tt("filter");return c.setAttribute("id",l),h!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function s(){var l=Tt("feColorMatrix");return l.setAttribute("type","matrix"),l.setAttribute("color-interpolation-filters","sRGB"),l.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),l}return e}(),Pp=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}(),kn={},Dp="filter_result_";function Ld(e){var r,s="SourceGraphic",l=e.data.ef?e.data.ef.length:0,h=Ne(),c=ta.createFilter(h,!0),v=0;this.filters=[];var x;for(r=0;r<l;r+=1){x=null;var g=e.data.ef[r].ty;if(kn[g]){var k=kn[g].effect;x=new k(c,e.effectsManager.effectElements[r],e,Dp+v,s),s=Dp+v,kn[g].countsAsEffect&&(v+=1)}x&&this.filters.push(x)}v&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+b()+"#"+h+")")),this.filters.length&&e.addRenderableComponent(this)}Ld.prototype.renderFrame=function(e){var r,s=this.filters.length;for(r=0;r<s;r+=1)this.filters[r].renderFrame(e)},Ld.prototype.getEffects=function(e){var r,s=this.filters.length,l=[];for(r=0;r<s;r+=1)this.filters[r].type===e&&l.push(this.filters[r]);return l};function _A(e,r,s){kn[e]={effect:r,countsAsEffect:s}}function ea(){}ea.prototype={initRendererElement:function(){this.layerElement=Tt("g")},createContainerElements:function(){this.matteElement=Tt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var s=Tt("g");s.setAttribute("id",this.layerId),s.appendChild(this.layerElement),r=s,this.globalData.defs.appendChild(s)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),r=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var l=Tt("clipPath"),h=Tt("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var c=Ne();if(l.setAttribute("id",c),l.appendChild(h),this.globalData.defs.appendChild(l),this.checkMasks()){var v=Tt("g");v.setAttribute("clip-path","url("+b()+"#"+c+")"),v.appendChild(this.layerElement),this.transformedElement=v,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+b()+"#"+c+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new Qi(this.data,this,this.globalData),this.renderableEffectsManager=new Ld(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var s=this.layerId+"_"+r,l,h,c,v;if(r===1||r===3){var x=Tt("mask");x.setAttribute("id",s),x.setAttribute("mask-type",r===3?"luminance":"alpha"),c=Tt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),x.appendChild(c),this.globalData.defs.appendChild(x),!Pp.maskType&&r===1&&(x.setAttribute("mask-type","luminance"),l=Ne(),h=ta.createFilter(l),this.globalData.defs.appendChild(h),h.appendChild(ta.createAlphaToLuminanceFilter()),v=Tt("g"),v.appendChild(c),x.appendChild(v),v.setAttribute("filter","url("+b()+"#"+l+")"))}else if(r===2){var g=Tt("mask");g.setAttribute("id",s),g.setAttribute("mask-type","alpha");var k=Tt("g");g.appendChild(k),l=Ne(),h=ta.createFilter(l);var M=Tt("feComponentTransfer");M.setAttribute("in","SourceGraphic"),h.appendChild(M);var H=Tt("feFuncA");H.setAttribute("type","table"),H.setAttribute("tableValues","1.0 0.0"),M.appendChild(H),this.globalData.defs.appendChild(h);var T=Tt("rect");T.setAttribute("width",this.comp.data.w),T.setAttribute("height",this.comp.data.h),T.setAttribute("x","0"),T.setAttribute("y","0"),T.setAttribute("fill","#ffffff"),T.setAttribute("opacity","0"),k.setAttribute("filter","url("+b()+"#"+l+")"),k.appendChild(T),c=Tt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),k.appendChild(c),Pp.maskType||(g.setAttribute("mask-type","luminance"),h.appendChild(ta.createAlphaToLuminanceFilter()),v=Tt("g"),k.appendChild(T),v.appendChild(this.layerElement),k.appendChild(v)),this.globalData.defs.appendChild(g)}this.matteMasks[r]=s}return this.matteMasks[r]},setMatte:function(r){this.matteElement&&this.matteElement.setAttribute("mask","url("+b()+"#"+r+")")}};function Go(){}Go.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(r){this.hierarchy=r},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function ra(){}(function(){var e={initElement:function(s,l,h){this.initFrame(),this.initBaseData(s,l,h),this.initTransform(s,l,h),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var s=this.baseElement||this.layerElement;s.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var s=this.baseElement||this.layerElement;s.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(s){this._mdf=!1,this.prepareRenderableFrame(s),this.prepareProperties(s,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};L([Cn,q(e)],ra)})();function ia(e,r,s){this.assetData=r.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=r.slotManager.getProp(this.assetData)),this.initElement(e,r,s),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}L([Ei,Ho,ea,Go,Ti,ra],ia),ia.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)},ia.prototype.sourceRectAtTime=function(){return this.sourceRect};function Fb(e,r){this.elem=e,this.pos=r}function $p(){}$p.prototype={addShapeToModifiers:function(r){var s,l=this.shapeModifiers.length;for(s=0;s<l;s+=1)this.shapeModifiers[s].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var s=0,l=this.shapeModifiers.length;s<l;)if(this.shapeModifiers[s].isAnimatedWithShape(r))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var r,s=this.shapes.length;for(r=0;r<s;r+=1)this.shapes[r].sh.reset();s=this.shapeModifiers.length;var l;for(r=s-1;r>=0&&(l=this.shapeModifiers[r].processShapes(this._isFirstFrame),!l);r-=1);}},searchProcessedElement:function(r){for(var s=this.processedElements,l=0,h=s.length;l<h;){if(s[l].elem===r)return s[l].pos;l+=1}return 0},addProcessedElement:function(r,s){for(var l=this.processedElements,h=l.length;h;)if(h-=1,l[h].elem===r){l[h].pos=s;return}l.push(new Fb(r,s))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var Fp={1:"butt",2:"round",3:"square"},zp={1:"miter",2:"round",3:"bevel"};function Vp(e,r,s){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=s,this.lvl=r,this._isAnimated=!!s.k;for(var l=0,h=e.length;l<h;){if(e[l].mProps.dynamicProperties.length){this._isAnimated=!0;break}l+=1}}Vp.prototype.setAsAnimated=function(){this._isAnimated=!0};function Bp(e,r){this.data=e,this.type=e.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=e.hd===!0,this.pElem=Tt("path"),this.msElem=null}Bp.prototype.reset=function(){this.d="",this._mdf=!1};function wn(e,r,s,l){this.elem=e,this.frameId=-1,this.dataProps=tt(r.length),this.renderer=s,this.k=!1,this.dashStr="",this.dashArray=X("float32",r.length?r.length-1:0),this.dashoffset=X("float32",1),this.initDynamicPropertyContainer(l);var h,c=r.length||0,v;for(h=0;h<c;h+=1)v=at.getProp(e,r[h].v,0,0,this),this.k=v.k||this.k,this.dataProps[h]={n:r[h].n,p:v};this.k||this.getValue(!0),this._isAnimated=this.k}wn.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var r=0,s=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),r=0;r<s;r+=1)this.dataProps[r].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[r].p.v:this.dashArray[r]=this.dataProps[r].p.v:this.dashoffset[0]=this.dataProps[r].p.v}},L([de],wn);function Up(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,r.o,0,.01,this),this.w=at.getProp(e,r.w,0,null,this),this.d=new wn(e,r.d||{},"svg",this),this.c=at.getProp(e,r.c,1,255,this),this.style=s,this._isAnimated=!!this._isAnimated}L([de],Up);function Hp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,r.o,0,.01,this),this.c=at.getProp(e,r.c,1,255,this),this.style=s}L([de],Hp);function Gp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=s}L([de],Gp);function oa(e,r,s){this.data=r,this.c=X("uint8c",r.p*4);var l=r.k.k[0].s?r.k.k[0].s.length-r.p*4:r.k.k.length-r.p*4;this.o=X("float32",l),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=l,this.initDynamicPropertyContainer(s),this.prop=at.getProp(e,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}oa.prototype.comparePoints=function(e,r){for(var s=0,l=this.o.length/2,h;s<l;){if(h=Math.abs(e[s*4]-e[r*4+s*2]),h>.01)return!1;s+=1}return!0},oa.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,r=this.data.k.k.length;e<r;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},oa.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var r,s=this.data.p*4,l,h;for(r=0;r<s;r+=1)l=r%4===0?100:255,h=Math.round(this.prop.v[r]*l),this.c[r]!==h&&(this.c[r]=h,this._cmdf=!e);if(this.o.length)for(s=this.prop.v.length,r=this.data.p*4;r<s;r+=1)l=r%2===0?100:1,h=r%2===0?Math.round(this.prop.v[r]*100):this.prop.v[r],this.o[r-this.data.p*4]!==h&&(this.o[r-this.data.p*4]=h,this._omdf=!e);this._mdf=!e}},L([de],oa);function Yo(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,r,s)}Yo.prototype.initGradientData=function(e,r,s){this.o=at.getProp(e,r.o,0,.01,this),this.s=at.getProp(e,r.s,1,null,this),this.e=at.getProp(e,r.e,1,null,this),this.h=at.getProp(e,r.h||{k:0},0,.01,this),this.a=at.getProp(e,r.a||{k:0},0,Ct,this),this.g=new oa(e,r.g,this),this.style=s,this.stops=[],this.setGradientData(s.pElem,r),this.setGradientOpacity(r,s),this._isAnimated=!!this._isAnimated},Yo.prototype.setGradientData=function(e,r){var s=Ne(),l=Tt(r.t===1?"linearGradient":"radialGradient");l.setAttribute("id",s),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse");var h=[],c,v,x;for(x=r.g.p*4,v=0;v<x;v+=4)c=Tt("stop"),l.appendChild(c),h.push(c);e.setAttribute(r.ty==="gf"?"fill":"stroke","url("+b()+"#"+s+")"),this.gf=l,this.cst=h},Yo.prototype.setGradientOpacity=function(e,r){if(this.g._hasOpacity&&!this.g._collapsable){var s,l,h,c=Tt("mask"),v=Tt("path");c.appendChild(v);var x=Ne(),g=Ne();c.setAttribute("id",g);var k=Tt(e.t===1?"linearGradient":"radialGradient");k.setAttribute("id",x),k.setAttribute("spreadMethod","pad"),k.setAttribute("gradientUnits","userSpaceOnUse"),h=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var M=this.stops;for(l=e.g.p*4;l<h;l+=2)s=Tt("stop"),s.setAttribute("stop-color","rgb(255,255,255)"),k.appendChild(s),M.push(s);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+b()+"#"+x+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",Fp[e.lc||2]),v.setAttribute("stroke-linejoin",zp[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=k,this.ms=c,this.ost=M,this.maskId=g,r.msElem=v}},L([de],Yo);function Yp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=at.getProp(e,r.w,0,null,this),this.d=new wn(e,r.d||{},"svg",this),this.initGradientData(e,r,s),this._isAnimated=!!this._isAnimated}L([Yo,de],Yp);function zb(){this.it=[],this.prevViewData=[],this.gr=Tt("g")}function Vb(e,r,s){this.transform={mProps:e,op:r,container:s},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var Wp=function(r,s,l,h){if(s===0)return"";var c=r.o,v=r.i,x=r.v,g,k=" M"+h.applyToPointStringified(x[0][0],x[0][1]);for(g=1;g<s;g+=1)k+=" C"+h.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+h.applyToPointStringified(v[g][0],v[g][1])+" "+h.applyToPointStringified(x[g][0],x[g][1]);return l&&s&&(k+=" C"+h.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+h.applyToPointStringified(v[0][0],v[0][1])+" "+h.applyToPointStringified(x[0][0],x[0][1]),k+="z"),k},Bb=function(){var e=new ue,r=new ue,s={createRenderFunction:l};function l(H){switch(H.ty){case"fl":return x;case"gf":return k;case"gs":return g;case"st":return M;case"sh":case"el":case"rc":case"sr":return v;case"tr":return h;case"no":return c;default:return null}}function h(H,T,R){(R||T.transform.op._mdf)&&T.transform.container.setAttribute("opacity",T.transform.op.v),(R||T.transform.mProps._mdf)&&T.transform.container.setAttribute("transform",T.transform.mProps.v.to2dCSS())}function c(){}function v(H,T,R){var D,O,z,N,I,E,A=T.styles.length,w=T.lvl,$,U,Y,J;for(E=0;E<A;E+=1){if(N=T.sh._mdf||R,T.styles[E].lvl<w){for(U=r.reset(),Y=w-T.styles[E].lvl,J=T.transformers.length-1;!N&&Y>0;)N=T.transformers[J].mProps._mdf||N,Y-=1,J-=1;if(N)for(Y=w-T.styles[E].lvl,J=T.transformers.length-1;Y>0;)U.multiply(T.transformers[J].mProps.v),Y-=1,J-=1}else U=e;if($=T.sh.paths,O=$._length,N){for(z="",D=0;D<O;D+=1)I=$.shapes[D],I&&I._length&&(z+=Wp(I,I._length,I.c,U));T.caches[E]=z}else z=T.caches[E];T.styles[E].d+=H.hd===!0?"":z,T.styles[E]._mdf=N||T.styles[E]._mdf}}function x(H,T,R){var D=T.style;(T.c._mdf||R)&&D.pElem.setAttribute("fill","rgb("+le(T.c.v[0])+","+le(T.c.v[1])+","+le(T.c.v[2])+")"),(T.o._mdf||R)&&D.pElem.setAttribute("fill-opacity",T.o.v)}function g(H,T,R){k(H,T,R),M(H,T,R)}function k(H,T,R){var D=T.gf,O=T.g._hasOpacity,z=T.s.v,N=T.e.v;if(T.o._mdf||R){var I=H.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(I,T.o.v)}if(T.s._mdf||R){var E=H.t===1?"x1":"cx",A=E==="x1"?"y1":"cy";D.setAttribute(E,z[0]),D.setAttribute(A,z[1]),O&&!T.g._collapsable&&(T.of.setAttribute(E,z[0]),T.of.setAttribute(A,z[1]))}var w,$,U,Y;if(T.g._cmdf||R){w=T.cst;var J=T.g.c;for(U=w.length,$=0;$<U;$+=1)Y=w[$],Y.setAttribute("offset",J[$*4]+"%"),Y.setAttribute("stop-color","rgb("+J[$*4+1]+","+J[$*4+2]+","+J[$*4+3]+")")}if(O&&(T.g._omdf||R)){var yt=T.g.o;for(T.g._collapsable?w=T.cst:w=T.ost,U=w.length,$=0;$<U;$+=1)Y=w[$],T.g._collapsable||Y.setAttribute("offset",yt[$*2]+"%"),Y.setAttribute("stop-opacity",yt[$*2+1])}if(H.t===1)(T.e._mdf||R)&&(D.setAttribute("x2",N[0]),D.setAttribute("y2",N[1]),O&&!T.g._collapsable&&(T.of.setAttribute("x2",N[0]),T.of.setAttribute("y2",N[1])));else{var pt;if((T.s._mdf||T.e._mdf||R)&&(pt=Math.sqrt(Math.pow(z[0]-N[0],2)+Math.pow(z[1]-N[1],2)),D.setAttribute("r",pt),O&&!T.g._collapsable&&T.of.setAttribute("r",pt)),T.e._mdf||T.h._mdf||T.a._mdf||R){pt||(pt=Math.sqrt(Math.pow(z[0]-N[0],2)+Math.pow(z[1]-N[1],2)));var ot=Math.atan2(N[1]-z[1],N[0]-z[0]),xt=T.h.v;xt>=1?xt=.99:xt<=-1&&(xt=-.99);var ct=pt*xt,Z=Math.cos(ot+T.a.v)*ct+z[0],S=Math.sin(ot+T.a.v)*ct+z[1];D.setAttribute("fx",Z),D.setAttribute("fy",S),O&&!T.g._collapsable&&(T.of.setAttribute("fx",Z),T.of.setAttribute("fy",S))}}}function M(H,T,R){var D=T.style,O=T.d;O&&(O._mdf||R)&&O.dashStr&&(D.pElem.setAttribute("stroke-dasharray",O.dashStr),D.pElem.setAttribute("stroke-dashoffset",O.dashoffset[0])),T.c&&(T.c._mdf||R)&&D.pElem.setAttribute("stroke","rgb("+le(T.c.v[0])+","+le(T.c.v[1])+","+le(T.c.v[2])+")"),(T.o._mdf||R)&&D.pElem.setAttribute("stroke-opacity",T.o.v),(T.w._mdf||R)&&(D.pElem.setAttribute("stroke-width",T.w.v),D.msElem&&D.msElem.setAttribute("stroke-width",T.w.v))}return s}();function jt(e,r,s){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,r,s),this.prevViewData=[]}L([Ei,Ho,ea,$p,Go,Ti,ra],jt),jt.prototype.initSecondaryElement=function(){},jt.prototype.identityMatrix=new ue,jt.prototype.buildExpressionInterface=function(){},jt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},jt.prototype.filterUniqueShapes=function(){var e,r=this.shapes.length,s,l,h=this.stylesList.length,c,v=[],x=!1;for(l=0;l<h;l+=1){for(c=this.stylesList[l],x=!1,v.length=0,e=0;e<r;e+=1)s=this.shapes[e],s.styles.indexOf(c)!==-1&&(v.push(s),x=s._isAnimated||x);v.length>1&&x&&this.setShapesAsAnimated(v)}},jt.prototype.setShapesAsAnimated=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r].setAsAnimated()},jt.prototype.createStyleElement=function(e,r){var s,l=new Bp(e,r),h=l.pElem;if(e.ty==="st")s=new Up(this,e,l);else if(e.ty==="fl")s=new Hp(this,e,l);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?Yo:Yp;s=new c(this,e,l),this.globalData.defs.appendChild(s.gf),s.maskId&&(this.globalData.defs.appendChild(s.ms),this.globalData.defs.appendChild(s.of),h.setAttribute("mask","url("+b()+"#"+s.maskId+")"))}else e.ty==="no"&&(s=new Gp(this,e,l));return(e.ty==="st"||e.ty==="gs")&&(h.setAttribute("stroke-linecap",Fp[e.lc||2]),h.setAttribute("stroke-linejoin",zp[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"]=Nd(e.bm)),this.stylesList.push(l),this.addToAnimatedContents(e,s),s},jt.prototype.createGroupElement=function(e){var r=new zb;return e.ln&&r.gr.setAttribute("id",e.ln),e.cl&&r.gr.setAttribute("class",e.cl),e.bm&&(r.gr.style["mix-blend-mode"]=Nd(e.bm)),r},jt.prototype.createTransformElement=function(e,r){var s=_d.getTransformProperty(this,e,this),l=new Vb(s,s.o,r);return this.addToAnimatedContents(e,l),l},jt.prototype.createShapeElement=function(e,r,s){var l=4;e.ty==="rc"?l=5:e.ty==="el"?l=6:e.ty==="sr"&&(l=7);var h=Tn.getShapeProp(this,e,l,this),c=new Vp(r,s,h);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(e,c),c},jt.prototype.addToAnimatedContents=function(e,r){for(var s=0,l=this.animatedContents.length;s<l;){if(this.animatedContents[s].element===r)return;s+=1}this.animatedContents.push({fn:Bb.createRenderFunction(e),element:r,data:e})},jt.prototype.setElementStyles=function(e){var r=e.styles,s,l=this.stylesList.length;for(s=0;s<l;s+=1)this.stylesList[s].closed||r.push(this.stylesList[s])},jt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,r=this.itemsData.length;for(e=0;e<r;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),r=this.dynamicProperties.length,e=0;e<r;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},jt.prototype.searchShapes=function(e,r,s,l,h,c,v){var x=[].concat(c),g,k=e.length-1,M,H,T=[],R=[],D,O,z;for(g=k;g>=0;g-=1){if(z=this.searchProcessedElement(e[g]),z?r[g]=s[z-1]:e[g]._render=v,e[g].ty==="fl"||e[g].ty==="st"||e[g].ty==="gf"||e[g].ty==="gs"||e[g].ty==="no")z?r[g].style.closed=!1:r[g]=this.createStyleElement(e[g],h),e[g]._render&&r[g].style.pElem.parentNode!==l&&l.appendChild(r[g].style.pElem),T.push(r[g].style);else if(e[g].ty==="gr"){if(!z)r[g]=this.createGroupElement(e[g]);else for(H=r[g].it.length,M=0;M<H;M+=1)r[g].prevViewData[M]=r[g].it[M];this.searchShapes(e[g].it,r[g].it,r[g].prevViewData,r[g].gr,h+1,x,v),e[g]._render&&r[g].gr.parentNode!==l&&l.appendChild(r[g].gr)}else e[g].ty==="tr"?(z||(r[g]=this.createTransformElement(e[g],l)),D=r[g].transform,x.push(D)):e[g].ty==="sh"||e[g].ty==="rc"||e[g].ty==="el"||e[g].ty==="sr"?(z||(r[g]=this.createShapeElement(e[g],x,h)),this.setElementStyles(r[g])):e[g].ty==="tm"||e[g].ty==="rd"||e[g].ty==="ms"||e[g].ty==="pb"||e[g].ty==="zz"||e[g].ty==="op"?(z?(O=r[g],O.closed=!1):(O=bi.getModifier(e[g].ty),O.init(this,e[g]),r[g]=O,this.shapeModifiers.push(O)),R.push(O)):e[g].ty==="rp"&&(z?(O=r[g],O.closed=!0):(O=bi.getModifier(e[g].ty),r[g]=O,O.init(this,e,g,r),this.shapeModifiers.push(O),v=!1),R.push(O));this.addProcessedElement(e[g],g+1)}for(k=T.length,g=0;g<k;g+=1)T[g].closed=!0;for(k=R.length,g=0;g<k;g+=1)R[g].closed=!0},jt.prototype.renderInnerContent=function(){this.renderModifiers();var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<r;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},jt.prototype.renderShape=function(){var e,r=this.animatedContents.length,s;for(e=0;e<r;e+=1)s=this.animatedContents[e],(this._isFirstFrame||s.element._isAnimated)&&s.data!==!0&&s.fn(s.data,s.element,this._isFirstFrame)},jt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Md(e,r,s,l,h,c){this.o=e,this.sw=r,this.sc=s,this.fc=l,this.m=h,this.p=c,this._mdf={o:!0,sw:!!r,sc:!!s,fc:!!l,m:!0,p:!0}}Md.prototype.update=function(e,r,s,l,h,c){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var v=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,v=!0),this.sw!==r&&(this.sw=r,this._mdf.sw=!0,v=!0),this.sc!==s&&(this.sc=s,this._mdf.sc=!0,v=!0),this.fc!==l&&(this.fc=l,this._mdf.fc=!0,v=!0),this.m!==h&&(this.m=h,this._mdf.m=!0,v=!0),c.length&&(this.p[0]!==c[0]||this.p[1]!==c[1]||this.p[4]!==c[4]||this.p[5]!==c[5]||this.p[12]!==c[12]||this.p[13]!==c[13])&&(this.p=c,this._mdf.p=!0,v=!0),v};function Ae(e,r){this._frameId=i,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,r.d&&r.d.sid&&(r.d=e.globalData.slotManager.getProp(r.d)),this.data=r,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}Ae.prototype.defaultBoxWidth=[0,0],Ae.prototype.copyData=function(e,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},Ae.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},Ae.prototype.searchProperty=function(){return this.searchKeyframes()},Ae.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Ae.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},Ae.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var r=this.currentData,s=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var l,h=this.effectsSequence.length,c=e||this.data.d.k[this.keysIndex].s;for(l=0;l<h;l+=1)s!==this.keysIndex?c=this.effectsSequence[l](c,c.t):c=this.effectsSequence[l](this.currentData,c.t);r!==c&&this.setCurrentData(c),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},Ae.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,r=this.elem.comp.renderedFrame,s=0,l=e.length;s<=l-1&&!(s===l-1||e[s+1].t>r);)s+=1;return this.keysIndex!==s&&(this.keysIndex=s),this.data.d.k[this.keysIndex].s},Ae.prototype.buildFinalText=function(e){for(var r=[],s=0,l=e.length,h,c,v=!1,x=!1,g="";s<l;)v=x,x=!1,h=e.charCodeAt(s),g=e.charAt(s),Zi.isCombinedCharacter(h)?v=!0:h>=55296&&h<=56319?Zi.isRegionalFlag(e,s)?g=e.substr(s,14):(c=e.charCodeAt(s+1),c>=56320&&c<=57343&&(Zi.isModifier(h,c)?(g=e.substr(s,2),v=!0):Zi.isFlagEmoji(e.substr(s,4))?g=e.substr(s,4):g=e.substr(s,2))):h>56319?(c=e.charCodeAt(s+1),Zi.isVariationSelector(h)&&(v=!0)):Zi.isZeroWidthJoiner(h)&&(v=!0,x=!0),v?(r[r.length-1]+=g,v=!1):r.push(g),s+=g.length;return r},Ae.prototype.completeTextData=function(e){e.__complete=!0;var r=this.elem.globalData.fontManager,s=this.data,l=[],h,c,v,x=0,g,k=s.m.g,M=0,H=0,T=0,R=[],D=0,O=0,z,N,I=r.getFontByName(e.f),E,A=0,w=Mp(I);e.fWeight=w.weight,e.fStyle=w.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),c=e.finalText.length,e.finalLineHeight=e.lh;var $=e.tr/1e3*e.finalSize,U;if(e.sz)for(var Y=!0,J=e.sz[0],yt=e.sz[1],pt,ot;Y;){ot=this.buildFinalText(e.t),pt=0,D=0,c=ot.length,$=e.tr/1e3*e.finalSize;var xt=-1;for(h=0;h<c;h+=1)U=ot[h].charCodeAt(0),v=!1,ot[h]===" "?xt=h:(U===13||U===3)&&(D=0,v=!0,pt+=e.finalLineHeight||e.finalSize*1.2),r.chars?(E=r.getCharData(ot[h],I.fStyle,I.fFamily),A=v?0:E.w*e.finalSize/100):A=r.measureText(ot[h],e.f,e.finalSize),D+A>J&&ot[h]!==" "?(xt===-1?c+=1:h=xt,pt+=e.finalLineHeight||e.finalSize*1.2,ot.splice(h,xt===h?1:0,"\r"),xt=-1,D=0):(D+=A,D+=$);pt+=I.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&yt<pt?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=ot,c=e.finalText.length,Y=!1)}D=-$,A=0;var ct=0,Z;for(h=0;h<c;h+=1)if(v=!1,Z=e.finalText[h],U=Z.charCodeAt(0),U===13||U===3?(ct=0,R.push(D),O=D>O?D:O,D=-2*$,g="",v=!0,T+=1):g=Z,r.chars?(E=r.getCharData(Z,I.fStyle,r.getFontByName(e.f).fFamily),A=v?0:E.w*e.finalSize/100):A=r.measureText(g,e.f,e.finalSize),Z===" "?ct+=A+$:(D+=A+$+ct,ct=0),l.push({l:A,an:A,add:M,n:v,anIndexes:[],val:g,line:T,animatorJustifyOffset:0}),k==2){if(M+=A,g===""||g===" "||h===c-1){for((g===""||g===" ")&&(M-=A);H<=h;)l[H].an=M,l[H].ind=x,l[H].extra=A,H+=1;x+=1,M=0}}else if(k==3){if(M+=A,g===""||h===c-1){for(g===""&&(M-=A);H<=h;)l[H].an=M,l[H].ind=x,l[H].extra=A,H+=1;M=0,x+=1}}else l[x].ind=x,l[x].extra=0,x+=1;if(e.l=l,O=D>O?D:O,R.push(D),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=O,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=R;var S=s.a,P,f;N=S.length;var y,G,F=[];for(z=0;z<N;z+=1){for(P=S[z],P.a.sc&&(e.strokeColorAnim=!0),P.a.sw&&(e.strokeWidthAnim=!0),(P.a.fc||P.a.fh||P.a.fs||P.a.fb)&&(e.fillColorAnim=!0),G=0,y=P.s.b,h=0;h<c;h+=1)f=l[h],f.anIndexes[z]=G,(y==1&&f.val!==""||y==2&&f.val!==""&&f.val!==" "||y==3&&(f.n||f.val==" "||h==c-1)||y==4&&(f.n||h==c-1))&&(P.s.rn===1&&F.push(G),G+=1);s.a[z].s.totalChars=G;var nt=-1,ft;if(P.s.rn===1)for(h=0;h<c;h+=1)f=l[h],nt!=f.anIndexes[z]&&(nt=f.anIndexes[z],ft=F.splice(Math.floor(Math.random()*F.length),1)[0]),f.anIndexes[z]=ft}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=I.ascent*e.finalSize/100},Ae.prototype.updateDocumentData=function(e,r){r=r===void 0?this.keysIndex:r;var s=this.copyData({},this.data.d.k[r].s);s=this.copyData(s,e),this.data.d.k[r].s=s,this.recalculate(r),this.setCurrentData(s),this.elem.addDynamicProperty(this)},Ae.prototype.recalculate=function(e){var r=this.data.d.k[e].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},Ae.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},Ae.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Ub=function(){var e=Math.max,r=Math.min,s=Math.floor;function l(c,v){this._currentTextLength=-1,this.k=!1,this.data=v,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=at.getProp(c,v.s||{k:0},0,0,this),"e"in v?this.e=at.getProp(c,v.e,0,0,this):this.e={v:100},this.o=at.getProp(c,v.o||{k:0},0,0,this),this.xe=at.getProp(c,v.xe||{k:0},0,0,this),this.ne=at.getProp(c,v.ne||{k:0},0,0,this),this.sm=at.getProp(c,v.sm||{k:100},0,0,this),this.a=at.getProp(c,v.a,0,.01,this),this.dynamicProperties.length||this.getValue()}l.prototype={getMult:function(v){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var x=0,g=0,k=1,M=1;this.ne.v>0?x=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?k=1-this.xe.v/100:M=1+this.xe.v/100;var H=js.getBezierEasing(x,g,k,M).get,T=0,R=this.finalS,D=this.finalE,O=this.data.sh;if(O===2)D===R?T=v>=D?1:0:T=e(0,r(.5/(D-R)+(v-R)/(D-R),1)),T=H(T);else if(O===3)D===R?T=v>=D?0:1:T=1-e(0,r(.5/(D-R)+(v-R)/(D-R),1)),T=H(T);else if(O===4)D===R?T=0:(T=e(0,r(.5/(D-R)+(v-R)/(D-R),1)),T<.5?T*=2:T=1-2*(T-.5)),T=H(T);else if(O===5){if(D===R)T=0;else{var z=D-R;v=r(e(0,v+.5-R),D-R);var N=-z/2+v,I=z/2;T=Math.sqrt(1-N*N/(I*I))}T=H(T)}else O===6?(D===R?T=0:(v=r(e(0,v+.5-R),D-R),T=(1+Math.cos(Math.PI+Math.PI*2*v/(D-R)))/2),T=H(T)):(v>=s(R)&&(v-R<0?T=e(0,r(r(D,1)-(R-v),1)):T=e(0,r(D-v,1))),T=H(T));if(this.sm.v!==100){var E=this.sm.v*.01;E===0&&(E=1e-8);var A=.5-E*.5;T<A?T=0:(T=(T-A)/E,T>1&&(T=1))}return T*this.a.v},getValue:function(v){this.iterateDynamicProperties(),this._mdf=v||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,v&&this.data.r===2&&(this.e.v=this._currentTextLength);var x=this.data.r===2?1:100/this.data.totalChars,g=this.o.v/x,k=this.s.v/x+g,M=this.e.v/x+g;if(k>M){var H=k;k=M,M=H}this.finalS=k,this.finalE=M}},L([de],l);function h(c,v,x){return new l(c,v,x)}return{getTextSelectorProp:h}}();function Hb(e,r,s){var l={propType:!1},h=at.getProp,c=r.a;this.a={r:c.r?h(e,c.r,0,Ct,s):l,rx:c.rx?h(e,c.rx,0,Ct,s):l,ry:c.ry?h(e,c.ry,0,Ct,s):l,sk:c.sk?h(e,c.sk,0,Ct,s):l,sa:c.sa?h(e,c.sa,0,Ct,s):l,s:c.s?h(e,c.s,1,.01,s):l,a:c.a?h(e,c.a,1,0,s):l,o:c.o?h(e,c.o,0,.01,s):l,p:c.p?h(e,c.p,1,0,s):l,sw:c.sw?h(e,c.sw,0,0,s):l,sc:c.sc?h(e,c.sc,1,0,s):l,fc:c.fc?h(e,c.fc,1,0,s):l,fh:c.fh?h(e,c.fh,0,0,s):l,fs:c.fs?h(e,c.fs,0,.01,s):l,fb:c.fb?h(e,c.fb,0,.01,s):l,t:c.t?h(e,c.t,0,0,s):l},this.s=Ub.getTextSelectorProp(e,r.s,s),this.s.t=r.s.t}function Ji(e,r,s){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=r,this._elem=s,this._animatorsData=tt(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(s)}Ji.prototype.searchProperties=function(){var e,r=this._textData.a.length,s,l=at.getProp;for(e=0;e<r;e+=1)s=this._textData.a[e],this._animatorsData[e]=new Hb(this._elem,s,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:l(this._elem,this._textData.p.a,0,0,this),f:l(this._elem,this._textData.p.f,0,0,this),l:l(this._elem,this._textData.p.l,0,0,this),r:l(this._elem,this._textData.p.r,0,0,this),p:l(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=l(this._elem,this._textData.m.a,1,0,this)},Ji.prototype.getMeasures=function(e,r){if(this.lettersChangedFlag=r,!(!this._mdf&&!this._isFirstFrame&&!r&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var s=this._moreOptions.alignment.v,l=this._animatorsData,h=this._textData,c=this.mHelper,v=this._renderType,x=this.renderedLetters.length,g,k,M,H,T=e.l,R,D,O,z,N,I,E,A,w,$,U,Y,J,yt,pt;if(this._hasMaskedPath){if(pt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var ot=pt.v;this._pathData.r.v&&(ot=ot.reverse()),R={tLength:0,segments:[]},H=ot._length-1;var xt;for(Y=0,M=0;M<H;M+=1)xt=Cr.buildBezierData(ot.v[M],ot.v[M+1],[ot.o[M][0]-ot.v[M][0],ot.o[M][1]-ot.v[M][1]],[ot.i[M+1][0]-ot.v[M+1][0],ot.i[M+1][1]-ot.v[M+1][1]]),R.tLength+=xt.segmentLength,R.segments.push(xt),Y+=xt.segmentLength;M=H,pt.v.c&&(xt=Cr.buildBezierData(ot.v[M],ot.v[0],[ot.o[M][0]-ot.v[M][0],ot.o[M][1]-ot.v[M][1]],[ot.i[0][0]-ot.v[0][0],ot.i[0][1]-ot.v[0][1]]),R.tLength+=xt.segmentLength,R.segments.push(xt),Y+=xt.segmentLength),this._pathData.pi=R}if(R=this._pathData.pi,D=this._pathData.f.v,E=0,I=1,z=0,N=!0,$=R.segments,D<0&&pt.v.c)for(R.tLength<Math.abs(D)&&(D=-Math.abs(D)%R.tLength),E=$.length-1,w=$[E].points,I=w.length-1;D<0;)D+=w[I].partialLength,I-=1,I<0&&(E-=1,w=$[E].points,I=w.length-1);w=$[E].points,A=w[I-1],O=w[I],U=O.partialLength}H=T.length,g=0,k=0;var ct=e.finalSize*1.2*.714,Z=!0,S,P,f,y,G;y=l.length;var F,nt=-1,ft,Et,Nt,Lt=D,Jt=E,Me=I,wr=-1,Re,ce,Ve,Pt,ht,jr,Si,Kr,Nr="",qr=this.defaultPropsArray,Xr;if(e.j===2||e.j===1){var Oe=0,_i=0,Ii=e.j===2?-.5:-1,br=0,Ci=!0;for(M=0;M<H;M+=1)if(T[M].n){for(Oe&&(Oe+=_i);br<M;)T[br].animatorJustifyOffset=Oe,br+=1;Oe=0,Ci=!0}else{for(f=0;f<y;f+=1)S=l[f].a,S.t.propType&&(Ci&&e.j===2&&(_i+=S.t.v*Ii),P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),F.length?Oe+=S.t.v*F[0]*Ii:Oe+=S.t.v*F*Ii);Ci=!1}for(Oe&&(Oe+=_i);br<M;)T[br].animatorJustifyOffset=Oe,br+=1}for(M=0;M<H;M+=1){if(c.reset(),Re=1,T[M].n)g=0,k+=e.yOffset,k+=Z?1:0,D=Lt,Z=!1,this._hasMaskedPath&&(E=Jt,I=Me,w=$[E].points,A=w[I-1],O=w[I],U=O.partialLength,z=0),Nr="",Kr="",jr="",Xr="",qr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(wr!==T[M].line){switch(e.j){case 1:D+=Y-e.lineWidths[T[M].line];break;case 2:D+=(Y-e.lineWidths[T[M].line])/2;break;default:break}wr=T[M].line}nt!==T[M].ind&&(T[nt]&&(D+=T[nt].extra),D+=T[M].an/2,nt=T[M].ind),D+=s[0]*T[M].an*.005;var yr=0;for(f=0;f<y;f+=1)S=l[f].a,S.p.propType&&(P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),F.length?yr+=S.p.v[0]*F[0]:yr+=S.p.v[0]*F),S.a.propType&&(P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),F.length?yr+=S.a.v[0]*F[0]:yr+=S.a.v[0]*F);for(N=!0,this._pathData.a.v&&(D=T[0].an*.5+(Y-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*nt/(H-1),D+=this._pathData.f.v);N;)z+U>=D+yr||!w?(J=(D+yr-z)/O.partialLength,Et=A.point[0]+(O.point[0]-A.point[0])*J,Nt=A.point[1]+(O.point[1]-A.point[1])*J,c.translate(-s[0]*T[M].an*.005,-(s[1]*ct)*.01),N=!1):w&&(z+=O.partialLength,I+=1,I>=w.length&&(I=0,E+=1,$[E]?w=$[E].points:pt.v.c?(I=0,E=0,w=$[E].points):(z-=O.partialLength,w=null)),w&&(A=O,O=w[I],U=O.partialLength));ft=T[M].an/2-T[M].add,c.translate(-ft,0,0)}else ft=T[M].an/2-T[M].add,c.translate(-ft,0,0),c.translate(-s[0]*T[M].an*.005,-s[1]*ct*.01,0);for(f=0;f<y;f+=1)S=l[f].a,S.t.propType&&(P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),(g!==0||e.j!==0)&&(this._hasMaskedPath?F.length?D+=S.t.v*F[0]:D+=S.t.v*F:F.length?g+=S.t.v*F[0]:g+=S.t.v*F));for(e.strokeWidthAnim&&(Ve=e.sw||0),e.strokeColorAnim&&(e.sc?ce=[e.sc[0],e.sc[1],e.sc[2]]:ce=[0,0,0]),e.fillColorAnim&&e.fc&&(Pt=[e.fc[0],e.fc[1],e.fc[2]]),f=0;f<y;f+=1)S=l[f].a,S.a.propType&&(P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),F.length?c.translate(-S.a.v[0]*F[0],-S.a.v[1]*F[1],S.a.v[2]*F[2]):c.translate(-S.a.v[0]*F,-S.a.v[1]*F,S.a.v[2]*F));for(f=0;f<y;f+=1)S=l[f].a,S.s.propType&&(P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),F.length?c.scale(1+(S.s.v[0]-1)*F[0],1+(S.s.v[1]-1)*F[1],1):c.scale(1+(S.s.v[0]-1)*F,1+(S.s.v[1]-1)*F,1));for(f=0;f<y;f+=1){if(S=l[f].a,P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),S.sk.propType&&(F.length?c.skewFromAxis(-S.sk.v*F[0],S.sa.v*F[1]):c.skewFromAxis(-S.sk.v*F,S.sa.v*F)),S.r.propType&&(F.length?c.rotateZ(-S.r.v*F[2]):c.rotateZ(-S.r.v*F)),S.ry.propType&&(F.length?c.rotateY(S.ry.v*F[1]):c.rotateY(S.ry.v*F)),S.rx.propType&&(F.length?c.rotateX(S.rx.v*F[0]):c.rotateX(S.rx.v*F)),S.o.propType&&(F.length?Re+=(S.o.v*F[0]-Re)*F[0]:Re+=(S.o.v*F-Re)*F),e.strokeWidthAnim&&S.sw.propType&&(F.length?Ve+=S.sw.v*F[0]:Ve+=S.sw.v*F),e.strokeColorAnim&&S.sc.propType)for(ht=0;ht<3;ht+=1)F.length?ce[ht]+=(S.sc.v[ht]-ce[ht])*F[0]:ce[ht]+=(S.sc.v[ht]-ce[ht])*F;if(e.fillColorAnim&&e.fc){if(S.fc.propType)for(ht=0;ht<3;ht+=1)F.length?Pt[ht]+=(S.fc.v[ht]-Pt[ht])*F[0]:Pt[ht]+=(S.fc.v[ht]-Pt[ht])*F;S.fh.propType&&(F.length?Pt=sp(Pt,S.fh.v*F[0]):Pt=sp(Pt,S.fh.v*F)),S.fs.propType&&(F.length?Pt=ip(Pt,S.fs.v*F[0]):Pt=ip(Pt,S.fs.v*F)),S.fb.propType&&(F.length?Pt=op(Pt,S.fb.v*F[0]):Pt=op(Pt,S.fb.v*F))}}for(f=0;f<y;f+=1)S=l[f].a,S.p.propType&&(P=l[f].s,F=P.getMult(T[M].anIndexes[f],h.a[f].s.totalChars),this._hasMaskedPath?F.length?c.translate(0,S.p.v[1]*F[0],-S.p.v[2]*F[1]):c.translate(0,S.p.v[1]*F,-S.p.v[2]*F):F.length?c.translate(S.p.v[0]*F[0],S.p.v[1]*F[1],-S.p.v[2]*F[2]):c.translate(S.p.v[0]*F,S.p.v[1]*F,-S.p.v[2]*F));if(e.strokeWidthAnim&&(jr=Ve<0?0:Ve),e.strokeColorAnim&&(Si="rgb("+Math.round(ce[0]*255)+","+Math.round(ce[1]*255)+","+Math.round(ce[2]*255)+")"),e.fillColorAnim&&e.fc&&(Kr="rgb("+Math.round(Pt[0]*255)+","+Math.round(Pt[1]*255)+","+Math.round(Pt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-e.ls),c.translate(0,s[1]*ct*.01+k,0),this._pathData.p.v){yt=(O.point[1]-A.point[1])/(O.point[0]-A.point[0]);var to=Math.atan(yt)*180/Math.PI;O.point[0]<A.point[0]&&(to+=180),c.rotate(-to*Math.PI/180)}c.translate(Et,Nt,0),D-=s[0]*T[M].an*.005,T[M+1]&&nt!==T[M+1].ind&&(D+=T[M].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[M].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[M].line]),0,0);break;case 2:c.translate(T[M].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[M].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(ft,0,0),c.translate(s[0]*T[M].an*.005,s[1]*ct*.01,0),g+=T[M].l+e.tr*.001*e.finalSize}v==="html"?Nr=c.toCSS():v==="svg"?Nr=c.to2dCSS():qr=[c.props[0],c.props[1],c.props[2],c.props[3],c.props[4],c.props[5],c.props[6],c.props[7],c.props[8],c.props[9],c.props[10],c.props[11],c.props[12],c.props[13],c.props[14],c.props[15]],Xr=Re}x<=M?(G=new Md(Xr,jr,Si,Kr,Nr,qr),this.renderedLetters.push(G),x+=1,this.lettersChangedFlag=!0):(G=this.renderedLetters[M],this.lettersChangedFlag=G.update(Xr,jr,Si,Kr,Nr,qr)||this.lettersChangedFlag)}}},Ji.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Ji.prototype.mHelper=new ue,Ji.prototype.defaultPropsArray=[],L([de],Ji);function Je(){}Je.prototype.initElement=function(e,r,s){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,r,s),this.textProperty=new Ae(this,e.t,this.dynamicProperties),this.textAnimator=new Ji(e.t,this.renderType,this),this.initTransform(e,r,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Je.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},Je.prototype.createPathShape=function(e,r){var s,l=r.length,h,c="";for(s=0;s<l;s+=1)r[s].ty==="sh"&&(h=r[s].ks.k,c+=Wp(h,h.i.length,!0,e));return c},Je.prototype.updateDocumentData=function(e,r){this.textProperty.updateDocumentData(e,r)},Je.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},Je.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},Je.prototype.applyTextPropertiesToMatrix=function(e,r,s,l,h){switch(e.ps&&r.translate(e.ps[0],e.ps[1]+e.ascent,0),r.translate(0,-e.ls,0),e.j){case 1:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s]),0,0);break;case 2:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s])/2,0,0);break;default:break}r.translate(l,h,0)},Je.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},Je.prototype.emptyProp=new Md,Je.prototype.destroy=function(){},Je.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var Gb={shapes:[]};function Yr(e,r,s){this.textSpans=[],this.renderType="svg",this.initElement(e,r,s)}L([Ei,Ho,ea,Go,Ti,ra,Je],Yr),Yr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Tt("text"))},Yr.prototype.buildTextContents=function(e){for(var r=0,s=e.length,l=[],h="";r<s;)e[r]==="\r"||e[r]===""?(l.push(h),h=""):h+=e[r],r+=1;return l.push(h),l},Yr.prototype.buildShapeData=function(e,r){if(e.shapes&&e.shapes.length){var s=e.shapes[0];if(s.it){var l=s.it[s.it.length-1];l.s&&(l.s.k[0]=r,l.s.k[1]=r)}}return e},Yr.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,r,s=this.textProperty.currentData;this.renderedLetters=tt(s?s.l.length:0),s.fc?this.layerElement.setAttribute("fill",this.buildColor(s.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),s.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(s.sc)),this.layerElement.setAttribute("stroke-width",s.sw)),this.layerElement.setAttribute("font-size",s.finalSize);var l=this.globalData.fontManager.getFontByName(s.f);if(l.fClass)this.layerElement.setAttribute("class",l.fClass);else{this.layerElement.setAttribute("font-family",l.fFamily);var h=s.fWeight,c=s.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",h)}this.layerElement.setAttribute("aria-label",s.t);var v=s.l||[],x=!!this.globalData.fontManager.chars;r=v.length;var g,k=this.mHelper,M="",H=this.data.singleShape,T=0,R=0,D=!0,O=s.tr*.001*s.finalSize;if(H&&!x&&!s.sz){var z=this.textContainer,N="start";switch(s.j){case 1:N="end";break;case 2:N="middle";break;default:N="start";break}z.setAttribute("text-anchor",N),z.setAttribute("letter-spacing",O);var I=this.buildTextContents(s.finalText);for(r=I.length,R=s.ps?s.ps[1]+s.ascent:0,e=0;e<r;e+=1)g=this.textSpans[e].span||Tt("tspan"),g.textContent=I[e],g.setAttribute("x",0),g.setAttribute("y",R),g.style.display="inherit",z.appendChild(g),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=g,R+=s.finalLineHeight;this.layerElement.appendChild(z)}else{var E=this.textSpans.length,A;for(e=0;e<r;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!x||!H||e===0){if(g=E>e?this.textSpans[e].span:Tt(x?"g":"text"),E<=e){if(g.setAttribute("stroke-linecap","butt"),g.setAttribute("stroke-linejoin","round"),g.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=g,x){var w=Tt("g");g.appendChild(w),this.textSpans[e].childSpan=w}this.textSpans[e].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(k.reset(),H&&(v[e].n&&(T=-O,R+=s.yOffset,R+=D?1:0,D=!1),this.applyTextPropertiesToMatrix(s,k,v[e].line,T,R),T+=v[e].l||0,T+=O),x){A=this.globalData.fontManager.getCharData(s.finalText[e],l.fStyle,this.globalData.fontManager.getFontByName(s.f).fFamily);var $;if(A.t===1)$=new sa(A.data,this.globalData,this);else{var U=Gb;A.data&&A.data.shapes&&(U=this.buildShapeData(A.data,s.finalSize)),$=new jt(U,this.globalData,this)}if(this.textSpans[e].glyph){var Y=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(Y.layerElement),Y.destroy()}this.textSpans[e].glyph=$,$._debug=!0,$.prepareFrame(0),$.renderFrame(),this.textSpans[e].childSpan.appendChild($.layerElement),A.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+s.finalSize/100+","+s.finalSize/100+")")}else H&&g.setAttribute("transform","translate("+k.props[12]+","+k.props[13]+")"),g.textContent=v[e].val,g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}H&&g&&g.setAttribute("d",M)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},Yr.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},Yr.prototype.getValue=function(){var e,r=this.textSpans.length,s;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)s=this.textSpans[e].glyph,s&&(s.prepareFrame(this.comp.renderedFrame-this.data.st),s._mdf&&(this._mdf=!0))},Yr.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,r,s=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;r=l.length;var h,c,v;for(e=0;e<r;e+=1)l[e].n||(h=s[e],c=this.textSpans[e].span,v=this.textSpans[e].glyph,v&&v.renderFrame(),h._mdf.m&&c.setAttribute("transform",h.m),h._mdf.o&&c.setAttribute("opacity",h.o),h._mdf.sw&&c.setAttribute("stroke-width",h.sw),h._mdf.sc&&c.setAttribute("stroke",h.sc),h._mdf.fc&&c.setAttribute("fill",h.fc))}};function Rd(e,r,s){this.initElement(e,r,s)}L([ia],Rd),Rd.prototype.createContent=function(){var e=Tt("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function Ai(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initFrame(),this.initTransform(e,r,s),this.initHierarchy()}Ai.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},Ai.prototype.renderFrame=function(){},Ai.prototype.getBaseElement=function(){return null},Ai.prototype.destroy=function(){},Ai.prototype.sourceRectAtTime=function(){},Ai.prototype.hide=function(){},L([Ei,Ho,Go,Ti],Ai);function re(){}L([fe],re),re.prototype.createNull=function(e){return new Ai(e,this.globalData,this)},re.prototype.createShape=function(e){return new jt(e,this.globalData,this)},re.prototype.createText=function(e){return new Yr(e,this.globalData,this)},re.prototype.createImage=function(e){return new ia(e,this.globalData,this)},re.prototype.createSolid=function(e){return new Rd(e,this.globalData,this)},re.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var r=this.globalData.defs;this.setupGlobalData(e,r),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var s=Tt("clipPath"),l=Tt("rect");l.setAttribute("width",e.w),l.setAttribute("height",e.h),l.setAttribute("x",0),l.setAttribute("y",0);var h=Ne();s.setAttribute("id",h),s.appendChild(l),this.layerElement.setAttribute("clip-path","url("+b()+"#"+h+")"),r.appendChild(s),this.layers=e.layers,this.elements=tt(e.layers.length)},re.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,r=this.layers?this.layers.length:0;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},re.prototype.updateContainerSize=function(){},re.prototype.findIndexByInd=function(e){var r=0,s=this.layers.length;for(r=0;r<s;r+=1)if(this.layers[r].ind===e)return r;return-1},re.prototype.buildItem=function(e){var r=this.elements;if(!(r[e]||this.layers[e].ty===99)){r[e]=!0;var s=this.createItem(this.layers[e]);if(r[e]=s,un()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(s),s.initExpressions()),this.appendElementInPos(s,e),this.layers[e].tt){var l="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(l===-1)return;if(!this.elements[l]||this.elements[l]===!0)this.buildItem(l),this.addPendingElement(s);else{var h=r[l],c=h.getMatte(this.layers[e].tt);s.setMatte(c)}}}},re.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var r=0,s=this.elements.length;r<s;){if(this.elements[r]===e){var l="tp"in e.data?this.findIndexByInd(e.data.tp):r-1,h=this.elements[l],c=h.getMatte(this.layers[r].tt);e.setMatte(c);break}r+=1}}},re.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var r,s=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=s-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf)for(r=0;r<s;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame()}},re.prototype.appendElementInPos=function(e,r){var s=e.getBaseElement();if(s){for(var l=0,h;l<r;)this.elements[l]&&this.elements[l]!==!0&&this.elements[l].getBaseElement()&&(h=this.elements[l].getBaseElement()),l+=1;h?this.layerElement.insertBefore(s,h):this.layerElement.appendChild(s)}},re.prototype.hide=function(){this.layerElement.style.display="none"},re.prototype.show=function(){this.layerElement.style.display="block"};function Wr(){}L([Ei,Ho,Go,Ti,ra],Wr),Wr.prototype.initElement=function(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initTransform(e,r,s),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!r.progressiveLoad)&&this.buildAllItems(),this.hide()},Wr.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var r=this.tm.v;r===this.data.op&&(r=this.data.op-1),this.renderedFrame=r}var s,l=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),s=l-1;s>=0;s-=1)(this.completeLayers||this.elements[s])&&(this.elements[s].prepareFrame(this.renderedFrame-this.layers[s].st),this.elements[s]._mdf&&(this._mdf=!0))}},Wr.prototype.renderInnerContent=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},Wr.prototype.setElements=function(e){this.elements=e},Wr.prototype.getElements=function(){return this.elements},Wr.prototype.destroyElements=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy()},Wr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function sa(e,r,s){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?tt(this.layers.length):[],this.initElement(e,r,s),this.tm=e.tm?at.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0}}L([re,Wr,ea],sa),sa.prototype.createComp=function(e){return new sa(e,this.globalData,this)};function Od(e,r){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=Tt("svg");var s="";if(r&&r.title){var l=Tt("title"),h=Ne();l.setAttribute("id",h),l.textContent=r.title,this.svgElement.appendChild(l),s+=h}if(r&&r.description){var c=Tt("desc"),v=Ne();c.setAttribute("id",v),c.textContent=r.description,this.svgElement.appendChild(c),s+=" "+v}s&&this.svgElement.setAttribute("aria-labelledby",s);var x=Tt("defs");this.svgElement.appendChild(x);var g=Tt("g");this.svgElement.appendChild(g),this.layerElement=g,this.renderConfig={preserveAspectRatio:r&&r.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:r&&r.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:r&&r.contentVisibility||"visible",progressiveLoad:r&&r.progressiveLoad||!1,hideOnTransparent:!(r&&r.hideOnTransparent===!1),viewBoxOnly:r&&r.viewBoxOnly||!1,viewBoxSize:r&&r.viewBoxSize||!1,className:r&&r.className||"",id:r&&r.id||"",focusable:r&&r.focusable,filterSize:{width:r&&r.filterSize&&r.filterSize.width||"100%",height:r&&r.filterSize&&r.filterSize.height||"100%",x:r&&r.filterSize&&r.filterSize.x||"0%",y:r&&r.filterSize&&r.filterSize.y||"0%"},width:r&&r.width,height:r&&r.height,runExpressions:!r||r.runExpressions===void 0||r.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:x,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return L([re],Od),Od.prototype.createComp=function(e){return new sa(e,this.globalData,this)},tb("svg",Od),bi.registerModifier("tm",gr),bi.registerModifier("pb",Ks),bi.registerModifier("rp",kr),bi.registerModifier("rd",qs),bi.registerModifier("zz",Zs),bi.registerModifier("op",Qs),Rt})});var Rn=globalThis,On=Rn.ShadowRoot&&(Rn.ShadyCSS===void 0||Rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Dd=Symbol(),Kp=new WeakMap,aa=class{constructor(o,t,i){if(this._$cssResult$=!0,i!==Dd)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(On&&o===void 0){let i=t!==void 0&&t.length===1;i&&(o=Kp.get(t)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),i&&Kp.set(t,o))}return o}toString(){return this.cssText}},qp=n=>new aa(typeof n=="string"?n:n+"",void 0,Dd),B=(n,...o)=>{let t=n.length===1?n[0]:o.reduce((i,a,d)=>i+(m=>{if(m._$cssResult$===!0)return m.cssText;if(typeof m=="number")return m;throw Error("Value passed to 'css' function must be a 'css' function result: "+m+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+n[d+1],n[0]);return new aa(t,n,Dd)},$d=(n,o)=>{if(On)n.adoptedStyleSheets=o.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of o){let i=document.createElement("style"),a=Rn.litNonce;a!==void 0&&i.setAttribute("nonce",a),i.textContent=t.cssText,n.appendChild(i)}},Pn=On?n=>n:n=>n instanceof CSSStyleSheet?(o=>{let t="";for(let i of o.cssRules)t+=i.cssText;return qp(t)})(n):n;var{is:Qb,defineProperty:Jb,getOwnPropertyDescriptor:ty,getOwnPropertyNames:ey,getOwnPropertySymbols:ry,getPrototypeOf:iy}=Object,ki=globalThis,Xp=ki.trustedTypes,oy=Xp?Xp.emptyScript:"",Fd=ki.reactiveElementPolyfillSupport,na=(n,o)=>n,la={toAttribute(n,o){switch(o){case Boolean:n=n?oy: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}},Dn=(n,o)=>!Qb(n,o),Zp={attribute:!0,type:String,converter:la,reflect:!1,hasChanged:Dn},Qp,Jp;(Qp=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Jp=ki.litPropertyMetadata)!=null||(ki.litPropertyMetadata=new WeakMap);var Zr=class extends HTMLElement{static addInitializer(o){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(o)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(o,t=Zp){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(o,t),!t.noAccessor){let i=Symbol(),a=this.getPropertyDescriptor(o,i,t);a!==void 0&&Jb(this.prototype,o,a)}}static getPropertyDescriptor(o,t,i){var m;let{get:a,set:d}=(m=ty(this.prototype,o))!=null?m:{get(){return this[t]},set(b){this[t]=b}};return{get(){return a==null?void 0:a.call(this)},set(b){let C=a==null?void 0:a.call(this);d.call(this,b),this.requestUpdate(o,C,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){var t;return(t=this.elementProperties.get(o))!=null?t:Zp}static _$Ei(){if(this.hasOwnProperty(na("elementProperties")))return;let o=iy(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(na("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(na("properties"))){let t=this.properties,i=[...ey(t),...ry(t)];for(let a of i)this.createProperty(a,t[a])}let o=this[Symbol.metadata];if(o!==null){let t=litPropertyMetadata.get(o);if(t!==void 0)for(let[i,a]of t)this.elementProperties.set(i,a)}this._$Eh=new Map;for(let[t,i]of this.elementProperties){let a=this._$Eu(t,i);a!==void 0&&this._$Eh.set(a,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){let t=[];if(Array.isArray(o)){let i=new Set(o.flat(1/0).reverse());for(let a of i)t.unshift(Pn(a))}else o!==void 0&&t.push(Pn(o));return t}static _$Eu(o,t){let i=t.attribute;return i===!1?void 0:typeof i=="string"?i:typeof o=="string"?o.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var o;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(o=this.constructor.l)==null||o.forEach(t=>t(this))}addController(o){var t,i;((t=this._$EO)!=null?t:this._$EO=new Set).add(o),this.renderRoot!==void 0&&this.isConnected&&((i=o.hostConnected)==null||i.call(o))}removeController(o){var t;(t=this._$EO)==null||t.delete(o)}_$E_(){let o=new Map,t=this.constructor.elementProperties;for(let i of t.keys())this.hasOwnProperty(i)&&(o.set(i,this[i]),delete this[i]);o.size>0&&(this._$Ep=o)}createRenderRoot(){var t;let o=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return $d(o,this.constructor.elementStyles),o}connectedCallback(){var o,t;(o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(i=>{var a;return(a=i.hostConnected)==null?void 0:a.call(i)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(t=>{var i;return(i=t.hostDisconnected)==null?void 0:i.call(t)})}attributeChangedCallback(o,t,i){this._$AK(o,i)}_$EC(o,t){var d;let i=this.constructor.elementProperties.get(o),a=this.constructor._$Eu(o,i);if(a!==void 0&&i.reflect===!0){let m=(((d=i.converter)==null?void 0:d.toAttribute)!==void 0?i.converter:la).toAttribute(t,i.type);this._$Em=o,m==null?this.removeAttribute(a):this.setAttribute(a,m),this._$Em=null}}_$AK(o,t){var d;let i=this.constructor,a=i._$Eh.get(o);if(a!==void 0&&this._$Em!==a){let m=i.getPropertyOptions(a),b=typeof m.converter=="function"?{fromAttribute:m.converter}:((d=m.converter)==null?void 0:d.fromAttribute)!==void 0?m.converter:la;this._$Em=a,this[a]=b.fromAttribute(t,m.type),this._$Em=null}}requestUpdate(o,t,i){var a;if(o!==void 0){if(i!=null||(i=this.constructor.getPropertyOptions(o)),!((a=i.hasChanged)!=null?a:Dn)(this[o],t))return;this.P(o,t,i)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,t,i){var a;this._$AL.has(o)||this._$AL.set(o,t),i.reflect===!0&&this._$Em!==o&&((a=this._$Ej)!=null?a:this._$Ej=new Set).add(o)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let o=this.scheduleUpdate();return o!=null&&await o,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i,a;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((i=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,b]of this._$Ep)this[m]=b;this._$Ep=void 0}let d=this.constructor.elementProperties;if(d.size>0)for(let[m,b]of d)b.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],b)}let o=!1,t=this._$AL;try{o=this.shouldUpdate(t),o?(this.willUpdate(t),(a=this._$EO)==null||a.forEach(d=>{var m;return(m=d.hostUpdate)==null?void 0:m.call(d)}),this.update(t)):this._$EU()}catch(d){throw o=!1,this._$EU(),d}o&&this._$AE(t)}willUpdate(o){}_$AE(o){var t;(t=this._$EO)==null||t.forEach(i=>{var a;return(a=i.hostUpdated)==null?void 0:a.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(o)),this.updated(o)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(o){return!0}update(o){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(o){}firstUpdated(o){}},tm;Zr.elementStyles=[],Zr.shadowRootOptions={mode:"open"},Zr[na("elementProperties")]=new Map,Zr[na("finalized")]=new Map,Fd==null||Fd({ReactiveElement:Zr}),((tm=ki.reactiveElementVersions)!=null?tm:ki.reactiveElementVersions=[]).push("2.0.4");var ca=globalThis,$n=ca.trustedTypes,em=$n?$n.createPolicy("lit-html",{createHTML:n=>n}):void 0,Bd="$lit$",Qr=`lit$${Math.random().toFixed(9).slice(2)}$`,Ud="?"+Qr,sy=`<${Ud}>`,io=document,ha=()=>io.createComment(""),pa=n=>n===null||typeof n!="object"&&typeof n!="function",Hd=Array.isArray,lm=n=>Hd(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",zd=`[
3
+ \f\r]`,da=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,rm=/-->/g,im=/>/g,eo=RegExp(`>|${zd}(?:([^\\s"'>=/]+)(${zd}*=${zd}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),om=/'/g,sm=/"/g,dm=/^(?:script|style|textarea|title)$/i,Gd=n=>(o,...t)=>({_$litType$:n,strings:o,values:t}),_=Gd(1),LA=Gd(2),MA=Gd(3),ve=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),am=new WeakMap,ro=io.createTreeWalker(io,129);function cm(n,o){if(!Hd(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return em!==void 0?em.createHTML(o):o}var hm=(n,o)=>{let t=n.length-1,i=[],a,d=o===2?"<svg>":o===3?"<math>":"",m=da;for(let b=0;b<t;b++){let C=n[b],L,W,q=-1,it=0;for(;it<C.length&&(m.lastIndex=it,W=m.exec(C),W!==null);)it=m.lastIndex,m===da?W[1]==="!--"?m=rm:W[1]!==void 0?m=im:W[2]!==void 0?(dm.test(W[2])&&(a=RegExp("</"+W[2],"g")),m=eo):W[3]!==void 0&&(m=eo):m===eo?W[0]===">"?(m=a!=null?a:da,q=-1):W[1]===void 0?q=-2:(q=m.lastIndex-W[2].length,L=W[1],m=W[3]===void 0?eo:W[3]==='"'?sm:om):m===sm||m===om?m=eo:m===rm||m===im?m=da:(m=eo,a=void 0);let X=m===eo&&n[b+1].startsWith("/>")?" ":"";d+=m===da?C+sy:q>=0?(i.push(L),C.slice(0,q)+Bd+C.slice(q)+Qr+X):C+Qr+(q===-2?b:X)}return[cm(n,d+(n[t]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),i]},ma=class n{constructor({strings:o,_$litType$:t},i){let a;this.parts=[];let d=0,m=0,b=o.length-1,C=this.parts,[L,W]=hm(o,t);if(this.el=n.createElement(L,i),ro.currentNode=this.el.content,t===2||t===3){let q=this.el.content.firstChild;q.replaceWith(...q.childNodes)}for(;(a=ro.nextNode())!==null&&C.length<b;){if(a.nodeType===1){if(a.hasAttributes())for(let q of a.getAttributeNames())if(q.endsWith(Bd)){let it=W[m++],X=a.getAttribute(q).split(Qr),tt=/([.?@])?(.*)/.exec(it);C.push({type:1,index:d,name:tt[2],strings:X,ctor:tt[1]==="."?zn:tt[1]==="?"?Vn:tt[1]==="@"?Bn:so}),a.removeAttribute(q)}else q.startsWith(Qr)&&(C.push({type:6,index:d}),a.removeAttribute(q));if(dm.test(a.tagName)){let q=a.textContent.split(Qr),it=q.length-1;if(it>0){a.textContent=$n?$n.emptyScript:"";for(let X=0;X<it;X++)a.append(q[X],ha()),ro.nextNode(),C.push({type:2,index:++d});a.append(q[it],ha())}}}else if(a.nodeType===8)if(a.data===Ud)C.push({type:2,index:d});else{let q=-1;for(;(q=a.data.indexOf(Qr,q+1))!==-1;)C.push({type:7,index:d}),q+=Qr.length-1}d++}}static createElement(o,t){let i=io.createElement("template");return i.innerHTML=o,i}};function oo(n,o,t=n,i){var m,b,C;if(o===ve)return o;let a=i!==void 0?(m=t.o)==null?void 0:m[i]:t.l,d=pa(o)?void 0:o._$litDirective$;return(a==null?void 0:a.constructor)!==d&&((b=a==null?void 0:a._$AO)==null||b.call(a,!1),d===void 0?a=void 0:(a=new d(n),a._$AT(n,t,i)),i!==void 0?((C=t.o)!=null?C:t.o=[])[i]=a:t.l=a),a!==void 0&&(o=oo(n,a._$AS(n,o.values),a,i)),o}var Fn=class{constructor(o,t){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){var L;let{el:{content:t},parts:i}=this._$AD,a=((L=o==null?void 0:o.creationScope)!=null?L:io).importNode(t,!0);ro.currentNode=a;let d=ro.nextNode(),m=0,b=0,C=i[0];for(;C!==void 0;){if(m===C.index){let W;C.type===2?W=new Wo(d,d.nextSibling,this,o):C.type===1?W=new C.ctor(d,C.name,C.strings,this,o):C.type===6&&(W=new Un(d,this,o)),this._$AV.push(W),C=i[++b]}m!==(C==null?void 0:C.index)&&(d=ro.nextNode(),m++)}return ro.currentNode=io,a}p(o){let t=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,t),t+=i.strings.length-2):i._$AI(o[t])),t++}},Wo=class n{get _$AU(){var o,t;return(t=(o=this._$AM)==null?void 0:o._$AU)!=null?t:this.v}constructor(o,t,i,a){var d;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=o,this._$AB=t,this._$AM=i,this.options=a,this.v=(d=a==null?void 0:a.isConnected)!=null?d:!0}get parentNode(){let o=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(o==null?void 0:o.nodeType)===11&&(o=t.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,t=this){o=oo(this,o,t),pa(o)?o===j||o==null||o===""?(this._$AH!==j&&this._$AR(),this._$AH=j):o!==this._$AH&&o!==ve&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):lm(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&&pa(this._$AH)?this._$AA.nextSibling.data=o:this.T(io.createTextNode(o)),this._$AH=o}$(o){var d;let{values:t,_$litType$:i}=o,a=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=ma.createElement(cm(i.h,i.h[0]),this.options)),i);if(((d=this._$AH)==null?void 0:d._$AD)===a)this._$AH.p(t);else{let m=new Fn(a,this),b=m.u(this.options);m.p(t),this.T(b),this._$AH=m}}_$AC(o){let t=am.get(o.strings);return t===void 0&&am.set(o.strings,t=new ma(o)),t}k(o){Hd(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,i,a=0;for(let d of o)a===t.length?t.push(i=new n(this.O(ha()),this.O(ha()),this,this.options)):i=t[a],i._$AI(d),a++;a<t.length&&(this._$AR(i&&i._$AB.nextSibling,a),t.length=a)}_$AR(o=this._$AA.nextSibling,t){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,t);o&&o!==this._$AB;){let a=o.nextSibling;o.remove(),o=a}}setConnected(o){var t;this._$AM===void 0&&(this.v=o,(t=this._$AP)==null||t.call(this,o))}},so=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,t,i,a,d){this.type=1,this._$AH=j,this._$AN=void 0,this.element=o,this.name=t,this._$AM=a,this.options=d,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=j}_$AI(o,t=this,i,a){let d=this.strings,m=!1;if(d===void 0)o=oo(this,o,t,0),m=!pa(o)||o!==this._$AH&&o!==ve,m&&(this._$AH=o);else{let b=o,C,L;for(o=d[0],C=0;C<d.length-1;C++)L=oo(this,b[i+C],t,C),L===ve&&(L=this._$AH[C]),m||(m=!pa(L)||L!==this._$AH[C]),L===j?o=j:o!==j&&(o+=(L!=null?L:"")+d[C+1]),this._$AH[C]=L}m&&!a&&this.j(o)}j(o){o===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o!=null?o:"")}},zn=class extends so{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===j?void 0:o}},Vn=class extends so{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==j)}},Bn=class extends so{constructor(o,t,i,a,d){super(o,t,i,a,d),this.type=5}_$AI(o,t=this){var m;if((o=(m=oo(this,o,t,0))!=null?m:j)===ve)return;let i=this._$AH,a=o===j&&i!==j||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,d=o!==j&&(i===j||a);a&&this.element.removeEventListener(this.name,this,i),d&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){var t,i;typeof this._$AH=="function"?this._$AH.call((i=(t=this.options)==null?void 0:t.host)!=null?i:this.element,o):this._$AH.handleEvent(o)}},Un=class{constructor(o,t,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){oo(this,o)}},pm={M:Bd,P:Qr,A:Ud,C:1,L:hm,R:Fn,D:lm,V:oo,I:Wo,H:so,N:Vn,U:Bn,B:zn,F:Un},Vd=ca.litHtmlPolyfillSupport,nm;Vd==null||Vd(ma,Wo),((nm=ca.litHtmlVersions)!=null?nm:ca.litHtmlVersions=[]).push("3.2.0");var mm=(n,o,t)=>{var d,m;let i=(d=t==null?void 0:t.renderBefore)!=null?d:o,a=i._$litPart$;if(a===void 0){let b=(m=t==null?void 0:t.renderBefore)!=null?m:null;i._$litPart$=a=new Wo(o.insertBefore(ha(),b),b,void 0,t!=null?t:{})}return a._$AI(n),a};var wi=class extends Zr{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,i;let o=super.createRenderRoot();return(i=(t=this.renderOptions).renderBefore)!=null||(t.renderBefore=o.firstChild),o}update(o){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(o),this.o=mm(t,this.renderRoot,this.renderOptions)}connectedCallback(){var o;super.connectedCallback(),(o=this.o)==null||o.setConnected(!0)}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this.o)==null||o.setConnected(!1)}render(){return ve}},um;wi._$litElement$=!0,wi.finalized=!0,(um=globalThis.litElementHydrateSupport)==null||um.call(globalThis,{LitElement:wi});var Yd=globalThis.litElementPolyfillSupport;Yd==null||Yd({LitElement:wi});var fm;((fm=globalThis.litElementVersions)!=null?fm:globalThis.litElementVersions=[]).push("4.1.0");var ay={attribute:!0,type:String,converter:la,reflect:!1,hasChanged:Dn},ny=(n=ay,o,t)=>{let{kind:i,metadata:a}=t,d=globalThis.litPropertyMetadata.get(a);if(d===void 0&&globalThis.litPropertyMetadata.set(a,d=new Map),d.set(t.name,n),i==="accessor"){let{name:m}=t;return{set(b){let C=o.get.call(this);o.set.call(this,b),this.requestUpdate(m,C,n)},init(b){return b!==void 0&&this.P(m,void 0,n),b}}}if(i==="setter"){let{name:m}=t;return function(b){let C=this[m];o.call(this,b),this.requestUpdate(m,C,n)}}throw Error("Unsupported decorator location: "+i)};function u(n){return(o,t)=>typeof t=="object"?ny(n,o,t):((i,a,d)=>{let m=a.hasOwnProperty(d);return a.constructor.createProperty(d,m?{...i,wrapped:!0}:i),m?Object.getOwnPropertyDescriptor(a,d):void 0})(n,o,t)}function gt(n){return u({...n,state:!0,attribute:!1})}var Lr=(n,o,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof o!="object"&&Object.defineProperty(n,o,t),t);function tr(n,o){return(t,i,a)=>{let d=m=>{var b,C;return(C=(b=m.renderRoot)==null?void 0:b.querySelector(n))!=null?C:null};if(o){let{get:m,set:b}=typeof i=="object"?t:a!=null?a:(()=>{let C=Symbol();return{get(){return this[C]},set(L){this[C]=L}}})();return Lr(t,i,{get(){let C=m.call(this);return C===void 0&&(C=d(this),(C!==null||this.hasUpdated)&&b.call(this,C)),C}})}return Lr(t,i,{get(){return d(this)}})}}var Wd;function vm(n){return(o,t)=>Lr(o,t,{get(){var i;return((i=this.renderRoot)!=null?i:Wd!=null?Wd:Wd=document.createDocumentFragment()).querySelectorAll(n)}})}function Ot(n){return(o,t)=>{let{slot:i,selector:a}=n!=null?n:{},d="slot"+(i?`[name=${i}]`:":not([name])");return Lr(o,t,{get(){var C,L;let m=(C=this.renderRoot)==null?void 0:C.querySelector(d),b=(L=m==null?void 0:m.assignedElements(n))!=null?L:[];return a===void 0?b:b.filter(W=>W.matches(a))}})}}function Hn(n){return(o,t)=>{let{slot:i}=n!=null?n:{},a="slot"+(i?`[name=${i}]`:":not([name])");return Lr(o,t,{get(){var m,b;let d=(m=this.renderRoot)==null?void 0:m.querySelector(a);return(b=d==null?void 0:d.assignedNodes(n))!=null?b:[]}})}}var ly={PREFIX:"mdc",SEPARATOR:"-"},dy={NAMESPACE:ly},jd=dy;var cy=n=>[jd.NAMESPACE.PREFIX,n].join(jd.NAMESPACE.SEPARATOR),V={constructTagName:cy};var et={ALERTDIALOG:"alertdialog",BUTTON:"button",CHECKBOX:"checkbox",COMBOBOX:"combobox",DIALOG:"dialog",GROUP:"group",HEADING:"heading",IMG:"img",LIST:"list",LISTBOX:"listbox",LISTITEM:"listitem",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",NAVIGATION:"navigation",OPTION:"option",PRESENTATION:"presentation",PROGRESSBAR:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",REGION:"region",TAB:"tab",TABLIST:"tablist",TOOLTIP:"tooltip"};var gm=V.constructTagName("buttonsimple"),ao={12:12,14:14,16:16,20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},jo={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},ua={SIZE:ao[32],TYPE:jo.BUTTON,ROLE:et.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var Jr=V.constructTagName("button"),Dt={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},fa={40:40,32:32,28:28,24:24},er={64:64,52:52,20:20,...fa},no={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},Ko={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},Pe={VARIANT:Dt.PRIMARY,SIZE:fa[32],COLOR:no.DEFAULT,TYPE_INTERNAL:Ko.ICON,TYPE:jo.BUTTON,INVERTED:!1};var Gn=n=>{class o extends n{constructor(){super(...arguments);this.variant=Pe.VARIANT;this.color=Pe.COLOR;this.typeInternal=Pe.TYPE_INTERNAL}setVariant(a){this.setAttribute("variant",Object.values(Dt).includes(a)?a:Pe.VARIANT)}setColor(a){!Object.values(no).includes(a)||this.variant===Dt.TERTIARY?this.setAttribute("color",`${Pe.COLOR}`):this.setAttribute("color",a)}setSize(a){let m=this.typeInternal===Ko.ICON?Object.values(er).includes(a)&&!(a===er[20]&&this.variant!==Dt.TERTIARY):Object.values(fa).includes(a);this.setAttribute("size",m?`${a}`:`${Pe.SIZE}`)}inferButtonType(){var L,W,q,it,X,tt;let a=(W=(L=this.shadowRoot)==null?void 0:L.querySelector("slot:not([name])"))==null?void 0:W.assignedNodes().filter(lt=>{var dt;return lt.nodeType!==Node.TEXT_NODE||((dt=lt.textContent)==null?void 0:dt.trim())}).length,d=(it=(q=this.shadowRoot)==null?void 0:q.querySelector('slot[name="prefix"]'))==null?void 0:it.assignedNodes().filter(lt=>{var dt;return lt.nodeType!==Node.TEXT_NODE||((dt=lt.textContent)==null?void 0:dt.trim())}).length,m=this.prefixIcon||d&&d>0,b=(tt=(X=this.shadowRoot)==null?void 0:X.querySelector('slot[name="postfix"]'))==null?void 0:tt.assignedNodes().filter(lt=>{var dt;return lt.nodeType!==Node.TEXT_NODE||((dt=lt.textContent)==null?void 0:dt.trim())}).length,C=this.postfixIcon||b&&b>0;a&&(m||C)?(this.typeInternal=Ko.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!a&&(m||C)?(this.typeInternal=Ko.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=Ko.PILL,this.setAttribute("data-btn-type","pill"))}}return p([u({type:String,attribute:"prefix-icon",reflect:!0})],o.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon",reflect:!0})],o.prototype,"postfixIcon",2),p([u({type:String})],o.prototype,"variant",2),p([u({type:String})],o.prototype,"color",2),p([gt()],o.prototype,"typeInternal",2),o};var bm=B`
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 Yn=class extends wi{static register(o){customElements.get(o)||customElements.define(o,this)}};Yn.styles=[vm];var gm=Yn;var K=gm;var Ni=class extends Event{constructor(o,t,i){super("context-request",{bubbles:!0,composed:!0}),this.context=o,this.callback=t,this.subscribe=i!=null?i:!1}};var qo=class{constructor(o,t,i,a){var d;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(m,b)=>{this.unsubscribe&&(this.unsubscribe!==b&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=m,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(m,b)),this.unsubscribe=b},this.host=o,t.context!==void 0){let m=t;this.context=m.context,this.callback=m.callback,this.subscribe=(d=m.subscribe)!=null?d:!1}else this.context=t,this.callback=i,this.subscribe=a!=null?a:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new Ni(this.context,this.t,this.subscribe))}};var Wn=class{get value(){return this.o}set value(o){this.setValue(o)}setValue(o,t=!1){let i=t||!Object.is(o,this.o);this.o=o,i&&this.updateObservers()}constructor(o){this.subscriptions=new Map,this.updateObservers=()=>{for(let[t,{disposer:i}]of this.subscriptions)t(this.o,i)},o!==void 0&&(this.value=o)}addCallback(o,t,i){if(!i)return void o(this.value);this.subscriptions.has(o)||this.subscriptions.set(o,{disposer:()=>{this.subscriptions.delete(o)},consumerHost:t});let{disposer:a}=this.subscriptions.get(o);o(this.value,a)}clearCallbacks(){this.subscriptions.clear()}};var Wd=class extends Event{constructor(o){super("context-provider",{bubbles:!0,composed:!0}),this.context=o}},Xo=class extends Wn{constructor(o,t,i){var a,d;super(t.context!==void 0?t.initialValue:i),this.onContextRequest=m=>{let b=m.composedPath()[0];m.context===this.context&&b!==this.host&&(m.stopPropagation(),this.addCallback(m.callback,b,m.subscribe))},this.onProviderRequest=m=>{let b=m.composedPath()[0];if(m.context!==this.context||b===this.host)return;let C=new Set;for(let[L,{consumerHost:W}]of this.subscriptions)C.has(L)||(C.add(L),W.dispatchEvent(new Ni(this.context,L,!0)));m.stopPropagation()},this.host=o,t.context!==void 0?this.context=t.context:this.context=t,this.attachListeners(),(d=(a=this.host).addController)==null||d.call(a,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Wd(this.context))}};var dy=V`
14
+ `;var Yn=class extends wi{static register(o){customElements.get(o)||customElements.define(o,this)}};Yn.styles=[bm];var ym=Yn;var K=ym;var Ni=class extends Event{constructor(o,t,i){super("context-request",{bubbles:!0,composed:!0}),this.context=o,this.callback=t,this.subscribe=i!=null?i:!1}};var qo=class{constructor(o,t,i,a){var d;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(m,b)=>{this.unsubscribe&&(this.unsubscribe!==b&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=m,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(m,b)),this.unsubscribe=b},this.host=o,t.context!==void 0){let m=t;this.context=m.context,this.callback=m.callback,this.subscribe=(d=m.subscribe)!=null?d:!1}else this.context=t,this.callback=i,this.subscribe=a!=null?a:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new Ni(this.context,this.t,this.subscribe))}};var Wn=class{get value(){return this.o}set value(o){this.setValue(o)}setValue(o,t=!1){let i=t||!Object.is(o,this.o);this.o=o,i&&this.updateObservers()}constructor(o){this.subscriptions=new Map,this.updateObservers=()=>{for(let[t,{disposer:i}]of this.subscriptions)t(this.o,i)},o!==void 0&&(this.value=o)}addCallback(o,t,i){if(!i)return void o(this.value);this.subscriptions.has(o)||this.subscriptions.set(o,{disposer:()=>{this.subscriptions.delete(o)},consumerHost:t});let{disposer:a}=this.subscriptions.get(o);o(this.value,a)}clearCallbacks(){this.subscriptions.clear()}};var Kd=class extends Event{constructor(o){super("context-provider",{bubbles:!0,composed:!0}),this.context=o}},Xo=class extends Wn{constructor(o,t,i){var a,d;super(t.context!==void 0?t.initialValue:i),this.onContextRequest=m=>{let b=m.composedPath()[0];m.context===this.context&&b!==this.host&&(m.stopPropagation(),this.addCallback(m.callback,b,m.subscribe))},this.onProviderRequest=m=>{let b=m.composedPath()[0];if(m.context!==this.context||b===this.host)return;let C=new Set;for(let[L,{consumerHost:W}]of this.subscriptions)C.has(L)||(C.add(L),W.dispatchEvent(new Ni(this.context,L,!0)));m.stopPropagation()},this.host=o,t.context!==void 0?this.context=t.context:this.context=t,this.attachListeners(),(d=(a=this.host).addController)==null||d.call(a,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Kd(this.context))}};var hy=B`
15
15
  :host {
16
16
  display: contents;
17
17
  }
18
- `,bm=dy;var jn=class extends K{constructor({context:o,initialValue:t}){super(),this.context=new Xo(this,{context:o,initialValue:t})}render(){return this.updateContext(),_`<slot></slot>`}};jn.styles=[...K.styles,bm];var ym=jn;var rr=ym;var Q={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",END:"End",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SHIFT_TAB:"Shift+Tab",SPACE:" ",TAB:"Tab"};var ge=n=>{class o extends n{constructor(){super(...arguments);this.elementToAutoFocus=this;this.autoFocusOnMount=!1}async firstUpdated(a){super.firstUpdated(a),this.autoFocusOnMount&&(await this.updateComplete,this.elementToAutoFocus.focus())}}return p([u({type:Boolean,reflect:!0,attribute:"auto-focus-on-mount"})],o.prototype,"autoFocusOnMount",2),o};var zt=n=>{class o extends n{}return p([u({reflect:!0,type:Boolean})],o.prototype,"disabled",2),o};var Mr=n=>{class o extends n{constructor(){super(...arguments);this.tabIndex=0}}return p([u({reflect:!0,type:Number})],o.prototype,"tabIndex",2),o};var bt=V`
18
+ `,Em=hy;var jn=class extends K{constructor({context:o,initialValue:t}){super(),this.context=new Xo(this,{context:o,initialValue:t})}render(){return this.updateContext(),_`<slot></slot>`}};jn.styles=[...K.styles,Em];var Tm=jn;var rr=Tm;var Q={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",END:"End",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SHIFT_TAB:"Shift+Tab",SPACE:" ",TAB:"Tab"};var ge=n=>{class o extends n{constructor(){super(...arguments);this.elementToAutoFocus=this;this.autoFocusOnMount=!1}async firstUpdated(a){super.firstUpdated(a),this.autoFocusOnMount&&(await this.updateComplete,this.elementToAutoFocus.focus())}}return p([u({type:Boolean,reflect:!0,attribute:"auto-focus-on-mount"})],o.prototype,"autoFocusOnMount",2),o};var zt=n=>{class o extends n{}return p([u({reflect:!0,type:Boolean})],o.prototype,"disabled",2),o};var Mr=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`
19
19
  :host {
20
20
  align-items: center;
21
21
  display: flex;
@@ -23,7 +23,7 @@
23
23
  justify-content: center;
24
24
  width: fit-content;
25
25
  }
26
- `,Li=V`
26
+ `,Li=B`
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
- `,Mi=V`0 0 0 var(--mdc-focus-ring-inner-width) var(--mdc-focus-ring-inner-color),
39
+ `,Mi=B`0 0 0 var(--mdc-focus-ring-inner-width) var(--mdc-focus-ring-inner-color),
40
40
  0 0 0 var(--mdc-focus-ring-middle-width) var(--mdc-focus-ring-middle-color),
41
41
  0 0 0 var(--mdc-focus-ring-outer-width) var(--mdc-focus-ring-outer-color)
42
- `,St=(n=!1)=>n?[Li,V`
42
+ `,St=(n=!1)=>n?[Li,B`
43
43
  .mdc-focus-ring:focus-visible {
44
44
  outline: none;
45
45
  }
@@ -63,7 +63,7 @@
63
63
  outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
64
64
  }
65
65
  }
66
- `]:[Li,V`
66
+ `]:[Li,B`
67
67
  :host([disabled]:focus) {
68
68
  box-shadow: none;
69
69
  }
@@ -78,7 +78,7 @@
78
78
  outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
79
79
  }
80
80
  }
81
- `];var cy=[bt,V`
81
+ `];var py=[bt,B`
82
82
  :host {
83
83
  border: 0.0625rem solid transparent;
84
84
  cursor: pointer;
@@ -136,7 +136,7 @@
136
136
  :host([size='20']) {
137
137
  height: var(--mdc-button-height-size-20);
138
138
  }
139
- `,...St()],Em=cy;var Be=class extends ge(Mr(zt(K))){constructor(){super();this.size=ua.SIZE;this.role=ua.ROLE;this.type=ua.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||ua.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===jo.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===jo.RESET&&this.form&&this.form.reset()}setActive(t,i){this.ariaStateKey&&this.ariaStateKey.split(",").filter(d=>d.trim().startsWith("aria-")).forEach(d=>{i===!0?t.setAttribute(d.trim(),"true"):i===!1?t.setAttribute(d.trim(),"false"):t.removeAttribute(d.trim())})}setSoftDisabled(t,i){i?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}setDisabled(t,i){i?(t.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),t.removeAttribute("aria-disabled"))}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0,view:window});this.dispatchEvent(t)}handleBlur(){this.classList.contains("pressed")&&this.classList.remove("pressed")}handleKeyDown(t){[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> `}};Be.formAssociated=!0,Be.styles=[...K.styles,...Em],p([u({type:Boolean,reflect:!0})],Be.prototype,"active",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Be.prototype,"softDisabled",2),p([u({type:Number,reflect:!0})],Be.prototype,"size",2),p([u({type:String,reflect:!0})],Be.prototype,"role",2),p([u({type:String,reflect:!0})],Be.prototype,"ariaStateKey",2),p([u({reflect:!0})],Be.prototype,"type",2),p([u({type:String,reflect:!0})],Be.prototype,"name",2),p([u({type:String,reflect:!0})],Be.prototype,"value",2);var ie=Be;var hy=V`
139
+ `,...St()],xm=py;var Be=class extends ge(Mr(zt(K))){constructor(){super();this.size=ua.SIZE;this.role=ua.ROLE;this.type=ua.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||ua.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===jo.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===jo.RESET&&this.form&&this.form.reset()}setActive(t,i){this.ariaStateKey&&this.ariaStateKey.split(",").filter(d=>d.trim().startsWith("aria-")).forEach(d=>{i===!0?t.setAttribute(d.trim(),"true"):i===!1?t.setAttribute(d.trim(),"false"):t.removeAttribute(d.trim())})}setSoftDisabled(t,i){i?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}setDisabled(t,i){i?(t.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),t.removeAttribute("aria-disabled"))}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0,view:window});this.dispatchEvent(t)}handleBlur(){this.classList.contains("pressed")&&this.classList.remove("pressed")}handleKeyDown(t){[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> `}};Be.formAssociated=!0,Be.styles=[...K.styles,...xm],p([u({type:Boolean,reflect:!0})],Be.prototype,"active",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Be.prototype,"softDisabled",2),p([u({type:Number,reflect:!0})],Be.prototype,"size",2),p([u({type:String,reflect:!0})],Be.prototype,"role",2),p([u({type:String,reflect:!0})],Be.prototype,"ariaStateKey",2),p([u({reflect:!0})],Be.prototype,"type",2),p([u({type:String,reflect:!0})],Be.prototype,"name",2),p([u({type:String,reflect:!0})],Be.prototype,"value",2);var ie=Be;var my=B`
140
140
  :host {
141
141
  background-color: transparent;
142
142
  border-radius: 1.25rem;
@@ -385,7 +385,7 @@
385
385
  :host::part(postfix-icon) {
386
386
  flex-shrink: 0;
387
387
  }
388
- `,Tm=[hy];var lo=n=>{let o=n.split("-"),t=["bold","filled","regular","light"];return o.filter(i=>!t.includes(i)).join("-")};var ti=class extends Gn(ie){constructor(){super(...arguments);this.size=Pe.SIZE;this.inverted=Pe.INVERTED;this.role=et.BUTTON}update(t){super.update(t),t.has("active")&&this.inferFilledIconName(this.active),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&(this.inferFilledIconName(this.active),this.inferButtonType())}inferFilledIconName(t){t?(this.prefixIcon&&(this.prefixFilledIconName=`${lo(this.prefixIcon)}-filled`),this.postfixIcon&&(this.postfixFilledIconName=`${lo(this.postfixIcon)}-filled`)):(this.prefixFilledIconName=this.prefixIcon,this.postfixFilledIconName=this.postfixIcon)}render(){return _`
388
+ `,Am=[my];var lo=n=>{let o=n.split("-"),t=["bold","filled","regular","light"];return o.filter(i=>!t.includes(i)).join("-")};var ti=class extends Gn(ie){constructor(){super(...arguments);this.size=Pe.SIZE;this.inverted=Pe.INVERTED;this.role=et.BUTTON}update(t){super.update(t),t.has("active")&&this.inferFilledIconName(this.active),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&(this.inferFilledIconName(this.active),this.inferButtonType())}inferFilledIconName(t){t?(this.prefixIcon&&(this.prefixFilledIconName=`${lo(this.prefixIcon)}-filled`),this.postfixIcon&&(this.postfixFilledIconName=`${lo(this.postfixIcon)}-filled`)):(this.prefixFilledIconName=this.prefixIcon,this.postfixFilledIconName=this.postfixIcon)}render(){return _`
389
389
  <slot name="prefix" part="prefix">
390
390
  ${this.prefixFilledIconName?_` <mdc-icon
391
391
  name="${this.prefixFilledIconName}"
@@ -401,7 +401,7 @@
401
401
  length-unit="rem"
402
402
  ></mdc-icon>`:""}
403
403
  </slot>
404
- `}};ti.styles=[...ie.styles,...Tm],p([u({type:Number})],ti.prototype,"size",2),p([u({type:Boolean,reflect:!0})],ti.prototype,"inverted",2),p([u({type:String,reflect:!0})],ti.prototype,"role",2),p([gt()],ti.prototype,"prefixFilledIconName",2),p([gt()],ti.prototype,"postfixFilledIconName",2);var co=ti;var py=n=>{let{host:o,context:t,subscribe:i}=n;return new qo(o,{context:t,subscribe:i!=null?i:!0})},my={consume:py},ir=my;var Kn=B.constructTagName("iconprovider"),xm=["svg"],Am=["em","rem","px","%"],uy={px:16,em:1,rem:1,"%":100},ei={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:uy.em,ICON_SET:"momentum-icons"};var qn=class{};qn.context=Kn;var Xn=qn;var Rr=class extends rr{constructor(){super({context:Xn.context,initialValue:new Xn});this.iconSet=ei.ICON_SET;this.fileExtension=ei.FILE_EXTENSION;this.lengthUnit=ei.LENGTH_UNIT;this.size=ei.SIZE}static get Context(){return Xn.context}updateValuesInContext(){this.fileExtension&&xm.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=ei.FILE_EXTENSION,this.context.value.fileExtension=ei.FILE_EXTENSION),this.context.value.iconSet=this.iconSet,this.context.value.url=this.url,this.context.value.size=this.size,this.context.value.cacheName=this.cacheName,this.context.value.cacheStrategy=this.cacheStrategy,this.lengthUnit&&Am.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=ei.LENGTH_UNIT,this.context.value.lengthUnit=ei.LENGTH_UNIT)}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.iconSet!==this.iconSet||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit||this.context.value.size!==this.size||this.context.value.cacheName!==this.cacheName||this.context.value.cacheStrategy!==this.cacheStrategy)&&(this.updateValuesInContext(),this.context.updateObservers())}};p([u({type:String,attribute:"icon-set",reflect:!0})],Rr.prototype,"iconSet",2),p([u({type:String})],Rr.prototype,"url",2),p([u({type:String,attribute:"file-extension",reflect:!0})],Rr.prototype,"fileExtension",2),p([u({type:String,attribute:"length-unit",reflect:!0})],Rr.prototype,"lengthUnit",2),p([u({type:Number,reflect:!0})],Rr.prototype,"size",2),p([u({type:String,attribute:"cache-strategy"})],Rr.prototype,"cacheStrategy",2),p([u({type:String,attribute:"cache-name"})],Rr.prototype,"cacheName",2);var ga=Rr;var fy=[bt,V`
404
+ `}};ti.styles=[...ie.styles,...Am],p([u({type:Number})],ti.prototype,"size",2),p([u({type:Boolean,reflect:!0})],ti.prototype,"inverted",2),p([u({type:String,reflect:!0})],ti.prototype,"role",2),p([gt()],ti.prototype,"prefixFilledIconName",2),p([gt()],ti.prototype,"postfixFilledIconName",2);var co=ti;var uy=n=>{let{host:o,context:t,subscribe:i}=n;return new qo(o,{context:t,subscribe:i!=null?i:!0})},fy={consume:uy},ir=fy;var Kn=V.constructTagName("iconprovider"),Sm=["svg"],_m=["em","rem","px","%"],vy={px:16,em:1,rem:1,"%":100},ei={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:vy.em,ICON_SET:"momentum-icons"};var qn=class{};qn.context=Kn;var Xn=qn;var Rr=class extends rr{constructor(){super({context:Xn.context,initialValue:new Xn});this.iconSet=ei.ICON_SET;this.fileExtension=ei.FILE_EXTENSION;this.lengthUnit=ei.LENGTH_UNIT;this.size=ei.SIZE}static get Context(){return Xn.context}updateValuesInContext(){this.fileExtension&&Sm.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=ei.FILE_EXTENSION,this.context.value.fileExtension=ei.FILE_EXTENSION),this.context.value.iconSet=this.iconSet,this.context.value.url=this.url,this.context.value.size=this.size,this.context.value.cacheName=this.cacheName,this.context.value.cacheStrategy=this.cacheStrategy,this.lengthUnit&&_m.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=ei.LENGTH_UNIT,this.context.value.lengthUnit=ei.LENGTH_UNIT)}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.iconSet!==this.iconSet||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit||this.context.value.size!==this.size||this.context.value.cacheName!==this.cacheName||this.context.value.cacheStrategy!==this.cacheStrategy)&&(this.updateValuesInContext(),this.context.updateObservers())}};p([u({type:String,attribute:"icon-set",reflect:!0})],Rr.prototype,"iconSet",2),p([u({type:String})],Rr.prototype,"url",2),p([u({type:String,attribute:"file-extension",reflect:!0})],Rr.prototype,"fileExtension",2),p([u({type:String,attribute:"length-unit",reflect:!0})],Rr.prototype,"lengthUnit",2),p([u({type:Number,reflect:!0})],Rr.prototype,"size",2),p([u({type:String,attribute:"cache-strategy"})],Rr.prototype,"cacheStrategy",2),p([u({type:String,attribute:"cache-name"})],Rr.prototype,"cacheName",2);var ga=Rr;var gy=[bt,B`
405
405
  :host {
406
406
  --mdc-icon-fill-color: currentColor;
407
407
  --mdc-icon-size: var(--computed-icon-size);
@@ -416,7 +416,7 @@
416
416
  width: 100%;
417
417
  fill: var(--mdc-icon-fill-color);
418
418
  }
419
- `,...St()],Sm=fy;var ba={},_m=async n=>(ba[n]===void 0&&(ba[n]=new Map),{async set(o,t){ba[n].set(o.url,await t.text())},async get(o){return ba[n].get(o.url)},async delete(o){ba[n].delete(o.url)}}),Im=async n=>{let o=await caches.open(n);return{set:async(t,i)=>{await o.put(t,i)},get:async t=>{let i=await o.match(t);return i==null?void 0:i.text()},delete:async t=>{await o.delete(t)}}},Zn=async(n,o)=>o==="in-memory-cache"?_m(n):Im(n);var Cm=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the icon!");return o}),km=async({url:n,name:o,fileExtension:t,cacheStrategy:i,cacheName:a,renewSignal:d})=>{let m=d(),b=new Request(`${n}/${o}.${t}`,{signal:m});return!a||!i||!["in-memory-cache","web-cache-api"].includes(i)?Cm(b).then(C=>C.text()):Zn(a,i).then(C=>C.get(b).then(L=>L||Cm(b.clone()).then(W=>{var q;return W.status<400&&W.headers.has("content-type")?(q=C.set)==null?void 0:q.call(C,b,W.clone()).then(()=>W.text()):W.text()})).catch(L=>{throw new Error(`Error in caching the Icon ${o}, ${L}`)}))};var wm=B.constructTagName("icon"),jd={NAME:void 0,SIZE:1};var Ue=class extends K{constructor(){super();this.name=jd.NAME;this.ariaLabel=null;this.ariaLabelledBy=null;this.iconProviderContext=ir.consume({host:this,context:ga.Context});this.abortController=new AbortController}prepareIconElement(t){let i=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&i.setAttribute("data-name",this.name),i.setAttribute("part","icon"),i.setAttribute("aria-hidden","true"),i}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:i,url:a,cacheName:d,iconSet:m,cacheStrategy:b}=this.iconProviderContext.value;if(m==="custom-icons"&&a&&i&&this.name){let C=()=>{var L;return(L=this.abortController)==null||L.abort(),this.abortController=new AbortController,this.abortController.signal};return km({url:a,name:this.name,fileExtension:i,cacheName:d,cacheStrategy:b,renewSignal:C}).then(L=>{let W=this.prepareIconElement(L);this.handleIconLoadedSuccess(W)}).catch(L=>{this.handleIconLoadedFailure(L)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(C=>{this.handleIconLoadedSuccess(C.default())}).catch(C=>{this.handleIconLoadedFailure(C)})}let t=new Error("IconProvider not found or not properly set up.");return this.handleIconLoadedFailure(t),Promise.reject(t)}handleIconLoadedSuccess(t){this.iconData=t;let i=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(i)}handleIconLoadedFailure(t){let i=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(i)}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let i=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",i)}}get computedIconSize(){var t,i;return(i=(t=this.size)!=null?t:this.sizeFromContext)!=null?i:jd.SIZE}updated(t){var i,a,d,m;super.updated(t),t.has("name")&&this.getIconData().catch(b=>{b.name!=="AbortError"&&this.onerror&&this.onerror(b)}),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null),(t.has("size")||t.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((i=this.iconProviderContext.value)==null?void 0:i.lengthUnit)&&(this.lengthUnitFromContext=(a=this.iconProviderContext.value)==null?void 0:a.lengthUnit,this.updateSize()),this.sizeFromContext!==((d=this.iconProviderContext.value)==null?void 0:d.size)&&(this.sizeFromContext=(m=this.iconProviderContext.value)==null?void 0:m.size,this.updateSize())}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return _` ${this.iconData} `}};Ue.styles=[...K.styles,...Sm],p([gt()],Ue.prototype,"iconData",2),p([gt()],Ue.prototype,"lengthUnitFromContext",2),p([gt()],Ue.prototype,"sizeFromContext",2),p([u({type:String,reflect:!0})],Ue.prototype,"name",2),p([u({type:Number})],Ue.prototype,"size",2),p([u({type:String,attribute:"length-unit"})],Ue.prototype,"lengthUnit",2),p([u({type:String,attribute:"aria-label"})],Ue.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],Ue.prototype,"ariaLabelledBy",2),p([gt()],Ue.prototype,"abortController",2);var Kd=Ue;Kd.register(wm);var vy=Kd;co.register(Jr);var gy=co;var Nm=V`
419
+ `,...St()],Im=gy;var ba={},Cm=async n=>(ba[n]===void 0&&(ba[n]=new Map),{async set(o,t){ba[n].set(o.url,await t.text())},async get(o){return ba[n].get(o.url)},async delete(o){ba[n].delete(o.url)}}),km=async n=>{let o=await caches.open(n);return{set:async(t,i)=>{await o.put(t,i)},get:async t=>{let i=await o.match(t);return i==null?void 0:i.text()},delete:async t=>{await o.delete(t)}}},Zn=async(n,o)=>o==="in-memory-cache"?Cm(n):km(n);var wm=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the icon!");return o}),Nm=async({url:n,name:o,fileExtension:t,cacheStrategy:i,cacheName:a,renewSignal:d})=>{let m=d(),b=new Request(`${n}/${o}.${t}`,{signal:m});return!a||!i||!["in-memory-cache","web-cache-api"].includes(i)?wm(b).then(C=>C.text()):Zn(a,i).then(C=>C.get(b).then(L=>L||wm(b.clone()).then(W=>{var q;return W.status<400&&W.headers.has("content-type")?(q=C.set)==null?void 0:q.call(C,b,W.clone()).then(()=>W.text()):W.text()})).catch(L=>{throw new Error(`Error in caching the Icon ${o}, ${L}`)}))};var Lm=V.constructTagName("icon"),qd={NAME:void 0,SIZE:1};var Ue=class extends K{constructor(){super();this.name=qd.NAME;this.ariaLabel=null;this.ariaLabelledBy=null;this.iconProviderContext=ir.consume({host:this,context:ga.Context});this.abortController=new AbortController}prepareIconElement(t){let i=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&i.setAttribute("data-name",this.name),i.setAttribute("part","icon"),i.setAttribute("aria-hidden","true"),i}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:i,url:a,cacheName:d,iconSet:m,cacheStrategy:b}=this.iconProviderContext.value;if(m==="custom-icons"&&a&&i&&this.name){let C=()=>{var L;return(L=this.abortController)==null||L.abort(),this.abortController=new AbortController,this.abortController.signal};return Nm({url:a,name:this.name,fileExtension:i,cacheName:d,cacheStrategy:b,renewSignal:C}).then(L=>{let W=this.prepareIconElement(L);this.handleIconLoadedSuccess(W)}).catch(L=>{this.handleIconLoadedFailure(L)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(C=>{this.handleIconLoadedSuccess(C.default())}).catch(C=>{this.handleIconLoadedFailure(C)})}let t=new Error("IconProvider not found or not properly set up.");return this.handleIconLoadedFailure(t),Promise.reject(t)}handleIconLoadedSuccess(t){this.iconData=t;let i=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(i)}handleIconLoadedFailure(t){let i=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(i)}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let i=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",i)}}get computedIconSize(){var t,i;return(i=(t=this.size)!=null?t:this.sizeFromContext)!=null?i:qd.SIZE}updated(t){var i,a,d,m;super.updated(t),t.has("name")&&this.getIconData().catch(b=>{b.name!=="AbortError"&&this.onerror&&this.onerror(b)}),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null),(t.has("size")||t.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((i=this.iconProviderContext.value)==null?void 0:i.lengthUnit)&&(this.lengthUnitFromContext=(a=this.iconProviderContext.value)==null?void 0:a.lengthUnit,this.updateSize()),this.sizeFromContext!==((d=this.iconProviderContext.value)==null?void 0:d.size)&&(this.sizeFromContext=(m=this.iconProviderContext.value)==null?void 0:m.size,this.updateSize())}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return _` ${this.iconData} `}};Ue.styles=[...K.styles,...Im],p([gt()],Ue.prototype,"iconData",2),p([gt()],Ue.prototype,"lengthUnitFromContext",2),p([gt()],Ue.prototype,"sizeFromContext",2),p([u({type:String,reflect:!0})],Ue.prototype,"name",2),p([u({type:Number})],Ue.prototype,"size",2),p([u({type:String,attribute:"length-unit"})],Ue.prototype,"lengthUnit",2),p([u({type:String,attribute:"aria-label"})],Ue.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],Ue.prototype,"ariaLabelledBy",2),p([gt()],Ue.prototype,"abortController",2);var Xd=Ue;Xd.register(Lm);var by=Xd;co.register(Jr);var yy=co;var Mm=B`
420
420
  :host::part(text) {
421
421
  font-size: unset;
422
422
  font-weight: unset;
@@ -659,14 +659,14 @@
659
659
  text-decoration: var(--mds-font-apps-body-small-regular-text-decoration);
660
660
  text-transform: var(--mds-font-apps-body-small-regular-text-case);
661
661
  }
662
- `;var by=[V`
662
+ `;var Ey=[B`
663
663
  :host {
664
664
  --mdc-text-font-family: var(--mdc-themeprovider-font-family);
665
665
 
666
666
  display: block;
667
667
  font-family: var(--mdc-text-font-family);
668
668
  }
669
- `,Nm],Lm=by;var ya=B.constructTagName("text"),st={BODY_SMALL_REGULAR:"body-small-regular",BODY_SMALL_MEDIUM:"body-small-medium",BODY_SMALL_BOLD:"body-small-bold",BODY_MIDSIZE_REGULAR:"body-midsize-regular",BODY_MIDSIZE_MEDIUM:"body-midsize-medium",BODY_MIDSIZE_BOLD:"body-midsize-bold",BODY_LARGE_REGULAR:"body-large-regular",BODY_LARGE_MEDIUM:"body-large-medium",BODY_LARGE_BOLD:"body-large-bold",BODY_SMALL_REGULAR_UNDERLINE:"body-small-regular-underline",BODY_SMALL_MEDIUM_UNDERLINE:"body-small-medium-underline",BODY_MIDSIZE_REGULAR_UNDERLINE:"body-midsize-regular-underline",BODY_MIDSIZE_MEDIUM_UNDERLINE:"body-midsize-medium-underline",BODY_LARGE_REGULAR_UNDERLINE:"body-large-regular-underline",BODY_LARGE_MEDIUM_UNDERLINE:"body-large-medium-underline",HEADING_SMALL_REGULAR:"heading-small-regular",HEADING_SMALL_MEDIUM:"heading-small-medium",HEADING_SMALL_BOLD:"heading-small-bold",HEADING_MIDSIZE_REGULAR:"heading-midsize-regular",HEADING_MIDSIZE_MEDIUM:"heading-midsize-medium",HEADING_MIDSIZE_BOLD:"heading-midsize-bold",HEADING_LARGE_REGULAR:"heading-large-regular",HEADING_LARGE_MEDIUM:"heading-large-medium",HEADING_LARGE_BOLD:"heading-large-bold",HEADING_XLARGE_REGULAR:"heading-xlarge-regular",HEADING_XLARGE_MEDIUM:"heading-xlarge-medium",HEADING_XLARGE_BOLD:"heading-xlarge-bold",HEADLINE_SMALL_LIGHT:"headline-small-light",HEADLINE_SMALL_REGULAR:"headline-small-regular"},mt={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},be={TYPE:st.BODY_MIDSIZE_MEDIUM,TEXT_ELEMENT_TAGNAME:mt.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var Zo=class extends K{constructor(){super(...arguments);this.type=be.TYPE;this.tagname=be.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case mt.H1:return _`<h1 part=${be.CSS_PART_TEXT}><slot></slot></h1>`;case mt.H2:return _`<h2 part=${be.CSS_PART_TEXT}><slot></slot></h2>`;case mt.H3:return _`<h3 part=${be.CSS_PART_TEXT}><slot></slot></h3>`;case mt.H4:return _`<h4 part=${be.CSS_PART_TEXT}><slot></slot></h4>`;case mt.H5:return _`<h5 part=${be.CSS_PART_TEXT}><slot></slot></h5>`;case mt.H6:return _`<h6 part=${be.CSS_PART_TEXT}><slot></slot></h6>`;case mt.DIV:return _`<div part=${be.CSS_PART_TEXT}><slot></slot></div>`;case mt.SPAN:return _`<span part=${be.CSS_PART_TEXT}><slot></slot></span>`;case mt.SMALL:return _`<small part=${be.CSS_PART_TEXT}><slot></slot></small>`;case mt.P:default:return _`<p part=${be.CSS_PART_TEXT}><slot></slot></p>`}}};Zo.styles=[...K.styles,...Lm],p([u({attribute:"type",reflect:!0,type:String})],Zo.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],Zo.prototype,"tagname",2);var qd=Zo;qd.register(ya);var yy=qd;var rt=n=>n!=null?n:j;var he=[];for(let n=0;n<256;++n)he.push((n+256).toString(16).slice(1));function Mm(n,o=0){return(he[n[o+0]]+he[n[o+1]]+he[n[o+2]]+he[n[o+3]]+"-"+he[n[o+4]]+he[n[o+5]]+"-"+he[n[o+6]]+he[n[o+7]]+"-"+he[n[o+8]]+he[n[o+9]]+"-"+he[n[o+10]]+he[n[o+11]]+he[n[o+12]]+he[n[o+13]]+he[n[o+14]]+he[n[o+15]]).toLowerCase()}var Xd,Ey=new Uint8Array(16);function Zd(){if(!Xd){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Xd=crypto.getRandomValues.bind(crypto)}return Xd(Ey)}var Ty=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Qd={randomUUID:Ty};function xy(n,o,t){var a,d,m;if(Qd.randomUUID&&!o&&!n)return Qd.randomUUID();n=n||{};let i=(m=(d=n.random)!=null?d:(a=n.rng)==null?void 0:a.call(n))!=null?m:Zd();if(i.length<16)throw new Error("Random bytes length must be >= 16");if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,o){if(t=t||0,t<0||t+16>o.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let b=0;b<16;++b)o[t+b]=i[b];return o}return Mm(i)}var ye=xy;var Rm=B.constructTagName("accordiongroup"),Jd={SMALL:"small",LARGE:"large"},Ay={BORDERLESS:"borderless",CONTAINED:"contained",STACKED:"stacked"},Ea={SIZE:Jd.SMALL,VARIANT:Ay.STACKED};var Qn=B.constructTagName("accordionbutton"),Ta={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},Sy={DEFAULT:"default",BORDERLESS:"borderless"},Ri={EXPANDED:!1,SIZE:Jd.SMALL,DATA_ARIA_LEVEL:3,VARIANT:Sy.DEFAULT,ICON_NAME:Ta.ARROW_UP};var _y=V`
669
+ `,Mm],Rm=Ey;var ya=V.constructTagName("text"),st={BODY_SMALL_REGULAR:"body-small-regular",BODY_SMALL_MEDIUM:"body-small-medium",BODY_SMALL_BOLD:"body-small-bold",BODY_MIDSIZE_REGULAR:"body-midsize-regular",BODY_MIDSIZE_MEDIUM:"body-midsize-medium",BODY_MIDSIZE_BOLD:"body-midsize-bold",BODY_LARGE_REGULAR:"body-large-regular",BODY_LARGE_MEDIUM:"body-large-medium",BODY_LARGE_BOLD:"body-large-bold",BODY_SMALL_REGULAR_UNDERLINE:"body-small-regular-underline",BODY_SMALL_MEDIUM_UNDERLINE:"body-small-medium-underline",BODY_MIDSIZE_REGULAR_UNDERLINE:"body-midsize-regular-underline",BODY_MIDSIZE_MEDIUM_UNDERLINE:"body-midsize-medium-underline",BODY_LARGE_REGULAR_UNDERLINE:"body-large-regular-underline",BODY_LARGE_MEDIUM_UNDERLINE:"body-large-medium-underline",HEADING_SMALL_REGULAR:"heading-small-regular",HEADING_SMALL_MEDIUM:"heading-small-medium",HEADING_SMALL_BOLD:"heading-small-bold",HEADING_MIDSIZE_REGULAR:"heading-midsize-regular",HEADING_MIDSIZE_MEDIUM:"heading-midsize-medium",HEADING_MIDSIZE_BOLD:"heading-midsize-bold",HEADING_LARGE_REGULAR:"heading-large-regular",HEADING_LARGE_MEDIUM:"heading-large-medium",HEADING_LARGE_BOLD:"heading-large-bold",HEADING_XLARGE_REGULAR:"heading-xlarge-regular",HEADING_XLARGE_MEDIUM:"heading-xlarge-medium",HEADING_XLARGE_BOLD:"heading-xlarge-bold",HEADLINE_SMALL_LIGHT:"headline-small-light",HEADLINE_SMALL_REGULAR:"headline-small-regular"},mt={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},be={TYPE:st.BODY_MIDSIZE_MEDIUM,TEXT_ELEMENT_TAGNAME:mt.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var Zo=class extends K{constructor(){super(...arguments);this.type=be.TYPE;this.tagname=be.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case mt.H1:return _`<h1 part=${be.CSS_PART_TEXT}><slot></slot></h1>`;case mt.H2:return _`<h2 part=${be.CSS_PART_TEXT}><slot></slot></h2>`;case mt.H3:return _`<h3 part=${be.CSS_PART_TEXT}><slot></slot></h3>`;case mt.H4:return _`<h4 part=${be.CSS_PART_TEXT}><slot></slot></h4>`;case mt.H5:return _`<h5 part=${be.CSS_PART_TEXT}><slot></slot></h5>`;case mt.H6:return _`<h6 part=${be.CSS_PART_TEXT}><slot></slot></h6>`;case mt.DIV:return _`<div part=${be.CSS_PART_TEXT}><slot></slot></div>`;case mt.SPAN:return _`<span part=${be.CSS_PART_TEXT}><slot></slot></span>`;case mt.SMALL:return _`<small part=${be.CSS_PART_TEXT}><slot></slot></small>`;case mt.P:default:return _`<p part=${be.CSS_PART_TEXT}><slot></slot></p>`}}};Zo.styles=[...K.styles,...Rm],p([u({attribute:"type",reflect:!0,type:String})],Zo.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],Zo.prototype,"tagname",2);var Zd=Zo;Zd.register(ya);var Ty=Zd;var rt=n=>n!=null?n:j;var he=[];for(let n=0;n<256;++n)he.push((n+256).toString(16).slice(1));function Om(n,o=0){return(he[n[o+0]]+he[n[o+1]]+he[n[o+2]]+he[n[o+3]]+"-"+he[n[o+4]]+he[n[o+5]]+"-"+he[n[o+6]]+he[n[o+7]]+"-"+he[n[o+8]]+he[n[o+9]]+"-"+he[n[o+10]]+he[n[o+11]]+he[n[o+12]]+he[n[o+13]]+he[n[o+14]]+he[n[o+15]]).toLowerCase()}var Qd,xy=new Uint8Array(16);function Jd(){if(!Qd){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Qd=crypto.getRandomValues.bind(crypto)}return Qd(xy)}var Ay=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),tc={randomUUID:Ay};function Sy(n,o,t){var a,d,m;if(tc.randomUUID&&!o&&!n)return tc.randomUUID();n=n||{};let i=(m=(d=n.random)!=null?d:(a=n.rng)==null?void 0:a.call(n))!=null?m:Jd();if(i.length<16)throw new Error("Random bytes length must be >= 16");if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,o){if(t=t||0,t<0||t+16>o.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let b=0;b<16;++b)o[t+b]=i[b];return o}return Om(i)}var ye=Sy;var Pm=V.constructTagName("accordiongroup"),ec={SMALL:"small",LARGE:"large"},_y={BORDERLESS:"borderless",CONTAINED:"contained",STACKED:"stacked"},Ea={SIZE:ec.SMALL,VARIANT:_y.STACKED};var Qn=V.constructTagName("accordionbutton"),Ta={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},Iy={DEFAULT:"default",BORDERLESS:"borderless"},Ri={EXPANDED:!1,SIZE:ec.SMALL,DATA_ARIA_LEVEL:3,VARIANT:Iy.DEFAULT,ICON_NAME:Ta.ARROW_UP};var Cy=B`
670
670
  :host {
671
671
  --mdc-accordionbutton-border-color: var(--mds-color-theme-outline-secondary-normal);
672
672
  --mdc-accordionbutton-hover-color: var(--mds-color-theme-background-primary-hover);
@@ -783,7 +783,7 @@
783
783
  :host([variant='default']:not([expanded]))::part(header-section) {
784
784
  border-bottom: none;
785
785
  }
786
- `,Om=[_y,...St(!0)];var Or=class extends zt(K){constructor(){super(...arguments);this.size=Ri.SIZE;this.variant=Ri.VARIANT;this.dataAriaLevel=Ri.DATA_ARIA_LEVEL;this.expanded=Ri.EXPANDED;this.headSectionId=`head-section-${ye()}`;this.bodySectionId=`body-section-${ye()}`}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}
786
+ `,Dm=[Cy,...St(!0)];var Or=class extends zt(K){constructor(){super(...arguments);this.size=Ri.SIZE;this.variant=Ri.VARIANT;this.dataAriaLevel=Ri.DATA_ARIA_LEVEL;this.expanded=Ri.EXPANDED;this.headSectionId=`head-section-${ye()}`;this.bodySectionId=`body-section-${ye()}`}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}
787
787
  >${this.headerText}</mdc-text
788
788
  >`:j}renderHeader(){return _`
789
789
  <div
@@ -814,7 +814,7 @@
814
814
  role="${et.REGION}"
815
815
  >
816
816
  <slot></slot>
817
- </div>`:j}updated(t){super.updated(t),t.has("disabled")&&this.setAttribute("aria-disabled",`${this.disabled}`),t.has("dataAriaLevel")&&!this.dataAriaLevel&&(this.dataAriaLevel=Ri.DATA_ARIA_LEVEL),t.has("size")&&!this.size&&(this.size=Ri.SIZE),t.has("variant")&&!this.variant&&(this.variant=Ri.VARIANT)}render(){return _` ${this.renderHeader()} ${this.renderBody()} `}};Or.styles=[...K.styles,...Om],p([u({type:String,reflect:!0})],Or.prototype,"size",2),p([u({type:String,reflect:!0})],Or.prototype,"variant",2),p([u({type:Number,reflect:!0,attribute:"data-aria-level"})],Or.prototype,"dataAriaLevel",2),p([u({type:Boolean,reflect:!0})],Or.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Or.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],Or.prototype,"prefixIcon",2);var Qo=Or;var Iy=V`
817
+ </div>`:j}updated(t){super.updated(t),t.has("disabled")&&this.setAttribute("aria-disabled",`${this.disabled}`),t.has("dataAriaLevel")&&!this.dataAriaLevel&&(this.dataAriaLevel=Ri.DATA_ARIA_LEVEL),t.has("size")&&!this.size&&(this.size=Ri.SIZE),t.has("variant")&&!this.variant&&(this.variant=Ri.VARIANT)}render(){return _` ${this.renderHeader()} ${this.renderBody()} `}};Or.styles=[...K.styles,...Dm],p([u({type:String,reflect:!0})],Or.prototype,"size",2),p([u({type:String,reflect:!0})],Or.prototype,"variant",2),p([u({type:Number,reflect:!0,attribute:"data-aria-level"})],Or.prototype,"dataAriaLevel",2),p([u({type:Boolean,reflect:!0})],Or.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Or.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],Or.prototype,"prefixIcon",2);var Qo=Or;var ky=B`
818
818
  :host::part(header-section) {
819
819
  display: flex;
820
820
  align-items: center;
@@ -828,7 +828,7 @@
828
828
  :host::part(trailing-header__button) {
829
829
  margin: 0.125rem;
830
830
  }
831
- `,Pm=[Iy];var Jo=class extends Qo{update(o){super.update(o),o.has("disabled")&&[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(t=>{this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled")})}renderHeader(){return _`
831
+ `,$m=[ky];var Jo=class extends Qo{update(o){super.update(o),o.has("disabled")&&[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(t=>{this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled")})}renderHeader(){return _`
832
832
  <div part="header-section">
833
833
  <div part="leading-header">
834
834
  ${this.renderIcon(this.prefixIcon)}
@@ -850,7 +850,7 @@
850
850
  ></mdc-button>
851
851
  </div>
852
852
  </div>
853
- `}};Jo.styles=[...Qo.styles,...Pm],p([Ot({slot:"leading-controls"})],Jo.prototype,"leadingControlsSlot",2),p([Ot({slot:"trailing-controls"})],Jo.prototype,"trailingControlsSlot",2);var tc=Jo;var Jn=B.constructTagName("accordion");tc.register(Jn);var Cy=tc;var ky=V`
853
+ `}};Jo.styles=[...Qo.styles,...$m],p([Ot({slot:"leading-controls"})],Jo.prototype,"leadingControlsSlot",2),p([Ot({slot:"trailing-controls"})],Jo.prototype,"trailingControlsSlot",2);var rc=Jo;var Jn=V.constructTagName("accordion");rc.register(Jn);var wy=rc;var Ny=B`
854
854
  :host {
855
855
  --mdc-accordiongroup-border-color: var(--mds-color-theme-outline-secondary-normal);
856
856
 
@@ -894,7 +894,7 @@
894
894
  :host([variant='borderless']) ::slotted(mdc-accordionbutton[expanded]) {
895
895
  border-bottom: 1px solid var(--mdc-accordiongroup-border-color);
896
896
  }
897
- `,Dm=[ky,...St()];var ri=class extends K{constructor(){super();this.size=Ea.SIZE;this.variant=Ea.VARIANT;this.allowMultiple=!1;this.addEventListener("shown",this.handleAccordionExpanded)}handleAccordionExpanded(t){this.allowMultiple||[...this.accordionItems,...this.accordionButtonItems].forEach(i=>{i!==t.target&&i.hasAttribute("expanded")&&i.toggleAttribute("expanded")})}setChildrenAccordionAttributes(t,i){[...this.accordionItems].forEach(a=>{a.setAttribute(t,i)}),[...this.accordionButtonItems].forEach(a=>{a.setAttribute(t,i)})}updated(t){super.updated(t),t.has("size")&&(this.size||(this.size=Ea.SIZE),this.setChildrenAccordionAttributes("size",this.size)),t.has("variant")&&(this.variant||(this.variant=Ea.VARIANT),this.setChildrenAccordionAttributes("variant",this.variant))}render(){return _` <slot></slot> `}};ri.styles=[...K.styles,...Dm],p([u({type:String,reflect:!0})],ri.prototype,"size",2),p([u({type:String,reflect:!0})],ri.prototype,"variant",2),p([u({type:Boolean,reflect:!0,attribute:"allow-multiple"})],ri.prototype,"allowMultiple",2),p([Ot({selector:Jn})],ri.prototype,"accordionItems",2),p([Ot({selector:Qn})],ri.prototype,"accordionButtonItems",2);var ec=ri;ec.register(Rm);var wy=ec;Qo.register(Qn);var Ny=Qo;var Ly=V`
897
+ `,Fm=[Ny,...St()];var ri=class extends K{constructor(){super();this.size=Ea.SIZE;this.variant=Ea.VARIANT;this.allowMultiple=!1;this.addEventListener("shown",this.handleAccordionExpanded)}handleAccordionExpanded(t){this.allowMultiple||[...this.accordionItems,...this.accordionButtonItems].forEach(i=>{i!==t.target&&i.hasAttribute("expanded")&&i.toggleAttribute("expanded")})}setChildrenAccordionAttributes(t,i){[...this.accordionItems].forEach(a=>{a.setAttribute(t,i)}),[...this.accordionButtonItems].forEach(a=>{a.setAttribute(t,i)})}updated(t){super.updated(t),t.has("size")&&(this.size||(this.size=Ea.SIZE),this.setChildrenAccordionAttributes("size",this.size)),t.has("variant")&&(this.variant||(this.variant=Ea.VARIANT),this.setChildrenAccordionAttributes("variant",this.variant))}render(){return _` <slot></slot> `}};ri.styles=[...K.styles,...Fm],p([u({type:String,reflect:!0})],ri.prototype,"size",2),p([u({type:String,reflect:!0})],ri.prototype,"variant",2),p([u({type:Boolean,reflect:!0,attribute:"allow-multiple"})],ri.prototype,"allowMultiple",2),p([Ot({selector:Jn})],ri.prototype,"accordionItems",2),p([Ot({selector:Qn})],ri.prototype,"accordionButtonItems",2);var ic=ri;ic.register(Pm);var Ly=ic;Qo.register(Qn);var My=Qo;var Ry=B`
898
898
  :host {
899
899
  height: 1.5rem;
900
900
  gap: 0.25rem;
@@ -996,16 +996,16 @@
996
996
  :host([variant='informational']:active) {
997
997
  --mdc-chip-background-color: var(--mds-color-theme-background-alert-theme-active);
998
998
  }
999
- `,$m=[bt,Ly,...St()];var Fm=B.constructTagName("alertchip"),ho={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},ts={VARIANT:ho.NEUTRAL,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:ao[24],ROLE:"button"};var zm=n=>({[ho.ERROR]:"error-legacy-badge-filled",[ho.WARNING]:"warning-badge-filled",[ho.SUCCESS]:"check-circle-badge-filled",[ho.INFORMATIONAL]:"info-badge-filled",[ho.NEUTRAL]:"dnd-presence-badge-filled"})[n];var es=class extends ie{constructor(){super(...arguments);this.variant=ts.VARIANT;this.label=""}connectedCallback(){super.connectedCallback(),this.disabled=void 0,this.softDisabled=void 0,this.active=void 0,this.size=ts.SIZE,this.role=ts.ROLE}render(){return _`
1000
- <mdc-icon part="icon" name="${zm(this.variant)}" length-unit="rem" size="1"></mdc-icon>
999
+ `,zm=[bt,Ry,...St()];var Vm=V.constructTagName("alertchip"),ho={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},ts={VARIANT:ho.NEUTRAL,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:ao[24],ROLE:"button"};var Bm=n=>({[ho.ERROR]:"error-legacy-badge-filled",[ho.WARNING]:"warning-badge-filled",[ho.SUCCESS]:"check-circle-badge-filled",[ho.INFORMATIONAL]:"info-badge-filled",[ho.NEUTRAL]:"dnd-presence-badge-filled"})[n];var es=class extends ie{constructor(){super(...arguments);this.variant=ts.VARIANT;this.label=""}connectedCallback(){super.connectedCallback(),this.disabled=void 0,this.softDisabled=void 0,this.active=void 0,this.size=ts.SIZE,this.role=ts.ROLE}render(){return _`
1000
+ <mdc-icon part="icon" name="${Bm(this.variant)}" length-unit="rem" size="1"></mdc-icon>
1001
1001
  ${this.label?_`<mdc-text part="label" type="${ts.TEXT_TYPE}" tagname="${ts.TAG_NAME}"
1002
1002
  >${this.label}</mdc-text
1003
1003
  >`:j}
1004
- `}};es.styles=[...K.styles,...$m],p([u({type:String})],es.prototype,"variant",2),p([u({type:String})],es.prototype,"label",2);var rc=es;rc.register(Fm);var My=rc;var{I:Ry}=cm;var tl=n=>n.strings===void 0,Vm=()=>document.createComment(""),rs=(n,o,t)=>{var d;let i=n._$AA.parentNode,a=o===void 0?n._$AB:o._$AA;if(t===void 0){let m=i.insertBefore(Vm(),a),b=i.insertBefore(Vm(),a);t=new Ry(m,b,n,n.options)}else{let m=t._$AB.nextSibling,b=t._$AM,C=b!==n;if(C){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!==a||C){let L=t._$AA;for(;L!==m;){let W=L.nextSibling;i.insertBefore(L,a),L=W}}}return t},Oi=(n,o,t=n)=>(n._$AI(o,t),n),Oy={},el=(n,o=Oy)=>n._$AH=o,Bm=n=>n._$AH,rl=n=>{var i;(i=n._$AP)==null||i.call(n,!1,!0);let o=n._$AA,t=n._$AB.nextSibling;for(;o!==t;){let a=o.nextSibling;o.remove(),o=a}};var He={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ii=n=>(...o)=>({_$litDirective$:n,values:o}),Pr=class{constructor(o){}get _$AU(){return this._$AM._$AU}_$AT(o,t,i){this.t=o,this._$AM=t,this.i=i}_$AS(o,t){return this.update(o,t)}update(o,t){return this.render(...t)}};var xa=(n,o)=>{var i;let t=n._$AN;if(t===void 0)return!1;for(let a of t)(i=a._$AO)==null||i.call(a,o,!1),xa(a,o);return!0},il=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)},Um=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),$y(o)}};function Py(n){this._$AN!==void 0?(il(this),this._$AM=n,Um(this)):this._$AM=n}function Dy(n,o=!1,t=0){let i=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(o)if(Array.isArray(i))for(let d=t;d<i.length;d++)xa(i[d],!1),il(i[d]);else i!=null&&(xa(i,!1),il(i));else xa(this,n)}var $y=n=>{var o,t;n.type==He.CHILD&&((o=n._$AP)!=null||(n._$AP=Dy),(t=n._$AQ)!=null||(n._$AQ=Py))},ol=class extends Pr{constructor(){super(...arguments),this._$AN=void 0}_$AT(o,t,i){super._$AT(o,t,i),Um(this),this.isConnected=o._$AU}_$AO(o,t=!0){var i,a;o!==this.isConnected&&(this.isConnected=o,o?(i=this.reconnected)==null||i.call(this):(a=this.disconnected)==null||a.call(this)),t&&(xa(this,o),il(this))}setValue(o){if(tl(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 sl=()=>new oc,oc=class{},ic=new WeakMap,al=ii(class extends ol{render(n){return j}update(n,[o]){var i;let t=o!==this.Y;return t&&this.Y!==void 0&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.Y=o,this.ht=(i=n.options)==null?void 0:i.host,this.rt(this.ct=n.element)),j}rt(n){var o;if(this.isConnected||(n=void 0),typeof this.Y=="function"){let t=(o=this.ht)!=null?o:globalThis,i=ic.get(t);i===void 0&&(i=new WeakMap,ic.set(t,i)),i.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),i.set(this.Y,n),n!==void 0&&this.Y.call(this.ht,n)}else this.Y.value=n}get lt(){var n,o,t;return typeof this.Y=="function"?(o=ic.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 Wm=qb(Hm());var sc={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 Fy=[bt,V`
1004
+ `}};es.styles=[...K.styles,...zm],p([u({type:String})],es.prototype,"variant",2),p([u({type:String})],es.prototype,"label",2);var oc=es;oc.register(Vm);var Oy=oc;var{I:Py}=pm;var tl=n=>n.strings===void 0,Um=()=>document.createComment(""),rs=(n,o,t)=>{var d;let i=n._$AA.parentNode,a=o===void 0?n._$AB:o._$AA;if(t===void 0){let m=i.insertBefore(Um(),a),b=i.insertBefore(Um(),a);t=new Py(m,b,n,n.options)}else{let m=t._$AB.nextSibling,b=t._$AM,C=b!==n;if(C){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!==a||C){let L=t._$AA;for(;L!==m;){let W=L.nextSibling;i.insertBefore(L,a),L=W}}}return t},Oi=(n,o,t=n)=>(n._$AI(o,t),n),Dy={},el=(n,o=Dy)=>n._$AH=o,Hm=n=>n._$AH,rl=n=>{var i;(i=n._$AP)==null||i.call(n,!1,!0);let o=n._$AA,t=n._$AB.nextSibling;for(;o!==t;){let a=o.nextSibling;o.remove(),o=a}};var He={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ii=n=>(...o)=>({_$litDirective$:n,values:o}),Pr=class{constructor(o){}get _$AU(){return this._$AM._$AU}_$AT(o,t,i){this.t=o,this._$AM=t,this.i=i}_$AS(o,t){return this.update(o,t)}update(o,t){return this.render(...t)}};var xa=(n,o)=>{var i;let t=n._$AN;if(t===void 0)return!1;for(let a of t)(i=a._$AO)==null||i.call(a,o,!1),xa(a,o);return!0},il=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)},Gm=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),zy(o)}};function $y(n){this._$AN!==void 0?(il(this),this._$AM=n,Gm(this)):this._$AM=n}function Fy(n,o=!1,t=0){let i=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(o)if(Array.isArray(i))for(let d=t;d<i.length;d++)xa(i[d],!1),il(i[d]);else i!=null&&(xa(i,!1),il(i));else xa(this,n)}var zy=n=>{var o,t;n.type==He.CHILD&&((o=n._$AP)!=null||(n._$AP=Fy),(t=n._$AQ)!=null||(n._$AQ=$y))},ol=class extends Pr{constructor(){super(...arguments),this._$AN=void 0}_$AT(o,t,i){super._$AT(o,t,i),Gm(this),this.isConnected=o._$AU}_$AO(o,t=!0){var i,a;o!==this.isConnected&&(this.isConnected=o,o?(i=this.reconnected)==null||i.call(this):(a=this.disconnected)==null||a.call(this)),t&&(xa(this,o),il(this))}setValue(o){if(tl(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 sl=()=>new ac,ac=class{},sc=new WeakMap,al=ii(class extends ol{render(n){return j}update(n,[o]){var i;let t=o!==this.Y;return t&&this.Y!==void 0&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.Y=o,this.ht=(i=n.options)==null?void 0:i.host,this.rt(this.ct=n.element)),j}rt(n){var o;if(this.isConnected||(n=void 0),typeof this.Y=="function"){let t=(o=this.ht)!=null?o:globalThis,i=sc.get(t);i===void 0&&(i=new WeakMap,sc.set(t,i)),i.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),i.set(this.Y,n),n!==void 0&&this.Y.call(this.ht,n)}else this.Y.value=n}get lt(){var n,o,t;return typeof this.Y=="function"?(o=sc.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 Km=Zb(Ym());var nc={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 Vy=[bt,B`
1005
1005
  :host svg {
1006
1006
  display: block;
1007
1007
  }
1008
- `],Gm=Fy;var Ym=B.constructTagName("animation"),ll={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var oi=class extends K{constructor(){super(...arguments);this.name=ll.NAME;this.loop=ll.LOOP;this.autoplay=ll.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledBy=null;this.containerRef=sl();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=Wm.default.loadAnimation({container:this.containerRef.value,renderer:"svg",loop:this.getLoopValue(),autoplay:this.autoplay,animationData:t,name:this.name}),this.lottieInstance.addEventListener("complete",this.onCompleteHandler)),this.dispatchEvent(new CustomEvent("load",{bubbles:!0,cancelable:!0,detail:{name:this.name}}))}onLoadFailHandler(t){let i=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(i)}getAnimationData(){this.name&&sc[this.name]?import(`@momentum-design/animations/dist/lottie${sc[this.name].replace(/^\.\/lottie/,"")}`).then(i=>this.onLoadSuccessHandler(i.default)).catch(i=>this.onLoadFailHandler(i)):this.onLoadFailHandler(new Error(`Invalid animation name: ${this.name}`))}updated(t){super.updated(t),(t.has("name")||t.has("loop")||t.has("autoplay"))&&this.getAnimationData(),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null)}disconnectedCallback(){super.disconnectedCallback(),this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy(),this.lottieInstance=void 0)}render(){return _`<div aria-hidden="true" ${al(this.containerRef)}></div>`}};oi.styles=[...K.styles,...Gm],p([u({type:String,reflect:!0})],oi.prototype,"name",2),p([u({type:String,reflect:!0})],oi.prototype,"loop",2),p([u({type:Boolean,reflect:!0})],oi.prototype,"autoplay",2),p([u({type:String,attribute:"aria-label"})],oi.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],oi.prototype,"ariaLabelledBy",2);var ac=oi;ac.register(Ym);var zy=ac;var is=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)))}}};is.stack=new Set,is.currentKeydownListener=null;var dl=n=>{class o extends n{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(a){this.isFocusTrapActivated=a}activateFocusTrap(){this.setIsFocusTrapActivated(!0),is.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),is.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(a){return a.getClientRects().length===0}hasZeroDimensions(a){let{width:d,height:m}=a.getBoundingClientRect(),{offsetWidth:b,offsetHeight:C}=a;return b+C+m+d===0}isNotVisible(a){return this.hasZeroDimensions(a)||this.hasNoClientRects(a)}hasHiddenStyle(a){let{display:d,opacity:m,visibility:b}=a.style;return d==="none"||m==="0"||b==="hidden"||b==="collapse"}hasComputedHidden(a){let d=getComputedStyle(a);return d.visibility==="hidden"||d.height==="0"||d.display==="none"}isHidden(a){return a.hasAttribute("hidden")||a.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(a)||this.isNotVisible(a)||this.hasComputedHidden(a)}isDisabled(a){return a.disabled}isNotTabbable(a){return a.getAttribute("tabindex")==="-1"}isInteractiveElement(a){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(a.tagName)||a instanceof HTMLAnchorElement&&a.hasAttribute("href")||a instanceof HTMLInputElement&&a.type!=="hidden"||(a instanceof HTMLAudioElement||a instanceof HTMLVideoElement)&&a.hasAttribute("controls")||(a instanceof HTMLImageElement||a instanceof HTMLObjectElement)&&a.hasAttribute("usemap")||a.hasAttribute("tabindex")&&a.tabIndex>-1)}isFocusable(a){return this.isHidden(a)||this.isNotTabbable(a)||this.isDisabled(a)?!1:this.isInteractiveElement(a)}findFocusable(a,d=new Set){a instanceof HTMLElement&&this.isFocusable(a)&&d.add(a);let m=[];return a.children.length?m=Array.from(a.children):a instanceof HTMLElement&&a.shadowRoot&&(m=Array.from(a.shadowRoot.children)),m.forEach(b=>{let C=b;this.isFocusable(C)&&d.add(C),C.shadowRoot?this.findFocusable(C.shadowRoot,d):C.tagName==="SLOT"?C.assignedElements({flatten:!0}).forEach(W=>{W instanceof HTMLElement&&this.findFocusable(W,d)}):this.findFocusable(C,d)}),[...d]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(a=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[a]&&(this.focusTrapIndex=a,this.focusableElements[a].focus({preventScroll:!0}))}calculateNextIndex(a,d){let{length:m}=this.focusableElements;if(a===-1)return d>0?0:m-1;let b=a+d;return this.shouldFocusTrapWrap?(b<0&&(b=m-1),b>=m&&(b=0)):(b<0&&(b=0),b>=m&&(b=m-1)),b}getDeepActiveElement(){var d;let a=document.activeElement||document.body;for(;a instanceof HTMLElement&&((d=a.shadowRoot)!=null&&d.activeElement);)a=a.shadowRoot.activeElement;return a||document.body}findElement(a){return this.focusableElements.findIndex(d=>this.isEqualFocusNode(a,d))}isEqualFocusNode(a,d){return a.nodeType>=0?d.isEqualNode(a)&&d===a:!1}trapFocus(a){if(this.setFocusableElements(),this.focusableElements.length===0)return;let d=this.getDeepActiveElement(),m=this.findElement(d);a.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let C=this.focusableElements[this.focusTrapIndex];C.tagName!=="IFRAME"&&C&&(a.preventDefault(),C.focus())}handleTabKeydown(a){this.isFocusTrapActivated&&a.key==="Tab"&&this.trapFocus(a)}}return p([u({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],o.prototype,"shouldFocusTrapWrap",2),o};var cl=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 hl=B.constructTagName("link"),pl={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},ml={LARGE:1,MIDSIZE:.875,SMALL:.75},jm={LINK_SIZE:pl.LARGE};var Km=B.constructTagName("card"),nc={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},Vy={HORIZONTAL:"horizontal",VERTICAL:"vertical"},oe={VARIANT:nc.BORDER,ORIENTATION:Vy.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:hl,BUTTON:Jr};var os=n=>{class o extends n{updateFooterButtonColors(i){let a=[...this.footerButtonPrimary||[],...this.footerButtonSecondary||[]];a==null||a.forEach(d=>{i===nc.PROMOTIONAL?d.setAttribute("color",no.PROMOTIONAL):d.setAttribute("color",no.DEFAULT)})}handleFooterSlot(i,a){var m,b,C;let d=[];i===oe.LINK&&((m=this.footerLink)!=null&&m.length)?d=this.footerLink:i===oe.BUTTON&&a===Dt.PRIMARY&&((b=this.footerButtonPrimary)!=null&&b.length)?d=this.footerButtonPrimary:i===oe.BUTTON&&a===Dt.SECONDARY&&((C=this.footerButtonSecondary)!=null&&C.length)&&(d=this.footerButtonSecondary);for(let L=1;L<d.length;L+=1)d[L].remove();d.forEach(L=>{L.matches(i)||L.remove(),a&&L.setAttribute("variant",a)})}renderFooter(){return _` <slot name="footer">
1008
+ `],Wm=Vy;var jm=V.constructTagName("animation"),ll={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var oi=class extends K{constructor(){super(...arguments);this.name=ll.NAME;this.loop=ll.LOOP;this.autoplay=ll.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledBy=null;this.containerRef=sl();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=Km.default.loadAnimation({container:this.containerRef.value,renderer:"svg",loop:this.getLoopValue(),autoplay:this.autoplay,animationData:t,name:this.name}),this.lottieInstance.addEventListener("complete",this.onCompleteHandler)),this.dispatchEvent(new CustomEvent("load",{bubbles:!0,cancelable:!0,detail:{name:this.name}}))}onLoadFailHandler(t){let i=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(i)}getAnimationData(){this.name&&nc[this.name]?import(`@momentum-design/animations/dist/lottie${nc[this.name].replace(/^\.\/lottie/,"")}`).then(i=>this.onLoadSuccessHandler(i.default)).catch(i=>this.onLoadFailHandler(i)):this.onLoadFailHandler(new Error(`Invalid animation name: ${this.name}`))}updated(t){super.updated(t),(t.has("name")||t.has("loop")||t.has("autoplay"))&&this.getAnimationData(),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null)}disconnectedCallback(){super.disconnectedCallback(),this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy(),this.lottieInstance=void 0)}render(){return _`<div aria-hidden="true" ${al(this.containerRef)}></div>`}};oi.styles=[...K.styles,...Wm],p([u({type:String,reflect:!0})],oi.prototype,"name",2),p([u({type:String,reflect:!0})],oi.prototype,"loop",2),p([u({type:Boolean,reflect:!0})],oi.prototype,"autoplay",2),p([u({type:String,attribute:"aria-label"})],oi.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],oi.prototype,"ariaLabelledBy",2);var lc=oi;lc.register(jm);var By=lc;var is=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)))}}};is.stack=new Set,is.currentKeydownListener=null;var dl=n=>{class o extends n{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(a){this.isFocusTrapActivated=a}activateFocusTrap(){this.setIsFocusTrapActivated(!0),is.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),is.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(a){return a.getClientRects().length===0}hasZeroDimensions(a){let{width:d,height:m}=a.getBoundingClientRect(),{offsetWidth:b,offsetHeight:C}=a;return b+C+m+d===0}isNotVisible(a){return this.hasZeroDimensions(a)||this.hasNoClientRects(a)}hasHiddenStyle(a){let{display:d,opacity:m,visibility:b}=a.style;return d==="none"||m==="0"||b==="hidden"||b==="collapse"}hasComputedHidden(a){let d=getComputedStyle(a);return d.visibility==="hidden"||d.height==="0"||d.display==="none"}isHidden(a){return a.hasAttribute("hidden")||a.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(a)||this.isNotVisible(a)||this.hasComputedHidden(a)}isDisabled(a){return a.disabled}isNotTabbable(a){return a.getAttribute("tabindex")==="-1"}isInteractiveElement(a){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(a.tagName)||a instanceof HTMLAnchorElement&&a.hasAttribute("href")||a instanceof HTMLInputElement&&a.type!=="hidden"||(a instanceof HTMLAudioElement||a instanceof HTMLVideoElement)&&a.hasAttribute("controls")||(a instanceof HTMLImageElement||a instanceof HTMLObjectElement)&&a.hasAttribute("usemap")||a.hasAttribute("tabindex")&&a.tabIndex>-1)}isFocusable(a){return this.isHidden(a)||this.isNotTabbable(a)||this.isDisabled(a)?!1:this.isInteractiveElement(a)}findFocusable(a,d=new Set){a instanceof HTMLElement&&this.isFocusable(a)&&d.add(a);let m=[];return a.children.length?m=Array.from(a.children):a instanceof HTMLElement&&a.shadowRoot&&(m=Array.from(a.shadowRoot.children)),m.forEach(b=>{let C=b;this.isFocusable(C)&&d.add(C),C.shadowRoot?this.findFocusable(C.shadowRoot,d):C.tagName==="SLOT"?C.assignedElements({flatten:!0}).forEach(W=>{W instanceof HTMLElement&&this.findFocusable(W,d)}):this.findFocusable(C,d)}),[...d]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(a=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[a]&&(this.focusTrapIndex=a,this.focusableElements[a].focus({preventScroll:!0}))}calculateNextIndex(a,d){let{length:m}=this.focusableElements;if(a===-1)return d>0?0:m-1;let b=a+d;return this.shouldFocusTrapWrap?(b<0&&(b=m-1),b>=m&&(b=0)):(b<0&&(b=0),b>=m&&(b=m-1)),b}getDeepActiveElement(){var d;let a=document.activeElement||document.body;for(;a instanceof HTMLElement&&((d=a.shadowRoot)!=null&&d.activeElement);)a=a.shadowRoot.activeElement;return a||document.body}findElement(a){return this.focusableElements.findIndex(d=>this.isEqualFocusNode(a,d))}isEqualFocusNode(a,d){return a.nodeType>=0?d.isEqualNode(a)&&d===a:!1}trapFocus(a){if(this.setFocusableElements(),this.focusableElements.length===0)return;let d=this.getDeepActiveElement(),m=this.findElement(d);a.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let C=this.focusableElements[this.focusTrapIndex];C.tagName!=="IFRAME"&&C&&(a.preventDefault(),C.focus())}handleTabKeydown(a){this.isFocusTrapActivated&&a.key==="Tab"&&this.trapFocus(a)}}return p([u({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],o.prototype,"shouldFocusTrapWrap",2),o};var cl=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 hl=V.constructTagName("link"),pl={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},ml={LARGE:1,MIDSIZE:.875,SMALL:.75},qm={LINK_SIZE:pl.LARGE};var Xm=V.constructTagName("card"),dc={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},Uy={HORIZONTAL:"horizontal",VERTICAL:"vertical"},oe={VARIANT:dc.BORDER,ORIENTATION:Uy.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:hl,BUTTON:Jr};var os=n=>{class o extends n{updateFooterButtonColors(i){let a=[...this.footerButtonPrimary||[],...this.footerButtonSecondary||[]];a==null||a.forEach(d=>{i===dc.PROMOTIONAL?d.setAttribute("color",no.PROMOTIONAL):d.setAttribute("color",no.DEFAULT)})}handleFooterSlot(i,a){var m,b,C;let d=[];i===oe.LINK&&((m=this.footerLink)!=null&&m.length)?d=this.footerLink:i===oe.BUTTON&&a===Dt.PRIMARY&&((b=this.footerButtonPrimary)!=null&&b.length)?d=this.footerButtonPrimary:i===oe.BUTTON&&a===Dt.SECONDARY&&((C=this.footerButtonSecondary)!=null&&C.length)&&(d=this.footerButtonSecondary);for(let L=1;L<d.length;L+=1)d[L].remove();d.forEach(L=>{L.matches(i)||L.remove(),a&&L.setAttribute("variant",a)})}renderFooter(){return _` <slot name="footer">
1009
1009
  <div part="footer">
1010
1010
  <slot name="footer-link" @slotchange=${()=>this.handleFooterSlot(oe.LINK)}></slot>
1011
1011
  <slot
@@ -1027,7 +1027,7 @@
1027
1027
  background: ${this.isBackdropInvisible?"transparent":"var(--mds-color-theme-common-overlays-secondary-normal)"};
1028
1028
  z-index: ${this.zIndex-1};
1029
1029
  }
1030
- `,d.appendChild(m);let C=document.getElementById(this.backdropAppendTo)||this.parentElement;C==null||C.appendChild(d),this.backdropElement=d}removeBackdrop(){this.backdropElement&&(this.backdropElement.remove(),this.backdropElement=null)}keepElementAboveBackdrop(a){a&&(this.elementOriginalStyle={zIndex:a.style.zIndex,position:a.style.position},a.style.zIndex=`${this.zIndex}`,["fixed","absolute"].includes(window.getComputedStyle(a).position)||(a.style.position="relative"))}moveElementBackAfterBackdropRemoval(a){!a||!this.elementOriginalStyle||(a.style.zIndex=this.elementOriginalStyle.zIndex,a.style.position=this.elementOriginalStyle.position,this.elementOriginalStyle=void 0)}}return o};var qm=B.constructTagName("dialog"),lc={DEFAULT:"default",PROMOTIONAL:"promotional"},or={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:lc.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var Pi=class{static dispatchDialogEvent(o,t,i=!0){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:i}))}static onShowDialog(o){this.dispatchDialogEvent("shown",o)}static onHideDialog(o){this.dispatchDialogEvent("hidden",o)}static onCloseDialog(o,t=!0){this.dispatchDialogEvent("close",o,t)}static onCreatedDialog(o){this.dispatchDialogEvent("created",o)}static onDestroyedDialog(o){this.dispatchDialogEvent("destroyed",o)}};var By=V`
1030
+ `,d.appendChild(m);let C=document.getElementById(this.backdropAppendTo)||this.parentElement;C==null||C.appendChild(d),this.backdropElement=d}removeBackdrop(){this.backdropElement&&(this.backdropElement.remove(),this.backdropElement=null)}keepElementAboveBackdrop(a){a&&(this.elementOriginalStyle={zIndex:a.style.zIndex,position:a.style.position},a.style.zIndex=`${this.zIndex}`,["fixed","absolute"].includes(window.getComputedStyle(a).position)||(a.style.position="relative"))}moveElementBackAfterBackdropRemoval(a){!a||!this.elementOriginalStyle||(a.style.zIndex=this.elementOriginalStyle.zIndex,a.style.position=this.elementOriginalStyle.position,this.elementOriginalStyle=void 0)}}return o};var Zm=V.constructTagName("dialog"),cc={DEFAULT:"default",PROMOTIONAL:"promotional"},or={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:cc.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var Pi=class{static dispatchDialogEvent(o,t,i=!0){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:i}))}static onShowDialog(o){this.dispatchDialogEvent("shown",o)}static onHideDialog(o){this.dispatchDialogEvent("hidden",o)}static onCloseDialog(o,t=!0){this.dispatchDialogEvent("close",o,t)}static onCreatedDialog(o){this.dispatchDialogEvent("created",o)}static onDestroyedDialog(o){this.dispatchDialogEvent("destroyed",o)}};var Hy=B`
1031
1031
  :host {
1032
1032
  --mdc-dialog-primary-background-color: var(--mds-color-theme-background-solid-primary-normal);
1033
1033
  --mdc-dialog-border-color: var(--mds-color-theme-outline-secondary-normal);
@@ -1151,7 +1151,7 @@
1151
1151
  mdc-text::part(text) {
1152
1152
  margin: 0;
1153
1153
  }
1154
- `,Xm=[By];var Ut=class extends ul(cl(dl(os(K)))){constructor(){super(...arguments);this.id="";this.visible=or.VISIBLE;this.zIndex=or.Z_INDEX;this.size=or.SIZE;this.variant=or.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedBy=null;this.ariaDescription=null;this.headerTagName=or.HEADER_TAG_NAME;this.descriptionTagName=or.DESCRIPTION_TAG_NAME;this.role=or.ROLE;this.disableAriaHasPopup=or.DISABLE_ARIA_HAS_POPUP;this.focusTrap=or.FOCUS_TRAP;this.preventScroll=!0;this.triggerElement=null;this.lastActiveElement=null;this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(t.preventDefault(),t.stopPropagation(),this.closeDialog())}}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onEscapeKeydown.bind(this))}disconnectedCallback(){var t,i;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),this.removeBackdrop(),(t=this.triggerElement)==null||t.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(i=this.deactivateFocusTrap)==null||i.call(this),this.focusBackToTrigger(),Pi.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(),Pi.onCreatedDialog(this)}async updated(t){if(super.updated(t),t.has("triggerId")&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerId}"]`),this.setupAriaHasPopup()),t.has("visible")){let i=t.get("visible");await this.isOpenUpdated(i,this.visible)}t.has("zIndex")&&(this.zIndex===null&&(this.zIndex=or.Z_INDEX),this.applyZIndex()),t.has("variant")&&this.updateFooterButtonColors(this.variant),(t.has("ariaLabel")||t.has("ariaLabelledBy")||t.has("ariaDescribedBy")||t.has("ariaDescription")||t.has("headerText")||t.has("descriptionText"))&&this.setupAriaLabelledDescribedBy(),t.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap()}setupAriaHasPopup(){var t,i;this.disableAriaHasPopup||(i=this.triggerElement)==null||i.setAttribute("aria-haspopup",((t=this.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||"dialog")}setupAriaLabelledDescribedBy(){!this.ariaLabelledby&&!this.ariaLabel&&(this.headerText?this.setAttribute("aria-label",this.headerText):this.triggerId&&this.setAttribute("aria-labelledby",this.triggerId)),!this.ariaDescribedBy&&!this.ariaDescription&&(this.descriptionText?this.setAttribute("aria-description",this.descriptionText):this.triggerId&&this.setAttribute("aria-describedby",this.triggerId))}closeDialog(){Pi.onCloseDialog(this,!1)}async isOpenUpdated(t,i){var a,d,m,b,C;t!==i&&(i&&!t?(this.lastActiveElement=document.activeElement,this.removeBackdrop(),this.createBackdrop("dialog"),this.activatePreventScroll(),await this.updateComplete,this.focusTrap&&((a=this.activateFocusTrap)==null||a.call(this)),(d=this.setInitialFocus)==null||d.call(this),(m=this.triggerElement)==null||m.setAttribute("aria-expanded","true"),Pi.onShowDialog(this)):!i&&t&&(this.removeBackdrop(),(b=this.triggerElement)==null||b.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(C=this.deactivateFocusTrap)==null||C.call(this),this.focusBackToTrigger(),Pi.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}renderHeader(){return this.headerText?_` <div part="header-section">
1154
+ `,Qm=[Hy];var Ut=class extends ul(cl(dl(os(K)))){constructor(){super(...arguments);this.id="";this.visible=or.VISIBLE;this.zIndex=or.Z_INDEX;this.size=or.SIZE;this.variant=or.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedBy=null;this.ariaDescription=null;this.headerTagName=or.HEADER_TAG_NAME;this.descriptionTagName=or.DESCRIPTION_TAG_NAME;this.role=or.ROLE;this.disableAriaHasPopup=or.DISABLE_ARIA_HAS_POPUP;this.focusTrap=or.FOCUS_TRAP;this.preventScroll=!0;this.triggerElement=null;this.lastActiveElement=null;this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(t.preventDefault(),t.stopPropagation(),this.closeDialog())}}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onEscapeKeydown.bind(this))}disconnectedCallback(){var t,i;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),this.removeBackdrop(),(t=this.triggerElement)==null||t.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(i=this.deactivateFocusTrap)==null||i.call(this),this.focusBackToTrigger(),Pi.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(),Pi.onCreatedDialog(this)}async updated(t){if(super.updated(t),t.has("triggerId")&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerId}"]`),this.setupAriaHasPopup()),t.has("visible")){let i=t.get("visible");await this.isOpenUpdated(i,this.visible)}t.has("zIndex")&&(this.zIndex===null&&(this.zIndex=or.Z_INDEX),this.applyZIndex()),t.has("variant")&&this.updateFooterButtonColors(this.variant),(t.has("ariaLabel")||t.has("ariaLabelledBy")||t.has("ariaDescribedBy")||t.has("ariaDescription")||t.has("headerText")||t.has("descriptionText"))&&this.setupAriaLabelledDescribedBy(),t.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap()}setupAriaHasPopup(){var t,i;this.disableAriaHasPopup||(i=this.triggerElement)==null||i.setAttribute("aria-haspopup",((t=this.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||"dialog")}setupAriaLabelledDescribedBy(){!this.ariaLabelledby&&!this.ariaLabel&&(this.headerText?this.setAttribute("aria-label",this.headerText):this.triggerId&&this.setAttribute("aria-labelledby",this.triggerId)),!this.ariaDescribedBy&&!this.ariaDescription&&(this.descriptionText?this.setAttribute("aria-description",this.descriptionText):this.triggerId&&this.setAttribute("aria-describedby",this.triggerId))}closeDialog(){Pi.onCloseDialog(this,!1)}async isOpenUpdated(t,i){var a,d,m,b,C;t!==i&&(i&&!t?(this.lastActiveElement=document.activeElement,this.removeBackdrop(),this.createBackdrop("dialog"),this.activatePreventScroll(),await this.updateComplete,this.focusTrap&&((a=this.activateFocusTrap)==null||a.call(this)),(d=this.setInitialFocus)==null||d.call(this),(m=this.triggerElement)==null||m.setAttribute("aria-expanded","true"),Pi.onShowDialog(this)):!i&&t&&(this.removeBackdrop(),(b=this.triggerElement)==null||b.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(C=this.deactivateFocusTrap)==null||C.call(this),this.focusBackToTrigger(),Pi.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}renderHeader(){return this.headerText?_` <div part="header-section">
1155
1155
  <div part="header">
1156
1156
  <slot name="header-prefix"></slot>
1157
1157
  <mdc-text
@@ -1182,7 +1182,7 @@
1182
1182
  @click="${this.closeDialog}"
1183
1183
  ></mdc-button>
1184
1184
  ${this.renderBody()} ${this.renderFooter()}
1185
- `}};Ut.styles=[...K.styles,...Xm],p([u({type:String,reflect:!0})],Ut.prototype,"id",2),p([u({type:String,reflect:!0})],Ut.prototype,"triggerId",2),p([u({type:Boolean,reflect:!0})],Ut.prototype,"visible",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],Ut.prototype,"zIndex",2),p([u({type:String,reflect:!0})],Ut.prototype,"size",2),p([u({type:String,reflect:!0})],Ut.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],Ut.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],Ut.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],Ut.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],Ut.prototype,"ariaDescribedBy",2),p([u({type:String,reflect:!0,attribute:"aria-description"})],Ut.prototype,"ariaDescription",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Ut.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"description-text"})],Ut.prototype,"descriptionText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],Ut.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"description-tag-name"})],Ut.prototype,"descriptionTagName",2),p([u({type:String,reflect:!0})],Ut.prototype,"role",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],Ut.prototype,"disableAriaHasPopup",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],Ut.prototype,"focusTrap",2);var ss=Ut;var Uy=V`
1185
+ `}};Ut.styles=[...K.styles,...Qm],p([u({type:String,reflect:!0})],Ut.prototype,"id",2),p([u({type:String,reflect:!0})],Ut.prototype,"triggerId",2),p([u({type:Boolean,reflect:!0})],Ut.prototype,"visible",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],Ut.prototype,"zIndex",2),p([u({type:String,reflect:!0})],Ut.prototype,"size",2),p([u({type:String,reflect:!0})],Ut.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],Ut.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],Ut.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],Ut.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],Ut.prototype,"ariaDescribedBy",2),p([u({type:String,reflect:!0,attribute:"aria-description"})],Ut.prototype,"ariaDescription",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Ut.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"description-text"})],Ut.prototype,"descriptionText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],Ut.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"description-tag-name"})],Ut.prototype,"descriptionTagName",2),p([u({type:String,reflect:!0})],Ut.prototype,"role",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],Ut.prototype,"disableAriaHasPopup",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],Ut.prototype,"focusTrap",2);var ss=Ut;var Gy=B`
1186
1186
  :host {
1187
1187
  --mdc-announcementdialog-illustration-background-color: var(--mds-color-theme-background-solid-secondary-normal);
1188
1188
 
@@ -1231,7 +1231,7 @@
1231
1231
  margin-inline-end: 0;
1232
1232
  }
1233
1233
  }
1234
- `,Zm=[Uy];var Qm=B.constructTagName("announcementdialog");var Jm={SIZE:"medium"};var as=class extends ss{constructor(){super(...arguments);this.size=Jm.SIZE}connectedCallback(){super.connectedCallback(),this.variant=lc.DEFAULT}renderHeader(){return _`${j}`}renderBody(){return _`
1234
+ `,Jm=[Gy];var tu=V.constructTagName("announcementdialog");var eu={SIZE:"medium"};var as=class extends ss{constructor(){super(...arguments);this.size=eu.SIZE}connectedCallback(){super.connectedCallback(),this.variant=cc.DEFAULT}renderHeader(){return _`${j}`}renderBody(){return _`
1235
1235
  <div part="body">
1236
1236
  <div part="illustration-container">
1237
1237
  <slot name="illustration-container">
@@ -1251,7 +1251,7 @@
1251
1251
  </slot>
1252
1252
  </div>
1253
1253
  </div>
1254
- `}};as.styles=[...ss.styles,...Zm],p([u({type:String,reflect:!0})],as.prototype,"illustration",2),p([u({type:String,reflect:!0})],as.prototype,"size",2);var dc=as;var fl=B.constructTagName("illustrationprovider"),tu=["svg"],Sa={FILE_EXTENSION:"svg",ILLUSTRATION_SET:"momentum-illustrations"};var vl=class{};vl.context=fl;var gl=vl;var Di=class extends rr{constructor(){super({context:gl.context,initialValue:new gl});this.illustrationSet=Sa.ILLUSTRATION_SET;this.fileExtension=Sa.FILE_EXTENSION}static get Context(){return gl.context}updateValuesInContext(){this.fileExtension&&tu.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=Sa.FILE_EXTENSION,this.context.value.fileExtension=Sa.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})],Di.prototype,"illustrationSet",2),p([u({type:String})],Di.prototype,"url",2),p([u({type:String,attribute:"file-extension",reflect:!0})],Di.prototype,"fileExtension",2),p([u({type:String,attribute:"cache-strategy"})],Di.prototype,"cacheStrategy",2),p([u({type:String,attribute:"cache-name"})],Di.prototype,"cacheName",2);var _a=Di;var Hy=[bt,V`
1254
+ `}};as.styles=[...ss.styles,...Jm],p([u({type:String,reflect:!0})],as.prototype,"illustration",2),p([u({type:String,reflect:!0})],as.prototype,"size",2);var hc=as;var fl=V.constructTagName("illustrationprovider"),ru=["svg"],Sa={FILE_EXTENSION:"svg",ILLUSTRATION_SET:"momentum-illustrations"};var vl=class{};vl.context=fl;var gl=vl;var Di=class extends rr{constructor(){super({context:gl.context,initialValue:new gl});this.illustrationSet=Sa.ILLUSTRATION_SET;this.fileExtension=Sa.FILE_EXTENSION}static get Context(){return gl.context}updateValuesInContext(){this.fileExtension&&ru.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=Sa.FILE_EXTENSION,this.context.value.fileExtension=Sa.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})],Di.prototype,"illustrationSet",2),p([u({type:String})],Di.prototype,"url",2),p([u({type:String,attribute:"file-extension",reflect:!0})],Di.prototype,"fileExtension",2),p([u({type:String,attribute:"cache-strategy"})],Di.prototype,"cacheStrategy",2),p([u({type:String,attribute:"cache-name"})],Di.prototype,"cacheName",2);var _a=Di;var Yy=[bt,B`
1255
1255
  :host {
1256
1256
  --mdc-illustration-size: auto;
1257
1257
  }
@@ -1259,7 +1259,7 @@
1259
1259
  height: var(--mdc-illustration-size);
1260
1260
  width: var(--mdc-illustration-size);
1261
1261
  }
1262
- `],eu=Hy;var ru=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the illustration!");return o}),iu=async({url:n,name:o,fileExtension:t,cacheStrategy:i,cacheName:a,renewSignal:d})=>{let m=d(),b=new Request(`${n}/${o}.${t}`,{signal:m});return!a||!i||!["in-memory-cache","web-cache-api"].includes(i)?ru(b).then(C=>C.text()):Zn(a,i).then(C=>C.get(b).then(L=>L||ru(b.clone()).then(W=>{var q;return W.status<400&&W.headers.has("content-type")?(q=C.set)==null?void 0:q.call(C,b,W.clone()).then(()=>W.text()):W.text()})).catch(L=>{throw new Error(`Error in caching the Illustration ${o}, ${L}`)}))};var ou=B.constructTagName("illustration"),su={NAME:void 0};var si=class extends K{constructor(){super();this.name=su.NAME;this.ariaLabel=null;this.ariaLabelledby=null;this.illustrationProviderContext=ir.consume({host:this,context:_a.Context});this.abortController=new AbortController}prepareIllustrationElement(t){let i=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&i.setAttribute("data-name",this.name),i.setAttribute("part","illustration"),i.setAttribute("aria-hidden","true"),i}async getIllustrationData(){if(this.illustrationProviderContext.value){let{fileExtension:i,url:a,cacheName:d,illustrationSet:m,cacheStrategy:b}=this.illustrationProviderContext.value;if(m==="custom-illustrations"&&a&&i&&this.name){let C=()=>{var L;return(L=this.abortController)==null||L.abort(),this.abortController=new AbortController,this.abortController.signal};return iu({url:a,name:this.name,fileExtension:i,cacheName:d,cacheStrategy:b,renewSignal:C}).then(L=>{let W=this.prepareIllustrationElement(L);this.handleIllustrationLoadedSuccess(W)}).catch(L=>{this.handleIllustrationLoadedFailure(L)})}if(m==="momentum-illustrations"&&this.name)return import(`@momentum-design/illustrations/dist/ts/${this.name}.ts`).then(C=>{this.handleIllustrationLoadedSuccess(C.default())}).catch(C=>{this.handleIllustrationLoadedFailure(C)})}let t=new Error("IllustrationProvider not found or not properly set up.");return this.handleIllustrationLoadedFailure(t),Promise.reject(t)}handleIllustrationLoadedSuccess(t){this.illustrationData=t;let i=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(i)}handleIllustrationLoadedFailure(t){let i=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(i)}updated(t){super.updated(t),t.has("name")&&this.getIllustrationData().catch(i=>{i.name!=="AbortError"&&this.onerror&&this.onerror(i)}),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledby?"img":null)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return _` ${this.illustrationData} `}};si.styles=[...K.styles,...eu],p([gt()],si.prototype,"illustrationData",2),p([u({type:String,reflect:!0})],si.prototype,"name",2),p([u({type:String,attribute:"aria-label"})],si.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],si.prototype,"ariaLabelledby",2),p([gt()],si.prototype,"abortController",2);var cc=si;cc.register(ou);var Gy=cc;dc.register(Qm);var Yy=dc;var Wy=V`
1262
+ `],iu=Yy;var ou=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the illustration!");return o}),su=async({url:n,name:o,fileExtension:t,cacheStrategy:i,cacheName:a,renewSignal:d})=>{let m=d(),b=new Request(`${n}/${o}.${t}`,{signal:m});return!a||!i||!["in-memory-cache","web-cache-api"].includes(i)?ou(b).then(C=>C.text()):Zn(a,i).then(C=>C.get(b).then(L=>L||ou(b.clone()).then(W=>{var q;return W.status<400&&W.headers.has("content-type")?(q=C.set)==null?void 0:q.call(C,b,W.clone()).then(()=>W.text()):W.text()})).catch(L=>{throw new Error(`Error in caching the Illustration ${o}, ${L}`)}))};var au=V.constructTagName("illustration"),nu={NAME:void 0};var si=class extends K{constructor(){super();this.name=nu.NAME;this.ariaLabel=null;this.ariaLabelledby=null;this.illustrationProviderContext=ir.consume({host:this,context:_a.Context});this.abortController=new AbortController}prepareIllustrationElement(t){let i=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&i.setAttribute("data-name",this.name),i.setAttribute("part","illustration"),i.setAttribute("aria-hidden","true"),i}async getIllustrationData(){if(this.illustrationProviderContext.value){let{fileExtension:i,url:a,cacheName:d,illustrationSet:m,cacheStrategy:b}=this.illustrationProviderContext.value;if(m==="custom-illustrations"&&a&&i&&this.name){let C=()=>{var L;return(L=this.abortController)==null||L.abort(),this.abortController=new AbortController,this.abortController.signal};return su({url:a,name:this.name,fileExtension:i,cacheName:d,cacheStrategy:b,renewSignal:C}).then(L=>{let W=this.prepareIllustrationElement(L);this.handleIllustrationLoadedSuccess(W)}).catch(L=>{this.handleIllustrationLoadedFailure(L)})}if(m==="momentum-illustrations"&&this.name)return import(`@momentum-design/illustrations/dist/ts/${this.name}.ts`).then(C=>{this.handleIllustrationLoadedSuccess(C.default())}).catch(C=>{this.handleIllustrationLoadedFailure(C)})}let t=new Error("IllustrationProvider not found or not properly set up.");return this.handleIllustrationLoadedFailure(t),Promise.reject(t)}handleIllustrationLoadedSuccess(t){this.illustrationData=t;let i=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(i)}handleIllustrationLoadedFailure(t){let i=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(i)}updated(t){super.updated(t),t.has("name")&&this.getIllustrationData().catch(i=>{i.name!=="AbortError"&&this.onerror&&this.onerror(i)}),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledby?"img":null)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return _` ${this.illustrationData} `}};si.styles=[...K.styles,...iu],p([gt()],si.prototype,"illustrationData",2),p([u({type:String,reflect:!0})],si.prototype,"name",2),p([u({type:String,attribute:"aria-label"})],si.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],si.prototype,"ariaLabelledby",2),p([gt()],si.prototype,"abortController",2);var pc=si;pc.register(au);var Wy=pc;hc.register(tu);var jy=hc;var Ky=B`
1263
1263
  :host {
1264
1264
  --mdc-appheader-height: 4rem;
1265
1265
  }
@@ -1293,7 +1293,7 @@
1293
1293
  justify-content: flex-end;
1294
1294
  flex: 1;
1295
1295
  }
1296
- `,au=[Wy];var bl=class extends K{render(){return _`
1296
+ `,lu=[Ky];var bl=class extends K{render(){return _`
1297
1297
  <header part="container">
1298
1298
  <div part="leading-section">
1299
1299
  <slot name="leading"></slot>
@@ -1303,7 +1303,7 @@
1303
1303
  <slot name="trailing"></slot>
1304
1304
  </div>
1305
1305
  </header>
1306
- `}};bl.styles=[...K.styles,...au];var hc=bl;var nu=B.constructTagName("appheader");hc.register(nu);var jy=hc;var lu=B.constructTagName("avatar"),Se={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},pc=99,Ky="user-regular",Ft={24:24,32:32,48:48,64:64,72:72,88:88,124:124},ns={TYPE:Se.PHOTO,SIZE:Ft[32],ICON_NAME:Ky};var yl=n=>{class o extends n{constructor(){super(...arguments);this.size=ns.SIZE;this.isTyping=!1}}return p([u({type:String})],o.prototype,"src",2),p([u({type:String})],o.prototype,"initials",2),p([u({type:String})],o.prototype,"presence",2),p([u({type:Number,reflect:!0,attribute:"size"})],o.prototype,"size",2),p([u({type:Number})],o.prototype,"counter",2),p([u({type:Boolean,attribute:"is-typing"})],o.prototype,"isTyping",2),o};var Kt=n=>{class o extends n{}return p([u({type:String,attribute:"icon-name"})],o.prototype,"iconName",2),o};var qy=[bt,V`
1306
+ `}};bl.styles=[...K.styles,...lu];var mc=bl;var du=V.constructTagName("appheader");mc.register(du);var qy=mc;var cu=V.constructTagName("avatar"),Se={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},uc=99,Xy="user-regular",Ft={24:24,32:32,48:48,64:64,72:72,88:88,124:124},ns={TYPE:Se.PHOTO,SIZE:Ft[32],ICON_NAME:Xy};var yl=n=>{class o extends n{constructor(){super(...arguments);this.size=ns.SIZE;this.isTyping=!1}}return p([u({type:String})],o.prototype,"src",2),p([u({type:String})],o.prototype,"initials",2),p([u({type:String})],o.prototype,"presence",2),p([u({type:Number,reflect:!0,attribute:"size"})],o.prototype,"size",2),p([u({type:Number})],o.prototype,"counter",2),p([u({type:Boolean,attribute:"is-typing"})],o.prototype,"isTyping",2),o};var Kt=n=>{class o extends n{}return p([u({type:String,attribute:"icon-name"})],o.prototype,"iconName",2),o};var Zy=[bt,B`
1307
1307
  :host {
1308
1308
  --mdc-avatar-default-background-color: var(--mds-color-theme-avatar-default);
1309
1309
  --mdc-avatar-default-foreground-color: var(--mds-color-theme-common-text-primary-normal);
@@ -1458,8 +1458,8 @@
1458
1458
  outline: 0.125rem solid;
1459
1459
  }
1460
1460
  }
1461
- `],du=qy;var cu=B.constructTagName("presence"),Ee={ACTIVE:"active",AWAY:"away",AWAY_CALLING:"away-calling",BUSY:"busy",DND:"dnd",MEETING:"meeting",ON_CALL:"on-call",ON_DEVICE:"on-device",ON_MOBILE:"on-mobile",PAUSE:"pause",PTO:"pto",PRESENTING:"presenting",QUIET:"quiet",SCHEDULED:"scheduled"},qt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},ls={TYPE:Ee.ACTIVE,SIZE:qt[32]};var hu=n=>({[Ft[124]]:qt[124],[Ft[88]]:qt[88],[Ft[72]]:qt[72],[Ft[64]]:qt[64],[Ft[48]]:qt[48],[Ft[32]]:qt[32],[Ft[24]]:qt[24]})[n]||qt[32],pu=n=>({[Ft[124]]:4.75,[Ft[88]]:3,[Ft[72]]:2.5,[Ft[64]]:2.25,[Ft[48]]:1.75,[Ft[32]]:1.25,[Ft[24]]:1})[n]||1.25,mu=n=>({[Ft[124]]:st.HEADING_XLARGE_MEDIUM,[Ft[88]]:st.HEADING_LARGE_MEDIUM,[Ft[72]]:st.HEADING_MIDSIZE_MEDIUM,[Ft[64]]:st.HEADING_SMALL_MEDIUM,[Ft[48]]:st.HEADING_SMALL_MEDIUM,[Ft[32]]:st.BODY_MIDSIZE_MEDIUM,[Ft[24]]:st.BODY_SMALL_MEDIUM})[n]||st.BODY_MIDSIZE_MEDIUM;var Ia=class extends yl(Kt(K)){constructor(){super(...arguments);this.isPhotoLoaded=!1}getPresenceTemplateBasedOnType(t){return t===Se.COUNTER&&(this.counter||this.counter===0)||this.isTyping?j:this.presence?_`
1462
- <mdc-presence part="presence" type="${this.presence}" size="${hu(this.size)}"></mdc-presence>
1461
+ `],hu=Zy;var pu=V.constructTagName("presence"),Ee={ACTIVE:"active",AWAY:"away",AWAY_CALLING:"away-calling",BUSY:"busy",DND:"dnd",MEETING:"meeting",ON_CALL:"on-call",ON_DEVICE:"on-device",ON_MOBILE:"on-mobile",PAUSE:"pause",PTO:"pto",PRESENTING:"presenting",QUIET:"quiet",SCHEDULED:"scheduled"},qt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},ls={TYPE:Ee.ACTIVE,SIZE:qt[32]};var mu=n=>({[Ft[124]]:qt[124],[Ft[88]]:qt[88],[Ft[72]]:qt[72],[Ft[64]]:qt[64],[Ft[48]]:qt[48],[Ft[32]]:qt[32],[Ft[24]]:qt[24]})[n]||qt[32],uu=n=>({[Ft[124]]:4.75,[Ft[88]]:3,[Ft[72]]:2.5,[Ft[64]]:2.25,[Ft[48]]:1.75,[Ft[32]]:1.25,[Ft[24]]:1})[n]||1.25,fu=n=>({[Ft[124]]:st.HEADING_XLARGE_MEDIUM,[Ft[88]]:st.HEADING_LARGE_MEDIUM,[Ft[72]]:st.HEADING_MIDSIZE_MEDIUM,[Ft[64]]:st.HEADING_SMALL_MEDIUM,[Ft[48]]:st.HEADING_SMALL_MEDIUM,[Ft[32]]:st.BODY_MIDSIZE_MEDIUM,[Ft[24]]:st.BODY_SMALL_MEDIUM})[n]||st.BODY_MIDSIZE_MEDIUM;var Ia=class extends yl(Kt(K)){constructor(){super(...arguments);this.isPhotoLoaded=!1}getPresenceTemplateBasedOnType(t){return t===Se.COUNTER&&(this.counter||this.counter===0)||this.isTyping?j:this.presence?_`
1462
+ <mdc-presence part="presence" type="${this.presence}" size="${mu(this.size)}"></mdc-presence>
1463
1463
  `: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 _`
1464
1464
  <img
1465
1465
  part="photo"
@@ -1470,13 +1470,13 @@
1470
1470
  @error="${this.handleOnError}"
1471
1471
  />
1472
1472
  `}iconTemplate(){let t=this.iconName||ns.ICON_NAME;return _`
1473
- <mdc-icon name="${rt(t)}" length-unit="rem" size="${pu(this.size)}"></mdc-icon>
1474
- `}textTemplate(t){return _` <mdc-text type="${mu(this.size)}" tagname="span"> ${t} </mdc-text> `}generateCounterText(t){return t<0?"0":t>pc?`${pc}+`:t.toString()}generateInitialsText(t){return t.toUpperCase().slice(0,2)}generateTextContent(t){let i="";return t===Se.TEXT&&this.initials&&(i=this.generateInitialsText(this.initials)),t===Se.COUNTER&&(this.counter||this.counter===0)&&(i=this.generateCounterText(this.counter)),this.textTemplate(i)}getTypeBasedOnInputs(){return this.src?Se.PHOTO:this.iconName?Se.ICON:this.initials?Se.TEXT:this.counter||this.counter===0?Se.COUNTER:Se.ICON}getTemplateBasedOnType(t){switch(t){case Se.PHOTO:return this.photoTemplate();case Se.TEXT:case Se.COUNTER:return this.generateTextContent(t);case Se.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?_`<div part="loading-wrapper"><div part="loader"></div></div>`:j}getPhotoPlaceHolderContent(t){return this.isPhotoLoaded?j:t===Se.PHOTO?this.initials?this.textTemplate(this.generateInitialsText(this.initials)):this.iconTemplate():j}update(t){super.update(t),t.has("src")&&!this.src&&(this.isPhotoLoaded=!1)}render(){let t=this.getTypeBasedOnInputs();return _`
1473
+ <mdc-icon name="${rt(t)}" length-unit="rem" size="${uu(this.size)}"></mdc-icon>
1474
+ `}textTemplate(t){return _` <mdc-text type="${fu(this.size)}" tagname="span"> ${t} </mdc-text> `}generateCounterText(t){return t<0?"0":t>uc?`${uc}+`:t.toString()}generateInitialsText(t){return t.toUpperCase().slice(0,2)}generateTextContent(t){let i="";return t===Se.TEXT&&this.initials&&(i=this.generateInitialsText(this.initials)),t===Se.COUNTER&&(this.counter||this.counter===0)&&(i=this.generateCounterText(this.counter)),this.textTemplate(i)}getTypeBasedOnInputs(){return this.src?Se.PHOTO:this.iconName?Se.ICON:this.initials?Se.TEXT:this.counter||this.counter===0?Se.COUNTER:Se.ICON}getTemplateBasedOnType(t){switch(t){case Se.PHOTO:return this.photoTemplate();case Se.TEXT:case Se.COUNTER:return this.generateTextContent(t);case Se.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?_`<div part="loading-wrapper"><div part="loader"></div></div>`:j}getPhotoPlaceHolderContent(t){return this.isPhotoLoaded?j:t===Se.PHOTO?this.initials?this.textTemplate(this.generateInitialsText(this.initials)):this.iconTemplate():j}update(t){super.update(t),t.has("src")&&!this.src&&(this.isPhotoLoaded=!1)}render(){let t=this.getTypeBasedOnInputs();return _`
1475
1475
  <div part="content" aria-hidden="true">
1476
1476
  ${this.getPhotoPlaceHolderContent(t)} ${this.getTemplateBasedOnType(t)} ${this.getLoadingContent()}
1477
1477
  ${this.getPresenceTemplateBasedOnType(t)}
1478
1478
  </div>
1479
- `}};Ia.styles=[...K.styles,...du],p([gt()],Ia.prototype,"isPhotoLoaded",2);var mc=Ia;var Xy=[bt,V`
1479
+ `}};Ia.styles=[...K.styles,...hu],p([gt()],Ia.prototype,"isPhotoLoaded",2);var fc=Ia;var Qy=[bt,B`
1480
1480
  :host {
1481
1481
  --mdc-presence-active-background-color: var(--mds-color-theme-indicator-stable);
1482
1482
  --mdc-presence-away-background-color: var(--mds-color-theme-indicator-locked);
@@ -1570,17 +1570,17 @@
1570
1570
  :host::part(mdc-presence-icon__scheduled) {
1571
1571
  color: var(--mdc-presence-scheduled-background-color);
1572
1572
  }
1573
- `],uu=Xy;var fu=n=>{switch(n){case Ee.AWAY:return"recents-presence-badge-filled";case Ee.AWAY_CALLING:return"away-calling-presence-filled";case Ee.BUSY:return"busy-presence-bold";case Ee.DND:return"dnd-presence-badge-filled";case Ee.MEETING:return"camera-filled";case Ee.ON_CALL:return"handset-filled";case Ee.ON_DEVICE:return"generic-device-video-badge-filled";case Ee.ON_MOBILE:return"phone-badge-filled";case Ee.PAUSE:return"pause-badge-filled";case Ee.PTO:return"pto-presence-filled";case Ee.PRESENTING:return"share-screen-badge-filled";case Ee.QUIET:return"quiet-hours-presence-filled";case Ee.SCHEDULED:return"meetings-presence-badge-filled";case Ee.ACTIVE:default:return"active-presence-small-filled"}},vu=n=>({[qt[124]]:2.25,[qt[88]]:1.625,[qt[72]]:1.3125,[qt[64]]:1.1875,[qt[48]]:.875,[qt[32]]:.875,[qt[24]]:.875})[n]||.875;var po=class extends K{constructor(){super(...arguments);this.type=ls.TYPE;this.size=ls.SIZE;this.currentIconType=ls.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(qt).includes(t)?`${t}`:ls.SIZE.toString())}get icon(){let t=fu(this.type);return t==="active-presence-small-filled"&&(this.type=ls.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 _`
1573
+ `],vu=Qy;var gu=n=>{switch(n){case Ee.AWAY:return"recents-presence-badge-filled";case Ee.AWAY_CALLING:return"away-calling-presence-filled";case Ee.BUSY:return"busy-presence-bold";case Ee.DND:return"dnd-presence-badge-filled";case Ee.MEETING:return"camera-filled";case Ee.ON_CALL:return"handset-filled";case Ee.ON_DEVICE:return"generic-device-video-badge-filled";case Ee.ON_MOBILE:return"phone-badge-filled";case Ee.PAUSE:return"pause-badge-filled";case Ee.PTO:return"pto-presence-filled";case Ee.PRESENTING:return"share-screen-badge-filled";case Ee.QUIET:return"quiet-hours-presence-filled";case Ee.SCHEDULED:return"meetings-presence-badge-filled";case Ee.ACTIVE:default:return"active-presence-small-filled"}},bu=n=>({[qt[124]]:2.25,[qt[88]]:1.625,[qt[72]]:1.3125,[qt[64]]:1.1875,[qt[48]]:.875,[qt[32]]:.875,[qt[24]]:.875})[n]||.875;var po=class extends K{constructor(){super(...arguments);this.type=ls.TYPE;this.size=ls.SIZE;this.currentIconType=ls.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(qt).includes(t)?`${t}`:ls.SIZE.toString())}get icon(){let t=gu(this.type);return t==="active-presence-small-filled"&&(this.type=ls.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 _`
1574
1574
  <div part="presence-content">
1575
1575
  <mdc-icon
1576
1576
  part="mdc-presence-icon mdc-presence-icon__${this.currentIconType}"
1577
1577
  name="${this.icon}"
1578
- size="${vu(this.size)}"
1578
+ size="${bu(this.size)}"
1579
1579
  @load="${this.handleOnLoad}"
1580
1580
  @error="${this.handleOnError}"
1581
1581
  ></mdc-icon>
1582
1582
  </div>
1583
- `}};po.styles=[...K.styles,...uu],p([u({type:String,reflect:!0})],po.prototype,"type",2),p([u({type:Number,reflect:!0})],po.prototype,"size",2),p([gt()],po.prototype,"currentIconType",2);var uc=po;uc.register(cu);var Zy=uc;mc.register(lu);var Qy=mc;var Jy=[bt,V`
1583
+ `}};po.styles=[...K.styles,...vu],p([u({type:String,reflect:!0})],po.prototype,"type",2),p([u({type:Number,reflect:!0})],po.prototype,"size",2),p([gt()],po.prototype,"currentIconType",2);var vc=po;vc.register(pu);var Jy=vc;fc.register(cu);var tE=fc;var eE=[bt,B`
1584
1584
  :host {
1585
1585
  --mdc-avatarbutton-overlay-background-color-rest: var(--mds-color-theme-avatar-ghost);
1586
1586
  --mdc-avatarbutton-overlay-background-color-hover: var(--mds-color-theme-avatar-hover);
@@ -1609,7 +1609,7 @@
1609
1609
  :host::part(presence) {
1610
1610
  z-index: 2;
1611
1611
  }
1612
- `,...St()],gu=Jy;var Ca=class extends yl(Kt(ie)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role=et.BUTTON,this.type=Pe.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Ft).includes(t)?`${t}`:ns.SIZE.toString())}render(){return _`
1612
+ `,...St()],yu=eE;var Ca=class extends yl(Kt(ie)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role=et.BUTTON,this.type=Pe.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Ft).includes(t)?`${t}`:ns.SIZE.toString())}render(){return _`
1613
1613
  <div part="overlay" aria-hidden="true"></div>
1614
1614
  <mdc-avatar
1615
1615
  exportparts="content, photo, presence, loading-wrapper, loader"
@@ -1621,7 +1621,7 @@
1621
1621
  size="${rt(this.size)}"
1622
1622
  src="${rt(this.src)}"
1623
1623
  ></mdc-avatar>
1624
- `}};Ca.styles=[...gu],p([u({type:String,attribute:"aria-label"})],Ca.prototype,"ariaLabel",2);var fc=Ca;var bu=B.constructTagName("avatarbutton");fc.register(bu);var tE=fc;var yu=B.constructTagName("badge"),sr={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},El={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},Tl={PRIMARY:"primary",SECONDARY:"secondary"},ka={SUCCESS:"success",WARNING:"warning",ERROR:"error"},oL={...Tl,...ka},$i={TYPE:sr.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:Tl.PRIMARY,ICON_SIZE:1};var eE=[bt,V`
1624
+ `}};Ca.styles=[...yu],p([u({type:String,attribute:"aria-label"})],Ca.prototype,"ariaLabel",2);var gc=Ca;var Eu=V.constructTagName("avatarbutton");gc.register(Eu);var rE=gc;var Tu=V.constructTagName("badge"),sr={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},El={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},Tl={PRIMARY:"primary",SECONDARY:"secondary"},ka={SUCCESS:"success",WARNING:"warning",ERROR:"error"},aL={...Tl,...ka},$i={TYPE:sr.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:Tl.PRIMARY,ICON_SIZE:1};var iE=[bt,B`
1625
1625
  :host {
1626
1626
  --mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
1627
1627
  --mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
@@ -1697,7 +1697,7 @@
1697
1697
  outline: none;
1698
1698
  }
1699
1699
  }
1700
- `],Eu=eE;var Dr=class extends Kt(K){constructor(){super(...arguments);this.variant=$i.VARIANT;this.maxCounter=$i.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(t,i){return i===void 0||typeof i!="number"||t===0?"":i>t?`${t}+`:t>$i.MAX_COUNTER_LIMIT||i>$i.MAX_COUNTER_LIMIT?`${$i.MAX_COUNTER_LIMIT}+`:i.toString()}getBadgeIcon(t,i){return _`
1700
+ `],xu=iE;var Dr=class extends Kt(K){constructor(){super(...arguments);this.variant=$i.VARIANT;this.maxCounter=$i.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(t,i){return i===void 0||typeof i!="number"||t===0?"":i>t?`${t}+`:t>$i.MAX_COUNTER_LIMIT||i>$i.MAX_COUNTER_LIMIT?`${$i.MAX_COUNTER_LIMIT}+`:i.toString()}getBadgeIcon(t,i){return _`
1701
1701
  <mdc-icon
1702
1702
  part="badge-icon ${this.overlay?"badge-overlay":""} badge-icon__${i}"
1703
1703
  name="${rt(t)}"
@@ -1711,7 +1711,7 @@
1711
1711
  >
1712
1712
  ${this.getCounterText(this.maxCounter,this.counter)}
1713
1713
  </mdc-text>
1714
- `}setRoleByAriaLabel(){this.ariaLabel?this.role=et.IMG:this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(Tl).includes(this.variant)&&(this.variant=$i.VARIANT);let{iconName:t,type:i,variant:a}=this;switch(i){case sr.ICON:return this.getBadgeIcon(t||"",a);case sr.COUNTER:return this.getBadgeCounterText();case sr.SUCCESS:return this.getBadgeIcon(El.SUCCESS_ICON_NAME,ka.SUCCESS);case sr.WARNING:return this.getBadgeIcon(El.WARNING_ICON_NAME,ka.WARNING);case sr.ERROR:return this.getBadgeIcon(El.ERROR_ICON_NAME,ka.ERROR);case sr.DOT:default:return this.type=sr.DOT,this.getBadgeDot()}}update(t){super.update(t),t.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};Dr.styles=[...K.styles,...Eu],p([u({type:String,reflect:!0})],Dr.prototype,"type",2),p([u({type:String,reflect:!0})],Dr.prototype,"variant",2),p([u({type:Number})],Dr.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],Dr.prototype,"maxCounter",2),p([u({type:Boolean})],Dr.prototype,"overlay",2),p([u({type:String,attribute:"aria-label"})],Dr.prototype,"ariaLabel",2);var vc=Dr;vc.register(yu);var rE=vc;var iE=V`
1714
+ `}setRoleByAriaLabel(){this.ariaLabel?this.role=et.IMG:this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(Tl).includes(this.variant)&&(this.variant=$i.VARIANT);let{iconName:t,type:i,variant:a}=this;switch(i){case sr.ICON:return this.getBadgeIcon(t||"",a);case sr.COUNTER:return this.getBadgeCounterText();case sr.SUCCESS:return this.getBadgeIcon(El.SUCCESS_ICON_NAME,ka.SUCCESS);case sr.WARNING:return this.getBadgeIcon(El.WARNING_ICON_NAME,ka.WARNING);case sr.ERROR:return this.getBadgeIcon(El.ERROR_ICON_NAME,ka.ERROR);case sr.DOT:default:return this.type=sr.DOT,this.getBadgeDot()}}update(t){super.update(t),t.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};Dr.styles=[...K.styles,...xu],p([u({type:String,reflect:!0})],Dr.prototype,"type",2),p([u({type:String,reflect:!0})],Dr.prototype,"variant",2),p([u({type:Number})],Dr.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],Dr.prototype,"maxCounter",2),p([u({type:Boolean})],Dr.prototype,"overlay",2),p([u({type:String,attribute:"aria-label"})],Dr.prototype,"ariaLabel",2);var bc=Dr;bc.register(Tu);var oE=bc;var sE=B`
1715
1715
  :host {
1716
1716
  display: block;
1717
1717
  height: 100%;
@@ -1725,7 +1725,7 @@
1725
1725
  width: 100%;
1726
1726
  object-fit: contain;
1727
1727
  }
1728
- `,Tu=[iE];var mo=class extends K{async getBrandVisualData(){if(this.name)return import(`@momentum-design/brand-visuals/dist/ts/${this.name}.ts`).then(t=>{this.handleBrandVisualLoadedSuccess(t.default())}).catch(t=>{this.handleBrandVisualLoadedFailure(t)});let o=new Error("No brandvisual name provided.");return this.handleBrandVisualLoadedFailure(o),Promise.reject(o)}updated(o){super.updated(o),o.has("name")&&this.getBrandVisualData().catch(t=>{this.onerror&&this.onerror(t)}),o.has("altText")&&this.brandVisualData&&(this.brandVisualData=this.injectHtmlAttributes(this.brandVisualData,{alt:this.altText}))}injectTemplateAttributes(o,t,i){let m=new DOMParser().parseFromString(o.strings[0],"text/html").querySelector(t);return m&&Object.entries(i).forEach(([b,C])=>{m.setAttribute(b,C)}),m||o}injectHtmlAttributes(o,t){return Object.entries(t).forEach(([i,a])=>{o.setAttribute(i,a)}),o}handleBrandVisualLoadedSuccess(o){this.brandVisualData=this.injectTemplateAttributes(o,"img",{alt:this.altText});let t=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(t)}handleBrandVisualLoadedFailure(o){let t=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:o}});this.dispatchEvent(t)}render(){return _` ${this.brandVisualData} `}};mo.styles=[...K.styles,...Tu],p([gt()],mo.prototype,"brandVisualData",2),p([u({type:String,reflect:!0})],mo.prototype,"name",2),p([u({type:String,reflect:!0})],mo.prototype,"altText",2);var gc=mo;var xu=B.constructTagName("brandvisual");gc.register(xu);var oE=gc;var sE=V`
1728
+ `,Au=[sE];var mo=class extends K{async getBrandVisualData(){if(this.name)return import(`@momentum-design/brand-visuals/dist/ts/${this.name}.ts`).then(t=>{this.handleBrandVisualLoadedSuccess(t.default())}).catch(t=>{this.handleBrandVisualLoadedFailure(t)});let o=new Error("No brandvisual name provided.");return this.handleBrandVisualLoadedFailure(o),Promise.reject(o)}updated(o){super.updated(o),o.has("name")&&this.getBrandVisualData().catch(t=>{this.onerror&&this.onerror(t)}),o.has("altText")&&this.brandVisualData&&(this.brandVisualData=this.injectHtmlAttributes(this.brandVisualData,{alt:this.altText}))}injectTemplateAttributes(o,t,i){let m=new DOMParser().parseFromString(o.strings[0],"text/html").querySelector(t);return m&&Object.entries(i).forEach(([b,C])=>{m.setAttribute(b,C)}),m||o}injectHtmlAttributes(o,t){return Object.entries(t).forEach(([i,a])=>{o.setAttribute(i,a)}),o}handleBrandVisualLoadedSuccess(o){this.brandVisualData=this.injectTemplateAttributes(o,"img",{alt:this.altText});let t=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(t)}handleBrandVisualLoadedFailure(o){let t=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:o}});this.dispatchEvent(t)}render(){return _` ${this.brandVisualData} `}};mo.styles=[...K.styles,...Au],p([gt()],mo.prototype,"brandVisualData",2),p([u({type:String,reflect:!0})],mo.prototype,"name",2),p([u({type:String,reflect:!0})],mo.prototype,"altText",2);var yc=mo;var Su=V.constructTagName("brandvisual");yc.register(Su);var aE=yc;var nE=B`
1729
1729
  :host {
1730
1730
  --mdc-bullet-background-color: var(--mds-color-theme-outline-secondary-normal);
1731
1731
  --mdc-bullet-size-small: 0.25rem;
@@ -1746,7 +1746,7 @@
1746
1746
  :host([size='large']) {
1747
1747
  height: var(--mdc-bullet-size-large);
1748
1748
  }
1749
- `,Au=[sE];var Su=B.constructTagName("bullet"),_u={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var wa=class extends K{constructor(){super(...arguments);this.size=_u.SMALL}};wa.styles=[...K.styles,...Au],p([u({type:String,reflect:!0})],wa.prototype,"size",2);var bc=wa;bc.register(Su);var aE=bc;var Iu=B.constructTagName("buttongroup"),nE={40:40,32:32,28:28,24:24},lE={HORIZONTAL:"horizontal",VERTICAL:"vertical"},dE={PRIMARY:"primary",SECONDARY:"secondary"},xl={SIZE:nE[28],VARIANT:dE.PRIMARY,ORIENTATION:lE.HORIZONTAL};var cE=V`
1749
+ `,_u=[nE];var Iu=V.constructTagName("bullet"),Cu={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var wa=class extends K{constructor(){super(...arguments);this.size=Cu.SMALL}};wa.styles=[...K.styles,..._u],p([u({type:String,reflect:!0})],wa.prototype,"size",2);var Ec=wa;Ec.register(Iu);var lE=Ec;var ku=V.constructTagName("buttongroup"),dE={40:40,32:32,28:28,24:24},cE={HORIZONTAL:"horizontal",VERTICAL:"vertical"},hE={PRIMARY:"primary",SECONDARY:"secondary"},xl={SIZE:dE[28],VARIANT:hE.PRIMARY,ORIENTATION:cE.HORIZONTAL};var pE=B`
1750
1750
  :host {
1751
1751
  --mdc-buttongroup-border-radius: 1.25rem;
1752
1752
  --mdc-buttongroup-border-color: var(--mds-color-theme-outline-button-normal);
@@ -1846,7 +1846,7 @@
1846
1846
  :host([compact][orientation='horizontal'][size='40']) ::slotted(mdc-button) {
1847
1847
  width: 2.5rem;
1848
1848
  }
1849
- `,Cu=[bt,cE];var ai=class extends K{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>`}};ai.styles=[...K.styles,...Cu],p([u({type:String,reflect:!0})],ai.prototype,"orientation",2),p([u({type:String,reflect:!0})],ai.prototype,"variant",2),p([u({type:Number,reflect:!0})],ai.prototype,"size",2),p([u({type:Boolean,reflect:!0})],ai.prototype,"compact",2),p([Ot({selector:"mdc-button"})],ai.prototype,"buttons",2);var yc=ai;yc.register(Iu);var hE=yc;var Ht=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=B.constructTagName("linksimple"),ds={INLINE:!1,INVERTED:!1};var pE=[bt,V`
1849
+ `,wu=[bt,pE];var ai=class extends K{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>`}};ai.styles=[...K.styles,...wu],p([u({type:String,reflect:!0})],ai.prototype,"orientation",2),p([u({type:String,reflect:!0})],ai.prototype,"variant",2),p([u({type:Number,reflect:!0})],ai.prototype,"size",2),p([u({type:Boolean,reflect:!0})],ai.prototype,"compact",2),p([Ot({selector:"mdc-button"})],ai.prototype,"buttons",2);var Tc=ai;Tc.register(ku);var mE=Tc;var Ht=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 Nu=V.constructTagName("linksimple"),ds={INLINE:!1,INVERTED:!1};var uE=[bt,B`
1850
1850
  :host {
1851
1851
  --mdc-link-border-radius: 0.25rem;
1852
1852
  --mdc-link-color-active: var(--mds-color-theme-text-accent-active);
@@ -1925,7 +1925,7 @@
1925
1925
  :host([inline])::part(anchor) {
1926
1926
  text-decoration: var(--mds-font-apps-body-large-regular-underline-text-decoration);
1927
1927
  }
1928
- `,...St(!0)],wu=pE;var De=class extends Ht(zt(K)){constructor(){super(...arguments);this.inline=ds.INLINE;this.inverted=ds.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 _`
1928
+ `,...St(!0)],Lu=uE;var De=class extends Ht(zt(K)){constructor(){super(...arguments);this.inline=ds.INLINE;this.inverted=ds.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 _`
1929
1929
  <a
1930
1930
  class="mdc-focus-ring"
1931
1931
  part="anchor"
@@ -1942,7 +1942,7 @@
1942
1942
  >
1943
1943
  ${this.renderAnchorContent()}
1944
1944
  </a>
1945
- `}};De.styles=[...K.styles,...wu],p([u({type:Boolean,reflect:!0})],De.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],De.prototype,"inverted",2),p([u({type:String,reflect:!0})],De.prototype,"href",2),p([u({type:String,reflect:!0})],De.prototype,"target",2),p([u({type:String,reflect:!0})],De.prototype,"rel",2),p([u({type:String,reflect:!0})],De.prototype,"download",2),p([u({type:String,reflect:!0})],De.prototype,"ping",2),p([u({type:String,reflect:!0})],De.prototype,"hreflang",2),p([u({type:String,reflect:!0})],De.prototype,"type",2),p([u({type:String,reflect:!0})],De.prototype,"referrerpolicy",2);var $r=De;var mE=V`
1945
+ `}};De.styles=[...K.styles,...Lu],p([u({type:Boolean,reflect:!0})],De.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],De.prototype,"inverted",2),p([u({type:String,reflect:!0})],De.prototype,"href",2),p([u({type:String,reflect:!0})],De.prototype,"target",2),p([u({type:String,reflect:!0})],De.prototype,"rel",2),p([u({type:String,reflect:!0})],De.prototype,"download",2),p([u({type:String,reflect:!0})],De.prototype,"ping",2),p([u({type:String,reflect:!0})],De.prototype,"hreflang",2),p([u({type:String,reflect:!0})],De.prototype,"type",2),p([u({type:String,reflect:!0})],De.prototype,"referrerpolicy",2);var $r=De;var fE=B`
1946
1946
  :host {
1947
1947
  border: unset;
1948
1948
  }
@@ -1996,11 +1996,11 @@
1996
1996
  :host([variant='secondary'][soft-disabled])::part(anchor) {
1997
1997
  border-color: var(--mdc-button-secondary-disabled-border-color);
1998
1998
  }
1999
- `,Nu=[mE,...St(!0)];var cs=class extends Gn($r){constructor(){super(...arguments);this.size=Pe.SIZE}setSoftDisabled(t,i){i?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}update(t){super.update(t),t.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&this.inferButtonType()}renderAnchorContent(){return _`
1999
+ `,Mu=[fE,...St(!0)];var cs=class extends Gn($r){constructor(){super(...arguments);this.size=Pe.SIZE}setSoftDisabled(t,i){i?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}update(t){super.update(t),t.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&this.inferButtonType()}renderAnchorContent(){return _`
2000
2000
  ${this.prefixIcon?_`<mdc-icon name="${this.prefixIcon}" part="prefix-icon" length-unit="rem"></mdc-icon>`:""}
2001
2001
  <slot @slotchange="${this.inferButtonType}" part="button-text"></slot>
2002
2002
  ${this.postfixIcon?_`<mdc-icon name="${this.postfixIcon}" part="postfix-icon" length-unit="rem"></mdc-icon>`:""}
2003
- `}};cs.styles=[...co.styles,...Nu],p([u({type:Number,reflect:!0})],cs.prototype,"size",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],cs.prototype,"softDisabled",2);var Ec=cs;var Lu=B.constructTagName("buttonlink");Ec.register(Lu);var uE=Ec;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
2003
+ `}};cs.styles=[...co.styles,...Mu],p([u({type:Number,reflect:!0})],cs.prototype,"size",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],cs.prototype,"softDisabled",2);var xc=cs;var Ru=V.constructTagName("buttonlink");xc.register(Ru);var vE=xc;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
2004
2004
  part="icon"
2005
2005
  size="${oe.ICON_SIZE}"
2006
2006
  length-unit="${oe.ICON_LENGTH_UNIT}"
@@ -2010,7 +2010,7 @@
2010
2010
  ${this.subtitle?_`<mdc-text part="subtitle" type="${oe.SUBTITLE_TYPE}" tagname="${this.subtitleTagName}"
2011
2011
  >${this.subtitle}</mdc-text
2012
2012
  >`:j}
2013
- </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 fE=V`
2013
+ </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 gE=B`
2014
2014
  :host {
2015
2015
  --mdc-card-width: 20rem;
2016
2016
  align-items: stretch;
@@ -2119,7 +2119,7 @@
2119
2119
  mdc-text::part(text) {
2120
2120
  margin: 0;
2121
2121
  }
2122
- `,Mu=[bt,fE];var Na=class extends Al(os(K)){constructor(){super(...arguments);this.handleIconButtons=()=>{var t;(t=this.iconButtons)==null||t.forEach(i=>{i.matches(oe.BUTTON)&&(i.setAttribute("variant",Dt.TERTIARY),i.setAttribute("size","32"))})}}update(t){super.update(t),t.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?_`<div part="header">
2122
+ `,Ou=[bt,gE];var Na=class extends Al(os(K)){constructor(){super(...arguments);this.handleIconButtons=()=>{var t;(t=this.iconButtons)==null||t.forEach(i=>{i.matches(oe.BUTTON)&&(i.setAttribute("variant",Dt.TERTIARY),i.setAttribute("size","32"))})}}update(t){super.update(t),t.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?_`<div part="header">
2123
2123
  ${this.renderIcon()} ${this.renderTitle()}
2124
2124
  <div part="icon-button"><slot name="icon-button" @slotchange=${this.handleIconButtons}></slot></div>
2125
2125
  </div>`:j}render(){return _`
@@ -2133,7 +2133,7 @@
2133
2133
  </div>
2134
2134
  ${this.renderFooter()}
2135
2135
  </div>
2136
- `}};Na.styles=[...K.styles,...Mu],p([Ot({slot:"icon-button"})],Na.prototype,"iconButtons",2);var Er=Na;Er.register(Km);var vE=Er;var gE=V`
2136
+ `}};Na.styles=[...K.styles,...Ou],p([Ot({slot:"icon-button"})],Na.prototype,"iconButtons",2);var Er=Na;Er.register(Xm);var bE=Er;var yE=B`
2137
2137
  :host {
2138
2138
  cursor: pointer;
2139
2139
  user-select: none;
@@ -2155,7 +2155,7 @@
2155
2155
  :host([disabled])::part(image) {
2156
2156
  opacity: 0.5;
2157
2157
  }
2158
- `,Ru=[gE,...St()];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 _`
2158
+ `,Pu=[yE,...St()];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 _`
2159
2159
  ${this.renderImage()}
2160
2160
  <div part="body">
2161
2161
  ${this.renderHeader()}
@@ -2163,7 +2163,7 @@
2163
2163
  <slot name="body"></slot>
2164
2164
  <slot name="after-body"></slot>
2165
2165
  </div>
2166
- `}};Sl.styles=[...Er.styles,...Ru];var Tc=Sl;var Ou=B.constructTagName("cardbutton");Tc.register(Ou);var bE=Tc;var Pu=B.constructTagName("cardcheckbox"),xc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},_l={CHECK:"check",CHECKBOX:"checkbox"},Il={SELECTION_TYPE:_l.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var yE=V`
2166
+ `}};Sl.styles=[...Er.styles,...Pu];var Ac=Sl;var Du=V.constructTagName("cardbutton");Ac.register(Du);var EE=Ac;var $u=V.constructTagName("cardcheckbox"),Sc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},_l={CHECK:"check",CHECKBOX:"checkbox"},Il={SELECTION_TYPE:_l.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var TE=B`
2167
2167
  :host {
2168
2168
  cursor: pointer;
2169
2169
  user-select: none;
@@ -2220,7 +2220,7 @@
2220
2220
  :host([disabled])::part(check-icon) {
2221
2221
  color: var(--mds-color-theme-text-primary-disabled);
2222
2222
  }
2223
- `,Du=[yE,...St()];var hs=class extends zt(Mr(Er)){constructor(){super();this.checked=!1;this.selectionType=Il.SELECTION_TYPE;this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.CHECKBOX}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&(this.setAttribute("aria-disabled",`${this.disabled}`),this.tabIndex=this.disabled?-1:0)}toggleChecked(){this.disabled||(this.checked=!this.checked),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}toggleOnEnter(t){t.key===Q.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Q.SPACE&&this.toggleChecked()}renderSelection(){let t=this.checked?xc.CHECKED:xc.DEFAULT;switch(this.selectionType){case _l.CHECK:return _`<mdc-icon
2223
+ `,Fu=[TE,...St()];var hs=class extends zt(Mr(Er)){constructor(){super();this.checked=!1;this.selectionType=Il.SELECTION_TYPE;this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.CHECKBOX}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&(this.setAttribute("aria-disabled",`${this.disabled}`),this.tabIndex=this.disabled?-1:0)}toggleChecked(){this.disabled||(this.checked=!this.checked),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}toggleOnEnter(t){t.key===Q.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Q.SPACE&&this.toggleChecked()}renderSelection(){let t=this.checked?Sc.CHECKED:Sc.DEFAULT;switch(this.selectionType){case _l.CHECK:return _`<mdc-icon
2224
2224
  part="check check-icon"
2225
2225
  size="${Il.ICON_SIZE}"
2226
2226
  length-unit="${Il.ICON_LENGTH_UNIT}"
@@ -2237,7 +2237,7 @@
2237
2237
  <slot name="body"></slot>
2238
2238
  <slot name="after-body"></slot>
2239
2239
  </div>
2240
- `}};hs.styles=[...Er.styles,...Du],p([u({type:Boolean,reflect:!0})],hs.prototype,"checked",2),p([u({type:String,attribute:"selection-type",reflect:!0})],hs.prototype,"selectionType",2);var Ac=hs;var EE=[V`
2240
+ `}};hs.styles=[...Er.styles,...Fu],p([u({type:Boolean,reflect:!0})],hs.prototype,"checked",2),p([u({type:String,attribute:"selection-type",reflect:!0})],hs.prototype,"selectionType",2);var _c=hs;var xE=[B`
2241
2241
  :host {
2242
2242
  margin: 0.125rem 0;
2243
2243
  border-radius: 0.125rem;
@@ -2293,7 +2293,7 @@
2293
2293
  border: 0.0625rem solid var(--mdc-staticcheckbox-border-color);
2294
2294
  }
2295
2295
  }
2296
- `],$u=EE;var Fu=B.constructTagName("checkbox"),Cl={CHECKED:"check-bold",INDETERMINATE:"minus-bold"};var zu=B.constructTagName("staticcheckbox");var ps=class extends zt(K){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1}render(){let t=this.checked||this.indeterminate?_`
2296
+ `],zu=xE;var Vu=V.constructTagName("checkbox"),Cl={CHECKED:"check-bold",INDETERMINATE:"minus-bold"};var Bu=V.constructTagName("staticcheckbox");var ps=class extends zt(K){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1}render(){let t=this.checked||this.indeterminate?_`
2297
2297
  <mdc-icon
2298
2298
  class="icon"
2299
2299
  name="${this.indeterminate?Cl.INDETERMINATE:Cl.CHECKED}"
@@ -2301,7 +2301,7 @@
2301
2301
  length-unit="rem"
2302
2302
  ></mdc-icon>
2303
2303
  `:j;return _`<slot></slot>
2304
- <div part="icon-container">${t}</div>`}};ps.styles=[...K.styles,...$u],p([u({type:Boolean,reflect:!0})],ps.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],ps.prototype,"indeterminate",2);var Sc=ps;Sc.register(zu);var TE=Sc;Ac.register(Pu);var xE=Ac;var AE=V`
2304
+ <div part="icon-container">${t}</div>`}};ps.styles=[...K.styles,...zu],p([u({type:Boolean,reflect:!0})],ps.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],ps.prototype,"indeterminate",2);var Ic=ps;Ic.register(Bu);var AE=Ic;_c.register($u);var SE=_c;var _E=B`
2305
2305
  :host {
2306
2306
  cursor: pointer;
2307
2307
  user-select: none;
@@ -2354,7 +2354,7 @@
2354
2354
  :host([disabled])::part(image) {
2355
2355
  opacity: 0.5;
2356
2356
  }
2357
- `,Vu=[AE,...St()];var ms=class extends zt(Mr(Er)){constructor(){super();this.checked=!1;this.name="";this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled||this.checked)return;this.getAllCardsWithinSameGroup().forEach(i=>{i.checked=!1}),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}setDisabled(t){this.setAttribute("aria-disabled",`${t}`),this.tabIndex=t?-1:0}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&this.setDisabled(this.disabled)}updateCardRadio(t,i){t[i].focus(),t[i].toggleChecked()}toggleOnEnter(t){if(this.disabled)return;let a=this.getAllCardsWithinSameGroup().filter(m=>!m.disabled),d=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let m=(d+1)%a.length;this.updateCardRadio(a,m)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let m=(d-1+a.length)%a.length;this.updateCardRadio(a,m)}t.key===Q.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Q.SPACE&&this.toggleChecked()}renderHeader(){return this.cardTitle?_`<div part="header">
2357
+ `,Uu=[_E,...St()];var ms=class extends zt(Mr(Er)){constructor(){super();this.checked=!1;this.name="";this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled||this.checked)return;this.getAllCardsWithinSameGroup().forEach(i=>{i.checked=!1}),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}setDisabled(t){this.setAttribute("aria-disabled",`${t}`),this.tabIndex=t?-1:0}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&this.setDisabled(this.disabled)}updateCardRadio(t,i){t[i].focus(),t[i].toggleChecked()}toggleOnEnter(t){if(this.disabled)return;let a=this.getAllCardsWithinSameGroup().filter(m=>!m.disabled),d=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let m=(d+1)%a.length;this.updateCardRadio(a,m)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let m=(d-1+a.length)%a.length;this.updateCardRadio(a,m)}t.key===Q.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Q.SPACE&&this.toggleChecked()}renderHeader(){return this.cardTitle?_`<div part="header">
2358
2358
  ${this.renderIcon()} ${this.renderTitle()}
2359
2359
  <mdc-staticradio part="check" ?checked="${this.checked}" ?disabled="${this.disabled}"></mdc-staticradio>
2360
2360
  </div>`:j}render(){return _`
@@ -2365,7 +2365,7 @@
2365
2365
  <slot name="body"></slot>
2366
2366
  <slot name="after-body"></slot>
2367
2367
  </div>
2368
- `}};ms.styles=[...Er.styles,...Vu],p([u({type:Boolean,reflect:!0})],ms.prototype,"checked",2),p([u({type:String})],ms.prototype,"name",2);var _c=ms;var kl=B.constructTagName("cardradio");var SE=[V`
2368
+ `}};ms.styles=[...Er.styles,...Uu],p([u({type:Boolean,reflect:!0})],ms.prototype,"checked",2),p([u({type:String})],ms.prototype,"name",2);var Cc=ms;var kl=V.constructTagName("cardradio");var IE=[B`
2369
2369
  :host {
2370
2370
  display: block;
2371
2371
  position: relative;
@@ -2448,8 +2448,8 @@
2448
2448
  :host([readonly][checked]) .icon:after {
2449
2449
  background-color: var(--mdc-staticradio-text-disabled-color);
2450
2450
  }
2451
- `],Bu=SE;var us=class extends zt(K){constructor(){super(...arguments);this.checked=!1;this.readonly=!1}render(){return _` <slot></slot>
2452
- <span part="radio-icon" class="icon"></span>`}};us.styles=[...K.styles,...Bu],p([u({type:Boolean,reflect:!0})],us.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],us.prototype,"readonly",2);var Ic=us;var Uu=B.constructTagName("staticradio");Ic.register(Uu);var _E=Ic;_c.register(kl);var IE=_c;var Fr=Math.min,_e=Math.max,Ma=Math.round,Ra=Math.floor,Tr=n=>({x:n,y:n}),CE={left:"right",right:"left",bottom:"top",top:"bottom"},kE={start:"end",end:"start"};function Nl(n,o,t){return _e(n,Fr(o,t))}function uo(n,o){return typeof n=="function"?n(o):n}function ni(n){return n.split("-")[0]}function fo(n){return n.split("-")[1]}function Cc(n){return n==="x"?"y":"x"}function Ll(n){return n==="y"?"height":"width"}var wE=new Set(["top","bottom"]);function zr(n){return wE.has(ni(n))?"y":"x"}function Ml(n){return Cc(zr(n))}function Yu(n,o,t){t===void 0&&(t=!1);let i=fo(n),a=Ml(n),d=Ll(a),m=a==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[d]>o.floating[d]&&(m=La(m)),[m,La(m)]}function Wu(n){let o=La(n);return[wl(n),o,wl(o)]}function wl(n){return n.replace(/start|end/g,o=>kE[o])}var Hu=["left","right"],Gu=["right","left"],NE=["top","bottom"],LE=["bottom","top"];function ME(n,o,t){switch(n){case"top":case"bottom":return t?o?Gu:Hu:o?Hu:Gu;case"left":case"right":return o?NE:LE;default:return[]}}function ju(n,o,t,i){let a=fo(n),d=ME(ni(n),t==="start",i);return a&&(d=d.map(m=>m+"-"+a),o&&(d=d.concat(d.map(wl)))),d}function La(n){return n.replace(/left|right|bottom|top/g,o=>CE[o])}function RE(n){return{top:0,right:0,bottom:0,left:0,...n}}function kc(n){return typeof n!="number"?RE(n):{top:n,right:n,bottom:n,left:n}}function vo(n){let{x:o,y:t,width:i,height:a}=n;return{width:i,height:a,top:t,left:o,right:o+i,bottom:t+a,x:o,y:t}}function Ku(n,o,t){let{reference:i,floating:a}=n,d=zr(o),m=Ml(o),b=Ll(m),C=ni(o),L=d==="y",W=i.x+i.width/2-a.width/2,q=i.y+i.height/2-a.height/2,it=i[b]/2-a[b]/2,X;switch(C){case"top":X={x:W,y:i.y-a.height};break;case"bottom":X={x:W,y:i.y+i.height};break;case"right":X={x:i.x+i.width,y:q};break;case"left":X={x:i.x-a.width,y:q};break;default:X={x:i.x,y:i.y}}switch(fo(o)){case"start":X[m]-=it*(t&&L?-1:1);break;case"end":X[m]+=it*(t&&L?-1:1);break}return X}var qu=async(n,o,t)=>{let{placement:i="bottom",strategy:a="absolute",middleware:d=[],platform:m}=t,b=d.filter(Boolean),C=await(m.isRTL==null?void 0:m.isRTL(o)),L=await m.getElementRects({reference:n,floating:o,strategy:a}),{x:W,y:q}=Ku(L,i,C),it=i,X={},tt=0;for(let lt=0;lt<b.length;lt++){let{name:dt,fn:vt}=b[lt],{x:At,y:wt,data:Wt,reset:$t}=await vt({x:W,y:q,initialPlacement:i,placement:it,strategy:a,middlewareData:X,rects:L,platform:m,elements:{reference:n,floating:o}});W=At!=null?At:W,q=wt!=null?wt:q,X={...X,[dt]:{...X[dt],...Wt}},$t&&tt<=50&&(tt++,typeof $t=="object"&&($t.placement&&(it=$t.placement),$t.rects&&(L=$t.rects===!0?await m.getElementRects({reference:n,floating:o,strategy:a}):$t.rects),{x:W,y:q}=Ku(L,it,C)),lt=-1)}return{x:W,y:q,placement:it,strategy:a,middlewareData:X}};async function Rl(n,o){var t;o===void 0&&(o={});let{x:i,y:a,platform:d,rects:m,elements:b,strategy:C}=n,{boundary:L="clippingAncestors",rootBoundary:W="viewport",elementContext:q="floating",altBoundary:it=!1,padding:X=0}=uo(o,n),tt=kc(X),dt=b[it?q==="floating"?"reference":"floating":q],vt=vo(await d.getClippingRect({element:(t=await(d.isElement==null?void 0:d.isElement(dt)))==null||t?dt:dt.contextElement||await(d.getDocumentElement==null?void 0:d.getDocumentElement(b.floating)),boundary:L,rootBoundary:W,strategy:C})),At=q==="floating"?{x:i,y:a,width:m.floating.width,height:m.floating.height}:m.reference,wt=await(d.getOffsetParent==null?void 0:d.getOffsetParent(b.floating)),Wt=await(d.isElement==null?void 0:d.isElement(wt))?await(d.getScale==null?void 0:d.getScale(wt))||{x:1,y:1}:{x:1,y:1},$t=vo(d.convertOffsetParentRelativeRectToViewportRelativeRect?await d.convertOffsetParentRelativeRectToViewportRelativeRect({elements:b,rect:At,offsetParent:wt,strategy:C}):At);return{top:(vt.top-$t.top+tt.top)/Wt.y,bottom:($t.bottom-vt.bottom+tt.bottom)/Wt.y,left:(vt.left-$t.left+tt.left)/Wt.x,right:($t.right-vt.right+tt.right)/Wt.x}}var Xu=n=>({name:"arrow",options:n,async fn(o){let{x:t,y:i,placement:a,rects:d,platform:m,elements:b,middlewareData:C}=o,{element:L,padding:W=0}=uo(n,o)||{};if(L==null)return{};let q=kc(W),it={x:t,y:i},X=Ml(a),tt=Ll(X),lt=await m.getDimensions(L),dt=X==="y",vt=dt?"top":"left",At=dt?"bottom":"right",wt=dt?"clientHeight":"clientWidth",Wt=d.reference[tt]+d.reference[X]-it[X]-d.floating[tt],$t=it[X]-d.reference[X],Bt=await(m.getOffsetParent==null?void 0:m.getOffsetParent(L)),Zt=Bt?Bt[wt]:0;(!Zt||!await(m.isElement==null?void 0:m.isElement(Bt)))&&(Zt=b.floating[wt]||d.floating[tt]);let le=Wt/2-$t/2,ur=Zt/2-lt[tt]/2-1,we=Fr(q[vt],ur),je=Fr(q[At],ur),fr=we,vr=Zt-lt[tt]-je,Ct=Zt/2-lt[tt]/2+le,pe=Nl(fr,Ct,vr),Ke=!C.arrow&&fo(a)!=null&&Ct!==pe&&d.reference[tt]/2-(Ct<fr?we:je)-lt[tt]/2<0,qe=Ke?Ct<fr?Ct-fr:Ct-vr:0;return{[X]:it[X]+qe,data:{[X]:pe,centerOffset:Ct-pe-qe,...Ke&&{alignmentOffset:qe}},reset:Ke}}});var Zu=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(o){var t,i;let{placement:a,middlewareData:d,rects:m,initialPlacement:b,platform:C,elements:L}=o,{mainAxis:W=!0,crossAxis:q=!0,fallbackPlacements:it,fallbackStrategy:X="bestFit",fallbackAxisSideDirection:tt="none",flipAlignment:lt=!0,...dt}=uo(n,o);if((t=d.arrow)!=null&&t.alignmentOffset)return{};let vt=ni(a),At=zr(b),wt=ni(b)===b,Wt=await(C.isRTL==null?void 0:C.isRTL(L.floating)),$t=it||(wt||!lt?[La(b)]:Wu(b)),Bt=tt!=="none";!it&&Bt&&$t.push(...ju(b,lt,tt,Wt));let Zt=[b,...$t],le=await Rl(o,dt),ur=[],we=((i=d.flip)==null?void 0:i.overflows)||[];if(W&&ur.push(le[vt]),q){let Ct=Yu(a,m,Wt);ur.push(le[Ct[0]],le[Ct[1]])}if(we=[...we,{placement:a,overflows:ur}],!ur.every(Ct=>Ct<=0)){var je,fr;let Ct=(((je=d.flip)==null?void 0:je.index)||0)+1,pe=Zt[Ct];if(pe&&(!(q==="alignment"?At!==zr(pe):!1)||we.every(Xe=>Xe.overflows[0]>0&&zr(Xe.placement)===At)))return{data:{index:Ct,overflows:we},reset:{placement:pe}};let Ke=(fr=we.filter(qe=>qe.overflows[0]<=0).sort((qe,Xe)=>qe.overflows[1]-Xe.overflows[1])[0])==null?void 0:fr.placement;if(!Ke)switch(X){case"bestFit":{var vr;let qe=(vr=we.filter(Xe=>{if(Bt){let Ze=zr(Xe.placement);return Ze===At||Ze==="y"}return!0}).map(Xe=>[Xe.placement,Xe.overflows.filter(Ze=>Ze>0).reduce((Ze,mn)=>Ze+mn,0)]).sort((Xe,Ze)=>Xe[1]-Ze[1])[0])==null?void 0:vr[0];qe&&(Ke=qe);break}case"initialPlacement":Ke=b;break}if(a!==Ke)return{reset:{placement:Ke}}}return{}}}};var OE=new Set(["left","top"]);async function PE(n,o){let{placement:t,platform:i,elements:a}=n,d=await(i.isRTL==null?void 0:i.isRTL(a.floating)),m=ni(t),b=fo(t),C=zr(t)==="y",L=OE.has(m)?-1:1,W=d&&C?-1:1,q=uo(o,n),{mainAxis:it,crossAxis:X,alignmentAxis:tt}=typeof q=="number"?{mainAxis:q,crossAxis:0,alignmentAxis:null}:{mainAxis:q.mainAxis||0,crossAxis:q.crossAxis||0,alignmentAxis:q.alignmentAxis};return b&&typeof tt=="number"&&(X=b==="end"?tt*-1:tt),C?{x:X*W,y:it*L}:{x:it*L,y:X*W}}var Qu=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(o){var t,i;let{x:a,y:d,placement:m,middlewareData:b}=o,C=await PE(o,n);return m===((t=b.offset)==null?void 0:t.placement)&&(i=b.arrow)!=null&&i.alignmentOffset?{}:{x:a+C.x,y:d+C.y,data:{...C,placement:m}}}}},Ju=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(o){let{x:t,y:i,placement:a}=o,{mainAxis:d=!0,crossAxis:m=!1,limiter:b={fn:dt=>{let{x:vt,y:At}=dt;return{x:vt,y:At}}},...C}=uo(n,o),L={x:t,y:i},W=await Rl(o,C),q=zr(ni(a)),it=Cc(q),X=L[it],tt=L[q];if(d){let dt=it==="y"?"top":"left",vt=it==="y"?"bottom":"right",At=X+W[dt],wt=X-W[vt];X=Nl(At,X,wt)}if(m){let dt=q==="y"?"top":"left",vt=q==="y"?"bottom":"right",At=tt+W[dt],wt=tt-W[vt];tt=Nl(At,tt,wt)}let lt=b.fn({...o,[it]:X,[q]:tt});return{...lt,data:{x:lt.x-t,y:lt.y-i,enabled:{[it]:d,[q]:m}}}}}};var tf=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(o){var t,i;let{placement:a,rects:d,platform:m,elements:b}=o,{apply:C=()=>{},...L}=uo(n,o),W=await Rl(o,L),q=ni(a),it=fo(a),X=zr(a)==="y",{width:tt,height:lt}=d.floating,dt,vt;q==="top"||q==="bottom"?(dt=q,vt=it===(await(m.isRTL==null?void 0:m.isRTL(b.floating))?"start":"end")?"left":"right"):(vt=q,dt=it==="end"?"top":"bottom");let At=lt-W.top-W.bottom,wt=tt-W.left-W.right,Wt=Fr(lt-W[dt],At),$t=Fr(tt-W[vt],wt),Bt=!o.middlewareData.shift,Zt=Wt,le=$t;if((t=o.middlewareData.shift)!=null&&t.enabled.x&&(le=wt),(i=o.middlewareData.shift)!=null&&i.enabled.y&&(Zt=At),Bt&&!it){let we=_e(W.left,0),je=_e(W.right,0),fr=_e(W.top,0),vr=_e(W.bottom,0);X?le=tt-2*(we!==0||je!==0?we+je:_e(W.left,W.right)):Zt=lt-2*(fr!==0||vr!==0?fr+vr:_e(W.top,W.bottom))}await C({...o,availableWidth:le,availableHeight:Zt});let ur=await m.getDimensions(b.floating);return tt!==ur.width||lt!==ur.height?{reset:{rects:!0}}:{}}}};function Ol(){return typeof window<"u"}function go(n){return rf(n)?(n.nodeName||"").toLowerCase():"#document"}function $e(n){var o;return(n==null||(o=n.ownerDocument)==null?void 0:o.defaultView)||window}function xr(n){var o;return(o=(rf(n)?n.ownerDocument:n.document)||window.document)==null?void 0:o.documentElement}function rf(n){return Ol()?n instanceof Node||n instanceof $e(n).Node:!1}function ar(n){return Ol()?n instanceof Element||n instanceof $e(n).Element:!1}function Ar(n){return Ol()?n instanceof HTMLElement||n instanceof $e(n).HTMLElement:!1}function ef(n){return!Ol()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof $e(n).ShadowRoot}var DE=new Set(["inline","contents"]);function vs(n){let{overflow:o,overflowX:t,overflowY:i,display:a}=nr(n);return/auto|scroll|overlay|hidden|clip/.test(o+i+t)&&!DE.has(a)}var $E=new Set(["table","td","th"]);function of(n){return $E.has(go(n))}var FE=[":popover-open",":modal"];function Oa(n){return FE.some(o=>{try{return n.matches(o)}catch{return!1}})}var zE=["transform","translate","scale","rotate","perspective"],VE=["transform","translate","scale","rotate","perspective","filter"],BE=["paint","layout","strict","content"];function Pl(n){let o=Dl(),t=ar(n)?nr(n):n;return zE.some(i=>t[i]?t[i]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!o&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!o&&(t.filter?t.filter!=="none":!1)||VE.some(i=>(t.willChange||"").includes(i))||BE.some(i=>(t.contain||"").includes(i))}function sf(n){let o=li(n);for(;Ar(o)&&!bo(o);){if(Pl(o))return o;if(Oa(o))return null;o=li(o)}return null}function Dl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var UE=new Set(["html","body","#document"]);function bo(n){return UE.has(go(n))}function nr(n){return $e(n).getComputedStyle(n)}function Pa(n){return ar(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function li(n){if(go(n)==="html")return n;let o=n.assignedSlot||n.parentNode||ef(n)&&n.host||xr(n);return ef(o)?o.host:o}function af(n){let o=li(n);return bo(o)?n.ownerDocument?n.ownerDocument.body:n.body:Ar(o)&&vs(o)?o:af(o)}function fs(n,o,t){var i;o===void 0&&(o=[]),t===void 0&&(t=!0);let a=af(n),d=a===((i=n.ownerDocument)==null?void 0:i.body),m=$e(a);if(d){let b=$l(m);return o.concat(m,m.visualViewport||[],vs(a)?a:[],b&&t?fs(b):[])}return o.concat(a,fs(a,[],t))}function $l(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function df(n){let o=nr(n),t=parseFloat(o.width)||0,i=parseFloat(o.height)||0,a=Ar(n),d=a?n.offsetWidth:t,m=a?n.offsetHeight:i,b=Ma(t)!==d||Ma(i)!==m;return b&&(t=d,i=m),{width:t,height:i,$:b}}function Nc(n){return ar(n)?n:n.contextElement}function gs(n){let o=Nc(n);if(!Ar(o))return Tr(1);let t=o.getBoundingClientRect(),{width:i,height:a,$:d}=df(o),m=(d?Ma(t.width):t.width)/i,b=(d?Ma(t.height):t.height)/a;return(!m||!Number.isFinite(m))&&(m=1),(!b||!Number.isFinite(b))&&(b=1),{x:m,y:b}}var HE=Tr(0);function cf(n){let o=$e(n);return!Dl()||!o.visualViewport?HE:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function GE(n,o,t){return o===void 0&&(o=!1),!t||o&&t!==$e(n)?!1:o}function yo(n,o,t,i){o===void 0&&(o=!1),t===void 0&&(t=!1);let a=n.getBoundingClientRect(),d=Nc(n),m=Tr(1);o&&(i?ar(i)&&(m=gs(i)):m=gs(n));let b=GE(d,t,i)?cf(d):Tr(0),C=(a.left+b.x)/m.x,L=(a.top+b.y)/m.y,W=a.width/m.x,q=a.height/m.y;if(d){let it=$e(d),X=i&&ar(i)?$e(i):i,tt=it,lt=$l(tt);for(;lt&&i&&X!==tt;){let dt=gs(lt),vt=lt.getBoundingClientRect(),At=nr(lt),wt=vt.left+(lt.clientLeft+parseFloat(At.paddingLeft))*dt.x,Wt=vt.top+(lt.clientTop+parseFloat(At.paddingTop))*dt.y;C*=dt.x,L*=dt.y,W*=dt.x,q*=dt.y,C+=wt,L+=Wt,tt=$e(lt),lt=$l(tt)}}return vo({width:W,height:q,x:C,y:L})}function Lc(n,o){let t=Pa(n).scrollLeft;return o?o.left+t:yo(xr(n)).left+t}function hf(n,o,t){t===void 0&&(t=!1);let i=n.getBoundingClientRect(),a=i.left+o.scrollLeft-(t?0:Lc(n,i)),d=i.top+o.scrollTop;return{x:a,y:d}}function YE(n){let{elements:o,rect:t,offsetParent:i,strategy:a}=n,d=a==="fixed",m=xr(i),b=o?Oa(o.floating):!1;if(i===m||b&&d)return t;let C={scrollLeft:0,scrollTop:0},L=Tr(1),W=Tr(0),q=Ar(i);if((q||!q&&!d)&&((go(i)!=="body"||vs(m))&&(C=Pa(i)),Ar(i))){let X=yo(i);L=gs(i),W.x=X.x+i.clientLeft,W.y=X.y+i.clientTop}let it=m&&!q&&!d?hf(m,C,!0):Tr(0);return{width:t.width*L.x,height:t.height*L.y,x:t.x*L.x-C.scrollLeft*L.x+W.x+it.x,y:t.y*L.y-C.scrollTop*L.y+W.y+it.y}}function WE(n){return Array.from(n.getClientRects())}function jE(n){let o=xr(n),t=Pa(n),i=n.ownerDocument.body,a=_e(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),d=_e(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),m=-t.scrollLeft+Lc(n),b=-t.scrollTop;return nr(i).direction==="rtl"&&(m+=_e(o.clientWidth,i.clientWidth)-a),{width:a,height:d,x:m,y:b}}function KE(n,o){let t=$e(n),i=xr(n),a=t.visualViewport,d=i.clientWidth,m=i.clientHeight,b=0,C=0;if(a){d=a.width,m=a.height;let L=Dl();(!L||L&&o==="fixed")&&(b=a.offsetLeft,C=a.offsetTop)}return{width:d,height:m,x:b,y:C}}var qE=new Set(["absolute","fixed"]);function XE(n,o){let t=yo(n,!0,o==="fixed"),i=t.top+n.clientTop,a=t.left+n.clientLeft,d=Ar(n)?gs(n):Tr(1),m=n.clientWidth*d.x,b=n.clientHeight*d.y,C=a*d.x,L=i*d.y;return{width:m,height:b,x:C,y:L}}function nf(n,o,t){let i;if(o==="viewport")i=KE(n,t);else if(o==="document")i=jE(xr(n));else if(ar(o))i=XE(o,t);else{let a=cf(n);i={x:o.x-a.x,y:o.y-a.y,width:o.width,height:o.height}}return vo(i)}function pf(n,o){let t=li(n);return t===o||!ar(t)||bo(t)?!1:nr(t).position==="fixed"||pf(t,o)}function ZE(n,o){let t=o.get(n);if(t)return t;let i=fs(n,[],!1).filter(b=>ar(b)&&go(b)!=="body"),a=null,d=nr(n).position==="fixed",m=d?li(n):n;for(;ar(m)&&!bo(m);){let b=nr(m),C=Pl(m);!C&&b.position==="fixed"&&(a=null),(d?!C&&!a:!C&&b.position==="static"&&!!a&&qE.has(a.position)||vs(m)&&!C&&pf(n,m))?i=i.filter(W=>W!==m):a=b,m=li(m)}return o.set(n,i),i}function QE(n){let{element:o,boundary:t,rootBoundary:i,strategy:a}=n,m=[...t==="clippingAncestors"?Oa(o)?[]:ZE(o,this._c):[].concat(t),i],b=m[0],C=m.reduce((L,W)=>{let q=nf(o,W,a);return L.top=_e(q.top,L.top),L.right=Fr(q.right,L.right),L.bottom=Fr(q.bottom,L.bottom),L.left=_e(q.left,L.left),L},nf(o,b,a));return{width:C.right-C.left,height:C.bottom-C.top,x:C.left,y:C.top}}function JE(n){let{width:o,height:t}=df(n);return{width:o,height:t}}function tT(n,o,t){let i=Ar(o),a=xr(o),d=t==="fixed",m=yo(n,!0,d,o),b={scrollLeft:0,scrollTop:0},C=Tr(0);function L(){C.x=Lc(a)}if(i||!i&&!d)if((go(o)!=="body"||vs(a))&&(b=Pa(o)),i){let X=yo(o,!0,d,o);C.x=X.x+o.clientLeft,C.y=X.y+o.clientTop}else a&&L();d&&!i&&a&&L();let W=a&&!i&&!d?hf(a,b):Tr(0),q=m.left+b.scrollLeft-C.x-W.x,it=m.top+b.scrollTop-C.y-W.y;return{x:q,y:it,width:m.width,height:m.height}}function wc(n){return nr(n).position==="static"}function lf(n,o){if(!Ar(n)||nr(n).position==="fixed")return null;if(o)return o(n);let t=n.offsetParent;return xr(n)===t&&(t=t.ownerDocument.body),t}function mf(n,o){let t=$e(n);if(Oa(n))return t;if(!Ar(n)){let a=li(n);for(;a&&!bo(a);){if(ar(a)&&!wc(a))return a;a=li(a)}return t}let i=lf(n,o);for(;i&&of(i)&&wc(i);)i=lf(i,o);return i&&bo(i)&&wc(i)&&!Pl(i)?t:i||sf(n)||t}var eT=async function(n){let o=this.getOffsetParent||mf,t=this.getDimensions,i=await t(n.floating);return{reference:tT(n.reference,await o(n.floating),n.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function rT(n){return nr(n).direction==="rtl"}var iT={convertOffsetParentRelativeRectToViewportRelativeRect:YE,getDocumentElement:xr,getClippingRect:QE,getOffsetParent:mf,getElementRects:eT,getClientRects:WE,getDimensions:JE,getScale:gs,isElement:ar,isRTL:rT};function uf(n,o){return n.x===o.x&&n.y===o.y&&n.width===o.width&&n.height===o.height}function oT(n,o){let t=null,i,a=xr(n);function d(){var b;clearTimeout(i),(b=t)==null||b.disconnect(),t=null}function m(b,C){b===void 0&&(b=!1),C===void 0&&(C=1),d();let L=n.getBoundingClientRect(),{left:W,top:q,width:it,height:X}=L;if(b||o(),!it||!X)return;let tt=Ra(q),lt=Ra(a.clientWidth-(W+it)),dt=Ra(a.clientHeight-(q+X)),vt=Ra(W),wt={rootMargin:-tt+"px "+-lt+"px "+-dt+"px "+-vt+"px",threshold:_e(0,Fr(1,C))||1},Wt=!0;function $t(Bt){let Zt=Bt[0].intersectionRatio;if(Zt!==C){if(!Wt)return m();Zt?m(!1,Zt):i=setTimeout(()=>{m(!1,1e-7)},1e3)}Zt===1&&!uf(L,n.getBoundingClientRect())&&m(),Wt=!1}try{t=new IntersectionObserver($t,{...wt,root:a.ownerDocument})}catch{t=new IntersectionObserver($t,wt)}t.observe(n)}return m(!0),d}function ff(n,o,t,i){i===void 0&&(i={});let{ancestorScroll:a=!0,ancestorResize:d=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:b=typeof IntersectionObserver=="function",animationFrame:C=!1}=i,L=Nc(n),W=a||d?[...L?fs(L):[],...fs(o)]:[];W.forEach(vt=>{a&&vt.addEventListener("scroll",t,{passive:!0}),d&&vt.addEventListener("resize",t)});let q=L&&b?oT(L,t):null,it=-1,X=null;m&&(X=new ResizeObserver(vt=>{let[At]=vt;At&&At.target===L&&X&&(X.unobserve(o),cancelAnimationFrame(it),it=requestAnimationFrame(()=>{var wt;(wt=X)==null||wt.observe(o)})),t()}),L&&!C&&X.observe(L),X.observe(o));let tt,lt=C?yo(n):null;C&&dt();function dt(){let vt=yo(n);lt&&!uf(lt,vt)&&t(),lt=vt,tt=requestAnimationFrame(dt)}return t(),()=>{var vt;W.forEach(At=>{a&&At.removeEventListener("scroll",t),d&&At.removeEventListener("resize",t)}),q==null||q(),(vt=X)==null||vt.disconnect(),X=null,C&&cancelAnimationFrame(tt)}}var vf=Qu;var gf=Ju,bf=Zu,yf=tf;var Ef=Xu;var Tf=(n,o,t)=>{let i=new Map,a={platform:iT,...t},d={...a.platform,_c:i};return qu(n,o,{...a,platform:d})};var xf=B.constructTagName("popover"),Yt={LEFT_START:"left-start",LEFT:"left",LEFT_END:"left-end",RIGHT_START:"right-start",RIGHT:"right",RIGHT_END:"right-end",TOP_START:"top-start",TOP:"top",TOP_END:"top-end",BOTTOM_START:"bottom-start",BOTTOM:"bottom",BOTTOM_END:"bottom-end"},di={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},Eo={TONAL:"tonal",CONTRAST:"contrast"},sT={ABSOLUTE:"absolute",FIXED:"fixed"},_t={PLACEMENT:Yt.BOTTOM,TRIGGER:di.CLICK,COLOR:Eo.TONAL,STRATEGY:sT.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:et.DIALOG,Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,PROPAGATE_EVENT_ON_ESCAPE:!1,KEEP_CONNECTED_TOOLTIP_CLOSED:!0,IS_BACKDROP_INVISIBLE:!0};var ci=class{static dispatchPopoverEvent(o,t){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:!0}))}static onShowPopover(o){this.dispatchPopoverEvent("shown",o)}static onHidePopover(o){this.dispatchPopoverEvent("hidden",o)}static onCreatedPopover(o){this.dispatchPopoverEvent("created",o)}static onDestroyedPopover(o){this.dispatchPopoverEvent("destroyed",o)}static onEscapeKeyPressed(o){this.dispatchPopoverEvent("closebyescape",o)}static onClickOutside(o){this.dispatchPopoverEvent("closebyoutsideclick",o)}};var Mc=class{constructor(){this.stack=[]}push(o){this.stack.push(o)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(o){this.stack=this.stack.filter(t=>t!==o)}has(o){return this.stack.includes(o)}clear(){this.stack=[]}},Ie=new Mc;var aT=V`
2451
+ `],Hu=IE;var us=class extends zt(K){constructor(){super(...arguments);this.checked=!1;this.readonly=!1}render(){return _` <slot></slot>
2452
+ <span part="radio-icon" class="icon"></span>`}};us.styles=[...K.styles,...Hu],p([u({type:Boolean,reflect:!0})],us.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],us.prototype,"readonly",2);var kc=us;var Gu=V.constructTagName("staticradio");kc.register(Gu);var CE=kc;Cc.register(kl);var kE=Cc;var Fr=Math.min,_e=Math.max,Ma=Math.round,Ra=Math.floor,Tr=n=>({x:n,y:n}),wE={left:"right",right:"left",bottom:"top",top:"bottom"},NE={start:"end",end:"start"};function Nl(n,o,t){return _e(n,Fr(o,t))}function uo(n,o){return typeof n=="function"?n(o):n}function ni(n){return n.split("-")[0]}function fo(n){return n.split("-")[1]}function wc(n){return n==="x"?"y":"x"}function Ll(n){return n==="y"?"height":"width"}var LE=new Set(["top","bottom"]);function zr(n){return LE.has(ni(n))?"y":"x"}function Ml(n){return wc(zr(n))}function ju(n,o,t){t===void 0&&(t=!1);let i=fo(n),a=Ml(n),d=Ll(a),m=a==="x"?i===(t?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[d]>o.floating[d]&&(m=La(m)),[m,La(m)]}function Ku(n){let o=La(n);return[wl(n),o,wl(o)]}function wl(n){return n.replace(/start|end/g,o=>NE[o])}var Yu=["left","right"],Wu=["right","left"],ME=["top","bottom"],RE=["bottom","top"];function OE(n,o,t){switch(n){case"top":case"bottom":return t?o?Wu:Yu:o?Yu:Wu;case"left":case"right":return o?ME:RE;default:return[]}}function qu(n,o,t,i){let a=fo(n),d=OE(ni(n),t==="start",i);return a&&(d=d.map(m=>m+"-"+a),o&&(d=d.concat(d.map(wl)))),d}function La(n){return n.replace(/left|right|bottom|top/g,o=>wE[o])}function PE(n){return{top:0,right:0,bottom:0,left:0,...n}}function Nc(n){return typeof n!="number"?PE(n):{top:n,right:n,bottom:n,left:n}}function vo(n){let{x:o,y:t,width:i,height:a}=n;return{width:i,height:a,top:t,left:o,right:o+i,bottom:t+a,x:o,y:t}}function Xu(n,o,t){let{reference:i,floating:a}=n,d=zr(o),m=Ml(o),b=Ll(m),C=ni(o),L=d==="y",W=i.x+i.width/2-a.width/2,q=i.y+i.height/2-a.height/2,it=i[b]/2-a[b]/2,X;switch(C){case"top":X={x:W,y:i.y-a.height};break;case"bottom":X={x:W,y:i.y+i.height};break;case"right":X={x:i.x+i.width,y:q};break;case"left":X={x:i.x-a.width,y:q};break;default:X={x:i.x,y:i.y}}switch(fo(o)){case"start":X[m]-=it*(t&&L?-1:1);break;case"end":X[m]+=it*(t&&L?-1:1);break}return X}var Zu=async(n,o,t)=>{let{placement:i="bottom",strategy:a="absolute",middleware:d=[],platform:m}=t,b=d.filter(Boolean),C=await(m.isRTL==null?void 0:m.isRTL(o)),L=await m.getElementRects({reference:n,floating:o,strategy:a}),{x:W,y:q}=Xu(L,i,C),it=i,X={},tt=0;for(let lt=0;lt<b.length;lt++){let{name:dt,fn:vt}=b[lt],{x:At,y:wt,data:Wt,reset:$t}=await vt({x:W,y:q,initialPlacement:i,placement:it,strategy:a,middlewareData:X,rects:L,platform:m,elements:{reference:n,floating:o}});W=At!=null?At:W,q=wt!=null?wt:q,X={...X,[dt]:{...X[dt],...Wt}},$t&&tt<=50&&(tt++,typeof $t=="object"&&($t.placement&&(it=$t.placement),$t.rects&&(L=$t.rects===!0?await m.getElementRects({reference:n,floating:o,strategy:a}):$t.rects),{x:W,y:q}=Xu(L,it,C)),lt=-1)}return{x:W,y:q,placement:it,strategy:a,middlewareData:X}};async function Rl(n,o){var t;o===void 0&&(o={});let{x:i,y:a,platform:d,rects:m,elements:b,strategy:C}=n,{boundary:L="clippingAncestors",rootBoundary:W="viewport",elementContext:q="floating",altBoundary:it=!1,padding:X=0}=uo(o,n),tt=Nc(X),dt=b[it?q==="floating"?"reference":"floating":q],vt=vo(await d.getClippingRect({element:(t=await(d.isElement==null?void 0:d.isElement(dt)))==null||t?dt:dt.contextElement||await(d.getDocumentElement==null?void 0:d.getDocumentElement(b.floating)),boundary:L,rootBoundary:W,strategy:C})),At=q==="floating"?{x:i,y:a,width:m.floating.width,height:m.floating.height}:m.reference,wt=await(d.getOffsetParent==null?void 0:d.getOffsetParent(b.floating)),Wt=await(d.isElement==null?void 0:d.isElement(wt))?await(d.getScale==null?void 0:d.getScale(wt))||{x:1,y:1}:{x:1,y:1},$t=vo(d.convertOffsetParentRelativeRectToViewportRelativeRect?await d.convertOffsetParentRelativeRectToViewportRelativeRect({elements:b,rect:At,offsetParent:wt,strategy:C}):At);return{top:(vt.top-$t.top+tt.top)/Wt.y,bottom:($t.bottom-vt.bottom+tt.bottom)/Wt.y,left:(vt.left-$t.left+tt.left)/Wt.x,right:($t.right-vt.right+tt.right)/Wt.x}}var Qu=n=>({name:"arrow",options:n,async fn(o){let{x:t,y:i,placement:a,rects:d,platform:m,elements:b,middlewareData:C}=o,{element:L,padding:W=0}=uo(n,o)||{};if(L==null)return{};let q=Nc(W),it={x:t,y:i},X=Ml(a),tt=Ll(X),lt=await m.getDimensions(L),dt=X==="y",vt=dt?"top":"left",At=dt?"bottom":"right",wt=dt?"clientHeight":"clientWidth",Wt=d.reference[tt]+d.reference[X]-it[X]-d.floating[tt],$t=it[X]-d.reference[X],Bt=await(m.getOffsetParent==null?void 0:m.getOffsetParent(L)),Zt=Bt?Bt[wt]:0;(!Zt||!await(m.isElement==null?void 0:m.isElement(Bt)))&&(Zt=b.floating[wt]||d.floating[tt]);let le=Wt/2-$t/2,ur=Zt/2-lt[tt]/2-1,we=Fr(q[vt],ur),je=Fr(q[At],ur),fr=we,vr=Zt-lt[tt]-je,Ct=Zt/2-lt[tt]/2+le,pe=Nl(fr,Ct,vr),Ke=!C.arrow&&fo(a)!=null&&Ct!==pe&&d.reference[tt]/2-(Ct<fr?we:je)-lt[tt]/2<0,qe=Ke?Ct<fr?Ct-fr:Ct-vr:0;return{[X]:it[X]+qe,data:{[X]:pe,centerOffset:Ct-pe-qe,...Ke&&{alignmentOffset:qe}},reset:Ke}}});var Ju=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(o){var t,i;let{placement:a,middlewareData:d,rects:m,initialPlacement:b,platform:C,elements:L}=o,{mainAxis:W=!0,crossAxis:q=!0,fallbackPlacements:it,fallbackStrategy:X="bestFit",fallbackAxisSideDirection:tt="none",flipAlignment:lt=!0,...dt}=uo(n,o);if((t=d.arrow)!=null&&t.alignmentOffset)return{};let vt=ni(a),At=zr(b),wt=ni(b)===b,Wt=await(C.isRTL==null?void 0:C.isRTL(L.floating)),$t=it||(wt||!lt?[La(b)]:Ku(b)),Bt=tt!=="none";!it&&Bt&&$t.push(...qu(b,lt,tt,Wt));let Zt=[b,...$t],le=await Rl(o,dt),ur=[],we=((i=d.flip)==null?void 0:i.overflows)||[];if(W&&ur.push(le[vt]),q){let Ct=ju(a,m,Wt);ur.push(le[Ct[0]],le[Ct[1]])}if(we=[...we,{placement:a,overflows:ur}],!ur.every(Ct=>Ct<=0)){var je,fr;let Ct=(((je=d.flip)==null?void 0:je.index)||0)+1,pe=Zt[Ct];if(pe&&(!(q==="alignment"?At!==zr(pe):!1)||we.every(Xe=>Xe.overflows[0]>0&&zr(Xe.placement)===At)))return{data:{index:Ct,overflows:we},reset:{placement:pe}};let Ke=(fr=we.filter(qe=>qe.overflows[0]<=0).sort((qe,Xe)=>qe.overflows[1]-Xe.overflows[1])[0])==null?void 0:fr.placement;if(!Ke)switch(X){case"bestFit":{var vr;let qe=(vr=we.filter(Xe=>{if(Bt){let Ze=zr(Xe.placement);return Ze===At||Ze==="y"}return!0}).map(Xe=>[Xe.placement,Xe.overflows.filter(Ze=>Ze>0).reduce((Ze,mn)=>Ze+mn,0)]).sort((Xe,Ze)=>Xe[1]-Ze[1])[0])==null?void 0:vr[0];qe&&(Ke=qe);break}case"initialPlacement":Ke=b;break}if(a!==Ke)return{reset:{placement:Ke}}}return{}}}};var DE=new Set(["left","top"]);async function $E(n,o){let{placement:t,platform:i,elements:a}=n,d=await(i.isRTL==null?void 0:i.isRTL(a.floating)),m=ni(t),b=fo(t),C=zr(t)==="y",L=DE.has(m)?-1:1,W=d&&C?-1:1,q=uo(o,n),{mainAxis:it,crossAxis:X,alignmentAxis:tt}=typeof q=="number"?{mainAxis:q,crossAxis:0,alignmentAxis:null}:{mainAxis:q.mainAxis||0,crossAxis:q.crossAxis||0,alignmentAxis:q.alignmentAxis};return b&&typeof tt=="number"&&(X=b==="end"?tt*-1:tt),C?{x:X*W,y:it*L}:{x:it*L,y:X*W}}var tf=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(o){var t,i;let{x:a,y:d,placement:m,middlewareData:b}=o,C=await $E(o,n);return m===((t=b.offset)==null?void 0:t.placement)&&(i=b.arrow)!=null&&i.alignmentOffset?{}:{x:a+C.x,y:d+C.y,data:{...C,placement:m}}}}},ef=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(o){let{x:t,y:i,placement:a}=o,{mainAxis:d=!0,crossAxis:m=!1,limiter:b={fn:dt=>{let{x:vt,y:At}=dt;return{x:vt,y:At}}},...C}=uo(n,o),L={x:t,y:i},W=await Rl(o,C),q=zr(ni(a)),it=wc(q),X=L[it],tt=L[q];if(d){let dt=it==="y"?"top":"left",vt=it==="y"?"bottom":"right",At=X+W[dt],wt=X-W[vt];X=Nl(At,X,wt)}if(m){let dt=q==="y"?"top":"left",vt=q==="y"?"bottom":"right",At=tt+W[dt],wt=tt-W[vt];tt=Nl(At,tt,wt)}let lt=b.fn({...o,[it]:X,[q]:tt});return{...lt,data:{x:lt.x-t,y:lt.y-i,enabled:{[it]:d,[q]:m}}}}}};var rf=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(o){var t,i;let{placement:a,rects:d,platform:m,elements:b}=o,{apply:C=()=>{},...L}=uo(n,o),W=await Rl(o,L),q=ni(a),it=fo(a),X=zr(a)==="y",{width:tt,height:lt}=d.floating,dt,vt;q==="top"||q==="bottom"?(dt=q,vt=it===(await(m.isRTL==null?void 0:m.isRTL(b.floating))?"start":"end")?"left":"right"):(vt=q,dt=it==="end"?"top":"bottom");let At=lt-W.top-W.bottom,wt=tt-W.left-W.right,Wt=Fr(lt-W[dt],At),$t=Fr(tt-W[vt],wt),Bt=!o.middlewareData.shift,Zt=Wt,le=$t;if((t=o.middlewareData.shift)!=null&&t.enabled.x&&(le=wt),(i=o.middlewareData.shift)!=null&&i.enabled.y&&(Zt=At),Bt&&!it){let we=_e(W.left,0),je=_e(W.right,0),fr=_e(W.top,0),vr=_e(W.bottom,0);X?le=tt-2*(we!==0||je!==0?we+je:_e(W.left,W.right)):Zt=lt-2*(fr!==0||vr!==0?fr+vr:_e(W.top,W.bottom))}await C({...o,availableWidth:le,availableHeight:Zt});let ur=await m.getDimensions(b.floating);return tt!==ur.width||lt!==ur.height?{reset:{rects:!0}}:{}}}};function Ol(){return typeof window<"u"}function go(n){return sf(n)?(n.nodeName||"").toLowerCase():"#document"}function $e(n){var o;return(n==null||(o=n.ownerDocument)==null?void 0:o.defaultView)||window}function xr(n){var o;return(o=(sf(n)?n.ownerDocument:n.document)||window.document)==null?void 0:o.documentElement}function sf(n){return Ol()?n instanceof Node||n instanceof $e(n).Node:!1}function ar(n){return Ol()?n instanceof Element||n instanceof $e(n).Element:!1}function Ar(n){return Ol()?n instanceof HTMLElement||n instanceof $e(n).HTMLElement:!1}function of(n){return!Ol()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof $e(n).ShadowRoot}var FE=new Set(["inline","contents"]);function vs(n){let{overflow:o,overflowX:t,overflowY:i,display:a}=nr(n);return/auto|scroll|overlay|hidden|clip/.test(o+i+t)&&!FE.has(a)}var zE=new Set(["table","td","th"]);function af(n){return zE.has(go(n))}var VE=[":popover-open",":modal"];function Oa(n){return VE.some(o=>{try{return n.matches(o)}catch{return!1}})}var BE=["transform","translate","scale","rotate","perspective"],UE=["transform","translate","scale","rotate","perspective","filter"],HE=["paint","layout","strict","content"];function Pl(n){let o=Dl(),t=ar(n)?nr(n):n;return BE.some(i=>t[i]?t[i]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!o&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!o&&(t.filter?t.filter!=="none":!1)||UE.some(i=>(t.willChange||"").includes(i))||HE.some(i=>(t.contain||"").includes(i))}function nf(n){let o=li(n);for(;Ar(o)&&!bo(o);){if(Pl(o))return o;if(Oa(o))return null;o=li(o)}return null}function Dl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var GE=new Set(["html","body","#document"]);function bo(n){return GE.has(go(n))}function nr(n){return $e(n).getComputedStyle(n)}function Pa(n){return ar(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function li(n){if(go(n)==="html")return n;let o=n.assignedSlot||n.parentNode||of(n)&&n.host||xr(n);return of(o)?o.host:o}function lf(n){let o=li(n);return bo(o)?n.ownerDocument?n.ownerDocument.body:n.body:Ar(o)&&vs(o)?o:lf(o)}function fs(n,o,t){var i;o===void 0&&(o=[]),t===void 0&&(t=!0);let a=lf(n),d=a===((i=n.ownerDocument)==null?void 0:i.body),m=$e(a);if(d){let b=$l(m);return o.concat(m,m.visualViewport||[],vs(a)?a:[],b&&t?fs(b):[])}return o.concat(a,fs(a,[],t))}function $l(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function hf(n){let o=nr(n),t=parseFloat(o.width)||0,i=parseFloat(o.height)||0,a=Ar(n),d=a?n.offsetWidth:t,m=a?n.offsetHeight:i,b=Ma(t)!==d||Ma(i)!==m;return b&&(t=d,i=m),{width:t,height:i,$:b}}function Mc(n){return ar(n)?n:n.contextElement}function gs(n){let o=Mc(n);if(!Ar(o))return Tr(1);let t=o.getBoundingClientRect(),{width:i,height:a,$:d}=hf(o),m=(d?Ma(t.width):t.width)/i,b=(d?Ma(t.height):t.height)/a;return(!m||!Number.isFinite(m))&&(m=1),(!b||!Number.isFinite(b))&&(b=1),{x:m,y:b}}var YE=Tr(0);function pf(n){let o=$e(n);return!Dl()||!o.visualViewport?YE:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function WE(n,o,t){return o===void 0&&(o=!1),!t||o&&t!==$e(n)?!1:o}function yo(n,o,t,i){o===void 0&&(o=!1),t===void 0&&(t=!1);let a=n.getBoundingClientRect(),d=Mc(n),m=Tr(1);o&&(i?ar(i)&&(m=gs(i)):m=gs(n));let b=WE(d,t,i)?pf(d):Tr(0),C=(a.left+b.x)/m.x,L=(a.top+b.y)/m.y,W=a.width/m.x,q=a.height/m.y;if(d){let it=$e(d),X=i&&ar(i)?$e(i):i,tt=it,lt=$l(tt);for(;lt&&i&&X!==tt;){let dt=gs(lt),vt=lt.getBoundingClientRect(),At=nr(lt),wt=vt.left+(lt.clientLeft+parseFloat(At.paddingLeft))*dt.x,Wt=vt.top+(lt.clientTop+parseFloat(At.paddingTop))*dt.y;C*=dt.x,L*=dt.y,W*=dt.x,q*=dt.y,C+=wt,L+=Wt,tt=$e(lt),lt=$l(tt)}}return vo({width:W,height:q,x:C,y:L})}function Rc(n,o){let t=Pa(n).scrollLeft;return o?o.left+t:yo(xr(n)).left+t}function mf(n,o,t){t===void 0&&(t=!1);let i=n.getBoundingClientRect(),a=i.left+o.scrollLeft-(t?0:Rc(n,i)),d=i.top+o.scrollTop;return{x:a,y:d}}function jE(n){let{elements:o,rect:t,offsetParent:i,strategy:a}=n,d=a==="fixed",m=xr(i),b=o?Oa(o.floating):!1;if(i===m||b&&d)return t;let C={scrollLeft:0,scrollTop:0},L=Tr(1),W=Tr(0),q=Ar(i);if((q||!q&&!d)&&((go(i)!=="body"||vs(m))&&(C=Pa(i)),Ar(i))){let X=yo(i);L=gs(i),W.x=X.x+i.clientLeft,W.y=X.y+i.clientTop}let it=m&&!q&&!d?mf(m,C,!0):Tr(0);return{width:t.width*L.x,height:t.height*L.y,x:t.x*L.x-C.scrollLeft*L.x+W.x+it.x,y:t.y*L.y-C.scrollTop*L.y+W.y+it.y}}function KE(n){return Array.from(n.getClientRects())}function qE(n){let o=xr(n),t=Pa(n),i=n.ownerDocument.body,a=_e(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),d=_e(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),m=-t.scrollLeft+Rc(n),b=-t.scrollTop;return nr(i).direction==="rtl"&&(m+=_e(o.clientWidth,i.clientWidth)-a),{width:a,height:d,x:m,y:b}}function XE(n,o){let t=$e(n),i=xr(n),a=t.visualViewport,d=i.clientWidth,m=i.clientHeight,b=0,C=0;if(a){d=a.width,m=a.height;let L=Dl();(!L||L&&o==="fixed")&&(b=a.offsetLeft,C=a.offsetTop)}return{width:d,height:m,x:b,y:C}}var ZE=new Set(["absolute","fixed"]);function QE(n,o){let t=yo(n,!0,o==="fixed"),i=t.top+n.clientTop,a=t.left+n.clientLeft,d=Ar(n)?gs(n):Tr(1),m=n.clientWidth*d.x,b=n.clientHeight*d.y,C=a*d.x,L=i*d.y;return{width:m,height:b,x:C,y:L}}function df(n,o,t){let i;if(o==="viewport")i=XE(n,t);else if(o==="document")i=qE(xr(n));else if(ar(o))i=QE(o,t);else{let a=pf(n);i={x:o.x-a.x,y:o.y-a.y,width:o.width,height:o.height}}return vo(i)}function uf(n,o){let t=li(n);return t===o||!ar(t)||bo(t)?!1:nr(t).position==="fixed"||uf(t,o)}function JE(n,o){let t=o.get(n);if(t)return t;let i=fs(n,[],!1).filter(b=>ar(b)&&go(b)!=="body"),a=null,d=nr(n).position==="fixed",m=d?li(n):n;for(;ar(m)&&!bo(m);){let b=nr(m),C=Pl(m);!C&&b.position==="fixed"&&(a=null),(d?!C&&!a:!C&&b.position==="static"&&!!a&&ZE.has(a.position)||vs(m)&&!C&&uf(n,m))?i=i.filter(W=>W!==m):a=b,m=li(m)}return o.set(n,i),i}function tT(n){let{element:o,boundary:t,rootBoundary:i,strategy:a}=n,m=[...t==="clippingAncestors"?Oa(o)?[]:JE(o,this._c):[].concat(t),i],b=m[0],C=m.reduce((L,W)=>{let q=df(o,W,a);return L.top=_e(q.top,L.top),L.right=Fr(q.right,L.right),L.bottom=Fr(q.bottom,L.bottom),L.left=_e(q.left,L.left),L},df(o,b,a));return{width:C.right-C.left,height:C.bottom-C.top,x:C.left,y:C.top}}function eT(n){let{width:o,height:t}=hf(n);return{width:o,height:t}}function rT(n,o,t){let i=Ar(o),a=xr(o),d=t==="fixed",m=yo(n,!0,d,o),b={scrollLeft:0,scrollTop:0},C=Tr(0);function L(){C.x=Rc(a)}if(i||!i&&!d)if((go(o)!=="body"||vs(a))&&(b=Pa(o)),i){let X=yo(o,!0,d,o);C.x=X.x+o.clientLeft,C.y=X.y+o.clientTop}else a&&L();d&&!i&&a&&L();let W=a&&!i&&!d?mf(a,b):Tr(0),q=m.left+b.scrollLeft-C.x-W.x,it=m.top+b.scrollTop-C.y-W.y;return{x:q,y:it,width:m.width,height:m.height}}function Lc(n){return nr(n).position==="static"}function cf(n,o){if(!Ar(n)||nr(n).position==="fixed")return null;if(o)return o(n);let t=n.offsetParent;return xr(n)===t&&(t=t.ownerDocument.body),t}function ff(n,o){let t=$e(n);if(Oa(n))return t;if(!Ar(n)){let a=li(n);for(;a&&!bo(a);){if(ar(a)&&!Lc(a))return a;a=li(a)}return t}let i=cf(n,o);for(;i&&af(i)&&Lc(i);)i=cf(i,o);return i&&bo(i)&&Lc(i)&&!Pl(i)?t:i||nf(n)||t}var iT=async function(n){let o=this.getOffsetParent||ff,t=this.getDimensions,i=await t(n.floating);return{reference:rT(n.reference,await o(n.floating),n.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function oT(n){return nr(n).direction==="rtl"}var sT={convertOffsetParentRelativeRectToViewportRelativeRect:jE,getDocumentElement:xr,getClippingRect:tT,getOffsetParent:ff,getElementRects:iT,getClientRects:KE,getDimensions:eT,getScale:gs,isElement:ar,isRTL:oT};function vf(n,o){return n.x===o.x&&n.y===o.y&&n.width===o.width&&n.height===o.height}function aT(n,o){let t=null,i,a=xr(n);function d(){var b;clearTimeout(i),(b=t)==null||b.disconnect(),t=null}function m(b,C){b===void 0&&(b=!1),C===void 0&&(C=1),d();let L=n.getBoundingClientRect(),{left:W,top:q,width:it,height:X}=L;if(b||o(),!it||!X)return;let tt=Ra(q),lt=Ra(a.clientWidth-(W+it)),dt=Ra(a.clientHeight-(q+X)),vt=Ra(W),wt={rootMargin:-tt+"px "+-lt+"px "+-dt+"px "+-vt+"px",threshold:_e(0,Fr(1,C))||1},Wt=!0;function $t(Bt){let Zt=Bt[0].intersectionRatio;if(Zt!==C){if(!Wt)return m();Zt?m(!1,Zt):i=setTimeout(()=>{m(!1,1e-7)},1e3)}Zt===1&&!vf(L,n.getBoundingClientRect())&&m(),Wt=!1}try{t=new IntersectionObserver($t,{...wt,root:a.ownerDocument})}catch{t=new IntersectionObserver($t,wt)}t.observe(n)}return m(!0),d}function gf(n,o,t,i){i===void 0&&(i={});let{ancestorScroll:a=!0,ancestorResize:d=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:b=typeof IntersectionObserver=="function",animationFrame:C=!1}=i,L=Mc(n),W=a||d?[...L?fs(L):[],...fs(o)]:[];W.forEach(vt=>{a&&vt.addEventListener("scroll",t,{passive:!0}),d&&vt.addEventListener("resize",t)});let q=L&&b?aT(L,t):null,it=-1,X=null;m&&(X=new ResizeObserver(vt=>{let[At]=vt;At&&At.target===L&&X&&(X.unobserve(o),cancelAnimationFrame(it),it=requestAnimationFrame(()=>{var wt;(wt=X)==null||wt.observe(o)})),t()}),L&&!C&&X.observe(L),X.observe(o));let tt,lt=C?yo(n):null;C&&dt();function dt(){let vt=yo(n);lt&&!vf(lt,vt)&&t(),lt=vt,tt=requestAnimationFrame(dt)}return t(),()=>{var vt;W.forEach(At=>{a&&At.removeEventListener("scroll",t),d&&At.removeEventListener("resize",t)}),q==null||q(),(vt=X)==null||vt.disconnect(),X=null,C&&cancelAnimationFrame(tt)}}var bf=tf;var yf=ef,Ef=Ju,Tf=rf;var xf=Qu;var Af=(n,o,t)=>{let i=new Map,a={platform:sT,...t},d={...a.platform,_c:i};return Zu(n,o,{...a,platform:d})};var Sf=V.constructTagName("popover"),Yt={LEFT_START:"left-start",LEFT:"left",LEFT_END:"left-end",RIGHT_START:"right-start",RIGHT:"right",RIGHT_END:"right-end",TOP_START:"top-start",TOP:"top",TOP_END:"top-end",BOTTOM_START:"bottom-start",BOTTOM:"bottom",BOTTOM_END:"bottom-end"},di={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},Eo={TONAL:"tonal",CONTRAST:"contrast"},nT={ABSOLUTE:"absolute",FIXED:"fixed"},_t={PLACEMENT:Yt.BOTTOM,TRIGGER:di.CLICK,COLOR:Eo.TONAL,STRATEGY:nT.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:et.DIALOG,Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,PROPAGATE_EVENT_ON_ESCAPE:!1,KEEP_CONNECTED_TOOLTIP_CLOSED:!0,IS_BACKDROP_INVISIBLE:!0};var ci=class{static dispatchPopoverEvent(o,t){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:!0}))}static onShowPopover(o){this.dispatchPopoverEvent("shown",o)}static onHidePopover(o){this.dispatchPopoverEvent("hidden",o)}static onCreatedPopover(o){this.dispatchPopoverEvent("created",o)}static onDestroyedPopover(o){this.dispatchPopoverEvent("destroyed",o)}static onEscapeKeyPressed(o){this.dispatchPopoverEvent("closebyescape",o)}static onClickOutside(o){this.dispatchPopoverEvent("closebyoutsideclick",o)}};var Oc=class{constructor(){this.stack=[]}push(o){this.stack.push(o)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(o){this.stack=this.stack.filter(t=>t!==o)}has(o){return this.stack.includes(o)}clear(){this.stack=[]}},Ie=new Oc;var lT=B`
2453
2453
  :host {
2454
2454
  --mdc-popover-arrow-border-radius: 0.1875rem;
2455
2455
  --mdc-popover-arrow-border: 0.0625rem solid var(--mds-color-theme-outline-secondary-normal);
@@ -2571,7 +2571,7 @@
2571
2571
  border-top-right-radius: var(--mdc-popover-arrow-border-radius);
2572
2572
  border-bottom-left-radius: 100%;
2573
2573
  }
2574
- `,Af=[aT];var Fl=class{constructor(o){this.arrowPixelChange=!1;this.popover=o}setupDelay(){try{let[o,t]=this.popover.delay.split(",").map(i=>{let a=parseInt(i,10);if(Number.isNaN(a)||a<0)throw new Error(`Invalid delay value: ${i}`);return a});return[o,t]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(o){let t=this.popover.renderRoot.querySelector(".popover-hover-bridge");Object.assign(t.style,{top:"",left:"",right:"",bottom:""});let i=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,a=this.popover.offsetHeight||0,d=this.popover.offsetWidth||0;if(t)switch(o.split("-")[0]){case"top":t.style.height=i,t.style.bottom=`calc(-1 * (${i}))`,t.style.left="50%",t.style.width=`${d}px`;break;case"left":t.style.height=`${a}px`,t.style.width=i,t.style.right=`calc(-1.5 * (${i}))`;break;case"right":t.style.height=`${a}px`,t.style.width=i,t.style.left=`calc(-0.5 * (${i}))`;break;case"bottom":default:t.style.height=i,t.style.top=`calc(-1 * (${i}))`,t.style.left="50%",t.style.width=`${d}px`;break}}setupAppendTo(){if(this.popover.appendTo){let o=document.getElementById(this.popover.appendTo);o&&o.appendChild(this.popover)}}updateAriaLabels(){var o,t,i;this.popover.interactive&&this.popover.role&&(this.popover.ariaLabel||(this.popover.ariaLabel=((o=this.popover.triggerElement)==null?void 0:o.ariaLabel)||((t=this.popover.triggerElement)==null?void 0:t.textContent)||""),this.popover.ariaLabelledby||(this.popover.ariaLabelledby=((i=this.popover.triggerElement)==null?void 0:i.id)||""))}updateAriaModal(){this.popover.role===et.DIALOG||this.popover.role===et.ALERTDIALOG?this.popover.setAttribute("aria-modal","true"):this.popover.removeAttribute("aria-modal")}updateAriaExpandedAttribute(){var o,t,i;this.popover.disableAriaExpanded||((o=this.popover.triggerElement)==null||o.setAttribute("aria-expanded",`${this.popover.visible}`),(i=this.popover.triggerElement)==null||i.setAttribute("aria-haspopup",((t=this.popover.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||this.popover.role||"dialog"))}updateArrowStyle(o,t){var W;if(!this.popover.arrowElement)return;let i=t.split("-")[0],a={top:"bottom",right:"left",bottom:"top",left:"right"}[i],{x:d,y:m}=o,b=this.popover.arrowElement.getBoundingClientRect(),C=(W=this.popover.arrowElement.offsetParent)==null?void 0:W.getBoundingClientRect();if(!this.arrowPixelChange){let q=C!=null&&C[a]?12-Math.abs(b[a]-C[a]):0;Math.round(q)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let L=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",i),Object.assign(this.popover.arrowElement.style,{left:d!=null?`${d}px`:"",top:m!=null?`${m}px`:"",[a]:`${-this.popover.arrowElement.offsetHeight/2-L}px`})}updatePopoverStyle(o,t){Object.assign(this.popover.style,{left:`${o}px`,top:`${t}px`})}};var It=class extends ul(cl(dl(K))){constructor(){super();this.id="";this.triggerID="";this.trigger=_t.TRIGGER;this.placement=_t.PLACEMENT;this.color=_t.COLOR;this.visible=_t.VISIBLE;this.offset=_t.OFFSET;this.boundary=_t.BOUNDARY;this.boundaryRoot=_t.BOUNDARY_ROOT;this.focusTrap=_t.FOCUS_TRAP;this.preventScroll=_t.PREVENT_SCROLL;this.showArrow=_t.ARROW;this.closeButton=_t.CLOSE_BUTTON;this.interactive=_t.INTERACTIVE;this.delay=_t.DELAY;this.hideOnEscape=_t.HIDE_ON_ESCAPE;this.propagateEventOnEscape=_t.PROPAGATE_EVENT_ON_ESCAPE;this.hideOnBlur=_t.HIDE_ON_BLUR;this.hideOnOutsideClick=_t.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=_t.FOCUS_BACK;this.backdrop=_t.BACKDROP;this.isBackdropInvisible=_t.IS_BACKDROP_INVISIBLE;this.flip=_t.FLIP;this.size=_t.SIZE;this.zIndex=_t.Z_INDEX;this.closeButtonAriaLabel=null;this.strategy=_t.STRATEGY;this.role=_t.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=_t.DISABLE_ARIA_EXPANDED;this.keepConnectedTooltipClosed=_t.KEEP_CONNECTED_TOOLTIP_CLOSED;this.arrowElement=null;this.hoverTimer=null;this.isHovered=!1;this.openDelay=0;this.closeDelay=0;this.floatingUICleanupFunction=null;this.shouldSuppressOpening=!1;this.parseTrigger=()=>{var d;let a=(((d=this.trigger)==null?void 0:d.split(" "))||[]).filter(m=>Object.values(di).includes(m)).length>0?this.trigger:_t.TRIGGER;a==="mouseenter"&&(this.interactive?a="mouseenter click":a="mouseenter focusin"),this.trigger=a};this.setupTriggerListeners=()=>{if(this.trigger.includes("click")&&document.addEventListener("click",this.togglePopoverVisible,{capture:!0}),this.trigger.includes("mouseenter")){let t=this.renderRoot.querySelector(".popover-hover-bridge");t==null||t.addEventListener("mouseenter",this.show),document.addEventListener("mouseenter",this.handleMouseEnter,{capture:!0}),document.addEventListener("mouseleave",this.handleMouseLeave,{capture:!0}),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay)}this.trigger.includes("focusin")&&(document.addEventListener("focusin",this.handleFocusIn,{capture:!0}),this.interactive||document.addEventListener("focusout",this.handleFocusOut,{capture:!0}))};this.removeTriggerListeners=()=>{document.removeEventListener("click",this.togglePopoverVisible,{capture:!0});let t=this.renderRoot.querySelector(".popover-hover-bridge");t==null||t.removeEventListener("mouseenter",this.show),document.removeEventListener("mouseenter",this.handleMouseEnter,{capture:!0}),document.removeEventListener("mouseleave",this.handleMouseLeave,{capture:!0}),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),document.removeEventListener("focusin",this.handleFocusIn,{capture:!0}),document.removeEventListener("focusout",this.handleFocusOut,{capture:!0})};this.removeAllListeners=()=>{this.removeTriggerListeners(),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick,{capture:!0}),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),document.removeEventListener("keydown",this.onEscapeKeydown,{capture:!0})),this.hideOnBlur&&this.removeEventListener("focusout",this.onPopoverFocusOut)};this.onOutsidePopoverClick=t=>{if(Ie.peek()!==this)return;let i=t.composedPath(),a=this.contains(t.target)||i.includes(this.triggerElement)||i.includes(this),d=this.backdropElement?i.includes(this.backdropElement):!1;(!a||d)&&(this.hide(),ci.onClickOutside(this))};this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(this.propagateEventOnEscape||t.stopPropagation(),t.preventDefault(),this.hide(),ci.onEscapeKeyPressed(this))};this.onPopoverFocusOut=t=>{this.contains(t.relatedTarget)||this.hide()};this.handleMouseEnter=t=>{this.isEventFromTrigger(t)&&(this.isHovered=!0,this.show())};this.handleMouseLeave=t=>{this.isEventFromTrigger(t)&&(this.isHovered=!1,this.startCloseDelay())};this.handleFocusOut=t=>{this.isEventFromTrigger(t)&&(this.isHovered||this.hide())};this.handleFocusIn=t=>{var i;this.isEventFromTrigger(t)&&((i=this.triggerElement)!=null&&i.matches(":focus-visible")||this.isHovered)&&this.show()};this.startCloseDelay=()=>{this.interactive?this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay):this.hide()};this.cancelCloseDelay=()=>{this.hoverTimer&&(window.clearTimeout(this.hoverTimer),this.hoverTimer=null)};this.show=()=>{this.visible||this.shouldSuppressOpening||(this.cancelCloseDelay(),this.openDelay>0?setTimeout(()=>{this.visible=!0},this.openDelay):this.visible=!0)};this.hide=()=>{this.closeDelay?setTimeout(()=>{this.visible=!1},this.closeDelay):this.visible=!1};this.togglePopoverVisible=t=>{this.isEventFromTrigger(t)&&(this.visible?this.hide():this.show())};this.positionPopover=()=>{let{triggerElement:t}=this;if(!t)return;let i=!this.boundary||this.boundary==="clippingAncestors"?"clippingAncestors":Array.from(document.querySelectorAll(this.boundary)),a=this.boundaryRoot,d=[gf({boundary:i,rootBoundary:a,padding:this.boundaryPadding})],m=this.offset;if(this.flip&&d.push(bf({boundary:i,rootBoundary:a})),this.size){let b=L=>{this.style.setProperty("--mdc-popover-internal-available-height",`${L}px`)},C=this.renderRoot.querySelector('[part="popover-content"]');d.push(yf({boundary:i,rootBoundary:a,apply({availableHeight:L}){C&&(Object.assign(C.style,{maxHeight:`${L}px`,overflowY:"auto"}),b(L))},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector(".popover-arrow"),this.arrowElement)){let b=this.arrowElement.offsetHeight,C=Math.sqrt(2*b**2)/2;m+=C,d.push(Ef({element:this.arrowElement,padding:12}))}d.push(vf(m)),this.floatingUICleanupFunction=ff(t,this,async()=>{let{triggerElement:b}=this;if(!b)return;let{x:C,y:L,middlewareData:W,placement:q}=await Tf(b,this,{placement:this.placement,middleware:d,strategy:this.strategy});this.utils.updatePopoverStyle(C,L),W.arrow&&this.arrowElement&&this.utils.updateArrowStyle(W.arrow,q),this.trigger.includes("mouseenter")&&this.interactive&&this.utils.setupHoverBridge(q)})};this.utils=new Fl(this),this.parseTrigger(),[this.openDelay,this.closeDelay]=this.utils.setupDelay()}get connectedTooltip(){let t=this.getRootNode().querySelectorAll(`mdc-tooltip[triggerID="${this.triggerID}"]`);return Array.from(t).find(i=>i!==this)}get triggerElement(){return this.getRootNode().querySelector(`[id="${this.triggerID}"]`)}async firstUpdated(t){super.firstUpdated(t),this.style.zIndex=`${this.zIndex}`,this.utils.setupAppendTo(),ci.onCreatedPopover(this)}connectedCallback(){super.connectedCallback(),this.setupTriggerListeners()}async disconnectedCallback(){var t,i;super.disconnectedCallback(),this.removeAllListeners(),(t=this.deactivateFocusTrap)==null||t.call(this),this.deactivatePreventScroll(),this.moveElementBackAfterBackdropRemoval(this.triggerElement),this.removeBackdrop(),(i=this.floatingUICleanupFunction)==null||i.call(this),this.cancelCloseDelay(),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),ci.onDestroyedPopover(this),Ie.remove(this)}async updated(t){if(super.updated(t),t.has("visible")){let i=t.get("visible")||!1;await this.isOpenUpdated(i,this.visible),this.utils.updateAriaExpandedAttribute()}t.has("trigger")&&(this.parseTrigger(),this.removeTriggerListeners(),this.setupTriggerListeners()),t.has("placement")&&this.setAttribute("placement",Object.values(Yt).includes(this.placement)?this.placement:_t.PLACEMENT),t.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),t.has("color")&&this.setAttribute("color",Object.values(Eo).includes(this.color)?this.color:_t.COLOR),t.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),t.has("append-to")&&this.utils.setupAppendTo(),(t.has("interactive")||t.has("aria-label")||t.has("aria-labelledby"))&&this.utils.updateAriaLabels(),t.has("role")&&(this.role===""&&(this.role=null),this.utils.updateAriaModal()),t.has("disableAriaExpanded")&&this.utils.updateAriaExpandedAttribute(),t.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap(),t.has("preventScroll")&&(!this.preventScroll&&this.visible?this.deactivatePreventScroll():this.preventScroll&&this.visible&&this.activatePreventScroll())}async isOpenUpdated(t,i){var d,m;let{triggerElement:a}=this;t===i||!a||(i&&!this.shouldSuppressOpening?(Ie.peek()!==this&&Ie.push(this),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.visible=!1,this.connectedTooltip.shouldSuppressOpening=!0),this.backdrop&&!this.backdropElement&&(this.createBackdrop("popover"),this.keepElementAboveBackdrop(a)),this.positionPopover(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(a.style.pointerEvents="none")),this.hideOnEscape&&(this.addEventListener("keydown",this.onEscapeKeydown),document.addEventListener("keydown",this.onEscapeKeydown)),this.activatePreventScroll(),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick,{capture:!0}),setTimeout(()=>{var b,C;this.interactive&&this.focusTrap&&((b=this.activateFocusTrap)==null||b.call(this),(C=this.setInitialFocus)==null||C.call(this))},0),ci.onShowPopover(this)):(Ie.peek()===this&&Ie.pop(),(d=this.floatingUICleanupFunction)==null||d.call(this),this.backdrop&&(this.moveElementBackAfterBackdropRemoval(a),this.removeBackdrop()),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(a.style.pointerEvents="")),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick,{capture:!0}),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),document.removeEventListener("keydown",this.onEscapeKeydown)),this.deactivatePreventScroll(),(m=this.deactivateFocusTrap)==null||m.call(this),this.focusBackToTrigger&&(a==null||a.focus()),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),ci.onHidePopover(this)))}isEventFromTrigger(t){var i;return this.triggerID?t.composed?t.composedPath().some(a=>(a==null?void 0:a.id)===this.triggerID):((i=t.target)==null?void 0:i.id)===this.triggerID:!1}render(){return _`
2574
+ `,_f=[lT];var zl=V.constructTagName("popoverportal"),Fl=class extends K{connectedCallback(){super.connectedCallback(),this.ariaHidden="true"}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(i=>{let a=parseInt(i,10);if(Number.isNaN(a)||a<0)throw new Error(`Invalid delay value: ${i}`);return a});return[o,t]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(o){let t=this.popover.renderRoot.querySelector(".popover-hover-bridge");Object.assign(t.style,{top:"",left:"",right:"",bottom:""});let i=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,a=this.popover.offsetHeight||0,d=this.popover.offsetWidth||0;if(t)switch(o.split("-")[0]){case"top":t.style.height=i,t.style.bottom=`calc(-1 * (${i}))`,t.style.left="50%",t.style.width=`${d}px`;break;case"left":t.style.height=`${a}px`,t.style.width=i,t.style.right=`calc(-1.5 * (${i}))`;break;case"right":t.style.height=`${a}px`,t.style.width=i,t.style.left=`calc(-0.5 * (${i}))`;break;case"bottom":default:t.style.height=i,t.style.top=`calc(-1 * (${i}))`,t.style.left="50%",t.style.width=`${d}px`;break}}setupAppendTo(){var o,t;if(this.popover.appendTo){let i=document.getElementById(this.popover.appendTo);i&&!Array.from(i.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),i.appendChild(this.popover))}}cleanupAppendTo(){!this.disconnectAfterAppendTo&&this.portalElement&&this.portalElement.remove(),this.disconnectAfterAppendTo=!1}updateAriaLabels(){var o,t,i;this.popover.interactive&&this.popover.role&&(this.popover.ariaLabel||(this.popover.ariaLabel=((o=this.popover.triggerElement)==null?void 0:o.ariaLabel)||((t=this.popover.triggerElement)==null?void 0:t.textContent)||""),this.popover.ariaLabelledby||(this.popover.ariaLabelledby=((i=this.popover.triggerElement)==null?void 0:i.id)||""))}updateAriaModal(){this.popover.role===et.DIALOG||this.popover.role===et.ALERTDIALOG?this.popover.setAttribute("aria-modal","true"):this.popover.removeAttribute("aria-modal")}updateAriaExpandedAttribute(){var o,t,i;this.popover.disableAriaExpanded||((o=this.popover.triggerElement)==null||o.setAttribute("aria-expanded",`${this.popover.visible}`),(i=this.popover.triggerElement)==null||i.setAttribute("aria-haspopup",((t=this.popover.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||this.popover.role||"dialog"))}updateArrowStyle(o,t){var W;if(!this.popover.arrowElement)return;let i=t.split("-")[0],a={top:"bottom",right:"left",bottom:"top",left:"right"}[i],{x:d,y:m}=o,b=this.popover.arrowElement.getBoundingClientRect(),C=(W=this.popover.arrowElement.offsetParent)==null?void 0:W.getBoundingClientRect();if(!this.arrowPixelChange){let q=C!=null&&C[a]?12-Math.abs(b[a]-C[a]):0;Math.round(q)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let L=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",i),Object.assign(this.popover.arrowElement.style,{left:d!=null?`${d}px`:"",top:m!=null?`${m}px`:"",[a]:`${-this.popover.arrowElement.offsetHeight/2-L}px`})}updatePopoverStyle(o,t){Object.assign(this.popover.style,{left:`${o}px`,top:`${t}px`})}};var It=class extends ul(cl(dl(K))){constructor(){super();this.id="";this.triggerID="";this.trigger=_t.TRIGGER;this.placement=_t.PLACEMENT;this.color=_t.COLOR;this.visible=_t.VISIBLE;this.offset=_t.OFFSET;this.boundary=_t.BOUNDARY;this.boundaryRoot=_t.BOUNDARY_ROOT;this.focusTrap=_t.FOCUS_TRAP;this.preventScroll=_t.PREVENT_SCROLL;this.showArrow=_t.ARROW;this.closeButton=_t.CLOSE_BUTTON;this.interactive=_t.INTERACTIVE;this.delay=_t.DELAY;this.hideOnEscape=_t.HIDE_ON_ESCAPE;this.propagateEventOnEscape=_t.PROPAGATE_EVENT_ON_ESCAPE;this.hideOnBlur=_t.HIDE_ON_BLUR;this.hideOnOutsideClick=_t.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=_t.FOCUS_BACK;this.backdrop=_t.BACKDROP;this.isBackdropInvisible=_t.IS_BACKDROP_INVISIBLE;this.flip=_t.FLIP;this.size=_t.SIZE;this.zIndex=_t.Z_INDEX;this.closeButtonAriaLabel=null;this.strategy=_t.STRATEGY;this.role=_t.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=_t.DISABLE_ARIA_EXPANDED;this.keepConnectedTooltipClosed=_t.KEEP_CONNECTED_TOOLTIP_CLOSED;this.arrowElement=null;this.hoverTimer=null;this.isHovered=!1;this.openDelay=0;this.closeDelay=0;this.floatingUICleanupFunction=null;this.shouldSuppressOpening=!1;this.parseTrigger=()=>{var d;let a=(((d=this.trigger)==null?void 0:d.split(" "))||[]).filter(m=>Object.values(di).includes(m)).length>0?this.trigger:_t.TRIGGER;a==="mouseenter"&&(this.interactive?a="mouseenter click":a="mouseenter focusin"),this.trigger=a};this.setupTriggerListeners=()=>{if(this.trigger.includes("click")&&document.addEventListener("click",this.togglePopoverVisible,{capture:!0}),this.trigger.includes("mouseenter")){let t=this.renderRoot.querySelector(".popover-hover-bridge");t==null||t.addEventListener("mouseenter",this.show),document.addEventListener("mouseenter",this.handleMouseEnter,{capture:!0}),document.addEventListener("mouseleave",this.handleMouseLeave,{capture:!0}),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay)}this.trigger.includes("focusin")&&(document.addEventListener("focusin",this.handleFocusIn,{capture:!0}),this.interactive||document.addEventListener("focusout",this.handleFocusOut,{capture:!0}))};this.removeTriggerListeners=()=>{document.removeEventListener("click",this.togglePopoverVisible,{capture:!0});let t=this.renderRoot.querySelector(".popover-hover-bridge");t==null||t.removeEventListener("mouseenter",this.show),document.removeEventListener("mouseenter",this.handleMouseEnter,{capture:!0}),document.removeEventListener("mouseleave",this.handleMouseLeave,{capture:!0}),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),document.removeEventListener("focusin",this.handleFocusIn,{capture:!0}),document.removeEventListener("focusout",this.handleFocusOut,{capture:!0})};this.removeAllListeners=()=>{this.removeTriggerListeners(),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick,{capture:!0}),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),document.removeEventListener("keydown",this.onEscapeKeydown,{capture:!0})),this.hideOnBlur&&this.removeEventListener("focusout",this.onPopoverFocusOut)};this.onOutsidePopoverClick=t=>{if(Ie.peek()!==this)return;let i=t.composedPath(),a=this.contains(t.target)||i.includes(this.triggerElement)||i.includes(this),d=this.backdropElement?i.includes(this.backdropElement):!1;(!a||d)&&(this.hide(),ci.onClickOutside(this))};this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(this.propagateEventOnEscape||t.stopPropagation(),t.preventDefault(),this.hide(),ci.onEscapeKeyPressed(this))};this.onPopoverFocusOut=t=>{this.contains(t.relatedTarget)||this.hide()};this.handleMouseEnter=t=>{this.isEventFromTrigger(t)&&(this.isHovered=!0,this.show())};this.handleMouseLeave=t=>{this.isEventFromTrigger(t)&&(this.isHovered=!1,this.startCloseDelay())};this.handleFocusOut=t=>{this.isEventFromTrigger(t)&&(this.isHovered||this.hide())};this.handleFocusIn=t=>{var i;this.isEventFromTrigger(t)&&((i=this.triggerElement)!=null&&i.matches(":focus-visible")||this.isHovered)&&this.show()};this.startCloseDelay=()=>{this.interactive?this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay):this.hide()};this.cancelCloseDelay=()=>{this.hoverTimer&&(window.clearTimeout(this.hoverTimer),this.hoverTimer=null)};this.show=()=>{this.visible||this.shouldSuppressOpening||(this.cancelCloseDelay(),this.openDelay>0?setTimeout(()=>{this.visible=!0},this.openDelay):this.visible=!0)};this.hide=()=>{this.closeDelay?setTimeout(()=>{this.visible=!1},this.closeDelay):this.visible=!1};this.togglePopoverVisible=t=>{this.isEventFromTrigger(t)&&(this.visible?this.hide():this.show())};this.positionPopover=()=>{let{triggerElement:t}=this;if(!t)return;let i=!this.boundary||this.boundary==="clippingAncestors"?"clippingAncestors":Array.from(document.querySelectorAll(this.boundary)),a=this.boundaryRoot,d=[yf({boundary:i,rootBoundary:a,padding:this.boundaryPadding})],m=this.offset;if(this.flip&&d.push(Ef({boundary:i,rootBoundary:a})),this.size){let b=L=>{this.style.setProperty("--mdc-popover-internal-available-height",`${L}px`)},C=this.renderRoot.querySelector('[part="popover-content"]');d.push(Tf({boundary:i,rootBoundary:a,apply({availableHeight:L}){C&&(Object.assign(C.style,{maxHeight:`${L}px`,overflowY:"auto"}),b(L))},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector(".popover-arrow"),this.arrowElement)){let b=this.arrowElement.offsetHeight,C=Math.sqrt(2*b**2)/2;m+=C,d.push(xf({element:this.arrowElement,padding:12}))}d.push(bf(m)),this.floatingUICleanupFunction=gf(t,this,async()=>{let{triggerElement:b}=this;if(!b)return;let{x:C,y:L,middlewareData:W,placement:q}=await Af(b,this,{placement:this.placement,middleware:d,strategy:this.strategy});this.utils.updatePopoverStyle(C,L),W.arrow&&this.arrowElement&&this.utils.updateArrowStyle(W.arrow,q),this.trigger.includes("mouseenter")&&this.interactive&&this.utils.setupHoverBridge(q)})};this.utils=new 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(i=>i!==this)}get triggerElement(){return this.getRootNode().querySelector(`[id="${this.triggerID}"]`)}async firstUpdated(t){super.firstUpdated(t),ci.onCreatedPopover(this)}connectedCallback(){super.connectedCallback(),this.style.zIndex=`${this.zIndex}`,this.utils.setupAppendTo(),this.setupTriggerListeners()}async disconnectedCallback(){var t,i;super.disconnectedCallback(),this.removeAllListeners(),(t=this.deactivateFocusTrap)==null||t.call(this),this.deactivatePreventScroll(),this.moveElementBackAfterBackdropRemoval(this.triggerElement),this.removeBackdrop(),(i=this.floatingUICleanupFunction)==null||i.call(this),this.cancelCloseDelay(),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),this.utils.cleanupAppendTo(),ci.onDestroyedPopover(this),Ie.remove(this)}async updated(t){if(super.updated(t),t.has("visible")){let i=t.get("visible")||!1;await this.isOpenUpdated(i,this.visible),this.utils.updateAriaExpandedAttribute()}t.has("trigger")&&(this.parseTrigger(),this.removeTriggerListeners(),this.setupTriggerListeners()),t.has("placement")&&this.setAttribute("placement",Object.values(Yt).includes(this.placement)?this.placement:_t.PLACEMENT),t.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),t.has("color")&&this.setAttribute("color",Object.values(Eo).includes(this.color)?this.color:_t.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,i){var d,m;let{triggerElement:a}=this;t===i||!a||(i&&!this.shouldSuppressOpening?(Ie.peek()!==this&&Ie.push(this),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.visible=!1,this.connectedTooltip.shouldSuppressOpening=!0),this.backdrop&&!this.backdropElement&&(this.createBackdrop("popover"),this.keepElementAboveBackdrop(a)),this.positionPopover(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(a.style.pointerEvents="none")),this.hideOnEscape&&(this.addEventListener("keydown",this.onEscapeKeydown),document.addEventListener("keydown",this.onEscapeKeydown)),this.activatePreventScroll(),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick,{capture:!0}),setTimeout(()=>{var b,C;this.interactive&&this.focusTrap&&((b=this.activateFocusTrap)==null||b.call(this),(C=this.setInitialFocus)==null||C.call(this))},0),ci.onShowPopover(this)):(Ie.peek()===this&&Ie.pop(),(d=this.floatingUICleanupFunction)==null||d.call(this),this.backdrop&&(this.moveElementBackAfterBackdropRemoval(a),this.removeBackdrop()),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(a.style.pointerEvents="")),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick,{capture:!0}),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),document.removeEventListener("keydown",this.onEscapeKeydown)),this.deactivatePreventScroll(),(m=this.deactivateFocusTrap)==null||m.call(this),this.focusBackToTrigger&&(a==null||a.focus()),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),ci.onHidePopover(this)))}isEventFromTrigger(t){var i;return this.triggerID?t.composed?t.composedPath().some(a=>(a==null?void 0:a.id)===this.triggerID):((i=t.target)==null?void 0:i.id)===this.triggerID:!1}render(){return _`
2575
2575
  <div part="popover-hover-bridge"></div>
2576
2576
  ${this.closeButton?_` <mdc-button
2577
2577
  part="popover-close"
@@ -2585,7 +2585,7 @@
2585
2585
  <div part="popover-content">
2586
2586
  <slot></slot>
2587
2587
  </div>
2588
- `}};It.styles=[...K.styles,...Af],p([u({type:String,reflect:!0})],It.prototype,"id",2),p([u({type:String,reflect:!0})],It.prototype,"triggerID",2),p([u({type:String,reflect:!0})],It.prototype,"trigger",2),p([u({type:String,reflect:!0})],It.prototype,"placement",2),p([u({type:String,reflect:!0})],It.prototype,"color",2),p([u({type:Boolean,reflect:!0})],It.prototype,"visible",2),p([u({type:Number,reflect:!0})],It.prototype,"offset",2),p([u({type:String,reflect:!0,attribute:"boundary"})],It.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"boundary-root"})],It.prototype,"boundaryRoot",2),p([u({type:Number,reflect:!0,attribute:"boundary-padding"})],It.prototype,"boundaryPadding",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],It.prototype,"focusTrap",2),p([u({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],It.prototype,"preventScroll",2),p([u({type:Boolean,reflect:!0,attribute:"show-arrow"})],It.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],It.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0})],It.prototype,"interactive",2),p([u({type:String,reflect:!0})],It.prototype,"delay",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],It.prototype,"hideOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"propagate-event-on-escape"})],It.prototype,"propagateEventOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],It.prototype,"hideOnBlur",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],It.prototype,"hideOnOutsideClick",2),p([u({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],It.prototype,"focusBackToTrigger",2),p([u({type:Boolean,reflect:!0})],It.prototype,"backdrop",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],It.prototype,"backdropAppendTo",2),p([u({type:Boolean,reflect:!0,attribute:"is-backdrop-invisible"})],It.prototype,"isBackdropInvisible",2),p([u({type:Boolean,reflect:!0})],It.prototype,"flip",2),p([u({type:Boolean,reflect:!0})],It.prototype,"size",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],It.prototype,"zIndex",2),p([u({type:String,reflect:!0,attribute:"append-to"})],It.prototype,"appendTo",2),p([u({type:String,attribute:"close-button-aria-label",reflect:!0})],It.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0})],It.prototype,"strategy",2),p([u({type:String,reflect:!0})],It.prototype,"role",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],It.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],It.prototype,"ariaDescribedby",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],It.prototype,"disableAriaExpanded",2),p([u({type:Boolean,reflect:!0,attribute:"keep-connected-tooltip-closed"})],It.prototype,"keepConnectedTooltipClosed",2);var Fe=It;var Sf=B.constructTagName("toggletip"),To={CLOSE_BUTTON:!0,CLOSE_BUTTON_ARIA_LABEL:"Close",OFFSET:4,PLACEMENT:Yt.TOP,CLICK:di.CLICK,SHOW_ARROW:!0};var nT=V`
2588
+ `}};It.styles=[...K.styles,..._f],p([u({type:String,reflect:!0})],It.prototype,"id",2),p([u({type:String,reflect:!0})],It.prototype,"triggerID",2),p([u({type:String,reflect:!0})],It.prototype,"trigger",2),p([u({type:String,reflect:!0})],It.prototype,"placement",2),p([u({type:String,reflect:!0})],It.prototype,"color",2),p([u({type:Boolean,reflect:!0})],It.prototype,"visible",2),p([u({type:Number,reflect:!0})],It.prototype,"offset",2),p([u({type:String,reflect:!0,attribute:"boundary"})],It.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"boundary-root"})],It.prototype,"boundaryRoot",2),p([u({type:Number,reflect:!0,attribute:"boundary-padding"})],It.prototype,"boundaryPadding",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],It.prototype,"focusTrap",2),p([u({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],It.prototype,"preventScroll",2),p([u({type:Boolean,reflect:!0,attribute:"show-arrow"})],It.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],It.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0})],It.prototype,"interactive",2),p([u({type:String,reflect:!0})],It.prototype,"delay",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],It.prototype,"hideOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"propagate-event-on-escape"})],It.prototype,"propagateEventOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],It.prototype,"hideOnBlur",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],It.prototype,"hideOnOutsideClick",2),p([u({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],It.prototype,"focusBackToTrigger",2),p([u({type:Boolean,reflect:!0})],It.prototype,"backdrop",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],It.prototype,"backdropAppendTo",2),p([u({type:Boolean,reflect:!0,attribute:"is-backdrop-invisible"})],It.prototype,"isBackdropInvisible",2),p([u({type:Boolean,reflect:!0})],It.prototype,"flip",2),p([u({type:Boolean,reflect:!0})],It.prototype,"size",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],It.prototype,"zIndex",2),p([u({type:String,reflect:!0,attribute:"append-to"})],It.prototype,"appendTo",2),p([u({type:String,attribute:"close-button-aria-label",reflect:!0})],It.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0})],It.prototype,"strategy",2),p([u({type:String,reflect:!0})],It.prototype,"role",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],It.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],It.prototype,"ariaDescribedby",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],It.prototype,"disableAriaExpanded",2),p([u({type:Boolean,reflect:!0,attribute:"keep-connected-tooltip-closed"})],It.prototype,"keepConnectedTooltipClosed",2);var Fe=It;var If=V.constructTagName("toggletip"),To={CLOSE_BUTTON:!0,CLOSE_BUTTON_ARIA_LABEL:"Close",OFFSET:4,PLACEMENT:Yt.TOP,CLICK:di.CLICK,SHOW_ARROW:!0};var dT=B`
2589
2589
  :host {
2590
2590
  --mdc-toggletip-max-width: 400px;
2591
2591
  --mdc-toggletip-text-color: var(--mds-color-theme-text-primary-normal);
@@ -2615,7 +2615,7 @@
2615
2615
  :host([close-button]:dir(rtl))::part(popover-content) {
2616
2616
  margin-left: 2rem;
2617
2617
  }
2618
- `,_f=[nT];var Fi=class extends Fe{constructor(){super(...arguments);this.currentAnnouncement="";this.placement=To.PLACEMENT}connectedCallback(){var t;super.connectedCallback(),this.closeButton=(t=this.closeButton)!=null?t:To.CLOSE_BUTTON,this.closeButtonAriaLabel=To.CLOSE_BUTTON_ARIA_LABEL,this.trigger=To.CLICK,this.showArrow=To.SHOW_ARROW,this.interactive=!0,this.backdrop=!0,this.hideOnBlur=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0}getToggleTipText(){var t,i;return((i=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:i.trim())||""}onPlacementUpdated(){Object.values(Yt).includes(this.placement)||(this.placement=To.PLACEMENT)}update(t){super.update(t),t.has("placement")&&this.onPlacementUpdated(),t.has("visible")&&(this.currentAnnouncement=this.visible?this.getToggleTipText():"")}render(){return _`
2618
+ `,Cf=[dT];var Fi=class extends Fe{constructor(){super(...arguments);this.currentAnnouncement="";this.placement=To.PLACEMENT}connectedCallback(){var t;super.connectedCallback(),this.closeButton=(t=this.closeButton)!=null?t:To.CLOSE_BUTTON,this.closeButtonAriaLabel=To.CLOSE_BUTTON_ARIA_LABEL,this.trigger=To.CLICK,this.showArrow=To.SHOW_ARROW,this.interactive=!0,this.backdrop=!0,this.hideOnBlur=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0}getToggleTipText(){var t,i;return((i=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:i.trim())||""}onPlacementUpdated(){Object.values(Yt).includes(this.placement)||(this.placement=To.PLACEMENT)}update(t){super.update(t),t.has("placement")&&this.onPlacementUpdated(),t.has("visible")&&(this.currentAnnouncement=this.visible?this.getToggleTipText():"")}render(){return _`
2619
2619
  ${super.render()}
2620
2620
  <mdc-screenreaderannouncer
2621
2621
  identity="${rt(this.screenreaderAnnouncerIdentity)}"
@@ -2623,12 +2623,12 @@
2623
2623
  delay="300"
2624
2624
  >
2625
2625
  </mdc-screenreaderannouncer>
2626
- `}};Fi.styles=[...Fe.styles,..._f],p([Hn()],Fi.prototype,"defaultSlotNodes",2),p([gt()],Fi.prototype,"currentAnnouncement",2),p([u({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],Fi.prototype,"screenreaderAnnouncerIdentity",2),p([u({type:String,reflect:!0})],Fi.prototype,"placement",2);var Rc=Fi;var If=B.constructTagName("screenreaderannouncer"),lT={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},bs={ARIA_LIVE:lT.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4};var dT=[V`
2626
+ `}};Fi.styles=[...Fe.styles,...Cf],p([Hn()],Fi.prototype,"defaultSlotNodes",2),p([gt()],Fi.prototype,"currentAnnouncement",2),p([u({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],Fi.prototype,"screenreaderAnnouncerIdentity",2),p([u({type:String,reflect:!0})],Fi.prototype,"placement",2);var Pc=Fi;var kf=V.constructTagName("screenreaderannouncer"),cT={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},bs={ARIA_LIVE:cT.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4};var hT=[B`
2627
2627
  :host {
2628
2628
  display: none;
2629
2629
  visibility: hidden;
2630
2630
  }
2631
- `],Cf=dT;var hi=class extends K{constructor(){super(...arguments);this.announcement="";this.identity="";this.dataAriaLive=bs.ARIA_LIVE;this.delay=bs.DELAY;this.timeout=bs.TIMEOUT;this.timeOutIds=[];this.ariaLiveAnnouncementIds=[]}announce(t,i,a,d){var m;if(t.length>0){let b=`mdc-screenreaderannouncer-announcement-${ye()}`,C=document.createElement("div");C.id=b,C.ariaLive=d,(m=document.getElementById(this.identity))==null||m.appendChild(C);let L=window.setTimeout(()=>{let W=document.createElement("p");W.textContent=t,C.appendChild(W),this.ariaLiveAnnouncementIds.push(b);let q=window.setTimeout(()=>{var it;(it=document.getElementById(b))==null||it.remove()},a);this.timeOutIds.push(q)},i);this.timeOutIds.push(L)}}clearTimeOutsAndAnnouncements(){this.timeOutIds.forEach(t=>{window.clearTimeout(t)}),this.ariaLiveAnnouncementIds.forEach(t=>{var i;(i=document.getElementById(t))==null||i.remove()})}createAnnouncementAriaLiveRegion(){let t=document.getElementById(this.identity);if(!t){t=document.createElement("div"),t.id=this.identity;let i=document.createElement("style");i.textContent=`
2631
+ `],wf=hT;var hi=class extends K{constructor(){super(...arguments);this.announcement="";this.identity="";this.dataAriaLive=bs.ARIA_LIVE;this.delay=bs.DELAY;this.timeout=bs.TIMEOUT;this.timeOutIds=[];this.ariaLiveAnnouncementIds=[]}announce(t,i,a,d){var m;if(t.length>0){let b=`mdc-screenreaderannouncer-announcement-${ye()}`,C=document.createElement("div");C.id=b,C.ariaLive=d,(m=document.getElementById(this.identity))==null||m.appendChild(C);let L=window.setTimeout(()=>{let W=document.createElement("p");W.textContent=t,C.appendChild(W),this.ariaLiveAnnouncementIds.push(b);let q=window.setTimeout(()=>{var it;(it=document.getElementById(b))==null||it.remove()},a);this.timeOutIds.push(q)},i);this.timeOutIds.push(L)}}clearTimeOutsAndAnnouncements(){this.timeOutIds.forEach(t=>{window.clearTimeout(t)}),this.ariaLiveAnnouncementIds.forEach(t=>{var i;(i=document.getElementById(t))==null||i.remove()})}createAnnouncementAriaLiveRegion(){let t=document.getElementById(this.identity);if(!t){t=document.createElement("div"),t.id=this.identity;let i=document.createElement("style");i.textContent=`
2632
2632
  .mdc-screenreaderannouncer__visually-hidden {
2633
2633
  clip: rect(0 0 0 0);
2634
2634
  clip-path: inset(50%);
@@ -2638,20 +2638,20 @@
2638
2638
  white-space: nowrap;
2639
2639
  width: 1px;
2640
2640
  }
2641
- `,t.appendChild(i),t.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(t)}}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=bs.IDENTITY),this.createAnnouncementAriaLiveRegion()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements()}updated(t){t.has("identity")&&this.identity.length===0&&(this.identity=bs.IDENTITY,this.createAnnouncementAriaLiveRegion()),t.has("announcement")&&this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")}};hi.styles=[...K.styles,...Cf],p([u({type:String,reflect:!0})],hi.prototype,"announcement",2),p([u({type:String,reflect:!0})],hi.prototype,"identity",2),p([u({type:String,reflect:!0,attribute:"data-aria-live"})],hi.prototype,"dataAriaLive",2),p([u({type:Number,reflect:!0})],hi.prototype,"delay",2),p([u({type:Number,reflect:!0})],hi.prototype,"timeout",2);var Oc=hi;Oc.register(If);var cT=Oc;Rc.register(Sf);var hT=Rc;var Te=n=>{class o extends n{constructor(){super(...arguments);this.name="";this.value="";this.internals=this.attachInternals()}get form(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}setValidity(){this.inputElement&&this.internals.setValidity(this.inputElement.validity,this.inputElement.validationMessage,this.inputElement)}checkValidity(){return this.setValidity(),this.internals.checkValidity()}reportValidity(){return this.setValidity(),this.internals.reportValidity()}}return o.formAssociated=!0,p([u({reflect:!0,type:String})],o.prototype,"name",2),p([u({reflect:!0,type:String})],o.prototype,"value",2),p([u({reflect:!0,type:String,attribute:"validation-message"})],o.prototype,"validationMessage",2),p([tr("input")],o.prototype,"inputElement",2),o};var kf=B.constructTagName("formfieldwrapper"),Vt={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Mt={VALIDATION:Vt.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top",TOGGLETIP_STRATEGY:"absolute"},Da={TAGNAME:mt.SPAN,TYPE:st.BODY_MIDSIZE_REGULAR,HEADER_TYPE:st.BODY_MIDSIZE_BOLD};var pT=[bt,V`
2641
+ `,t.appendChild(i),t.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(t)}}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=bs.IDENTITY),this.createAnnouncementAriaLiveRegion()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements()}updated(t){t.has("identity")&&this.identity.length===0&&(this.identity=bs.IDENTITY,this.createAnnouncementAriaLiveRegion()),t.has("announcement")&&this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")}};hi.styles=[...K.styles,...wf],p([u({type:String,reflect:!0})],hi.prototype,"announcement",2),p([u({type:String,reflect:!0})],hi.prototype,"identity",2),p([u({type:String,reflect:!0,attribute:"data-aria-live"})],hi.prototype,"dataAriaLive",2),p([u({type:Number,reflect:!0})],hi.prototype,"delay",2),p([u({type:Number,reflect:!0})],hi.prototype,"timeout",2);var Dc=hi;Dc.register(kf);var pT=Dc;Pc.register(If);var mT=Pc;var Te=n=>{class o extends n{constructor(){super(...arguments);this.name="";this.value="";this.internals=this.attachInternals()}get form(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}setValidity(){this.inputElement&&this.internals.setValidity(this.inputElement.validity,this.inputElement.validationMessage,this.inputElement)}checkValidity(){return this.setValidity(),this.internals.checkValidity()}reportValidity(){return this.setValidity(),this.internals.reportValidity()}}return o.formAssociated=!0,p([u({reflect:!0,type:String})],o.prototype,"name",2),p([u({reflect:!0,type:String})],o.prototype,"value",2),p([u({reflect:!0,type:String,attribute:"validation-message"})],o.prototype,"validationMessage",2),p([tr("input")],o.prototype,"inputElement",2),o};var Nf=V.constructTagName("formfieldwrapper"),Vt={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Mt={VALIDATION:Vt.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top",TOGGLETIP_STRATEGY:"absolute"},Da={TAGNAME:mt.SPAN,TYPE:st.BODY_MIDSIZE_REGULAR,HEADER_TYPE:st.BODY_MIDSIZE_BOLD};var uT=[bt,B`
2642
2642
  :host {
2643
2643
  flex-direction: column;
2644
2644
  align-items: flex-start;
2645
2645
  gap: 0.5rem;
2646
2646
  }
2647
2647
  :host([disabled]),
2648
- :host([disabled]) .mdc-label,
2649
- :host([disabled]) .mdc-help-text,
2648
+ :host([disabled])::part(label),
2649
+ :host([disabled])::part(help-text-container),
2650
2650
  :host([disabled])::part(required-indicator),
2651
- :host([disabled][help-text-type='error']) .mdc-help-text,
2652
- :host([disabled][help-text-type='success']) .mdc-help-text,
2653
- :host([disabled][help-text-type='warning']) .mdc-help-text,
2654
- :host([disabled][help-text-type='priority']) .mdc-help-text {
2651
+ :host([disabled][help-text-type='error'])::part(help-text-container),
2652
+ :host([disabled][help-text-type='success'])::part(help-text-container),
2653
+ :host([disabled][help-text-type='warning'])::part(help-text-container),
2654
+ :host([disabled][help-text-type='priority'])::part(help-text-container) {
2655
2655
  color: var(--mds-color-theme-text-primary-disabled);
2656
2656
  }
2657
2657
 
@@ -2659,29 +2659,35 @@
2659
2659
  color: var(--mds-color-theme-text-error-normal);
2660
2660
  }
2661
2661
 
2662
- .mdc-label-text,
2663
- .mdc-help-text {
2662
+ :host::part(label-text),
2663
+ :host::part(help-text-container) {
2664
2664
  display: flex;
2665
2665
  align-items: center;
2666
2666
  gap: 0.5rem;
2667
2667
  width: 100%;
2668
2668
  }
2669
2669
 
2670
- .mdc-label,
2671
- .mdc-help-text {
2670
+ :host::part(label) {
2671
+ font-size: var(--mds-font-apps-body-midsize-medium-font-size);
2672
+ font-weight: var(--mds-font-apps-body-midsize-medium-font-weight);
2673
+ line-height: var(--mds-font-apps-body-midsize-medium-line-height);
2674
+ }
2675
+
2676
+ :host::part(help-text),
2677
+ :host::part(help-text-container) {
2672
2678
  font-size: var(--mds-font-apps-body-midsize-regular-font-size);
2673
2679
  font-weight: var(--mds-font-apps-body-midsize-regular-font-weight);
2674
2680
  line-height: var(--mds-font-apps-body-midsize-regular-line-height);
2675
2681
  }
2676
2682
 
2677
- .mdc-label {
2683
+ :host::part(label) {
2678
2684
  color: var(--mds-color-theme-text-primary-normal);
2679
2685
  overflow: hidden;
2680
2686
  text-overflow: ellipsis;
2681
2687
  white-space: nowrap;
2682
2688
  }
2683
2689
 
2684
- .mdc-help-text {
2690
+ :host::part(help-text-container) {
2685
2691
  color: var(--mds-color-theme-text-secondary-normal);
2686
2692
  }
2687
2693
 
@@ -2689,27 +2695,25 @@
2689
2695
  align-self: flex-start;
2690
2696
  }
2691
2697
 
2692
- :host([help-text-type='error']) .mdc-help-text {
2698
+ :host([help-text-type='error'])::part(help-text-container) {
2693
2699
  color: var(--mds-color-theme-text-error-normal);
2694
2700
  }
2695
- :host([help-text-type='warning']) .mdc-help-text {
2701
+ :host([help-text-type='warning'])::part(help-text-container) {
2696
2702
  color: var(--mds-color-theme-text-warning-normal);
2697
2703
  }
2698
- :host([help-text-type='success']) .mdc-help-text {
2704
+ :host([help-text-type='success'])::part(help-text-container) {
2699
2705
  color: var(--mds-color-theme-text-success-normal);
2700
2706
  }
2701
- :host([help-text-type='priority']) .mdc-help-text {
2707
+ :host([help-text-type='priority'])::part(help-text-container) {
2702
2708
  color: var(--mds-color-theme-text-accent-normal);
2703
2709
  }
2704
- `],wf=pT;var Nf=n=>({[Vt.ERROR]:"error-legacy-badge-filled",[Vt.WARNING]:"warning-badge-filled",[Vt.SUCCESS]:"check-circle-badge-filled",[Vt.PRIORITY]:"priority-badge-filled",[Vt.DEFAULT]:""})[n]||"";var lr=class extends zt(K){constructor(){super(...arguments);this.inputId=`mdc-el-${ye()}`;this.required=!1;this.helpTextType=Mt.VALIDATION;this.toggletipPlacement=Mt.TOGGLETIP_PLACEMENT;this.toggletipStrategy=Mt.TOGGLETIP_STRATEGY;this.shouldRenderLabel=!0}renderLabelElement(){return this.label?this.shouldRenderLabel?_`<label for="${this.inputId}" id="${Mt.HEADING_ID}" class="mdc-label" part="label"
2705
- >${this.label}</label
2706
- >`:_` <mdc-text
2710
+ `],Lf=uT;var Mf=n=>({[Vt.ERROR]:"error-legacy-badge-filled",[Vt.WARNING]:"warning-badge-filled",[Vt.SUCCESS]:"check-circle-badge-filled",[Vt.PRIORITY]:"priority-badge-filled",[Vt.DEFAULT]:""})[n]||"";var lr=class extends zt(K){constructor(){super(...arguments);this.inputId=`mdc-el-${ye()}`;this.required=!1;this.helpTextType=Mt.VALIDATION;this.toggletipPlacement=Mt.TOGGLETIP_PLACEMENT;this.toggletipStrategy=Mt.TOGGLETIP_STRATEGY;this.shouldRenderLabel=!0}renderLabelElement(){return this.label?this.shouldRenderLabel?_`<label for="${this.inputId}" id="${Mt.HEADING_ID}" part="label">${this.label}</label>`:_` <mdc-text
2707
2711
  id="${Mt.HEADING_ID}"
2708
2712
  tagname="${Da.TAGNAME}"
2709
2713
  type="${Da.HEADER_TYPE}"
2710
2714
  part="label"
2711
2715
  >${this.label}</mdc-text
2712
- >`:j}renderHelpTextIcon(){if(!this.helpText)return j;let t=Nf(this.helpTextType||Mt.VALIDATION);return t&&!this.disabled?_`<mdc-icon part="helper-icon" size="1" length-unit="rem" name=${t}></mdc-icon>`:j}renderHelpText(){return this.helpText?_`
2716
+ >`:j}renderHelpTextIcon(){if(!this.helpText)return j;let t=Mf(this.helpTextType||Mt.VALIDATION);return t&&!this.disabled?_`<mdc-icon part="helper-icon" size="1" length-unit="rem" name=${t}></mdc-icon>`:j}renderHelpText(){return this.helpText?_`
2713
2717
  <mdc-text
2714
2718
  id="${Mt.HELPER_TEXT_ID}"
2715
2719
  part="help-text"
@@ -2718,7 +2722,7 @@
2718
2722
  >
2719
2723
  ${this.helpText}
2720
2724
  </mdc-text>
2721
- `:j}renderLabel(){if(!this.label)return j;let t=`toggletip-trigger-${ye()}`;return _`<div class="mdc-label-text" part="label-text">
2725
+ `:j}renderLabel(){if(!this.label)return j;let t=`toggletip-trigger-${ye()}`;return _`<div part="label-text">
2722
2726
  <slot name="label">${this.renderLabelElement()}</slot>
2723
2727
  ${this.required?_`<span part="required-indicator">*</span>`:j}
2724
2728
  <slot name="toggletip">
@@ -2741,10 +2745,10 @@
2741
2745
  >${this.toggletipText}</mdc-toggletip
2742
2746
  >`:j}
2743
2747
  </slot>
2744
- </div>`}renderHelperText(){return this.helpText?_`<div class="mdc-help-text" part="help-text">
2748
+ </div>`}renderHelperText(){return this.helpText?_`<div part="help-text-container">
2745
2749
  <slot name="help-icon">${this.renderHelpTextIcon()}</slot>
2746
2750
  <slot name="help-text">${this.renderHelpText()}</slot>
2747
- </div>`:j}};lr.styles=[...K.styles,...wf],p([u({reflect:!0,type:String})],lr.prototype,"label",2),p([u({type:Boolean,reflect:!0,attribute:"required"})],lr.prototype,"required",2),p([u({reflect:!0,attribute:"help-text-type"})],lr.prototype,"helpTextType",2),p([u({type:String,reflect:!0,attribute:"help-text"})],lr.prototype,"helpText",2),p([u({type:String,reflect:!0,attribute:"toggletip-text"})],lr.prototype,"toggletipText",2),p([u({type:String,reflect:!0,attribute:"toggletip-placement"})],lr.prototype,"toggletipPlacement",2),p([u({type:String,reflect:!0,attribute:"toggletip-strategy"})],lr.prototype,"toggletipStrategy",2),p([u({type:String,reflect:!0,attribute:"info-icon-aria-label"})],lr.prototype,"infoIconAriaLabel",2);var se=lr;var mT=[V`
2751
+ </div>`:j}};lr.styles=[...K.styles,...Lf],p([u({reflect:!0,type:String})],lr.prototype,"label",2),p([u({type:Boolean,reflect:!0,attribute:"required"})],lr.prototype,"required",2),p([u({reflect:!0,attribute:"help-text-type"})],lr.prototype,"helpTextType",2),p([u({type:String,reflect:!0,attribute:"help-text"})],lr.prototype,"helpText",2),p([u({type:String,reflect:!0,attribute:"toggletip-text"})],lr.prototype,"toggletipText",2),p([u({type:String,reflect:!0,attribute:"toggletip-placement"})],lr.prototype,"toggletipPlacement",2),p([u({type:String,reflect:!0,attribute:"toggletip-strategy"})],lr.prototype,"toggletipStrategy",2),p([u({type:String,reflect:!0,attribute:"info-icon-aria-label"})],lr.prototype,"infoIconAriaLabel",2);var se=lr;var fT=[B`
2748
2752
  :host {
2749
2753
  --mdc-checkbox-background-color-hover: var(--mds-color-theme-control-inactive-hover);
2750
2754
  --mdc-checkbox-pressed-icon-color: var(--mds-color-theme-control-inactive-pressed);
@@ -2755,13 +2759,18 @@
2755
2759
  flex-direction: row;
2756
2760
  align-items: flex-start;
2757
2761
  }
2758
- .mdc-label,
2759
- .input {
2762
+
2763
+ :host::part(label) {
2764
+ font-size: var(--mds-font-apps-body-midsize-regular-font-size);
2765
+ font-weight: var(--mds-font-apps-body-midsize-regular-font-weight);
2766
+ line-height: var(--mds-font-apps-body-midsize-regular-line-height);
2767
+ }
2768
+
2769
+ :host::part(label) :host::part(checkbox-input) {
2760
2770
  cursor: pointer;
2761
2771
  }
2762
2772
 
2763
- :host([disabled]) .mdc-label,
2764
- :host([disabled]) .input {
2773
+ :host([disabled])::part(label) :host([disabled])::part(checkbox-input) {
2765
2774
  cursor: default;
2766
2775
  }
2767
2776
 
@@ -2794,7 +2803,7 @@
2794
2803
  position: relative;
2795
2804
  }
2796
2805
 
2797
- .input {
2806
+ :host::part(checkbox-input) {
2798
2807
  margin: 0;
2799
2808
  padding: 0;
2800
2809
  position: absolute;
@@ -2805,23 +2814,23 @@
2805
2814
  z-index: 1;
2806
2815
  }
2807
2816
 
2808
- .input {
2817
+ :host::part(checkbox-input) {
2809
2818
  width: 1rem;
2810
2819
  height: 1rem;
2811
2820
  border-radius: 0.125rem;
2812
2821
  }
2813
2822
 
2814
- .text-container {
2823
+ :host::part(text-container) {
2815
2824
  display: flex;
2816
2825
  flex-direction: column;
2817
2826
  gap: 0.25rem;
2818
2827
  }
2819
2828
 
2820
- .mdc-label {
2829
+ :host::part(label) {
2821
2830
  word-break: break-word;
2822
2831
  white-space: normal;
2823
2832
  }
2824
- `,...St(!0)],Lf=mT;var xo=class extends ge(Te(Ht(se))){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.autofocus=!1;this.renderLabelAndHelperText=()=>this.label?_`<div class="text-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:j}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setFormValue(){let t=null;this.checked?t=this.value?this.value:"on":t=null,this.manageRequired(),this.internals.setFormValue(t)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.checked=!1,this.indeterminate=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}toggleState(){this.disabled||(this.checked=!this.checked,this.indeterminate=!1)}handleKeyDown(t){var i;t.key===Q.ENTER&&((i=this.form)==null||i.requestSubmit())}handleChange(t){this.toggleState();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}update(t){super.update(t),t.has("checked")&&this.setFormValue()}render(){var t;return _`
2833
+ `,...St(!0)],Rf=fT;var xo=class extends ge(Te(Ht(se))){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.autofocus=!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.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setFormValue(){let t=null;this.checked?t=this.value?this.value:"on":t=null,this.manageRequired(),this.internals.setFormValue(t)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.checked=!1,this.indeterminate=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}toggleState(){this.disabled||(this.checked=!this.checked,this.indeterminate=!1)}handleKeyDown(t){var i;t.key===Q.ENTER&&((i=this.form)==null||i.requestSubmit())}handleChange(t){this.toggleState();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}update(t){super.update(t),t.has("checked")&&this.setFormValue()}render(){var t;return _`
2825
2834
  <mdc-staticcheckbox
2826
2835
  class="mdc-focus-ring"
2827
2836
  ?checked="${this.checked}"
@@ -2831,7 +2840,7 @@
2831
2840
  <input
2832
2841
  id="${this.inputId}"
2833
2842
  type="checkbox"
2834
- class="input"
2843
+ part="checkbox-input"
2835
2844
  name="${rt(this.name)}"
2836
2845
  value="${rt(this.value)}"
2837
2846
  ?required="${this.required}"
@@ -2847,7 +2856,7 @@
2847
2856
  />
2848
2857
  </mdc-staticcheckbox>
2849
2858
  ${this.renderLabelAndHelperText()}
2850
- `}};xo.styles=[...se.styles,...Lf],p([u({type:Boolean,reflect:!0})],xo.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],xo.prototype,"indeterminate",2),p([u({type:Boolean,reflect:!0})],xo.prototype,"autofocus",2);var Pc=xo;Pc.register(Fu);var uT=Pc;var Mf=B.constructTagName("staticchip"),Dc={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",ORANGE:"orange",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},zl={COLOR:Dc.DEFAULT,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN};var fT=V`
2859
+ `}};xo.styles=[...se.styles,...Rf],p([u({type:Boolean,reflect:!0})],xo.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],xo.prototype,"indeterminate",2),p([u({type:Boolean,reflect:!0})],xo.prototype,"autofocus",2);var $c=xo;$c.register(Vu);var vT=$c;var Of=V.constructTagName("staticchip"),Fc={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",ORANGE:"orange",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},Bl={COLOR:Fc.DEFAULT,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN};var gT=B`
2851
2860
  :host {
2852
2861
  height: 1.5rem;
2853
2862
  gap: 0.25rem;
@@ -2909,12 +2918,12 @@
2909
2918
  --mdc-chip-border-color: var(--mds-color-theme-outline-label-violet);
2910
2919
  --mdc-chip-background-color: var(--mds-color-theme-background-label-violet-normal);
2911
2920
  }
2912
- `,Rf=[bt,fT];var ys=class extends Kt(K){constructor(){super(...arguments);this.color=zl.COLOR;this.label=""}renderIcon(){return this.iconName?_` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return _`
2921
+ `,Pf=[bt,gT];var ys=class extends Kt(K){constructor(){super(...arguments);this.color=Bl.COLOR;this.label=""}renderIcon(){return this.iconName?_` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return _`
2913
2922
  ${this.renderIcon()}
2914
- ${this.label?_`<mdc-text part="label" type="${zl.TEXT_TYPE}" tagname="${zl.TAG_NAME}"
2923
+ ${this.label?_`<mdc-text part="label" type="${Bl.TEXT_TYPE}" tagname="${Bl.TAG_NAME}"
2915
2924
  >${this.label}</mdc-text
2916
2925
  >`:j}
2917
- `}};ys.styles=[...K.styles,...Rf],p([u({type:String,reflect:!0})],ys.prototype,"color",2),p([u({type:String})],ys.prototype,"label",2);var $a=ys;var Of=B.constructTagName("chip"),Es={COLOR:Dc.DEFAULT,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:ao[24],ROLE:et.BUTTON};var vT=V`
2926
+ `}};ys.styles=[...K.styles,...Pf],p([u({type:String,reflect:!0})],ys.prototype,"color",2),p([u({type:String})],ys.prototype,"label",2);var $a=ys;var Df=V.constructTagName("chip"),Es={COLOR:Fc.DEFAULT,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:ao[24],ROLE:et.BUTTON};var bT=B`
2918
2927
  :host {
2919
2928
  cursor: pointer;
2920
2929
  height: 1.5rem;
@@ -3008,12 +3017,12 @@
3008
3017
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
3009
3018
  cursor: auto;
3010
3019
  }
3011
- `,Pf=[bt,vT,...St()];var Ts=class extends Kt(ie){constructor(){super(...arguments);this.color=Es.COLOR;this.label=""}connectedCallback(){super.connectedCallback(),this.role=Es.ROLE,this.size=Es.SIZE,this.active=void 0,this.softDisabled=void 0}renderIcon(){return this.iconName?_` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return _`
3020
+ `,$f=[bt,bT,...St()];var Ts=class extends Kt(ie){constructor(){super(...arguments);this.color=Es.COLOR;this.label=""}connectedCallback(){super.connectedCallback(),this.role=Es.ROLE,this.size=Es.SIZE,this.active=void 0,this.softDisabled=void 0}renderIcon(){return this.iconName?_` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return _`
3012
3021
  ${this.renderIcon()}
3013
3022
  ${this.label?_`<mdc-text part="label" type="${Es.TEXT_TYPE}" tagname="${Es.TAG_NAME}"
3014
3023
  >${this.label}</mdc-text
3015
3024
  >`:j}
3016
- `}};Ts.styles=[...$a.styles,...Pf],p([u({type:String,reflect:!0})],Ts.prototype,"color",2),p([u({type:String})],Ts.prototype,"label",2);var xs=Ts;xs.register(Of);var gT=xs;var Df=B.constructTagName("coachmark"),Ao={COLOR:Eo.CONTRAST,TRIGGER:di.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var So=class extends Fe{constructor(){super(...arguments);this.trigger=Ao.TRIGGER;this.showArrow=Ao.ARROW;this.closeButton=Ao.CLOSE_BUTTON;this.disableAriaExpanded=Ao.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=Ao.COLOR,this.showArrow=Ao.ARROW}};p([u({type:String,reflect:!0})],So.prototype,"trigger",2),p([u({type:Boolean,attribute:"show-arrow"})],So.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],So.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],So.prototype,"disableAriaExpanded",2);var $c=So;$c.register(Df);var bT=$c;ss.register(qm);var yT=ss;var Fa=B.constructTagName("divider"),_o={HORIZONTAL:"horizontal",VERTICAL:"vertical"},za={SOLID:"solid",GRADIENT:"gradient"},dr={POSITIVE:"positive",NEGATIVE:"negative"},Va={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},Io={ORIENTATION:_o.HORIZONTAL,VARIANT:za.SOLID,ARROW_DIRECTION:dr.NEGATIVE,BUTTON_DIRECTION:dr.NEGATIVE};var ET=[bt,V`
3025
+ `}};Ts.styles=[...$a.styles,...$f],p([u({type:String,reflect:!0})],Ts.prototype,"color",2),p([u({type:String})],Ts.prototype,"label",2);var xs=Ts;xs.register(Df);var yT=xs;var Ff=V.constructTagName("coachmark"),Ao={COLOR:Eo.CONTRAST,TRIGGER:di.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var So=class extends Fe{constructor(){super(...arguments);this.trigger=Ao.TRIGGER;this.showArrow=Ao.ARROW;this.closeButton=Ao.CLOSE_BUTTON;this.disableAriaExpanded=Ao.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=Ao.COLOR,this.showArrow=Ao.ARROW}};p([u({type:String,reflect:!0})],So.prototype,"trigger",2),p([u({type:Boolean,attribute:"show-arrow"})],So.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],So.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],So.prototype,"disableAriaExpanded",2);var zc=So;zc.register(Ff);var ET=zc;ss.register(Zm);var TT=ss;var Fa=V.constructTagName("divider"),_o={HORIZONTAL:"horizontal",VERTICAL:"vertical"},za={SOLID:"solid",GRADIENT:"gradient"},dr={POSITIVE:"positive",NEGATIVE:"negative"},Va={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},Io={ORIENTATION:_o.HORIZONTAL,VARIANT:za.SOLID,ARROW_DIRECTION:dr.NEGATIVE,BUTTON_DIRECTION:dr.NEGATIVE};var xT=[bt,B`
3017
3026
  :host {
3018
3027
  --mdc-divider-background-color: var(--mds-color-theme-outline-secondary-normal);
3019
3028
  --mdc-divider-width: 0.0625rem;
@@ -3214,11 +3223,11 @@
3214
3223
  :host([data-hidden]) {
3215
3224
  display: none;
3216
3225
  }
3217
- `],$f=ET;var zi=class extends K{constructor(){super(...arguments);this.orientation=Io.ORIENTATION;this.variant=Io.VARIANT;this.arrowDirection=Io.ARROW_DIRECTION;this.buttonPosition=Io.BUTTON_DIRECTION}setVariant(t){this.setAttribute("variant",Object.values(za).includes(t)?t:Io.VARIANT)}setOrientation(t){this.setAttribute("orientation",Object.values(_o).includes(t)?t:Io.ORIENTATION)}ensureValidDirections(){let t=this.orientation===_o.HORIZONTAL?dr.NEGATIVE:dr.POSITIVE;Object.values(dr).includes(this.buttonPosition)||(this.buttonPosition=t),Object.values(dr).includes(this.arrowDirection)||(this.arrowDirection=t)}setGrabberButton(){this.ensureValidDirections();let t=this.querySelector("mdc-button");if(t){let i=this.getArrowIcon();t.setAttribute("variant","secondary"),t.setAttribute("prefix-icon",i)}}getArrowIcon(){let t=this.orientation===_o.HORIZONTAL,i=this.arrowDirection===dr.POSITIVE;return t?i?Va.UP:Va.DOWN:i?Va.RIGHT:Va.LEFT}update(t){super.update(t),t.has("orientation")&&this.setOrientation(this.orientation),t.has("variant")&&this.setVariant(this.variant),(t.has("orientation")||t.has("arrowDirection")||t.has("buttonPosition"))&&this.setGrabberButton()}inferDividerType(){var m;let t=(m=this.shadowRoot)==null?void 0:m.querySelector("slot"),i=(t==null?void 0:t.assignedElements({flatten:!0}))||[];if(i.length>1)return;let a=i.some(b=>b.tagName===ya.toUpperCase()),d=i.some(b=>b.tagName===Jr.toUpperCase());a&&!d?this.setAttribute("data-type","mdc-text-divider"):!a&&d&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}connectedCallback(){super.connectedCallback(),this.setAttribute("data-type","mdc-primary-divider")}render(){return _`
3226
+ `],zf=xT;var zi=class extends K{constructor(){super(...arguments);this.orientation=Io.ORIENTATION;this.variant=Io.VARIANT;this.arrowDirection=Io.ARROW_DIRECTION;this.buttonPosition=Io.BUTTON_DIRECTION}setVariant(t){this.setAttribute("variant",Object.values(za).includes(t)?t:Io.VARIANT)}setOrientation(t){this.setAttribute("orientation",Object.values(_o).includes(t)?t:Io.ORIENTATION)}ensureValidDirections(){let t=this.orientation===_o.HORIZONTAL?dr.NEGATIVE:dr.POSITIVE;Object.values(dr).includes(this.buttonPosition)||(this.buttonPosition=t),Object.values(dr).includes(this.arrowDirection)||(this.arrowDirection=t)}setGrabberButton(){this.ensureValidDirections();let t=this.querySelector("mdc-button");if(t){let i=this.getArrowIcon();t.setAttribute("variant","secondary"),t.setAttribute("prefix-icon",i)}}getArrowIcon(){let t=this.orientation===_o.HORIZONTAL,i=this.arrowDirection===dr.POSITIVE;return t?i?Va.UP:Va.DOWN:i?Va.RIGHT:Va.LEFT}update(t){super.update(t),t.has("orientation")&&this.setOrientation(this.orientation),t.has("variant")&&this.setVariant(this.variant),(t.has("orientation")||t.has("arrowDirection")||t.has("buttonPosition"))&&this.setGrabberButton()}inferDividerType(){var m;let t=(m=this.shadowRoot)==null?void 0:m.querySelector("slot"),i=(t==null?void 0:t.assignedElements({flatten:!0}))||[];if(i.length>1)return;let a=i.some(b=>b.tagName===ya.toUpperCase()),d=i.some(b=>b.tagName===Jr.toUpperCase());a&&!d?this.setAttribute("data-type","mdc-text-divider"):!a&&d&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}connectedCallback(){super.connectedCallback(),this.setAttribute("data-type","mdc-primary-divider")}render(){return _`
3218
3227
  <div></div>
3219
3228
  <slot @slotchange=${this.inferDividerType}></slot>
3220
3229
  <div></div>
3221
- `}};zi.styles=[...K.styles,...$f],p([u({type:String,reflect:!0})],zi.prototype,"orientation",2),p([u({type:String,reflect:!0})],zi.prototype,"variant",2),p([u({type:String,attribute:"arrow-direction",reflect:!0})],zi.prototype,"arrowDirection",2),p([u({type:String,attribute:"button-position",reflect:!0})],zi.prototype,"buttonPosition",2);var Fc=zi;Fc.register(Fa);var TT=Fc;var xT=V`
3230
+ `}};zi.styles=[...K.styles,...zf],p([u({type:String,reflect:!0})],zi.prototype,"orientation",2),p([u({type:String,reflect:!0})],zi.prototype,"variant",2),p([u({type:String,attribute:"arrow-direction",reflect:!0})],zi.prototype,"arrowDirection",2),p([u({type:String,attribute:"button-position",reflect:!0})],zi.prototype,"buttonPosition",2);var Vc=zi;Vc.register(Fa);var AT=Vc;var ST=B`
3222
3231
  :host([selected]) {
3223
3232
  border: 2px solid;
3224
3233
  --mdc-chip-background-color: var(--mds-color-theme-background-label-default-active);
@@ -3240,7 +3249,7 @@
3240
3249
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
3241
3250
  cursor: auto;
3242
3251
  }
3243
- `,Ff=[xT];var zf=B.constructTagName("filterchip"),zc={ICON_NAME:"check-bold",COLOR:"default"};var Ba=class extends xs{constructor(){super(...arguments);this.selected=!1}connectedCallback(){super.connectedCallback(),this.color=zc.COLOR}setSelected(t){t?(this.iconName=zc.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)}};Ba.styles=[...xs.styles,...Ff],p([u({type:Boolean,reflect:!0})],Ba.prototype,"selected",2);var Vc=Ba;Vc.register(zf);var AT=Vc;var ST=V`
3252
+ `,Vf=[ST];var Bf=V.constructTagName("filterchip"),Bc={ICON_NAME:"check-bold",COLOR:"default"};var Ba=class extends xs{constructor(){super(...arguments);this.selected=!1}connectedCallback(){super.connectedCallback(),this.color=Bc.COLOR}setSelected(t){t?(this.iconName=Bc.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)}};Ba.styles=[...xs.styles,...Vf],p([u({type:Boolean,reflect:!0})],Ba.prototype,"selected",2);var Uc=Ba;Uc.register(Bf);var _T=Uc;var IT=B`
3244
3253
  :host::part(container) {
3245
3254
  display: flex;
3246
3255
  flex-direction: column;
@@ -3252,11 +3261,7 @@
3252
3261
  flex-direction: column;
3253
3262
  gap: 0.25rem;
3254
3263
  }
3255
-
3256
- :host::part(label-text) {
3257
- font-weight: bold;
3258
- }
3259
- `,Vf=[ST];var Vl=class extends Ht(se){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.disabled=void 0}render(){var t;return _`
3264
+ `,Uf=[IT];var Ul=class extends Ht(se){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.disabled=void 0}render(){var t;return _`
3260
3265
  <div
3261
3266
  part="container"
3262
3267
  role="${this.isRadio?et.RADIOGROUP:et.GROUP}"
@@ -3267,7 +3272,7 @@
3267
3272
  <div part="group-header">${this.renderLabel()} ${this.renderHelperText()}</div>
3268
3273
  <slot></slot>
3269
3274
  </div>
3270
- `}};Vl.styles=[...se.styles,...Vf];var Bc=Vl;var Bf=B.constructTagName("formfieldgroup");Bc.register(Bf);var Bl=Bc;ga.register(Kn);var _T=ga;_a.register(fl);var IT=_a;var Ua=ii(class extends Pr{constructor(n){if(super(n),n.type!==He.PROPERTY&&n.type!==He.ATTRIBUTE&&n.type!==He.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!tl(n))throw Error("`live` bindings can only contain a single expression")}render(n){return n}update(n,[o]){if(o===ve||o===j)return o;let t=n.element,i=n.name;if(n.type===He.PROPERTY){if(o===t[i])return ve}else if(n.type===He.BOOLEAN_ATTRIBUTE){if(!!o===t.hasAttribute(i))return ve}else if(n.type===He.ATTRIBUTE&&t.getAttribute(i)===o+"")return ve;return el(n),o}});se.register(kf);var cr=se;var Uf=B.constructTagName("input"),Ul={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},As={OFF:"off",ON:"on"},Ss={PASSWORD:"password",TEXT:"text",SEARCH:"search"},Hf={MAX_LENGTH:10,VALIDATION:Vt.ERROR},pi={VALIDATION:Vt.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Dt.TERTIARY,CLEAR_BUTTON_SIZE:er[20],PREFIX_TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:mt.SPAN,AUTO_COMPLETE:As.OFF,INPUT_TYPE:Ss.TEXT};var CT=[V`
3275
+ `}};Ul.styles=[...se.styles,...Uf];var Hc=Ul;var Hf=V.constructTagName("formfieldgroup");Hc.register(Hf);var Hl=Hc;ga.register(Kn);var CT=ga;_a.register(fl);var kT=_a;var Ua=ii(class extends Pr{constructor(n){if(super(n),n.type!==He.PROPERTY&&n.type!==He.ATTRIBUTE&&n.type!==He.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!tl(n))throw Error("`live` bindings can only contain a single expression")}render(n){return n}update(n,[o]){if(o===ve||o===j)return o;let t=n.element,i=n.name;if(n.type===He.PROPERTY){if(o===t[i])return ve}else if(n.type===He.BOOLEAN_ATTRIBUTE){if(!!o===t.hasAttribute(i))return ve}else if(n.type===He.ATTRIBUTE&&t.getAttribute(i)===o+"")return ve;return el(n),o}});se.register(Nf);var cr=se;var Gf=V.constructTagName("input"),Gl={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},As={OFF:"off",ON:"on"},Ss={PASSWORD:"password",TEXT:"text",SEARCH:"search"},Yf={MAX_LENGTH:10,VALIDATION:Vt.ERROR},pi={VALIDATION:Vt.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Dt.TERTIARY,CLEAR_BUTTON_SIZE:er[20],PREFIX_TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:mt.SPAN,AUTO_COMPLETE:As.OFF,INPUT_TYPE:Ss.TEXT};var wT=[B`
3271
3276
  :host {
3272
3277
  --mdc-input-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
3273
3278
  --mdc-input-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
@@ -3390,7 +3395,7 @@
3390
3395
  opacity: 0;
3391
3396
  pointer-events: none;
3392
3397
  }
3393
- `,...St(!0)],Gf=CT;var ae=class extends ge(Te(Ht(cr))){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=Ul.OFF;this.autocomplete=As.OFF;this.clearAriaLabel=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(t=>{this.onerror&&this.onerror(t)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(t){this.value=t}attributeChangedCallback(t,i,a){super.attributeChangedCallback(t,i,a),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(d=>{this.onerror&&this.onerror(d)})}setInputValidity(){this.inputElement.setCustomValidity(""),!this.inputElement.validity.valid&&this.validationMessage&&this.inputElement.setCustomValidity(this.validationMessage),this.setValidity()}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setInputValidity(),this.checkValidity()}onChange(t){this.updateValue(),this.setInputValidity();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}handleKeyDown(t){var i;t.key===Q.ENTER&&((i=this.form)==null||i.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?_`
3398
+ `,...St(!0)],Wf=wT;var ae=class extends ge(Te(Ht(cr))){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=Gl.OFF;this.autocomplete=As.OFF;this.clearAriaLabel=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(t=>{this.onerror&&this.onerror(t)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(t){this.value=t}attributeChangedCallback(t,i,a){super.attributeChangedCallback(t,i,a),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(d=>{this.onerror&&this.onerror(d)})}setInputValidity(){this.inputElement.setCustomValidity(""),!this.inputElement.validity.valid&&this.validationMessage&&this.inputElement.setCustomValidity(this.validationMessage),this.setValidity()}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setInputValidity(),this.checkValidity()}onChange(t){this.updateValue(),this.setInputValidity();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}handleKeyDown(t){var i;t.key===Q.ENTER&&((i=this.form)==null||i.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?_`
3394
3399
  <mdc-icon
3395
3400
  class="leading-icon"
3396
3401
  part="leading-icon"
@@ -3406,7 +3411,7 @@
3406
3411
  type="${pi.PREFIX_TEXT_TYPE}"
3407
3412
  aria-hidden="true"
3408
3413
  >
3409
- ${this.prefixText.slice(0,Hf.MAX_LENGTH)}
3414
+ ${this.prefixText.slice(0,Yf.MAX_LENGTH)}
3410
3415
  </mdc-text>
3411
3416
  `:j}clearInputText(){var t;this.value="",(t=this.inputElement)==null||t.focus(),this.dispatchEvent(new CustomEvent("clear",{bubbles:!0,composed:!0}))}renderTrailingButton(t=!1){let i=t||this.value&&this.trailingButton;return i?_`
3412
3417
  <mdc-button
@@ -3455,7 +3460,7 @@
3455
3460
  <slot name="trailing-button">${this.renderTrailingButton()}</slot>
3456
3461
  </div>
3457
3462
  ${this.helpText?this.renderHelperText():j}
3458
- `}};ae.styles=[...cr.styles,...Gf],p([u({type:String})],ae.prototype,"placeholder",2),p([u({type:Boolean})],ae.prototype,"readonly",2),p([u({type:String,attribute:"prefix-text"})],ae.prototype,"prefixText",2),p([u({type:String,attribute:"leading-icon"})],ae.prototype,"leadingIcon",2),p([u({type:Boolean,attribute:"trailing-button"})],ae.prototype,"trailingButton",2),p([u({type:Number})],ae.prototype,"maxlength",2),p([u({type:Number})],ae.prototype,"minlength",2),p([u({type:String})],ae.prototype,"autocapitalize",2),p([u({type:String})],ae.prototype,"autocomplete",2),p([u({type:String})],ae.prototype,"dirname",2),p([u({type:String})],ae.prototype,"pattern",2),p([u({type:String})],ae.prototype,"list",2),p([u({type:Number})],ae.prototype,"size",2),p([u({type:String,attribute:"clear-aria-label"})],ae.prototype,"clearAriaLabel",2);var Sr=ae;Sr.register(Uf);var kT=Sr;var wT=V`
3463
+ `}};ae.styles=[...cr.styles,...Wf],p([u({type:String})],ae.prototype,"placeholder",2),p([u({type:Boolean})],ae.prototype,"readonly",2),p([u({type:String,attribute:"prefix-text"})],ae.prototype,"prefixText",2),p([u({type:String,attribute:"leading-icon"})],ae.prototype,"leadingIcon",2),p([u({type:Boolean,attribute:"trailing-button"})],ae.prototype,"trailingButton",2),p([u({type:Number})],ae.prototype,"maxlength",2),p([u({type:Number})],ae.prototype,"minlength",2),p([u({type:String})],ae.prototype,"autocapitalize",2),p([u({type:String})],ae.prototype,"autocomplete",2),p([u({type:String})],ae.prototype,"dirname",2),p([u({type:String})],ae.prototype,"pattern",2),p([u({type:String})],ae.prototype,"list",2),p([u({type:Number})],ae.prototype,"size",2),p([u({type:String,attribute:"clear-aria-label"})],ae.prototype,"clearAriaLabel",2);var Sr=ae;Sr.register(Gf);var NT=Sr;var LT=B`
3459
3464
  :host {
3460
3465
  height: 1.5rem;
3461
3466
  gap: 0.25rem;
@@ -3486,9 +3491,9 @@
3486
3491
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
3487
3492
  cursor: auto;
3488
3493
  }
3489
- `,Yf=[bt,wT];var Hl=B.constructTagName("inputchip"),Gl={TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,CLOSE_ICON:"cancel-bold"};var Co=class extends Kt(zt(K)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderIcon(){return this.iconName?_` <mdc-icon part="icon" name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return _`
3494
+ `,jf=[bt,LT];var Yl=V.constructTagName("inputchip"),Wl={TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,CLOSE_ICON:"cancel-bold"};var Co=class extends Kt(zt(K)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderIcon(){return this.iconName?_` <mdc-icon part="icon" name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return _`
3490
3495
  ${this.renderIcon()}
3491
- ${this.label?_`<mdc-text part="label" type="${Gl.TEXT_TYPE}" tagname="${Gl.TAG_NAME}"
3496
+ ${this.label?_`<mdc-text part="label" type="${Wl.TEXT_TYPE}" tagname="${Wl.TAG_NAME}"
3492
3497
  >${this.label}</mdc-text
3493
3498
  >`:j}
3494
3499
  <mdc-button
@@ -3496,11 +3501,11 @@
3496
3501
  variant="tertiary"
3497
3502
  part="close-icon"
3498
3503
  aria-label="${this.clearAriaLabel}"
3499
- prefix-icon="${Gl.CLOSE_ICON}"
3504
+ prefix-icon="${Wl.CLOSE_ICON}"
3500
3505
  size="20"
3501
3506
  @click="${this.handleClose}"
3502
3507
  ></mdc-button>
3503
- `}};Co.styles=[...K.styles,...Yf],p([u({type:String})],Co.prototype,"label",2),p([u({type:Boolean})],Co.prototype,"error",2),p([u({type:String,attribute:"clear-aria-label"})],Co.prototype,"clearAriaLabel",2);var Uc=Co;Uc.register(Hl);var NT=Uc;var LT=V`
3508
+ `}};Co.styles=[...K.styles,...jf],p([u({type:String})],Co.prototype,"label",2),p([u({type:Boolean})],Co.prototype,"error",2),p([u({type:String,attribute:"clear-aria-label"})],Co.prototype,"clearAriaLabel",2);var Gc=Co;Gc.register(Yl);var MT=Gc;var RT=B`
3504
3509
  :host::part(anchor) {
3505
3510
  display: flex;
3506
3511
  align-items: center;
@@ -3560,8 +3565,8 @@
3560
3565
  text-decoration: var(--mds-font-apps-body-small-regular-underline-text-decoration);
3561
3566
  text-transform: var(--mds-font-apps-body-small-regular-underline-text-case);
3562
3567
  }
3563
- `,Wf=[LT];var Ha=class extends Kt($r){constructor(){super(...arguments);this.size=jm.LINK_SIZE}getIconSize(){switch(this.size){case pl.SMALL:return ml.SMALL;case pl.MIDSIZE:return ml.MIDSIZE;default:return ml.LARGE}}renderAnchorContent(){return _` <slot></slot>
3564
- ${this.iconName?_`<mdc-icon part="icon" name="${this.iconName}" size="${this.getIconSize()}" length-unit="rem"></mdc-icon>`:j}`}};Ha.styles=[...$r.styles,...Wf],p([u({type:String,reflect:!0})],Ha.prototype,"size",2);var Hc=Ha;Hc.register(hl);var MT=Hc;var jf=B.constructTagName("linkbutton"),_s={12:12,14:14,16:16},Is={SIZE:_s[16],ROLE:et.BUTTON,INLINE:ds.INLINE,INVERTED:ds.INVERTED};var Kf=n=>{switch(n){case _s[12]:return .75;case _s[14]:return .875;default:return 1}};var RT=V`
3568
+ `,Kf=[RT];var Ha=class extends Kt($r){constructor(){super(...arguments);this.size=qm.LINK_SIZE}getIconSize(){switch(this.size){case pl.SMALL:return ml.SMALL;case pl.MIDSIZE:return ml.MIDSIZE;default:return ml.LARGE}}renderAnchorContent(){return _` <slot></slot>
3569
+ ${this.iconName?_`<mdc-icon part="icon" name="${this.iconName}" size="${this.getIconSize()}" length-unit="rem"></mdc-icon>`:j}`}};Ha.styles=[...$r.styles,...Kf],p([u({type:String,reflect:!0})],Ha.prototype,"size",2);var Yc=Ha;Yc.register(hl);var OT=Yc;var qf=V.constructTagName("linkbutton"),_s={12:12,14:14,16:16},Is={SIZE:_s[16],ROLE:et.BUTTON,INLINE:ds.INLINE,INVERTED:ds.INVERTED};var Xf=n=>{switch(n){case _s[12]:return .75;case _s[14]:return .875;default:return 1}};var PT=B`
3565
3570
  :host {
3566
3571
  gap: 0.25rem;
3567
3572
  cursor: pointer;
@@ -3660,10 +3665,10 @@
3660
3665
  color: var(--mdc-link-color-disabled);
3661
3666
  pointer-events: none;
3662
3667
  }
3663
- `,qf=[RT,...St()];var ko=class extends Kt(ie){constructor(){super(...arguments);this.size=Is.SIZE;this.inline=Is.INLINE;this.inverted=Is.INVERTED}connectedCallback(){super.connectedCallback(),this.active=void 0,this.role=Is.ROLE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(_s).includes(t)?`${t}`:Is.SIZE.toString())}render(){return _`
3668
+ `,Zf=[PT,...St()];var ko=class extends Kt(ie){constructor(){super(...arguments);this.size=Is.SIZE;this.inline=Is.INLINE;this.inverted=Is.INVERTED}connectedCallback(){super.connectedCallback(),this.active=void 0,this.role=Is.ROLE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(_s).includes(t)?`${t}`:Is.SIZE.toString())}render(){return _`
3664
3669
  <slot></slot>
3665
- ${this.iconName?_` <mdc-icon name=${this.iconName} size=${Kf(this.size)} length-unit="rem"></mdc-icon> `:j}
3666
- `}};ko.styles=[...$r.styles,...qf],p([u({type:Number,reflect:!0})],ko.prototype,"size",2),p([u({type:Boolean,reflect:!0})],ko.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],ko.prototype,"inverted",2);var Gc=ko;Gc.register(jf);var OT=Gc;$r.register(ku);var PT=$r;var Cs=n=>{class o extends n{constructor(...a){super(...a);this.loop="true";this.propagateAllKeyEvents=!1;this.initialFocus=0;this.handleNavigationKeyDown=a=>{let d=new Set([Q.ARROW_DOWN,Q.ARROW_UP,Q.HOME,Q.END]),m=window.getComputedStyle(this).direction==="rtl",b=this.resolveDirectionKey(a.key,m);if(!d.has(b))return;let C=a.target,L=this.getCurrentIndex(C);if(L!==-1){switch(this.resetTabIndexes(L),b){case Q.HOME:{this.resetTabIndexAndSetFocus(0,L);break}case Q.END:{this.resetTabIndexAndSetFocus(this.navItems.length-1,L);break}case Q.ARROW_DOWN:{let W=this.shouldLoop()?0:L,q=L+1===this.navItems.length?W:L+1;this.resetTabIndexAndSetFocus(q,L);break}case Q.ARROW_UP:{let W=this.shouldLoop()?this.navItems.length-1:L,q=L-1===-1?W:L-1;this.resetTabIndexAndSetFocus(q,L);break}default:break}this.propagateAllKeyEvents||(a.stopPropagation(),a.preventDefault())}};this.handleNavigationClick=a=>{let d=this.getCurrentIndex(a.target);this.resetTabIndexes(d)};this.addEventListener("keydown",this.handleNavigationKeyDown),this.addEventListener("click",this.handleNavigationClick)}async firstUpdated(a){super.firstUpdated(a);let d=Math.max(Math.min(this.initialFocus,this.navItems.length-1),0);this.resetTabIndexAndSetFocus(d,void 0,!1)}getCurrentIndex(a){return this.navItems.findIndex(d=>d===a||!!(d.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY))}resetTabIndexes(a){var d;if(this.navItems.length>0){this.navItems.forEach(b=>b.setAttribute("tabindex","-1"));let m=this.navItems[a]?a:0;this.navItems[m].setAttribute("tabindex","0"),(d=this.navItems[m])==null||d.focus()}}resetTabIndexAndSetFocus(a,d,m=!0){let{navItems:b}=this;if(b.length===0)return;let C=b[a]?a:0,L=b[C];a===d&&L&&L.getAttribute("tabindex")==="0"||(d===void 0?b.forEach(W=>W.setAttribute("tabindex","-1")):b[d]&&b[d].setAttribute("tabindex","-1"),L.setAttribute("tabindex","0"),m&&(L.focus({preventScroll:!0}),L.scrollIntoView({block:"nearest"})))}resolveDirectionKey(a,d){if(!d)return a;switch(a){case Q.ARROW_LEFT:return Q.ARROW_RIGHT;case Q.ARROW_RIGHT:return Q.ARROW_LEFT;default:return a}}shouldLoop(){return this.loop!=="false"}}return o};var Yl=B.constructTagName("listitem"),Ga={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},Xf={VARIANT:Ga.FULL_WIDTH};var Xt={CREATED:"created",DESTROYED:"destroyed",MODIFIED:"modified"};var Zf=(n,o)=>!!(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING);var DT=n=>!!n,Vr=class{constructor(o,t){this.cache=[];this.itemCreationHandler=o=>{this.addItem(o.target,void 0)};this.itemDestroyHandler=o=>{this.delete(o.target)};this.host=o,o.addController(this),this.isValidItem=(t==null?void 0:t.isValidItem)||DT,this.onStoreUpdate=t==null?void 0:t.onStoreUpdate,this.host.addEventListener(Xt.CREATED,this.itemCreationHandler),this.host.addEventListener(Xt.DESTROYED,this.itemDestroyHandler)}get items(){return this.cache}hostConnected(){}hostDisconnected(){}add(o){this.addItem(o,void 0)}addAt(o,t){this.addItem(o,t)}addItem(o,t=void 0){var a;let i=o;if(this.isValidItem(i)&&!this.cache.includes(i)){let d=t===void 0?this.cache.findIndex(m=>Zf(i,m)):t;this.onStoreUpdate&&((a=this.onStoreUpdate)==null||a.call(this,i,"added",d===-1?this.cache.length:d,this.cache.slice())),d===-1?this.cache.push(i):d>=0&&this.cache.splice(d,0,i)}}delete(o){var i;let t=this.cache.indexOf(o);t!==-1&&(this.onStoreUpdate&&((i=this.onStoreUpdate)==null||i.call(this,o,"removed",t,this.cache.slice())),this.cache.splice(t,1))}reset(o){this.cache.length=0,this.cache.push(...o||[])}};var Vi=n=>{class o extends n{constructor(...a){super(...a);this.handleItemCreation=a=>{let d=a.target;d&&d.addEventListener(Xt.DESTROYED,this.handleItemRemovedEvent)};this.handleItemRemovedEvent=a=>{if(a.stopImmediatePropagation(),a.target&&a.type===Xt.DESTROYED){a.target.removeEventListener(Xt.DESTROYED,this.handleItemRemovedEvent);let d=new Event(a.type,{bubbles:a.bubbles,composed:a.composed});Object.defineProperty(d,"target",{set(){},get:()=>a.target}),this.dispatchEvent(d)}};this.addEventListener(Xt.CREATED,this.handleItemCreation)}}return o};var $T=V`
3670
+ ${this.iconName?_` <mdc-icon name=${this.iconName} size=${Xf(this.size)} length-unit="rem"></mdc-icon> `:j}
3671
+ `}};ko.styles=[...$r.styles,...Zf],p([u({type:Number,reflect:!0})],ko.prototype,"size",2),p([u({type:Boolean,reflect:!0})],ko.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],ko.prototype,"inverted",2);var Wc=ko;Wc.register(qf);var DT=Wc;$r.register(Nu);var $T=$r;var Cs=n=>{class o extends n{constructor(...a){super(...a);this.loop="true";this.propagateAllKeyEvents=!1;this.initialFocus=0;this.handleNavigationKeyDown=a=>{let d=new Set([Q.ARROW_DOWN,Q.ARROW_UP,Q.HOME,Q.END]),m=window.getComputedStyle(this).direction==="rtl",b=this.resolveDirectionKey(a.key,m);if(!d.has(b))return;let C=a.target,L=this.getCurrentIndex(C);if(L!==-1){switch(this.resetTabIndexes(L),b){case Q.HOME:{this.resetTabIndexAndSetFocus(0,L);break}case Q.END:{this.resetTabIndexAndSetFocus(this.navItems.length-1,L);break}case Q.ARROW_DOWN:{let W=this.shouldLoop()?0:L,q=L+1===this.navItems.length?W:L+1;this.resetTabIndexAndSetFocus(q,L);break}case Q.ARROW_UP:{let W=this.shouldLoop()?this.navItems.length-1:L,q=L-1===-1?W:L-1;this.resetTabIndexAndSetFocus(q,L);break}default:break}this.propagateAllKeyEvents||(a.stopPropagation(),a.preventDefault())}};this.handleNavigationClick=a=>{let d=this.getCurrentIndex(a.target);this.resetTabIndexes(d)};this.addEventListener("keydown",this.handleNavigationKeyDown),this.addEventListener("click",this.handleNavigationClick)}async firstUpdated(a){super.firstUpdated(a);let d=Math.max(Math.min(this.initialFocus,this.navItems.length-1),0);this.resetTabIndexAndSetFocus(d,void 0,!1)}getCurrentIndex(a){return this.navItems.findIndex(d=>d===a||!!(d.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_CONTAINED_BY))}resetTabIndexes(a){var d;if(this.navItems.length>0){this.navItems.forEach(b=>b.setAttribute("tabindex","-1"));let m=this.navItems[a]?a:0;this.navItems[m].setAttribute("tabindex","0"),(d=this.navItems[m])==null||d.focus()}}resetTabIndexAndSetFocus(a,d,m=!0){let{navItems:b}=this;if(b.length===0)return;let C=b[a]?a:0,L=b[C];a===d&&L&&L.getAttribute("tabindex")==="0"||(d===void 0?b.forEach(W=>W.setAttribute("tabindex","-1")):b[d]&&b[d].setAttribute("tabindex","-1"),L.setAttribute("tabindex","0"),m&&(L.focus({preventScroll:!0}),L.scrollIntoView({block:"nearest"})))}resolveDirectionKey(a,d){if(!d)return a;switch(a){case Q.ARROW_LEFT:return Q.ARROW_RIGHT;case Q.ARROW_RIGHT:return Q.ARROW_LEFT;default:return a}}shouldLoop(){return this.loop!=="false"}}return o};var jl=V.constructTagName("listitem"),Ga={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},Qf={VARIANT:Ga.FULL_WIDTH};var Xt={CREATED:"created",DESTROYED:"destroyed",MODIFIED:"modified"};var Jf=(n,o)=>!!(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING);var FT=n=>!!n,Vr=class{constructor(o,t){this.cache=[];this.itemCreationHandler=o=>{this.addItem(o.target,void 0)};this.itemDestroyHandler=o=>{this.delete(o.target)};this.host=o,o.addController(this),this.isValidItem=(t==null?void 0:t.isValidItem)||FT,this.onStoreUpdate=t==null?void 0:t.onStoreUpdate,this.host.addEventListener(Xt.CREATED,this.itemCreationHandler),this.host.addEventListener(Xt.DESTROYED,this.itemDestroyHandler)}get items(){return this.cache}hostConnected(){}hostDisconnected(){}add(o){this.addItem(o,void 0)}addAt(o,t){this.addItem(o,t)}addItem(o,t=void 0){var a;let i=o;if(this.isValidItem(i)&&!this.cache.includes(i)){let d=t===void 0?this.cache.findIndex(m=>Jf(i,m)):t;this.onStoreUpdate&&((a=this.onStoreUpdate)==null||a.call(this,i,"added",d===-1?this.cache.length:d,this.cache.slice())),d===-1?this.cache.push(i):d>=0&&this.cache.splice(d,0,i)}}delete(o){var i;let t=this.cache.indexOf(o);t!==-1&&(this.onStoreUpdate&&((i=this.onStoreUpdate)==null||i.call(this,o,"removed",t,this.cache.slice())),this.cache.splice(t,1))}reset(o){this.cache.length=0,this.cache.push(...o||[])}};var Vi=n=>{class o extends n{constructor(...a){super(...a);this.handleItemCreation=a=>{let d=a.target;d&&d.addEventListener(Xt.DESTROYED,this.handleItemRemovedEvent)};this.handleItemRemovedEvent=a=>{if(a.stopImmediatePropagation(),a.target&&a.type===Xt.DESTROYED){a.target.removeEventListener(Xt.DESTROYED,this.handleItemRemovedEvent);let d=new Event(a.type,{bubbles:a.bubbles,composed:a.composed});Object.defineProperty(d,"target",{set(){},get:()=>a.target}),this.dispatchEvent(d)}};this.addEventListener(Xt.CREATED,this.handleItemCreation)}}return o};var zT=B`
3667
3672
  :host {
3668
3673
  display: flex;
3669
3674
  flex-direction: column;
@@ -3678,11 +3683,11 @@
3678
3683
  scroll-padding-top: 0.25rem;
3679
3684
  scroll-padding-bottom: 0.25rem;
3680
3685
  }
3681
- `,Qf=[$T];var Jf=B.constructTagName("list");var Yc={LOOP:"true",INITIAL_FOCUS:0};var ks=class extends Cs(Vi(K)){constructor(){super();this.loop=Yc.LOOP;this.initialFocus=Yc.INITIAL_FOCUS;this.handleCreatedEvent=t=>{let i=t.target;this.isValidItem(i)&&(i.tabIndex=-1)};this.handleDestroyEvent=t=>{let i=t.target;if(!this.isValidItem(i)||i.tabIndex!==0)return;let a=this.navItems.findIndex(m=>m===i);if(a===-1)return;let d=a+1;d>=this.navItems.length&&(d=a-1),this.resetTabIndexes(d)};this.handleModifiedEvent=t=>{let i=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(i);break;case"disabled":this.itemsStore.delete(i);break;default:break}};this.addEventListener(Xt.CREATED,this.handleCreatedEvent),this.addEventListener(Xt.MODIFIED,this.handleModifiedEvent),this.addEventListener(Xt.DESTROYED,this.handleDestroyEvent),this.itemsStore=new Vr(this,{isValidItem:this.isValidItem})}connectedCallback(){super.connectedCallback(),this.setAttribute("role",et.LIST)}get navItems(){return this.itemsStore.items}isValidItem(t){return t.matches(`${Yl}:not([disabled])`)}render(){return _`
3686
+ `,tv=[zT];var ev=V.constructTagName("list");var jc={LOOP:"true",INITIAL_FOCUS:0};var ks=class extends Cs(Vi(K)){constructor(){super();this.loop=jc.LOOP;this.initialFocus=jc.INITIAL_FOCUS;this.handleCreatedEvent=t=>{let i=t.target;this.isValidItem(i)&&(i.tabIndex=-1)};this.handleDestroyEvent=t=>{let i=t.target;if(!this.isValidItem(i)||i.tabIndex!==0)return;let a=this.navItems.findIndex(m=>m===i);if(a===-1)return;let d=a+1;d>=this.navItems.length&&(d=a-1),this.resetTabIndexes(d)};this.handleModifiedEvent=t=>{let i=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(i);break;case"disabled":this.itemsStore.delete(i);break;default:break}};this.addEventListener(Xt.CREATED,this.handleCreatedEvent),this.addEventListener(Xt.MODIFIED,this.handleModifiedEvent),this.addEventListener(Xt.DESTROYED,this.handleDestroyEvent),this.itemsStore=new Vr(this,{isValidItem:this.isValidItem})}connectedCallback(){super.connectedCallback(),this.setAttribute("role",et.LIST)}get navItems(){return this.itemsStore.items}isValidItem(t){return t.matches(`${jl}:not([disabled])`)}render(){return _`
3682
3687
  <slot name="list-header"></slot>
3683
3688
  <!-- make the container slot role presentation to keep it ignored in a11y tree -->
3684
3689
  <slot part="container" role="presentation"></slot>
3685
- `}};ks.styles=[...K.styles,...Qf],p([u({type:String,reflect:!0})],ks.prototype,"loop",2),p([u({type:Number,reflect:!0,attribute:"initial-focus"})],ks.prototype,"initialFocus",2);var Wc=ks;Wc.register(Jf);var jc=Wc;var FT=V`
3690
+ `}};ks.styles=[...K.styles,...tv],p([u({type:String,reflect:!0})],ks.prototype,"loop",2),p([u({type:Number,reflect:!0,attribute:"initial-focus"})],ks.prototype,"initialFocus",2);var Kc=ks;Kc.register(ev);var qc=Kc;var VT=B`
3686
3691
  :host {
3687
3692
  --mdc-listheader-padding: 0.5rem 0.75rem;
3688
3693
  --mdc-listheader-gap: 0.5rem;
@@ -3709,7 +3714,7 @@
3709
3714
  :host::part(postfix-icon) {
3710
3715
  flex-shrink: 0;
3711
3716
  }
3712
- `,tv=[FT];var Bi=class extends K{constructor(){super(...arguments);this.disabled=!1}render(){return _`
3717
+ `,rv=[VT];var Bi=class extends K{constructor(){super(...arguments);this.disabled=!1}render(){return _`
3713
3718
  ${this.prefixIcon?_`<mdc-icon
3714
3719
  part="prefix-icon"
3715
3720
  name="${this.prefixIcon}"
@@ -3728,7 +3733,7 @@
3728
3733
  size="1"
3729
3734
  length-unit="rem"
3730
3735
  ></mdc-icon>`:j}
3731
- `}};Bi.styles=[...K.styles,...tv],p([u({type:String,attribute:"prefix-icon"})],Bi.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon"})],Bi.prototype,"postfixIcon",2),p([u({type:String,attribute:"header-text"})],Bi.prototype,"headerText",2),p([u({type:Boolean,reflect:!0})],Bi.prototype,"disabled",2);var Kc=Bi;var ev=B.constructTagName("listheader");Kc.register(ev);var zT=Kc;var rv=n=>{class o extends n{connectedCallback(){super.connectedCallback(),this.dispatchEvent(new Event(Xt.CREATED,{bubbles:!0,composed:!0}))}disconnectedCallback(){super.disconnectedCallback(),this.dispatchEvent(new Event(Xt.DESTROYED,{bubbles:!0,composed:!0}))}dispatchModifiedEvent(i){this.dispatchEvent(new CustomEvent(Xt.MODIFIED,{detail:{change:i},bubbles:!0,composed:!0}))}}return o};var Ya=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 VT=V`
3736
+ `}};Bi.styles=[...K.styles,...rv],p([u({type:String,attribute:"prefix-icon"})],Bi.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon"})],Bi.prototype,"postfixIcon",2),p([u({type:String,attribute:"header-text"})],Bi.prototype,"headerText",2),p([u({type:Boolean,reflect:!0})],Bi.prototype,"disabled",2);var Xc=Bi;var iv=V.constructTagName("listheader");Xc.register(iv);var BT=Xc;var ov=n=>{class o extends n{connectedCallback(){super.connectedCallback(),this.dispatchEvent(new Event(Xt.CREATED,{bubbles:!0,composed:!0}))}disconnectedCallback(){super.disconnectedCallback(),this.dispatchEvent(new Event(Xt.DESTROYED,{bubbles:!0,composed:!0}))}dispatchModifiedEvent(i){this.dispatchEvent(new CustomEvent(Xt.MODIFIED,{detail:{change:i},bubbles:!0,composed:!0}))}}return o};var Ya=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 UT=B`
3732
3737
  :host {
3733
3738
  --mdc-listitem-default-background-color: var(--mds-color-theme-background-primary-ghost);
3734
3739
  --mdc-listitem-background-color-hover: var(--mds-color-theme-background-primary-hover);
@@ -3837,7 +3842,7 @@
3837
3842
  flex-direction: row;
3838
3843
  flex-shrink: 0;
3839
3844
  }
3840
- `,iv=[VT,...St()];var Ge=class extends zt(Mr(rv(K))){constructor(){super();this.variant=Xf.VARIANT;this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("click",this.handleClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=this.role||et.LISTITEM}handleClick(t){this.disabled&&(t.stopImmediatePropagation(),t.preventDefault())}handleKeyDown(t){(t.key===Q.ENTER||t.key===Q.SPACE)&&(this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}getText(t,i,a){return _`
3845
+ `,sv=[UT,...St()];var Ge=class extends zt(Mr(ov(K))){constructor(){super();this.variant=Qf.VARIANT;this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("click",this.handleClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=this.role||et.LISTITEM}handleClick(t){this.disabled&&(t.stopImmediatePropagation(),t.preventDefault())}handleKeyDown(t){(t.key===Q.ENTER||t.key===Q.SPACE)&&(this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}getText(t,i,a){return _`
3841
3846
  <slot name="${t}">
3842
3847
  ${a?_`<mdc-text part="${t}" type="${i}" tagname="${mt.SPAN}">${a}</mdc-text>`:j}
3843
3848
  </slot>
@@ -3869,7 +3874,7 @@
3869
3874
  ${this.renderTrailingControls()}
3870
3875
  </div>
3871
3876
  </slot>
3872
- `}};Ge.styles=[...K.styles,...iv],p([Ot({slot:"leading-controls"})],Ge.prototype,"leadingControlsSlot",2),p([Ot({slot:"trailing-controls"})],Ge.prototype,"trailingControlsSlot",2),p([u({type:String,reflect:!0})],Ge.prototype,"variant",2),p([u({type:String,reflect:!0})],Ge.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],Ge.prototype,"secondaryLabel",2),p([u({type:String,reflect:!0,attribute:"tertiary-label"})],Ge.prototype,"tertiaryLabel",2),p([u({type:String,reflect:!0,attribute:"side-header-text"})],Ge.prototype,"sideHeaderText",2),p([u({type:String,reflect:!0,attribute:"subline-text"})],Ge.prototype,"sublineText",2),p([u({type:Boolean,reflect:!0,attribute:"soft-disabled"})],Ge.prototype,"softDisabled",2);var mi=Ge;mi.register(Yl);var BT=mi;var UT=V`
3877
+ `}};Ge.styles=[...K.styles,...sv],p([Ot({slot:"leading-controls"})],Ge.prototype,"leadingControlsSlot",2),p([Ot({slot:"trailing-controls"})],Ge.prototype,"trailingControlsSlot",2),p([u({type:String,reflect:!0})],Ge.prototype,"variant",2),p([u({type:String,reflect:!0})],Ge.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],Ge.prototype,"secondaryLabel",2),p([u({type:String,reflect:!0,attribute:"tertiary-label"})],Ge.prototype,"tertiaryLabel",2),p([u({type:String,reflect:!0,attribute:"side-header-text"})],Ge.prototype,"sideHeaderText",2),p([u({type:String,reflect:!0,attribute:"subline-text"})],Ge.prototype,"sublineText",2),p([u({type:Boolean,reflect:!0,attribute:"soft-disabled"})],Ge.prototype,"softDisabled",2);var mi=Ge;mi.register(jl);var HT=mi;var GT=B`
3873
3878
  :host {
3874
3879
  --mdc-marker-width: 0.25rem;
3875
3880
  --mdc-marker-solid-background-color: var(--mds-color-theme-outline-secondary-normal);
@@ -3894,7 +3899,7 @@
3894
3899
  var(--mdc-marker-striped-background-color) 0.375rem
3895
3900
  );
3896
3901
  }
3897
- `,ov=[UT];var sv=B.constructTagName("marker"),av={SOLID:"solid",STRIPED:"striped"};var Wa=class extends K{constructor(){super(...arguments);this.variant=av.SOLID}};Wa.styles=[...K.styles,...ov],p([u({type:String,reflect:!0})],Wa.prototype,"variant",2);var qc=Wa;qc.register(sv);var HT=qc;var te=B.constructTagName("menupopover"),Xc={PLACEMENT:Yt.BOTTOM_START,ORIENTATION:"vertical"};var ui=B.constructTagName("menusection"),nv={DIVIDER_VARIANT:"solid"};var Ui=B.constructTagName("sidenavigation"),Br={FIXED_EXPANDED:"fixed-expanded",FIXED_COLLAPSED:"fixed-collapsed",FLEXIBLE:"flexible",HIDDEN:"hidden"},Wl={VARIANT:Br.FLEXIBLE};var ja=B.constructTagName("menubar"),lv={ORIENTATION:"vertical"};var GT=V`
3902
+ `,av=[GT];var nv=V.constructTagName("marker"),lv={SOLID:"solid",STRIPED:"striped"};var Wa=class extends K{constructor(){super(...arguments);this.variant=lv.SOLID}};Wa.styles=[...K.styles,...av],p([u({type:String,reflect:!0})],Wa.prototype,"variant",2);var Zc=Wa;Zc.register(nv);var YT=Zc;var te=V.constructTagName("menupopover"),Qc={PLACEMENT:Yt.BOTTOM_START,ORIENTATION:"vertical"};var ui=V.constructTagName("menusection"),dv={DIVIDER_VARIANT:"solid"};var Ui=V.constructTagName("sidenavigation"),Br={FIXED_EXPANDED:"fixed-expanded",FIXED_COLLAPSED:"fixed-collapsed",FLEXIBLE:"flexible",HIDDEN:"hidden"},Kl={VARIANT:Br.FLEXIBLE};var ja=V.constructTagName("menubar"),cv={ORIENTATION:"vertical"};var WT=B`
3898
3903
  :host {
3899
3904
  display: flex;
3900
3905
  }
@@ -3906,7 +3911,7 @@
3906
3911
  :host([aria-orientation='vertical']) {
3907
3912
  flex-direction: column;
3908
3913
  }
3909
- `,dv=[GT];var Ka=class extends K{constructor(){super(),this.addEventListener("click",this.handleClick.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this))}async connectedCallback(){var o;super.connectedCallback(),this.role=et.MENUBAR,this.ariaOrientation=lv.ORIENTATION,await this.updateComplete,(o=this.menusections)==null||o.forEach(t=>{t.setAttribute("divider-variant","gradient")})}get menuItems(){var d,m;let o=(d=this.shadowRoot)==null?void 0:d.querySelector("slot"),t=(m=o==null?void 0:o.assignedElements({flatten:!0}))!=null?m:[],i=[],a=b=>{b.role===et.MENUITEM&&!b.hasAttribute("disabled")?i.push(b):b.tagName.toLowerCase()===ui&&Array.from(b.children).forEach(a)};return t.forEach(a),i}getVisibleSubMenusOfItems(o){let t=[];return!o||o.length===0||o.forEach(i=>{var m;let a=i.getAttribute("id");if(!a)return;let d=(m=document.querySelector)==null?void 0:m.call(document,`${te}[triggerid="${a}"]`);d&&d.visible&&t.push(d)}),t}getAllPopovers(){var a,d;if(!this.menuItems.length)return[];let o=(d=(a=this.menuItems[0])==null?void 0:a.closest(Ui))!=null?d:this;if(!o)return[];let t=[],i=m=>{m.querySelectorAll(`${te}`).forEach(b=>{t.push(b)}),m.querySelectorAll("slot").forEach(b=>{b.assignedElements({flatten:!0}).forEach(i)})};return i(o),t}update(o){super.update(o)}firstUpdated(o){super.firstUpdated(o),this.resetTabIndexAndSetActiveTabIndex(this.menuItems),this.updatePopoverPlacement()}handleClick(o){let t=o.target;if(!t||!this.isTopLevelMenuItem(t))return;let i=this.menuItems.filter(d=>d!==t);this.getVisibleSubMenusOfItems(i).forEach(d=>{d.hide()})}resetTabIndexAndSetActiveTabIndex(o){o.forEach((t,i)=>{let a=i===0?"0":"-1";t==null||t.setAttribute("tabindex",a)})}getCurrentIndex(o){return this.menuItems.findIndex(t=>t===o||t===o.parentElement)}getSubmenu(o){if(o)return this.getAllPopovers().find(t=>t.getAttribute("triggerid")===o)}showSubmenu(o){if(!o||!this.menuItems.find(a=>a.getAttribute("id")===o))return;let i=this.getSubmenu(o);i&&i.show()}updatePopoverPlacement(){let o=Yt.RIGHT_START;this.getAllPopovers().forEach(t=>{t.setAttribute("placement",o)})}updateTabIndexAndFocus(o,t,i){var a,d,m;i<0||t<0||(t!==i&&((a=o[t])==null||a.setAttribute("tabindex","-1"),(d=o[i])==null||d.setAttribute("tabindex","0")),(m=o[i])==null||m.focus())}navigateToMenuItem(o,t,i=!1){var m;let{length:a}=this.menuItems;if(a===0)return;let d=o;if(d=t==="prev"?(o-1+a)%a:(o+1)%a,this.updateTabIndexAndFocus(this.menuItems,o,d),i){let b=(m=this.menuItems[d])==null?void 0:m.getAttribute("id");this.getSubmenu(b)&&!this.menuItems[d].hasAttribute("soft-disabled")&&this.showSubmenu(b)}}getKeyWithDirectionFix(o){return window.getComputedStyle(this).direction==="rtl"?o===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!==et.MENUITEM)return!1;let i=t.tagName.toLowerCase(),a=(d=t.parentElement)==null?void 0:d.tagName.toLowerCase();return i===ja||i===Ui||i===ui&&(a===ja||a===Ui)}isNestedMenuItem(o){return!!o.closest(te)&&o.role===et.MENUITEM}async closeAllMenuPopovers(){let o=[];for(;Ie.peek();){let t=Ie.pop();t&&(t.hide(),o.push(t))}await Promise.all(o.map(t=>t.updateComplete))}async crossMenubarNavigationOnLeft(o){if(o.role===et.MENUITEM){let i=o.closest(te),a=i==null?void 0:i.getAttribute("triggerid"),d=this.menuItems.find(m=>m.getAttribute("id")===a);if(d){this.isTopLevelMenuItem(d)&&(i==null||i.hide()),await(i==null?void 0:i.updateComplete);let m=this.getCurrentIndex(d);this.navigateToMenuItem(m,"prev",!0)}}}async crossMenubarNavigationOnRight(o){if(this.isTopLevelMenuItem(o)&&this.getSubmenu(o.id)&&!o.hasAttribute("soft-disabled"))this.showSubmenu(o.id);else if(this.isNestedMenuItem(o)&&!this.getSubmenu(o.id)){await this.closeAllMenuPopovers();let t=this.getParentMenuItemIndex(o);t>=0&&this.navigateToMenuItem(t,"next",!0)}}getParentMenuItemIndex(o){let t=o.parentElement;for(;t;){if(t.tagName.toLowerCase()===te){let i=t.getAttribute("triggerid"),a=this.menuItems.find(d=>d.getAttribute("id")===i);if(a)return this.isTopLevelMenuItem(a)?this.menuItems.findIndex(d=>d===a):this.getParentMenuItemIndex(a)}t=t.parentElement}return-1}async handleKeyDown(o){let t=this.getCurrentIndex(o.target);switch(this.getKeyWithDirectionFix(o.key)){case Q.HOME:this.updateTabIndexAndFocus(this.menuItems,t,0);break;case Q.END:this.updateTabIndexAndFocus(this.menuItems,t,this.menuItems.length-1);break;case Q.ARROW_LEFT:{let a=t>=0?this.menuItems[t]:o.target;await this.crossMenubarNavigationOnLeft(a);break}case Q.ARROW_RIGHT:{let a=t>=0?this.menuItems[t]:o.target;await this.crossMenubarNavigationOnRight(a);break}case Q.ARROW_UP:{this.navigateToMenuItem(t,"prev"),o.preventDefault();break}case Q.ARROW_DOWN:{this.navigateToMenuItem(t,"next"),o.preventDefault();break}default:break}}render(){return _`<slot role="${et.GROUP}"></slot>`}};Ka.styles=[...K.styles,...dv],p([Ot({selector:"mdc-menusection",flatten:!0})],Ka.prototype,"menusections",2);var Zc=Ka;Zc.register(ja);var YT=Zc;var qa=B.constructTagName("menuitem"),Xa={LEFT:"arrow-left-bold",RIGHT:"arrow-right-bold"},Qc={POSITIVE:"positive",NEGATIVE:"negative"},Jc={LEADING:"leading",TRAILING:"trailing"};var WT=V`
3914
+ `,hv=[WT];var Ka=class extends K{constructor(){super(),this.addEventListener("click",this.handleClick.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this))}async connectedCallback(){var o;super.connectedCallback(),this.role=et.MENUBAR,this.ariaOrientation=cv.ORIENTATION,await this.updateComplete,(o=this.menusections)==null||o.forEach(t=>{t.setAttribute("divider-variant","gradient")})}get menuItems(){var d,m;let o=(d=this.shadowRoot)==null?void 0:d.querySelector("slot"),t=(m=o==null?void 0:o.assignedElements({flatten:!0}))!=null?m:[],i=[],a=b=>{b.role===et.MENUITEM&&!b.hasAttribute("disabled")?i.push(b):b.tagName.toLowerCase()===ui&&Array.from(b.children).forEach(a)};return t.forEach(a),i}getVisibleSubMenusOfItems(o){let t=[];return!o||o.length===0||o.forEach(i=>{var m;let a=i.getAttribute("id");if(!a)return;let d=(m=document.querySelector)==null?void 0:m.call(document,`${te}[triggerid="${a}"]`);d&&d.visible&&t.push(d)}),t}getAllPopovers(){var a,d;if(!this.menuItems.length)return[];let o=(d=(a=this.menuItems[0])==null?void 0:a.closest(Ui))!=null?d:this;if(!o)return[];let t=[],i=m=>{m.querySelectorAll(`${te}`).forEach(b=>{t.push(b)}),m.querySelectorAll("slot").forEach(b=>{b.assignedElements({flatten:!0}).forEach(i)})};return i(o),t}update(o){super.update(o)}firstUpdated(o){super.firstUpdated(o),this.resetTabIndexAndSetActiveTabIndex(this.menuItems),this.updatePopoverPlacement()}handleClick(o){let t=o.target;if(!t||!this.isTopLevelMenuItem(t))return;let i=this.menuItems.filter(d=>d!==t);this.getVisibleSubMenusOfItems(i).forEach(d=>{d.hide()})}resetTabIndexAndSetActiveTabIndex(o){o.forEach((t,i)=>{let a=i===0?"0":"-1";t==null||t.setAttribute("tabindex",a)})}getCurrentIndex(o){return this.menuItems.findIndex(t=>t===o||t===o.parentElement)}getSubmenu(o){if(o)return this.getAllPopovers().find(t=>t.getAttribute("triggerid")===o)}showSubmenu(o){if(!o||!this.menuItems.find(a=>a.getAttribute("id")===o))return;let i=this.getSubmenu(o);i&&i.show()}updatePopoverPlacement(){let o=Yt.RIGHT_START;this.getAllPopovers().forEach(t=>{t.setAttribute("placement",o)})}updateTabIndexAndFocus(o,t,i){var a,d,m;i<0||t<0||(t!==i&&((a=o[t])==null||a.setAttribute("tabindex","-1"),(d=o[i])==null||d.setAttribute("tabindex","0")),(m=o[i])==null||m.focus())}navigateToMenuItem(o,t,i=!1){var m;let{length:a}=this.menuItems;if(a===0)return;let d=o;if(d=t==="prev"?(o-1+a)%a:(o+1)%a,this.updateTabIndexAndFocus(this.menuItems,o,d),i){let b=(m=this.menuItems[d])==null?void 0:m.getAttribute("id");this.getSubmenu(b)&&!this.menuItems[d].hasAttribute("soft-disabled")&&this.showSubmenu(b)}}getKeyWithDirectionFix(o){return window.getComputedStyle(this).direction==="rtl"?o===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!==et.MENUITEM)return!1;let i=t.tagName.toLowerCase(),a=(d=t.parentElement)==null?void 0:d.tagName.toLowerCase();return i===ja||i===Ui||i===ui&&(a===ja||a===Ui)}isNestedMenuItem(o){return!!o.closest(te)&&o.role===et.MENUITEM}async closeAllMenuPopovers(){let o=[];for(;Ie.peek();){let t=Ie.pop();t&&(t.hide(),o.push(t))}await Promise.all(o.map(t=>t.updateComplete))}async crossMenubarNavigationOnLeft(o){if(o.role===et.MENUITEM){let i=o.closest(te),a=i==null?void 0:i.getAttribute("triggerid"),d=this.menuItems.find(m=>m.getAttribute("id")===a);if(d){this.isTopLevelMenuItem(d)&&(i==null||i.hide()),await(i==null?void 0:i.updateComplete);let m=this.getCurrentIndex(d);this.navigateToMenuItem(m,"prev",!0)}}}async crossMenubarNavigationOnRight(o){if(this.isTopLevelMenuItem(o)&&this.getSubmenu(o.id)&&!o.hasAttribute("soft-disabled"))this.showSubmenu(o.id);else if(this.isNestedMenuItem(o)&&!this.getSubmenu(o.id)){await this.closeAllMenuPopovers();let t=this.getParentMenuItemIndex(o);t>=0&&this.navigateToMenuItem(t,"next",!0)}}getParentMenuItemIndex(o){let t=o.parentElement;for(;t;){if(t.tagName.toLowerCase()===te){let i=t.getAttribute("triggerid"),a=this.menuItems.find(d=>d.getAttribute("id")===i);if(a)return this.isTopLevelMenuItem(a)?this.menuItems.findIndex(d=>d===a):this.getParentMenuItemIndex(a)}t=t.parentElement}return-1}async handleKeyDown(o){let t=this.getCurrentIndex(o.target);switch(this.getKeyWithDirectionFix(o.key)){case Q.HOME:this.updateTabIndexAndFocus(this.menuItems,t,0);break;case Q.END:this.updateTabIndexAndFocus(this.menuItems,t,this.menuItems.length-1);break;case Q.ARROW_LEFT:{let a=t>=0?this.menuItems[t]:o.target;await this.crossMenubarNavigationOnLeft(a);break}case Q.ARROW_RIGHT:{let a=t>=0?this.menuItems[t]:o.target;await this.crossMenubarNavigationOnRight(a);break}case Q.ARROW_UP:{this.navigateToMenuItem(t,"prev"),o.preventDefault();break}case Q.ARROW_DOWN:{this.navigateToMenuItem(t,"next"),o.preventDefault();break}default:break}}render(){return _`<slot role="${et.GROUP}"></slot>`}};Ka.styles=[...K.styles,...hv],p([Ot({selector:"mdc-menusection",flatten:!0})],Ka.prototype,"menusections",2);var Jc=Ka;Jc.register(ja);var jT=Jc;var qa=V.constructTagName("menuitem"),Xa={LEFT:"arrow-left-bold",RIGHT:"arrow-right-bold"},th={POSITIVE:"positive",NEGATIVE:"negative"},eh={LEADING:"leading",TRAILING:"trailing"};var KT=B`
3910
3915
  :host(:dir(rtl))::part(trailing-arrow),
3911
3916
  :host(:dir(rtl))::part(leading-arrow) {
3912
3917
  transform: rotate(180deg);
@@ -3915,23 +3920,23 @@
3915
3920
  :host::part(leading-arrow) {
3916
3921
  --mdc-icon-size: 1.25rem;
3917
3922
  }
3918
- `,cv=[WT];var Hi=class extends mi{constructor(){super(),this.addEventListener("keyup",this.handleKeyUp.bind(this))}handleKeyDown(o){o.key===Q.ENTER&&(this.triggerClickEvent(),o.preventDefault())}handleKeyUp(o){o.key===Q.SPACE&&(this.triggerClickEvent(),o.preventDefault())}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEM,this.variant=Ga.INSET_RECTANGLE}renderTrailingControls(){let o=this.arrowDirection===Qc.NEGATIVE?Xa.LEFT:Xa.RIGHT;return _`
3923
+ `,pv=[KT];var Hi=class extends mi{constructor(){super(),this.addEventListener("keyup",this.handleKeyUp.bind(this))}handleKeyDown(o){o.key===Q.ENTER&&(this.triggerClickEvent(),o.preventDefault())}handleKeyUp(o){o.key===Q.SPACE&&(this.triggerClickEvent(),o.preventDefault())}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEM,this.variant=Ga.INSET_RECTANGLE}renderTrailingControls(){let o=this.arrowDirection===th.NEGATIVE?Xa.LEFT:Xa.RIGHT;return _`
3919
3924
  <slot
3920
3925
  name="trailing-controls"
3921
3926
  @click=${this.stopEventPropagation}
3922
3927
  @keyup=${this.stopEventPropagation}
3923
3928
  @keydown=${this.stopEventPropagation}
3924
3929
  ></slot>
3925
- ${this.arrowPosition===Jc.TRAILING?_`<mdc-icon name="${o}" length-unit="rem" part="trailing-arrow"></mdc-icon>`:j}
3926
- `}renderLeadingControls(){let o=this.arrowDirection===Qc.POSITIVE?Xa.RIGHT:Xa.LEFT;return _`
3930
+ ${this.arrowPosition===eh.TRAILING?_`<mdc-icon name="${o}" length-unit="rem" part="trailing-arrow"></mdc-icon>`:j}
3931
+ `}renderLeadingControls(){let o=this.arrowDirection===th.POSITIVE?Xa.RIGHT:Xa.LEFT;return _`
3927
3932
  <slot
3928
3933
  name="leading-controls"
3929
3934
  @click=${this.stopEventPropagation}
3930
3935
  @keyup=${this.stopEventPropagation}
3931
3936
  @keydown=${this.stopEventPropagation}
3932
3937
  ></slot>
3933
- ${this.arrowPosition===Jc.LEADING?_`<mdc-icon name="${o}" length-unit="rem" part="leading-arrow"></mdc-icon>`:j}
3934
- `}};Hi.styles=[...mi.styles,...cv],p([u({type:String,reflect:!0,attribute:"arrow-position"})],Hi.prototype,"arrowPosition",2),p([u({type:String,reflect:!0,attribute:"arrow-direction"})],Hi.prototype,"arrowDirection",2),p([u({type:String,reflect:!0})],Hi.prototype,"name",2),p([u({type:String,reflect:!0})],Hi.prototype,"value",2);var hr=Hi;hr.register(qa);var jT=hr;var hv=B.constructTagName("statictoggle"),KT={DEFAULT:"default",COMPACT:"compact"},th={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},pv={compact:.75,default:1.25},mv={SIZE:KT.DEFAULT};var qT=[V`
3938
+ ${this.arrowPosition===eh.LEADING?_`<mdc-icon name="${o}" length-unit="rem" part="leading-arrow"></mdc-icon>`:j}
3939
+ `}};Hi.styles=[...mi.styles,...pv],p([u({type:String,reflect:!0,attribute:"arrow-position"})],Hi.prototype,"arrowPosition",2),p([u({type:String,reflect:!0,attribute:"arrow-direction"})],Hi.prototype,"arrowDirection",2),p([u({type:String,reflect:!0})],Hi.prototype,"name",2),p([u({type:String,reflect:!0})],Hi.prototype,"value",2);var hr=Hi;hr.register(qa);var qT=hr;var mv=V.constructTagName("statictoggle"),XT={DEFAULT:"default",COMPACT:"compact"},rh={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},uv={compact:.75,default:1.25},fv={SIZE:XT.DEFAULT};var ZT=[B`
3935
3940
  :host {
3936
3941
  --mdc-statictoggle-width: 3rem;
3937
3942
  --mdc-statictoggle-height: 1.5rem;
@@ -4011,17 +4016,17 @@
4011
4016
  border: var(--mdc-statictoggle-border);
4012
4017
  }
4013
4018
  }
4014
- `],uv=qT;var ws=class extends zt(K){constructor(){super(...arguments);this.checked=!1;this.size=mv.SIZE}render(){return _`
4019
+ `],vv=ZT;var ws=class extends zt(K){constructor(){super(...arguments);this.checked=!1;this.size=fv.SIZE}render(){return _`
4015
4020
  <slot></slot>
4016
4021
  <div part="slider">
4017
4022
  <mdc-icon
4018
- name="${this.checked?th.CHECKED:th.UNCHECKED}"
4023
+ name="${this.checked?rh.CHECKED:rh.UNCHECKED}"
4019
4024
  class="icon"
4020
4025
  length-unit="rem"
4021
- size="${pv[this.size]}"
4026
+ size="${uv[this.size]}"
4022
4027
  ></mdc-icon>
4023
4028
  </div>
4024
- `}};ws.styles=[...K.styles,...uv],p([u({type:Boolean,reflect:!0})],ws.prototype,"checked",2),p([u({type:String,reflect:!0})],ws.prototype,"size",2);var eh=ws;eh.register(hv);var XT=eh;var Za=B.constructTagName("tooltip"),Ye={DESCRIPTION:"description",LABEL:"label",NONE:"none"},Gi={BACKDROP:!1,DELAY:"0,0",OFFSET:4,PLACEMENT:Yt.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:Ye.DESCRIPTION};var ZT=V`
4029
+ `}};ws.styles=[...K.styles,...vv],p([u({type:Boolean,reflect:!0})],ws.prototype,"checked",2),p([u({type:String,reflect:!0})],ws.prototype,"size",2);var ih=ws;ih.register(mv);var QT=ih;var Za=V.constructTagName("tooltip"),Ye={DESCRIPTION:"description",LABEL:"label",NONE:"none"},Gi={BACKDROP:!1,DELAY:"0,0",OFFSET:4,PLACEMENT:Yt.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:Ye.DESCRIPTION};var JT=B`
4025
4030
  :host {
4026
4031
  --mdc-tooltip-max-width: 400px;
4027
4032
  --mdc-tooltip-padding: 0.75rem;
@@ -4045,14 +4050,14 @@
4045
4050
  :host([color='contrast'])::part(popover-content) {
4046
4051
  color: var(--mdc-tooltip-text-color-contrast);
4047
4052
  }
4048
- `,fv=[ZT];var Ns=class extends Fe{constructor(){super(...arguments);this.tooltipType=Gi.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||Gi.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||Gi.OFFSET,this.placement=this.placement||Gi.PLACEMENT,this.role=et.TOOLTIP,this.trigger="mouseenter focusin",this.preventScroll=!1,this.flip=!0,this.preventScroll=!1,this.closeButton=!1,this.hideOnOutsideClick=!1,this.focusBackToTrigger=!1,this.size=!1,this.disableAriaExpanded=!0}getTooltipText(){var t,i;return((i=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:i.trim())||""}setTooltipType(t){this.setAttribute("tooltip-type",Object.values(Ye).includes(t)?t:Gi.TOOLTIP_TYPE)}async onIdUpdated(){if(this.id.length===0&&(this.id=`mdc-tooltip-${ye()}`),await this.updateComplete,this.triggerElement)switch(this.tooltipType){case Ye.DESCRIPTION:this.triggerElement.setAttribute("aria-describedby",this.id);break;case Ye.LABEL:this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(Yt).includes(this.placement)||(this.placement=Gi.PLACEMENT)}onTooltipTypeUpdated(t){let i=t.get("tooltipType");if(Object.values(Ye).includes(this.tooltipType)||this.setTooltipType(Gi.TOOLTIP_TYPE),this.triggerElement){let a=this.getTooltipText();switch(this.tooltipType){case Ye.DESCRIPTION:i===Ye.LABEL&&this.triggerElement.removeAttribute("aria-labelledby"),this.triggerElement.setAttribute("aria-describedby",this.id);break;case Ye.LABEL:i===Ye.DESCRIPTION&&this.triggerElement.removeAttribute("aria-describedby"),this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:i===Ye.DESCRIPTION?this.triggerElement.removeAttribute("aria-describedby"):i===Ye.LABEL&&this.triggerElement.removeAttribute("aria-labelledby");break}a.length>0&&this.tooltipType!==Ye.NONE&&!this.ariaLabel&&(this.ariaLabel=a)}}async update(t){super.update(t),t.has("id")&&await this.onIdUpdated(),t.has("placement")&&this.onPlacementUpdated(),t.has("tooltipType")&&this.onTooltipTypeUpdated(t)}};Ns.styles=[...Fe.styles,...fv],p([u({type:String,attribute:"tooltip-type",reflect:!0})],Ns.prototype,"tooltipType",2),p([Hn()],Ns.prototype,"defaultSlotNodes",2);var rh=Ns;rh.register(Za);var QT=rh;var Ls=ii(class extends Pr{constructor(n){var o;if(super(n),n.type!==He.ATTRIBUTE||n.name!=="class"||((o=n.strings)==null?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(n){return" "+Object.keys(n).filter(o=>n[o]).join(" ")+" "}update(n,[o]){var i,a;if(this.st===void 0){this.st=new Set,n.strings!==void 0&&(this.nt=new Set(n.strings.join(" ").split(/\s/).filter(d=>d!=="")));for(let d in o)o[d]&&!((i=this.nt)!=null&&i.has(d))&&this.st.add(d);return this.render(o)}let t=n.element.classList;for(let d of this.st)d in o||(t.remove(d),this.st.delete(d));for(let d in o){let m=!!o[d];m===this.st.has(d)||(a=this.nt)!=null&&a.has(d)||(m?(t.add(d),this.st.add(d)):(t.remove(d),this.st.delete(d)))}return ve}});var vv=B.constructTagName("toggle"),Qa={DEFAULT:"default",COMPACT:"compact"};var ih={SIZE:Qa.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var gv=n=>{class o extends n{}return p([u({reflect:!0,type:Boolean})],o.prototype,"controlled",2),o};var jl=B.constructTagName("menuitemcheckbox"),Ja={NONE:"none",CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},bv={INDICATOR:Ja.CHECKBOX};var JT=V`
4053
+ `,gv=[JT];var Ns=class extends Fe{constructor(){super(...arguments);this.tooltipType=Gi.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||Gi.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||Gi.OFFSET,this.placement=this.placement||Gi.PLACEMENT,this.role=et.TOOLTIP,this.trigger="mouseenter focusin",this.preventScroll=!1,this.flip=!0,this.preventScroll=!1,this.closeButton=!1,this.hideOnOutsideClick=!1,this.focusBackToTrigger=!1,this.size=!1,this.disableAriaExpanded=!0}getTooltipText(){var t,i;return((i=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:i.trim())||""}setTooltipType(t){this.setAttribute("tooltip-type",Object.values(Ye).includes(t)?t:Gi.TOOLTIP_TYPE)}async onIdUpdated(){if(this.id.length===0&&(this.id=`mdc-tooltip-${ye()}`),await this.updateComplete,this.triggerElement)switch(this.tooltipType){case Ye.DESCRIPTION:this.triggerElement.setAttribute("aria-describedby",this.id);break;case Ye.LABEL:this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(Yt).includes(this.placement)||(this.placement=Gi.PLACEMENT)}onTooltipTypeUpdated(t){let i=t.get("tooltipType");if(Object.values(Ye).includes(this.tooltipType)||this.setTooltipType(Gi.TOOLTIP_TYPE),this.triggerElement){let a=this.getTooltipText();switch(this.tooltipType){case Ye.DESCRIPTION:i===Ye.LABEL&&this.triggerElement.removeAttribute("aria-labelledby"),this.triggerElement.setAttribute("aria-describedby",this.id);break;case Ye.LABEL:i===Ye.DESCRIPTION&&this.triggerElement.removeAttribute("aria-describedby"),this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:i===Ye.DESCRIPTION?this.triggerElement.removeAttribute("aria-describedby"):i===Ye.LABEL&&this.triggerElement.removeAttribute("aria-labelledby");break}a.length>0&&this.tooltipType!==Ye.NONE&&!this.ariaLabel&&(this.ariaLabel=a)}}async update(t){super.update(t),t.has("id")&&await this.onIdUpdated(),t.has("placement")&&this.onPlacementUpdated(),t.has("tooltipType")&&this.onTooltipTypeUpdated(t)}};Ns.styles=[...Fe.styles,...gv],p([u({type:String,attribute:"tooltip-type",reflect:!0})],Ns.prototype,"tooltipType",2),p([Hn()],Ns.prototype,"defaultSlotNodes",2);var oh=Ns;oh.register(Za);var tx=oh;var Ls=ii(class extends Pr{constructor(n){var o;if(super(n),n.type!==He.ATTRIBUTE||n.name!=="class"||((o=n.strings)==null?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(n){return" "+Object.keys(n).filter(o=>n[o]).join(" ")+" "}update(n,[o]){var i,a;if(this.st===void 0){this.st=new Set,n.strings!==void 0&&(this.nt=new Set(n.strings.join(" ").split(/\s/).filter(d=>d!=="")));for(let d in o)o[d]&&!((i=this.nt)!=null&&i.has(d))&&this.st.add(d);return this.render(o)}let t=n.element.classList;for(let d of this.st)d in o||(t.remove(d),this.st.delete(d));for(let d in o){let m=!!o[d];m===this.st.has(d)||(a=this.nt)!=null&&a.has(d)||(m?(t.add(d),this.st.add(d)):(t.remove(d),this.st.delete(d)))}return ve}});var bv=V.constructTagName("toggle"),Qa={DEFAULT:"default",COMPACT:"compact"};var sh={SIZE:Qa.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var yv=n=>{class o extends n{}return p([u({reflect:!0,type:Boolean})],o.prototype,"controlled",2),o};var ql=V.constructTagName("menuitemcheckbox"),Ja={NONE:"none",CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},Ev={INDICATOR:Ja.CHECKBOX};var ex=B`
4049
4054
  :host::part(checkmark-icon) {
4050
4055
  --mdc-icon-fill-color: currentColor;
4051
4056
  }
4052
4057
  :host .hidden-checkmark {
4053
4058
  visibility: hidden;
4054
4059
  }
4055
- `,yv=[JT];var Ms=class extends gv(hr){constructor(){super();this.checked=!1;this.indicator=bv.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEMCHECKBOX}handleMouseClick(){this.disabled||(this.controlled||(this.checked=!this.checked),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`)}staticCheckbox(){return this.indicator===Ja.CHECKBOX?_`
4060
+ `,Tv=[ex];var Ms=class extends yv(hr){constructor(){super();this.checked=!1;this.indicator=Ev.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEMCHECKBOX}handleMouseClick(){this.disabled||(this.controlled||(this.checked=!this.checked),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`)}staticCheckbox(){return this.indicator===Ja.CHECKBOX?_`
4056
4061
  <mdc-staticcheckbox
4057
4062
  slot="leading-controls"
4058
4063
  ?checked="${this.checked}"
@@ -4092,20 +4097,20 @@
4092
4097
  ${this.staticToggle()} ${this.getCheckmarkIcon()}
4093
4098
  </div>
4094
4099
  </slot>
4095
- `}};Ms.styles=[...hr.styles,...yv],p([u({type:Boolean,reflect:!0})],Ms.prototype,"checked",2),p([u({type:String,reflect:!0})],Ms.prototype,"indicator",2);var oh=Ms;oh.register(jl);var tx=oh;var Kl=B.constructTagName("menuitemradio"),ql={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},Ev={INDICATOR:ql.RADIO};var ex=V`
4100
+ `}};Ms.styles=[...hr.styles,...Tv],p([u({type:Boolean,reflect:!0})],Ms.prototype,"checked",2),p([u({type:String,reflect:!0})],Ms.prototype,"indicator",2);var ah=Ms;ah.register(ql);var rx=ah;var Xl=V.constructTagName("menuitemradio"),Zl={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},xv={INDICATOR:Zl.RADIO};var ix=B`
4096
4101
  :host::part(checkmark-icon) {
4097
4102
  --mdc-icon-fill-color: currentColor;
4098
4103
  }
4099
4104
  :host .hidden-checkmark {
4100
4105
  visibility: hidden;
4101
4106
  }
4102
- `,Tv=[ex];var Rs=class extends hr{constructor(){super();this.checked=!1;this.indicator=Ev.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${ui}, ${te}`);return!t||!this.name?[]:Array.from(t.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(i=>{i!==this&&i.removeAttribute("checked")})}handleMouseClick(){this.disabled||this.checked||(this.updateOtherRadiosCheckedState(),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`,t.get("checked")===!1&&this.checked&&this.updateOtherRadiosCheckedState())}renderStaticRadio(){return this.indicator===ql.RADIO?_`
4107
+ `,Av=[ix];var Rs=class extends hr{constructor(){super();this.checked=!1;this.indicator=xv.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${ui}, ${te}`);return!t||!this.name?[]:Array.from(t.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(i=>{i!==this&&i.removeAttribute("checked")})}handleMouseClick(){this.disabled||this.checked||(this.updateOtherRadiosCheckedState(),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`,t.get("checked")===!1&&this.checked&&this.updateOtherRadiosCheckedState())}renderStaticRadio(){return this.indicator===Zl.RADIO?_`
4103
4108
  <mdc-staticradio
4104
4109
  slot="leading-controls"
4105
4110
  ?checked="${this.checked}"
4106
4111
  ?disabled="${this.disabled}"
4107
4112
  ></mdc-staticradio>
4108
- `:j}renderCheckmarkIcon(){return this.indicator===ql.CHECKMARK?_`
4113
+ `:j}renderCheckmarkIcon(){return this.indicator===Zl.CHECKMARK?_`
4109
4114
  <mdc-icon
4110
4115
  slot="trailing-controls"
4111
4116
  name="check-bold"
@@ -4132,7 +4137,7 @@
4132
4137
  ${this.renderCheckmarkIcon()}
4133
4138
  </div>
4134
4139
  </slot>
4135
- `}};Rs.styles=[...hr.styles,...Tv],p([u({type:Boolean,reflect:!0})],Rs.prototype,"checked",2),p([u({type:String,reflect:!0})],Rs.prototype,"indicator",2);var sh=Rs;sh.register(Kl);var rx=sh;var Yi=B.constructTagName("navmenuitem"),xv={DOT:sr.DOT,COUNTER:sr.COUNTER},Av={RIGHT_ARROW:"arrow-right-bold"},Sv={MAX_COUNTER:99,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:ao[24],VARIANT:Br.FLEXIBLE};var ix=V`
4140
+ `}};Rs.styles=[...hr.styles,...Av],p([u({type:Boolean,reflect:!0})],Rs.prototype,"checked",2),p([u({type:String,reflect:!0})],Rs.prototype,"indicator",2);var nh=Rs;nh.register(Xl);var ox=nh;var Yi=V.constructTagName("navmenuitem"),Sv={DOT:sr.DOT,COUNTER:sr.COUNTER},_v={RIGHT_ARROW:"arrow-right-bold"},Iv={MAX_COUNTER:99,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:ao[24],VARIANT:Br.FLEXIBLE};var sx=B`
4136
4141
  :host::part(popover-content) {
4137
4142
  padding: 0.75rem 0.5rem;
4138
4143
  }
@@ -4140,7 +4145,7 @@
4140
4145
  ::slotted(mdc-divider) {
4141
4146
  margin-block: 0.25rem;
4142
4147
  }
4143
- `,_v=[ix];var tn=n=>{var t;if(!n)return!1;let o=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();return o===et.MENUITEM||o===et.MENUITEMCHECKBOX||o===et.MENUITEMRADIO},ah=n=>{var o;return((o=n==null?void 0:n.tagName)==null?void 0:o.toLowerCase())===te};var en=class extends Fe{constructor(){super();this.placement=Xc.PLACEMENT;this.menuItems=[];this.menuItemsWithSubMenus=[];this.onOutsidePopoverClick=t=>{if(Ie.peek()!==this)return;let i=t.composedPath(),a=this.contains(t.target)||i.includes(this.triggerElement)||i.includes(this),d=this.backdropElement?i.includes(this.backdropElement):!1;(!a||d)&&this.closeAllMenuPopovers()};this.togglePopoverVisible=t=>{var i;(i=this.triggerElement)!=null&&i.hasAttribute("soft-disabled")||!this.isEventFromTrigger(t)||(this.visible?this.hide():this.show())};this.handleItemCreation=t=>{let i=t.target;tn(i)&&(t.stopImmediatePropagation(),i.addEventListener("destroyed",this.handleItemChangeEvent),i.addEventListener("disabled",this.handleItemChangeEvent))};this.handleItemChangeEvent=t=>{t.stopImmediatePropagation(),t.target&&t.type==="destroyed"&&(t.target.removeEventListener("destroyed",this.handleItemChangeEvent),t.target.removeEventListener("disabled",this.handleItemChangeEvent)),this.resetMenuNavigation()};this.resetMenuNavigation=()=>{this.collectMenuItems(),this.menuItems.find(i=>i.getAttribute("tabindex")==="0")||this.resetTabIndexes(0)};this.handleKeyDown=t=>{let i=!1;this.collectMenuItems();let a=t.target,d=this.getCurrentIndex(a);if(d===-1)return;this.resetTabIndexes(d);let m=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(t.key,m)){case Q.HOME:{this.resetTabIndexAndSetFocus(0,d),i=!0;break}case Q.END:{this.resetTabIndexAndSetFocus(this.menuItems.length-1,d),i=!0;break}case Q.ARROW_DOWN:{let C=d+1===this.menuItems.length?0:d+1;this.resetTabIndexAndSetFocus(C,d),i=!0;break}case Q.ARROW_UP:{let C=d-1===-1?this.menuItems.length-1:d-1;this.resetTabIndexAndSetFocus(C,d),i=!0;break}case Q.ARROW_RIGHT:{let C=this.getSubMenuPopoverOfTarget(a);C&&(C.show(),i=!0);break}case Q.ARROW_LEFT:{ah(this.parentElement)&&(this.hide(),this.resetTabIndexAndSetFocus(0,d),i=!0);break}case Q.ESCAPE:{this.resetTabIndexAndSetFocus(0,d),i=!0;break}case Q.ENTER:{this.getSubMenuPopoverOfTarget(a)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(a),i=!0);break}case Q.SPACE:{i=!0;break}default:break}i&&(t.stopPropagation(),t.preventDefault())};this.handleKeyUp=t=>{let i=!1,a=t.target;switch(t.key){case Q.SPACE:{a.matches(`${Kl}, ${jl}`)||this.getSubMenuPopoverOfTarget(a)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(a),i=!0);break}default:break}i&&(t.stopPropagation(),t.preventDefault())};this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("keyup",this.handleKeyUp),this.addEventListener("click",this.handleMouseClick),this.addEventListener("created",this.handleItemCreation)}getSubMenuPopoverOfTarget(t){var a,d;let i=t.getAttribute("id");return i?(d=(a=this.parentElement)==null?void 0:a.querySelector)==null?void 0:d.call(a,`${te}[triggerid="${i}"]`):null}collectMenuItems(){var a;let t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot"),i=(t==null?void 0:t.assignedElements({flatten:!0}))||[];this.menuItems=i.map(d=>d.tagName.toLowerCase()===ui?Array.from(d.children).filter(m=>tn(m)):tn(d)?d:[]).flat().filter(d=>!!d&&!d.hasAttribute("disabled")),this.menuItemsWithSubMenus=this.menuItems.filter(d=>this.getSubMenuPopoverOfTarget(d))}getOpenSubMenusOfItems(t){let i=[];return!t||t.length===0||t.forEach(a=>{let d=this.getSubMenuPopoverOfTarget(a);d&&d.visible&&i.push(d)}),i}connectedCallback(){super.connectedCallback(),this.role=et.MENU,this.ariaOrientation=Xc.ORIENTATION,this.backdrop=!1,this.color=Eo.TONAL,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.interactive=!0,this.showArrow=!1,this.closeButton=!1,this.closeButtonAriaLabel=null}async isOpenUpdated(t,i){return t===i||!this.triggerElement?Promise.resolve():(i&&(this.backdrop=![qa,Yi].includes(this.triggerElement.tagName.toLowerCase())),i===!1&&this.menuItemsWithSubMenus.forEach(a=>{let d=this.getSubMenuPopoverOfTarget(a);d&&d.hide()}),this.resetMenuNavigation(),super.isOpenUpdated(t,i))}async firstUpdated(t){await super.firstUpdated(t),this.collectMenuItems(),this.resetTabIndexes(0)}resetTabIndexes(t){this.menuItems.length>0&&(this.menuItems.forEach(i=>i.setAttribute("tabindex","-1")),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}getCurrentIndex(t){return this.menuItems.findIndex(i=>i===t)}resetTabIndexAndSetFocus(t,i){t!==i&&(this.menuItems[i].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}closeAllMenuPopovers(t){for(;Ie.peek()!==t&&ah(Ie.peek());){let i=Ie.pop();if(i)i.hide();else break}}closeOtherSubMenusOnSameLevel(t){let i=this.menuItemsWithSubMenus.filter(d=>d!==t);this.getOpenSubMenusOfItems(i).forEach(d=>{d.hide()})}fireMenuItemAction(t){t.matches(qa)&&t.dispatchEvent(new Event("action",{bubbles:!0,composed:!0}))}handleMouseClick(t){let i=t.target;if(t.stopPropagation(),!(!tn(i)||!t.isTrusted)){if(this.getSubMenuPopoverOfTarget(i)){this.closeOtherSubMenusOnSameLevel(i);return}this.closeAllMenuPopovers(),this.fireMenuItemAction(i)}}resolveDirectionKey(t,i){if(!i)return t;switch(t){case Q.ARROW_LEFT:return Q.ARROW_RIGHT;case Q.ARROW_RIGHT:return Q.ARROW_LEFT;default:return t}}};en.styles=[...Fe.styles,..._v],p([u({type:String,reflect:!0})],en.prototype,"placement",2);var nh=en;nh.register(te);var ox=nh;var Xl=class{constructor(o,t,i){this.variant=o,this.expanded=t,this.parentNavTooltipText=i}hasSiblingWithTriggerId(o){var a,d;let t=o==null?void 0:o.getAttribute("id");return t?Array.from((d=(a=o==null?void 0:o.parentElement)==null?void 0:a.children)!=null?d:[]).some(m=>m!==o&&m.tagName.toLowerCase()===te&&m.getAttribute("triggerid")===t):!1}getParentNavMenuItems(o){if(!o)return[];let t=[],i=o;for(;i;){let a=i==null?void 0:i.closest(te);if(!a)break;let d=a.getAttribute("triggerid");if(!d)break;let m=document.getElementById(d);if(m&&m.tagName.toLowerCase()===Yi)t.push(m),i=m;else break}return t}setCurrentActiveNavMenuItem(o){var d;let t=((d=this.currentActiveNavMenuItem)==null?void 0:d.navId)===(o==null?void 0:o.navId),i=(o==null?void 0:o.disableAriaCurrent)||this.hasSiblingWithTriggerId(o)||(o==null?void 0:o.softDisabled);if(t||i||(this.currentActiveNavMenuItem&&(this.currentActiveNavMenuItem.removeAttribute("aria-current"),this.currentActiveNavMenuItem.removeAttribute("active"),this.getParentNavMenuItems(this.currentActiveNavMenuItem).forEach(b=>{b.removeAttribute("tooltip-text"),b.removeAttribute("tooltip-placement"),b.removeAttribute("active")})),!o))return;this.currentActiveNavMenuItem=o,o.setAttribute("aria-current","page"),o.setAttribute("active",""),this.getParentNavMenuItems(o).forEach(m=>{m.setAttribute("tooltip-text",this.parentNavTooltipText||""),m.setAttribute("tooltip-placement",Yt.BOTTOM),m.setAttribute("active","")})}};Xl.context=Ui;var Zl=Xl;var sx=V`
4148
+ `,Cv=[sx];var tn=n=>{var t;if(!n)return!1;let o=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();return o===et.MENUITEM||o===et.MENUITEMCHECKBOX||o===et.MENUITEMRADIO},lh=n=>{var o;return((o=n==null?void 0:n.tagName)==null?void 0:o.toLowerCase())===te};var en=class extends Fe{constructor(){super();this.placement=Qc.PLACEMENT;this.menuItems=[];this.menuItemsWithSubMenus=[];this.onOutsidePopoverClick=t=>{if(Ie.peek()!==this)return;let i=t.composedPath(),a=this.contains(t.target)||i.includes(this.triggerElement)||i.includes(this),d=this.backdropElement?i.includes(this.backdropElement):!1;(!a||d)&&this.closeAllMenuPopovers()};this.togglePopoverVisible=t=>{var i;(i=this.triggerElement)!=null&&i.hasAttribute("soft-disabled")||!this.isEventFromTrigger(t)||(this.visible?this.hide():this.show())};this.handleItemCreation=t=>{let i=t.target;tn(i)&&(t.stopImmediatePropagation(),i.addEventListener("destroyed",this.handleItemChangeEvent),i.addEventListener("disabled",this.handleItemChangeEvent))};this.handleItemChangeEvent=t=>{t.stopImmediatePropagation(),t.target&&t.type==="destroyed"&&(t.target.removeEventListener("destroyed",this.handleItemChangeEvent),t.target.removeEventListener("disabled",this.handleItemChangeEvent)),this.resetMenuNavigation()};this.resetMenuNavigation=()=>{this.collectMenuItems(),this.menuItems.find(i=>i.getAttribute("tabindex")==="0")||this.resetTabIndexes(0)};this.handleKeyDown=t=>{let i=!1;this.collectMenuItems();let a=t.target,d=this.getCurrentIndex(a);if(d===-1)return;this.resetTabIndexes(d);let m=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(t.key,m)){case Q.HOME:{this.resetTabIndexAndSetFocus(0,d),i=!0;break}case Q.END:{this.resetTabIndexAndSetFocus(this.menuItems.length-1,d),i=!0;break}case Q.ARROW_DOWN:{let C=d+1===this.menuItems.length?0:d+1;this.resetTabIndexAndSetFocus(C,d),i=!0;break}case Q.ARROW_UP:{let C=d-1===-1?this.menuItems.length-1:d-1;this.resetTabIndexAndSetFocus(C,d),i=!0;break}case Q.ARROW_RIGHT:{let C=this.getSubMenuPopoverOfTarget(a);C&&(C.show(),i=!0);break}case Q.ARROW_LEFT:{lh(this.parentElement)&&(this.hide(),this.resetTabIndexAndSetFocus(0,d),i=!0);break}case Q.ESCAPE:{this.resetTabIndexAndSetFocus(0,d),i=!0;break}case Q.ENTER:{this.getSubMenuPopoverOfTarget(a)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(a),i=!0);break}case Q.SPACE:{i=!0;break}default:break}i&&(t.stopPropagation(),t.preventDefault())};this.handleKeyUp=t=>{let i=!1,a=t.target;switch(t.key){case Q.SPACE:{a.matches(`${Xl}, ${ql}`)||this.getSubMenuPopoverOfTarget(a)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(a),i=!0);break}default:break}i&&(t.stopPropagation(),t.preventDefault())};this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("keyup",this.handleKeyUp),this.addEventListener("click",this.handleMouseClick),this.addEventListener("created",this.handleItemCreation)}getSubMenuPopoverOfTarget(t){var a,d;let i=t.getAttribute("id");return i?(d=(a=this.parentElement)==null?void 0:a.querySelector)==null?void 0:d.call(a,`${te}[triggerid="${i}"]`):null}collectMenuItems(){var a;let t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot"),i=(t==null?void 0:t.assignedElements({flatten:!0}))||[];this.menuItems=i.map(d=>d.tagName.toLowerCase()===ui?Array.from(d.children).filter(m=>tn(m)):tn(d)?d:[]).flat().filter(d=>!!d&&!d.hasAttribute("disabled")),this.menuItemsWithSubMenus=this.menuItems.filter(d=>this.getSubMenuPopoverOfTarget(d))}getOpenSubMenusOfItems(t){let i=[];return!t||t.length===0||t.forEach(a=>{let d=this.getSubMenuPopoverOfTarget(a);d&&d.visible&&i.push(d)}),i}connectedCallback(){super.connectedCallback(),this.role=et.MENU,this.ariaOrientation=Qc.ORIENTATION,this.backdrop=!1,this.color=Eo.TONAL,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.interactive=!0,this.showArrow=!1,this.closeButton=!1,this.closeButtonAriaLabel=null}async isOpenUpdated(t,i){return t===i||!this.triggerElement?Promise.resolve():(i&&(this.backdrop=![qa,Yi].includes(this.triggerElement.tagName.toLowerCase())),i===!1&&this.menuItemsWithSubMenus.forEach(a=>{let d=this.getSubMenuPopoverOfTarget(a);d&&d.hide()}),this.resetMenuNavigation(),super.isOpenUpdated(t,i))}async firstUpdated(t){await super.firstUpdated(t),this.collectMenuItems(),this.resetTabIndexes(0)}resetTabIndexes(t){this.menuItems.length>0&&(this.menuItems.forEach(i=>i.setAttribute("tabindex","-1")),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}getCurrentIndex(t){return this.menuItems.findIndex(i=>i===t)}resetTabIndexAndSetFocus(t,i){t!==i&&(this.menuItems[i].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}closeAllMenuPopovers(t){for(;Ie.peek()!==t&&lh(Ie.peek());){let i=Ie.pop();if(i)i.hide();else break}}closeOtherSubMenusOnSameLevel(t){let i=this.menuItemsWithSubMenus.filter(d=>d!==t);this.getOpenSubMenusOfItems(i).forEach(d=>{d.hide()})}fireMenuItemAction(t){t.matches(qa)&&t.dispatchEvent(new Event("action",{bubbles:!0,composed:!0}))}handleMouseClick(t){let i=t.target;if(t.stopPropagation(),!(!tn(i)||!t.isTrusted)){if(this.getSubMenuPopoverOfTarget(i)){this.closeOtherSubMenusOnSameLevel(i);return}this.closeAllMenuPopovers(),this.fireMenuItemAction(i)}}resolveDirectionKey(t,i){if(!i)return t;switch(t){case Q.ARROW_LEFT:return Q.ARROW_RIGHT;case Q.ARROW_RIGHT:return Q.ARROW_LEFT;default:return t}}};en.styles=[...Fe.styles,...Cv],p([u({type:String,reflect:!0})],en.prototype,"placement",2);var dh=en;dh.register(te);var ax=dh;var Ql=class{constructor(o,t,i){this.variant=o,this.expanded=t,this.parentNavTooltipText=i}hasSiblingWithTriggerId(o){var a,d;let t=o==null?void 0:o.getAttribute("id");return t?Array.from((d=(a=o==null?void 0:o.parentElement)==null?void 0:a.children)!=null?d:[]).some(m=>m!==o&&m.tagName.toLowerCase()===te&&m.getAttribute("triggerid")===t):!1}getParentNavMenuItems(o){if(!o)return[];let t=[],i=o;for(;i;){let a=i==null?void 0:i.closest(te);if(!a)break;let d=a.getAttribute("triggerid");if(!d)break;let m=document.getElementById(d);if(m&&m.tagName.toLowerCase()===Yi)t.push(m),i=m;else break}return t}setCurrentActiveNavMenuItem(o){var d;let t=((d=this.currentActiveNavMenuItem)==null?void 0:d.navId)===(o==null?void 0:o.navId),i=(o==null?void 0:o.disableAriaCurrent)||this.hasSiblingWithTriggerId(o)||(o==null?void 0:o.softDisabled);if(t||i||(this.currentActiveNavMenuItem&&(this.currentActiveNavMenuItem.removeAttribute("aria-current"),this.currentActiveNavMenuItem.removeAttribute("active"),this.getParentNavMenuItems(this.currentActiveNavMenuItem).forEach(b=>{b.removeAttribute("tooltip-text"),b.removeAttribute("tooltip-placement"),b.removeAttribute("active")})),!o))return;this.currentActiveNavMenuItem=o,o.setAttribute("aria-current","page"),o.setAttribute("active",""),this.getParentNavMenuItems(o).forEach(m=>{m.setAttribute("tooltip-text",this.parentNavTooltipText||""),m.setAttribute("tooltip-placement",Yt.BOTTOM),m.setAttribute("active","")})}};Ql.context=Ui;var Jl=Ql;var nx=B`
4144
4149
  :host {
4145
4150
  --mdc-sidenavigation-expanded-width: 15rem;
4146
4151
  --mdc-sidenavigation-collapsed-width: 4.5rem;
@@ -4210,7 +4215,7 @@
4210
4215
  :host::part(vertical-divider-button) {
4211
4216
  z-index: var(--mdc-sidenavigation-vertical-divider-button-z-index);
4212
4217
  }
4213
- `,Iv=[sx];var fi=class extends rr{constructor(){super({context:Zl.context,initialValue:new Zl(Wl.VARIANT,!0)});this.variant=Wl.VARIANT;this.footerText="";this.handleNestedNavMenuItemActiveChange=t=>{var i;if((i=this.context)!=null&&i.value){let a=this.findNav(this.navMenuItems,t.detail.navId);this.context.value.setCurrentActiveNavMenuItem(a)}};this.findNav=(t,i)=>t.find(a=>a.navId===i);this.addEventListener("activechange",this.handleNestedNavMenuItemActiveChange.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.NAVIGATION}static get Context(){return Zl.context}updated(t){if(super.updated(t),t.has("variant"))switch(this.setVariant(this.variant),this.variant){case Br.FIXED_EXPANDED:this.expanded=!0;break;case Br.FIXED_COLLAPSED:this.expanded=!1;break;default:}(t.has("variant")||t.has("expanded"))&&this.updateContext()}firstUpdated(t){super.firstUpdated(t),this.variant===Br.FLEXIBLE&&this.expanded===void 0&&(this.expanded=!0,this.updateContext())}updateContext(){(this.context.value.variant!==this.variant||this.context.value.expanded!==this.expanded||this.context.value.parentNavTooltipText!==this.parentNavTooltipText)&&(this.context.value.variant=this.variant,this.context.value.expanded=this.expanded,this.context.value.parentNavTooltipText=this.parentNavTooltipText,this.context.updateObservers())}get navMenuItems(){return Array.from(this.querySelectorAll(`${Yi}:not([disabled])`))}setVariant(t){this.setAttribute("variant",Object.values(Br).includes(t)?t:Wl.VARIANT)}toggleSideNavigation(){this.expanded=!this.expanded,this.dispatchEvent(new CustomEvent("toggle",{detail:{expanded:this.expanded}}))}preventScrollOnSpace(t){t.key===Q.SPACE&&t.preventDefault()}render(){var t;return this.variant===Br.HIDDEN?_``:_`
4218
+ `,kv=[nx];var fi=class extends rr{constructor(){super({context:Jl.context,initialValue:new Jl(Kl.VARIANT,!0)});this.variant=Kl.VARIANT;this.footerText="";this.handleNestedNavMenuItemActiveChange=t=>{var i;if((i=this.context)!=null&&i.value){let a=this.findNav(this.navMenuItems,t.detail.navId);this.context.value.setCurrentActiveNavMenuItem(a)}};this.findNav=(t,i)=>t.find(a=>a.navId===i);this.addEventListener("activechange",this.handleNestedNavMenuItemActiveChange.bind(this))}connectedCallback(){super.connectedCallback(),this.role=et.NAVIGATION}static get Context(){return Jl.context}updated(t){if(super.updated(t),t.has("variant"))switch(this.setVariant(this.variant),this.variant){case Br.FIXED_EXPANDED:this.expanded=!0;break;case Br.FIXED_COLLAPSED:this.expanded=!1;break;default:}(t.has("variant")||t.has("expanded"))&&this.updateContext()}firstUpdated(t){super.firstUpdated(t),this.variant===Br.FLEXIBLE&&this.expanded===void 0&&(this.expanded=!0,this.updateContext())}updateContext(){(this.context.value.variant!==this.variant||this.context.value.expanded!==this.expanded||this.context.value.parentNavTooltipText!==this.parentNavTooltipText)&&(this.context.value.variant=this.variant,this.context.value.expanded=this.expanded,this.context.value.parentNavTooltipText=this.parentNavTooltipText,this.context.updateObservers())}get navMenuItems(){return Array.from(this.querySelectorAll(`${Yi}:not([disabled])`))}setVariant(t){this.setAttribute("variant",Object.values(Br).includes(t)?t:Kl.VARIANT)}toggleSideNavigation(){this.expanded=!this.expanded,this.dispatchEvent(new CustomEvent("toggle",{detail:{expanded:this.expanded}}))}preventScrollOnSpace(t){t.key===Q.SPACE&&t.preventDefault()}render(){var t;return this.variant===Br.HIDDEN?_``:_`
4214
4219
  <div part="side-navigation-container" id="side-nav-container">
4215
4220
  <div part="scrollable-section" tabindex="-1" @keydown=${this.preventScrollOnSpace}>
4216
4221
  <slot name="scrollable-section">
@@ -4249,7 +4254,7 @@
4249
4254
  aria-controls="side-nav-container"
4250
4255
  ></mdc-button>
4251
4256
  </mdc-divider>`:j}
4252
- `}};fi.styles=[...K.styles,...Iv],p([u({type:String,reflect:!0})],fi.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"footer-text"})],fi.prototype,"footerText",2),p([u({type:Boolean,reflect:!0})],fi.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"grabber-btn-aria-label"})],fi.prototype,"grabberBtnAriaLabel",2),p([u({type:String,reflect:!0,attribute:"parent-nav-tooltip-text"})],fi.prototype,"parentNavTooltipText",2);var wo=fi;var ax=V`
4257
+ `}};fi.styles=[...K.styles,...kv],p([u({type:String,reflect:!0})],fi.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"footer-text"})],fi.prototype,"footerText",2),p([u({type:Boolean,reflect:!0})],fi.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"grabber-btn-aria-label"})],fi.prototype,"grabberBtnAriaLabel",2),p([u({type:String,reflect:!0,attribute:"parent-nav-tooltip-text"})],fi.prototype,"parentNavTooltipText",2);var wo=fi;var lx=B`
4253
4258
  :host {
4254
4259
  display: flex;
4255
4260
  flex-direction: column;
@@ -4267,7 +4272,7 @@
4267
4272
  :host(:dir(rtl))::part(align-header) {
4268
4273
  padding-right: 1.75rem;
4269
4274
  }
4270
- `,Cv=[ax];var Ur=class extends K{constructor(){super(...arguments);this.ariaLabel=null;this.headerText=null;this.showDivider=!1;this.dividerVariant=nv.DIVIDER_VARIANT;this.hideHeaderText=!1;this.sideNavigationContext=ir.consume({host:this,context:wo.Context})}connectedCallback(){super.connectedCallback(),this.setAttribute("role",et.GROUP)}update(t){var d;super.update(t),(t.has("ariaLabel")||t.has("headerText"))&&(!this.ariaLabel||this.ariaLabel===t.get("headerText"))&&(this.ariaLabel=this.headerText||"");let i=(d=this.sideNavigationContext)==null?void 0:d.value;if(!i)return;let{expanded:a}=i;this.hideHeaderText=!a}renderHeader(){var t,i;return this.headerText?_` <mdc-listheader
4275
+ `,wv=[lx];var Ur=class extends K{constructor(){super(...arguments);this.ariaLabel=null;this.headerText=null;this.showDivider=!1;this.dividerVariant=dv.DIVIDER_VARIANT;this.hideHeaderText=!1;this.sideNavigationContext=ir.consume({host:this,context:wo.Context})}connectedCallback(){super.connectedCallback(),this.setAttribute("role",et.GROUP)}update(t){var d;super.update(t),(t.has("ariaLabel")||t.has("headerText"))&&(!this.ariaLabel||this.ariaLabel===t.get("headerText"))&&(this.ariaLabel=this.headerText||"");let i=(d=this.sideNavigationContext)==null?void 0:d.value;if(!i)return;let{expanded:a}=i;this.hideHeaderText=!a}renderHeader(){var t,i;return this.headerText?_` <mdc-listheader
4271
4276
  part="header ${(i=(t=this.sideNavigationContext)==null?void 0:t.value)!=null&&i.expanded?"align-header":""}"
4272
4277
  header-text="${this.headerText}"
4273
4278
  prefix-icon="${rt(this.prefixIcon)}"
@@ -4276,7 +4281,7 @@
4276
4281
  ${this.hideHeaderText?null:this.renderHeader()}
4277
4282
  <slot part="container"></slot>
4278
4283
  ${this.showDivider?_`<mdc-divider variant="${this.dividerVariant}" part="divider"></mdc-divider>`:null}
4279
- `}};Ur.styles=[...K.styles,...Cv],p([u({type:String,reflect:!0,attribute:"aria-label"})],Ur.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Ur.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],Ur.prototype,"prefixIcon",2),p([u({type:Boolean,reflect:!0,attribute:"show-divider"})],Ur.prototype,"showDivider",2),p([u({type:String,reflect:!0,attribute:"divider-variant"})],Ur.prototype,"dividerVariant",2),p([u({type:Boolean,reflect:!0,attribute:"hide-header-text"})],Ur.prototype,"hideHeaderText",2);var lh=Ur;lh.register(ui);var nx=lh;var lx=[bt,V`
4284
+ `}};Ur.styles=[...K.styles,...wv],p([u({type:String,reflect:!0,attribute:"aria-label"})],Ur.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Ur.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],Ur.prototype,"prefixIcon",2),p([u({type:Boolean,reflect:!0,attribute:"show-divider"})],Ur.prototype,"showDivider",2),p([u({type:String,reflect:!0,attribute:"divider-variant"})],Ur.prototype,"dividerVariant",2),p([u({type:Boolean,reflect:!0,attribute:"hide-header-text"})],Ur.prototype,"hideHeaderText",2);var ch=Ur;ch.register(ui);var dx=ch;var cx=[bt,B`
4280
4285
  :host {
4281
4286
  --mdc-navmenuitem-color: var(--mds-color-theme-text-primary-normal);
4282
4287
  --mdc-navmenuitem-disabled-color: var(--mds-color-theme-text-primary-disabled);
@@ -4421,7 +4426,7 @@
4421
4426
  left: -0.75rem;
4422
4427
  top: 0.875rem;
4423
4428
  }
4424
- `,...St()],kv=lx;var We=class extends Kt(hr){constructor(){super();this.maxCounter=Sv.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=ir.consume({host:this,context:wo.Context});this.emitNavMenuItemActiveChange=t=>{let i=new CustomEvent("activechange",{detail:{navId:this.navId,active:t},bubbles:!0});this.dispatchEvent(i)};this.addEventListener("click",this.handleClickEvent.bind(this)),this.addEventListener("focusin",this.renderDynamicTooltip.bind(this)),this.addEventListener("mouseenter",this.renderDynamicTooltip.bind(this)),this.addEventListener("focusout",this.removeTooltip.bind(this)),this.addEventListener("mouseout",this.removeTooltip.bind(this))}connectedCallback(){super.connectedCallback(),this.variant=void 0,!this.navId&&this.onerror&&this.onerror("[mdc-navmenuitem] navId is required and was not provided."),this.toggleAttribute("in-menupopover",this.isNested())}disconnectedCallback(){super.disconnectedCallback(),this.removeTooltip()}updated(){var i,a;let t=(i=this.sideNavigationContext)==null?void 0:i.value;if(t)if(this.showLabel=this.isNested()?!0:t.expanded,this.showLabel)this.removeAttribute("aria-label");else{let d=(a=this.label)!=null?a:"";this.ariaLabel=this.ariaLabel||d,this.setAttribute("aria-label",d)}}removeTooltip(){let t=document.querySelector(`${Za}[triggerid="${this.id}"]`);t&&t.remove()}renderDynamicTooltip(){if(!this.tooltipText)return;this.id||(this.id=`mdc-navmenuitem-${ye()}`),this.removeTooltip();let t=document.createElement(Za);t.id=`mdc-navmenuitem-tooltip-${ye()}`,t.textContent=this.tooltipText,t.setAttribute("triggerid",this.id),t.setAttribute("visible",""),t.setAttribute("show-arrow",""),this.hasAttribute("slot")&&t.setAttribute("slot",this.getAttribute("slot")||""),this.after(t)}isNested(){let t=this.parentElement;for(;t;){if(t.tagName.toLowerCase()===te)return!0;t=t.parentElement}return!1}modifyIconName(t){if(!this.iconName)return;let i=this.iconName.endsWith("-filled"),a=lo(this.iconName);t?i||(this.prevIconName=this.iconName,this.iconName=`${a}-filled`):this.prevIconName&&(this.iconName=this.prevIconName)}handleClickEvent(){this.disabled||this.emitNavMenuItemActiveChange(this.active)}update(t){super.update(t),t.has("active")&&this.modifyIconName(this.active)}renderTextLabel(t){return _`
4429
+ `,...St()],Nv=cx;var We=class extends Kt(hr){constructor(){super();this.maxCounter=Iv.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=ir.consume({host:this,context:wo.Context});this.emitNavMenuItemActiveChange=t=>{let i=new CustomEvent("activechange",{detail:{navId:this.navId,active:t},bubbles:!0});this.dispatchEvent(i)};this.addEventListener("click",this.handleClickEvent.bind(this)),this.addEventListener("focusin",this.renderDynamicTooltip.bind(this)),this.addEventListener("mouseenter",this.renderDynamicTooltip.bind(this)),this.addEventListener("focusout",this.removeTooltip.bind(this)),this.addEventListener("mouseout",this.removeTooltip.bind(this))}connectedCallback(){super.connectedCallback(),this.variant=void 0,!this.navId&&this.onerror&&this.onerror("[mdc-navmenuitem] navId is required and was not provided."),this.toggleAttribute("in-menupopover",this.isNested())}disconnectedCallback(){super.disconnectedCallback(),this.removeTooltip()}updated(){var i,a;let t=(i=this.sideNavigationContext)==null?void 0:i.value;if(t)if(this.showLabel=this.isNested()?!0:t.expanded,this.showLabel)this.removeAttribute("aria-label");else{let d=(a=this.label)!=null?a:"";this.ariaLabel=this.ariaLabel||d,this.setAttribute("aria-label",d)}}removeTooltip(){let t=document.querySelector(`${Za}[triggerid="${this.id}"]`);t&&t.remove()}renderDynamicTooltip(){if(!this.tooltipText)return;this.id||(this.id=`mdc-navmenuitem-${ye()}`),this.removeTooltip();let t=document.createElement(Za);t.id=`mdc-navmenuitem-tooltip-${ye()}`,t.textContent=this.tooltipText,t.setAttribute("triggerid",this.id),t.setAttribute("visible",""),t.setAttribute("show-arrow",""),this.hasAttribute("slot")&&t.setAttribute("slot",this.getAttribute("slot")||""),this.after(t)}isNested(){let t=this.parentElement;for(;t;){if(t.tagName.toLowerCase()===te)return!0;t=t.parentElement}return!1}modifyIconName(t){if(!this.iconName)return;let i=this.iconName.endsWith("-filled"),a=lo(this.iconName);t?i||(this.prevIconName=this.iconName,this.iconName=`${a}-filled`):this.prevIconName&&(this.iconName=this.prevIconName)}handleClickEvent(){this.disabled||this.emitNavMenuItemActiveChange(this.active)}update(t){super.update(t),t.has("active")&&this.modifyIconName(this.active)}renderTextLabel(t){return _`
4425
4430
  <mdc-text
4426
4431
  type=${this.active?st.BODY_MIDSIZE_BOLD:st.BODY_MIDSIZE_MEDIUM}
4427
4432
  tagname=${mt.SPAN}
@@ -4431,11 +4436,11 @@
4431
4436
  </mdc-text>
4432
4437
  `}renderArrowIcon(t){return _`
4433
4438
  <mdc-icon
4434
- name=${Av.RIGHT_ARROW}
4439
+ name=${_v.RIGHT_ARROW}
4435
4440
  length-unit="rem"
4436
4441
  part="trailing-arrow ${t?"":"arrow"}"
4437
4442
  ></mdc-icon>
4438
- `}renderBadge(t){return Object.values(xv).includes(this.badgeType)?_`
4443
+ `}renderBadge(t){return Object.values(Sv).includes(this.badgeType)?_`
4439
4444
  <mdc-badge
4440
4445
  part="${t?"":"badge"}"
4441
4446
  type="${rt(this.badgeType)}"
@@ -4450,7 +4455,7 @@
4450
4455
  </div>
4451
4456
  ${this.showLabel?_`${this.renderTextLabel(this.label)}${this.renderBadge(this.showLabel)}`:j}
4452
4457
  ${t!=null&&t.hasSiblingWithTriggerId(this)?this.renderArrowIcon(this.showLabel):j}
4453
- `}};We.styles=[...hr.styles,...kv],p([u({type:Boolean,reflect:!0})],We.prototype,"active",2),p([u({type:String,reflect:!0,attribute:"badge-type"})],We.prototype,"badgeType",2),p([u({type:Number,reflect:!0})],We.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],We.prototype,"maxCounter",2),p([u({type:String,reflect:!0,attribute:"nav-id"})],We.prototype,"navId",2),p([u({type:Boolean,reflect:!0,attribute:"show-label"})],We.prototype,"showLabel",2),p([u({type:String,attribute:"aria-label"})],We.prototype,"ariaLabel",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],We.prototype,"disableAriaCurrent",2),p([u({type:String,reflect:!0,attribute:"tooltip-text"})],We.prototype,"tooltipText",2);var dh=We;dh.register(Yi);var dx=dh;var wv="check-bold",pr=B.constructTagName("option");var rn=B.constructTagName("optgroup"),ch="header-id";var cx=V`
4458
+ `}};We.styles=[...hr.styles,...Nv],p([u({type:Boolean,reflect:!0})],We.prototype,"active",2),p([u({type:String,reflect:!0,attribute:"badge-type"})],We.prototype,"badgeType",2),p([u({type:Number,reflect:!0})],We.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],We.prototype,"maxCounter",2),p([u({type:String,reflect:!0,attribute:"nav-id"})],We.prototype,"navId",2),p([u({type:Boolean,reflect:!0,attribute:"show-label"})],We.prototype,"showLabel",2),p([u({type:String,attribute:"aria-label"})],We.prototype,"ariaLabel",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],We.prototype,"disableAriaCurrent",2),p([u({type:String,reflect:!0,attribute:"tooltip-text"})],We.prototype,"tooltipText",2);var hh=We;hh.register(Yi);var hx=hh;var Lv="check-bold",pr=V.constructTagName("option");var rn=V.constructTagName("optgroup"),ph="header-id";var px=B`
4454
4459
  :host {
4455
4460
  --mdc-optgroup-disabled-color: var(--mds-color-theme-text-primary-disabled);
4456
4461
  }
@@ -4466,9 +4471,9 @@
4466
4471
  :host([data-hidden]) {
4467
4472
  display: none;
4468
4473
  }
4469
- `,Nv=[cx];var Os=class extends Ht(zt(K)){setDisabledForAllOptions(){this.options.forEach(o=>{this.disabled?o.setAttribute("disabled",""):o.removeAttribute("disabled")})}updated(o){super.updated(o),o.has("disabled")&&this.setDisabledForAllOptions()}render(){var t;let o=this.label?_`
4474
+ `,Mv=[px];var Os=class extends Ht(zt(K)){setDisabledForAllOptions(){this.options.forEach(o=>{this.disabled?o.setAttribute("disabled",""):o.removeAttribute("disabled")})}updated(o){super.updated(o),o.has("disabled")&&this.setDisabledForAllOptions()}render(){var t;let o=this.label?_`
4470
4475
  <mdc-text
4471
- id="${ch}"
4476
+ id="${ph}"
4472
4477
  part="header-text"
4473
4478
  type="${st.BODY_MIDSIZE_BOLD}"
4474
4479
  tagname="${mt.SPAN}"
@@ -4477,13 +4482,13 @@
4477
4482
  `:j;return _`
4478
4483
  <div
4479
4484
  role="${et.GROUP}"
4480
- aria-labelledby="${this.label?ch:""}"
4485
+ aria-labelledby="${this.label?ph:""}"
4481
4486
  aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
4482
4487
  >
4483
4488
  ${o}
4484
4489
  <slot role="${et.PRESENTATION}"></slot>
4485
4490
  </div>
4486
- `}};Os.styles=[...K.styles,...Nv],p([u({type:String,reflect:!0})],Os.prototype,"label",2),p([Ot({selector:pr})],Os.prototype,"options",2);var hh=Os;hh.register(rn);var hx=hh;var px=[Li,V`
4491
+ `}};Os.styles=[...K.styles,...Mv],p([u({type:String,reflect:!0})],Os.prototype,"label",2),p([Ot({selector:pr})],Os.prototype,"options",2);var mh=Os;mh.register(rn);var mx=mh;var ux=[Li,B`
4487
4492
  :host {
4488
4493
  --mdc-listitem-column-gap: 0.75rem;
4489
4494
  --mdc-option-icon-width: 1rem;
@@ -4516,18 +4521,18 @@
4516
4521
  :host([data-hidden]) {
4517
4522
  display: none;
4518
4523
  }
4519
- `],Lv=px;var No=class extends Te(mi){constructor(){super(...arguments);this.selected=!1;this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.role=et.OPTION,this.variant=Ga.INSET_RECTANGLE,this.setAttribute("aria-selected",`${this.selected}`),this.setAttribute("aria-disabled",`${!!this.disabled}`),this.name=void 0,this.sideHeaderText=void 0,this.sublineText=void 0}update(t){super.update(t),t.has("selected")&&(this.setAttribute("aria-selected",`${this.selected}`),this.dispatchModifiedEvent(this.selected?"selected":"unselected"))}render(){let t=this.prefixIcon?_`
4524
+ `],Rv=ux;var No=class extends Te(mi){constructor(){super(...arguments);this.selected=!1;this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.role=et.OPTION,this.variant=Ga.INSET_RECTANGLE,this.setAttribute("aria-selected",`${this.selected}`),this.setAttribute("aria-disabled",`${!!this.disabled}`),this.name=void 0,this.sideHeaderText=void 0,this.sublineText=void 0}update(t){super.update(t),t.has("selected")&&(this.setAttribute("aria-selected",`${this.selected}`),this.dispatchModifiedEvent(this.selected?"selected":"unselected"))}render(){let t=this.prefixIcon?_`
4520
4525
  <div part="leading-icon">
4521
4526
  <mdc-icon length-unit="rem" slot="leading-controls" name="${rt(this.prefixIcon)}"></mdc-icon>
4522
4527
  </div>
4523
- `:j,i=this.selected?_` <mdc-icon length-unit="rem" slot="trailing-controls" name="${wv}"></mdc-icon> `:j;return _`
4528
+ `:j,i=this.selected?_` <mdc-icon length-unit="rem" slot="trailing-controls" name="${Lv}"></mdc-icon> `:j;return _`
4524
4529
  ${t}
4525
4530
  <div part="leading-text">
4526
4531
  ${this.getText("leading-text-primary-label",st.BODY_MIDSIZE_REGULAR,this.label)}
4527
4532
  ${this.getText("leading-text-secondary-label",st.BODY_SMALL_REGULAR,this.secondaryLabel)}
4528
4533
  </div>
4529
4534
  <div part="trailing">${i}</div>
4530
- `}};No.styles=[...mi.styles,...Lv],p([u({type:Boolean,reflect:!0})],No.prototype,"selected",2),p([u({type:String,reflect:!0,attribute:"prefix-icon"})],No.prototype,"prefixIcon",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],No.prototype,"ariaLabel",2);var ph=No;ph.register(pr);var mx=ph;var mh={HIDE_BOLD:"hide-bold",SHOW_BOLD:"show-bold"},Mv=B.constructTagName("password");var Lo=class extends Sr{constructor(){super(...arguments);this.showHideButtonAriaLabel="";this.helpTextType=Mt.VALIDATION;this.showPassword=!1}connectedCallback(){super.connectedCallback(),this.trailingButton=!0}toggleShowPassword(){this.showPassword=!this.showPassword}renderTrailingButton(t=!1){let i=t||this.value;return i?_`
4535
+ `}};No.styles=[...mi.styles,...Rv],p([u({type:Boolean,reflect:!0})],No.prototype,"selected",2),p([u({type:String,reflect:!0,attribute:"prefix-icon"})],No.prototype,"prefixIcon",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],No.prototype,"ariaLabel",2);var uh=No;uh.register(pr);var fx=uh;var fh={HIDE_BOLD:"hide-bold",SHOW_BOLD:"show-bold"},Ov=V.constructTagName("password");var Lo=class extends Sr{constructor(){super(...arguments);this.showHideButtonAriaLabel="";this.helpTextType=Mt.VALIDATION;this.showPassword=!1}connectedCallback(){super.connectedCallback(),this.trailingButton=!0}toggleShowPassword(){this.showPassword=!this.showPassword}renderTrailingButton(t=!1){let i=t||this.value;return i?_`
4531
4536
  <mdc-button
4532
4537
  part="trailing-button"
4533
4538
  class="own-focus-ring ${i?"":"hidden"}"
@@ -4536,9 +4541,9 @@
4536
4541
  size="${Mt.ICON_SIZE}"
4537
4542
  @click=${this.toggleShowPassword}
4538
4543
  aria-label=${this.showHideButtonAriaLabel}
4539
- prefix-icon=${this.showPassword?mh.HIDE_BOLD:mh.SHOW_BOLD}
4544
+ prefix-icon=${this.showPassword?fh.HIDE_BOLD:fh.SHOW_BOLD}
4540
4545
  ></mdc-button>
4541
- `:j}renderInputElement(t,i){let a=this.showPassword?Ss.TEXT:Ss.PASSWORD;return super.renderInputElement(a,i)}};Lo.styles=[...Sr.styles],p([u({type:String,attribute:"show-hide-button-aria-label"})],Lo.prototype,"showHideButtonAriaLabel",2),p([u({type:String,attribute:"help-text-type"})],Lo.prototype,"helpTextType",2),p([gt()],Lo.prototype,"showPassword",2);var uh=Lo;uh.register(Mv);var ux=uh;Fe.register(xf);var fx=Fe;var Ql=B.constructTagName("progressbar"),Jl={DEFAULT:"default",INLINE:"inline"},Rv={VARIANT:Jl.DEFAULT,VALIDATION:Vt.DEFAULT};var vx=[bt,V`
4546
+ `:j}renderInputElement(t,i){let a=this.showPassword?Ss.TEXT:Ss.PASSWORD;return super.renderInputElement(a,i)}};Lo.styles=[...Sr.styles],p([u({type:String,attribute:"show-hide-button-aria-label"})],Lo.prototype,"showHideButtonAriaLabel",2),p([u({type:String,attribute:"help-text-type"})],Lo.prototype,"helpTextType",2),p([gt()],Lo.prototype,"showPassword",2);var vh=Lo;vh.register(Ov);var vx=vh;Fe.register(Sf);Fl.register(zl);var gx=Fe;var td=V.constructTagName("progressbar"),ed={DEFAULT:"default",INLINE:"inline"},Pv={VARIANT:ed.DEFAULT,VALIDATION:Vt.DEFAULT};var bx=[bt,B`
4542
4547
  :host {
4543
4548
  --mdc-progressbar-background-color: var(--mds-color-theme-control-indicator-inactive-normal);
4544
4549
  --mdc-progressbar-active-background-color: var(--mds-color-theme-control-active-normal);
@@ -4549,9 +4554,9 @@
4549
4554
  --mdc-progressbar-border-radius: var(--mdc-progressbar-height);
4550
4555
 
4551
4556
  --mdc-progressbar-label-color: var(--mds-color-theme-text-primary-normal);
4552
- --mdc-progressbar-label-line-height: var(--mds-font-lineheight-body-midsize);
4553
- --mdc-progressbar-label-font-size: var(--mds-font-size-body-midsize);
4554
- --mdc-progressbar-label-font-weight: var(--mds-font-weight-regular);
4557
+ --mdc-progressbar-label-line-height: var(--mds-font-apps-body-midsize-regular-line-height);
4558
+ --mdc-progressbar-label-font-size: var(--mds-font-apps-body-midsize-regular-font-size);
4559
+ --mdc-progressbar-label-font-weight: var(--mds-font-apps-body-midsize-regular-font-weight);
4555
4560
  --mdc-progressbar-help-text-color: var(--mds-color-theme-text-secondary-normal);
4556
4561
 
4557
4562
  width: 100%;
@@ -4607,8 +4612,6 @@
4607
4612
  border-radius: var(--mdc-progressbar-border-radius);
4608
4613
  }
4609
4614
 
4610
- :host::part(label-text),
4611
- :host::part(help-text),
4612
4615
  :host::part(percentage) {
4613
4616
  font-size: var(--mdc-progressbar-label-font-size);
4614
4617
  font-weight: var(--mdc-progressbar-label-font-weight);
@@ -4625,7 +4628,7 @@
4625
4628
  border: var(--mdc-progressbar-border);
4626
4629
  }
4627
4630
  }
4628
- `],Ov=vx;var Mo=class extends Ht(cr){constructor(){super(...arguments);this.variant=Rv.VARIANT;this.value="0";this.error=!1;this.renderProgressbar=()=>{var d;let t=this.getValidationVariant(),i=this.clampedValue>0&&this.clampedValue<100,a=this.error?"100":`${this.clampedValue}`;return _`
4631
+ `],Dv=bx;var Mo=class extends Ht(cr){constructor(){super(...arguments);this.variant=Pv.VARIANT;this.value="0";this.error=!1;this.renderProgressbar=()=>{var d;let t=this.getValidationVariant(),i=this.clampedValue>0&&this.clampedValue<100,a=this.error?"100":`${this.clampedValue}`;return _`
4629
4632
  <div
4630
4633
  part="progress-container ${i?"gap":""}"
4631
4634
  role="${et.PROGRESSBAR}"
@@ -4637,15 +4640,15 @@
4637
4640
  <div part="progress-bar ${t}" style="width: ${a}%"></div>
4638
4641
  <div part="remaining"></div>
4639
4642
  </div>
4640
- `}}connectedCallback(){super.connectedCallback(),this.id=`${Ql}-${ye()}`,this.disabled=void 0,this.toggletipText=void 0,this.toggletipPlacement=void 0}get clampedValue(){let t=Number(this.value);return Number.isNaN(t)?0:Math.max(0,Math.min(100,t))}getValidationVariant(){return this.error?this.helpTextType=Vt.ERROR:this.clampedValue===100?this.helpTextType=Vt.SUCCESS:this.helpTextType=Vt.DEFAULT,this.helpTextType}render(){let t=this.variant===Jl.INLINE;return _`
4643
+ `}}connectedCallback(){super.connectedCallback(),this.id=`${td}-${ye()}`,this.disabled=void 0,this.toggletipText=void 0,this.toggletipPlacement=void 0}get clampedValue(){let t=Number(this.value);return Number.isNaN(t)?0:Math.max(0,Math.min(100,t))}getValidationVariant(){return this.error?this.helpTextType=Vt.ERROR:this.clampedValue===100?this.helpTextType=Vt.SUCCESS:this.helpTextType=Vt.DEFAULT,this.helpTextType}render(){let t=this.variant===ed.INLINE;return _`
4641
4644
  ${t?_`<div part="inline-label-container">${this.renderLabelElement()} ${this.renderProgressbar()}</div>`:_`
4642
4645
  <div part="label-container">
4643
4646
  ${this.renderLabelElement()}
4644
- ${this.variant===Jl.DEFAULT&&this.label?_`<span part="percentage">${this.clampedValue}%</span>`:""}
4647
+ ${this.variant===ed.DEFAULT&&this.label?_`<span part="percentage">${this.clampedValue}%</span>`:""}
4645
4648
  </div>
4646
4649
  ${this.renderProgressbar()} ${this.renderHelperText()}
4647
4650
  `}
4648
- `}};Mo.styles=[...cr.styles,...Ov],p([u({type:String,reflect:!0})],Mo.prototype,"variant",2),p([u({type:String,reflect:!0})],Mo.prototype,"value",2),p([u({type:Boolean})],Mo.prototype,"error",2);var on=Mo;on.register(Ql);var gx=on;var Pv=B.constructTagName("progressspinner"),ee={RADIUS:20,CIRCUMFERENCE:2*Math.PI*20,STROKE_WIDTH:4,GAP_SIZE:7.5,ERROR_ICON_SIZE:2,SUCCESS_ICON_SIZE:3,ICON_LENGTH_UNIT:"em"},fh={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var vh=n=>{if(n===0)return 0;let o=n/100*ee.CIRCUMFERENCE-ee.GAP_SIZE;return Math.max(o,.1*n)},Dv=n=>{let o=ee.CIRCUMFERENCE-vh(n)-2*ee.GAP_SIZE;return n===0?ee.CIRCUMFERENCE:o<0?0:o},$v=n=>n===0?0:ee.GAP_SIZE*.5,Fv=(n,o)=>{let t=o+ee.GAP_SIZE*1.5;return n===0?0:t};var bx=V`
4651
+ `}};Mo.styles=[...cr.styles,...Dv],p([u({type:String,reflect:!0})],Mo.prototype,"variant",2),p([u({type:String,reflect:!0})],Mo.prototype,"value",2),p([u({type:Boolean})],Mo.prototype,"error",2);var on=Mo;on.register(td);var yx=on;var $v=V.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"},gh={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var bh=n=>{if(n===0)return 0;let o=n/100*ee.CIRCUMFERENCE-ee.GAP_SIZE;return Math.max(o,.1*n)},Fv=n=>{let o=ee.CIRCUMFERENCE-bh(n)-2*ee.GAP_SIZE;return n===0?ee.CIRCUMFERENCE:o<0?0:o},zv=n=>n===0?0:ee.GAP_SIZE*.5,Vv=(n,o)=>{let t=o+ee.GAP_SIZE*1.5;return n===0?0:t};var Ex=B`
4649
4652
  :host {
4650
4653
  --mdc-spinner-size: 3rem;
4651
4654
  --mdc-track-color: var(--mds-color-theme-control-indicator-inactive-normal);
@@ -4692,7 +4695,7 @@
4692
4695
  color: var(--mdc-progress-error-color);
4693
4696
  margin: calc(1 / 6 * var(--mdc-spinner-size));
4694
4697
  }
4695
- `,zv=[bx];var td=class extends on{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=vh(this.clampedValue),t=Dv(this.clampedValue),i=$v(this.clampedValue),a=Fv(this.clampedValue,o);return _`
4698
+ `,Bv=[Ex];var rd=class extends on{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=bh(this.clampedValue),t=Fv(this.clampedValue),i=zv(this.clampedValue),a=Vv(this.clampedValue,o);return _`
4696
4699
  <div
4697
4700
  part="spinner-container ${this.variant}"
4698
4701
  role="${et.PROGRESSBAR}"
@@ -4726,7 +4729,7 @@
4726
4729
  <mdc-icon
4727
4730
  part="error-icon"
4728
4731
  aria-label="${(o=this.dataAriaLabel)!=null?o:""}"
4729
- name="${fh.ERROR_LEGACY_FILLED}"
4732
+ name="${gh.ERROR_LEGACY_FILLED}"
4730
4733
  size="${ee.ERROR_ICON_SIZE}"
4731
4734
  length-unit="${ee.ICON_LENGTH_UNIT}"
4732
4735
  ></mdc-icon>
@@ -4734,11 +4737,11 @@
4734
4737
  <mdc-icon
4735
4738
  part="success-icon"
4736
4739
  aria-label="${(o=this.dataAriaLabel)!=null?o:""}"
4737
- name="${fh.CHECK_CIRCLE_BOLD}"
4740
+ name="${gh.CHECK_CIRCLE_BOLD}"
4738
4741
  size="${ee.SUCCESS_ICON_SIZE}"
4739
4742
  length-unit="${ee.ICON_LENGTH_UNIT}"
4740
4743
  ></mdc-icon>
4741
- `}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():_` ${this.renderProgressSpinner()}`}};td.styles=[...K.styles,...zv];var gh=td;gh.register(Pv);var yx=gh;var Ex=[bt,V`
4744
+ `}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():_` ${this.renderProgressSpinner()}`}};rd.styles=[...K.styles,...Bv];var yh=rd;yh.register($v);var Tx=yh;var xx=[bt,B`
4742
4745
  :host {
4743
4746
  display: flex;
4744
4747
  flex-direction: row;
@@ -4788,25 +4791,21 @@
4788
4791
  background-color: var(--mdc-radio-control-active-disabled-background);
4789
4792
  }
4790
4793
 
4791
- :host([readonly]) .mdc-radio__input,
4792
- :host([disabled]) .mdc-radio__input,
4793
- :host([disabled]) .mdc-label,
4794
- :host([readonly]) .mdc-label {
4794
+ :host([readonly])::part(radio-input) :host([disabled])::part(radio-input) :host([disabled])::part(label),
4795
+ :host([readonly])::part(label) {
4795
4796
  cursor: default;
4796
4797
  }
4797
4798
 
4798
- .mdc-label {
4799
+ :host::part(label) {
4799
4800
  cursor: pointer;
4800
4801
  word-break: break-word;
4801
4802
  white-space: normal;
4803
+ font-size: var(--mds-font-apps-body-midsize-regular-font-size);
4804
+ font-weight: var(--mds-font-apps-body-midsize-regular-font-weight);
4805
+ line-height: var(--mds-font-apps-body-midsize-regular-line-height);
4802
4806
  }
4803
4807
 
4804
- :host([disabled]) .mdc-radio__label-text,
4805
- :host([disabled]) .mdc-radio__help-text {
4806
- color: var(--mdc-radio-text-disabled-color);
4807
- }
4808
-
4809
- .mdc-radio__input {
4808
+ :host::part(radio-input) {
4810
4809
  position: absolute;
4811
4810
  opacity: 0;
4812
4811
  margin: 0;
@@ -4816,7 +4815,7 @@
4816
4815
  z-index: 2;
4817
4816
  }
4818
4817
 
4819
- .mdc-radio__label-container {
4818
+ :host::part(text-container) {
4820
4819
  display: flex;
4821
4820
  flex-direction: column;
4822
4821
  justify-content: center;
@@ -4826,7 +4825,7 @@
4826
4825
  :host::part(required-indicator) {
4827
4826
  display: none;
4828
4827
  }
4829
- `,...St(!0)],Vv=Ex;var Ps=class extends ge(Te(Ht(se))){constructor(){super(...arguments);this.checked=!1;this.readonly=!1;this.renderLabelAndHelperText=()=>this.label?_`<div class="mdc-radio__label-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:j}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.updateTabIndex(),this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}getAllRadiosWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-radio[name="${this.name}"]`))}formResetCallback(){this.getAllRadiosWithinSameGroup().forEach(i=>{i.checked=!1}),this.updateComplete.then(()=>{this.setActualFormValue()}).catch(i=>{this.onerror&&this.onerror(i)})}formStateRestoreCallback(t){this.value===t&&t!==""&&(this.checked=!0)}setComponentValidity(t){t?this.internals.setValidity({}):this.required&&!this.checked&&(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()),this.updateTabIndex()}setGroupValidity(t,i){this.updateComplete.then(()=>{t.forEach(a=>{a.setComponentValidity(i)})}).catch(a=>{this.onerror&&this.onerror(a)})}setActualFormValue(){let t="";this.checked?t=this.value?this.value:"on":t=null;let i=this.getAllRadiosWithinSameGroup();if(this.checked)this.setGroupValidity(i,!0);else{let a=i.some(b=>b.required),d=!!i.find(b=>b.checked),m=a&&!d;this.setGroupValidity(i,!m)}this.internals.setFormValue(t)}handleChange(){var a;if(this.disabled||this.readonly)return;this.getAllRadiosWithinSameGroup().forEach(d=>{var b;let m=(b=d.shadowRoot)==null?void 0:b.querySelector("input");m&&(d.checked=!1,m.checked=!1)}),this.checked=!0;let i=(a=this.shadowRoot)==null?void 0:a.querySelector("input");i&&(i.checked=!0),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}updateRadio(t,i){var a,d;(d=(a=t[i].shadowRoot)==null?void 0:a.querySelector("input"))==null||d.focus(),t[i].handleChange()}handleKeyDown(t){var m;if(this.disabled)return;let a=this.getAllRadiosWithinSameGroup().filter(b=>!b.disabled),d=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let b=(d+1)%a.length;this.updateRadio(a,b)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let b=(d-1+a.length)%a.length;this.updateRadio(a,b)}else t.key===Q.SPACE&&this.updateRadio(a,d);this.updateTabIndex(),t.key===Q.ENTER&&((m=this.form)==null||m.requestSubmit())}updateTabIndex(){let t=this.getAllRadiosWithinSameGroup(),i=t.find(d=>d.checked),a=t.find(d=>!d.disabled);t.forEach(d=>{var b;let m=(b=d.shadowRoot)==null?void 0:b.querySelector("input");m&&(m.tabIndex=-1,(d===i||!i&&d===a)&&(m.tabIndex=0))})}update(t){super.update(t),t.has("checked")&&this.setActualFormValue()}render(){var t;return _`
4828
+ `,...St(!0)],Uv=xx;var Ps=class extends ge(Te(Ht(se))){constructor(){super(...arguments);this.checked=!1;this.readonly=!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(i=>{i.checked=!1}),this.updateComplete.then(()=>{this.setActualFormValue()}).catch(i=>{this.onerror&&this.onerror(i)})}formStateRestoreCallback(t){this.value===t&&t!==""&&(this.checked=!0)}setComponentValidity(t){t?this.internals.setValidity({}):this.required&&!this.checked&&(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()),this.updateTabIndex()}setGroupValidity(t,i){this.updateComplete.then(()=>{t.forEach(a=>{a.setComponentValidity(i)})}).catch(a=>{this.onerror&&this.onerror(a)})}setActualFormValue(){let t="";this.checked?t=this.value?this.value:"on":t=null;let i=this.getAllRadiosWithinSameGroup();if(this.checked)this.setGroupValidity(i,!0);else{let a=i.some(b=>b.required),d=!!i.find(b=>b.checked),m=a&&!d;this.setGroupValidity(i,!m)}this.internals.setFormValue(t)}handleChange(){var a;if(this.disabled||this.readonly)return;this.getAllRadiosWithinSameGroup().forEach(d=>{var b;let m=(b=d.shadowRoot)==null?void 0:b.querySelector("input");m&&(d.checked=!1,m.checked=!1)}),this.checked=!0;let i=(a=this.shadowRoot)==null?void 0:a.querySelector("input");i&&(i.checked=!0),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}updateRadio(t,i){var a,d;(d=(a=t[i].shadowRoot)==null?void 0:a.querySelector("input"))==null||d.focus(),t[i].handleChange()}handleKeyDown(t){var m;if(this.disabled)return;let a=this.getAllRadiosWithinSameGroup().filter(b=>!b.disabled),d=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let b=(d+1)%a.length;this.updateRadio(a,b)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let b=(d-1+a.length)%a.length;this.updateRadio(a,b)}else t.key===Q.SPACE&&this.updateRadio(a,d);this.updateTabIndex(),t.key===Q.ENTER&&((m=this.form)==null||m.requestSubmit())}updateTabIndex(){let t=this.getAllRadiosWithinSameGroup(),i=t.find(d=>d.checked),a=t.find(d=>!d.disabled);t.forEach(d=>{var b;let m=(b=d.shadowRoot)==null?void 0:b.querySelector("input");m&&(m.tabIndex=-1,(d===i||!i&&d===a)&&(m.tabIndex=0))})}update(t){super.update(t),t.has("checked")&&this.setActualFormValue()}render(){var t;return _`
4830
4829
  <mdc-staticradio
4831
4830
  class="mdc-focus-ring"
4832
4831
  ?checked="${this.checked}"
@@ -4835,6 +4834,7 @@
4835
4834
  >
4836
4835
  <input
4837
4836
  id="${this.inputId}"
4837
+ part="radio-input"
4838
4838
  type="radio"
4839
4839
  role="${et.RADIO}"
4840
4840
  ?autofocus="${this.autofocus}"
@@ -4846,14 +4846,13 @@
4846
4846
  ?checked=${this.checked}
4847
4847
  ?readonly=${this.readonly}
4848
4848
  ?disabled=${this.disabled}
4849
- class="mdc-radio__input"
4850
4849
  aria-checked="${this.checked}"
4851
4850
  aria-describedby="${rt(this.helpText?Mt.HELPER_TEXT_ID:"")}"
4852
4851
  aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
4853
4852
  />
4854
4853
  </mdc-staticradio>
4855
4854
  ${this.renderLabelAndHelperText()}
4856
- `}};Ps.styles=[...se.styles,...Vv],p([u({type:Boolean,reflect:!0})],Ps.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Ps.prototype,"readonly",2);var bh=Ps;var ed=B.constructTagName("radio");bh.register(ed);var Tx=bh;var sn=class extends Bl{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var t,i,a,d,m;(m=(d=(a=(i=Array.from(((t=this.shadowRoot)==null?void 0:t.querySelectorAll("slot"))||[]))==null?void 0:i.flatMap(b=>b.assignedElements({flatten:!0})))==null?void 0:a.filter(b=>b.tagName.toLowerCase()===ed||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())})}};sn.styles=[...Bl.styles],p([u({type:String})],sn.prototype,"name",2);var yh=sn;var Bv=B.constructTagName("radiogroup");yh.register(Bv);var xx=yh;var Ax=V`
4855
+ `}};Ps.styles=[...se.styles,...Uv],p([u({type:Boolean,reflect:!0})],Ps.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Ps.prototype,"readonly",2);var Eh=Ps;var id=V.constructTagName("radio");Eh.register(id);var Ax=Eh;var sn=class extends Hl{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var t,i,a,d,m;(m=(d=(a=(i=Array.from(((t=this.shadowRoot)==null?void 0:t.querySelectorAll("slot"))||[]))==null?void 0:i.flatMap(b=>b.assignedElements({flatten:!0})))==null?void 0:a.filter(b=>b.tagName.toLowerCase()===id||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())})}};sn.styles=[...Hl.styles],p([u({type:String})],sn.prototype,"name",2);var Th=sn;var Hv=V.constructTagName("radiogroup");Th.register(Hv);var Sx=Th;var _x=B`
4857
4856
  :host::part(filters-container) {
4858
4857
  display: flex;
4859
4858
  gap: 0.25rem;
@@ -4878,7 +4877,7 @@
4878
4877
  position: relative;
4879
4878
  scrollbar-width: none;
4880
4879
  }
4881
- `,Uv=[Ax];var Hv=B.constructTagName("searchfield"),an={TYPE:Ss.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:Hl};var Ro=class extends Sr{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=an.ICON,this.trailingButton=an.CLOSE_BTN,this.helpText=void 0,this.helpTextType=void 0,this.required=void 0,this.validationMessage=void 0,this.prefixText=void 0}renderInputChips(){var t;this.hasInputChips=!!((t=this.inputChips)!=null&&t.length),this.inputChips&&this.inputChips.forEach(i=>{i.matches(an.INPUT_CHIP_TAG)||i.remove()})}firstUpdated(t){this.inputElement.onfocus=()=>{this.isInputFocused=!0},this.inputElement.onblur=()=>{this.isInputFocused=!1},super.firstUpdated(t)}clearInputText(){var t;super.clearInputText(),(t=this.inputChips)==null||t.forEach(i=>{i.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return _`
4880
+ `,Gv=[_x];var Yv=V.constructTagName("searchfield"),an={TYPE:Ss.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:Yl};var Ro=class extends Sr{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=an.ICON,this.trailingButton=an.CLOSE_BTN,this.helpText=void 0,this.helpTextType=void 0,this.required=void 0,this.validationMessage=void 0,this.prefixText=void 0}renderInputChips(){var t;this.hasInputChips=!!((t=this.inputChips)!=null&&t.length),this.inputChips&&this.inputChips.forEach(i=>{i.matches(an.INPUT_CHIP_TAG)||i.remove()})}firstUpdated(t){this.inputElement.onfocus=()=>{this.isInputFocused=!0},this.inputElement.onblur=()=>{this.isInputFocused=!1},super.firstUpdated(t)}clearInputText(){var t;super.clearInputText(),(t=this.inputChips)==null||t.forEach(i=>{i.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return _`
4882
4881
  ${this.renderLabelElement()}
4883
4882
  <div
4884
4883
  class="${Ls({"input-container":!0,"mdc-focus-ring":this.isInputFocused})}"
@@ -4898,7 +4897,7 @@
4898
4897
  </div>
4899
4898
  ${this.renderTrailingButton(this.hasInputChips)}
4900
4899
  </div>
4901
- `}};Ro.styles=[...Sr.styles,...Uv],p([Ot({slot:"filters"})],Ro.prototype,"inputChips",2),p([gt()],Ro.prototype,"isInputFocused",2),p([gt()],Ro.prototype,"hasInputChips",2);var Eh=Ro;Eh.register(Hv);var Sx=Eh;var Gv=B.constructTagName("select"),Th={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},rd="select-base-triggerid",Yv="select-listbox";var _x=V`
4900
+ `}};Ro.styles=[...Sr.styles,...Gv],p([Ot({slot:"filters"})],Ro.prototype,"inputChips",2),p([gt()],Ro.prototype,"isInputFocused",2),p([gt()],Ro.prototype,"hasInputChips",2);var xh=Ro;xh.register(Yv);var Ix=xh;var Wv=V.constructTagName("select"),Ah={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},od="select-base-triggerid",jv="select-listbox";var Cx=B`
4902
4901
  :host {
4903
4902
  --mdc-select-background-color: var(--mds-color-theme-background-primary-ghost);
4904
4903
  --mdc-select-background-color-hover: var(--mds-color-theme-background-primary-hover);
@@ -5019,18 +5018,18 @@
5019
5018
  :host([soft-disabled])::part(base-text) {
5020
5019
  color: var(--mdc-select-text-color-disabled);
5021
5020
  }
5022
- `,Wv=[_x,...St(!0)];var Ce=class extends Cs(Vi(ge(Te(Ht(se))))){constructor(){super();this.readonly=!1;this.placement=Yt.BOTTOM_START;this.boundary=_t.BOUNDARY;this.strategy=_t.STRATEGY;this.popoverZIndex=_t.Z_INDEX;this.displayPopover=!1;this.initialSelectedOption=null;this.itemsStore=new Vr(this,{isValidItem:this.isValidItem,onStoreUpdate:this.onStoreUpdate});this.addEventListener(Xt.MODIFIED,this.handleModifiedEvent)}connectedCallback(){super.connectedCallback(),this.loop="false",this.initialFocus=0}get navItems(){return this.itemsStore.items}attributeChangedCallback(t,i,a){var d;if(super.attributeChangedCallback(t,i,a),t==="value"&&a!==""&&a!==i&&a!==((d=this.selectedOption)==null?void 0:d.value)&&this.navItems.length){let m=this.getFirstSelectedOption(),b=this.getFirstOption(),C=this.navItems.find(W=>W.value===a),L=null;if(C)L=C;else if(this.placeholder)L=null;else if(b)L=b;else if(m)L=m;else return;this.updateComplete.then(()=>{this.setSelectedOption(L)}).catch(W=>{this.onerror&&this.onerror(W)})}}onStoreUpdate(t,i,a){switch(i){case"added":t.setAttribute("tabindex","-1");break;case"removed":{if(a===-1||t.tabIndex!==0)return;let d=a+1;if(d>=this.navItems.length&&(d=a-1),d===-1){this.displayPopover=!1,this.handleNativeInputFocus();return}this.resetTabIndexes(d);break}default:break}}isValidItem(t){return t.matches(`${pr}:not([disabled])`)}getFirstSelectedOption(){return this.navItems.find(t=>t.hasAttribute("selected"))}getFirstOption(){return this.navItems[0]}handleModifiedEvent(t){let i=t.target,a=this.getFirstSelectedOption();switch(t.detail.change){case"selected":{a?this.setSelectedOption(a):this.setSelectedOption(i);break}case"unselected":{a?this.setSelectedOption(a):this.setSelectedOption(this.placeholder?null:this.getFirstOption());break}case"enabled":{this.itemsStore.add(i);break}case"disabled":{this.itemsStore.delete(i);break}default:break}}async firstUpdated(t){await this.updateComplete;let i=this.getFirstSelectedOption();if(i)this.initialSelectedOption=i,this.setSelectedOption(i);else if(this.placeholder)this.placeholder&&this.setInputValidity();else{let a=this.getFirstOption();this.setSelectedOption(a),this.fireEvents()}this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}updated(t){super.updated(t),(t.has("disabled")||t.has("softDisabled")||t.has("readonly"))&&(this.disabled||this.softDisabled||this.readonly)&&(this.displayPopover=!1)}handleOptionsClick(t){let i=t.target;i&&i.tagName===pr.toUpperCase()&&!i.hasAttribute("disabled")&&!i.hasAttribute("soft-disabled")&&(this.setSelectedOption(i),this.displayPopover=!1,this.fireEvents())}setSelectedOption(t){var i,a,d;t!==this.selectedOption&&(this.updateSelectedInChildOptions(t),this.resetTabIndexes(this.navItems.indexOf(t)),this.selectedOption=t,this.value=(a=(i=this.selectedOption)==null?void 0:i.value)!=null?a:"",this.internals.setFormValue(this.value),(d=this.inputElement)==null||d.setAttribute("value",this.value),this.setInputValidity())}updateSelectedInChildOptions(t){t==null||t.setAttribute("selected","true"),this.navItems.forEach(i=>{i!==t&&i.removeAttribute("selected")})}fireEvents(){this.dispatchInput(this.selectedOption),this.dispatchChange(this.selectedOption)}setInputValidity(){var t,i;!this.selectedOption&&this.required&&this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(i=this.inputElement)==null||i.setCustomValidity(""),this.setValidity()}formResetCallback(){var i;let t=this.initialSelectedOption||null;((i=this.selectedOption)==null?void 0:i.value)!==(t==null?void 0:t.value)&&(this.setSelectedOption(t),this.fireEvents())}formStateRestoreCallback(t){var a;let i=this.navItems.find(d=>d.value===t||d.label===t);((a=this.selectedOption)==null?void 0:a.value)!==(i==null?void 0:i.value)&&(this.setSelectedOption(i||null),this.fireEvents())}dispatchChange(t){this.dispatchEvent(new CustomEvent("change",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}dispatchInput(t){this.dispatchEvent(new CustomEvent("input",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}handleClickCombobox(t){this.disabled||this.softDisabled||this.readonly||(this.displayPopover=!this.displayPopover,t.stopPropagation())}handleKeydownCombobox(t){if(!(this.disabled||this.softDisabled||this.readonly))switch(t.key){case Q.ARROW_DOWN:case Q.ARROW_UP:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case Q.ENTER:case Q.SPACE:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case Q.HOME:{this.displayPopover=!0,this.resetTabIndexAndSetFocus(0),t.preventDefault();break}case Q.END:{this.displayPopover=!0,this.resetTabIndexAndSetFocus(this.navItems.length-1),t.preventDefault();break}default:break}}handleNativeInputFocus(){this.visualCombobox.focus()}render(){var t,i,a,d,m,b;return _`
5021
+ `,Kv=[Cx,...St(!0)];var Ce=class extends Cs(Vi(ge(Te(Ht(se))))){constructor(){super();this.readonly=!1;this.placement=Yt.BOTTOM_START;this.boundary=_t.BOUNDARY;this.strategy=_t.STRATEGY;this.popoverZIndex=_t.Z_INDEX;this.displayPopover=!1;this.initialSelectedOption=null;this.itemsStore=new Vr(this,{isValidItem:this.isValidItem,onStoreUpdate:this.onStoreUpdate});this.addEventListener(Xt.MODIFIED,this.handleModifiedEvent)}connectedCallback(){super.connectedCallback(),this.loop="false",this.initialFocus=0}get navItems(){return this.itemsStore.items}attributeChangedCallback(t,i,a){var d;if(super.attributeChangedCallback(t,i,a),t==="value"&&a!==""&&a!==i&&a!==((d=this.selectedOption)==null?void 0:d.value)&&this.navItems.length){let m=this.getFirstSelectedOption(),b=this.getFirstOption(),C=this.navItems.find(W=>W.value===a),L=null;if(C)L=C;else if(this.placeholder)L=null;else if(b)L=b;else if(m)L=m;else return;this.updateComplete.then(()=>{this.setSelectedOption(L)}).catch(W=>{this.onerror&&this.onerror(W)})}}onStoreUpdate(t,i,a){switch(i){case"added":t.setAttribute("tabindex","-1");break;case"removed":{if(a===-1||t.tabIndex!==0)return;let d=a+1;if(d>=this.navItems.length&&(d=a-1),d===-1){this.displayPopover=!1,this.handleNativeInputFocus();return}this.resetTabIndexes(d);break}default:break}}isValidItem(t){return t.matches(`${pr}:not([disabled])`)}getFirstSelectedOption(){return this.navItems.find(t=>t.hasAttribute("selected"))}getFirstOption(){return this.navItems[0]}handleModifiedEvent(t){let i=t.target,a=this.getFirstSelectedOption();switch(t.detail.change){case"selected":{a?this.setSelectedOption(a):this.setSelectedOption(i);break}case"unselected":{a?this.setSelectedOption(a):this.setSelectedOption(this.placeholder?null:this.getFirstOption());break}case"enabled":{this.itemsStore.add(i);break}case"disabled":{this.itemsStore.delete(i);break}default:break}}async firstUpdated(t){await this.updateComplete;let i=this.getFirstSelectedOption();if(i)this.initialSelectedOption=i,this.setSelectedOption(i);else if(this.placeholder)this.placeholder&&this.setInputValidity();else{let a=this.getFirstOption();this.setSelectedOption(a),this.fireEvents()}this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}updated(t){super.updated(t),(t.has("disabled")||t.has("softDisabled")||t.has("readonly"))&&(this.disabled||this.softDisabled||this.readonly)&&(this.displayPopover=!1)}handleOptionsClick(t){let i=t.target;i&&i.tagName===pr.toUpperCase()&&!i.hasAttribute("disabled")&&!i.hasAttribute("soft-disabled")&&(this.setSelectedOption(i),this.displayPopover=!1,this.fireEvents())}setSelectedOption(t){var i,a,d;t!==this.selectedOption&&(this.updateSelectedInChildOptions(t),this.resetTabIndexes(this.navItems.indexOf(t)),this.selectedOption=t,this.value=(a=(i=this.selectedOption)==null?void 0:i.value)!=null?a:"",this.internals.setFormValue(this.value),(d=this.inputElement)==null||d.setAttribute("value",this.value),this.setInputValidity())}updateSelectedInChildOptions(t){t==null||t.setAttribute("selected","true"),this.navItems.forEach(i=>{i!==t&&i.removeAttribute("selected")})}fireEvents(){this.dispatchInput(this.selectedOption),this.dispatchChange(this.selectedOption)}setInputValidity(){var t,i;!this.selectedOption&&this.required&&this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(i=this.inputElement)==null||i.setCustomValidity(""),this.setValidity()}formResetCallback(){var i;let t=this.initialSelectedOption||null;((i=this.selectedOption)==null?void 0:i.value)!==(t==null?void 0:t.value)&&(this.setSelectedOption(t),this.fireEvents())}formStateRestoreCallback(t){var a;let i=this.navItems.find(d=>d.value===t||d.label===t);((a=this.selectedOption)==null?void 0:a.value)!==(i==null?void 0:i.value)&&(this.setSelectedOption(i||null),this.fireEvents())}dispatchChange(t){this.dispatchEvent(new CustomEvent("change",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}dispatchInput(t){this.dispatchEvent(new CustomEvent("input",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}handleClickCombobox(t){this.disabled||this.softDisabled||this.readonly||(this.displayPopover=!this.displayPopover,t.stopPropagation())}handleKeydownCombobox(t){if(!(this.disabled||this.softDisabled||this.readonly))switch(t.key){case Q.ARROW_DOWN:case Q.ARROW_UP:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case Q.ENTER:case Q.SPACE:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case Q.HOME:{this.displayPopover=!0,this.resetTabIndexAndSetFocus(0),t.preventDefault();break}case Q.END:{this.displayPopover=!0,this.resetTabIndexAndSetFocus(this.navItems.length-1),t.preventDefault();break}default:break}}handleNativeInputFocus(){this.visualCombobox.focus()}render(){var t,i,a,d,m,b;return _`
5023
5022
  ${this.renderLabel()}
5024
5023
  <div part="container">
5025
5024
  <div
5026
- id="${rd}"
5025
+ id="${od}"
5027
5026
  part="base-container"
5028
5027
  @click="${this.handleClickCombobox}"
5029
5028
  @keydown="${this.handleKeydownCombobox}"
5030
5029
  tabindex="${this.disabled?"-1":"0"}"
5031
5030
  class="${this.disabled?"":"mdc-focus-ring"}"
5032
5031
  role="${et.COMBOBOX}"
5033
- aria-controls="${Yv}"
5032
+ aria-controls="${jv}"
5034
5033
  aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
5035
5034
  aria-labelledby="${this.label?Mt.HEADING_ID:""}"
5036
5035
  aria-expanded="${this.displayPopover?"true":"false"}"
@@ -5057,7 +5056,7 @@
5057
5056
  <mdc-icon
5058
5057
  size="1"
5059
5058
  length-unit="rem"
5060
- name="${this.displayPopover?Th.ARROW_UP:Th.ARROW_DOWN}"
5059
+ name="${this.displayPopover?Ah.ARROW_UP:Ah.ARROW_DOWN}"
5061
5060
  ></mdc-icon>
5062
5061
  </div>
5063
5062
  </div>
@@ -5077,7 +5076,7 @@
5077
5076
  />
5078
5077
  <mdc-popover
5079
5078
  trigger="manual"
5080
- triggerid="${rd}"
5079
+ triggerid="${od}"
5081
5080
  interactive
5082
5081
  ?visible="${this.displayPopover}"
5083
5082
  role=""
@@ -5100,7 +5099,7 @@
5100
5099
  </mdc-popover>
5101
5100
  </div>
5102
5101
  ${this.renderHelperText()}
5103
- `}};Ce.styles=[...se.styles,...Wv],p([u({type:String})],Ce.prototype,"placeholder",2),p([u({type:Boolean})],Ce.prototype,"readonly",2),p([u({type:String,reflect:!0})],Ce.prototype,"placement",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Ce.prototype,"softDisabled",2),p([u({type:String,reflect:!0,attribute:"boundary"})],Ce.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"strategy"})],Ce.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],Ce.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],Ce.prototype,"backdropAppendTo",2),p([tr(`[id="${rd}"]`)],Ce.prototype,"visualCombobox",2),p([gt()],Ce.prototype,"selectedOption",2),p([gt()],Ce.prototype,"displayPopover",2);var xh=Ce;xh.register(Gv);var Ix=xh;var Ah=class extends K{connectedCallback(){super.connectedCallback(),this.role=et.LISTBOX}createRenderRoot(){return this}},Sh=Ah;var id=B.constructTagName("selectlistbox");Sh.register(id);var Cx=Sh;wo.register(Ui);var kx=wo;var jv=B.constructTagName("skeleton"),Kv={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},qv={VARIANT:Kv.RECTANGULAR};var wx=V`
5102
+ `}};Ce.styles=[...se.styles,...Kv],p([u({type:String})],Ce.prototype,"placeholder",2),p([u({type:Boolean})],Ce.prototype,"readonly",2),p([u({type:String,reflect:!0})],Ce.prototype,"placement",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Ce.prototype,"softDisabled",2),p([u({type:String,reflect:!0,attribute:"boundary"})],Ce.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"strategy"})],Ce.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],Ce.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],Ce.prototype,"backdropAppendTo",2),p([tr(`[id="${od}"]`)],Ce.prototype,"visualCombobox",2),p([gt()],Ce.prototype,"selectedOption",2),p([gt()],Ce.prototype,"displayPopover",2);var Sh=Ce;Sh.register(Wv);var kx=Sh;var _h=class extends K{connectedCallback(){super.connectedCallback(),this.role=et.LISTBOX}createRenderRoot(){return this}},Ih=_h;var sd=V.constructTagName("selectlistbox");Ih.register(sd);var wx=Ih;wo.register(Ui);var Nx=wo;var qv=V.constructTagName("skeleton"),Xv={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},Zv={VARIANT:Xv.RECTANGULAR};var Lx=B`
5104
5103
  :host {
5105
5104
  --mdc-skeleton-background-color: var(--mds-color-theme-background-skeleton-normal);
5106
5105
  --mdc-skeleton-height: 100%;
@@ -5137,7 +5136,7 @@
5137
5136
  ::slotted(*) {
5138
5137
  visibility: hidden;
5139
5138
  }
5140
- `,Xv=wx;var nn=class extends K{constructor(){super(...arguments);this.variant=qv.VARIANT}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}firstUpdated(t){super.firstUpdated(t),this.checkSlotContent()}checkSlotContent(){var i;let t=(i=this.shadowRoot)==null?void 0:i.querySelector("slot");t&&(t.assignedNodes().length>0?this.setAttribute("has-content",""):this.removeAttribute("has-content"))}render(){return _`<slot @slotchange=${this.checkSlotContent}></slot>`}};nn.styles=[...K.styles,Xv],p([u({type:String,reflect:!0})],nn.prototype,"variant",2);var _h=nn;_h.register(jv);var Nx=_h;var Lx=[bt,V`
5139
+ `,Qv=Lx;var nn=class extends K{constructor(){super(...arguments);this.variant=Zv.VARIANT}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}firstUpdated(t){super.firstUpdated(t),this.checkSlotContent()}checkSlotContent(){var i;let t=(i=this.shadowRoot)==null?void 0:i.querySelector("slot");t&&(t.assignedNodes().length>0?this.setAttribute("has-content",""):this.removeAttribute("has-content"))}render(){return _`<slot @slotchange=${this.checkSlotContent}></slot>`}};nn.styles=[...K.styles,Qv],p([u({type:String,reflect:!0})],nn.prototype,"variant",2);var Ch=nn;Ch.register(qv);var Mx=Ch;var Rx=[bt,B`
5141
5140
  :host {
5142
5141
  --mdc-spinner-default-color: var(--mds-color-theme-control-active-normal);
5143
5142
  --mdc-spinner-inverted-color: var(--mds-color-theme-inverted-control-active-normal);
@@ -5201,11 +5200,11 @@
5201
5200
  stroke-dashoffset: -292;
5202
5201
  }
5203
5202
  }
5204
- `],Zv=Lx;var Qv=B.constructTagName("spinner"),Mx={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},Rx={STANDALONE:"standalone",BUTTON:"button"},od={VARIANT:Rx.STANDALONE,SIZE:Mx.MIDSIZE,INVERTED:!1};var Wi=class extends K{constructor(){super(...arguments);this.inverted=od.INVERTED;this.size=od.SIZE;this.ariaLabel=null;this.variant=od.VARIANT}updated(t){super.updated(t),t.has("ariaLabel")&&(this.role=this.ariaLabel?et.IMG:null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return _`
5203
+ `],Jv=Rx;var tg=V.constructTagName("spinner"),Ox={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},Px={STANDALONE:"standalone",BUTTON:"button"},ad={VARIANT:Px.STANDALONE,SIZE:Ox.MIDSIZE,INVERTED:!1};var Wi=class extends K{constructor(){super(...arguments);this.inverted=ad.INVERTED;this.size=ad.SIZE;this.ariaLabel=null;this.variant=ad.VARIANT}updated(t){super.updated(t),t.has("ariaLabel")&&(this.role=this.ariaLabel?et.IMG:null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return _`
5205
5204
  <svg part="container" viewBox="0 0 100 100">
5206
5205
  <circle part="circle" cx="50" cy="50" r="46"></circle>
5207
5206
  </svg>
5208
- `}};Wi.styles=[...K.styles,...Zv],p([u({type:Boolean,reflect:!0})],Wi.prototype,"inverted",2),p([u({type:String,reflect:!0})],Wi.prototype,"size",2),p([u({type:String,attribute:"aria-label"})],Wi.prototype,"ariaLabel",2),p([u({type:String,reflect:!0})],Wi.prototype,"variant",2);var Ih=Wi;Ih.register(Qv);var Ox=Ih;$a.register(Mf);var Px=$a;var Dx={COMPLETE:"complete",INCOMPLETE:"incomplete"},Ch={VERTICAL:"vertical",HORIZONTAL:"horizontal"},kh={STATUS:Dx.INCOMPLETE,ORIENTATION:Ch.HORIZONTAL},Jv=B.constructTagName("stepperconnector");var tg=B.constructTagName("stepperitem"),wh={INLINE:"inline",STACKED:"stacked"},vi={COMPLETED:"completed",CURRENT:"current",ERROR_CURRENT:"error-current",ERROR_INCOMPLETE:"error-incomplete",NOT_STARTED:"not-started"},sd={COMPLETED:"check-bold",ERROR:"error-legacy-badge-filled",PENCIL:"edit-bold"},Nh={VARIANT:wh.INLINE,STATUS:vi.NOT_STARTED};var ad=B.constructTagName("stepper"),ln={ORIENTATION:Ch.HORIZONTAL,VARIANT:wh.INLINE};var nd=class{constructor(o,t){this.orientation=o,this.variant=t}};nd.context=ad;var ld=nd;var $x=V`
5207
+ `}};Wi.styles=[...K.styles,...Jv],p([u({type:Boolean,reflect:!0})],Wi.prototype,"inverted",2),p([u({type:String,reflect:!0})],Wi.prototype,"size",2),p([u({type:String,attribute:"aria-label"})],Wi.prototype,"ariaLabel",2),p([u({type:String,reflect:!0})],Wi.prototype,"variant",2);var kh=Wi;kh.register(tg);var Dx=kh;$a.register(Of);var $x=$a;var Fx={COMPLETE:"complete",INCOMPLETE:"incomplete"},wh={VERTICAL:"vertical",HORIZONTAL:"horizontal"},Nh={STATUS:Fx.INCOMPLETE,ORIENTATION:wh.HORIZONTAL},eg=V.constructTagName("stepperconnector");var rg=V.constructTagName("stepperitem"),Lh={INLINE:"inline",STACKED:"stacked"},vi={COMPLETED:"completed",CURRENT:"current",ERROR_CURRENT:"error-current",ERROR_INCOMPLETE:"error-incomplete",NOT_STARTED:"not-started"},nd={COMPLETED:"check-bold",ERROR:"error-legacy-badge-filled",PENCIL:"edit-bold"},Mh={VARIANT:Lh.INLINE,STATUS:vi.NOT_STARTED};var ld=V.constructTagName("stepper"),ln={ORIENTATION:wh.HORIZONTAL,VARIANT:Lh.INLINE};var dd=class{constructor(o,t){this.orientation=o,this.variant=t}};dd.context=ld;var cd=dd;var zx=B`
5209
5208
  :host {
5210
5209
  gap: 0.5rem;
5211
5210
  }
@@ -5242,7 +5241,7 @@
5242
5241
  padding-top: 0.9375rem;
5243
5242
  margin: 0 -3rem;
5244
5243
  }
5245
- `,eg=[bt,$x];var Ds=class extends rr{constructor(){super({context:ld.context,initialValue:new ld(ln.ORIENTATION,ln.VARIANT)});this.orientation=ln.ORIENTATION;this.variant=ln.VARIANT}connectedCallback(){super.connectedCallback(),this.role=et.LIST}static get Context(){return ld.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> `}};Ds.styles=[...K.styles,...eg],p([u({type:String,reflect:!0})],Ds.prototype,"orientation",2),p([u({type:String,reflect:!0})],Ds.prototype,"variant",2);var Oo=Ds;Oo.register(ad);var Fx=Oo;var zx=V`
5244
+ `,ig=[bt,zx];var Ds=class extends rr{constructor(){super({context:cd.context,initialValue:new cd(ln.ORIENTATION,ln.VARIANT)});this.orientation=ln.ORIENTATION;this.variant=ln.VARIANT}connectedCallback(){super.connectedCallback(),this.role=et.LIST}static get Context(){return cd.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> `}};Ds.styles=[...K.styles,...ig],p([u({type:String,reflect:!0})],Ds.prototype,"orientation",2),p([u({type:String,reflect:!0})],Ds.prototype,"variant",2);var Oo=Ds;Oo.register(ld);var Vx=Oo;var Bx=B`
5246
5245
  :host {
5247
5246
  --mdc-stepperconnector-complete-background: var(--mds-color-theme-outline-theme-normal);
5248
5247
  --mdc-stepperconnector-incomplete-background: var(--mds-color-theme-outline-primary-normal);
@@ -5277,7 +5276,7 @@
5277
5276
  border-left: 1px solid var(--mdc-stepperconnector-complete-background);
5278
5277
  }
5279
5278
  }
5280
- `,rg=[zx];var $s=class extends K{constructor(){super(...arguments);this.status=kh.STATUS;this.orientation=kh.ORIENTATION;this.stepperContext=ir.consume({host:this,context:Oo.Context})}updated(t){var a;super.updated(t);let i=(a=this.stepperContext)==null?void 0:a.value;!i||!i.orientation||(this.orientation=i.orientation)}render(){return _` <div part="connector"></div> `}};$s.styles=[...K.styles,...rg],p([u({type:String,reflect:!0})],$s.prototype,"status",2),p([u({type:String,reflect:!0})],$s.prototype,"orientation",2);var Lh=$s;Lh.register(Jv);var Vx=Lh;var Bx=V`
5279
+ `,og=[Bx];var $s=class extends K{constructor(){super(...arguments);this.status=Nh.STATUS;this.orientation=Nh.ORIENTATION;this.stepperContext=ir.consume({host:this,context:Oo.Context})}updated(t){var a;super.updated(t);let i=(a=this.stepperContext)==null?void 0:a.value;!i||!i.orientation||(this.orientation=i.orientation)}render(){return _` <div part="connector"></div> `}};$s.styles=[...K.styles,...og],p([u({type:String,reflect:!0})],$s.prototype,"status",2),p([u({type:String,reflect:!0})],$s.prototype,"orientation",2);var Rh=$s;Rh.register(eg);var Ux=Rh;var Hx=B`
5281
5280
  :host {
5282
5281
  gap: 0.5rem;
5283
5282
  border-radius: 0.25rem;
@@ -5434,7 +5433,7 @@
5434
5433
  :host([status='error-incomplete']:active) {
5435
5434
  --mdc-stepperitem-help-text-color: var(--mds-color-theme-text-error-active);
5436
5435
  }
5437
- `,ig=[bt,Bx,...St()];var gi=class extends Mr(K){constructor(){super();this.variant=Nh.VARIANT;this.status=Nh.STATUS;this.label="";this.stepperContext=ir.consume({host:this,context:Oo.Context});this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this))}updated(t){var a;super.updated(t);let i=(a=this.stepperContext)==null?void 0:a.value;!i||!i.variant||(this.variant=i.variant)}connectedCallback(){super.connectedCallback(),this.role=et.LISTITEM}handleKeyDown(t){[Q.ENTER,Q.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===Q.ENTER&&this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleKeyUp(t){[Q.ENTER,Q.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===Q.SPACE&&this.triggerClickEvent())}renderStatusIcon(){return this.status===vi.COMPLETED?_`<mdc-icon part="status-icon" name=${sd.COMPLETED} length-unit="rem" size="1"></mdc-icon>`:this.status===vi.ERROR_CURRENT||this.status===vi.CURRENT?_`<mdc-icon part="status-icon" name=${sd.PENCIL} length-unit="rem" size="1"></mdc-icon>`:this.stepNumber&&(this.status===vi.NOT_STARTED||this.status===vi.ERROR_INCOMPLETE)?_`<mdc-text part="step-number" tagname=${mt.SPAN} type=${st.BODY_MIDSIZE_REGULAR}
5436
+ `,sg=[bt,Hx,...St()];var gi=class extends Mr(K){constructor(){super();this.variant=Mh.VARIANT;this.status=Mh.STATUS;this.label="";this.stepperContext=ir.consume({host:this,context:Oo.Context});this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this))}updated(t){var a;super.updated(t);let i=(a=this.stepperContext)==null?void 0:a.value;!i||!i.variant||(this.variant=i.variant)}connectedCallback(){super.connectedCallback(),this.role=et.LISTITEM}handleKeyDown(t){[Q.ENTER,Q.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===Q.ENTER&&this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleKeyUp(t){[Q.ENTER,Q.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===Q.SPACE&&this.triggerClickEvent())}renderStatusIcon(){return this.status===vi.COMPLETED?_`<mdc-icon part="status-icon" name=${nd.COMPLETED} length-unit="rem" size="1"></mdc-icon>`:this.status===vi.ERROR_CURRENT||this.status===vi.CURRENT?_`<mdc-icon part="status-icon" name=${nd.PENCIL} length-unit="rem" size="1"></mdc-icon>`:this.stepNumber&&(this.status===vi.NOT_STARTED||this.status===vi.ERROR_INCOMPLETE)?_`<mdc-text part="step-number" tagname=${mt.SPAN} type=${st.BODY_MIDSIZE_REGULAR}
5438
5437
  >${this.stepNumber}</mdc-text
5439
5438
  >`:j}renderHelpText(){if(!this.helpText)return j;let t=_`<mdc-text
5440
5439
  part="help-text"
@@ -5442,7 +5441,7 @@
5442
5441
  type=${st.BODY_MIDSIZE_REGULAR}
5443
5442
  >${this.helpText}</mdc-text
5444
5443
  >`;return this.status===vi.ERROR_INCOMPLETE||this.status===vi.ERROR_CURRENT?_`<div part="help-text-container">
5445
- <mdc-icon part="help-icon" name=${sd.ERROR} length-unit="rem" size="1"></mdc-icon>
5444
+ <mdc-icon part="help-icon" name=${nd.ERROR} length-unit="rem" size="1"></mdc-icon>
5446
5445
  ${t}
5447
5446
  </div>`:t}render(){return _` <div part="status-container">${this.renderStatusIcon()}</div>
5448
5447
  <div part="label-container">
@@ -5450,7 +5449,7 @@
5450
5449
  >${this.label}</mdc-text
5451
5450
  >`:j}
5452
5451
  ${this.renderHelpText()}
5453
- </div>`}};gi.styles=[...K.styles,...ig],p([u({type:String,reflect:!0})],gi.prototype,"variant",2),p([u({type:String,reflect:!0})],gi.prototype,"status",2),p([u({type:String,reflect:!0})],gi.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"help-text"})],gi.prototype,"helpText",2),p([u({type:Number,reflect:!0,attribute:"step-number"})],gi.prototype,"stepNumber",2);var Mh=gi;Mh.register(tg);var Ux=Mh;var og=B.constructTagName("tab"),Rh={GLASS:"glass",LINE:"line",PILL:"pill"},dd={VARIANT:Rh.PILL,ACTIVE:!1};var Hx=[bt,V`
5452
+ </div>`}};gi.styles=[...K.styles,...sg],p([u({type:String,reflect:!0})],gi.prototype,"variant",2),p([u({type:String,reflect:!0})],gi.prototype,"status",2),p([u({type:String,reflect:!0})],gi.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"help-text"})],gi.prototype,"helpText",2),p([u({type:Number,reflect:!0,attribute:"step-number"})],gi.prototype,"stepNumber",2);var Oh=gi;Oh.register(rg);var Gx=Oh;var ag=V.constructTagName("tab"),Ph={GLASS:"glass",LINE:"line",PILL:"pill"},hd={VARIANT:Ph.PILL,ACTIVE:!1};var Yx=[bt,B`
5454
5453
  :host {
5455
5454
  --mdc-tab-content-gap: 0.5rem;
5456
5455
  --mdc-tab-height: 2rem;
@@ -5692,7 +5691,7 @@
5692
5691
  background-color: var(--mdc-tab-pill-active-background-color-disabled);
5693
5692
  color: var(--mdc-tab-pill-active-color-disabled);
5694
5693
  }
5695
- `,...St()],sg=Hx;var ji=class extends Kt(ie){constructor(){super(...arguments);this.active=dd.ACTIVE;this.variant=dd.VARIANT;this.handleTabActiveChange=t=>{let i=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:t},bubbles:!0});this.dispatchEvent(i)}}connectedCallback(){super.connectedCallback(),this.role=et.TAB,this.softDisabled=void 0,this.size=void 0,this.type=void 0,this.ariaStateKey="aria-selected",!this.tabId&&this.onerror&&this.onerror("tab id is required")}modifyIconName(t){this.iconName&&(t?(this.prevIconName=this.iconName,this.iconName=`${lo(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(t){this.setAttribute("variant",Object.values(Rh).includes(t)?t:dd.VARIANT)}setActive(t,i){super.setActive(t,i),this.modifyIconName(i)}executeAction(){this.handleTabActiveChange(this.active)}update(t){super.update(t),t.has("variant")&&this.setVariant(this.variant)}render(){return _`
5694
+ `,...St()],ng=Yx;var ji=class extends Kt(ie){constructor(){super(...arguments);this.active=hd.ACTIVE;this.variant=hd.VARIANT;this.handleTabActiveChange=t=>{let i=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:t},bubbles:!0});this.dispatchEvent(i)}}connectedCallback(){super.connectedCallback(),this.role=et.TAB,this.softDisabled=void 0,this.size=void 0,this.type=void 0,this.ariaStateKey="aria-selected",!this.tabId&&this.onerror&&this.onerror("tab id is required")}modifyIconName(t){this.iconName&&(t?(this.prevIconName=this.iconName,this.iconName=`${lo(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(t){this.setAttribute("variant",Object.values(Ph).includes(t)?t:hd.VARIANT)}setActive(t,i){super.setActive(t,i),this.modifyIconName(i)}executeAction(){this.handleTabActiveChange(this.active)}update(t){super.update(t),t.has("variant")&&this.setVariant(this.variant)}render(){return _`
5696
5695
  <div part="container">
5697
5696
  ${this.iconName?_` <mdc-icon name="${this.iconName}" size="1" length-unit="rem" part="icon"></mdc-icon>`:j}
5698
5697
  ${this.text?_` <mdc-text
@@ -5706,7 +5705,7 @@
5706
5705
  <slot name="chip"></slot>
5707
5706
  </div>
5708
5707
  <div part="indicator"></div>
5709
- `}};ji.styles=[...ie.styles,...sg],p([u({type:Boolean,reflect:!0})],ji.prototype,"active",2),p([u({type:String,reflect:!0})],ji.prototype,"text",2),p([u({type:String,reflect:!0})],ji.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"tab-id"})],ji.prototype,"tabId",2);var mr=ji;mr.register(og);var Gx=mr;var Yx=[Li,V`
5708
+ `}};ji.styles=[...ie.styles,...ng],p([u({type:Boolean,reflect:!0})],ji.prototype,"active",2),p([u({type:String,reflect:!0})],ji.prototype,"text",2),p([u({type:String,reflect:!0})],ji.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"tab-id"})],ji.prototype,"tabId",2);var mr=ji;mr.register(ag);var Wx=mr;var jx=[Li,B`
5710
5709
  :host {
5711
5710
  --mdc-tablist-focus-ring-outer-width: var(--mdc-focus-ring-outer-width);
5712
5711
  --mdc-tablist-gap: 0.5rem;
@@ -5736,7 +5735,7 @@
5736
5735
  :host mdc-button[prefix-icon='arrow-right-regular'] {
5737
5736
  margin-left: var(--mdc-tablist-arrow-button-margin);
5738
5737
  }
5739
- `],ag=[...Yx];var ng=B.constructTagName("tablist"),dn={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Fs={FORWARD:"forward",BACKWARD:"backward"};var cd=n=>n[0],Oh=n=>n[n.length-1],lg=(n,o)=>{let t=n.findIndex(i=>o===i)-1;return n[(t+n.length)%n.length]},dg=(n,o)=>{let t=n.findIndex(i=>o===i)+1;return n[t%n.length]},cg=(n,o)=>n.find(t=>t.tabId===o),Ph=n=>n.find(o=>o.active);var _r=class extends K{constructor(){super();this.showForwardArrowButton=!1;this.showBackwardArrowButton=!1;this.addEventListener("keydown",this.handleKeydown.bind(this)),this.addEventListener("activechange",this.handleNestedTabActiveChange)}isRtl(){var t;return((t=document.querySelector("html"))==null?void 0:t.getAttribute("dir"))==="rtl"||window.getComputedStyle(this).direction==="rtl"}async firstUpdated(){var a,d,m;if(!this.tabs)return;if(Array.isArray(this.tabs)&&this.tabs.length===0){this.onerror&&this.onerror("The tablist component must have at least one child tab");return}let t=this.tabs.map(b=>b.tabId);new Set(t).size!==this.tabs.length&&this.onerror&&this.onerror("The tabs inside the tab list must have unique tab ids"),new ResizeObserver(async()=>{await this.handleArrowButtonVisibility()}).observe(this),this.activeTabId||(this.activeTabId=(a=cd(this.tabs))==null?void 0:a.tabId),(d=this.tabsContainer)==null||d.addEventListener("focusin",this.handleFocus.bind(this)),(m=this.tabsContainer)==null||m.addEventListener("mousedown",this.handleMousedown.bind(this))}disconnectedCallback(){var t,i;super.disconnectedCallback(),(t=this.tabsContainer)==null||t.removeEventListener("focusin",this.handleFocus),(i=this.tabsContainer)==null||i.removeEventListener("mousedown",this.handleMousedown)}async update(t){if(super.update(t),t.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let i=cg(this.tabs,this.activeTabId);if(!(i instanceof mr))return;this.setActiveTab(i),t.get("activeTabId")?(this.fireTabChangeEvent(i),await this.focusTab(i)):this.resetTabIndexAndSetNewTabIndex(i)}}fireTabChangeEvent(t){let i=new CustomEvent("change",{detail:{tabId:t.tabId}});this.dispatchEvent(i)}async handleFocus(t){if(t.relatedTarget instanceof mr||!(t.target instanceof mr))return;let i=Ph(this.tabs||[]);i instanceof mr&&await this.focusTab(i)}handleMousedown(t){t.target instanceof mr&&t.preventDefault()}async handleNestedTabActiveChange(t){t.stopPropagation();let i=t.target;i instanceof mr&&(this.setActiveTab(i),await this.focusTab(i),this.activeTabId=i.tabId)}resetTabIndexAndSetNewTabIndex(t){var i;(i=this.tabs)==null||i.forEach(a=>{a.setAttribute("tabindex",a===t?"0":"-1")})}setActiveTab(t){var i;(i=this.tabs)==null||i.forEach(a=>{a===t?a.setAttribute("active",""):a.removeAttribute("active")})}async focusTab(t){t instanceof mr&&(t!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(t),t.focus()),await this.handleArrowButtonVisibility())}async handleKeydown(t){let i=t.target;if(!(i instanceof mr)||!this.tabs)return;let a=lg(this.tabs,i),d=dg(this.tabs,i),m=cd(this.tabs),b=Oh(this.tabs);switch(t.code){case dn.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?d:a);break;case dn.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?a:d);break;case dn.HOME:await this.focusTab(m);break;case dn.END:await this.focusTab(b);break;default:}}shouldShowArrowButton(t){return t===Fs.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton}async switchFocus(){var t,i;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(t=Ph(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((i=this.notFocusedArrowButton)==null||i.focus())}async handleArrowButtonVisibility(){var q,it,X;if(!this.tabs||!this.tabsContainer)return;let t=!1;((q=this.shadowRoot)==null?void 0:q.activeElement)instanceof co&&(t=!0);let i=cd(this.tabs),a=Oh(this.tabs),d=i.getBoundingClientRect().left,m=(it=this.tabsContainer)==null?void 0:it.getBoundingClientRect().left,b=a.getBoundingClientRect().right,C=(X=this.tabsContainer)==null?void 0:X.getBoundingClientRect().right,L=i.getBoundingClientRect().right,W=a.getBoundingClientRect().left;if(!this.isRtl()){d<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,b>C?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}L>C?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,W<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus()}async scrollTabs(t){var d;let i=this.isRtl()?-1:1,a=this.isRtl()?1:-1;(d=this.tabsContainer)==null||d.scrollBy({left:this.tabsContainer.clientWidth*(t===Fs.FORWARD?i:a),behavior:"instant"}),await this.handleArrowButtonVisibility()}render(){let t=this.isRtl()?"left":"right",i=this.isRtl()?"right":"left",a=d=>_` ${this.shouldShowArrowButton(d)?_`<mdc-button
5738
+ `],lg=[...jx];var dg=V.constructTagName("tablist"),dn={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Fs={FORWARD:"forward",BACKWARD:"backward"};var pd=n=>n[0],Dh=n=>n[n.length-1],cg=(n,o)=>{let t=n.findIndex(i=>o===i)-1;return n[(t+n.length)%n.length]},hg=(n,o)=>{let t=n.findIndex(i=>o===i)+1;return n[t%n.length]},pg=(n,o)=>n.find(t=>t.tabId===o),$h=n=>n.find(o=>o.active);var _r=class extends K{constructor(){super();this.showForwardArrowButton=!1;this.showBackwardArrowButton=!1;this.addEventListener("keydown",this.handleKeydown.bind(this)),this.addEventListener("activechange",this.handleNestedTabActiveChange)}isRtl(){var t;return((t=document.querySelector("html"))==null?void 0:t.getAttribute("dir"))==="rtl"||window.getComputedStyle(this).direction==="rtl"}async firstUpdated(){var a,d,m;if(!this.tabs)return;if(Array.isArray(this.tabs)&&this.tabs.length===0){this.onerror&&this.onerror("The tablist component must have at least one child tab");return}let t=this.tabs.map(b=>b.tabId);new Set(t).size!==this.tabs.length&&this.onerror&&this.onerror("The tabs inside the tab list must have unique tab ids"),new ResizeObserver(async()=>{await this.handleArrowButtonVisibility()}).observe(this),this.activeTabId||(this.activeTabId=(a=pd(this.tabs))==null?void 0:a.tabId),(d=this.tabsContainer)==null||d.addEventListener("focusin",this.handleFocus.bind(this)),(m=this.tabsContainer)==null||m.addEventListener("mousedown",this.handleMousedown.bind(this))}disconnectedCallback(){var t,i;super.disconnectedCallback(),(t=this.tabsContainer)==null||t.removeEventListener("focusin",this.handleFocus),(i=this.tabsContainer)==null||i.removeEventListener("mousedown",this.handleMousedown)}async update(t){if(super.update(t),t.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let i=pg(this.tabs,this.activeTabId);if(!(i instanceof mr))return;this.setActiveTab(i),t.get("activeTabId")?(this.fireTabChangeEvent(i),await this.focusTab(i)):this.resetTabIndexAndSetNewTabIndex(i)}}fireTabChangeEvent(t){let i=new CustomEvent("change",{detail:{tabId:t.tabId}});this.dispatchEvent(i)}async handleFocus(t){if(t.relatedTarget instanceof mr||!(t.target instanceof mr))return;let i=$h(this.tabs||[]);i instanceof mr&&await this.focusTab(i)}handleMousedown(t){t.target instanceof mr&&t.preventDefault()}async handleNestedTabActiveChange(t){t.stopPropagation();let i=t.target;i instanceof mr&&(this.setActiveTab(i),await this.focusTab(i),this.activeTabId=i.tabId)}resetTabIndexAndSetNewTabIndex(t){var i;(i=this.tabs)==null||i.forEach(a=>{a.setAttribute("tabindex",a===t?"0":"-1")})}setActiveTab(t){var i;(i=this.tabs)==null||i.forEach(a=>{a===t?a.setAttribute("active",""):a.removeAttribute("active")})}async focusTab(t){t instanceof mr&&(t!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(t),t.focus()),await this.handleArrowButtonVisibility())}async handleKeydown(t){let i=t.target;if(!(i instanceof mr)||!this.tabs)return;let a=cg(this.tabs,i),d=hg(this.tabs,i),m=pd(this.tabs),b=Dh(this.tabs);switch(t.code){case dn.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?d:a);break;case dn.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?a:d);break;case dn.HOME:await this.focusTab(m);break;case dn.END:await this.focusTab(b);break;default:}}shouldShowArrowButton(t){return t===Fs.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton}async switchFocus(){var t,i;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(t=$h(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((i=this.notFocusedArrowButton)==null||i.focus())}async handleArrowButtonVisibility(){var q,it,X;if(!this.tabs||!this.tabsContainer)return;let t=!1;((q=this.shadowRoot)==null?void 0:q.activeElement)instanceof co&&(t=!0);let i=pd(this.tabs),a=Dh(this.tabs),d=i.getBoundingClientRect().left,m=(it=this.tabsContainer)==null?void 0:it.getBoundingClientRect().left,b=a.getBoundingClientRect().right,C=(X=this.tabsContainer)==null?void 0:X.getBoundingClientRect().right,L=i.getBoundingClientRect().right,W=a.getBoundingClientRect().left;if(!this.isRtl()){d<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,b>C?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}L>C?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,W<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus()}async scrollTabs(t){var d;let i=this.isRtl()?-1:1,a=this.isRtl()?1:-1;(d=this.tabsContainer)==null||d.scrollBy({left:this.tabsContainer.clientWidth*(t===Fs.FORWARD?i:a),behavior:"instant"}),await this.handleArrowButtonVisibility()}render(){let t=this.isRtl()?"left":"right",i=this.isRtl()?"right":"left",a=d=>_` ${this.shouldShowArrowButton(d)?_`<mdc-button
5740
5739
  variant="tertiary"
5741
5740
  prefix-icon="arrow-${d===Fs.FORWARD?t:i}-regular"
5742
5741
  aria-label="Scroll tabs ${d===Fs.FORWARD?t:i}"
@@ -5745,7 +5744,7 @@
5745
5744
  <div part="container" role="${et.TABLIST}" tabindex="-1" aria-label="${rt(this.dataAriaLabel)}">
5746
5745
  <slot></slot>
5747
5746
  </div>
5748
- ${a(Fs.FORWARD)}`}};_r.styles=[...K.styles,...ag],p([u({type:String,attribute:"active-tab-id",reflect:!0})],_r.prototype,"activeTabId",2),p([u({type:String,attribute:"data-aria-label"})],_r.prototype,"dataAriaLabel",2),p([tr('[part="container"]')],_r.prototype,"tabsContainer",2),p([tr("mdc-button:not(:focus-visible)")],_r.prototype,"notFocusedArrowButton",2),p([Ot({selector:"mdc-tab"})],_r.prototype,"tabs",2),p([gt()],_r.prototype,"showForwardArrowButton",2),p([gt()],_r.prototype,"showBackwardArrowButton",2);var Dh=_r;Dh.register(ng);var Wx=Dh;var hg=B.constructTagName("textarea"),$h={HARD:"hard",SOFT:"soft"},pg={OFF:"off",ON:"on"},hd={CHARACTER_COUNTER_TYPE:st.BODY_MIDSIZE_REGULAR,ROWS:5,COLS:40,WRAP:$h.SOFT};var jx=[V`
5747
+ ${a(Fs.FORWARD)}`}};_r.styles=[...K.styles,...lg],p([u({type:String,attribute:"active-tab-id",reflect:!0})],_r.prototype,"activeTabId",2),p([u({type:String,attribute:"data-aria-label"})],_r.prototype,"dataAriaLabel",2),p([tr('[part="container"]')],_r.prototype,"tabsContainer",2),p([tr("mdc-button:not(:focus-visible)")],_r.prototype,"notFocusedArrowButton",2),p([Ot({selector:"mdc-tab"})],_r.prototype,"tabs",2),p([gt()],_r.prototype,"showForwardArrowButton",2),p([gt()],_r.prototype,"showBackwardArrowButton",2);var Fh=_r;Fh.register(dg);var Kx=Fh;var mg=V.constructTagName("textarea"),zh={HARD:"hard",SOFT:"soft"},ug={OFF:"off",ON:"on"},md={CHARACTER_COUNTER_TYPE:st.BODY_MIDSIZE_REGULAR,ROWS:5,COLS:40,WRAP:zh.SOFT};var qx=[B`
5749
5748
  :host {
5750
5749
  --mdc-textarea-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
5751
5750
  --mdc-textarea-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
@@ -5865,8 +5864,8 @@
5865
5864
  opacity: 0;
5866
5865
  pointer-events: none;
5867
5866
  }
5868
- `,...St(!0)],mg=jx;var xe=class extends ge(Te(Ht(cr))){constructor(){super(...arguments);this.readonly=!1;this.rows=hd.ROWS;this.cols=hd.COLS;this.wrap=$h.SOFT;this.autocapitalize=Ul.OFF;this.autocomplete=pg.OFF;this.characterLimitExceedingFired=!1}get textarea(){return this.inputElement}connectedCallback(){var t;super.connectedCallback(),this.value=((t=this.textContent)==null?void 0:t.trim())||this.value,this.updateComplete.then(()=>{this.textarea&&(this.textarea.checkValidity(),this.setTextareaValidity(),this.internals.setFormValue(this.textarea.value))}).catch(i=>{this.onerror&&this.onerror(i)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===Vt.ERROR&&this.helpText?this.textarea.setCustomValidity(this.helpText):this.textarea.setCustomValidity(""),this.setValidity()}formResetCallback(){this.value="",this.requestUpdate()}formStateRestoreCallback(t){this.value=t}handleValueChange(){this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(t=>{this.onerror&&this.onerror(t)})}updated(t){super.updated(t),t.has("value")&&(this.handleValueChange(),this.handleCharacterOverflowStateChange())}attributeChangedCallback(t,i,a){super.attributeChangedCallback(t,i,a),["maxlength","minlength","required"].includes(t)&&this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(m=>{this.onerror&&this.onerror(m)})}dispatchCharacterOverflowStateChangeEvent(){this.dispatchEvent(new CustomEvent("limitexceeded",{detail:{currentCharacterCount:this.value.length,maxCharacterLimit:this.maxCharacterLimit,value:this.value},bubbles:!0,composed:!0}))}handleCharacterOverflowStateChange(){this.maxCharacterLimit&&(this.value.length>this.maxCharacterLimit&&!this.characterLimitExceedingFired?(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!0):this.value.length<=this.maxCharacterLimit&&this.characterLimitExceedingFired&&(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!1))}updateValue(){this.value=this.textarea.value,this.internals.setFormValue(this.textarea.value)}onChange(t){this.updateValue();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}renderCharacterCounter(){return this.maxCharacterLimit?_`
5869
- <mdc-text part="character-counter" tagname="span" type=${hd.CHARACTER_COUNTER_TYPE}>
5867
+ `,...St(!0)],fg=qx;var xe=class extends ge(Te(Ht(cr))){constructor(){super(...arguments);this.readonly=!1;this.rows=md.ROWS;this.cols=md.COLS;this.wrap=zh.SOFT;this.autocapitalize=Gl.OFF;this.autocomplete=ug.OFF;this.characterLimitExceedingFired=!1}get textarea(){return this.inputElement}connectedCallback(){var t;super.connectedCallback(),this.value=((t=this.textContent)==null?void 0:t.trim())||this.value,this.updateComplete.then(()=>{this.textarea&&(this.textarea.checkValidity(),this.setTextareaValidity(),this.internals.setFormValue(this.textarea.value))}).catch(i=>{this.onerror&&this.onerror(i)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===Vt.ERROR&&this.helpText?this.textarea.setCustomValidity(this.helpText):this.textarea.setCustomValidity(""),this.setValidity()}formResetCallback(){this.value="",this.requestUpdate()}formStateRestoreCallback(t){this.value=t}handleValueChange(){this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(t=>{this.onerror&&this.onerror(t)})}updated(t){super.updated(t),t.has("value")&&(this.handleValueChange(),this.handleCharacterOverflowStateChange())}attributeChangedCallback(t,i,a){super.attributeChangedCallback(t,i,a),["maxlength","minlength","required"].includes(t)&&this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(m=>{this.onerror&&this.onerror(m)})}dispatchCharacterOverflowStateChangeEvent(){this.dispatchEvent(new CustomEvent("limitexceeded",{detail:{currentCharacterCount:this.value.length,maxCharacterLimit:this.maxCharacterLimit,value:this.value},bubbles:!0,composed:!0}))}handleCharacterOverflowStateChange(){this.maxCharacterLimit&&(this.value.length>this.maxCharacterLimit&&!this.characterLimitExceedingFired?(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!0):this.value.length<=this.maxCharacterLimit&&this.characterLimitExceedingFired&&(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!1))}updateValue(){this.value=this.textarea.value,this.internals.setFormValue(this.textarea.value)}onChange(t){this.updateValue();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}renderCharacterCounter(){return this.maxCharacterLimit?_`
5868
+ <mdc-text part="character-counter" tagname="span" type=${md.CHARACTER_COUNTER_TYPE}>
5870
5869
  ${this.value.length<10?`0${this.value.length}`:this.value.length}/${this.maxCharacterLimit}
5871
5870
  </mdc-text>
5872
5871
  `:j}renderTextareaFooter(){return!this.helpText&&!this.maxCharacterLimit?j:_` <div part="textarea-footer">${this.renderHelperText()} ${this.renderCharacterCounter()}</div> `}render(){var t;return _`
@@ -5897,7 +5896,7 @@
5897
5896
  ></textarea>
5898
5897
  </div>
5899
5898
  ${this.renderTextareaFooter()}
5900
- `}};xe.styles=[...cr.styles,...mg],p([u({type:String})],xe.prototype,"placeholder",2),p([u({type:Boolean})],xe.prototype,"readonly",2),p([u({type:Number})],xe.prototype,"rows",2),p([u({type:Number})],xe.prototype,"cols",2),p([u({type:String})],xe.prototype,"wrap",2),p([u({type:String})],xe.prototype,"autocapitalize",2),p([u({type:String})],xe.prototype,"autocomplete",2),p([u({type:String})],xe.prototype,"dirname",2),p([u({type:Number})],xe.prototype,"maxlength",2),p([u({type:Number})],xe.prototype,"minlength",2),p([u({type:Number,attribute:"max-character-limit"})],xe.prototype,"maxCharacterLimit",2),p([tr("textarea")],xe.prototype,"inputElement",2);var Fh=xe;Fh.register(hg);var Kx=Fh;var qx=[V`
5899
+ `}};xe.styles=[...cr.styles,...fg],p([u({type:String})],xe.prototype,"placeholder",2),p([u({type:Boolean})],xe.prototype,"readonly",2),p([u({type:Number})],xe.prototype,"rows",2),p([u({type:Number})],xe.prototype,"cols",2),p([u({type:String})],xe.prototype,"wrap",2),p([u({type:String})],xe.prototype,"autocapitalize",2),p([u({type:String})],xe.prototype,"autocomplete",2),p([u({type:String})],xe.prototype,"dirname",2),p([u({type:Number})],xe.prototype,"maxlength",2),p([u({type:Number})],xe.prototype,"minlength",2),p([u({type:Number,attribute:"max-character-limit"})],xe.prototype,"maxCharacterLimit",2),p([tr("textarea")],xe.prototype,"inputElement",2);var Vh=xe;Vh.register(mg);var Xx=Vh;var Zx=[B`
5901
5900
  :host {
5902
5901
  display: block;
5903
5902
  position: relative;
@@ -5911,7 +5910,7 @@
5911
5910
  :host::part(typewriter-hidden) {
5912
5911
  display: none;
5913
5912
  }
5914
- `],ug=qx;var fg=B.constructTagName("typewriter"),Po={VERY_SLOW:240,SLOW:120,NORMAL:60,FAST:20,VERY_FAST:1},Hr={TYPE:be.TYPE,TEXT_ELEMENT_TAGNAME:be.TEXT_ELEMENT_TAGNAME,CSS_PART_TEXT:"text",CSS_PART_CONTAINER:"container",CSS_PART_HIDDEN:"typewriter-hidden",CHILDREN:"",SPEED:"normal",CUSTOM_EVENT:{TYPING_COMPLETE:"typing-complete"}};var Ir=class extends K{constructor(){super(...arguments);this.type=Hr.TYPE;this.tagname=Hr.TEXT_ELEMENT_TAGNAME;this.speed=Hr.SPEED;this.maxQueueSize=Number.MAX_SAFE_INTEGER;this.displayedText="";this.originalText="";this.currentIndex=0;this.typingTimeout=null;this.pendingTimeouts=new Set;this.textChunkQueue=[];this.previousTextContent="";this.typingComplete=!0}connectedCallback(){super.connectedCallback(),this.createTimeout(()=>{this.captureAndProcessContent()},0)}disconnectedCallback(){this.clearTypingAnimation(),this.clearAllTimeouts(),super.disconnectedCallback()}createTimeout(t,i){let a=window.setTimeout(()=>{this.pendingTimeouts.delete(a),t()},i);return this.pendingTimeouts.add(a),a}clearAllTimeouts(){this.pendingTimeouts.forEach(t=>clearTimeout(t)),this.pendingTimeouts.clear()}clearQueue(){this.textChunkQueue.length=0}addTextChunk(t,i,a){t&&(this.maxQueueSize<Number.MAX_SAFE_INTEGER&&this.textChunkQueue.length>=this.maxQueueSize&&this.textChunkQueue.splice(0,this.textChunkQueue.length-this.maxQueueSize+1),this.textChunkQueue.push({text:t,speed:i,instant:a}),this.processChunkQueue())}addInstantTextChunk(t){this.addTextChunk(t,void 0,!0)}processChunkQueue(){this.textChunkQueue.length>0&&this.processNextChunk()}processNextChunk(){if(this.textChunkQueue.length===0)return;let t=this.textChunkQueue.shift(),i=this.speed;t.speed!==void 0&&(this.speed=t.speed),this.originalText+=t.text,this.typingComplete=!1,t.instant?(this.displayedText=this.originalText,this.currentIndex=this.originalText.length,this.typingComplete=!0,this.requestUpdate(),t.speed!==void 0&&(this.speed=i),this.textChunkQueue.length>0?this.createTimeout(()=>{this.processNextChunk()},0):this.dispatchEvent(new CustomEvent(Hr.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0}))):this.startTypingAnimation(()=>{t.speed!==void 0&&(this.speed=i),this.textChunkQueue.length>0?this.createTimeout(()=>{this.processNextChunk()},0):this.dispatchEvent(new CustomEvent(Hr.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0}))})}getTypingDelayMs(){let t=this.speed;switch(t){case"slow":return Po.SLOW;case"fast":return Po.FAST;case"very-slow":return Po.VERY_SLOW;case"very-fast":return Po.VERY_FAST;case"normal":return Po.NORMAL;default:{let i=parseInt(t,10);return Number.isNaN(i)?Po.NORMAL:Math.max(10,i)}}}updated(t){super.updated(t),t.has("speed")&&!this.typingComplete&&this.textChunkQueue.length===0&&this.startTypingAnimation()}captureAndProcessContent(){var a;let t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot");if(!t)return;let i=t.assignedNodes().filter(d=>d.nodeType===Node.TEXT_NODE||d.nodeType===Node.ELEMENT_NODE).map(d=>d.textContent||"").join("");i!==this.previousTextContent&&(this.displayedText===""||!i.includes(this.displayedText)?(this.originalText=i,this.displayedText="",this.currentIndex=0,this.typingComplete=!1):(this.originalText=i,this.typingComplete=!1),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{content:this.originalText,isTyping:!this.typingComplete}})),this.previousTextContent=i,this.startTypingAnimation())}startTypingAnimation(t){if(this.clearTypingAnimation(),this.displayedText===this.originalText){this.typingComplete=!0,t&&this.createTimeout(()=>{t()},0);return}this.currentIndex=this.displayedText.length,this.typingComplete=!1;let i=()=>{if(this.currentIndex<this.originalText.length){let a=this.originalText[this.currentIndex],d=this.displayedText+a;d!==this.displayedText&&(this.displayedText=d,this.requestUpdate()),this.currentIndex+=1,this.typingTimeout=window.setTimeout(i,this.getTypingDelayMs())}else this.clearTypingAnimation(),this.typingComplete=!0,t?this.createTimeout(()=>{t()},0):this.createTimeout(()=>{this.dispatchEvent(new CustomEvent(Hr.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0,detail:{finalContent:this.originalText}}))},0)};this.typingTimeout=window.setTimeout(i,this.getTypingDelayMs())}clearTypingAnimation(){this.typingTimeout!==null&&(clearTimeout(this.typingTimeout),this.typingTimeout=null)}handleSlotChange(){this.captureAndProcessContent()}render(){return _`
5913
+ `],vg=Zx;var gg=V.constructTagName("typewriter"),Po={VERY_SLOW:240,SLOW:120,NORMAL:60,FAST:20,VERY_FAST:1},Hr={TYPE:be.TYPE,TEXT_ELEMENT_TAGNAME:be.TEXT_ELEMENT_TAGNAME,CSS_PART_TEXT:"text",CSS_PART_CONTAINER:"container",CSS_PART_HIDDEN:"typewriter-hidden",CHILDREN:"",SPEED:"normal",CUSTOM_EVENT:{TYPING_COMPLETE:"typing-complete"}};var Ir=class extends K{constructor(){super(...arguments);this.type=Hr.TYPE;this.tagname=Hr.TEXT_ELEMENT_TAGNAME;this.speed=Hr.SPEED;this.maxQueueSize=Number.MAX_SAFE_INTEGER;this.displayedText="";this.originalText="";this.currentIndex=0;this.typingTimeout=null;this.pendingTimeouts=new Set;this.textChunkQueue=[];this.previousTextContent="";this.typingComplete=!0}connectedCallback(){super.connectedCallback(),this.createTimeout(()=>{this.captureAndProcessContent()},0)}disconnectedCallback(){this.clearTypingAnimation(),this.clearAllTimeouts(),super.disconnectedCallback()}createTimeout(t,i){let a=window.setTimeout(()=>{this.pendingTimeouts.delete(a),t()},i);return this.pendingTimeouts.add(a),a}clearAllTimeouts(){this.pendingTimeouts.forEach(t=>clearTimeout(t)),this.pendingTimeouts.clear()}clearQueue(){this.textChunkQueue.length=0}addTextChunk(t,i,a){t&&(this.maxQueueSize<Number.MAX_SAFE_INTEGER&&this.textChunkQueue.length>=this.maxQueueSize&&this.textChunkQueue.splice(0,this.textChunkQueue.length-this.maxQueueSize+1),this.textChunkQueue.push({text:t,speed:i,instant:a}),this.processChunkQueue())}addInstantTextChunk(t){this.addTextChunk(t,void 0,!0)}processChunkQueue(){this.textChunkQueue.length>0&&this.processNextChunk()}processNextChunk(){if(this.textChunkQueue.length===0)return;let t=this.textChunkQueue.shift(),i=this.speed;t.speed!==void 0&&(this.speed=t.speed),this.originalText+=t.text,this.typingComplete=!1,t.instant?(this.displayedText=this.originalText,this.currentIndex=this.originalText.length,this.typingComplete=!0,this.requestUpdate(),t.speed!==void 0&&(this.speed=i),this.textChunkQueue.length>0?this.createTimeout(()=>{this.processNextChunk()},0):this.dispatchEvent(new CustomEvent(Hr.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0}))):this.startTypingAnimation(()=>{t.speed!==void 0&&(this.speed=i),this.textChunkQueue.length>0?this.createTimeout(()=>{this.processNextChunk()},0):this.dispatchEvent(new CustomEvent(Hr.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0}))})}getTypingDelayMs(){let t=this.speed;switch(t){case"slow":return Po.SLOW;case"fast":return Po.FAST;case"very-slow":return Po.VERY_SLOW;case"very-fast":return Po.VERY_FAST;case"normal":return Po.NORMAL;default:{let i=parseInt(t,10);return Number.isNaN(i)?Po.NORMAL:Math.max(10,i)}}}updated(t){super.updated(t),t.has("speed")&&!this.typingComplete&&this.textChunkQueue.length===0&&this.startTypingAnimation()}captureAndProcessContent(){var a;let t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot");if(!t)return;let i=t.assignedNodes().filter(d=>d.nodeType===Node.TEXT_NODE||d.nodeType===Node.ELEMENT_NODE).map(d=>d.textContent||"").join("");i!==this.previousTextContent&&(this.displayedText===""||!i.includes(this.displayedText)?(this.originalText=i,this.displayedText="",this.currentIndex=0,this.typingComplete=!1):(this.originalText=i,this.typingComplete=!1),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{content:this.originalText,isTyping:!this.typingComplete}})),this.previousTextContent=i,this.startTypingAnimation())}startTypingAnimation(t){if(this.clearTypingAnimation(),this.displayedText===this.originalText){this.typingComplete=!0,t&&this.createTimeout(()=>{t()},0);return}this.currentIndex=this.displayedText.length,this.typingComplete=!1;let i=()=>{if(this.currentIndex<this.originalText.length){let a=this.originalText[this.currentIndex],d=this.displayedText+a;d!==this.displayedText&&(this.displayedText=d,this.requestUpdate()),this.currentIndex+=1,this.typingTimeout=window.setTimeout(i,this.getTypingDelayMs())}else this.clearTypingAnimation(),this.typingComplete=!0,t?this.createTimeout(()=>{t()},0):this.createTimeout(()=>{this.dispatchEvent(new CustomEvent(Hr.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0,detail:{finalContent:this.originalText}}))},0)};this.typingTimeout=window.setTimeout(i,this.getTypingDelayMs())}clearTypingAnimation(){this.typingTimeout!==null&&(clearTimeout(this.typingTimeout),this.typingTimeout=null)}handleSlotChange(){this.captureAndProcessContent()}render(){return _`
5915
5914
  <div part="${Hr.CSS_PART_CONTAINER}" aria-live="polite" aria-busy="${!this.typingComplete}">
5916
5915
  <mdc-text
5917
5916
  part="${Hr.CSS_PART_TEXT}"
@@ -5922,7 +5921,7 @@
5922
5921
  >
5923
5922
  <slot @slotchange=${this.handleSlotChange} part="${Hr.CSS_PART_HIDDEN}"></slot>
5924
5923
  </div>
5925
- `}};Ir.styles=[...K.styles,...ug],p([u({attribute:"type",reflect:!0,type:String})],Ir.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],Ir.prototype,"tagname",2),p([u({attribute:"speed",reflect:!0})],Ir.prototype,"speed",2),p([u({attribute:"max-queue-size",type:Number,reflect:!0})],Ir.prototype,"maxQueueSize",2),p([gt()],Ir.prototype,"displayedText",2),p([gt()],Ir.prototype,"originalText",2),p([gt()],Ir.prototype,"typingComplete",2);var zh=Ir;zh.register(fg);var Xx=zh;var pd=B.constructTagName("themeprovider"),Vh={THEMECLASS:"mds-theme-stable-darkWebex"};var md=class{constructor(o){this.themeclass=o}};md.context=pd;var ud=md;var Zx=V`
5924
+ `}};Ir.styles=[...K.styles,...vg],p([u({attribute:"type",reflect:!0,type:String})],Ir.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],Ir.prototype,"tagname",2),p([u({attribute:"speed",reflect:!0})],Ir.prototype,"speed",2),p([u({attribute:"max-queue-size",type:Number,reflect:!0})],Ir.prototype,"maxQueueSize",2),p([gt()],Ir.prototype,"displayedText",2),p([gt()],Ir.prototype,"originalText",2),p([gt()],Ir.prototype,"typingComplete",2);var Bh=Ir;Bh.register(gg);var Qx=Bh;var ud=V.constructTagName("themeprovider"),Uh={THEMECLASS:"mds-theme-stable-darkWebex"};var fd=class{constructor(o){this.themeclass=o}};fd.context=ud;var vd=fd;var Jx=B`
5926
5925
  :host {
5927
5926
  --mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
5928
5927
  --mdc-themeprovider-font-family: var(--mds-font-family-primary);
@@ -5949,7 +5948,7 @@
5949
5948
  * {
5950
5949
  scrollbar-color: var(--mdc-themeprovider-scrollbar-thumb-color) var(--mdc-themeprovider-scrollbar-track-color);
5951
5950
  }
5952
- `,vg=[Zx];var zs=class extends rr{constructor(){super({context:ud.context,initialValue:new ud(Vh.THEMECLASS)});this.themeclass=Vh.THEMECLASS}static get Context(){return ud.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(" "))}};zs.styles=[...rr.styles,...vg],p([gt()],zs.prototype,"currentThemeClass",2),p([u({type:String})],zs.prototype,"themeclass",2);var Bh=zs;Bh.register(pd);var Qx=Bh;var gg=B.constructTagName("toast"),cn={CUSTOM:"custom",SUCCESS:"success",WARNING:"warning",ERROR:"error"},fd={SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},ze={HEADER_TAG_NAME:"h2",CANCEL_ICON:"cancel-bold",ARROW_UP_BOLD:"arrow-up-bold",ARROW_DOWN_BOLD:"arrow-down-bold",PREFIX_ICON_SIZE:1.5,CLOSE_ICON_SIZE:er[20],BUTTON:Jr,PRIMARY_BUTTON:Dt.PRIMARY,SECONDARY_BUTTON:Dt.SECONDARY,TERTIARY_BUTTON:Dt.TERTIARY,VARIANT:cn.CUSTOM};var bg=n=>{switch(n){case cn.SUCCESS:return fd.SUCCESS_ICON_NAME;case cn.WARNING:return fd.WARNING_ICON_NAME;case cn.ERROR:return fd.ERROR_ICON_NAME;default:return null}};var Jx=V`
5951
+ `,bg=[Jx];var zs=class extends rr{constructor(){super({context:vd.context,initialValue:new vd(Uh.THEMECLASS)});this.themeclass=Uh.THEMECLASS}static get Context(){return vd.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(" "))}};zs.styles=[...rr.styles,...bg],p([gt()],zs.prototype,"currentThemeClass",2),p([u({type:String})],zs.prototype,"themeclass",2);var Hh=zs;Hh.register(ud);var tA=Hh;var yg=V.constructTagName("toast"),cn={CUSTOM:"custom",SUCCESS:"success",WARNING:"warning",ERROR:"error"},gd={SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},ze={HEADER_TAG_NAME:"h2",CANCEL_ICON:"cancel-bold",ARROW_UP_BOLD:"arrow-up-bold",ARROW_DOWN_BOLD:"arrow-down-bold",PREFIX_ICON_SIZE:1.5,CLOSE_ICON_SIZE:er[20],BUTTON:Jr,PRIMARY_BUTTON:Dt.PRIMARY,SECONDARY_BUTTON:Dt.SECONDARY,TERTIARY_BUTTON:Dt.TERTIARY,VARIANT:cn.CUSTOM};var Eg=n=>{switch(n){case cn.SUCCESS:return gd.SUCCESS_ICON_NAME;case cn.WARNING:return gd.WARNING_ICON_NAME;case cn.ERROR:return gd.ERROR_ICON_NAME;default:return null}};var eA=B`
5953
5952
  :host {
5954
5953
  --mdc-toast-background-color: var(--mds-color-theme-background-solid-primary-normal);
5955
5954
  --mdc-toast-border-color: var(--mds-color-theme-outline-primary-normal);
@@ -6034,7 +6033,7 @@
6034
6033
  mdc-text::part(text) {
6035
6034
  margin: 0;
6036
6035
  }
6037
- `,yg=[Jx];var ke=class extends os(K){constructor(){super(...arguments);this.variant=ze.VARIANT;this.headerTagName=ze.HEADER_TAG_NAME;this.ariaLabel=null;this.isDetailVisible=!1;this.hasDetailedSlot=!1;this.hasFooterButtons=""}closeToast(){let t=new CustomEvent("close",{bubbles:!0,composed:!0,detail:{id:this.id}});this.dispatchEvent(t)}toggleDetailVisibility(){this.isDetailVisible=!this.isDetailVisible}updateDetailedSlotPresence(){var t,i;this.hasDetailedSlot=(i=(t=this.detailedElements)==null?void 0:t.some(a=>{var d;return(d=a.textContent)==null?void 0:d.trim()}))!=null?i:!1}updateFooterButtonsPresence(){var t,i,a,d;this.hasFooterButtons=((i=(t=this.footerButtonPrimary)==null?void 0:t.length)!=null?i:0)>0||((d=(a=this.footerButtonSecondary)==null?void 0:a.length)!=null?d:0)>0||this.shouldRenderToggleButton()?"has-footer-buttons":""}firstUpdated(t){super.firstUpdated(t),this.updateDetailedSlotPresence()}renderIcon(t){return t?_`
6036
+ `,Tg=[eA];var ke=class extends os(K){constructor(){super(...arguments);this.variant=ze.VARIANT;this.headerTagName=ze.HEADER_TAG_NAME;this.ariaLabel=null;this.isDetailVisible=!1;this.hasDetailedSlot=!1;this.hasFooterButtons=""}closeToast(){let t=new CustomEvent("close",{bubbles:!0,composed:!0,detail:{id:this.id}});this.dispatchEvent(t)}toggleDetailVisibility(){this.isDetailVisible=!this.isDetailVisible}updateDetailedSlotPresence(){var t,i;this.hasDetailedSlot=(i=(t=this.detailedElements)==null?void 0:t.some(a=>{var d;return(d=a.textContent)==null?void 0:d.trim()}))!=null?i:!1}updateFooterButtonsPresence(){var t,i,a,d;this.hasFooterButtons=((i=(t=this.footerButtonPrimary)==null?void 0:t.length)!=null?i:0)>0||((d=(a=this.footerButtonSecondary)==null?void 0:a.length)!=null?d:0)>0||this.shouldRenderToggleButton()?"has-footer-buttons":""}firstUpdated(t){super.firstUpdated(t),this.updateDetailedSlotPresence()}renderIcon(t){return t?_`
6038
6037
  <mdc-icon name="${t}" size="${ze.PREFIX_ICON_SIZE}" part="toast-prefix-icon"></mdc-icon>
6039
6038
  `:j}shouldRenderToggleButton(){return this.hasDetailedSlot&&this.showMoreText&&this.showLessText}renderToggleDetailButton(){return this.shouldRenderToggleButton()?_`
6040
6039
  <mdc-button
@@ -6063,7 +6062,7 @@
6063
6062
  </div>
6064
6063
  </slot>`}render(){var t;return _`
6065
6064
  <div part="content-container">
6066
- ${this.variant===ze.VARIANT?_`<slot name="content-prefix"></slot>`:_`${this.renderIcon((t=bg(this.variant))!=null?t:"")}`}
6065
+ ${this.variant===ze.VARIANT?_`<slot name="content-prefix"></slot>`:_`${this.renderIcon((t=Eg(this.variant))!=null?t:"")}`}
6067
6066
  <div part="toast-content">
6068
6067
  ${this.renderHeader()}
6069
6068
  <slot name="toast-body-normal"></slot>
@@ -6081,16 +6080,13 @@
6081
6080
  ></mdc-button>
6082
6081
  </div>
6083
6082
  ${this.renderFooter()}
6084
- `}};ke.styles=[...K.styles,...yg],p([u({type:String,reflect:!0})],ke.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],ke.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],ke.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],ke.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],ke.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"show-more-text"})],ke.prototype,"showMoreText",2),p([u({type:String,reflect:!0,attribute:"show-less-text"})],ke.prototype,"showLessText",2),p([gt()],ke.prototype,"isDetailVisible",2),p([gt()],ke.prototype,"hasDetailedSlot",2),p([Ot({slot:"toast-body-detailed",flatten:!0})],ke.prototype,"detailedElements",2),p([gt()],ke.prototype,"hasFooterButtons",2);var Uh=ke;Uh.register(gg);var tA=Uh;var eA=[bt,V`
6083
+ `}};ke.styles=[...K.styles,...Tg],p([u({type:String,reflect:!0})],ke.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],ke.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],ke.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],ke.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],ke.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"show-more-text"})],ke.prototype,"showMoreText",2),p([u({type:String,reflect:!0,attribute:"show-less-text"})],ke.prototype,"showLessText",2),p([gt()],ke.prototype,"isDetailVisible",2),p([gt()],ke.prototype,"hasDetailedSlot",2),p([Ot({slot:"toast-body-detailed",flatten:!0})],ke.prototype,"detailedElements",2),p([gt()],ke.prototype,"hasFooterButtons",2);var Gh=ke;Gh.register(yg);var rA=Gh;var iA=[bt,B`
6085
6084
  :host {
6086
6085
  --mdc-toggle-width: 3rem;
6087
6086
  --mdc-toggle-height: 1.5rem;
6088
6087
  --mdc-toggle-width-compact: 2rem;
6089
6088
  --mdc-toggle-height-compact: 1rem;
6090
6089
 
6091
- --mdc-toggle-label-lineheight: var(--mds-font-lineheight-body-midsize);
6092
- --mdc-toggle-label-fontsize: var(--mds-font-size-body-midsize);
6093
- --mdc-toggle-label-fontweight: 400;
6094
6090
  --mdc-toggle-label-color-disabled: var(--mds-color-theme-text-primary-disabled);
6095
6091
  --mdc-toggle-help-text-color: var(--mds-color-theme-text-secondary-normal);
6096
6092
 
@@ -6125,30 +6121,30 @@
6125
6121
  height: var(--mdc-toggle-height);
6126
6122
  }
6127
6123
 
6128
- .mdc-label-text,
6129
- .mdc-help-text {
6130
- font-size: var(--mdc-toggle-label-fontsize);
6131
- font-weight: var(--mdc-toggle-label-fontweight);
6132
- line-height: var(--mdc-toggle-label-lineheight);
6124
+ :host::part(label-text),
6125
+ :host::part(help-text-container) {
6133
6126
  grid-column: 2;
6134
6127
  }
6135
6128
 
6136
- .mdc-label,
6129
+ :host::part(label),
6137
6130
  :host::part(toggle-input) {
6138
6131
  cursor: pointer;
6139
6132
  }
6140
6133
 
6141
- .mdc-label {
6134
+ :host::part(label) {
6142
6135
  word-break: break-word;
6143
6136
  white-space: normal;
6137
+ font-size: var(--mds-font-apps-body-midsize-regular-font-size);
6138
+ font-weight: var(--mds-font-apps-body-midsize-regular-font-weight);
6139
+ line-height: var(--mds-font-apps-body-midsize-regular-line-height);
6144
6140
  }
6145
6141
 
6146
- :host([disabled]) .mdc-label,
6142
+ :host([disabled])::part(label),
6147
6143
  :host([disabled])::part(toggle-input) {
6148
6144
  cursor: default;
6149
6145
  }
6150
6146
 
6151
- .mdc-help-text {
6147
+ :host::part(help-text) {
6152
6148
  color: var(--mdc-toggle-help-text-color);
6153
6149
  }
6154
6150
 
@@ -6168,11 +6164,11 @@
6168
6164
  background-color: var(--mdc-toggle-active-pressed-color);
6169
6165
  }
6170
6166
 
6171
- :host([disabled]) .mdc-label-text,
6172
- :host([disabled]) .mdc-help-text {
6167
+ :host([disabled])::part(label-text),
6168
+ :host([disabled])::part(help-text) {
6173
6169
  color: var(--mdc-toggle-label-color-disabled);
6174
6170
  }
6175
- `,...St(!0)],Eg=eA;var Vs=class extends ge(Te(Ht(cr))){constructor(){super(...arguments);this.checked=!1;this.size=ih.SIZE}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.checked=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}setFormValue(){let t=null;this.checked?t=this.value?this.value:"isActive":t=null,this.manageRequired(),this.internals.setFormValue(t)}toggleState(){this.disabled||(this.checked=!this.checked)}handleKeyDown(t){var i;t.key===Q.ENTER&&((i=this.form)==null||i.requestSubmit())}handleChange(t){this.toggleState();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}setToggleSize(t){this.setAttribute("size",Object.values(Qa).includes(t)?t:ih.SIZE)}update(t){super.update(t),t.has("checked")&&this.setFormValue(),t.has("size")&&this.setToggleSize(this.size)}render(){var t;return _`
6171
+ `,...St(!0)],xg=iA;var Vs=class extends ge(Te(Ht(cr))){constructor(){super(...arguments);this.checked=!1;this.size=sh.SIZE}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.checked=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}setFormValue(){let t=null;this.checked?t=this.value?this.value:"isActive":t=null,this.manageRequired(),this.internals.setFormValue(t)}toggleState(){this.disabled||(this.checked=!this.checked)}handleKeyDown(t){var i;t.key===Q.ENTER&&((i=this.form)==null||i.requestSubmit())}handleChange(t){this.toggleState();let i=t.constructor;this.dispatchEvent(new i(t.type,t))}setToggleSize(t){this.setAttribute("size",Object.values(Qa).includes(t)?t:sh.SIZE)}update(t){super.update(t),t.has("checked")&&this.setFormValue(),t.has("size")&&this.setToggleSize(this.size)}render(){var t;return _`
6176
6172
  <mdc-statictoggle
6177
6173
  ?checked="${this.checked}"
6178
6174
  ?disabled="${this.disabled}"
@@ -6199,10 +6195,10 @@
6199
6195
  />
6200
6196
  </mdc-statictoggle>
6201
6197
  ${this.renderLabel()} ${this.renderHelperText()}
6202
- `}};Vs.styles=[...cr.styles,...Eg],p([u({type:Boolean,reflect:!0})],Vs.prototype,"checked",2),p([u({type:String,reflect:!0})],Vs.prototype,"size",2);var Hh=Vs;Hh.register(vv);var rA=Hh;function Do(n,o,t){var d;let i=(d=t.initialDeps)!=null?d:[],a;return()=>{var m,b,C,L;let W;t.key&&((m=t.debug)!=null&&m.call(t))&&(W=Date.now());let q=n();if(!(q.length!==i.length||q.some((tt,lt)=>i[lt]!==tt)))return a;i=q;let X;if(t.key&&((b=t.debug)!=null&&b.call(t))&&(X=Date.now()),a=o(...q),t.key&&((C=t.debug)!=null&&C.call(t))){let tt=Math.round((Date.now()-W)*100)/100,lt=Math.round((Date.now()-X)*100)/100,dt=lt/16,vt=(At,wt)=>{for(At=String(At);At.length<wt;)At=" "+At;return At};console.info(`%c\u23F1 ${vt(lt,5)} /${vt(tt,5)} ms`,`
6198
+ `}};Vs.styles=[...cr.styles,...xg],p([u({type:Boolean,reflect:!0})],Vs.prototype,"checked",2),p([u({type:String,reflect:!0})],Vs.prototype,"size",2);var Yh=Vs;Yh.register(bv);var oA=Yh;function Do(n,o,t){var d;let i=(d=t.initialDeps)!=null?d:[],a;return()=>{var m,b,C,L;let W;t.key&&((m=t.debug)!=null&&m.call(t))&&(W=Date.now());let q=n();if(!(q.length!==i.length||q.some((tt,lt)=>i[lt]!==tt)))return a;i=q;let X;if(t.key&&((b=t.debug)!=null&&b.call(t))&&(X=Date.now()),a=o(...q),t.key&&((C=t.debug)!=null&&C.call(t))){let tt=Math.round((Date.now()-W)*100)/100,lt=Math.round((Date.now()-X)*100)/100,dt=lt/16,vt=(At,wt)=>{for(At=String(At);At.length<wt;)At=" "+At;return At};console.info(`%c\u23F1 ${vt(lt,5)} /${vt(tt,5)} ms`,`
6203
6199
  font-size: .6rem;
6204
6200
  font-weight: bold;
6205
- color: hsl(${Math.max(0,Math.min(120-120*dt,120))}deg 100% 31%);`,t==null?void 0:t.key)}return(L=t==null?void 0:t.onChange)==null||L.call(t,a),a}}function vd(n,o){if(n===void 0)throw new Error(`Unexpected undefined${o?`: ${o}`:""}`);return n}var Tg=(n,o)=>Math.abs(n-o)<1,xg=(n,o,t)=>{let i;return function(...a){n.clearTimeout(i),i=n.setTimeout(()=>o.apply(this,a),t)}};var iA=n=>n,oA=n=>{let o=Math.max(n.startIndex-n.overscan,0),t=Math.min(n.endIndex+n.overscan,n.count-1),i=[];for(let a=o;a<=t;a++)i.push(a);return i},Sg=(n,o)=>{let t=n.scrollElement;if(!t)return;let i=n.targetWindow;if(!i)return;let a=m=>{let{width:b,height:C}=m;o({width:Math.round(b),height:Math.round(C)})};if(a(t.getBoundingClientRect()),!i.ResizeObserver)return()=>{};let d=new i.ResizeObserver(m=>{let b=m[0];if(b!=null&&b.borderBoxSize){let C=b.borderBoxSize[0];if(C){a({width:C.inlineSize,height:C.blockSize});return}}a(t.getBoundingClientRect())});return d.observe(t,{box:"border-box"}),()=>{d.unobserve(t)}},Ag={passive:!0};var sA=typeof window>"u"?!0:"onscrollend"in window,_g=(n,o)=>{let t=n.scrollElement;if(!t)return;let i=n.targetWindow;if(!i)return;let a=0,d=n.options.useScrollendEvent&&sA?()=>{}:xg(i,()=>{o(a,!1)},n.options.isScrollingResetDelay),m=L=>()=>{let{horizontal:W,isRtl:q}=n.options;a=W?t.scrollLeft*(q&&-1||1):t.scrollTop,d(),o(a,L)},b=m(!0),C=m(!1);return C(),t.addEventListener("scroll",b,Ag),t.addEventListener("scrollend",C,Ag),()=>{t.removeEventListener("scroll",b),t.removeEventListener("scrollend",C)}};var aA=(n,o,t)=>{if(o!=null&&o.borderBoxSize){let i=o.borderBoxSize[0];if(i)return Math.round(i[t.options.horizontal?"inlineSize":"blockSize"])}return Math.round(n.getBoundingClientRect()[t.options.horizontal?"width":"height"])};var Ig=(n,{adjustments:o=0,behavior:t},i)=>{var a,d;let m=n+o;(d=(a=i.scrollElement)==null?void 0:a.scrollTo)==null||d.call(a,{[i.options.horizontal?"left":"top"]:m,behavior:t})},gd=class{constructor(o){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null,i=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(a=>{a.forEach(d=>{this._measureElement(d.target,d)})}));return{disconnect:()=>{var a;(a=i())==null||a.disconnect(),t=null},observe:a=>{var d;return(d=i())==null?void 0:d.observe(a,{box:"border-box"})},unobserve:a=>{var d;return(d=i())==null?void 0:d.unobserve(a)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([i,a])=>{typeof a>"u"&&delete t[i]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:iA,rangeExtractor:oA,onChange:()=>{},measureElement:aA,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...t}},this.notify=t=>{var i,a;(a=(i=this.options).onChange)==null||a.call(i,this,t)},this.maybeNotify=Do(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var a;var t;let i=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==i){if(this.cleanup(),!i){this.maybeNotify();return}this.scrollElement=i,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(a=(t=this.scrollElement)==null?void 0:t.window)!=null?a:null,this.elementsCache.forEach(d=>{this.observer.observe(d)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,d=>{this.scrollRect=d,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(d,m)=>{this.scrollAdjustments=0,this.scrollDirection=m?this.getScrollOffset()<d?"forward":"backward":null,this.scrollOffset=d,this.isScrolling=m,this.maybeNotify()}))}},this.getSize=()=>{var t;return this.options.enabled?(this.scrollRect=(t=this.scrollRect)!=null?t:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var t;return this.options.enabled?(this.scrollOffset=(t=this.scrollOffset)!=null?t:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(t,i)=>{let a=new Map,d=new Map;for(let m=i-1;m>=0;m--){let b=t[m];if(a.has(b.lane))continue;let C=d.get(b.lane);if(C==null||b.end>C.end?d.set(b.lane,b):b.end<C.end&&a.set(b.lane,!0),a.size===this.options.lanes)break}return d.size===this.options.lanes?Array.from(d.values()).sort((m,b)=>m.end===b.end?m.index-b.index:m.end-b.end)[0]:void 0},this.getMeasurementOptions=Do(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,i,a,d,m)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:i,scrollMargin:a,getItemKey:d,enabled:m}),{key:!1}),this.getMeasurements=Do(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:i,scrollMargin:a,getItemKey:d,enabled:m},b)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(W=>{this.itemSizeCache.set(W.key,W.size)}));let C=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let L=this.measurementsCache.slice(0,C);for(let W=C;W<t;W++){let q=d(W),it=this.options.lanes===1?L[W-1]:this.getFurthestMeasurement(L,W),X=it?it.end+this.options.gap:i+a,tt=b.get(q),lt=typeof tt=="number"?tt:this.options.estimateSize(W),dt=X+lt,vt=it?it.lane:W%this.options.lanes;L[W]={index:W,start:X,size:lt,end:dt,key:q,lane:vt}}return this.measurementsCache=L,L},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Do(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(t,i,a)=>this.range=t.length>0&&i>0?nA({measurements:t,outerSize:i,scrollOffset:a}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=Do(()=>{let t=null,i=null,a=this.calculateRange();return a&&(t=a.startIndex,i=a.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,i]},(t,i,a,d,m)=>d===null||m===null?[]:t({startIndex:d,endIndex:m,overscan:i,count:a}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let i=this.options.indexAttribute,a=t.getAttribute(i);return a?parseInt(a,10):(console.warn(`Missing attribute name '${i}={index}' on measured element.`),-1)},this._measureElement=(t,i)=>{let a=this.indexFromElement(t),d=this.measurementsCache[a];if(!d)return;let m=d.key,b=this.elementsCache.get(m);b!==t&&(b&&this.observer.unobserve(b),this.observer.observe(t),this.elementsCache.set(m,t)),t.isConnected&&this.resizeItem(a,this.options.measureElement(t,i,this))},this.resizeItem=(t,i)=>{var b;let a=this.measurementsCache[t];if(!a)return;let d=(b=this.itemSizeCache.get(a.key))!=null?b:a.size,m=i-d;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(a,m,this):a.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(a.index),this.itemSizeCache=new Map(this.itemSizeCache.set(a.key,i)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((i,a)=>{i.isConnected||(this.observer.unobserve(i),this.elementsCache.delete(a))});return}this._measureElement(t,void 0)},this.getVirtualItems=Do(()=>[this.getIndexes(),this.getMeasurements()],(t,i)=>{let a=[];for(let d=0,m=t.length;d<m;d++){let b=t[d],C=i[b];a.push(C)}return a},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let i=this.getMeasurements();if(i.length!==0)return vd(i[Cg(0,i.length-1,a=>vd(i[a]).start,t)])},this.getOffsetForAlignment=(t,i)=>{let a=this.getSize(),d=this.getScrollOffset();i==="auto"&&t>=d+a&&(i="end"),i==="end"&&(t-=a);let m=this.options.horizontal?"scrollWidth":"scrollHeight",C=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[m]:this.scrollElement[m]:0)-a;return Math.max(Math.min(C,t),0)},this.getOffsetForIndex=(t,i="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));let a=this.measurementsCache[t];if(!a)return;let d=this.getSize(),m=this.getScrollOffset();if(i==="auto")if(a.end>=m+d-this.options.scrollPaddingEnd)i="end";else if(a.start<=m+this.options.scrollPaddingStart)i="start";else return[m,i];let b=a.start-this.options.scrollPaddingStart+(a.size-d)/2;switch(i){case"center":return[this.getOffsetForAlignment(b,i),i];case"end":return[this.getOffsetForAlignment(a.end+this.options.scrollPaddingEnd,i),i];default:return[this.getOffsetForAlignment(a.start-this.options.scrollPaddingStart,i),i]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(t,{align:i="start",behavior:a}={})=>{this.cancelScrollToIndex(),a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,i),{adjustments:void 0,behavior:a})},this.scrollToIndex=(t,{align:i="auto",behavior:a}={})=>{t=Math.max(0,Math.min(t,this.options.count-1)),this.cancelScrollToIndex(),a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let d=this.getOffsetForIndex(t,i);if(!d)return;let[m,b]=d;this._scrollToOffset(m,{adjustments:void 0,behavior:a}),a!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(t))){let[L]=vd(this.getOffsetForIndex(t,b));Tg(L,this.getScrollOffset())||this.scrollToIndex(t,{align:b,behavior:a})}else this.scrollToIndex(t,{align:b,behavior:a})}))},this.scrollBy=(t,{behavior:i}={})=>{this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:i})},this.getTotalSize=()=>{var d;var t;let i=this.getMeasurements(),a;return i.length===0?a=this.options.paddingStart:a=this.options.lanes===1?(d=(t=i[i.length-1])==null?void 0:t.end)!=null?d:0:Math.max(...i.slice(-this.options.lanes).map(m=>m.end)),Math.max(a-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:i,behavior:a})=>{this.options.scrollToFn(t,{behavior:a,adjustments:i},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(o)}},Cg=(n,o,t,i)=>{for(;n<=o;){let a=(n+o)/2|0,d=t(a);if(d<i)n=a+1;else if(d>i)o=a-1;else return a}return n>0?n-1:0};function nA({measurements:n,outerSize:o,scrollOffset:t}){let i=n.length-1,d=Cg(0,i,b=>n[b].start,t),m=d;for(;m<i&&n[m].end<t+o;)m++;return{startIndex:d,endIndex:m}}var Gh=class{constructor(o,t){this.cleanup=()=>{},(this.host=o).addController(this);let i={...t,onChange:(a,d)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=t.onChange)==null||m.call(t,a,d)}};this.virtualizer=new gd(i)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},bd=class extends Gh{constructor(o,t){super(o,{observeElementRect:Sg,observeElementOffset:_g,scrollToFn:Ig,...t})}};var lA=[V`
6201
+ color: hsl(${Math.max(0,Math.min(120-120*dt,120))}deg 100% 31%);`,t==null?void 0:t.key)}return(L=t==null?void 0:t.onChange)==null||L.call(t,a),a}}function bd(n,o){if(n===void 0)throw new Error(`Unexpected undefined${o?`: ${o}`:""}`);return n}var Ag=(n,o)=>Math.abs(n-o)<1,Sg=(n,o,t)=>{let i;return function(...a){n.clearTimeout(i),i=n.setTimeout(()=>o.apply(this,a),t)}};var sA=n=>n,aA=n=>{let o=Math.max(n.startIndex-n.overscan,0),t=Math.min(n.endIndex+n.overscan,n.count-1),i=[];for(let a=o;a<=t;a++)i.push(a);return i},Ig=(n,o)=>{let t=n.scrollElement;if(!t)return;let i=n.targetWindow;if(!i)return;let a=m=>{let{width:b,height:C}=m;o({width:Math.round(b),height:Math.round(C)})};if(a(t.getBoundingClientRect()),!i.ResizeObserver)return()=>{};let d=new i.ResizeObserver(m=>{let b=m[0];if(b!=null&&b.borderBoxSize){let C=b.borderBoxSize[0];if(C){a({width:C.inlineSize,height:C.blockSize});return}}a(t.getBoundingClientRect())});return d.observe(t,{box:"border-box"}),()=>{d.unobserve(t)}},_g={passive:!0};var nA=typeof window>"u"?!0:"onscrollend"in window,Cg=(n,o)=>{let t=n.scrollElement;if(!t)return;let i=n.targetWindow;if(!i)return;let a=0,d=n.options.useScrollendEvent&&nA?()=>{}:Sg(i,()=>{o(a,!1)},n.options.isScrollingResetDelay),m=L=>()=>{let{horizontal:W,isRtl:q}=n.options;a=W?t.scrollLeft*(q&&-1||1):t.scrollTop,d(),o(a,L)},b=m(!0),C=m(!1);return C(),t.addEventListener("scroll",b,_g),t.addEventListener("scrollend",C,_g),()=>{t.removeEventListener("scroll",b),t.removeEventListener("scrollend",C)}};var lA=(n,o,t)=>{if(o!=null&&o.borderBoxSize){let i=o.borderBoxSize[0];if(i)return Math.round(i[t.options.horizontal?"inlineSize":"blockSize"])}return Math.round(n.getBoundingClientRect()[t.options.horizontal?"width":"height"])};var kg=(n,{adjustments:o=0,behavior:t},i)=>{var a,d;let m=n+o;(d=(a=i.scrollElement)==null?void 0:a.scrollTo)==null||d.call(a,{[i.options.horizontal?"left":"top"]:m,behavior:t})},yd=class{constructor(o){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null,i=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(a=>{a.forEach(d=>{this._measureElement(d.target,d)})}));return{disconnect:()=>{var a;(a=i())==null||a.disconnect(),t=null},observe:a=>{var d;return(d=i())==null?void 0:d.observe(a,{box:"border-box"})},unobserve:a=>{var d;return(d=i())==null?void 0:d.unobserve(a)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([i,a])=>{typeof a>"u"&&delete t[i]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:sA,rangeExtractor:aA,onChange:()=>{},measureElement:lA,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...t}},this.notify=t=>{var i,a;(a=(i=this.options).onChange)==null||a.call(i,this,t)},this.maybeNotify=Do(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var a;var t;let i=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==i){if(this.cleanup(),!i){this.maybeNotify();return}this.scrollElement=i,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(a=(t=this.scrollElement)==null?void 0:t.window)!=null?a:null,this.elementsCache.forEach(d=>{this.observer.observe(d)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,d=>{this.scrollRect=d,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(d,m)=>{this.scrollAdjustments=0,this.scrollDirection=m?this.getScrollOffset()<d?"forward":"backward":null,this.scrollOffset=d,this.isScrolling=m,this.maybeNotify()}))}},this.getSize=()=>{var t;return this.options.enabled?(this.scrollRect=(t=this.scrollRect)!=null?t:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var t;return this.options.enabled?(this.scrollOffset=(t=this.scrollOffset)!=null?t:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(t,i)=>{let a=new Map,d=new Map;for(let m=i-1;m>=0;m--){let b=t[m];if(a.has(b.lane))continue;let C=d.get(b.lane);if(C==null||b.end>C.end?d.set(b.lane,b):b.end<C.end&&a.set(b.lane,!0),a.size===this.options.lanes)break}return d.size===this.options.lanes?Array.from(d.values()).sort((m,b)=>m.end===b.end?m.index-b.index:m.end-b.end)[0]:void 0},this.getMeasurementOptions=Do(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,i,a,d,m)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:i,scrollMargin:a,getItemKey:d,enabled:m}),{key:!1}),this.getMeasurements=Do(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:i,scrollMargin:a,getItemKey:d,enabled:m},b)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(W=>{this.itemSizeCache.set(W.key,W.size)}));let C=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let L=this.measurementsCache.slice(0,C);for(let W=C;W<t;W++){let q=d(W),it=this.options.lanes===1?L[W-1]:this.getFurthestMeasurement(L,W),X=it?it.end+this.options.gap:i+a,tt=b.get(q),lt=typeof tt=="number"?tt:this.options.estimateSize(W),dt=X+lt,vt=it?it.lane:W%this.options.lanes;L[W]={index:W,start:X,size:lt,end:dt,key:q,lane:vt}}return this.measurementsCache=L,L},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Do(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(t,i,a)=>this.range=t.length>0&&i>0?dA({measurements:t,outerSize:i,scrollOffset:a}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=Do(()=>{let t=null,i=null,a=this.calculateRange();return a&&(t=a.startIndex,i=a.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,i]},(t,i,a,d,m)=>d===null||m===null?[]:t({startIndex:d,endIndex:m,overscan:i,count:a}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let i=this.options.indexAttribute,a=t.getAttribute(i);return a?parseInt(a,10):(console.warn(`Missing attribute name '${i}={index}' on measured element.`),-1)},this._measureElement=(t,i)=>{let a=this.indexFromElement(t),d=this.measurementsCache[a];if(!d)return;let m=d.key,b=this.elementsCache.get(m);b!==t&&(b&&this.observer.unobserve(b),this.observer.observe(t),this.elementsCache.set(m,t)),t.isConnected&&this.resizeItem(a,this.options.measureElement(t,i,this))},this.resizeItem=(t,i)=>{var b;let a=this.measurementsCache[t];if(!a)return;let d=(b=this.itemSizeCache.get(a.key))!=null?b:a.size,m=i-d;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(a,m,this):a.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(a.index),this.itemSizeCache=new Map(this.itemSizeCache.set(a.key,i)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((i,a)=>{i.isConnected||(this.observer.unobserve(i),this.elementsCache.delete(a))});return}this._measureElement(t,void 0)},this.getVirtualItems=Do(()=>[this.getIndexes(),this.getMeasurements()],(t,i)=>{let a=[];for(let d=0,m=t.length;d<m;d++){let b=t[d],C=i[b];a.push(C)}return a},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let i=this.getMeasurements();if(i.length!==0)return bd(i[wg(0,i.length-1,a=>bd(i[a]).start,t)])},this.getOffsetForAlignment=(t,i)=>{let a=this.getSize(),d=this.getScrollOffset();i==="auto"&&t>=d+a&&(i="end"),i==="end"&&(t-=a);let m=this.options.horizontal?"scrollWidth":"scrollHeight",C=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[m]:this.scrollElement[m]:0)-a;return Math.max(Math.min(C,t),0)},this.getOffsetForIndex=(t,i="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));let a=this.measurementsCache[t];if(!a)return;let d=this.getSize(),m=this.getScrollOffset();if(i==="auto")if(a.end>=m+d-this.options.scrollPaddingEnd)i="end";else if(a.start<=m+this.options.scrollPaddingStart)i="start";else return[m,i];let b=a.start-this.options.scrollPaddingStart+(a.size-d)/2;switch(i){case"center":return[this.getOffsetForAlignment(b,i),i];case"end":return[this.getOffsetForAlignment(a.end+this.options.scrollPaddingEnd,i),i];default:return[this.getOffsetForAlignment(a.start-this.options.scrollPaddingStart,i),i]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(t,{align:i="start",behavior:a}={})=>{this.cancelScrollToIndex(),a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,i),{adjustments:void 0,behavior:a})},this.scrollToIndex=(t,{align:i="auto",behavior:a}={})=>{t=Math.max(0,Math.min(t,this.options.count-1)),this.cancelScrollToIndex(),a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let d=this.getOffsetForIndex(t,i);if(!d)return;let[m,b]=d;this._scrollToOffset(m,{adjustments:void 0,behavior:a}),a!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(t))){let[L]=bd(this.getOffsetForIndex(t,b));Ag(L,this.getScrollOffset())||this.scrollToIndex(t,{align:b,behavior:a})}else this.scrollToIndex(t,{align:b,behavior:a})}))},this.scrollBy=(t,{behavior:i}={})=>{this.cancelScrollToIndex(),i==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:i})},this.getTotalSize=()=>{var d;var t;let i=this.getMeasurements(),a;return i.length===0?a=this.options.paddingStart:a=this.options.lanes===1?(d=(t=i[i.length-1])==null?void 0:t.end)!=null?d:0:Math.max(...i.slice(-this.options.lanes).map(m=>m.end)),Math.max(a-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:i,behavior:a})=>{this.options.scrollToFn(t,{behavior:a,adjustments:i},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(o)}},wg=(n,o,t,i)=>{for(;n<=o;){let a=(n+o)/2|0,d=t(a);if(d<i)n=a+1;else if(d>i)o=a-1;else return a}return n>0?n-1:0};function dA({measurements:n,outerSize:o,scrollOffset:t}){let i=n.length-1,d=wg(0,i,b=>n[b].start,t),m=d;for(;m<i&&n[m].end<t+o;)m++;return{startIndex:d,endIndex:m}}var Wh=class{constructor(o,t){this.cleanup=()=>{},(this.host=o).addController(this);let i={...t,onChange:(a,d)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=t.onChange)==null||m.call(t,a,d)}};this.virtualizer=new yd(i)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},Ed=class extends Wh{constructor(o,t){super(o,{observeElementRect:Ig,observeElementOffset:Cg,scrollToFn:kg,...t})}};var cA=[B`
6206
6202
  :host::part(scroll) {
6207
6203
  height: 100%;
6208
6204
  width: 100%;
@@ -6212,11 +6208,11 @@
6212
6208
  position: relative;
6213
6209
  width: 100%;
6214
6210
  }
6215
- `],kg=lA;var wg=B.constructTagName("virtualizedlist"),t6=B.constructTagName("virtualizedwrapper"),Ng={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0}};var Bs=class extends K{constructor(){super();this.virtualizerProps=Ng.VIRTUALIZER_PROPS;this.scrollElementRef=sl();this.virtualItems=[];this.virtualizerController=null,this.virtualizer=null,this.setlistdata=null,this.onscroll=null}update(t){super.update(t),t.get("virtualizerProps")&&this.setVirtualizerOptions()}firstUpdated(t){super.firstUpdated(t),this.setVirtualizerOptions()}setVirtualizerOptions(){var t;(t=this.virtualizer)==null||t.setOptions({...this.virtualizer.options,...this.virtualizerProps}),this.requestUpdate()}connectedCallback(){var t;this.virtualizerController=new bd(this,{count:this.virtualizerProps.count,estimateSize:(t=this.virtualizerProps)==null?void 0:t.estimateSize,getScrollElement:()=>this.scrollElementRef.value||null,...this.virtualizerProps}),super.connectedCallback()}getVirtualizedListWrapper(t){var b,C;this.virtualizer=t.getVirtualizer();let{getTotalSize:i,getVirtualItems:a,measureElement:d}=this.virtualizer,m=a();if(m!==this.virtualItems){this.virtualItems=m;let L=a(),W={position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${(C=(b=L[0])==null?void 0:b.start)!=null?C:0}px)`};this.setlistdata&&this.setlistdata({virtualItems:L,measureElement:d,listStyle:W})}return _`<div part="container" style="height: ${i()}px;">
6211
+ `],Ng=cA;var Lg=V.constructTagName("virtualizedlist"),l6=V.constructTagName("virtualizedwrapper"),Mg={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0}};var Bs=class extends K{constructor(){super();this.virtualizerProps=Mg.VIRTUALIZER_PROPS;this.scrollElementRef=sl();this.virtualItems=[];this.virtualizerController=null,this.virtualizer=null,this.setlistdata=null,this.onscroll=null}update(t){super.update(t),t.get("virtualizerProps")&&this.setVirtualizerOptions()}firstUpdated(t){super.firstUpdated(t),this.setVirtualizerOptions()}setVirtualizerOptions(){var t;(t=this.virtualizer)==null||t.setOptions({...this.virtualizer.options,...this.virtualizerProps}),this.requestUpdate()}connectedCallback(){var t;this.virtualizerController=new Ed(this,{count:this.virtualizerProps.count,estimateSize:(t=this.virtualizerProps)==null?void 0:t.estimateSize,getScrollElement:()=>this.scrollElementRef.value||null,...this.virtualizerProps}),super.connectedCallback()}getVirtualizedListWrapper(t){var b,C;this.virtualizer=t.getVirtualizer();let{getTotalSize:i,getVirtualItems:a,measureElement:d}=this.virtualizer,m=a();if(m!==this.virtualItems){this.virtualItems=m;let L=a(),W={position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${(C=(b=L[0])==null?void 0:b.start)!=null?C:0}px)`};this.setlistdata&&this.setlistdata({virtualItems:L,measureElement:d,listStyle:W})}return _`<div part="container" style="height: ${i()}px;">
6216
6212
  <slot></slot>
6217
6213
  </div>`}handleScroll(t){let i=t.constructor;this.dispatchEvent(new i(t.type,t))}render(){return _`<div ${al(this.scrollElementRef)} part="scroll" @scroll=${this.handleScroll}>
6218
6214
  ${this.virtualizerController?this.getVirtualizedListWrapper(this.virtualizerController):_``}
6219
- </div>`}};Bs.styles=[...K.styles,...kg],p([u({type:Object,attribute:"virtualizerprops"})],Bs.prototype,"virtualizerProps",2),p([u({type:Function,attribute:"setlistdata"})],Bs.prototype,"setlistdata",2);var Yh=Bs;Yh.register(wg);var dA=Yh;ie.register(fm);var Lg=B.constructTagName("combobox"),Wh={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},Mg="list";var jh="combobox-trigger-id";var hn=class{static dispatchComboboxEvent(o,t,i,a=!0){o.dispatchEvent(new CustomEvent(t,{detail:{value:i==null?void 0:i.value,label:i==null?void 0:i.label},composed:!0,bubbles:a}))}static onInputCombobox(o,t){this.dispatchComboboxEvent(o,"input",t)}static onChangeCombobox(o,t){this.dispatchComboboxEvent(o,"change",t)}};var cA=V`
6215
+ </div>`}};Bs.styles=[...K.styles,...Ng],p([u({type:Object,attribute:"virtualizerprops"})],Bs.prototype,"virtualizerProps",2),p([u({type:Function,attribute:"setlistdata"})],Bs.prototype,"setlistdata",2);var jh=Bs;jh.register(Lg);var hA=jh;ie.register(gm);var Rg=V.constructTagName("combobox"),Kh={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},Og="list";var qh="combobox-trigger-id";var hn=class{static dispatchComboboxEvent(o,t,i,a=!0){o.dispatchEvent(new CustomEvent(t,{detail:{value:i==null?void 0:i.value,label:i==null?void 0:i.label},composed:!0,bubbles:a}))}static onInputCombobox(o,t){this.dispatchComboboxEvent(o,"input",t)}static onChangeCombobox(o,t){this.dispatchComboboxEvent(o,"change",t)}};var pA=B`
6220
6216
  :host {
6221
6217
  --mdc-combobox-border-color: var(--mds-color-theme-outline-input-normal);
6222
6218
  --mdc-combobox-icon-color: var(--mds-color-theme-text-primary-normal);
@@ -6341,7 +6337,7 @@
6341
6337
  --mdc-icon-fill-color: ButtonText;
6342
6338
  }
6343
6339
  }
6344
- `,Rg=[cA];var ne=class extends Vi(ge(Te(Ht(se)))){constructor(){super();this.readonly=!1;this.placement=Yt.BOTTOM_START;this.boundary=_t.BOUNDARY;this.strategy=_t.STRATEGY;this.popoverZIndex=_t.Z_INDEX;this.isOpen=!1;this.filteredValue="";this.initialSelectedOption=null;this.handleUpdateError=t=>{this.onerror&&this.onerror(t)};this.handleDestroyEvent=t=>{let i=t.target;if(!this.isValidItem(i)||i.tabIndex!==0)return;let a=this.navItems.findIndex(m=>m===i);if(a===-1)return;let d=a+1;d>=this.navItems.length&&(d=a-1)};this.addEventListener(Xt.DESTROYED,this.handleDestroyEvent),this.itemsStore=new Vr(this,{isValidItem:this.isValidItem})}get navItems(){return this.itemsStore.items}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(this.handleUpdateError)}isValidItem(t){return t.matches(`${pr}:not([disabled])`)}openPopover(){this.isOpen=!0}closePopover(){this.isOpen=!1}toggleDropdown(){this.isOpen=!this.isOpen}compareOptionWithValue(t,i){return(t.getAttribute("label")||"").toLowerCase().startsWith(i==null?void 0:i.toLowerCase())}getFirstSelectedOption(){return this.navItems.find(t=>t.hasAttribute("selected"))}getVisibleOptions(t){return this.navItems.filter(i=>this.compareOptionWithValue(i,t))}setSelectedValue(t){this.value=(t==null?void 0:t.getAttribute("value"))||"",this.filteredValue=(t==null?void 0:t.getAttribute("label"))||"",this.internals.setFormValue(this.value),this.updateHiddenOptions(),this.updateSelectedOption(t),this.setInputValidity(),this.resetHelpText(),hn.onInputCombobox(this,t),hn.onChangeCombobox(this,t)}resetSelectedValue(){this.value="",this.internals.setFormValue(this.value),this.resetHelpText()}resetHelpText(){this.invalidCustomValueText&&this.helpText===this.invalidCustomValueText&&(this.helpText="",this.helpTextType=Vt.DEFAULT)}attributeChangedCallback(t,i,a){super.attributeChangedCallback(t,i,a),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(this.handleUpdateError)}async firstUpdated(t){await this.updateComplete,this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t);let i=this.getFirstSelectedOption();if(i)this.initialSelectedOption=i,this.setSelectedValue(i);else if(this.value){let a=this.navItems.find(d=>d.value===this.value);this.setSelectedValue(a)}else this.placeholder&&this.setInputValidity();this.navItems.forEach(a=>{a.setAttribute("tabindex","-1")})}updated(t){super.updated(t),(t.has("slottedListboxes")||t.has("isOpen"))&&(this.visualCombobox&&"ariaControlsElements"in this.visualCombobox&&(this.visualCombobox.ariaControlsElements=this.slottedListboxes),this.dropDownButton&&"ariaControlsElements"in this.dropDownButton&&(this.dropDownButton.ariaControlsElements=this.slottedListboxes)),(t.has("disabled")||t.has("readonly"))&&(this.disabled||this.readonly)&&this.closePopover()}setInputValidity(){var t,i;!this.value&&this.required?(this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(i=this.inputElement)==null||i.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){var i;let t=this.initialSelectedOption||null;this.setSelectedValue(t),this.filteredValue=(i=t==null?void 0:t.label)!=null?i:"",this.setInputValidity()}formStateRestoreCallback(t){let i=this.navItems.find(a=>a.value===t||a.label===t);this.setSelectedValue(i||null)}handleNativeInputFocus(){this.visualCombobox.focus()}resetFocusedOption(){this.navItems.filter(t=>t.hasAttribute("data-focused")).forEach(t=>this.updateOptionAttributes(t,!1))}updateSelectedOption(t){this.navItems.forEach(i=>{i.removeAttribute("selected")}),t==null||t.setAttribute("selected","")}updateOptionAttributes(t,i){t!==void 0&&(i?t.setAttribute("data-focused",""):t.removeAttribute("data-focused"),t.setAttribute("aria-selected",i.toString()))}handleBlurChange(){let t=this.getVisibleOptions(this.filteredValue),i=t.findIndex(a=>a.hasAttribute("data-focused"));if(i!==-1){this.setSelectedValue(t[i]),this.closePopover();return}i===-1&&this.filteredValue!==""&&this.invalidCustomValueText&&!this.getFirstSelectedOption()&&(this.helpText=this.invalidCustomValueText,this.helpTextType=Vt.ERROR),this.setInputValidity()}updateFocusAndScrollIntoView(t,i,a){var d;this.updateOptionAttributes(t[i],!1),this.updateOptionAttributes(t[a],!0),(d=t[a])==null||d.scrollIntoView({block:"nearest"})}handleInputKeydown(t){let i=this.getVisibleOptions(this.filteredValue),a=i.findIndex(d=>d.hasAttribute("data-focused"));switch(t.key){case Q.ARROW_DOWN:{this.openPopover();let d=i.length-1===a?0:a+1;this.updateFocusAndScrollIntoView(i,a,d),t.preventDefault();break}case Q.ARROW_UP:{this.openPopover();let d=a===-1||a===0?i.length-1:a-1;this.updateFocusAndScrollIntoView(i,a,d),t.preventDefault();break}case Q.ENTER:{if(a===-1)return;this.setSelectedValue(i[a]),this.isOpen===!0&&this.closePopover();break}case Q.ESCAPE:{a!==-1&&this.updateOptionAttributes(i[a],!1),i.length&&this.shouldDisplayPopover(i.length)?this.closePopover():(this.resetSelectedValue(),this.filteredValue="");break}case Q.TAB:{this.closePopover();break}case Q.HOME:case Q.END:{this.resetFocusedOption();break}default:break}}updateHiddenOptions(){this.navItems.forEach(t=>{this.compareOptionWithValue(t,this.filteredValue)?(t.removeAttribute("data-hidden"),this.showOptionGroupAndDivider(t)):(t.setAttribute("data-hidden",""),this.hideOptionGroupAndDivider(t))})}hideOptionGroupAndDivider(t){var i,a,d;(i=t.parentElement)!=null&&i.matches(rn)&&((a=Array.from(t.parentElement.children))==null?void 0:a.filter(b=>!b.hasAttribute("data-hidden"))).length===0&&(t.parentElement.setAttribute("data-hidden",""),(d=t.parentElement.nextElementSibling)!=null&&d.matches(Fa)&&t.parentElement.nextElementSibling.setAttribute("data-hidden",""))}showOptionGroupAndDivider(t){var i,a,d;(i=t.parentElement)!=null&&i.matches(rn)&&((a=Array.from(t.parentElement.children))==null?void 0:a.filter(b=>!b.hasAttribute("data-hidden"))).length>0&&(t.parentElement.removeAttribute("data-hidden"),(d=t.parentElement.nextElementSibling)!=null&&d.matches(Fa)&&t.parentElement.nextElementSibling.removeAttribute("data-hidden"))}handleInputChange(t){var i;this.filteredValue=t.target.value,this.resetSelectedValue(),this.resetFocusedOption(),this.updateHiddenOptions(),(i=this.getFirstSelectedOption())==null||i.removeAttribute("selected"),this.isOpen===!1&&this.openPopover()}handleOptionsClick(t){var a;let i=(a=t.target.closest(pr))!=null?a:null;i&&!i.hasAttribute("disabled")&&(this.setSelectedValue(i),this.closePopover(),this.updateComplete.then(()=>this.handleNativeInputFocus()).catch(this.handleUpdateError))}shouldDisplayPopover(t){return this.disabled||this.readonly?!1:t?this.isOpen:!!this.noResultText}renderNativeInput(){return _`
6340
+ `,Pg=[pA];var ne=class extends Vi(ge(Te(Ht(se)))){constructor(){super();this.readonly=!1;this.placement=Yt.BOTTOM_START;this.boundary=_t.BOUNDARY;this.strategy=_t.STRATEGY;this.popoverZIndex=_t.Z_INDEX;this.isOpen=!1;this.filteredValue="";this.initialSelectedOption=null;this.handleUpdateError=t=>{this.onerror&&this.onerror(t)};this.handleDestroyEvent=t=>{let i=t.target;if(!this.isValidItem(i)||i.tabIndex!==0)return;let a=this.navItems.findIndex(m=>m===i);if(a===-1)return;let d=a+1;d>=this.navItems.length&&(d=a-1)};this.addEventListener(Xt.DESTROYED,this.handleDestroyEvent),this.itemsStore=new Vr(this,{isValidItem:this.isValidItem})}get navItems(){return this.itemsStore.items}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(this.handleUpdateError)}isValidItem(t){return t.matches(`${pr}:not([disabled])`)}openPopover(){this.isOpen=!0}closePopover(){this.isOpen=!1}toggleDropdown(){this.isOpen=!this.isOpen}compareOptionWithValue(t,i){return(t.getAttribute("label")||"").toLowerCase().startsWith(i==null?void 0:i.toLowerCase())}getFirstSelectedOption(){return this.navItems.find(t=>t.hasAttribute("selected"))}getVisibleOptions(t){return this.navItems.filter(i=>this.compareOptionWithValue(i,t))}setSelectedValue(t){this.value=(t==null?void 0:t.getAttribute("value"))||"",this.filteredValue=(t==null?void 0:t.getAttribute("label"))||"",this.internals.setFormValue(this.value),this.updateHiddenOptions(),this.updateSelectedOption(t),this.setInputValidity(),this.resetHelpText(),hn.onInputCombobox(this,t),hn.onChangeCombobox(this,t)}resetSelectedValue(){this.value="",this.internals.setFormValue(this.value),this.resetHelpText()}resetHelpText(){this.invalidCustomValueText&&this.helpText===this.invalidCustomValueText&&(this.helpText="",this.helpTextType=Vt.DEFAULT)}attributeChangedCallback(t,i,a){super.attributeChangedCallback(t,i,a),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(this.handleUpdateError)}async firstUpdated(t){await this.updateComplete,this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t);let i=this.getFirstSelectedOption();if(i)this.initialSelectedOption=i,this.setSelectedValue(i);else if(this.value){let a=this.navItems.find(d=>d.value===this.value);this.setSelectedValue(a)}else this.placeholder&&this.setInputValidity();this.navItems.forEach(a=>{a.setAttribute("tabindex","-1")})}updated(t){super.updated(t),(t.has("slottedListboxes")||t.has("isOpen"))&&(this.visualCombobox&&"ariaControlsElements"in this.visualCombobox&&(this.visualCombobox.ariaControlsElements=this.slottedListboxes),this.dropDownButton&&"ariaControlsElements"in this.dropDownButton&&(this.dropDownButton.ariaControlsElements=this.slottedListboxes)),(t.has("disabled")||t.has("readonly"))&&(this.disabled||this.readonly)&&this.closePopover()}setInputValidity(){var t,i;!this.value&&this.required?(this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(i=this.inputElement)==null||i.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){var i;let t=this.initialSelectedOption||null;this.setSelectedValue(t),this.filteredValue=(i=t==null?void 0:t.label)!=null?i:"",this.setInputValidity()}formStateRestoreCallback(t){let i=this.navItems.find(a=>a.value===t||a.label===t);this.setSelectedValue(i||null)}handleNativeInputFocus(){this.visualCombobox.focus()}resetFocusedOption(){this.navItems.filter(t=>t.hasAttribute("data-focused")).forEach(t=>this.updateOptionAttributes(t,!1))}updateSelectedOption(t){this.navItems.forEach(i=>{i.removeAttribute("selected")}),t==null||t.setAttribute("selected","")}updateOptionAttributes(t,i){t!==void 0&&(i?t.setAttribute("data-focused",""):t.removeAttribute("data-focused"),t.setAttribute("aria-selected",i.toString()))}handleBlurChange(){let t=this.getVisibleOptions(this.filteredValue),i=t.findIndex(a=>a.hasAttribute("data-focused"));if(i!==-1){this.setSelectedValue(t[i]),this.closePopover();return}i===-1&&this.filteredValue!==""&&this.invalidCustomValueText&&!this.getFirstSelectedOption()&&(this.helpText=this.invalidCustomValueText,this.helpTextType=Vt.ERROR),this.setInputValidity()}updateFocusAndScrollIntoView(t,i,a){var d;this.updateOptionAttributes(t[i],!1),this.updateOptionAttributes(t[a],!0),(d=t[a])==null||d.scrollIntoView({block:"nearest"})}handleInputKeydown(t){let i=this.getVisibleOptions(this.filteredValue),a=i.findIndex(d=>d.hasAttribute("data-focused"));switch(t.key){case Q.ARROW_DOWN:{this.openPopover();let d=i.length-1===a?0:a+1;this.updateFocusAndScrollIntoView(i,a,d),t.preventDefault();break}case Q.ARROW_UP:{this.openPopover();let d=a===-1||a===0?i.length-1:a-1;this.updateFocusAndScrollIntoView(i,a,d),t.preventDefault();break}case Q.ENTER:{if(a===-1)return;this.setSelectedValue(i[a]),this.isOpen===!0&&this.closePopover();break}case Q.ESCAPE:{a!==-1&&this.updateOptionAttributes(i[a],!1),i.length&&this.shouldDisplayPopover(i.length)?this.closePopover():(this.resetSelectedValue(),this.filteredValue="");break}case Q.TAB:{this.closePopover();break}case Q.HOME:case Q.END:{this.resetFocusedOption();break}default:break}}updateHiddenOptions(){this.navItems.forEach(t=>{this.compareOptionWithValue(t,this.filteredValue)?(t.removeAttribute("data-hidden"),this.showOptionGroupAndDivider(t)):(t.setAttribute("data-hidden",""),this.hideOptionGroupAndDivider(t))})}hideOptionGroupAndDivider(t){var i,a,d;(i=t.parentElement)!=null&&i.matches(rn)&&((a=Array.from(t.parentElement.children))==null?void 0:a.filter(b=>!b.hasAttribute("data-hidden"))).length===0&&(t.parentElement.setAttribute("data-hidden",""),(d=t.parentElement.nextElementSibling)!=null&&d.matches(Fa)&&t.parentElement.nextElementSibling.setAttribute("data-hidden",""))}showOptionGroupAndDivider(t){var i,a,d;(i=t.parentElement)!=null&&i.matches(rn)&&((a=Array.from(t.parentElement.children))==null?void 0:a.filter(b=>!b.hasAttribute("data-hidden"))).length>0&&(t.parentElement.removeAttribute("data-hidden"),(d=t.parentElement.nextElementSibling)!=null&&d.matches(Fa)&&t.parentElement.nextElementSibling.removeAttribute("data-hidden"))}handleInputChange(t){var i;this.filteredValue=t.target.value,this.resetSelectedValue(),this.resetFocusedOption(),this.updateHiddenOptions(),(i=this.getFirstSelectedOption())==null||i.removeAttribute("selected"),this.isOpen===!1&&this.openPopover()}handleOptionsClick(t){var a;let i=(a=t.target.closest(pr))!=null?a:null;i&&!i.hasAttribute("disabled")&&(this.setSelectedValue(i),this.closePopover(),this.updateComplete.then(()=>this.handleNativeInputFocus()).catch(this.handleUpdateError))}shouldDisplayPopover(t){return this.disabled||this.readonly?!1:t?this.isOpen:!!this.noResultText}renderNativeInput(){return _`
6345
6341
  <input
6346
6342
  id="${this.inputId}"
6347
6343
  name="${this.name}"
@@ -6373,7 +6369,7 @@
6373
6369
  @input=${this.handleInputChange}
6374
6370
  @keydown=${this.handleInputKeydown}
6375
6371
  @blur="${this.handleBlurChange}"
6376
- aria-autocomplete="${Mg}"
6372
+ aria-autocomplete="${Og}"
6377
6373
  aria-describedby="${rt(this.helpText?Mt.HELPER_TEXT_ID:"")}"
6378
6374
  aria-disabled="${this.disabled?"true":"false"}"
6379
6375
  aria-expanded="${this.isOpen?"true":"false"}"
@@ -6386,7 +6382,7 @@
6386
6382
  />
6387
6383
  `}renderNoResultsText(t){return t===0&&this.noResultText?_`<mdc-listitem part="no-result-text" tabindex="-1" role="" label="${this.noResultText}"></mdc-listitem>`:j}render(){var i;let t=this.getVisibleOptions(this.filteredValue);return _`
6388
6384
  ${this.renderLabel()}
6389
- <div part="combobox__base" id="${jh}">
6385
+ <div part="combobox__base" id="${qh}">
6390
6386
  ${this.renderNativeInput()}
6391
6387
  <mdc-input
6392
6388
  @click="${()=>this.toggleDropdown()}"
@@ -6406,7 +6402,7 @@
6406
6402
  >
6407
6403
  <mdc-icon
6408
6404
  part="combobox__button-icon"
6409
- name="${this.shouldDisplayPopover(t.length)?Wh.ARROW_UP:Wh.ARROW_DOWN}"
6405
+ name="${this.shouldDisplayPopover(t.length)?Kh.ARROW_UP:Kh.ARROW_DOWN}"
6410
6406
  size="1"
6411
6407
  length-unit="rem"
6412
6408
  ></mdc-icon>
@@ -6428,7 +6424,7 @@
6428
6424
  size
6429
6425
  strategy="${rt(this.strategy)}"
6430
6426
  trigger="${di.MANUAL}"
6431
- triggerid="${jh}"
6427
+ triggerid="${qh}"
6432
6428
  z-index="${rt(this.popoverZIndex)}"
6433
6429
  >
6434
6430
  ${this.renderNoResultsText(t.length)}
@@ -6436,7 +6432,7 @@
6436
6432
  </mdc-popover>
6437
6433
  </div>
6438
6434
  ${this.renderHelperText()}
6439
- `}};ne.styles=[...se.styles,...Sr.styles,...Rg],p([u({type:String})],ne.prototype,"placeholder",2),p([u({type:Boolean})],ne.prototype,"readonly",2),p([u({type:String,reflect:!0})],ne.prototype,"placement",2),p([u({type:String,attribute:"no-result-text",reflect:!0})],ne.prototype,"noResultText",2),p([u({type:String,attribute:"invalid-custom-value-text",reflect:!0})],ne.prototype,"invalidCustomValueText",2),p([u({type:String,reflect:!0})],ne.prototype,"boundary",2),p([u({type:String,reflect:!0})],ne.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],ne.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],ne.prototype,"backdropAppendTo",2),p([tr(`[role="${et.COMBOBOX}"]`)],ne.prototype,"visualCombobox",2),p([tr('[part="combobox__button"]')],ne.prototype,"dropDownButton",2),p([Ot({selector:id})],ne.prototype,"slottedListboxes",2),p([gt()],ne.prototype,"isOpen",2),p([gt()],ne.prototype,"filteredValue",2);var Kh=ne;Kh.register(Lg);var hA=Kh;var Og=(n,o,t)=>{let i=new Map;for(let a=o;a<=t;a++)i.set(n[a],a);return i},Pg=ii(class extends Pr{constructor(n){if(super(n),n.type!==He.CHILD)throw Error("repeat() can only be used in text expressions")}dt(n,o,t){let i;t===void 0?t=o:o!==void 0&&(i=o);let a=[],d=[],m=0;for(let b of n)a[m]=i?i(b,m):m,d[m]=t(b,m),m++;return{values:d,keys:a}}render(n,o,t){return this.dt(n,o,t).values}update(n,[o,t,i]){var lt;let a=Bm(n),{values:d,keys:m}=this.dt(o,t,i);if(!Array.isArray(a))return this.ut=m,d;let b=(lt=this.ut)!=null?lt:this.ut=[],C=[],L,W,q=0,it=a.length-1,X=0,tt=d.length-1;for(;q<=it&&X<=tt;)if(a[q]===null)q++;else if(a[it]===null)it--;else if(b[q]===m[X])C[X]=Oi(a[q],d[X]),q++,X++;else if(b[it]===m[tt])C[tt]=Oi(a[it],d[tt]),it--,tt--;else if(b[q]===m[tt])C[tt]=Oi(a[q],d[tt]),rs(n,C[tt+1],a[q]),q++,tt--;else if(b[it]===m[X])C[X]=Oi(a[it],d[X]),rs(n,a[q],a[it]),it--,X++;else if(L===void 0&&(L=Og(m,X,tt),W=Og(b,q,it)),L.has(b[q]))if(L.has(b[it])){let dt=W.get(m[X]),vt=dt!==void 0?a[dt]:null;if(vt===null){let At=rs(n,a[q]);Oi(At,d[X]),C[X]=At}else C[X]=Oi(vt,d[X]),rs(n,a[q],vt),a[dt]=null;X++}else rl(a[it]),it--;else rl(a[q]),q++;for(;X<=tt;){let dt=rs(n,C[tt+1]);Oi(dt,d[X]),C[X++]=dt}for(;q<=it;){let dt=a[q++];dt!==null&&rl(dt)}return this.ut=m,el(n,C),ve}});var Dg=B.constructTagName("slider"),pA={START:"start",END:"end",UNDEFINED:void 0},Ki={MIN:0,MAX:100,STEP:1,STATE:pA.UNDEFINED,ICON_SIZE:1.25,ICON_LENGTH_UNIT:"rem"};var mA=V`
6435
+ `}};ne.styles=[...Sr.styles,...se.styles,...Pg],p([u({type:String})],ne.prototype,"placeholder",2),p([u({type:Boolean})],ne.prototype,"readonly",2),p([u({type:String,reflect:!0})],ne.prototype,"placement",2),p([u({type:String,attribute:"no-result-text",reflect:!0})],ne.prototype,"noResultText",2),p([u({type:String,attribute:"invalid-custom-value-text",reflect:!0})],ne.prototype,"invalidCustomValueText",2),p([u({type:String,reflect:!0})],ne.prototype,"boundary",2),p([u({type:String,reflect:!0})],ne.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],ne.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],ne.prototype,"backdropAppendTo",2),p([tr(`[role="${et.COMBOBOX}"]`)],ne.prototype,"visualCombobox",2),p([tr('[part="combobox__button"]')],ne.prototype,"dropDownButton",2),p([Ot({selector:sd})],ne.prototype,"slottedListboxes",2),p([gt()],ne.prototype,"isOpen",2),p([gt()],ne.prototype,"filteredValue",2);var Xh=ne;Xh.register(Rg);var mA=Xh;var Dg=(n,o,t)=>{let i=new Map;for(let a=o;a<=t;a++)i.set(n[a],a);return i},$g=ii(class extends Pr{constructor(n){if(super(n),n.type!==He.CHILD)throw Error("repeat() can only be used in text expressions")}dt(n,o,t){let i;t===void 0?t=o:o!==void 0&&(i=o);let a=[],d=[],m=0;for(let b of n)a[m]=i?i(b,m):m,d[m]=t(b,m),m++;return{values:d,keys:a}}render(n,o,t){return this.dt(n,o,t).values}update(n,[o,t,i]){var lt;let a=Hm(n),{values:d,keys:m}=this.dt(o,t,i);if(!Array.isArray(a))return this.ut=m,d;let b=(lt=this.ut)!=null?lt:this.ut=[],C=[],L,W,q=0,it=a.length-1,X=0,tt=d.length-1;for(;q<=it&&X<=tt;)if(a[q]===null)q++;else if(a[it]===null)it--;else if(b[q]===m[X])C[X]=Oi(a[q],d[X]),q++,X++;else if(b[it]===m[tt])C[tt]=Oi(a[it],d[tt]),it--,tt--;else if(b[q]===m[tt])C[tt]=Oi(a[q],d[tt]),rs(n,C[tt+1],a[q]),q++,tt--;else if(b[it]===m[X])C[X]=Oi(a[it],d[X]),rs(n,a[q],a[it]),it--,X++;else if(L===void 0&&(L=Dg(m,X,tt),W=Dg(b,q,it)),L.has(b[q]))if(L.has(b[it])){let dt=W.get(m[X]),vt=dt!==void 0?a[dt]:null;if(vt===null){let At=rs(n,a[q]);Oi(At,d[X]),C[X]=At}else C[X]=Oi(vt,d[X]),rs(n,a[q],vt),a[dt]=null;X++}else rl(a[it]),it--;else rl(a[q]),q++;for(;X<=tt;){let dt=rs(n,C[tt+1]);Oi(dt,d[X]),C[X++]=dt}for(;q<=it;){let dt=a[q++];dt!==null&&rl(dt)}return this.ut=m,el(n,C),ve}});var Fg=V.constructTagName("slider"),uA={START:"start",END:"end",UNDEFINED:void 0},Ki={MIN:0,MAX:100,STEP:1,STATE:uA.UNDEFINED,ICON_SIZE:1.25,ICON_LENGTH_UNIT:"rem"};var fA=B`
6440
6436
  :host {
6441
6437
  width: 100%;
6442
6438
  --mdc-slider-tooltip-left: 0;
@@ -6658,7 +6654,7 @@
6658
6654
  border: 1px solid;
6659
6655
  }
6660
6656
  }
6661
- `,$g=[Li,mA];var kt=class extends K{constructor(){super();this.thumbFocused=Ki.STATE;this.thumbHovered=Ki.STATE;this.range=!1;this.min=Ki.MIN;this.max=Ki.MAX;this.step=Ki.STEP;this.addEventListener("keydown",this.preventChange.bind(this)),this.addEventListener("mousedown",this.preventChange.bind(this))}updated(t){super.updated(t),(t.has("value")||t.has("step")||t.has("min")||t.has("max")||t.has("disabled")||t.has("softDisabled")||t.has("range")||t.has("valueStart")||t.has("valueEnd"))&&this.updateTrackStyling(),t.has("softDisabled")&&this.setSoftDisabled(),(t.has("range")||t.has("valueStart")||t.has("valueEnd"))&&this.initializeRangeSlider()}preventChange(t){this.softDisabled&&(t instanceof KeyboardEvent&&t.key!==Q.TAB||!(t instanceof KeyboardEvent))&&(t.preventDefault(),t.stopPropagation())}setSoftDisabled(){this.inputElements.forEach(t=>{let i=t;this.softDisabled?i.setAttribute("aria-disabled","true"):i.removeAttribute("aria-disabled")})}initializeRangeSlider(){this.valueStart===void 0&&(this.valueStart=this.min),this.valueEnd===void 0&&(this.valueEnd=this.max),this.handleInput(0),this.handleInput(1)}handleInput(t){let i=this.inputElements[t];if(i)if(t===0){if(!this.valueEnd)return;let a=Number(i.value);a>this.valueEnd?(i.value=String(this.valueEnd),this.valueStart=this.valueEnd):a>=this.min&&a<this.valueEnd?this.valueStart=a:a<this.min&&(i.value=String(this.min),this.valueStart=this.min)}else{if(!this.valueStart)return;let a=Number(i.value);a<this.valueStart?(i.value=String(this.valueStart),this.valueEnd=this.valueStart):a<=this.max&&a>this.valueStart?this.valueEnd=a:a>this.max&&(i.value=String(this.max),this.valueEnd=this.max)}}iconTemplate(t,i){return typeof t=="string"&&t.length>0?_`<mdc-icon
6657
+ `,zg=[Li,fA];var kt=class extends K{constructor(){super();this.thumbFocused=Ki.STATE;this.thumbHovered=Ki.STATE;this.range=!1;this.min=Ki.MIN;this.max=Ki.MAX;this.step=Ki.STEP;this.addEventListener("keydown",this.preventChange.bind(this)),this.addEventListener("mousedown",this.preventChange.bind(this))}updated(t){super.updated(t),(t.has("value")||t.has("step")||t.has("min")||t.has("max")||t.has("disabled")||t.has("softDisabled")||t.has("range")||t.has("valueStart")||t.has("valueEnd"))&&this.updateTrackStyling(),t.has("softDisabled")&&this.setSoftDisabled(),(t.has("range")||t.has("valueStart")||t.has("valueEnd"))&&this.initializeRangeSlider()}preventChange(t){this.softDisabled&&(t instanceof KeyboardEvent&&t.key!==Q.TAB||!(t instanceof KeyboardEvent))&&(t.preventDefault(),t.stopPropagation())}setSoftDisabled(){this.inputElements.forEach(t=>{let i=t;this.softDisabled?i.setAttribute("aria-disabled","true"):i.removeAttribute("aria-disabled")})}initializeRangeSlider(){this.valueStart===void 0&&(this.valueStart=this.min),this.valueEnd===void 0&&(this.valueEnd=this.max),this.handleInput(0),this.handleInput(1)}handleInput(t){let i=this.inputElements[t];if(i)if(t===0){if(!this.valueEnd)return;let a=Number(i.value);a>this.valueEnd?(i.value=String(this.valueEnd),this.valueStart=this.valueEnd):a>=this.min&&a<this.valueEnd?this.valueStart=a:a<this.min&&(i.value=String(this.min),this.valueStart=this.min)}else{if(!this.valueStart)return;let a=Number(i.value);a<this.valueStart?(i.value=String(this.valueStart),this.valueEnd=this.valueStart):a<=this.max&&a>this.valueStart?this.valueEnd=a:a>this.max&&(i.value=String(this.max),this.valueEnd=this.max)}}iconTemplate(t,i){return typeof t=="string"&&t.length>0?_`<mdc-icon
6662
6658
  name="${t}"
6663
6659
  part="${i}"
6664
6660
  length-unit="${Ki.ICON_LENGTH_UNIT}"
@@ -6674,7 +6670,7 @@
6674
6670
  ${i} ${C}%,
6675
6671
  ${i} 100%
6676
6672
  )`}else{if(!this.inputElements[0])return;let a=Number(this.inputElements[0].value),d=Number(this.inputElements[0].max)||1,m=Math.max(0,Math.min(100,(a-this.min)/(d-this.min)*100));this.inputElements[0].style.background=`linear-gradient(to right, ${t} ${m}%, ${i} ${m}%)`}}onInput(t){let i=t.target;this.value=Number(i.value)}onChange(t){let i=t.target;this.value=Number(i.value),this.dispatchEvent(new CustomEvent("change",{detail:{value:this.value}}))}onChangeStart(t){let i=t.target;this.valueStart=Number(i.value),this.dispatchEvent(new CustomEvent("change",{detail:{valueStart:this.valueStart,valueEnd:this.valueEnd}}))}onChangeEnd(t){let i=t.target;this.valueEnd=Number(i.value),this.dispatchEvent(new CustomEvent("change",{detail:{valueEnd:this.valueEnd,valueStart:this.valueStart}}))}getTickStyles(t){if(this.max===this.min)return"";let i=(t-this.min)/(this.max-this.min),a=[];if(this.inputElements[0]){let m=(Number(this.inputElements[0].value)-this.min)/(this.max-this.min);a.push(m)}if(this.range&&this.inputElements[1]){let m=(Number(this.inputElements[1].value)-this.min)/(this.max-this.min);a.push(m)}return a.includes(i)?"display:none;":`--mdc-slider-tick-left:${i};`}renderTicks(){let t=[];if(this.step&&this.step>1)for(let i=this.min;i<=this.max;i+=this.step)t.push(i);return this.step>1?_` <div part="slider-ticks">
6677
- ${Pg(t,i=>i,i=>_`<span part="slider-tick" style=${this.getTickStyles(i)}></span>`)}
6673
+ ${$g(t,i=>i,i=>_`<span part="slider-tick" style=${this.getTickStyles(i)}></span>`)}
6678
6674
  </div>`:j}render(){var t,i,a,d,m,b,C,L,W,q,it,X,tt,lt,dt,vt,At;return _`
6679
6675
  ${this.label?_`<label part="slider-label" for="single-slider">${this.label}</label>`:null}
6680
6676
  <div part="slider-track">
@@ -6763,7 +6759,7 @@
6763
6759
  ${this.labelStart?_`<span part="slider-label-start">${this.labelStart}</span>`:null}
6764
6760
  ${this.labelEnd?_`<span part="slider-label-end">${this.labelEnd}</span>`:null}
6765
6761
  </div>
6766
- `}};kt.styles=[...K.styles,...$g],p([gt()],kt.prototype,"thumbFocused",2),p([gt()],kt.prototype,"thumbHovered",2),p([u({reflect:!0,type:Boolean})],kt.prototype,"range",2),p([u({reflect:!0,type:Number})],kt.prototype,"min",2),p([u({reflect:!0,type:Number})],kt.prototype,"max",2),p([u({reflect:!0,type:Boolean})],kt.prototype,"disabled",2),p([u({reflect:!0,type:Boolean,attribute:"soft-disabled"})],kt.prototype,"softDisabled",2),p([u({reflect:!0,type:String,attribute:"leading-icon"})],kt.prototype,"leadingIcon",2),p([u({reflect:!0,type:String,attribute:"trailing-icon"})],kt.prototype,"trailingIcon",2),p([u({reflect:!0,type:Number})],kt.prototype,"value",2),p([u({reflect:!0,type:Number,attribute:"value-start"})],kt.prototype,"valueStart",2),p([u({reflect:!0,type:Number,attribute:"value-end"})],kt.prototype,"valueEnd",2),p([u({reflect:!0,type:Number})],kt.prototype,"step",2),p([u({reflect:!0,type:String})],kt.prototype,"label",2),p([u({reflect:!0,type:String,attribute:"label-start"})],kt.prototype,"labelStart",2),p([u({reflect:!0,type:String,attribute:"label-end"})],kt.prototype,"labelEnd",2),p([u({reflect:!0,type:String,attribute:"value-label"})],kt.prototype,"valueLabel",2),p([u({reflect:!0,type:String,attribute:"value-label-start"})],kt.prototype,"valueLabelStart",2),p([u({reflect:!0,type:String,attribute:"value-label-end"})],kt.prototype,"valueLabelEnd",2),p([u({reflect:!0,type:String})],kt.prototype,"name",2),p([u({reflect:!0,type:String,attribute:"name-start"})],kt.prototype,"nameStart",2),p([u({reflect:!0,type:String,attribute:"name-end"})],kt.prototype,"nameEnd",2),p([u({reflect:!0,type:String,attribute:"data-aria-label"})],kt.prototype,"dataAriaLabel",2),p([u({reflect:!0,type:String,attribute:"start-aria-label"})],kt.prototype,"startAriaLabel",2),p([u({reflect:!0,type:String,attribute:"end-aria-label"})],kt.prototype,"endAriaLabel",2),p([u({reflect:!0,type:String,attribute:"data-aria-valuetext"})],kt.prototype,"dataAriaValuetext",2),p([u({reflect:!0,type:String,attribute:"start-aria-valuetext"})],kt.prototype,"startAriaValuetext",2),p([u({reflect:!0,type:String,attribute:"end-aria-valuetext"})],kt.prototype,"endAriaValueText",2),p([um('input[type="range"]')],kt.prototype,"inputElements",2);var qh=kt;qh.register(Dg);var uA=qh;var fA=V`
6762
+ `}};kt.styles=[...K.styles,...zg],p([gt()],kt.prototype,"thumbFocused",2),p([gt()],kt.prototype,"thumbHovered",2),p([u({reflect:!0,type:Boolean})],kt.prototype,"range",2),p([u({reflect:!0,type:Number})],kt.prototype,"min",2),p([u({reflect:!0,type:Number})],kt.prototype,"max",2),p([u({reflect:!0,type:Boolean})],kt.prototype,"disabled",2),p([u({reflect:!0,type:Boolean,attribute:"soft-disabled"})],kt.prototype,"softDisabled",2),p([u({reflect:!0,type:String,attribute:"leading-icon"})],kt.prototype,"leadingIcon",2),p([u({reflect:!0,type:String,attribute:"trailing-icon"})],kt.prototype,"trailingIcon",2),p([u({reflect:!0,type:Number})],kt.prototype,"value",2),p([u({reflect:!0,type:Number,attribute:"value-start"})],kt.prototype,"valueStart",2),p([u({reflect:!0,type:Number,attribute:"value-end"})],kt.prototype,"valueEnd",2),p([u({reflect:!0,type:Number})],kt.prototype,"step",2),p([u({reflect:!0,type:String})],kt.prototype,"label",2),p([u({reflect:!0,type:String,attribute:"label-start"})],kt.prototype,"labelStart",2),p([u({reflect:!0,type:String,attribute:"label-end"})],kt.prototype,"labelEnd",2),p([u({reflect:!0,type:String,attribute:"value-label"})],kt.prototype,"valueLabel",2),p([u({reflect:!0,type:String,attribute:"value-label-start"})],kt.prototype,"valueLabelStart",2),p([u({reflect:!0,type:String,attribute:"value-label-end"})],kt.prototype,"valueLabelEnd",2),p([u({reflect:!0,type:String})],kt.prototype,"name",2),p([u({reflect:!0,type:String,attribute:"name-start"})],kt.prototype,"nameStart",2),p([u({reflect:!0,type:String,attribute:"name-end"})],kt.prototype,"nameEnd",2),p([u({reflect:!0,type:String,attribute:"data-aria-label"})],kt.prototype,"dataAriaLabel",2),p([u({reflect:!0,type:String,attribute:"start-aria-label"})],kt.prototype,"startAriaLabel",2),p([u({reflect:!0,type:String,attribute:"end-aria-label"})],kt.prototype,"endAriaLabel",2),p([u({reflect:!0,type:String,attribute:"data-aria-valuetext"})],kt.prototype,"dataAriaValuetext",2),p([u({reflect:!0,type:String,attribute:"start-aria-valuetext"})],kt.prototype,"startAriaValuetext",2),p([u({reflect:!0,type:String,attribute:"end-aria-valuetext"})],kt.prototype,"endAriaValueText",2),p([vm('input[type="range"]')],kt.prototype,"inputElements",2);var Zh=kt;Zh.register(Fg);var vA=Zh;var gA=B`
6767
6763
  :host {
6768
6764
  --mdc-listbox-max-height: auto;
6769
6765
 
@@ -6780,7 +6776,7 @@
6780
6776
  ::slotted(mdc-option) {
6781
6777
  width: 100%;
6782
6778
  }
6783
- `,Fg=[fA];var $o=class extends Cs(Vi(K)){constructor(){super();this.loop="false";this.name=void 0;this.value=void 0;this.itemsStore=new Vr(this,{isValidItem:this.isValidItem});this.handleDestroyEvent=()=>{this.handleNoSelection()};this.addEventListener("click",this.handleClick),this.addEventListener("modified",this.handleModifiedEvent),this.addEventListener("destroyed",this.handleDestroyEvent)}connectedCallback(){super.connectedCallback(),this.role=et.LISTBOX}handleModifiedEvent(t){let i=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(i);break;case"disabled":this.itemsStore.delete(i);break;case"selected":this.setSelectedOption(i,!1,!1);break;case"unselected":this.handleNoSelection();break;default:break}}handleNoSelection(){this.getFirstSelectedOption()||(this.selectedOption=void 0,this.value=void 0)}get navItems(){return this.itemsStore.items}isValidItem(t){return t.matches(`${pr}:not([disabled])`)}handleClick(t){let i=t.target;this.isValidItem(i)&&this.setSelectedOption(i)}getFirstSelectedOption(){return this.itemsStore.items.find(t=>t.matches("[selected]"))}updated(t){if(t.has("value")){let i=this.itemsStore.items.find(a=>a.value===this.value);i?this.setSelectedOption(i,!1):this.setSelectedOption(null,!1)}}setSelectedOption(t,i=!0,a=!0){t!=null&&t.disabled||t!=null&&t.softDisabled||(a&&this.updateSelectedInChildOptions(t),this.selectedOption=t,this.value=t==null?void 0:t.value,i&&this.fireEvents())}updateSelectedInChildOptions(t){this.itemsStore.items.forEach(i=>i.removeAttribute("selected")),t==null||t.toggleAttribute("selected",!0)}fireEvents(){this.selectedOption&&this.dispatchEvent(new Event("change",{composed:!0,bubbles:!0}))}render(){return _`<slot part="container"></slot>`}};$o.styles=[...jc.styles,...Fg],p([u({type:String,reflect:!0})],$o.prototype,"name",2),p([u({type:String,reflect:!0})],$o.prototype,"value",2),p([gt()],$o.prototype,"selectedOption",2);var Xh=$o;var zg=B.constructTagName("listbox");Xh.register(zg);var vA=Xh;var Vg=B.constructTagName("banner"),Us={CUSTOM:"custom",INFORMATIONAL:"informational",WARNING:"warning",ERROR:"error",SUCCESS:"success"},pn={INFORMATIONAL_ICON_NAME:"info-circle-bold",SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},yd={VARIANT:Us.CUSTOM,PREFIX_ICON_SIZE:1.5};var gA=V`
6779
+ `,Vg=[gA];var $o=class extends Cs(Vi(K)){constructor(){super();this.loop="false";this.name=void 0;this.value=void 0;this.itemsStore=new Vr(this,{isValidItem:this.isValidItem});this.handleDestroyEvent=()=>{this.handleNoSelection()};this.addEventListener("click",this.handleClick),this.addEventListener("modified",this.handleModifiedEvent),this.addEventListener("destroyed",this.handleDestroyEvent)}connectedCallback(){super.connectedCallback(),this.role=et.LISTBOX}handleModifiedEvent(t){let i=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(i);break;case"disabled":this.itemsStore.delete(i);break;case"selected":this.setSelectedOption(i,!1,!1);break;case"unselected":this.handleNoSelection();break;default:break}}handleNoSelection(){this.getFirstSelectedOption()||(this.selectedOption=void 0,this.value=void 0)}get navItems(){return this.itemsStore.items}isValidItem(t){return t.matches(`${pr}:not([disabled])`)}handleClick(t){let i=t.target;this.isValidItem(i)&&this.setSelectedOption(i)}getFirstSelectedOption(){return this.itemsStore.items.find(t=>t.matches("[selected]"))}updated(t){if(t.has("value")){let i=this.itemsStore.items.find(a=>a.value===this.value);i?this.setSelectedOption(i,!1):this.setSelectedOption(null,!1)}}setSelectedOption(t,i=!0,a=!0){t!=null&&t.disabled||t!=null&&t.softDisabled||(a&&this.updateSelectedInChildOptions(t),this.selectedOption=t,this.value=t==null?void 0:t.value,i&&this.fireEvents())}updateSelectedInChildOptions(t){this.itemsStore.items.forEach(i=>i.removeAttribute("selected")),t==null||t.toggleAttribute("selected",!0)}fireEvents(){this.selectedOption&&this.dispatchEvent(new Event("change",{composed:!0,bubbles:!0}))}render(){return _`<slot part="container"></slot>`}};$o.styles=[...qc.styles,...Vg],p([u({type:String,reflect:!0})],$o.prototype,"name",2),p([u({type:String,reflect:!0})],$o.prototype,"value",2),p([gt()],$o.prototype,"selectedOption",2);var Qh=$o;var Bg=V.constructTagName("listbox");Qh.register(Bg);var bA=Qh;var Ug=V.constructTagName("banner"),Us={CUSTOM:"custom",INFORMATIONAL:"informational",WARNING:"warning",ERROR:"error",SUCCESS:"success"},pn={INFORMATIONAL_ICON_NAME:"info-circle-bold",SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},Td={VARIANT:Us.CUSTOM,PREFIX_ICON_SIZE:1.5};var yA=B`
6784
6780
  :host {
6785
6781
  --mdc-banner-background-color: var(--mds-color-theme-background-solid-primary-normal);
6786
6782
  --mdc-banner-border-color: var(--mds-color-theme-outline-secondary-normal);
@@ -6863,10 +6859,10 @@
6863
6859
  gap: var(--mdc-banner-gap);
6864
6860
  flex-wrap: wrap;
6865
6861
  }
6866
- `,Bg=[gA];var Ug=n=>{switch(n){case Us.INFORMATIONAL:return pn.INFORMATIONAL_ICON_NAME;case Us.SUCCESS:return pn.SUCCESS_ICON_NAME;case Us.WARNING:return pn.WARNING_ICON_NAME;case Us.ERROR:return pn.ERROR_ICON_NAME;default:return null}};var Fo=class extends K{constructor(){super(...arguments);this.variant=yd.VARIANT;this.label=""}renderIcon(t){return t?_`
6862
+ `,Hg=[yA];var Gg=n=>{switch(n){case Us.INFORMATIONAL:return pn.INFORMATIONAL_ICON_NAME;case Us.SUCCESS:return pn.SUCCESS_ICON_NAME;case Us.WARNING:return pn.WARNING_ICON_NAME;case Us.ERROR:return pn.ERROR_ICON_NAME;default:return null}};var Fo=class extends K{constructor(){super(...arguments);this.variant=Td.VARIANT;this.label=""}renderIcon(t){return t?_`
6867
6863
  <mdc-icon
6868
6864
  name="${t}"
6869
- size="${yd.PREFIX_ICON_SIZE}"
6865
+ size="${Td.PREFIX_ICON_SIZE}"
6870
6866
  part="leading-icon"
6871
6867
  length-unit="rem"
6872
6868
  ></mdc-icon>
@@ -6881,7 +6877,7 @@
6881
6877
  <slot name="content">
6882
6878
  <div part="leading">
6883
6879
  <slot name="leading-icon">
6884
- ${this.variant!==yd.VARIANT?this.renderIcon((t=Ug(this.variant))!=null?t:""):j}
6880
+ ${this.variant!==Td.VARIANT?this.renderIcon((t=Gg(this.variant))!=null?t:""):j}
6885
6881
  </slot>
6886
6882
  <slot name="leading-text">
6887
6883
  <div part="leading-text">${this.getTextLabel()}</div>
@@ -6891,7 +6887,7 @@
6891
6887
  <slot name="trailing-actions"></slot>
6892
6888
  </div>
6893
6889
  </slot>
6894
- `}};Fo.styles=[...K.styles,...Bg],p([u({type:String,reflect:!0})],Fo.prototype,"variant",2),p([u({type:String,reflect:!0})],Fo.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],Fo.prototype,"secondaryLabel",2);var Zh=Fo;Zh.register(Vg);var bA=Zh;})();
6890
+ `}};Fo.styles=[...K.styles,...Hg],p([u({type:String,reflect:!0})],Fo.prototype,"variant",2),p([u({type:String,reflect:!0})],Fo.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],Fo.prototype,"secondaryLabel",2);var Jh=Fo;Jh.register(Ug);var EA=Jh;})();
6895
6891
  /*! Bundled license information:
6896
6892
 
6897
6893
  lottie-web/build/player/lottie_light.js: