@momentum-design/components 0.104.11 → 0.104.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- "use strict";(()=>{var Fg=Object.create;var Ql=Object.defineProperty;var ip=Object.getOwnPropertyDescriptor;var $g=Object.getOwnPropertyNames;var zg=Object.getPrototypeOf,Vg=Object.prototype.hasOwnProperty;var Bg=(l,i)=>()=>(i||l((i={exports:{}}).exports,i),i.exports);var Ug=(l,i,t,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of $g(i))!Vg.call(l,a)&&a!==t&&Ql(l,a,{get:()=>i[a],enumerable:!(o=ip(i,a))||o.enumerable});return l};var Hg=(l,i,t)=>(t=l!=null?Fg(zg(l)):{},Ug(i||!l||!l.__esModule?Ql(t,"default",{value:l,enumerable:!0}):t,l));var p=(l,i,t,o)=>{for(var a=o>1?void 0:o?ip(i,t):i,h=l.length-1,m;h>=0;h--)(m=l[h])&&(a=(o?m(i,t,a):m(a))||a);return o&&a&&Ql(i,t,a),a};var tm=Bg((ra,On)=>{typeof navigator<"u"&&function(l,i){typeof ra=="object"&&typeof On<"u"?On.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self,l.lottie=i())}(ra,function(){"use strict";var l="http://www.w3.org/2000/svg",i="",t=!1,o=-999999,a=function(r){t=!!r},h=function(){return t},m=function(r){i=r},T=function(){return i};function N(e){return document.createElement(e)}function $(e,r){var s,n=e.length,d;for(s=0;s<n;s+=1){d=e[s].prototype;for(var c in d)Object.prototype.hasOwnProperty.call(d,c)&&(r.prototype[c]=d[c])}}function q(e,r){return Object.getOwnPropertyDescriptor(e,r)}function K(e){function r(){}return r.prototype=e,r}var nt=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,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].pause()},resume:function(){var s,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].resume()},setRate:function(s){var n,d=this.audios.length;for(n=0;n<d;n+=1)this.audios[n].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,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),Q=function(){function e(s,n){var d=0,c=[],v;switch(s){case"int16":case"uint8c":v=1;break;default:v=1.1;break}for(d=0;d<n;d+=1)c.push(v);return c}function r(s,n){return s==="float32"?new Float32Array(n):s==="int16"?new Int16Array(n):s==="uint8c"?new Uint8ClampedArray(n):e(s,n)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:e}();function rt(e){return Array.apply(null,{length:e})}function dt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dt=function(s){return typeof s}:dt=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},dt(e)}var ut=!0,Tt=null,St=null,Ct="",Gt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Ft=!1,Vt=Math.pow,qt=Math.sqrt,oe=Math.floor,sr=Math.max,Ie=Math.min,Be={};(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)Be[e[r]]=Math[e[r]]})();function ar(){return{}}Be.random=Math.random,Be.abs=function(e){var r=dt(e);if(r==="object"&&e.length){var s=rt(e.length),n,d=e.length;for(n=0;n<d;n+=1)s[n]=Math.abs(e[n]);return s}return Math.abs(e)};var nr=150,It=Math.PI/180,ce=.5519;function Ue(e){Ft=!!e}function He(e){return Ft?Math.round(e):e}function Ge(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 Ye(e,r,s,n){this.type=e,this.currentTime=r,this.totalTime=s,this.direction=n<0?-1:1}function Va(e,r){this.type=e,this.direction=r<0?-1:1}function dh(e,r,s,n){this.type=e,this.currentLoop=s,this.totalLoops=r,this.direction=n<0?-1:1}function hh(e,r,s){this.type=e,this.firstFrame=r,this.totalFrames=s}function ph(e,r){this.type=e,this.target=r}function Fv(e,r){this.type="renderFrameError",this.nativeError=e,this.currentTime=r}function $v(e){this.type="configError",this.nativeError=e}function tx(e,r){this.type=e,this.nativeError=r}var ke=function(){var e=0;return function(){return e+=1,Ct+"__lottie_element_"+e}}();function zl(e,r,s){var n,d,c,v,x,g,I,L;switch(v=Math.floor(e*6),x=e*6-v,g=s*(1-r),I=s*(1-x*r),L=s*(1-(1-x)*r),v%6){case 0:n=s,d=L,c=g;break;case 1:n=I,d=s,c=g;break;case 2:n=g,d=s,c=L;break;case 3:n=g,d=I,c=s;break;case 4:n=L,d=g,c=s;break;case 5:n=s,d=g,c=I;break;default:break}return[n,d,c]}function Vl(e,r,s){var n=Math.max(e,r,s),d=Math.min(e,r,s),c=n-d,v,x=n===0?0:c/n,g=n/255;switch(n){case d: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 mh(e,r){var s=Vl(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),zl(s[0],s[1],s[2])}function uh(e,r){var s=Vl(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),zl(s[0],s[1],s[2])}function fh(e,r){var s=Vl(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),zl(s[0],s[1],s[2])}var ex=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(n,d,c){return n<0&&(n=0),d<0&&(d=0),c<0&&(c=0),"#"+e[n]+e[d]+e[c]}}(),zv=function(r){ut=!!r},Vv=function(){return ut},Bv=function(r){Tt=r},Ba=function(){return Tt},rx=function(r){St=r},vh=function(){return St},Ua=function(r){nr=r},As=function(){return nr},Uv=function(r){Ct=r},ix=function(){return Ct};function bt(e){return document.createElementNS(l,e)}function Ha(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ha=function(s){return typeof s}:Ha=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ha(e)}var Ss=function(){var e=1,r=[],s,n,d={onmessage:function(){},postMessage:function(R){s({data:R})}},c={postMessage:function(R){d.onmessage({data:R})}};function v(E){if(window.Worker&&window.Blob&&h()){var R=new Blob(["var _workerSelf = self; self.onmessage = ",E.toString()],{type:"text/javascript"}),P=URL.createObjectURL(R);return new Worker(P)}return s=E,d}function x(){n||(n=v(function(R){function P(){function z(Z,S){var O,u,b=Z.length,U,F,at,mt;for(u=0;u<b;u+=1)if(O=Z[u],"ks"in O&&!O.completed){if(O.completed=!0,O.hasMask){var vt=O.masksProperties;for(F=vt.length,U=0;U<F;U+=1)if(vt[U].pt.k.i)C(vt[U].pt.k);else for(mt=vt[U].pt.k.length,at=0;at<mt;at+=1)vt[U].pt.k[at].s&&C(vt[U].pt.k[at].s[0]),vt[U].pt.k[at].e&&C(vt[U].pt.k[at].e[0])}O.ty===0?(O.layers=y(O.refId,S),z(O.layers,S)):O.ty===4?A(O.shapes):O.ty===5&&yt(O)}}function w(Z,S){if(Z){var O=0,u=Z.length;for(O=0;O<u;O+=1)Z[O].t===1&&(Z[O].data.layers=y(Z[O].data.refId,S),z(Z[O].data.layers,S))}}function _(Z,S){for(var O=0,u=S.length;O<u;){if(S[O].id===Z)return S[O];O+=1}return null}function y(Z,S){var O=_(Z,S);return O?O.layers.__used?JSON.parse(JSON.stringify(O.layers)):(O.layers.__used=!0,O.layers):null}function A(Z){var S,O=Z.length,u,b;for(S=O-1;S>=0;S-=1)if(Z[S].ty==="sh")if(Z[S].ks.k.i)C(Z[S].ks.k);else for(b=Z[S].ks.k.length,u=0;u<b;u+=1)Z[S].ks.k[u].s&&C(Z[S].ks.k[u].s[0]),Z[S].ks.k[u].e&&C(Z[S].ks.k[u].e[0]);else Z[S].ty==="gr"&&A(Z[S].it)}function C(Z){var S,O=Z.i.length;for(S=0;S<O;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 D(Z,S){var O=S?S.split("."):[100,100,100];return Z[0]>O[0]?!0:O[0]>Z[0]?!1:Z[1]>O[1]?!0:O[1]>Z[1]?!1:Z[2]>O[2]?!0:O[2]>Z[2]?!1:null}var V=function(){var Z=[4,4,14];function S(u){var b=u.t.d;u.t.d={k:[{s:b,t:0}]}}function O(u){var b,U=u.length;for(b=0;b<U;b+=1)u[b].ty===5&&S(u[b])}return function(u){if(D(Z,u.v)&&(O(u.layers),u.assets)){var b,U=u.assets.length;for(b=0;b<U;b+=1)u.assets[b].layers&&O(u.assets[b].layers)}}}(),H=function(){var Z=[4,7,99];return function(S){if(S.chars&&!D(Z,S.v)){var O,u=S.chars.length;for(O=0;O<u;O+=1){var b=S.chars[O];b.data&&b.data.shapes&&(A(b.data.shapes),b.data.ip=0,b.data.op=99999,b.data.st=0,b.data.sr=1,b.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[O].t||(b.data.shapes.push({ty:"no"}),b.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"})))}}}}(),X=function(){var Z=[5,7,15];function S(u){var b=u.t.p;typeof b.a=="number"&&(b.a={a:0,k:b.a}),typeof b.p=="number"&&(b.p={a:0,k:b.p}),typeof b.r=="number"&&(b.r={a:0,k:b.r})}function O(u){var b,U=u.length;for(b=0;b<U;b+=1)u[b].ty===5&&S(u[b])}return function(u){if(D(Z,u.v)&&(O(u.layers),u.assets)){var b,U=u.assets.length;for(b=0;b<U;b+=1)u.assets[b].layers&&O(u.assets[b].layers)}}}(),ft=function(){var Z=[4,1,9];function S(u){var b,U=u.length,F,at;for(b=0;b<U;b+=1)if(u[b].ty==="gr")S(u[b].it);else if(u[b].ty==="fl"||u[b].ty==="st")if(u[b].c.k&&u[b].c.k[0].i)for(at=u[b].c.k.length,F=0;F<at;F+=1)u[b].c.k[F].s&&(u[b].c.k[F].s[0]/=255,u[b].c.k[F].s[1]/=255,u[b].c.k[F].s[2]/=255,u[b].c.k[F].s[3]/=255),u[b].c.k[F].e&&(u[b].c.k[F].e[0]/=255,u[b].c.k[F].e[1]/=255,u[b].c.k[F].e[2]/=255,u[b].c.k[F].e[3]/=255);else u[b].c.k[0]/=255,u[b].c.k[1]/=255,u[b].c.k[2]/=255,u[b].c.k[3]/=255}function O(u){var b,U=u.length;for(b=0;b<U;b+=1)u[b].ty===4&&S(u[b].shapes)}return function(u){if(D(Z,u.v)&&(O(u.layers),u.assets)){var b,U=u.assets.length;for(b=0;b<U;b+=1)u.assets[b].layers&&O(u.assets[b].layers)}}}(),ht=function(){var Z=[4,4,18];function S(u){var b,U=u.length,F,at;for(b=U-1;b>=0;b-=1)if(u[b].ty==="sh")if(u[b].ks.k.i)u[b].ks.k.c=u[b].closed;else for(at=u[b].ks.k.length,F=0;F<at;F+=1)u[b].ks.k[F].s&&(u[b].ks.k[F].s[0].c=u[b].closed),u[b].ks.k[F].e&&(u[b].ks.k[F].e[0].c=u[b].closed);else u[b].ty==="gr"&&S(u[b].it)}function O(u){var b,U,F=u.length,at,mt,vt,wt;for(U=0;U<F;U+=1){if(b=u[U],b.hasMask){var Nt=b.masksProperties;for(mt=Nt.length,at=0;at<mt;at+=1)if(Nt[at].pt.k.i)Nt[at].pt.k.c=Nt[at].cl;else for(wt=Nt[at].pt.k.length,vt=0;vt<wt;vt+=1)Nt[at].pt.k[vt].s&&(Nt[at].pt.k[vt].s[0].c=Nt[at].cl),Nt[at].pt.k[vt].e&&(Nt[at].pt.k[vt].e[0].c=Nt[at].cl)}b.ty===4&&S(b.shapes)}}return function(u){if(D(Z,u.v)&&(O(u.layers),u.assets)){var b,U=u.assets.length;for(b=0;b<U;b+=1)u.assets[b].layers&&O(u.assets[b].layers)}}}();function et(Z){Z.__complete||(ft(Z),V(Z),H(Z),X(Z),ht(Z),z(Z.layers,Z.assets),w(Z.chars,Z.assets),Z.__complete=!0)}function yt(Z){Z.t.a.length===0&&"m"in Z.t.p}var lt={};return lt.completeData=et,lt.checkColors=ft,lt.checkChars=H,lt.checkPathProperties=X,lt.checkShapes=ht,lt.completeLayers=z,lt}if(c.dataManager||(c.dataManager=P()),c.assetLoader||(c.assetLoader=function(){function z(_){var y=_.getResponseHeader("content-type");return y&&_.responseType==="json"&&y.indexOf("json")!==-1||_.response&&Ha(_.response)==="object"?_.response:_.response&&typeof _.response=="string"?JSON.parse(_.response):_.responseText?JSON.parse(_.responseText):null}function w(_,y,A,C){var D,V=new XMLHttpRequest;try{V.responseType="json"}catch{}V.onreadystatechange=function(){if(V.readyState===4)if(V.status===200)D=z(V),A(D);else try{D=z(V),A(D)}catch(H){C&&C(H)}};try{V.open(["G","E","T"].join(""),_,!0)}catch{V.open(["G","E","T"].join(""),y+"/"+_,!0)}V.send()}return{load:w}}()),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 M=R.data.animation;c.dataManager.completeData(M),c.postMessage({id:R.data.id,payload:M,status:"success"})}else R.data.type==="loadData"&&c.assetLoader.load(R.data.path,R.data.fullPath,function(z){c.postMessage({id:R.data.id,payload:z,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})})}),n.onmessage=function(E){var R=E.data,P=R.id,M=r[P];r[P]=null,R.status==="success"?M.onComplete(R.payload):M.onError&&M.onError()})}function g(E,R){e+=1;var P="processId_"+e;return r[P]={onComplete:E,onError:R},P}function I(E,R,P){x();var M=g(R,P);n.postMessage({type:"loadAnimation",path:E,fullPath:window.location.origin+window.location.pathname,id:M})}function L(E,R,P){x();var M=g(R,P);n.postMessage({type:"loadData",path:E,fullPath:window.location.origin+window.location.pathname,id:M})}function B(E,R,P){x();var M=g(R,P);n.postMessage({type:"complete",animation:E,id:M})}return{loadAnimation:I,loadData:L,completeAnimation:B}}(),Hv=function(){var e=function(){var w=N("canvas");w.width=1,w.height=1;var _=w.getContext("2d");return _.fillStyle="rgba(0,0,0,0)",_.fillRect(0,0,1,1),w}();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 n(w,_,y){var A="";if(w.e)A=w.p;else if(_){var C=w.p;C.indexOf("images/")!==-1&&(C=C.split("/")[1]),A=_+C}else A=y,A+=w.u?w.u:"",A+=w.p;return A}function d(w){var _=0,y=setInterval((function(){var A=w.getBBox();(A.width||_>500)&&(this._imageLoaded(),clearInterval(y)),_+=1}).bind(this),50)}function c(w){var _=n(w,this.assetsPath,this.path),y=bt("image");Gt?this.testImageLoaded(y):y.addEventListener("load",this._imageLoaded,!1),y.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),y.setAttributeNS("http://www.w3.org/1999/xlink","href",_),this._elementHelper.append?this._elementHelper.append(y):this._elementHelper.appendChild(y);var A={img:y,assetData:w};return A}function v(w){var _=n(w,this.assetsPath,this.path),y=N("img");y.crossOrigin="anonymous",y.addEventListener("load",this._imageLoaded,!1),y.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),y.src=_;var A={img:y,assetData:w};return A}function x(w){var _={assetData:w},y=n(w,this.assetsPath,this.path);return Ss.loadData(y,(function(A){_.img=A,this._footageLoaded()}).bind(this),(function(){_.img={},this._footageLoaded()}).bind(this)),_}function g(w,_){this.imagesLoadedCb=_;var y,A=w.length;for(y=0;y<A;y+=1)w[y].layers||(!w[y].t||w[y].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(w[y]))):w[y].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(w[y]))))}function I(w){this.path=w||""}function L(w){this.assetsPath=w||""}function B(w){for(var _=0,y=this.images.length;_<y;){if(this.images[_].assetData===w)return this.images[_].img;_+=1}return null}function E(){this.imagesLoadedCb=null,this.images.length=0}function R(){return this.totalImages===this.loadedAssets}function P(){return this.totalFootages===this.loadedFootagesCount}function M(w,_){w==="svg"?(this._elementHelper=_,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function z(){this._imageLoaded=r.bind(this),this._footageLoaded=s.bind(this),this.testImageLoaded=d.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:L,setPath:I,loadedImages:R,loadedFootages:P,destroy:E,getAsset:B,createImgData:v,createImageData:c,imageLoaded:r,footageLoaded:s,setCacheType:M},z}();function gh(){}gh.prototype={triggerEvent:function(r,s){if(this._cbs[r])for(var n=this._cbs[r],d=0;d<n.length;d+=1)n[d](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 n=0,d=this._cbs[r].length;n<d;)this._cbs[r][n]===s&&(this._cbs[r].splice(n,1),n-=1,d-=1),n+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var Gv=function(){function e(r){for(var s=r.split(`\r
2
- `),n={},d,c=0,v=0;v<s.length;v+=1)d=s[v].split(":"),d.length===2&&(n[d[0]]=d[1].trim(),c+=1);if(c===0)throw new Error;return n}return function(r){for(var s=[],n=0;n<r.length;n+=1){var d=r[n],c={time:d.tm,duration:d.dr};try{c.payload=JSON.parse(r[n].cm)}catch{try{c.payload=e(r[n].cm)}catch{c.payload={name:r[n].cm}}}s.push(c)}return s}}(),Yv=function(){function e(r){this.compositions.push(r)}return function(){function r(s){for(var n=0,d=this.compositions.length;n<d;){if(this.compositions[n].data&&this.compositions[n].data.nm===s)return this.compositions[n].prepareFrame&&this.compositions[n].data.xt&&this.compositions[n].prepareFrame(this.currentFrame),this.compositions[n].compInterface;n+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=e,r}}(),_s={},Wv=function(r,s){_s[r]=s};function jv(e){return _s[e]}function qv(){if(_s.canvas)return"canvas";for(var e in _s)if(_s[e])return e;return""}function Is(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Is=function(s){return typeof s}:Is=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Is(e)}var pt=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=ke(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Vv(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Yv(),this.imagePreloader=new Hv,this.audioController=nt(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new Ye("drawnFrame",0,0,0),this.expressionsPlugin=Ba()};$([gh],pt),pt.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=jv(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")),Ss.loadAnimation(e.path,this.configAnimation,this.onSetupError))},pt.prototype.onSetupError=function(){this.trigger("data_failed")},pt.prototype.setupAnimation=function(e){Ss.completeAnimation(e,this.configAnimation)},pt.prototype.setData=function(e,r){r&&Is(r)!=="object"&&(r=JSON.parse(r));var s={wrapper:e,animationData:r},n=e.attributes;s.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",s.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:qv()||"canvas";var d=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";d==="false"?s.loop=!1:d==="true"?s.loop=!0:d!==""&&(s.loop=parseInt(d,10));var c=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:n.getNamedItem("bm-autoplay")?n.getNamedItem("bm-autoplay").value:!0;s.autoplay=c!=="false",s.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"";var v=n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"";v==="false"&&(s.prerender=!1),s.path?this.setParams(s):this.trigger("destroy")},pt.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,n=r.length,d=e.layers,c,v=d.length;for(c=0;c<v;c+=1)for(s=0;s<n;){if(r[s].id===d[c].id){r[s]=d[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(n=e.assets.length,s=0;s<n;s+=1)this.animationData.assets.push(e.assets[s]);this.animationData.__complete=!1,Ss.completeAnimation(this.animationData,this.onSegmentComplete)},pt.prototype.onSegmentComplete=function(e){this.animationData=e;var r=Ba();r&&r.initExpressions(this),this.loadNextSegment()},pt.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,Ss.loadData(s,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},pt.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},pt.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},pt.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},pt.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=Gv(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},pt.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},pt.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=Ba();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},pt.prototype.resize=function(e,r){var s=typeof e=="number"?e:void 0,n=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(s,n)},pt.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},pt.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")},pt.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)}},pt.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")))},pt.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())},pt.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},pt.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},pt.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},pt.prototype.goToAndStop=function(e,r,s){if(!(s&&this.name!==s)){var n=Number(e);if(isNaN(n)){var d=this.getMarkerData(e);d&&this.goToAndStop(d.time,!0)}else r?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},pt.prototype.goToAndPlay=function(e,r,s){if(!(s&&this.name!==s)){var n=Number(e);if(isNaN(n)){var d=this.getMarkerData(e);d&&(d.duration?this.playSegments([d.time,d.time+d.duration],!0):this.goToAndStop(d.time,!0))}else this.goToAndStop(n,r,s);this.play()}},pt.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"))}},pt.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")},pt.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)},pt.prototype.playSegments=function(e,r){if(r&&(this.segments.length=0),Is(e[0])==="object"){var s,n=e.length;for(s=0;s<n;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()},pt.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},pt.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},pt.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)},pt.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},pt.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},pt.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},pt.prototype.setLoop=function(e){this.loop=e},pt.prototype.setVolume=function(e,r){r&&this.name!==r||this.audioController.setVolume(e)},pt.prototype.getVolume=function(){return this.audioController.getVolume()},pt.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},pt.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},pt.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},pt.prototype.getPath=function(){return this.path},pt.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},pt.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},pt.prototype.hide=function(){this.renderer.hide()},pt.prototype.show=function(){this.renderer.show()},pt.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},pt.prototype.updateDocumentData=function(e,r,s){try{var n=this.renderer.getElementByPath(e);n.updateDocumentData(r,s)}catch{}},pt.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new Ye(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 dh(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new Va(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new hh(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new ph(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new Ye(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new dh(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new Va(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new hh(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new ph(e,this))},pt.prototype.triggerRenderFrameError=function(e){var r=new Fv(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},pt.prototype.triggerConfigError=function(e){var r=new $v(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var Kt=function(){var e={},r=[],s=0,n=0,d=0,c=!0,v=!1;function x(S){for(var O=0,u=S.target;O<n;)r[O].animation===u&&(r.splice(O,1),O-=1,n-=1,u.isPaused||B()),O+=1}function g(S,O){if(!S)return null;for(var u=0;u<n;){if(r[u].elem===S&&r[u].elem!==null)return r[u].animation;u+=1}var b=new pt;return E(b,S),b.setData(S,O),b}function I(){var S,O=r.length,u=[];for(S=0;S<O;S+=1)u.push(r[S].animation);return u}function L(){d+=1,ft()}function B(){d-=1}function E(S,O){S.addEventListener("destroy",x),S.addEventListener("_active",L),S.addEventListener("_idle",B),r.push({elem:O,animation:S}),n+=1}function R(S){var O=new pt;return E(O,null),O.setParams(S),O}function P(S,O){var u;for(u=0;u<n;u+=1)r[u].animation.setSpeed(S,O)}function M(S,O){var u;for(u=0;u<n;u+=1)r[u].animation.setDirection(S,O)}function z(S){var O;for(O=0;O<n;O+=1)r[O].animation.play(S)}function w(S){var O=S-s,u;for(u=0;u<n;u+=1)r[u].animation.advanceTime(O);s=S,d&&!v?window.requestAnimationFrame(w):c=!0}function _(S){s=S,window.requestAnimationFrame(w)}function y(S){var O;for(O=0;O<n;O+=1)r[O].animation.pause(S)}function A(S,O,u){var b;for(b=0;b<n;b+=1)r[b].animation.goToAndStop(S,O,u)}function C(S){var O;for(O=0;O<n;O+=1)r[O].animation.stop(S)}function D(S){var O;for(O=0;O<n;O+=1)r[O].animation.togglePause(S)}function V(S){var O;for(O=n-1;O>=0;O-=1)r[O].animation.destroy(S)}function H(S,O,u){var b=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),U,F=b.length;for(U=0;U<F;U+=1)u&&b[U].setAttribute("data-bm-type",u),g(b[U],S);if(O&&F===0){u||(u="svg");var at=document.getElementsByTagName("body")[0];at.innerText="";var mt=N("div");mt.style.width="100%",mt.style.height="100%",mt.setAttribute("data-bm-type",u),at.appendChild(mt),g(mt,S)}}function X(){var S;for(S=0;S<n;S+=1)r[S].animation.resize()}function ft(){!v&&d&&c&&(window.requestAnimationFrame(_),c=!1)}function ht(){v=!0}function et(){v=!1,ft()}function yt(S,O){var u;for(u=0;u<n;u+=1)r[u].animation.setVolume(S,O)}function lt(S){var O;for(O=0;O<n;O+=1)r[O].animation.mute(S)}function Z(S){var O;for(O=0;O<n;O+=1)r[O].animation.unmute(S)}return e.registerAnimation=g,e.loadAnimation=R,e.setSpeed=P,e.setDirection=M,e.play=z,e.pause=y,e.stop=C,e.togglePause=D,e.searchAnimations=H,e.resize=X,e.goToAndStop=A,e.destroy=V,e.freeze=ht,e.unfreeze=et,e.setVolume=yt,e.mute=lt,e.unmute=Z,e.getRegisteredAnimations=I,e}(),ks=function(){var e={};e.getBezierEasing=s;var r={};function s(_,y,A,C,D){var V=D||("bez_"+_+"_"+y+"_"+A+"_"+C).replace(/\./g,"p");if(r[V])return r[V];var H=new w([_,y,A,C]);return r[V]=H,H}var n=4,d=.001,c=1e-7,v=10,x=11,g=1/(x-1),I=typeof Float32Array=="function";function L(_,y){return 1-3*y+3*_}function B(_,y){return 3*y-6*_}function E(_){return 3*_}function R(_,y,A){return((L(y,A)*_+B(y,A))*_+E(y))*_}function P(_,y,A){return 3*L(y,A)*_*_+2*B(y,A)*_+E(y)}function M(_,y,A,C,D){var V,H,X=0;do H=y+(A-y)/2,V=R(H,C,D)-_,V>0?A=H:y=H;while(Math.abs(V)>c&&++X<v);return H}function z(_,y,A,C){for(var D=0;D<n;++D){var V=P(y,A,C);if(V===0)return y;var H=R(y,A,C)-_;y-=H/V}return y}function w(_){this._p=_,this._mSampleValues=I?new Float32Array(x):new Array(x),this._precomputed=!1,this.get=this.get.bind(this)}return w.prototype={get:function(y){var A=this._p[0],C=this._p[1],D=this._p[2],V=this._p[3];return this._precomputed||this._precompute(),A===C&&D===V?y:y===0?0:y===1?1:R(this._getTForX(y),C,V)},_precompute:function(){var y=this._p[0],A=this._p[1],C=this._p[2],D=this._p[3];this._precomputed=!0,(y!==A||C!==D)&&this._calcSampleValues()},_calcSampleValues:function(){for(var y=this._p[0],A=this._p[2],C=0;C<x;++C)this._mSampleValues[C]=R(C*g,y,A)},_getTForX:function(y){for(var A=this._p[0],C=this._p[2],D=this._mSampleValues,V=0,H=1,X=x-1;H!==X&&D[H]<=y;++H)V+=g;--H;var ft=(y-D[H])/(D[H+1]-D[H]),ht=V+ft*g,et=P(ht,A,C);return et>=d?z(y,ht,A,C):et===0?ht:M(y,V,V+g,A,C)}},e}(),bh=function(){function e(r){return r.concat(rt(r.length))}return{double:e}}(),Ga=function(){return function(e,r,s){var n=0,d=e,c=rt(d),v={newElement:x,release:g};function x(){var I;return n?(n-=1,I=c[n]):I=r(),I}function g(I){n===d&&(c=bh.double(c),d*=2),s&&s(I),c[n]=I,n+=1}return v}}(),yh=function(){function e(){return{addedLength:0,percents:Q("float32",As()),lengths:Q("float32",As())}}return Ga(8,e)}(),Eh=function(){function e(){return{lengths:[],totalLength:0}}function r(s){var n,d=s.lengths.length;for(n=0;n<d;n+=1)yh.release(s.lengths[n]);s.lengths.length=0}return Ga(8,e,r)}();function Kv(){var e=Math;function r(E,R,P,M,z,w){var _=E*M+R*z+P*w-z*M-w*E-P*R;return _>-.001&&_<.001}function s(E,R,P,M,z,w,_,y,A){if(P===0&&w===0&&A===0)return r(E,R,M,z,_,y);var C=e.sqrt(e.pow(M-E,2)+e.pow(z-R,2)+e.pow(w-P,2)),D=e.sqrt(e.pow(_-E,2)+e.pow(y-R,2)+e.pow(A-P,2)),V=e.sqrt(e.pow(_-M,2)+e.pow(y-z,2)+e.pow(A-w,2)),H;return C>D?C>V?H=C-D-V:H=V-D-C:V>D?H=V-D-C:H=D-C-V,H>-1e-4&&H<1e-4}var n=function(){return function(E,R,P,M){var z=As(),w,_,y,A,C,D=0,V,H=[],X=[],ft=yh.newElement();for(y=P.length,w=0;w<z;w+=1){for(C=w/(z-1),V=0,_=0;_<y;_+=1)A=Vt(1-C,3)*E[_]+3*Vt(1-C,2)*C*P[_]+3*(1-C)*Vt(C,2)*M[_]+Vt(C,3)*R[_],H[_]=A,X[_]!==null&&(V+=Vt(H[_]-X[_],2)),X[_]=H[_];V&&(V=qt(V),D+=V),ft.percents[w]=C,ft.lengths[w]=D}return ft.addedLength=D,ft}}();function d(E){var R=Eh.newElement(),P=E.c,M=E.v,z=E.o,w=E.i,_,y=E._length,A=R.lengths,C=0;for(_=0;_<y-1;_+=1)A[_]=n(M[_],M[_+1],z[_],w[_+1]),C+=A[_].addedLength;return P&&y&&(A[_]=n(M[_],M[0],z[_],w[0]),C+=A[_].addedLength),R.totalLength=C,R}function c(E){this.segmentLength=0,this.points=new Array(E)}function v(E,R){this.partialLength=E,this.point=R}var x=function(){var E={};return function(R,P,M,z){var w=(R[0]+"_"+R[1]+"_"+P[0]+"_"+P[1]+"_"+M[0]+"_"+M[1]+"_"+z[0]+"_"+z[1]).replace(/\./g,"p");if(!E[w]){var _=As(),y,A,C,D,V,H=0,X,ft,ht=null;R.length===2&&(R[0]!==P[0]||R[1]!==P[1])&&r(R[0],R[1],P[0],P[1],R[0]+M[0],R[1]+M[1])&&r(R[0],R[1],P[0],P[1],P[0]+z[0],P[1]+z[1])&&(_=2);var et=new c(_);for(C=M.length,y=0;y<_;y+=1){for(ft=rt(C),V=y/(_-1),X=0,A=0;A<C;A+=1)D=Vt(1-V,3)*R[A]+3*Vt(1-V,2)*V*(R[A]+M[A])+3*(1-V)*Vt(V,2)*(P[A]+z[A])+Vt(V,3)*P[A],ft[A]=D,ht!==null&&(X+=Vt(ft[A]-ht[A],2));X=qt(X),H+=X,et.points[y]=new v(X,ft),ht=ft}et.segmentLength=H,E[w]=et}return E[w]}}();function g(E,R){var P=R.percents,M=R.lengths,z=P.length,w=oe((z-1)*E),_=E*R.addedLength,y=0;if(w===z-1||w===0||_===M[w])return P[w];for(var A=M[w]>_?-1:1,C=!0;C;)if(M[w]<=_&&M[w+1]>_?(y=(_-M[w])/(M[w+1]-M[w]),C=!1):w+=A,w<0||w>=z-1){if(w===z-1)return P[w];C=!1}return P[w]+(P[w+1]-P[w])*y}function I(E,R,P,M,z,w){var _=g(z,w),y=1-_,A=e.round((y*y*y*E[0]+(_*y*y+y*_*y+y*y*_)*P[0]+(_*_*y+y*_*_+_*y*_)*M[0]+_*_*_*R[0])*1e3)/1e3,C=e.round((y*y*y*E[1]+(_*y*y+y*_*y+y*y*_)*P[1]+(_*_*y+y*_*_+_*y*_)*M[1]+_*_*_*R[1])*1e3)/1e3;return[A,C]}var L=Q("float32",8);function B(E,R,P,M,z,w,_){z<0?z=0:z>1&&(z=1);var y=g(z,_);w=w>1?1:w;var A=g(w,_),C,D=E.length,V=1-y,H=1-A,X=V*V*V,ft=y*V*V*3,ht=y*y*V*3,et=y*y*y,yt=V*V*H,lt=y*V*H+V*y*H+V*V*A,Z=y*y*H+V*y*A+y*V*A,S=y*y*A,O=V*H*H,u=y*H*H+V*A*H+V*H*A,b=y*A*H+V*A*A+y*H*A,U=y*A*A,F=H*H*H,at=A*H*H+H*A*H+H*H*A,mt=A*A*H+H*A*A+A*H*A,vt=A*A*A;for(C=0;C<D;C+=1)L[C*4]=e.round((X*E[C]+ft*P[C]+ht*M[C]+et*R[C])*1e3)/1e3,L[C*4+1]=e.round((yt*E[C]+lt*P[C]+Z*M[C]+S*R[C])*1e3)/1e3,L[C*4+2]=e.round((O*E[C]+u*P[C]+b*M[C]+U*R[C])*1e3)/1e3,L[C*4+3]=e.round((F*E[C]+at*P[C]+mt*M[C]+vt*R[C])*1e3)/1e3;return L}return{getSegmentsLength:d,getNewSegment:B,getPointInSegment:I,buildBezierData:x,pointOnLine2D:r,pointOnLine3D:s}}var Er=Kv(),Di=o,Th=Math.abs;function xh(e,r){var s=this.offsetTime,n;this.propType==="multidimensional"&&(n=Q("float32",this.pv.length));for(var d=r.lastIndex,c=d,v=this.keyframes.length-1,x=!0,g,I,L;x;){if(g=this.keyframes[c],I=this.keyframes[c+1],c===v-1&&e>=I.t-s){g.h&&(g=I),d=0;break}if(I.t-s>e){d=c;break}c<v-1?c+=1:(d=0,x=!1)}L=this.keyframesMetadata[c]||{};var B,E,R,P,M,z,w=I.t-s,_=g.t-s,y;if(g.to){L.bezierData||(L.bezierData=Er.buildBezierData(g.s,I.s||g.e,g.to,g.ti));var A=L.bezierData;if(e>=w||e<_){var C=e>=w?A.points.length-1:0;for(E=A.points[C].point.length,B=0;B<E;B+=1)n[B]=A.points[C].point[B]}else{L.__fnct?z=L.__fnct:(z=ks.getBezierEasing(g.o.x,g.o.y,g.i.x,g.i.y,g.n).get,L.__fnct=z),R=z((e-_)/(w-_));var D=A.segmentLength*R,V,H=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastAddedLength:0;for(M=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastPoint:0,x=!0,P=A.points.length;x;){if(H+=A.points[M].partialLength,D===0||R===0||M===A.points.length-1){for(E=A.points[M].point.length,B=0;B<E;B+=1)n[B]=A.points[M].point[B];break}else if(D>=H&&D<H+A.points[M+1].partialLength){for(V=(D-H)/A.points[M+1].partialLength,E=A.points[M].point.length,B=0;B<E;B+=1)n[B]=A.points[M].point[B]+(A.points[M+1].point[B]-A.points[M].point[B])*V;break}M<P-1?M+=1:x=!1}r._lastPoint=M,r._lastAddedLength=H-A.points[M].partialLength,r._lastKeyframeIndex=c}}else{var X,ft,ht,et,yt;if(v=g.s.length,y=I.s||g.e,this.sh&&g.h!==1)if(e>=w)n[0]=y[0],n[1]=y[1],n[2]=y[2];else if(e<=_)n[0]=g.s[0],n[1]=g.s[1],n[2]=g.s[2];else{var lt=Ah(g.s),Z=Ah(y),S=(e-_)/(w-_);Xv(n,Zv(lt,Z,S))}else for(c=0;c<v;c+=1)g.h!==1&&(e>=w?R=1:e<_?R=0:(g.o.x.constructor===Array?(L.__fnct||(L.__fnct=[]),L.__fnct[c]?z=L.__fnct[c]:(X=g.o.x[c]===void 0?g.o.x[0]:g.o.x[c],ft=g.o.y[c]===void 0?g.o.y[0]:g.o.y[c],ht=g.i.x[c]===void 0?g.i.x[0]:g.i.x[c],et=g.i.y[c]===void 0?g.i.y[0]:g.i.y[c],z=ks.getBezierEasing(X,ft,ht,et).get,L.__fnct[c]=z)):L.__fnct?z=L.__fnct:(X=g.o.x,ft=g.o.y,ht=g.i.x,et=g.i.y,z=ks.getBezierEasing(X,ft,ht,et).get,g.keyframeMetadata=z),R=z((e-_)/(w-_)))),y=I.s||g.e,yt=g.h===1?g.s[c]:g.s[c]+(y[c]-g.s[c])*R,this.propType==="multidimensional"?n[c]=yt:n=yt}return r.lastIndex=d,n}function Zv(e,r,s){var n=[],d=e[0],c=e[1],v=e[2],x=e[3],g=r[0],I=r[1],L=r[2],B=r[3],E,R,P,M,z;return R=d*g+c*I+v*L+x*B,R<0&&(R=-R,g=-g,I=-I,L=-L,B=-B),1-R>1e-6?(E=Math.acos(R),P=Math.sin(E),M=Math.sin((1-s)*E)/P,z=Math.sin(s*E)/P):(M=1-s,z=s),n[0]=M*d+z*g,n[1]=M*c+z*I,n[2]=M*v+z*L,n[3]=M*x+z*B,n}function Xv(e,r){var s=r[0],n=r[1],d=r[2],c=r[3],v=Math.atan2(2*n*c-2*s*d,1-2*n*n-2*d*d),x=Math.asin(2*s*n+2*d*c),g=Math.atan2(2*s*c-2*n*d,1-2*s*s-2*d*d);e[0]=v/It,e[1]=x/It,e[2]=g/It}function Ah(e){var r=e[0]*It,s=e[1]*It,n=e[2]*It,d=Math.cos(r/2),c=Math.cos(s/2),v=Math.cos(n/2),x=Math.sin(r/2),g=Math.sin(s/2),I=Math.sin(n/2),L=d*c*v-x*g*I,B=x*g*v+d*c*I,E=x*c*v+d*g*I,R=d*g*v-x*c*I;return[B,E,R,L]}function Sh(){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!==Di&&(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 n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function Ya(e){var r;if(this.propType==="unidimensional")r=e*this.mult,Th(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var s=0,n=this.v.length;s<n;)r=e[s]*this.mult,Th(this.v[s]-r)>1e-5&&(this.v[s]=r,this._mdf=!0),s+=1}function Wa(){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 ja(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function Qv(e,r,s,n){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=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Wa,this.setVValue=Ya,this.addEffect=ja}function Jv(e,r,s,n){this.propType="multidimensional",this.mult=s||1,this.data=r,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var d,c=r.k.length;for(this.v=Q("float32",c),this.pv=Q("float32",c),this.vel=Q("float32",c),d=0;d<c;d+=1)this.v[d]=r.k[d]*this.mult,this.pv[d]=r.k[d];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=Wa,this.setVValue=Ya,this.addEffect=ja}function tg(e,r,s,n){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:Di,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=s||1,this.elem=e,this.container=n,this.comp=e.comp,this.v=Di,this.pv=Di,this._isFirstFrame=!0,this.getValue=Wa,this.setVValue=Ya,this.interpolateValue=xh,this.effectsSequence=[Sh.bind(this)],this.addEffect=ja}function eg(e,r,s,n){this.propType="multidimensional";var d,c=r.k.length,v,x,g,I;for(d=0;d<c-1;d+=1)r.k[d].to&&r.k[d].s&&r.k[d+1]&&r.k[d+1].s&&(v=r.k[d].s,x=r.k[d+1].s,g=r.k[d].to,I=r.k[d].ti,(v.length===2&&!(v[0]===x[0]&&v[1]===x[1])&&Er.pointOnLine2D(v[0],v[1],x[0],x[1],v[0]+g[0],v[1]+g[1])&&Er.pointOnLine2D(v[0],v[1],x[0],x[1],x[0]+I[0],x[1]+I[1])||v.length===3&&!(v[0]===x[0]&&v[1]===x[1]&&v[2]===x[2])&&Er.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])&&Er.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],x[0]+I[0],x[1]+I[1],x[2]+I[2]))&&(r.k[d].to=null,r.k[d].ti=null),v[0]===x[0]&&v[1]===x[1]&&g[0]===0&&g[1]===0&&I[0]===0&&I[1]===0&&(v.length===2||v[2]===x[2]&&g[2]===0&&I[2]===0)&&(r.k[d].to=null,r.k[d].ti=null));this.effectsSequence=[Sh.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=n,this.comp=e.comp,this.getValue=Wa,this.setVValue=Ya,this.interpolateValue=xh,this.frameId=-1;var L=r.k[0].s.length;for(this.v=Q("float32",L),this.pv=Q("float32",L),d=0;d<L;d+=1)this.v[d]=Di,this.pv[d]=Di;this._caching={lastFrame:Di,lastIndex:0,value:Q("float32",L)},this.addEffect=ja}var it=function(){function e(s,n,d,c,v){n.sid&&(n=s.globalData.slotManager.getProp(n));var x;if(!n.k.length)x=new Qv(s,n,c,v);else if(typeof n.k[0]=="number")x=new Jv(s,n,c,v);else switch(d){case 0:x=new tg(s,n,c,v);break;case 1:x=new eg(s,n,c,v);break;default:break}return x.effectsSequence.length&&v.addDynamicProperty(x),x}var r={getProp:e};return r}();function se(){}se.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 Fi=function(){function e(){return Q("float32",2)}return Ga(8,e)}();function Or(){this.c=!1,this._length=0,this._maxLength=8,this.v=rt(this._maxLength),this.o=rt(this._maxLength),this.i=rt(this._maxLength)}Or.prototype.setPathData=function(e,r){this.c=e,this.setLength(r);for(var s=0;s<r;)this.v[s]=Fi.newElement(),this.o[s]=Fi.newElement(),this.i[s]=Fi.newElement(),s+=1},Or.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},Or.prototype.doubleArrayLength=function(){this.v=this.v.concat(rt(this._maxLength)),this.i=this.i.concat(rt(this._maxLength)),this.o=this.o.concat(rt(this._maxLength)),this._maxLength*=2},Or.prototype.setXYAt=function(e,r,s,n,d){var c;switch(this._length=Math.max(this._length,n+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[n]||c[n]&&!d)&&(c[n]=Fi.newElement()),c[n][0]=e,c[n][1]=r},Or.prototype.setTripleAt=function(e,r,s,n,d,c,v,x){this.setXYAt(e,r,"v",v,x),this.setXYAt(s,n,"o",v,x),this.setXYAt(d,c,"i",v,x)},Or.prototype.reverse=function(){var e=new Or;e.setPathData(this.c,this._length);var r=this.v,s=this.o,n=this.i,d=0;this.c&&(e.setTripleAt(r[0][0],r[0][1],n[0][0],n[0][1],s[0][0],s[0][1],0,!1),d=1);var c=this._length-1,v=this._length,x;for(x=d;x<v;x+=1)e.setTripleAt(r[c][0],r[c][1],n[c][0],n[c][1],s[c][0],s[c][1],x,!1),c-=1;return e},Or.prototype.length=function(){return this._length};var de=function(){function e(){return new Or}function r(d){var c=d._length,v;for(v=0;v<c;v+=1)Fi.release(d.v[v]),Fi.release(d.i[v]),Fi.release(d.o[v]),d.v[v]=null,d.i[v]=null,d.o[v]=null;d._length=0,d.c=!1}function s(d){var c=n.newElement(),v,x=d._length===void 0?d.v.length:d._length;for(c.setLength(x),c.c=d.c,v=0;v<x;v+=1)c.setTripleAt(d.v[v][0],d.v[v][1],d.o[v][0],d.o[v][1],d.i[v][0],d.i[v][1],v);return c}var n=Ga(4,e,r);return n.clone=s,n}();function Bl(){this._length=0,this._maxLength=4,this.shapes=rt(this._maxLength)}Bl.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(rt(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},Bl.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)de.release(this.shapes[e]);this._length=0};var No=function(){var e={newShapeCollection:d,release:c},r=0,s=4,n=rt(s);function d(){var v;return r?(r-=1,v=n[r]):v=new Bl,v}function c(v){var x,g=v._length;for(x=0;x<g;x+=1)de.release(v.shapes[x]);v._length=0,r===s&&(n=bh.double(n),s*=2),n[r]=v,r+=1}return e}(),qa=function(){var e=-999999;function r(w,_,y){var A=y.lastIndex,C,D,V,H,X,ft,ht,et,yt,lt=this.keyframes;if(w<lt[0].t-this.offsetTime)C=lt[0].s[0],V=!0,A=0;else if(w>=lt[lt.length-1].t-this.offsetTime)C=lt[lt.length-1].s?lt[lt.length-1].s[0]:lt[lt.length-2].e[0],V=!0;else{for(var Z=A,S=lt.length-1,O=!0,u,b,U;O&&(u=lt[Z],b=lt[Z+1],!(b.t-this.offsetTime>w));)Z<S-1?Z+=1:O=!1;if(U=this.keyframesMetadata[Z]||{},V=u.h===1,A=Z,!V){if(w>=b.t-this.offsetTime)et=1;else if(w<u.t-this.offsetTime)et=0;else{var F;U.__fnct?F=U.__fnct:(F=ks.getBezierEasing(u.o.x,u.o.y,u.i.x,u.i.y).get,U.__fnct=F),et=F((w-(u.t-this.offsetTime))/(b.t-this.offsetTime-(u.t-this.offsetTime)))}D=b.s?b.s[0]:u.e[0]}C=u.s[0]}for(ft=_._length,ht=C.i[0].length,y.lastIndex=A,H=0;H<ft;H+=1)for(X=0;X<ht;X+=1)yt=V?C.i[H][X]:C.i[H][X]+(D.i[H][X]-C.i[H][X])*et,_.i[H][X]=yt,yt=V?C.o[H][X]:C.o[H][X]+(D.o[H][X]-C.o[H][X])*et,_.o[H][X]=yt,yt=V?C.v[H][X]:C.v[H][X]+(D.v[H][X]-C.v[H][X])*et,_.v[H][X]=yt}function s(){var w=this.comp.renderedFrame-this.offsetTime,_=this.keyframes[0].t-this.offsetTime,y=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==e&&(A<_&&w<_||A>y&&w>y)||(this._caching.lastIndex=A<w?this._caching.lastIndex:0,this.interpolateShape(w,this.pv,this._caching)),this._caching.lastFrame=w,this.pv}function n(){this.paths=this.localShapeCollection}function d(w,_){if(w._length!==_._length||w.c!==_.c)return!1;var y,A=w._length;for(y=0;y<A;y+=1)if(w.v[y][0]!==_.v[y][0]||w.v[y][1]!==_.v[y][1]||w.o[y][0]!==_.o[y][0]||w.o[y][1]!==_.o[y][1]||w.i[y][0]!==_.i[y][0]||w.i[y][1]!==_.i[y][1])return!1;return!0}function c(w){d(this.v,w)||(this.v=de.clone(w),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 w;this.kf?w=this.pv:this.data.ks?w=this.data.ks.k:w=this.data.pt.k;var _,y=this.effectsSequence.length;for(_=0;_<y;_+=1)w=this.effectsSequence[_](w);this.setVValue(w),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function x(w,_,y){this.propType="shape",this.comp=w.comp,this.container=w,this.elem=w,this.data=_,this.k=!1,this.kf=!1,this._mdf=!1;var A=y===3?_.pt.k:_.ks.k;this.v=de.clone(A),this.pv=de.clone(this.v),this.localShapeCollection=No.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function g(w){this.effectsSequence.push(w),this.container.addDynamicProperty(this)}x.prototype.interpolateShape=r,x.prototype.getValue=v,x.prototype.setVValue=c,x.prototype.addEffect=g;function I(w,_,y){this.propType="shape",this.comp=w.comp,this.elem=w,this.container=w,this.offsetTime=w.data.st,this.keyframes=y===3?_.pt.k:_.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=de.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=de.clone(this.v),this.localShapeCollection=No.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[s.bind(this)]}I.prototype.getValue=v,I.prototype.interpolateShape=r,I.prototype.setVValue=c,I.prototype.addEffect=g;var L=function(){var w=ce;function _(y,A){this.v=de.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=No.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=y,this.comp=y.comp,this.frameId=-1,this.initDynamicPropertyContainer(y),this.p=it.getProp(y,A.p,1,0,this),this.s=it.getProp(y,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return _.prototype={reset:n,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],C=this.p.v[1],D=this.s.v[0]/2,V=this.s.v[1]/2,H=this.d!==3,X=this.v;X.v[0][0]=A,X.v[0][1]=C-V,X.v[1][0]=H?A+D:A-D,X.v[1][1]=C,X.v[2][0]=A,X.v[2][1]=C+V,X.v[3][0]=H?A-D:A+D,X.v[3][1]=C,X.i[0][0]=H?A-D*w:A+D*w,X.i[0][1]=C-V,X.i[1][0]=H?A+D:A-D,X.i[1][1]=C-V*w,X.i[2][0]=H?A+D*w:A-D*w,X.i[2][1]=C+V,X.i[3][0]=H?A-D:A+D,X.i[3][1]=C+V*w,X.o[0][0]=H?A+D*w:A-D*w,X.o[0][1]=C-V,X.o[1][0]=H?A+D:A-D,X.o[1][1]=C+V*w,X.o[2][0]=H?A-D*w:A+D*w,X.o[2][1]=C+V,X.o[3][0]=H?A-D:A+D,X.o[3][1]=C-V*w}},$([se],_),_}(),B=function(){function w(_,y){this.v=de.newElement(),this.v.setPathData(!0,0),this.elem=_,this.comp=_.comp,this.data=y,this.frameId=-1,this.d=y.d,this.initDynamicPropertyContainer(_),y.sy===1?(this.ir=it.getProp(_,y.ir,0,0,this),this.is=it.getProp(_,y.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=it.getProp(_,y.pt,0,0,this),this.p=it.getProp(_,y.p,1,0,this),this.r=it.getProp(_,y.r,0,It,this),this.or=it.getProp(_,y.or,0,0,this),this.os=it.getProp(_,y.os,0,.01,this),this.localShapeCollection=No.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return w.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var y=Math.floor(this.pt.v)*2,A=Math.PI*2/y,C=!0,D=this.or.v,V=this.ir.v,H=this.os.v,X=this.is.v,ft=2*Math.PI*D/(y*2),ht=2*Math.PI*V/(y*2),et,yt,lt,Z,S=-Math.PI/2;S+=this.r.v;var O=this.data.d===3?-1:1;for(this.v._length=0,et=0;et<y;et+=1){yt=C?D:V,lt=C?H:X,Z=C?ft:ht;var u=yt*Math.cos(S),b=yt*Math.sin(S),U=u===0&&b===0?0:b/Math.sqrt(u*u+b*b),F=u===0&&b===0?0:-u/Math.sqrt(u*u+b*b);u+=+this.p.v[0],b+=+this.p.v[1],this.v.setTripleAt(u,b,u-U*Z*lt*O,b-F*Z*lt*O,u+U*Z*lt*O,b+F*Z*lt*O,et,!0),C=!C,S+=A*O}},convertPolygonToPath:function(){var y=Math.floor(this.pt.v),A=Math.PI*2/y,C=this.or.v,D=this.os.v,V=2*Math.PI*C/(y*4),H,X=-Math.PI*.5,ft=this.data.d===3?-1:1;for(X+=this.r.v,this.v._length=0,H=0;H<y;H+=1){var ht=C*Math.cos(X),et=C*Math.sin(X),yt=ht===0&&et===0?0:et/Math.sqrt(ht*ht+et*et),lt=ht===0&&et===0?0:-ht/Math.sqrt(ht*ht+et*et);ht+=+this.p.v[0],et+=+this.p.v[1],this.v.setTripleAt(ht,et,ht-yt*V*D*ft,et-lt*V*D*ft,ht+yt*V*D*ft,et+lt*V*D*ft,H,!0),X+=A*ft}this.paths.length=0,this.paths[0]=this.v}},$([se],w),w}(),E=function(){function w(_,y){this.v=de.newElement(),this.v.c=!0,this.localShapeCollection=No.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=_,this.comp=_.comp,this.frameId=-1,this.d=y.d,this.initDynamicPropertyContainer(_),this.p=it.getProp(_,y.p,1,0,this),this.s=it.getProp(_,y.s,1,0,this),this.r=it.getProp(_,y.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return w.prototype={convertRectToPath:function(){var y=this.p.v[0],A=this.p.v[1],C=this.s.v[0]/2,D=this.s.v[1]/2,V=Ie(C,D,this.r.v),H=V*(1-ce);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(y+C,A-D+V,y+C,A-D+V,y+C,A-D+H,0,!0),this.v.setTripleAt(y+C,A+D-V,y+C,A+D-H,y+C,A+D-V,1,!0),V!==0?(this.v.setTripleAt(y+C-V,A+D,y+C-V,A+D,y+C-H,A+D,2,!0),this.v.setTripleAt(y-C+V,A+D,y-C+H,A+D,y-C+V,A+D,3,!0),this.v.setTripleAt(y-C,A+D-V,y-C,A+D-V,y-C,A+D-H,4,!0),this.v.setTripleAt(y-C,A-D+V,y-C,A-D+H,y-C,A-D+V,5,!0),this.v.setTripleAt(y-C+V,A-D,y-C+V,A-D,y-C+H,A-D,6,!0),this.v.setTripleAt(y+C-V,A-D,y+C-H,A-D,y+C-V,A-D,7,!0)):(this.v.setTripleAt(y-C,A+D,y-C+H,A+D,y-C,A+D,2),this.v.setTripleAt(y-C,A-D,y-C,A-D+H,y-C,A-D,3))):(this.v.setTripleAt(y+C,A-D+V,y+C,A-D+H,y+C,A-D+V,0,!0),V!==0?(this.v.setTripleAt(y+C-V,A-D,y+C-V,A-D,y+C-H,A-D,1,!0),this.v.setTripleAt(y-C+V,A-D,y-C+H,A-D,y-C+V,A-D,2,!0),this.v.setTripleAt(y-C,A-D+V,y-C,A-D+V,y-C,A-D+H,3,!0),this.v.setTripleAt(y-C,A+D-V,y-C,A+D-H,y-C,A+D-V,4,!0),this.v.setTripleAt(y-C+V,A+D,y-C+V,A+D,y-C+H,A+D,5,!0),this.v.setTripleAt(y+C-V,A+D,y+C-H,A+D,y+C-V,A+D,6,!0),this.v.setTripleAt(y+C,A+D-V,y+C,A+D-V,y+C,A+D-H,7,!0)):(this.v.setTripleAt(y-C,A-D,y-C+H,A-D,y-C,A-D,1,!0),this.v.setTripleAt(y-C,A+D,y-C,A+D-H,y-C,A+D,2,!0),this.v.setTripleAt(y+C,A+D,y+C-H,A+D,y+C,A+D,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},$([se],w),w}();function R(w,_,y){var A;if(y===3||y===4){var C=y===3?_.pt:_.ks,D=C.k;D.length?A=new I(w,_,y):A=new x(w,_,y)}else y===5?A=new E(w,_):y===6?A=new L(w,_):y===7&&(A=new B(w,_));return A.k&&w.addDynamicProperty(A),A}function P(){return x}function M(){return I}var z={};return z.getShapeProp=R,z.getConstructorFunction=P,z.getKeyframedConstructorFunction=M,z}();var he=function(){var e=Math.cos,r=Math.sin,s=Math.tan,n=Math.round;function d(){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(u){if(u===0)return this;var b=e(u),U=r(u);return this._t(b,-U,0,0,U,b,0,0,0,0,1,0,0,0,0,1)}function v(u){if(u===0)return this;var b=e(u),U=r(u);return this._t(1,0,0,0,0,b,-U,0,0,U,b,0,0,0,0,1)}function x(u){if(u===0)return this;var b=e(u),U=r(u);return this._t(b,0,U,0,0,1,0,0,-U,0,b,0,0,0,0,1)}function g(u){if(u===0)return this;var b=e(u),U=r(u);return this._t(b,-U,0,0,U,b,0,0,0,0,1,0,0,0,0,1)}function I(u,b){return this._t(1,b,u,1,0,0)}function L(u,b){return this.shear(s(u),s(b))}function B(u,b){var U=e(b),F=r(b);return this._t(U,F,0,0,-F,U,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,s(u),1,0,0,0,0,1,0,0,0,0,1)._t(U,-F,0,0,F,U,0,0,0,0,1,0,0,0,0,1)}function E(u,b,U){return!U&&U!==0&&(U=1),u===1&&b===1&&U===1?this:this._t(u,0,0,0,0,b,0,0,0,0,U,0,0,0,0,1)}function R(u,b,U,F,at,mt,vt,wt,Nt,Zt,we,xr,Ne,ae,$e,Ot){return this.props[0]=u,this.props[1]=b,this.props[2]=U,this.props[3]=F,this.props[4]=at,this.props[5]=mt,this.props[6]=vt,this.props[7]=wt,this.props[8]=Nt,this.props[9]=Zt,this.props[10]=we,this.props[11]=xr,this.props[12]=Ne,this.props[13]=ae,this.props[14]=$e,this.props[15]=Ot,this}function P(u,b,U){return U=U||0,u!==0||b!==0||U!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,u,b,U,1):this}function M(u,b,U,F,at,mt,vt,wt,Nt,Zt,we,xr,Ne,ae,$e,Ot){var ct=this.props;if(u===1&&b===0&&U===0&&F===0&&at===0&&mt===1&&vt===0&&wt===0&&Nt===0&&Zt===0&&we===1&&xr===0)return ct[12]=ct[12]*u+ct[15]*Ne,ct[13]=ct[13]*mt+ct[15]*ae,ct[14]=ct[14]*we+ct[15]*$e,ct[15]*=Ot,this._identityCalculated=!1,this;var Fr=ct[0],fi=ct[1],$r=ct[2],Ar=ct[3],zr=ct[4],Vr=ct[5],Le=ct[6],vi=ct[7],gi=ct[8],cr=ct[9],bi=ct[10],dr=ct[11],Bi=ct[12],on=ct[13],sn=ct[14],an=ct[15];return ct[0]=Fr*u+fi*at+$r*Nt+Ar*Ne,ct[1]=Fr*b+fi*mt+$r*Zt+Ar*ae,ct[2]=Fr*U+fi*vt+$r*we+Ar*$e,ct[3]=Fr*F+fi*wt+$r*xr+Ar*Ot,ct[4]=zr*u+Vr*at+Le*Nt+vi*Ne,ct[5]=zr*b+Vr*mt+Le*Zt+vi*ae,ct[6]=zr*U+Vr*vt+Le*we+vi*$e,ct[7]=zr*F+Vr*wt+Le*xr+vi*Ot,ct[8]=gi*u+cr*at+bi*Nt+dr*Ne,ct[9]=gi*b+cr*mt+bi*Zt+dr*ae,ct[10]=gi*U+cr*vt+bi*we+dr*$e,ct[11]=gi*F+cr*wt+bi*xr+dr*Ot,ct[12]=Bi*u+on*at+sn*Nt+an*Ne,ct[13]=Bi*b+on*mt+sn*Zt+an*ae,ct[14]=Bi*U+on*vt+sn*we+an*$e,ct[15]=Bi*F+on*wt+sn*xr+an*Ot,this._identityCalculated=!1,this}function z(u){var b=u.props;return this.transform(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],b[9],b[10],b[11],b[12],b[13],b[14],b[15])}function w(){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 _(u){for(var b=0;b<16;){if(u.props[b]!==this.props[b])return!1;b+=1}return!0}function y(u){var b;for(b=0;b<16;b+=1)u.props[b]=this.props[b];return u}function A(u){var b;for(b=0;b<16;b+=1)this.props[b]=u[b]}function C(u,b,U){return{x:u*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12],y:u*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13],z:u*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]}}function D(u,b,U){return u*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12]}function V(u,b,U){return u*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13]}function H(u,b,U){return u*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]}function X(){var u=this.props[0]*this.props[5]-this.props[1]*this.props[4],b=this.props[5]/u,U=-this.props[1]/u,F=-this.props[4]/u,at=this.props[0]/u,mt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/u,vt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/u,wt=new he;return wt.props[0]=b,wt.props[1]=U,wt.props[4]=F,wt.props[5]=at,wt.props[12]=mt,wt.props[13]=vt,wt}function ft(u){var b=this.getInverseMatrix();return b.applyToPointArray(u[0],u[1],u[2]||0)}function ht(u){var b,U=u.length,F=[];for(b=0;b<U;b+=1)F[b]=ft(u[b]);return F}function et(u,b,U){var F=Q("float32",6);if(this.isIdentity())F[0]=u[0],F[1]=u[1],F[2]=b[0],F[3]=b[1],F[4]=U[0],F[5]=U[1];else{var at=this.props[0],mt=this.props[1],vt=this.props[4],wt=this.props[5],Nt=this.props[12],Zt=this.props[13];F[0]=u[0]*at+u[1]*vt+Nt,F[1]=u[0]*mt+u[1]*wt+Zt,F[2]=b[0]*at+b[1]*vt+Nt,F[3]=b[0]*mt+b[1]*wt+Zt,F[4]=U[0]*at+U[1]*vt+Nt,F[5]=U[0]*mt+U[1]*wt+Zt}return F}function yt(u,b,U){var F;return this.isIdentity()?F=[u,b,U]:F=[u*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12],u*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13],u*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]],F}function lt(u,b){if(this.isIdentity())return u+","+b;var U=this.props;return Math.round((u*U[0]+b*U[4]+U[12])*100)/100+","+Math.round((u*U[1]+b*U[5]+U[13])*100)/100}function Z(){for(var u=0,b=this.props,U="matrix3d(",F=1e4;u<16;)U+=n(b[u]*F)/F,U+=u===15?")":",",u+=1;return U}function S(u){var b=1e4;return u<1e-6&&u>0||u>-1e-6&&u<0?n(u*b)/b:u}function O(){var u=this.props,b=S(u[0]),U=S(u[1]),F=S(u[4]),at=S(u[5]),mt=S(u[12]),vt=S(u[13]);return"matrix("+b+","+U+","+F+","+at+","+mt+","+vt+")"}return function(){this.reset=d,this.rotate=c,this.rotateX=v,this.rotateY=x,this.rotateZ=g,this.skew=L,this.skewFromAxis=B,this.shear=I,this.scale=E,this.setTransform=R,this.translate=P,this.transform=M,this.multiply=z,this.applyToPoint=C,this.applyToX=D,this.applyToY=V,this.applyToZ=H,this.applyToPointArray=yt,this.applyToTriplePoints=et,this.applyToPointStringified=lt,this.toCSS=Z,this.to2dCSS=O,this.clone=y,this.cloneFromProps=A,this.equals=_,this.inversePoints=ht,this.inversePoint=ft,this.getInverseMatrix=X,this._t=this.transform,this.isIdentity=w,this._identity=!0,this._identityCalculated=!1,this.props=Q("float32",16),this.reset()}}();function Ka(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ka=function(s){return typeof s}:Ka=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ka(e)}var Mt={},Za="__[STANDALONE]__",_h="__[ANIMATIONDATA]__",Ih="";function rg(e){m(e)}function kh(){Za===!0?Kt.searchAnimations(_h,Za,Ih):Kt.searchAnimations()}function ig(e){zv(e)}function og(e){Uv(e)}function sg(e){return Za===!0&&(e.animationData=JSON.parse(_h)),Kt.loadAnimation(e)}function ag(e){if(typeof e=="string")switch(e){case"high":Ua(200);break;default:case"medium":Ua(50);break;case"low":Ua(10);break}else!isNaN(e)&&e>1&&Ua(e);As()>=50?Ue(!1):Ue(!0)}function ng(){return typeof navigator<"u"}function lg(e,r){e==="expressions"&&Bv(r)}function cg(e){switch(e){case"propertyFactory":return it;case"shapePropertyFactory":return qa;case"matrix":return he;default:return null}}Mt.play=Kt.play,Mt.pause=Kt.pause,Mt.setLocationHref=rg,Mt.togglePause=Kt.togglePause,Mt.setSpeed=Kt.setSpeed,Mt.setDirection=Kt.setDirection,Mt.stop=Kt.stop,Mt.searchAnimations=kh,Mt.registerAnimation=Kt.registerAnimation,Mt.loadAnimation=sg,Mt.setSubframeRendering=ig,Mt.resize=Kt.resize,Mt.goToAndStop=Kt.goToAndStop,Mt.destroy=Kt.destroy,Mt.setQuality=ag,Mt.inBrowser=ng,Mt.installPlugin=lg,Mt.freeze=Kt.freeze,Mt.unfreeze=Kt.unfreeze,Mt.setVolume=Kt.setVolume,Mt.mute=Kt.mute,Mt.unmute=Kt.unmute,Mt.getRegisteredAnimations=Kt.getRegisteredAnimations,Mt.useWebWorker=a,Mt.setIDPrefix=og,Mt.__getFactory=cg,Mt.version="5.12.2";function dg(){document.readyState==="complete"&&(clearInterval(mg),kh())}function hg(e){for(var r=Ch.split("&"),s=0;s<r.length;s+=1){var n=r[s].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[1])}return null}var Ch="";if(Za){var wh=document.getElementsByTagName("script"),pg=wh.length-1,Nh=wh[pg]||{src:""};Ch=Nh.src?Nh.src.replace(/^[^\?]+\??/,""):"",Ih=hg("renderer")}var mg=setInterval(dg,100);try{!((typeof ra>"u"?"undefined":Ka(ra))==="object"&&typeof On<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Mt)}catch{}var ci=function(){var e={},r={};e.registerModifier=s,e.getModifier=n;function s(d,c){r[d]||(r[d]=c)}function n(d,c,v){return new r[d](c,v)}return e}();function We(){}We.prototype.initModifierProperties=function(){},We.prototype.addShapeToModifier=function(){},We.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var r={shape:e.sh,data:e,localShapeCollection:No.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&e.setAsAnimated()}},We.prototype.init=function(e,r){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r),this.frameId=o,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},We.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},$([se],We);function lr(){}$([We],lr),lr.prototype.initModifierProperties=function(e,r){this.s=it.getProp(e,r.s,0,.01,this),this.e=it.getProp(e,r.e,0,.01,this),this.o=it.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},lr.prototype.addShapeToModifier=function(e){e.pathsData=[]},lr.prototype.calculateShapeEdges=function(e,r,s,n,d){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,I;for(x=0;x<g;x+=1)if(I=c[x],!(I.e*d<n||I.s*d>n+s)){var L,B;I.s*d<=n?L=0:L=(I.s*d-n)/s,I.e*d>=n+s?B=1:B=(I.e*d-n)/s,v.push([L,B])}return v.length||v.push([0,0]),v},lr.prototype.releasePathsData=function(e){var r,s=e.length;for(r=0;r<s;r+=1)Eh.release(e[r]);return e.length=0,e},lr.prototype.processShapes=function(e){var r,s;if(this._mdf||e){var n=this.o.v%360/360;if(n<0&&(n+=1),this.s.v>1?r=1+n:this.s.v<0?r=0+n:r=this.s.v+n,this.e.v>1?s=1+n:this.e.v<0?s=0+n:s=this.e.v+n,r>s){var d=r;r=s,s=d}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,I,L,B,E,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 P=[],M,z;for(v=0;v<x;v+=1)if(M=this.shapes[v],!M.shape._mdf&&!this._mdf&&!e&&this.m!==2)M.shape.paths=M.localShapeCollection;else{if(c=M.shape.paths,I=c._length,E=0,!M.shape._mdf&&M.pathsData.length)E=M.totalShapeLength;else{for(L=this.releasePathsData(M.pathsData),g=0;g<I;g+=1)B=Er.getSegmentsLength(c.shapes[g]),L.push(B),E+=B.totalLength;M.totalShapeLength=E,M.pathsData=L}R+=E,M.shape._mdf=!0}var w=r,_=s,y=0,A;for(v=x-1;v>=0;v-=1)if(M=this.shapes[v],M.shape._mdf){for(z=M.localShapeCollection,z.releaseShapes(),this.m===2&&x>1?(A=this.calculateShapeEdges(r,s,M.totalShapeLength,y,R),y+=M.totalShapeLength):A=[[w,_]],I=A.length,g=0;g<I;g+=1){w=A[g][0],_=A[g][1],P.length=0,_<=1?P.push({s:M.totalShapeLength*w,e:M.totalShapeLength*_}):w>=1?P.push({s:M.totalShapeLength*(w-1),e:M.totalShapeLength*(_-1)}):(P.push({s:M.totalShapeLength*w,e:M.totalShapeLength}),P.push({s:0,e:M.totalShapeLength*(_-1)}));var C=this.addShapes(M,P[0]);if(P[0].s!==P[0].e){if(P.length>1){var D=M.shape.paths.shapes[M.shape.paths._length-1];if(D.c){var V=C.pop();this.addPaths(C,z),C=this.addShapes(M,P[1],V)}else this.addPaths(C,z),C=this.addShapes(M,P[1])}this.addPaths(C,z)}}M.shape.paths=z}}},lr.prototype.addPaths=function(e,r){var s,n=e.length;for(s=0;s<n;s+=1)r.addShape(e[s])},lr.prototype.addSegment=function(e,r,s,n,d,c,v){d.setXYAt(r[0],r[1],"o",c),d.setXYAt(s[0],s[1],"i",c+1),v&&d.setXYAt(e[0],e[1],"v",c),d.setXYAt(n[0],n[1],"v",c+1)},lr.prototype.addSegmentFromArray=function(e,r,s,n){r.setXYAt(e[1],e[5],"o",s),r.setXYAt(e[2],e[6],"i",s+1),n&&r.setXYAt(e[0],e[4],"v",s),r.setXYAt(e[3],e[7],"v",s+1)},lr.prototype.addShapes=function(e,r,s){var n=e.pathsData,d=e.shape.paths.shapes,c,v=e.shape.paths._length,x,g,I=0,L,B,E,R,P=[],M,z=!0;for(s?(B=s._length,M=s._length):(s=de.newElement(),B=0,M=0),P.push(s),c=0;c<v;c+=1){for(E=n[c].lengths,s.c=d[c].c,g=d[c].c?E.length:E.length+1,x=1;x<g;x+=1)if(L=E[x-1],I+L.addedLength<r.s)I+=L.addedLength,s.c=!1;else if(I>r.e){s.c=!1;break}else r.s<=I&&r.e>=I+L.addedLength?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[x],d[c].v[x],s,B,z),z=!1):(R=Er.getNewSegment(d[c].v[x-1],d[c].v[x],d[c].o[x-1],d[c].i[x],(r.s-I)/L.addedLength,(r.e-I)/L.addedLength,E[x-1]),this.addSegmentFromArray(R,s,B,z),z=!1,s.c=!1),I+=L.addedLength,B+=1;if(d[c].c&&E.length){if(L=E[x-1],I<=r.e){var w=E[x-1].addedLength;r.s<=I&&r.e>=I+w?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[0],d[c].v[0],s,B,z),z=!1):(R=Er.getNewSegment(d[c].v[x-1],d[c].v[0],d[c].o[x-1],d[c].i[0],(r.s-I)/w,(r.e-I)/w,E[x-1]),this.addSegmentFromArray(R,s,B,z),z=!1,s.c=!1)}else s.c=!1;I+=L.addedLength,B+=1}if(s._length&&(s.setXYAt(s.v[M][0],s.v[M][1],"i",M),s.setXYAt(s.v[s._length-1][0],s.v[s._length-1][1],"o",s._length-1)),I>r.e)break;c<v-1&&(s=de.newElement(),z=!0,P.push(s),B=0)}return P};function Cs(){}$([We],Cs),Cs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=it.getProp(e,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Cs.prototype.processPath=function(e,r){var s=r/100,n=[0,0],d=e._length,c=0;for(c=0;c<d;c+=1)n[0]+=e.v[c][0],n[1]+=e.v[c][1];n[0]/=d,n[1]/=d;var v=de.newElement();v.c=e.c;var x,g,I,L,B,E;for(c=0;c<d;c+=1)x=e.v[c][0]+(n[0]-e.v[c][0])*s,g=e.v[c][1]+(n[1]-e.v[c][1])*s,I=e.o[c][0]+(n[0]-e.o[c][0])*-s,L=e.o[c][1]+(n[1]-e.o[c][1])*-s,B=e.i[c][0]+(n[0]-e.i[c][0])*-s,E=e.i[c][1]+(n[1]-e.i[c][1])*-s,v.setTripleAt(x,g,I,L,B,E,c);return v},Cs.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.amount.v;if(v!==0){var x,g;for(s=0;s<n;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,d=0;d<c;d+=1)g.addShape(this.processPath(r[d],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Ul=function(){var e=[0,0];function r(g){var I=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||I,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 I;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var L,B;if(I=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(L=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/I,0),B=this.p.getValueAtTime(this.p.keyframes[0].t/I,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(L=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/I,0),B=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/I,0)):(L=this.p.pv,B=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/I,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){L=[],B=[];var E=this.px,R=this.py;E._caching.lastFrame+E.offsetTime<=E.keyframes[0].t?(L[0]=E.getValueAtTime((E.keyframes[0].t+.01)/I,0),L[1]=R.getValueAtTime((R.keyframes[0].t+.01)/I,0),B[0]=E.getValueAtTime(E.keyframes[0].t/I,0),B[1]=R.getValueAtTime(R.keyframes[0].t/I,0)):E._caching.lastFrame+E.offsetTime>=E.keyframes[E.keyframes.length-1].t?(L[0]=E.getValueAtTime(E.keyframes[E.keyframes.length-1].t/I,0),L[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/I,0),B[0]=E.getValueAtTime((E.keyframes[E.keyframes.length-1].t-.01)/I,0),B[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/I,0)):(L=[E.pv,R.pv],B[0]=E.getValueAtTime((E._caching.lastFrame+E.offsetTime-.01)/I,E.offsetTime),B[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/I,R.offsetTime))}else B=e,L=B;this.v.rotate(-Math.atan2(L[1]-B[1],L[0]-B[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 n(){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 d(){}function c(g){this._addDynamicProperty(g),this.elem.addDynamicProperty(g),this._isDirty=!0}function v(g,I,L){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=I,this.v=new he,this.pre=new he,this.appliedTransformations=0,this.initDynamicPropertyContainer(L||g),I.p&&I.p.s?(this.px=it.getProp(g,I.p.x,0,0,this),this.py=it.getProp(g,I.p.y,0,0,this),I.p.z&&(this.pz=it.getProp(g,I.p.z,0,0,this))):this.p=it.getProp(g,I.p||{k:[0,0,0]},1,0,this),I.rx){if(this.rx=it.getProp(g,I.rx,0,It,this),this.ry=it.getProp(g,I.ry,0,It,this),this.rz=it.getProp(g,I.rz,0,It,this),I.or.k[0].ti){var B,E=I.or.k.length;for(B=0;B<E;B+=1)I.or.k[B].to=null,I.or.k[B].ti=null}this.or=it.getProp(g,I.or,1,It,this),this.or.sh=!0}else this.r=it.getProp(g,I.r||{k:0},0,It,this);I.sk&&(this.sk=it.getProp(g,I.sk,0,It,this),this.sa=it.getProp(g,I.sa,0,It,this)),this.a=it.getProp(g,I.a||{k:[0,0,0]},1,0,this),this.s=it.getProp(g,I.s||{k:[100,100,100]},1,.01,this),I.o?this.o=it.getProp(g,I.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:n,autoOrient:d},$([se],v),v.prototype.addDynamicProperty=c,v.prototype._addDynamicProperty=se.prototype.addDynamicProperty;function x(g,I,L){return new v(g,I,L)}return{getTransformProperty:x}}();function Tr(){}$([We],Tr),Tr.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.c=it.getProp(e,r.c,0,null,this),this.o=it.getProp(e,r.o,0,null,this),this.tr=Ul.getTransformProperty(e,r.tr,this),this.so=it.getProp(e,r.tr.so,0,.01,this),this.eo=it.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 he,this.rMatrix=new he,this.sMatrix=new he,this.tMatrix=new he,this.matrix=new he},Tr.prototype.applyTransforms=function(e,r,s,n,d,c){var v=c?-1:1,x=n.s.v[0]+(1-n.s.v[0])*(1-d),g=n.s.v[1]+(1-n.s.v[1])*(1-d);e.translate(n.p.v[0]*v*d,n.p.v[1]*v*d,n.p.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.rotate(-n.r.v*v*d),r.translate(n.a.v[0],n.a.v[1],n.a.v[2]),s.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),s.scale(c?1/x:x,c?1/g:g),s.translate(n.a.v[0],n.a.v[1],n.a.v[2])},Tr.prototype.init=function(e,r,s,n){for(this.elem=e,this.arr=r,this.pos=s,this.elemsData=n,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)},Tr.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)},Tr.prototype.cloneElements=function(e){var r=JSON.parse(JSON.stringify(e));return this.resetElements(r),r},Tr.prototype.changeGroupRender=function(e,r){var s,n=e.length;for(s=0;s<n;s+=1)e[s]._render=r,e[s].ty==="gr"&&this.changeGroupRender(e[s].it,r)},Tr.prototype.processShapes=function(e){var r,s,n,d,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 I;for(n=0;n<=this._groups.length-1;n+=1){if(I=c<x,this._groups[n]._render=I,this.changeGroupRender(this._groups[n].it,I),!I){var L=this.elemsData[n].it,B=L[L.length-1];B.transform.op.v!==0?(B.transform.op._mdf=!0,B.transform.op.v=0):B.transform.op._mdf=!1}c+=1}this._currentCopies=x;var E=this.o.v,R=E%1,P=E>0?Math.floor(E):Math.ceil(E),M=this.pMatrix.props,z=this.rMatrix.props,w=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var _=0;if(E>0){for(;_<P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,R,!1),_+=R)}else if(E<0){for(;_>P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-R,!0),_-=R)}n=this.data.m===1?0:this._currentCopies-1,d=this.data.m===1?1:-1,c=this._currentCopies;for(var y,A;c;){if(r=this.elemsData[n].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)*(n/(this._currentCopies-1)),_!==0){for((n!==0&&d===1||n!==this._currentCopies-1&&d===-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(w[0],w[1],w[2],w[3],w[4],w[5],w[6],w[7],w[8],w[9],w[10],w[11],w[12],w[13],w[14],w[15]),this.matrix.transform(M[0],M[1],M[2],M[3],M[4],M[5],M[6],M[7],M[8],M[9],M[10],M[11],M[12],M[13],M[14],M[15]),y=0;y<A;y+=1)s[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<A;y+=1)s[y]=this.matrix.props[y];_+=1,c-=1,n+=d}}else for(c=this._currentCopies,n=0,d=1;c;)r=this.elemsData[n].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,n+=d;return v},Tr.prototype.addShape=function(){};function ws(){}$([We],ws),ws.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.rd=it.getProp(e,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},ws.prototype.processPath=function(e,r){var s=de.newElement();s.c=e.c;var n,d=e._length,c,v,x,g,I,L,B=0,E,R,P,M,z,w;for(n=0;n<d;n+=1)c=e.v[n],x=e.o[n],v=e.i[n],c[0]===x[0]&&c[1]===x[1]&&c[0]===v[0]&&c[1]===v[1]?(n===0||n===d-1)&&!e.c?(s.setTripleAt(c[0],c[1],x[0],x[1],v[0],v[1],B),B+=1):(n===0?g=e.v[d-1]:g=e.v[n-1],I=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=I?Math.min(I/2,r)/I:0,z=c[0]+(g[0]-c[0])*L,E=z,w=c[1]-(c[1]-g[1])*L,R=w,P=E-(E-c[0])*ce,M=R-(R-c[1])*ce,s.setTripleAt(E,R,P,M,z,w,B),B+=1,n===d-1?g=e.v[0]:g=e.v[n+1],I=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=I?Math.min(I/2,r)/I:0,P=c[0]+(g[0]-c[0])*L,E=P,M=c[1]+(g[1]-c[1])*L,R=M,z=E-(E-c[0])*ce,w=R-(R-c[1])*ce,s.setTripleAt(E,R,P,M,z,w,B),B+=1):(s.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],B),B+=1);return s},ws.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.rd.v;if(v!==0){var x,g;for(s=0;s<n;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,d=0;d<c;d+=1)g.addShape(this.processPath(r[d],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Xa(e,r){return Math.abs(e-r)*1e5<=Math.min(Math.abs(e),Math.abs(r))}function Hl(e){return Math.abs(e)<=1e-5}function Lh(e,r,s){return e*(1-s)+r*s}function di(e,r,s){return[Lh(e[0],r[0],s),Lh(e[1],r[1],s)]}function ug(e,r,s){if(e===0)return[];var n=r*r-4*e*s;if(n<0)return[];var d=-r/(2*e);if(n===0)return[d];var c=Math.sqrt(n)/(2*e);return[d-c,d+c]}function Rh(e,r,s,n){return[-e+3*r-3*s+n,3*e-6*r+3*s,-3*e+3*r,e]}function Mh(e){return new Ut(e,e,e,e,!1)}function Ut(e,r,s,n,d){d&&Ro(e,r)&&(r=di(e,n,1/3)),d&&Ro(s,n)&&(s=di(e,n,2/3));var c=Rh(e[0],r[0],s[0],n[0]),v=Rh(e[1],r[1],s[1],n[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,n]}Ut.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]]},Ut.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]]},Ut.prototype.tangentAngle=function(e){var r=this.derivative(e);return Math.atan2(r[1],r[0])},Ut.prototype.normalAngle=function(e){var r=this.derivative(e);return Math.atan2(r[0],r[1])},Ut.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Hl(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 n=Math.sqrt(s);return Hl(n)?n>0&&n<1?[r]:[]:[r-n,r+n].filter(function(d){return d>0&&d<1})},Ut.prototype.split=function(e){if(e<=0)return[Mh(this.points[0]),this];if(e>=1)return[this,Mh(this.points[this.points.length-1])];var r=di(this.points[0],this.points[1],e),s=di(this.points[1],this.points[2],e),n=di(this.points[2],this.points[3],e),d=di(r,s,e),c=di(s,n,e),v=di(d,c,e);return[new Ut(this.points[0],r,d,v,!0),new Ut(v,c,n,this.points[3],!0)]};function Oh(e,r){var s=e.points[0][r],n=e.points[e.points.length-1][r];if(s>n){var d=n;n=s,s=d}for(var c=ug(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>n&&(n=x)}return{min:s,max:n}}Ut.prototype.bounds=function(){return{x:Oh(this,0),y:Oh(this,1)}},Ut.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 Qa(e,r,s){var n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.height,bez:e,t:(r+s)/2,t1:r,t2:s}}function Ph(e){var r=e.bez.split(.5);return[Qa(r[0],e.t1,e.t),Qa(r[1],e.t,e.t2)]}function fg(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 Ns(e,r,s,n,d,c){if(fg(e,r)){if(s>=c||e.width<=n&&e.height<=n&&r.width<=n&&r.height<=n){d.push([e.t,r.t]);return}var v=Ph(e),x=Ph(r);Ns(v[0],x[0],s+1,n,d,c),Ns(v[0],x[1],s+1,n,d,c),Ns(v[1],x[0],s+1,n,d,c),Ns(v[1],x[1],s+1,n,d,c)}}Ut.prototype.intersections=function(e,r,s){r===void 0&&(r=2),s===void 0&&(s=7);var n=[];return Ns(Qa(this,0,1),Qa(e,0,1),0,r,n,s),n},Ut.shapeSegment=function(e,r){var s=(r+1)%e.length();return new Ut(e.v[r],e.o[r],e.i[s],e.v[s],!0)},Ut.shapeSegmentInverted=function(e,r){var s=(r+1)%e.length();return new Ut(e.v[s],e.i[s],e.o[r],e.v[r],!0)};function Gl(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 Ja(e,r,s,n){var d=[e[0],e[1],1],c=[r[0],r[1],1],v=[s[0],s[1],1],x=[n[0],n[1],1],g=Gl(Gl(d,c),Gl(v,x));return Hl(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function Lo(e,r,s){return[e[0]+Math.cos(r)*s,e[1]-Math.sin(r)*s]}function Yl(e,r){return Math.hypot(e[0]-r[0],e[1]-r[1])}function Ro(e,r){return Xa(e[0],r[0])&&Xa(e[1],r[1])}function Ls(){}$([We],Ls),Ls.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amplitude=it.getProp(e,r.s,0,null,this),this.frequency=it.getProp(e,r.r,0,null,this),this.pointsType=it.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 Dh(e,r,s,n,d,c,v){var x=s-Math.PI/2,g=s+Math.PI/2,I=r[0]+Math.cos(s)*n*d,L=r[1]-Math.sin(s)*n*d;e.setTripleAt(I,L,I+Math.cos(x)*c,L-Math.sin(x)*c,I+Math.cos(g)*v,L-Math.sin(g)*v,e.length())}function vg(e,r){var s=[r[0]-e[0],r[1]-e[1]],n=-Math.PI*.5,d=[Math.cos(n)*s[0]-Math.sin(n)*s[1],Math.sin(n)*s[0]+Math.cos(n)*s[1]];return d}function gg(e,r){var s=r===0?e.length()-1:r-1,n=(r+1)%e.length(),d=e.v[s],c=e.v[n],v=vg(d,c);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function Fh(e,r,s,n,d,c,v){var x=gg(r,s),g=r.v[s%r._length],I=r.v[s===0?r._length-1:s-1],L=r.v[(s+1)%r._length],B=c===2?Math.sqrt(Math.pow(g[0]-I[0],2)+Math.pow(g[1]-I[1],2)):0,E=c===2?Math.sqrt(Math.pow(g[0]-L[0],2)+Math.pow(g[1]-L[1],2)):0;Dh(e,r.v[s%r._length],x,v,n,E/((d+1)*2),B/((d+1)*2),c)}function bg(e,r,s,n,d,c){for(var v=0;v<n;v+=1){var x=(v+1)/(n+1),g=d===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,I=r.normalAngle(x),L=r.point(x);Dh(e,L,I,c,s,g/((n+1)*2),g/((n+1)*2),d),c=-c}return c}Ls.prototype.processPath=function(e,r,s,n){var d=e._length,c=de.newElement();if(c.c=e.c,e.c||(d-=1),d===0)return c;var v=-1,x=Ut.shapeSegment(e,0);Fh(c,e,0,r,s,n,v);for(var g=0;g<d;g+=1)v=bg(c,x,r,s,n,-v),g===d-1&&!e.c?x=null:x=Ut.shapeSegment(e,(g+1)%d),Fh(c,e,g+1,r,s,n,v);return c},Ls.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.amplitude.v,x=Math.max(0,Math.round(this.frequency.v)),g=this.pointsType.v;if(v!==0){var I,L;for(s=0;s<n;s+=1){if(I=this.shapes[s],L=I.localShapeCollection,!(!I.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),I.shape._mdf=!0,r=I.shape.paths.shapes,c=I.shape.paths._length,d=0;d<c;d+=1)L.addShape(this.processPath(r[d],v,x,g));I.shape.paths=I.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Wl(e,r,s){var n=Math.atan2(r[0]-e[0],r[1]-e[1]);return[Lo(e,n,s),Lo(r,n,s)]}function Mo(e,r){var s,n,d,c,v,x,g;g=Wl(e.points[0],e.points[1],r),s=g[0],n=g[1],g=Wl(e.points[1],e.points[2],r),d=g[0],c=g[1],g=Wl(e.points[2],e.points[3],r),v=g[0],x=g[1];var I=Ja(s,n,d,c);I===null&&(I=n);var L=Ja(v,x,d,c);return L===null&&(L=v),new Ut(s,I,L,x)}function $h(e,r,s,n,d){var c=r.points[3],v=s.points[0];if(n===3||Ro(c,v))return c;if(n===2){var x=-r.tangentAngle(1),g=-s.tangentAngle(0)+Math.PI,I=Ja(c,Lo(c,x+Math.PI/2,100),v,Lo(v,x+Math.PI/2,100)),L=I?Yl(I,c):Yl(c,v)/2,B=Lo(c,x,2*L*ce);return e.setXYAt(B[0],B[1],"o",e.length()-1),B=Lo(v,g,2*L*ce),e.setTripleAt(v[0],v[1],v[0],v[1],B[0],B[1],e.length()),v}var E=Ro(c,r.points[2])?r.points[0]:r.points[2],R=Ro(v,s.points[1])?s.points[3]:s.points[1],P=Ja(E,c,v,R);return P&&Yl(P,c)<d?(e.setTripleAt(P[0],P[1],P[0],P[1],P[0],P[1],e.length()),P):c}function zh(e,r){var s=e.intersections(r);return s.length&&Xa(s[0][0],1)&&s.shift(),s.length?s[0]:null}function Vh(e,r){var s=e.slice(),n=r.slice(),d=zh(e[e.length-1],r[0]);return d&&(s[e.length-1]=e[e.length-1].split(d[0])[0],n[0]=r[0].split(d[1])[1]),e.length>1&&r.length>1&&(d=zh(e[0],r[r.length-1]),d)?[[e[0].split(d[0])[0]],[r[r.length-1].split(d[1])[1]]]:[s,n]}function yg(e){for(var r,s=1;s<e.length;s+=1)r=Vh(e[s-1],e[s]),e[s-1]=r[0],e[s]=r[1];return e.length>1&&(r=Vh(e[e.length-1],e[0]),e[e.length-1]=r[0],e[0]=r[1]),e}function Bh(e,r){var s=e.inflectionPoints(),n,d,c,v;if(s.length===0)return[Mo(e,r)];if(s.length===1||Xa(s[1],1))return c=e.split(s[0]),n=c[0],d=c[1],[Mo(n,r),Mo(d,r)];c=e.split(s[0]),n=c[0];var x=(s[1]-s[0])/(1-s[0]);return c=c[1].split(x),v=c[0],d=c[1],[Mo(n,r),Mo(v,r),Mo(d,r)]}function Rs(){}$([We],Rs),Rs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=it.getProp(e,r.a,0,null,this),this.miterLimit=it.getProp(e,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Rs.prototype.processPath=function(e,r,s,n){var d=de.newElement();d.c=e.c;var c=e.length();e.c||(c-=1);var v,x,g,I=[];for(v=0;v<c;v+=1)g=Ut.shapeSegment(e,v),I.push(Bh(g,r));if(!e.c)for(v=c-1;v>=0;v-=1)g=Ut.shapeSegmentInverted(e,v),I.push(Bh(g,r));I=yg(I);var L=null,B=null;for(v=0;v<I.length;v+=1){var E=I[v];for(B&&(L=$h(d,B,E[0],s,n)),B=E[E.length-1],x=0;x<E.length;x+=1)g=E[x],L&&Ro(g.points[0],L)?d.setXYAt(g.points[1][0],g.points[1][1],"o",d.length()-1):d.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],d.length()),d.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],d.length()),L=g.points[3]}return I.length&&$h(d,B,I[0][0],s,n),d},Rs.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.amount.v,x=this.miterLimit.v,g=this.lineJoin;if(v!==0){var I,L;for(s=0;s<n;s+=1){if(I=this.shapes[s],L=I.localShapeCollection,!(!I.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),I.shape._mdf=!0,r=I.shape.paths.shapes,c=I.shape.paths._length,d=0;d<c;d+=1)L.addShape(this.processPath(r[d],v,g,x));I.shape.paths=I.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Uh(e){for(var r=e.fStyle?e.fStyle.split(" "):[],s="normal",n="normal",d=r.length,c,v=0;v<d;v+=1)switch(c=r[v].toLowerCase(),c){case"italic":n="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:n,weight:e.fWeight||s}}var $i=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 n=127988,d=917631,c=917601,v=917626,x=65039,g=8205,I=127462,L=127487,B=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function E(S){var O=S.split(","),u,b=O.length,U=[];for(u=0;u<b;u+=1)O[u]!=="sans-serif"&&O[u]!=="monospace"&&U.push(O[u]);return U.join(",")}function R(S,O){var u=N("span");u.setAttribute("aria-hidden",!0),u.style.fontFamily=O;var b=N("span");b.innerText="giItT1WQy@!-/#",u.style.position="absolute",u.style.left="-10000px",u.style.top="-10000px",u.style.fontSize="300px",u.style.fontVariant="normal",u.style.fontStyle="normal",u.style.fontWeight="normal",u.style.letterSpacing="0",u.appendChild(b),document.body.appendChild(u);var U=b.offsetWidth;return b.style.fontFamily=E(S)+", "+O,{node:b,w:U,parent:u}}function P(){var S,O=this.fonts.length,u,b,U=O;for(S=0;S<O;S+=1)this.fonts[S].loaded?U-=1:this.fonts[S].fOrigin==="n"||this.fonts[S].origin===0?this.fonts[S].loaded=!0:(u=this.fonts[S].monoCase.node,b=this.fonts[S].monoCase.w,u.offsetWidth!==b?(U-=1,this.fonts[S].loaded=!0):(u=this.fonts[S].sansCase.node,b=this.fonts[S].sansCase.w,u.offsetWidth!==b&&(U-=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)));U!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function M(S,O){var u=document.body&&O?"svg":"canvas",b,U=Uh(S);if(u==="svg"){var F=bt("text");F.style.fontSize="100px",F.setAttribute("font-family",S.fFamily),F.setAttribute("font-style",U.style),F.setAttribute("font-weight",U.weight),F.textContent="1",S.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",S.fClass)):F.style.fontFamily=S.fFamily,O.appendChild(F),b=F}else{var at=new OffscreenCanvas(500,500).getContext("2d");at.font=U.style+" "+U.weight+" 100px "+S.fFamily,b=at}function mt(vt){return u==="svg"?(b.textContent=vt,b.getComputedTextLength()):b.measureText(vt).width}return{measureText:mt}}function z(S,O){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(we){we.helper=M(we),we.cache={}}),this.fonts=S.list;return}var u=S.list,b,U=u.length,F=U;for(b=0;b<U;b+=1){var at=!0,mt,vt;if(u[b].loaded=!1,u[b].monoCase=R(u[b].fFamily,"monospace"),u[b].sansCase=R(u[b].fFamily,"sans-serif"),!u[b].fPath)u[b].loaded=!0,F-=1;else if(u[b].fOrigin==="p"||u[b].origin===3){if(mt=document.querySelectorAll('style[f-forigin="p"][f-family="'+u[b].fFamily+'"], style[f-origin="3"][f-family="'+u[b].fFamily+'"]'),mt.length>0&&(at=!1),at){var wt=N("style");wt.setAttribute("f-forigin",u[b].fOrigin),wt.setAttribute("f-origin",u[b].origin),wt.setAttribute("f-family",u[b].fFamily),wt.type="text/css",wt.innerText="@font-face {font-family: "+u[b].fFamily+"; font-style: normal; src: url('"+u[b].fPath+"');}",O.appendChild(wt)}}else if(u[b].fOrigin==="g"||u[b].origin===1){for(mt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),vt=0;vt<mt.length;vt+=1)mt[vt].href.indexOf(u[b].fPath)!==-1&&(at=!1);if(at){var Nt=N("link");Nt.setAttribute("f-forigin",u[b].fOrigin),Nt.setAttribute("f-origin",u[b].origin),Nt.type="text/css",Nt.rel="stylesheet",Nt.href=u[b].fPath,document.body.appendChild(Nt)}}else if(u[b].fOrigin==="t"||u[b].origin===2){for(mt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),vt=0;vt<mt.length;vt+=1)u[b].fPath===mt[vt].src&&(at=!1);if(at){var Zt=N("link");Zt.setAttribute("f-forigin",u[b].fOrigin),Zt.setAttribute("f-origin",u[b].origin),Zt.setAttribute("rel","stylesheet"),Zt.setAttribute("href",u[b].fPath),O.appendChild(Zt)}}u[b].helper=M(u[b],O),u[b].cache={},this.fonts.push(u[b])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function w(S){if(S){this.chars||(this.chars=[]);var O,u=S.length,b,U=this.chars.length,F;for(O=0;O<u;O+=1){for(b=0,F=!1;b<U;)this.chars[b].style===S[O].style&&this.chars[b].fFamily===S[O].fFamily&&this.chars[b].ch===S[O].ch&&(F=!0),b+=1;F||(this.chars.push(S[O]),U+=1)}}}function _(S,O,u){for(var b=0,U=this.chars.length;b<U;){if(this.chars[b].ch===S&&this.chars[b].style===O&&this.chars[b].fFamily===u)return this.chars[b];b+=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,O,u)),r}function y(S,O,u){var b=this.getFontByName(O),U=S;if(!b.cache[U]){var F=b.helper;if(S===" "){var at=F.measureText("|"+S+"|"),mt=F.measureText("||");b.cache[U]=(at-mt)/100}else b.cache[U]=F.measureText(S)/100}return b.cache[U]*u}function A(S){for(var O=0,u=this.fonts.length;O<u;){if(this.fonts[O].fName===S)return this.fonts[O];O+=1}return this.fonts[0]}function C(S){var O=0,u=S.charCodeAt(0);if(u>=55296&&u<=56319){var b=S.charCodeAt(1);b>=56320&&b<=57343&&(O=(u-55296)*1024+b-56320+65536)}return O}function D(S,O){var u=S.toString(16)+O.toString(16);return B.indexOf(u)!==-1}function V(S){return S===g}function H(S){return S===x}function X(S){var O=C(S);return O>=I&&O<=L}function ft(S){return X(S.substr(0,2))&&X(S.substr(2,2))}function ht(S){return s.indexOf(S)!==-1}function et(S,O){var u=C(S.substr(O,2));if(u!==n)return!1;var b=0;for(O+=2;b<5;){if(u=C(S.substr(O,2)),u<c||u>v)return!1;b+=1,O+=2}return C(S.substr(O,2))===d}function yt(){this.isLoaded=!0}var lt=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)};lt.isModifier=D,lt.isZeroWidthJoiner=V,lt.isFlagEmoji=ft,lt.isRegionalCode=X,lt.isCombinedCharacter=ht,lt.isRegionalFlag=et,lt.isVariationSelector=H,lt.BLACK_FLAG_CODE_POINT=n;var Z={addChars:w,addFonts:z,getCharData:_,getFontByName:A,measureText:y,checkLoadedFonts:P,setIsLoaded:yt};return lt.prototype=Z,lt}();function Hh(e){this.animationData=e}Hh.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function Eg(e){return new Hh(e)}function tn(){}tn.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 jl=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 Tg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function xg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Ag(e,r,s){this.p=it.getProp(r,e.v,1,0,s)}function Sg(e,r,s){this.p=it.getProp(r,e.v,1,0,s)}function _g(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Ig(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function kg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Cg(){this.p={}}function Gh(e,r){var s=e.ef||[];this.effectElements=[];var n,d=s.length,c;for(n=0;n<d;n+=1)c=new Ms(s[n],r),this.effectElements.push(c)}function Ms(e,r){this.init(e,r)}$([se],Ms),Ms.prototype.getValue=Ms.prototype.iterateDynamicProperties,Ms.prototype.init=function(e,r){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(r);var s,n=this.data.ef.length,d,c=this.data.ef;for(s=0;s<n;s+=1){switch(d=null,c[s].ty){case 0:d=new Tg(c[s],r,this);break;case 1:d=new xg(c[s],r,this);break;case 2:d=new Ag(c[s],r,this);break;case 3:d=new Sg(c[s],r,this);break;case 4:case 7:d=new kg(c[s],r,this);break;case 10:d=new _g(c[s],r,this);break;case 11:d=new Ig(c[s],r,this);break;case 5:d=new Gh(c[s],r,this);break;default:d=new Cg(c[s],r,this);break}d&&this.effectElements.push(d)}};function hi(){}hi.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=vh();if(r){var s=r("layer"),n=r("effects"),d=r("shape"),c=r("text"),v=r("comp");this.layerInterface=s(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var x=n.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=d(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=jl(this.data.bm),s=this.baseElement||this.layerElement;s.style["mix-blend-mode"]=r},initBaseData:function(r,s,n){this.globalData=s,this.comp=n,this.data=r,this.layerId=ke(),this.data.sr||(this.data.sr=1),this.effectsManager=new Gh(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function pi(){}pi.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,s){var n,d=this.dynamicProperties.length;for(n=0;n<d;n+=1)(s||this._isParent&&this.dynamicProperties[n].propType==="transform")&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function mi(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)}mi.prototype.prepareFrame=function(){},$([tn,hi,pi],mi),mi.prototype.getBaseElement=function(){return null},mi.prototype.renderFrame=function(){},mi.prototype.destroy=function(){},mi.prototype.initExpressions=function(){var e=vh();if(e){var r=e("footage");this.layerInterface=r(this)}},mi.prototype.getFootageData=function(){return this.footageData};function Ce(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 n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?it.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=it.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}Ce.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))},$([tn,hi,pi],Ce),Ce.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))},Ce.prototype.show=function(){},Ce.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Ce.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Ce.prototype.resume=function(){this._canPlay=!0},Ce.prototype.setRate=function(e){this.audio.rate(e)},Ce.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},Ce.prototype.getBaseElement=function(){return null},Ce.prototype.destroy=function(){},Ce.prototype.sourceRectAtTime=function(){},Ce.prototype.initExpressions=function(){};function pe(){}pe.prototype.checkLayers=function(e){var r,s=this.layers.length,n;for(this.completeLayers=!0,r=s-1;r>=0;r-=1)this.elements[r]||(n=this.layers[r],n.ip-n.st<=e-this.layers[r].st&&n.op-n.st>e-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},pe.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)}},pe.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},pe.prototype.createAudio=function(e){return new Ce(e,this.globalData,this)},pe.prototype.createFootage=function(e){return new mi(e,this.globalData,this)},pe.prototype.buildAllItems=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.buildItem(e);this.checkPendingElements()},pe.prototype.includeLayers=function(e){this.completeLayers=!1;var r,s=e.length,n,d=this.layers.length;for(r=0;r<s;r+=1)for(n=0;n<d;){if(this.layers[n].id===e[r].id){this.layers[n]=e[r];break}n+=1}},pe.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},pe.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},pe.prototype.buildElementParenting=function(e,r,s){for(var n=this.elements,d=this.layers,c=0,v=d.length;c<v;)d[c].ind==r&&(!n[c]||n[c]===!0?(this.buildItem(c),this.addPendingElement(e)):(s.push(n[c]),n[c].setAsParent(),d[c].parent!==void 0?this.buildElementParenting(e,d[c].parent,s):e.setHierarchy(s))),c+=1},pe.prototype.addPendingElement=function(e){this.pendingElements.push(e)},pe.prototype.searchExtraCompositions=function(e){var r,s=e.length;for(r=0;r<s;r+=1)if(e[r].xt){var n=this.createComp(e[r]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},pe.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},pe.prototype.getElementByPath=function(e){var r=e.shift(),s;if(typeof r=="number")s=this.elements[r];else{var n,d=this.elements.length;for(n=0;n<d;n+=1)if(this.elements[n].data.nm===r){s=this.elements[n];break}}return e.length===0?s:s.getElementByPath(e)},pe.prototype.setupGlobalData=function(e,r){this.globalData.fontManager=new $i,this.globalData.slotManager=Eg(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 wg={TRANSFORM_EFFECT:"transformEFfect"};function Oo(){}Oo.prototype={initTransform:function(){var r=new he;this.finalTransform={mProp:this.data.ks?Ul.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,n=0,d=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<d;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,s.cloneFromProps(r),n=0;n<d;n+=1)s.multiply(this.hierarchy[n].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 n=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(n),r=1;r<s;r+=1){var d=this.localTransforms[r].matrix;n.multiply(d)}n.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(wg.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new he;var s=0,n=r.length;for(s=0;s<n;s+=1)this.localTransforms.push(r[s])}}},globalToLocal:function(r){var s=[];s.push(this.finalTransform);for(var n=!0,d=this.comp;n;)d.finalTransform?(d.data.hasMask&&s.splice(0,0,d.finalTransform),d=d.comp):n=!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 he};function zi(e,r,s){this.data=e,this.element=r,this.globalData=s,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n=this.globalData.defs,d,c=this.masksProperties?this.masksProperties.length:0;this.viewData=rt(c),this.solidPath="";var v,x=this.masksProperties,g=0,I=[],L,B,E=ke(),R,P,M,z,w="clipPath",_="clip-path";for(d=0;d<c;d+=1)if((x[d].mode!=="a"&&x[d].mode!=="n"||x[d].inv||x[d].o.k!==100||x[d].o.x)&&(w="mask",_="mask"),(x[d].mode==="s"||x[d].mode==="i")&&g===0?(R=bt("rect"),R.setAttribute("fill","#ffffff"),R.setAttribute("width",this.element.comp.data.w||0),R.setAttribute("height",this.element.comp.data.h||0),I.push(R)):R=null,v=bt("path"),x[d].mode==="n")this.viewData[d]={op:it.getProp(this.element,x[d].o,0,.01,this.element),prop:qa.getShapeProp(this.element,x[d],3),elem:v,lastPath:""},n.appendChild(v);else{g+=1,v.setAttribute("fill",x[d].mode==="s"?"#000000":"#ffffff"),v.setAttribute("clip-rule","nonzero");var y;if(x[d].x.k!==0?(w="mask",_="mask",z=it.getProp(this.element,x[d].x,0,null,this.element),y=ke(),P=bt("filter"),P.setAttribute("id",y),M=bt("feMorphology"),M.setAttribute("operator","erode"),M.setAttribute("in","SourceGraphic"),M.setAttribute("radius","0"),P.appendChild(M),n.appendChild(P),v.setAttribute("stroke",x[d].mode==="s"?"#000000":"#ffffff")):(M=null,z=null),this.storedData[d]={elem:v,x:z,expan:M,lastPath:"",lastOperator:"",filterId:y,lastRadius:0},x[d].mode==="i"){B=I.length;var A=bt("g");for(L=0;L<B;L+=1)A.appendChild(I[L]);var C=bt("mask");C.setAttribute("mask-type","alpha"),C.setAttribute("id",E+"_"+g),C.appendChild(v),n.appendChild(C),A.setAttribute("mask","url("+T()+"#"+E+"_"+g+")"),I.length=0,I.push(A)}else I.push(v);x[d].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[d]={elem:v,lastPath:"",op:it.getProp(this.element,x[d].o,0,.01,this.element),prop:qa.getShapeProp(this.element,x[d],3),invRect:R},this.viewData[d].prop.k||this.drawPath(x[d],this.viewData[d].prop.v,this.viewData[d])}for(this.maskElement=bt(w),c=I.length,d=0;d<c;d+=1)this.maskElement.appendChild(I[d]);g>0&&(this.maskElement.setAttribute("id",E),this.element.maskedElement.setAttribute(_,"url("+T()+"#"+E+")"),n.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}zi.prototype.getMaskProperty=function(e){return this.viewData[e].prop},zi.prototype.renderFrame=function(e){var r=this.element.finalTransform.mat,s,n=this.masksProperties.length;for(s=0;s<n;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 d=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("+T()+"#"+this.storedData[s].filterId+")")),d.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))}},zi.prototype.getMaskelement=function(){return this.maskElement},zi.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},zi.prototype.drawPath=function(e,r,s){var n=" M"+r.v[0][0]+","+r.v[0][1],d,c;for(c=r._length,d=1;d<c;d+=1)n+=" C"+r.o[d-1][0]+","+r.o[d-1][1]+" "+r.i[d][0]+","+r.i[d][1]+" "+r.v[d][0]+","+r.v[d][1];if(r.c&&c>1&&(n+=" C"+r.o[d-1][0]+","+r.o[d-1][1]+" "+r.i[0][0]+","+r.i[0][1]+" "+r.v[0][0]+","+r.v[0][1]),s.lastPath!==n){var v="";s.elem&&(r.c&&(v=e.inv?this.solidPath+n:n),s.elem.setAttribute("d",v)),s.lastPath=n}},zi.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var Os=function(){var e={};e.createFilter=r,e.createAlphaToLuminanceFilter=s;function r(n,d){var c=bt("filter");return c.setAttribute("id",n),d!==!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 n=bt("feColorMatrix");return n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),n}return e}(),Yh=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}(),en={},Wh="filter_result_";function ql(e){var r,s="SourceGraphic",n=e.data.ef?e.data.ef.length:0,d=ke(),c=Os.createFilter(d,!0),v=0;this.filters=[];var x;for(r=0;r<n;r+=1){x=null;var g=e.data.ef[r].ty;if(en[g]){var I=en[g].effect;x=new I(c,e.effectsManager.effectElements[r],e,Wh+v,s),s=Wh+v,en[g].countsAsEffect&&(v+=1)}x&&this.filters.push(x)}v&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+T()+"#"+d+")")),this.filters.length&&e.addRenderableComponent(this)}ql.prototype.renderFrame=function(e){var r,s=this.filters.length;for(r=0;r<s;r+=1)this.filters[r].renderFrame(e)},ql.prototype.getEffects=function(e){var r,s=this.filters.length,n=[];for(r=0;r<s;r+=1)this.filters[r].type===e&&n.push(this.filters[r]);return n};function ox(e,r,s){en[e]={effect:r,countsAsEffect:s}}function Ps(){}Ps.prototype={initRendererElement:function(){this.layerElement=bt("g")},createContainerElements:function(){this.matteElement=bt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var s=bt("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 n=bt("clipPath"),d=bt("path");d.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var c=ke();if(n.setAttribute("id",c),n.appendChild(d),this.globalData.defs.appendChild(n),this.checkMasks()){var v=bt("g");v.setAttribute("clip-path","url("+T()+"#"+c+")"),v.appendChild(this.layerElement),this.transformedElement=v,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+T()+"#"+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 zi(this.data,this,this.globalData),this.renderableEffectsManager=new ql(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var s=this.layerId+"_"+r,n,d,c,v;if(r===1||r===3){var x=bt("mask");x.setAttribute("id",s),x.setAttribute("mask-type",r===3?"luminance":"alpha"),c=bt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),x.appendChild(c),this.globalData.defs.appendChild(x),!Yh.maskType&&r===1&&(x.setAttribute("mask-type","luminance"),n=ke(),d=Os.createFilter(n),this.globalData.defs.appendChild(d),d.appendChild(Os.createAlphaToLuminanceFilter()),v=bt("g"),v.appendChild(c),x.appendChild(v),v.setAttribute("filter","url("+T()+"#"+n+")"))}else if(r===2){var g=bt("mask");g.setAttribute("id",s),g.setAttribute("mask-type","alpha");var I=bt("g");g.appendChild(I),n=ke(),d=Os.createFilter(n);var L=bt("feComponentTransfer");L.setAttribute("in","SourceGraphic"),d.appendChild(L);var B=bt("feFuncA");B.setAttribute("type","table"),B.setAttribute("tableValues","1.0 0.0"),L.appendChild(B),this.globalData.defs.appendChild(d);var E=bt("rect");E.setAttribute("width",this.comp.data.w),E.setAttribute("height",this.comp.data.h),E.setAttribute("x","0"),E.setAttribute("y","0"),E.setAttribute("fill","#ffffff"),E.setAttribute("opacity","0"),I.setAttribute("filter","url("+T()+"#"+n+")"),I.appendChild(E),c=bt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),I.appendChild(c),Yh.maskType||(g.setAttribute("mask-type","luminance"),d.appendChild(Os.createAlphaToLuminanceFilter()),v=bt("g"),I.appendChild(E),v.appendChild(this.layerElement),I.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("+T()+"#"+r+")")}};function Po(){}Po.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 Ds(){}(function(){var e={initElement:function(s,n,d){this.initFrame(),this.initBaseData(s,n,d),this.initTransform(s,n,d),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()}};$([tn,K(e)],Ds)})();function Fs(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}}$([hi,Oo,Ps,Po,pi,Ds],Fs),Fs.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=bt("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)},Fs.prototype.sourceRectAtTime=function(){return this.sourceRect};function Ng(e,r){this.elem=e,this.pos=r}function jh(){}jh.prototype={addShapeToModifiers:function(r){var s,n=this.shapeModifiers.length;for(s=0;s<n;s+=1)this.shapeModifiers[s].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var s=0,n=this.shapeModifiers.length;s<n;)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 n;for(r=s-1;r>=0&&(n=this.shapeModifiers[r].processShapes(this._isFirstFrame),!n);r-=1);}},searchProcessedElement:function(r){for(var s=this.processedElements,n=0,d=s.length;n<d;){if(s[n].elem===r)return s[n].pos;n+=1}return 0},addProcessedElement:function(r,s){for(var n=this.processedElements,d=n.length;d;)if(d-=1,n[d].elem===r){n[d].pos=s;return}n.push(new Ng(r,s))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var qh={1:"butt",2:"round",3:"square"},Kh={1:"miter",2:"round",3:"bevel"};function Zh(e,r,s){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=s,this.lvl=r,this._isAnimated=!!s.k;for(var n=0,d=e.length;n<d;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}Zh.prototype.setAsAnimated=function(){this._isAnimated=!0};function Xh(e,r){this.data=e,this.type=e.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=e.hd===!0,this.pElem=bt("path"),this.msElem=null}Xh.prototype.reset=function(){this.d="",this._mdf=!1};function rn(e,r,s,n){this.elem=e,this.frameId=-1,this.dataProps=rt(r.length),this.renderer=s,this.k=!1,this.dashStr="",this.dashArray=Q("float32",r.length?r.length-1:0),this.dashoffset=Q("float32",1),this.initDynamicPropertyContainer(n);var d,c=r.length||0,v;for(d=0;d<c;d+=1)v=it.getProp(e,r[d].v,0,0,this),this.k=v.k||this.k,this.dataProps[d]={n:r[d].n,p:v};this.k||this.getValue(!0),this._isAnimated=this.k}rn.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var 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}},$([se],rn);function Qh(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=it.getProp(e,r.o,0,.01,this),this.w=it.getProp(e,r.w,0,null,this),this.d=new rn(e,r.d||{},"svg",this),this.c=it.getProp(e,r.c,1,255,this),this.style=s,this._isAnimated=!!this._isAnimated}$([se],Qh);function Jh(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=it.getProp(e,r.o,0,.01,this),this.c=it.getProp(e,r.c,1,255,this),this.style=s}$([se],Jh);function tp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=s}$([se],tp);function $s(e,r,s){this.data=r,this.c=Q("uint8c",r.p*4);var n=r.k.k[0].s?r.k.k[0].s.length-r.p*4:r.k.k.length-r.p*4;this.o=Q("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(s),this.prop=it.getProp(e,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}$s.prototype.comparePoints=function(e,r){for(var s=0,n=this.o.length/2,d;s<n;){if(d=Math.abs(e[s*4]-e[r*4+s*2]),d>.01)return!1;s+=1}return!0},$s.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},$s.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,n,d;for(r=0;r<s;r+=1)n=r%4===0?100:255,d=Math.round(this.prop.v[r]*n),this.c[r]!==d&&(this.c[r]=d,this._cmdf=!e);if(this.o.length)for(s=this.prop.v.length,r=this.data.p*4;r<s;r+=1)n=r%2===0?100:1,d=r%2===0?Math.round(this.prop.v[r]*100):this.prop.v[r],this.o[r-this.data.p*4]!==d&&(this.o[r-this.data.p*4]=d,this._omdf=!e);this._mdf=!e}},$([se],$s);function Do(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,r,s)}Do.prototype.initGradientData=function(e,r,s){this.o=it.getProp(e,r.o,0,.01,this),this.s=it.getProp(e,r.s,1,null,this),this.e=it.getProp(e,r.e,1,null,this),this.h=it.getProp(e,r.h||{k:0},0,.01,this),this.a=it.getProp(e,r.a||{k:0},0,It,this),this.g=new $s(e,r.g,this),this.style=s,this.stops=[],this.setGradientData(s.pElem,r),this.setGradientOpacity(r,s),this._isAnimated=!!this._isAnimated},Do.prototype.setGradientData=function(e,r){var s=ke(),n=bt(r.t===1?"linearGradient":"radialGradient");n.setAttribute("id",s),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var d=[],c,v,x;for(x=r.g.p*4,v=0;v<x;v+=4)c=bt("stop"),n.appendChild(c),d.push(c);e.setAttribute(r.ty==="gf"?"fill":"stroke","url("+T()+"#"+s+")"),this.gf=n,this.cst=d},Do.prototype.setGradientOpacity=function(e,r){if(this.g._hasOpacity&&!this.g._collapsable){var s,n,d,c=bt("mask"),v=bt("path");c.appendChild(v);var x=ke(),g=ke();c.setAttribute("id",g);var I=bt(e.t===1?"linearGradient":"radialGradient");I.setAttribute("id",x),I.setAttribute("spreadMethod","pad"),I.setAttribute("gradientUnits","userSpaceOnUse"),d=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var L=this.stops;for(n=e.g.p*4;n<d;n+=2)s=bt("stop"),s.setAttribute("stop-color","rgb(255,255,255)"),I.appendChild(s),L.push(s);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+T()+"#"+x+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",qh[e.lc||2]),v.setAttribute("stroke-linejoin",Kh[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=I,this.ms=c,this.ost=L,this.maskId=g,r.msElem=v}},$([se],Do);function ep(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=it.getProp(e,r.w,0,null,this),this.d=new rn(e,r.d||{},"svg",this),this.initGradientData(e,r,s),this._isAnimated=!!this._isAnimated}$([Do,se],ep);function Lg(){this.it=[],this.prevViewData=[],this.gr=bt("g")}function Rg(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 rp=function(r,s,n,d){if(s===0)return"";var c=r.o,v=r.i,x=r.v,g,I=" M"+d.applyToPointStringified(x[0][0],x[0][1]);for(g=1;g<s;g+=1)I+=" C"+d.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+d.applyToPointStringified(v[g][0],v[g][1])+" "+d.applyToPointStringified(x[g][0],x[g][1]);return n&&s&&(I+=" C"+d.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+d.applyToPointStringified(v[0][0],v[0][1])+" "+d.applyToPointStringified(x[0][0],x[0][1]),I+="z"),I},Mg=function(){var e=new he,r=new he,s={createRenderFunction:n};function n(B){switch(B.ty){case"fl":return x;case"gf":return I;case"gs":return g;case"st":return L;case"sh":case"el":case"rc":case"sr":return v;case"tr":return d;case"no":return c;default:return null}}function d(B,E,R){(R||E.transform.op._mdf)&&E.transform.container.setAttribute("opacity",E.transform.op.v),(R||E.transform.mProps._mdf)&&E.transform.container.setAttribute("transform",E.transform.mProps.v.to2dCSS())}function c(){}function v(B,E,R){var P,M,z,w,_,y,A=E.styles.length,C=E.lvl,D,V,H,X;for(y=0;y<A;y+=1){if(w=E.sh._mdf||R,E.styles[y].lvl<C){for(V=r.reset(),H=C-E.styles[y].lvl,X=E.transformers.length-1;!w&&H>0;)w=E.transformers[X].mProps._mdf||w,H-=1,X-=1;if(w)for(H=C-E.styles[y].lvl,X=E.transformers.length-1;H>0;)V.multiply(E.transformers[X].mProps.v),H-=1,X-=1}else V=e;if(D=E.sh.paths,M=D._length,w){for(z="",P=0;P<M;P+=1)_=D.shapes[P],_&&_._length&&(z+=rp(_,_._length,_.c,V));E.caches[y]=z}else z=E.caches[y];E.styles[y].d+=B.hd===!0?"":z,E.styles[y]._mdf=w||E.styles[y]._mdf}}function x(B,E,R){var P=E.style;(E.c._mdf||R)&&P.pElem.setAttribute("fill","rgb("+oe(E.c.v[0])+","+oe(E.c.v[1])+","+oe(E.c.v[2])+")"),(E.o._mdf||R)&&P.pElem.setAttribute("fill-opacity",E.o.v)}function g(B,E,R){I(B,E,R),L(B,E,R)}function I(B,E,R){var P=E.gf,M=E.g._hasOpacity,z=E.s.v,w=E.e.v;if(E.o._mdf||R){var _=B.ty==="gf"?"fill-opacity":"stroke-opacity";E.style.pElem.setAttribute(_,E.o.v)}if(E.s._mdf||R){var y=B.t===1?"x1":"cx",A=y==="x1"?"y1":"cy";P.setAttribute(y,z[0]),P.setAttribute(A,z[1]),M&&!E.g._collapsable&&(E.of.setAttribute(y,z[0]),E.of.setAttribute(A,z[1]))}var C,D,V,H;if(E.g._cmdf||R){C=E.cst;var X=E.g.c;for(V=C.length,D=0;D<V;D+=1)H=C[D],H.setAttribute("offset",X[D*4]+"%"),H.setAttribute("stop-color","rgb("+X[D*4+1]+","+X[D*4+2]+","+X[D*4+3]+")")}if(M&&(E.g._omdf||R)){var ft=E.g.o;for(E.g._collapsable?C=E.cst:C=E.ost,V=C.length,D=0;D<V;D+=1)H=C[D],E.g._collapsable||H.setAttribute("offset",ft[D*2]+"%"),H.setAttribute("stop-opacity",ft[D*2+1])}if(B.t===1)(E.e._mdf||R)&&(P.setAttribute("x2",w[0]),P.setAttribute("y2",w[1]),M&&!E.g._collapsable&&(E.of.setAttribute("x2",w[0]),E.of.setAttribute("y2",w[1])));else{var ht;if((E.s._mdf||E.e._mdf||R)&&(ht=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)),P.setAttribute("r",ht),M&&!E.g._collapsable&&E.of.setAttribute("r",ht)),E.e._mdf||E.h._mdf||E.a._mdf||R){ht||(ht=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)));var et=Math.atan2(w[1]-z[1],w[0]-z[0]),yt=E.h.v;yt>=1?yt=.99:yt<=-1&&(yt=-.99);var lt=ht*yt,Z=Math.cos(et+E.a.v)*lt+z[0],S=Math.sin(et+E.a.v)*lt+z[1];P.setAttribute("fx",Z),P.setAttribute("fy",S),M&&!E.g._collapsable&&(E.of.setAttribute("fx",Z),E.of.setAttribute("fy",S))}}}function L(B,E,R){var P=E.style,M=E.d;M&&(M._mdf||R)&&M.dashStr&&(P.pElem.setAttribute("stroke-dasharray",M.dashStr),P.pElem.setAttribute("stroke-dashoffset",M.dashoffset[0])),E.c&&(E.c._mdf||R)&&P.pElem.setAttribute("stroke","rgb("+oe(E.c.v[0])+","+oe(E.c.v[1])+","+oe(E.c.v[2])+")"),(E.o._mdf||R)&&P.pElem.setAttribute("stroke-opacity",E.o.v),(E.w._mdf||R)&&(P.pElem.setAttribute("stroke-width",E.w.v),P.msElem&&P.msElem.setAttribute("stroke-width",E.w.v))}return s}();function Yt(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=[]}$([hi,Oo,Ps,jh,Po,pi,Ds],Yt),Yt.prototype.initSecondaryElement=function(){},Yt.prototype.identityMatrix=new he,Yt.prototype.buildExpressionInterface=function(){},Yt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Yt.prototype.filterUniqueShapes=function(){var e,r=this.shapes.length,s,n,d=this.stylesList.length,c,v=[],x=!1;for(n=0;n<d;n+=1){for(c=this.stylesList[n],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)}},Yt.prototype.setShapesAsAnimated=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r].setAsAnimated()},Yt.prototype.createStyleElement=function(e,r){var s,n=new Xh(e,r),d=n.pElem;if(e.ty==="st")s=new Qh(this,e,n);else if(e.ty==="fl")s=new Jh(this,e,n);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?Do:ep;s=new c(this,e,n),this.globalData.defs.appendChild(s.gf),s.maskId&&(this.globalData.defs.appendChild(s.ms),this.globalData.defs.appendChild(s.of),d.setAttribute("mask","url("+T()+"#"+s.maskId+")"))}else e.ty==="no"&&(s=new tp(this,e,n));return(e.ty==="st"||e.ty==="gs")&&(d.setAttribute("stroke-linecap",qh[e.lc||2]),d.setAttribute("stroke-linejoin",Kh[e.lj||2]),d.setAttribute("fill-opacity","0"),e.lj===1&&d.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&d.setAttribute("fill-rule","evenodd"),e.ln&&d.setAttribute("id",e.ln),e.cl&&d.setAttribute("class",e.cl),e.bm&&(d.style["mix-blend-mode"]=jl(e.bm)),this.stylesList.push(n),this.addToAnimatedContents(e,s),s},Yt.prototype.createGroupElement=function(e){var r=new Lg;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"]=jl(e.bm)),r},Yt.prototype.createTransformElement=function(e,r){var s=Ul.getTransformProperty(this,e,this),n=new Rg(s,s.o,r);return this.addToAnimatedContents(e,n),n},Yt.prototype.createShapeElement=function(e,r,s){var n=4;e.ty==="rc"?n=5:e.ty==="el"?n=6:e.ty==="sr"&&(n=7);var d=qa.getShapeProp(this,e,n,this),c=new Zh(r,s,d);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(e,c),c},Yt.prototype.addToAnimatedContents=function(e,r){for(var s=0,n=this.animatedContents.length;s<n;){if(this.animatedContents[s].element===r)return;s+=1}this.animatedContents.push({fn:Mg.createRenderFunction(e),element:r,data:e})},Yt.prototype.setElementStyles=function(e){var r=e.styles,s,n=this.stylesList.length;for(s=0;s<n;s+=1)this.stylesList[s].closed||r.push(this.stylesList[s])},Yt.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()},Yt.prototype.searchShapes=function(e,r,s,n,d,c,v){var x=[].concat(c),g,I=e.length-1,L,B,E=[],R=[],P,M,z;for(g=I;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],d),e[g]._render&&r[g].style.pElem.parentNode!==n&&n.appendChild(r[g].style.pElem),E.push(r[g].style);else if(e[g].ty==="gr"){if(!z)r[g]=this.createGroupElement(e[g]);else for(B=r[g].it.length,L=0;L<B;L+=1)r[g].prevViewData[L]=r[g].it[L];this.searchShapes(e[g].it,r[g].it,r[g].prevViewData,r[g].gr,d+1,x,v),e[g]._render&&r[g].gr.parentNode!==n&&n.appendChild(r[g].gr)}else e[g].ty==="tr"?(z||(r[g]=this.createTransformElement(e[g],n)),P=r[g].transform,x.push(P)):e[g].ty==="sh"||e[g].ty==="rc"||e[g].ty==="el"||e[g].ty==="sr"?(z||(r[g]=this.createShapeElement(e[g],x,d)),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?(M=r[g],M.closed=!1):(M=ci.getModifier(e[g].ty),M.init(this,e[g]),r[g]=M,this.shapeModifiers.push(M)),R.push(M)):e[g].ty==="rp"&&(z?(M=r[g],M.closed=!0):(M=ci.getModifier(e[g].ty),r[g]=M,M.init(this,e,g,r),this.shapeModifiers.push(M),v=!1),R.push(M));this.addProcessedElement(e[g],g+1)}for(I=E.length,g=0;g<I;g+=1)E[g].closed=!0;for(I=R.length,g=0;g<I;g+=1)R[g].closed=!0},Yt.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"))},Yt.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)},Yt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Kl(e,r,s,n,d,c){this.o=e,this.sw=r,this.sc=s,this.fc=n,this.m=d,this.p=c,this._mdf={o:!0,sw:!!r,sc:!!s,fc:!!n,m:!0,p:!0}}Kl.prototype.update=function(e,r,s,n,d,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!==n&&(this.fc=n,this._mdf.fc=!0,v=!0),this.m!==d&&(this.m=d,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 ge(e,r){this._frameId=o,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)}ge.prototype.defaultBoxWidth=[0,0],ge.prototype.copyData=function(e,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},ge.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},ge.prototype.searchProperty=function(){return this.searchKeyframes()},ge.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},ge.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},ge.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 n,d=this.effectsSequence.length,c=e||this.data.d.k[this.keysIndex].s;for(n=0;n<d;n+=1)s!==this.keysIndex?c=this.effectsSequence[n](c,c.t):c=this.effectsSequence[n](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}},ge.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,r=this.elem.comp.renderedFrame,s=0,n=e.length;s<=n-1&&!(s===n-1||e[s+1].t>r);)s+=1;return this.keysIndex!==s&&(this.keysIndex=s),this.data.d.k[this.keysIndex].s},ge.prototype.buildFinalText=function(e){for(var r=[],s=0,n=e.length,d,c,v=!1,x=!1,g="";s<n;)v=x,x=!1,d=e.charCodeAt(s),g=e.charAt(s),$i.isCombinedCharacter(d)?v=!0:d>=55296&&d<=56319?$i.isRegionalFlag(e,s)?g=e.substr(s,14):(c=e.charCodeAt(s+1),c>=56320&&c<=57343&&($i.isModifier(d,c)?(g=e.substr(s,2),v=!0):$i.isFlagEmoji(e.substr(s,4))?g=e.substr(s,4):g=e.substr(s,2))):d>56319?(c=e.charCodeAt(s+1),$i.isVariationSelector(d)&&(v=!0)):$i.isZeroWidthJoiner(d)&&(v=!0,x=!0),v?(r[r.length-1]+=g,v=!1):r.push(g),s+=g.length;return r},ge.prototype.completeTextData=function(e){e.__complete=!0;var r=this.elem.globalData.fontManager,s=this.data,n=[],d,c,v,x=0,g,I=s.m.g,L=0,B=0,E=0,R=[],P=0,M=0,z,w,_=r.getFontByName(e.f),y,A=0,C=Uh(_);e.fWeight=C.weight,e.fStyle=C.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),c=e.finalText.length,e.finalLineHeight=e.lh;var D=e.tr/1e3*e.finalSize,V;if(e.sz)for(var H=!0,X=e.sz[0],ft=e.sz[1],ht,et;H;){et=this.buildFinalText(e.t),ht=0,P=0,c=et.length,D=e.tr/1e3*e.finalSize;var yt=-1;for(d=0;d<c;d+=1)V=et[d].charCodeAt(0),v=!1,et[d]===" "?yt=d:(V===13||V===3)&&(P=0,v=!0,ht+=e.finalLineHeight||e.finalSize*1.2),r.chars?(y=r.getCharData(et[d],_.fStyle,_.fFamily),A=v?0:y.w*e.finalSize/100):A=r.measureText(et[d],e.f,e.finalSize),P+A>X&&et[d]!==" "?(yt===-1?c+=1:d=yt,ht+=e.finalLineHeight||e.finalSize*1.2,et.splice(d,yt===d?1:0,"\r"),yt=-1,P=0):(P+=A,P+=D);ht+=_.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&ft<ht?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=et,c=e.finalText.length,H=!1)}P=-D,A=0;var lt=0,Z;for(d=0;d<c;d+=1)if(v=!1,Z=e.finalText[d],V=Z.charCodeAt(0),V===13||V===3?(lt=0,R.push(P),M=P>M?P:M,P=-2*D,g="",v=!0,E+=1):g=Z,r.chars?(y=r.getCharData(Z,_.fStyle,r.getFontByName(e.f).fFamily),A=v?0:y.w*e.finalSize/100):A=r.measureText(g,e.f,e.finalSize),Z===" "?lt+=A+D:(P+=A+D+lt,lt=0),n.push({l:A,an:A,add:L,n:v,anIndexes:[],val:g,line:E,animatorJustifyOffset:0}),I==2){if(L+=A,g===""||g===" "||d===c-1){for((g===""||g===" ")&&(L-=A);B<=d;)n[B].an=L,n[B].ind=x,n[B].extra=A,B+=1;x+=1,L=0}}else if(I==3){if(L+=A,g===""||d===c-1){for(g===""&&(L-=A);B<=d;)n[B].an=L,n[B].ind=x,n[B].extra=A,B+=1;L=0,x+=1}}else n[x].ind=x,n[x].extra=0,x+=1;if(e.l=n,M=P>M?P:M,R.push(P),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=M,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=R;var S=s.a,O,u;w=S.length;var b,U,F=[];for(z=0;z<w;z+=1){for(O=S[z],O.a.sc&&(e.strokeColorAnim=!0),O.a.sw&&(e.strokeWidthAnim=!0),(O.a.fc||O.a.fh||O.a.fs||O.a.fb)&&(e.fillColorAnim=!0),U=0,b=O.s.b,d=0;d<c;d+=1)u=n[d],u.anIndexes[z]=U,(b==1&&u.val!==""||b==2&&u.val!==""&&u.val!==" "||b==3&&(u.n||u.val==" "||d==c-1)||b==4&&(u.n||d==c-1))&&(O.s.rn===1&&F.push(U),U+=1);s.a[z].s.totalChars=U;var at=-1,mt;if(O.s.rn===1)for(d=0;d<c;d+=1)u=n[d],at!=u.anIndexes[z]&&(at=u.anIndexes[z],mt=F.splice(Math.floor(Math.random()*F.length),1)[0]),u.anIndexes[z]=mt}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=_.ascent*e.finalSize/100},ge.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)},ge.prototype.recalculate=function(e){var r=this.data.d.k[e].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},ge.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},ge.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Og=function(){var e=Math.max,r=Math.min,s=Math.floor;function n(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=it.getProp(c,v.s||{k:0},0,0,this),"e"in v?this.e=it.getProp(c,v.e,0,0,this):this.e={v:100},this.o=it.getProp(c,v.o||{k:0},0,0,this),this.xe=it.getProp(c,v.xe||{k:0},0,0,this),this.ne=it.getProp(c,v.ne||{k:0},0,0,this),this.sm=it.getProp(c,v.sm||{k:100},0,0,this),this.a=it.getProp(c,v.a,0,.01,this),this.dynamicProperties.length||this.getValue()}n.prototype={getMult:function(v){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var x=0,g=0,I=1,L=1;this.ne.v>0?x=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?I=1-this.xe.v/100:L=1+this.xe.v/100;var B=ks.getBezierEasing(x,g,I,L).get,E=0,R=this.finalS,P=this.finalE,M=this.data.sh;if(M===2)P===R?E=v>=P?1:0:E=e(0,r(.5/(P-R)+(v-R)/(P-R),1)),E=B(E);else if(M===3)P===R?E=v>=P?0:1:E=1-e(0,r(.5/(P-R)+(v-R)/(P-R),1)),E=B(E);else if(M===4)P===R?E=0:(E=e(0,r(.5/(P-R)+(v-R)/(P-R),1)),E<.5?E*=2:E=1-2*(E-.5)),E=B(E);else if(M===5){if(P===R)E=0;else{var z=P-R;v=r(e(0,v+.5-R),P-R);var w=-z/2+v,_=z/2;E=Math.sqrt(1-w*w/(_*_))}E=B(E)}else M===6?(P===R?E=0:(v=r(e(0,v+.5-R),P-R),E=(1+Math.cos(Math.PI+Math.PI*2*v/(P-R)))/2),E=B(E)):(v>=s(R)&&(v-R<0?E=e(0,r(r(P,1)-(R-v),1)):E=e(0,r(P-v,1))),E=B(E));if(this.sm.v!==100){var y=this.sm.v*.01;y===0&&(y=1e-8);var A=.5-y*.5;E<A?E=0:(E=(E-A)/y,E>1&&(E=1))}return E*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,I=this.s.v/x+g,L=this.e.v/x+g;if(I>L){var B=I;I=L,L=B}this.finalS=I,this.finalE=L}},$([se],n);function d(c,v,x){return new n(c,v,x)}return{getTextSelectorProp:d}}();function Pg(e,r,s){var n={propType:!1},d=it.getProp,c=r.a;this.a={r:c.r?d(e,c.r,0,It,s):n,rx:c.rx?d(e,c.rx,0,It,s):n,ry:c.ry?d(e,c.ry,0,It,s):n,sk:c.sk?d(e,c.sk,0,It,s):n,sa:c.sa?d(e,c.sa,0,It,s):n,s:c.s?d(e,c.s,1,.01,s):n,a:c.a?d(e,c.a,1,0,s):n,o:c.o?d(e,c.o,0,.01,s):n,p:c.p?d(e,c.p,1,0,s):n,sw:c.sw?d(e,c.sw,0,0,s):n,sc:c.sc?d(e,c.sc,1,0,s):n,fc:c.fc?d(e,c.fc,1,0,s):n,fh:c.fh?d(e,c.fh,0,0,s):n,fs:c.fs?d(e,c.fs,0,.01,s):n,fb:c.fb?d(e,c.fb,0,.01,s):n,t:c.t?d(e,c.t,0,0,s):n},this.s=Og.getTextSelectorProp(e,r.s,s),this.s.t=r.s.t}function Vi(e,r,s){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=r,this._elem=s,this._animatorsData=rt(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(s)}Vi.prototype.searchProperties=function(){var e,r=this._textData.a.length,s,n=it.getProp;for(e=0;e<r;e+=1)s=this._textData.a[e],this._animatorsData[e]=new Pg(this._elem,s,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(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=n(this._elem,this._textData.m.a,1,0,this)},Vi.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,n=this._animatorsData,d=this._textData,c=this.mHelper,v=this._renderType,x=this.renderedLetters.length,g,I,L,B,E=e.l,R,P,M,z,w,_,y,A,C,D,V,H,X,ft,ht;if(this._hasMaskedPath){if(ht=this._pathData.m,!this._pathData.n||this._pathData._mdf){var et=ht.v;this._pathData.r.v&&(et=et.reverse()),R={tLength:0,segments:[]},B=et._length-1;var yt;for(H=0,L=0;L<B;L+=1)yt=Er.buildBezierData(et.v[L],et.v[L+1],[et.o[L][0]-et.v[L][0],et.o[L][1]-et.v[L][1]],[et.i[L+1][0]-et.v[L+1][0],et.i[L+1][1]-et.v[L+1][1]]),R.tLength+=yt.segmentLength,R.segments.push(yt),H+=yt.segmentLength;L=B,ht.v.c&&(yt=Er.buildBezierData(et.v[L],et.v[0],[et.o[L][0]-et.v[L][0],et.o[L][1]-et.v[L][1]],[et.i[0][0]-et.v[0][0],et.i[0][1]-et.v[0][1]]),R.tLength+=yt.segmentLength,R.segments.push(yt),H+=yt.segmentLength),this._pathData.pi=R}if(R=this._pathData.pi,P=this._pathData.f.v,y=0,_=1,z=0,w=!0,D=R.segments,P<0&&ht.v.c)for(R.tLength<Math.abs(P)&&(P=-Math.abs(P)%R.tLength),y=D.length-1,C=D[y].points,_=C.length-1;P<0;)P+=C[_].partialLength,_-=1,_<0&&(y-=1,C=D[y].points,_=C.length-1);C=D[y].points,A=C[_-1],M=C[_],V=M.partialLength}B=E.length,g=0,I=0;var lt=e.finalSize*1.2*.714,Z=!0,S,O,u,b,U;b=n.length;var F,at=-1,mt,vt,wt,Nt=P,Zt=y,we=_,xr=-1,Ne,ae,$e,Ot,ct,Fr,fi,$r,Ar="",zr=this.defaultPropsArray,Vr;if(e.j===2||e.j===1){var Le=0,vi=0,gi=e.j===2?-.5:-1,cr=0,bi=!0;for(L=0;L<B;L+=1)if(E[L].n){for(Le&&(Le+=vi);cr<L;)E[cr].animatorJustifyOffset=Le,cr+=1;Le=0,bi=!0}else{for(u=0;u<b;u+=1)S=n[u].a,S.t.propType&&(bi&&e.j===2&&(vi+=S.t.v*gi),O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].s.totalChars),F.length?Le+=S.t.v*F[0]*gi:Le+=S.t.v*F*gi);bi=!1}for(Le&&(Le+=vi);cr<L;)E[cr].animatorJustifyOffset=Le,cr+=1}for(L=0;L<B;L+=1){if(c.reset(),Ne=1,E[L].n)g=0,I+=e.yOffset,I+=Z?1:0,P=Nt,Z=!1,this._hasMaskedPath&&(y=Zt,_=we,C=D[y].points,A=C[_-1],M=C[_],V=M.partialLength,z=0),Ar="",$r="",Fr="",Vr="",zr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(xr!==E[L].line){switch(e.j){case 1:P+=H-e.lineWidths[E[L].line];break;case 2:P+=(H-e.lineWidths[E[L].line])/2;break;default:break}xr=E[L].line}at!==E[L].ind&&(E[at]&&(P+=E[at].extra),P+=E[L].an/2,at=E[L].ind),P+=s[0]*E[L].an*.005;var dr=0;for(u=0;u<b;u+=1)S=n[u].a,S.p.propType&&(O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].s.totalChars),F.length?dr+=S.p.v[0]*F[0]:dr+=S.p.v[0]*F),S.a.propType&&(O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].s.totalChars),F.length?dr+=S.a.v[0]*F[0]:dr+=S.a.v[0]*F);for(w=!0,this._pathData.a.v&&(P=E[0].an*.5+(H-this._pathData.f.v-E[0].an*.5-E[E.length-1].an*.5)*at/(B-1),P+=this._pathData.f.v);w;)z+V>=P+dr||!C?(X=(P+dr-z)/M.partialLength,vt=A.point[0]+(M.point[0]-A.point[0])*X,wt=A.point[1]+(M.point[1]-A.point[1])*X,c.translate(-s[0]*E[L].an*.005,-(s[1]*lt)*.01),w=!1):C&&(z+=M.partialLength,_+=1,_>=C.length&&(_=0,y+=1,D[y]?C=D[y].points:ht.v.c?(_=0,y=0,C=D[y].points):(z-=M.partialLength,C=null)),C&&(A=M,M=C[_],V=M.partialLength));mt=E[L].an/2-E[L].add,c.translate(-mt,0,0)}else mt=E[L].an/2-E[L].add,c.translate(-mt,0,0),c.translate(-s[0]*E[L].an*.005,-s[1]*lt*.01,0);for(u=0;u<b;u+=1)S=n[u].a,S.t.propType&&(O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].s.totalChars),(g!==0||e.j!==0)&&(this._hasMaskedPath?F.length?P+=S.t.v*F[0]:P+=S.t.v*F:F.length?g+=S.t.v*F[0]:g+=S.t.v*F));for(e.strokeWidthAnim&&($e=e.sw||0),e.strokeColorAnim&&(e.sc?ae=[e.sc[0],e.sc[1],e.sc[2]]:ae=[0,0,0]),e.fillColorAnim&&e.fc&&(Ot=[e.fc[0],e.fc[1],e.fc[2]]),u=0;u<b;u+=1)S=n[u].a,S.a.propType&&(O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].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(u=0;u<b;u+=1)S=n[u].a,S.s.propType&&(O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].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(u=0;u<b;u+=1){if(S=n[u].a,O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].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?Ne+=(S.o.v*F[0]-Ne)*F[0]:Ne+=(S.o.v*F-Ne)*F),e.strokeWidthAnim&&S.sw.propType&&(F.length?$e+=S.sw.v*F[0]:$e+=S.sw.v*F),e.strokeColorAnim&&S.sc.propType)for(ct=0;ct<3;ct+=1)F.length?ae[ct]+=(S.sc.v[ct]-ae[ct])*F[0]:ae[ct]+=(S.sc.v[ct]-ae[ct])*F;if(e.fillColorAnim&&e.fc){if(S.fc.propType)for(ct=0;ct<3;ct+=1)F.length?Ot[ct]+=(S.fc.v[ct]-Ot[ct])*F[0]:Ot[ct]+=(S.fc.v[ct]-Ot[ct])*F;S.fh.propType&&(F.length?Ot=fh(Ot,S.fh.v*F[0]):Ot=fh(Ot,S.fh.v*F)),S.fs.propType&&(F.length?Ot=mh(Ot,S.fs.v*F[0]):Ot=mh(Ot,S.fs.v*F)),S.fb.propType&&(F.length?Ot=uh(Ot,S.fb.v*F[0]):Ot=uh(Ot,S.fb.v*F))}}for(u=0;u<b;u+=1)S=n[u].a,S.p.propType&&(O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].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&&(Fr=$e<0?0:$e),e.strokeColorAnim&&(fi="rgb("+Math.round(ae[0]*255)+","+Math.round(ae[1]*255)+","+Math.round(ae[2]*255)+")"),e.fillColorAnim&&e.fc&&($r="rgb("+Math.round(Ot[0]*255)+","+Math.round(Ot[1]*255)+","+Math.round(Ot[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-e.ls),c.translate(0,s[1]*lt*.01+I,0),this._pathData.p.v){ft=(M.point[1]-A.point[1])/(M.point[0]-A.point[0]);var Bi=Math.atan(ft)*180/Math.PI;M.point[0]<A.point[0]&&(Bi+=180),c.rotate(-Bi*Math.PI/180)}c.translate(vt,wt,0),P-=s[0]*E[L].an*.005,E[L+1]&&at!==E[L+1].ind&&(P+=E[L].an/2,P+=e.tr*.001*e.finalSize)}else{switch(c.translate(g,I,0),e.ps&&c.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:c.translate(E[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[E[L].line]),0,0);break;case 2:c.translate(E[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[E[L].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(mt,0,0),c.translate(s[0]*E[L].an*.005,s[1]*lt*.01,0),g+=E[L].l+e.tr*.001*e.finalSize}v==="html"?Ar=c.toCSS():v==="svg"?Ar=c.to2dCSS():zr=[c.props[0],c.props[1],c.props[2],c.props[3],c.props[4],c.props[5],c.props[6],c.props[7],c.props[8],c.props[9],c.props[10],c.props[11],c.props[12],c.props[13],c.props[14],c.props[15]],Vr=Ne}x<=L?(U=new Kl(Vr,Fr,fi,$r,Ar,zr),this.renderedLetters.push(U),x+=1,this.lettersChangedFlag=!0):(U=this.renderedLetters[L],this.lettersChangedFlag=U.update(Vr,Fr,fi,$r,Ar,zr)||this.lettersChangedFlag)}}},Vi.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Vi.prototype.mHelper=new he,Vi.prototype.defaultPropsArray=[],$([se],Vi);function je(){}je.prototype.initElement=function(e,r,s){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,r,s),this.textProperty=new ge(this,e.t,this.dynamicProperties),this.textAnimator=new Vi(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,n=r.length,d,c="";for(s=0;s<n;s+=1)r[s].ty==="sh"&&(d=r[s].ks.k,c+=rp(d,d.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,n,d){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(n,d,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 Kl,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 Dg={shapes:[]};function Pr(e,r,s){this.textSpans=[],this.renderType="svg",this.initElement(e,r,s)}$([hi,Oo,Ps,Po,pi,Ds,je],Pr),Pr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=bt("text"))},Pr.prototype.buildTextContents=function(e){for(var r=0,s=e.length,n=[],d="";r<s;)e[r]==="\r"||e[r]===""?(n.push(d),d=""):d+=e[r],r+=1;return n.push(d),n},Pr.prototype.buildShapeData=function(e,r){if(e.shapes&&e.shapes.length){var s=e.shapes[0];if(s.it){var n=s.it[s.it.length-1];n.s&&(n.s.k[0]=r,n.s.k[1]=r)}}return e},Pr.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,r,s=this.textProperty.currentData;this.renderedLetters=rt(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 n=this.globalData.fontManager.getFontByName(s.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var d=s.fWeight,c=s.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",d)}this.layerElement.setAttribute("aria-label",s.t);var v=s.l||[],x=!!this.globalData.fontManager.chars;r=v.length;var g,I=this.mHelper,L="",B=this.data.singleShape,E=0,R=0,P=!0,M=s.tr*.001*s.finalSize;if(B&&!x&&!s.sz){var z=this.textContainer,w="start";switch(s.j){case 1:w="end";break;case 2:w="middle";break;default:w="start";break}z.setAttribute("text-anchor",w),z.setAttribute("letter-spacing",M);var _=this.buildTextContents(s.finalText);for(r=_.length,R=s.ps?s.ps[1]+s.ascent:0,e=0;e<r;e+=1)g=this.textSpans[e].span||bt("tspan"),g.textContent=_[e],g.setAttribute("x",0),g.setAttribute("y",R),g.style.display="inherit",z.appendChild(g),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=g,R+=s.finalLineHeight;this.layerElement.appendChild(z)}else{var y=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||!B||e===0){if(g=y>e?this.textSpans[e].span:bt(x?"g":"text"),y<=e){if(g.setAttribute("stroke-linecap","butt"),g.setAttribute("stroke-linejoin","round"),g.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=g,x){var C=bt("g");g.appendChild(C),this.textSpans[e].childSpan=C}this.textSpans[e].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(I.reset(),B&&(v[e].n&&(E=-M,R+=s.yOffset,R+=P?1:0,P=!1),this.applyTextPropertiesToMatrix(s,I,v[e].line,E,R),E+=v[e].l||0,E+=M),x){A=this.globalData.fontManager.getCharData(s.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(s.f).fFamily);var D;if(A.t===1)D=new zs(A.data,this.globalData,this);else{var V=Dg;A.data&&A.data.shapes&&(V=this.buildShapeData(A.data,s.finalSize)),D=new Yt(V,this.globalData,this)}if(this.textSpans[e].glyph){var H=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(H.layerElement),H.destroy()}this.textSpans[e].glyph=D,D._debug=!0,D.prepareFrame(0),D.renderFrame(),this.textSpans[e].childSpan.appendChild(D.layerElement),A.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+s.finalSize/100+","+s.finalSize/100+")")}else B&&g.setAttribute("transform","translate("+I.props[12]+","+I.props[13]+")"),g.textContent=v[e].val,g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}B&&g&&g.setAttribute("d",L)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},Pr.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},Pr.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))},Pr.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,n=this.textProperty.currentData.l;r=n.length;var d,c,v;for(e=0;e<r;e+=1)n[e].n||(d=s[e],c=this.textSpans[e].span,v=this.textSpans[e].glyph,v&&v.renderFrame(),d._mdf.m&&c.setAttribute("transform",d.m),d._mdf.o&&c.setAttribute("opacity",d.o),d._mdf.sw&&c.setAttribute("stroke-width",d.sw),d._mdf.sc&&c.setAttribute("stroke",d.sc),d._mdf.fc&&c.setAttribute("fill",d.fc))}};function Zl(e,r,s){this.initElement(e,r,s)}$([Fs],Zl),Zl.prototype.createContent=function(){var e=bt("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function ui(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initFrame(),this.initTransform(e,r,s),this.initHierarchy()}ui.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},ui.prototype.renderFrame=function(){},ui.prototype.getBaseElement=function(){return null},ui.prototype.destroy=function(){},ui.prototype.sourceRectAtTime=function(){},ui.prototype.hide=function(){},$([hi,Oo,Po,pi],ui);function te(){}$([pe],te),te.prototype.createNull=function(e){return new ui(e,this.globalData,this)},te.prototype.createShape=function(e){return new Yt(e,this.globalData,this)},te.prototype.createText=function(e){return new Pr(e,this.globalData,this)},te.prototype.createImage=function(e){return new Fs(e,this.globalData,this)},te.prototype.createSolid=function(e){return new Zl(e,this.globalData,this)},te.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=bt("clipPath"),n=bt("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var d=ke();s.setAttribute("id",d),s.appendChild(n),this.layerElement.setAttribute("clip-path","url("+T()+"#"+d+")"),r.appendChild(s),this.layers=e.layers,this.elements=rt(e.layers.length)},te.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},te.prototype.updateContainerSize=function(){},te.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},te.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,Ba()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(s),s.initExpressions()),this.appendElementInPos(s,e),this.layers[e].tt){var n="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(n===-1)return;if(!this.elements[n]||this.elements[n]===!0)this.buildItem(n),this.addPendingElement(s);else{var d=r[n],c=d.getMatte(this.layers[e].tt);s.setMatte(c)}}}},te.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 n="tp"in e.data?this.findIndexByInd(e.data.tp):r-1,d=this.elements[n],c=d.getMatte(this.layers[r].tt);e.setMatte(c);break}r+=1}}},te.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()}},te.prototype.appendElementInPos=function(e,r){var s=e.getBaseElement();if(s){for(var n=0,d;n<r;)this.elements[n]&&this.elements[n]!==!0&&this.elements[n].getBaseElement()&&(d=this.elements[n].getBaseElement()),n+=1;d?this.layerElement.insertBefore(s,d):this.layerElement.appendChild(s)}},te.prototype.hide=function(){this.layerElement.style.display="none"},te.prototype.show=function(){this.layerElement.style.display="block"};function Dr(){}$([hi,Oo,Po,pi,Ds],Dr),Dr.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()},Dr.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,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),s=n-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))}},Dr.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()},Dr.prototype.setElements=function(e){this.elements=e},Dr.prototype.getElements=function(){return this.elements},Dr.prototype.destroyElements=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy()},Dr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function zs(e,r,s){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?rt(this.layers.length):[],this.initElement(e,r,s),this.tm=e.tm?it.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0}}$([te,Dr,Ps],zs),zs.prototype.createComp=function(e){return new zs(e,this.globalData,this)};function Xl(e,r){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=bt("svg");var s="";if(r&&r.title){var n=bt("title"),d=ke();n.setAttribute("id",d),n.textContent=r.title,this.svgElement.appendChild(n),s+=d}if(r&&r.description){var c=bt("desc"),v=ke();c.setAttribute("id",v),c.textContent=r.description,this.svgElement.appendChild(c),s+=" "+v}s&&this.svgElement.setAttribute("aria-labelledby",s);var x=bt("defs");this.svgElement.appendChild(x);var g=bt("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 $([te],Xl),Xl.prototype.createComp=function(e){return new zs(e,this.globalData,this)},Wv("svg",Xl),ci.registerModifier("tm",lr),ci.registerModifier("pb",Cs),ci.registerModifier("rp",Tr),ci.registerModifier("rd",ws),ci.registerModifier("zz",Ls),ci.registerModifier("op",Rs),Mt})});var nn=globalThis,ln=nn.ShadowRoot&&(nn.ShadyCSS===void 0||nn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Jl=Symbol(),op=new WeakMap,Vs=class{constructor(i,t,o){if(this._$cssResult$=!0,o!==Jl)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=i,this.t=t}get styleSheet(){let i=this.o,t=this.t;if(ln&&i===void 0){let o=t!==void 0&&t.length===1;o&&(i=op.get(t)),i===void 0&&((this.o=i=new CSSStyleSheet).replaceSync(this.cssText),o&&op.set(t,i))}return i}toString(){return this.cssText}},sp=l=>new Vs(typeof l=="string"?l:l+"",void 0,Jl),G=(l,...i)=>{let t=l.length===1?l[0]:i.reduce((o,a,h)=>o+(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)+l[h+1],l[0]);return new Vs(t,l,Jl)},tc=(l,i)=>{if(ln)l.adoptedStyleSheets=i.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of i){let o=document.createElement("style"),a=nn.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=t.cssText,l.appendChild(o)}},cn=ln?l=>l:l=>l instanceof CSSStyleSheet?(i=>{let t="";for(let o of i.cssRules)t+=o.cssText;return sp(t)})(l):l;var{is:Gg,defineProperty:Yg,getOwnPropertyDescriptor:Wg,getOwnPropertyNames:jg,getOwnPropertySymbols:qg,getPrototypeOf:Kg}=Object,yi=globalThis,ap=yi.trustedTypes,Zg=ap?ap.emptyScript:"",ec=yi.reactiveElementPolyfillSupport,Bs=(l,i)=>l,Us={toAttribute(l,i){switch(i){case Boolean:l=l?Zg:null;break;case Object:case Array:l=l==null?l:JSON.stringify(l)}return l},fromAttribute(l,i){let t=l;switch(i){case Boolean:t=l!==null;break;case Number:t=l===null?null:Number(l);break;case Object:case Array:try{t=JSON.parse(l)}catch{t=null}}return t}},dn=(l,i)=>!Gg(l,i),np={attribute:!0,type:String,converter:Us,reflect:!1,hasChanged:dn},lp,cp;(lp=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(cp=yi.litPropertyMetadata)!=null||(yi.litPropertyMetadata=new WeakMap);var Br=class extends HTMLElement{static addInitializer(i){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(i)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(i,t=np){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(i,t),!t.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(i,o,t);a!==void 0&&Yg(this.prototype,i,a)}}static getPropertyDescriptor(i,t,o){var m;let{get:a,set:h}=(m=Wg(this.prototype,i))!=null?m:{get(){return this[t]},set(T){this[t]=T}};return{get(){return a==null?void 0:a.call(this)},set(T){let N=a==null?void 0:a.call(this);h.call(this,T),this.requestUpdate(i,N,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(i){var t;return(t=this.elementProperties.get(i))!=null?t:np}static _$Ei(){if(this.hasOwnProperty(Bs("elementProperties")))return;let i=Kg(this);i.finalize(),i.l!==void 0&&(this.l=[...i.l]),this.elementProperties=new Map(i.elementProperties)}static finalize(){if(this.hasOwnProperty(Bs("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Bs("properties"))){let t=this.properties,o=[...jg(t),...qg(t)];for(let a of o)this.createProperty(a,t[a])}let i=this[Symbol.metadata];if(i!==null){let t=litPropertyMetadata.get(i);if(t!==void 0)for(let[o,a]of t)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[t,o]of this.elementProperties){let a=this._$Eu(t,o);a!==void 0&&this._$Eh.set(a,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(i){let t=[];if(Array.isArray(i)){let o=new Set(i.flat(1/0).reverse());for(let a of o)t.unshift(cn(a))}else i!==void 0&&t.push(cn(i));return t}static _$Eu(i,t){let o=t.attribute;return o===!1?void 0:typeof o=="string"?o:typeof i=="string"?i.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var i;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(i=this.constructor.l)==null||i.forEach(t=>t(this))}addController(i){var t,o;((t=this._$EO)!=null?t:this._$EO=new Set).add(i),this.renderRoot!==void 0&&this.isConnected&&((o=i.hostConnected)==null||o.call(i))}removeController(i){var t;(t=this._$EO)==null||t.delete(i)}_$E_(){let i=new Map,t=this.constructor.elementProperties;for(let o of t.keys())this.hasOwnProperty(o)&&(i.set(o,this[o]),delete this[o]);i.size>0&&(this._$Ep=i)}createRenderRoot(){var t;let i=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return tc(i,this.constructor.elementStyles),i}connectedCallback(){var i,t;(i=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(o=>{var a;return(a=o.hostConnected)==null?void 0:a.call(o)})}enableUpdating(i){}disconnectedCallback(){var i;(i=this._$EO)==null||i.forEach(t=>{var o;return(o=t.hostDisconnected)==null?void 0:o.call(t)})}attributeChangedCallback(i,t,o){this._$AK(i,o)}_$EC(i,t){var h;let o=this.constructor.elementProperties.get(i),a=this.constructor._$Eu(i,o);if(a!==void 0&&o.reflect===!0){let m=(((h=o.converter)==null?void 0:h.toAttribute)!==void 0?o.converter:Us).toAttribute(t,o.type);this._$Em=i,m==null?this.removeAttribute(a):this.setAttribute(a,m),this._$Em=null}}_$AK(i,t){var h;let o=this.constructor,a=o._$Eh.get(i);if(a!==void 0&&this._$Em!==a){let m=o.getPropertyOptions(a),T=typeof m.converter=="function"?{fromAttribute:m.converter}:((h=m.converter)==null?void 0:h.fromAttribute)!==void 0?m.converter:Us;this._$Em=a,this[a]=T.fromAttribute(t,m.type),this._$Em=null}}requestUpdate(i,t,o){var a;if(i!==void 0){if(o!=null||(o=this.constructor.getPropertyOptions(i)),!((a=o.hasChanged)!=null?a:dn)(this[i],t))return;this.P(i,t,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(i,t,o){var a;this._$AL.has(i)||this._$AL.set(i,t),o.reflect===!0&&this._$Em!==i&&((a=this._$Ej)!=null?a:this._$Ej=new Set).add(i)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let i=this.scheduleUpdate();return i!=null&&await i,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var o,a;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,T]of this._$Ep)this[m]=T;this._$Ep=void 0}let h=this.constructor.elementProperties;if(h.size>0)for(let[m,T]of h)T.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],T)}let i=!1,t=this._$AL;try{i=this.shouldUpdate(t),i?(this.willUpdate(t),(a=this._$EO)==null||a.forEach(h=>{var m;return(m=h.hostUpdate)==null?void 0:m.call(h)}),this.update(t)):this._$EU()}catch(h){throw i=!1,this._$EU(),h}i&&this._$AE(t)}willUpdate(i){}_$AE(i){var t;(t=this._$EO)==null||t.forEach(o=>{var a;return(a=o.hostUpdated)==null?void 0:a.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(i)),this.updated(i)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(i){return!0}update(i){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(i){}firstUpdated(i){}},dp;Br.elementStyles=[],Br.shadowRootOptions={mode:"open"},Br[Bs("elementProperties")]=new Map,Br[Bs("finalized")]=new Map,ec==null||ec({ReactiveElement:Br}),((dp=yi.reactiveElementVersions)!=null?dp:yi.reactiveElementVersions=[]).push("2.0.4");var Gs=globalThis,hn=Gs.trustedTypes,hp=hn?hn.createPolicy("lit-html",{createHTML:l=>l}):void 0,oc="$lit$",Ur=`lit$${Math.random().toFixed(9).slice(2)}$`,sc="?"+Ur,Xg=`<${sc}>`,Gi=document,Ys=()=>Gi.createComment(""),Ws=l=>l===null||typeof l!="object"&&typeof l!="function",ac=Array.isArray,bp=l=>ac(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",rc=`[
1
+ "use strict";(()=>{var Fg=Object.create;var Ql=Object.defineProperty;var ip=Object.getOwnPropertyDescriptor;var $g=Object.getOwnPropertyNames;var zg=Object.getPrototypeOf,Vg=Object.prototype.hasOwnProperty;var Bg=(l,i)=>()=>(i||l((i={exports:{}}).exports,i),i.exports);var Ug=(l,i,t,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of $g(i))!Vg.call(l,a)&&a!==t&&Ql(l,a,{get:()=>i[a],enumerable:!(o=ip(i,a))||o.enumerable});return l};var Hg=(l,i,t)=>(t=l!=null?Fg(zg(l)):{},Ug(i||!l||!l.__esModule?Ql(t,"default",{value:l,enumerable:!0}):t,l));var p=(l,i,t,o)=>{for(var a=o>1?void 0:o?ip(i,t):i,h=l.length-1,m;h>=0;h--)(m=l[h])&&(a=(o?m(i,t,a):m(a))||a);return o&&a&&Ql(i,t,a),a};var tm=Bg((ra,On)=>{typeof navigator<"u"&&function(l,i){typeof ra=="object"&&typeof On<"u"?On.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self,l.lottie=i())}(ra,function(){"use strict";var l="http://www.w3.org/2000/svg",i="",t=!1,o=-999999,a=function(r){t=!!r},h=function(){return t},m=function(r){i=r},T=function(){return i};function N(e){return document.createElement(e)}function $(e,r){var s,n=e.length,d;for(s=0;s<n;s+=1){d=e[s].prototype;for(var c in d)Object.prototype.hasOwnProperty.call(d,c)&&(r.prototype[c]=d[c])}}function q(e,r){return Object.getOwnPropertyDescriptor(e,r)}function K(e){function r(){}return r.prototype=e,r}var nt=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,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].pause()},resume:function(){var s,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].resume()},setRate:function(s){var n,d=this.audios.length;for(n=0;n<d;n+=1)this.audios[n].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,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),Q=function(){function e(s,n){var d=0,c=[],v;switch(s){case"int16":case"uint8c":v=1;break;default:v=1.1;break}for(d=0;d<n;d+=1)c.push(v);return c}function r(s,n){return s==="float32"?new Float32Array(n):s==="int16"?new Int16Array(n):s==="uint8c"?new Uint8ClampedArray(n):e(s,n)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:e}();function rt(e){return Array.apply(null,{length:e})}function dt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dt=function(s){return typeof s}:dt=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},dt(e)}var ut=!0,Tt=null,St=null,Ct="",Gt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Ft=!1,Vt=Math.pow,qt=Math.sqrt,oe=Math.floor,or=Math.max,Ie=Math.min,Be={};(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)Be[e[r]]=Math[e[r]]})();function sr(){return{}}Be.random=Math.random,Be.abs=function(e){var r=dt(e);if(r==="object"&&e.length){var s=rt(e.length),n,d=e.length;for(n=0;n<d;n+=1)s[n]=Math.abs(e[n]);return s}return Math.abs(e)};var ar=150,It=Math.PI/180,ce=.5519;function Ue(e){Ft=!!e}function He(e){return Ft?Math.round(e):e}function Ge(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 Ye(e,r,s,n){this.type=e,this.currentTime=r,this.totalTime=s,this.direction=n<0?-1:1}function Va(e,r){this.type=e,this.direction=r<0?-1:1}function dh(e,r,s,n){this.type=e,this.currentLoop=s,this.totalLoops=r,this.direction=n<0?-1:1}function hh(e,r,s){this.type=e,this.firstFrame=r,this.totalFrames=s}function ph(e,r){this.type=e,this.target=r}function Fv(e,r){this.type="renderFrameError",this.nativeError=e,this.currentTime=r}function $v(e){this.type="configError",this.nativeError=e}function tx(e,r){this.type=e,this.nativeError=r}var ke=function(){var e=0;return function(){return e+=1,Ct+"__lottie_element_"+e}}();function zl(e,r,s){var n,d,c,v,x,g,I,L;switch(v=Math.floor(e*6),x=e*6-v,g=s*(1-r),I=s*(1-x*r),L=s*(1-(1-x)*r),v%6){case 0:n=s,d=L,c=g;break;case 1:n=I,d=s,c=g;break;case 2:n=g,d=s,c=L;break;case 3:n=g,d=I,c=s;break;case 4:n=L,d=g,c=s;break;case 5:n=s,d=g,c=I;break;default:break}return[n,d,c]}function Vl(e,r,s){var n=Math.max(e,r,s),d=Math.min(e,r,s),c=n-d,v,x=n===0?0:c/n,g=n/255;switch(n){case d: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 mh(e,r){var s=Vl(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),zl(s[0],s[1],s[2])}function uh(e,r){var s=Vl(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),zl(s[0],s[1],s[2])}function fh(e,r){var s=Vl(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),zl(s[0],s[1],s[2])}var ex=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(n,d,c){return n<0&&(n=0),d<0&&(d=0),c<0&&(c=0),"#"+e[n]+e[d]+e[c]}}(),zv=function(r){ut=!!r},Vv=function(){return ut},Bv=function(r){Tt=r},Ba=function(){return Tt},rx=function(r){St=r},vh=function(){return St},Ua=function(r){ar=r},As=function(){return ar},Uv=function(r){Ct=r},ix=function(){return Ct};function bt(e){return document.createElementNS(l,e)}function Ha(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ha=function(s){return typeof s}:Ha=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ha(e)}var Ss=function(){var e=1,r=[],s,n,d={onmessage:function(){},postMessage:function(R){s({data:R})}},c={postMessage:function(R){d.onmessage({data:R})}};function v(E){if(window.Worker&&window.Blob&&h()){var R=new Blob(["var _workerSelf = self; self.onmessage = ",E.toString()],{type:"text/javascript"}),P=URL.createObjectURL(R);return new Worker(P)}return s=E,d}function x(){n||(n=v(function(R){function P(){function z(Z,S){var O,u,b=Z.length,U,F,at,mt;for(u=0;u<b;u+=1)if(O=Z[u],"ks"in O&&!O.completed){if(O.completed=!0,O.hasMask){var vt=O.masksProperties;for(F=vt.length,U=0;U<F;U+=1)if(vt[U].pt.k.i)C(vt[U].pt.k);else for(mt=vt[U].pt.k.length,at=0;at<mt;at+=1)vt[U].pt.k[at].s&&C(vt[U].pt.k[at].s[0]),vt[U].pt.k[at].e&&C(vt[U].pt.k[at].e[0])}O.ty===0?(O.layers=y(O.refId,S),z(O.layers,S)):O.ty===4?A(O.shapes):O.ty===5&&yt(O)}}function w(Z,S){if(Z){var O=0,u=Z.length;for(O=0;O<u;O+=1)Z[O].t===1&&(Z[O].data.layers=y(Z[O].data.refId,S),z(Z[O].data.layers,S))}}function _(Z,S){for(var O=0,u=S.length;O<u;){if(S[O].id===Z)return S[O];O+=1}return null}function y(Z,S){var O=_(Z,S);return O?O.layers.__used?JSON.parse(JSON.stringify(O.layers)):(O.layers.__used=!0,O.layers):null}function A(Z){var S,O=Z.length,u,b;for(S=O-1;S>=0;S-=1)if(Z[S].ty==="sh")if(Z[S].ks.k.i)C(Z[S].ks.k);else for(b=Z[S].ks.k.length,u=0;u<b;u+=1)Z[S].ks.k[u].s&&C(Z[S].ks.k[u].s[0]),Z[S].ks.k[u].e&&C(Z[S].ks.k[u].e[0]);else Z[S].ty==="gr"&&A(Z[S].it)}function C(Z){var S,O=Z.i.length;for(S=0;S<O;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 D(Z,S){var O=S?S.split("."):[100,100,100];return Z[0]>O[0]?!0:O[0]>Z[0]?!1:Z[1]>O[1]?!0:O[1]>Z[1]?!1:Z[2]>O[2]?!0:O[2]>Z[2]?!1:null}var V=function(){var Z=[4,4,14];function S(u){var b=u.t.d;u.t.d={k:[{s:b,t:0}]}}function O(u){var b,U=u.length;for(b=0;b<U;b+=1)u[b].ty===5&&S(u[b])}return function(u){if(D(Z,u.v)&&(O(u.layers),u.assets)){var b,U=u.assets.length;for(b=0;b<U;b+=1)u.assets[b].layers&&O(u.assets[b].layers)}}}(),H=function(){var Z=[4,7,99];return function(S){if(S.chars&&!D(Z,S.v)){var O,u=S.chars.length;for(O=0;O<u;O+=1){var b=S.chars[O];b.data&&b.data.shapes&&(A(b.data.shapes),b.data.ip=0,b.data.op=99999,b.data.st=0,b.data.sr=1,b.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[O].t||(b.data.shapes.push({ty:"no"}),b.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"})))}}}}(),X=function(){var Z=[5,7,15];function S(u){var b=u.t.p;typeof b.a=="number"&&(b.a={a:0,k:b.a}),typeof b.p=="number"&&(b.p={a:0,k:b.p}),typeof b.r=="number"&&(b.r={a:0,k:b.r})}function O(u){var b,U=u.length;for(b=0;b<U;b+=1)u[b].ty===5&&S(u[b])}return function(u){if(D(Z,u.v)&&(O(u.layers),u.assets)){var b,U=u.assets.length;for(b=0;b<U;b+=1)u.assets[b].layers&&O(u.assets[b].layers)}}}(),ft=function(){var Z=[4,1,9];function S(u){var b,U=u.length,F,at;for(b=0;b<U;b+=1)if(u[b].ty==="gr")S(u[b].it);else if(u[b].ty==="fl"||u[b].ty==="st")if(u[b].c.k&&u[b].c.k[0].i)for(at=u[b].c.k.length,F=0;F<at;F+=1)u[b].c.k[F].s&&(u[b].c.k[F].s[0]/=255,u[b].c.k[F].s[1]/=255,u[b].c.k[F].s[2]/=255,u[b].c.k[F].s[3]/=255),u[b].c.k[F].e&&(u[b].c.k[F].e[0]/=255,u[b].c.k[F].e[1]/=255,u[b].c.k[F].e[2]/=255,u[b].c.k[F].e[3]/=255);else u[b].c.k[0]/=255,u[b].c.k[1]/=255,u[b].c.k[2]/=255,u[b].c.k[3]/=255}function O(u){var b,U=u.length;for(b=0;b<U;b+=1)u[b].ty===4&&S(u[b].shapes)}return function(u){if(D(Z,u.v)&&(O(u.layers),u.assets)){var b,U=u.assets.length;for(b=0;b<U;b+=1)u.assets[b].layers&&O(u.assets[b].layers)}}}(),ht=function(){var Z=[4,4,18];function S(u){var b,U=u.length,F,at;for(b=U-1;b>=0;b-=1)if(u[b].ty==="sh")if(u[b].ks.k.i)u[b].ks.k.c=u[b].closed;else for(at=u[b].ks.k.length,F=0;F<at;F+=1)u[b].ks.k[F].s&&(u[b].ks.k[F].s[0].c=u[b].closed),u[b].ks.k[F].e&&(u[b].ks.k[F].e[0].c=u[b].closed);else u[b].ty==="gr"&&S(u[b].it)}function O(u){var b,U,F=u.length,at,mt,vt,wt;for(U=0;U<F;U+=1){if(b=u[U],b.hasMask){var Nt=b.masksProperties;for(mt=Nt.length,at=0;at<mt;at+=1)if(Nt[at].pt.k.i)Nt[at].pt.k.c=Nt[at].cl;else for(wt=Nt[at].pt.k.length,vt=0;vt<wt;vt+=1)Nt[at].pt.k[vt].s&&(Nt[at].pt.k[vt].s[0].c=Nt[at].cl),Nt[at].pt.k[vt].e&&(Nt[at].pt.k[vt].e[0].c=Nt[at].cl)}b.ty===4&&S(b.shapes)}}return function(u){if(D(Z,u.v)&&(O(u.layers),u.assets)){var b,U=u.assets.length;for(b=0;b<U;b+=1)u.assets[b].layers&&O(u.assets[b].layers)}}}();function et(Z){Z.__complete||(ft(Z),V(Z),H(Z),X(Z),ht(Z),z(Z.layers,Z.assets),w(Z.chars,Z.assets),Z.__complete=!0)}function yt(Z){Z.t.a.length===0&&"m"in Z.t.p}var lt={};return lt.completeData=et,lt.checkColors=ft,lt.checkChars=H,lt.checkPathProperties=X,lt.checkShapes=ht,lt.completeLayers=z,lt}if(c.dataManager||(c.dataManager=P()),c.assetLoader||(c.assetLoader=function(){function z(_){var y=_.getResponseHeader("content-type");return y&&_.responseType==="json"&&y.indexOf("json")!==-1||_.response&&Ha(_.response)==="object"?_.response:_.response&&typeof _.response=="string"?JSON.parse(_.response):_.responseText?JSON.parse(_.responseText):null}function w(_,y,A,C){var D,V=new XMLHttpRequest;try{V.responseType="json"}catch{}V.onreadystatechange=function(){if(V.readyState===4)if(V.status===200)D=z(V),A(D);else try{D=z(V),A(D)}catch(H){C&&C(H)}};try{V.open(["G","E","T"].join(""),_,!0)}catch{V.open(["G","E","T"].join(""),y+"/"+_,!0)}V.send()}return{load:w}}()),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 M=R.data.animation;c.dataManager.completeData(M),c.postMessage({id:R.data.id,payload:M,status:"success"})}else R.data.type==="loadData"&&c.assetLoader.load(R.data.path,R.data.fullPath,function(z){c.postMessage({id:R.data.id,payload:z,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})})}),n.onmessage=function(E){var R=E.data,P=R.id,M=r[P];r[P]=null,R.status==="success"?M.onComplete(R.payload):M.onError&&M.onError()})}function g(E,R){e+=1;var P="processId_"+e;return r[P]={onComplete:E,onError:R},P}function I(E,R,P){x();var M=g(R,P);n.postMessage({type:"loadAnimation",path:E,fullPath:window.location.origin+window.location.pathname,id:M})}function L(E,R,P){x();var M=g(R,P);n.postMessage({type:"loadData",path:E,fullPath:window.location.origin+window.location.pathname,id:M})}function B(E,R,P){x();var M=g(R,P);n.postMessage({type:"complete",animation:E,id:M})}return{loadAnimation:I,loadData:L,completeAnimation:B}}(),Hv=function(){var e=function(){var w=N("canvas");w.width=1,w.height=1;var _=w.getContext("2d");return _.fillStyle="rgba(0,0,0,0)",_.fillRect(0,0,1,1),w}();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 n(w,_,y){var A="";if(w.e)A=w.p;else if(_){var C=w.p;C.indexOf("images/")!==-1&&(C=C.split("/")[1]),A=_+C}else A=y,A+=w.u?w.u:"",A+=w.p;return A}function d(w){var _=0,y=setInterval((function(){var A=w.getBBox();(A.width||_>500)&&(this._imageLoaded(),clearInterval(y)),_+=1}).bind(this),50)}function c(w){var _=n(w,this.assetsPath,this.path),y=bt("image");Gt?this.testImageLoaded(y):y.addEventListener("load",this._imageLoaded,!1),y.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),y.setAttributeNS("http://www.w3.org/1999/xlink","href",_),this._elementHelper.append?this._elementHelper.append(y):this._elementHelper.appendChild(y);var A={img:y,assetData:w};return A}function v(w){var _=n(w,this.assetsPath,this.path),y=N("img");y.crossOrigin="anonymous",y.addEventListener("load",this._imageLoaded,!1),y.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),y.src=_;var A={img:y,assetData:w};return A}function x(w){var _={assetData:w},y=n(w,this.assetsPath,this.path);return Ss.loadData(y,(function(A){_.img=A,this._footageLoaded()}).bind(this),(function(){_.img={},this._footageLoaded()}).bind(this)),_}function g(w,_){this.imagesLoadedCb=_;var y,A=w.length;for(y=0;y<A;y+=1)w[y].layers||(!w[y].t||w[y].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(w[y]))):w[y].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(w[y]))))}function I(w){this.path=w||""}function L(w){this.assetsPath=w||""}function B(w){for(var _=0,y=this.images.length;_<y;){if(this.images[_].assetData===w)return this.images[_].img;_+=1}return null}function E(){this.imagesLoadedCb=null,this.images.length=0}function R(){return this.totalImages===this.loadedAssets}function P(){return this.totalFootages===this.loadedFootagesCount}function M(w,_){w==="svg"?(this._elementHelper=_,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function z(){this._imageLoaded=r.bind(this),this._footageLoaded=s.bind(this),this.testImageLoaded=d.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:L,setPath:I,loadedImages:R,loadedFootages:P,destroy:E,getAsset:B,createImgData:v,createImageData:c,imageLoaded:r,footageLoaded:s,setCacheType:M},z}();function gh(){}gh.prototype={triggerEvent:function(r,s){if(this._cbs[r])for(var n=this._cbs[r],d=0;d<n.length;d+=1)n[d](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 n=0,d=this._cbs[r].length;n<d;)this._cbs[r][n]===s&&(this._cbs[r].splice(n,1),n-=1,d-=1),n+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var Gv=function(){function e(r){for(var s=r.split(`\r
2
+ `),n={},d,c=0,v=0;v<s.length;v+=1)d=s[v].split(":"),d.length===2&&(n[d[0]]=d[1].trim(),c+=1);if(c===0)throw new Error;return n}return function(r){for(var s=[],n=0;n<r.length;n+=1){var d=r[n],c={time:d.tm,duration:d.dr};try{c.payload=JSON.parse(r[n].cm)}catch{try{c.payload=e(r[n].cm)}catch{c.payload={name:r[n].cm}}}s.push(c)}return s}}(),Yv=function(){function e(r){this.compositions.push(r)}return function(){function r(s){for(var n=0,d=this.compositions.length;n<d;){if(this.compositions[n].data&&this.compositions[n].data.nm===s)return this.compositions[n].prepareFrame&&this.compositions[n].data.xt&&this.compositions[n].prepareFrame(this.currentFrame),this.compositions[n].compInterface;n+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=e,r}}(),_s={},Wv=function(r,s){_s[r]=s};function jv(e){return _s[e]}function qv(){if(_s.canvas)return"canvas";for(var e in _s)if(_s[e])return e;return""}function Is(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Is=function(s){return typeof s}:Is=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Is(e)}var pt=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=ke(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Vv(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Yv(),this.imagePreloader=new Hv,this.audioController=nt(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new Ye("drawnFrame",0,0,0),this.expressionsPlugin=Ba()};$([gh],pt),pt.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=jv(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")),Ss.loadAnimation(e.path,this.configAnimation,this.onSetupError))},pt.prototype.onSetupError=function(){this.trigger("data_failed")},pt.prototype.setupAnimation=function(e){Ss.completeAnimation(e,this.configAnimation)},pt.prototype.setData=function(e,r){r&&Is(r)!=="object"&&(r=JSON.parse(r));var s={wrapper:e,animationData:r},n=e.attributes;s.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",s.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:qv()||"canvas";var d=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";d==="false"?s.loop=!1:d==="true"?s.loop=!0:d!==""&&(s.loop=parseInt(d,10));var c=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:n.getNamedItem("bm-autoplay")?n.getNamedItem("bm-autoplay").value:!0;s.autoplay=c!=="false",s.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"";var v=n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"";v==="false"&&(s.prerender=!1),s.path?this.setParams(s):this.trigger("destroy")},pt.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,n=r.length,d=e.layers,c,v=d.length;for(c=0;c<v;c+=1)for(s=0;s<n;){if(r[s].id===d[c].id){r[s]=d[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(n=e.assets.length,s=0;s<n;s+=1)this.animationData.assets.push(e.assets[s]);this.animationData.__complete=!1,Ss.completeAnimation(this.animationData,this.onSegmentComplete)},pt.prototype.onSegmentComplete=function(e){this.animationData=e;var r=Ba();r&&r.initExpressions(this),this.loadNextSegment()},pt.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,Ss.loadData(s,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},pt.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},pt.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},pt.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},pt.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=Gv(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},pt.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},pt.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=Ba();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},pt.prototype.resize=function(e,r){var s=typeof e=="number"?e:void 0,n=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(s,n)},pt.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},pt.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")},pt.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)}},pt.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")))},pt.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())},pt.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},pt.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},pt.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},pt.prototype.goToAndStop=function(e,r,s){if(!(s&&this.name!==s)){var n=Number(e);if(isNaN(n)){var d=this.getMarkerData(e);d&&this.goToAndStop(d.time,!0)}else r?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},pt.prototype.goToAndPlay=function(e,r,s){if(!(s&&this.name!==s)){var n=Number(e);if(isNaN(n)){var d=this.getMarkerData(e);d&&(d.duration?this.playSegments([d.time,d.time+d.duration],!0):this.goToAndStop(d.time,!0))}else this.goToAndStop(n,r,s);this.play()}},pt.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"))}},pt.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")},pt.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)},pt.prototype.playSegments=function(e,r){if(r&&(this.segments.length=0),Is(e[0])==="object"){var s,n=e.length;for(s=0;s<n;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()},pt.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},pt.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},pt.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)},pt.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},pt.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},pt.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},pt.prototype.setLoop=function(e){this.loop=e},pt.prototype.setVolume=function(e,r){r&&this.name!==r||this.audioController.setVolume(e)},pt.prototype.getVolume=function(){return this.audioController.getVolume()},pt.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},pt.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},pt.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},pt.prototype.getPath=function(){return this.path},pt.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},pt.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},pt.prototype.hide=function(){this.renderer.hide()},pt.prototype.show=function(){this.renderer.show()},pt.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},pt.prototype.updateDocumentData=function(e,r,s){try{var n=this.renderer.getElementByPath(e);n.updateDocumentData(r,s)}catch{}},pt.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new Ye(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 dh(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new Va(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new hh(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new ph(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new Ye(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new dh(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new Va(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new hh(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new ph(e,this))},pt.prototype.triggerRenderFrameError=function(e){var r=new Fv(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},pt.prototype.triggerConfigError=function(e){var r=new $v(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var Kt=function(){var e={},r=[],s=0,n=0,d=0,c=!0,v=!1;function x(S){for(var O=0,u=S.target;O<n;)r[O].animation===u&&(r.splice(O,1),O-=1,n-=1,u.isPaused||B()),O+=1}function g(S,O){if(!S)return null;for(var u=0;u<n;){if(r[u].elem===S&&r[u].elem!==null)return r[u].animation;u+=1}var b=new pt;return E(b,S),b.setData(S,O),b}function I(){var S,O=r.length,u=[];for(S=0;S<O;S+=1)u.push(r[S].animation);return u}function L(){d+=1,ft()}function B(){d-=1}function E(S,O){S.addEventListener("destroy",x),S.addEventListener("_active",L),S.addEventListener("_idle",B),r.push({elem:O,animation:S}),n+=1}function R(S){var O=new pt;return E(O,null),O.setParams(S),O}function P(S,O){var u;for(u=0;u<n;u+=1)r[u].animation.setSpeed(S,O)}function M(S,O){var u;for(u=0;u<n;u+=1)r[u].animation.setDirection(S,O)}function z(S){var O;for(O=0;O<n;O+=1)r[O].animation.play(S)}function w(S){var O=S-s,u;for(u=0;u<n;u+=1)r[u].animation.advanceTime(O);s=S,d&&!v?window.requestAnimationFrame(w):c=!0}function _(S){s=S,window.requestAnimationFrame(w)}function y(S){var O;for(O=0;O<n;O+=1)r[O].animation.pause(S)}function A(S,O,u){var b;for(b=0;b<n;b+=1)r[b].animation.goToAndStop(S,O,u)}function C(S){var O;for(O=0;O<n;O+=1)r[O].animation.stop(S)}function D(S){var O;for(O=0;O<n;O+=1)r[O].animation.togglePause(S)}function V(S){var O;for(O=n-1;O>=0;O-=1)r[O].animation.destroy(S)}function H(S,O,u){var b=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),U,F=b.length;for(U=0;U<F;U+=1)u&&b[U].setAttribute("data-bm-type",u),g(b[U],S);if(O&&F===0){u||(u="svg");var at=document.getElementsByTagName("body")[0];at.innerText="";var mt=N("div");mt.style.width="100%",mt.style.height="100%",mt.setAttribute("data-bm-type",u),at.appendChild(mt),g(mt,S)}}function X(){var S;for(S=0;S<n;S+=1)r[S].animation.resize()}function ft(){!v&&d&&c&&(window.requestAnimationFrame(_),c=!1)}function ht(){v=!0}function et(){v=!1,ft()}function yt(S,O){var u;for(u=0;u<n;u+=1)r[u].animation.setVolume(S,O)}function lt(S){var O;for(O=0;O<n;O+=1)r[O].animation.mute(S)}function Z(S){var O;for(O=0;O<n;O+=1)r[O].animation.unmute(S)}return e.registerAnimation=g,e.loadAnimation=R,e.setSpeed=P,e.setDirection=M,e.play=z,e.pause=y,e.stop=C,e.togglePause=D,e.searchAnimations=H,e.resize=X,e.goToAndStop=A,e.destroy=V,e.freeze=ht,e.unfreeze=et,e.setVolume=yt,e.mute=lt,e.unmute=Z,e.getRegisteredAnimations=I,e}(),ks=function(){var e={};e.getBezierEasing=s;var r={};function s(_,y,A,C,D){var V=D||("bez_"+_+"_"+y+"_"+A+"_"+C).replace(/\./g,"p");if(r[V])return r[V];var H=new w([_,y,A,C]);return r[V]=H,H}var n=4,d=.001,c=1e-7,v=10,x=11,g=1/(x-1),I=typeof Float32Array=="function";function L(_,y){return 1-3*y+3*_}function B(_,y){return 3*y-6*_}function E(_){return 3*_}function R(_,y,A){return((L(y,A)*_+B(y,A))*_+E(y))*_}function P(_,y,A){return 3*L(y,A)*_*_+2*B(y,A)*_+E(y)}function M(_,y,A,C,D){var V,H,X=0;do H=y+(A-y)/2,V=R(H,C,D)-_,V>0?A=H:y=H;while(Math.abs(V)>c&&++X<v);return H}function z(_,y,A,C){for(var D=0;D<n;++D){var V=P(y,A,C);if(V===0)return y;var H=R(y,A,C)-_;y-=H/V}return y}function w(_){this._p=_,this._mSampleValues=I?new Float32Array(x):new Array(x),this._precomputed=!1,this.get=this.get.bind(this)}return w.prototype={get:function(y){var A=this._p[0],C=this._p[1],D=this._p[2],V=this._p[3];return this._precomputed||this._precompute(),A===C&&D===V?y:y===0?0:y===1?1:R(this._getTForX(y),C,V)},_precompute:function(){var y=this._p[0],A=this._p[1],C=this._p[2],D=this._p[3];this._precomputed=!0,(y!==A||C!==D)&&this._calcSampleValues()},_calcSampleValues:function(){for(var y=this._p[0],A=this._p[2],C=0;C<x;++C)this._mSampleValues[C]=R(C*g,y,A)},_getTForX:function(y){for(var A=this._p[0],C=this._p[2],D=this._mSampleValues,V=0,H=1,X=x-1;H!==X&&D[H]<=y;++H)V+=g;--H;var ft=(y-D[H])/(D[H+1]-D[H]),ht=V+ft*g,et=P(ht,A,C);return et>=d?z(y,ht,A,C):et===0?ht:M(y,V,V+g,A,C)}},e}(),bh=function(){function e(r){return r.concat(rt(r.length))}return{double:e}}(),Ga=function(){return function(e,r,s){var n=0,d=e,c=rt(d),v={newElement:x,release:g};function x(){var I;return n?(n-=1,I=c[n]):I=r(),I}function g(I){n===d&&(c=bh.double(c),d*=2),s&&s(I),c[n]=I,n+=1}return v}}(),yh=function(){function e(){return{addedLength:0,percents:Q("float32",As()),lengths:Q("float32",As())}}return Ga(8,e)}(),Eh=function(){function e(){return{lengths:[],totalLength:0}}function r(s){var n,d=s.lengths.length;for(n=0;n<d;n+=1)yh.release(s.lengths[n]);s.lengths.length=0}return Ga(8,e,r)}();function Kv(){var e=Math;function r(E,R,P,M,z,w){var _=E*M+R*z+P*w-z*M-w*E-P*R;return _>-.001&&_<.001}function s(E,R,P,M,z,w,_,y,A){if(P===0&&w===0&&A===0)return r(E,R,M,z,_,y);var C=e.sqrt(e.pow(M-E,2)+e.pow(z-R,2)+e.pow(w-P,2)),D=e.sqrt(e.pow(_-E,2)+e.pow(y-R,2)+e.pow(A-P,2)),V=e.sqrt(e.pow(_-M,2)+e.pow(y-z,2)+e.pow(A-w,2)),H;return C>D?C>V?H=C-D-V:H=V-D-C:V>D?H=V-D-C:H=D-C-V,H>-1e-4&&H<1e-4}var n=function(){return function(E,R,P,M){var z=As(),w,_,y,A,C,D=0,V,H=[],X=[],ft=yh.newElement();for(y=P.length,w=0;w<z;w+=1){for(C=w/(z-1),V=0,_=0;_<y;_+=1)A=Vt(1-C,3)*E[_]+3*Vt(1-C,2)*C*P[_]+3*(1-C)*Vt(C,2)*M[_]+Vt(C,3)*R[_],H[_]=A,X[_]!==null&&(V+=Vt(H[_]-X[_],2)),X[_]=H[_];V&&(V=qt(V),D+=V),ft.percents[w]=C,ft.lengths[w]=D}return ft.addedLength=D,ft}}();function d(E){var R=Eh.newElement(),P=E.c,M=E.v,z=E.o,w=E.i,_,y=E._length,A=R.lengths,C=0;for(_=0;_<y-1;_+=1)A[_]=n(M[_],M[_+1],z[_],w[_+1]),C+=A[_].addedLength;return P&&y&&(A[_]=n(M[_],M[0],z[_],w[0]),C+=A[_].addedLength),R.totalLength=C,R}function c(E){this.segmentLength=0,this.points=new Array(E)}function v(E,R){this.partialLength=E,this.point=R}var x=function(){var E={};return function(R,P,M,z){var w=(R[0]+"_"+R[1]+"_"+P[0]+"_"+P[1]+"_"+M[0]+"_"+M[1]+"_"+z[0]+"_"+z[1]).replace(/\./g,"p");if(!E[w]){var _=As(),y,A,C,D,V,H=0,X,ft,ht=null;R.length===2&&(R[0]!==P[0]||R[1]!==P[1])&&r(R[0],R[1],P[0],P[1],R[0]+M[0],R[1]+M[1])&&r(R[0],R[1],P[0],P[1],P[0]+z[0],P[1]+z[1])&&(_=2);var et=new c(_);for(C=M.length,y=0;y<_;y+=1){for(ft=rt(C),V=y/(_-1),X=0,A=0;A<C;A+=1)D=Vt(1-V,3)*R[A]+3*Vt(1-V,2)*V*(R[A]+M[A])+3*(1-V)*Vt(V,2)*(P[A]+z[A])+Vt(V,3)*P[A],ft[A]=D,ht!==null&&(X+=Vt(ft[A]-ht[A],2));X=qt(X),H+=X,et.points[y]=new v(X,ft),ht=ft}et.segmentLength=H,E[w]=et}return E[w]}}();function g(E,R){var P=R.percents,M=R.lengths,z=P.length,w=oe((z-1)*E),_=E*R.addedLength,y=0;if(w===z-1||w===0||_===M[w])return P[w];for(var A=M[w]>_?-1:1,C=!0;C;)if(M[w]<=_&&M[w+1]>_?(y=(_-M[w])/(M[w+1]-M[w]),C=!1):w+=A,w<0||w>=z-1){if(w===z-1)return P[w];C=!1}return P[w]+(P[w+1]-P[w])*y}function I(E,R,P,M,z,w){var _=g(z,w),y=1-_,A=e.round((y*y*y*E[0]+(_*y*y+y*_*y+y*y*_)*P[0]+(_*_*y+y*_*_+_*y*_)*M[0]+_*_*_*R[0])*1e3)/1e3,C=e.round((y*y*y*E[1]+(_*y*y+y*_*y+y*y*_)*P[1]+(_*_*y+y*_*_+_*y*_)*M[1]+_*_*_*R[1])*1e3)/1e3;return[A,C]}var L=Q("float32",8);function B(E,R,P,M,z,w,_){z<0?z=0:z>1&&(z=1);var y=g(z,_);w=w>1?1:w;var A=g(w,_),C,D=E.length,V=1-y,H=1-A,X=V*V*V,ft=y*V*V*3,ht=y*y*V*3,et=y*y*y,yt=V*V*H,lt=y*V*H+V*y*H+V*V*A,Z=y*y*H+V*y*A+y*V*A,S=y*y*A,O=V*H*H,u=y*H*H+V*A*H+V*H*A,b=y*A*H+V*A*A+y*H*A,U=y*A*A,F=H*H*H,at=A*H*H+H*A*H+H*H*A,mt=A*A*H+H*A*A+A*H*A,vt=A*A*A;for(C=0;C<D;C+=1)L[C*4]=e.round((X*E[C]+ft*P[C]+ht*M[C]+et*R[C])*1e3)/1e3,L[C*4+1]=e.round((yt*E[C]+lt*P[C]+Z*M[C]+S*R[C])*1e3)/1e3,L[C*4+2]=e.round((O*E[C]+u*P[C]+b*M[C]+U*R[C])*1e3)/1e3,L[C*4+3]=e.round((F*E[C]+at*P[C]+mt*M[C]+vt*R[C])*1e3)/1e3;return L}return{getSegmentsLength:d,getNewSegment:B,getPointInSegment:I,buildBezierData:x,pointOnLine2D:r,pointOnLine3D:s}}var Er=Kv(),Di=o,Th=Math.abs;function xh(e,r){var s=this.offsetTime,n;this.propType==="multidimensional"&&(n=Q("float32",this.pv.length));for(var d=r.lastIndex,c=d,v=this.keyframes.length-1,x=!0,g,I,L;x;){if(g=this.keyframes[c],I=this.keyframes[c+1],c===v-1&&e>=I.t-s){g.h&&(g=I),d=0;break}if(I.t-s>e){d=c;break}c<v-1?c+=1:(d=0,x=!1)}L=this.keyframesMetadata[c]||{};var B,E,R,P,M,z,w=I.t-s,_=g.t-s,y;if(g.to){L.bezierData||(L.bezierData=Er.buildBezierData(g.s,I.s||g.e,g.to,g.ti));var A=L.bezierData;if(e>=w||e<_){var C=e>=w?A.points.length-1:0;for(E=A.points[C].point.length,B=0;B<E;B+=1)n[B]=A.points[C].point[B]}else{L.__fnct?z=L.__fnct:(z=ks.getBezierEasing(g.o.x,g.o.y,g.i.x,g.i.y,g.n).get,L.__fnct=z),R=z((e-_)/(w-_));var D=A.segmentLength*R,V,H=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastAddedLength:0;for(M=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastPoint:0,x=!0,P=A.points.length;x;){if(H+=A.points[M].partialLength,D===0||R===0||M===A.points.length-1){for(E=A.points[M].point.length,B=0;B<E;B+=1)n[B]=A.points[M].point[B];break}else if(D>=H&&D<H+A.points[M+1].partialLength){for(V=(D-H)/A.points[M+1].partialLength,E=A.points[M].point.length,B=0;B<E;B+=1)n[B]=A.points[M].point[B]+(A.points[M+1].point[B]-A.points[M].point[B])*V;break}M<P-1?M+=1:x=!1}r._lastPoint=M,r._lastAddedLength=H-A.points[M].partialLength,r._lastKeyframeIndex=c}}else{var X,ft,ht,et,yt;if(v=g.s.length,y=I.s||g.e,this.sh&&g.h!==1)if(e>=w)n[0]=y[0],n[1]=y[1],n[2]=y[2];else if(e<=_)n[0]=g.s[0],n[1]=g.s[1],n[2]=g.s[2];else{var lt=Ah(g.s),Z=Ah(y),S=(e-_)/(w-_);Xv(n,Zv(lt,Z,S))}else for(c=0;c<v;c+=1)g.h!==1&&(e>=w?R=1:e<_?R=0:(g.o.x.constructor===Array?(L.__fnct||(L.__fnct=[]),L.__fnct[c]?z=L.__fnct[c]:(X=g.o.x[c]===void 0?g.o.x[0]:g.o.x[c],ft=g.o.y[c]===void 0?g.o.y[0]:g.o.y[c],ht=g.i.x[c]===void 0?g.i.x[0]:g.i.x[c],et=g.i.y[c]===void 0?g.i.y[0]:g.i.y[c],z=ks.getBezierEasing(X,ft,ht,et).get,L.__fnct[c]=z)):L.__fnct?z=L.__fnct:(X=g.o.x,ft=g.o.y,ht=g.i.x,et=g.i.y,z=ks.getBezierEasing(X,ft,ht,et).get,g.keyframeMetadata=z),R=z((e-_)/(w-_)))),y=I.s||g.e,yt=g.h===1?g.s[c]:g.s[c]+(y[c]-g.s[c])*R,this.propType==="multidimensional"?n[c]=yt:n=yt}return r.lastIndex=d,n}function Zv(e,r,s){var n=[],d=e[0],c=e[1],v=e[2],x=e[3],g=r[0],I=r[1],L=r[2],B=r[3],E,R,P,M,z;return R=d*g+c*I+v*L+x*B,R<0&&(R=-R,g=-g,I=-I,L=-L,B=-B),1-R>1e-6?(E=Math.acos(R),P=Math.sin(E),M=Math.sin((1-s)*E)/P,z=Math.sin(s*E)/P):(M=1-s,z=s),n[0]=M*d+z*g,n[1]=M*c+z*I,n[2]=M*v+z*L,n[3]=M*x+z*B,n}function Xv(e,r){var s=r[0],n=r[1],d=r[2],c=r[3],v=Math.atan2(2*n*c-2*s*d,1-2*n*n-2*d*d),x=Math.asin(2*s*n+2*d*c),g=Math.atan2(2*s*c-2*n*d,1-2*s*s-2*d*d);e[0]=v/It,e[1]=x/It,e[2]=g/It}function Ah(e){var r=e[0]*It,s=e[1]*It,n=e[2]*It,d=Math.cos(r/2),c=Math.cos(s/2),v=Math.cos(n/2),x=Math.sin(r/2),g=Math.sin(s/2),I=Math.sin(n/2),L=d*c*v-x*g*I,B=x*g*v+d*c*I,E=x*c*v+d*g*I,R=d*g*v-x*c*I;return[B,E,R,L]}function Sh(){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!==Di&&(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 n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function Ya(e){var r;if(this.propType==="unidimensional")r=e*this.mult,Th(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var s=0,n=this.v.length;s<n;)r=e[s]*this.mult,Th(this.v[s]-r)>1e-5&&(this.v[s]=r,this._mdf=!0),s+=1}function Wa(){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 ja(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function Qv(e,r,s,n){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=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Wa,this.setVValue=Ya,this.addEffect=ja}function Jv(e,r,s,n){this.propType="multidimensional",this.mult=s||1,this.data=r,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var d,c=r.k.length;for(this.v=Q("float32",c),this.pv=Q("float32",c),this.vel=Q("float32",c),d=0;d<c;d+=1)this.v[d]=r.k[d]*this.mult,this.pv[d]=r.k[d];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=Wa,this.setVValue=Ya,this.addEffect=ja}function tg(e,r,s,n){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:Di,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=s||1,this.elem=e,this.container=n,this.comp=e.comp,this.v=Di,this.pv=Di,this._isFirstFrame=!0,this.getValue=Wa,this.setVValue=Ya,this.interpolateValue=xh,this.effectsSequence=[Sh.bind(this)],this.addEffect=ja}function eg(e,r,s,n){this.propType="multidimensional";var d,c=r.k.length,v,x,g,I;for(d=0;d<c-1;d+=1)r.k[d].to&&r.k[d].s&&r.k[d+1]&&r.k[d+1].s&&(v=r.k[d].s,x=r.k[d+1].s,g=r.k[d].to,I=r.k[d].ti,(v.length===2&&!(v[0]===x[0]&&v[1]===x[1])&&Er.pointOnLine2D(v[0],v[1],x[0],x[1],v[0]+g[0],v[1]+g[1])&&Er.pointOnLine2D(v[0],v[1],x[0],x[1],x[0]+I[0],x[1]+I[1])||v.length===3&&!(v[0]===x[0]&&v[1]===x[1]&&v[2]===x[2])&&Er.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])&&Er.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],x[0]+I[0],x[1]+I[1],x[2]+I[2]))&&(r.k[d].to=null,r.k[d].ti=null),v[0]===x[0]&&v[1]===x[1]&&g[0]===0&&g[1]===0&&I[0]===0&&I[1]===0&&(v.length===2||v[2]===x[2]&&g[2]===0&&I[2]===0)&&(r.k[d].to=null,r.k[d].ti=null));this.effectsSequence=[Sh.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=n,this.comp=e.comp,this.getValue=Wa,this.setVValue=Ya,this.interpolateValue=xh,this.frameId=-1;var L=r.k[0].s.length;for(this.v=Q("float32",L),this.pv=Q("float32",L),d=0;d<L;d+=1)this.v[d]=Di,this.pv[d]=Di;this._caching={lastFrame:Di,lastIndex:0,value:Q("float32",L)},this.addEffect=ja}var it=function(){function e(s,n,d,c,v){n.sid&&(n=s.globalData.slotManager.getProp(n));var x;if(!n.k.length)x=new Qv(s,n,c,v);else if(typeof n.k[0]=="number")x=new Jv(s,n,c,v);else switch(d){case 0:x=new tg(s,n,c,v);break;case 1:x=new eg(s,n,c,v);break;default:break}return x.effectsSequence.length&&v.addDynamicProperty(x),x}var r={getProp:e};return r}();function se(){}se.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 Fi=function(){function e(){return Q("float32",2)}return Ga(8,e)}();function Or(){this.c=!1,this._length=0,this._maxLength=8,this.v=rt(this._maxLength),this.o=rt(this._maxLength),this.i=rt(this._maxLength)}Or.prototype.setPathData=function(e,r){this.c=e,this.setLength(r);for(var s=0;s<r;)this.v[s]=Fi.newElement(),this.o[s]=Fi.newElement(),this.i[s]=Fi.newElement(),s+=1},Or.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},Or.prototype.doubleArrayLength=function(){this.v=this.v.concat(rt(this._maxLength)),this.i=this.i.concat(rt(this._maxLength)),this.o=this.o.concat(rt(this._maxLength)),this._maxLength*=2},Or.prototype.setXYAt=function(e,r,s,n,d){var c;switch(this._length=Math.max(this._length,n+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[n]||c[n]&&!d)&&(c[n]=Fi.newElement()),c[n][0]=e,c[n][1]=r},Or.prototype.setTripleAt=function(e,r,s,n,d,c,v,x){this.setXYAt(e,r,"v",v,x),this.setXYAt(s,n,"o",v,x),this.setXYAt(d,c,"i",v,x)},Or.prototype.reverse=function(){var e=new Or;e.setPathData(this.c,this._length);var r=this.v,s=this.o,n=this.i,d=0;this.c&&(e.setTripleAt(r[0][0],r[0][1],n[0][0],n[0][1],s[0][0],s[0][1],0,!1),d=1);var c=this._length-1,v=this._length,x;for(x=d;x<v;x+=1)e.setTripleAt(r[c][0],r[c][1],n[c][0],n[c][1],s[c][0],s[c][1],x,!1),c-=1;return e},Or.prototype.length=function(){return this._length};var de=function(){function e(){return new Or}function r(d){var c=d._length,v;for(v=0;v<c;v+=1)Fi.release(d.v[v]),Fi.release(d.i[v]),Fi.release(d.o[v]),d.v[v]=null,d.i[v]=null,d.o[v]=null;d._length=0,d.c=!1}function s(d){var c=n.newElement(),v,x=d._length===void 0?d.v.length:d._length;for(c.setLength(x),c.c=d.c,v=0;v<x;v+=1)c.setTripleAt(d.v[v][0],d.v[v][1],d.o[v][0],d.o[v][1],d.i[v][0],d.i[v][1],v);return c}var n=Ga(4,e,r);return n.clone=s,n}();function Bl(){this._length=0,this._maxLength=4,this.shapes=rt(this._maxLength)}Bl.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(rt(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},Bl.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)de.release(this.shapes[e]);this._length=0};var No=function(){var e={newShapeCollection:d,release:c},r=0,s=4,n=rt(s);function d(){var v;return r?(r-=1,v=n[r]):v=new Bl,v}function c(v){var x,g=v._length;for(x=0;x<g;x+=1)de.release(v.shapes[x]);v._length=0,r===s&&(n=bh.double(n),s*=2),n[r]=v,r+=1}return e}(),qa=function(){var e=-999999;function r(w,_,y){var A=y.lastIndex,C,D,V,H,X,ft,ht,et,yt,lt=this.keyframes;if(w<lt[0].t-this.offsetTime)C=lt[0].s[0],V=!0,A=0;else if(w>=lt[lt.length-1].t-this.offsetTime)C=lt[lt.length-1].s?lt[lt.length-1].s[0]:lt[lt.length-2].e[0],V=!0;else{for(var Z=A,S=lt.length-1,O=!0,u,b,U;O&&(u=lt[Z],b=lt[Z+1],!(b.t-this.offsetTime>w));)Z<S-1?Z+=1:O=!1;if(U=this.keyframesMetadata[Z]||{},V=u.h===1,A=Z,!V){if(w>=b.t-this.offsetTime)et=1;else if(w<u.t-this.offsetTime)et=0;else{var F;U.__fnct?F=U.__fnct:(F=ks.getBezierEasing(u.o.x,u.o.y,u.i.x,u.i.y).get,U.__fnct=F),et=F((w-(u.t-this.offsetTime))/(b.t-this.offsetTime-(u.t-this.offsetTime)))}D=b.s?b.s[0]:u.e[0]}C=u.s[0]}for(ft=_._length,ht=C.i[0].length,y.lastIndex=A,H=0;H<ft;H+=1)for(X=0;X<ht;X+=1)yt=V?C.i[H][X]:C.i[H][X]+(D.i[H][X]-C.i[H][X])*et,_.i[H][X]=yt,yt=V?C.o[H][X]:C.o[H][X]+(D.o[H][X]-C.o[H][X])*et,_.o[H][X]=yt,yt=V?C.v[H][X]:C.v[H][X]+(D.v[H][X]-C.v[H][X])*et,_.v[H][X]=yt}function s(){var w=this.comp.renderedFrame-this.offsetTime,_=this.keyframes[0].t-this.offsetTime,y=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==e&&(A<_&&w<_||A>y&&w>y)||(this._caching.lastIndex=A<w?this._caching.lastIndex:0,this.interpolateShape(w,this.pv,this._caching)),this._caching.lastFrame=w,this.pv}function n(){this.paths=this.localShapeCollection}function d(w,_){if(w._length!==_._length||w.c!==_.c)return!1;var y,A=w._length;for(y=0;y<A;y+=1)if(w.v[y][0]!==_.v[y][0]||w.v[y][1]!==_.v[y][1]||w.o[y][0]!==_.o[y][0]||w.o[y][1]!==_.o[y][1]||w.i[y][0]!==_.i[y][0]||w.i[y][1]!==_.i[y][1])return!1;return!0}function c(w){d(this.v,w)||(this.v=de.clone(w),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 w;this.kf?w=this.pv:this.data.ks?w=this.data.ks.k:w=this.data.pt.k;var _,y=this.effectsSequence.length;for(_=0;_<y;_+=1)w=this.effectsSequence[_](w);this.setVValue(w),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function x(w,_,y){this.propType="shape",this.comp=w.comp,this.container=w,this.elem=w,this.data=_,this.k=!1,this.kf=!1,this._mdf=!1;var A=y===3?_.pt.k:_.ks.k;this.v=de.clone(A),this.pv=de.clone(this.v),this.localShapeCollection=No.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function g(w){this.effectsSequence.push(w),this.container.addDynamicProperty(this)}x.prototype.interpolateShape=r,x.prototype.getValue=v,x.prototype.setVValue=c,x.prototype.addEffect=g;function I(w,_,y){this.propType="shape",this.comp=w.comp,this.elem=w,this.container=w,this.offsetTime=w.data.st,this.keyframes=y===3?_.pt.k:_.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=de.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=de.clone(this.v),this.localShapeCollection=No.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[s.bind(this)]}I.prototype.getValue=v,I.prototype.interpolateShape=r,I.prototype.setVValue=c,I.prototype.addEffect=g;var L=function(){var w=ce;function _(y,A){this.v=de.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=No.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=y,this.comp=y.comp,this.frameId=-1,this.initDynamicPropertyContainer(y),this.p=it.getProp(y,A.p,1,0,this),this.s=it.getProp(y,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return _.prototype={reset:n,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],C=this.p.v[1],D=this.s.v[0]/2,V=this.s.v[1]/2,H=this.d!==3,X=this.v;X.v[0][0]=A,X.v[0][1]=C-V,X.v[1][0]=H?A+D:A-D,X.v[1][1]=C,X.v[2][0]=A,X.v[2][1]=C+V,X.v[3][0]=H?A-D:A+D,X.v[3][1]=C,X.i[0][0]=H?A-D*w:A+D*w,X.i[0][1]=C-V,X.i[1][0]=H?A+D:A-D,X.i[1][1]=C-V*w,X.i[2][0]=H?A+D*w:A-D*w,X.i[2][1]=C+V,X.i[3][0]=H?A-D:A+D,X.i[3][1]=C+V*w,X.o[0][0]=H?A+D*w:A-D*w,X.o[0][1]=C-V,X.o[1][0]=H?A+D:A-D,X.o[1][1]=C+V*w,X.o[2][0]=H?A-D*w:A+D*w,X.o[2][1]=C+V,X.o[3][0]=H?A-D:A+D,X.o[3][1]=C-V*w}},$([se],_),_}(),B=function(){function w(_,y){this.v=de.newElement(),this.v.setPathData(!0,0),this.elem=_,this.comp=_.comp,this.data=y,this.frameId=-1,this.d=y.d,this.initDynamicPropertyContainer(_),y.sy===1?(this.ir=it.getProp(_,y.ir,0,0,this),this.is=it.getProp(_,y.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=it.getProp(_,y.pt,0,0,this),this.p=it.getProp(_,y.p,1,0,this),this.r=it.getProp(_,y.r,0,It,this),this.or=it.getProp(_,y.or,0,0,this),this.os=it.getProp(_,y.os,0,.01,this),this.localShapeCollection=No.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return w.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var y=Math.floor(this.pt.v)*2,A=Math.PI*2/y,C=!0,D=this.or.v,V=this.ir.v,H=this.os.v,X=this.is.v,ft=2*Math.PI*D/(y*2),ht=2*Math.PI*V/(y*2),et,yt,lt,Z,S=-Math.PI/2;S+=this.r.v;var O=this.data.d===3?-1:1;for(this.v._length=0,et=0;et<y;et+=1){yt=C?D:V,lt=C?H:X,Z=C?ft:ht;var u=yt*Math.cos(S),b=yt*Math.sin(S),U=u===0&&b===0?0:b/Math.sqrt(u*u+b*b),F=u===0&&b===0?0:-u/Math.sqrt(u*u+b*b);u+=+this.p.v[0],b+=+this.p.v[1],this.v.setTripleAt(u,b,u-U*Z*lt*O,b-F*Z*lt*O,u+U*Z*lt*O,b+F*Z*lt*O,et,!0),C=!C,S+=A*O}},convertPolygonToPath:function(){var y=Math.floor(this.pt.v),A=Math.PI*2/y,C=this.or.v,D=this.os.v,V=2*Math.PI*C/(y*4),H,X=-Math.PI*.5,ft=this.data.d===3?-1:1;for(X+=this.r.v,this.v._length=0,H=0;H<y;H+=1){var ht=C*Math.cos(X),et=C*Math.sin(X),yt=ht===0&&et===0?0:et/Math.sqrt(ht*ht+et*et),lt=ht===0&&et===0?0:-ht/Math.sqrt(ht*ht+et*et);ht+=+this.p.v[0],et+=+this.p.v[1],this.v.setTripleAt(ht,et,ht-yt*V*D*ft,et-lt*V*D*ft,ht+yt*V*D*ft,et+lt*V*D*ft,H,!0),X+=A*ft}this.paths.length=0,this.paths[0]=this.v}},$([se],w),w}(),E=function(){function w(_,y){this.v=de.newElement(),this.v.c=!0,this.localShapeCollection=No.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=_,this.comp=_.comp,this.frameId=-1,this.d=y.d,this.initDynamicPropertyContainer(_),this.p=it.getProp(_,y.p,1,0,this),this.s=it.getProp(_,y.s,1,0,this),this.r=it.getProp(_,y.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return w.prototype={convertRectToPath:function(){var y=this.p.v[0],A=this.p.v[1],C=this.s.v[0]/2,D=this.s.v[1]/2,V=Ie(C,D,this.r.v),H=V*(1-ce);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(y+C,A-D+V,y+C,A-D+V,y+C,A-D+H,0,!0),this.v.setTripleAt(y+C,A+D-V,y+C,A+D-H,y+C,A+D-V,1,!0),V!==0?(this.v.setTripleAt(y+C-V,A+D,y+C-V,A+D,y+C-H,A+D,2,!0),this.v.setTripleAt(y-C+V,A+D,y-C+H,A+D,y-C+V,A+D,3,!0),this.v.setTripleAt(y-C,A+D-V,y-C,A+D-V,y-C,A+D-H,4,!0),this.v.setTripleAt(y-C,A-D+V,y-C,A-D+H,y-C,A-D+V,5,!0),this.v.setTripleAt(y-C+V,A-D,y-C+V,A-D,y-C+H,A-D,6,!0),this.v.setTripleAt(y+C-V,A-D,y+C-H,A-D,y+C-V,A-D,7,!0)):(this.v.setTripleAt(y-C,A+D,y-C+H,A+D,y-C,A+D,2),this.v.setTripleAt(y-C,A-D,y-C,A-D+H,y-C,A-D,3))):(this.v.setTripleAt(y+C,A-D+V,y+C,A-D+H,y+C,A-D+V,0,!0),V!==0?(this.v.setTripleAt(y+C-V,A-D,y+C-V,A-D,y+C-H,A-D,1,!0),this.v.setTripleAt(y-C+V,A-D,y-C+H,A-D,y-C+V,A-D,2,!0),this.v.setTripleAt(y-C,A-D+V,y-C,A-D+V,y-C,A-D+H,3,!0),this.v.setTripleAt(y-C,A+D-V,y-C,A+D-H,y-C,A+D-V,4,!0),this.v.setTripleAt(y-C+V,A+D,y-C+V,A+D,y-C+H,A+D,5,!0),this.v.setTripleAt(y+C-V,A+D,y+C-H,A+D,y+C-V,A+D,6,!0),this.v.setTripleAt(y+C,A+D-V,y+C,A+D-V,y+C,A+D-H,7,!0)):(this.v.setTripleAt(y-C,A-D,y-C+H,A-D,y-C,A-D,1,!0),this.v.setTripleAt(y-C,A+D,y-C,A+D-H,y-C,A+D,2,!0),this.v.setTripleAt(y+C,A+D,y+C-H,A+D,y+C,A+D,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},$([se],w),w}();function R(w,_,y){var A;if(y===3||y===4){var C=y===3?_.pt:_.ks,D=C.k;D.length?A=new I(w,_,y):A=new x(w,_,y)}else y===5?A=new E(w,_):y===6?A=new L(w,_):y===7&&(A=new B(w,_));return A.k&&w.addDynamicProperty(A),A}function P(){return x}function M(){return I}var z={};return z.getShapeProp=R,z.getConstructorFunction=P,z.getKeyframedConstructorFunction=M,z}();var he=function(){var e=Math.cos,r=Math.sin,s=Math.tan,n=Math.round;function d(){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(u){if(u===0)return this;var b=e(u),U=r(u);return this._t(b,-U,0,0,U,b,0,0,0,0,1,0,0,0,0,1)}function v(u){if(u===0)return this;var b=e(u),U=r(u);return this._t(1,0,0,0,0,b,-U,0,0,U,b,0,0,0,0,1)}function x(u){if(u===0)return this;var b=e(u),U=r(u);return this._t(b,0,U,0,0,1,0,0,-U,0,b,0,0,0,0,1)}function g(u){if(u===0)return this;var b=e(u),U=r(u);return this._t(b,-U,0,0,U,b,0,0,0,0,1,0,0,0,0,1)}function I(u,b){return this._t(1,b,u,1,0,0)}function L(u,b){return this.shear(s(u),s(b))}function B(u,b){var U=e(b),F=r(b);return this._t(U,F,0,0,-F,U,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,s(u),1,0,0,0,0,1,0,0,0,0,1)._t(U,-F,0,0,F,U,0,0,0,0,1,0,0,0,0,1)}function E(u,b,U){return!U&&U!==0&&(U=1),u===1&&b===1&&U===1?this:this._t(u,0,0,0,0,b,0,0,0,0,U,0,0,0,0,1)}function R(u,b,U,F,at,mt,vt,wt,Nt,Zt,we,xr,Ne,ae,$e,Ot){return this.props[0]=u,this.props[1]=b,this.props[2]=U,this.props[3]=F,this.props[4]=at,this.props[5]=mt,this.props[6]=vt,this.props[7]=wt,this.props[8]=Nt,this.props[9]=Zt,this.props[10]=we,this.props[11]=xr,this.props[12]=Ne,this.props[13]=ae,this.props[14]=$e,this.props[15]=Ot,this}function P(u,b,U){return U=U||0,u!==0||b!==0||U!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,u,b,U,1):this}function M(u,b,U,F,at,mt,vt,wt,Nt,Zt,we,xr,Ne,ae,$e,Ot){var ct=this.props;if(u===1&&b===0&&U===0&&F===0&&at===0&&mt===1&&vt===0&&wt===0&&Nt===0&&Zt===0&&we===1&&xr===0)return ct[12]=ct[12]*u+ct[15]*Ne,ct[13]=ct[13]*mt+ct[15]*ae,ct[14]=ct[14]*we+ct[15]*$e,ct[15]*=Ot,this._identityCalculated=!1,this;var Fr=ct[0],fi=ct[1],$r=ct[2],Ar=ct[3],zr=ct[4],Vr=ct[5],Le=ct[6],vi=ct[7],gi=ct[8],lr=ct[9],bi=ct[10],cr=ct[11],Bi=ct[12],on=ct[13],sn=ct[14],an=ct[15];return ct[0]=Fr*u+fi*at+$r*Nt+Ar*Ne,ct[1]=Fr*b+fi*mt+$r*Zt+Ar*ae,ct[2]=Fr*U+fi*vt+$r*we+Ar*$e,ct[3]=Fr*F+fi*wt+$r*xr+Ar*Ot,ct[4]=zr*u+Vr*at+Le*Nt+vi*Ne,ct[5]=zr*b+Vr*mt+Le*Zt+vi*ae,ct[6]=zr*U+Vr*vt+Le*we+vi*$e,ct[7]=zr*F+Vr*wt+Le*xr+vi*Ot,ct[8]=gi*u+lr*at+bi*Nt+cr*Ne,ct[9]=gi*b+lr*mt+bi*Zt+cr*ae,ct[10]=gi*U+lr*vt+bi*we+cr*$e,ct[11]=gi*F+lr*wt+bi*xr+cr*Ot,ct[12]=Bi*u+on*at+sn*Nt+an*Ne,ct[13]=Bi*b+on*mt+sn*Zt+an*ae,ct[14]=Bi*U+on*vt+sn*we+an*$e,ct[15]=Bi*F+on*wt+sn*xr+an*Ot,this._identityCalculated=!1,this}function z(u){var b=u.props;return this.transform(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],b[9],b[10],b[11],b[12],b[13],b[14],b[15])}function w(){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 _(u){for(var b=0;b<16;){if(u.props[b]!==this.props[b])return!1;b+=1}return!0}function y(u){var b;for(b=0;b<16;b+=1)u.props[b]=this.props[b];return u}function A(u){var b;for(b=0;b<16;b+=1)this.props[b]=u[b]}function C(u,b,U){return{x:u*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12],y:u*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13],z:u*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]}}function D(u,b,U){return u*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12]}function V(u,b,U){return u*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13]}function H(u,b,U){return u*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]}function X(){var u=this.props[0]*this.props[5]-this.props[1]*this.props[4],b=this.props[5]/u,U=-this.props[1]/u,F=-this.props[4]/u,at=this.props[0]/u,mt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/u,vt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/u,wt=new he;return wt.props[0]=b,wt.props[1]=U,wt.props[4]=F,wt.props[5]=at,wt.props[12]=mt,wt.props[13]=vt,wt}function ft(u){var b=this.getInverseMatrix();return b.applyToPointArray(u[0],u[1],u[2]||0)}function ht(u){var b,U=u.length,F=[];for(b=0;b<U;b+=1)F[b]=ft(u[b]);return F}function et(u,b,U){var F=Q("float32",6);if(this.isIdentity())F[0]=u[0],F[1]=u[1],F[2]=b[0],F[3]=b[1],F[4]=U[0],F[5]=U[1];else{var at=this.props[0],mt=this.props[1],vt=this.props[4],wt=this.props[5],Nt=this.props[12],Zt=this.props[13];F[0]=u[0]*at+u[1]*vt+Nt,F[1]=u[0]*mt+u[1]*wt+Zt,F[2]=b[0]*at+b[1]*vt+Nt,F[3]=b[0]*mt+b[1]*wt+Zt,F[4]=U[0]*at+U[1]*vt+Nt,F[5]=U[0]*mt+U[1]*wt+Zt}return F}function yt(u,b,U){var F;return this.isIdentity()?F=[u,b,U]:F=[u*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12],u*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13],u*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]],F}function lt(u,b){if(this.isIdentity())return u+","+b;var U=this.props;return Math.round((u*U[0]+b*U[4]+U[12])*100)/100+","+Math.round((u*U[1]+b*U[5]+U[13])*100)/100}function Z(){for(var u=0,b=this.props,U="matrix3d(",F=1e4;u<16;)U+=n(b[u]*F)/F,U+=u===15?")":",",u+=1;return U}function S(u){var b=1e4;return u<1e-6&&u>0||u>-1e-6&&u<0?n(u*b)/b:u}function O(){var u=this.props,b=S(u[0]),U=S(u[1]),F=S(u[4]),at=S(u[5]),mt=S(u[12]),vt=S(u[13]);return"matrix("+b+","+U+","+F+","+at+","+mt+","+vt+")"}return function(){this.reset=d,this.rotate=c,this.rotateX=v,this.rotateY=x,this.rotateZ=g,this.skew=L,this.skewFromAxis=B,this.shear=I,this.scale=E,this.setTransform=R,this.translate=P,this.transform=M,this.multiply=z,this.applyToPoint=C,this.applyToX=D,this.applyToY=V,this.applyToZ=H,this.applyToPointArray=yt,this.applyToTriplePoints=et,this.applyToPointStringified=lt,this.toCSS=Z,this.to2dCSS=O,this.clone=y,this.cloneFromProps=A,this.equals=_,this.inversePoints=ht,this.inversePoint=ft,this.getInverseMatrix=X,this._t=this.transform,this.isIdentity=w,this._identity=!0,this._identityCalculated=!1,this.props=Q("float32",16),this.reset()}}();function Ka(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ka=function(s){return typeof s}:Ka=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ka(e)}var Mt={},Za="__[STANDALONE]__",_h="__[ANIMATIONDATA]__",Ih="";function rg(e){m(e)}function kh(){Za===!0?Kt.searchAnimations(_h,Za,Ih):Kt.searchAnimations()}function ig(e){zv(e)}function og(e){Uv(e)}function sg(e){return Za===!0&&(e.animationData=JSON.parse(_h)),Kt.loadAnimation(e)}function ag(e){if(typeof e=="string")switch(e){case"high":Ua(200);break;default:case"medium":Ua(50);break;case"low":Ua(10);break}else!isNaN(e)&&e>1&&Ua(e);As()>=50?Ue(!1):Ue(!0)}function ng(){return typeof navigator<"u"}function lg(e,r){e==="expressions"&&Bv(r)}function cg(e){switch(e){case"propertyFactory":return it;case"shapePropertyFactory":return qa;case"matrix":return he;default:return null}}Mt.play=Kt.play,Mt.pause=Kt.pause,Mt.setLocationHref=rg,Mt.togglePause=Kt.togglePause,Mt.setSpeed=Kt.setSpeed,Mt.setDirection=Kt.setDirection,Mt.stop=Kt.stop,Mt.searchAnimations=kh,Mt.registerAnimation=Kt.registerAnimation,Mt.loadAnimation=sg,Mt.setSubframeRendering=ig,Mt.resize=Kt.resize,Mt.goToAndStop=Kt.goToAndStop,Mt.destroy=Kt.destroy,Mt.setQuality=ag,Mt.inBrowser=ng,Mt.installPlugin=lg,Mt.freeze=Kt.freeze,Mt.unfreeze=Kt.unfreeze,Mt.setVolume=Kt.setVolume,Mt.mute=Kt.mute,Mt.unmute=Kt.unmute,Mt.getRegisteredAnimations=Kt.getRegisteredAnimations,Mt.useWebWorker=a,Mt.setIDPrefix=og,Mt.__getFactory=cg,Mt.version="5.12.2";function dg(){document.readyState==="complete"&&(clearInterval(mg),kh())}function hg(e){for(var r=Ch.split("&"),s=0;s<r.length;s+=1){var n=r[s].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[1])}return null}var Ch="";if(Za){var wh=document.getElementsByTagName("script"),pg=wh.length-1,Nh=wh[pg]||{src:""};Ch=Nh.src?Nh.src.replace(/^[^\?]+\??/,""):"",Ih=hg("renderer")}var mg=setInterval(dg,100);try{!((typeof ra>"u"?"undefined":Ka(ra))==="object"&&typeof On<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Mt)}catch{}var ci=function(){var e={},r={};e.registerModifier=s,e.getModifier=n;function s(d,c){r[d]||(r[d]=c)}function n(d,c,v){return new r[d](c,v)}return e}();function We(){}We.prototype.initModifierProperties=function(){},We.prototype.addShapeToModifier=function(){},We.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var r={shape:e.sh,data:e,localShapeCollection:No.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&e.setAsAnimated()}},We.prototype.init=function(e,r){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r),this.frameId=o,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},We.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},$([se],We);function nr(){}$([We],nr),nr.prototype.initModifierProperties=function(e,r){this.s=it.getProp(e,r.s,0,.01,this),this.e=it.getProp(e,r.e,0,.01,this),this.o=it.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},nr.prototype.addShapeToModifier=function(e){e.pathsData=[]},nr.prototype.calculateShapeEdges=function(e,r,s,n,d){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,I;for(x=0;x<g;x+=1)if(I=c[x],!(I.e*d<n||I.s*d>n+s)){var L,B;I.s*d<=n?L=0:L=(I.s*d-n)/s,I.e*d>=n+s?B=1:B=(I.e*d-n)/s,v.push([L,B])}return v.length||v.push([0,0]),v},nr.prototype.releasePathsData=function(e){var r,s=e.length;for(r=0;r<s;r+=1)Eh.release(e[r]);return e.length=0,e},nr.prototype.processShapes=function(e){var r,s;if(this._mdf||e){var n=this.o.v%360/360;if(n<0&&(n+=1),this.s.v>1?r=1+n:this.s.v<0?r=0+n:r=this.s.v+n,this.e.v>1?s=1+n:this.e.v<0?s=0+n:s=this.e.v+n,r>s){var d=r;r=s,s=d}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,I,L,B,E,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 P=[],M,z;for(v=0;v<x;v+=1)if(M=this.shapes[v],!M.shape._mdf&&!this._mdf&&!e&&this.m!==2)M.shape.paths=M.localShapeCollection;else{if(c=M.shape.paths,I=c._length,E=0,!M.shape._mdf&&M.pathsData.length)E=M.totalShapeLength;else{for(L=this.releasePathsData(M.pathsData),g=0;g<I;g+=1)B=Er.getSegmentsLength(c.shapes[g]),L.push(B),E+=B.totalLength;M.totalShapeLength=E,M.pathsData=L}R+=E,M.shape._mdf=!0}var w=r,_=s,y=0,A;for(v=x-1;v>=0;v-=1)if(M=this.shapes[v],M.shape._mdf){for(z=M.localShapeCollection,z.releaseShapes(),this.m===2&&x>1?(A=this.calculateShapeEdges(r,s,M.totalShapeLength,y,R),y+=M.totalShapeLength):A=[[w,_]],I=A.length,g=0;g<I;g+=1){w=A[g][0],_=A[g][1],P.length=0,_<=1?P.push({s:M.totalShapeLength*w,e:M.totalShapeLength*_}):w>=1?P.push({s:M.totalShapeLength*(w-1),e:M.totalShapeLength*(_-1)}):(P.push({s:M.totalShapeLength*w,e:M.totalShapeLength}),P.push({s:0,e:M.totalShapeLength*(_-1)}));var C=this.addShapes(M,P[0]);if(P[0].s!==P[0].e){if(P.length>1){var D=M.shape.paths.shapes[M.shape.paths._length-1];if(D.c){var V=C.pop();this.addPaths(C,z),C=this.addShapes(M,P[1],V)}else this.addPaths(C,z),C=this.addShapes(M,P[1])}this.addPaths(C,z)}}M.shape.paths=z}}},nr.prototype.addPaths=function(e,r){var s,n=e.length;for(s=0;s<n;s+=1)r.addShape(e[s])},nr.prototype.addSegment=function(e,r,s,n,d,c,v){d.setXYAt(r[0],r[1],"o",c),d.setXYAt(s[0],s[1],"i",c+1),v&&d.setXYAt(e[0],e[1],"v",c),d.setXYAt(n[0],n[1],"v",c+1)},nr.prototype.addSegmentFromArray=function(e,r,s,n){r.setXYAt(e[1],e[5],"o",s),r.setXYAt(e[2],e[6],"i",s+1),n&&r.setXYAt(e[0],e[4],"v",s),r.setXYAt(e[3],e[7],"v",s+1)},nr.prototype.addShapes=function(e,r,s){var n=e.pathsData,d=e.shape.paths.shapes,c,v=e.shape.paths._length,x,g,I=0,L,B,E,R,P=[],M,z=!0;for(s?(B=s._length,M=s._length):(s=de.newElement(),B=0,M=0),P.push(s),c=0;c<v;c+=1){for(E=n[c].lengths,s.c=d[c].c,g=d[c].c?E.length:E.length+1,x=1;x<g;x+=1)if(L=E[x-1],I+L.addedLength<r.s)I+=L.addedLength,s.c=!1;else if(I>r.e){s.c=!1;break}else r.s<=I&&r.e>=I+L.addedLength?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[x],d[c].v[x],s,B,z),z=!1):(R=Er.getNewSegment(d[c].v[x-1],d[c].v[x],d[c].o[x-1],d[c].i[x],(r.s-I)/L.addedLength,(r.e-I)/L.addedLength,E[x-1]),this.addSegmentFromArray(R,s,B,z),z=!1,s.c=!1),I+=L.addedLength,B+=1;if(d[c].c&&E.length){if(L=E[x-1],I<=r.e){var w=E[x-1].addedLength;r.s<=I&&r.e>=I+w?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[0],d[c].v[0],s,B,z),z=!1):(R=Er.getNewSegment(d[c].v[x-1],d[c].v[0],d[c].o[x-1],d[c].i[0],(r.s-I)/w,(r.e-I)/w,E[x-1]),this.addSegmentFromArray(R,s,B,z),z=!1,s.c=!1)}else s.c=!1;I+=L.addedLength,B+=1}if(s._length&&(s.setXYAt(s.v[M][0],s.v[M][1],"i",M),s.setXYAt(s.v[s._length-1][0],s.v[s._length-1][1],"o",s._length-1)),I>r.e)break;c<v-1&&(s=de.newElement(),z=!0,P.push(s),B=0)}return P};function Cs(){}$([We],Cs),Cs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=it.getProp(e,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Cs.prototype.processPath=function(e,r){var s=r/100,n=[0,0],d=e._length,c=0;for(c=0;c<d;c+=1)n[0]+=e.v[c][0],n[1]+=e.v[c][1];n[0]/=d,n[1]/=d;var v=de.newElement();v.c=e.c;var x,g,I,L,B,E;for(c=0;c<d;c+=1)x=e.v[c][0]+(n[0]-e.v[c][0])*s,g=e.v[c][1]+(n[1]-e.v[c][1])*s,I=e.o[c][0]+(n[0]-e.o[c][0])*-s,L=e.o[c][1]+(n[1]-e.o[c][1])*-s,B=e.i[c][0]+(n[0]-e.i[c][0])*-s,E=e.i[c][1]+(n[1]-e.i[c][1])*-s,v.setTripleAt(x,g,I,L,B,E,c);return v},Cs.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.amount.v;if(v!==0){var x,g;for(s=0;s<n;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,d=0;d<c;d+=1)g.addShape(this.processPath(r[d],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Ul=function(){var e=[0,0];function r(g){var I=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||I,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 I;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var L,B;if(I=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(L=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/I,0),B=this.p.getValueAtTime(this.p.keyframes[0].t/I,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(L=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/I,0),B=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/I,0)):(L=this.p.pv,B=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/I,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){L=[],B=[];var E=this.px,R=this.py;E._caching.lastFrame+E.offsetTime<=E.keyframes[0].t?(L[0]=E.getValueAtTime((E.keyframes[0].t+.01)/I,0),L[1]=R.getValueAtTime((R.keyframes[0].t+.01)/I,0),B[0]=E.getValueAtTime(E.keyframes[0].t/I,0),B[1]=R.getValueAtTime(R.keyframes[0].t/I,0)):E._caching.lastFrame+E.offsetTime>=E.keyframes[E.keyframes.length-1].t?(L[0]=E.getValueAtTime(E.keyframes[E.keyframes.length-1].t/I,0),L[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/I,0),B[0]=E.getValueAtTime((E.keyframes[E.keyframes.length-1].t-.01)/I,0),B[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/I,0)):(L=[E.pv,R.pv],B[0]=E.getValueAtTime((E._caching.lastFrame+E.offsetTime-.01)/I,E.offsetTime),B[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/I,R.offsetTime))}else B=e,L=B;this.v.rotate(-Math.atan2(L[1]-B[1],L[0]-B[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 n(){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 d(){}function c(g){this._addDynamicProperty(g),this.elem.addDynamicProperty(g),this._isDirty=!0}function v(g,I,L){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=I,this.v=new he,this.pre=new he,this.appliedTransformations=0,this.initDynamicPropertyContainer(L||g),I.p&&I.p.s?(this.px=it.getProp(g,I.p.x,0,0,this),this.py=it.getProp(g,I.p.y,0,0,this),I.p.z&&(this.pz=it.getProp(g,I.p.z,0,0,this))):this.p=it.getProp(g,I.p||{k:[0,0,0]},1,0,this),I.rx){if(this.rx=it.getProp(g,I.rx,0,It,this),this.ry=it.getProp(g,I.ry,0,It,this),this.rz=it.getProp(g,I.rz,0,It,this),I.or.k[0].ti){var B,E=I.or.k.length;for(B=0;B<E;B+=1)I.or.k[B].to=null,I.or.k[B].ti=null}this.or=it.getProp(g,I.or,1,It,this),this.or.sh=!0}else this.r=it.getProp(g,I.r||{k:0},0,It,this);I.sk&&(this.sk=it.getProp(g,I.sk,0,It,this),this.sa=it.getProp(g,I.sa,0,It,this)),this.a=it.getProp(g,I.a||{k:[0,0,0]},1,0,this),this.s=it.getProp(g,I.s||{k:[100,100,100]},1,.01,this),I.o?this.o=it.getProp(g,I.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:n,autoOrient:d},$([se],v),v.prototype.addDynamicProperty=c,v.prototype._addDynamicProperty=se.prototype.addDynamicProperty;function x(g,I,L){return new v(g,I,L)}return{getTransformProperty:x}}();function Tr(){}$([We],Tr),Tr.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.c=it.getProp(e,r.c,0,null,this),this.o=it.getProp(e,r.o,0,null,this),this.tr=Ul.getTransformProperty(e,r.tr,this),this.so=it.getProp(e,r.tr.so,0,.01,this),this.eo=it.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 he,this.rMatrix=new he,this.sMatrix=new he,this.tMatrix=new he,this.matrix=new he},Tr.prototype.applyTransforms=function(e,r,s,n,d,c){var v=c?-1:1,x=n.s.v[0]+(1-n.s.v[0])*(1-d),g=n.s.v[1]+(1-n.s.v[1])*(1-d);e.translate(n.p.v[0]*v*d,n.p.v[1]*v*d,n.p.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.rotate(-n.r.v*v*d),r.translate(n.a.v[0],n.a.v[1],n.a.v[2]),s.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),s.scale(c?1/x:x,c?1/g:g),s.translate(n.a.v[0],n.a.v[1],n.a.v[2])},Tr.prototype.init=function(e,r,s,n){for(this.elem=e,this.arr=r,this.pos=s,this.elemsData=n,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)},Tr.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)},Tr.prototype.cloneElements=function(e){var r=JSON.parse(JSON.stringify(e));return this.resetElements(r),r},Tr.prototype.changeGroupRender=function(e,r){var s,n=e.length;for(s=0;s<n;s+=1)e[s]._render=r,e[s].ty==="gr"&&this.changeGroupRender(e[s].it,r)},Tr.prototype.processShapes=function(e){var r,s,n,d,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 I;for(n=0;n<=this._groups.length-1;n+=1){if(I=c<x,this._groups[n]._render=I,this.changeGroupRender(this._groups[n].it,I),!I){var L=this.elemsData[n].it,B=L[L.length-1];B.transform.op.v!==0?(B.transform.op._mdf=!0,B.transform.op.v=0):B.transform.op._mdf=!1}c+=1}this._currentCopies=x;var E=this.o.v,R=E%1,P=E>0?Math.floor(E):Math.ceil(E),M=this.pMatrix.props,z=this.rMatrix.props,w=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var _=0;if(E>0){for(;_<P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,R,!1),_+=R)}else if(E<0){for(;_>P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-R,!0),_-=R)}n=this.data.m===1?0:this._currentCopies-1,d=this.data.m===1?1:-1,c=this._currentCopies;for(var y,A;c;){if(r=this.elemsData[n].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)*(n/(this._currentCopies-1)),_!==0){for((n!==0&&d===1||n!==this._currentCopies-1&&d===-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(w[0],w[1],w[2],w[3],w[4],w[5],w[6],w[7],w[8],w[9],w[10],w[11],w[12],w[13],w[14],w[15]),this.matrix.transform(M[0],M[1],M[2],M[3],M[4],M[5],M[6],M[7],M[8],M[9],M[10],M[11],M[12],M[13],M[14],M[15]),y=0;y<A;y+=1)s[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<A;y+=1)s[y]=this.matrix.props[y];_+=1,c-=1,n+=d}}else for(c=this._currentCopies,n=0,d=1;c;)r=this.elemsData[n].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,n+=d;return v},Tr.prototype.addShape=function(){};function ws(){}$([We],ws),ws.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.rd=it.getProp(e,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},ws.prototype.processPath=function(e,r){var s=de.newElement();s.c=e.c;var n,d=e._length,c,v,x,g,I,L,B=0,E,R,P,M,z,w;for(n=0;n<d;n+=1)c=e.v[n],x=e.o[n],v=e.i[n],c[0]===x[0]&&c[1]===x[1]&&c[0]===v[0]&&c[1]===v[1]?(n===0||n===d-1)&&!e.c?(s.setTripleAt(c[0],c[1],x[0],x[1],v[0],v[1],B),B+=1):(n===0?g=e.v[d-1]:g=e.v[n-1],I=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=I?Math.min(I/2,r)/I:0,z=c[0]+(g[0]-c[0])*L,E=z,w=c[1]-(c[1]-g[1])*L,R=w,P=E-(E-c[0])*ce,M=R-(R-c[1])*ce,s.setTripleAt(E,R,P,M,z,w,B),B+=1,n===d-1?g=e.v[0]:g=e.v[n+1],I=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=I?Math.min(I/2,r)/I:0,P=c[0]+(g[0]-c[0])*L,E=P,M=c[1]+(g[1]-c[1])*L,R=M,z=E-(E-c[0])*ce,w=R-(R-c[1])*ce,s.setTripleAt(E,R,P,M,z,w,B),B+=1):(s.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],B),B+=1);return s},ws.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.rd.v;if(v!==0){var x,g;for(s=0;s<n;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,d=0;d<c;d+=1)g.addShape(this.processPath(r[d],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Xa(e,r){return Math.abs(e-r)*1e5<=Math.min(Math.abs(e),Math.abs(r))}function Hl(e){return Math.abs(e)<=1e-5}function Lh(e,r,s){return e*(1-s)+r*s}function di(e,r,s){return[Lh(e[0],r[0],s),Lh(e[1],r[1],s)]}function ug(e,r,s){if(e===0)return[];var n=r*r-4*e*s;if(n<0)return[];var d=-r/(2*e);if(n===0)return[d];var c=Math.sqrt(n)/(2*e);return[d-c,d+c]}function Rh(e,r,s,n){return[-e+3*r-3*s+n,3*e-6*r+3*s,-3*e+3*r,e]}function Mh(e){return new Ut(e,e,e,e,!1)}function Ut(e,r,s,n,d){d&&Ro(e,r)&&(r=di(e,n,1/3)),d&&Ro(s,n)&&(s=di(e,n,2/3));var c=Rh(e[0],r[0],s[0],n[0]),v=Rh(e[1],r[1],s[1],n[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,n]}Ut.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]]},Ut.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]]},Ut.prototype.tangentAngle=function(e){var r=this.derivative(e);return Math.atan2(r[1],r[0])},Ut.prototype.normalAngle=function(e){var r=this.derivative(e);return Math.atan2(r[0],r[1])},Ut.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Hl(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 n=Math.sqrt(s);return Hl(n)?n>0&&n<1?[r]:[]:[r-n,r+n].filter(function(d){return d>0&&d<1})},Ut.prototype.split=function(e){if(e<=0)return[Mh(this.points[0]),this];if(e>=1)return[this,Mh(this.points[this.points.length-1])];var r=di(this.points[0],this.points[1],e),s=di(this.points[1],this.points[2],e),n=di(this.points[2],this.points[3],e),d=di(r,s,e),c=di(s,n,e),v=di(d,c,e);return[new Ut(this.points[0],r,d,v,!0),new Ut(v,c,n,this.points[3],!0)]};function Oh(e,r){var s=e.points[0][r],n=e.points[e.points.length-1][r];if(s>n){var d=n;n=s,s=d}for(var c=ug(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>n&&(n=x)}return{min:s,max:n}}Ut.prototype.bounds=function(){return{x:Oh(this,0),y:Oh(this,1)}},Ut.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 Qa(e,r,s){var n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.height,bez:e,t:(r+s)/2,t1:r,t2:s}}function Ph(e){var r=e.bez.split(.5);return[Qa(r[0],e.t1,e.t),Qa(r[1],e.t,e.t2)]}function fg(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 Ns(e,r,s,n,d,c){if(fg(e,r)){if(s>=c||e.width<=n&&e.height<=n&&r.width<=n&&r.height<=n){d.push([e.t,r.t]);return}var v=Ph(e),x=Ph(r);Ns(v[0],x[0],s+1,n,d,c),Ns(v[0],x[1],s+1,n,d,c),Ns(v[1],x[0],s+1,n,d,c),Ns(v[1],x[1],s+1,n,d,c)}}Ut.prototype.intersections=function(e,r,s){r===void 0&&(r=2),s===void 0&&(s=7);var n=[];return Ns(Qa(this,0,1),Qa(e,0,1),0,r,n,s),n},Ut.shapeSegment=function(e,r){var s=(r+1)%e.length();return new Ut(e.v[r],e.o[r],e.i[s],e.v[s],!0)},Ut.shapeSegmentInverted=function(e,r){var s=(r+1)%e.length();return new Ut(e.v[s],e.i[s],e.o[r],e.v[r],!0)};function Gl(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 Ja(e,r,s,n){var d=[e[0],e[1],1],c=[r[0],r[1],1],v=[s[0],s[1],1],x=[n[0],n[1],1],g=Gl(Gl(d,c),Gl(v,x));return Hl(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function Lo(e,r,s){return[e[0]+Math.cos(r)*s,e[1]-Math.sin(r)*s]}function Yl(e,r){return Math.hypot(e[0]-r[0],e[1]-r[1])}function Ro(e,r){return Xa(e[0],r[0])&&Xa(e[1],r[1])}function Ls(){}$([We],Ls),Ls.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amplitude=it.getProp(e,r.s,0,null,this),this.frequency=it.getProp(e,r.r,0,null,this),this.pointsType=it.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 Dh(e,r,s,n,d,c,v){var x=s-Math.PI/2,g=s+Math.PI/2,I=r[0]+Math.cos(s)*n*d,L=r[1]-Math.sin(s)*n*d;e.setTripleAt(I,L,I+Math.cos(x)*c,L-Math.sin(x)*c,I+Math.cos(g)*v,L-Math.sin(g)*v,e.length())}function vg(e,r){var s=[r[0]-e[0],r[1]-e[1]],n=-Math.PI*.5,d=[Math.cos(n)*s[0]-Math.sin(n)*s[1],Math.sin(n)*s[0]+Math.cos(n)*s[1]];return d}function gg(e,r){var s=r===0?e.length()-1:r-1,n=(r+1)%e.length(),d=e.v[s],c=e.v[n],v=vg(d,c);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function Fh(e,r,s,n,d,c,v){var x=gg(r,s),g=r.v[s%r._length],I=r.v[s===0?r._length-1:s-1],L=r.v[(s+1)%r._length],B=c===2?Math.sqrt(Math.pow(g[0]-I[0],2)+Math.pow(g[1]-I[1],2)):0,E=c===2?Math.sqrt(Math.pow(g[0]-L[0],2)+Math.pow(g[1]-L[1],2)):0;Dh(e,r.v[s%r._length],x,v,n,E/((d+1)*2),B/((d+1)*2),c)}function bg(e,r,s,n,d,c){for(var v=0;v<n;v+=1){var x=(v+1)/(n+1),g=d===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,I=r.normalAngle(x),L=r.point(x);Dh(e,L,I,c,s,g/((n+1)*2),g/((n+1)*2),d),c=-c}return c}Ls.prototype.processPath=function(e,r,s,n){var d=e._length,c=de.newElement();if(c.c=e.c,e.c||(d-=1),d===0)return c;var v=-1,x=Ut.shapeSegment(e,0);Fh(c,e,0,r,s,n,v);for(var g=0;g<d;g+=1)v=bg(c,x,r,s,n,-v),g===d-1&&!e.c?x=null:x=Ut.shapeSegment(e,(g+1)%d),Fh(c,e,g+1,r,s,n,v);return c},Ls.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.amplitude.v,x=Math.max(0,Math.round(this.frequency.v)),g=this.pointsType.v;if(v!==0){var I,L;for(s=0;s<n;s+=1){if(I=this.shapes[s],L=I.localShapeCollection,!(!I.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),I.shape._mdf=!0,r=I.shape.paths.shapes,c=I.shape.paths._length,d=0;d<c;d+=1)L.addShape(this.processPath(r[d],v,x,g));I.shape.paths=I.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Wl(e,r,s){var n=Math.atan2(r[0]-e[0],r[1]-e[1]);return[Lo(e,n,s),Lo(r,n,s)]}function Mo(e,r){var s,n,d,c,v,x,g;g=Wl(e.points[0],e.points[1],r),s=g[0],n=g[1],g=Wl(e.points[1],e.points[2],r),d=g[0],c=g[1],g=Wl(e.points[2],e.points[3],r),v=g[0],x=g[1];var I=Ja(s,n,d,c);I===null&&(I=n);var L=Ja(v,x,d,c);return L===null&&(L=v),new Ut(s,I,L,x)}function $h(e,r,s,n,d){var c=r.points[3],v=s.points[0];if(n===3||Ro(c,v))return c;if(n===2){var x=-r.tangentAngle(1),g=-s.tangentAngle(0)+Math.PI,I=Ja(c,Lo(c,x+Math.PI/2,100),v,Lo(v,x+Math.PI/2,100)),L=I?Yl(I,c):Yl(c,v)/2,B=Lo(c,x,2*L*ce);return e.setXYAt(B[0],B[1],"o",e.length()-1),B=Lo(v,g,2*L*ce),e.setTripleAt(v[0],v[1],v[0],v[1],B[0],B[1],e.length()),v}var E=Ro(c,r.points[2])?r.points[0]:r.points[2],R=Ro(v,s.points[1])?s.points[3]:s.points[1],P=Ja(E,c,v,R);return P&&Yl(P,c)<d?(e.setTripleAt(P[0],P[1],P[0],P[1],P[0],P[1],e.length()),P):c}function zh(e,r){var s=e.intersections(r);return s.length&&Xa(s[0][0],1)&&s.shift(),s.length?s[0]:null}function Vh(e,r){var s=e.slice(),n=r.slice(),d=zh(e[e.length-1],r[0]);return d&&(s[e.length-1]=e[e.length-1].split(d[0])[0],n[0]=r[0].split(d[1])[1]),e.length>1&&r.length>1&&(d=zh(e[0],r[r.length-1]),d)?[[e[0].split(d[0])[0]],[r[r.length-1].split(d[1])[1]]]:[s,n]}function yg(e){for(var r,s=1;s<e.length;s+=1)r=Vh(e[s-1],e[s]),e[s-1]=r[0],e[s]=r[1];return e.length>1&&(r=Vh(e[e.length-1],e[0]),e[e.length-1]=r[0],e[0]=r[1]),e}function Bh(e,r){var s=e.inflectionPoints(),n,d,c,v;if(s.length===0)return[Mo(e,r)];if(s.length===1||Xa(s[1],1))return c=e.split(s[0]),n=c[0],d=c[1],[Mo(n,r),Mo(d,r)];c=e.split(s[0]),n=c[0];var x=(s[1]-s[0])/(1-s[0]);return c=c[1].split(x),v=c[0],d=c[1],[Mo(n,r),Mo(v,r),Mo(d,r)]}function Rs(){}$([We],Rs),Rs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=it.getProp(e,r.a,0,null,this),this.miterLimit=it.getProp(e,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Rs.prototype.processPath=function(e,r,s,n){var d=de.newElement();d.c=e.c;var c=e.length();e.c||(c-=1);var v,x,g,I=[];for(v=0;v<c;v+=1)g=Ut.shapeSegment(e,v),I.push(Bh(g,r));if(!e.c)for(v=c-1;v>=0;v-=1)g=Ut.shapeSegmentInverted(e,v),I.push(Bh(g,r));I=yg(I);var L=null,B=null;for(v=0;v<I.length;v+=1){var E=I[v];for(B&&(L=$h(d,B,E[0],s,n)),B=E[E.length-1],x=0;x<E.length;x+=1)g=E[x],L&&Ro(g.points[0],L)?d.setXYAt(g.points[1][0],g.points[1][1],"o",d.length()-1):d.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],d.length()),d.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],d.length()),L=g.points[3]}return I.length&&$h(d,B,I[0][0],s,n),d},Rs.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.amount.v,x=this.miterLimit.v,g=this.lineJoin;if(v!==0){var I,L;for(s=0;s<n;s+=1){if(I=this.shapes[s],L=I.localShapeCollection,!(!I.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),I.shape._mdf=!0,r=I.shape.paths.shapes,c=I.shape.paths._length,d=0;d<c;d+=1)L.addShape(this.processPath(r[d],v,g,x));I.shape.paths=I.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Uh(e){for(var r=e.fStyle?e.fStyle.split(" "):[],s="normal",n="normal",d=r.length,c,v=0;v<d;v+=1)switch(c=r[v].toLowerCase(),c){case"italic":n="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:n,weight:e.fWeight||s}}var $i=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 n=127988,d=917631,c=917601,v=917626,x=65039,g=8205,I=127462,L=127487,B=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function E(S){var O=S.split(","),u,b=O.length,U=[];for(u=0;u<b;u+=1)O[u]!=="sans-serif"&&O[u]!=="monospace"&&U.push(O[u]);return U.join(",")}function R(S,O){var u=N("span");u.setAttribute("aria-hidden",!0),u.style.fontFamily=O;var b=N("span");b.innerText="giItT1WQy@!-/#",u.style.position="absolute",u.style.left="-10000px",u.style.top="-10000px",u.style.fontSize="300px",u.style.fontVariant="normal",u.style.fontStyle="normal",u.style.fontWeight="normal",u.style.letterSpacing="0",u.appendChild(b),document.body.appendChild(u);var U=b.offsetWidth;return b.style.fontFamily=E(S)+", "+O,{node:b,w:U,parent:u}}function P(){var S,O=this.fonts.length,u,b,U=O;for(S=0;S<O;S+=1)this.fonts[S].loaded?U-=1:this.fonts[S].fOrigin==="n"||this.fonts[S].origin===0?this.fonts[S].loaded=!0:(u=this.fonts[S].monoCase.node,b=this.fonts[S].monoCase.w,u.offsetWidth!==b?(U-=1,this.fonts[S].loaded=!0):(u=this.fonts[S].sansCase.node,b=this.fonts[S].sansCase.w,u.offsetWidth!==b&&(U-=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)));U!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function M(S,O){var u=document.body&&O?"svg":"canvas",b,U=Uh(S);if(u==="svg"){var F=bt("text");F.style.fontSize="100px",F.setAttribute("font-family",S.fFamily),F.setAttribute("font-style",U.style),F.setAttribute("font-weight",U.weight),F.textContent="1",S.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",S.fClass)):F.style.fontFamily=S.fFamily,O.appendChild(F),b=F}else{var at=new OffscreenCanvas(500,500).getContext("2d");at.font=U.style+" "+U.weight+" 100px "+S.fFamily,b=at}function mt(vt){return u==="svg"?(b.textContent=vt,b.getComputedTextLength()):b.measureText(vt).width}return{measureText:mt}}function z(S,O){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(we){we.helper=M(we),we.cache={}}),this.fonts=S.list;return}var u=S.list,b,U=u.length,F=U;for(b=0;b<U;b+=1){var at=!0,mt,vt;if(u[b].loaded=!1,u[b].monoCase=R(u[b].fFamily,"monospace"),u[b].sansCase=R(u[b].fFamily,"sans-serif"),!u[b].fPath)u[b].loaded=!0,F-=1;else if(u[b].fOrigin==="p"||u[b].origin===3){if(mt=document.querySelectorAll('style[f-forigin="p"][f-family="'+u[b].fFamily+'"], style[f-origin="3"][f-family="'+u[b].fFamily+'"]'),mt.length>0&&(at=!1),at){var wt=N("style");wt.setAttribute("f-forigin",u[b].fOrigin),wt.setAttribute("f-origin",u[b].origin),wt.setAttribute("f-family",u[b].fFamily),wt.type="text/css",wt.innerText="@font-face {font-family: "+u[b].fFamily+"; font-style: normal; src: url('"+u[b].fPath+"');}",O.appendChild(wt)}}else if(u[b].fOrigin==="g"||u[b].origin===1){for(mt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),vt=0;vt<mt.length;vt+=1)mt[vt].href.indexOf(u[b].fPath)!==-1&&(at=!1);if(at){var Nt=N("link");Nt.setAttribute("f-forigin",u[b].fOrigin),Nt.setAttribute("f-origin",u[b].origin),Nt.type="text/css",Nt.rel="stylesheet",Nt.href=u[b].fPath,document.body.appendChild(Nt)}}else if(u[b].fOrigin==="t"||u[b].origin===2){for(mt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),vt=0;vt<mt.length;vt+=1)u[b].fPath===mt[vt].src&&(at=!1);if(at){var Zt=N("link");Zt.setAttribute("f-forigin",u[b].fOrigin),Zt.setAttribute("f-origin",u[b].origin),Zt.setAttribute("rel","stylesheet"),Zt.setAttribute("href",u[b].fPath),O.appendChild(Zt)}}u[b].helper=M(u[b],O),u[b].cache={},this.fonts.push(u[b])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function w(S){if(S){this.chars||(this.chars=[]);var O,u=S.length,b,U=this.chars.length,F;for(O=0;O<u;O+=1){for(b=0,F=!1;b<U;)this.chars[b].style===S[O].style&&this.chars[b].fFamily===S[O].fFamily&&this.chars[b].ch===S[O].ch&&(F=!0),b+=1;F||(this.chars.push(S[O]),U+=1)}}}function _(S,O,u){for(var b=0,U=this.chars.length;b<U;){if(this.chars[b].ch===S&&this.chars[b].style===O&&this.chars[b].fFamily===u)return this.chars[b];b+=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,O,u)),r}function y(S,O,u){var b=this.getFontByName(O),U=S;if(!b.cache[U]){var F=b.helper;if(S===" "){var at=F.measureText("|"+S+"|"),mt=F.measureText("||");b.cache[U]=(at-mt)/100}else b.cache[U]=F.measureText(S)/100}return b.cache[U]*u}function A(S){for(var O=0,u=this.fonts.length;O<u;){if(this.fonts[O].fName===S)return this.fonts[O];O+=1}return this.fonts[0]}function C(S){var O=0,u=S.charCodeAt(0);if(u>=55296&&u<=56319){var b=S.charCodeAt(1);b>=56320&&b<=57343&&(O=(u-55296)*1024+b-56320+65536)}return O}function D(S,O){var u=S.toString(16)+O.toString(16);return B.indexOf(u)!==-1}function V(S){return S===g}function H(S){return S===x}function X(S){var O=C(S);return O>=I&&O<=L}function ft(S){return X(S.substr(0,2))&&X(S.substr(2,2))}function ht(S){return s.indexOf(S)!==-1}function et(S,O){var u=C(S.substr(O,2));if(u!==n)return!1;var b=0;for(O+=2;b<5;){if(u=C(S.substr(O,2)),u<c||u>v)return!1;b+=1,O+=2}return C(S.substr(O,2))===d}function yt(){this.isLoaded=!0}var lt=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)};lt.isModifier=D,lt.isZeroWidthJoiner=V,lt.isFlagEmoji=ft,lt.isRegionalCode=X,lt.isCombinedCharacter=ht,lt.isRegionalFlag=et,lt.isVariationSelector=H,lt.BLACK_FLAG_CODE_POINT=n;var Z={addChars:w,addFonts:z,getCharData:_,getFontByName:A,measureText:y,checkLoadedFonts:P,setIsLoaded:yt};return lt.prototype=Z,lt}();function Hh(e){this.animationData=e}Hh.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function Eg(e){return new Hh(e)}function tn(){}tn.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 jl=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 Tg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function xg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Ag(e,r,s){this.p=it.getProp(r,e.v,1,0,s)}function Sg(e,r,s){this.p=it.getProp(r,e.v,1,0,s)}function _g(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Ig(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function kg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Cg(){this.p={}}function Gh(e,r){var s=e.ef||[];this.effectElements=[];var n,d=s.length,c;for(n=0;n<d;n+=1)c=new Ms(s[n],r),this.effectElements.push(c)}function Ms(e,r){this.init(e,r)}$([se],Ms),Ms.prototype.getValue=Ms.prototype.iterateDynamicProperties,Ms.prototype.init=function(e,r){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(r);var s,n=this.data.ef.length,d,c=this.data.ef;for(s=0;s<n;s+=1){switch(d=null,c[s].ty){case 0:d=new Tg(c[s],r,this);break;case 1:d=new xg(c[s],r,this);break;case 2:d=new Ag(c[s],r,this);break;case 3:d=new Sg(c[s],r,this);break;case 4:case 7:d=new kg(c[s],r,this);break;case 10:d=new _g(c[s],r,this);break;case 11:d=new Ig(c[s],r,this);break;case 5:d=new Gh(c[s],r,this);break;default:d=new Cg(c[s],r,this);break}d&&this.effectElements.push(d)}};function hi(){}hi.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=vh();if(r){var s=r("layer"),n=r("effects"),d=r("shape"),c=r("text"),v=r("comp");this.layerInterface=s(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var x=n.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=d(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=jl(this.data.bm),s=this.baseElement||this.layerElement;s.style["mix-blend-mode"]=r},initBaseData:function(r,s,n){this.globalData=s,this.comp=n,this.data=r,this.layerId=ke(),this.data.sr||(this.data.sr=1),this.effectsManager=new Gh(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function pi(){}pi.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,s){var n,d=this.dynamicProperties.length;for(n=0;n<d;n+=1)(s||this._isParent&&this.dynamicProperties[n].propType==="transform")&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function mi(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)}mi.prototype.prepareFrame=function(){},$([tn,hi,pi],mi),mi.prototype.getBaseElement=function(){return null},mi.prototype.renderFrame=function(){},mi.prototype.destroy=function(){},mi.prototype.initExpressions=function(){var e=vh();if(e){var r=e("footage");this.layerInterface=r(this)}},mi.prototype.getFootageData=function(){return this.footageData};function Ce(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 n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?it.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=it.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}Ce.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))},$([tn,hi,pi],Ce),Ce.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))},Ce.prototype.show=function(){},Ce.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Ce.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Ce.prototype.resume=function(){this._canPlay=!0},Ce.prototype.setRate=function(e){this.audio.rate(e)},Ce.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},Ce.prototype.getBaseElement=function(){return null},Ce.prototype.destroy=function(){},Ce.prototype.sourceRectAtTime=function(){},Ce.prototype.initExpressions=function(){};function pe(){}pe.prototype.checkLayers=function(e){var r,s=this.layers.length,n;for(this.completeLayers=!0,r=s-1;r>=0;r-=1)this.elements[r]||(n=this.layers[r],n.ip-n.st<=e-this.layers[r].st&&n.op-n.st>e-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},pe.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)}},pe.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},pe.prototype.createAudio=function(e){return new Ce(e,this.globalData,this)},pe.prototype.createFootage=function(e){return new mi(e,this.globalData,this)},pe.prototype.buildAllItems=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.buildItem(e);this.checkPendingElements()},pe.prototype.includeLayers=function(e){this.completeLayers=!1;var r,s=e.length,n,d=this.layers.length;for(r=0;r<s;r+=1)for(n=0;n<d;){if(this.layers[n].id===e[r].id){this.layers[n]=e[r];break}n+=1}},pe.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},pe.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},pe.prototype.buildElementParenting=function(e,r,s){for(var n=this.elements,d=this.layers,c=0,v=d.length;c<v;)d[c].ind==r&&(!n[c]||n[c]===!0?(this.buildItem(c),this.addPendingElement(e)):(s.push(n[c]),n[c].setAsParent(),d[c].parent!==void 0?this.buildElementParenting(e,d[c].parent,s):e.setHierarchy(s))),c+=1},pe.prototype.addPendingElement=function(e){this.pendingElements.push(e)},pe.prototype.searchExtraCompositions=function(e){var r,s=e.length;for(r=0;r<s;r+=1)if(e[r].xt){var n=this.createComp(e[r]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},pe.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},pe.prototype.getElementByPath=function(e){var r=e.shift(),s;if(typeof r=="number")s=this.elements[r];else{var n,d=this.elements.length;for(n=0;n<d;n+=1)if(this.elements[n].data.nm===r){s=this.elements[n];break}}return e.length===0?s:s.getElementByPath(e)},pe.prototype.setupGlobalData=function(e,r){this.globalData.fontManager=new $i,this.globalData.slotManager=Eg(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 wg={TRANSFORM_EFFECT:"transformEFfect"};function Oo(){}Oo.prototype={initTransform:function(){var r=new he;this.finalTransform={mProp:this.data.ks?Ul.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,n=0,d=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<d;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,s.cloneFromProps(r),n=0;n<d;n+=1)s.multiply(this.hierarchy[n].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 n=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(n),r=1;r<s;r+=1){var d=this.localTransforms[r].matrix;n.multiply(d)}n.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(wg.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new he;var s=0,n=r.length;for(s=0;s<n;s+=1)this.localTransforms.push(r[s])}}},globalToLocal:function(r){var s=[];s.push(this.finalTransform);for(var n=!0,d=this.comp;n;)d.finalTransform?(d.data.hasMask&&s.splice(0,0,d.finalTransform),d=d.comp):n=!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 he};function zi(e,r,s){this.data=e,this.element=r,this.globalData=s,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n=this.globalData.defs,d,c=this.masksProperties?this.masksProperties.length:0;this.viewData=rt(c),this.solidPath="";var v,x=this.masksProperties,g=0,I=[],L,B,E=ke(),R,P,M,z,w="clipPath",_="clip-path";for(d=0;d<c;d+=1)if((x[d].mode!=="a"&&x[d].mode!=="n"||x[d].inv||x[d].o.k!==100||x[d].o.x)&&(w="mask",_="mask"),(x[d].mode==="s"||x[d].mode==="i")&&g===0?(R=bt("rect"),R.setAttribute("fill","#ffffff"),R.setAttribute("width",this.element.comp.data.w||0),R.setAttribute("height",this.element.comp.data.h||0),I.push(R)):R=null,v=bt("path"),x[d].mode==="n")this.viewData[d]={op:it.getProp(this.element,x[d].o,0,.01,this.element),prop:qa.getShapeProp(this.element,x[d],3),elem:v,lastPath:""},n.appendChild(v);else{g+=1,v.setAttribute("fill",x[d].mode==="s"?"#000000":"#ffffff"),v.setAttribute("clip-rule","nonzero");var y;if(x[d].x.k!==0?(w="mask",_="mask",z=it.getProp(this.element,x[d].x,0,null,this.element),y=ke(),P=bt("filter"),P.setAttribute("id",y),M=bt("feMorphology"),M.setAttribute("operator","erode"),M.setAttribute("in","SourceGraphic"),M.setAttribute("radius","0"),P.appendChild(M),n.appendChild(P),v.setAttribute("stroke",x[d].mode==="s"?"#000000":"#ffffff")):(M=null,z=null),this.storedData[d]={elem:v,x:z,expan:M,lastPath:"",lastOperator:"",filterId:y,lastRadius:0},x[d].mode==="i"){B=I.length;var A=bt("g");for(L=0;L<B;L+=1)A.appendChild(I[L]);var C=bt("mask");C.setAttribute("mask-type","alpha"),C.setAttribute("id",E+"_"+g),C.appendChild(v),n.appendChild(C),A.setAttribute("mask","url("+T()+"#"+E+"_"+g+")"),I.length=0,I.push(A)}else I.push(v);x[d].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[d]={elem:v,lastPath:"",op:it.getProp(this.element,x[d].o,0,.01,this.element),prop:qa.getShapeProp(this.element,x[d],3),invRect:R},this.viewData[d].prop.k||this.drawPath(x[d],this.viewData[d].prop.v,this.viewData[d])}for(this.maskElement=bt(w),c=I.length,d=0;d<c;d+=1)this.maskElement.appendChild(I[d]);g>0&&(this.maskElement.setAttribute("id",E),this.element.maskedElement.setAttribute(_,"url("+T()+"#"+E+")"),n.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}zi.prototype.getMaskProperty=function(e){return this.viewData[e].prop},zi.prototype.renderFrame=function(e){var r=this.element.finalTransform.mat,s,n=this.masksProperties.length;for(s=0;s<n;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 d=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("+T()+"#"+this.storedData[s].filterId+")")),d.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))}},zi.prototype.getMaskelement=function(){return this.maskElement},zi.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},zi.prototype.drawPath=function(e,r,s){var n=" M"+r.v[0][0]+","+r.v[0][1],d,c;for(c=r._length,d=1;d<c;d+=1)n+=" C"+r.o[d-1][0]+","+r.o[d-1][1]+" "+r.i[d][0]+","+r.i[d][1]+" "+r.v[d][0]+","+r.v[d][1];if(r.c&&c>1&&(n+=" C"+r.o[d-1][0]+","+r.o[d-1][1]+" "+r.i[0][0]+","+r.i[0][1]+" "+r.v[0][0]+","+r.v[0][1]),s.lastPath!==n){var v="";s.elem&&(r.c&&(v=e.inv?this.solidPath+n:n),s.elem.setAttribute("d",v)),s.lastPath=n}},zi.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var Os=function(){var e={};e.createFilter=r,e.createAlphaToLuminanceFilter=s;function r(n,d){var c=bt("filter");return c.setAttribute("id",n),d!==!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 n=bt("feColorMatrix");return n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),n}return e}(),Yh=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}(),en={},Wh="filter_result_";function ql(e){var r,s="SourceGraphic",n=e.data.ef?e.data.ef.length:0,d=ke(),c=Os.createFilter(d,!0),v=0;this.filters=[];var x;for(r=0;r<n;r+=1){x=null;var g=e.data.ef[r].ty;if(en[g]){var I=en[g].effect;x=new I(c,e.effectsManager.effectElements[r],e,Wh+v,s),s=Wh+v,en[g].countsAsEffect&&(v+=1)}x&&this.filters.push(x)}v&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+T()+"#"+d+")")),this.filters.length&&e.addRenderableComponent(this)}ql.prototype.renderFrame=function(e){var r,s=this.filters.length;for(r=0;r<s;r+=1)this.filters[r].renderFrame(e)},ql.prototype.getEffects=function(e){var r,s=this.filters.length,n=[];for(r=0;r<s;r+=1)this.filters[r].type===e&&n.push(this.filters[r]);return n};function ox(e,r,s){en[e]={effect:r,countsAsEffect:s}}function Ps(){}Ps.prototype={initRendererElement:function(){this.layerElement=bt("g")},createContainerElements:function(){this.matteElement=bt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var s=bt("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 n=bt("clipPath"),d=bt("path");d.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var c=ke();if(n.setAttribute("id",c),n.appendChild(d),this.globalData.defs.appendChild(n),this.checkMasks()){var v=bt("g");v.setAttribute("clip-path","url("+T()+"#"+c+")"),v.appendChild(this.layerElement),this.transformedElement=v,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+T()+"#"+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 zi(this.data,this,this.globalData),this.renderableEffectsManager=new ql(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var s=this.layerId+"_"+r,n,d,c,v;if(r===1||r===3){var x=bt("mask");x.setAttribute("id",s),x.setAttribute("mask-type",r===3?"luminance":"alpha"),c=bt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),x.appendChild(c),this.globalData.defs.appendChild(x),!Yh.maskType&&r===1&&(x.setAttribute("mask-type","luminance"),n=ke(),d=Os.createFilter(n),this.globalData.defs.appendChild(d),d.appendChild(Os.createAlphaToLuminanceFilter()),v=bt("g"),v.appendChild(c),x.appendChild(v),v.setAttribute("filter","url("+T()+"#"+n+")"))}else if(r===2){var g=bt("mask");g.setAttribute("id",s),g.setAttribute("mask-type","alpha");var I=bt("g");g.appendChild(I),n=ke(),d=Os.createFilter(n);var L=bt("feComponentTransfer");L.setAttribute("in","SourceGraphic"),d.appendChild(L);var B=bt("feFuncA");B.setAttribute("type","table"),B.setAttribute("tableValues","1.0 0.0"),L.appendChild(B),this.globalData.defs.appendChild(d);var E=bt("rect");E.setAttribute("width",this.comp.data.w),E.setAttribute("height",this.comp.data.h),E.setAttribute("x","0"),E.setAttribute("y","0"),E.setAttribute("fill","#ffffff"),E.setAttribute("opacity","0"),I.setAttribute("filter","url("+T()+"#"+n+")"),I.appendChild(E),c=bt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),I.appendChild(c),Yh.maskType||(g.setAttribute("mask-type","luminance"),d.appendChild(Os.createAlphaToLuminanceFilter()),v=bt("g"),I.appendChild(E),v.appendChild(this.layerElement),I.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("+T()+"#"+r+")")}};function Po(){}Po.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 Ds(){}(function(){var e={initElement:function(s,n,d){this.initFrame(),this.initBaseData(s,n,d),this.initTransform(s,n,d),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()}};$([tn,K(e)],Ds)})();function Fs(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}}$([hi,Oo,Ps,Po,pi,Ds],Fs),Fs.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=bt("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)},Fs.prototype.sourceRectAtTime=function(){return this.sourceRect};function Ng(e,r){this.elem=e,this.pos=r}function jh(){}jh.prototype={addShapeToModifiers:function(r){var s,n=this.shapeModifiers.length;for(s=0;s<n;s+=1)this.shapeModifiers[s].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var s=0,n=this.shapeModifiers.length;s<n;)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 n;for(r=s-1;r>=0&&(n=this.shapeModifiers[r].processShapes(this._isFirstFrame),!n);r-=1);}},searchProcessedElement:function(r){for(var s=this.processedElements,n=0,d=s.length;n<d;){if(s[n].elem===r)return s[n].pos;n+=1}return 0},addProcessedElement:function(r,s){for(var n=this.processedElements,d=n.length;d;)if(d-=1,n[d].elem===r){n[d].pos=s;return}n.push(new Ng(r,s))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var qh={1:"butt",2:"round",3:"square"},Kh={1:"miter",2:"round",3:"bevel"};function Zh(e,r,s){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=s,this.lvl=r,this._isAnimated=!!s.k;for(var n=0,d=e.length;n<d;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}Zh.prototype.setAsAnimated=function(){this._isAnimated=!0};function Xh(e,r){this.data=e,this.type=e.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=e.hd===!0,this.pElem=bt("path"),this.msElem=null}Xh.prototype.reset=function(){this.d="",this._mdf=!1};function rn(e,r,s,n){this.elem=e,this.frameId=-1,this.dataProps=rt(r.length),this.renderer=s,this.k=!1,this.dashStr="",this.dashArray=Q("float32",r.length?r.length-1:0),this.dashoffset=Q("float32",1),this.initDynamicPropertyContainer(n);var d,c=r.length||0,v;for(d=0;d<c;d+=1)v=it.getProp(e,r[d].v,0,0,this),this.k=v.k||this.k,this.dataProps[d]={n:r[d].n,p:v};this.k||this.getValue(!0),this._isAnimated=this.k}rn.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var 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}},$([se],rn);function Qh(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=it.getProp(e,r.o,0,.01,this),this.w=it.getProp(e,r.w,0,null,this),this.d=new rn(e,r.d||{},"svg",this),this.c=it.getProp(e,r.c,1,255,this),this.style=s,this._isAnimated=!!this._isAnimated}$([se],Qh);function Jh(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=it.getProp(e,r.o,0,.01,this),this.c=it.getProp(e,r.c,1,255,this),this.style=s}$([se],Jh);function tp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=s}$([se],tp);function $s(e,r,s){this.data=r,this.c=Q("uint8c",r.p*4);var n=r.k.k[0].s?r.k.k[0].s.length-r.p*4:r.k.k.length-r.p*4;this.o=Q("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(s),this.prop=it.getProp(e,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}$s.prototype.comparePoints=function(e,r){for(var s=0,n=this.o.length/2,d;s<n;){if(d=Math.abs(e[s*4]-e[r*4+s*2]),d>.01)return!1;s+=1}return!0},$s.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},$s.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,n,d;for(r=0;r<s;r+=1)n=r%4===0?100:255,d=Math.round(this.prop.v[r]*n),this.c[r]!==d&&(this.c[r]=d,this._cmdf=!e);if(this.o.length)for(s=this.prop.v.length,r=this.data.p*4;r<s;r+=1)n=r%2===0?100:1,d=r%2===0?Math.round(this.prop.v[r]*100):this.prop.v[r],this.o[r-this.data.p*4]!==d&&(this.o[r-this.data.p*4]=d,this._omdf=!e);this._mdf=!e}},$([se],$s);function Do(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,r,s)}Do.prototype.initGradientData=function(e,r,s){this.o=it.getProp(e,r.o,0,.01,this),this.s=it.getProp(e,r.s,1,null,this),this.e=it.getProp(e,r.e,1,null,this),this.h=it.getProp(e,r.h||{k:0},0,.01,this),this.a=it.getProp(e,r.a||{k:0},0,It,this),this.g=new $s(e,r.g,this),this.style=s,this.stops=[],this.setGradientData(s.pElem,r),this.setGradientOpacity(r,s),this._isAnimated=!!this._isAnimated},Do.prototype.setGradientData=function(e,r){var s=ke(),n=bt(r.t===1?"linearGradient":"radialGradient");n.setAttribute("id",s),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var d=[],c,v,x;for(x=r.g.p*4,v=0;v<x;v+=4)c=bt("stop"),n.appendChild(c),d.push(c);e.setAttribute(r.ty==="gf"?"fill":"stroke","url("+T()+"#"+s+")"),this.gf=n,this.cst=d},Do.prototype.setGradientOpacity=function(e,r){if(this.g._hasOpacity&&!this.g._collapsable){var s,n,d,c=bt("mask"),v=bt("path");c.appendChild(v);var x=ke(),g=ke();c.setAttribute("id",g);var I=bt(e.t===1?"linearGradient":"radialGradient");I.setAttribute("id",x),I.setAttribute("spreadMethod","pad"),I.setAttribute("gradientUnits","userSpaceOnUse"),d=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var L=this.stops;for(n=e.g.p*4;n<d;n+=2)s=bt("stop"),s.setAttribute("stop-color","rgb(255,255,255)"),I.appendChild(s),L.push(s);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+T()+"#"+x+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",qh[e.lc||2]),v.setAttribute("stroke-linejoin",Kh[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=I,this.ms=c,this.ost=L,this.maskId=g,r.msElem=v}},$([se],Do);function ep(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=it.getProp(e,r.w,0,null,this),this.d=new rn(e,r.d||{},"svg",this),this.initGradientData(e,r,s),this._isAnimated=!!this._isAnimated}$([Do,se],ep);function Lg(){this.it=[],this.prevViewData=[],this.gr=bt("g")}function Rg(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 rp=function(r,s,n,d){if(s===0)return"";var c=r.o,v=r.i,x=r.v,g,I=" M"+d.applyToPointStringified(x[0][0],x[0][1]);for(g=1;g<s;g+=1)I+=" C"+d.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+d.applyToPointStringified(v[g][0],v[g][1])+" "+d.applyToPointStringified(x[g][0],x[g][1]);return n&&s&&(I+=" C"+d.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+d.applyToPointStringified(v[0][0],v[0][1])+" "+d.applyToPointStringified(x[0][0],x[0][1]),I+="z"),I},Mg=function(){var e=new he,r=new he,s={createRenderFunction:n};function n(B){switch(B.ty){case"fl":return x;case"gf":return I;case"gs":return g;case"st":return L;case"sh":case"el":case"rc":case"sr":return v;case"tr":return d;case"no":return c;default:return null}}function d(B,E,R){(R||E.transform.op._mdf)&&E.transform.container.setAttribute("opacity",E.transform.op.v),(R||E.transform.mProps._mdf)&&E.transform.container.setAttribute("transform",E.transform.mProps.v.to2dCSS())}function c(){}function v(B,E,R){var P,M,z,w,_,y,A=E.styles.length,C=E.lvl,D,V,H,X;for(y=0;y<A;y+=1){if(w=E.sh._mdf||R,E.styles[y].lvl<C){for(V=r.reset(),H=C-E.styles[y].lvl,X=E.transformers.length-1;!w&&H>0;)w=E.transformers[X].mProps._mdf||w,H-=1,X-=1;if(w)for(H=C-E.styles[y].lvl,X=E.transformers.length-1;H>0;)V.multiply(E.transformers[X].mProps.v),H-=1,X-=1}else V=e;if(D=E.sh.paths,M=D._length,w){for(z="",P=0;P<M;P+=1)_=D.shapes[P],_&&_._length&&(z+=rp(_,_._length,_.c,V));E.caches[y]=z}else z=E.caches[y];E.styles[y].d+=B.hd===!0?"":z,E.styles[y]._mdf=w||E.styles[y]._mdf}}function x(B,E,R){var P=E.style;(E.c._mdf||R)&&P.pElem.setAttribute("fill","rgb("+oe(E.c.v[0])+","+oe(E.c.v[1])+","+oe(E.c.v[2])+")"),(E.o._mdf||R)&&P.pElem.setAttribute("fill-opacity",E.o.v)}function g(B,E,R){I(B,E,R),L(B,E,R)}function I(B,E,R){var P=E.gf,M=E.g._hasOpacity,z=E.s.v,w=E.e.v;if(E.o._mdf||R){var _=B.ty==="gf"?"fill-opacity":"stroke-opacity";E.style.pElem.setAttribute(_,E.o.v)}if(E.s._mdf||R){var y=B.t===1?"x1":"cx",A=y==="x1"?"y1":"cy";P.setAttribute(y,z[0]),P.setAttribute(A,z[1]),M&&!E.g._collapsable&&(E.of.setAttribute(y,z[0]),E.of.setAttribute(A,z[1]))}var C,D,V,H;if(E.g._cmdf||R){C=E.cst;var X=E.g.c;for(V=C.length,D=0;D<V;D+=1)H=C[D],H.setAttribute("offset",X[D*4]+"%"),H.setAttribute("stop-color","rgb("+X[D*4+1]+","+X[D*4+2]+","+X[D*4+3]+")")}if(M&&(E.g._omdf||R)){var ft=E.g.o;for(E.g._collapsable?C=E.cst:C=E.ost,V=C.length,D=0;D<V;D+=1)H=C[D],E.g._collapsable||H.setAttribute("offset",ft[D*2]+"%"),H.setAttribute("stop-opacity",ft[D*2+1])}if(B.t===1)(E.e._mdf||R)&&(P.setAttribute("x2",w[0]),P.setAttribute("y2",w[1]),M&&!E.g._collapsable&&(E.of.setAttribute("x2",w[0]),E.of.setAttribute("y2",w[1])));else{var ht;if((E.s._mdf||E.e._mdf||R)&&(ht=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)),P.setAttribute("r",ht),M&&!E.g._collapsable&&E.of.setAttribute("r",ht)),E.e._mdf||E.h._mdf||E.a._mdf||R){ht||(ht=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)));var et=Math.atan2(w[1]-z[1],w[0]-z[0]),yt=E.h.v;yt>=1?yt=.99:yt<=-1&&(yt=-.99);var lt=ht*yt,Z=Math.cos(et+E.a.v)*lt+z[0],S=Math.sin(et+E.a.v)*lt+z[1];P.setAttribute("fx",Z),P.setAttribute("fy",S),M&&!E.g._collapsable&&(E.of.setAttribute("fx",Z),E.of.setAttribute("fy",S))}}}function L(B,E,R){var P=E.style,M=E.d;M&&(M._mdf||R)&&M.dashStr&&(P.pElem.setAttribute("stroke-dasharray",M.dashStr),P.pElem.setAttribute("stroke-dashoffset",M.dashoffset[0])),E.c&&(E.c._mdf||R)&&P.pElem.setAttribute("stroke","rgb("+oe(E.c.v[0])+","+oe(E.c.v[1])+","+oe(E.c.v[2])+")"),(E.o._mdf||R)&&P.pElem.setAttribute("stroke-opacity",E.o.v),(E.w._mdf||R)&&(P.pElem.setAttribute("stroke-width",E.w.v),P.msElem&&P.msElem.setAttribute("stroke-width",E.w.v))}return s}();function Yt(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=[]}$([hi,Oo,Ps,jh,Po,pi,Ds],Yt),Yt.prototype.initSecondaryElement=function(){},Yt.prototype.identityMatrix=new he,Yt.prototype.buildExpressionInterface=function(){},Yt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Yt.prototype.filterUniqueShapes=function(){var e,r=this.shapes.length,s,n,d=this.stylesList.length,c,v=[],x=!1;for(n=0;n<d;n+=1){for(c=this.stylesList[n],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)}},Yt.prototype.setShapesAsAnimated=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r].setAsAnimated()},Yt.prototype.createStyleElement=function(e,r){var s,n=new Xh(e,r),d=n.pElem;if(e.ty==="st")s=new Qh(this,e,n);else if(e.ty==="fl")s=new Jh(this,e,n);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?Do:ep;s=new c(this,e,n),this.globalData.defs.appendChild(s.gf),s.maskId&&(this.globalData.defs.appendChild(s.ms),this.globalData.defs.appendChild(s.of),d.setAttribute("mask","url("+T()+"#"+s.maskId+")"))}else e.ty==="no"&&(s=new tp(this,e,n));return(e.ty==="st"||e.ty==="gs")&&(d.setAttribute("stroke-linecap",qh[e.lc||2]),d.setAttribute("stroke-linejoin",Kh[e.lj||2]),d.setAttribute("fill-opacity","0"),e.lj===1&&d.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&d.setAttribute("fill-rule","evenodd"),e.ln&&d.setAttribute("id",e.ln),e.cl&&d.setAttribute("class",e.cl),e.bm&&(d.style["mix-blend-mode"]=jl(e.bm)),this.stylesList.push(n),this.addToAnimatedContents(e,s),s},Yt.prototype.createGroupElement=function(e){var r=new Lg;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"]=jl(e.bm)),r},Yt.prototype.createTransformElement=function(e,r){var s=Ul.getTransformProperty(this,e,this),n=new Rg(s,s.o,r);return this.addToAnimatedContents(e,n),n},Yt.prototype.createShapeElement=function(e,r,s){var n=4;e.ty==="rc"?n=5:e.ty==="el"?n=6:e.ty==="sr"&&(n=7);var d=qa.getShapeProp(this,e,n,this),c=new Zh(r,s,d);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(e,c),c},Yt.prototype.addToAnimatedContents=function(e,r){for(var s=0,n=this.animatedContents.length;s<n;){if(this.animatedContents[s].element===r)return;s+=1}this.animatedContents.push({fn:Mg.createRenderFunction(e),element:r,data:e})},Yt.prototype.setElementStyles=function(e){var r=e.styles,s,n=this.stylesList.length;for(s=0;s<n;s+=1)this.stylesList[s].closed||r.push(this.stylesList[s])},Yt.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()},Yt.prototype.searchShapes=function(e,r,s,n,d,c,v){var x=[].concat(c),g,I=e.length-1,L,B,E=[],R=[],P,M,z;for(g=I;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],d),e[g]._render&&r[g].style.pElem.parentNode!==n&&n.appendChild(r[g].style.pElem),E.push(r[g].style);else if(e[g].ty==="gr"){if(!z)r[g]=this.createGroupElement(e[g]);else for(B=r[g].it.length,L=0;L<B;L+=1)r[g].prevViewData[L]=r[g].it[L];this.searchShapes(e[g].it,r[g].it,r[g].prevViewData,r[g].gr,d+1,x,v),e[g]._render&&r[g].gr.parentNode!==n&&n.appendChild(r[g].gr)}else e[g].ty==="tr"?(z||(r[g]=this.createTransformElement(e[g],n)),P=r[g].transform,x.push(P)):e[g].ty==="sh"||e[g].ty==="rc"||e[g].ty==="el"||e[g].ty==="sr"?(z||(r[g]=this.createShapeElement(e[g],x,d)),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?(M=r[g],M.closed=!1):(M=ci.getModifier(e[g].ty),M.init(this,e[g]),r[g]=M,this.shapeModifiers.push(M)),R.push(M)):e[g].ty==="rp"&&(z?(M=r[g],M.closed=!0):(M=ci.getModifier(e[g].ty),r[g]=M,M.init(this,e,g,r),this.shapeModifiers.push(M),v=!1),R.push(M));this.addProcessedElement(e[g],g+1)}for(I=E.length,g=0;g<I;g+=1)E[g].closed=!0;for(I=R.length,g=0;g<I;g+=1)R[g].closed=!0},Yt.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"))},Yt.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)},Yt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Kl(e,r,s,n,d,c){this.o=e,this.sw=r,this.sc=s,this.fc=n,this.m=d,this.p=c,this._mdf={o:!0,sw:!!r,sc:!!s,fc:!!n,m:!0,p:!0}}Kl.prototype.update=function(e,r,s,n,d,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!==n&&(this.fc=n,this._mdf.fc=!0,v=!0),this.m!==d&&(this.m=d,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 ge(e,r){this._frameId=o,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)}ge.prototype.defaultBoxWidth=[0,0],ge.prototype.copyData=function(e,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},ge.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},ge.prototype.searchProperty=function(){return this.searchKeyframes()},ge.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},ge.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},ge.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 n,d=this.effectsSequence.length,c=e||this.data.d.k[this.keysIndex].s;for(n=0;n<d;n+=1)s!==this.keysIndex?c=this.effectsSequence[n](c,c.t):c=this.effectsSequence[n](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}},ge.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,r=this.elem.comp.renderedFrame,s=0,n=e.length;s<=n-1&&!(s===n-1||e[s+1].t>r);)s+=1;return this.keysIndex!==s&&(this.keysIndex=s),this.data.d.k[this.keysIndex].s},ge.prototype.buildFinalText=function(e){for(var r=[],s=0,n=e.length,d,c,v=!1,x=!1,g="";s<n;)v=x,x=!1,d=e.charCodeAt(s),g=e.charAt(s),$i.isCombinedCharacter(d)?v=!0:d>=55296&&d<=56319?$i.isRegionalFlag(e,s)?g=e.substr(s,14):(c=e.charCodeAt(s+1),c>=56320&&c<=57343&&($i.isModifier(d,c)?(g=e.substr(s,2),v=!0):$i.isFlagEmoji(e.substr(s,4))?g=e.substr(s,4):g=e.substr(s,2))):d>56319?(c=e.charCodeAt(s+1),$i.isVariationSelector(d)&&(v=!0)):$i.isZeroWidthJoiner(d)&&(v=!0,x=!0),v?(r[r.length-1]+=g,v=!1):r.push(g),s+=g.length;return r},ge.prototype.completeTextData=function(e){e.__complete=!0;var r=this.elem.globalData.fontManager,s=this.data,n=[],d,c,v,x=0,g,I=s.m.g,L=0,B=0,E=0,R=[],P=0,M=0,z,w,_=r.getFontByName(e.f),y,A=0,C=Uh(_);e.fWeight=C.weight,e.fStyle=C.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),c=e.finalText.length,e.finalLineHeight=e.lh;var D=e.tr/1e3*e.finalSize,V;if(e.sz)for(var H=!0,X=e.sz[0],ft=e.sz[1],ht,et;H;){et=this.buildFinalText(e.t),ht=0,P=0,c=et.length,D=e.tr/1e3*e.finalSize;var yt=-1;for(d=0;d<c;d+=1)V=et[d].charCodeAt(0),v=!1,et[d]===" "?yt=d:(V===13||V===3)&&(P=0,v=!0,ht+=e.finalLineHeight||e.finalSize*1.2),r.chars?(y=r.getCharData(et[d],_.fStyle,_.fFamily),A=v?0:y.w*e.finalSize/100):A=r.measureText(et[d],e.f,e.finalSize),P+A>X&&et[d]!==" "?(yt===-1?c+=1:d=yt,ht+=e.finalLineHeight||e.finalSize*1.2,et.splice(d,yt===d?1:0,"\r"),yt=-1,P=0):(P+=A,P+=D);ht+=_.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&ft<ht?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=et,c=e.finalText.length,H=!1)}P=-D,A=0;var lt=0,Z;for(d=0;d<c;d+=1)if(v=!1,Z=e.finalText[d],V=Z.charCodeAt(0),V===13||V===3?(lt=0,R.push(P),M=P>M?P:M,P=-2*D,g="",v=!0,E+=1):g=Z,r.chars?(y=r.getCharData(Z,_.fStyle,r.getFontByName(e.f).fFamily),A=v?0:y.w*e.finalSize/100):A=r.measureText(g,e.f,e.finalSize),Z===" "?lt+=A+D:(P+=A+D+lt,lt=0),n.push({l:A,an:A,add:L,n:v,anIndexes:[],val:g,line:E,animatorJustifyOffset:0}),I==2){if(L+=A,g===""||g===" "||d===c-1){for((g===""||g===" ")&&(L-=A);B<=d;)n[B].an=L,n[B].ind=x,n[B].extra=A,B+=1;x+=1,L=0}}else if(I==3){if(L+=A,g===""||d===c-1){for(g===""&&(L-=A);B<=d;)n[B].an=L,n[B].ind=x,n[B].extra=A,B+=1;L=0,x+=1}}else n[x].ind=x,n[x].extra=0,x+=1;if(e.l=n,M=P>M?P:M,R.push(P),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=M,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=R;var S=s.a,O,u;w=S.length;var b,U,F=[];for(z=0;z<w;z+=1){for(O=S[z],O.a.sc&&(e.strokeColorAnim=!0),O.a.sw&&(e.strokeWidthAnim=!0),(O.a.fc||O.a.fh||O.a.fs||O.a.fb)&&(e.fillColorAnim=!0),U=0,b=O.s.b,d=0;d<c;d+=1)u=n[d],u.anIndexes[z]=U,(b==1&&u.val!==""||b==2&&u.val!==""&&u.val!==" "||b==3&&(u.n||u.val==" "||d==c-1)||b==4&&(u.n||d==c-1))&&(O.s.rn===1&&F.push(U),U+=1);s.a[z].s.totalChars=U;var at=-1,mt;if(O.s.rn===1)for(d=0;d<c;d+=1)u=n[d],at!=u.anIndexes[z]&&(at=u.anIndexes[z],mt=F.splice(Math.floor(Math.random()*F.length),1)[0]),u.anIndexes[z]=mt}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=_.ascent*e.finalSize/100},ge.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)},ge.prototype.recalculate=function(e){var r=this.data.d.k[e].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},ge.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},ge.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Og=function(){var e=Math.max,r=Math.min,s=Math.floor;function n(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=it.getProp(c,v.s||{k:0},0,0,this),"e"in v?this.e=it.getProp(c,v.e,0,0,this):this.e={v:100},this.o=it.getProp(c,v.o||{k:0},0,0,this),this.xe=it.getProp(c,v.xe||{k:0},0,0,this),this.ne=it.getProp(c,v.ne||{k:0},0,0,this),this.sm=it.getProp(c,v.sm||{k:100},0,0,this),this.a=it.getProp(c,v.a,0,.01,this),this.dynamicProperties.length||this.getValue()}n.prototype={getMult:function(v){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var x=0,g=0,I=1,L=1;this.ne.v>0?x=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?I=1-this.xe.v/100:L=1+this.xe.v/100;var B=ks.getBezierEasing(x,g,I,L).get,E=0,R=this.finalS,P=this.finalE,M=this.data.sh;if(M===2)P===R?E=v>=P?1:0:E=e(0,r(.5/(P-R)+(v-R)/(P-R),1)),E=B(E);else if(M===3)P===R?E=v>=P?0:1:E=1-e(0,r(.5/(P-R)+(v-R)/(P-R),1)),E=B(E);else if(M===4)P===R?E=0:(E=e(0,r(.5/(P-R)+(v-R)/(P-R),1)),E<.5?E*=2:E=1-2*(E-.5)),E=B(E);else if(M===5){if(P===R)E=0;else{var z=P-R;v=r(e(0,v+.5-R),P-R);var w=-z/2+v,_=z/2;E=Math.sqrt(1-w*w/(_*_))}E=B(E)}else M===6?(P===R?E=0:(v=r(e(0,v+.5-R),P-R),E=(1+Math.cos(Math.PI+Math.PI*2*v/(P-R)))/2),E=B(E)):(v>=s(R)&&(v-R<0?E=e(0,r(r(P,1)-(R-v),1)):E=e(0,r(P-v,1))),E=B(E));if(this.sm.v!==100){var y=this.sm.v*.01;y===0&&(y=1e-8);var A=.5-y*.5;E<A?E=0:(E=(E-A)/y,E>1&&(E=1))}return E*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,I=this.s.v/x+g,L=this.e.v/x+g;if(I>L){var B=I;I=L,L=B}this.finalS=I,this.finalE=L}},$([se],n);function d(c,v,x){return new n(c,v,x)}return{getTextSelectorProp:d}}();function Pg(e,r,s){var n={propType:!1},d=it.getProp,c=r.a;this.a={r:c.r?d(e,c.r,0,It,s):n,rx:c.rx?d(e,c.rx,0,It,s):n,ry:c.ry?d(e,c.ry,0,It,s):n,sk:c.sk?d(e,c.sk,0,It,s):n,sa:c.sa?d(e,c.sa,0,It,s):n,s:c.s?d(e,c.s,1,.01,s):n,a:c.a?d(e,c.a,1,0,s):n,o:c.o?d(e,c.o,0,.01,s):n,p:c.p?d(e,c.p,1,0,s):n,sw:c.sw?d(e,c.sw,0,0,s):n,sc:c.sc?d(e,c.sc,1,0,s):n,fc:c.fc?d(e,c.fc,1,0,s):n,fh:c.fh?d(e,c.fh,0,0,s):n,fs:c.fs?d(e,c.fs,0,.01,s):n,fb:c.fb?d(e,c.fb,0,.01,s):n,t:c.t?d(e,c.t,0,0,s):n},this.s=Og.getTextSelectorProp(e,r.s,s),this.s.t=r.s.t}function Vi(e,r,s){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=r,this._elem=s,this._animatorsData=rt(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(s)}Vi.prototype.searchProperties=function(){var e,r=this._textData.a.length,s,n=it.getProp;for(e=0;e<r;e+=1)s=this._textData.a[e],this._animatorsData[e]=new Pg(this._elem,s,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(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=n(this._elem,this._textData.m.a,1,0,this)},Vi.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,n=this._animatorsData,d=this._textData,c=this.mHelper,v=this._renderType,x=this.renderedLetters.length,g,I,L,B,E=e.l,R,P,M,z,w,_,y,A,C,D,V,H,X,ft,ht;if(this._hasMaskedPath){if(ht=this._pathData.m,!this._pathData.n||this._pathData._mdf){var et=ht.v;this._pathData.r.v&&(et=et.reverse()),R={tLength:0,segments:[]},B=et._length-1;var yt;for(H=0,L=0;L<B;L+=1)yt=Er.buildBezierData(et.v[L],et.v[L+1],[et.o[L][0]-et.v[L][0],et.o[L][1]-et.v[L][1]],[et.i[L+1][0]-et.v[L+1][0],et.i[L+1][1]-et.v[L+1][1]]),R.tLength+=yt.segmentLength,R.segments.push(yt),H+=yt.segmentLength;L=B,ht.v.c&&(yt=Er.buildBezierData(et.v[L],et.v[0],[et.o[L][0]-et.v[L][0],et.o[L][1]-et.v[L][1]],[et.i[0][0]-et.v[0][0],et.i[0][1]-et.v[0][1]]),R.tLength+=yt.segmentLength,R.segments.push(yt),H+=yt.segmentLength),this._pathData.pi=R}if(R=this._pathData.pi,P=this._pathData.f.v,y=0,_=1,z=0,w=!0,D=R.segments,P<0&&ht.v.c)for(R.tLength<Math.abs(P)&&(P=-Math.abs(P)%R.tLength),y=D.length-1,C=D[y].points,_=C.length-1;P<0;)P+=C[_].partialLength,_-=1,_<0&&(y-=1,C=D[y].points,_=C.length-1);C=D[y].points,A=C[_-1],M=C[_],V=M.partialLength}B=E.length,g=0,I=0;var lt=e.finalSize*1.2*.714,Z=!0,S,O,u,b,U;b=n.length;var F,at=-1,mt,vt,wt,Nt=P,Zt=y,we=_,xr=-1,Ne,ae,$e,Ot,ct,Fr,fi,$r,Ar="",zr=this.defaultPropsArray,Vr;if(e.j===2||e.j===1){var Le=0,vi=0,gi=e.j===2?-.5:-1,lr=0,bi=!0;for(L=0;L<B;L+=1)if(E[L].n){for(Le&&(Le+=vi);lr<L;)E[lr].animatorJustifyOffset=Le,lr+=1;Le=0,bi=!0}else{for(u=0;u<b;u+=1)S=n[u].a,S.t.propType&&(bi&&e.j===2&&(vi+=S.t.v*gi),O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].s.totalChars),F.length?Le+=S.t.v*F[0]*gi:Le+=S.t.v*F*gi);bi=!1}for(Le&&(Le+=vi);lr<L;)E[lr].animatorJustifyOffset=Le,lr+=1}for(L=0;L<B;L+=1){if(c.reset(),Ne=1,E[L].n)g=0,I+=e.yOffset,I+=Z?1:0,P=Nt,Z=!1,this._hasMaskedPath&&(y=Zt,_=we,C=D[y].points,A=C[_-1],M=C[_],V=M.partialLength,z=0),Ar="",$r="",Fr="",Vr="",zr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(xr!==E[L].line){switch(e.j){case 1:P+=H-e.lineWidths[E[L].line];break;case 2:P+=(H-e.lineWidths[E[L].line])/2;break;default:break}xr=E[L].line}at!==E[L].ind&&(E[at]&&(P+=E[at].extra),P+=E[L].an/2,at=E[L].ind),P+=s[0]*E[L].an*.005;var cr=0;for(u=0;u<b;u+=1)S=n[u].a,S.p.propType&&(O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].s.totalChars),F.length?cr+=S.p.v[0]*F[0]:cr+=S.p.v[0]*F),S.a.propType&&(O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].s.totalChars),F.length?cr+=S.a.v[0]*F[0]:cr+=S.a.v[0]*F);for(w=!0,this._pathData.a.v&&(P=E[0].an*.5+(H-this._pathData.f.v-E[0].an*.5-E[E.length-1].an*.5)*at/(B-1),P+=this._pathData.f.v);w;)z+V>=P+cr||!C?(X=(P+cr-z)/M.partialLength,vt=A.point[0]+(M.point[0]-A.point[0])*X,wt=A.point[1]+(M.point[1]-A.point[1])*X,c.translate(-s[0]*E[L].an*.005,-(s[1]*lt)*.01),w=!1):C&&(z+=M.partialLength,_+=1,_>=C.length&&(_=0,y+=1,D[y]?C=D[y].points:ht.v.c?(_=0,y=0,C=D[y].points):(z-=M.partialLength,C=null)),C&&(A=M,M=C[_],V=M.partialLength));mt=E[L].an/2-E[L].add,c.translate(-mt,0,0)}else mt=E[L].an/2-E[L].add,c.translate(-mt,0,0),c.translate(-s[0]*E[L].an*.005,-s[1]*lt*.01,0);for(u=0;u<b;u+=1)S=n[u].a,S.t.propType&&(O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].s.totalChars),(g!==0||e.j!==0)&&(this._hasMaskedPath?F.length?P+=S.t.v*F[0]:P+=S.t.v*F:F.length?g+=S.t.v*F[0]:g+=S.t.v*F));for(e.strokeWidthAnim&&($e=e.sw||0),e.strokeColorAnim&&(e.sc?ae=[e.sc[0],e.sc[1],e.sc[2]]:ae=[0,0,0]),e.fillColorAnim&&e.fc&&(Ot=[e.fc[0],e.fc[1],e.fc[2]]),u=0;u<b;u+=1)S=n[u].a,S.a.propType&&(O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].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(u=0;u<b;u+=1)S=n[u].a,S.s.propType&&(O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].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(u=0;u<b;u+=1){if(S=n[u].a,O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].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?Ne+=(S.o.v*F[0]-Ne)*F[0]:Ne+=(S.o.v*F-Ne)*F),e.strokeWidthAnim&&S.sw.propType&&(F.length?$e+=S.sw.v*F[0]:$e+=S.sw.v*F),e.strokeColorAnim&&S.sc.propType)for(ct=0;ct<3;ct+=1)F.length?ae[ct]+=(S.sc.v[ct]-ae[ct])*F[0]:ae[ct]+=(S.sc.v[ct]-ae[ct])*F;if(e.fillColorAnim&&e.fc){if(S.fc.propType)for(ct=0;ct<3;ct+=1)F.length?Ot[ct]+=(S.fc.v[ct]-Ot[ct])*F[0]:Ot[ct]+=(S.fc.v[ct]-Ot[ct])*F;S.fh.propType&&(F.length?Ot=fh(Ot,S.fh.v*F[0]):Ot=fh(Ot,S.fh.v*F)),S.fs.propType&&(F.length?Ot=mh(Ot,S.fs.v*F[0]):Ot=mh(Ot,S.fs.v*F)),S.fb.propType&&(F.length?Ot=uh(Ot,S.fb.v*F[0]):Ot=uh(Ot,S.fb.v*F))}}for(u=0;u<b;u+=1)S=n[u].a,S.p.propType&&(O=n[u].s,F=O.getMult(E[L].anIndexes[u],d.a[u].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&&(Fr=$e<0?0:$e),e.strokeColorAnim&&(fi="rgb("+Math.round(ae[0]*255)+","+Math.round(ae[1]*255)+","+Math.round(ae[2]*255)+")"),e.fillColorAnim&&e.fc&&($r="rgb("+Math.round(Ot[0]*255)+","+Math.round(Ot[1]*255)+","+Math.round(Ot[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-e.ls),c.translate(0,s[1]*lt*.01+I,0),this._pathData.p.v){ft=(M.point[1]-A.point[1])/(M.point[0]-A.point[0]);var Bi=Math.atan(ft)*180/Math.PI;M.point[0]<A.point[0]&&(Bi+=180),c.rotate(-Bi*Math.PI/180)}c.translate(vt,wt,0),P-=s[0]*E[L].an*.005,E[L+1]&&at!==E[L+1].ind&&(P+=E[L].an/2,P+=e.tr*.001*e.finalSize)}else{switch(c.translate(g,I,0),e.ps&&c.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:c.translate(E[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[E[L].line]),0,0);break;case 2:c.translate(E[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[E[L].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(mt,0,0),c.translate(s[0]*E[L].an*.005,s[1]*lt*.01,0),g+=E[L].l+e.tr*.001*e.finalSize}v==="html"?Ar=c.toCSS():v==="svg"?Ar=c.to2dCSS():zr=[c.props[0],c.props[1],c.props[2],c.props[3],c.props[4],c.props[5],c.props[6],c.props[7],c.props[8],c.props[9],c.props[10],c.props[11],c.props[12],c.props[13],c.props[14],c.props[15]],Vr=Ne}x<=L?(U=new Kl(Vr,Fr,fi,$r,Ar,zr),this.renderedLetters.push(U),x+=1,this.lettersChangedFlag=!0):(U=this.renderedLetters[L],this.lettersChangedFlag=U.update(Vr,Fr,fi,$r,Ar,zr)||this.lettersChangedFlag)}}},Vi.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Vi.prototype.mHelper=new he,Vi.prototype.defaultPropsArray=[],$([se],Vi);function je(){}je.prototype.initElement=function(e,r,s){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,r,s),this.textProperty=new ge(this,e.t,this.dynamicProperties),this.textAnimator=new Vi(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,n=r.length,d,c="";for(s=0;s<n;s+=1)r[s].ty==="sh"&&(d=r[s].ks.k,c+=rp(d,d.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,n,d){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(n,d,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 Kl,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 Dg={shapes:[]};function Pr(e,r,s){this.textSpans=[],this.renderType="svg",this.initElement(e,r,s)}$([hi,Oo,Ps,Po,pi,Ds,je],Pr),Pr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=bt("text"))},Pr.prototype.buildTextContents=function(e){for(var r=0,s=e.length,n=[],d="";r<s;)e[r]==="\r"||e[r]===""?(n.push(d),d=""):d+=e[r],r+=1;return n.push(d),n},Pr.prototype.buildShapeData=function(e,r){if(e.shapes&&e.shapes.length){var s=e.shapes[0];if(s.it){var n=s.it[s.it.length-1];n.s&&(n.s.k[0]=r,n.s.k[1]=r)}}return e},Pr.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,r,s=this.textProperty.currentData;this.renderedLetters=rt(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 n=this.globalData.fontManager.getFontByName(s.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var d=s.fWeight,c=s.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",d)}this.layerElement.setAttribute("aria-label",s.t);var v=s.l||[],x=!!this.globalData.fontManager.chars;r=v.length;var g,I=this.mHelper,L="",B=this.data.singleShape,E=0,R=0,P=!0,M=s.tr*.001*s.finalSize;if(B&&!x&&!s.sz){var z=this.textContainer,w="start";switch(s.j){case 1:w="end";break;case 2:w="middle";break;default:w="start";break}z.setAttribute("text-anchor",w),z.setAttribute("letter-spacing",M);var _=this.buildTextContents(s.finalText);for(r=_.length,R=s.ps?s.ps[1]+s.ascent:0,e=0;e<r;e+=1)g=this.textSpans[e].span||bt("tspan"),g.textContent=_[e],g.setAttribute("x",0),g.setAttribute("y",R),g.style.display="inherit",z.appendChild(g),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=g,R+=s.finalLineHeight;this.layerElement.appendChild(z)}else{var y=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||!B||e===0){if(g=y>e?this.textSpans[e].span:bt(x?"g":"text"),y<=e){if(g.setAttribute("stroke-linecap","butt"),g.setAttribute("stroke-linejoin","round"),g.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=g,x){var C=bt("g");g.appendChild(C),this.textSpans[e].childSpan=C}this.textSpans[e].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(I.reset(),B&&(v[e].n&&(E=-M,R+=s.yOffset,R+=P?1:0,P=!1),this.applyTextPropertiesToMatrix(s,I,v[e].line,E,R),E+=v[e].l||0,E+=M),x){A=this.globalData.fontManager.getCharData(s.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(s.f).fFamily);var D;if(A.t===1)D=new zs(A.data,this.globalData,this);else{var V=Dg;A.data&&A.data.shapes&&(V=this.buildShapeData(A.data,s.finalSize)),D=new Yt(V,this.globalData,this)}if(this.textSpans[e].glyph){var H=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(H.layerElement),H.destroy()}this.textSpans[e].glyph=D,D._debug=!0,D.prepareFrame(0),D.renderFrame(),this.textSpans[e].childSpan.appendChild(D.layerElement),A.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+s.finalSize/100+","+s.finalSize/100+")")}else B&&g.setAttribute("transform","translate("+I.props[12]+","+I.props[13]+")"),g.textContent=v[e].val,g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}B&&g&&g.setAttribute("d",L)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},Pr.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},Pr.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))},Pr.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,n=this.textProperty.currentData.l;r=n.length;var d,c,v;for(e=0;e<r;e+=1)n[e].n||(d=s[e],c=this.textSpans[e].span,v=this.textSpans[e].glyph,v&&v.renderFrame(),d._mdf.m&&c.setAttribute("transform",d.m),d._mdf.o&&c.setAttribute("opacity",d.o),d._mdf.sw&&c.setAttribute("stroke-width",d.sw),d._mdf.sc&&c.setAttribute("stroke",d.sc),d._mdf.fc&&c.setAttribute("fill",d.fc))}};function Zl(e,r,s){this.initElement(e,r,s)}$([Fs],Zl),Zl.prototype.createContent=function(){var e=bt("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function ui(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initFrame(),this.initTransform(e,r,s),this.initHierarchy()}ui.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},ui.prototype.renderFrame=function(){},ui.prototype.getBaseElement=function(){return null},ui.prototype.destroy=function(){},ui.prototype.sourceRectAtTime=function(){},ui.prototype.hide=function(){},$([hi,Oo,Po,pi],ui);function te(){}$([pe],te),te.prototype.createNull=function(e){return new ui(e,this.globalData,this)},te.prototype.createShape=function(e){return new Yt(e,this.globalData,this)},te.prototype.createText=function(e){return new Pr(e,this.globalData,this)},te.prototype.createImage=function(e){return new Fs(e,this.globalData,this)},te.prototype.createSolid=function(e){return new Zl(e,this.globalData,this)},te.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=bt("clipPath"),n=bt("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var d=ke();s.setAttribute("id",d),s.appendChild(n),this.layerElement.setAttribute("clip-path","url("+T()+"#"+d+")"),r.appendChild(s),this.layers=e.layers,this.elements=rt(e.layers.length)},te.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},te.prototype.updateContainerSize=function(){},te.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},te.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,Ba()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(s),s.initExpressions()),this.appendElementInPos(s,e),this.layers[e].tt){var n="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(n===-1)return;if(!this.elements[n]||this.elements[n]===!0)this.buildItem(n),this.addPendingElement(s);else{var d=r[n],c=d.getMatte(this.layers[e].tt);s.setMatte(c)}}}},te.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 n="tp"in e.data?this.findIndexByInd(e.data.tp):r-1,d=this.elements[n],c=d.getMatte(this.layers[r].tt);e.setMatte(c);break}r+=1}}},te.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()}},te.prototype.appendElementInPos=function(e,r){var s=e.getBaseElement();if(s){for(var n=0,d;n<r;)this.elements[n]&&this.elements[n]!==!0&&this.elements[n].getBaseElement()&&(d=this.elements[n].getBaseElement()),n+=1;d?this.layerElement.insertBefore(s,d):this.layerElement.appendChild(s)}},te.prototype.hide=function(){this.layerElement.style.display="none"},te.prototype.show=function(){this.layerElement.style.display="block"};function Dr(){}$([hi,Oo,Po,pi,Ds],Dr),Dr.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()},Dr.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,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),s=n-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))}},Dr.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()},Dr.prototype.setElements=function(e){this.elements=e},Dr.prototype.getElements=function(){return this.elements},Dr.prototype.destroyElements=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy()},Dr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function zs(e,r,s){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?rt(this.layers.length):[],this.initElement(e,r,s),this.tm=e.tm?it.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0}}$([te,Dr,Ps],zs),zs.prototype.createComp=function(e){return new zs(e,this.globalData,this)};function Xl(e,r){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=bt("svg");var s="";if(r&&r.title){var n=bt("title"),d=ke();n.setAttribute("id",d),n.textContent=r.title,this.svgElement.appendChild(n),s+=d}if(r&&r.description){var c=bt("desc"),v=ke();c.setAttribute("id",v),c.textContent=r.description,this.svgElement.appendChild(c),s+=" "+v}s&&this.svgElement.setAttribute("aria-labelledby",s);var x=bt("defs");this.svgElement.appendChild(x);var g=bt("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 $([te],Xl),Xl.prototype.createComp=function(e){return new zs(e,this.globalData,this)},Wv("svg",Xl),ci.registerModifier("tm",nr),ci.registerModifier("pb",Cs),ci.registerModifier("rp",Tr),ci.registerModifier("rd",ws),ci.registerModifier("zz",Ls),ci.registerModifier("op",Rs),Mt})});var nn=globalThis,ln=nn.ShadowRoot&&(nn.ShadyCSS===void 0||nn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Jl=Symbol(),op=new WeakMap,Vs=class{constructor(i,t,o){if(this._$cssResult$=!0,o!==Jl)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=i,this.t=t}get styleSheet(){let i=this.o,t=this.t;if(ln&&i===void 0){let o=t!==void 0&&t.length===1;o&&(i=op.get(t)),i===void 0&&((this.o=i=new CSSStyleSheet).replaceSync(this.cssText),o&&op.set(t,i))}return i}toString(){return this.cssText}},sp=l=>new Vs(typeof l=="string"?l:l+"",void 0,Jl),G=(l,...i)=>{let t=l.length===1?l[0]:i.reduce((o,a,h)=>o+(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)+l[h+1],l[0]);return new Vs(t,l,Jl)},tc=(l,i)=>{if(ln)l.adoptedStyleSheets=i.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of i){let o=document.createElement("style"),a=nn.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=t.cssText,l.appendChild(o)}},cn=ln?l=>l:l=>l instanceof CSSStyleSheet?(i=>{let t="";for(let o of i.cssRules)t+=o.cssText;return sp(t)})(l):l;var{is:Gg,defineProperty:Yg,getOwnPropertyDescriptor:Wg,getOwnPropertyNames:jg,getOwnPropertySymbols:qg,getPrototypeOf:Kg}=Object,yi=globalThis,ap=yi.trustedTypes,Zg=ap?ap.emptyScript:"",ec=yi.reactiveElementPolyfillSupport,Bs=(l,i)=>l,Us={toAttribute(l,i){switch(i){case Boolean:l=l?Zg:null;break;case Object:case Array:l=l==null?l:JSON.stringify(l)}return l},fromAttribute(l,i){let t=l;switch(i){case Boolean:t=l!==null;break;case Number:t=l===null?null:Number(l);break;case Object:case Array:try{t=JSON.parse(l)}catch{t=null}}return t}},dn=(l,i)=>!Gg(l,i),np={attribute:!0,type:String,converter:Us,reflect:!1,hasChanged:dn},lp,cp;(lp=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(cp=yi.litPropertyMetadata)!=null||(yi.litPropertyMetadata=new WeakMap);var Br=class extends HTMLElement{static addInitializer(i){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(i)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(i,t=np){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(i,t),!t.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(i,o,t);a!==void 0&&Yg(this.prototype,i,a)}}static getPropertyDescriptor(i,t,o){var m;let{get:a,set:h}=(m=Wg(this.prototype,i))!=null?m:{get(){return this[t]},set(T){this[t]=T}};return{get(){return a==null?void 0:a.call(this)},set(T){let N=a==null?void 0:a.call(this);h.call(this,T),this.requestUpdate(i,N,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(i){var t;return(t=this.elementProperties.get(i))!=null?t:np}static _$Ei(){if(this.hasOwnProperty(Bs("elementProperties")))return;let i=Kg(this);i.finalize(),i.l!==void 0&&(this.l=[...i.l]),this.elementProperties=new Map(i.elementProperties)}static finalize(){if(this.hasOwnProperty(Bs("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Bs("properties"))){let t=this.properties,o=[...jg(t),...qg(t)];for(let a of o)this.createProperty(a,t[a])}let i=this[Symbol.metadata];if(i!==null){let t=litPropertyMetadata.get(i);if(t!==void 0)for(let[o,a]of t)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[t,o]of this.elementProperties){let a=this._$Eu(t,o);a!==void 0&&this._$Eh.set(a,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(i){let t=[];if(Array.isArray(i)){let o=new Set(i.flat(1/0).reverse());for(let a of o)t.unshift(cn(a))}else i!==void 0&&t.push(cn(i));return t}static _$Eu(i,t){let o=t.attribute;return o===!1?void 0:typeof o=="string"?o:typeof i=="string"?i.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var i;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(i=this.constructor.l)==null||i.forEach(t=>t(this))}addController(i){var t,o;((t=this._$EO)!=null?t:this._$EO=new Set).add(i),this.renderRoot!==void 0&&this.isConnected&&((o=i.hostConnected)==null||o.call(i))}removeController(i){var t;(t=this._$EO)==null||t.delete(i)}_$E_(){let i=new Map,t=this.constructor.elementProperties;for(let o of t.keys())this.hasOwnProperty(o)&&(i.set(o,this[o]),delete this[o]);i.size>0&&(this._$Ep=i)}createRenderRoot(){var t;let i=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return tc(i,this.constructor.elementStyles),i}connectedCallback(){var i,t;(i=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(o=>{var a;return(a=o.hostConnected)==null?void 0:a.call(o)})}enableUpdating(i){}disconnectedCallback(){var i;(i=this._$EO)==null||i.forEach(t=>{var o;return(o=t.hostDisconnected)==null?void 0:o.call(t)})}attributeChangedCallback(i,t,o){this._$AK(i,o)}_$EC(i,t){var h;let o=this.constructor.elementProperties.get(i),a=this.constructor._$Eu(i,o);if(a!==void 0&&o.reflect===!0){let m=(((h=o.converter)==null?void 0:h.toAttribute)!==void 0?o.converter:Us).toAttribute(t,o.type);this._$Em=i,m==null?this.removeAttribute(a):this.setAttribute(a,m),this._$Em=null}}_$AK(i,t){var h;let o=this.constructor,a=o._$Eh.get(i);if(a!==void 0&&this._$Em!==a){let m=o.getPropertyOptions(a),T=typeof m.converter=="function"?{fromAttribute:m.converter}:((h=m.converter)==null?void 0:h.fromAttribute)!==void 0?m.converter:Us;this._$Em=a,this[a]=T.fromAttribute(t,m.type),this._$Em=null}}requestUpdate(i,t,o){var a;if(i!==void 0){if(o!=null||(o=this.constructor.getPropertyOptions(i)),!((a=o.hasChanged)!=null?a:dn)(this[i],t))return;this.P(i,t,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(i,t,o){var a;this._$AL.has(i)||this._$AL.set(i,t),o.reflect===!0&&this._$Em!==i&&((a=this._$Ej)!=null?a:this._$Ej=new Set).add(i)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let i=this.scheduleUpdate();return i!=null&&await i,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var o,a;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,T]of this._$Ep)this[m]=T;this._$Ep=void 0}let h=this.constructor.elementProperties;if(h.size>0)for(let[m,T]of h)T.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],T)}let i=!1,t=this._$AL;try{i=this.shouldUpdate(t),i?(this.willUpdate(t),(a=this._$EO)==null||a.forEach(h=>{var m;return(m=h.hostUpdate)==null?void 0:m.call(h)}),this.update(t)):this._$EU()}catch(h){throw i=!1,this._$EU(),h}i&&this._$AE(t)}willUpdate(i){}_$AE(i){var t;(t=this._$EO)==null||t.forEach(o=>{var a;return(a=o.hostUpdated)==null?void 0:a.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(i)),this.updated(i)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(i){return!0}update(i){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(i){}firstUpdated(i){}},dp;Br.elementStyles=[],Br.shadowRootOptions={mode:"open"},Br[Bs("elementProperties")]=new Map,Br[Bs("finalized")]=new Map,ec==null||ec({ReactiveElement:Br}),((dp=yi.reactiveElementVersions)!=null?dp:yi.reactiveElementVersions=[]).push("2.0.4");var Gs=globalThis,hn=Gs.trustedTypes,hp=hn?hn.createPolicy("lit-html",{createHTML:l=>l}):void 0,oc="$lit$",Ur=`lit$${Math.random().toFixed(9).slice(2)}$`,sc="?"+Ur,Xg=`<${sc}>`,Gi=document,Ys=()=>Gi.createComment(""),Ws=l=>l===null||typeof l!="object"&&typeof l!="function",ac=Array.isArray,bp=l=>ac(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",rc=`[
3
3
  \f\r]`,Hs=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,pp=/-->/g,mp=/>/g,Ui=RegExp(`>|${rc}(?:([^\\s"'>=/]+)(${rc}*=${rc}*(?:[^
4
4
  \f\r"'\`<>=]|("|')|))|$)`,"g"),up=/'/g,fp=/"/g,yp=/^(?:script|style|textarea|title)$/i,nc=l=>(i,...t)=>({_$litType$:l,strings:i,values:t}),k=nc(1),dx=nc(2),hx=nc(3),Re=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),vp=new WeakMap,Hi=Gi.createTreeWalker(Gi,129);function Ep(l,i){if(!ac(l)||!l.hasOwnProperty("raw"))throw Error("invalid template strings array");return hp!==void 0?hp.createHTML(i):i}var Tp=(l,i)=>{let t=l.length-1,o=[],a,h=i===2?"<svg>":i===3?"<math>":"",m=Hs;for(let T=0;T<t;T++){let N=l[T],$,q,K=-1,nt=0;for(;nt<N.length&&(m.lastIndex=nt,q=m.exec(N),q!==null);)nt=m.lastIndex,m===Hs?q[1]==="!--"?m=pp:q[1]!==void 0?m=mp:q[2]!==void 0?(yp.test(q[2])&&(a=RegExp("</"+q[2],"g")),m=Ui):q[3]!==void 0&&(m=Ui):m===Ui?q[0]===">"?(m=a!=null?a:Hs,K=-1):q[1]===void 0?K=-2:(K=m.lastIndex-q[2].length,$=q[1],m=q[3]===void 0?Ui:q[3]==='"'?fp:up):m===fp||m===up?m=Ui:m===pp||m===mp?m=Hs:(m=Ui,a=void 0);let Q=m===Ui&&l[T+1].startsWith("/>")?" ":"";h+=m===Hs?N+Xg:K>=0?(o.push($),N.slice(0,K)+oc+N.slice(K)+Ur+Q):N+Ur+(K===-2?T:Q)}return[Ep(l,h+(l[t]||"<?>")+(i===2?"</svg>":i===3?"</math>":"")),o]},js=class l{constructor({strings:i,_$litType$:t},o){let a;this.parts=[];let h=0,m=0,T=i.length-1,N=this.parts,[$,q]=Tp(i,t);if(this.el=l.createElement($,o),Hi.currentNode=this.el.content,t===2||t===3){let K=this.el.content.firstChild;K.replaceWith(...K.childNodes)}for(;(a=Hi.nextNode())!==null&&N.length<T;){if(a.nodeType===1){if(a.hasAttributes())for(let K of a.getAttributeNames())if(K.endsWith(oc)){let nt=q[m++],Q=a.getAttribute(K).split(Ur),rt=/([.?@])?(.*)/.exec(nt);N.push({type:1,index:h,name:rt[2],strings:Q,ctor:rt[1]==="."?mn:rt[1]==="?"?un:rt[1]==="@"?fn:Wi}),a.removeAttribute(K)}else K.startsWith(Ur)&&(N.push({type:6,index:h}),a.removeAttribute(K));if(yp.test(a.tagName)){let K=a.textContent.split(Ur),nt=K.length-1;if(nt>0){a.textContent=hn?hn.emptyScript:"";for(let Q=0;Q<nt;Q++)a.append(K[Q],Ys()),Hi.nextNode(),N.push({type:2,index:++h});a.append(K[nt],Ys())}}}else if(a.nodeType===8)if(a.data===sc)N.push({type:2,index:h});else{let K=-1;for(;(K=a.data.indexOf(Ur,K+1))!==-1;)N.push({type:7,index:h}),K+=Ur.length-1}h++}}static createElement(i,t){let o=Gi.createElement("template");return o.innerHTML=i,o}};function Yi(l,i,t=l,o){var m,T,N;if(i===Re)return i;let a=o!==void 0?(m=t.o)==null?void 0:m[o]:t.l,h=Ws(i)?void 0:i._$litDirective$;return(a==null?void 0:a.constructor)!==h&&((T=a==null?void 0:a._$AO)==null||T.call(a,!1),h===void 0?a=void 0:(a=new h(l),a._$AT(l,t,o)),o!==void 0?((N=t.o)!=null?N:t.o=[])[o]=a:t.l=a),a!==void 0&&(i=Yi(l,a._$AS(l,i.values),a,o)),i}var pn=class{constructor(i,t){this._$AV=[],this._$AN=void 0,this._$AD=i,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(i){var $;let{el:{content:t},parts:o}=this._$AD,a=(($=i==null?void 0:i.creationScope)!=null?$:Gi).importNode(t,!0);Hi.currentNode=a;let h=Hi.nextNode(),m=0,T=0,N=o[0];for(;N!==void 0;){if(m===N.index){let q;N.type===2?q=new Fo(h,h.nextSibling,this,i):N.type===1?q=new N.ctor(h,N.name,N.strings,this,i):N.type===6&&(q=new vn(h,this,i)),this._$AV.push(q),N=o[++T]}m!==(N==null?void 0:N.index)&&(h=Hi.nextNode(),m++)}return Hi.currentNode=Gi,a}p(i){let t=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(i,o,t),t+=o.strings.length-2):o._$AI(i[t])),t++}},Fo=class l{get _$AU(){var i,t;return(t=(i=this._$AM)==null?void 0:i._$AU)!=null?t:this.v}constructor(i,t,o,a){var h;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=i,this._$AB=t,this._$AM=o,this.options=a,this.v=(h=a==null?void 0:a.isConnected)!=null?h:!0}get parentNode(){let i=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(i==null?void 0:i.nodeType)===11&&(i=t.parentNode),i}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(i,t=this){i=Yi(this,i,t),Ws(i)?i===j||i==null||i===""?(this._$AH!==j&&this._$AR(),this._$AH=j):i!==this._$AH&&i!==Re&&this._(i):i._$litType$!==void 0?this.$(i):i.nodeType!==void 0?this.T(i):bp(i)?this.k(i):this._(i)}O(i){return this._$AA.parentNode.insertBefore(i,this._$AB)}T(i){this._$AH!==i&&(this._$AR(),this._$AH=this.O(i))}_(i){this._$AH!==j&&Ws(this._$AH)?this._$AA.nextSibling.data=i:this.T(Gi.createTextNode(i)),this._$AH=i}$(i){var h;let{values:t,_$litType$:o}=i,a=typeof o=="number"?this._$AC(i):(o.el===void 0&&(o.el=js.createElement(Ep(o.h,o.h[0]),this.options)),o);if(((h=this._$AH)==null?void 0:h._$AD)===a)this._$AH.p(t);else{let m=new pn(a,this),T=m.u(this.options);m.p(t),this.T(T),this._$AH=m}}_$AC(i){let t=vp.get(i.strings);return t===void 0&&vp.set(i.strings,t=new js(i)),t}k(i){ac(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,o,a=0;for(let h of i)a===t.length?t.push(o=new l(this.O(Ys()),this.O(Ys()),this,this.options)):o=t[a],o._$AI(h),a++;a<t.length&&(this._$AR(o&&o._$AB.nextSibling,a),t.length=a)}_$AR(i=this._$AA.nextSibling,t){var o;for((o=this._$AP)==null?void 0:o.call(this,!1,!0,t);i&&i!==this._$AB;){let a=i.nextSibling;i.remove(),i=a}}setConnected(i){var t;this._$AM===void 0&&(this.v=i,(t=this._$AP)==null||t.call(this,i))}},Wi=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(i,t,o,a,h){this.type=1,this._$AH=j,this._$AN=void 0,this.element=i,this.name=t,this._$AM=a,this.options=h,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=j}_$AI(i,t=this,o,a){let h=this.strings,m=!1;if(h===void 0)i=Yi(this,i,t,0),m=!Ws(i)||i!==this._$AH&&i!==Re,m&&(this._$AH=i);else{let T=i,N,$;for(i=h[0],N=0;N<h.length-1;N++)$=Yi(this,T[o+N],t,N),$===Re&&($=this._$AH[N]),m||(m=!Ws($)||$!==this._$AH[N]),$===j?i=j:i!==j&&(i+=($!=null?$:"")+h[N+1]),this._$AH[N]=$}m&&!a&&this.j(i)}j(i){i===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,i!=null?i:"")}},mn=class extends Wi{constructor(){super(...arguments),this.type=3}j(i){this.element[this.name]=i===j?void 0:i}},un=class extends Wi{constructor(){super(...arguments),this.type=4}j(i){this.element.toggleAttribute(this.name,!!i&&i!==j)}},fn=class extends Wi{constructor(i,t,o,a,h){super(i,t,o,a,h),this.type=5}_$AI(i,t=this){var m;if((i=(m=Yi(this,i,t,0))!=null?m:j)===Re)return;let o=this._$AH,a=i===j&&o!==j||i.capture!==o.capture||i.once!==o.once||i.passive!==o.passive,h=i!==j&&(o===j||a);a&&this.element.removeEventListener(this.name,this,o),h&&this.element.addEventListener(this.name,this,i),this._$AH=i}handleEvent(i){var t,o;typeof this._$AH=="function"?this._$AH.call((o=(t=this.options)==null?void 0:t.host)!=null?o:this.element,i):this._$AH.handleEvent(i)}},vn=class{constructor(i,t,o){this.element=i,this.type=6,this._$AN=void 0,this._$AM=t,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(i){Yi(this,i)}},xp={M:oc,P:Ur,A:sc,C:1,L:Tp,R:pn,D:bp,V:Yi,I:Fo,H:Wi,N:un,U:fn,B:mn,F:vn},ic=Gs.litHtmlPolyfillSupport,gp;ic==null||ic(js,Fo),((gp=Gs.litHtmlVersions)!=null?gp:Gs.litHtmlVersions=[]).push("3.2.0");var Ap=(l,i,t)=>{var h,m;let o=(h=t==null?void 0:t.renderBefore)!=null?h:i,a=o._$litPart$;if(a===void 0){let T=(m=t==null?void 0:t.renderBefore)!=null?m:null;o._$litPart$=a=new Fo(i.insertBefore(Ys(),T),T,void 0,t!=null?t:{})}return a._$AI(l),a};var Ei=class extends Br{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,o;let i=super.createRenderRoot();return(o=(t=this.renderOptions).renderBefore)!=null||(t.renderBefore=i.firstChild),i}update(i){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(i),this.o=Ap(t,this.renderRoot,this.renderOptions)}connectedCallback(){var i;super.connectedCallback(),(i=this.o)==null||i.setConnected(!0)}disconnectedCallback(){var i;super.disconnectedCallback(),(i=this.o)==null||i.setConnected(!1)}render(){return Re}},Sp;Ei._$litElement$=!0,Ei.finalized=!0,(Sp=globalThis.litElementHydrateSupport)==null||Sp.call(globalThis,{LitElement:Ei});var lc=globalThis.litElementPolyfillSupport;lc==null||lc({LitElement:Ei});var _p;((_p=globalThis.litElementVersions)!=null?_p:globalThis.litElementVersions=[]).push("4.1.0");var Qg={attribute:!0,type:String,converter:Us,reflect:!1,hasChanged:dn},Jg=(l=Qg,i,t)=>{let{kind:o,metadata:a}=t,h=globalThis.litPropertyMetadata.get(a);if(h===void 0&&globalThis.litPropertyMetadata.set(a,h=new Map),h.set(t.name,l),o==="accessor"){let{name:m}=t;return{set(T){let N=i.get.call(this);i.set.call(this,T),this.requestUpdate(m,N,l)},init(T){return T!==void 0&&this.P(m,void 0,l),T}}}if(o==="setter"){let{name:m}=t;return function(T){let N=this[m];i.call(this,T),this.requestUpdate(m,N,l)}}throw Error("Unsupported decorator location: "+o)};function f(l){return(i,t)=>typeof t=="object"?Jg(l,i,t):((o,a,h)=>{let m=a.hasOwnProperty(h);return a.constructor.createProperty(h,m?{...o,wrapped:!0}:o),m?Object.getOwnPropertyDescriptor(a,h):void 0})(l,i,t)}function xt(l){return f({...l,state:!0,attribute:!1})}var Hr=(l,i,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof i!="object"&&Object.defineProperty(l,i,t),t);function Gr(l,i){return(t,o,a)=>{let h=m=>{var T,N;return(N=(T=m.renderRoot)==null?void 0:T.querySelector(l))!=null?N:null};if(i){let{get:m,set:T}=typeof o=="object"?t:a!=null?a:(()=>{let N=Symbol();return{get(){return this[N]},set($){this[N]=$}}})();return Hr(t,o,{get(){let N=m.call(this);return N===void 0&&(N=h(this),(N!==null||this.hasUpdated)&&T.call(this,N)),N}})}return Hr(t,o,{get(){return h(this)}})}}function Lt(l){return(i,t)=>{let{slot:o,selector:a}=l!=null?l:{},h="slot"+(o?`[name=${o}]`:":not([name])");return Hr(i,t,{get(){var N,$;let m=(N=this.renderRoot)==null?void 0:N.querySelector(h),T=($=m==null?void 0:m.assignedElements(l))!=null?$:[];return a===void 0?T:T.filter(q=>q.matches(a))}})}}function gn(l){return(i,t)=>{let{slot:o}=l!=null?l:{},a="slot"+(o?`[name=${o}]`:":not([name])");return Hr(i,t,{get(){var m,T;let h=(m=this.renderRoot)==null?void 0:m.querySelector(a);return(T=h==null?void 0:h.assignedNodes(l))!=null?T:[]}})}}var tb={PREFIX:"mdc",SEPARATOR:"-"},eb={NAMESPACE:tb},cc=eb;var rb=l=>[cc.NAMESPACE.PREFIX,l].join(cc.NAMESPACE.SEPARATOR),Y={constructTagName:rb};var tt={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 i0=Y.constructTagName("buttonsimple"),ji={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},$o={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},qs={SIZE:ji[32],TYPE:$o.BUTTON,ROLE:tt.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var Yr=Y.constructTagName("button"),Pt={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},Ks={40:40,32:32,28:28,24:24},qe={64:64,52:52,20:20,...Ks},qi={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},zo={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},Me={VARIANT:Pt.PRIMARY,SIZE:Ks[32],COLOR:qi.DEFAULT,TYPE_INTERNAL:zo.ICON,TYPE:$o.BUTTON,INVERTED:!1};var bn=l=>{class i extends l{constructor(){super(...arguments);this.variant=Me.VARIANT;this.color=Me.COLOR;this.typeInternal=Me.TYPE_INTERNAL}setVariant(a){this.setAttribute("variant",Object.values(Pt).includes(a)?a:Me.VARIANT)}setColor(a){!Object.values(qi).includes(a)||this.variant===Pt.TERTIARY?this.setAttribute("color",`${Me.COLOR}`):this.setAttribute("color",a)}setSize(a){let m=this.typeInternal===zo.ICON?Object.values(qe).includes(a)&&!(a===qe[20]&&this.variant!==Pt.TERTIARY):Object.values(Ks).includes(a);this.setAttribute("size",m?`${a}`:`${Me.SIZE}`)}inferButtonType(){var $,q,K,nt,Q,rt;let a=(q=($=this.shadowRoot)==null?void 0:$.querySelector("slot:not([name])"))==null?void 0:q.assignedNodes().filter(dt=>{var ut;return dt.nodeType!==Node.TEXT_NODE||((ut=dt.textContent)==null?void 0:ut.trim())}).length,h=(nt=(K=this.shadowRoot)==null?void 0:K.querySelector('slot[name="prefix"]'))==null?void 0:nt.assignedNodes().filter(dt=>{var ut;return dt.nodeType!==Node.TEXT_NODE||((ut=dt.textContent)==null?void 0:ut.trim())}).length,m=this.prefixIcon||h&&h>0,T=(rt=(Q=this.shadowRoot)==null?void 0:Q.querySelector('slot[name="postfix"]'))==null?void 0:rt.assignedNodes().filter(dt=>{var ut;return dt.nodeType!==Node.TEXT_NODE||((ut=dt.textContent)==null?void 0:ut.trim())}).length,N=this.postfixIcon||T&&T>0;a&&(m||N)?(this.typeInternal=zo.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!a&&(m||N)?(this.typeInternal=zo.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=zo.PILL,this.setAttribute("data-btn-type","pill"))}}return p([f({type:String,attribute:"prefix-icon",reflect:!0})],i.prototype,"prefixIcon",2),p([f({type:String,attribute:"postfix-icon",reflect:!0})],i.prototype,"postfixIcon",2),p([f({type:String})],i.prototype,"variant",2),p([f({type:String})],i.prototype,"color",2),p([xt()],i.prototype,"typeInternal",2),i};var Ip=G`
5
5
  :host {
@@ -136,7 +136,7 @@
136
136
  :host([size='20']) {
137
137
  height: var(--mdc-button-height-size-20);
138
138
  }
139
- `,...At()],Lp=ob;var hr=class extends Np(Ke(zt(W))){constructor(){super();this.size=qs.SIZE;this.role=qs.ROLE;this.type=qs.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||qs.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===$o.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===$o.RESET&&this.form&&this.form.reset()}setActive(t,o){this.ariaStateKey&&this.ariaStateKey.split(",").filter(h=>h.trim().startsWith("aria-")).forEach(h=>{o===!0?t.setAttribute(h.trim(),"true"):o===!1?t.setAttribute(h.trim(),"false"):t.removeAttribute(h.trim())})}setSoftDisabled(t,o){o?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}setDisabled(t,o){o?(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,view:window});this.dispatchEvent(t)}handleBlur(){this.classList.contains("pressed")&&this.classList.remove("pressed")}handleKeyDown(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===J.ENTER&&this.triggerClickEvent(),t.preventDefault())}handleKeyUp(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===J.SPACE&&this.triggerClickEvent())}render(){return k` <slot></slot> `}};hr.formAssociated=!0,hr.styles=[...W.styles,...Lp],p([f({type:Boolean,reflect:!0})],hr.prototype,"active",2),p([f({type:Boolean,attribute:"soft-disabled",reflect:!0})],hr.prototype,"softDisabled",2),p([f({type:Number,reflect:!0})],hr.prototype,"size",2),p([f({type:String,reflect:!0})],hr.prototype,"role",2),p([f({type:String,reflect:!0})],hr.prototype,"ariaStateKey",2),p([f({reflect:!0})],hr.prototype,"type",2);var me=hr;var sb=G`
139
+ `,...At()],Lp=ob;var dr=class extends Np(Ke(zt(W))){constructor(){super();this.size=qs.SIZE;this.role=qs.ROLE;this.type=qs.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||qs.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===$o.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===$o.RESET&&this.form&&this.form.reset()}setActive(t,o){this.ariaStateKey&&this.ariaStateKey.split(",").filter(h=>h.trim().startsWith("aria-")).forEach(h=>{o===!0?t.setAttribute(h.trim(),"true"):o===!1?t.setAttribute(h.trim(),"false"):t.removeAttribute(h.trim())})}setSoftDisabled(t,o){o?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}setDisabled(t,o){o?(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,view:window});this.dispatchEvent(t)}handleBlur(){this.classList.contains("pressed")&&this.classList.remove("pressed")}handleKeyDown(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===J.ENTER&&this.triggerClickEvent(),t.preventDefault())}handleKeyUp(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===J.SPACE&&this.triggerClickEvent())}render(){return k` <slot></slot> `}};dr.formAssociated=!0,dr.styles=[...W.styles,...Lp],p([f({type:Boolean,reflect:!0})],dr.prototype,"active",2),p([f({type:Boolean,attribute:"soft-disabled",reflect:!0})],dr.prototype,"softDisabled",2),p([f({type:Number,reflect:!0})],dr.prototype,"size",2),p([f({type:String,reflect:!0})],dr.prototype,"role",2),p([f({type:String,reflect:!0})],dr.prototype,"ariaStateKey",2),p([f({reflect:!0})],dr.prototype,"type",2);var me=dr;var sb=G`
140
140
  :host {
141
141
  background-color: transparent;
142
142
  border-radius: 1.25rem;
@@ -1001,7 +1001,7 @@
1001
1001
  ${this.label?k`<mdc-text part="label" type="${Yo.TEXT_TYPE}" tagname="${Yo.TAG_NAME}"
1002
1002
  >${this.label}</mdc-text
1003
1003
  >`:j}
1004
- `}};Wo.styles=[...W.styles,...Kp],p([f({type:String})],Wo.prototype,"variant",2),p([f({type:String})],Wo.prototype,"label",2);var Ec=Wo;Ec.register(Zp);var Ib=Ec;var{I:zI}=xp;var wn=l=>l.strings===void 0;var kb={},Qp=(l,i=kb)=>l._$AH=i;var pr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Qi=l=>(...i)=>({_$litDirective$:l,values:i}),Ai=class{constructor(i){}get _$AU(){return this._$AM._$AU}_$AT(i,t,o){this.t=i,this._$AM=t,this.i=o}_$AS(i,t){return this.update(i,t)}update(i,t){return this.render(...t)}};var ea=(l,i)=>{var o;let t=l._$AN;if(t===void 0)return!1;for(let a of t)(o=a._$AO)==null||o.call(a,i,!1),ea(a,i);return!0},Nn=l=>{let i,t;do{if((i=l._$AM)===void 0)break;t=i._$AN,t.delete(l),l=i}while((t==null?void 0:t.size)===0)},Jp=l=>{for(let i;i=l._$AM;l=i){let t=i._$AN;if(t===void 0)i._$AN=t=new Set;else if(t.has(l))break;t.add(l),Nb(i)}};function Cb(l){this._$AN!==void 0?(Nn(this),this._$AM=l,Jp(this)):this._$AM=l}function wb(l,i=!1,t=0){let o=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(i)if(Array.isArray(o))for(let h=t;h<o.length;h++)ea(o[h],!1),Nn(o[h]);else o!=null&&(ea(o,!1),Nn(o));else ea(this,l)}var Nb=l=>{var i,t;l.type==pr.CHILD&&((i=l._$AP)!=null||(l._$AP=wb),(t=l._$AQ)!=null||(l._$AQ=Cb))},Ln=class extends Ai{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,t,o){super._$AT(i,t,o),Jp(this),this.isConnected=i._$AU}_$AO(i,t=!0){var o,a;i!==this.isConnected&&(this.isConnected=i,i?(o=this.reconnected)==null||o.call(this):(a=this.disconnected)==null||a.call(this)),t&&(ea(this,i),Nn(this))}setValue(i){if(wn(this.t))this.t._$AI(i,this);else{let t=[...this.t._$AH];t[this.i]=i,this.t._$AI(t,this,0)}}disconnected(){}reconnected(){}};var Rn=()=>new xc,xc=class{},Tc=new WeakMap,Mn=Qi(class extends Ln{render(l){return j}update(l,[i]){var o;let t=i!==this.Y;return t&&this.Y!==void 0&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.Y=i,this.ht=(o=l.options)==null?void 0:o.host,this.rt(this.ct=l.element)),j}rt(l){var i;if(this.isConnected||(l=void 0),typeof this.Y=="function"){let t=(i=this.ht)!=null?i:globalThis,o=Tc.get(t);o===void 0&&(o=new WeakMap,Tc.set(t,o)),o.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),o.set(this.Y,l),l!==void 0&&this.Y.call(this.ht,l)}else this.Y.value=l}get lt(){var l,i,t;return typeof this.Y=="function"?(i=Tc.get((l=this.ht)!=null?l:globalThis))==null?void 0:i.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 im=Hg(tm());var Ac={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 Lb=[Et,G`
1004
+ `}};Wo.styles=[...W.styles,...Kp],p([f({type:String})],Wo.prototype,"variant",2),p([f({type:String})],Wo.prototype,"label",2);var Ec=Wo;Ec.register(Zp);var Ib=Ec;var{I:zI}=xp;var wn=l=>l.strings===void 0;var kb={},Qp=(l,i=kb)=>l._$AH=i;var hr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Qi=l=>(...i)=>({_$litDirective$:l,values:i}),Ai=class{constructor(i){}get _$AU(){return this._$AM._$AU}_$AT(i,t,o){this.t=i,this._$AM=t,this.i=o}_$AS(i,t){return this.update(i,t)}update(i,t){return this.render(...t)}};var ea=(l,i)=>{var o;let t=l._$AN;if(t===void 0)return!1;for(let a of t)(o=a._$AO)==null||o.call(a,i,!1),ea(a,i);return!0},Nn=l=>{let i,t;do{if((i=l._$AM)===void 0)break;t=i._$AN,t.delete(l),l=i}while((t==null?void 0:t.size)===0)},Jp=l=>{for(let i;i=l._$AM;l=i){let t=i._$AN;if(t===void 0)i._$AN=t=new Set;else if(t.has(l))break;t.add(l),Nb(i)}};function Cb(l){this._$AN!==void 0?(Nn(this),this._$AM=l,Jp(this)):this._$AM=l}function wb(l,i=!1,t=0){let o=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(i)if(Array.isArray(o))for(let h=t;h<o.length;h++)ea(o[h],!1),Nn(o[h]);else o!=null&&(ea(o,!1),Nn(o));else ea(this,l)}var Nb=l=>{var i,t;l.type==hr.CHILD&&((i=l._$AP)!=null||(l._$AP=wb),(t=l._$AQ)!=null||(l._$AQ=Cb))},Ln=class extends Ai{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,t,o){super._$AT(i,t,o),Jp(this),this.isConnected=i._$AU}_$AO(i,t=!0){var o,a;i!==this.isConnected&&(this.isConnected=i,i?(o=this.reconnected)==null||o.call(this):(a=this.disconnected)==null||a.call(this)),t&&(ea(this,i),Nn(this))}setValue(i){if(wn(this.t))this.t._$AI(i,this);else{let t=[...this.t._$AH];t[this.i]=i,this.t._$AI(t,this,0)}}disconnected(){}reconnected(){}};var Rn=()=>new xc,xc=class{},Tc=new WeakMap,Mn=Qi(class extends Ln{render(l){return j}update(l,[i]){var o;let t=i!==this.Y;return t&&this.Y!==void 0&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.Y=i,this.ht=(o=l.options)==null?void 0:o.host,this.rt(this.ct=l.element)),j}rt(l){var i;if(this.isConnected||(l=void 0),typeof this.Y=="function"){let t=(i=this.ht)!=null?i:globalThis,o=Tc.get(t);o===void 0&&(o=new WeakMap,Tc.set(t,o)),o.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),o.set(this.Y,l),l!==void 0&&this.Y.call(this.ht,l)}else this.Y.value=l}get lt(){var l,i,t;return typeof this.Y=="function"?(i=Tc.get((l=this.ht)!=null?l:globalThis))==null?void 0:i.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 im=Hg(tm());var Ac={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 Lb=[Et,G`
1005
1005
  :host svg {
1006
1006
  display: block;
1007
1007
  }
@@ -1366,7 +1366,7 @@
1366
1366
  size="${ot(this.size)}"
1367
1367
  src="${ot(this.src)}"
1368
1368
  ></mdc-avatar>
1369
- `}};oa.styles=[...fm],p([f({type:String,attribute:"aria-label"})],oa.prototype,"ariaLabel",2);var wc=oa;var vm=Y.constructTagName("avatarbutton");wc.register(vm);var Bb=wc;var Cr=Qi(class extends Ai{constructor(l){var i;if(super(l),l.type!==pr.ATTRIBUTE||l.name!=="class"||((i=l.strings)==null?void 0:i.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(l){return" "+Object.keys(l).filter(i=>l[i]).join(" ")+" "}update(l,[i]){var o,a;if(this.st===void 0){this.st=new Set,l.strings!==void 0&&(this.nt=new Set(l.strings.join(" ").split(/\s/).filter(h=>h!=="")));for(let h in i)i[h]&&!((o=this.nt)!=null&&o.has(h))&&this.st.add(h);return this.render(i)}let t=l.element.classList;for(let h of this.st)h in i||(t.remove(h),this.st.delete(h));for(let h in i){let m=!!i[h];m===this.st.has(h)||(a=this.nt)!=null&&a.has(h)||(m?(t.add(h),this.st.add(h)):(t.remove(h),this.st.delete(h)))}return Re}});var gm=Y.constructTagName("badge"),Ze={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},$n={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},zn={PRIMARY:"primary",SECONDARY:"secondary"},sa={SUCCESS:"success",WARNING:"warning",ERROR:"error"},sw={...zn,...sa},Si={TYPE:Ze.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:zn.PRIMARY,ICON_SIZE:1};var Ub=[Et,G`
1369
+ `}};oa.styles=[...fm],p([f({type:String,attribute:"aria-label"})],oa.prototype,"ariaLabel",2);var wc=oa;var vm=Y.constructTagName("avatarbutton");wc.register(vm);var Bb=wc;var Cr=Qi(class extends Ai{constructor(l){var i;if(super(l),l.type!==hr.ATTRIBUTE||l.name!=="class"||((i=l.strings)==null?void 0:i.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(l){return" "+Object.keys(l).filter(i=>l[i]).join(" ")+" "}update(l,[i]){var o,a;if(this.st===void 0){this.st=new Set,l.strings!==void 0&&(this.nt=new Set(l.strings.join(" ").split(/\s/).filter(h=>h!=="")));for(let h in i)i[h]&&!((o=this.nt)!=null&&o.has(h))&&this.st.add(h);return this.render(i)}let t=l.element.classList;for(let h of this.st)h in i||(t.remove(h),this.st.delete(h));for(let h in i){let m=!!i[h];m===this.st.has(h)||(a=this.nt)!=null&&a.has(h)||(m?(t.add(h),this.st.add(h)):(t.remove(h),this.st.delete(h)))}return Re}});var gm=Y.constructTagName("badge"),Ze={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},$n={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},zn={PRIMARY:"primary",SECONDARY:"secondary"},sa={SUCCESS:"success",WARNING:"warning",ERROR:"error"},sw={...zn,...sa},Si={TYPE:Ze.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:zn.PRIMARY,ICON_SIZE:1};var Ub=[Et,G`
1370
1370
  :host {
1371
1371
  --mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
1372
1372
  --mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
@@ -1782,7 +1782,7 @@
1782
1782
  </div>
1783
1783
  ${this.renderFooter()}
1784
1784
  </div>
1785
- `}};na.styles=[...W.styles,...Rm],p([Lt({slot:"icon-button"})],na.prototype,"iconButtons",2);var mr=na;mr.register(Lm);var iy=mr;var oy=G`
1785
+ `}};na.styles=[...W.styles,...Rm],p([Lt({slot:"icon-button"})],na.prototype,"iconButtons",2);var pr=na;pr.register(Lm);var iy=pr;var oy=G`
1786
1786
  :host {
1787
1787
  cursor: pointer;
1788
1788
  user-select: none;
@@ -1812,7 +1812,7 @@
1812
1812
  <slot name="body"></slot>
1813
1813
  <slot name="after-body"></slot>
1814
1814
  </div>
1815
- `}};Yn.styles=[...mr.styles,...Mm];var Dc=Yn;var Om=Y.constructTagName("cardbutton");Dc.register(Om);var sy=Dc;var Pm=Y.constructTagName("cardcheckbox"),Fc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},Wn={CHECK:"check",CHECKBOX:"checkbox"},jn={SELECTION_TYPE:Wn.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var ay=G`
1815
+ `}};Yn.styles=[...pr.styles,...Mm];var Dc=Yn;var Om=Y.constructTagName("cardbutton");Dc.register(Om);var sy=Dc;var Pm=Y.constructTagName("cardcheckbox"),Fc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},Wn={CHECK:"check",CHECKBOX:"checkbox"},jn={SELECTION_TYPE:Wn.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var ay=G`
1816
1816
  :host {
1817
1817
  cursor: pointer;
1818
1818
  user-select: none;
@@ -1869,7 +1869,7 @@
1869
1869
  :host([disabled])::part(check-icon) {
1870
1870
  color: var(--mds-color-theme-text-primary-disabled);
1871
1871
  }
1872
- `,Dm=[ay,...At()];var Jo=class extends zt(Ke(mr)){constructor(){super();this.checked=!1;this.selectionType=jn.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=tt.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)}toggleOnEnter(t){t.key===J.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===J.SPACE&&this.toggleChecked()}renderSelection(){let t=this.checked?Fc.CHECKED:Fc.DEFAULT;switch(this.selectionType){case Wn.CHECK:return k`<mdc-icon
1872
+ `,Dm=[ay,...At()];var Jo=class extends zt(Ke(pr)){constructor(){super();this.checked=!1;this.selectionType=jn.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=tt.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===J.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===J.SPACE&&this.toggleChecked()}renderSelection(){let t=this.checked?Fc.CHECKED:Fc.DEFAULT;switch(this.selectionType){case Wn.CHECK:return k`<mdc-icon
1873
1873
  part="check check-icon"
1874
1874
  size="${jn.ICON_SIZE}"
1875
1875
  length-unit="${jn.ICON_LENGTH_UNIT}"
@@ -1886,7 +1886,7 @@
1886
1886
  <slot name="body"></slot>
1887
1887
  <slot name="after-body"></slot>
1888
1888
  </div>
1889
- `}};Jo.styles=[...mr.styles,...Dm],p([f({type:Boolean,reflect:!0})],Jo.prototype,"checked",2),p([f({type:String,attribute:"selection-type",reflect:!0})],Jo.prototype,"selectionType",2);var $c=Jo;var ny=[G`
1889
+ `}};Jo.styles=[...pr.styles,...Dm],p([f({type:Boolean,reflect:!0})],Jo.prototype,"checked",2),p([f({type:String,attribute:"selection-type",reflect:!0})],Jo.prototype,"selectionType",2);var $c=Jo;var ny=[G`
1890
1890
  :host {
1891
1891
  margin: 0.125rem 0;
1892
1892
  border-radius: 0.125rem;
@@ -2003,7 +2003,7 @@
2003
2003
  :host([disabled])::part(image) {
2004
2004
  opacity: 0.5;
2005
2005
  }
2006
- `,Vm=[dy,...At()];var es=class extends zt(Ke(mr)){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=tt.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled)return;this.getAllCardsWithinSameGroup().forEach(o=>{o.checked=!1}),this.checked=!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,o){t[o].focus(),t[o].toggleChecked()}toggleOnEnter(t){if(this.disabled)return;let a=this.getAllCardsWithinSameGroup().filter(m=>!m.disabled),h=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let m=(h+1)%a.length;this.updateCardRadio(a,m)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let m=(h-1+a.length)%a.length;this.updateCardRadio(a,m)}t.key===J.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===J.SPACE&&this.toggleChecked()}renderHeader(){return this.cardTitle?k`<div part="header">
2006
+ `,Vm=[dy,...At()];var es=class extends zt(Ke(pr)){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=tt.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled||this.checked)return;this.getAllCardsWithinSameGroup().forEach(o=>{o.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,o){t[o].focus(),t[o].toggleChecked()}toggleOnEnter(t){if(this.disabled)return;let a=this.getAllCardsWithinSameGroup().filter(m=>!m.disabled),h=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let m=(h+1)%a.length;this.updateCardRadio(a,m)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let m=(h-1+a.length)%a.length;this.updateCardRadio(a,m)}t.key===J.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===J.SPACE&&this.toggleChecked()}renderHeader(){return this.cardTitle?k`<div part="header">
2007
2007
  ${this.renderIcon()} ${this.renderTitle()}
2008
2008
  <mdc-staticradio part="check" ?checked="${this.checked}" ?disabled="${this.disabled}"></mdc-staticradio>
2009
2009
  </div>`:j}render(){return k`
@@ -2014,7 +2014,7 @@
2014
2014
  <slot name="body"></slot>
2015
2015
  <slot name="after-body"></slot>
2016
2016
  </div>
2017
- `}};es.styles=[...mr.styles,...Vm],p([f({type:Boolean,reflect:!0})],es.prototype,"checked",2),p([f({type:String})],es.prototype,"name",2);var Vc=es;var Kn=Y.constructTagName("cardradio");var hy=[G`
2017
+ `}};es.styles=[...pr.styles,...Vm],p([f({type:Boolean,reflect:!0})],es.prototype,"checked",2),p([f({type:String})],es.prototype,"name",2);var Vc=es;var Kn=Y.constructTagName("cardradio");var hy=[G`
2018
2018
  :host {
2019
2019
  display: block;
2020
2020
  position: relative;
@@ -2098,7 +2098,7 @@
2098
2098
  background-color: var(--mdc-staticradio-text-disabled-color);
2099
2099
  }
2100
2100
  `],Bm=hy;var rs=class extends zt(W){constructor(){super(...arguments);this.checked=!1;this.readonly=!1}render(){return k` <slot></slot>
2101
- <span part="radio-icon" class="icon"></span>`}};rs.styles=[...W.styles,...Bm],p([f({type:Boolean,reflect:!0})],rs.prototype,"checked",2),p([f({type:Boolean,reflect:!0})],rs.prototype,"readonly",2);var Bc=rs;var Um=Y.constructTagName("staticradio");Bc.register(Um);var py=Bc;Vc.register(Kn);var my=Vc;var Nr=Math.min,Ee=Math.max,ca=Math.round,da=Math.floor,ur=l=>({x:l,y:l}),uy={left:"right",right:"left",bottom:"top",top:"bottom"},fy={start:"end",end:"start"};function Xn(l,i,t){return Ee(l,Nr(i,t))}function to(l,i){return typeof l=="function"?l(i):l}function Qr(l){return l.split("-")[0]}function eo(l){return l.split("-")[1]}function Uc(l){return l==="x"?"y":"x"}function Qn(l){return l==="y"?"height":"width"}var vy=new Set(["top","bottom"]);function Lr(l){return vy.has(Qr(l))?"y":"x"}function Jn(l){return Uc(Lr(l))}function Ym(l,i,t){t===void 0&&(t=!1);let o=eo(l),a=Jn(l),h=Qn(a),m=a==="x"?o===(t?"end":"start")?"right":"left":o==="start"?"bottom":"top";return i.reference[h]>i.floating[h]&&(m=la(m)),[m,la(m)]}function Wm(l){let i=la(l);return[Zn(l),i,Zn(i)]}function Zn(l){return l.replace(/start|end/g,i=>fy[i])}var Hm=["left","right"],Gm=["right","left"],gy=["top","bottom"],by=["bottom","top"];function yy(l,i,t){switch(l){case"top":case"bottom":return t?i?Gm:Hm:i?Hm:Gm;case"left":case"right":return i?gy:by;default:return[]}}function jm(l,i,t,o){let a=eo(l),h=yy(Qr(l),t==="start",o);return a&&(h=h.map(m=>m+"-"+a),i&&(h=h.concat(h.map(Zn)))),h}function la(l){return l.replace(/left|right|bottom|top/g,i=>uy[i])}function Ey(l){return{top:0,right:0,bottom:0,left:0,...l}}function Hc(l){return typeof l!="number"?Ey(l):{top:l,right:l,bottom:l,left:l}}function ro(l){let{x:i,y:t,width:o,height:a}=l;return{width:o,height:a,top:t,left:i,right:i+o,bottom:t+a,x:i,y:t}}function qm(l,i,t){let{reference:o,floating:a}=l,h=Lr(i),m=Jn(i),T=Qn(m),N=Qr(i),$=h==="y",q=o.x+o.width/2-a.width/2,K=o.y+o.height/2-a.height/2,nt=o[T]/2-a[T]/2,Q;switch(N){case"top":Q={x:q,y:o.y-a.height};break;case"bottom":Q={x:q,y:o.y+o.height};break;case"right":Q={x:o.x+o.width,y:K};break;case"left":Q={x:o.x-a.width,y:K};break;default:Q={x:o.x,y:o.y}}switch(eo(i)){case"start":Q[m]-=nt*(t&&$?-1:1);break;case"end":Q[m]+=nt*(t&&$?-1:1);break}return Q}var Km=async(l,i,t)=>{let{placement:o="bottom",strategy:a="absolute",middleware:h=[],platform:m}=t,T=h.filter(Boolean),N=await(m.isRTL==null?void 0:m.isRTL(i)),$=await m.getElementRects({reference:l,floating:i,strategy:a}),{x:q,y:K}=qm($,o,N),nt=o,Q={},rt=0;for(let dt=0;dt<T.length;dt++){let{name:ut,fn:Tt}=T[dt],{x:St,y:Ct,data:Gt,reset:Ft}=await Tt({x:q,y:K,initialPlacement:o,placement:nt,strategy:a,middlewareData:Q,rects:$,platform:m,elements:{reference:l,floating:i}});q=St!=null?St:q,K=Ct!=null?Ct:K,Q={...Q,[ut]:{...Q[ut],...Gt}},Ft&&rt<=50&&(rt++,typeof Ft=="object"&&(Ft.placement&&(nt=Ft.placement),Ft.rects&&($=Ft.rects===!0?await m.getElementRects({reference:l,floating:i,strategy:a}):Ft.rects),{x:q,y:K}=qm($,nt,N)),dt=-1)}return{x:q,y:K,placement:nt,strategy:a,middlewareData:Q}};async function tl(l,i){var t;i===void 0&&(i={});let{x:o,y:a,platform:h,rects:m,elements:T,strategy:N}=l,{boundary:$="clippingAncestors",rootBoundary:q="viewport",elementContext:K="floating",altBoundary:nt=!1,padding:Q=0}=to(i,l),rt=Hc(Q),ut=T[nt?K==="floating"?"reference":"floating":K],Tt=ro(await h.getClippingRect({element:(t=await(h.isElement==null?void 0:h.isElement(ut)))==null||t?ut:ut.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(T.floating)),boundary:$,rootBoundary:q,strategy:N})),St=K==="floating"?{x:o,y:a,width:m.floating.width,height:m.floating.height}:m.reference,Ct=await(h.getOffsetParent==null?void 0:h.getOffsetParent(T.floating)),Gt=await(h.isElement==null?void 0:h.isElement(Ct))?await(h.getScale==null?void 0:h.getScale(Ct))||{x:1,y:1}:{x:1,y:1},Ft=ro(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:T,rect:St,offsetParent:Ct,strategy:N}):St);return{top:(Tt.top-Ft.top+rt.top)/Gt.y,bottom:(Ft.bottom-Tt.bottom+rt.bottom)/Gt.y,left:(Tt.left-Ft.left+rt.left)/Gt.x,right:(Ft.right-Tt.right+rt.right)/Gt.x}}var Zm=l=>({name:"arrow",options:l,async fn(i){let{x:t,y:o,placement:a,rects:h,platform:m,elements:T,middlewareData:N}=i,{element:$,padding:q=0}=to(l,i)||{};if($==null)return{};let K=Hc(q),nt={x:t,y:o},Q=Jn(a),rt=Qn(Q),dt=await m.getDimensions($),ut=Q==="y",Tt=ut?"top":"left",St=ut?"bottom":"right",Ct=ut?"clientHeight":"clientWidth",Gt=h.reference[rt]+h.reference[Q]-nt[Q]-h.floating[rt],Ft=nt[Q]-h.reference[Q],Vt=await(m.getOffsetParent==null?void 0:m.getOffsetParent($)),qt=Vt?Vt[Ct]:0;(!qt||!await(m.isElement==null?void 0:m.isElement(Vt)))&&(qt=T.floating[Ct]||h.floating[rt]);let oe=Gt/2-Ft/2,sr=qt/2-dt[rt]/2-1,Ie=Nr(K[Tt],sr),Be=Nr(K[St],sr),ar=Ie,nr=qt-dt[rt]-Be,It=qt/2-dt[rt]/2+oe,ce=Xn(ar,It,nr),Ue=!N.arrow&&eo(a)!=null&&It!==ce&&h.reference[rt]/2-(It<ar?Ie:Be)-dt[rt]/2<0,He=Ue?It<ar?It-ar:It-nr:0;return{[Q]:nt[Q]+He,data:{[Q]:ce,centerOffset:It-ce-He,...Ue&&{alignmentOffset:He}},reset:Ue}}});var Xm=function(l){return l===void 0&&(l={}),{name:"flip",options:l,async fn(i){var t,o;let{placement:a,middlewareData:h,rects:m,initialPlacement:T,platform:N,elements:$}=i,{mainAxis:q=!0,crossAxis:K=!0,fallbackPlacements:nt,fallbackStrategy:Q="bestFit",fallbackAxisSideDirection:rt="none",flipAlignment:dt=!0,...ut}=to(l,i);if((t=h.arrow)!=null&&t.alignmentOffset)return{};let Tt=Qr(a),St=Lr(T),Ct=Qr(T)===T,Gt=await(N.isRTL==null?void 0:N.isRTL($.floating)),Ft=nt||(Ct||!dt?[la(T)]:Wm(T)),Vt=rt!=="none";!nt&&Vt&&Ft.push(...jm(T,dt,rt,Gt));let qt=[T,...Ft],oe=await tl(i,ut),sr=[],Ie=((o=h.flip)==null?void 0:o.overflows)||[];if(q&&sr.push(oe[Tt]),K){let It=Ym(a,m,Gt);sr.push(oe[It[0]],oe[It[1]])}if(Ie=[...Ie,{placement:a,overflows:sr}],!sr.every(It=>It<=0)){var Be,ar;let It=(((Be=h.flip)==null?void 0:Be.index)||0)+1,ce=qt[It];if(ce&&(!(K==="alignment"?St!==Lr(ce):!1)||Ie.every(Ge=>Ge.overflows[0]>0&&Lr(Ge.placement)===St)))return{data:{index:It,overflows:Ie},reset:{placement:ce}};let Ue=(ar=Ie.filter(He=>He.overflows[0]<=0).sort((He,Ge)=>He.overflows[1]-Ge.overflows[1])[0])==null?void 0:ar.placement;if(!Ue)switch(Q){case"bestFit":{var nr;let He=(nr=Ie.filter(Ge=>{if(Vt){let Ye=Lr(Ge.placement);return Ye===St||Ye==="y"}return!0}).map(Ge=>[Ge.placement,Ge.overflows.filter(Ye=>Ye>0).reduce((Ye,Va)=>Ye+Va,0)]).sort((Ge,Ye)=>Ge[1]-Ye[1])[0])==null?void 0:nr[0];He&&(Ue=He);break}case"initialPlacement":Ue=T;break}if(a!==Ue)return{reset:{placement:Ue}}}return{}}}};var Ty=new Set(["left","top"]);async function xy(l,i){let{placement:t,platform:o,elements:a}=l,h=await(o.isRTL==null?void 0:o.isRTL(a.floating)),m=Qr(t),T=eo(t),N=Lr(t)==="y",$=Ty.has(m)?-1:1,q=h&&N?-1:1,K=to(i,l),{mainAxis:nt,crossAxis:Q,alignmentAxis:rt}=typeof K=="number"?{mainAxis:K,crossAxis:0,alignmentAxis:null}:{mainAxis:K.mainAxis||0,crossAxis:K.crossAxis||0,alignmentAxis:K.alignmentAxis};return T&&typeof rt=="number"&&(Q=T==="end"?rt*-1:rt),N?{x:Q*q,y:nt*$}:{x:nt*$,y:Q*q}}var Qm=function(l){return l===void 0&&(l=0),{name:"offset",options:l,async fn(i){var t,o;let{x:a,y:h,placement:m,middlewareData:T}=i,N=await xy(i,l);return m===((t=T.offset)==null?void 0:t.placement)&&(o=T.arrow)!=null&&o.alignmentOffset?{}:{x:a+N.x,y:h+N.y,data:{...N,placement:m}}}}},Jm=function(l){return l===void 0&&(l={}),{name:"shift",options:l,async fn(i){let{x:t,y:o,placement:a}=i,{mainAxis:h=!0,crossAxis:m=!1,limiter:T={fn:ut=>{let{x:Tt,y:St}=ut;return{x:Tt,y:St}}},...N}=to(l,i),$={x:t,y:o},q=await tl(i,N),K=Lr(Qr(a)),nt=Uc(K),Q=$[nt],rt=$[K];if(h){let ut=nt==="y"?"top":"left",Tt=nt==="y"?"bottom":"right",St=Q+q[ut],Ct=Q-q[Tt];Q=Xn(St,Q,Ct)}if(m){let ut=K==="y"?"top":"left",Tt=K==="y"?"bottom":"right",St=rt+q[ut],Ct=rt-q[Tt];rt=Xn(St,rt,Ct)}let dt=T.fn({...i,[nt]:Q,[K]:rt});return{...dt,data:{x:dt.x-t,y:dt.y-o,enabled:{[nt]:h,[K]:m}}}}}};var tu=function(l){return l===void 0&&(l={}),{name:"size",options:l,async fn(i){var t,o;let{placement:a,rects:h,platform:m,elements:T}=i,{apply:N=()=>{},...$}=to(l,i),q=await tl(i,$),K=Qr(a),nt=eo(a),Q=Lr(a)==="y",{width:rt,height:dt}=h.floating,ut,Tt;K==="top"||K==="bottom"?(ut=K,Tt=nt===(await(m.isRTL==null?void 0:m.isRTL(T.floating))?"start":"end")?"left":"right"):(Tt=K,ut=nt==="end"?"top":"bottom");let St=dt-q.top-q.bottom,Ct=rt-q.left-q.right,Gt=Nr(dt-q[ut],St),Ft=Nr(rt-q[Tt],Ct),Vt=!i.middlewareData.shift,qt=Gt,oe=Ft;if((t=i.middlewareData.shift)!=null&&t.enabled.x&&(oe=Ct),(o=i.middlewareData.shift)!=null&&o.enabled.y&&(qt=St),Vt&&!nt){let Ie=Ee(q.left,0),Be=Ee(q.right,0),ar=Ee(q.top,0),nr=Ee(q.bottom,0);Q?oe=rt-2*(Ie!==0||Be!==0?Ie+Be:Ee(q.left,q.right)):qt=dt-2*(ar!==0||nr!==0?ar+nr:Ee(q.top,q.bottom))}await N({...i,availableWidth:oe,availableHeight:qt});let sr=await m.getDimensions(T.floating);return rt!==sr.width||dt!==sr.height?{reset:{rects:!0}}:{}}}};function el(){return typeof window<"u"}function io(l){return ru(l)?(l.nodeName||"").toLowerCase():"#document"}function Oe(l){var i;return(l==null||(i=l.ownerDocument)==null?void 0:i.defaultView)||window}function fr(l){var i;return(i=(ru(l)?l.ownerDocument:l.document)||window.document)==null?void 0:i.documentElement}function ru(l){return el()?l instanceof Node||l instanceof Oe(l).Node:!1}function Xe(l){return el()?l instanceof Element||l instanceof Oe(l).Element:!1}function vr(l){return el()?l instanceof HTMLElement||l instanceof Oe(l).HTMLElement:!1}function eu(l){return!el()||typeof ShadowRoot>"u"?!1:l instanceof ShadowRoot||l instanceof Oe(l).ShadowRoot}var Ay=new Set(["inline","contents"]);function os(l){let{overflow:i,overflowX:t,overflowY:o,display:a}=Qe(l);return/auto|scroll|overlay|hidden|clip/.test(i+o+t)&&!Ay.has(a)}var Sy=new Set(["table","td","th"]);function iu(l){return Sy.has(io(l))}var _y=[":popover-open",":modal"];function ha(l){return _y.some(i=>{try{return l.matches(i)}catch{return!1}})}var Iy=["transform","translate","scale","rotate","perspective"],ky=["transform","translate","scale","rotate","perspective","filter"],Cy=["paint","layout","strict","content"];function rl(l){let i=il(),t=Xe(l)?Qe(l):l;return Iy.some(o=>t[o]?t[o]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!i&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!i&&(t.filter?t.filter!=="none":!1)||ky.some(o=>(t.willChange||"").includes(o))||Cy.some(o=>(t.contain||"").includes(o))}function ou(l){let i=Jr(l);for(;vr(i)&&!oo(i);){if(rl(i))return i;if(ha(i))return null;i=Jr(i)}return null}function il(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var wy=new Set(["html","body","#document"]);function oo(l){return wy.has(io(l))}function Qe(l){return Oe(l).getComputedStyle(l)}function pa(l){return Xe(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:{scrollLeft:l.scrollX,scrollTop:l.scrollY}}function Jr(l){if(io(l)==="html")return l;let i=l.assignedSlot||l.parentNode||eu(l)&&l.host||fr(l);return eu(i)?i.host:i}function su(l){let i=Jr(l);return oo(i)?l.ownerDocument?l.ownerDocument.body:l.body:vr(i)&&os(i)?i:su(i)}function is(l,i,t){var o;i===void 0&&(i=[]),t===void 0&&(t=!0);let a=su(l),h=a===((o=l.ownerDocument)==null?void 0:o.body),m=Oe(a);if(h){let T=ol(m);return i.concat(m,m.visualViewport||[],os(a)?a:[],T&&t?is(T):[])}return i.concat(a,is(a,[],t))}function ol(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameElement:null}function lu(l){let i=Qe(l),t=parseFloat(i.width)||0,o=parseFloat(i.height)||0,a=vr(l),h=a?l.offsetWidth:t,m=a?l.offsetHeight:o,T=ca(t)!==h||ca(o)!==m;return T&&(t=h,o=m),{width:t,height:o,$:T}}function Yc(l){return Xe(l)?l:l.contextElement}function ss(l){let i=Yc(l);if(!vr(i))return ur(1);let t=i.getBoundingClientRect(),{width:o,height:a,$:h}=lu(i),m=(h?ca(t.width):t.width)/o,T=(h?ca(t.height):t.height)/a;return(!m||!Number.isFinite(m))&&(m=1),(!T||!Number.isFinite(T))&&(T=1),{x:m,y:T}}var Ny=ur(0);function cu(l){let i=Oe(l);return!il()||!i.visualViewport?Ny:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function Ly(l,i,t){return i===void 0&&(i=!1),!t||i&&t!==Oe(l)?!1:i}function so(l,i,t,o){i===void 0&&(i=!1),t===void 0&&(t=!1);let a=l.getBoundingClientRect(),h=Yc(l),m=ur(1);i&&(o?Xe(o)&&(m=ss(o)):m=ss(l));let T=Ly(h,t,o)?cu(h):ur(0),N=(a.left+T.x)/m.x,$=(a.top+T.y)/m.y,q=a.width/m.x,K=a.height/m.y;if(h){let nt=Oe(h),Q=o&&Xe(o)?Oe(o):o,rt=nt,dt=ol(rt);for(;dt&&o&&Q!==rt;){let ut=ss(dt),Tt=dt.getBoundingClientRect(),St=Qe(dt),Ct=Tt.left+(dt.clientLeft+parseFloat(St.paddingLeft))*ut.x,Gt=Tt.top+(dt.clientTop+parseFloat(St.paddingTop))*ut.y;N*=ut.x,$*=ut.y,q*=ut.x,K*=ut.y,N+=Ct,$+=Gt,rt=Oe(dt),dt=ol(rt)}}return ro({width:q,height:K,x:N,y:$})}function Wc(l,i){let t=pa(l).scrollLeft;return i?i.left+t:so(fr(l)).left+t}function du(l,i,t){t===void 0&&(t=!1);let o=l.getBoundingClientRect(),a=o.left+i.scrollLeft-(t?0:Wc(l,o)),h=o.top+i.scrollTop;return{x:a,y:h}}function Ry(l){let{elements:i,rect:t,offsetParent:o,strategy:a}=l,h=a==="fixed",m=fr(o),T=i?ha(i.floating):!1;if(o===m||T&&h)return t;let N={scrollLeft:0,scrollTop:0},$=ur(1),q=ur(0),K=vr(o);if((K||!K&&!h)&&((io(o)!=="body"||os(m))&&(N=pa(o)),vr(o))){let Q=so(o);$=ss(o),q.x=Q.x+o.clientLeft,q.y=Q.y+o.clientTop}let nt=m&&!K&&!h?du(m,N,!0):ur(0);return{width:t.width*$.x,height:t.height*$.y,x:t.x*$.x-N.scrollLeft*$.x+q.x+nt.x,y:t.y*$.y-N.scrollTop*$.y+q.y+nt.y}}function My(l){return Array.from(l.getClientRects())}function Oy(l){let i=fr(l),t=pa(l),o=l.ownerDocument.body,a=Ee(i.scrollWidth,i.clientWidth,o.scrollWidth,o.clientWidth),h=Ee(i.scrollHeight,i.clientHeight,o.scrollHeight,o.clientHeight),m=-t.scrollLeft+Wc(l),T=-t.scrollTop;return Qe(o).direction==="rtl"&&(m+=Ee(i.clientWidth,o.clientWidth)-a),{width:a,height:h,x:m,y:T}}function Py(l,i){let t=Oe(l),o=fr(l),a=t.visualViewport,h=o.clientWidth,m=o.clientHeight,T=0,N=0;if(a){h=a.width,m=a.height;let $=il();(!$||$&&i==="fixed")&&(T=a.offsetLeft,N=a.offsetTop)}return{width:h,height:m,x:T,y:N}}var Dy=new Set(["absolute","fixed"]);function Fy(l,i){let t=so(l,!0,i==="fixed"),o=t.top+l.clientTop,a=t.left+l.clientLeft,h=vr(l)?ss(l):ur(1),m=l.clientWidth*h.x,T=l.clientHeight*h.y,N=a*h.x,$=o*h.y;return{width:m,height:T,x:N,y:$}}function au(l,i,t){let o;if(i==="viewport")o=Py(l,t);else if(i==="document")o=Oy(fr(l));else if(Xe(i))o=Fy(i,t);else{let a=cu(l);o={x:i.x-a.x,y:i.y-a.y,width:i.width,height:i.height}}return ro(o)}function hu(l,i){let t=Jr(l);return t===i||!Xe(t)||oo(t)?!1:Qe(t).position==="fixed"||hu(t,i)}function $y(l,i){let t=i.get(l);if(t)return t;let o=is(l,[],!1).filter(T=>Xe(T)&&io(T)!=="body"),a=null,h=Qe(l).position==="fixed",m=h?Jr(l):l;for(;Xe(m)&&!oo(m);){let T=Qe(m),N=rl(m);!N&&T.position==="fixed"&&(a=null),(h?!N&&!a:!N&&T.position==="static"&&!!a&&Dy.has(a.position)||os(m)&&!N&&hu(l,m))?o=o.filter(q=>q!==m):a=T,m=Jr(m)}return i.set(l,o),o}function zy(l){let{element:i,boundary:t,rootBoundary:o,strategy:a}=l,m=[...t==="clippingAncestors"?ha(i)?[]:$y(i,this._c):[].concat(t),o],T=m[0],N=m.reduce(($,q)=>{let K=au(i,q,a);return $.top=Ee(K.top,$.top),$.right=Nr(K.right,$.right),$.bottom=Nr(K.bottom,$.bottom),$.left=Ee(K.left,$.left),$},au(i,T,a));return{width:N.right-N.left,height:N.bottom-N.top,x:N.left,y:N.top}}function Vy(l){let{width:i,height:t}=lu(l);return{width:i,height:t}}function By(l,i,t){let o=vr(i),a=fr(i),h=t==="fixed",m=so(l,!0,h,i),T={scrollLeft:0,scrollTop:0},N=ur(0);function $(){N.x=Wc(a)}if(o||!o&&!h)if((io(i)!=="body"||os(a))&&(T=pa(i)),o){let Q=so(i,!0,h,i);N.x=Q.x+i.clientLeft,N.y=Q.y+i.clientTop}else a&&$();h&&!o&&a&&$();let q=a&&!o&&!h?du(a,T):ur(0),K=m.left+T.scrollLeft-N.x-q.x,nt=m.top+T.scrollTop-N.y-q.y;return{x:K,y:nt,width:m.width,height:m.height}}function Gc(l){return Qe(l).position==="static"}function nu(l,i){if(!vr(l)||Qe(l).position==="fixed")return null;if(i)return i(l);let t=l.offsetParent;return fr(l)===t&&(t=t.ownerDocument.body),t}function pu(l,i){let t=Oe(l);if(ha(l))return t;if(!vr(l)){let a=Jr(l);for(;a&&!oo(a);){if(Xe(a)&&!Gc(a))return a;a=Jr(a)}return t}let o=nu(l,i);for(;o&&iu(o)&&Gc(o);)o=nu(o,i);return o&&oo(o)&&Gc(o)&&!rl(o)?t:o||ou(l)||t}var Uy=async function(l){let i=this.getOffsetParent||pu,t=this.getDimensions,o=await t(l.floating);return{reference:By(l.reference,await i(l.floating),l.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Hy(l){return Qe(l).direction==="rtl"}var Gy={convertOffsetParentRelativeRectToViewportRelativeRect:Ry,getDocumentElement:fr,getClippingRect:zy,getOffsetParent:pu,getElementRects:Uy,getClientRects:My,getDimensions:Vy,getScale:ss,isElement:Xe,isRTL:Hy};function mu(l,i){return l.x===i.x&&l.y===i.y&&l.width===i.width&&l.height===i.height}function Yy(l,i){let t=null,o,a=fr(l);function h(){var T;clearTimeout(o),(T=t)==null||T.disconnect(),t=null}function m(T,N){T===void 0&&(T=!1),N===void 0&&(N=1),h();let $=l.getBoundingClientRect(),{left:q,top:K,width:nt,height:Q}=$;if(T||i(),!nt||!Q)return;let rt=da(K),dt=da(a.clientWidth-(q+nt)),ut=da(a.clientHeight-(K+Q)),Tt=da(q),Ct={rootMargin:-rt+"px "+-dt+"px "+-ut+"px "+-Tt+"px",threshold:Ee(0,Nr(1,N))||1},Gt=!0;function Ft(Vt){let qt=Vt[0].intersectionRatio;if(qt!==N){if(!Gt)return m();qt?m(!1,qt):o=setTimeout(()=>{m(!1,1e-7)},1e3)}qt===1&&!mu($,l.getBoundingClientRect())&&m(),Gt=!1}try{t=new IntersectionObserver(Ft,{...Ct,root:a.ownerDocument})}catch{t=new IntersectionObserver(Ft,Ct)}t.observe(l)}return m(!0),h}function uu(l,i,t,o){o===void 0&&(o={});let{ancestorScroll:a=!0,ancestorResize:h=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:T=typeof IntersectionObserver=="function",animationFrame:N=!1}=o,$=Yc(l),q=a||h?[...$?is($):[],...is(i)]:[];q.forEach(Tt=>{a&&Tt.addEventListener("scroll",t,{passive:!0}),h&&Tt.addEventListener("resize",t)});let K=$&&T?Yy($,t):null,nt=-1,Q=null;m&&(Q=new ResizeObserver(Tt=>{let[St]=Tt;St&&St.target===$&&Q&&(Q.unobserve(i),cancelAnimationFrame(nt),nt=requestAnimationFrame(()=>{var Ct;(Ct=Q)==null||Ct.observe(i)})),t()}),$&&!N&&Q.observe($),Q.observe(i));let rt,dt=N?so(l):null;N&&ut();function ut(){let Tt=so(l);dt&&!mu(dt,Tt)&&t(),dt=Tt,rt=requestAnimationFrame(ut)}return t(),()=>{var Tt;q.forEach(St=>{a&&St.removeEventListener("scroll",t),h&&St.removeEventListener("resize",t)}),K==null||K(),(Tt=Q)==null||Tt.disconnect(),Q=null,N&&cancelAnimationFrame(rt)}}var fu=Qm;var vu=Jm,gu=Xm,bu=tu;var yu=Zm;var Eu=(l,i,t)=>{let o=new Map,a={platform:Gy,...t},h={...a.platform,_c:o};return Km(l,i,{...a,platform:h})};var sl=l=>{class i extends l{constructor(){super(...arguments);this.isBackdropInvisible=!1;this.backdropElement=null}createBackdrop(a){let h=document.createElement("div");h.classList.add(`${a}-backdrop`);let m=document.createElement("style");m.textContent=`
2101
+ <span part="radio-icon" class="icon"></span>`}};rs.styles=[...W.styles,...Bm],p([f({type:Boolean,reflect:!0})],rs.prototype,"checked",2),p([f({type:Boolean,reflect:!0})],rs.prototype,"readonly",2);var Bc=rs;var Um=Y.constructTagName("staticradio");Bc.register(Um);var py=Bc;Vc.register(Kn);var my=Vc;var Nr=Math.min,Ee=Math.max,ca=Math.round,da=Math.floor,mr=l=>({x:l,y:l}),uy={left:"right",right:"left",bottom:"top",top:"bottom"},fy={start:"end",end:"start"};function Xn(l,i,t){return Ee(l,Nr(i,t))}function to(l,i){return typeof l=="function"?l(i):l}function Qr(l){return l.split("-")[0]}function eo(l){return l.split("-")[1]}function Uc(l){return l==="x"?"y":"x"}function Qn(l){return l==="y"?"height":"width"}var vy=new Set(["top","bottom"]);function Lr(l){return vy.has(Qr(l))?"y":"x"}function Jn(l){return Uc(Lr(l))}function Ym(l,i,t){t===void 0&&(t=!1);let o=eo(l),a=Jn(l),h=Qn(a),m=a==="x"?o===(t?"end":"start")?"right":"left":o==="start"?"bottom":"top";return i.reference[h]>i.floating[h]&&(m=la(m)),[m,la(m)]}function Wm(l){let i=la(l);return[Zn(l),i,Zn(i)]}function Zn(l){return l.replace(/start|end/g,i=>fy[i])}var Hm=["left","right"],Gm=["right","left"],gy=["top","bottom"],by=["bottom","top"];function yy(l,i,t){switch(l){case"top":case"bottom":return t?i?Gm:Hm:i?Hm:Gm;case"left":case"right":return i?gy:by;default:return[]}}function jm(l,i,t,o){let a=eo(l),h=yy(Qr(l),t==="start",o);return a&&(h=h.map(m=>m+"-"+a),i&&(h=h.concat(h.map(Zn)))),h}function la(l){return l.replace(/left|right|bottom|top/g,i=>uy[i])}function Ey(l){return{top:0,right:0,bottom:0,left:0,...l}}function Hc(l){return typeof l!="number"?Ey(l):{top:l,right:l,bottom:l,left:l}}function ro(l){let{x:i,y:t,width:o,height:a}=l;return{width:o,height:a,top:t,left:i,right:i+o,bottom:t+a,x:i,y:t}}function qm(l,i,t){let{reference:o,floating:a}=l,h=Lr(i),m=Jn(i),T=Qn(m),N=Qr(i),$=h==="y",q=o.x+o.width/2-a.width/2,K=o.y+o.height/2-a.height/2,nt=o[T]/2-a[T]/2,Q;switch(N){case"top":Q={x:q,y:o.y-a.height};break;case"bottom":Q={x:q,y:o.y+o.height};break;case"right":Q={x:o.x+o.width,y:K};break;case"left":Q={x:o.x-a.width,y:K};break;default:Q={x:o.x,y:o.y}}switch(eo(i)){case"start":Q[m]-=nt*(t&&$?-1:1);break;case"end":Q[m]+=nt*(t&&$?-1:1);break}return Q}var Km=async(l,i,t)=>{let{placement:o="bottom",strategy:a="absolute",middleware:h=[],platform:m}=t,T=h.filter(Boolean),N=await(m.isRTL==null?void 0:m.isRTL(i)),$=await m.getElementRects({reference:l,floating:i,strategy:a}),{x:q,y:K}=qm($,o,N),nt=o,Q={},rt=0;for(let dt=0;dt<T.length;dt++){let{name:ut,fn:Tt}=T[dt],{x:St,y:Ct,data:Gt,reset:Ft}=await Tt({x:q,y:K,initialPlacement:o,placement:nt,strategy:a,middlewareData:Q,rects:$,platform:m,elements:{reference:l,floating:i}});q=St!=null?St:q,K=Ct!=null?Ct:K,Q={...Q,[ut]:{...Q[ut],...Gt}},Ft&&rt<=50&&(rt++,typeof Ft=="object"&&(Ft.placement&&(nt=Ft.placement),Ft.rects&&($=Ft.rects===!0?await m.getElementRects({reference:l,floating:i,strategy:a}):Ft.rects),{x:q,y:K}=qm($,nt,N)),dt=-1)}return{x:q,y:K,placement:nt,strategy:a,middlewareData:Q}};async function tl(l,i){var t;i===void 0&&(i={});let{x:o,y:a,platform:h,rects:m,elements:T,strategy:N}=l,{boundary:$="clippingAncestors",rootBoundary:q="viewport",elementContext:K="floating",altBoundary:nt=!1,padding:Q=0}=to(i,l),rt=Hc(Q),ut=T[nt?K==="floating"?"reference":"floating":K],Tt=ro(await h.getClippingRect({element:(t=await(h.isElement==null?void 0:h.isElement(ut)))==null||t?ut:ut.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(T.floating)),boundary:$,rootBoundary:q,strategy:N})),St=K==="floating"?{x:o,y:a,width:m.floating.width,height:m.floating.height}:m.reference,Ct=await(h.getOffsetParent==null?void 0:h.getOffsetParent(T.floating)),Gt=await(h.isElement==null?void 0:h.isElement(Ct))?await(h.getScale==null?void 0:h.getScale(Ct))||{x:1,y:1}:{x:1,y:1},Ft=ro(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:T,rect:St,offsetParent:Ct,strategy:N}):St);return{top:(Tt.top-Ft.top+rt.top)/Gt.y,bottom:(Ft.bottom-Tt.bottom+rt.bottom)/Gt.y,left:(Tt.left-Ft.left+rt.left)/Gt.x,right:(Ft.right-Tt.right+rt.right)/Gt.x}}var Zm=l=>({name:"arrow",options:l,async fn(i){let{x:t,y:o,placement:a,rects:h,platform:m,elements:T,middlewareData:N}=i,{element:$,padding:q=0}=to(l,i)||{};if($==null)return{};let K=Hc(q),nt={x:t,y:o},Q=Jn(a),rt=Qn(Q),dt=await m.getDimensions($),ut=Q==="y",Tt=ut?"top":"left",St=ut?"bottom":"right",Ct=ut?"clientHeight":"clientWidth",Gt=h.reference[rt]+h.reference[Q]-nt[Q]-h.floating[rt],Ft=nt[Q]-h.reference[Q],Vt=await(m.getOffsetParent==null?void 0:m.getOffsetParent($)),qt=Vt?Vt[Ct]:0;(!qt||!await(m.isElement==null?void 0:m.isElement(Vt)))&&(qt=T.floating[Ct]||h.floating[rt]);let oe=Gt/2-Ft/2,or=qt/2-dt[rt]/2-1,Ie=Nr(K[Tt],or),Be=Nr(K[St],or),sr=Ie,ar=qt-dt[rt]-Be,It=qt/2-dt[rt]/2+oe,ce=Xn(sr,It,ar),Ue=!N.arrow&&eo(a)!=null&&It!==ce&&h.reference[rt]/2-(It<sr?Ie:Be)-dt[rt]/2<0,He=Ue?It<sr?It-sr:It-ar:0;return{[Q]:nt[Q]+He,data:{[Q]:ce,centerOffset:It-ce-He,...Ue&&{alignmentOffset:He}},reset:Ue}}});var Xm=function(l){return l===void 0&&(l={}),{name:"flip",options:l,async fn(i){var t,o;let{placement:a,middlewareData:h,rects:m,initialPlacement:T,platform:N,elements:$}=i,{mainAxis:q=!0,crossAxis:K=!0,fallbackPlacements:nt,fallbackStrategy:Q="bestFit",fallbackAxisSideDirection:rt="none",flipAlignment:dt=!0,...ut}=to(l,i);if((t=h.arrow)!=null&&t.alignmentOffset)return{};let Tt=Qr(a),St=Lr(T),Ct=Qr(T)===T,Gt=await(N.isRTL==null?void 0:N.isRTL($.floating)),Ft=nt||(Ct||!dt?[la(T)]:Wm(T)),Vt=rt!=="none";!nt&&Vt&&Ft.push(...jm(T,dt,rt,Gt));let qt=[T,...Ft],oe=await tl(i,ut),or=[],Ie=((o=h.flip)==null?void 0:o.overflows)||[];if(q&&or.push(oe[Tt]),K){let It=Ym(a,m,Gt);or.push(oe[It[0]],oe[It[1]])}if(Ie=[...Ie,{placement:a,overflows:or}],!or.every(It=>It<=0)){var Be,sr;let It=(((Be=h.flip)==null?void 0:Be.index)||0)+1,ce=qt[It];if(ce&&(!(K==="alignment"?St!==Lr(ce):!1)||Ie.every(Ge=>Ge.overflows[0]>0&&Lr(Ge.placement)===St)))return{data:{index:It,overflows:Ie},reset:{placement:ce}};let Ue=(sr=Ie.filter(He=>He.overflows[0]<=0).sort((He,Ge)=>He.overflows[1]-Ge.overflows[1])[0])==null?void 0:sr.placement;if(!Ue)switch(Q){case"bestFit":{var ar;let He=(ar=Ie.filter(Ge=>{if(Vt){let Ye=Lr(Ge.placement);return Ye===St||Ye==="y"}return!0}).map(Ge=>[Ge.placement,Ge.overflows.filter(Ye=>Ye>0).reduce((Ye,Va)=>Ye+Va,0)]).sort((Ge,Ye)=>Ge[1]-Ye[1])[0])==null?void 0:ar[0];He&&(Ue=He);break}case"initialPlacement":Ue=T;break}if(a!==Ue)return{reset:{placement:Ue}}}return{}}}};var Ty=new Set(["left","top"]);async function xy(l,i){let{placement:t,platform:o,elements:a}=l,h=await(o.isRTL==null?void 0:o.isRTL(a.floating)),m=Qr(t),T=eo(t),N=Lr(t)==="y",$=Ty.has(m)?-1:1,q=h&&N?-1:1,K=to(i,l),{mainAxis:nt,crossAxis:Q,alignmentAxis:rt}=typeof K=="number"?{mainAxis:K,crossAxis:0,alignmentAxis:null}:{mainAxis:K.mainAxis||0,crossAxis:K.crossAxis||0,alignmentAxis:K.alignmentAxis};return T&&typeof rt=="number"&&(Q=T==="end"?rt*-1:rt),N?{x:Q*q,y:nt*$}:{x:nt*$,y:Q*q}}var Qm=function(l){return l===void 0&&(l=0),{name:"offset",options:l,async fn(i){var t,o;let{x:a,y:h,placement:m,middlewareData:T}=i,N=await xy(i,l);return m===((t=T.offset)==null?void 0:t.placement)&&(o=T.arrow)!=null&&o.alignmentOffset?{}:{x:a+N.x,y:h+N.y,data:{...N,placement:m}}}}},Jm=function(l){return l===void 0&&(l={}),{name:"shift",options:l,async fn(i){let{x:t,y:o,placement:a}=i,{mainAxis:h=!0,crossAxis:m=!1,limiter:T={fn:ut=>{let{x:Tt,y:St}=ut;return{x:Tt,y:St}}},...N}=to(l,i),$={x:t,y:o},q=await tl(i,N),K=Lr(Qr(a)),nt=Uc(K),Q=$[nt],rt=$[K];if(h){let ut=nt==="y"?"top":"left",Tt=nt==="y"?"bottom":"right",St=Q+q[ut],Ct=Q-q[Tt];Q=Xn(St,Q,Ct)}if(m){let ut=K==="y"?"top":"left",Tt=K==="y"?"bottom":"right",St=rt+q[ut],Ct=rt-q[Tt];rt=Xn(St,rt,Ct)}let dt=T.fn({...i,[nt]:Q,[K]:rt});return{...dt,data:{x:dt.x-t,y:dt.y-o,enabled:{[nt]:h,[K]:m}}}}}};var tu=function(l){return l===void 0&&(l={}),{name:"size",options:l,async fn(i){var t,o;let{placement:a,rects:h,platform:m,elements:T}=i,{apply:N=()=>{},...$}=to(l,i),q=await tl(i,$),K=Qr(a),nt=eo(a),Q=Lr(a)==="y",{width:rt,height:dt}=h.floating,ut,Tt;K==="top"||K==="bottom"?(ut=K,Tt=nt===(await(m.isRTL==null?void 0:m.isRTL(T.floating))?"start":"end")?"left":"right"):(Tt=K,ut=nt==="end"?"top":"bottom");let St=dt-q.top-q.bottom,Ct=rt-q.left-q.right,Gt=Nr(dt-q[ut],St),Ft=Nr(rt-q[Tt],Ct),Vt=!i.middlewareData.shift,qt=Gt,oe=Ft;if((t=i.middlewareData.shift)!=null&&t.enabled.x&&(oe=Ct),(o=i.middlewareData.shift)!=null&&o.enabled.y&&(qt=St),Vt&&!nt){let Ie=Ee(q.left,0),Be=Ee(q.right,0),sr=Ee(q.top,0),ar=Ee(q.bottom,0);Q?oe=rt-2*(Ie!==0||Be!==0?Ie+Be:Ee(q.left,q.right)):qt=dt-2*(sr!==0||ar!==0?sr+ar:Ee(q.top,q.bottom))}await N({...i,availableWidth:oe,availableHeight:qt});let or=await m.getDimensions(T.floating);return rt!==or.width||dt!==or.height?{reset:{rects:!0}}:{}}}};function el(){return typeof window<"u"}function io(l){return ru(l)?(l.nodeName||"").toLowerCase():"#document"}function Oe(l){var i;return(l==null||(i=l.ownerDocument)==null?void 0:i.defaultView)||window}function ur(l){var i;return(i=(ru(l)?l.ownerDocument:l.document)||window.document)==null?void 0:i.documentElement}function ru(l){return el()?l instanceof Node||l instanceof Oe(l).Node:!1}function Xe(l){return el()?l instanceof Element||l instanceof Oe(l).Element:!1}function fr(l){return el()?l instanceof HTMLElement||l instanceof Oe(l).HTMLElement:!1}function eu(l){return!el()||typeof ShadowRoot>"u"?!1:l instanceof ShadowRoot||l instanceof Oe(l).ShadowRoot}var Ay=new Set(["inline","contents"]);function os(l){let{overflow:i,overflowX:t,overflowY:o,display:a}=Qe(l);return/auto|scroll|overlay|hidden|clip/.test(i+o+t)&&!Ay.has(a)}var Sy=new Set(["table","td","th"]);function iu(l){return Sy.has(io(l))}var _y=[":popover-open",":modal"];function ha(l){return _y.some(i=>{try{return l.matches(i)}catch{return!1}})}var Iy=["transform","translate","scale","rotate","perspective"],ky=["transform","translate","scale","rotate","perspective","filter"],Cy=["paint","layout","strict","content"];function rl(l){let i=il(),t=Xe(l)?Qe(l):l;return Iy.some(o=>t[o]?t[o]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!i&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!i&&(t.filter?t.filter!=="none":!1)||ky.some(o=>(t.willChange||"").includes(o))||Cy.some(o=>(t.contain||"").includes(o))}function ou(l){let i=Jr(l);for(;fr(i)&&!oo(i);){if(rl(i))return i;if(ha(i))return null;i=Jr(i)}return null}function il(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var wy=new Set(["html","body","#document"]);function oo(l){return wy.has(io(l))}function Qe(l){return Oe(l).getComputedStyle(l)}function pa(l){return Xe(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:{scrollLeft:l.scrollX,scrollTop:l.scrollY}}function Jr(l){if(io(l)==="html")return l;let i=l.assignedSlot||l.parentNode||eu(l)&&l.host||ur(l);return eu(i)?i.host:i}function su(l){let i=Jr(l);return oo(i)?l.ownerDocument?l.ownerDocument.body:l.body:fr(i)&&os(i)?i:su(i)}function is(l,i,t){var o;i===void 0&&(i=[]),t===void 0&&(t=!0);let a=su(l),h=a===((o=l.ownerDocument)==null?void 0:o.body),m=Oe(a);if(h){let T=ol(m);return i.concat(m,m.visualViewport||[],os(a)?a:[],T&&t?is(T):[])}return i.concat(a,is(a,[],t))}function ol(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameElement:null}function lu(l){let i=Qe(l),t=parseFloat(i.width)||0,o=parseFloat(i.height)||0,a=fr(l),h=a?l.offsetWidth:t,m=a?l.offsetHeight:o,T=ca(t)!==h||ca(o)!==m;return T&&(t=h,o=m),{width:t,height:o,$:T}}function Yc(l){return Xe(l)?l:l.contextElement}function ss(l){let i=Yc(l);if(!fr(i))return mr(1);let t=i.getBoundingClientRect(),{width:o,height:a,$:h}=lu(i),m=(h?ca(t.width):t.width)/o,T=(h?ca(t.height):t.height)/a;return(!m||!Number.isFinite(m))&&(m=1),(!T||!Number.isFinite(T))&&(T=1),{x:m,y:T}}var Ny=mr(0);function cu(l){let i=Oe(l);return!il()||!i.visualViewport?Ny:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function Ly(l,i,t){return i===void 0&&(i=!1),!t||i&&t!==Oe(l)?!1:i}function so(l,i,t,o){i===void 0&&(i=!1),t===void 0&&(t=!1);let a=l.getBoundingClientRect(),h=Yc(l),m=mr(1);i&&(o?Xe(o)&&(m=ss(o)):m=ss(l));let T=Ly(h,t,o)?cu(h):mr(0),N=(a.left+T.x)/m.x,$=(a.top+T.y)/m.y,q=a.width/m.x,K=a.height/m.y;if(h){let nt=Oe(h),Q=o&&Xe(o)?Oe(o):o,rt=nt,dt=ol(rt);for(;dt&&o&&Q!==rt;){let ut=ss(dt),Tt=dt.getBoundingClientRect(),St=Qe(dt),Ct=Tt.left+(dt.clientLeft+parseFloat(St.paddingLeft))*ut.x,Gt=Tt.top+(dt.clientTop+parseFloat(St.paddingTop))*ut.y;N*=ut.x,$*=ut.y,q*=ut.x,K*=ut.y,N+=Ct,$+=Gt,rt=Oe(dt),dt=ol(rt)}}return ro({width:q,height:K,x:N,y:$})}function Wc(l,i){let t=pa(l).scrollLeft;return i?i.left+t:so(ur(l)).left+t}function du(l,i,t){t===void 0&&(t=!1);let o=l.getBoundingClientRect(),a=o.left+i.scrollLeft-(t?0:Wc(l,o)),h=o.top+i.scrollTop;return{x:a,y:h}}function Ry(l){let{elements:i,rect:t,offsetParent:o,strategy:a}=l,h=a==="fixed",m=ur(o),T=i?ha(i.floating):!1;if(o===m||T&&h)return t;let N={scrollLeft:0,scrollTop:0},$=mr(1),q=mr(0),K=fr(o);if((K||!K&&!h)&&((io(o)!=="body"||os(m))&&(N=pa(o)),fr(o))){let Q=so(o);$=ss(o),q.x=Q.x+o.clientLeft,q.y=Q.y+o.clientTop}let nt=m&&!K&&!h?du(m,N,!0):mr(0);return{width:t.width*$.x,height:t.height*$.y,x:t.x*$.x-N.scrollLeft*$.x+q.x+nt.x,y:t.y*$.y-N.scrollTop*$.y+q.y+nt.y}}function My(l){return Array.from(l.getClientRects())}function Oy(l){let i=ur(l),t=pa(l),o=l.ownerDocument.body,a=Ee(i.scrollWidth,i.clientWidth,o.scrollWidth,o.clientWidth),h=Ee(i.scrollHeight,i.clientHeight,o.scrollHeight,o.clientHeight),m=-t.scrollLeft+Wc(l),T=-t.scrollTop;return Qe(o).direction==="rtl"&&(m+=Ee(i.clientWidth,o.clientWidth)-a),{width:a,height:h,x:m,y:T}}function Py(l,i){let t=Oe(l),o=ur(l),a=t.visualViewport,h=o.clientWidth,m=o.clientHeight,T=0,N=0;if(a){h=a.width,m=a.height;let $=il();(!$||$&&i==="fixed")&&(T=a.offsetLeft,N=a.offsetTop)}return{width:h,height:m,x:T,y:N}}var Dy=new Set(["absolute","fixed"]);function Fy(l,i){let t=so(l,!0,i==="fixed"),o=t.top+l.clientTop,a=t.left+l.clientLeft,h=fr(l)?ss(l):mr(1),m=l.clientWidth*h.x,T=l.clientHeight*h.y,N=a*h.x,$=o*h.y;return{width:m,height:T,x:N,y:$}}function au(l,i,t){let o;if(i==="viewport")o=Py(l,t);else if(i==="document")o=Oy(ur(l));else if(Xe(i))o=Fy(i,t);else{let a=cu(l);o={x:i.x-a.x,y:i.y-a.y,width:i.width,height:i.height}}return ro(o)}function hu(l,i){let t=Jr(l);return t===i||!Xe(t)||oo(t)?!1:Qe(t).position==="fixed"||hu(t,i)}function $y(l,i){let t=i.get(l);if(t)return t;let o=is(l,[],!1).filter(T=>Xe(T)&&io(T)!=="body"),a=null,h=Qe(l).position==="fixed",m=h?Jr(l):l;for(;Xe(m)&&!oo(m);){let T=Qe(m),N=rl(m);!N&&T.position==="fixed"&&(a=null),(h?!N&&!a:!N&&T.position==="static"&&!!a&&Dy.has(a.position)||os(m)&&!N&&hu(l,m))?o=o.filter(q=>q!==m):a=T,m=Jr(m)}return i.set(l,o),o}function zy(l){let{element:i,boundary:t,rootBoundary:o,strategy:a}=l,m=[...t==="clippingAncestors"?ha(i)?[]:$y(i,this._c):[].concat(t),o],T=m[0],N=m.reduce(($,q)=>{let K=au(i,q,a);return $.top=Ee(K.top,$.top),$.right=Nr(K.right,$.right),$.bottom=Nr(K.bottom,$.bottom),$.left=Ee(K.left,$.left),$},au(i,T,a));return{width:N.right-N.left,height:N.bottom-N.top,x:N.left,y:N.top}}function Vy(l){let{width:i,height:t}=lu(l);return{width:i,height:t}}function By(l,i,t){let o=fr(i),a=ur(i),h=t==="fixed",m=so(l,!0,h,i),T={scrollLeft:0,scrollTop:0},N=mr(0);function $(){N.x=Wc(a)}if(o||!o&&!h)if((io(i)!=="body"||os(a))&&(T=pa(i)),o){let Q=so(i,!0,h,i);N.x=Q.x+i.clientLeft,N.y=Q.y+i.clientTop}else a&&$();h&&!o&&a&&$();let q=a&&!o&&!h?du(a,T):mr(0),K=m.left+T.scrollLeft-N.x-q.x,nt=m.top+T.scrollTop-N.y-q.y;return{x:K,y:nt,width:m.width,height:m.height}}function Gc(l){return Qe(l).position==="static"}function nu(l,i){if(!fr(l)||Qe(l).position==="fixed")return null;if(i)return i(l);let t=l.offsetParent;return ur(l)===t&&(t=t.ownerDocument.body),t}function pu(l,i){let t=Oe(l);if(ha(l))return t;if(!fr(l)){let a=Jr(l);for(;a&&!oo(a);){if(Xe(a)&&!Gc(a))return a;a=Jr(a)}return t}let o=nu(l,i);for(;o&&iu(o)&&Gc(o);)o=nu(o,i);return o&&oo(o)&&Gc(o)&&!rl(o)?t:o||ou(l)||t}var Uy=async function(l){let i=this.getOffsetParent||pu,t=this.getDimensions,o=await t(l.floating);return{reference:By(l.reference,await i(l.floating),l.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Hy(l){return Qe(l).direction==="rtl"}var Gy={convertOffsetParentRelativeRectToViewportRelativeRect:Ry,getDocumentElement:ur,getClippingRect:zy,getOffsetParent:pu,getElementRects:Uy,getClientRects:My,getDimensions:Vy,getScale:ss,isElement:Xe,isRTL:Hy};function mu(l,i){return l.x===i.x&&l.y===i.y&&l.width===i.width&&l.height===i.height}function Yy(l,i){let t=null,o,a=ur(l);function h(){var T;clearTimeout(o),(T=t)==null||T.disconnect(),t=null}function m(T,N){T===void 0&&(T=!1),N===void 0&&(N=1),h();let $=l.getBoundingClientRect(),{left:q,top:K,width:nt,height:Q}=$;if(T||i(),!nt||!Q)return;let rt=da(K),dt=da(a.clientWidth-(q+nt)),ut=da(a.clientHeight-(K+Q)),Tt=da(q),Ct={rootMargin:-rt+"px "+-dt+"px "+-ut+"px "+-Tt+"px",threshold:Ee(0,Nr(1,N))||1},Gt=!0;function Ft(Vt){let qt=Vt[0].intersectionRatio;if(qt!==N){if(!Gt)return m();qt?m(!1,qt):o=setTimeout(()=>{m(!1,1e-7)},1e3)}qt===1&&!mu($,l.getBoundingClientRect())&&m(),Gt=!1}try{t=new IntersectionObserver(Ft,{...Ct,root:a.ownerDocument})}catch{t=new IntersectionObserver(Ft,Ct)}t.observe(l)}return m(!0),h}function uu(l,i,t,o){o===void 0&&(o={});let{ancestorScroll:a=!0,ancestorResize:h=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:T=typeof IntersectionObserver=="function",animationFrame:N=!1}=o,$=Yc(l),q=a||h?[...$?is($):[],...is(i)]:[];q.forEach(Tt=>{a&&Tt.addEventListener("scroll",t,{passive:!0}),h&&Tt.addEventListener("resize",t)});let K=$&&T?Yy($,t):null,nt=-1,Q=null;m&&(Q=new ResizeObserver(Tt=>{let[St]=Tt;St&&St.target===$&&Q&&(Q.unobserve(i),cancelAnimationFrame(nt),nt=requestAnimationFrame(()=>{var Ct;(Ct=Q)==null||Ct.observe(i)})),t()}),$&&!N&&Q.observe($),Q.observe(i));let rt,dt=N?so(l):null;N&&ut();function ut(){let Tt=so(l);dt&&!mu(dt,Tt)&&t(),dt=Tt,rt=requestAnimationFrame(ut)}return t(),()=>{var Tt;q.forEach(St=>{a&&St.removeEventListener("scroll",t),h&&St.removeEventListener("resize",t)}),K==null||K(),(Tt=Q)==null||Tt.disconnect(),Q=null,N&&cancelAnimationFrame(rt)}}var fu=Qm;var vu=Jm,gu=Xm,bu=tu;var yu=Zm;var Eu=(l,i,t)=>{let o=new Map,a={platform:Gy,...t},h={...a.platform,_c:o};return Km(l,i,{...a,platform:h})};var sl=l=>{class i extends l{constructor(){super(...arguments);this.isBackdropInvisible=!1;this.backdropElement=null}createBackdrop(a){let h=document.createElement("div");h.classList.add(`${a}-backdrop`);let m=document.createElement("style");m.textContent=`
2102
2102
  .${a}-backdrop {
2103
2103
  position: fixed;
2104
2104
  top: 0;
@@ -2296,7 +2296,7 @@
2296
2296
  white-space: nowrap;
2297
2297
  width: 1px;
2298
2298
  }
2299
- `,t.appendChild(o),t.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(t)}}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=ns.IDENTITY),this.createAnnouncementAriaLiveRegion()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements()}updated(t){t.has("identity")&&this.identity.length===0&&(this.identity=ns.IDENTITY,this.createAnnouncementAriaLiveRegion()),t.has("announcement")&&this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")}};ei.styles=[...W.styles,...Iu],p([f({type:String,reflect:!0})],ei.prototype,"announcement",2),p([f({type:String,reflect:!0})],ei.prototype,"identity",2),p([f({type:String,reflect:!0,attribute:"data-aria-live"})],ei.prototype,"dataAriaLive",2),p([f({type:Number,reflect:!0})],ei.prototype,"delay",2),p([f({type:Number,reflect:!0})],ei.prototype,"timeout",2);var Zc=ei;Zc.register(_u);var Zy=Zc;Kc.register(Au);var Xy=Kc;var ie=l=>{class i extends l{constructor(){super(...arguments);this.dataAriaLabel=null}}return p([f({type:String,reflect:!0,attribute:"data-aria-label"})],i.prototype,"dataAriaLabel",2),i};var De=l=>{class i extends l{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}connectedCallback(){super.connectedCallback(),this.id=`mdc-el-${be()}`}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 i.formAssociated=!0,p([f({reflect:!0,type:String})],i.prototype,"name",2),p([f({reflect:!0,type:String})],i.prototype,"value",2),p([f({reflect:!0,type:String,attribute:"validation-message"})],i.prototype,"validationMessage",2),p([Gr("input")],i.prototype,"inputElement",2),i};var ku=Y.constructTagName("formfieldwrapper"),jt={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Dt={VALIDATION:jt.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top"},ma={TAGNAME:gt.SPAN,TYPE:st.BODY_MIDSIZE_REGULAR,HEADER_TYPE:st.BODY_MIDSIZE_BOLD};var Qy=[Et,G`
2299
+ `,t.appendChild(o),t.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(t)}}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=ns.IDENTITY),this.createAnnouncementAriaLiveRegion()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements()}updated(t){t.has("identity")&&this.identity.length===0&&(this.identity=ns.IDENTITY,this.createAnnouncementAriaLiveRegion()),t.has("announcement")&&this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")}};ei.styles=[...W.styles,...Iu],p([f({type:String,reflect:!0})],ei.prototype,"announcement",2),p([f({type:String,reflect:!0})],ei.prototype,"identity",2),p([f({type:String,reflect:!0,attribute:"data-aria-live"})],ei.prototype,"dataAriaLive",2),p([f({type:Number,reflect:!0})],ei.prototype,"delay",2),p([f({type:Number,reflect:!0})],ei.prototype,"timeout",2);var Zc=ei;Zc.register(_u);var Zy=Zc;Kc.register(Au);var Xy=Kc;var ie=l=>{class i extends l{constructor(){super(...arguments);this.dataAriaLabel=null}}return p([f({type:String,reflect:!0,attribute:"data-aria-label"})],i.prototype,"dataAriaLabel",2),i};var De=l=>{class i extends l{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 i.formAssociated=!0,p([f({reflect:!0,type:String})],i.prototype,"name",2),p([f({reflect:!0,type:String})],i.prototype,"value",2),p([f({reflect:!0,type:String,attribute:"validation-message"})],i.prototype,"validationMessage",2),p([Gr("input")],i.prototype,"inputElement",2),i};var ku=Y.constructTagName("formfieldwrapper"),jt={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Dt={VALIDATION:jt.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top"},ma={TAGNAME:gt.SPAN,TYPE:st.BODY_MIDSIZE_REGULAR,HEADER_TYPE:st.BODY_MIDSIZE_BOLD};var Qy=[Et,G`
2300
2300
  :host {
2301
2301
  flex-direction: column;
2302
2302
  align-items: flex-start;
@@ -2355,7 +2355,7 @@
2355
2355
  :host([help-text-type='priority']) .mdc-help-text {
2356
2356
  color: var(--mds-color-theme-text-accent-normal);
2357
2357
  }
2358
- `],Cu=Qy;var wu=l=>({[jt.ERROR]:"error-legacy-badge-filled",[jt.WARNING]:"warning-badge-filled",[jt.SUCCESS]:"check-circle-badge-filled",[jt.PRIORITY]:"priority-badge-filled",[jt.DEFAULT]:""})[l]||"";var Je=class extends zt(W){constructor(){super(...arguments);this.required=!1;this.id="";this.helpTextType=Dt.VALIDATION;this.toggletipPlacement=Dt.TOGGLETIP_PLACEMENT;this.shouldRenderLabel=!0}renderLabelElement(){return this.label?this.shouldRenderLabel?k`<label for="${this.id}" id="${Dt.HEADING_ID}" class="mdc-label" part="label">${this.label}</label>`:k` <mdc-text
2358
+ `],Cu=Qy;var wu=l=>({[jt.ERROR]:"error-legacy-badge-filled",[jt.WARNING]:"warning-badge-filled",[jt.SUCCESS]:"check-circle-badge-filled",[jt.PRIORITY]:"priority-badge-filled",[jt.DEFAULT]:""})[l]||"";var vr=class extends zt(W){constructor(){super(...arguments);this.inputId=`mdc-el-${be()}`;this.required=!1;this.helpTextType=Dt.VALIDATION;this.toggletipPlacement=Dt.TOGGLETIP_PLACEMENT;this.shouldRenderLabel=!0}renderLabelElement(){return this.label?this.shouldRenderLabel?k`<label for="${this.inputId}" id="${Dt.HEADING_ID}" class="mdc-label" part="label">${this.label}</label>`:k` <mdc-text
2359
2359
  id="${Dt.HEADING_ID}"
2360
2360
  tagname="${ma.TAGNAME}"
2361
2361
  type="${ma.HEADER_TYPE}"
@@ -2392,7 +2392,7 @@
2392
2392
  </div>`:j}renderHelperText(){return this.helpText?k`<div class="mdc-help-text" part="help-text">
2393
2393
  <slot name="help-icon">${this.renderHelpTextIcon()}</slot>
2394
2394
  <slot name="help-text">${this.renderHelpText()}</slot>
2395
- </div>`:j}};Je.styles=[...W.styles,...Cu],p([f({reflect:!0,type:String})],Je.prototype,"label",2),p([f({type:Boolean,reflect:!0,attribute:"required"})],Je.prototype,"required",2),p([f({type:String})],Je.prototype,"id",2),p([f({reflect:!0,attribute:"help-text-type"})],Je.prototype,"helpTextType",2),p([f({type:String,reflect:!0,attribute:"help-text"})],Je.prototype,"helpText",2),p([f({type:String,reflect:!0,attribute:"toggletip-text"})],Je.prototype,"toggletipText",2),p([f({type:String,reflect:!0,attribute:"toggletip-placement"})],Je.prototype,"toggletipPlacement",2),p([f({type:String,reflect:!0,attribute:"info-icon-aria-label"})],Je.prototype,"infoIconAriaLabel",2);var xe=Je;var Jy=[G`
2395
+ </div>`:j}};vr.styles=[...W.styles,...Cu],p([f({reflect:!0,type:String})],vr.prototype,"label",2),p([f({type:Boolean,reflect:!0,attribute:"required"})],vr.prototype,"required",2),p([f({reflect:!0,attribute:"help-text-type"})],vr.prototype,"helpTextType",2),p([f({type:String,reflect:!0,attribute:"help-text"})],vr.prototype,"helpText",2),p([f({type:String,reflect:!0,attribute:"toggletip-text"})],vr.prototype,"toggletipText",2),p([f({type:String,reflect:!0,attribute:"toggletip-placement"})],vr.prototype,"toggletipPlacement",2),p([f({type:String,reflect:!0,attribute:"info-icon-aria-label"})],vr.prototype,"infoIconAriaLabel",2);var xe=vr;var Jy=[G`
2396
2396
  :host {
2397
2397
  --mdc-checkbox-background-color-hover: var(--mds-color-theme-control-inactive-hover);
2398
2398
  --mdc-checkbox-pressed-icon-color: var(--mds-color-theme-control-inactive-pressed);
@@ -2472,7 +2472,7 @@
2472
2472
  ?disabled="${this.disabled}"
2473
2473
  >
2474
2474
  <input
2475
- id="${this.id}"
2475
+ id="${this.inputId}"
2476
2476
  type="checkbox"
2477
2477
  class="input"
2478
2478
  ?autofocus="${this.autofocus}"
@@ -2648,7 +2648,7 @@
2648
2648
  ${this.label?k`<mdc-text part="label" type="${ls.TEXT_TYPE}" tagname="${ls.TAG_NAME}"
2649
2649
  >${this.label}</mdc-text
2650
2650
  >`:j}
2651
- `}};cs.styles=[...W.styles,...Ru],p([f({type:String,reflect:!0})],cs.prototype,"color",2),p([f({type:String})],cs.prototype,"label",2);var ds=cs;ds.register(Lu);var iE=ds;var Mu=Y.constructTagName("coachmark"),ho={COLOR:no.CONTRAST,TRIGGER:ao.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var po=class extends Pe{constructor(){super(...arguments);this.trigger=ho.TRIGGER;this.showArrow=ho.ARROW;this.closeButton=ho.CLOSE_BUTTON;this.disableAriaExpanded=ho.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=ho.COLOR,this.showArrow=ho.ARROW}};p([f({type:String,reflect:!0})],po.prototype,"trigger",2),p([f({type:Boolean,attribute:"show-arrow"})],po.prototype,"showArrow",2),p([f({type:Boolean,reflect:!0,attribute:"close-button"})],po.prototype,"closeButton",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],po.prototype,"disableAriaExpanded",2);var Qc=po;Qc.register(Mu);var oE=Qc;var Ou=Y.constructTagName("dialog"),sE={DEFAULT:"default",PROMOTIONAL:"promotional"},tr={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:sE.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var ki=class{static dispatchDialogEvent(i,t,o=!0){t.dispatchEvent(new CustomEvent(i,{detail:{show:t.visible},composed:!0,bubbles:o}))}static onShowDialog(i){this.dispatchDialogEvent("shown",i)}static onHideDialog(i){this.dispatchDialogEvent("hidden",i)}static onCloseDialog(i,t=!0){this.dispatchDialogEvent("close",i,t)}static onCreatedDialog(i){this.dispatchDialogEvent("created",i)}static onDestroyedDialog(i){this.dispatchDialogEvent("destroyed",i)}};var aE=G`
2651
+ `}};cs.styles=[...W.styles,...Ru],p([f({type:String,reflect:!0})],cs.prototype,"color",2),p([f({type:String})],cs.prototype,"label",2);var ds=cs;ds.register(Lu);var iE=ds;var Mu=Y.constructTagName("coachmark"),ho={COLOR:no.CONTRAST,TRIGGER:ao.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var po=class extends Pe{constructor(){super(...arguments);this.trigger=ho.TRIGGER;this.showArrow=ho.ARROW;this.closeButton=ho.CLOSE_BUTTON;this.disableAriaExpanded=ho.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=ho.COLOR,this.showArrow=ho.ARROW}};p([f({type:String,reflect:!0})],po.prototype,"trigger",2),p([f({type:Boolean,attribute:"show-arrow"})],po.prototype,"showArrow",2),p([f({type:Boolean,reflect:!0,attribute:"close-button"})],po.prototype,"closeButton",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],po.prototype,"disableAriaExpanded",2);var Qc=po;Qc.register(Mu);var oE=Qc;var Ou=Y.constructTagName("dialog"),sE={DEFAULT:"default",PROMOTIONAL:"promotional"},Je={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:sE.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var ki=class{static dispatchDialogEvent(i,t,o=!0){t.dispatchEvent(new CustomEvent(i,{detail:{show:t.visible},composed:!0,bubbles:o}))}static onShowDialog(i){this.dispatchDialogEvent("shown",i)}static onHideDialog(i){this.dispatchDialogEvent("hidden",i)}static onCloseDialog(i,t=!0){this.dispatchDialogEvent("close",i,t)}static onCreatedDialog(i){this.dispatchDialogEvent("created",i)}static onDestroyedDialog(i){this.dispatchDialogEvent("destroyed",i)}};var aE=G`
2652
2652
  :host {
2653
2653
  --mdc-dialog-primary-background-color: var(--mds-color-theme-background-solid-primary-normal);
2654
2654
  --mdc-dialog-border-color: var(--mds-color-theme-outline-secondary-normal);
@@ -2770,7 +2770,7 @@
2770
2770
  mdc-text::part(text) {
2771
2771
  margin: 0;
2772
2772
  }
2773
- `,Pu=[aE];var Bt=class extends sl(nl(al(Qo(W)))){constructor(){super(...arguments);this.id="";this.visible=tr.VISIBLE;this.zIndex=tr.Z_INDEX;this.size=tr.SIZE;this.variant=tr.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedBy=null;this.ariaDescription=null;this.headerTagName=tr.HEADER_TAG_NAME;this.descriptionTagName=tr.DESCRIPTION_TAG_NAME;this.role=tr.ROLE;this.disableAriaHasPopup=tr.DISABLE_ARIA_HAS_POPUP;this.focusTrap=tr.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,o;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),this.removeBackdrop(),(t=this.triggerElement)==null||t.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(o=this.deactivateFocusTrap)==null||o.call(this),this.focusBackToTrigger(),ki.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(),ki.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 o=t.get("visible");await this.isOpenUpdated(o,this.visible)}t.has("zIndex")&&(this.zIndex===null&&(this.zIndex=tr.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,o;this.disableAriaHasPopup||(o=this.triggerElement)==null||o.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(){ki.onCloseDialog(this,!1)}async isOpenUpdated(t,o){var a,h,m,T,N;t!==o&&(o&&!t?(this.lastActiveElement=document.activeElement,this.removeBackdrop(),this.createBackdrop("dialog"),this.activatePreventScroll(),await this.updateComplete,this.focusTrap&&((a=this.activateFocusTrap)==null||a.call(this)),(h=this.setInitialFocus)==null||h.call(this),(m=this.triggerElement)==null||m.setAttribute("aria-expanded","true"),ki.onShowDialog(this)):!o&&t&&(this.removeBackdrop(),(T=this.triggerElement)==null||T.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(N=this.deactivateFocusTrap)==null||N.call(this),this.focusBackToTrigger(),ki.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}render(){return k`
2773
+ `,Pu=[aE];var Bt=class extends sl(nl(al(Qo(W)))){constructor(){super(...arguments);this.id="";this.visible=Je.VISIBLE;this.zIndex=Je.Z_INDEX;this.size=Je.SIZE;this.variant=Je.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedBy=null;this.ariaDescription=null;this.headerTagName=Je.HEADER_TAG_NAME;this.descriptionTagName=Je.DESCRIPTION_TAG_NAME;this.role=Je.ROLE;this.disableAriaHasPopup=Je.DISABLE_ARIA_HAS_POPUP;this.focusTrap=Je.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,o;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),this.removeBackdrop(),(t=this.triggerElement)==null||t.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(o=this.deactivateFocusTrap)==null||o.call(this),this.focusBackToTrigger(),ki.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(),ki.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 o=t.get("visible");await this.isOpenUpdated(o,this.visible)}t.has("zIndex")&&(this.zIndex===null&&(this.zIndex=Je.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,o;this.disableAriaHasPopup||(o=this.triggerElement)==null||o.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(){ki.onCloseDialog(this,!1)}async isOpenUpdated(t,o){var a,h,m,T,N;t!==o&&(o&&!t?(this.lastActiveElement=document.activeElement,this.removeBackdrop(),this.createBackdrop("dialog"),this.activatePreventScroll(),await this.updateComplete,this.focusTrap&&((a=this.activateFocusTrap)==null||a.call(this)),(h=this.setInitialFocus)==null||h.call(this),(m=this.triggerElement)==null||m.setAttribute("aria-expanded","true"),ki.onShowDialog(this)):!o&&t&&(this.removeBackdrop(),(T=this.triggerElement)==null||T.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(N=this.deactivateFocusTrap)==null||N.call(this),this.focusBackToTrigger(),ki.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}render(){return k`
2774
2774
  ${this.headerText?k` <div part="header-section">
2775
2775
  <div part="header">
2776
2776
  <slot name="header-prefix"></slot>
@@ -2792,7 +2792,7 @@
2792
2792
  </div>`:j}
2793
2793
  <mdc-button
2794
2794
  part="dialog-close-btn"
2795
- prefix-icon="${tr.CANCEL_ICON}"
2795
+ prefix-icon="${Je.CANCEL_ICON}"
2796
2796
  variant="${Pt.TERTIARY}"
2797
2797
  size="${qe[20]}"
2798
2798
  aria-label="${ot(this.closeButtonAriaLabel)||""}"
@@ -3041,7 +3041,7 @@
3041
3041
  :host::part(label-text) {
3042
3042
  font-weight: bold;
3043
3043
  }
3044
- `,Vu=[pE];var cl=class extends ie(xe){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.id="",this.disabled=void 0}render(){var t;return k`
3044
+ `,Vu=[pE];var cl=class extends ie(xe){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.disabled=void 0}render(){var t;return k`
3045
3045
  <div
3046
3046
  part="container"
3047
3047
  role="${this.isRadio?tt.RADIOGROUP:tt.GROUP}"
@@ -3052,7 +3052,7 @@
3052
3052
  <div part="group-header">${this.renderLabel()} ${this.renderHelperText()}</div>
3053
3053
  <slot></slot>
3054
3054
  </div>
3055
- `}};cl.styles=[...xe.styles,...Vu];var id=cl;var Bu=Y.constructTagName("formfieldgroup");id.register(Bu);var dl=id;Zs.register(Sn);var mE=Zs;var Uu=Qi(class extends Ai{constructor(l){if(super(l),l.type!==pr.PROPERTY&&l.type!==pr.ATTRIBUTE&&l.type!==pr.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!wn(l))throw Error("`live` bindings can only contain a single expression")}render(l){return l}update(l,[i]){if(i===Re||i===j)return i;let t=l.element,o=l.name;if(l.type===pr.PROPERTY){if(i===t[o])return Re}else if(l.type===pr.BOOLEAN_ATTRIBUTE){if(!!i===t.hasAttribute(o))return Re}else if(l.type===pr.ATTRIBUTE&&t.getAttribute(o)===i+"")return Re;return Qp(l),i}});xe.register(ku);var er=xe;var Hu=Y.constructTagName("input"),hl={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},od={OFF:"off",ON:"on"},hs={PASSWORD:"password",TEXT:"text",SEARCH:"search"},Gu={MAX_LENGTH:10,VALIDATION:jt.ERROR},ri={VALIDATION:jt.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Pt.TERTIARY,CLEAR_BUTTON_SIZE:qe[20],PREFIX_TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:gt.SPAN,AUTO_COMPLETE:od.OFF,INPUT_TYPE:hs.TEXT};var uE=[G`
3055
+ `}};cl.styles=[...xe.styles,...Vu];var id=cl;var Bu=Y.constructTagName("formfieldgroup");id.register(Bu);var dl=id;Zs.register(Sn);var mE=Zs;var Uu=Qi(class extends Ai{constructor(l){if(super(l),l.type!==hr.PROPERTY&&l.type!==hr.ATTRIBUTE&&l.type!==hr.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!wn(l))throw Error("`live` bindings can only contain a single expression")}render(l){return l}update(l,[i]){if(i===Re||i===j)return i;let t=l.element,o=l.name;if(l.type===hr.PROPERTY){if(i===t[o])return Re}else if(l.type===hr.BOOLEAN_ATTRIBUTE){if(!!i===t.hasAttribute(o))return Re}else if(l.type===hr.ATTRIBUTE&&t.getAttribute(o)===i+"")return Re;return Qp(l),i}});xe.register(ku);var tr=xe;var Hu=Y.constructTagName("input"),hl={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},od={OFF:"off",ON:"on"},hs={PASSWORD:"password",TEXT:"text",SEARCH:"search"},Gu={MAX_LENGTH:10,VALIDATION:jt.ERROR},ri={VALIDATION:jt.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Pt.TERTIARY,CLEAR_BUTTON_SIZE:qe[20],PREFIX_TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:gt.SPAN,AUTO_COMPLETE:od.OFF,INPUT_TYPE:hs.TEXT};var uE=[G`
3056
3056
  :host {
3057
3057
  --mdc-input-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
3058
3058
  --mdc-input-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
@@ -3175,7 +3175,7 @@
3175
3175
  opacity: 0;
3176
3176
  pointer-events: none;
3177
3177
  }
3178
- `,...At(!0)],Yu=uE;var Xt=class extends De(ie(er)){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=hl.OFF;this.autocomplete=od.OFF;this.autofocus=!1;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)})}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(t){this.value=t}attributeChangedCallback(t,o,a){super.attributeChangedCallback(t,o,a),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(h=>{this.onerror&&this.onerror(h)})}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 o=t.constructor;this.dispatchEvent(new o(t.type,t))}handleKeyDown(t){var o;t.key===J.ENTER&&((o=this.form)==null||o.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?k`
3178
+ `,...At(!0)],Yu=uE;var Xt=class extends De(ie(tr)){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=hl.OFF;this.autocomplete=od.OFF;this.autofocus=!1;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)})}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(t){this.value=t}attributeChangedCallback(t,o,a){super.attributeChangedCallback(t,o,a),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(h=>{this.onerror&&this.onerror(h)})}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 o=t.constructor;this.dispatchEvent(new o(t.type,t))}handleKeyDown(t){var o;t.key===J.ENTER&&((o=this.form)==null||o.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?k`
3179
3179
  <mdc-icon
3180
3180
  class="leading-icon"
3181
3181
  part="leading-icon"
@@ -3208,7 +3208,7 @@
3208
3208
  aria-label="${(h=this.dataAriaLabel)!=null?h:""}"
3209
3209
  class="input"
3210
3210
  part="mdc-input"
3211
- id="${this.id}"
3211
+ id="${this.inputId}"
3212
3212
  name="${this.name}"
3213
3213
  .value="${Uu(this.value)}"
3214
3214
  ?disabled="${this.disabled}"
@@ -3241,7 +3241,7 @@
3241
3241
  <slot name="trailing-button">${this.renderTrailingButton()}</slot>
3242
3242
  </div>
3243
3243
  ${this.helpText?this.renderHelperText():j}
3244
- `}};Xt.styles=[...er.styles,...Yu],p([f({type:String})],Xt.prototype,"placeholder",2),p([f({type:Boolean})],Xt.prototype,"readonly",2),p([f({type:String,attribute:"prefix-text"})],Xt.prototype,"prefixText",2),p([f({type:String,attribute:"leading-icon"})],Xt.prototype,"leadingIcon",2),p([f({type:Boolean,attribute:"trailing-button"})],Xt.prototype,"trailingButton",2),p([f({type:Number})],Xt.prototype,"maxlength",2),p([f({type:Number})],Xt.prototype,"minlength",2),p([f({type:String})],Xt.prototype,"autocapitalize",2),p([f({type:String})],Xt.prototype,"autocomplete",2),p([f({type:Boolean})],Xt.prototype,"autofocus",2),p([f({type:String})],Xt.prototype,"dirname",2),p([f({type:String})],Xt.prototype,"pattern",2),p([f({type:String})],Xt.prototype,"list",2),p([f({type:Number})],Xt.prototype,"size",2),p([f({type:String,attribute:"clear-aria-label"})],Xt.prototype,"clearAriaLabel",2);var ii=Xt;ii.register(Hu);var fE=ii;var vE=G`
3244
+ `}};Xt.styles=[...tr.styles,...Yu],p([f({type:String})],Xt.prototype,"placeholder",2),p([f({type:Boolean})],Xt.prototype,"readonly",2),p([f({type:String,attribute:"prefix-text"})],Xt.prototype,"prefixText",2),p([f({type:String,attribute:"leading-icon"})],Xt.prototype,"leadingIcon",2),p([f({type:Boolean,attribute:"trailing-button"})],Xt.prototype,"trailingButton",2),p([f({type:Number})],Xt.prototype,"maxlength",2),p([f({type:Number})],Xt.prototype,"minlength",2),p([f({type:String})],Xt.prototype,"autocapitalize",2),p([f({type:String})],Xt.prototype,"autocomplete",2),p([f({type:Boolean})],Xt.prototype,"autofocus",2),p([f({type:String})],Xt.prototype,"dirname",2),p([f({type:String})],Xt.prototype,"pattern",2),p([f({type:String})],Xt.prototype,"list",2),p([f({type:Number})],Xt.prototype,"size",2),p([f({type:String,attribute:"clear-aria-label"})],Xt.prototype,"clearAriaLabel",2);var ii=Xt;ii.register(Hu);var fE=ii;var vE=G`
3245
3245
  :host {
3246
3246
  height: 1.5rem;
3247
3247
  gap: 0.25rem;
@@ -3693,7 +3693,7 @@
3693
3693
  @keydown=${this.stopEventPropagation}
3694
3694
  ></slot>
3695
3695
  ${this.arrowPosition===fd.LEADING?k`<mdc-icon name="${t}" length-unit="rem" part="leading-arrow"></mdc-icon>`:j}
3696
- `}};Ri.styles=[...oi.styles,...pf],p([f({type:String,reflect:!0,attribute:"arrow-position"})],Ri.prototype,"arrowPosition",2),p([f({type:String,reflect:!0,attribute:"arrow-direction"})],Ri.prototype,"arrowDirection",2),p([f({type:String,reflect:!0})],Ri.prototype,"name",2),p([f({type:String,reflect:!0})],Ri.prototype,"value",2);var rr=Ri;rr.register(Ia);var DE=rr;var mf=Y.constructTagName("statictoggle"),FE={DEFAULT:"default",COMPACT:"compact"},vd={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},uf={compact:.75,default:1.25},ff={SIZE:FE.DEFAULT};var $E=[G`
3696
+ `}};Ri.styles=[...oi.styles,...pf],p([f({type:String,reflect:!0,attribute:"arrow-position"})],Ri.prototype,"arrowPosition",2),p([f({type:String,reflect:!0,attribute:"arrow-direction"})],Ri.prototype,"arrowDirection",2),p([f({type:String,reflect:!0})],Ri.prototype,"name",2),p([f({type:String,reflect:!0})],Ri.prototype,"value",2);var er=Ri;er.register(Ia);var DE=er;var mf=Y.constructTagName("statictoggle"),FE={DEFAULT:"default",COMPACT:"compact"},vd={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},uf={compact:.75,default:1.25},ff={SIZE:FE.DEFAULT};var $E=[G`
3697
3697
  :host {
3698
3698
  --mdc-statictoggle-width: 3rem;
3699
3699
  --mdc-statictoggle-height: 1.5rem;
@@ -3790,7 +3790,7 @@
3790
3790
  :host .hidden-checkmark {
3791
3791
  visibility: hidden;
3792
3792
  }
3793
- `,yf=[VE];var vs=class extends rr{constructor(){super();this.checked=!1;this.indicator=bf.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.MENUITEMCHECKBOX}handleMouseClick(){this.disabled||(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===wa.CHECKBOX?k`
3793
+ `,yf=[VE];var vs=class extends er{constructor(){super();this.checked=!1;this.indicator=bf.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.MENUITEMCHECKBOX}handleMouseClick(){this.disabled||(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===wa.CHECKBOX?k`
3794
3794
  <mdc-staticcheckbox
3795
3795
  slot="leading-controls"
3796
3796
  ?checked="${this.checked}"
@@ -3830,14 +3830,14 @@
3830
3830
  ${this.staticToggle()} ${this.getCheckmarkIcon()}
3831
3831
  </div>
3832
3832
  </slot>
3833
- `}};vs.styles=[...rr.styles,...yf],p([f({type:Boolean,reflect:!0})],vs.prototype,"checked",2),p([f({type:String,reflect:!0})],vs.prototype,"indicator",2);var yd=vs;yd.register(fl);var BE=yd;var vl=Y.constructTagName("menuitemradio"),gl={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},Ef={INDICATOR:gl.RADIO};var UE=G`
3833
+ `}};vs.styles=[...er.styles,...yf],p([f({type:Boolean,reflect:!0})],vs.prototype,"checked",2),p([f({type:String,reflect:!0})],vs.prototype,"indicator",2);var yd=vs;yd.register(fl);var BE=yd;var vl=Y.constructTagName("menuitemradio"),gl={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},Ef={INDICATOR:gl.RADIO};var UE=G`
3834
3834
  :host::part(checkmark-icon) {
3835
3835
  --mdc-icon-fill-color: currentColor;
3836
3836
  }
3837
3837
  :host .hidden-checkmark {
3838
3838
  visibility: hidden;
3839
3839
  }
3840
- `,Tf=[UE];var gs=class extends rr{constructor(){super();this.checked=!1;this.indicator=Ef.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${si}, ${Qt}`);return!t||!this.name?[]:Array.from(t.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(o=>{o!==this&&o.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===gl.RADIO?k`
3840
+ `,Tf=[UE];var gs=class extends er{constructor(){super();this.checked=!1;this.indicator=Ef.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${si}, ${Qt}`);return!t||!this.name?[]:Array.from(t.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(o=>{o!==this&&o.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===gl.RADIO?k`
3841
3841
  <mdc-staticradio
3842
3842
  slot="leading-controls"
3843
3843
  ?checked="${this.checked}"
@@ -3870,7 +3870,7 @@
3870
3870
  ${this.renderCheckmarkIcon()}
3871
3871
  </div>
3872
3872
  </slot>
3873
- `}};gs.styles=[...rr.styles,...Tf],p([f({type:Boolean,reflect:!0})],gs.prototype,"checked",2),p([f({type:String,reflect:!0})],gs.prototype,"indicator",2);var Ed=gs;Ed.register(vl);var HE=Ed;var Mi=Y.constructTagName("navmenuitem"),xf={DOT:Ze.DOT,COUNTER:Ze.COUNTER},Af={RIGHT_ARROW:"arrow-right-bold"},Sf={MAX_COUNTER:99,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:gt.SPAN,SIZE:ji[24],VARIANT:Rr.FLEXIBLE};var GE=G`
3873
+ `}};gs.styles=[...er.styles,...Tf],p([f({type:Boolean,reflect:!0})],gs.prototype,"checked",2),p([f({type:String,reflect:!0})],gs.prototype,"indicator",2);var Ed=gs;Ed.register(vl);var HE=Ed;var Mi=Y.constructTagName("navmenuitem"),xf={DOT:Ze.DOT,COUNTER:Ze.COUNTER},Af={RIGHT_ARROW:"arrow-right-bold"},Sf={MAX_COUNTER:99,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:gt.SPAN,SIZE:ji[24],VARIANT:Rr.FLEXIBLE};var GE=G`
3874
3874
  :host::part(popover-content) {
3875
3875
  padding: 0.75rem 0.5rem;
3876
3876
  }
@@ -4153,7 +4153,7 @@
4153
4153
  left: -0.75rem;
4154
4154
  top: 0.875rem;
4155
4155
  }
4156
- `,...At()],Cf=KE;var ir=class extends ee(rr){constructor(){super();this.maxCounter=Sf.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=_r.consume({host:this,context:bo.Context});this.emitNavMenuItemActiveChange=t=>{let o=new CustomEvent("activechange",{detail:{navId:this.navId,active:t},bubbles:!0});this.dispatchEvent(o)};this.addEventListener("click",this.handleClickEvent.bind(this))}connectedCallback(){super.connectedCallback(),this.variant=void 0,this.tooltipPlacement=void 0,!this.navId&&this.onerror&&this.onerror("[mdc-navmenuitem] navId is required and was not provided."),this.toggleAttribute("in-menupopover",this.isNested())}updated(){var o,a;let t=(o=this.sideNavigationContext)==null?void 0:o.value;if(t)if(this.showLabel=this.isNested()?!0:t.expanded,this.showLabel)this.removeAttribute("aria-label");else{let h=(a=this.label)!=null?a:"";this.ariaLabel=this.ariaLabel||h,this.setAttribute("aria-label",h)}}isNested(){let t=this.parentElement;for(;t;){if(t.tagName.toLowerCase()===Qt)return!0;t=t.parentElement}return!1}modifyIconName(t){if(!this.iconName)return;let o=this.iconName.endsWith("-filled"),a=Ki(this.iconName);t?o||(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 k`
4156
+ `,...At()],Cf=KE;var rr=class extends ee(er){constructor(){super();this.maxCounter=Sf.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=_r.consume({host:this,context:bo.Context});this.emitNavMenuItemActiveChange=t=>{let o=new CustomEvent("activechange",{detail:{navId:this.navId,active:t},bubbles:!0});this.dispatchEvent(o)};this.addEventListener("click",this.handleClickEvent.bind(this))}connectedCallback(){super.connectedCallback(),this.variant=void 0,this.tooltipPlacement=void 0,!this.navId&&this.onerror&&this.onerror("[mdc-navmenuitem] navId is required and was not provided."),this.toggleAttribute("in-menupopover",this.isNested())}updated(){var o,a;let t=(o=this.sideNavigationContext)==null?void 0:o.value;if(t)if(this.showLabel=this.isNested()?!0:t.expanded,this.showLabel)this.removeAttribute("aria-label");else{let h=(a=this.label)!=null?a:"";this.ariaLabel=this.ariaLabel||h,this.setAttribute("aria-label",h)}}isNested(){let t=this.parentElement;for(;t;){if(t.tagName.toLowerCase()===Qt)return!0;t=t.parentElement}return!1}modifyIconName(t){if(!this.iconName)return;let o=this.iconName.endsWith("-filled"),a=Ki(this.iconName);t?o||(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 k`
4157
4157
  <mdc-text
4158
4158
  type=${this.active?st.BODY_MIDSIZE_BOLD:st.BODY_MIDSIZE_MEDIUM}
4159
4159
  tagname=${gt.SPAN}
@@ -4178,7 +4178,7 @@
4178
4178
  </div>
4179
4179
  ${this.showLabel?k`${this.renderTextLabel(this.label)}${this.renderBadge(this.showLabel)}`:j}
4180
4180
  ${t!=null&&t.hasSiblingWithTriggerId(this)?this.renderArrowIcon(this.showLabel):j}
4181
- `}};ir.styles=[...rr.styles,...Cf],p([f({type:Boolean,reflect:!0})],ir.prototype,"active",2),p([f({type:String,reflect:!0,attribute:"badge-type"})],ir.prototype,"badgeType",2),p([f({type:Number,reflect:!0})],ir.prototype,"counter",2),p([f({type:Number,attribute:"max-counter",reflect:!0})],ir.prototype,"maxCounter",2),p([f({type:String,reflect:!0,attribute:"nav-id"})],ir.prototype,"navId",2),p([f({type:Boolean,reflect:!0,attribute:"show-label"})],ir.prototype,"showLabel",2),p([f({type:String,attribute:"aria-label"})],ir.prototype,"ariaLabel",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],ir.prototype,"disableAriaCurrent",2);var Sd=ir;Sd.register(Mi);var ZE=Sd;var wf=Y.constructTagName("optgroup"),_d="header-id";var XE=G`
4181
+ `}};rr.styles=[...er.styles,...Cf],p([f({type:Boolean,reflect:!0})],rr.prototype,"active",2),p([f({type:String,reflect:!0,attribute:"badge-type"})],rr.prototype,"badgeType",2),p([f({type:Number,reflect:!0})],rr.prototype,"counter",2),p([f({type:Number,attribute:"max-counter",reflect:!0})],rr.prototype,"maxCounter",2),p([f({type:String,reflect:!0,attribute:"nav-id"})],rr.prototype,"navId",2),p([f({type:Boolean,reflect:!0,attribute:"show-label"})],rr.prototype,"showLabel",2),p([f({type:String,attribute:"aria-label"})],rr.prototype,"ariaLabel",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],rr.prototype,"disableAriaCurrent",2);var Sd=rr;Sd.register(Mi);var ZE=Sd;var wf=Y.constructTagName("optgroup"),_d="header-id";var XE=G`
4182
4182
  :host {
4183
4183
  --mdc-optgroup-disabled-color: var(--mds-color-theme-text-primary-disabled);
4184
4184
  }
@@ -4343,7 +4343,7 @@
4343
4343
  border: var(--mdc-progressbar-border);
4344
4344
  }
4345
4345
  }
4346
- `],Df=iT;var xo=class extends ie(er){constructor(){super(...arguments);this.variant=Pf.VARIANT;this.value="0";this.error=!1;this.renderProgressbar=()=>{var h;let t=this.getValidationVariant(),o=this.clampedValue>0&&this.clampedValue<100,a=this.error?"100":`${this.clampedValue}`;return k`
4346
+ `],Df=iT;var xo=class extends ie(tr){constructor(){super(...arguments);this.variant=Pf.VARIANT;this.value="0";this.error=!1;this.renderProgressbar=()=>{var h;let t=this.getValidationVariant(),o=this.clampedValue>0&&this.clampedValue<100,a=this.error?"100":`${this.clampedValue}`;return k`
4347
4347
  <div
4348
4348
  part="progress-container ${o?"gap":""}"
4349
4349
  role="${tt.PROGRESSBAR}"
@@ -4363,7 +4363,7 @@
4363
4363
  </div>
4364
4364
  ${this.renderProgressbar()} ${this.renderHelperText()}
4365
4365
  `}
4366
- `}};xo.styles=[...er.styles,...Df],p([f({type:String,reflect:!0})],xo.prototype,"variant",2),p([f({type:String,reflect:!0})],xo.prototype,"value",2),p([f({type:Boolean,attribute:"error"})],xo.prototype,"error",2);var Ra=xo;Ra.register(Of);var oT=Ra;var Ff=Y.constructTagName("progressspinner"),Jt={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"},Nd={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var Ld=l=>{if(l===0)return 0;let i=l/100*Jt.CIRCUMFERENCE-Jt.GAP_SIZE;return Math.max(i,.1*l)},$f=l=>{let i=Jt.CIRCUMFERENCE-Ld(l)-2*Jt.GAP_SIZE;return l===0?Jt.CIRCUMFERENCE:i<0?0:i},zf=l=>l===0?0:Jt.GAP_SIZE*.5,Vf=(l,i)=>{let t=i+Jt.GAP_SIZE*1.5;return l===0?0:t};var sT=G`
4366
+ `}};xo.styles=[...tr.styles,...Df],p([f({type:String,reflect:!0})],xo.prototype,"variant",2),p([f({type:String,reflect:!0})],xo.prototype,"value",2),p([f({type:Boolean,attribute:"error"})],xo.prototype,"error",2);var Ra=xo;Ra.register(Of);var oT=Ra;var Ff=Y.constructTagName("progressspinner"),Jt={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"},Nd={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var Ld=l=>{if(l===0)return 0;let i=l/100*Jt.CIRCUMFERENCE-Jt.GAP_SIZE;return Math.max(i,.1*l)},$f=l=>{let i=Jt.CIRCUMFERENCE-Ld(l)-2*Jt.GAP_SIZE;return l===0?Jt.CIRCUMFERENCE:i<0?0:i},zf=l=>l===0?0:Jt.GAP_SIZE*.5,Vf=(l,i)=>{let t=i+Jt.GAP_SIZE*1.5;return l===0?0:t};var sT=G`
4367
4367
  :host {
4368
4368
  --mdc-spinner-size: 3rem;
4369
4369
  --mdc-track-color: var(--mds-color-theme-control-indicator-inactive-normal);
@@ -4546,7 +4546,7 @@
4546
4546
  ?readonly="${this.readonly}"
4547
4547
  >
4548
4548
  <input
4549
- id="${this.id}"
4549
+ id="${this.inputId}"
4550
4550
  type="radio"
4551
4551
  role="${tt.RADIO}"
4552
4552
  ?autofocus="${this.autofocus}"
@@ -4774,7 +4774,7 @@
4774
4774
  </div>
4775
4775
  </div>
4776
4776
  <input
4777
- id="${this.id}"
4777
+ id="${this.inputId}"
4778
4778
  part="native-input"
4779
4779
  name="${this.name}"
4780
4780
  type="text"
@@ -5420,7 +5420,7 @@
5420
5420
  <slot name="chip"></slot>
5421
5421
  </div>
5422
5422
  <div part="indicator"></div>
5423
- `}};Pi.styles=[...me.styles,...nv],p([f({type:Boolean,reflect:!0})],Pi.prototype,"active",2),p([f({type:String,reflect:!0})],Pi.prototype,"text",2),p([f({type:String,reflect:!0})],Pi.prototype,"variant",2),p([f({type:String,reflect:!0,attribute:"tab-id"})],Pi.prototype,"tabId",2);var or=Pi;or.register(av);var NT=or;var LT=[An,G`
5423
+ `}};Pi.styles=[...me.styles,...nv],p([f({type:Boolean,reflect:!0})],Pi.prototype,"active",2),p([f({type:String,reflect:!0})],Pi.prototype,"text",2),p([f({type:String,reflect:!0})],Pi.prototype,"variant",2),p([f({type:String,reflect:!0,attribute:"tab-id"})],Pi.prototype,"tabId",2);var ir=Pi;ir.register(av);var NT=ir;var LT=[An,G`
5424
5424
  :host {
5425
5425
  --mdc-tablist-focus-ring-outer-width: var(--mdc-focus-ring-outer-width);
5426
5426
  --mdc-tablist-gap: 0.5rem;
@@ -5450,7 +5450,7 @@
5450
5450
  :host mdc-button[prefix-icon='arrow-right-regular'] {
5451
5451
  margin-left: var(--mdc-tablist-arrow-button-margin);
5452
5452
  }
5453
- `],lv=[...LT];var cv=Y.constructTagName("tablist"),$a={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Ts={FORWARD:"forward",BACKWARD:"backward"};var wl=l=>l[0],Zd=l=>l[l.length-1],dv=(l,i)=>{let t=l.findIndex(o=>i===o)-1;return l[(t+l.length)%l.length]},hv=(l,i)=>{let t=l.findIndex(o=>i===o)+1;return l[t%l.length]},pv=(l,i)=>l.find(t=>t.tabId===i),Xd=l=>l.find(i=>i.active);var br=class extends W{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,h,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(T=>T.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=wl(this.tabs))==null?void 0:a.tabId),(h=this.tabsContainer)==null||h.addEventListener("focusin",this.handleFocus.bind(this)),(m=this.tabsContainer)==null||m.addEventListener("mousedown",this.handleMousedown.bind(this))}disconnectedCallback(){var t,o;super.disconnectedCallback(),(t=this.tabsContainer)==null||t.removeEventListener("focusin",this.handleFocus),(o=this.tabsContainer)==null||o.removeEventListener("mousedown",this.handleMousedown)}async update(t){if(super.update(t),t.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let o=pv(this.tabs,this.activeTabId);if(!(o instanceof or))return;this.setActiveTab(o),t.get("activeTabId")?(this.fireTabChangeEvent(o),await this.focusTab(o)):this.resetTabIndexAndSetNewTabIndex(o)}}fireTabChangeEvent(t){let o=new CustomEvent("change",{detail:{tabId:t.tabId}});this.dispatchEvent(o)}async handleFocus(t){if(t.relatedTarget instanceof or||!(t.target instanceof or))return;let o=Xd(this.tabs||[]);o instanceof or&&await this.focusTab(o)}handleMousedown(t){t.target instanceof or&&t.preventDefault()}async handleNestedTabActiveChange(t){t.stopPropagation();let o=t.target;o instanceof or&&(this.setActiveTab(o),await this.focusTab(o),this.activeTabId=o.tabId)}resetTabIndexAndSetNewTabIndex(t){var o;(o=this.tabs)==null||o.forEach(a=>{a.setAttribute("tabindex",a===t?"0":"-1")})}setActiveTab(t){var o;(o=this.tabs)==null||o.forEach(a=>{a===t?a.setAttribute("active",""):a.removeAttribute("active")})}async focusTab(t){t instanceof or&&(t!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(t),t.focus()),await this.handleArrowButtonVisibility())}async handleKeydown(t){let o=t.target;if(!(o instanceof or)||!this.tabs)return;let a=dv(this.tabs,o),h=hv(this.tabs,o),m=wl(this.tabs),T=Zd(this.tabs);switch(t.code){case $a.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?h:a);break;case $a.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?a:h);break;case $a.HOME:await this.focusTab(m);break;case $a.END:await this.focusTab(T);break;default:}}shouldShowArrowButton(t){return t===Ts.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton}async switchFocus(){var t,o;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(t=Xd(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((o=this.notFocusedArrowButton)==null||o.focus())}async handleArrowButtonVisibility(){var K,nt,Q;if(!this.tabs||!this.tabsContainer)return;let t=!1;((K=this.shadowRoot)==null?void 0:K.activeElement)instanceof Zi&&(t=!0);let o=wl(this.tabs),a=Zd(this.tabs),h=o.getBoundingClientRect().left,m=(nt=this.tabsContainer)==null?void 0:nt.getBoundingClientRect().left,T=a.getBoundingClientRect().right,N=(Q=this.tabsContainer)==null?void 0:Q.getBoundingClientRect().right,$=o.getBoundingClientRect().right,q=a.getBoundingClientRect().left;if(!this.isRtl()){h<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,T>N?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}$>N?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,q<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus()}async scrollTabs(t){var h;let o=this.isRtl()?-1:1,a=this.isRtl()?1:-1;(h=this.tabsContainer)==null||h.scrollBy({left:this.tabsContainer.clientWidth*(t===Ts.FORWARD?o:a),behavior:"instant"}),await this.handleArrowButtonVisibility()}render(){let t=this.isRtl()?"left":"right",o=this.isRtl()?"right":"left",a=h=>k` ${this.shouldShowArrowButton(h)?k`<mdc-button
5453
+ `],lv=[...LT];var cv=Y.constructTagName("tablist"),$a={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Ts={FORWARD:"forward",BACKWARD:"backward"};var wl=l=>l[0],Zd=l=>l[l.length-1],dv=(l,i)=>{let t=l.findIndex(o=>i===o)-1;return l[(t+l.length)%l.length]},hv=(l,i)=>{let t=l.findIndex(o=>i===o)+1;return l[t%l.length]},pv=(l,i)=>l.find(t=>t.tabId===i),Xd=l=>l.find(i=>i.active);var br=class extends W{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,h,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(T=>T.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=wl(this.tabs))==null?void 0:a.tabId),(h=this.tabsContainer)==null||h.addEventListener("focusin",this.handleFocus.bind(this)),(m=this.tabsContainer)==null||m.addEventListener("mousedown",this.handleMousedown.bind(this))}disconnectedCallback(){var t,o;super.disconnectedCallback(),(t=this.tabsContainer)==null||t.removeEventListener("focusin",this.handleFocus),(o=this.tabsContainer)==null||o.removeEventListener("mousedown",this.handleMousedown)}async update(t){if(super.update(t),t.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let o=pv(this.tabs,this.activeTabId);if(!(o instanceof ir))return;this.setActiveTab(o),t.get("activeTabId")?(this.fireTabChangeEvent(o),await this.focusTab(o)):this.resetTabIndexAndSetNewTabIndex(o)}}fireTabChangeEvent(t){let o=new CustomEvent("change",{detail:{tabId:t.tabId}});this.dispatchEvent(o)}async handleFocus(t){if(t.relatedTarget instanceof ir||!(t.target instanceof ir))return;let o=Xd(this.tabs||[]);o instanceof ir&&await this.focusTab(o)}handleMousedown(t){t.target instanceof ir&&t.preventDefault()}async handleNestedTabActiveChange(t){t.stopPropagation();let o=t.target;o instanceof ir&&(this.setActiveTab(o),await this.focusTab(o),this.activeTabId=o.tabId)}resetTabIndexAndSetNewTabIndex(t){var o;(o=this.tabs)==null||o.forEach(a=>{a.setAttribute("tabindex",a===t?"0":"-1")})}setActiveTab(t){var o;(o=this.tabs)==null||o.forEach(a=>{a===t?a.setAttribute("active",""):a.removeAttribute("active")})}async focusTab(t){t instanceof ir&&(t!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(t),t.focus()),await this.handleArrowButtonVisibility())}async handleKeydown(t){let o=t.target;if(!(o instanceof ir)||!this.tabs)return;let a=dv(this.tabs,o),h=hv(this.tabs,o),m=wl(this.tabs),T=Zd(this.tabs);switch(t.code){case $a.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?h:a);break;case $a.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?a:h);break;case $a.HOME:await this.focusTab(m);break;case $a.END:await this.focusTab(T);break;default:}}shouldShowArrowButton(t){return t===Ts.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton}async switchFocus(){var t,o;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(t=Xd(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((o=this.notFocusedArrowButton)==null||o.focus())}async handleArrowButtonVisibility(){var K,nt,Q;if(!this.tabs||!this.tabsContainer)return;let t=!1;((K=this.shadowRoot)==null?void 0:K.activeElement)instanceof Zi&&(t=!0);let o=wl(this.tabs),a=Zd(this.tabs),h=o.getBoundingClientRect().left,m=(nt=this.tabsContainer)==null?void 0:nt.getBoundingClientRect().left,T=a.getBoundingClientRect().right,N=(Q=this.tabsContainer)==null?void 0:Q.getBoundingClientRect().right,$=o.getBoundingClientRect().right,q=a.getBoundingClientRect().left;if(!this.isRtl()){h<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,T>N?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}$>N?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,q<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus()}async scrollTabs(t){var h;let o=this.isRtl()?-1:1,a=this.isRtl()?1:-1;(h=this.tabsContainer)==null||h.scrollBy({left:this.tabsContainer.clientWidth*(t===Ts.FORWARD?o:a),behavior:"instant"}),await this.handleArrowButtonVisibility()}render(){let t=this.isRtl()?"left":"right",o=this.isRtl()?"right":"left",a=h=>k` ${this.shouldShowArrowButton(h)?k`<mdc-button
5454
5454
  variant="tertiary"
5455
5455
  prefix-icon="arrow-${h===Ts.FORWARD?t:o}-regular"
5456
5456
  aria-label="Scroll tabs ${h===Ts.FORWARD?t:o}"
@@ -5578,7 +5578,7 @@
5578
5578
  opacity: 0;
5579
5579
  pointer-events: none;
5580
5580
  }
5581
- `,...At(!0)],fv=MT;var le=class extends De(ie(er)){constructor(){super(...arguments);this.readonly=!1;this.rows=Nl.ROWS;this.cols=Nl.COLS;this.wrap=Jd.SOFT;this.autocapitalize=hl.OFF;this.autocomplete=uv.OFF;this.autofocus=!1;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(o=>{this.onerror&&this.onerror(o)})}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===jt.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,o,a){super.attributeChangedCallback(t,o,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 o=t.constructor;this.dispatchEvent(new o(t.type,t))}renderCharacterCounter(){return this.maxCharacterLimit?k`
5581
+ `,...At(!0)],fv=MT;var le=class extends De(ie(tr)){constructor(){super(...arguments);this.readonly=!1;this.rows=Nl.ROWS;this.cols=Nl.COLS;this.wrap=Jd.SOFT;this.autocapitalize=hl.OFF;this.autocomplete=uv.OFF;this.autofocus=!1;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(o=>{this.onerror&&this.onerror(o)})}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===jt.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,o,a){super.attributeChangedCallback(t,o,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 o=t.constructor;this.dispatchEvent(new o(t.type,t))}renderCharacterCounter(){return this.maxCharacterLimit?k`
5582
5582
  <mdc-text part="character-counter" tagname="span" type=${Nl.CHARACTER_COUNTER_TYPE}>
5583
5583
  ${this.value.length<10?`0${this.value.length}`:this.value.length}/${this.maxCharacterLimit}
5584
5584
  </mdc-text>
@@ -5588,7 +5588,7 @@
5588
5588
  <textarea
5589
5589
  aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
5590
5590
  part="textarea"
5591
- id="${this.id}"
5591
+ id="${this.inputId}"
5592
5592
  name="${this.name}"
5593
5593
  .value="${this.value}"
5594
5594
  ?disabled="${this.disabled}"
@@ -5611,7 +5611,7 @@
5611
5611
  ></textarea>
5612
5612
  </div>
5613
5613
  ${this.renderTextareaFooter()}
5614
- `}};le.styles=[...er.styles,...fv],p([f({type:String})],le.prototype,"placeholder",2),p([f({type:Boolean})],le.prototype,"readonly",2),p([f({type:Number})],le.prototype,"rows",2),p([f({type:Number})],le.prototype,"cols",2),p([f({type:String})],le.prototype,"wrap",2),p([f({type:String})],le.prototype,"autocapitalize",2),p([f({type:String})],le.prototype,"autocomplete",2),p([f({type:Boolean})],le.prototype,"autofocus",2),p([f({type:String})],le.prototype,"dirname",2),p([f({type:Number})],le.prototype,"maxlength",2),p([f({type:Number})],le.prototype,"minlength",2),p([f({type:Number,attribute:"max-character-limit"})],le.prototype,"maxCharacterLimit",2),p([Gr("textarea")],le.prototype,"inputElement",2);var th=le;th.register(mv);var OT=th;var PT=[G`
5614
+ `}};le.styles=[...tr.styles,...fv],p([f({type:String})],le.prototype,"placeholder",2),p([f({type:Boolean})],le.prototype,"readonly",2),p([f({type:Number})],le.prototype,"rows",2),p([f({type:Number})],le.prototype,"cols",2),p([f({type:String})],le.prototype,"wrap",2),p([f({type:String})],le.prototype,"autocapitalize",2),p([f({type:String})],le.prototype,"autocomplete",2),p([f({type:Boolean})],le.prototype,"autofocus",2),p([f({type:String})],le.prototype,"dirname",2),p([f({type:Number})],le.prototype,"maxlength",2),p([f({type:Number})],le.prototype,"minlength",2),p([f({type:Number,attribute:"max-character-limit"})],le.prototype,"maxCharacterLimit",2),p([Gr("textarea")],le.prototype,"inputElement",2);var th=le;th.register(mv);var OT=th;var PT=[G`
5615
5615
  :host {
5616
5616
  display: block;
5617
5617
  position: relative;
@@ -5888,7 +5888,7 @@
5888
5888
  :host([disabled]) .mdc-help-text {
5889
5889
  color: var(--mdc-toggle-label-color-disabled);
5890
5890
  }
5891
- `,...At(!0)],xv=BT;var ko=class extends De(ie(er)){constructor(){super(...arguments);this.checked=!1;this.size=bd.SIZE;this.autofocus=!1}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}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 o;t.key===J.ENTER&&((o=this.form)==null||o.requestSubmit())}handleChange(t){this.toggleState();let o=t.constructor;this.dispatchEvent(new o(t.type,t))}setToggleSize(t){this.setAttribute("size",Object.values(Ca).includes(t)?t:bd.SIZE)}update(t){super.update(t),t.has("checked")&&this.setFormValue(),t.has("size")&&this.setToggleSize(this.size)}render(){var t;return k`
5891
+ `,...At(!0)],xv=BT;var ko=class extends De(ie(tr)){constructor(){super(...arguments);this.checked=!1;this.size=bd.SIZE;this.autofocus=!1}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}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 o;t.key===J.ENTER&&((o=this.form)==null||o.requestSubmit())}handleChange(t){this.toggleState();let o=t.constructor;this.dispatchEvent(new o(t.type,t))}setToggleSize(t){this.setAttribute("size",Object.values(Ca).includes(t)?t:bd.SIZE)}update(t){super.update(t),t.has("checked")&&this.setFormValue(),t.has("size")&&this.setToggleSize(this.size)}render(){var t;return k`
5892
5892
  <mdc-statictoggle
5893
5893
  ?checked="${this.checked}"
5894
5894
  ?disabled="${this.disabled}"
@@ -5897,7 +5897,7 @@
5897
5897
  part="container"
5898
5898
  >
5899
5899
  <input
5900
- id="${this.id}"
5900
+ id="${this.inputId}"
5901
5901
  type="checkbox"
5902
5902
  part="toggle-input"
5903
5903
  role="${tt.CHECKBOX}"
@@ -5916,7 +5916,7 @@
5916
5916
  />
5917
5917
  </mdc-statictoggle>
5918
5918
  ${this.renderLabel()} ${this.renderHelperText()}
5919
- `}};ko.styles=[...er.styles,...xv],p([f({type:Boolean,reflect:!0})],ko.prototype,"checked",2),p([f({type:String,reflect:!0})],ko.prototype,"size",2),p([f({type:Boolean,reflect:!0})],ko.prototype,"autofocus",2);var sh=ko;sh.register(gf);var UT=sh;function Co(l,i,t){var h;let o=(h=t.initialDeps)!=null?h:[],a;return()=>{var m,T,N,$;let q;t.key&&((m=t.debug)!=null&&m.call(t))&&(q=Date.now());let K=l();if(!(K.length!==o.length||K.some((rt,dt)=>o[dt]!==rt)))return a;o=K;let Q;if(t.key&&((T=t.debug)!=null&&T.call(t))&&(Q=Date.now()),a=i(...K),t.key&&((N=t.debug)!=null&&N.call(t))){let rt=Math.round((Date.now()-q)*100)/100,dt=Math.round((Date.now()-Q)*100)/100,ut=dt/16,Tt=(St,Ct)=>{for(St=String(St);St.length<Ct;)St=" "+St;return St};console.info(`%c\u23F1 ${Tt(dt,5)} /${Tt(rt,5)} ms`,`
5919
+ `}};ko.styles=[...tr.styles,...xv],p([f({type:Boolean,reflect:!0})],ko.prototype,"checked",2),p([f({type:String,reflect:!0})],ko.prototype,"size",2),p([f({type:Boolean,reflect:!0})],ko.prototype,"autofocus",2);var sh=ko;sh.register(gf);var UT=sh;function Co(l,i,t){var h;let o=(h=t.initialDeps)!=null?h:[],a;return()=>{var m,T,N,$;let q;t.key&&((m=t.debug)!=null&&m.call(t))&&(q=Date.now());let K=l();if(!(K.length!==o.length||K.some((rt,dt)=>o[dt]!==rt)))return a;o=K;let Q;if(t.key&&((T=t.debug)!=null&&T.call(t))&&(Q=Date.now()),a=i(...K),t.key&&((N=t.debug)!=null&&N.call(t))){let rt=Math.round((Date.now()-q)*100)/100,dt=Math.round((Date.now()-Q)*100)/100,ut=dt/16,Tt=(St,Ct)=>{for(St=String(St);St.length<Ct;)St=" "+St;return St};console.info(`%c\u23F1 ${Tt(dt,5)} /${Tt(rt,5)} ms`,`
5920
5920
  font-size: .6rem;
5921
5921
  font-weight: bold;
5922
5922
  color: hsl(${Math.max(0,Math.min(120-120*ut,120))}deg 100% 31%);`,t==null?void 0:t.key)}return($=t==null?void 0:t.onChange)==null||$.call(t,a),a}}function Pl(l,i){if(l===void 0)throw new Error(`Unexpected undefined${i?`: ${i}`:""}`);return l}var Av=(l,i)=>Math.abs(l-i)<1,Sv=(l,i,t)=>{let o;return function(...a){l.clearTimeout(o),o=l.setTimeout(()=>i.apply(this,a),t)}};var HT=l=>l,GT=l=>{let i=Math.max(l.startIndex-l.overscan,0),t=Math.min(l.endIndex+l.overscan,l.count-1),o=[];for(let a=i;a<=t;a++)o.push(a);return o},Iv=(l,i)=>{let t=l.scrollElement;if(!t)return;let o=l.targetWindow;if(!o)return;let a=m=>{let{width:T,height:N}=m;i({width:Math.round(T),height:Math.round(N)})};if(a(t.getBoundingClientRect()),!o.ResizeObserver)return()=>{};let h=new o.ResizeObserver(m=>{let T=m[0];if(T!=null&&T.borderBoxSize){let N=T.borderBoxSize[0];if(N){a({width:N.inlineSize,height:N.blockSize});return}}a(t.getBoundingClientRect())});return h.observe(t,{box:"border-box"}),()=>{h.unobserve(t)}},_v={passive:!0};var YT=typeof window>"u"?!0:"onscrollend"in window,kv=(l,i)=>{let t=l.scrollElement;if(!t)return;let o=l.targetWindow;if(!o)return;let a=0,h=l.options.useScrollendEvent&&YT?()=>{}:Sv(o,()=>{i(a,!1)},l.options.isScrollingResetDelay),m=$=>()=>{let{horizontal:q,isRtl:K}=l.options;a=q?t.scrollLeft*(K&&-1||1):t.scrollTop,h(),i(a,$)},T=m(!0),N=m(!1);return N(),t.addEventListener("scroll",T,_v),t.addEventListener("scrollend",N,_v),()=>{t.removeEventListener("scroll",T),t.removeEventListener("scrollend",N)}};var WT=(l,i,t)=>{if(i!=null&&i.borderBoxSize){let o=i.borderBoxSize[0];if(o)return Math.round(o[t.options.horizontal?"inlineSize":"blockSize"])}return Math.round(l.getBoundingClientRect()[t.options.horizontal?"width":"height"])};var Cv=(l,{adjustments:i=0,behavior:t},o)=>{var a,h;let m=l+i;(h=(a=o.scrollElement)==null?void 0:a.scrollTo)==null||h.call(a,{[o.options.horizontal?"left":"top"]:m,behavior:t})},Dl=class{constructor(i){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,o=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(a=>{a.forEach(h=>{this._measureElement(h.target,h)})}));return{disconnect:()=>{var a;(a=o())==null||a.disconnect(),t=null},observe:a=>{var h;return(h=o())==null?void 0:h.observe(a,{box:"border-box"})},unobserve:a=>{var h;return(h=o())==null?void 0:h.unobserve(a)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([o,a])=>{typeof a>"u"&&delete t[o]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:HT,rangeExtractor:GT,onChange:()=>{},measureElement:WT,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 o,a;(a=(o=this.options).onChange)==null||a.call(o,this,t)},this.maybeNotify=Co(()=>(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 o=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==o){if(this.cleanup(),!o){this.maybeNotify();return}this.scrollElement=o,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(h=>{this.observer.observe(h)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,h=>{this.scrollRect=h,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(h,m)=>{this.scrollAdjustments=0,this.scrollDirection=m?this.getScrollOffset()<h?"forward":"backward":null,this.scrollOffset=h,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,o)=>{let a=new Map,h=new Map;for(let m=o-1;m>=0;m--){let T=t[m];if(a.has(T.lane))continue;let N=h.get(T.lane);if(N==null||T.end>N.end?h.set(T.lane,T):T.end<N.end&&a.set(T.lane,!0),a.size===this.options.lanes)break}return h.size===this.options.lanes?Array.from(h.values()).sort((m,T)=>m.end===T.end?m.index-T.index:m.end-T.end)[0]:void 0},this.getMeasurementOptions=Co(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,o,a,h,m)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:o,scrollMargin:a,getItemKey:h,enabled:m}),{key:!1}),this.getMeasurements=Co(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:o,scrollMargin:a,getItemKey:h,enabled:m},T)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(q=>{this.itemSizeCache.set(q.key,q.size)}));let N=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let $=this.measurementsCache.slice(0,N);for(let q=N;q<t;q++){let K=h(q),nt=this.options.lanes===1?$[q-1]:this.getFurthestMeasurement($,q),Q=nt?nt.end+this.options.gap:o+a,rt=T.get(K),dt=typeof rt=="number"?rt:this.options.estimateSize(q),ut=Q+dt,Tt=nt?nt.lane:q%this.options.lanes;$[q]={index:q,start:Q,size:dt,end:ut,key:K,lane:Tt}}return this.measurementsCache=$,$},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Co(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(t,o,a)=>this.range=t.length>0&&o>0?jT({measurements:t,outerSize:o,scrollOffset:a}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=Co(()=>{let t=null,o=null,a=this.calculateRange();return a&&(t=a.startIndex,o=a.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,o]},(t,o,a,h,m)=>h===null||m===null?[]:t({startIndex:h,endIndex:m,overscan:o,count:a}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let o=this.options.indexAttribute,a=t.getAttribute(o);return a?parseInt(a,10):(console.warn(`Missing attribute name '${o}={index}' on measured element.`),-1)},this._measureElement=(t,o)=>{let a=this.indexFromElement(t),h=this.measurementsCache[a];if(!h)return;let m=h.key,T=this.elementsCache.get(m);T!==t&&(T&&this.observer.unobserve(T),this.observer.observe(t),this.elementsCache.set(m,t)),t.isConnected&&this.resizeItem(a,this.options.measureElement(t,o,this))},this.resizeItem=(t,o)=>{var T;let a=this.measurementsCache[t];if(!a)return;let h=(T=this.itemSizeCache.get(a.key))!=null?T:a.size,m=o-h;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,o)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((o,a)=>{o.isConnected||(this.observer.unobserve(o),this.elementsCache.delete(a))});return}this._measureElement(t,void 0)},this.getVirtualItems=Co(()=>[this.getIndexes(),this.getMeasurements()],(t,o)=>{let a=[];for(let h=0,m=t.length;h<m;h++){let T=t[h],N=o[T];a.push(N)}return a},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let o=this.getMeasurements();if(o.length!==0)return Pl(o[wv(0,o.length-1,a=>Pl(o[a]).start,t)])},this.getOffsetForAlignment=(t,o)=>{let a=this.getSize(),h=this.getScrollOffset();o==="auto"&&t>=h+a&&(o="end"),o==="end"&&(t-=a);let m=this.options.horizontal?"scrollWidth":"scrollHeight",N=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[m]:this.scrollElement[m]:0)-a;return Math.max(Math.min(N,t),0)},this.getOffsetForIndex=(t,o="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));let a=this.measurementsCache[t];if(!a)return;let h=this.getSize(),m=this.getScrollOffset();if(o==="auto")if(a.end>=m+h-this.options.scrollPaddingEnd)o="end";else if(a.start<=m+this.options.scrollPaddingStart)o="start";else return[m,o];let T=a.start-this.options.scrollPaddingStart+(a.size-h)/2;switch(o){case"center":return[this.getOffsetForAlignment(T,o),o];case"end":return[this.getOffsetForAlignment(a.end+this.options.scrollPaddingEnd,o),o];default:return[this.getOffsetForAlignment(a.start-this.options.scrollPaddingStart,o),o]}},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:o="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,o),{adjustments:void 0,behavior:a})},this.scrollToIndex=(t,{align:o="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 h=this.getOffsetForIndex(t,o);if(!h)return;let[m,T]=h;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[$]=Pl(this.getOffsetForIndex(t,T));Av($,this.getScrollOffset())||this.scrollToIndex(t,{align:T,behavior:a})}else this.scrollToIndex(t,{align:T,behavior:a})}))},this.scrollBy=(t,{behavior:o}={})=>{this.cancelScrollToIndex(),o==="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:o})},this.getTotalSize=()=>{var h;var t;let o=this.getMeasurements(),a;return o.length===0?a=this.options.paddingStart:a=this.options.lanes===1?(h=(t=o[o.length-1])==null?void 0:t.end)!=null?h:0:Math.max(...o.slice(-this.options.lanes).map(m=>m.end)),Math.max(a-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:o,behavior:a})=>{this.options.scrollToFn(t,{behavior:a,adjustments:o},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(i)}},wv=(l,i,t,o)=>{for(;l<=i;){let a=(l+i)/2|0,h=t(a);if(h<o)l=a+1;else if(h>o)i=a-1;else return a}return l>0?l-1:0};function jT({measurements:l,outerSize:i,scrollOffset:t}){let o=l.length-1,h=wv(0,o,T=>l[T].start,t),m=h;for(;m<o&&l[m].end<t+i;)m++;return{startIndex:h,endIndex:m}}var ah=class{constructor(i,t){this.cleanup=()=>{},(this.host=i).addController(this);let o={...t,onChange:(a,h)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=t.onChange)==null||m.call(t,a,h)}};this.virtualizer=new Dl(o)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},Fl=class extends ah{constructor(i,t){super(i,{observeElementRect:Iv,observeElementOffset:kv,scrollToFn:Cv,...t})}};var qT=[G`