@momentum-design/components 0.106.0 → 0.106.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +98 -79
- package/dist/browser/index.js.map +2 -2
- package/dist/components/buttongroup/buttongroup.styles.js +49 -30
- package/dist/components/buttonsimple/buttonsimple.component.d.ts +10 -0
- package/dist/components/buttonsimple/buttonsimple.component.js +8 -0
- package/dist/components/menuitem/menuitem.component.d.ts +2 -2
- package/dist/components/menuitem/menuitem.component.js +2 -11
- package/dist/custom-elements.json +2040 -1604
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +4 -4
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
"use strict";(()=>{var Kg=Object.create;var rc=Object.defineProperty;var cp=Object.getOwnPropertyDescriptor;var qg=Object.getOwnPropertyNames;var Zg=Object.getPrototypeOf,Xg=Object.prototype.hasOwnProperty;var Qg=(l,i)=>()=>(i||l((i={exports:{}}).exports,i),i.exports);var Jg=(l,i,t,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of qg(i))!Xg.call(l,a)&&a!==t&&rc(l,a,{get:()=>i[a],enumerable:!(o=cp(i,a))||o.enumerable});return l};var tb=(l,i,t)=>(t=l!=null?Kg(Zg(l)):{},Jg(i||!l||!l.__esModule?rc(t,"default",{value:l,enumerable:!0}):t,l));var p=(l,i,t,o)=>{for(var a=o>1?void 0:o?cp(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&&rc(i,t,a),a};var sm=Qg((oa,Dn)=>{typeof navigator<"u"&&function(l,i){typeof oa=="object"&&typeof Dn<"u"?Dn.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self,l.lottie=i())}(oa,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},E=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 K(e,r){return Object.getOwnPropertyDescriptor(e,r)}function q(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,kt="",Gt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Ft=!1,Vt=Math.pow,Kt=Math.sqrt,oe=Math.floor,ar=Math.max,_e=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 nr(){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 lr=150,It=Math.PI/180,le=.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 Ua(e,r){this.type=e,this.direction=r<0?-1:1}function vh(e,r,s,n){this.type=e,this.currentLoop=s,this.totalLoops=r,this.direction=n<0?-1:1}function gh(e,r,s){this.type=e,this.firstFrame=r,this.totalFrames=s}function bh(e,r){this.type=e,this.target=r}function Kv(e,r){this.type="renderFrameError",this.nativeError=e,this.currentTime=r}function qv(e){this.type="configError",this.nativeError=e}function mx(e,r){this.type=e,this.nativeError=r}var Ie=function(){var e=0;return function(){return e+=1,kt+"__lottie_element_"+e}}();function Hl(e,r,s){var n,d,c,v,x,g,C,L;switch(v=Math.floor(e*6),x=e*6-v,g=s*(1-r),C=s*(1-x*r),L=s*(1-(1-x)*r),v%6){case 0:n=s,d=L,c=g;break;case 1:n=C,d=s,c=g;break;case 2:n=g,d=s,c=L;break;case 3:n=g,d=C,c=s;break;case 4:n=L,d=g,c=s;break;case 5:n=s,d=g,c=C;break;default:break}return[n,d,c]}function Gl(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 yh(e,r){var s=Gl(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),Hl(s[0],s[1],s[2])}function Eh(e,r){var s=Gl(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),Hl(s[0],s[1],s[2])}function Th(e,r){var s=Gl(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),Hl(s[0],s[1],s[2])}var ux=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},Xv=function(){return ut},Qv=function(r){Tt=r},Ha=function(){return Tt},fx=function(r){St=r},xh=function(){return St},Ga=function(r){lr=r},_s=function(){return lr},Jv=function(r){kt=r},vx=function(){return kt};function bt(e){return document.createElementNS(l,e)}function Ya(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ya=function(s){return typeof s}:Ya=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ya(e)}var Is=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(T){if(window.Worker&&window.Blob&&h()){var R=new Blob(["var _workerSelf = self; self.onmessage = ",T.toString()],{type:"text/javascript"}),P=URL.createObjectURL(R);return new Worker(P)}return s=T,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)k(vt[U].pt.k);else for(mt=vt[U].pt.k.length,at=0;at<mt;at+=1)vt[U].pt.k[at].s&&k(vt[U].pt.k[at].s[0]),vt[U].pt.k[at].e&&k(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)k(Z[S].ks.k);else for(b=Z[S].ks.k.length,u=0;u<b;u+=1)Z[S].ks.k[u].s&&k(Z[S].ks.k[u].s[0]),Z[S].ks.k[u].e&&k(Z[S].ks.k[u].e[0]);else Z[S].ty==="gr"&&A(Z[S].it)}function k(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)}}}(),Y=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),Y(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=Y,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&&Ya(_.response)==="object"?_.response:_.response&&typeof _.response=="string"?JSON.parse(_.response):_.responseText?JSON.parse(_.responseText):null}function w(_,y,A,k){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(Y){k&&k(Y)}};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(T){var R=T.data,P=R.id,M=r[P];r[P]=null,R.status==="success"?M.onComplete(R.payload):M.onError&&M.onError()})}function g(T,R){e+=1;var P="processId_"+e;return r[P]={onComplete:T,onError:R},P}function C(T,R,P){x();var M=g(R,P);n.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function L(T,R,P){x();var M=g(R,P);n.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function B(T,R,P){x();var M=g(R,P);n.postMessage({type:"complete",animation:T,id:M})}return{loadAnimation:C,loadData:L,completeAnimation:B}}(),tg=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 k=w.p;k.indexOf("images/")!==-1&&(k=k.split("/")[1]),A=_+k}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 Is.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 C(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 T(){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:C,loadedImages:R,loadedFootages:P,destroy:T,getAsset:B,createImgData:v,createImageData:c,imageLoaded:r,footageLoaded:s,setCacheType:M},z}();function Ah(){}Ah.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 eg=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}}(),rg=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}}(),Cs={},ig=function(r,s){Cs[r]=s};function og(e){return Cs[e]}function sg(){if(Cs.canvas)return"canvas";for(var e in Cs)if(Cs[e])return e;return""}function ks(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ks=function(s){return typeof s}:ks=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},ks(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=Ie(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Xv(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=rg(),this.imagePreloader=new tg,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=Ha()};$([Ah],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=og(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")),Is.loadAnimation(e.path,this.configAnimation,this.onSetupError))},pt.prototype.onSetupError=function(){this.trigger("data_failed")},pt.prototype.setupAnimation=function(e){Is.completeAnimation(e,this.configAnimation)},pt.prototype.setData=function(e,r){r&&ks(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:sg()||"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,Is.completeAnimation(this.animationData,this.onSegmentComplete)},pt.prototype.onSegmentComplete=function(e){this.animationData=e;var r=Ha();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,Is.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=eg(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=Ha();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),ks(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 vh(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new Ua(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new gh(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new bh(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 vh(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new Ua(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new gh(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new bh(e,this))},pt.prototype.triggerRenderFrameError=function(e){var r=new Kv(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},pt.prototype.triggerConfigError=function(e){var r=new qv(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var qt=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 T(b,S),b.setData(S,O),b}function C(){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 T(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 T(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 k(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 Y(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=k,e.togglePause=D,e.searchAnimations=Y,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=C,e}(),ws=function(){var e={};e.getBezierEasing=s;var r={};function s(_,y,A,k,D){var V=D||("bez_"+_+"_"+y+"_"+A+"_"+k).replace(/\./g,"p");if(r[V])return r[V];var Y=new w([_,y,A,k]);return r[V]=Y,Y}var n=4,d=.001,c=1e-7,v=10,x=11,g=1/(x-1),C=typeof Float32Array=="function";function L(_,y){return 1-3*y+3*_}function B(_,y){return 3*y-6*_}function T(_){return 3*_}function R(_,y,A){return((L(y,A)*_+B(y,A))*_+T(y))*_}function P(_,y,A){return 3*L(y,A)*_*_+2*B(y,A)*_+T(y)}function M(_,y,A,k,D){var V,Y,X=0;do Y=y+(A-y)/2,V=R(Y,k,D)-_,V>0?A=Y:y=Y;while(Math.abs(V)>c&&++X<v);return Y}function z(_,y,A,k){for(var D=0;D<n;++D){var V=P(y,A,k);if(V===0)return y;var Y=R(y,A,k)-_;y-=Y/V}return y}function w(_){this._p=_,this._mSampleValues=C?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],k=this._p[1],D=this._p[2],V=this._p[3];return this._precomputed||this._precompute(),A===k&&D===V?y:y===0?0:y===1?1:R(this._getTForX(y),k,V)},_precompute:function(){var y=this._p[0],A=this._p[1],k=this._p[2],D=this._p[3];this._precomputed=!0,(y!==A||k!==D)&&this._calcSampleValues()},_calcSampleValues:function(){for(var y=this._p[0],A=this._p[2],k=0;k<x;++k)this._mSampleValues[k]=R(k*g,y,A)},_getTForX:function(y){for(var A=this._p[0],k=this._p[2],D=this._mSampleValues,V=0,Y=1,X=x-1;Y!==X&&D[Y]<=y;++Y)V+=g;--Y;var ft=(y-D[Y])/(D[Y+1]-D[Y]),ht=V+ft*g,et=P(ht,A,k);return et>=d?z(y,ht,A,k):et===0?ht:M(y,V,V+g,A,k)}},e}(),Sh=function(){function e(r){return r.concat(rt(r.length))}return{double:e}}(),Wa=function(){return function(e,r,s){var n=0,d=e,c=rt(d),v={newElement:x,release:g};function x(){var C;return n?(n-=1,C=c[n]):C=r(),C}function g(C){n===d&&(c=Sh.double(c),d*=2),s&&s(C),c[n]=C,n+=1}return v}}(),_h=function(){function e(){return{addedLength:0,percents:Q("float32",_s()),lengths:Q("float32",_s())}}return Wa(8,e)}(),Ih=function(){function e(){return{lengths:[],totalLength:0}}function r(s){var n,d=s.lengths.length;for(n=0;n<d;n+=1)_h.release(s.lengths[n]);s.lengths.length=0}return Wa(8,e,r)}();function ag(){var e=Math;function r(T,R,P,M,z,w){var _=T*M+R*z+P*w-z*M-w*T-P*R;return _>-.001&&_<.001}function s(T,R,P,M,z,w,_,y,A){if(P===0&&w===0&&A===0)return r(T,R,M,z,_,y);var k=e.sqrt(e.pow(M-T,2)+e.pow(z-R,2)+e.pow(w-P,2)),D=e.sqrt(e.pow(_-T,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)),Y;return k>D?k>V?Y=k-D-V:Y=V-D-k:V>D?Y=V-D-k:Y=D-k-V,Y>-1e-4&&Y<1e-4}var n=function(){return function(T,R,P,M){var z=_s(),w,_,y,A,k,D=0,V,Y=[],X=[],ft=_h.newElement();for(y=P.length,w=0;w<z;w+=1){for(k=w/(z-1),V=0,_=0;_<y;_+=1)A=Vt(1-k,3)*T[_]+3*Vt(1-k,2)*k*P[_]+3*(1-k)*Vt(k,2)*M[_]+Vt(k,3)*R[_],Y[_]=A,X[_]!==null&&(V+=Vt(Y[_]-X[_],2)),X[_]=Y[_];V&&(V=Kt(V),D+=V),ft.percents[w]=k,ft.lengths[w]=D}return ft.addedLength=D,ft}}();function d(T){var R=Ih.newElement(),P=T.c,M=T.v,z=T.o,w=T.i,_,y=T._length,A=R.lengths,k=0;for(_=0;_<y-1;_+=1)A[_]=n(M[_],M[_+1],z[_],w[_+1]),k+=A[_].addedLength;return P&&y&&(A[_]=n(M[_],M[0],z[_],w[0]),k+=A[_].addedLength),R.totalLength=k,R}function c(T){this.segmentLength=0,this.points=new Array(T)}function v(T,R){this.partialLength=T,this.point=R}var x=function(){var T={};return function(R,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(!T[w]){var _=_s(),y,A,k,D,V,Y=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(k=M.length,y=0;y<_;y+=1){for(ft=rt(k),V=y/(_-1),X=0,A=0;A<k;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=Kt(X),Y+=X,et.points[y]=new v(X,ft),ht=ft}et.segmentLength=Y,T[w]=et}return T[w]}}();function g(T,R){var P=R.percents,M=R.lengths,z=P.length,w=oe((z-1)*T),_=T*R.addedLength,y=0;if(w===z-1||w===0||_===M[w])return P[w];for(var A=M[w]>_?-1:1,k=!0;k;)if(M[w]<=_&&M[w+1]>_?(y=(_-M[w])/(M[w+1]-M[w]),k=!1):w+=A,w<0||w>=z-1){if(w===z-1)return P[w];k=!1}return P[w]+(P[w+1]-P[w])*y}function C(T,R,P,M,z,w){var _=g(z,w),y=1-_,A=e.round((y*y*y*T[0]+(_*y*y+y*_*y+y*y*_)*P[0]+(_*_*y+y*_*_+_*y*_)*M[0]+_*_*_*R[0])*1e3)/1e3,k=e.round((y*y*y*T[1]+(_*y*y+y*_*y+y*y*_)*P[1]+(_*_*y+y*_*_+_*y*_)*M[1]+_*_*_*R[1])*1e3)/1e3;return[A,k]}var L=Q("float32",8);function B(T,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,_),k,D=T.length,V=1-y,Y=1-A,X=V*V*V,ft=y*V*V*3,ht=y*y*V*3,et=y*y*y,yt=V*V*Y,lt=y*V*Y+V*y*Y+V*V*A,Z=y*y*Y+V*y*A+y*V*A,S=y*y*A,O=V*Y*Y,u=y*Y*Y+V*A*Y+V*Y*A,b=y*A*Y+V*A*A+y*Y*A,U=y*A*A,F=Y*Y*Y,at=A*Y*Y+Y*A*Y+Y*Y*A,mt=A*A*Y+Y*A*A+A*Y*A,vt=A*A*A;for(k=0;k<D;k+=1)L[k*4]=e.round((X*T[k]+ft*P[k]+ht*M[k]+et*R[k])*1e3)/1e3,L[k*4+1]=e.round((yt*T[k]+lt*P[k]+Z*M[k]+S*R[k])*1e3)/1e3,L[k*4+2]=e.round((O*T[k]+u*P[k]+b*M[k]+U*R[k])*1e3)/1e3,L[k*4+3]=e.round((F*T[k]+at*P[k]+mt*M[k]+vt*R[k])*1e3)/1e3;return L}return{getSegmentsLength:d,getNewSegment:B,getPointInSegment:C,buildBezierData:x,pointOnLine2D:r,pointOnLine3D:s}}var Tr=ag(),zi=o,Ch=Math.abs;function kh(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,C,L;x;){if(g=this.keyframes[c],C=this.keyframes[c+1],c===v-1&&e>=C.t-s){g.h&&(g=C),d=0;break}if(C.t-s>e){d=c;break}c<v-1?c+=1:(d=0,x=!1)}L=this.keyframesMetadata[c]||{};var B,T,R,P,M,z,w=C.t-s,_=g.t-s,y;if(g.to){L.bezierData||(L.bezierData=Tr.buildBezierData(g.s,C.s||g.e,g.to,g.ti));var A=L.bezierData;if(e>=w||e<_){var k=e>=w?A.points.length-1:0;for(T=A.points[k].point.length,B=0;B<T;B+=1)n[B]=A.points[k].point[B]}else{L.__fnct?z=L.__fnct:(z=ws.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,Y=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(Y+=A.points[M].partialLength,D===0||R===0||M===A.points.length-1){for(T=A.points[M].point.length,B=0;B<T;B+=1)n[B]=A.points[M].point[B];break}else if(D>=Y&&D<Y+A.points[M+1].partialLength){for(V=(D-Y)/A.points[M+1].partialLength,T=A.points[M].point.length,B=0;B<T;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=Y-A.points[M].partialLength,r._lastKeyframeIndex=c}}else{var X,ft,ht,et,yt;if(v=g.s.length,y=C.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=wh(g.s),Z=wh(y),S=(e-_)/(w-_);lg(n,ng(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=ws.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=ws.getBezierEasing(X,ft,ht,et).get,g.keyframeMetadata=z),R=z((e-_)/(w-_)))),y=C.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 ng(e,r,s){var n=[],d=e[0],c=e[1],v=e[2],x=e[3],g=r[0],C=r[1],L=r[2],B=r[3],T,R,P,M,z;return R=d*g+c*C+v*L+x*B,R<0&&(R=-R,g=-g,C=-C,L=-L,B=-B),1-R>1e-6?(T=Math.acos(R),P=Math.sin(T),M=Math.sin((1-s)*T)/P,z=Math.sin(s*T)/P):(M=1-s,z=s),n[0]=M*d+z*g,n[1]=M*c+z*C,n[2]=M*v+z*L,n[3]=M*x+z*B,n}function lg(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 wh(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),C=Math.sin(n/2),L=d*c*v-x*g*C,B=x*g*v+d*c*C,T=x*c*v+d*g*C,R=d*g*v-x*c*C;return[B,T,R,L]}function Nh(){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!==zi&&(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 ja(e){var r;if(this.propType==="unidimensional")r=e*this.mult,Ch(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,Ch(this.v[s]-r)>1e-5&&(this.v[s]=r,this._mdf=!0),s+=1}function Ka(){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 qa(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function cg(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=Ka,this.setVValue=ja,this.addEffect=qa}function dg(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=Ka,this.setVValue=ja,this.addEffect=qa}function hg(e,r,s,n){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:zi,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=zi,this.pv=zi,this._isFirstFrame=!0,this.getValue=Ka,this.setVValue=ja,this.interpolateValue=kh,this.effectsSequence=[Nh.bind(this)],this.addEffect=qa}function pg(e,r,s,n){this.propType="multidimensional";var d,c=r.k.length,v,x,g,C;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,C=r.k[d].ti,(v.length===2&&!(v[0]===x[0]&&v[1]===x[1])&&Tr.pointOnLine2D(v[0],v[1],x[0],x[1],v[0]+g[0],v[1]+g[1])&&Tr.pointOnLine2D(v[0],v[1],x[0],x[1],x[0]+C[0],x[1]+C[1])||v.length===3&&!(v[0]===x[0]&&v[1]===x[1]&&v[2]===x[2])&&Tr.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])&&Tr.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],x[0]+C[0],x[1]+C[1],x[2]+C[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&&C[0]===0&&C[1]===0&&(v.length===2||v[2]===x[2]&&g[2]===0&&C[2]===0)&&(r.k[d].to=null,r.k[d].ti=null));this.effectsSequence=[Nh.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=Ka,this.setVValue=ja,this.interpolateValue=kh,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]=zi,this.pv[d]=zi;this._caching={lastFrame:zi,lastIndex:0,value:Q("float32",L)},this.addEffect=qa}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 cg(s,n,c,v);else if(typeof n.k[0]=="number")x=new dg(s,n,c,v);else switch(d){case 0:x=new hg(s,n,c,v);break;case 1:x=new pg(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 Vi=function(){function e(){return Q("float32",2)}return Wa(8,e)}();function Pr(){this.c=!1,this._length=0,this._maxLength=8,this.v=rt(this._maxLength),this.o=rt(this._maxLength),this.i=rt(this._maxLength)}Pr.prototype.setPathData=function(e,r){this.c=e,this.setLength(r);for(var s=0;s<r;)this.v[s]=Vi.newElement(),this.o[s]=Vi.newElement(),this.i[s]=Vi.newElement(),s+=1},Pr.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},Pr.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},Pr.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]=Vi.newElement()),c[n][0]=e,c[n][1]=r},Pr.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)},Pr.prototype.reverse=function(){var e=new Pr;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},Pr.prototype.length=function(){return this._length};var ce=function(){function e(){return new Pr}function r(d){var c=d._length,v;for(v=0;v<c;v+=1)Vi.release(d.v[v]),Vi.release(d.i[v]),Vi.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=Wa(4,e,r);return n.clone=s,n}();function Yl(){this._length=0,this._maxLength=4,this.shapes=rt(this._maxLength)}Yl.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},Yl.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)ce.release(this.shapes[e]);this._length=0};var wo=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 Yl,v}function c(v){var x,g=v._length;for(x=0;x<g;x+=1)ce.release(v.shapes[x]);v._length=0,r===s&&(n=Sh.double(n),s*=2),n[r]=v,r+=1}return e}(),Za=function(){var e=-999999;function r(w,_,y){var A=y.lastIndex,k,D,V,Y,X,ft,ht,et,yt,lt=this.keyframes;if(w<lt[0].t-this.offsetTime)k=lt[0].s[0],V=!0,A=0;else if(w>=lt[lt.length-1].t-this.offsetTime)k=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=ws.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]}k=u.s[0]}for(ft=_._length,ht=k.i[0].length,y.lastIndex=A,Y=0;Y<ft;Y+=1)for(X=0;X<ht;X+=1)yt=V?k.i[Y][X]:k.i[Y][X]+(D.i[Y][X]-k.i[Y][X])*et,_.i[Y][X]=yt,yt=V?k.o[Y][X]:k.o[Y][X]+(D.o[Y][X]-k.o[Y][X])*et,_.o[Y][X]=yt,yt=V?k.v[Y][X]:k.v[Y][X]+(D.v[Y][X]-k.v[Y][X])*et,_.v[Y][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=ce.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=ce.clone(A),this.pv=ce.clone(this.v),this.localShapeCollection=wo.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 C(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=ce.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=ce.clone(this.v),this.localShapeCollection=wo.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)]}C.prototype.getValue=v,C.prototype.interpolateShape=r,C.prototype.setVValue=c,C.prototype.addEffect=g;var L=function(){var w=le;function _(y,A){this.v=ce.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=wo.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],k=this.p.v[1],D=this.s.v[0]/2,V=this.s.v[1]/2,Y=this.d!==3,X=this.v;X.v[0][0]=A,X.v[0][1]=k-V,X.v[1][0]=Y?A+D:A-D,X.v[1][1]=k,X.v[2][0]=A,X.v[2][1]=k+V,X.v[3][0]=Y?A-D:A+D,X.v[3][1]=k,X.i[0][0]=Y?A-D*w:A+D*w,X.i[0][1]=k-V,X.i[1][0]=Y?A+D:A-D,X.i[1][1]=k-V*w,X.i[2][0]=Y?A+D*w:A-D*w,X.i[2][1]=k+V,X.i[3][0]=Y?A-D:A+D,X.i[3][1]=k+V*w,X.o[0][0]=Y?A+D*w:A-D*w,X.o[0][1]=k-V,X.o[1][0]=Y?A+D:A-D,X.o[1][1]=k+V*w,X.o[2][0]=Y?A-D*w:A+D*w,X.o[2][1]=k+V,X.o[3][0]=Y?A-D:A+D,X.o[3][1]=k-V*w}},$([se],_),_}(),B=function(){function w(_,y){this.v=ce.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=wo.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,k=!0,D=this.or.v,V=this.ir.v,Y=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=k?D:V,lt=k?Y:X,Z=k?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),k=!k,S+=A*O}},convertPolygonToPath:function(){var y=Math.floor(this.pt.v),A=Math.PI*2/y,k=this.or.v,D=this.os.v,V=2*Math.PI*k/(y*4),Y,X=-Math.PI*.5,ft=this.data.d===3?-1:1;for(X+=this.r.v,this.v._length=0,Y=0;Y<y;Y+=1){var ht=k*Math.cos(X),et=k*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,Y,!0),X+=A*ft}this.paths.length=0,this.paths[0]=this.v}},$([se],w),w}(),T=function(){function w(_,y){this.v=ce.newElement(),this.v.c=!0,this.localShapeCollection=wo.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],k=this.s.v[0]/2,D=this.s.v[1]/2,V=_e(k,D,this.r.v),Y=V*(1-le);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(y+k,A-D+V,y+k,A-D+V,y+k,A-D+Y,0,!0),this.v.setTripleAt(y+k,A+D-V,y+k,A+D-Y,y+k,A+D-V,1,!0),V!==0?(this.v.setTripleAt(y+k-V,A+D,y+k-V,A+D,y+k-Y,A+D,2,!0),this.v.setTripleAt(y-k+V,A+D,y-k+Y,A+D,y-k+V,A+D,3,!0),this.v.setTripleAt(y-k,A+D-V,y-k,A+D-V,y-k,A+D-Y,4,!0),this.v.setTripleAt(y-k,A-D+V,y-k,A-D+Y,y-k,A-D+V,5,!0),this.v.setTripleAt(y-k+V,A-D,y-k+V,A-D,y-k+Y,A-D,6,!0),this.v.setTripleAt(y+k-V,A-D,y+k-Y,A-D,y+k-V,A-D,7,!0)):(this.v.setTripleAt(y-k,A+D,y-k+Y,A+D,y-k,A+D,2),this.v.setTripleAt(y-k,A-D,y-k,A-D+Y,y-k,A-D,3))):(this.v.setTripleAt(y+k,A-D+V,y+k,A-D+Y,y+k,A-D+V,0,!0),V!==0?(this.v.setTripleAt(y+k-V,A-D,y+k-V,A-D,y+k-Y,A-D,1,!0),this.v.setTripleAt(y-k+V,A-D,y-k+Y,A-D,y-k+V,A-D,2,!0),this.v.setTripleAt(y-k,A-D+V,y-k,A-D+V,y-k,A-D+Y,3,!0),this.v.setTripleAt(y-k,A+D-V,y-k,A+D-Y,y-k,A+D-V,4,!0),this.v.setTripleAt(y-k+V,A+D,y-k+V,A+D,y-k+Y,A+D,5,!0),this.v.setTripleAt(y+k-V,A+D,y+k-Y,A+D,y+k-V,A+D,6,!0),this.v.setTripleAt(y+k,A+D-V,y+k,A+D-V,y+k,A+D-Y,7,!0)):(this.v.setTripleAt(y-k,A-D,y-k+Y,A-D,y-k,A-D,1,!0),this.v.setTripleAt(y-k,A+D,y-k,A+D-Y,y-k,A+D,2,!0),this.v.setTripleAt(y+k,A+D,y+k-Y,A+D,y+k,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 k=y===3?_.pt:_.ks,D=k.k;D.length?A=new C(w,_,y):A=new x(w,_,y)}else y===5?A=new T(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 C}var z={};return z.getShapeProp=R,z.getConstructorFunction=P,z.getKeyframedConstructorFunction=M,z}();var de=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 C(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 T(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,ke,Ar,we,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]=ke,this.props[11]=Ar,this.props[12]=we,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,ke,Ar,we,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&&ke===1&&Ar===0)return ct[12]=ct[12]*u+ct[15]*we,ct[13]=ct[13]*mt+ct[15]*ae,ct[14]=ct[14]*ke+ct[15]*$e,ct[15]*=Ot,this._identityCalculated=!1,this;var $r=ct[0],bi=ct[1],zr=ct[2],Sr=ct[3],Vr=ct[4],Br=ct[5],Ne=ct[6],yi=ct[7],Ei=ct[8],dr=ct[9],Ti=ct[10],hr=ct[11],Gi=ct[12],an=ct[13],nn=ct[14],ln=ct[15];return ct[0]=$r*u+bi*at+zr*Nt+Sr*we,ct[1]=$r*b+bi*mt+zr*Zt+Sr*ae,ct[2]=$r*U+bi*vt+zr*ke+Sr*$e,ct[3]=$r*F+bi*wt+zr*Ar+Sr*Ot,ct[4]=Vr*u+Br*at+Ne*Nt+yi*we,ct[5]=Vr*b+Br*mt+Ne*Zt+yi*ae,ct[6]=Vr*U+Br*vt+Ne*ke+yi*$e,ct[7]=Vr*F+Br*wt+Ne*Ar+yi*Ot,ct[8]=Ei*u+dr*at+Ti*Nt+hr*we,ct[9]=Ei*b+dr*mt+Ti*Zt+hr*ae,ct[10]=Ei*U+dr*vt+Ti*ke+hr*$e,ct[11]=Ei*F+dr*wt+Ti*Ar+hr*Ot,ct[12]=Gi*u+an*at+nn*Nt+ln*we,ct[13]=Gi*b+an*mt+nn*Zt+ln*ae,ct[14]=Gi*U+an*vt+nn*ke+ln*$e,ct[15]=Gi*F+an*wt+nn*Ar+ln*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 k(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 Y(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 de;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=C,this.scale=T,this.setTransform=R,this.translate=P,this.transform=M,this.multiply=z,this.applyToPoint=k,this.applyToX=D,this.applyToY=V,this.applyToZ=Y,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 Xa(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Xa=function(s){return typeof s}:Xa=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Xa(e)}var Mt={},Qa="__[STANDALONE]__",Lh="__[ANIMATIONDATA]__",Rh="";function mg(e){m(e)}function Mh(){Qa===!0?qt.searchAnimations(Lh,Qa,Rh):qt.searchAnimations()}function ug(e){Zv(e)}function fg(e){Jv(e)}function vg(e){return Qa===!0&&(e.animationData=JSON.parse(Lh)),qt.loadAnimation(e)}function gg(e){if(typeof e=="string")switch(e){case"high":Ga(200);break;default:case"medium":Ga(50);break;case"low":Ga(10);break}else!isNaN(e)&&e>1&&Ga(e);_s()>=50?Ue(!1):Ue(!0)}function bg(){return typeof navigator<"u"}function yg(e,r){e==="expressions"&&Qv(r)}function Eg(e){switch(e){case"propertyFactory":return it;case"shapePropertyFactory":return Za;case"matrix":return de;default:return null}}Mt.play=qt.play,Mt.pause=qt.pause,Mt.setLocationHref=mg,Mt.togglePause=qt.togglePause,Mt.setSpeed=qt.setSpeed,Mt.setDirection=qt.setDirection,Mt.stop=qt.stop,Mt.searchAnimations=Mh,Mt.registerAnimation=qt.registerAnimation,Mt.loadAnimation=vg,Mt.setSubframeRendering=ug,Mt.resize=qt.resize,Mt.goToAndStop=qt.goToAndStop,Mt.destroy=qt.destroy,Mt.setQuality=gg,Mt.inBrowser=bg,Mt.installPlugin=yg,Mt.freeze=qt.freeze,Mt.unfreeze=qt.unfreeze,Mt.setVolume=qt.setVolume,Mt.mute=qt.mute,Mt.unmute=qt.unmute,Mt.getRegisteredAnimations=qt.getRegisteredAnimations,Mt.useWebWorker=a,Mt.setIDPrefix=fg,Mt.__getFactory=Eg,Mt.version="5.12.2";function Tg(){document.readyState==="complete"&&(clearInterval(Sg),Mh())}function xg(e){for(var r=Oh.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 Oh="";if(Qa){var Ph=document.getElementsByTagName("script"),Ag=Ph.length-1,Dh=Ph[Ag]||{src:""};Oh=Dh.src?Dh.src.replace(/^[^\?]+\??/,""):"",Rh=xg("renderer")}var Sg=setInterval(Tg,100);try{!((typeof oa>"u"?"undefined":Xa(oa))==="object"&&typeof Dn<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Mt)}catch{}var pi=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:wo.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 cr(){}$([We],cr),cr.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},cr.prototype.addShapeToModifier=function(e){e.pathsData=[]},cr.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,C;for(x=0;x<g;x+=1)if(C=c[x],!(C.e*d<n||C.s*d>n+s)){var L,B;C.s*d<=n?L=0:L=(C.s*d-n)/s,C.e*d>=n+s?B=1:B=(C.e*d-n)/s,v.push([L,B])}return v.length||v.push([0,0]),v},cr.prototype.releasePathsData=function(e){var r,s=e.length;for(r=0;r<s;r+=1)Ih.release(e[r]);return e.length=0,e},cr.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,C,L,B,T,R=0;if(s===r)for(v=0;v<x;v+=1)this.shapes[v].localShapeCollection.releaseShapes(),this.shapes[v].shape._mdf=!0,this.shapes[v].shape.paths=this.shapes[v].localShapeCollection,this._mdf&&(this.shapes[v].pathsData.length=0);else if(s===1&&r===0||s===0&&r===1){if(this._mdf)for(v=0;v<x;v+=1)this.shapes[v].pathsData.length=0,this.shapes[v].shape._mdf=!0}else{var 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,C=c._length,T=0,!M.shape._mdf&&M.pathsData.length)T=M.totalShapeLength;else{for(L=this.releasePathsData(M.pathsData),g=0;g<C;g+=1)B=Tr.getSegmentsLength(c.shapes[g]),L.push(B),T+=B.totalLength;M.totalShapeLength=T,M.pathsData=L}R+=T,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,_]],C=A.length,g=0;g<C;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 k=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=k.pop();this.addPaths(k,z),k=this.addShapes(M,P[1],V)}else this.addPaths(k,z),k=this.addShapes(M,P[1])}this.addPaths(k,z)}}M.shape.paths=z}}},cr.prototype.addPaths=function(e,r){var s,n=e.length;for(s=0;s<n;s+=1)r.addShape(e[s])},cr.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)},cr.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)},cr.prototype.addShapes=function(e,r,s){var n=e.pathsData,d=e.shape.paths.shapes,c,v=e.shape.paths._length,x,g,C=0,L,B,T,R,P=[],M,z=!0;for(s?(B=s._length,M=s._length):(s=ce.newElement(),B=0,M=0),P.push(s),c=0;c<v;c+=1){for(T=n[c].lengths,s.c=d[c].c,g=d[c].c?T.length:T.length+1,x=1;x<g;x+=1)if(L=T[x-1],C+L.addedLength<r.s)C+=L.addedLength,s.c=!1;else if(C>r.e){s.c=!1;break}else r.s<=C&&r.e>=C+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=Tr.getNewSegment(d[c].v[x-1],d[c].v[x],d[c].o[x-1],d[c].i[x],(r.s-C)/L.addedLength,(r.e-C)/L.addedLength,T[x-1]),this.addSegmentFromArray(R,s,B,z),z=!1,s.c=!1),C+=L.addedLength,B+=1;if(d[c].c&&T.length){if(L=T[x-1],C<=r.e){var w=T[x-1].addedLength;r.s<=C&&r.e>=C+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=Tr.getNewSegment(d[c].v[x-1],d[c].v[0],d[c].o[x-1],d[c].i[0],(r.s-C)/w,(r.e-C)/w,T[x-1]),this.addSegmentFromArray(R,s,B,z),z=!1,s.c=!1)}else s.c=!1;C+=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)),C>r.e)break;c<v-1&&(s=ce.newElement(),z=!0,P.push(s),B=0)}return P};function Ns(){}$([We],Ns),Ns.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},Ns.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=ce.newElement();v.c=e.c;var x,g,C,L,B,T;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,C=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,T=e.i[c][1]+(n[1]-e.i[c][1])*-s,v.setTripleAt(x,g,C,L,B,T,c);return v},Ns.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 Wl=function(){var e=[0,0];function r(g){var C=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||C,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 C;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(C=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)/C,0),B=this.p.getValueAtTime(this.p.keyframes[0].t/C,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/C,0),B=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/C,0)):(L=this.p.pv,B=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/C,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){L=[],B=[];var T=this.px,R=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(L[0]=T.getValueAtTime((T.keyframes[0].t+.01)/C,0),L[1]=R.getValueAtTime((R.keyframes[0].t+.01)/C,0),B[0]=T.getValueAtTime(T.keyframes[0].t/C,0),B[1]=R.getValueAtTime(R.keyframes[0].t/C,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(L[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/C,0),L[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/C,0),B[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/C,0),B[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/C,0)):(L=[T.pv,R.pv],B[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/C,T.offsetTime),B[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/C,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,C,L){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=C,this.v=new de,this.pre=new de,this.appliedTransformations=0,this.initDynamicPropertyContainer(L||g),C.p&&C.p.s?(this.px=it.getProp(g,C.p.x,0,0,this),this.py=it.getProp(g,C.p.y,0,0,this),C.p.z&&(this.pz=it.getProp(g,C.p.z,0,0,this))):this.p=it.getProp(g,C.p||{k:[0,0,0]},1,0,this),C.rx){if(this.rx=it.getProp(g,C.rx,0,It,this),this.ry=it.getProp(g,C.ry,0,It,this),this.rz=it.getProp(g,C.rz,0,It,this),C.or.k[0].ti){var B,T=C.or.k.length;for(B=0;B<T;B+=1)C.or.k[B].to=null,C.or.k[B].ti=null}this.or=it.getProp(g,C.or,1,It,this),this.or.sh=!0}else this.r=it.getProp(g,C.r||{k:0},0,It,this);C.sk&&(this.sk=it.getProp(g,C.sk,0,It,this),this.sa=it.getProp(g,C.sa,0,It,this)),this.a=it.getProp(g,C.a||{k:[0,0,0]},1,0,this),this.s=it.getProp(g,C.s||{k:[100,100,100]},1,.01,this),C.o?this.o=it.getProp(g,C.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,C,L){return new v(g,C,L)}return{getTransformProperty:x}}();function xr(){}$([We],xr),xr.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=Wl.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 de,this.rMatrix=new de,this.sMatrix=new de,this.tMatrix=new de,this.matrix=new de},xr.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])},xr.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)},xr.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)},xr.prototype.cloneElements=function(e){var r=JSON.parse(JSON.stringify(e));return this.resetElements(r),r},xr.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)},xr.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 C;for(n=0;n<=this._groups.length-1;n+=1){if(C=c<x,this._groups[n]._render=C,this.changeGroupRender(this._groups[n].it,C),!C){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 T=this.o.v,R=T%1,P=T>0?Math.floor(T):Math.ceil(T),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(T>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(T<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},xr.prototype.addShape=function(){};function Ls(){}$([We],Ls),Ls.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},Ls.prototype.processPath=function(e,r){var s=ce.newElement();s.c=e.c;var n,d=e._length,c,v,x,g,C,L,B=0,T,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],C=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=C?Math.min(C/2,r)/C:0,z=c[0]+(g[0]-c[0])*L,T=z,w=c[1]-(c[1]-g[1])*L,R=w,P=T-(T-c[0])*le,M=R-(R-c[1])*le,s.setTripleAt(T,R,P,M,z,w,B),B+=1,n===d-1?g=e.v[0]:g=e.v[n+1],C=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=C?Math.min(C/2,r)/C:0,P=c[0]+(g[0]-c[0])*L,T=P,M=c[1]+(g[1]-c[1])*L,R=M,z=T-(T-c[0])*le,w=R-(R-c[1])*le,s.setTripleAt(T,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},Ls.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 Ja(e,r){return Math.abs(e-r)*1e5<=Math.min(Math.abs(e),Math.abs(r))}function jl(e){return Math.abs(e)<=1e-5}function Fh(e,r,s){return e*(1-s)+r*s}function mi(e,r,s){return[Fh(e[0],r[0],s),Fh(e[1],r[1],s)]}function _g(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 $h(e,r,s,n){return[-e+3*r-3*s+n,3*e-6*r+3*s,-3*e+3*r,e]}function zh(e){return new Ut(e,e,e,e,!1)}function Ut(e,r,s,n,d){d&&Lo(e,r)&&(r=mi(e,n,1/3)),d&&Lo(s,n)&&(s=mi(e,n,2/3));var c=$h(e[0],r[0],s[0],n[0]),v=$h(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(jl(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 jl(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[zh(this.points[0]),this];if(e>=1)return[this,zh(this.points[this.points.length-1])];var r=mi(this.points[0],this.points[1],e),s=mi(this.points[1],this.points[2],e),n=mi(this.points[2],this.points[3],e),d=mi(r,s,e),c=mi(s,n,e),v=mi(d,c,e);return[new Ut(this.points[0],r,d,v,!0),new Ut(v,c,n,this.points[3],!0)]};function Vh(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=_g(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:Vh(this,0),y:Vh(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 tn(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 Bh(e){var r=e.bez.split(.5);return[tn(r[0],e.t1,e.t),tn(r[1],e.t,e.t2)]}function Ig(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 Rs(e,r,s,n,d,c){if(Ig(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=Bh(e),x=Bh(r);Rs(v[0],x[0],s+1,n,d,c),Rs(v[0],x[1],s+1,n,d,c),Rs(v[1],x[0],s+1,n,d,c),Rs(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 Rs(tn(this,0,1),tn(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 Kl(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 en(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=Kl(Kl(d,c),Kl(v,x));return jl(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function No(e,r,s){return[e[0]+Math.cos(r)*s,e[1]-Math.sin(r)*s]}function ql(e,r){return Math.hypot(e[0]-r[0],e[1]-r[1])}function Lo(e,r){return Ja(e[0],r[0])&&Ja(e[1],r[1])}function Ms(){}$([We],Ms),Ms.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 Uh(e,r,s,n,d,c,v){var x=s-Math.PI/2,g=s+Math.PI/2,C=r[0]+Math.cos(s)*n*d,L=r[1]-Math.sin(s)*n*d;e.setTripleAt(C,L,C+Math.cos(x)*c,L-Math.sin(x)*c,C+Math.cos(g)*v,L-Math.sin(g)*v,e.length())}function Cg(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 kg(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=Cg(d,c);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function Hh(e,r,s,n,d,c,v){var x=kg(r,s),g=r.v[s%r._length],C=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]-C[0],2)+Math.pow(g[1]-C[1],2)):0,T=c===2?Math.sqrt(Math.pow(g[0]-L[0],2)+Math.pow(g[1]-L[1],2)):0;Uh(e,r.v[s%r._length],x,v,n,T/((d+1)*2),B/((d+1)*2),c)}function wg(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,C=r.normalAngle(x),L=r.point(x);Uh(e,L,C,c,s,g/((n+1)*2),g/((n+1)*2),d),c=-c}return c}Ms.prototype.processPath=function(e,r,s,n){var d=e._length,c=ce.newElement();if(c.c=e.c,e.c||(d-=1),d===0)return c;var v=-1,x=Ut.shapeSegment(e,0);Hh(c,e,0,r,s,n,v);for(var g=0;g<d;g+=1)v=wg(c,x,r,s,n,-v),g===d-1&&!e.c?x=null:x=Ut.shapeSegment(e,(g+1)%d),Hh(c,e,g+1,r,s,n,v);return c},Ms.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 C,L;for(s=0;s<n;s+=1){if(C=this.shapes[s],L=C.localShapeCollection,!(!C.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),C.shape._mdf=!0,r=C.shape.paths.shapes,c=C.shape.paths._length,d=0;d<c;d+=1)L.addShape(this.processPath(r[d],v,x,g));C.shape.paths=C.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Zl(e,r,s){var n=Math.atan2(r[0]-e[0],r[1]-e[1]);return[No(e,n,s),No(r,n,s)]}function Ro(e,r){var s,n,d,c,v,x,g;g=Zl(e.points[0],e.points[1],r),s=g[0],n=g[1],g=Zl(e.points[1],e.points[2],r),d=g[0],c=g[1],g=Zl(e.points[2],e.points[3],r),v=g[0],x=g[1];var C=en(s,n,d,c);C===null&&(C=n);var L=en(v,x,d,c);return L===null&&(L=v),new Ut(s,C,L,x)}function Gh(e,r,s,n,d){var c=r.points[3],v=s.points[0];if(n===3||Lo(c,v))return c;if(n===2){var x=-r.tangentAngle(1),g=-s.tangentAngle(0)+Math.PI,C=en(c,No(c,x+Math.PI/2,100),v,No(v,x+Math.PI/2,100)),L=C?ql(C,c):ql(c,v)/2,B=No(c,x,2*L*le);return e.setXYAt(B[0],B[1],"o",e.length()-1),B=No(v,g,2*L*le),e.setTripleAt(v[0],v[1],v[0],v[1],B[0],B[1],e.length()),v}var T=Lo(c,r.points[2])?r.points[0]:r.points[2],R=Lo(v,s.points[1])?s.points[3]:s.points[1],P=en(T,c,v,R);return P&&ql(P,c)<d?(e.setTripleAt(P[0],P[1],P[0],P[1],P[0],P[1],e.length()),P):c}function Yh(e,r){var s=e.intersections(r);return s.length&&Ja(s[0][0],1)&&s.shift(),s.length?s[0]:null}function Wh(e,r){var s=e.slice(),n=r.slice(),d=Yh(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=Yh(e[0],r[r.length-1]),d)?[[e[0].split(d[0])[0]],[r[r.length-1].split(d[1])[1]]]:[s,n]}function Ng(e){for(var r,s=1;s<e.length;s+=1)r=Wh(e[s-1],e[s]),e[s-1]=r[0],e[s]=r[1];return e.length>1&&(r=Wh(e[e.length-1],e[0]),e[e.length-1]=r[0],e[0]=r[1]),e}function jh(e,r){var s=e.inflectionPoints(),n,d,c,v;if(s.length===0)return[Ro(e,r)];if(s.length===1||Ja(s[1],1))return c=e.split(s[0]),n=c[0],d=c[1],[Ro(n,r),Ro(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],[Ro(n,r),Ro(v,r),Ro(d,r)]}function Os(){}$([We],Os),Os.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},Os.prototype.processPath=function(e,r,s,n){var d=ce.newElement();d.c=e.c;var c=e.length();e.c||(c-=1);var v,x,g,C=[];for(v=0;v<c;v+=1)g=Ut.shapeSegment(e,v),C.push(jh(g,r));if(!e.c)for(v=c-1;v>=0;v-=1)g=Ut.shapeSegmentInverted(e,v),C.push(jh(g,r));C=Ng(C);var L=null,B=null;for(v=0;v<C.length;v+=1){var T=C[v];for(B&&(L=Gh(d,B,T[0],s,n)),B=T[T.length-1],x=0;x<T.length;x+=1)g=T[x],L&&Lo(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 C.length&&Gh(d,B,C[0][0],s,n),d},Os.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 C,L;for(s=0;s<n;s+=1){if(C=this.shapes[s],L=C.localShapeCollection,!(!C.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),C.shape._mdf=!0,r=C.shape.paths.shapes,c=C.shape.paths._length,d=0;d<c;d+=1)L.addShape(this.processPath(r[d],v,g,x));C.shape.paths=C.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Kh(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 Bi=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,C=127462,L=127487,B=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T(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=T(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=Kh(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(ke){ke.helper=M(ke),ke.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 k(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 Y(S){return S===x}function X(S){var O=k(S);return O>=C&&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=k(S.substr(O,2));if(u!==n)return!1;var b=0;for(O+=2;b<5;){if(u=k(S.substr(O,2)),u<c||u>v)return!1;b+=1,O+=2}return k(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=Y,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 qh(e){this.animationData=e}qh.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function Lg(e){return new qh(e)}function rn(){}rn.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 Xl=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 Rg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Mg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Og(e,r,s){this.p=it.getProp(r,e.v,1,0,s)}function Pg(e,r,s){this.p=it.getProp(r,e.v,1,0,s)}function Dg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Fg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function $g(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function zg(){this.p={}}function Zh(e,r){var s=e.ef||[];this.effectElements=[];var n,d=s.length,c;for(n=0;n<d;n+=1)c=new Ps(s[n],r),this.effectElements.push(c)}function Ps(e,r){this.init(e,r)}$([se],Ps),Ps.prototype.getValue=Ps.prototype.iterateDynamicProperties,Ps.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 Rg(c[s],r,this);break;case 1:d=new Mg(c[s],r,this);break;case 2:d=new Og(c[s],r,this);break;case 3:d=new Pg(c[s],r,this);break;case 4:case 7:d=new $g(c[s],r,this);break;case 10:d=new Dg(c[s],r,this);break;case 11:d=new Fg(c[s],r,this);break;case 5:d=new Zh(c[s],r,this);break;default:d=new zg(c[s],r,this);break}d&&this.effectElements.push(d)}};function ui(){}ui.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=xh();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=Xl(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=Ie(),this.data.sr||(this.data.sr=1),this.effectsManager=new Zh(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function fi(){}fi.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 vi(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)}vi.prototype.prepareFrame=function(){},$([rn,ui,fi],vi),vi.prototype.getBaseElement=function(){return null},vi.prototype.renderFrame=function(){},vi.prototype.destroy=function(){},vi.prototype.initExpressions=function(){var e=xh();if(e){var r=e("footage");this.layerInterface=r(this)}},vi.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))},$([rn,ui,fi],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 he(){}he.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()},he.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)}},he.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},he.prototype.createAudio=function(e){return new Ce(e,this.globalData,this)},he.prototype.createFootage=function(e){return new vi(e,this.globalData,this)},he.prototype.buildAllItems=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.buildItem(e);this.checkPendingElements()},he.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}},he.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},he.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},he.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},he.prototype.addPendingElement=function(e){this.pendingElements.push(e)},he.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)}},he.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},he.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)},he.prototype.setupGlobalData=function(e,r){this.globalData.fontManager=new Bi,this.globalData.slotManager=Lg(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 Vg={TRANSFORM_EFFECT:"transformEFfect"};function Mo(){}Mo.prototype={initTransform:function(){var r=new de;this.finalTransform={mProp:this.data.ks?Wl.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(Vg.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new de;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 de};function Ui(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,C=[],L,B,T=Ie(),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),C.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:Za.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=Ie(),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=C.length;var A=bt("g");for(L=0;L<B;L+=1)A.appendChild(C[L]);var k=bt("mask");k.setAttribute("mask-type","alpha"),k.setAttribute("id",T+"_"+g),k.appendChild(v),n.appendChild(k),A.setAttribute("mask","url("+E()+"#"+T+"_"+g+")"),C.length=0,C.push(A)}else C.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:Za.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=C.length,d=0;d<c;d+=1)this.maskElement.appendChild(C[d]);g>0&&(this.maskElement.setAttribute("id",T),this.element.maskedElement.setAttribute(_,"url("+E()+"#"+T+")"),n.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Ui.prototype.getMaskProperty=function(e){return this.viewData[e].prop},Ui.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("+E()+"#"+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))}},Ui.prototype.getMaskelement=function(){return this.maskElement},Ui.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},Ui.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}},Ui.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var Ds=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}(),Xh=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}(),on={},Qh="filter_result_";function Ql(e){var r,s="SourceGraphic",n=e.data.ef?e.data.ef.length:0,d=Ie(),c=Ds.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(on[g]){var C=on[g].effect;x=new C(c,e.effectsManager.effectElements[r],e,Qh+v,s),s=Qh+v,on[g].countsAsEffect&&(v+=1)}x&&this.filters.push(x)}v&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+E()+"#"+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 gx(e,r,s){on[e]={effect:r,countsAsEffect:s}}function Fs(){}Fs.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=Ie();if(n.setAttribute("id",c),n.appendChild(d),this.globalData.defs.appendChild(n),this.checkMasks()){var v=bt("g");v.setAttribute("clip-path","url("+E()+"#"+c+")"),v.appendChild(this.layerElement),this.transformedElement=v,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+E()+"#"+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 Ui(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),!Xh.maskType&&r===1&&(x.setAttribute("mask-type","luminance"),n=Ie(),d=Ds.createFilter(n),this.globalData.defs.appendChild(d),d.appendChild(Ds.createAlphaToLuminanceFilter()),v=bt("g"),v.appendChild(c),x.appendChild(v),v.setAttribute("filter","url("+E()+"#"+n+")"))}else if(r===2){var g=bt("mask");g.setAttribute("id",s),g.setAttribute("mask-type","alpha");var C=bt("g");g.appendChild(C),n=Ie(),d=Ds.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 T=bt("rect");T.setAttribute("width",this.comp.data.w),T.setAttribute("height",this.comp.data.h),T.setAttribute("x","0"),T.setAttribute("y","0"),T.setAttribute("fill","#ffffff"),T.setAttribute("opacity","0"),C.setAttribute("filter","url("+E()+"#"+n+")"),C.appendChild(T),c=bt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),C.appendChild(c),Xh.maskType||(g.setAttribute("mask-type","luminance"),d.appendChild(Ds.createAlphaToLuminanceFilter()),v=bt("g"),C.appendChild(T),v.appendChild(this.layerElement),C.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("+E()+"#"+r+")")}};function Oo(){}Oo.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 $s(){}(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()}};$([rn,q(e)],$s)})();function zs(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}}$([ui,Mo,Fs,Oo,fi,$s],zs),zs.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)},zs.prototype.sourceRectAtTime=function(){return this.sourceRect};function Bg(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 Bg(r,s))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var tp={1:"butt",2:"round",3:"square"},ep={1:"miter",2:"round",3:"bevel"};function rp(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}}rp.prototype.setAsAnimated=function(){this._isAnimated=!0};function ip(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}ip.prototype.reset=function(){this.d="",this._mdf=!1};function sn(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}sn.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],sn);function op(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 sn(e,r.d||{},"svg",this),this.c=it.getProp(e,r.c,1,255,this),this.style=s,this._isAnimated=!!this._isAnimated}$([se],op);function sp(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],sp);function ap(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=s}$([se],ap);function Vs(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)}Vs.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},Vs.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},Vs.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],Vs);function Po(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,r,s)}Po.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 Vs(e,r.g,this),this.style=s,this.stops=[],this.setGradientData(s.pElem,r),this.setGradientOpacity(r,s),this._isAnimated=!!this._isAnimated},Po.prototype.setGradientData=function(e,r){var s=Ie(),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("+E()+"#"+s+")"),this.gf=n,this.cst=d},Po.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=Ie(),g=Ie();c.setAttribute("id",g);var C=bt(e.t===1?"linearGradient":"radialGradient");C.setAttribute("id",x),C.setAttribute("spreadMethod","pad"),C.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)"),C.appendChild(s),L.push(s);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+E()+"#"+x+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",tp[e.lc||2]),v.setAttribute("stroke-linejoin",ep[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=C,this.ms=c,this.ost=L,this.maskId=g,r.msElem=v}},$([se],Po);function np(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=it.getProp(e,r.w,0,null,this),this.d=new sn(e,r.d||{},"svg",this),this.initGradientData(e,r,s),this._isAnimated=!!this._isAnimated}$([Po,se],np);function Ug(){this.it=[],this.prevViewData=[],this.gr=bt("g")}function Hg(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 lp=function(r,s,n,d){if(s===0)return"";var c=r.o,v=r.i,x=r.v,g,C=" M"+d.applyToPointStringified(x[0][0],x[0][1]);for(g=1;g<s;g+=1)C+=" 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&&(C+=" 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]),C+="z"),C},Gg=function(){var e=new de,r=new de,s={createRenderFunction:n};function n(B){switch(B.ty){case"fl":return x;case"gf":return C;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,T,R){(R||T.transform.op._mdf)&&T.transform.container.setAttribute("opacity",T.transform.op.v),(R||T.transform.mProps._mdf)&&T.transform.container.setAttribute("transform",T.transform.mProps.v.to2dCSS())}function c(){}function v(B,T,R){var P,M,z,w,_,y,A=T.styles.length,k=T.lvl,D,V,Y,X;for(y=0;y<A;y+=1){if(w=T.sh._mdf||R,T.styles[y].lvl<k){for(V=r.reset(),Y=k-T.styles[y].lvl,X=T.transformers.length-1;!w&&Y>0;)w=T.transformers[X].mProps._mdf||w,Y-=1,X-=1;if(w)for(Y=k-T.styles[y].lvl,X=T.transformers.length-1;Y>0;)V.multiply(T.transformers[X].mProps.v),Y-=1,X-=1}else V=e;if(D=T.sh.paths,M=D._length,w){for(z="",P=0;P<M;P+=1)_=D.shapes[P],_&&_._length&&(z+=lp(_,_._length,_.c,V));T.caches[y]=z}else z=T.caches[y];T.styles[y].d+=B.hd===!0?"":z,T.styles[y]._mdf=w||T.styles[y]._mdf}}function x(B,T,R){var P=T.style;(T.c._mdf||R)&&P.pElem.setAttribute("fill","rgb("+oe(T.c.v[0])+","+oe(T.c.v[1])+","+oe(T.c.v[2])+")"),(T.o._mdf||R)&&P.pElem.setAttribute("fill-opacity",T.o.v)}function g(B,T,R){C(B,T,R),L(B,T,R)}function C(B,T,R){var P=T.gf,M=T.g._hasOpacity,z=T.s.v,w=T.e.v;if(T.o._mdf||R){var _=B.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(_,T.o.v)}if(T.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&&!T.g._collapsable&&(T.of.setAttribute(y,z[0]),T.of.setAttribute(A,z[1]))}var k,D,V,Y;if(T.g._cmdf||R){k=T.cst;var X=T.g.c;for(V=k.length,D=0;D<V;D+=1)Y=k[D],Y.setAttribute("offset",X[D*4]+"%"),Y.setAttribute("stop-color","rgb("+X[D*4+1]+","+X[D*4+2]+","+X[D*4+3]+")")}if(M&&(T.g._omdf||R)){var ft=T.g.o;for(T.g._collapsable?k=T.cst:k=T.ost,V=k.length,D=0;D<V;D+=1)Y=k[D],T.g._collapsable||Y.setAttribute("offset",ft[D*2]+"%"),Y.setAttribute("stop-opacity",ft[D*2+1])}if(B.t===1)(T.e._mdf||R)&&(P.setAttribute("x2",w[0]),P.setAttribute("y2",w[1]),M&&!T.g._collapsable&&(T.of.setAttribute("x2",w[0]),T.of.setAttribute("y2",w[1])));else{var ht;if((T.s._mdf||T.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&&!T.g._collapsable&&T.of.setAttribute("r",ht)),T.e._mdf||T.h._mdf||T.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=T.h.v;yt>=1?yt=.99:yt<=-1&&(yt=-.99);var lt=ht*yt,Z=Math.cos(et+T.a.v)*lt+z[0],S=Math.sin(et+T.a.v)*lt+z[1];P.setAttribute("fx",Z),P.setAttribute("fy",S),M&&!T.g._collapsable&&(T.of.setAttribute("fx",Z),T.of.setAttribute("fy",S))}}}function L(B,T,R){var P=T.style,M=T.d;M&&(M._mdf||R)&&M.dashStr&&(P.pElem.setAttribute("stroke-dasharray",M.dashStr),P.pElem.setAttribute("stroke-dashoffset",M.dashoffset[0])),T.c&&(T.c._mdf||R)&&P.pElem.setAttribute("stroke","rgb("+oe(T.c.v[0])+","+oe(T.c.v[1])+","+oe(T.c.v[2])+")"),(T.o._mdf||R)&&P.pElem.setAttribute("stroke-opacity",T.o.v),(T.w._mdf||R)&&(P.pElem.setAttribute("stroke-width",T.w.v),P.msElem&&P.msElem.setAttribute("stroke-width",T.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=[]}$([ui,Mo,Fs,Jh,Oo,fi,$s],Yt),Yt.prototype.initSecondaryElement=function(){},Yt.prototype.identityMatrix=new de,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 ip(e,r),d=n.pElem;if(e.ty==="st")s=new op(this,e,n);else if(e.ty==="fl")s=new sp(this,e,n);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?Po:np;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("+E()+"#"+s.maskId+")"))}else e.ty==="no"&&(s=new ap(this,e,n));return(e.ty==="st"||e.ty==="gs")&&(d.setAttribute("stroke-linecap",tp[e.lc||2]),d.setAttribute("stroke-linejoin",ep[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"]=Xl(e.bm)),this.stylesList.push(n),this.addToAnimatedContents(e,s),s},Yt.prototype.createGroupElement=function(e){var r=new Ug;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"]=Xl(e.bm)),r},Yt.prototype.createTransformElement=function(e,r){var s=Wl.getTransformProperty(this,e,this),n=new Hg(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=Za.getShapeProp(this,e,n,this),c=new rp(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:Gg.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,C=e.length-1,L,B,T=[],R=[],P,M,z;for(g=C;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),T.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=pi.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=pi.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(C=T.length,g=0;g<C;g+=1)T[g].closed=!0;for(C=R.length,g=0;g<C;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 Jl(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}}Jl.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),Bi.isCombinedCharacter(d)?v=!0:d>=55296&&d<=56319?Bi.isRegionalFlag(e,s)?g=e.substr(s,14):(c=e.charCodeAt(s+1),c>=56320&&c<=57343&&(Bi.isModifier(d,c)?(g=e.substr(s,2),v=!0):Bi.isFlagEmoji(e.substr(s,4))?g=e.substr(s,4):g=e.substr(s,2))):d>56319?(c=e.charCodeAt(s+1),Bi.isVariationSelector(d)&&(v=!0)):Bi.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,C=s.m.g,L=0,B=0,T=0,R=[],P=0,M=0,z,w,_=r.getFontByName(e.f),y,A=0,k=Kh(_);e.fWeight=k.weight,e.fStyle=k.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 Y=!0,X=e.sz[0],ft=e.sz[1],ht,et;Y;){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,Y=!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,T+=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:T,animatorJustifyOffset:0}),C==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(C==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 Yg=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,C=1,L=1;this.ne.v>0?x=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?C=1-this.xe.v/100:L=1+this.xe.v/100;var B=ws.getBezierEasing(x,g,C,L).get,T=0,R=this.finalS,P=this.finalE,M=this.data.sh;if(M===2)P===R?T=v>=P?1:0:T=e(0,r(.5/(P-R)+(v-R)/(P-R),1)),T=B(T);else if(M===3)P===R?T=v>=P?0:1:T=1-e(0,r(.5/(P-R)+(v-R)/(P-R),1)),T=B(T);else if(M===4)P===R?T=0:(T=e(0,r(.5/(P-R)+(v-R)/(P-R),1)),T<.5?T*=2:T=1-2*(T-.5)),T=B(T);else if(M===5){if(P===R)T=0;else{var z=P-R;v=r(e(0,v+.5-R),P-R);var w=-z/2+v,_=z/2;T=Math.sqrt(1-w*w/(_*_))}T=B(T)}else M===6?(P===R?T=0:(v=r(e(0,v+.5-R),P-R),T=(1+Math.cos(Math.PI+Math.PI*2*v/(P-R)))/2),T=B(T)):(v>=s(R)&&(v-R<0?T=e(0,r(r(P,1)-(R-v),1)):T=e(0,r(P-v,1))),T=B(T));if(this.sm.v!==100){var y=this.sm.v*.01;y===0&&(y=1e-8);var A=.5-y*.5;T<A?T=0:(T=(T-A)/y,T>1&&(T=1))}return T*this.a.v},getValue:function(v){this.iterateDynamicProperties(),this._mdf=v||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,v&&this.data.r===2&&(this.e.v=this._currentTextLength);var x=this.data.r===2?1:100/this.data.totalChars,g=this.o.v/x,C=this.s.v/x+g,L=this.e.v/x+g;if(C>L){var B=C;C=L,L=B}this.finalS=C,this.finalE=L}},$([se],n);function d(c,v,x){return new n(c,v,x)}return{getTextSelectorProp:d}}();function Wg(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=Yg.getTextSelectorProp(e,r.s,s),this.s.t=r.s.t}function Hi(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)}Hi.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 Wg(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)},Hi.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,C,L,B,T=e.l,R,P,M,z,w,_,y,A,k,D,V,Y,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(Y=0,L=0;L<B;L+=1)yt=Tr.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),Y+=yt.segmentLength;L=B,ht.v.c&&(yt=Tr.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),Y+=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,k=D[y].points,_=k.length-1;P<0;)P+=k[_].partialLength,_-=1,_<0&&(y-=1,k=D[y].points,_=k.length-1);k=D[y].points,A=k[_-1],M=k[_],V=M.partialLength}B=T.length,g=0,C=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,ke=_,Ar=-1,we,ae,$e,Ot,ct,$r,bi,zr,Sr="",Vr=this.defaultPropsArray,Br;if(e.j===2||e.j===1){var Ne=0,yi=0,Ei=e.j===2?-.5:-1,dr=0,Ti=!0;for(L=0;L<B;L+=1)if(T[L].n){for(Ne&&(Ne+=yi);dr<L;)T[dr].animatorJustifyOffset=Ne,dr+=1;Ne=0,Ti=!0}else{for(u=0;u<b;u+=1)S=n[u].a,S.t.propType&&(Ti&&e.j===2&&(yi+=S.t.v*Ei),O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),F.length?Ne+=S.t.v*F[0]*Ei:Ne+=S.t.v*F*Ei);Ti=!1}for(Ne&&(Ne+=yi);dr<L;)T[dr].animatorJustifyOffset=Ne,dr+=1}for(L=0;L<B;L+=1){if(c.reset(),we=1,T[L].n)g=0,C+=e.yOffset,C+=Z?1:0,P=Nt,Z=!1,this._hasMaskedPath&&(y=Zt,_=ke,k=D[y].points,A=k[_-1],M=k[_],V=M.partialLength,z=0),Sr="",zr="",$r="",Br="",Vr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Ar!==T[L].line){switch(e.j){case 1:P+=Y-e.lineWidths[T[L].line];break;case 2:P+=(Y-e.lineWidths[T[L].line])/2;break;default:break}Ar=T[L].line}at!==T[L].ind&&(T[at]&&(P+=T[at].extra),P+=T[L].an/2,at=T[L].ind),P+=s[0]*T[L].an*.005;var hr=0;for(u=0;u<b;u+=1)S=n[u].a,S.p.propType&&(O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),F.length?hr+=S.p.v[0]*F[0]:hr+=S.p.v[0]*F),S.a.propType&&(O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),F.length?hr+=S.a.v[0]*F[0]:hr+=S.a.v[0]*F);for(w=!0,this._pathData.a.v&&(P=T[0].an*.5+(Y-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*at/(B-1),P+=this._pathData.f.v);w;)z+V>=P+hr||!k?(X=(P+hr-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]*T[L].an*.005,-(s[1]*lt)*.01),w=!1):k&&(z+=M.partialLength,_+=1,_>=k.length&&(_=0,y+=1,D[y]?k=D[y].points:ht.v.c?(_=0,y=0,k=D[y].points):(z-=M.partialLength,k=null)),k&&(A=M,M=k[_],V=M.partialLength));mt=T[L].an/2-T[L].add,c.translate(-mt,0,0)}else mt=T[L].an/2-T[L].add,c.translate(-mt,0,0),c.translate(-s[0]*T[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(T[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(T[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(T[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(T[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?we+=(S.o.v*F[0]-we)*F[0]:we+=(S.o.v*F-we)*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=Th(Ot,S.fh.v*F[0]):Ot=Th(Ot,S.fh.v*F)),S.fs.propType&&(F.length?Ot=yh(Ot,S.fs.v*F[0]):Ot=yh(Ot,S.fs.v*F)),S.fb.propType&&(F.length?Ot=Eh(Ot,S.fb.v*F[0]):Ot=Eh(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(T[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&&($r=$e<0?0:$e),e.strokeColorAnim&&(bi="rgb("+Math.round(ae[0]*255)+","+Math.round(ae[1]*255)+","+Math.round(ae[2]*255)+")"),e.fillColorAnim&&e.fc&&(zr="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+C,0),this._pathData.p.v){ft=(M.point[1]-A.point[1])/(M.point[0]-A.point[0]);var Gi=Math.atan(ft)*180/Math.PI;M.point[0]<A.point[0]&&(Gi+=180),c.rotate(-Gi*Math.PI/180)}c.translate(vt,wt,0),P-=s[0]*T[L].an*.005,T[L+1]&&at!==T[L+1].ind&&(P+=T[L].an/2,P+=e.tr*.001*e.finalSize)}else{switch(c.translate(g,C,0),e.ps&&c.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:c.translate(T[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[L].line]),0,0);break;case 2:c.translate(T[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[L].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(mt,0,0),c.translate(s[0]*T[L].an*.005,s[1]*lt*.01,0),g+=T[L].l+e.tr*.001*e.finalSize}v==="html"?Sr=c.toCSS():v==="svg"?Sr=c.to2dCSS():Vr=[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]],Br=we}x<=L?(U=new Jl(Br,$r,bi,zr,Sr,Vr),this.renderedLetters.push(U),x+=1,this.lettersChangedFlag=!0):(U=this.renderedLetters[L],this.lettersChangedFlag=U.update(Br,$r,bi,zr,Sr,Vr)||this.lettersChangedFlag)}}},Hi.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Hi.prototype.mHelper=new de,Hi.prototype.defaultPropsArray=[],$([se],Hi);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 Hi(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+=lp(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 Jl,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 jg={shapes:[]};function Dr(e,r,s){this.textSpans=[],this.renderType="svg",this.initElement(e,r,s)}$([ui,Mo,Fs,Oo,fi,$s,je],Dr),Dr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=bt("text"))},Dr.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},Dr.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},Dr.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,C=this.mHelper,L="",B=this.data.singleShape,T=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 k=bt("g");g.appendChild(k),this.textSpans[e].childSpan=k}this.textSpans[e].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(C.reset(),B&&(v[e].n&&(T=-M,R+=s.yOffset,R+=P?1:0,P=!1),this.applyTextPropertiesToMatrix(s,C,v[e].line,T,R),T+=v[e].l||0,T+=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 Bs(A.data,this.globalData,this);else{var V=jg;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 Y=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(Y.layerElement),Y.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("+C.props[12]+","+C.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},Dr.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},Dr.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))},Dr.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 tc(e,r,s){this.initElement(e,r,s)}$([zs],tc),tc.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 gi(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initFrame(),this.initTransform(e,r,s),this.initHierarchy()}gi.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},gi.prototype.renderFrame=function(){},gi.prototype.getBaseElement=function(){return null},gi.prototype.destroy=function(){},gi.prototype.sourceRectAtTime=function(){},gi.prototype.hide=function(){},$([ui,Mo,Oo,fi],gi);function Jt(){}$([he],Jt),Jt.prototype.createNull=function(e){return new gi(e,this.globalData,this)},Jt.prototype.createShape=function(e){return new Yt(e,this.globalData,this)},Jt.prototype.createText=function(e){return new Dr(e,this.globalData,this)},Jt.prototype.createImage=function(e){return new zs(e,this.globalData,this)},Jt.prototype.createSolid=function(e){return new tc(e,this.globalData,this)},Jt.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=Ie();s.setAttribute("id",d),s.appendChild(n),this.layerElement.setAttribute("clip-path","url("+E()+"#"+d+")"),r.appendChild(s),this.layers=e.layers,this.elements=rt(e.layers.length)},Jt.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},Jt.prototype.updateContainerSize=function(){},Jt.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},Jt.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,Ha()&&(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)}}}},Jt.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}}},Jt.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()}},Jt.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)}},Jt.prototype.hide=function(){this.layerElement.style.display="none"},Jt.prototype.show=function(){this.layerElement.style.display="block"};function Fr(){}$([ui,Mo,Oo,fi,$s],Fr),Fr.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()},Fr.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))}},Fr.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()},Fr.prototype.setElements=function(e){this.elements=e},Fr.prototype.getElements=function(){return this.elements},Fr.prototype.destroyElements=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy()},Fr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function Bs(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}}$([Jt,Fr,Fs],Bs),Bs.prototype.createComp=function(e){return new Bs(e,this.globalData,this)};function ec(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=Ie();n.setAttribute("id",d),n.textContent=r.title,this.svgElement.appendChild(n),s+=d}if(r&&r.description){var c=bt("desc"),v=Ie();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 $([Jt],ec),ec.prototype.createComp=function(e){return new Bs(e,this.globalData,this)},ig("svg",ec),pi.registerModifier("tm",cr),pi.registerModifier("pb",Ns),pi.registerModifier("rp",xr),pi.registerModifier("rd",Ls),pi.registerModifier("zz",Ms),pi.registerModifier("op",Os),Mt})});var cn=globalThis,dn=cn.ShadowRoot&&(cn.ShadyCSS===void 0||cn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ic=Symbol(),dp=new WeakMap,Us=class{constructor(i,t,o){if(this._$cssResult$=!0,o!==ic)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(dn&&i===void 0){let o=t!==void 0&&t.length===1;o&&(i=dp.get(t)),i===void 0&&((this.o=i=new CSSStyleSheet).replaceSync(this.cssText),o&&dp.set(t,i))}return i}toString(){return this.cssText}},hp=l=>new Us(typeof l=="string"?l:l+"",void 0,ic),H=(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 Us(t,l,ic)},oc=(l,i)=>{if(dn)l.adoptedStyleSheets=i.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of i){let o=document.createElement("style"),a=cn.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=t.cssText,l.appendChild(o)}},hn=dn?l=>l:l=>l instanceof CSSStyleSheet?(i=>{let t="";for(let o of i.cssRules)t+=o.cssText;return hp(t)})(l):l;var{is:eb,defineProperty:rb,getOwnPropertyDescriptor:ib,getOwnPropertyNames:ob,getOwnPropertySymbols:sb,getPrototypeOf:ab}=Object,xi=globalThis,pp=xi.trustedTypes,nb=pp?pp.emptyScript:"",sc=xi.reactiveElementPolyfillSupport,Hs=(l,i)=>l,Gs={toAttribute(l,i){switch(i){case Boolean:l=l?nb: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}},pn=(l,i)=>!eb(l,i),mp={attribute:!0,type:String,converter:Gs,reflect:!1,hasChanged:pn},up,fp;(up=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(fp=xi.litPropertyMetadata)!=null||(xi.litPropertyMetadata=new WeakMap);var Ur=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=mp){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&&rb(this.prototype,i,a)}}static getPropertyDescriptor(i,t,o){var m;let{get:a,set:h}=(m=ib(this.prototype,i))!=null?m:{get(){return this[t]},set(E){this[t]=E}};return{get(){return a==null?void 0:a.call(this)},set(E){let N=a==null?void 0:a.call(this);h.call(this,E),this.requestUpdate(i,N,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(i){var t;return(t=this.elementProperties.get(i))!=null?t:mp}static _$Ei(){if(this.hasOwnProperty(Hs("elementProperties")))return;let i=ab(this);i.finalize(),i.l!==void 0&&(this.l=[...i.l]),this.elementProperties=new Map(i.elementProperties)}static finalize(){if(this.hasOwnProperty(Hs("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Hs("properties"))){let t=this.properties,o=[...ob(t),...sb(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(hn(a))}else i!==void 0&&t.push(hn(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 oc(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:Gs).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),E=typeof m.converter=="function"?{fromAttribute:m.converter}:((h=m.converter)==null?void 0:h.fromAttribute)!==void 0?m.converter:Gs;this._$Em=a,this[a]=E.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:pn)(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,E]of this._$Ep)this[m]=E;this._$Ep=void 0}let h=this.constructor.elementProperties;if(h.size>0)for(let[m,E]of h)E.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],E)}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){}},vp;Ur.elementStyles=[],Ur.shadowRootOptions={mode:"open"},Ur[Hs("elementProperties")]=new Map,Ur[Hs("finalized")]=new Map,sc==null||sc({ReactiveElement:Ur}),((vp=xi.reactiveElementVersions)!=null?vp:xi.reactiveElementVersions=[]).push("2.0.4");var Ws=globalThis,mn=Ws.trustedTypes,gp=mn?mn.createPolicy("lit-html",{createHTML:l=>l}):void 0,lc="$lit$",Hr=`lit$${Math.random().toFixed(9).slice(2)}$`,cc="?"+Hr,lb=`<${cc}>`,ji=document,js=()=>ji.createComment(""),Ks=l=>l===null||typeof l!="object"&&typeof l!="function",dc=Array.isArray,Sp=l=>dc(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",ac=`[
|
1
|
+
"use strict";(()=>{var Kg=Object.create;var rc=Object.defineProperty;var cp=Object.getOwnPropertyDescriptor;var qg=Object.getOwnPropertyNames;var Zg=Object.getPrototypeOf,Xg=Object.prototype.hasOwnProperty;var Qg=(l,i)=>()=>(i||l((i={exports:{}}).exports,i),i.exports);var Jg=(l,i,t,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of qg(i))!Xg.call(l,a)&&a!==t&&rc(l,a,{get:()=>i[a],enumerable:!(o=cp(i,a))||o.enumerable});return l};var tb=(l,i,t)=>(t=l!=null?Kg(Zg(l)):{},Jg(i||!l||!l.__esModule?rc(t,"default",{value:l,enumerable:!0}):t,l));var p=(l,i,t,o)=>{for(var a=o>1?void 0:o?cp(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&&rc(i,t,a),a};var sm=Qg((oa,Dn)=>{typeof navigator<"u"&&function(l,i){typeof oa=="object"&&typeof Dn<"u"?Dn.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self,l.lottie=i())}(oa,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},E=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 K(e,r){return Object.getOwnPropertyDescriptor(e,r)}function q(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,kt="",Gt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Ft=!1,Vt=Math.pow,Kt=Math.sqrt,oe=Math.floor,nr=Math.max,_e=Math.min,Ue={};(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)Ue[e[r]]=Math[e[r]]})();function lr(){return{}}Ue.random=Math.random,Ue.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 cr=150,It=Math.PI/180,le=.5519;function He(e){Ft=!!e}function Ge(e){return Ft?Math.round(e):e}function Ye(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 We(e,r,s,n){this.type=e,this.currentTime=r,this.totalTime=s,this.direction=n<0?-1:1}function Ua(e,r){this.type=e,this.direction=r<0?-1:1}function vh(e,r,s,n){this.type=e,this.currentLoop=s,this.totalLoops=r,this.direction=n<0?-1:1}function gh(e,r,s){this.type=e,this.firstFrame=r,this.totalFrames=s}function bh(e,r){this.type=e,this.target=r}function Kv(e,r){this.type="renderFrameError",this.nativeError=e,this.currentTime=r}function qv(e){this.type="configError",this.nativeError=e}function mx(e,r){this.type=e,this.nativeError=r}var Ie=function(){var e=0;return function(){return e+=1,kt+"__lottie_element_"+e}}();function Hl(e,r,s){var n,d,c,v,x,g,C,L;switch(v=Math.floor(e*6),x=e*6-v,g=s*(1-r),C=s*(1-x*r),L=s*(1-(1-x)*r),v%6){case 0:n=s,d=L,c=g;break;case 1:n=C,d=s,c=g;break;case 2:n=g,d=s,c=L;break;case 3:n=g,d=C,c=s;break;case 4:n=L,d=g,c=s;break;case 5:n=s,d=g,c=C;break;default:break}return[n,d,c]}function Gl(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 yh(e,r){var s=Gl(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),Hl(s[0],s[1],s[2])}function Eh(e,r){var s=Gl(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),Hl(s[0],s[1],s[2])}function Th(e,r){var s=Gl(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),Hl(s[0],s[1],s[2])}var ux=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},Xv=function(){return ut},Qv=function(r){Tt=r},Ha=function(){return Tt},fx=function(r){St=r},xh=function(){return St},Ga=function(r){cr=r},_s=function(){return cr},Jv=function(r){kt=r},vx=function(){return kt};function bt(e){return document.createElementNS(l,e)}function Ya(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ya=function(s){return typeof s}:Ya=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ya(e)}var Is=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(T){if(window.Worker&&window.Blob&&h()){var R=new Blob(["var _workerSelf = self; self.onmessage = ",T.toString()],{type:"text/javascript"}),P=URL.createObjectURL(R);return new Worker(P)}return s=T,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)k(vt[U].pt.k);else for(mt=vt[U].pt.k.length,at=0;at<mt;at+=1)vt[U].pt.k[at].s&&k(vt[U].pt.k[at].s[0]),vt[U].pt.k[at].e&&k(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)k(Z[S].ks.k);else for(b=Z[S].ks.k.length,u=0;u<b;u+=1)Z[S].ks.k[u].s&&k(Z[S].ks.k[u].s[0]),Z[S].ks.k[u].e&&k(Z[S].ks.k[u].e[0]);else Z[S].ty==="gr"&&A(Z[S].it)}function k(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)}}}(),Y=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),Y(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=Y,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&&Ya(_.response)==="object"?_.response:_.response&&typeof _.response=="string"?JSON.parse(_.response):_.responseText?JSON.parse(_.responseText):null}function w(_,y,A,k){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(Y){k&&k(Y)}};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(T){var R=T.data,P=R.id,M=r[P];r[P]=null,R.status==="success"?M.onComplete(R.payload):M.onError&&M.onError()})}function g(T,R){e+=1;var P="processId_"+e;return r[P]={onComplete:T,onError:R},P}function C(T,R,P){x();var M=g(R,P);n.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function L(T,R,P){x();var M=g(R,P);n.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function B(T,R,P){x();var M=g(R,P);n.postMessage({type:"complete",animation:T,id:M})}return{loadAnimation:C,loadData:L,completeAnimation:B}}(),tg=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 k=w.p;k.indexOf("images/")!==-1&&(k=k.split("/")[1]),A=_+k}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 Is.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 C(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 T(){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:C,loadedImages:R,loadedFootages:P,destroy:T,getAsset:B,createImgData:v,createImageData:c,imageLoaded:r,footageLoaded:s,setCacheType:M},z}();function Ah(){}Ah.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 eg=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}}(),rg=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}}(),Cs={},ig=function(r,s){Cs[r]=s};function og(e){return Cs[e]}function sg(){if(Cs.canvas)return"canvas";for(var e in Cs)if(Cs[e])return e;return""}function ks(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ks=function(s){return typeof s}:ks=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},ks(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=Ie(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Xv(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=rg(),this.imagePreloader=new tg,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 We("drawnFrame",0,0,0),this.expressionsPlugin=Ha()};$([Ah],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=og(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")),Is.loadAnimation(e.path,this.configAnimation,this.onSetupError))},pt.prototype.onSetupError=function(){this.trigger("data_failed")},pt.prototype.setupAnimation=function(e){Is.completeAnimation(e,this.configAnimation)},pt.prototype.setData=function(e,r){r&&ks(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:sg()||"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,Is.completeAnimation(this.animationData,this.onSegmentComplete)},pt.prototype.onSegmentComplete=function(e){this.animationData=e;var r=Ha();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,Is.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=eg(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=Ha();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),ks(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 We(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 vh(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new Ua(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new gh(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new bh(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new We(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new vh(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new Ua(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new gh(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new bh(e,this))},pt.prototype.triggerRenderFrameError=function(e){var r=new Kv(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},pt.prototype.triggerConfigError=function(e){var r=new qv(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var qt=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 T(b,S),b.setData(S,O),b}function C(){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 T(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 T(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 k(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 Y(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=k,e.togglePause=D,e.searchAnimations=Y,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=C,e}(),ws=function(){var e={};e.getBezierEasing=s;var r={};function s(_,y,A,k,D){var V=D||("bez_"+_+"_"+y+"_"+A+"_"+k).replace(/\./g,"p");if(r[V])return r[V];var Y=new w([_,y,A,k]);return r[V]=Y,Y}var n=4,d=.001,c=1e-7,v=10,x=11,g=1/(x-1),C=typeof Float32Array=="function";function L(_,y){return 1-3*y+3*_}function B(_,y){return 3*y-6*_}function T(_){return 3*_}function R(_,y,A){return((L(y,A)*_+B(y,A))*_+T(y))*_}function P(_,y,A){return 3*L(y,A)*_*_+2*B(y,A)*_+T(y)}function M(_,y,A,k,D){var V,Y,X=0;do Y=y+(A-y)/2,V=R(Y,k,D)-_,V>0?A=Y:y=Y;while(Math.abs(V)>c&&++X<v);return Y}function z(_,y,A,k){for(var D=0;D<n;++D){var V=P(y,A,k);if(V===0)return y;var Y=R(y,A,k)-_;y-=Y/V}return y}function w(_){this._p=_,this._mSampleValues=C?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],k=this._p[1],D=this._p[2],V=this._p[3];return this._precomputed||this._precompute(),A===k&&D===V?y:y===0?0:y===1?1:R(this._getTForX(y),k,V)},_precompute:function(){var y=this._p[0],A=this._p[1],k=this._p[2],D=this._p[3];this._precomputed=!0,(y!==A||k!==D)&&this._calcSampleValues()},_calcSampleValues:function(){for(var y=this._p[0],A=this._p[2],k=0;k<x;++k)this._mSampleValues[k]=R(k*g,y,A)},_getTForX:function(y){for(var A=this._p[0],k=this._p[2],D=this._mSampleValues,V=0,Y=1,X=x-1;Y!==X&&D[Y]<=y;++Y)V+=g;--Y;var ft=(y-D[Y])/(D[Y+1]-D[Y]),ht=V+ft*g,et=P(ht,A,k);return et>=d?z(y,ht,A,k):et===0?ht:M(y,V,V+g,A,k)}},e}(),Sh=function(){function e(r){return r.concat(rt(r.length))}return{double:e}}(),Wa=function(){return function(e,r,s){var n=0,d=e,c=rt(d),v={newElement:x,release:g};function x(){var C;return n?(n-=1,C=c[n]):C=r(),C}function g(C){n===d&&(c=Sh.double(c),d*=2),s&&s(C),c[n]=C,n+=1}return v}}(),_h=function(){function e(){return{addedLength:0,percents:Q("float32",_s()),lengths:Q("float32",_s())}}return Wa(8,e)}(),Ih=function(){function e(){return{lengths:[],totalLength:0}}function r(s){var n,d=s.lengths.length;for(n=0;n<d;n+=1)_h.release(s.lengths[n]);s.lengths.length=0}return Wa(8,e,r)}();function ag(){var e=Math;function r(T,R,P,M,z,w){var _=T*M+R*z+P*w-z*M-w*T-P*R;return _>-.001&&_<.001}function s(T,R,P,M,z,w,_,y,A){if(P===0&&w===0&&A===0)return r(T,R,M,z,_,y);var k=e.sqrt(e.pow(M-T,2)+e.pow(z-R,2)+e.pow(w-P,2)),D=e.sqrt(e.pow(_-T,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)),Y;return k>D?k>V?Y=k-D-V:Y=V-D-k:V>D?Y=V-D-k:Y=D-k-V,Y>-1e-4&&Y<1e-4}var n=function(){return function(T,R,P,M){var z=_s(),w,_,y,A,k,D=0,V,Y=[],X=[],ft=_h.newElement();for(y=P.length,w=0;w<z;w+=1){for(k=w/(z-1),V=0,_=0;_<y;_+=1)A=Vt(1-k,3)*T[_]+3*Vt(1-k,2)*k*P[_]+3*(1-k)*Vt(k,2)*M[_]+Vt(k,3)*R[_],Y[_]=A,X[_]!==null&&(V+=Vt(Y[_]-X[_],2)),X[_]=Y[_];V&&(V=Kt(V),D+=V),ft.percents[w]=k,ft.lengths[w]=D}return ft.addedLength=D,ft}}();function d(T){var R=Ih.newElement(),P=T.c,M=T.v,z=T.o,w=T.i,_,y=T._length,A=R.lengths,k=0;for(_=0;_<y-1;_+=1)A[_]=n(M[_],M[_+1],z[_],w[_+1]),k+=A[_].addedLength;return P&&y&&(A[_]=n(M[_],M[0],z[_],w[0]),k+=A[_].addedLength),R.totalLength=k,R}function c(T){this.segmentLength=0,this.points=new Array(T)}function v(T,R){this.partialLength=T,this.point=R}var x=function(){var T={};return function(R,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(!T[w]){var _=_s(),y,A,k,D,V,Y=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(k=M.length,y=0;y<_;y+=1){for(ft=rt(k),V=y/(_-1),X=0,A=0;A<k;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=Kt(X),Y+=X,et.points[y]=new v(X,ft),ht=ft}et.segmentLength=Y,T[w]=et}return T[w]}}();function g(T,R){var P=R.percents,M=R.lengths,z=P.length,w=oe((z-1)*T),_=T*R.addedLength,y=0;if(w===z-1||w===0||_===M[w])return P[w];for(var A=M[w]>_?-1:1,k=!0;k;)if(M[w]<=_&&M[w+1]>_?(y=(_-M[w])/(M[w+1]-M[w]),k=!1):w+=A,w<0||w>=z-1){if(w===z-1)return P[w];k=!1}return P[w]+(P[w+1]-P[w])*y}function C(T,R,P,M,z,w){var _=g(z,w),y=1-_,A=e.round((y*y*y*T[0]+(_*y*y+y*_*y+y*y*_)*P[0]+(_*_*y+y*_*_+_*y*_)*M[0]+_*_*_*R[0])*1e3)/1e3,k=e.round((y*y*y*T[1]+(_*y*y+y*_*y+y*y*_)*P[1]+(_*_*y+y*_*_+_*y*_)*M[1]+_*_*_*R[1])*1e3)/1e3;return[A,k]}var L=Q("float32",8);function B(T,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,_),k,D=T.length,V=1-y,Y=1-A,X=V*V*V,ft=y*V*V*3,ht=y*y*V*3,et=y*y*y,yt=V*V*Y,lt=y*V*Y+V*y*Y+V*V*A,Z=y*y*Y+V*y*A+y*V*A,S=y*y*A,O=V*Y*Y,u=y*Y*Y+V*A*Y+V*Y*A,b=y*A*Y+V*A*A+y*Y*A,U=y*A*A,F=Y*Y*Y,at=A*Y*Y+Y*A*Y+Y*Y*A,mt=A*A*Y+Y*A*A+A*Y*A,vt=A*A*A;for(k=0;k<D;k+=1)L[k*4]=e.round((X*T[k]+ft*P[k]+ht*M[k]+et*R[k])*1e3)/1e3,L[k*4+1]=e.round((yt*T[k]+lt*P[k]+Z*M[k]+S*R[k])*1e3)/1e3,L[k*4+2]=e.round((O*T[k]+u*P[k]+b*M[k]+U*R[k])*1e3)/1e3,L[k*4+3]=e.round((F*T[k]+at*P[k]+mt*M[k]+vt*R[k])*1e3)/1e3;return L}return{getSegmentsLength:d,getNewSegment:B,getPointInSegment:C,buildBezierData:x,pointOnLine2D:r,pointOnLine3D:s}}var Tr=ag(),zi=o,Ch=Math.abs;function kh(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,C,L;x;){if(g=this.keyframes[c],C=this.keyframes[c+1],c===v-1&&e>=C.t-s){g.h&&(g=C),d=0;break}if(C.t-s>e){d=c;break}c<v-1?c+=1:(d=0,x=!1)}L=this.keyframesMetadata[c]||{};var B,T,R,P,M,z,w=C.t-s,_=g.t-s,y;if(g.to){L.bezierData||(L.bezierData=Tr.buildBezierData(g.s,C.s||g.e,g.to,g.ti));var A=L.bezierData;if(e>=w||e<_){var k=e>=w?A.points.length-1:0;for(T=A.points[k].point.length,B=0;B<T;B+=1)n[B]=A.points[k].point[B]}else{L.__fnct?z=L.__fnct:(z=ws.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,Y=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(Y+=A.points[M].partialLength,D===0||R===0||M===A.points.length-1){for(T=A.points[M].point.length,B=0;B<T;B+=1)n[B]=A.points[M].point[B];break}else if(D>=Y&&D<Y+A.points[M+1].partialLength){for(V=(D-Y)/A.points[M+1].partialLength,T=A.points[M].point.length,B=0;B<T;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=Y-A.points[M].partialLength,r._lastKeyframeIndex=c}}else{var X,ft,ht,et,yt;if(v=g.s.length,y=C.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=wh(g.s),Z=wh(y),S=(e-_)/(w-_);lg(n,ng(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=ws.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=ws.getBezierEasing(X,ft,ht,et).get,g.keyframeMetadata=z),R=z((e-_)/(w-_)))),y=C.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 ng(e,r,s){var n=[],d=e[0],c=e[1],v=e[2],x=e[3],g=r[0],C=r[1],L=r[2],B=r[3],T,R,P,M,z;return R=d*g+c*C+v*L+x*B,R<0&&(R=-R,g=-g,C=-C,L=-L,B=-B),1-R>1e-6?(T=Math.acos(R),P=Math.sin(T),M=Math.sin((1-s)*T)/P,z=Math.sin(s*T)/P):(M=1-s,z=s),n[0]=M*d+z*g,n[1]=M*c+z*C,n[2]=M*v+z*L,n[3]=M*x+z*B,n}function lg(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 wh(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),C=Math.sin(n/2),L=d*c*v-x*g*C,B=x*g*v+d*c*C,T=x*c*v+d*g*C,R=d*g*v-x*c*C;return[B,T,R,L]}function Nh(){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!==zi&&(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 ja(e){var r;if(this.propType==="unidimensional")r=e*this.mult,Ch(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,Ch(this.v[s]-r)>1e-5&&(this.v[s]=r,this._mdf=!0),s+=1}function Ka(){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 qa(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function cg(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=Ka,this.setVValue=ja,this.addEffect=qa}function dg(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=Ka,this.setVValue=ja,this.addEffect=qa}function hg(e,r,s,n){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:zi,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=zi,this.pv=zi,this._isFirstFrame=!0,this.getValue=Ka,this.setVValue=ja,this.interpolateValue=kh,this.effectsSequence=[Nh.bind(this)],this.addEffect=qa}function pg(e,r,s,n){this.propType="multidimensional";var d,c=r.k.length,v,x,g,C;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,C=r.k[d].ti,(v.length===2&&!(v[0]===x[0]&&v[1]===x[1])&&Tr.pointOnLine2D(v[0],v[1],x[0],x[1],v[0]+g[0],v[1]+g[1])&&Tr.pointOnLine2D(v[0],v[1],x[0],x[1],x[0]+C[0],x[1]+C[1])||v.length===3&&!(v[0]===x[0]&&v[1]===x[1]&&v[2]===x[2])&&Tr.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])&&Tr.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],x[0]+C[0],x[1]+C[1],x[2]+C[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&&C[0]===0&&C[1]===0&&(v.length===2||v[2]===x[2]&&g[2]===0&&C[2]===0)&&(r.k[d].to=null,r.k[d].ti=null));this.effectsSequence=[Nh.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=Ka,this.setVValue=ja,this.interpolateValue=kh,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]=zi,this.pv[d]=zi;this._caching={lastFrame:zi,lastIndex:0,value:Q("float32",L)},this.addEffect=qa}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 cg(s,n,c,v);else if(typeof n.k[0]=="number")x=new dg(s,n,c,v);else switch(d){case 0:x=new hg(s,n,c,v);break;case 1:x=new pg(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 Vi=function(){function e(){return Q("float32",2)}return Wa(8,e)}();function Pr(){this.c=!1,this._length=0,this._maxLength=8,this.v=rt(this._maxLength),this.o=rt(this._maxLength),this.i=rt(this._maxLength)}Pr.prototype.setPathData=function(e,r){this.c=e,this.setLength(r);for(var s=0;s<r;)this.v[s]=Vi.newElement(),this.o[s]=Vi.newElement(),this.i[s]=Vi.newElement(),s+=1},Pr.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},Pr.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},Pr.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]=Vi.newElement()),c[n][0]=e,c[n][1]=r},Pr.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)},Pr.prototype.reverse=function(){var e=new Pr;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},Pr.prototype.length=function(){return this._length};var ce=function(){function e(){return new Pr}function r(d){var c=d._length,v;for(v=0;v<c;v+=1)Vi.release(d.v[v]),Vi.release(d.i[v]),Vi.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=Wa(4,e,r);return n.clone=s,n}();function Yl(){this._length=0,this._maxLength=4,this.shapes=rt(this._maxLength)}Yl.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},Yl.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)ce.release(this.shapes[e]);this._length=0};var wo=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 Yl,v}function c(v){var x,g=v._length;for(x=0;x<g;x+=1)ce.release(v.shapes[x]);v._length=0,r===s&&(n=Sh.double(n),s*=2),n[r]=v,r+=1}return e}(),Za=function(){var e=-999999;function r(w,_,y){var A=y.lastIndex,k,D,V,Y,X,ft,ht,et,yt,lt=this.keyframes;if(w<lt[0].t-this.offsetTime)k=lt[0].s[0],V=!0,A=0;else if(w>=lt[lt.length-1].t-this.offsetTime)k=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=ws.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]}k=u.s[0]}for(ft=_._length,ht=k.i[0].length,y.lastIndex=A,Y=0;Y<ft;Y+=1)for(X=0;X<ht;X+=1)yt=V?k.i[Y][X]:k.i[Y][X]+(D.i[Y][X]-k.i[Y][X])*et,_.i[Y][X]=yt,yt=V?k.o[Y][X]:k.o[Y][X]+(D.o[Y][X]-k.o[Y][X])*et,_.o[Y][X]=yt,yt=V?k.v[Y][X]:k.v[Y][X]+(D.v[Y][X]-k.v[Y][X])*et,_.v[Y][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=ce.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=ce.clone(A),this.pv=ce.clone(this.v),this.localShapeCollection=wo.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 C(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=ce.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=ce.clone(this.v),this.localShapeCollection=wo.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)]}C.prototype.getValue=v,C.prototype.interpolateShape=r,C.prototype.setVValue=c,C.prototype.addEffect=g;var L=function(){var w=le;function _(y,A){this.v=ce.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=wo.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],k=this.p.v[1],D=this.s.v[0]/2,V=this.s.v[1]/2,Y=this.d!==3,X=this.v;X.v[0][0]=A,X.v[0][1]=k-V,X.v[1][0]=Y?A+D:A-D,X.v[1][1]=k,X.v[2][0]=A,X.v[2][1]=k+V,X.v[3][0]=Y?A-D:A+D,X.v[3][1]=k,X.i[0][0]=Y?A-D*w:A+D*w,X.i[0][1]=k-V,X.i[1][0]=Y?A+D:A-D,X.i[1][1]=k-V*w,X.i[2][0]=Y?A+D*w:A-D*w,X.i[2][1]=k+V,X.i[3][0]=Y?A-D:A+D,X.i[3][1]=k+V*w,X.o[0][0]=Y?A+D*w:A-D*w,X.o[0][1]=k-V,X.o[1][0]=Y?A+D:A-D,X.o[1][1]=k+V*w,X.o[2][0]=Y?A-D*w:A+D*w,X.o[2][1]=k+V,X.o[3][0]=Y?A-D:A+D,X.o[3][1]=k-V*w}},$([se],_),_}(),B=function(){function w(_,y){this.v=ce.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=wo.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,k=!0,D=this.or.v,V=this.ir.v,Y=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=k?D:V,lt=k?Y:X,Z=k?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),k=!k,S+=A*O}},convertPolygonToPath:function(){var y=Math.floor(this.pt.v),A=Math.PI*2/y,k=this.or.v,D=this.os.v,V=2*Math.PI*k/(y*4),Y,X=-Math.PI*.5,ft=this.data.d===3?-1:1;for(X+=this.r.v,this.v._length=0,Y=0;Y<y;Y+=1){var ht=k*Math.cos(X),et=k*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,Y,!0),X+=A*ft}this.paths.length=0,this.paths[0]=this.v}},$([se],w),w}(),T=function(){function w(_,y){this.v=ce.newElement(),this.v.c=!0,this.localShapeCollection=wo.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],k=this.s.v[0]/2,D=this.s.v[1]/2,V=_e(k,D,this.r.v),Y=V*(1-le);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(y+k,A-D+V,y+k,A-D+V,y+k,A-D+Y,0,!0),this.v.setTripleAt(y+k,A+D-V,y+k,A+D-Y,y+k,A+D-V,1,!0),V!==0?(this.v.setTripleAt(y+k-V,A+D,y+k-V,A+D,y+k-Y,A+D,2,!0),this.v.setTripleAt(y-k+V,A+D,y-k+Y,A+D,y-k+V,A+D,3,!0),this.v.setTripleAt(y-k,A+D-V,y-k,A+D-V,y-k,A+D-Y,4,!0),this.v.setTripleAt(y-k,A-D+V,y-k,A-D+Y,y-k,A-D+V,5,!0),this.v.setTripleAt(y-k+V,A-D,y-k+V,A-D,y-k+Y,A-D,6,!0),this.v.setTripleAt(y+k-V,A-D,y+k-Y,A-D,y+k-V,A-D,7,!0)):(this.v.setTripleAt(y-k,A+D,y-k+Y,A+D,y-k,A+D,2),this.v.setTripleAt(y-k,A-D,y-k,A-D+Y,y-k,A-D,3))):(this.v.setTripleAt(y+k,A-D+V,y+k,A-D+Y,y+k,A-D+V,0,!0),V!==0?(this.v.setTripleAt(y+k-V,A-D,y+k-V,A-D,y+k-Y,A-D,1,!0),this.v.setTripleAt(y-k+V,A-D,y-k+Y,A-D,y-k+V,A-D,2,!0),this.v.setTripleAt(y-k,A-D+V,y-k,A-D+V,y-k,A-D+Y,3,!0),this.v.setTripleAt(y-k,A+D-V,y-k,A+D-Y,y-k,A+D-V,4,!0),this.v.setTripleAt(y-k+V,A+D,y-k+V,A+D,y-k+Y,A+D,5,!0),this.v.setTripleAt(y+k-V,A+D,y+k-Y,A+D,y+k-V,A+D,6,!0),this.v.setTripleAt(y+k,A+D-V,y+k,A+D-V,y+k,A+D-Y,7,!0)):(this.v.setTripleAt(y-k,A-D,y-k+Y,A-D,y-k,A-D,1,!0),this.v.setTripleAt(y-k,A+D,y-k,A+D-Y,y-k,A+D,2,!0),this.v.setTripleAt(y+k,A+D,y+k-Y,A+D,y+k,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 k=y===3?_.pt:_.ks,D=k.k;D.length?A=new C(w,_,y):A=new x(w,_,y)}else y===5?A=new T(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 C}var z={};return z.getShapeProp=R,z.getConstructorFunction=P,z.getKeyframedConstructorFunction=M,z}();var de=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 C(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 T(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,ke,Ar,we,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]=ke,this.props[11]=Ar,this.props[12]=we,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,ke,Ar,we,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&&ke===1&&Ar===0)return ct[12]=ct[12]*u+ct[15]*we,ct[13]=ct[13]*mt+ct[15]*ae,ct[14]=ct[14]*ke+ct[15]*$e,ct[15]*=Ot,this._identityCalculated=!1,this;var $r=ct[0],bi=ct[1],zr=ct[2],Sr=ct[3],Vr=ct[4],Br=ct[5],Ne=ct[6],yi=ct[7],Ei=ct[8],hr=ct[9],Ti=ct[10],pr=ct[11],Gi=ct[12],an=ct[13],nn=ct[14],ln=ct[15];return ct[0]=$r*u+bi*at+zr*Nt+Sr*we,ct[1]=$r*b+bi*mt+zr*Zt+Sr*ae,ct[2]=$r*U+bi*vt+zr*ke+Sr*$e,ct[3]=$r*F+bi*wt+zr*Ar+Sr*Ot,ct[4]=Vr*u+Br*at+Ne*Nt+yi*we,ct[5]=Vr*b+Br*mt+Ne*Zt+yi*ae,ct[6]=Vr*U+Br*vt+Ne*ke+yi*$e,ct[7]=Vr*F+Br*wt+Ne*Ar+yi*Ot,ct[8]=Ei*u+hr*at+Ti*Nt+pr*we,ct[9]=Ei*b+hr*mt+Ti*Zt+pr*ae,ct[10]=Ei*U+hr*vt+Ti*ke+pr*$e,ct[11]=Ei*F+hr*wt+Ti*Ar+pr*Ot,ct[12]=Gi*u+an*at+nn*Nt+ln*we,ct[13]=Gi*b+an*mt+nn*Zt+ln*ae,ct[14]=Gi*U+an*vt+nn*ke+ln*$e,ct[15]=Gi*F+an*wt+nn*Ar+ln*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 k(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 Y(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 de;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=C,this.scale=T,this.setTransform=R,this.translate=P,this.transform=M,this.multiply=z,this.applyToPoint=k,this.applyToX=D,this.applyToY=V,this.applyToZ=Y,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 Xa(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Xa=function(s){return typeof s}:Xa=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Xa(e)}var Mt={},Qa="__[STANDALONE]__",Lh="__[ANIMATIONDATA]__",Rh="";function mg(e){m(e)}function Mh(){Qa===!0?qt.searchAnimations(Lh,Qa,Rh):qt.searchAnimations()}function ug(e){Zv(e)}function fg(e){Jv(e)}function vg(e){return Qa===!0&&(e.animationData=JSON.parse(Lh)),qt.loadAnimation(e)}function gg(e){if(typeof e=="string")switch(e){case"high":Ga(200);break;default:case"medium":Ga(50);break;case"low":Ga(10);break}else!isNaN(e)&&e>1&&Ga(e);_s()>=50?He(!1):He(!0)}function bg(){return typeof navigator<"u"}function yg(e,r){e==="expressions"&&Qv(r)}function Eg(e){switch(e){case"propertyFactory":return it;case"shapePropertyFactory":return Za;case"matrix":return de;default:return null}}Mt.play=qt.play,Mt.pause=qt.pause,Mt.setLocationHref=mg,Mt.togglePause=qt.togglePause,Mt.setSpeed=qt.setSpeed,Mt.setDirection=qt.setDirection,Mt.stop=qt.stop,Mt.searchAnimations=Mh,Mt.registerAnimation=qt.registerAnimation,Mt.loadAnimation=vg,Mt.setSubframeRendering=ug,Mt.resize=qt.resize,Mt.goToAndStop=qt.goToAndStop,Mt.destroy=qt.destroy,Mt.setQuality=gg,Mt.inBrowser=bg,Mt.installPlugin=yg,Mt.freeze=qt.freeze,Mt.unfreeze=qt.unfreeze,Mt.setVolume=qt.setVolume,Mt.mute=qt.mute,Mt.unmute=qt.unmute,Mt.getRegisteredAnimations=qt.getRegisteredAnimations,Mt.useWebWorker=a,Mt.setIDPrefix=fg,Mt.__getFactory=Eg,Mt.version="5.12.2";function Tg(){document.readyState==="complete"&&(clearInterval(Sg),Mh())}function xg(e){for(var r=Oh.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 Oh="";if(Qa){var Ph=document.getElementsByTagName("script"),Ag=Ph.length-1,Dh=Ph[Ag]||{src:""};Oh=Dh.src?Dh.src.replace(/^[^\?]+\??/,""):"",Rh=xg("renderer")}var Sg=setInterval(Tg,100);try{!((typeof oa>"u"?"undefined":Xa(oa))==="object"&&typeof Dn<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Mt)}catch{}var pi=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 je(){}je.prototype.initModifierProperties=function(){},je.prototype.addShapeToModifier=function(){},je.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var r={shape:e.sh,data:e,localShapeCollection:wo.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&e.setAsAnimated()}},je.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)},je.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},$([se],je);function dr(){}$([je],dr),dr.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},dr.prototype.addShapeToModifier=function(e){e.pathsData=[]},dr.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,C;for(x=0;x<g;x+=1)if(C=c[x],!(C.e*d<n||C.s*d>n+s)){var L,B;C.s*d<=n?L=0:L=(C.s*d-n)/s,C.e*d>=n+s?B=1:B=(C.e*d-n)/s,v.push([L,B])}return v.length||v.push([0,0]),v},dr.prototype.releasePathsData=function(e){var r,s=e.length;for(r=0;r<s;r+=1)Ih.release(e[r]);return e.length=0,e},dr.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,C,L,B,T,R=0;if(s===r)for(v=0;v<x;v+=1)this.shapes[v].localShapeCollection.releaseShapes(),this.shapes[v].shape._mdf=!0,this.shapes[v].shape.paths=this.shapes[v].localShapeCollection,this._mdf&&(this.shapes[v].pathsData.length=0);else if(s===1&&r===0||s===0&&r===1){if(this._mdf)for(v=0;v<x;v+=1)this.shapes[v].pathsData.length=0,this.shapes[v].shape._mdf=!0}else{var 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,C=c._length,T=0,!M.shape._mdf&&M.pathsData.length)T=M.totalShapeLength;else{for(L=this.releasePathsData(M.pathsData),g=0;g<C;g+=1)B=Tr.getSegmentsLength(c.shapes[g]),L.push(B),T+=B.totalLength;M.totalShapeLength=T,M.pathsData=L}R+=T,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,_]],C=A.length,g=0;g<C;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 k=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=k.pop();this.addPaths(k,z),k=this.addShapes(M,P[1],V)}else this.addPaths(k,z),k=this.addShapes(M,P[1])}this.addPaths(k,z)}}M.shape.paths=z}}},dr.prototype.addPaths=function(e,r){var s,n=e.length;for(s=0;s<n;s+=1)r.addShape(e[s])},dr.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)},dr.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)},dr.prototype.addShapes=function(e,r,s){var n=e.pathsData,d=e.shape.paths.shapes,c,v=e.shape.paths._length,x,g,C=0,L,B,T,R,P=[],M,z=!0;for(s?(B=s._length,M=s._length):(s=ce.newElement(),B=0,M=0),P.push(s),c=0;c<v;c+=1){for(T=n[c].lengths,s.c=d[c].c,g=d[c].c?T.length:T.length+1,x=1;x<g;x+=1)if(L=T[x-1],C+L.addedLength<r.s)C+=L.addedLength,s.c=!1;else if(C>r.e){s.c=!1;break}else r.s<=C&&r.e>=C+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=Tr.getNewSegment(d[c].v[x-1],d[c].v[x],d[c].o[x-1],d[c].i[x],(r.s-C)/L.addedLength,(r.e-C)/L.addedLength,T[x-1]),this.addSegmentFromArray(R,s,B,z),z=!1,s.c=!1),C+=L.addedLength,B+=1;if(d[c].c&&T.length){if(L=T[x-1],C<=r.e){var w=T[x-1].addedLength;r.s<=C&&r.e>=C+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=Tr.getNewSegment(d[c].v[x-1],d[c].v[0],d[c].o[x-1],d[c].i[0],(r.s-C)/w,(r.e-C)/w,T[x-1]),this.addSegmentFromArray(R,s,B,z),z=!1,s.c=!1)}else s.c=!1;C+=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)),C>r.e)break;c<v-1&&(s=ce.newElement(),z=!0,P.push(s),B=0)}return P};function Ns(){}$([je],Ns),Ns.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},Ns.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=ce.newElement();v.c=e.c;var x,g,C,L,B,T;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,C=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,T=e.i[c][1]+(n[1]-e.i[c][1])*-s,v.setTripleAt(x,g,C,L,B,T,c);return v},Ns.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 Wl=function(){var e=[0,0];function r(g){var C=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||C,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 C;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(C=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)/C,0),B=this.p.getValueAtTime(this.p.keyframes[0].t/C,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/C,0),B=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/C,0)):(L=this.p.pv,B=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/C,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){L=[],B=[];var T=this.px,R=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(L[0]=T.getValueAtTime((T.keyframes[0].t+.01)/C,0),L[1]=R.getValueAtTime((R.keyframes[0].t+.01)/C,0),B[0]=T.getValueAtTime(T.keyframes[0].t/C,0),B[1]=R.getValueAtTime(R.keyframes[0].t/C,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(L[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/C,0),L[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/C,0),B[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/C,0),B[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/C,0)):(L=[T.pv,R.pv],B[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/C,T.offsetTime),B[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/C,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,C,L){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=C,this.v=new de,this.pre=new de,this.appliedTransformations=0,this.initDynamicPropertyContainer(L||g),C.p&&C.p.s?(this.px=it.getProp(g,C.p.x,0,0,this),this.py=it.getProp(g,C.p.y,0,0,this),C.p.z&&(this.pz=it.getProp(g,C.p.z,0,0,this))):this.p=it.getProp(g,C.p||{k:[0,0,0]},1,0,this),C.rx){if(this.rx=it.getProp(g,C.rx,0,It,this),this.ry=it.getProp(g,C.ry,0,It,this),this.rz=it.getProp(g,C.rz,0,It,this),C.or.k[0].ti){var B,T=C.or.k.length;for(B=0;B<T;B+=1)C.or.k[B].to=null,C.or.k[B].ti=null}this.or=it.getProp(g,C.or,1,It,this),this.or.sh=!0}else this.r=it.getProp(g,C.r||{k:0},0,It,this);C.sk&&(this.sk=it.getProp(g,C.sk,0,It,this),this.sa=it.getProp(g,C.sa,0,It,this)),this.a=it.getProp(g,C.a||{k:[0,0,0]},1,0,this),this.s=it.getProp(g,C.s||{k:[100,100,100]},1,.01,this),C.o?this.o=it.getProp(g,C.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,C,L){return new v(g,C,L)}return{getTransformProperty:x}}();function xr(){}$([je],xr),xr.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=Wl.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 de,this.rMatrix=new de,this.sMatrix=new de,this.tMatrix=new de,this.matrix=new de},xr.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])},xr.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)},xr.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)},xr.prototype.cloneElements=function(e){var r=JSON.parse(JSON.stringify(e));return this.resetElements(r),r},xr.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)},xr.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 C;for(n=0;n<=this._groups.length-1;n+=1){if(C=c<x,this._groups[n]._render=C,this.changeGroupRender(this._groups[n].it,C),!C){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 T=this.o.v,R=T%1,P=T>0?Math.floor(T):Math.ceil(T),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(T>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(T<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},xr.prototype.addShape=function(){};function Ls(){}$([je],Ls),Ls.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},Ls.prototype.processPath=function(e,r){var s=ce.newElement();s.c=e.c;var n,d=e._length,c,v,x,g,C,L,B=0,T,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],C=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=C?Math.min(C/2,r)/C:0,z=c[0]+(g[0]-c[0])*L,T=z,w=c[1]-(c[1]-g[1])*L,R=w,P=T-(T-c[0])*le,M=R-(R-c[1])*le,s.setTripleAt(T,R,P,M,z,w,B),B+=1,n===d-1?g=e.v[0]:g=e.v[n+1],C=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=C?Math.min(C/2,r)/C:0,P=c[0]+(g[0]-c[0])*L,T=P,M=c[1]+(g[1]-c[1])*L,R=M,z=T-(T-c[0])*le,w=R-(R-c[1])*le,s.setTripleAt(T,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},Ls.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 Ja(e,r){return Math.abs(e-r)*1e5<=Math.min(Math.abs(e),Math.abs(r))}function jl(e){return Math.abs(e)<=1e-5}function Fh(e,r,s){return e*(1-s)+r*s}function mi(e,r,s){return[Fh(e[0],r[0],s),Fh(e[1],r[1],s)]}function _g(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 $h(e,r,s,n){return[-e+3*r-3*s+n,3*e-6*r+3*s,-3*e+3*r,e]}function zh(e){return new Ut(e,e,e,e,!1)}function Ut(e,r,s,n,d){d&&Lo(e,r)&&(r=mi(e,n,1/3)),d&&Lo(s,n)&&(s=mi(e,n,2/3));var c=$h(e[0],r[0],s[0],n[0]),v=$h(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(jl(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 jl(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[zh(this.points[0]),this];if(e>=1)return[this,zh(this.points[this.points.length-1])];var r=mi(this.points[0],this.points[1],e),s=mi(this.points[1],this.points[2],e),n=mi(this.points[2],this.points[3],e),d=mi(r,s,e),c=mi(s,n,e),v=mi(d,c,e);return[new Ut(this.points[0],r,d,v,!0),new Ut(v,c,n,this.points[3],!0)]};function Vh(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=_g(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:Vh(this,0),y:Vh(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 tn(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 Bh(e){var r=e.bez.split(.5);return[tn(r[0],e.t1,e.t),tn(r[1],e.t,e.t2)]}function Ig(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 Rs(e,r,s,n,d,c){if(Ig(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=Bh(e),x=Bh(r);Rs(v[0],x[0],s+1,n,d,c),Rs(v[0],x[1],s+1,n,d,c),Rs(v[1],x[0],s+1,n,d,c),Rs(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 Rs(tn(this,0,1),tn(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 Kl(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 en(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=Kl(Kl(d,c),Kl(v,x));return jl(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function No(e,r,s){return[e[0]+Math.cos(r)*s,e[1]-Math.sin(r)*s]}function ql(e,r){return Math.hypot(e[0]-r[0],e[1]-r[1])}function Lo(e,r){return Ja(e[0],r[0])&&Ja(e[1],r[1])}function Ms(){}$([je],Ms),Ms.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 Uh(e,r,s,n,d,c,v){var x=s-Math.PI/2,g=s+Math.PI/2,C=r[0]+Math.cos(s)*n*d,L=r[1]-Math.sin(s)*n*d;e.setTripleAt(C,L,C+Math.cos(x)*c,L-Math.sin(x)*c,C+Math.cos(g)*v,L-Math.sin(g)*v,e.length())}function Cg(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 kg(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=Cg(d,c);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function Hh(e,r,s,n,d,c,v){var x=kg(r,s),g=r.v[s%r._length],C=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]-C[0],2)+Math.pow(g[1]-C[1],2)):0,T=c===2?Math.sqrt(Math.pow(g[0]-L[0],2)+Math.pow(g[1]-L[1],2)):0;Uh(e,r.v[s%r._length],x,v,n,T/((d+1)*2),B/((d+1)*2),c)}function wg(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,C=r.normalAngle(x),L=r.point(x);Uh(e,L,C,c,s,g/((n+1)*2),g/((n+1)*2),d),c=-c}return c}Ms.prototype.processPath=function(e,r,s,n){var d=e._length,c=ce.newElement();if(c.c=e.c,e.c||(d-=1),d===0)return c;var v=-1,x=Ut.shapeSegment(e,0);Hh(c,e,0,r,s,n,v);for(var g=0;g<d;g+=1)v=wg(c,x,r,s,n,-v),g===d-1&&!e.c?x=null:x=Ut.shapeSegment(e,(g+1)%d),Hh(c,e,g+1,r,s,n,v);return c},Ms.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 C,L;for(s=0;s<n;s+=1){if(C=this.shapes[s],L=C.localShapeCollection,!(!C.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),C.shape._mdf=!0,r=C.shape.paths.shapes,c=C.shape.paths._length,d=0;d<c;d+=1)L.addShape(this.processPath(r[d],v,x,g));C.shape.paths=C.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Zl(e,r,s){var n=Math.atan2(r[0]-e[0],r[1]-e[1]);return[No(e,n,s),No(r,n,s)]}function Ro(e,r){var s,n,d,c,v,x,g;g=Zl(e.points[0],e.points[1],r),s=g[0],n=g[1],g=Zl(e.points[1],e.points[2],r),d=g[0],c=g[1],g=Zl(e.points[2],e.points[3],r),v=g[0],x=g[1];var C=en(s,n,d,c);C===null&&(C=n);var L=en(v,x,d,c);return L===null&&(L=v),new Ut(s,C,L,x)}function Gh(e,r,s,n,d){var c=r.points[3],v=s.points[0];if(n===3||Lo(c,v))return c;if(n===2){var x=-r.tangentAngle(1),g=-s.tangentAngle(0)+Math.PI,C=en(c,No(c,x+Math.PI/2,100),v,No(v,x+Math.PI/2,100)),L=C?ql(C,c):ql(c,v)/2,B=No(c,x,2*L*le);return e.setXYAt(B[0],B[1],"o",e.length()-1),B=No(v,g,2*L*le),e.setTripleAt(v[0],v[1],v[0],v[1],B[0],B[1],e.length()),v}var T=Lo(c,r.points[2])?r.points[0]:r.points[2],R=Lo(v,s.points[1])?s.points[3]:s.points[1],P=en(T,c,v,R);return P&&ql(P,c)<d?(e.setTripleAt(P[0],P[1],P[0],P[1],P[0],P[1],e.length()),P):c}function Yh(e,r){var s=e.intersections(r);return s.length&&Ja(s[0][0],1)&&s.shift(),s.length?s[0]:null}function Wh(e,r){var s=e.slice(),n=r.slice(),d=Yh(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=Yh(e[0],r[r.length-1]),d)?[[e[0].split(d[0])[0]],[r[r.length-1].split(d[1])[1]]]:[s,n]}function Ng(e){for(var r,s=1;s<e.length;s+=1)r=Wh(e[s-1],e[s]),e[s-1]=r[0],e[s]=r[1];return e.length>1&&(r=Wh(e[e.length-1],e[0]),e[e.length-1]=r[0],e[0]=r[1]),e}function jh(e,r){var s=e.inflectionPoints(),n,d,c,v;if(s.length===0)return[Ro(e,r)];if(s.length===1||Ja(s[1],1))return c=e.split(s[0]),n=c[0],d=c[1],[Ro(n,r),Ro(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],[Ro(n,r),Ro(v,r),Ro(d,r)]}function Os(){}$([je],Os),Os.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},Os.prototype.processPath=function(e,r,s,n){var d=ce.newElement();d.c=e.c;var c=e.length();e.c||(c-=1);var v,x,g,C=[];for(v=0;v<c;v+=1)g=Ut.shapeSegment(e,v),C.push(jh(g,r));if(!e.c)for(v=c-1;v>=0;v-=1)g=Ut.shapeSegmentInverted(e,v),C.push(jh(g,r));C=Ng(C);var L=null,B=null;for(v=0;v<C.length;v+=1){var T=C[v];for(B&&(L=Gh(d,B,T[0],s,n)),B=T[T.length-1],x=0;x<T.length;x+=1)g=T[x],L&&Lo(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 C.length&&Gh(d,B,C[0][0],s,n),d},Os.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 C,L;for(s=0;s<n;s+=1){if(C=this.shapes[s],L=C.localShapeCollection,!(!C.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),C.shape._mdf=!0,r=C.shape.paths.shapes,c=C.shape.paths._length,d=0;d<c;d+=1)L.addShape(this.processPath(r[d],v,g,x));C.shape.paths=C.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Kh(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 Bi=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,C=127462,L=127487,B=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T(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=T(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=Kh(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(ke){ke.helper=M(ke),ke.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 k(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 Y(S){return S===x}function X(S){var O=k(S);return O>=C&&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=k(S.substr(O,2));if(u!==n)return!1;var b=0;for(O+=2;b<5;){if(u=k(S.substr(O,2)),u<c||u>v)return!1;b+=1,O+=2}return k(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=Y,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 qh(e){this.animationData=e}qh.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function Lg(e){return new qh(e)}function rn(){}rn.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 Xl=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 Rg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Mg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Og(e,r,s){this.p=it.getProp(r,e.v,1,0,s)}function Pg(e,r,s){this.p=it.getProp(r,e.v,1,0,s)}function Dg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Fg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function $g(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function zg(){this.p={}}function Zh(e,r){var s=e.ef||[];this.effectElements=[];var n,d=s.length,c;for(n=0;n<d;n+=1)c=new Ps(s[n],r),this.effectElements.push(c)}function Ps(e,r){this.init(e,r)}$([se],Ps),Ps.prototype.getValue=Ps.prototype.iterateDynamicProperties,Ps.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 Rg(c[s],r,this);break;case 1:d=new Mg(c[s],r,this);break;case 2:d=new Og(c[s],r,this);break;case 3:d=new Pg(c[s],r,this);break;case 4:case 7:d=new $g(c[s],r,this);break;case 10:d=new Dg(c[s],r,this);break;case 11:d=new Fg(c[s],r,this);break;case 5:d=new Zh(c[s],r,this);break;default:d=new zg(c[s],r,this);break}d&&this.effectElements.push(d)}};function ui(){}ui.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=xh();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=Xl(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=Ie(),this.data.sr||(this.data.sr=1),this.effectsManager=new Zh(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function fi(){}fi.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 vi(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)}vi.prototype.prepareFrame=function(){},$([rn,ui,fi],vi),vi.prototype.getBaseElement=function(){return null},vi.prototype.renderFrame=function(){},vi.prototype.destroy=function(){},vi.prototype.initExpressions=function(){var e=xh();if(e){var r=e("footage");this.layerInterface=r(this)}},vi.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))},$([rn,ui,fi],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 he(){}he.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()},he.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)}},he.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},he.prototype.createAudio=function(e){return new Ce(e,this.globalData,this)},he.prototype.createFootage=function(e){return new vi(e,this.globalData,this)},he.prototype.buildAllItems=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.buildItem(e);this.checkPendingElements()},he.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}},he.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},he.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},he.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},he.prototype.addPendingElement=function(e){this.pendingElements.push(e)},he.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)}},he.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},he.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)},he.prototype.setupGlobalData=function(e,r){this.globalData.fontManager=new Bi,this.globalData.slotManager=Lg(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 Vg={TRANSFORM_EFFECT:"transformEFfect"};function Mo(){}Mo.prototype={initTransform:function(){var r=new de;this.finalTransform={mProp:this.data.ks?Wl.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(Vg.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new de;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 de};function Ui(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,C=[],L,B,T=Ie(),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),C.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:Za.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=Ie(),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=C.length;var A=bt("g");for(L=0;L<B;L+=1)A.appendChild(C[L]);var k=bt("mask");k.setAttribute("mask-type","alpha"),k.setAttribute("id",T+"_"+g),k.appendChild(v),n.appendChild(k),A.setAttribute("mask","url("+E()+"#"+T+"_"+g+")"),C.length=0,C.push(A)}else C.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:Za.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=C.length,d=0;d<c;d+=1)this.maskElement.appendChild(C[d]);g>0&&(this.maskElement.setAttribute("id",T),this.element.maskedElement.setAttribute(_,"url("+E()+"#"+T+")"),n.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Ui.prototype.getMaskProperty=function(e){return this.viewData[e].prop},Ui.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("+E()+"#"+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))}},Ui.prototype.getMaskelement=function(){return this.maskElement},Ui.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},Ui.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}},Ui.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var Ds=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}(),Xh=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}(),on={},Qh="filter_result_";function Ql(e){var r,s="SourceGraphic",n=e.data.ef?e.data.ef.length:0,d=Ie(),c=Ds.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(on[g]){var C=on[g].effect;x=new C(c,e.effectsManager.effectElements[r],e,Qh+v,s),s=Qh+v,on[g].countsAsEffect&&(v+=1)}x&&this.filters.push(x)}v&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+E()+"#"+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 gx(e,r,s){on[e]={effect:r,countsAsEffect:s}}function Fs(){}Fs.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=Ie();if(n.setAttribute("id",c),n.appendChild(d),this.globalData.defs.appendChild(n),this.checkMasks()){var v=bt("g");v.setAttribute("clip-path","url("+E()+"#"+c+")"),v.appendChild(this.layerElement),this.transformedElement=v,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+E()+"#"+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 Ui(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),!Xh.maskType&&r===1&&(x.setAttribute("mask-type","luminance"),n=Ie(),d=Ds.createFilter(n),this.globalData.defs.appendChild(d),d.appendChild(Ds.createAlphaToLuminanceFilter()),v=bt("g"),v.appendChild(c),x.appendChild(v),v.setAttribute("filter","url("+E()+"#"+n+")"))}else if(r===2){var g=bt("mask");g.setAttribute("id",s),g.setAttribute("mask-type","alpha");var C=bt("g");g.appendChild(C),n=Ie(),d=Ds.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 T=bt("rect");T.setAttribute("width",this.comp.data.w),T.setAttribute("height",this.comp.data.h),T.setAttribute("x","0"),T.setAttribute("y","0"),T.setAttribute("fill","#ffffff"),T.setAttribute("opacity","0"),C.setAttribute("filter","url("+E()+"#"+n+")"),C.appendChild(T),c=bt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),C.appendChild(c),Xh.maskType||(g.setAttribute("mask-type","luminance"),d.appendChild(Ds.createAlphaToLuminanceFilter()),v=bt("g"),C.appendChild(T),v.appendChild(this.layerElement),C.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("+E()+"#"+r+")")}};function Oo(){}Oo.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 $s(){}(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()}};$([rn,q(e)],$s)})();function zs(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}}$([ui,Mo,Fs,Oo,fi,$s],zs),zs.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)},zs.prototype.sourceRectAtTime=function(){return this.sourceRect};function Bg(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 Bg(r,s))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var tp={1:"butt",2:"round",3:"square"},ep={1:"miter",2:"round",3:"bevel"};function rp(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}}rp.prototype.setAsAnimated=function(){this._isAnimated=!0};function ip(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}ip.prototype.reset=function(){this.d="",this._mdf=!1};function sn(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}sn.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],sn);function op(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 sn(e,r.d||{},"svg",this),this.c=it.getProp(e,r.c,1,255,this),this.style=s,this._isAnimated=!!this._isAnimated}$([se],op);function sp(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],sp);function ap(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=s}$([se],ap);function Vs(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)}Vs.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},Vs.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},Vs.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],Vs);function Po(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,r,s)}Po.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 Vs(e,r.g,this),this.style=s,this.stops=[],this.setGradientData(s.pElem,r),this.setGradientOpacity(r,s),this._isAnimated=!!this._isAnimated},Po.prototype.setGradientData=function(e,r){var s=Ie(),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("+E()+"#"+s+")"),this.gf=n,this.cst=d},Po.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=Ie(),g=Ie();c.setAttribute("id",g);var C=bt(e.t===1?"linearGradient":"radialGradient");C.setAttribute("id",x),C.setAttribute("spreadMethod","pad"),C.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)"),C.appendChild(s),L.push(s);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+E()+"#"+x+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",tp[e.lc||2]),v.setAttribute("stroke-linejoin",ep[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=C,this.ms=c,this.ost=L,this.maskId=g,r.msElem=v}},$([se],Po);function np(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=it.getProp(e,r.w,0,null,this),this.d=new sn(e,r.d||{},"svg",this),this.initGradientData(e,r,s),this._isAnimated=!!this._isAnimated}$([Po,se],np);function Ug(){this.it=[],this.prevViewData=[],this.gr=bt("g")}function Hg(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 lp=function(r,s,n,d){if(s===0)return"";var c=r.o,v=r.i,x=r.v,g,C=" M"+d.applyToPointStringified(x[0][0],x[0][1]);for(g=1;g<s;g+=1)C+=" 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&&(C+=" 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]),C+="z"),C},Gg=function(){var e=new de,r=new de,s={createRenderFunction:n};function n(B){switch(B.ty){case"fl":return x;case"gf":return C;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,T,R){(R||T.transform.op._mdf)&&T.transform.container.setAttribute("opacity",T.transform.op.v),(R||T.transform.mProps._mdf)&&T.transform.container.setAttribute("transform",T.transform.mProps.v.to2dCSS())}function c(){}function v(B,T,R){var P,M,z,w,_,y,A=T.styles.length,k=T.lvl,D,V,Y,X;for(y=0;y<A;y+=1){if(w=T.sh._mdf||R,T.styles[y].lvl<k){for(V=r.reset(),Y=k-T.styles[y].lvl,X=T.transformers.length-1;!w&&Y>0;)w=T.transformers[X].mProps._mdf||w,Y-=1,X-=1;if(w)for(Y=k-T.styles[y].lvl,X=T.transformers.length-1;Y>0;)V.multiply(T.transformers[X].mProps.v),Y-=1,X-=1}else V=e;if(D=T.sh.paths,M=D._length,w){for(z="",P=0;P<M;P+=1)_=D.shapes[P],_&&_._length&&(z+=lp(_,_._length,_.c,V));T.caches[y]=z}else z=T.caches[y];T.styles[y].d+=B.hd===!0?"":z,T.styles[y]._mdf=w||T.styles[y]._mdf}}function x(B,T,R){var P=T.style;(T.c._mdf||R)&&P.pElem.setAttribute("fill","rgb("+oe(T.c.v[0])+","+oe(T.c.v[1])+","+oe(T.c.v[2])+")"),(T.o._mdf||R)&&P.pElem.setAttribute("fill-opacity",T.o.v)}function g(B,T,R){C(B,T,R),L(B,T,R)}function C(B,T,R){var P=T.gf,M=T.g._hasOpacity,z=T.s.v,w=T.e.v;if(T.o._mdf||R){var _=B.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(_,T.o.v)}if(T.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&&!T.g._collapsable&&(T.of.setAttribute(y,z[0]),T.of.setAttribute(A,z[1]))}var k,D,V,Y;if(T.g._cmdf||R){k=T.cst;var X=T.g.c;for(V=k.length,D=0;D<V;D+=1)Y=k[D],Y.setAttribute("offset",X[D*4]+"%"),Y.setAttribute("stop-color","rgb("+X[D*4+1]+","+X[D*4+2]+","+X[D*4+3]+")")}if(M&&(T.g._omdf||R)){var ft=T.g.o;for(T.g._collapsable?k=T.cst:k=T.ost,V=k.length,D=0;D<V;D+=1)Y=k[D],T.g._collapsable||Y.setAttribute("offset",ft[D*2]+"%"),Y.setAttribute("stop-opacity",ft[D*2+1])}if(B.t===1)(T.e._mdf||R)&&(P.setAttribute("x2",w[0]),P.setAttribute("y2",w[1]),M&&!T.g._collapsable&&(T.of.setAttribute("x2",w[0]),T.of.setAttribute("y2",w[1])));else{var ht;if((T.s._mdf||T.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&&!T.g._collapsable&&T.of.setAttribute("r",ht)),T.e._mdf||T.h._mdf||T.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=T.h.v;yt>=1?yt=.99:yt<=-1&&(yt=-.99);var lt=ht*yt,Z=Math.cos(et+T.a.v)*lt+z[0],S=Math.sin(et+T.a.v)*lt+z[1];P.setAttribute("fx",Z),P.setAttribute("fy",S),M&&!T.g._collapsable&&(T.of.setAttribute("fx",Z),T.of.setAttribute("fy",S))}}}function L(B,T,R){var P=T.style,M=T.d;M&&(M._mdf||R)&&M.dashStr&&(P.pElem.setAttribute("stroke-dasharray",M.dashStr),P.pElem.setAttribute("stroke-dashoffset",M.dashoffset[0])),T.c&&(T.c._mdf||R)&&P.pElem.setAttribute("stroke","rgb("+oe(T.c.v[0])+","+oe(T.c.v[1])+","+oe(T.c.v[2])+")"),(T.o._mdf||R)&&P.pElem.setAttribute("stroke-opacity",T.o.v),(T.w._mdf||R)&&(P.pElem.setAttribute("stroke-width",T.w.v),P.msElem&&P.msElem.setAttribute("stroke-width",T.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=[]}$([ui,Mo,Fs,Jh,Oo,fi,$s],Yt),Yt.prototype.initSecondaryElement=function(){},Yt.prototype.identityMatrix=new de,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 ip(e,r),d=n.pElem;if(e.ty==="st")s=new op(this,e,n);else if(e.ty==="fl")s=new sp(this,e,n);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?Po:np;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("+E()+"#"+s.maskId+")"))}else e.ty==="no"&&(s=new ap(this,e,n));return(e.ty==="st"||e.ty==="gs")&&(d.setAttribute("stroke-linecap",tp[e.lc||2]),d.setAttribute("stroke-linejoin",ep[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"]=Xl(e.bm)),this.stylesList.push(n),this.addToAnimatedContents(e,s),s},Yt.prototype.createGroupElement=function(e){var r=new Ug;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"]=Xl(e.bm)),r},Yt.prototype.createTransformElement=function(e,r){var s=Wl.getTransformProperty(this,e,this),n=new Hg(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=Za.getShapeProp(this,e,n,this),c=new rp(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:Gg.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,C=e.length-1,L,B,T=[],R=[],P,M,z;for(g=C;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),T.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=pi.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=pi.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(C=T.length,g=0;g<C;g+=1)T[g].closed=!0;for(C=R.length,g=0;g<C;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 Jl(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}}Jl.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),Bi.isCombinedCharacter(d)?v=!0:d>=55296&&d<=56319?Bi.isRegionalFlag(e,s)?g=e.substr(s,14):(c=e.charCodeAt(s+1),c>=56320&&c<=57343&&(Bi.isModifier(d,c)?(g=e.substr(s,2),v=!0):Bi.isFlagEmoji(e.substr(s,4))?g=e.substr(s,4):g=e.substr(s,2))):d>56319?(c=e.charCodeAt(s+1),Bi.isVariationSelector(d)&&(v=!0)):Bi.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,C=s.m.g,L=0,B=0,T=0,R=[],P=0,M=0,z,w,_=r.getFontByName(e.f),y,A=0,k=Kh(_);e.fWeight=k.weight,e.fStyle=k.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 Y=!0,X=e.sz[0],ft=e.sz[1],ht,et;Y;){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,Y=!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,T+=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:T,animatorJustifyOffset:0}),C==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(C==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 Yg=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,C=1,L=1;this.ne.v>0?x=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?C=1-this.xe.v/100:L=1+this.xe.v/100;var B=ws.getBezierEasing(x,g,C,L).get,T=0,R=this.finalS,P=this.finalE,M=this.data.sh;if(M===2)P===R?T=v>=P?1:0:T=e(0,r(.5/(P-R)+(v-R)/(P-R),1)),T=B(T);else if(M===3)P===R?T=v>=P?0:1:T=1-e(0,r(.5/(P-R)+(v-R)/(P-R),1)),T=B(T);else if(M===4)P===R?T=0:(T=e(0,r(.5/(P-R)+(v-R)/(P-R),1)),T<.5?T*=2:T=1-2*(T-.5)),T=B(T);else if(M===5){if(P===R)T=0;else{var z=P-R;v=r(e(0,v+.5-R),P-R);var w=-z/2+v,_=z/2;T=Math.sqrt(1-w*w/(_*_))}T=B(T)}else M===6?(P===R?T=0:(v=r(e(0,v+.5-R),P-R),T=(1+Math.cos(Math.PI+Math.PI*2*v/(P-R)))/2),T=B(T)):(v>=s(R)&&(v-R<0?T=e(0,r(r(P,1)-(R-v),1)):T=e(0,r(P-v,1))),T=B(T));if(this.sm.v!==100){var y=this.sm.v*.01;y===0&&(y=1e-8);var A=.5-y*.5;T<A?T=0:(T=(T-A)/y,T>1&&(T=1))}return T*this.a.v},getValue:function(v){this.iterateDynamicProperties(),this._mdf=v||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,v&&this.data.r===2&&(this.e.v=this._currentTextLength);var x=this.data.r===2?1:100/this.data.totalChars,g=this.o.v/x,C=this.s.v/x+g,L=this.e.v/x+g;if(C>L){var B=C;C=L,L=B}this.finalS=C,this.finalE=L}},$([se],n);function d(c,v,x){return new n(c,v,x)}return{getTextSelectorProp:d}}();function Wg(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=Yg.getTextSelectorProp(e,r.s,s),this.s.t=r.s.t}function Hi(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)}Hi.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 Wg(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)},Hi.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,C,L,B,T=e.l,R,P,M,z,w,_,y,A,k,D,V,Y,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(Y=0,L=0;L<B;L+=1)yt=Tr.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),Y+=yt.segmentLength;L=B,ht.v.c&&(yt=Tr.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),Y+=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,k=D[y].points,_=k.length-1;P<0;)P+=k[_].partialLength,_-=1,_<0&&(y-=1,k=D[y].points,_=k.length-1);k=D[y].points,A=k[_-1],M=k[_],V=M.partialLength}B=T.length,g=0,C=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,ke=_,Ar=-1,we,ae,$e,Ot,ct,$r,bi,zr,Sr="",Vr=this.defaultPropsArray,Br;if(e.j===2||e.j===1){var Ne=0,yi=0,Ei=e.j===2?-.5:-1,hr=0,Ti=!0;for(L=0;L<B;L+=1)if(T[L].n){for(Ne&&(Ne+=yi);hr<L;)T[hr].animatorJustifyOffset=Ne,hr+=1;Ne=0,Ti=!0}else{for(u=0;u<b;u+=1)S=n[u].a,S.t.propType&&(Ti&&e.j===2&&(yi+=S.t.v*Ei),O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),F.length?Ne+=S.t.v*F[0]*Ei:Ne+=S.t.v*F*Ei);Ti=!1}for(Ne&&(Ne+=yi);hr<L;)T[hr].animatorJustifyOffset=Ne,hr+=1}for(L=0;L<B;L+=1){if(c.reset(),we=1,T[L].n)g=0,C+=e.yOffset,C+=Z?1:0,P=Nt,Z=!1,this._hasMaskedPath&&(y=Zt,_=ke,k=D[y].points,A=k[_-1],M=k[_],V=M.partialLength,z=0),Sr="",zr="",$r="",Br="",Vr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Ar!==T[L].line){switch(e.j){case 1:P+=Y-e.lineWidths[T[L].line];break;case 2:P+=(Y-e.lineWidths[T[L].line])/2;break;default:break}Ar=T[L].line}at!==T[L].ind&&(T[at]&&(P+=T[at].extra),P+=T[L].an/2,at=T[L].ind),P+=s[0]*T[L].an*.005;var pr=0;for(u=0;u<b;u+=1)S=n[u].a,S.p.propType&&(O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),F.length?pr+=S.p.v[0]*F[0]:pr+=S.p.v[0]*F),S.a.propType&&(O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),F.length?pr+=S.a.v[0]*F[0]:pr+=S.a.v[0]*F);for(w=!0,this._pathData.a.v&&(P=T[0].an*.5+(Y-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*at/(B-1),P+=this._pathData.f.v);w;)z+V>=P+pr||!k?(X=(P+pr-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]*T[L].an*.005,-(s[1]*lt)*.01),w=!1):k&&(z+=M.partialLength,_+=1,_>=k.length&&(_=0,y+=1,D[y]?k=D[y].points:ht.v.c?(_=0,y=0,k=D[y].points):(z-=M.partialLength,k=null)),k&&(A=M,M=k[_],V=M.partialLength));mt=T[L].an/2-T[L].add,c.translate(-mt,0,0)}else mt=T[L].an/2-T[L].add,c.translate(-mt,0,0),c.translate(-s[0]*T[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(T[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(T[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(T[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(T[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?we+=(S.o.v*F[0]-we)*F[0]:we+=(S.o.v*F-we)*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=Th(Ot,S.fh.v*F[0]):Ot=Th(Ot,S.fh.v*F)),S.fs.propType&&(F.length?Ot=yh(Ot,S.fs.v*F[0]):Ot=yh(Ot,S.fs.v*F)),S.fb.propType&&(F.length?Ot=Eh(Ot,S.fb.v*F[0]):Ot=Eh(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(T[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&&($r=$e<0?0:$e),e.strokeColorAnim&&(bi="rgb("+Math.round(ae[0]*255)+","+Math.round(ae[1]*255)+","+Math.round(ae[2]*255)+")"),e.fillColorAnim&&e.fc&&(zr="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+C,0),this._pathData.p.v){ft=(M.point[1]-A.point[1])/(M.point[0]-A.point[0]);var Gi=Math.atan(ft)*180/Math.PI;M.point[0]<A.point[0]&&(Gi+=180),c.rotate(-Gi*Math.PI/180)}c.translate(vt,wt,0),P-=s[0]*T[L].an*.005,T[L+1]&&at!==T[L+1].ind&&(P+=T[L].an/2,P+=e.tr*.001*e.finalSize)}else{switch(c.translate(g,C,0),e.ps&&c.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:c.translate(T[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[L].line]),0,0);break;case 2:c.translate(T[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[L].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(mt,0,0),c.translate(s[0]*T[L].an*.005,s[1]*lt*.01,0),g+=T[L].l+e.tr*.001*e.finalSize}v==="html"?Sr=c.toCSS():v==="svg"?Sr=c.to2dCSS():Vr=[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]],Br=we}x<=L?(U=new Jl(Br,$r,bi,zr,Sr,Vr),this.renderedLetters.push(U),x+=1,this.lettersChangedFlag=!0):(U=this.renderedLetters[L],this.lettersChangedFlag=U.update(Br,$r,bi,zr,Sr,Vr)||this.lettersChangedFlag)}}},Hi.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Hi.prototype.mHelper=new de,Hi.prototype.defaultPropsArray=[],$([se],Hi);function Ke(){}Ke.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 Hi(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)},Ke.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},Ke.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+=lp(d,d.i.length,!0,e));return c},Ke.prototype.updateDocumentData=function(e,r){this.textProperty.updateDocumentData(e,r)},Ke.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},Ke.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},Ke.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)},Ke.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},Ke.prototype.emptyProp=new Jl,Ke.prototype.destroy=function(){},Ke.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var jg={shapes:[]};function Dr(e,r,s){this.textSpans=[],this.renderType="svg",this.initElement(e,r,s)}$([ui,Mo,Fs,Oo,fi,$s,Ke],Dr),Dr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=bt("text"))},Dr.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},Dr.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},Dr.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,C=this.mHelper,L="",B=this.data.singleShape,T=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 k=bt("g");g.appendChild(k),this.textSpans[e].childSpan=k}this.textSpans[e].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(C.reset(),B&&(v[e].n&&(T=-M,R+=s.yOffset,R+=P?1:0,P=!1),this.applyTextPropertiesToMatrix(s,C,v[e].line,T,R),T+=v[e].l||0,T+=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 Bs(A.data,this.globalData,this);else{var V=jg;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 Y=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(Y.layerElement),Y.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("+C.props[12]+","+C.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},Dr.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},Dr.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))},Dr.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 tc(e,r,s){this.initElement(e,r,s)}$([zs],tc),tc.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 gi(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initFrame(),this.initTransform(e,r,s),this.initHierarchy()}gi.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},gi.prototype.renderFrame=function(){},gi.prototype.getBaseElement=function(){return null},gi.prototype.destroy=function(){},gi.prototype.sourceRectAtTime=function(){},gi.prototype.hide=function(){},$([ui,Mo,Oo,fi],gi);function Jt(){}$([he],Jt),Jt.prototype.createNull=function(e){return new gi(e,this.globalData,this)},Jt.prototype.createShape=function(e){return new Yt(e,this.globalData,this)},Jt.prototype.createText=function(e){return new Dr(e,this.globalData,this)},Jt.prototype.createImage=function(e){return new zs(e,this.globalData,this)},Jt.prototype.createSolid=function(e){return new tc(e,this.globalData,this)},Jt.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=Ie();s.setAttribute("id",d),s.appendChild(n),this.layerElement.setAttribute("clip-path","url("+E()+"#"+d+")"),r.appendChild(s),this.layers=e.layers,this.elements=rt(e.layers.length)},Jt.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},Jt.prototype.updateContainerSize=function(){},Jt.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},Jt.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,Ha()&&(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)}}}},Jt.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}}},Jt.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()}},Jt.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)}},Jt.prototype.hide=function(){this.layerElement.style.display="none"},Jt.prototype.show=function(){this.layerElement.style.display="block"};function Fr(){}$([ui,Mo,Oo,fi,$s],Fr),Fr.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()},Fr.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))}},Fr.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()},Fr.prototype.setElements=function(e){this.elements=e},Fr.prototype.getElements=function(){return this.elements},Fr.prototype.destroyElements=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy()},Fr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function Bs(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}}$([Jt,Fr,Fs],Bs),Bs.prototype.createComp=function(e){return new Bs(e,this.globalData,this)};function ec(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=Ie();n.setAttribute("id",d),n.textContent=r.title,this.svgElement.appendChild(n),s+=d}if(r&&r.description){var c=bt("desc"),v=Ie();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 $([Jt],ec),ec.prototype.createComp=function(e){return new Bs(e,this.globalData,this)},ig("svg",ec),pi.registerModifier("tm",dr),pi.registerModifier("pb",Ns),pi.registerModifier("rp",xr),pi.registerModifier("rd",Ls),pi.registerModifier("zz",Ms),pi.registerModifier("op",Os),Mt})});var cn=globalThis,dn=cn.ShadowRoot&&(cn.ShadyCSS===void 0||cn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ic=Symbol(),dp=new WeakMap,Us=class{constructor(i,t,o){if(this._$cssResult$=!0,o!==ic)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(dn&&i===void 0){let o=t!==void 0&&t.length===1;o&&(i=dp.get(t)),i===void 0&&((this.o=i=new CSSStyleSheet).replaceSync(this.cssText),o&&dp.set(t,i))}return i}toString(){return this.cssText}},hp=l=>new Us(typeof l=="string"?l:l+"",void 0,ic),H=(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 Us(t,l,ic)},oc=(l,i)=>{if(dn)l.adoptedStyleSheets=i.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of i){let o=document.createElement("style"),a=cn.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=t.cssText,l.appendChild(o)}},hn=dn?l=>l:l=>l instanceof CSSStyleSheet?(i=>{let t="";for(let o of i.cssRules)t+=o.cssText;return hp(t)})(l):l;var{is:eb,defineProperty:rb,getOwnPropertyDescriptor:ib,getOwnPropertyNames:ob,getOwnPropertySymbols:sb,getPrototypeOf:ab}=Object,xi=globalThis,pp=xi.trustedTypes,nb=pp?pp.emptyScript:"",sc=xi.reactiveElementPolyfillSupport,Hs=(l,i)=>l,Gs={toAttribute(l,i){switch(i){case Boolean:l=l?nb: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}},pn=(l,i)=>!eb(l,i),mp={attribute:!0,type:String,converter:Gs,reflect:!1,hasChanged:pn},up,fp;(up=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(fp=xi.litPropertyMetadata)!=null||(xi.litPropertyMetadata=new WeakMap);var Ur=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=mp){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&&rb(this.prototype,i,a)}}static getPropertyDescriptor(i,t,o){var m;let{get:a,set:h}=(m=ib(this.prototype,i))!=null?m:{get(){return this[t]},set(E){this[t]=E}};return{get(){return a==null?void 0:a.call(this)},set(E){let N=a==null?void 0:a.call(this);h.call(this,E),this.requestUpdate(i,N,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(i){var t;return(t=this.elementProperties.get(i))!=null?t:mp}static _$Ei(){if(this.hasOwnProperty(Hs("elementProperties")))return;let i=ab(this);i.finalize(),i.l!==void 0&&(this.l=[...i.l]),this.elementProperties=new Map(i.elementProperties)}static finalize(){if(this.hasOwnProperty(Hs("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Hs("properties"))){let t=this.properties,o=[...ob(t),...sb(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(hn(a))}else i!==void 0&&t.push(hn(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 oc(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:Gs).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),E=typeof m.converter=="function"?{fromAttribute:m.converter}:((h=m.converter)==null?void 0:h.fromAttribute)!==void 0?m.converter:Gs;this._$Em=a,this[a]=E.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:pn)(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,E]of this._$Ep)this[m]=E;this._$Ep=void 0}let h=this.constructor.elementProperties;if(h.size>0)for(let[m,E]of h)E.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],E)}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){}},vp;Ur.elementStyles=[],Ur.shadowRootOptions={mode:"open"},Ur[Hs("elementProperties")]=new Map,Ur[Hs("finalized")]=new Map,sc==null||sc({ReactiveElement:Ur}),((vp=xi.reactiveElementVersions)!=null?vp:xi.reactiveElementVersions=[]).push("2.0.4");var Ws=globalThis,mn=Ws.trustedTypes,gp=mn?mn.createPolicy("lit-html",{createHTML:l=>l}):void 0,lc="$lit$",Hr=`lit$${Math.random().toFixed(9).slice(2)}$`,cc="?"+Hr,lb=`<${cc}>`,ji=document,js=()=>ji.createComment(""),Ks=l=>l===null||typeof l!="object"&&typeof l!="function",dc=Array.isArray,Sp=l=>dc(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",ac=`[
|
3
3
|
\f\r]`,Ys=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bp=/-->/g,yp=/>/g,Yi=RegExp(`>|${ac}(?:([^\\s"'>=/]+)(${ac}*=${ac}*(?:[^
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ep=/'/g,Tp=/"/g,_p=/^(?:script|style|textarea|title)$/i,hc=l=>(i,...t)=>({_$litType$:l,strings:i,values:t}),I=hc(1),Ax=hc(2),Sx=hc(3),Le=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),xp=new WeakMap,Wi=ji.createTreeWalker(ji,129);function Ip(l,i){if(!dc(l)||!l.hasOwnProperty("raw"))throw Error("invalid template strings array");return gp!==void 0?gp.createHTML(i):i}var Cp=(l,i)=>{let t=l.length-1,o=[],a,h=i===2?"<svg>":i===3?"<math>":"",m=Ys;for(let E=0;E<t;E++){let N=l[E],$,K,q=-1,nt=0;for(;nt<N.length&&(m.lastIndex=nt,K=m.exec(N),K!==null);)nt=m.lastIndex,m===Ys?K[1]==="!--"?m=bp:K[1]!==void 0?m=yp:K[2]!==void 0?(_p.test(K[2])&&(a=RegExp("</"+K[2],"g")),m=Yi):K[3]!==void 0&&(m=Yi):m===Yi?K[0]===">"?(m=a!=null?a:Ys,q=-1):K[1]===void 0?q=-2:(q=m.lastIndex-K[2].length,$=K[1],m=K[3]===void 0?Yi:K[3]==='"'?Tp:Ep):m===Tp||m===Ep?m=Yi:m===bp||m===yp?m=Ys:(m=Yi,a=void 0);let Q=m===Yi&&l[E+1].startsWith("/>")?" ":"";h+=m===Ys?N+lb:q>=0?(o.push($),N.slice(0,q)+lc+N.slice(q)+Hr+Q):N+Hr+(q===-2?E:Q)}return[Ip(l,h+(l[t]||"<?>")+(i===2?"</svg>":i===3?"</math>":"")),o]},qs=class l{constructor({strings:i,_$litType$:t},o){let a;this.parts=[];let h=0,m=0,E=i.length-1,N=this.parts,[$,K]=Cp(i,t);if(this.el=l.createElement($,o),Wi.currentNode=this.el.content,t===2||t===3){let q=this.el.content.firstChild;q.replaceWith(...q.childNodes)}for(;(a=Wi.nextNode())!==null&&N.length<E;){if(a.nodeType===1){if(a.hasAttributes())for(let q of a.getAttributeNames())if(q.endsWith(lc)){let nt=K[m++],Q=a.getAttribute(q).split(Hr),rt=/([.?@])?(.*)/.exec(nt);N.push({type:1,index:h,name:rt[2],strings:Q,ctor:rt[1]==="."?fn:rt[1]==="?"?vn:rt[1]==="@"?gn:qi}),a.removeAttribute(q)}else q.startsWith(Hr)&&(N.push({type:6,index:h}),a.removeAttribute(q));if(_p.test(a.tagName)){let q=a.textContent.split(Hr),nt=q.length-1;if(nt>0){a.textContent=mn?mn.emptyScript:"";for(let Q=0;Q<nt;Q++)a.append(q[Q],js()),Wi.nextNode(),N.push({type:2,index:++h});a.append(q[nt],js())}}}else if(a.nodeType===8)if(a.data===cc)N.push({type:2,index:h});else{let q=-1;for(;(q=a.data.indexOf(Hr,q+1))!==-1;)N.push({type:7,index:h}),q+=Hr.length-1}h++}}static createElement(i,t){let o=ji.createElement("template");return o.innerHTML=i,o}};function Ki(l,i,t=l,o){var m,E,N;if(i===Le)return i;let a=o!==void 0?(m=t.o)==null?void 0:m[o]:t.l,h=Ks(i)?void 0:i._$litDirective$;return(a==null?void 0:a.constructor)!==h&&((E=a==null?void 0:a._$AO)==null||E.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=Ki(l,a._$AS(l,i.values),a,o)),i}var un=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?$:ji).importNode(t,!0);Wi.currentNode=a;let h=Wi.nextNode(),m=0,E=0,N=o[0];for(;N!==void 0;){if(m===N.index){let K;N.type===2?K=new Do(h,h.nextSibling,this,i):N.type===1?K=new N.ctor(h,N.name,N.strings,this,i):N.type===6&&(K=new bn(h,this,i)),this._$AV.push(K),N=o[++E]}m!==(N==null?void 0:N.index)&&(h=Wi.nextNode(),m++)}return Wi.currentNode=ji,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++}},Do=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=Ki(this,i,t),Ks(i)?i===j||i==null||i===""?(this._$AH!==j&&this._$AR(),this._$AH=j):i!==this._$AH&&i!==Le&&this._(i):i._$litType$!==void 0?this.$(i):i.nodeType!==void 0?this.T(i):Sp(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&&Ks(this._$AH)?this._$AA.nextSibling.data=i:this.T(ji.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=qs.createElement(Ip(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 un(a,this),E=m.u(this.options);m.p(t),this.T(E),this._$AH=m}}_$AC(i){let t=xp.get(i.strings);return t===void 0&&xp.set(i.strings,t=new qs(i)),t}k(i){dc(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(js()),this.O(js()),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))}},qi=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=Ki(this,i,t,0),m=!Ks(i)||i!==this._$AH&&i!==Le,m&&(this._$AH=i);else{let E=i,N,$;for(i=h[0],N=0;N<h.length-1;N++)$=Ki(this,E[o+N],t,N),$===Le&&($=this._$AH[N]),m||(m=!Ks($)||$!==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:"")}},fn=class extends qi{constructor(){super(...arguments),this.type=3}j(i){this.element[this.name]=i===j?void 0:i}},vn=class extends qi{constructor(){super(...arguments),this.type=4}j(i){this.element.toggleAttribute(this.name,!!i&&i!==j)}},gn=class extends qi{constructor(i,t,o,a,h){super(i,t,o,a,h),this.type=5}_$AI(i,t=this){var m;if((i=(m=Ki(this,i,t,0))!=null?m:j)===Le)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)}},bn=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){Ki(this,i)}},kp={M:lc,P:Hr,A:cc,C:1,L:Cp,R:un,D:Sp,V:Ki,I:Do,H:qi,N:vn,U:gn,B:fn,F:bn},nc=Ws.litHtmlPolyfillSupport,Ap;nc==null||nc(qs,Do),((Ap=Ws.litHtmlVersions)!=null?Ap:Ws.litHtmlVersions=[]).push("3.2.0");var wp=(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 E=(m=t==null?void 0:t.renderBefore)!=null?m:null;o._$litPart$=a=new Do(i.insertBefore(js(),E),E,void 0,t!=null?t:{})}return a._$AI(l),a};var Ai=class extends Ur{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=wp(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 Le}},Np;Ai._$litElement$=!0,Ai.finalized=!0,(Np=globalThis.litElementHydrateSupport)==null||Np.call(globalThis,{LitElement:Ai});var pc=globalThis.litElementPolyfillSupport;pc==null||pc({LitElement:Ai});var Lp;((Lp=globalThis.litElementVersions)!=null?Lp:globalThis.litElementVersions=[]).push("4.1.0");var cb={attribute:!0,type:String,converter:Gs,reflect:!1,hasChanged:pn},db=(l=cb,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(E){let N=i.get.call(this);i.set.call(this,E),this.requestUpdate(m,N,l)},init(E){return E!==void 0&&this.P(m,void 0,l),E}}}if(o==="setter"){let{name:m}=t;return function(E){let N=this[m];i.call(this,E),this.requestUpdate(m,N,l)}}throw Error("Unsupported decorator location: "+o)};function f(l){return(i,t)=>typeof t=="object"?db(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 At(l){return f({...l,state:!0,attribute:!1})}var Gr=(l,i,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof i!="object"&&Object.defineProperty(l,i,t),t);function Yr(l,i){return(t,o,a)=>{let h=m=>{var E,N;return(N=(E=m.renderRoot)==null?void 0:E.querySelector(l))!=null?N:null};if(i){let{get:m,set:E}=typeof o=="object"?t:a!=null?a:(()=>{let N=Symbol();return{get(){return this[N]},set($){this[N]=$}}})();return Gr(t,o,{get(){let N=m.call(this);return N===void 0&&(N=h(this),(N!==null||this.hasUpdated)&&E.call(this,N)),N}})}return Gr(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 Gr(i,t,{get(){var N,$;let m=(N=this.renderRoot)==null?void 0:N.querySelector(h),E=($=m==null?void 0:m.assignedElements(l))!=null?$:[];return a===void 0?E:E.filter(K=>K.matches(a))}})}}function yn(l){return(i,t)=>{let{slot:o}=l!=null?l:{},a="slot"+(o?`[name=${o}]`:":not([name])");return Gr(i,t,{get(){var m,E;let h=(m=this.renderRoot)==null?void 0:m.querySelector(a);return(E=h==null?void 0:h.assignedNodes(l))!=null?E:[]}})}}var hb={PREFIX:"mdc",SEPARATOR:"-"},pb={NAMESPACE:hb},mc=pb;var mb=l=>[mc.NAMESPACE.PREFIX,l].join(mc.NAMESPACE.SEPARATOR),G={constructTagName:mb};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 vA=G.constructTagName("buttonsimple"),Zi={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},Fo={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},Zs={SIZE:Zi[32],TYPE:Fo.BUTTON,ROLE:tt.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var Wr=G.constructTagName("button"),Pt={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},Xs={40:40,32:32,28:28,24:24},Ke={64:64,52:52,20:20,...Xs},Xi={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},$o={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},Re={VARIANT:Pt.PRIMARY,SIZE:Xs[32],COLOR:Xi.DEFAULT,TYPE_INTERNAL:$o.ICON,TYPE:Fo.BUTTON,INVERTED:!1};var En=l=>{class i extends l{constructor(){super(...arguments);this.variant=Re.VARIANT;this.color=Re.COLOR;this.typeInternal=Re.TYPE_INTERNAL}setVariant(a){this.setAttribute("variant",Object.values(Pt).includes(a)?a:Re.VARIANT)}setColor(a){!Object.values(Xi).includes(a)||this.variant===Pt.TERTIARY?this.setAttribute("color",`${Re.COLOR}`):this.setAttribute("color",a)}setSize(a){let m=this.typeInternal===$o.ICON?Object.values(Ke).includes(a)&&!(a===Ke[20]&&this.variant!==Pt.TERTIARY):Object.values(Xs).includes(a);this.setAttribute("size",m?`${a}`:`${Re.SIZE}`)}inferButtonType(){var $,K,q,nt,Q,rt;let a=(K=($=this.shadowRoot)==null?void 0:$.querySelector("slot:not([name])"))==null?void 0:K.assignedNodes().filter(dt=>{var ut;return dt.nodeType!==Node.TEXT_NODE||((ut=dt.textContent)==null?void 0:ut.trim())}).length,h=(nt=(q=this.shadowRoot)==null?void 0:q.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,E=(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||E&&E>0;a&&(m||N)?(this.typeInternal=$o.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!a&&(m||N)?(this.typeInternal=$o.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=$o.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([At()],i.prototype,"typeInternal",2),i};var Rp=H`
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ep=/'/g,Tp=/"/g,_p=/^(?:script|style|textarea|title)$/i,hc=l=>(i,...t)=>({_$litType$:l,strings:i,values:t}),I=hc(1),Ax=hc(2),Sx=hc(3),Le=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),xp=new WeakMap,Wi=ji.createTreeWalker(ji,129);function Ip(l,i){if(!dc(l)||!l.hasOwnProperty("raw"))throw Error("invalid template strings array");return gp!==void 0?gp.createHTML(i):i}var Cp=(l,i)=>{let t=l.length-1,o=[],a,h=i===2?"<svg>":i===3?"<math>":"",m=Ys;for(let E=0;E<t;E++){let N=l[E],$,K,q=-1,nt=0;for(;nt<N.length&&(m.lastIndex=nt,K=m.exec(N),K!==null);)nt=m.lastIndex,m===Ys?K[1]==="!--"?m=bp:K[1]!==void 0?m=yp:K[2]!==void 0?(_p.test(K[2])&&(a=RegExp("</"+K[2],"g")),m=Yi):K[3]!==void 0&&(m=Yi):m===Yi?K[0]===">"?(m=a!=null?a:Ys,q=-1):K[1]===void 0?q=-2:(q=m.lastIndex-K[2].length,$=K[1],m=K[3]===void 0?Yi:K[3]==='"'?Tp:Ep):m===Tp||m===Ep?m=Yi:m===bp||m===yp?m=Ys:(m=Yi,a=void 0);let Q=m===Yi&&l[E+1].startsWith("/>")?" ":"";h+=m===Ys?N+lb:q>=0?(o.push($),N.slice(0,q)+lc+N.slice(q)+Hr+Q):N+Hr+(q===-2?E:Q)}return[Ip(l,h+(l[t]||"<?>")+(i===2?"</svg>":i===3?"</math>":"")),o]},qs=class l{constructor({strings:i,_$litType$:t},o){let a;this.parts=[];let h=0,m=0,E=i.length-1,N=this.parts,[$,K]=Cp(i,t);if(this.el=l.createElement($,o),Wi.currentNode=this.el.content,t===2||t===3){let q=this.el.content.firstChild;q.replaceWith(...q.childNodes)}for(;(a=Wi.nextNode())!==null&&N.length<E;){if(a.nodeType===1){if(a.hasAttributes())for(let q of a.getAttributeNames())if(q.endsWith(lc)){let nt=K[m++],Q=a.getAttribute(q).split(Hr),rt=/([.?@])?(.*)/.exec(nt);N.push({type:1,index:h,name:rt[2],strings:Q,ctor:rt[1]==="."?fn:rt[1]==="?"?vn:rt[1]==="@"?gn:qi}),a.removeAttribute(q)}else q.startsWith(Hr)&&(N.push({type:6,index:h}),a.removeAttribute(q));if(_p.test(a.tagName)){let q=a.textContent.split(Hr),nt=q.length-1;if(nt>0){a.textContent=mn?mn.emptyScript:"";for(let Q=0;Q<nt;Q++)a.append(q[Q],js()),Wi.nextNode(),N.push({type:2,index:++h});a.append(q[nt],js())}}}else if(a.nodeType===8)if(a.data===cc)N.push({type:2,index:h});else{let q=-1;for(;(q=a.data.indexOf(Hr,q+1))!==-1;)N.push({type:7,index:h}),q+=Hr.length-1}h++}}static createElement(i,t){let o=ji.createElement("template");return o.innerHTML=i,o}};function Ki(l,i,t=l,o){var m,E,N;if(i===Le)return i;let a=o!==void 0?(m=t.o)==null?void 0:m[o]:t.l,h=Ks(i)?void 0:i._$litDirective$;return(a==null?void 0:a.constructor)!==h&&((E=a==null?void 0:a._$AO)==null||E.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=Ki(l,a._$AS(l,i.values),a,o)),i}var un=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?$:ji).importNode(t,!0);Wi.currentNode=a;let h=Wi.nextNode(),m=0,E=0,N=o[0];for(;N!==void 0;){if(m===N.index){let K;N.type===2?K=new Do(h,h.nextSibling,this,i):N.type===1?K=new N.ctor(h,N.name,N.strings,this,i):N.type===6&&(K=new bn(h,this,i)),this._$AV.push(K),N=o[++E]}m!==(N==null?void 0:N.index)&&(h=Wi.nextNode(),m++)}return Wi.currentNode=ji,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++}},Do=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=Ki(this,i,t),Ks(i)?i===j||i==null||i===""?(this._$AH!==j&&this._$AR(),this._$AH=j):i!==this._$AH&&i!==Le&&this._(i):i._$litType$!==void 0?this.$(i):i.nodeType!==void 0?this.T(i):Sp(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&&Ks(this._$AH)?this._$AA.nextSibling.data=i:this.T(ji.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=qs.createElement(Ip(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 un(a,this),E=m.u(this.options);m.p(t),this.T(E),this._$AH=m}}_$AC(i){let t=xp.get(i.strings);return t===void 0&&xp.set(i.strings,t=new qs(i)),t}k(i){dc(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(js()),this.O(js()),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))}},qi=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=Ki(this,i,t,0),m=!Ks(i)||i!==this._$AH&&i!==Le,m&&(this._$AH=i);else{let E=i,N,$;for(i=h[0],N=0;N<h.length-1;N++)$=Ki(this,E[o+N],t,N),$===Le&&($=this._$AH[N]),m||(m=!Ks($)||$!==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:"")}},fn=class extends qi{constructor(){super(...arguments),this.type=3}j(i){this.element[this.name]=i===j?void 0:i}},vn=class extends qi{constructor(){super(...arguments),this.type=4}j(i){this.element.toggleAttribute(this.name,!!i&&i!==j)}},gn=class extends qi{constructor(i,t,o,a,h){super(i,t,o,a,h),this.type=5}_$AI(i,t=this){var m;if((i=(m=Ki(this,i,t,0))!=null?m:j)===Le)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)}},bn=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){Ki(this,i)}},kp={M:lc,P:Hr,A:cc,C:1,L:Cp,R:un,D:Sp,V:Ki,I:Do,H:qi,N:vn,U:gn,B:fn,F:bn},nc=Ws.litHtmlPolyfillSupport,Ap;nc==null||nc(qs,Do),((Ap=Ws.litHtmlVersions)!=null?Ap:Ws.litHtmlVersions=[]).push("3.2.0");var wp=(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 E=(m=t==null?void 0:t.renderBefore)!=null?m:null;o._$litPart$=a=new Do(i.insertBefore(js(),E),E,void 0,t!=null?t:{})}return a._$AI(l),a};var Ai=class extends Ur{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=wp(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 Le}},Np;Ai._$litElement$=!0,Ai.finalized=!0,(Np=globalThis.litElementHydrateSupport)==null||Np.call(globalThis,{LitElement:Ai});var pc=globalThis.litElementPolyfillSupport;pc==null||pc({LitElement:Ai});var Lp;((Lp=globalThis.litElementVersions)!=null?Lp:globalThis.litElementVersions=[]).push("4.1.0");var cb={attribute:!0,type:String,converter:Gs,reflect:!1,hasChanged:pn},db=(l=cb,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(E){let N=i.get.call(this);i.set.call(this,E),this.requestUpdate(m,N,l)},init(E){return E!==void 0&&this.P(m,void 0,l),E}}}if(o==="setter"){let{name:m}=t;return function(E){let N=this[m];i.call(this,E),this.requestUpdate(m,N,l)}}throw Error("Unsupported decorator location: "+o)};function f(l){return(i,t)=>typeof t=="object"?db(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 At(l){return f({...l,state:!0,attribute:!1})}var Gr=(l,i,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof i!="object"&&Object.defineProperty(l,i,t),t);function Yr(l,i){return(t,o,a)=>{let h=m=>{var E,N;return(N=(E=m.renderRoot)==null?void 0:E.querySelector(l))!=null?N:null};if(i){let{get:m,set:E}=typeof o=="object"?t:a!=null?a:(()=>{let N=Symbol();return{get(){return this[N]},set($){this[N]=$}}})();return Gr(t,o,{get(){let N=m.call(this);return N===void 0&&(N=h(this),(N!==null||this.hasUpdated)&&E.call(this,N)),N}})}return Gr(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 Gr(i,t,{get(){var N,$;let m=(N=this.renderRoot)==null?void 0:N.querySelector(h),E=($=m==null?void 0:m.assignedElements(l))!=null?$:[];return a===void 0?E:E.filter(K=>K.matches(a))}})}}function yn(l){return(i,t)=>{let{slot:o}=l!=null?l:{},a="slot"+(o?`[name=${o}]`:":not([name])");return Gr(i,t,{get(){var m,E;let h=(m=this.renderRoot)==null?void 0:m.querySelector(a);return(E=h==null?void 0:h.assignedNodes(l))!=null?E:[]}})}}var hb={PREFIX:"mdc",SEPARATOR:"-"},pb={NAMESPACE:hb},mc=pb;var mb=l=>[mc.NAMESPACE.PREFIX,l].join(mc.NAMESPACE.SEPARATOR),G={constructTagName:mb};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 vA=G.constructTagName("buttonsimple"),Zi={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},Fo={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},Zs={SIZE:Zi[32],TYPE:Fo.BUTTON,ROLE:tt.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var Wr=G.constructTagName("button"),Pt={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},Xs={40:40,32:32,28:28,24:24},qe={64:64,52:52,20:20,...Xs},Xi={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},$o={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},Re={VARIANT:Pt.PRIMARY,SIZE:Xs[32],COLOR:Xi.DEFAULT,TYPE_INTERNAL:$o.ICON,TYPE:Fo.BUTTON,INVERTED:!1};var En=l=>{class i extends l{constructor(){super(...arguments);this.variant=Re.VARIANT;this.color=Re.COLOR;this.typeInternal=Re.TYPE_INTERNAL}setVariant(a){this.setAttribute("variant",Object.values(Pt).includes(a)?a:Re.VARIANT)}setColor(a){!Object.values(Xi).includes(a)||this.variant===Pt.TERTIARY?this.setAttribute("color",`${Re.COLOR}`):this.setAttribute("color",a)}setSize(a){let m=this.typeInternal===$o.ICON?Object.values(qe).includes(a)&&!(a===qe[20]&&this.variant!==Pt.TERTIARY):Object.values(Xs).includes(a);this.setAttribute("size",m?`${a}`:`${Re.SIZE}`)}inferButtonType(){var $,K,q,nt,Q,rt;let a=(K=($=this.shadowRoot)==null?void 0:$.querySelector("slot:not([name])"))==null?void 0:K.assignedNodes().filter(dt=>{var ut;return dt.nodeType!==Node.TEXT_NODE||((ut=dt.textContent)==null?void 0:ut.trim())}).length,h=(nt=(q=this.shadowRoot)==null?void 0:q.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,E=(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||E&&E>0;a&&(m||N)?(this.typeInternal=$o.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!a&&(m||N)?(this.typeInternal=$o.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=$o.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([At()],i.prototype,"typeInternal",2),i};var Rp=H`
|
5
5
|
:host {
|
6
6
|
box-sizing: border-box;
|
7
7
|
}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
:host {
|
16
16
|
display: contents;
|
17
17
|
}
|
18
|
-
`,Op=ub;var Sn=class extends W{constructor({context:i,initialValue:t}){super(),this.context=new Vo(this,{context:i,initialValue:t})}render(){return this.updateContext(),I`<slot></slot>`}};Sn.styles=[...W.styles,Op];var Pp=Sn;var _r=Pp;var J={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",END:"End",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SHIFT_TAB:"Shift+Tab",SPACE:" ",TAB:"Tab"};var Me=l=>{class i extends l{constructor(){super(...arguments);this.elementToAutoFocus=this;this.autoFocusOnMount=!1}async firstUpdated(a){super.firstUpdated(a),this.autoFocusOnMount&&(await this.updateComplete,this.elementToAutoFocus.focus())}}return p([f({type:Boolean,reflect:!0,attribute:"auto-focus-on-mount"})],i.prototype,"autoFocusOnMount",2),i};var zt=l=>{class i extends l{}return p([f({reflect:!0,type:Boolean})],i.prototype,"disabled",2),i};var
|
18
|
+
`,Op=ub;var Sn=class extends W{constructor({context:i,initialValue:t}){super(),this.context=new Vo(this,{context:i,initialValue:t})}render(){return this.updateContext(),I`<slot></slot>`}};Sn.styles=[...W.styles,Op];var Pp=Sn;var _r=Pp;var J={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",END:"End",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SHIFT_TAB:"Shift+Tab",SPACE:" ",TAB:"Tab"};var Me=l=>{class i extends l{constructor(){super(...arguments);this.elementToAutoFocus=this;this.autoFocusOnMount=!1}async firstUpdated(a){super.firstUpdated(a),this.autoFocusOnMount&&(await this.updateComplete,this.elementToAutoFocus.focus())}}return p([f({type:Boolean,reflect:!0,attribute:"auto-focus-on-mount"})],i.prototype,"autoFocusOnMount",2),i};var zt=l=>{class i extends l{}return p([f({reflect:!0,type:Boolean})],i.prototype,"disabled",2),i};var Ze=l=>{class i extends l{constructor(){super(...arguments);this.tabIndex=0}}return p([f({reflect:!0,type:Number})],i.prototype,"tabIndex",2),i};var Et=H`
|
19
19
|
:host {
|
20
20
|
align-items: center;
|
21
21
|
display: flex;
|
@@ -136,7 +136,7 @@
|
|
136
136
|
:host([size='20']) {
|
137
137
|
height: var(--mdc-button-height-size-20);
|
138
138
|
}
|
139
|
-
`,...xt()],Dp=fb;var
|
139
|
+
`,...xt()],Dp=fb;var ze=class extends Me(Ze(zt(W))){constructor(){super();this.size=Zs.SIZE;this.role=Zs.ROLE;this.type=Zs.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||Zs.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===Fo.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===Fo.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 I` <slot></slot> `}};ze.formAssociated=!0,ze.styles=[...W.styles,...Dp],p([f({type:Boolean,reflect:!0})],ze.prototype,"active",2),p([f({type:Boolean,attribute:"soft-disabled",reflect:!0})],ze.prototype,"softDisabled",2),p([f({type:Number,reflect:!0})],ze.prototype,"size",2),p([f({type:String,reflect:!0})],ze.prototype,"role",2),p([f({type:String,reflect:!0})],ze.prototype,"ariaStateKey",2),p([f({reflect:!0})],ze.prototype,"type",2),p([f({type:String,reflect:!0})],ze.prototype,"name",2),p([f({type:String,reflect:!0})],ze.prototype,"value",2);var pe=ze;var vb=H`
|
140
140
|
:host {
|
141
141
|
background-color: transparent;
|
142
142
|
border-radius: 1.25rem;
|
@@ -416,7 +416,7 @@
|
|
416
416
|
width: 100%;
|
417
417
|
fill: var(--mdc-icon-fill-color);
|
418
418
|
}
|
419
|
-
`,...xt()],Vp=Eb;var Js={},Bp=async l=>(Js[l]===void 0&&(Js[l]=new Map),{async set(i,t){Js[l].set(i.url,await t.text())},async get(i){return Js[l].get(i.url)},async delete(i){Js[l].delete(i.url)}}),Up=async l=>{let i=await caches.open(l);return{set:async(t,o)=>{await i.put(t,o)},get:async t=>{let o=await i.match(t);return o==null?void 0:o.text()},delete:async t=>{await i.delete(t)}}},Hp=async(l,i)=>i==="in-memory-cache"?Bp(l):Up(l);var Gp=async l=>fetch(l).then(i=>{if(!i.ok)throw new Error("There was a problem while fetching the icon!");return i}),Yp=async({url:l,name:i,fileExtension:t,cacheStrategy:o,cacheName:a,renewSignal:h})=>{let m=h(),E=new Request(`${l}/${i}.${t}`,{signal:m});return!a||!o||!["in-memory-cache","web-cache-api"].includes(o)?Gp(E).then(N=>N.text()):Hp(a,o).then(N=>N.get(E).then($=>$||Gp(E.clone()).then(K=>{var q;return K.status<400&&K.headers.has("content-type")?(q=N.set)==null?void 0:q.call(N,E,K.clone()).then(()=>K.text()):K.text()})).catch($=>{throw new Error(`Error in caching the Icon ${i}, ${$}`)}))};var Wp=G.constructTagName("icon"),fc={NAME:void 0,SIZE:1};var
|
419
|
+
`,...xt()],Vp=Eb;var Js={},Bp=async l=>(Js[l]===void 0&&(Js[l]=new Map),{async set(i,t){Js[l].set(i.url,await t.text())},async get(i){return Js[l].get(i.url)},async delete(i){Js[l].delete(i.url)}}),Up=async l=>{let i=await caches.open(l);return{set:async(t,o)=>{await i.put(t,o)},get:async t=>{let o=await i.match(t);return o==null?void 0:o.text()},delete:async t=>{await i.delete(t)}}},Hp=async(l,i)=>i==="in-memory-cache"?Bp(l):Up(l);var Gp=async l=>fetch(l).then(i=>{if(!i.ok)throw new Error("There was a problem while fetching the icon!");return i}),Yp=async({url:l,name:i,fileExtension:t,cacheStrategy:o,cacheName:a,renewSignal:h})=>{let m=h(),E=new Request(`${l}/${i}.${t}`,{signal:m});return!a||!o||!["in-memory-cache","web-cache-api"].includes(o)?Gp(E).then(N=>N.text()):Hp(a,o).then(N=>N.get(E).then($=>$||Gp(E.clone()).then(K=>{var q;return K.status<400&&K.headers.has("content-type")?(q=N.set)==null?void 0:q.call(N,E,K.clone()).then(()=>K.text()):K.text()})).catch($=>{throw new Error(`Error in caching the Icon ${i}, ${$}`)}))};var Wp=G.constructTagName("icon"),fc={NAME:void 0,SIZE:1};var Ve=class extends W{constructor(){super();this.name=fc.NAME;this.ariaLabel=null;this.ariaLabelledBy=null;this.iconProviderContext=Ir.consume({host:this,context:Qs.Context});this.abortController=new AbortController}prepareIconElement(t){let o=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&o.setAttribute("data-name",this.name),o.setAttribute("part","icon"),o.setAttribute("aria-hidden","true"),o}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:o,url:a,cacheName:h,iconSet:m,cacheStrategy:E}=this.iconProviderContext.value;if(m==="custom-icons"&&a&&o&&this.name){let N=()=>{var $;return($=this.abortController)==null||$.abort(),this.abortController=new AbortController,this.abortController.signal};return Yp({url:a,name:this.name,fileExtension:o,cacheName:h,cacheStrategy:E,renewSignal:N}).then($=>{let K=this.prepareIconElement($);this.handleIconLoadedSuccess(K)}).catch($=>{this.handleIconLoadedFailure($)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(N=>{this.handleIconLoadedSuccess(N.default())}).catch(N=>{this.handleIconLoadedFailure(N)})}let t=new Error("IconProvider not found or not properly set up.");return this.handleIconLoadedFailure(t),Promise.reject(t)}handleIconLoadedSuccess(t){this.iconData=t;let o=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(o)}handleIconLoadedFailure(t){let o=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(o)}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let o=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",o)}}get computedIconSize(){var t,o;return(o=(t=this.size)!=null?t:this.sizeFromContext)!=null?o:fc.SIZE}updated(t){var o,a,h,m;super.updated(t),t.has("name")&&this.getIconData().catch(E=>{E.name!=="AbortError"&&this.onerror&&this.onerror(E)}),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null),(t.has("size")||t.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((o=this.iconProviderContext.value)==null?void 0:o.lengthUnit)&&(this.lengthUnitFromContext=(a=this.iconProviderContext.value)==null?void 0:a.lengthUnit,this.updateSize()),this.sizeFromContext!==((h=this.iconProviderContext.value)==null?void 0:h.size)&&(this.sizeFromContext=(m=this.iconProviderContext.value)==null?void 0:m.size,this.updateSize())}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return I` ${this.iconData} `}};Ve.styles=[...W.styles,...Vp],p([At()],Ve.prototype,"iconData",2),p([At()],Ve.prototype,"lengthUnitFromContext",2),p([At()],Ve.prototype,"sizeFromContext",2),p([f({type:String,reflect:!0})],Ve.prototype,"name",2),p([f({type:Number})],Ve.prototype,"size",2),p([f({type:String,attribute:"length-unit"})],Ve.prototype,"lengthUnit",2),p([f({type:String,attribute:"aria-label"})],Ve.prototype,"ariaLabel",2),p([f({type:String,attribute:"aria-labelledby"})],Ve.prototype,"ariaLabelledBy",2),p([At()],Ve.prototype,"abortController",2);var vc=Ve;vc.register(Wp);var Tb=vc;Ji.register(Wr);var xb=Ji;var jp=H`
|
420
420
|
:host::part(text) {
|
421
421
|
font-size: unset;
|
422
422
|
font-weight: unset;
|
@@ -846,7 +846,7 @@
|
|
846
846
|
title="${ot(this.headerText)}"
|
847
847
|
prefix-icon="${this.getArrowIconName()}"
|
848
848
|
variant="${Pt.TERTIARY}"
|
849
|
-
size="${
|
849
|
+
size="${qe[20]}"
|
850
850
|
></mdc-button>
|
851
851
|
</div>
|
852
852
|
</div>
|
@@ -1367,7 +1367,7 @@
|
|
1367
1367
|
size="${ot(this.size)}"
|
1368
1368
|
src="${ot(this.src)}"
|
1369
1369
|
></mdc-avatar>
|
1370
|
-
`}};aa.styles=[...Em],p([f({type:String,attribute:"aria-label"})],aa.prototype,"ariaLabel",2);var Mc=aa;var Tm=G.constructTagName("avatarbutton");Mc.register(Tm);var Qb=Mc;var wr=eo(class extends Ii{constructor(l){var i;if(super(l),l.type!==mr.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 Le}});var xm=G.constructTagName("badge"),
|
1370
|
+
`}};aa.styles=[...Em],p([f({type:String,attribute:"aria-label"})],aa.prototype,"ariaLabel",2);var Mc=aa;var Tm=G.constructTagName("avatarbutton");Mc.register(Tm);var Qb=Mc;var wr=eo(class extends Ii{constructor(l){var i;if(super(l),l.type!==mr.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 Le}});var xm=G.constructTagName("badge"),Xe={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Vn={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},Bn={PRIMARY:"primary",SECONDARY:"secondary"},na={SUCCESS:"success",WARNING:"warning",ERROR:"error"},bw={...Bn,...na},Ci={TYPE:Xe.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:Bn.PRIMARY,ICON_SIZE:1};var Jb=[Et,H`
|
1371
1371
|
:host {
|
1372
1372
|
--mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
|
1373
1373
|
--mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
|
@@ -1457,7 +1457,7 @@
|
|
1457
1457
|
>
|
1458
1458
|
${this.getCounterText(this.maxCounter,this.counter)}
|
1459
1459
|
</mdc-text>
|
1460
|
-
`}setRoleByAriaLabel(){this.ariaLabel?this.role=tt.IMG:this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(Bn).includes(this.variant)&&(this.variant=Ci.VARIANT);let{iconName:t,type:o,variant:a}=this;switch(o){case
|
1460
|
+
`}setRoleByAriaLabel(){this.ariaLabel?this.role=tt.IMG:this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(Bn).includes(this.variant)&&(this.variant=Ci.VARIANT);let{iconName:t,type:o,variant:a}=this;switch(o){case Xe.ICON:return this.getBadgeIcon(t||"",a);case Xe.COUNTER:return this.getBadgeCounterText();case Xe.SUCCESS:return this.getBadgeIcon(Vn.SUCCESS_ICON_NAME,na.SUCCESS);case Xe.WARNING:return this.getBadgeIcon(Vn.WARNING_ICON_NAME,na.WARNING);case Xe.ERROR:return this.getBadgeIcon(Vn.ERROR_ICON_NAME,na.ERROR);case Xe.DOT:default:return this.type=Xe.DOT,this.getBadgeDot()}}update(t){super.update(t),t.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};Nr.styles=[...W.styles,...Am],p([f({type:String,reflect:!0})],Nr.prototype,"type",2),p([f({type:String,reflect:!0})],Nr.prototype,"variant",2),p([f({type:Number})],Nr.prototype,"counter",2),p([f({type:Number,attribute:"max-counter",reflect:!0})],Nr.prototype,"maxCounter",2),p([f({type:Boolean})],Nr.prototype,"overlay",2),p([f({type:String,attribute:"aria-label"})],Nr.prototype,"ariaLabel",2);var Oc=Nr;Oc.register(xm);var ty=Oc;var ey=H`
|
1461
1461
|
:host {
|
1462
1462
|
display: block;
|
1463
1463
|
height: 100%;
|
@@ -1492,65 +1492,84 @@
|
|
1492
1492
|
--mdc-buttongroup-border-radius: 1.25rem;
|
1493
1493
|
--mdc-buttongroup-border-color: var(--mds-color-theme-outline-button-normal);
|
1494
1494
|
--mdc-buttongroup-divider-color: var(--mds-color-theme-outline-secondary-normal);
|
1495
|
+
--mdc-buttongroup-border-width: 1px;
|
1495
1496
|
}
|
1496
1497
|
|
1497
1498
|
:host::part(container) {
|
1498
1499
|
display: flex;
|
1499
1500
|
border-radius: var(--mdc-buttongroup-border-radius);
|
1500
|
-
border: 1px solid var(--mdc-buttongroup-border-color);
|
1501
1501
|
}
|
1502
1502
|
|
1503
1503
|
:host([variant='primary'])::part(container) {
|
1504
|
+
gap: 1px;
|
1504
1505
|
border: none;
|
1505
1506
|
background-color: var(--mds-color-theme-outline-primary-normal);
|
1506
|
-
gap: 1px;
|
1507
1507
|
}
|
1508
1508
|
|
1509
1509
|
::slotted(mdc-button) {
|
1510
1510
|
width: inherit;
|
1511
1511
|
border-radius: 0;
|
1512
1512
|
border: none;
|
1513
|
-
box-sizing:
|
1513
|
+
box-sizing: border-box;
|
1514
|
+
position: relative;
|
1514
1515
|
}
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1516
|
+
:host([orientation='horizontal'][variant='secondary']) ::slotted(mdc-button) {
|
1517
|
+
border-block-start: var(--mdc-buttongroup-border-width) solid var(--mdc-buttongroup-border-color);
|
1518
|
+
border-block-end: var(--mdc-buttongroup-border-width) solid var(--mdc-buttongroup-border-color);
|
1519
|
+
}
|
1520
|
+
:host([orientation='horizontal'][variant='secondary']) ::slotted(mdc-button:first-of-type) {
|
1521
|
+
border-inline-start: var(--mdc-buttongroup-border-width) solid var(--mdc-buttongroup-border-color);
|
1522
|
+
}
|
1523
|
+
:host([orientation='horizontal'][variant='secondary']) ::slotted(mdc-button:last-of-type) {
|
1524
|
+
border-inline-end: var(--mdc-buttongroup-border-width) solid var(--mdc-buttongroup-border-color);
|
1518
1525
|
}
|
1519
1526
|
|
1520
|
-
:host([orientation='
|
1521
|
-
border-
|
1527
|
+
:host([orientation='vertical'][variant='secondary']) ::slotted(mdc-button) {
|
1528
|
+
border-inline-start: var(--mdc-buttongroup-border-width) solid var(--mdc-buttongroup-border-color);
|
1529
|
+
border-inline-end: var(--mdc-buttongroup-border-width) solid var(--mdc-buttongroup-border-color);
|
1522
1530
|
}
|
1523
|
-
:host([orientation='
|
1524
|
-
border-
|
1531
|
+
:host([orientation='vertical'][variant='secondary']) ::slotted(mdc-button:first-of-type) {
|
1532
|
+
border-block-start: var(--mdc-buttongroup-border-width) solid var(--mdc-buttongroup-border-color);
|
1525
1533
|
}
|
1526
|
-
:host([orientation='vertical'][variant='secondary']) ::slotted(mdc-button:
|
1527
|
-
border-
|
1534
|
+
:host([orientation='vertical'][variant='secondary']) ::slotted(mdc-button:last-of-type) {
|
1535
|
+
border-block-end: var(--mdc-buttongroup-border-width) solid var(--mdc-buttongroup-border-color);
|
1528
1536
|
}
|
1529
1537
|
|
1530
|
-
:host([orientation='vertical'])
|
1531
|
-
|
1532
|
-
border-top-right-radius: var(--mdc-buttongroup-border-radius);
|
1538
|
+
:host([orientation='vertical'])::part(container) {
|
1539
|
+
flex-direction: column;
|
1533
1540
|
}
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1541
|
+
|
1542
|
+
:host([variant='secondary'][orientation='horizontal']) ::slotted(mdc-button:not(:last-of-type))::after {
|
1543
|
+
content: '';
|
1544
|
+
position: absolute;
|
1545
|
+
height: 100%;
|
1546
|
+
border-inline-end: var(--mdc-buttongroup-border-width) solid var(--mdc-buttongroup-divider-color);
|
1547
|
+
inset-inline-end: calc(var(--mdc-buttongroup-border-width) / 2);
|
1548
|
+
}
|
1549
|
+
:host([variant='secondary'][orientation='vertical']) ::slotted(mdc-button:not(:last-of-type))::after {
|
1550
|
+
content: '';
|
1551
|
+
position: absolute;
|
1552
|
+
width: 100%;
|
1553
|
+
border-block-end: var(--mdc-buttongroup-border-width) solid var(--mdc-buttongroup-divider-color);
|
1554
|
+
inset-block-end: calc(var(--mdc-buttongroup-border-width) / 2);
|
1537
1555
|
}
|
1538
1556
|
|
1539
|
-
:host([orientation='
|
1540
|
-
border-
|
1541
|
-
border-
|
1557
|
+
:host([orientation='vertical']) ::slotted(mdc-button:first-of-type) {
|
1558
|
+
border-start-start-radius: var(--mdc-buttongroup-border-radius);
|
1559
|
+
border-start-end-radius: var(--mdc-buttongroup-border-radius);
|
1542
1560
|
}
|
1543
|
-
:host([orientation='
|
1544
|
-
border-
|
1545
|
-
border-
|
1561
|
+
:host([orientation='vertical']) ::slotted(mdc-button:last-of-type) {
|
1562
|
+
border-end-start-radius: var(--mdc-buttongroup-border-radius);
|
1563
|
+
border-end-end-radius: var(--mdc-buttongroup-border-radius);
|
1546
1564
|
}
|
1547
|
-
|
1548
|
-
|
1549
|
-
border-
|
1565
|
+
|
1566
|
+
:host([orientation='horizontal']) ::slotted(mdc-button:first-of-type) {
|
1567
|
+
border-start-start-radius: var(--mdc-buttongroup-border-radius);
|
1568
|
+
border-end-start-radius: var(--mdc-buttongroup-border-radius);
|
1550
1569
|
}
|
1551
|
-
:host([orientation='horizontal']
|
1552
|
-
border-
|
1553
|
-
border-
|
1570
|
+
:host([orientation='horizontal']) ::slotted(mdc-button:last-of-type) {
|
1571
|
+
border-start-end-radius: var(--mdc-buttongroup-border-radius);
|
1572
|
+
border-end-end-radius: var(--mdc-buttongroup-border-radius);
|
1554
1573
|
}
|
1555
1574
|
|
1556
1575
|
:host([compact][orientation='horizontal']) ::slotted(mdc-button) {
|
@@ -1634,7 +1653,7 @@
|
|
1634
1653
|
text-decoration: var(--mds-font-apps-body-large-regular-underline-text-decoration);
|
1635
1654
|
text-transform: var(--mds-font-apps-body-large-regular-underline-text-case);
|
1636
1655
|
}
|
1637
|
-
`,...xt()],Mm=dy;var Qr=class extends zt(
|
1656
|
+
`,...xt()],Mm=dy;var Qr=class extends zt(Ze(W)){constructor(){super(...arguments);this.inline=qo.INLINE;this.inverted=qo.INVERTED;this.href="#";this.target="_self";this.prevTabindex=0}connectedCallback(){super.connectedCallback(),this.setAttribute("role","link"),this.addEventListener("click",this.handleNavigation.bind(this)),this.addEventListener("keydown",this.handleNavigation.bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleNavigation.bind(this)),this.removeEventListener("keydown",this.handleNavigation.bind(this))}handleNavigation(t){if((t.type==="click"||t instanceof KeyboardEvent&&t.key==="Enter")&&this.href){if(this.disabled)return;window.open(this.href,this.target,this.rel)}}setDisabled(t){t?(this.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),this.removeAttribute("aria-disabled"))}update(t){super.update(t),t.has("disabled")&&this.setDisabled(this.disabled)}render(){return I` <slot></slot> `}};Qr.styles=[...W.styles,...Mm],p([f({type:Boolean,reflect:!0})],Qr.prototype,"inline",2),p([f({type:Boolean,reflect:!0})],Qr.prototype,"inverted",2),p([f({type:String,reflect:!0})],Qr.prototype,"href",2),p([f({type:String,reflect:!0})],Qr.prototype,"target",2),p([f({type:String,reflect:!0})],Qr.prototype,"rel",2);var ki=Qr;var Zo=class extends En(ki){constructor(){super(...arguments);this.size=Re.SIZE}setSoftDisabled(t,o){o?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}update(t){super.update(t),t.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&this.inferButtonType()}render(){return I`
|
1638
1657
|
${this.prefixIcon?I` <mdc-icon name="${this.prefixIcon}" part="prefix-icon" length-unit="rem"></mdc-icon>`:""}
|
1639
1658
|
<slot @slotchange=${this.inferButtonType}></slot>
|
1640
1659
|
${this.postfixIcon?I` <mdc-icon name="${this.postfixIcon}" part="postfix-icon" length-unit="rem"></mdc-icon>`:""}
|
@@ -1870,7 +1889,7 @@
|
|
1870
1889
|
:host([disabled])::part(check-icon) {
|
1871
1890
|
color: var(--mds-color-theme-text-primary-disabled);
|
1872
1891
|
}
|
1873
|
-
`,Bm=[gy,...xt()];var Qo=class extends zt(
|
1892
|
+
`,Bm=[gy,...xt()];var Qo=class extends zt(Ze(ur)){constructor(){super();this.checked=!1;this.selectionType=qn.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?Bc.CHECKED:Bc.DEFAULT;switch(this.selectionType){case Kn.CHECK:return I`<mdc-icon
|
1874
1893
|
part="check check-icon"
|
1875
1894
|
size="${qn.ICON_SIZE}"
|
1876
1895
|
length-unit="${qn.ICON_LENGTH_UNIT}"
|
@@ -2004,7 +2023,7 @@
|
|
2004
2023
|
:host([disabled])::part(image) {
|
2005
2024
|
opacity: 0.5;
|
2006
2025
|
}
|
2007
|
-
`,Ym=[Ty,...xt()];var ts=class extends zt(
|
2026
|
+
`,Ym=[Ty,...xt()];var ts=class extends zt(Ze(ur)){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?I`<div part="header">
|
2008
2027
|
${this.renderIcon()} ${this.renderTitle()}
|
2009
2028
|
<mdc-staticradio part="check" ?checked="${this.checked}" ?disabled="${this.disabled}"></mdc-staticradio>
|
2010
2029
|
</div>`:j}render(){return I`
|
@@ -2099,7 +2118,7 @@
|
|
2099
2118
|
background-color: var(--mdc-staticradio-text-disabled-color);
|
2100
2119
|
}
|
2101
2120
|
`],Wm=xy;var es=class extends zt(W){constructor(){super(...arguments);this.checked=!1;this.readonly=!1}render(){return I` <slot></slot>
|
2102
|
-
<span part="radio-icon" class="icon"></span>`}};es.styles=[...W.styles,...Wm],p([f({type:Boolean,reflect:!0})],es.prototype,"checked",2),p([f({type:Boolean,reflect:!0})],es.prototype,"readonly",2);var Yc=es;var jm=G.constructTagName("staticradio");Yc.register(jm);var Ay=Yc;Gc.register(Xn);var Sy=Gc;var Lr=Math.min,Ee=Math.max,ha=Math.round,pa=Math.floor,fr=l=>({x:l,y:l}),_y={left:"right",right:"left",bottom:"top",top:"bottom"},Iy={start:"end",end:"start"};function Jn(l,i,t){return Ee(l,Lr(i,t))}function io(l,i){return typeof l=="function"?l(i):l}function Jr(l){return l.split("-")[0]}function oo(l){return l.split("-")[1]}function Wc(l){return l==="x"?"y":"x"}function tl(l){return l==="y"?"height":"width"}var Cy=new Set(["top","bottom"]);function Rr(l){return Cy.has(Jr(l))?"y":"x"}function el(l){return Wc(Rr(l))}function Zm(l,i,t){t===void 0&&(t=!1);let o=oo(l),a=el(l),h=tl(a),m=a==="x"?o===(t?"end":"start")?"right":"left":o==="start"?"bottom":"top";return i.reference[h]>i.floating[h]&&(m=da(m)),[m,da(m)]}function Xm(l){let i=da(l);return[Qn(l),i,Qn(i)]}function Qn(l){return l.replace(/start|end/g,i=>Iy[i])}var Km=["left","right"],qm=["right","left"],ky=["top","bottom"],wy=["bottom","top"];function Ny(l,i,t){switch(l){case"top":case"bottom":return t?i?qm:Km:i?Km:qm;case"left":case"right":return i?ky:wy;default:return[]}}function Qm(l,i,t,o){let a=oo(l),h=Ny(Jr(l),t==="start",o);return a&&(h=h.map(m=>m+"-"+a),i&&(h=h.concat(h.map(Qn)))),h}function da(l){return l.replace(/left|right|bottom|top/g,i=>_y[i])}function Ly(l){return{top:0,right:0,bottom:0,left:0,...l}}function jc(l){return typeof l!="number"?Ly(l):{top:l,right:l,bottom:l,left:l}}function so(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 Jm(l,i,t){let{reference:o,floating:a}=l,h=Rr(i),m=el(i),E=tl(m),N=Jr(i),$=h==="y",K=o.x+o.width/2-a.width/2,q=o.y+o.height/2-a.height/2,nt=o[E]/2-a[E]/2,Q;switch(N){case"top":Q={x:K,y:o.y-a.height};break;case"bottom":Q={x:K,y:o.y+o.height};break;case"right":Q={x:o.x+o.width,y:q};break;case"left":Q={x:o.x-a.width,y:q};break;default:Q={x:o.x,y:o.y}}switch(oo(i)){case"start":Q[m]-=nt*(t&&$?-1:1);break;case"end":Q[m]+=nt*(t&&$?-1:1);break}return Q}var tu=async(l,i,t)=>{let{placement:o="bottom",strategy:a="absolute",middleware:h=[],platform:m}=t,E=h.filter(Boolean),N=await(m.isRTL==null?void 0:m.isRTL(i)),$=await m.getElementRects({reference:l,floating:i,strategy:a}),{x:K,y:q}=Jm($,o,N),nt=o,Q={},rt=0;for(let dt=0;dt<E.length;dt++){let{name:ut,fn:Tt}=E[dt],{x:St,y:kt,data:Gt,reset:Ft}=await Tt({x:K,y:q,initialPlacement:o,placement:nt,strategy:a,middlewareData:Q,rects:$,platform:m,elements:{reference:l,floating:i}});K=St!=null?St:K,q=kt!=null?kt:q,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:K,y:q}=Jm($,nt,N)),dt=-1)}return{x:K,y:q,placement:nt,strategy:a,middlewareData:Q}};async function rl(l,i){var t;i===void 0&&(i={});let{x:o,y:a,platform:h,rects:m,elements:E,strategy:N}=l,{boundary:$="clippingAncestors",rootBoundary:K="viewport",elementContext:q="floating",altBoundary:nt=!1,padding:Q=0}=io(i,l),rt=jc(Q),ut=E[nt?q==="floating"?"reference":"floating":q],Tt=so(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(E.floating)),boundary:$,rootBoundary:K,strategy:N})),St=q==="floating"?{x:o,y:a,width:m.floating.width,height:m.floating.height}:m.reference,kt=await(h.getOffsetParent==null?void 0:h.getOffsetParent(E.floating)),Gt=await(h.isElement==null?void 0:h.isElement(kt))?await(h.getScale==null?void 0:h.getScale(kt))||{x:1,y:1}:{x:1,y:1},Ft=so(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:E,rect:St,offsetParent:kt,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 eu=l=>({name:"arrow",options:l,async fn(i){let{x:t,y:o,placement:a,rects:h,platform:m,elements:E,middlewareData:N}=i,{element:$,padding:K=0}=io(l,i)||{};if($==null)return{};let q=jc(K),nt={x:t,y:o},Q=el(a),rt=tl(Q),dt=await m.getDimensions($),ut=Q==="y",Tt=ut?"top":"left",St=ut?"bottom":"right",kt=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($)),Kt=Vt?Vt[kt]:0;(!Kt||!await(m.isElement==null?void 0:m.isElement(Vt)))&&(Kt=E.floating[kt]||h.floating[rt]);let oe=Gt/2-Ft/2,ar=Kt/2-dt[rt]/2-1,_e=Lr(q[Tt],ar),Be=Lr(q[St],ar),nr=_e,lr=Kt-dt[rt]-Be,It=Kt/2-dt[rt]/2+oe,le=Jn(nr,It,lr),Ue=!N.arrow&&oo(a)!=null&&It!==le&&h.reference[rt]/2-(It<nr?_e:Be)-dt[rt]/2<0,He=Ue?It<nr?It-nr:It-lr:0;return{[Q]:nt[Q]+He,data:{[Q]:le,centerOffset:It-le-He,...Ue&&{alignmentOffset:He}},reset:Ue}}});var ru=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:E,platform:N,elements:$}=i,{mainAxis:K=!0,crossAxis:q=!0,fallbackPlacements:nt,fallbackStrategy:Q="bestFit",fallbackAxisSideDirection:rt="none",flipAlignment:dt=!0,...ut}=io(l,i);if((t=h.arrow)!=null&&t.alignmentOffset)return{};let Tt=Jr(a),St=Rr(E),kt=Jr(E)===E,Gt=await(N.isRTL==null?void 0:N.isRTL($.floating)),Ft=nt||(kt||!dt?[da(E)]:Xm(E)),Vt=rt!=="none";!nt&&Vt&&Ft.push(...Qm(E,dt,rt,Gt));let Kt=[E,...Ft],oe=await rl(i,ut),ar=[],_e=((o=h.flip)==null?void 0:o.overflows)||[];if(K&&ar.push(oe[Tt]),q){let It=Zm(a,m,Gt);ar.push(oe[It[0]],oe[It[1]])}if(_e=[..._e,{placement:a,overflows:ar}],!ar.every(It=>It<=0)){var Be,nr;let It=(((Be=h.flip)==null?void 0:Be.index)||0)+1,le=Kt[It];if(le&&(!(q==="alignment"?St!==Rr(le):!1)||_e.every(Ge=>Ge.overflows[0]>0&&Rr(Ge.placement)===St)))return{data:{index:It,overflows:_e},reset:{placement:le}};let Ue=(nr=_e.filter(He=>He.overflows[0]<=0).sort((He,Ge)=>He.overflows[1]-Ge.overflows[1])[0])==null?void 0:nr.placement;if(!Ue)switch(Q){case"bestFit":{var lr;let He=(lr=_e.filter(Ge=>{if(Vt){let Ye=Rr(Ge.placement);return Ye===St||Ye==="y"}return!0}).map(Ge=>[Ge.placement,Ge.overflows.filter(Ye=>Ye>0).reduce((Ye,Ua)=>Ye+Ua,0)]).sort((Ge,Ye)=>Ge[1]-Ye[1])[0])==null?void 0:lr[0];He&&(Ue=He);break}case"initialPlacement":Ue=E;break}if(a!==Ue)return{reset:{placement:Ue}}}return{}}}};var Ry=new Set(["left","top"]);async function My(l,i){let{placement:t,platform:o,elements:a}=l,h=await(o.isRTL==null?void 0:o.isRTL(a.floating)),m=Jr(t),E=oo(t),N=Rr(t)==="y",$=Ry.has(m)?-1:1,K=h&&N?-1:1,q=io(i,l),{mainAxis:nt,crossAxis:Q,alignmentAxis:rt}=typeof q=="number"?{mainAxis:q,crossAxis:0,alignmentAxis:null}:{mainAxis:q.mainAxis||0,crossAxis:q.crossAxis||0,alignmentAxis:q.alignmentAxis};return E&&typeof rt=="number"&&(Q=E==="end"?rt*-1:rt),N?{x:Q*K,y:nt*$}:{x:nt*$,y:Q*K}}var iu=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:E}=i,N=await My(i,l);return m===((t=E.offset)==null?void 0:t.placement)&&(o=E.arrow)!=null&&o.alignmentOffset?{}:{x:a+N.x,y:h+N.y,data:{...N,placement:m}}}}},ou=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:E={fn:ut=>{let{x:Tt,y:St}=ut;return{x:Tt,y:St}}},...N}=io(l,i),$={x:t,y:o},K=await rl(i,N),q=Rr(Jr(a)),nt=Wc(q),Q=$[nt],rt=$[q];if(h){let ut=nt==="y"?"top":"left",Tt=nt==="y"?"bottom":"right",St=Q+K[ut],kt=Q-K[Tt];Q=Jn(St,Q,kt)}if(m){let ut=q==="y"?"top":"left",Tt=q==="y"?"bottom":"right",St=rt+K[ut],kt=rt-K[Tt];rt=Jn(St,rt,kt)}let dt=E.fn({...i,[nt]:Q,[q]:rt});return{...dt,data:{x:dt.x-t,y:dt.y-o,enabled:{[nt]:h,[q]:m}}}}}};var su=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:E}=i,{apply:N=()=>{},...$}=io(l,i),K=await rl(i,$),q=Jr(a),nt=oo(a),Q=Rr(a)==="y",{width:rt,height:dt}=h.floating,ut,Tt;q==="top"||q==="bottom"?(ut=q,Tt=nt===(await(m.isRTL==null?void 0:m.isRTL(E.floating))?"start":"end")?"left":"right"):(Tt=q,ut=nt==="end"?"top":"bottom");let St=dt-K.top-K.bottom,kt=rt-K.left-K.right,Gt=Lr(dt-K[ut],St),Ft=Lr(rt-K[Tt],kt),Vt=!i.middlewareData.shift,Kt=Gt,oe=Ft;if((t=i.middlewareData.shift)!=null&&t.enabled.x&&(oe=kt),(o=i.middlewareData.shift)!=null&&o.enabled.y&&(Kt=St),Vt&&!nt){let _e=Ee(K.left,0),Be=Ee(K.right,0),nr=Ee(K.top,0),lr=Ee(K.bottom,0);Q?oe=rt-2*(_e!==0||Be!==0?_e+Be:Ee(K.left,K.right)):Kt=dt-2*(nr!==0||lr!==0?nr+lr:Ee(K.top,K.bottom))}await N({...i,availableWidth:oe,availableHeight:Kt});let ar=await m.getDimensions(E.floating);return rt!==ar.width||dt!==ar.height?{reset:{rects:!0}}:{}}}};function il(){return typeof window<"u"}function ao(l){return nu(l)?(l.nodeName||"").toLowerCase():"#document"}function Oe(l){var i;return(l==null||(i=l.ownerDocument)==null?void 0:i.defaultView)||window}function vr(l){var i;return(i=(nu(l)?l.ownerDocument:l.document)||window.document)==null?void 0:i.documentElement}function nu(l){return il()?l instanceof Node||l instanceof Oe(l).Node:!1}function Xe(l){return il()?l instanceof Element||l instanceof Oe(l).Element:!1}function gr(l){return il()?l instanceof HTMLElement||l instanceof Oe(l).HTMLElement:!1}function au(l){return!il()||typeof ShadowRoot>"u"?!1:l instanceof ShadowRoot||l instanceof Oe(l).ShadowRoot}var Oy=new Set(["inline","contents"]);function is(l){let{overflow:i,overflowX:t,overflowY:o,display:a}=Qe(l);return/auto|scroll|overlay|hidden|clip/.test(i+o+t)&&!Oy.has(a)}var Py=new Set(["table","td","th"]);function lu(l){return Py.has(ao(l))}var Dy=[":popover-open",":modal"];function ma(l){return Dy.some(i=>{try{return l.matches(i)}catch{return!1}})}var Fy=["transform","translate","scale","rotate","perspective"],$y=["transform","translate","scale","rotate","perspective","filter"],zy=["paint","layout","strict","content"];function ol(l){let i=sl(),t=Xe(l)?Qe(l):l;return Fy.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)||$y.some(o=>(t.willChange||"").includes(o))||zy.some(o=>(t.contain||"").includes(o))}function cu(l){let i=ti(l);for(;gr(i)&&!no(i);){if(ol(i))return i;if(ma(i))return null;i=ti(i)}return null}function sl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var Vy=new Set(["html","body","#document"]);function no(l){return Vy.has(ao(l))}function Qe(l){return Oe(l).getComputedStyle(l)}function ua(l){return Xe(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:{scrollLeft:l.scrollX,scrollTop:l.scrollY}}function ti(l){if(ao(l)==="html")return l;let i=l.assignedSlot||l.parentNode||au(l)&&l.host||vr(l);return au(i)?i.host:i}function du(l){let i=ti(l);return no(i)?l.ownerDocument?l.ownerDocument.body:l.body:gr(i)&&is(i)?i:du(i)}function rs(l,i,t){var o;i===void 0&&(i=[]),t===void 0&&(t=!0);let a=du(l),h=a===((o=l.ownerDocument)==null?void 0:o.body),m=Oe(a);if(h){let E=al(m);return i.concat(m,m.visualViewport||[],is(a)?a:[],E&&t?rs(E):[])}return i.concat(a,rs(a,[],t))}function al(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameElement:null}function mu(l){let i=Qe(l),t=parseFloat(i.width)||0,o=parseFloat(i.height)||0,a=gr(l),h=a?l.offsetWidth:t,m=a?l.offsetHeight:o,E=ha(t)!==h||ha(o)!==m;return E&&(t=h,o=m),{width:t,height:o,$:E}}function qc(l){return Xe(l)?l:l.contextElement}function os(l){let i=qc(l);if(!gr(i))return fr(1);let t=i.getBoundingClientRect(),{width:o,height:a,$:h}=mu(i),m=(h?ha(t.width):t.width)/o,E=(h?ha(t.height):t.height)/a;return(!m||!Number.isFinite(m))&&(m=1),(!E||!Number.isFinite(E))&&(E=1),{x:m,y:E}}var By=fr(0);function uu(l){let i=Oe(l);return!sl()||!i.visualViewport?By:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function Uy(l,i,t){return i===void 0&&(i=!1),!t||i&&t!==Oe(l)?!1:i}function lo(l,i,t,o){i===void 0&&(i=!1),t===void 0&&(t=!1);let a=l.getBoundingClientRect(),h=qc(l),m=fr(1);i&&(o?Xe(o)&&(m=os(o)):m=os(l));let E=Uy(h,t,o)?uu(h):fr(0),N=(a.left+E.x)/m.x,$=(a.top+E.y)/m.y,K=a.width/m.x,q=a.height/m.y;if(h){let nt=Oe(h),Q=o&&Xe(o)?Oe(o):o,rt=nt,dt=al(rt);for(;dt&&o&&Q!==rt;){let ut=os(dt),Tt=dt.getBoundingClientRect(),St=Qe(dt),kt=Tt.left+(dt.clientLeft+parseFloat(St.paddingLeft))*ut.x,Gt=Tt.top+(dt.clientTop+parseFloat(St.paddingTop))*ut.y;N*=ut.x,$*=ut.y,K*=ut.x,q*=ut.y,N+=kt,$+=Gt,rt=Oe(dt),dt=al(rt)}}return so({width:K,height:q,x:N,y:$})}function Zc(l,i){let t=ua(l).scrollLeft;return i?i.left+t:lo(vr(l)).left+t}function fu(l,i,t){t===void 0&&(t=!1);let o=l.getBoundingClientRect(),a=o.left+i.scrollLeft-(t?0:Zc(l,o)),h=o.top+i.scrollTop;return{x:a,y:h}}function Hy(l){let{elements:i,rect:t,offsetParent:o,strategy:a}=l,h=a==="fixed",m=vr(o),E=i?ma(i.floating):!1;if(o===m||E&&h)return t;let N={scrollLeft:0,scrollTop:0},$=fr(1),K=fr(0),q=gr(o);if((q||!q&&!h)&&((ao(o)!=="body"||is(m))&&(N=ua(o)),gr(o))){let Q=lo(o);$=os(o),K.x=Q.x+o.clientLeft,K.y=Q.y+o.clientTop}let nt=m&&!q&&!h?fu(m,N,!0):fr(0);return{width:t.width*$.x,height:t.height*$.y,x:t.x*$.x-N.scrollLeft*$.x+K.x+nt.x,y:t.y*$.y-N.scrollTop*$.y+K.y+nt.y}}function Gy(l){return Array.from(l.getClientRects())}function Yy(l){let i=vr(l),t=ua(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+Zc(l),E=-t.scrollTop;return Qe(o).direction==="rtl"&&(m+=Ee(i.clientWidth,o.clientWidth)-a),{width:a,height:h,x:m,y:E}}function Wy(l,i){let t=Oe(l),o=vr(l),a=t.visualViewport,h=o.clientWidth,m=o.clientHeight,E=0,N=0;if(a){h=a.width,m=a.height;let $=sl();(!$||$&&i==="fixed")&&(E=a.offsetLeft,N=a.offsetTop)}return{width:h,height:m,x:E,y:N}}var jy=new Set(["absolute","fixed"]);function Ky(l,i){let t=lo(l,!0,i==="fixed"),o=t.top+l.clientTop,a=t.left+l.clientLeft,h=gr(l)?os(l):fr(1),m=l.clientWidth*h.x,E=l.clientHeight*h.y,N=a*h.x,$=o*h.y;return{width:m,height:E,x:N,y:$}}function hu(l,i,t){let o;if(i==="viewport")o=Wy(l,t);else if(i==="document")o=Yy(vr(l));else if(Xe(i))o=Ky(i,t);else{let a=uu(l);o={x:i.x-a.x,y:i.y-a.y,width:i.width,height:i.height}}return so(o)}function vu(l,i){let t=ti(l);return t===i||!Xe(t)||no(t)?!1:Qe(t).position==="fixed"||vu(t,i)}function qy(l,i){let t=i.get(l);if(t)return t;let o=rs(l,[],!1).filter(E=>Xe(E)&&ao(E)!=="body"),a=null,h=Qe(l).position==="fixed",m=h?ti(l):l;for(;Xe(m)&&!no(m);){let E=Qe(m),N=ol(m);!N&&E.position==="fixed"&&(a=null),(h?!N&&!a:!N&&E.position==="static"&&!!a&&jy.has(a.position)||is(m)&&!N&&vu(l,m))?o=o.filter(K=>K!==m):a=E,m=ti(m)}return i.set(l,o),o}function Zy(l){let{element:i,boundary:t,rootBoundary:o,strategy:a}=l,m=[...t==="clippingAncestors"?ma(i)?[]:qy(i,this._c):[].concat(t),o],E=m[0],N=m.reduce(($,K)=>{let q=hu(i,K,a);return $.top=Ee(q.top,$.top),$.right=Lr(q.right,$.right),$.bottom=Lr(q.bottom,$.bottom),$.left=Ee(q.left,$.left),$},hu(i,E,a));return{width:N.right-N.left,height:N.bottom-N.top,x:N.left,y:N.top}}function Xy(l){let{width:i,height:t}=mu(l);return{width:i,height:t}}function Qy(l,i,t){let o=gr(i),a=vr(i),h=t==="fixed",m=lo(l,!0,h,i),E={scrollLeft:0,scrollTop:0},N=fr(0);function $(){N.x=Zc(a)}if(o||!o&&!h)if((ao(i)!=="body"||is(a))&&(E=ua(i)),o){let Q=lo(i,!0,h,i);N.x=Q.x+i.clientLeft,N.y=Q.y+i.clientTop}else a&&$();h&&!o&&a&&$();let K=a&&!o&&!h?fu(a,E):fr(0),q=m.left+E.scrollLeft-N.x-K.x,nt=m.top+E.scrollTop-N.y-K.y;return{x:q,y:nt,width:m.width,height:m.height}}function Kc(l){return Qe(l).position==="static"}function pu(l,i){if(!gr(l)||Qe(l).position==="fixed")return null;if(i)return i(l);let t=l.offsetParent;return vr(l)===t&&(t=t.ownerDocument.body),t}function gu(l,i){let t=Oe(l);if(ma(l))return t;if(!gr(l)){let a=ti(l);for(;a&&!no(a);){if(Xe(a)&&!Kc(a))return a;a=ti(a)}return t}let o=pu(l,i);for(;o&&lu(o)&&Kc(o);)o=pu(o,i);return o&&no(o)&&Kc(o)&&!ol(o)?t:o||cu(l)||t}var Jy=async function(l){let i=this.getOffsetParent||gu,t=this.getDimensions,o=await t(l.floating);return{reference:Qy(l.reference,await i(l.floating),l.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function tE(l){return Qe(l).direction==="rtl"}var eE={convertOffsetParentRelativeRectToViewportRelativeRect:Hy,getDocumentElement:vr,getClippingRect:Zy,getOffsetParent:gu,getElementRects:Jy,getClientRects:Gy,getDimensions:Xy,getScale:os,isElement:Xe,isRTL:tE};function bu(l,i){return l.x===i.x&&l.y===i.y&&l.width===i.width&&l.height===i.height}function rE(l,i){let t=null,o,a=vr(l);function h(){var E;clearTimeout(o),(E=t)==null||E.disconnect(),t=null}function m(E,N){E===void 0&&(E=!1),N===void 0&&(N=1),h();let $=l.getBoundingClientRect(),{left:K,top:q,width:nt,height:Q}=$;if(E||i(),!nt||!Q)return;let rt=pa(q),dt=pa(a.clientWidth-(K+nt)),ut=pa(a.clientHeight-(q+Q)),Tt=pa(K),kt={rootMargin:-rt+"px "+-dt+"px "+-ut+"px "+-Tt+"px",threshold:Ee(0,Lr(1,N))||1},Gt=!0;function Ft(Vt){let Kt=Vt[0].intersectionRatio;if(Kt!==N){if(!Gt)return m();Kt?m(!1,Kt):o=setTimeout(()=>{m(!1,1e-7)},1e3)}Kt===1&&!bu($,l.getBoundingClientRect())&&m(),Gt=!1}try{t=new IntersectionObserver(Ft,{...kt,root:a.ownerDocument})}catch{t=new IntersectionObserver(Ft,kt)}t.observe(l)}return m(!0),h}function yu(l,i,t,o){o===void 0&&(o={});let{ancestorScroll:a=!0,ancestorResize:h=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:E=typeof IntersectionObserver=="function",animationFrame:N=!1}=o,$=qc(l),K=a||h?[...$?rs($):[],...rs(i)]:[];K.forEach(Tt=>{a&&Tt.addEventListener("scroll",t,{passive:!0}),h&&Tt.addEventListener("resize",t)});let q=$&&E?rE($,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 kt;(kt=Q)==null||kt.observe(i)})),t()}),$&&!N&&Q.observe($),Q.observe(i));let rt,dt=N?lo(l):null;N&&ut();function ut(){let Tt=lo(l);dt&&!bu(dt,Tt)&&t(),dt=Tt,rt=requestAnimationFrame(ut)}return t(),()=>{var Tt;K.forEach(St=>{a&&St.removeEventListener("scroll",t),h&&St.removeEventListener("resize",t)}),q==null||q(),(Tt=Q)==null||Tt.disconnect(),Q=null,N&&cancelAnimationFrame(rt)}}var Eu=iu;var Tu=ou,xu=ru,Au=su;var Su=eu;var _u=(l,i,t)=>{let o=new Map,a={platform:eE,...t},h={...a.platform,_c:o};return tu(l,i,{...a,platform:h})};var nl=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=`
|
2121
|
+
<span part="radio-icon" class="icon"></span>`}};es.styles=[...W.styles,...Wm],p([f({type:Boolean,reflect:!0})],es.prototype,"checked",2),p([f({type:Boolean,reflect:!0})],es.prototype,"readonly",2);var Yc=es;var jm=G.constructTagName("staticradio");Yc.register(jm);var Ay=Yc;Gc.register(Xn);var Sy=Gc;var Lr=Math.min,Ee=Math.max,ha=Math.round,pa=Math.floor,fr=l=>({x:l,y:l}),_y={left:"right",right:"left",bottom:"top",top:"bottom"},Iy={start:"end",end:"start"};function Jn(l,i,t){return Ee(l,Lr(i,t))}function io(l,i){return typeof l=="function"?l(i):l}function Jr(l){return l.split("-")[0]}function oo(l){return l.split("-")[1]}function Wc(l){return l==="x"?"y":"x"}function tl(l){return l==="y"?"height":"width"}var Cy=new Set(["top","bottom"]);function Rr(l){return Cy.has(Jr(l))?"y":"x"}function el(l){return Wc(Rr(l))}function Zm(l,i,t){t===void 0&&(t=!1);let o=oo(l),a=el(l),h=tl(a),m=a==="x"?o===(t?"end":"start")?"right":"left":o==="start"?"bottom":"top";return i.reference[h]>i.floating[h]&&(m=da(m)),[m,da(m)]}function Xm(l){let i=da(l);return[Qn(l),i,Qn(i)]}function Qn(l){return l.replace(/start|end/g,i=>Iy[i])}var Km=["left","right"],qm=["right","left"],ky=["top","bottom"],wy=["bottom","top"];function Ny(l,i,t){switch(l){case"top":case"bottom":return t?i?qm:Km:i?Km:qm;case"left":case"right":return i?ky:wy;default:return[]}}function Qm(l,i,t,o){let a=oo(l),h=Ny(Jr(l),t==="start",o);return a&&(h=h.map(m=>m+"-"+a),i&&(h=h.concat(h.map(Qn)))),h}function da(l){return l.replace(/left|right|bottom|top/g,i=>_y[i])}function Ly(l){return{top:0,right:0,bottom:0,left:0,...l}}function jc(l){return typeof l!="number"?Ly(l):{top:l,right:l,bottom:l,left:l}}function so(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 Jm(l,i,t){let{reference:o,floating:a}=l,h=Rr(i),m=el(i),E=tl(m),N=Jr(i),$=h==="y",K=o.x+o.width/2-a.width/2,q=o.y+o.height/2-a.height/2,nt=o[E]/2-a[E]/2,Q;switch(N){case"top":Q={x:K,y:o.y-a.height};break;case"bottom":Q={x:K,y:o.y+o.height};break;case"right":Q={x:o.x+o.width,y:q};break;case"left":Q={x:o.x-a.width,y:q};break;default:Q={x:o.x,y:o.y}}switch(oo(i)){case"start":Q[m]-=nt*(t&&$?-1:1);break;case"end":Q[m]+=nt*(t&&$?-1:1);break}return Q}var tu=async(l,i,t)=>{let{placement:o="bottom",strategy:a="absolute",middleware:h=[],platform:m}=t,E=h.filter(Boolean),N=await(m.isRTL==null?void 0:m.isRTL(i)),$=await m.getElementRects({reference:l,floating:i,strategy:a}),{x:K,y:q}=Jm($,o,N),nt=o,Q={},rt=0;for(let dt=0;dt<E.length;dt++){let{name:ut,fn:Tt}=E[dt],{x:St,y:kt,data:Gt,reset:Ft}=await Tt({x:K,y:q,initialPlacement:o,placement:nt,strategy:a,middlewareData:Q,rects:$,platform:m,elements:{reference:l,floating:i}});K=St!=null?St:K,q=kt!=null?kt:q,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:K,y:q}=Jm($,nt,N)),dt=-1)}return{x:K,y:q,placement:nt,strategy:a,middlewareData:Q}};async function rl(l,i){var t;i===void 0&&(i={});let{x:o,y:a,platform:h,rects:m,elements:E,strategy:N}=l,{boundary:$="clippingAncestors",rootBoundary:K="viewport",elementContext:q="floating",altBoundary:nt=!1,padding:Q=0}=io(i,l),rt=jc(Q),ut=E[nt?q==="floating"?"reference":"floating":q],Tt=so(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(E.floating)),boundary:$,rootBoundary:K,strategy:N})),St=q==="floating"?{x:o,y:a,width:m.floating.width,height:m.floating.height}:m.reference,kt=await(h.getOffsetParent==null?void 0:h.getOffsetParent(E.floating)),Gt=await(h.isElement==null?void 0:h.isElement(kt))?await(h.getScale==null?void 0:h.getScale(kt))||{x:1,y:1}:{x:1,y:1},Ft=so(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:E,rect:St,offsetParent:kt,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 eu=l=>({name:"arrow",options:l,async fn(i){let{x:t,y:o,placement:a,rects:h,platform:m,elements:E,middlewareData:N}=i,{element:$,padding:K=0}=io(l,i)||{};if($==null)return{};let q=jc(K),nt={x:t,y:o},Q=el(a),rt=tl(Q),dt=await m.getDimensions($),ut=Q==="y",Tt=ut?"top":"left",St=ut?"bottom":"right",kt=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($)),Kt=Vt?Vt[kt]:0;(!Kt||!await(m.isElement==null?void 0:m.isElement(Vt)))&&(Kt=E.floating[kt]||h.floating[rt]);let oe=Gt/2-Ft/2,nr=Kt/2-dt[rt]/2-1,_e=Lr(q[Tt],nr),Ue=Lr(q[St],nr),lr=_e,cr=Kt-dt[rt]-Ue,It=Kt/2-dt[rt]/2+oe,le=Jn(lr,It,cr),He=!N.arrow&&oo(a)!=null&&It!==le&&h.reference[rt]/2-(It<lr?_e:Ue)-dt[rt]/2<0,Ge=He?It<lr?It-lr:It-cr:0;return{[Q]:nt[Q]+Ge,data:{[Q]:le,centerOffset:It-le-Ge,...He&&{alignmentOffset:Ge}},reset:He}}});var ru=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:E,platform:N,elements:$}=i,{mainAxis:K=!0,crossAxis:q=!0,fallbackPlacements:nt,fallbackStrategy:Q="bestFit",fallbackAxisSideDirection:rt="none",flipAlignment:dt=!0,...ut}=io(l,i);if((t=h.arrow)!=null&&t.alignmentOffset)return{};let Tt=Jr(a),St=Rr(E),kt=Jr(E)===E,Gt=await(N.isRTL==null?void 0:N.isRTL($.floating)),Ft=nt||(kt||!dt?[da(E)]:Xm(E)),Vt=rt!=="none";!nt&&Vt&&Ft.push(...Qm(E,dt,rt,Gt));let Kt=[E,...Ft],oe=await rl(i,ut),nr=[],_e=((o=h.flip)==null?void 0:o.overflows)||[];if(K&&nr.push(oe[Tt]),q){let It=Zm(a,m,Gt);nr.push(oe[It[0]],oe[It[1]])}if(_e=[..._e,{placement:a,overflows:nr}],!nr.every(It=>It<=0)){var Ue,lr;let It=(((Ue=h.flip)==null?void 0:Ue.index)||0)+1,le=Kt[It];if(le&&(!(q==="alignment"?St!==Rr(le):!1)||_e.every(Ye=>Ye.overflows[0]>0&&Rr(Ye.placement)===St)))return{data:{index:It,overflows:_e},reset:{placement:le}};let He=(lr=_e.filter(Ge=>Ge.overflows[0]<=0).sort((Ge,Ye)=>Ge.overflows[1]-Ye.overflows[1])[0])==null?void 0:lr.placement;if(!He)switch(Q){case"bestFit":{var cr;let Ge=(cr=_e.filter(Ye=>{if(Vt){let We=Rr(Ye.placement);return We===St||We==="y"}return!0}).map(Ye=>[Ye.placement,Ye.overflows.filter(We=>We>0).reduce((We,Ua)=>We+Ua,0)]).sort((Ye,We)=>Ye[1]-We[1])[0])==null?void 0:cr[0];Ge&&(He=Ge);break}case"initialPlacement":He=E;break}if(a!==He)return{reset:{placement:He}}}return{}}}};var Ry=new Set(["left","top"]);async function My(l,i){let{placement:t,platform:o,elements:a}=l,h=await(o.isRTL==null?void 0:o.isRTL(a.floating)),m=Jr(t),E=oo(t),N=Rr(t)==="y",$=Ry.has(m)?-1:1,K=h&&N?-1:1,q=io(i,l),{mainAxis:nt,crossAxis:Q,alignmentAxis:rt}=typeof q=="number"?{mainAxis:q,crossAxis:0,alignmentAxis:null}:{mainAxis:q.mainAxis||0,crossAxis:q.crossAxis||0,alignmentAxis:q.alignmentAxis};return E&&typeof rt=="number"&&(Q=E==="end"?rt*-1:rt),N?{x:Q*K,y:nt*$}:{x:nt*$,y:Q*K}}var iu=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:E}=i,N=await My(i,l);return m===((t=E.offset)==null?void 0:t.placement)&&(o=E.arrow)!=null&&o.alignmentOffset?{}:{x:a+N.x,y:h+N.y,data:{...N,placement:m}}}}},ou=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:E={fn:ut=>{let{x:Tt,y:St}=ut;return{x:Tt,y:St}}},...N}=io(l,i),$={x:t,y:o},K=await rl(i,N),q=Rr(Jr(a)),nt=Wc(q),Q=$[nt],rt=$[q];if(h){let ut=nt==="y"?"top":"left",Tt=nt==="y"?"bottom":"right",St=Q+K[ut],kt=Q-K[Tt];Q=Jn(St,Q,kt)}if(m){let ut=q==="y"?"top":"left",Tt=q==="y"?"bottom":"right",St=rt+K[ut],kt=rt-K[Tt];rt=Jn(St,rt,kt)}let dt=E.fn({...i,[nt]:Q,[q]:rt});return{...dt,data:{x:dt.x-t,y:dt.y-o,enabled:{[nt]:h,[q]:m}}}}}};var su=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:E}=i,{apply:N=()=>{},...$}=io(l,i),K=await rl(i,$),q=Jr(a),nt=oo(a),Q=Rr(a)==="y",{width:rt,height:dt}=h.floating,ut,Tt;q==="top"||q==="bottom"?(ut=q,Tt=nt===(await(m.isRTL==null?void 0:m.isRTL(E.floating))?"start":"end")?"left":"right"):(Tt=q,ut=nt==="end"?"top":"bottom");let St=dt-K.top-K.bottom,kt=rt-K.left-K.right,Gt=Lr(dt-K[ut],St),Ft=Lr(rt-K[Tt],kt),Vt=!i.middlewareData.shift,Kt=Gt,oe=Ft;if((t=i.middlewareData.shift)!=null&&t.enabled.x&&(oe=kt),(o=i.middlewareData.shift)!=null&&o.enabled.y&&(Kt=St),Vt&&!nt){let _e=Ee(K.left,0),Ue=Ee(K.right,0),lr=Ee(K.top,0),cr=Ee(K.bottom,0);Q?oe=rt-2*(_e!==0||Ue!==0?_e+Ue:Ee(K.left,K.right)):Kt=dt-2*(lr!==0||cr!==0?lr+cr:Ee(K.top,K.bottom))}await N({...i,availableWidth:oe,availableHeight:Kt});let nr=await m.getDimensions(E.floating);return rt!==nr.width||dt!==nr.height?{reset:{rects:!0}}:{}}}};function il(){return typeof window<"u"}function ao(l){return nu(l)?(l.nodeName||"").toLowerCase():"#document"}function Oe(l){var i;return(l==null||(i=l.ownerDocument)==null?void 0:i.defaultView)||window}function vr(l){var i;return(i=(nu(l)?l.ownerDocument:l.document)||window.document)==null?void 0:i.documentElement}function nu(l){return il()?l instanceof Node||l instanceof Oe(l).Node:!1}function Qe(l){return il()?l instanceof Element||l instanceof Oe(l).Element:!1}function gr(l){return il()?l instanceof HTMLElement||l instanceof Oe(l).HTMLElement:!1}function au(l){return!il()||typeof ShadowRoot>"u"?!1:l instanceof ShadowRoot||l instanceof Oe(l).ShadowRoot}var Oy=new Set(["inline","contents"]);function is(l){let{overflow:i,overflowX:t,overflowY:o,display:a}=Je(l);return/auto|scroll|overlay|hidden|clip/.test(i+o+t)&&!Oy.has(a)}var Py=new Set(["table","td","th"]);function lu(l){return Py.has(ao(l))}var Dy=[":popover-open",":modal"];function ma(l){return Dy.some(i=>{try{return l.matches(i)}catch{return!1}})}var Fy=["transform","translate","scale","rotate","perspective"],$y=["transform","translate","scale","rotate","perspective","filter"],zy=["paint","layout","strict","content"];function ol(l){let i=sl(),t=Qe(l)?Je(l):l;return Fy.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)||$y.some(o=>(t.willChange||"").includes(o))||zy.some(o=>(t.contain||"").includes(o))}function cu(l){let i=ti(l);for(;gr(i)&&!no(i);){if(ol(i))return i;if(ma(i))return null;i=ti(i)}return null}function sl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var Vy=new Set(["html","body","#document"]);function no(l){return Vy.has(ao(l))}function Je(l){return Oe(l).getComputedStyle(l)}function ua(l){return Qe(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:{scrollLeft:l.scrollX,scrollTop:l.scrollY}}function ti(l){if(ao(l)==="html")return l;let i=l.assignedSlot||l.parentNode||au(l)&&l.host||vr(l);return au(i)?i.host:i}function du(l){let i=ti(l);return no(i)?l.ownerDocument?l.ownerDocument.body:l.body:gr(i)&&is(i)?i:du(i)}function rs(l,i,t){var o;i===void 0&&(i=[]),t===void 0&&(t=!0);let a=du(l),h=a===((o=l.ownerDocument)==null?void 0:o.body),m=Oe(a);if(h){let E=al(m);return i.concat(m,m.visualViewport||[],is(a)?a:[],E&&t?rs(E):[])}return i.concat(a,rs(a,[],t))}function al(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameElement:null}function mu(l){let i=Je(l),t=parseFloat(i.width)||0,o=parseFloat(i.height)||0,a=gr(l),h=a?l.offsetWidth:t,m=a?l.offsetHeight:o,E=ha(t)!==h||ha(o)!==m;return E&&(t=h,o=m),{width:t,height:o,$:E}}function qc(l){return Qe(l)?l:l.contextElement}function os(l){let i=qc(l);if(!gr(i))return fr(1);let t=i.getBoundingClientRect(),{width:o,height:a,$:h}=mu(i),m=(h?ha(t.width):t.width)/o,E=(h?ha(t.height):t.height)/a;return(!m||!Number.isFinite(m))&&(m=1),(!E||!Number.isFinite(E))&&(E=1),{x:m,y:E}}var By=fr(0);function uu(l){let i=Oe(l);return!sl()||!i.visualViewport?By:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function Uy(l,i,t){return i===void 0&&(i=!1),!t||i&&t!==Oe(l)?!1:i}function lo(l,i,t,o){i===void 0&&(i=!1),t===void 0&&(t=!1);let a=l.getBoundingClientRect(),h=qc(l),m=fr(1);i&&(o?Qe(o)&&(m=os(o)):m=os(l));let E=Uy(h,t,o)?uu(h):fr(0),N=(a.left+E.x)/m.x,$=(a.top+E.y)/m.y,K=a.width/m.x,q=a.height/m.y;if(h){let nt=Oe(h),Q=o&&Qe(o)?Oe(o):o,rt=nt,dt=al(rt);for(;dt&&o&&Q!==rt;){let ut=os(dt),Tt=dt.getBoundingClientRect(),St=Je(dt),kt=Tt.left+(dt.clientLeft+parseFloat(St.paddingLeft))*ut.x,Gt=Tt.top+(dt.clientTop+parseFloat(St.paddingTop))*ut.y;N*=ut.x,$*=ut.y,K*=ut.x,q*=ut.y,N+=kt,$+=Gt,rt=Oe(dt),dt=al(rt)}}return so({width:K,height:q,x:N,y:$})}function Zc(l,i){let t=ua(l).scrollLeft;return i?i.left+t:lo(vr(l)).left+t}function fu(l,i,t){t===void 0&&(t=!1);let o=l.getBoundingClientRect(),a=o.left+i.scrollLeft-(t?0:Zc(l,o)),h=o.top+i.scrollTop;return{x:a,y:h}}function Hy(l){let{elements:i,rect:t,offsetParent:o,strategy:a}=l,h=a==="fixed",m=vr(o),E=i?ma(i.floating):!1;if(o===m||E&&h)return t;let N={scrollLeft:0,scrollTop:0},$=fr(1),K=fr(0),q=gr(o);if((q||!q&&!h)&&((ao(o)!=="body"||is(m))&&(N=ua(o)),gr(o))){let Q=lo(o);$=os(o),K.x=Q.x+o.clientLeft,K.y=Q.y+o.clientTop}let nt=m&&!q&&!h?fu(m,N,!0):fr(0);return{width:t.width*$.x,height:t.height*$.y,x:t.x*$.x-N.scrollLeft*$.x+K.x+nt.x,y:t.y*$.y-N.scrollTop*$.y+K.y+nt.y}}function Gy(l){return Array.from(l.getClientRects())}function Yy(l){let i=vr(l),t=ua(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+Zc(l),E=-t.scrollTop;return Je(o).direction==="rtl"&&(m+=Ee(i.clientWidth,o.clientWidth)-a),{width:a,height:h,x:m,y:E}}function Wy(l,i){let t=Oe(l),o=vr(l),a=t.visualViewport,h=o.clientWidth,m=o.clientHeight,E=0,N=0;if(a){h=a.width,m=a.height;let $=sl();(!$||$&&i==="fixed")&&(E=a.offsetLeft,N=a.offsetTop)}return{width:h,height:m,x:E,y:N}}var jy=new Set(["absolute","fixed"]);function Ky(l,i){let t=lo(l,!0,i==="fixed"),o=t.top+l.clientTop,a=t.left+l.clientLeft,h=gr(l)?os(l):fr(1),m=l.clientWidth*h.x,E=l.clientHeight*h.y,N=a*h.x,$=o*h.y;return{width:m,height:E,x:N,y:$}}function hu(l,i,t){let o;if(i==="viewport")o=Wy(l,t);else if(i==="document")o=Yy(vr(l));else if(Qe(i))o=Ky(i,t);else{let a=uu(l);o={x:i.x-a.x,y:i.y-a.y,width:i.width,height:i.height}}return so(o)}function vu(l,i){let t=ti(l);return t===i||!Qe(t)||no(t)?!1:Je(t).position==="fixed"||vu(t,i)}function qy(l,i){let t=i.get(l);if(t)return t;let o=rs(l,[],!1).filter(E=>Qe(E)&&ao(E)!=="body"),a=null,h=Je(l).position==="fixed",m=h?ti(l):l;for(;Qe(m)&&!no(m);){let E=Je(m),N=ol(m);!N&&E.position==="fixed"&&(a=null),(h?!N&&!a:!N&&E.position==="static"&&!!a&&jy.has(a.position)||is(m)&&!N&&vu(l,m))?o=o.filter(K=>K!==m):a=E,m=ti(m)}return i.set(l,o),o}function Zy(l){let{element:i,boundary:t,rootBoundary:o,strategy:a}=l,m=[...t==="clippingAncestors"?ma(i)?[]:qy(i,this._c):[].concat(t),o],E=m[0],N=m.reduce(($,K)=>{let q=hu(i,K,a);return $.top=Ee(q.top,$.top),$.right=Lr(q.right,$.right),$.bottom=Lr(q.bottom,$.bottom),$.left=Ee(q.left,$.left),$},hu(i,E,a));return{width:N.right-N.left,height:N.bottom-N.top,x:N.left,y:N.top}}function Xy(l){let{width:i,height:t}=mu(l);return{width:i,height:t}}function Qy(l,i,t){let o=gr(i),a=vr(i),h=t==="fixed",m=lo(l,!0,h,i),E={scrollLeft:0,scrollTop:0},N=fr(0);function $(){N.x=Zc(a)}if(o||!o&&!h)if((ao(i)!=="body"||is(a))&&(E=ua(i)),o){let Q=lo(i,!0,h,i);N.x=Q.x+i.clientLeft,N.y=Q.y+i.clientTop}else a&&$();h&&!o&&a&&$();let K=a&&!o&&!h?fu(a,E):fr(0),q=m.left+E.scrollLeft-N.x-K.x,nt=m.top+E.scrollTop-N.y-K.y;return{x:q,y:nt,width:m.width,height:m.height}}function Kc(l){return Je(l).position==="static"}function pu(l,i){if(!gr(l)||Je(l).position==="fixed")return null;if(i)return i(l);let t=l.offsetParent;return vr(l)===t&&(t=t.ownerDocument.body),t}function gu(l,i){let t=Oe(l);if(ma(l))return t;if(!gr(l)){let a=ti(l);for(;a&&!no(a);){if(Qe(a)&&!Kc(a))return a;a=ti(a)}return t}let o=pu(l,i);for(;o&&lu(o)&&Kc(o);)o=pu(o,i);return o&&no(o)&&Kc(o)&&!ol(o)?t:o||cu(l)||t}var Jy=async function(l){let i=this.getOffsetParent||gu,t=this.getDimensions,o=await t(l.floating);return{reference:Qy(l.reference,await i(l.floating),l.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function tE(l){return Je(l).direction==="rtl"}var eE={convertOffsetParentRelativeRectToViewportRelativeRect:Hy,getDocumentElement:vr,getClippingRect:Zy,getOffsetParent:gu,getElementRects:Jy,getClientRects:Gy,getDimensions:Xy,getScale:os,isElement:Qe,isRTL:tE};function bu(l,i){return l.x===i.x&&l.y===i.y&&l.width===i.width&&l.height===i.height}function rE(l,i){let t=null,o,a=vr(l);function h(){var E;clearTimeout(o),(E=t)==null||E.disconnect(),t=null}function m(E,N){E===void 0&&(E=!1),N===void 0&&(N=1),h();let $=l.getBoundingClientRect(),{left:K,top:q,width:nt,height:Q}=$;if(E||i(),!nt||!Q)return;let rt=pa(q),dt=pa(a.clientWidth-(K+nt)),ut=pa(a.clientHeight-(q+Q)),Tt=pa(K),kt={rootMargin:-rt+"px "+-dt+"px "+-ut+"px "+-Tt+"px",threshold:Ee(0,Lr(1,N))||1},Gt=!0;function Ft(Vt){let Kt=Vt[0].intersectionRatio;if(Kt!==N){if(!Gt)return m();Kt?m(!1,Kt):o=setTimeout(()=>{m(!1,1e-7)},1e3)}Kt===1&&!bu($,l.getBoundingClientRect())&&m(),Gt=!1}try{t=new IntersectionObserver(Ft,{...kt,root:a.ownerDocument})}catch{t=new IntersectionObserver(Ft,kt)}t.observe(l)}return m(!0),h}function yu(l,i,t,o){o===void 0&&(o={});let{ancestorScroll:a=!0,ancestorResize:h=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:E=typeof IntersectionObserver=="function",animationFrame:N=!1}=o,$=qc(l),K=a||h?[...$?rs($):[],...rs(i)]:[];K.forEach(Tt=>{a&&Tt.addEventListener("scroll",t,{passive:!0}),h&&Tt.addEventListener("resize",t)});let q=$&&E?rE($,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 kt;(kt=Q)==null||kt.observe(i)})),t()}),$&&!N&&Q.observe($),Q.observe(i));let rt,dt=N?lo(l):null;N&&ut();function ut(){let Tt=lo(l);dt&&!bu(dt,Tt)&&t(),dt=Tt,rt=requestAnimationFrame(ut)}return t(),()=>{var Tt;K.forEach(St=>{a&&St.removeEventListener("scroll",t),h&&St.removeEventListener("resize",t)}),q==null||q(),(Tt=Q)==null||Tt.disconnect(),Q=null,N&&cancelAnimationFrame(rt)}}var Eu=iu;var Tu=ou,xu=ru,Au=su;var Su=eu;var _u=(l,i,t)=>{let o=new Map,a={platform:eE,...t},h={...a.platform,_c:o};return tu(l,i,{...a,platform:h})};var nl=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=`
|
2103
2122
|
.${a}-backdrop {
|
2104
2123
|
position: fixed;
|
2105
2124
|
top: 0;
|
@@ -2648,7 +2667,7 @@
|
|
2648
2667
|
${this.label?I`<mdc-text part="label" type="${ns.TEXT_TYPE}" tagname="${ns.TAG_NAME}"
|
2649
2668
|
>${this.label}</mdc-text
|
2650
2669
|
>`:j}
|
2651
|
-
`}};ls.styles=[...W.styles,...Fu],p([f({type:String,reflect:!0})],ls.prototype,"color",2),p([f({type:String})],ls.prototype,"label",2);var cs=ls;cs.register(Du);var uE=cs;var $u=G.constructTagName("coachmark"),uo={COLOR:ho.CONTRAST,TRIGGER:co.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var fo=class extends Pe{constructor(){super(...arguments);this.trigger=uo.TRIGGER;this.showArrow=uo.ARROW;this.closeButton=uo.CLOSE_BUTTON;this.disableAriaExpanded=uo.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=uo.COLOR,this.showArrow=uo.ARROW}};p([f({type:String,reflect:!0})],fo.prototype,"trigger",2),p([f({type:Boolean,attribute:"show-arrow"})],fo.prototype,"showArrow",2),p([f({type:Boolean,reflect:!0,attribute:"close-button"})],fo.prototype,"closeButton",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],fo.prototype,"disableAriaExpanded",2);var rd=fo;rd.register($u);var fE=rd;var zu=G.constructTagName("dialog"),vE={DEFAULT:"default",PROMOTIONAL:"promotional"},
|
2670
|
+
`}};ls.styles=[...W.styles,...Fu],p([f({type:String,reflect:!0})],ls.prototype,"color",2),p([f({type:String})],ls.prototype,"label",2);var cs=ls;cs.register(Du);var uE=cs;var $u=G.constructTagName("coachmark"),uo={COLOR:ho.CONTRAST,TRIGGER:co.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var fo=class extends Pe{constructor(){super(...arguments);this.trigger=uo.TRIGGER;this.showArrow=uo.ARROW;this.closeButton=uo.CLOSE_BUTTON;this.disableAriaExpanded=uo.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=uo.COLOR,this.showArrow=uo.ARROW}};p([f({type:String,reflect:!0})],fo.prototype,"trigger",2),p([f({type:Boolean,attribute:"show-arrow"})],fo.prototype,"showArrow",2),p([f({type:Boolean,reflect:!0,attribute:"close-button"})],fo.prototype,"closeButton",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],fo.prototype,"disableAriaExpanded",2);var rd=fo;rd.register($u);var fE=rd;var zu=G.constructTagName("dialog"),vE={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:vE.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var Ni=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 gE=H`
|
2652
2671
|
:host {
|
2653
2672
|
--mdc-dialog-primary-background-color: var(--mds-color-theme-background-solid-primary-normal);
|
2654
2673
|
--mdc-dialog-border-color: var(--mds-color-theme-outline-secondary-normal);
|
@@ -2770,7 +2789,7 @@
|
|
2770
2789
|
mdc-text::part(text) {
|
2771
2790
|
margin: 0;
|
2772
2791
|
}
|
2773
|
-
`,Vu=[gE];var Bt=class extends nl(cl(ll(Xo(W)))){constructor(){super(...arguments);this.id="";this.visible=
|
2792
|
+
`,Vu=[gE];var Bt=class extends nl(cl(ll(Xo(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(),Ni.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(),Ni.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(){Ni.onCloseDialog(this,!1)}async isOpenUpdated(t,o){var a,h,m,E,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"),Ni.onShowDialog(this)):!o&&t&&(this.removeBackdrop(),(E=this.triggerElement)==null||E.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(N=this.deactivateFocusTrap)==null||N.call(this),this.focusBackToTrigger(),Ni.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}render(){return I`
|
2774
2793
|
${this.headerText?I` <div part="header-section">
|
2775
2794
|
<div part="header">
|
2776
2795
|
<slot name="header-prefix"></slot>
|
@@ -2792,9 +2811,9 @@
|
|
2792
2811
|
</div>`:j}
|
2793
2812
|
<mdc-button
|
2794
2813
|
part="dialog-close-btn"
|
2795
|
-
prefix-icon="${
|
2814
|
+
prefix-icon="${tr.CANCEL_ICON}"
|
2796
2815
|
variant="${Pt.TERTIARY}"
|
2797
|
-
size="${
|
2816
|
+
size="${qe[20]}"
|
2798
2817
|
aria-label="${ot(this.closeButtonAriaLabel)||""}"
|
2799
2818
|
@click="${this.closeDialog}"
|
2800
2819
|
></mdc-button>
|
@@ -2802,7 +2821,7 @@
|
|
2802
2821
|
<slot name="dialog-body"></slot>
|
2803
2822
|
</div>
|
2804
2823
|
${this.renderFooter()}
|
2805
|
-
`}};Bt.styles=[...W.styles,...Vu],p([f({type:String,reflect:!0})],Bt.prototype,"id",2),p([f({type:String,reflect:!0})],Bt.prototype,"triggerId",2),p([f({type:Boolean,reflect:!0})],Bt.prototype,"visible",2),p([f({type:Number,reflect:!0,attribute:"z-index"})],Bt.prototype,"zIndex",2),p([f({type:String,reflect:!0})],Bt.prototype,"size",2),p([f({type:String,reflect:!0})],Bt.prototype,"variant",2),p([f({type:String,attribute:"close-button-aria-label"})],Bt.prototype,"closeButtonAriaLabel",2),p([f({type:String,reflect:!0,attribute:"aria-label"})],Bt.prototype,"ariaLabel",2),p([f({type:String,reflect:!0,attribute:"aria-labelledby"})],Bt.prototype,"ariaLabelledby",2),p([f({type:String,reflect:!0,attribute:"aria-describedby"})],Bt.prototype,"ariaDescribedBy",2),p([f({type:String,reflect:!0,attribute:"aria-description"})],Bt.prototype,"ariaDescription",2),p([f({type:String,reflect:!0,attribute:"header-text"})],Bt.prototype,"headerText",2),p([f({type:String,reflect:!0,attribute:"description-text"})],Bt.prototype,"descriptionText",2),p([f({type:String,reflect:!0,attribute:"header-tag-name"})],Bt.prototype,"headerTagName",2),p([f({type:String,reflect:!0,attribute:"description-tag-name"})],Bt.prototype,"descriptionTagName",2),p([f({type:String,reflect:!0})],Bt.prototype,"role",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],Bt.prototype,"disableAriaHasPopup",2),p([f({type:Boolean,reflect:!0,attribute:"focus-trap"})],Bt.prototype,"focusTrap",2);var id=Bt;id.register(zu);var bE=id;var Bu=G.constructTagName("divider"),vo={HORIZONTAL:"horizontal",VERTICAL:"vertical"},va={SOLID:"solid",GRADIENT:"gradient"},
|
2824
|
+
`}};Bt.styles=[...W.styles,...Vu],p([f({type:String,reflect:!0})],Bt.prototype,"id",2),p([f({type:String,reflect:!0})],Bt.prototype,"triggerId",2),p([f({type:Boolean,reflect:!0})],Bt.prototype,"visible",2),p([f({type:Number,reflect:!0,attribute:"z-index"})],Bt.prototype,"zIndex",2),p([f({type:String,reflect:!0})],Bt.prototype,"size",2),p([f({type:String,reflect:!0})],Bt.prototype,"variant",2),p([f({type:String,attribute:"close-button-aria-label"})],Bt.prototype,"closeButtonAriaLabel",2),p([f({type:String,reflect:!0,attribute:"aria-label"})],Bt.prototype,"ariaLabel",2),p([f({type:String,reflect:!0,attribute:"aria-labelledby"})],Bt.prototype,"ariaLabelledby",2),p([f({type:String,reflect:!0,attribute:"aria-describedby"})],Bt.prototype,"ariaDescribedBy",2),p([f({type:String,reflect:!0,attribute:"aria-description"})],Bt.prototype,"ariaDescription",2),p([f({type:String,reflect:!0,attribute:"header-text"})],Bt.prototype,"headerText",2),p([f({type:String,reflect:!0,attribute:"description-text"})],Bt.prototype,"descriptionText",2),p([f({type:String,reflect:!0,attribute:"header-tag-name"})],Bt.prototype,"headerTagName",2),p([f({type:String,reflect:!0,attribute:"description-tag-name"})],Bt.prototype,"descriptionTagName",2),p([f({type:String,reflect:!0})],Bt.prototype,"role",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],Bt.prototype,"disableAriaHasPopup",2),p([f({type:Boolean,reflect:!0,attribute:"focus-trap"})],Bt.prototype,"focusTrap",2);var id=Bt;id.register(zu);var bE=id;var Bu=G.constructTagName("divider"),vo={HORIZONTAL:"horizontal",VERTICAL:"vertical"},va={SOLID:"solid",GRADIENT:"gradient"},er={POSITIVE:"positive",NEGATIVE:"negative"},ga={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},go={ORIENTATION:vo.HORIZONTAL,VARIANT:va.SOLID,ARROW_DIRECTION:er.NEGATIVE,BUTTON_DIRECTION:er.NEGATIVE};var yE=[Et,H`
|
2806
2825
|
:host {
|
2807
2826
|
--mdc-divider-background-color: var(--mds-color-theme-outline-secondary-normal);
|
2808
2827
|
--mdc-divider-width: 0.0625rem;
|
@@ -2999,7 +3018,7 @@
|
|
2999
3018
|
line-height: var(--mdc-divider-text-line-height);
|
3000
3019
|
flex-shrink: 0;
|
3001
3020
|
}
|
3002
|
-
`],Uu=yE;var Li=class extends W{constructor(){super(...arguments);this.orientation=go.ORIENTATION;this.variant=go.VARIANT;this.arrowDirection=go.ARROW_DIRECTION;this.buttonPosition=go.BUTTON_DIRECTION}setVariant(t){this.setAttribute("variant",Object.values(va).includes(t)?t:go.VARIANT)}setOrientation(t){this.setAttribute("orientation",Object.values(vo).includes(t)?t:go.ORIENTATION)}ensureValidDirections(){let t=this.orientation===vo.HORIZONTAL?
|
3021
|
+
`],Uu=yE;var Li=class extends W{constructor(){super(...arguments);this.orientation=go.ORIENTATION;this.variant=go.VARIANT;this.arrowDirection=go.ARROW_DIRECTION;this.buttonPosition=go.BUTTON_DIRECTION}setVariant(t){this.setAttribute("variant",Object.values(va).includes(t)?t:go.VARIANT)}setOrientation(t){this.setAttribute("orientation",Object.values(vo).includes(t)?t:go.ORIENTATION)}ensureValidDirections(){let t=this.orientation===vo.HORIZONTAL?er.NEGATIVE:er.POSITIVE;Object.values(er).includes(this.buttonPosition)||(this.buttonPosition=t),Object.values(er).includes(this.arrowDirection)||(this.arrowDirection=t)}setGrabberButton(){this.ensureValidDirections();let t=this.querySelector("mdc-button");if(t){let o=this.getArrowIcon();t.setAttribute("variant","secondary"),t.setAttribute("prefix-icon",o)}}getArrowIcon(){let t=this.orientation===vo.HORIZONTAL,o=this.arrowDirection===er.POSITIVE;return t?o?ga.UP:ga.DOWN:o?ga.RIGHT:ga.LEFT}update(t){super.update(t),t.has("orientation")&&this.setOrientation(this.orientation),t.has("variant")&&this.setVariant(this.variant),(t.has("orientation")||t.has("arrowDirection")||t.has("buttonPosition"))&&this.setGrabberButton()}inferDividerType(){var m;let t=(m=this.shadowRoot)==null?void 0:m.querySelector("slot"),o=(t==null?void 0:t.assignedElements({flatten:!0}))||[];if(o.length>1)return;let a=o.some(E=>E.tagName===ta.toUpperCase()),h=o.some(E=>E.tagName===Wr.toUpperCase());a&&!h?this.setAttribute("data-type","mdc-text-divider"):!a&&h&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}connectedCallback(){super.connectedCallback(),this.setAttribute("data-type","mdc-primary-divider")}render(){return I`
|
3003
3022
|
<div></div>
|
3004
3023
|
<slot @slotchange=${this.inferDividerType}></slot>
|
3005
3024
|
<div></div>
|
@@ -3052,7 +3071,7 @@
|
|
3052
3071
|
<div part="group-header">${this.renderLabel()} ${this.renderHelperText()}</div>
|
3053
3072
|
<slot></slot>
|
3054
3073
|
</div>
|
3055
|
-
`}};hl.styles=[...xe.styles,...Yu];var nd=hl;var Wu=G.constructTagName("formfieldgroup");nd.register(Wu);var pl=nd;Qs.register(In);var SE=Qs;var ju=eo(class extends Ii{constructor(l){if(super(l),l.type!==mr.PROPERTY&&l.type!==mr.ATTRIBUTE&&l.type!==mr.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ln(l))throw Error("`live` bindings can only contain a single expression")}render(l){return l}update(l,[i]){if(i===Le||i===j)return i;let t=l.element,o=l.name;if(l.type===mr.PROPERTY){if(i===t[o])return Le}else if(l.type===mr.BOOLEAN_ATTRIBUTE){if(!!i===t.hasAttribute(o))return Le}else if(l.type===mr.ATTRIBUTE&&t.getAttribute(o)===i+"")return Le;return im(l),i}});xe.register(Ru);var
|
3074
|
+
`}};hl.styles=[...xe.styles,...Yu];var nd=hl;var Wu=G.constructTagName("formfieldgroup");nd.register(Wu);var pl=nd;Qs.register(In);var SE=Qs;var ju=eo(class extends Ii{constructor(l){if(super(l),l.type!==mr.PROPERTY&&l.type!==mr.ATTRIBUTE&&l.type!==mr.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ln(l))throw Error("`live` bindings can only contain a single expression")}render(l){return l}update(l,[i]){if(i===Le||i===j)return i;let t=l.element,o=l.name;if(l.type===mr.PROPERTY){if(i===t[o])return Le}else if(l.type===mr.BOOLEAN_ATTRIBUTE){if(!!i===t.hasAttribute(o))return Le}else if(l.type===mr.ATTRIBUTE&&t.getAttribute(o)===i+"")return Le;return im(l),i}});xe.register(Ru);var rr=xe;var Ku=G.constructTagName("input"),ml={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},ld={OFF:"off",ON:"on"},ds={PASSWORD:"password",TEXT:"text",SEARCH:"search"},qu={MAX_LENGTH:10,VALIDATION:jt.ERROR},ii={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:ld.OFF,INPUT_TYPE:ds.TEXT};var _E=[H`
|
3056
3075
|
:host {
|
3057
3076
|
--mdc-input-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
|
3058
3077
|
--mdc-input-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
|
@@ -3175,7 +3194,7 @@
|
|
3175
3194
|
opacity: 0;
|
3176
3195
|
pointer-events: none;
|
3177
3196
|
}
|
3178
|
-
`,...xt(!0)],Zu=_E;var ie=class extends Me(De(re(
|
3197
|
+
`,...xt(!0)],Zu=_E;var ie=class extends Me(De(re(rr))){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=ml.OFF;this.autocomplete=ld.OFF;this.clearAriaLabel=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(t=>{this.onerror&&this.onerror(t)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(t){this.value=t}attributeChangedCallback(t,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?I`
|
3179
3198
|
<mdc-icon
|
3180
3199
|
class="leading-icon"
|
3181
3200
|
part="leading-icon"
|
@@ -3240,7 +3259,7 @@
|
|
3240
3259
|
<slot name="trailing-button">${this.renderTrailingButton()}</slot>
|
3241
3260
|
</div>
|
3242
3261
|
${this.helpText?this.renderHelperText():j}
|
3243
|
-
`}};ie.styles=[...
|
3262
|
+
`}};ie.styles=[...rr.styles,...Zu],p([f({type:String})],ie.prototype,"placeholder",2),p([f({type:Boolean})],ie.prototype,"readonly",2),p([f({type:String,attribute:"prefix-text"})],ie.prototype,"prefixText",2),p([f({type:String,attribute:"leading-icon"})],ie.prototype,"leadingIcon",2),p([f({type:Boolean,attribute:"trailing-button"})],ie.prototype,"trailingButton",2),p([f({type:Number})],ie.prototype,"maxlength",2),p([f({type:Number})],ie.prototype,"minlength",2),p([f({type:String})],ie.prototype,"autocapitalize",2),p([f({type:String})],ie.prototype,"autocomplete",2),p([f({type:String})],ie.prototype,"dirname",2),p([f({type:String})],ie.prototype,"pattern",2),p([f({type:String})],ie.prototype,"list",2),p([f({type:Number})],ie.prototype,"size",2),p([f({type:String,attribute:"clear-aria-label"})],ie.prototype,"clearAriaLabel",2);var oi=ie;oi.register(Ku);var IE=oi;var CE=H`
|
3244
3263
|
:host {
|
3245
3264
|
height: 1.5rem;
|
3246
3265
|
gap: 0.25rem;
|
@@ -3473,7 +3492,7 @@
|
|
3473
3492
|
size="1"
|
3474
3493
|
length-unit="rem"
|
3475
3494
|
></mdc-icon>`:j}
|
3476
|
-
`}};Ri.styles=[...W.styles,...sf],p([f({type:String,attribute:"prefix-icon"})],Ri.prototype,"prefixIcon",2),p([f({type:String,attribute:"postfix-icon"})],Ri.prototype,"postfixIcon",2),p([f({type:String,attribute:"header-text"})],Ri.prototype,"headerText",2),p([f({type:Boolean,reflect:!0})],Ri.prototype,"disabled",2);var ud=Ri;var af=G.constructTagName("listheader");ud.register(af);var DE=ud;var Aa=G.constructTagName("tooltip"),
|
3495
|
+
`}};Ri.styles=[...W.styles,...sf],p([f({type:String,attribute:"prefix-icon"})],Ri.prototype,"prefixIcon",2),p([f({type:String,attribute:"postfix-icon"})],Ri.prototype,"postfixIcon",2),p([f({type:String,attribute:"header-text"})],Ri.prototype,"headerText",2),p([f({type:Boolean,reflect:!0})],Ri.prototype,"disabled",2);var ud=Ri;var af=G.constructTagName("listheader");ud.register(af);var DE=ud;var Aa=G.constructTagName("tooltip"),Be={DESCRIPTION:"description",LABEL:"label",NONE:"none"},Mi={BACKDROP:!1,DELAY:"0,0",OFFSET:4,PLACEMENT:Ht.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:Be.DESCRIPTION};var FE=H`
|
3477
3496
|
:host {
|
3478
3497
|
--mdc-tooltip-max-width: 400px;
|
3479
3498
|
--mdc-tooltip-padding: 0.75rem;
|
@@ -3497,7 +3516,7 @@
|
|
3497
3516
|
:host([color='contrast'])::part(popover-content) {
|
3498
3517
|
color: var(--mdc-tooltip-text-color-contrast);
|
3499
3518
|
}
|
3500
|
-
`,nf=[FE];var ms=class extends Pe{constructor(){super(...arguments);this.tooltipType=Mi.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||Mi.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||Mi.OFFSET,this.placement=this.placement||Mi.PLACEMENT,this.role=tt.TOOLTIP,this.trigger="mouseenter focusin",this.preventScroll=!1,this.flip=!0,this.preventScroll=!1,this.closeButton=!1,this.hideOnOutsideClick=!1,this.focusBackToTrigger=!1,this.size=!1,this.disableAriaExpanded=!0}getTooltipText(){var t,o;return((o=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:o.trim())||""}setTooltipType(t){this.setAttribute("tooltip-type",Object.values(
|
3519
|
+
`,nf=[FE];var ms=class extends Pe{constructor(){super(...arguments);this.tooltipType=Mi.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||Mi.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||Mi.OFFSET,this.placement=this.placement||Mi.PLACEMENT,this.role=tt.TOOLTIP,this.trigger="mouseenter focusin",this.preventScroll=!1,this.flip=!0,this.preventScroll=!1,this.closeButton=!1,this.hideOnOutsideClick=!1,this.focusBackToTrigger=!1,this.size=!1,this.disableAriaExpanded=!0}getTooltipText(){var t,o;return((o=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:o.trim())||""}setTooltipType(t){this.setAttribute("tooltip-type",Object.values(Be).includes(t)?t:Mi.TOOLTIP_TYPE)}async onIdUpdated(){if(this.id.length===0&&(this.id=`mdc-tooltip-${be()}`),await this.updateComplete,this.triggerElement)switch(this.tooltipType){case Be.DESCRIPTION:this.triggerElement.setAttribute("aria-describedby",this.id);break;case Be.LABEL:this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(Ht).includes(this.placement)||(this.placement=Mi.PLACEMENT)}onTooltipTypeUpdated(t){let o=t.get("tooltipType");if(Object.values(Be).includes(this.tooltipType)||this.setTooltipType(Mi.TOOLTIP_TYPE),this.triggerElement){let a=this.getTooltipText();switch(this.tooltipType){case Be.DESCRIPTION:o===Be.LABEL&&this.triggerElement.removeAttribute("aria-labelledby"),this.triggerElement.setAttribute("aria-describedby",this.id);break;case Be.LABEL:o===Be.DESCRIPTION&&this.triggerElement.removeAttribute("aria-describedby"),this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:o===Be.DESCRIPTION?this.triggerElement.removeAttribute("aria-describedby"):o===Be.LABEL&&this.triggerElement.removeAttribute("aria-labelledby");break}a.length>0&&this.tooltipType!==Be.NONE&&!this.ariaLabel&&(this.ariaLabel=a)}}async update(t){super.update(t),t.has("id")&&await this.onIdUpdated(),t.has("placement")&&this.onPlacementUpdated(),t.has("tooltipType")&&this.onTooltipTypeUpdated(t)}};ms.styles=[...Pe.styles,...nf],p([f({type:String,attribute:"tooltip-type",reflect:!0})],ms.prototype,"tooltipType",2),p([yn()],ms.prototype,"defaultSlotNodes",2);var fd=ms;fd.register(Aa);var $E=fd;var ir={CREATED:"created",DESTROYED:"destroyed",MODIFIED:"modified"};var lf=l=>{class i extends l{connectedCallback(){super.connectedCallback(),this.dispatchEvent(new Event(ir.CREATED,{bubbles:!0,composed:!0}))}disconnectedCallback(){super.disconnectedCallback(),this.dispatchEvent(new Event(ir.DESTROYED,{bubbles:!0,composed:!0}))}dispatchModifiedEvent(o){this.dispatchEvent(new CustomEvent(ir.MODIFIED,{detail:{change:o},bubbles:!0,composed:!0}))}}return i};var zE=H`
|
3501
3520
|
:host {
|
3502
3521
|
--mdc-listitem-default-background-color: var(--mds-color-theme-background-primary-ghost);
|
3503
3522
|
--mdc-listitem-background-color-hover: var(--mds-color-theme-background-primary-hover);
|
@@ -3598,7 +3617,7 @@
|
|
3598
3617
|
display: flex;
|
3599
3618
|
flex-direction: row;
|
3600
3619
|
}
|
3601
|
-
`,cf=[zE,...xt()];var df=()=>`listitem-tooltip-popover-${be()}`,hf=()=>`listitem-tooltip-triggerid-${be()}`;var Sa=class{static dispatchListItemEvent(i,t){t.dispatchEvent(new Event(i,{composed:!0,bubbles:!0}))}static onDisableListItem(i){this.dispatchListItemEvent("disabled",i)}static onEnableListItem(i){this.dispatchListItemEvent("enabled",i)}static onCreatedListItem(i){setTimeout(()=>{this.dispatchListItemEvent("created",i)},0)}static onDestroyedListItem(i){this.dispatchListItemEvent("destroyed",i)}};var Ae=class extends zt(
|
3620
|
+
`,cf=[zE,...xt()];var df=()=>`listitem-tooltip-popover-${be()}`,hf=()=>`listitem-tooltip-triggerid-${be()}`;var Sa=class{static dispatchListItemEvent(i,t){t.dispatchEvent(new Event(i,{composed:!0,bubbles:!0}))}static onDisableListItem(i){this.dispatchListItemEvent("disabled",i)}static onEnableListItem(i){this.dispatchListItemEvent("enabled",i)}static onCreatedListItem(i){setTimeout(()=>{this.dispatchListItemEvent("created",i)},0)}static onDestroyedListItem(i){this.dispatchListItemEvent("destroyed",i)}};var Ae=class extends zt(Ze(lf(W))){constructor(){super();this.variant=hd.VARIANT;this.tooltipPlacement=hd.TOOLTIP_PLACEMENT;this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("focusin",this.displayTooltipForLongText.bind(this)),this.addEventListener("mouseenter",this.displayTooltipForLongText.bind(this)),this.addEventListener("focusout",this.hideTooltipOnLeave.bind(this)),this.addEventListener("mouseout",this.hideTooltipOnLeave.bind(this)),this.addEventListener("click",this.handleClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=this.role||tt.LISTITEM,this.id=this.id||hf()}handleKeyDown(t){(t.key===J.ENTER||t.key===J.SPACE)&&(this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleClick(t){if(this.disabled){t.stopImmediatePropagation(),t.preventDefault();return}this.hideTooltipOnLeave()}displayTooltipForLongText(){var o,a;if(!this.tooltipText)return;this.hideTooltipOnLeave();let t=document.createElement(Aa);t.id=df(),t.textContent=this.tooltipText,t.setAttribute("triggerid",this.id),t.setAttribute("placement",this.tooltipPlacement),t.setAttribute("visible",""),t.setAttribute("show-arrow",""),(o=this.parentElement)!=null&&o.hasAttribute("slot")&&t.setAttribute("slot",this.parentElement.getAttribute("slot")||""),(a=this.parentElement)==null||a.after(t)}hideTooltipOnLeave(){let t=document.querySelector(`${Aa}[triggerid="${this.id}"]`);t&&t.remove()}getText(t,o,a){return I`
|
3602
3621
|
<slot name="${t}">
|
3603
3622
|
${a?I`<mdc-text part="${t}" type="${o}" tagname="${gt.SPAN}">${a}</mdc-text>`:j}
|
3604
3623
|
</slot>
|
@@ -3676,23 +3695,23 @@
|
|
3676
3695
|
:host::part(leading-arrow) {
|
3677
3696
|
--mdc-icon-size: 1.25rem;
|
3678
3697
|
}
|
3679
|
-
`,bf=[YE];var Pi=class extends si{constructor(){super()
|
3698
|
+
`,bf=[YE];var Pi=class extends si{constructor(){super(),this.addEventListener("keyup",this.handleKeyUp.bind(this))}handleKeyDown(i){i.key===J.ENTER&&(this.triggerClickEvent(),i.preventDefault())}handleKeyUp(i){i.key===J.SPACE&&(this.triggerClickEvent(),i.preventDefault())}connectedCallback(){super.connectedCallback(),this.role=tt.MENUITEM,this.variant=Ta.INSET_RECTANGLE}renderTrailingControls(){let i=this.arrowDirection===yd.NEGATIVE?wa.LEFT:wa.RIGHT;return I`
|
3680
3699
|
<slot
|
3681
3700
|
name="trailing-controls"
|
3682
3701
|
@click=${this.stopEventPropagation}
|
3683
3702
|
@keyup=${this.stopEventPropagation}
|
3684
3703
|
@keydown=${this.stopEventPropagation}
|
3685
3704
|
></slot>
|
3686
|
-
${this.arrowPosition===Ed.TRAILING?I`<mdc-icon name="${
|
3687
|
-
`}renderLeadingControls(){let
|
3705
|
+
${this.arrowPosition===Ed.TRAILING?I`<mdc-icon name="${i}" length-unit="rem" part="trailing-arrow"></mdc-icon>`:j}
|
3706
|
+
`}renderLeadingControls(){let i=this.arrowDirection===yd.POSITIVE?wa.RIGHT:wa.LEFT;return I`
|
3688
3707
|
<slot
|
3689
3708
|
name="leading-controls"
|
3690
3709
|
@click=${this.stopEventPropagation}
|
3691
3710
|
@keyup=${this.stopEventPropagation}
|
3692
3711
|
@keydown=${this.stopEventPropagation}
|
3693
3712
|
></slot>
|
3694
|
-
${this.arrowPosition===Ed.LEADING?I`<mdc-icon name="${
|
3695
|
-
`}};Pi.styles=[...si.styles,...bf],p([f({type:String,reflect:!0,attribute:"arrow-position"})],Pi.prototype,"arrowPosition",2),p([f({type:String,reflect:!0,attribute:"arrow-direction"})],Pi.prototype,"arrowDirection",2),p([f({type:String,reflect:!0})],Pi.prototype,"name",2),p([f({type:String,reflect:!0})],Pi.prototype,"value",2);var
|
3713
|
+
${this.arrowPosition===Ed.LEADING?I`<mdc-icon name="${i}" length-unit="rem" part="leading-arrow"></mdc-icon>`:j}
|
3714
|
+
`}};Pi.styles=[...si.styles,...bf],p([f({type:String,reflect:!0,attribute:"arrow-position"})],Pi.prototype,"arrowPosition",2),p([f({type:String,reflect:!0,attribute:"arrow-direction"})],Pi.prototype,"arrowDirection",2),p([f({type:String,reflect:!0})],Pi.prototype,"name",2),p([f({type:String,reflect:!0})],Pi.prototype,"value",2);var or=Pi;or.register(ka);var WE=or;var yf=G.constructTagName("statictoggle"),jE={DEFAULT:"default",COMPACT:"compact"},Td={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},Ef={compact:.75,default:1.25},Tf={SIZE:jE.DEFAULT};var KE=[H`
|
3696
3715
|
:host {
|
3697
3716
|
--mdc-statictoggle-width: 3rem;
|
3698
3717
|
--mdc-statictoggle-height: 1.5rem;
|
@@ -3789,7 +3808,7 @@
|
|
3789
3808
|
:host .hidden-checkmark {
|
3790
3809
|
visibility: hidden;
|
3791
3810
|
}
|
3792
|
-
`,_f=[ZE];var fs=class extends
|
3811
|
+
`,_f=[ZE];var fs=class extends or{constructor(){super();this.checked=!1;this.indicator=Sf.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===La.CHECKBOX?I`
|
3793
3812
|
<mdc-staticcheckbox
|
3794
3813
|
slot="leading-controls"
|
3795
3814
|
?checked="${this.checked}"
|
@@ -3829,14 +3848,14 @@
|
|
3829
3848
|
${this.staticToggle()} ${this.getCheckmarkIcon()}
|
3830
3849
|
</div>
|
3831
3850
|
</slot>
|
3832
|
-
`}};fs.styles=[...
|
3851
|
+
`}};fs.styles=[...or.styles,..._f],p([f({type:Boolean,reflect:!0})],fs.prototype,"checked",2),p([f({type:String,reflect:!0})],fs.prototype,"indicator",2);var Sd=fs;Sd.register(bl);var XE=Sd;var yl=G.constructTagName("menuitemradio"),El={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},If={INDICATOR:El.RADIO};var QE=H`
|
3833
3852
|
:host::part(checkmark-icon) {
|
3834
3853
|
--mdc-icon-fill-color: currentColor;
|
3835
3854
|
}
|
3836
3855
|
:host .hidden-checkmark {
|
3837
3856
|
visibility: hidden;
|
3838
3857
|
}
|
3839
|
-
`,Cf=[QE];var vs=class extends
|
3858
|
+
`,Cf=[QE];var vs=class extends or{constructor(){super();this.checked=!1;this.indicator=If.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${ai}, ${Xt}`);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===El.RADIO?I`
|
3840
3859
|
<mdc-staticradio
|
3841
3860
|
slot="leading-controls"
|
3842
3861
|
?checked="${this.checked}"
|
@@ -3869,7 +3888,7 @@
|
|
3869
3888
|
${this.renderCheckmarkIcon()}
|
3870
3889
|
</div>
|
3871
3890
|
</slot>
|
3872
|
-
`}};vs.styles=[...
|
3891
|
+
`}};vs.styles=[...or.styles,...Cf],p([f({type:Boolean,reflect:!0})],vs.prototype,"checked",2),p([f({type:String,reflect:!0})],vs.prototype,"indicator",2);var _d=vs;_d.register(yl);var JE=_d;var Di=G.constructTagName("navmenuitem"),kf={DOT:Xe.DOT,COUNTER:Xe.COUNTER},wf={RIGHT_ARROW:"arrow-right-bold"},Nf={MAX_COUNTER:99,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:gt.SPAN,SIZE:Zi[24],VARIANT:Mr.FLEXIBLE};var tT=H`
|
3873
3892
|
:host::part(popover-content) {
|
3874
3893
|
padding: 0.75rem 0.5rem;
|
3875
3894
|
}
|
@@ -3975,8 +3994,8 @@
|
|
3975
3994
|
part="vertical-divider"
|
3976
3995
|
orientation=${vo.VERTICAL}
|
3977
3996
|
variant=${va.GRADIENT}
|
3978
|
-
arrow-direction=${this.expanded?
|
3979
|
-
button-position=${
|
3997
|
+
arrow-direction=${this.expanded?er.NEGATIVE:er.POSITIVE}
|
3998
|
+
button-position=${er.POSITIVE}
|
3980
3999
|
>
|
3981
4000
|
<mdc-button
|
3982
4001
|
part="vertical-divider-button"
|
@@ -4158,7 +4177,7 @@
|
|
4158
4177
|
left: -0.75rem;
|
4159
4178
|
top: 0.875rem;
|
4160
4179
|
}
|
4161
|
-
`,...xt()],Of=sT;var
|
4180
|
+
`,...xt()],Of=sT;var sr=class extends te(or){constructor(){super();this.maxCounter=Nf.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=Ir.consume({host:this,context:Eo.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()===Xt)return!0;t=t.parentElement}return!1}modifyIconName(t){if(!this.iconName)return;let o=this.iconName.endsWith("-filled"),a=Qi(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 I`
|
4162
4181
|
<mdc-text
|
4163
4182
|
type=${this.active?st.BODY_MIDSIZE_BOLD:st.BODY_MIDSIZE_MEDIUM}
|
4164
4183
|
tagname=${gt.SPAN}
|
@@ -4183,7 +4202,7 @@
|
|
4183
4202
|
</div>
|
4184
4203
|
${this.showLabel?I`${this.renderTextLabel(this.label)}${this.renderBadge(this.showLabel)}`:j}
|
4185
4204
|
${t!=null&&t.hasSiblingWithTriggerId(this)?this.renderArrowIcon(this.showLabel):j}
|
4186
|
-
`}};
|
4205
|
+
`}};sr.styles=[...or.styles,...Of],p([f({type:Boolean,reflect:!0})],sr.prototype,"active",2),p([f({type:String,reflect:!0,attribute:"badge-type"})],sr.prototype,"badgeType",2),p([f({type:Number,reflect:!0})],sr.prototype,"counter",2),p([f({type:Number,attribute:"max-counter",reflect:!0})],sr.prototype,"maxCounter",2),p([f({type:String,reflect:!0,attribute:"nav-id"})],sr.prototype,"navId",2),p([f({type:Boolean,reflect:!0,attribute:"show-label"})],sr.prototype,"showLabel",2),p([f({type:String,attribute:"aria-label"})],sr.prototype,"ariaLabel",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],sr.prototype,"disableAriaCurrent",2);var wd=sr;wd.register(Di);var aT=wd;var Pf=G.constructTagName("optgroup"),Nd="header-id";var nT=H`
|
4187
4206
|
:host {
|
4188
4207
|
--mdc-optgroup-disabled-color: var(--mds-color-theme-text-primary-disabled);
|
4189
4208
|
}
|
@@ -4348,7 +4367,7 @@
|
|
4348
4367
|
border: var(--mdc-progressbar-border);
|
4349
4368
|
}
|
4350
4369
|
}
|
4351
|
-
`],Uf=mT;var Ao=class extends re(
|
4370
|
+
`],Uf=mT;var Ao=class extends re(rr){constructor(){super(...arguments);this.variant=Bf.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 I`
|
4352
4371
|
<div
|
4353
4372
|
part="progress-container ${o?"gap":""}"
|
4354
4373
|
role="${tt.PROGRESSBAR}"
|
@@ -4368,7 +4387,7 @@
|
|
4368
4387
|
</div>
|
4369
4388
|
${this.renderProgressbar()} ${this.renderHelperText()}
|
4370
4389
|
`}
|
4371
|
-
`}};Ao.styles=[...
|
4390
|
+
`}};Ao.styles=[...rr.styles,...Uf],p([f({type:String,reflect:!0})],Ao.prototype,"variant",2),p([f({type:String,reflect:!0})],Ao.prototype,"value",2),p([f({type:Boolean,attribute:"error"})],Ao.prototype,"error",2);var Oa=Ao;Oa.register(Vf);var uT=Oa;var Hf=G.constructTagName("progressspinner"),Qt={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"},Pd={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var Dd=l=>{if(l===0)return 0;let i=l/100*Qt.CIRCUMFERENCE-Qt.GAP_SIZE;return Math.max(i,.1*l)},Gf=l=>{let i=Qt.CIRCUMFERENCE-Dd(l)-2*Qt.GAP_SIZE;return l===0?Qt.CIRCUMFERENCE:i<0?0:i},Yf=l=>l===0?0:Qt.GAP_SIZE*.5,Wf=(l,i)=>{let t=i+Qt.GAP_SIZE*1.5;return l===0?0:t};var fT=H`
|
4372
4391
|
:host {
|
4373
4392
|
--mdc-spinner-size: 3rem;
|
4374
4393
|
--mdc-track-color: var(--mds-color-theme-control-indicator-inactive-normal);
|
@@ -5155,7 +5174,7 @@
|
|
5155
5174
|
:host([status='error-incomplete']:active) {
|
5156
5175
|
--mdc-stepperitem-help-text-color: var(--mds-color-theme-text-error-active);
|
5157
5176
|
}
|
5158
|
-
`,hv=[Et,FT,...xt()];var di=class extends
|
5177
|
+
`,hv=[Et,FT,...xt()];var di=class extends Ze(W){constructor(){super();this.variant=Xd.VARIANT;this.status=Xd.STATUS;this.label="";this.stepperContext=Ir.consume({host:this,context:_o.Context});this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this))}updated(t){var a;super.updated(t);let o=(a=this.stepperContext)==null?void 0:a.value;!o||!o.variant||(this.variant=o.variant)}connectedCallback(){super.connectedCallback(),this.role=tt.LISTITEM}handleKeyDown(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===J.ENTER&&this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleKeyUp(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===J.SPACE&&this.triggerClickEvent())}renderStatusIcon(){return this.status===ci.COMPLETED?I`<mdc-icon part="status-icon" name=${Cl.COMPLETED} length-unit="rem" size="1"></mdc-icon>`:this.status===ci.ERROR_CURRENT||this.status===ci.CURRENT?I`<mdc-icon part="status-icon" name=${Cl.PENCIL} length-unit="rem" size="1"></mdc-icon>`:this.stepNumber&&(this.status===ci.NOT_STARTED||this.status===ci.ERROR_INCOMPLETE)?I`<mdc-text part="step-number" tagname=${gt.SPAN} type=${st.BODY_MIDSIZE_REGULAR}
|
5159
5178
|
>${this.stepNumber}</mdc-text
|
5160
5179
|
>`:j}renderHelpText(){if(!this.helpText)return j;let t=I`<mdc-text
|
5161
5180
|
part="help-text"
|
@@ -5427,7 +5446,7 @@
|
|
5427
5446
|
<slot name="chip"></slot>
|
5428
5447
|
</div>
|
5429
5448
|
<div part="indicator"></div>
|
5430
|
-
`}};$i.styles=[...pe.styles,...mv],p([f({type:Boolean,reflect:!0})],$i.prototype,"active",2),p([f({type:String,reflect:!0})],$i.prototype,"text",2),p([f({type:String,reflect:!0})],$i.prototype,"variant",2),p([f({type:String,reflect:!0,attribute:"tab-id"})],$i.prototype,"tabId",2);var
|
5449
|
+
`}};$i.styles=[...pe.styles,...mv],p([f({type:Boolean,reflect:!0})],$i.prototype,"active",2),p([f({type:String,reflect:!0})],$i.prototype,"text",2),p([f({type:String,reflect:!0})],$i.prototype,"variant",2),p([f({type:String,reflect:!0,attribute:"tab-id"})],$i.prototype,"tabId",2);var ar=$i;ar.register(pv);var VT=ar;var BT=[_n,H`
|
5431
5450
|
:host {
|
5432
5451
|
--mdc-tablist-focus-ring-outer-width: var(--mdc-focus-ring-outer-width);
|
5433
5452
|
--mdc-tablist-gap: 0.5rem;
|
@@ -5457,7 +5476,7 @@
|
|
5457
5476
|
:host mdc-button[prefix-icon='arrow-right-regular'] {
|
5458
5477
|
margin-left: var(--mdc-tablist-arrow-button-margin);
|
5459
5478
|
}
|
5460
|
-
`],uv=[...BT];var fv=G.constructTagName("tablist"),Va={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Ts={FORWARD:"forward",BACKWARD:"backward"};var Rl=l=>l[0],eh=l=>l[l.length-1],vv=(l,i)=>{let t=l.findIndex(o=>i===o)-1;return l[(t+l.length)%l.length]},gv=(l,i)=>{let t=l.findIndex(o=>i===o)+1;return l[t%l.length]},bv=(l,i)=>l.find(t=>t.tabId===i),rh=l=>l.find(i=>i.active);var yr=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(E=>E.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=Rl(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=bv(this.tabs,this.activeTabId);if(!(o instanceof
|
5479
|
+
`],uv=[...BT];var fv=G.constructTagName("tablist"),Va={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Ts={FORWARD:"forward",BACKWARD:"backward"};var Rl=l=>l[0],eh=l=>l[l.length-1],vv=(l,i)=>{let t=l.findIndex(o=>i===o)-1;return l[(t+l.length)%l.length]},gv=(l,i)=>{let t=l.findIndex(o=>i===o)+1;return l[t%l.length]},bv=(l,i)=>l.find(t=>t.tabId===i),rh=l=>l.find(i=>i.active);var yr=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(E=>E.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=Rl(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=bv(this.tabs,this.activeTabId);if(!(o instanceof ar))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 ar||!(t.target instanceof ar))return;let o=rh(this.tabs||[]);o instanceof ar&&await this.focusTab(o)}handleMousedown(t){t.target instanceof ar&&t.preventDefault()}async handleNestedTabActiveChange(t){t.stopPropagation();let o=t.target;o instanceof ar&&(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 ar&&(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 ar)||!this.tabs)return;let a=vv(this.tabs,o),h=gv(this.tabs,o),m=Rl(this.tabs),E=eh(this.tabs);switch(t.code){case Va.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?h:a);break;case Va.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?a:h);break;case Va.HOME:await this.focusTab(m);break;case Va.END:await this.focusTab(E);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=rh(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((o=this.notFocusedArrowButton)==null||o.focus())}async handleArrowButtonVisibility(){var q,nt,Q;if(!this.tabs||!this.tabsContainer)return;let t=!1;((q=this.shadowRoot)==null?void 0:q.activeElement)instanceof Ji&&(t=!0);let o=Rl(this.tabs),a=eh(this.tabs),h=o.getBoundingClientRect().left,m=(nt=this.tabsContainer)==null?void 0:nt.getBoundingClientRect().left,E=a.getBoundingClientRect().right,N=(Q=this.tabsContainer)==null?void 0:Q.getBoundingClientRect().right,$=o.getBoundingClientRect().right,K=a.getBoundingClientRect().left;if(!this.isRtl()){h<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,E>N?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}$>N?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,K<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=>I` ${this.shouldShowArrowButton(h)?I`<mdc-button
|
5461
5480
|
variant="tertiary"
|
5462
5481
|
prefix-icon="arrow-${h===Ts.FORWARD?t:o}-regular"
|
5463
5482
|
aria-label="Scroll tabs ${h===Ts.FORWARD?t:o}"
|
@@ -5585,7 +5604,7 @@
|
|
5585
5604
|
opacity: 0;
|
5586
5605
|
pointer-events: none;
|
5587
5606
|
}
|
5588
|
-
`,...xt(!0)],Tv=HT;var ve=class extends Me(De(re(
|
5607
|
+
`,...xt(!0)],Tv=HT;var ve=class extends Me(De(re(rr))){constructor(){super(...arguments);this.readonly=!1;this.rows=Ml.ROWS;this.cols=Ml.COLS;this.wrap=oh.SOFT;this.autocapitalize=ml.OFF;this.autocomplete=Ev.OFF;this.characterLimitExceedingFired=!1}get textarea(){return this.inputElement}connectedCallback(){var t;super.connectedCallback(),this.value=((t=this.textContent)==null?void 0:t.trim())||this.value,this.updateComplete.then(()=>{this.textarea&&(this.textarea.checkValidity(),this.setTextareaValidity(),this.internals.setFormValue(this.textarea.value))}).catch(o=>{this.onerror&&this.onerror(o)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===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?I`
|
5589
5608
|
<mdc-text part="character-counter" tagname="span" type=${Ml.CHARACTER_COUNTER_TYPE}>
|
5590
5609
|
${this.value.length<10?`0${this.value.length}`:this.value.length}/${this.maxCharacterLimit}
|
5591
5610
|
</mdc-text>
|
@@ -5617,7 +5636,7 @@
|
|
5617
5636
|
></textarea>
|
5618
5637
|
</div>
|
5619
5638
|
${this.renderTextareaFooter()}
|
5620
|
-
`}};ve.styles=[...
|
5639
|
+
`}};ve.styles=[...rr.styles,...Tv],p([f({type:String})],ve.prototype,"placeholder",2),p([f({type:Boolean})],ve.prototype,"readonly",2),p([f({type:Number})],ve.prototype,"rows",2),p([f({type:Number})],ve.prototype,"cols",2),p([f({type:String})],ve.prototype,"wrap",2),p([f({type:String})],ve.prototype,"autocapitalize",2),p([f({type:String})],ve.prototype,"autocomplete",2),p([f({type:String})],ve.prototype,"dirname",2),p([f({type:Number})],ve.prototype,"maxlength",2),p([f({type:Number})],ve.prototype,"minlength",2),p([f({type:Number,attribute:"max-character-limit"})],ve.prototype,"maxCharacterLimit",2),p([Yr("textarea")],ve.prototype,"inputElement",2);var sh=ve;sh.register(yv);var GT=sh;var YT=[H`
|
5621
5640
|
:host {
|
5622
5641
|
display: block;
|
5623
5642
|
position: relative;
|
@@ -5669,7 +5688,7 @@
|
|
5669
5688
|
* {
|
5670
5689
|
scrollbar-color: var(--mdc-themeprovider-scrollbar-thumb-color) var(--mdc-themeprovider-scrollbar-track-color);
|
5671
5690
|
}
|
5672
|
-
`,Sv=[jT];var xs=class extends _r{constructor(){super({context:Dl.context,initialValue:new Dl(nh.THEMECLASS)});this.themeclass=nh.THEMECLASS}static get Context(){return Dl.context}updated(t){super.updated(t),t.has("themeclass")&&(this.setThemeInClassList(),this.currentThemeClass=this.themeclass)}updateContext(){this.context.value.themeclass!==this.themeclass&&(this.context.value.themeclass=this.themeclass,this.context.updateObservers())}setThemeInClassList(){this.currentThemeClass&&this.classList.remove(...this.currentThemeClass.split(" ")),this.themeclass&&this.classList.add(...this.themeclass.split(" "))}};xs.styles=[..._r.styles,...Sv],p([At()],xs.prototype,"currentThemeClass",2),p([f({type:String})],xs.prototype,"themeclass",2);var lh=xs;lh.register(Ol);var KT=lh;var _v=G.constructTagName("toast"),Ba={CUSTOM:"custom",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Fl={SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},Fe={HEADER_TAG_NAME:"h2",CANCEL_ICON:"cancel-bold",ARROW_UP_BOLD:"arrow-up-bold",ARROW_DOWN_BOLD:"arrow-down-bold",PREFIX_ICON_SIZE:1.5,CLOSE_ICON_SIZE:
|
5691
|
+
`,Sv=[jT];var xs=class extends _r{constructor(){super({context:Dl.context,initialValue:new Dl(nh.THEMECLASS)});this.themeclass=nh.THEMECLASS}static get Context(){return Dl.context}updated(t){super.updated(t),t.has("themeclass")&&(this.setThemeInClassList(),this.currentThemeClass=this.themeclass)}updateContext(){this.context.value.themeclass!==this.themeclass&&(this.context.value.themeclass=this.themeclass,this.context.updateObservers())}setThemeInClassList(){this.currentThemeClass&&this.classList.remove(...this.currentThemeClass.split(" ")),this.themeclass&&this.classList.add(...this.themeclass.split(" "))}};xs.styles=[..._r.styles,...Sv],p([At()],xs.prototype,"currentThemeClass",2),p([f({type:String})],xs.prototype,"themeclass",2);var lh=xs;lh.register(Ol);var KT=lh;var _v=G.constructTagName("toast"),Ba={CUSTOM:"custom",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Fl={SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},Fe={HEADER_TAG_NAME:"h2",CANCEL_ICON:"cancel-bold",ARROW_UP_BOLD:"arrow-up-bold",ARROW_DOWN_BOLD:"arrow-down-bold",PREFIX_ICON_SIZE:1.5,CLOSE_ICON_SIZE:qe[20],BUTTON:Wr,PRIMARY_BUTTON:Pt.PRIMARY,SECONDARY_BUTTON:Pt.SECONDARY,TERTIARY_BUTTON:Pt.TERTIARY,VARIANT:Ba.CUSTOM};var Iv=l=>{switch(l){case Ba.SUCCESS:return Fl.SUCCESS_ICON_NAME;case Ba.WARNING:return Fl.WARNING_ICON_NAME;case Ba.ERROR:return Fl.ERROR_ICON_NAME;default:return null}};var qT=H`
|
5673
5692
|
:host {
|
5674
5693
|
--mdc-toast-background-color: var(--mds-color-theme-background-solid-primary-normal);
|
5675
5694
|
--mdc-toast-border-color: var(--mds-color-theme-outline-primary-normal);
|
@@ -5894,7 +5913,7 @@
|
|
5894
5913
|
:host([disabled]) .mdc-help-text {
|
5895
5914
|
color: var(--mdc-toggle-label-color-disabled);
|
5896
5915
|
}
|
5897
|
-
`,...xt(!0)],kv=XT;var As=class extends Me(De(re(
|
5916
|
+
`,...xt(!0)],kv=XT;var As=class extends Me(De(re(rr))){constructor(){super(...arguments);this.checked=!1;this.size=Ad.SIZE}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.checked=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}setFormValue(){let t=null;this.checked?t=this.value?this.value:"isActive":t=null,this.manageRequired(),this.internals.setFormValue(t)}toggleState(){this.disabled||(this.checked=!this.checked)}handleKeyDown(t){var 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(Na).includes(t)?t:Ad.SIZE)}update(t){super.update(t),t.has("checked")&&this.setFormValue(),t.has("size")&&this.setToggleSize(this.size)}render(){var t;return I`
|
5898
5917
|
<mdc-statictoggle
|
5899
5918
|
?checked="${this.checked}"
|
5900
5919
|
?disabled="${this.disabled}"
|
@@ -5921,7 +5940,7 @@
|
|
5921
5940
|
/>
|
5922
5941
|
</mdc-statictoggle>
|
5923
5942
|
${this.renderLabel()} ${this.renderHelperText()}
|
5924
|
-
`}};As.styles=[...
|
5943
|
+
`}};As.styles=[...rr.styles,...kv],p([f({type:Boolean,reflect:!0})],As.prototype,"checked",2),p([f({type:String,reflect:!0})],As.prototype,"size",2);var dh=As;dh.register(Af);var QT=dh;function Co(l,i,t){var h;let o=(h=t.initialDeps)!=null?h:[],a;return()=>{var m,E,N,$;let K;t.key&&((m=t.debug)!=null&&m.call(t))&&(K=Date.now());let q=l();if(!(q.length!==o.length||q.some((rt,dt)=>o[dt]!==rt)))return a;o=q;let Q;if(t.key&&((E=t.debug)!=null&&E.call(t))&&(Q=Date.now()),a=i(...q),t.key&&((N=t.debug)!=null&&N.call(t))){let rt=Math.round((Date.now()-K)*100)/100,dt=Math.round((Date.now()-Q)*100)/100,ut=dt/16,Tt=(St,kt)=>{for(St=String(St);St.length<kt;)St=" "+St;return St};console.info(`%c\u23F1 ${Tt(dt,5)} /${Tt(rt,5)} ms`,`
|
5925
5944
|
font-size: .6rem;
|
5926
5945
|
font-weight: bold;
|
5927
5946
|
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 $l(l,i){if(l===void 0)throw new Error(`Unexpected undefined${i?`: ${i}`:""}`);return l}var wv=(l,i)=>Math.abs(l-i)<1,Nv=(l,i,t)=>{let o;return function(...a){l.clearTimeout(o),o=l.setTimeout(()=>i.apply(this,a),t)}};var JT=l=>l,tx=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},Rv=(l,i)=>{let t=l.scrollElement;if(!t)return;let o=l.targetWindow;if(!o)return;let a=m=>{let{width:E,height:N}=m;i({width:Math.round(E),height:Math.round(N)})};if(a(t.getBoundingClientRect()),!o.ResizeObserver)return()=>{};let h=new o.ResizeObserver(m=>{let E=m[0];if(E!=null&&E.borderBoxSize){let N=E.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)}},Lv={passive:!0};var ex=typeof window>"u"?!0:"onscrollend"in window,Mv=(l,i)=>{let t=l.scrollElement;if(!t)return;let o=l.targetWindow;if(!o)return;let a=0,h=l.options.useScrollendEvent&&ex?()=>{}:Nv(o,()=>{i(a,!1)},l.options.isScrollingResetDelay),m=$=>()=>{let{horizontal:K,isRtl:q}=l.options;a=K?t.scrollLeft*(q&&-1||1):t.scrollTop,h(),i(a,$)},E=m(!0),N=m(!1);return N(),t.addEventListener("scroll",E,Lv),t.addEventListener("scrollend",N,Lv),()=>{t.removeEventListener("scroll",E),t.removeEventListener("scrollend",N)}};var rx=(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 Ov=(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})},zl=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:JT,rangeExtractor:tx,onChange:()=>{},measureElement:rx,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 E=t[m];if(a.has(E.lane))continue;let N=h.get(E.lane);if(N==null||E.end>N.end?h.set(E.lane,E):E.end<N.end&&a.set(E.lane,!0),a.size===this.options.lanes)break}return h.size===this.options.lanes?Array.from(h.values()).sort((m,E)=>m.end===E.end?m.index-E.index:m.end-E.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},E)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(K=>{this.itemSizeCache.set(K.key,K.size)}));let N=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let $=this.measurementsCache.slice(0,N);for(let K=N;K<t;K++){let q=h(K),nt=this.options.lanes===1?$[K-1]:this.getFurthestMeasurement($,K),Q=nt?nt.end+this.options.gap:o+a,rt=E.get(q),dt=typeof rt=="number"?rt:this.options.estimateSize(K),ut=Q+dt,Tt=nt?nt.lane:K%this.options.lanes;$[K]={index:K,start:Q,size:dt,end:ut,key:q,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?ix({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,E=this.elementsCache.get(m);E!==t&&(E&&this.observer.unobserve(E),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 E;let a=this.measurementsCache[t];if(!a)return;let h=(E=this.itemSizeCache.get(a.key))!=null?E: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 E=t[h],N=o[E];a.push(N)}return a},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let o=this.getMeasurements();if(o.length!==0)return $l(o[Pv(0,o.length-1,a=>$l(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 E=a.start-this.options.scrollPaddingStart+(a.size-h)/2;switch(o){case"center":return[this.getOffsetForAlignment(E,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,E]=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[$]=$l(this.getOffsetForIndex(t,E));wv($,this.getScrollOffset())||this.scrollToIndex(t,{align:E,behavior:a})}else this.scrollToIndex(t,{align:E,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)}},Pv=(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 ix({measurements:l,outerSize:i,scrollOffset:t}){let o=l.length-1,h=Pv(0,o,E=>l[E].start,t),m=h;for(;m<o&&l[m].end<t+i;)m++;return{startIndex:h,endIndex:m}}var hh=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 zl(o)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},Vl=class extends hh{constructor(i,t){super(i,{observeElementRect:Rv,observeElementOffset:Mv,scrollToFn:Ov,...t})}};var ox=[H`
|
@@ -5948,7 +5967,7 @@
|
|
5948
5967
|
display: block;
|
5949
5968
|
}
|
5950
5969
|
`,Bv=[lx];var Rt=class extends W{constructor(){super(...arguments);this.range=!1;this.min=0;this.max=100;this.step=1;this.valueLabel="";this.valueLabelStart="";this.valueLabelEnd="";this.ariaLabelStart="";this.ariaValuetextStart="";this.ariaLabelEnd="";this.ariaValuetextEnd="";this.dataAriaValuetext="";this.dataAriaLabel=""}render(){return I`<p>This is a dummy slider component!</p>
|
5951
|
-
<slot></slot>`}};Rt.styles=[...W.styles,...Bv],p([f({type:Boolean})],Rt.prototype,"range",2),p([f({type:Boolean})],Rt.prototype,"disabled",2),p([f({type:Boolean,attribute:"soft-disabled"})],Rt.prototype,"softDisabled",2),p([f({type:String,attribute:"leading-icon"})],Rt.prototype,"leadingIcon",2),p([f({type:String,attribute:"trailing-icon"})],Rt.prototype,"trailingIcon",2),p([f({type:Number})],Rt.prototype,"min",2),p([f({type:Number})],Rt.prototype,"max",2),p([f({type:Number})],Rt.prototype,"value",2),p([f({type:Number,attribute:"value-start"})],Rt.prototype,"valueStart",2),p([f({type:Number,attribute:"value-end"})],Rt.prototype,"valueEnd",2),p([f({type:Number})],Rt.prototype,"step",2),p([f({type:String})],Rt.prototype,"label",2),p([f({type:String,attribute:"label-start"})],Rt.prototype,"labelStart",2),p([f({type:String,attribute:"label-end"})],Rt.prototype,"labelEnd",2),p([f({type:String,attribute:"value-label"})],Rt.prototype,"valueLabel",2),p([f({type:String,attribute:"value-label-start"})],Rt.prototype,"valueLabelStart",2),p([f({type:String,attribute:"value-label-end"})],Rt.prototype,"valueLabelEnd",2),p([f({type:String,attribute:"aria-label-start"})],Rt.prototype,"ariaLabelStart",2),p([f({type:String,attribute:"aria-valuetext-start"})],Rt.prototype,"ariaValuetextStart",2),p([f({type:String,attribute:"aria-label-end"})],Rt.prototype,"ariaLabelEnd",2),p([f({type:String,attribute:"aria-valuetext-end"})],Rt.prototype,"ariaValuetextEnd",2),p([f({type:String})],Rt.prototype,"name",2),p([f({type:String,attribute:"name-start"})],Rt.prototype,"nameStart",2),p([f({type:String,attribute:"name-end"})],Rt.prototype,"nameEnd",2),p([f({type:String,attribute:"data-aria-valuetext"})],Rt.prototype,"dataAriaValuetext",2),p([f({type:String,attribute:"data-aria-label"})],Rt.prototype,"dataAriaLabel",2);var uh=Rt;var Uv=G.constructTagName("slider");uh.register(Uv);var cx=uh;var Hv=l=>{class i extends l{constructor(...a){super(...a);this.handleItemCreation=a=>{let h=a.target;h&&h.addEventListener(
|
5970
|
+
<slot></slot>`}};Rt.styles=[...W.styles,...Bv],p([f({type:Boolean})],Rt.prototype,"range",2),p([f({type:Boolean})],Rt.prototype,"disabled",2),p([f({type:Boolean,attribute:"soft-disabled"})],Rt.prototype,"softDisabled",2),p([f({type:String,attribute:"leading-icon"})],Rt.prototype,"leadingIcon",2),p([f({type:String,attribute:"trailing-icon"})],Rt.prototype,"trailingIcon",2),p([f({type:Number})],Rt.prototype,"min",2),p([f({type:Number})],Rt.prototype,"max",2),p([f({type:Number})],Rt.prototype,"value",2),p([f({type:Number,attribute:"value-start"})],Rt.prototype,"valueStart",2),p([f({type:Number,attribute:"value-end"})],Rt.prototype,"valueEnd",2),p([f({type:Number})],Rt.prototype,"step",2),p([f({type:String})],Rt.prototype,"label",2),p([f({type:String,attribute:"label-start"})],Rt.prototype,"labelStart",2),p([f({type:String,attribute:"label-end"})],Rt.prototype,"labelEnd",2),p([f({type:String,attribute:"value-label"})],Rt.prototype,"valueLabel",2),p([f({type:String,attribute:"value-label-start"})],Rt.prototype,"valueLabelStart",2),p([f({type:String,attribute:"value-label-end"})],Rt.prototype,"valueLabelEnd",2),p([f({type:String,attribute:"aria-label-start"})],Rt.prototype,"ariaLabelStart",2),p([f({type:String,attribute:"aria-valuetext-start"})],Rt.prototype,"ariaValuetextStart",2),p([f({type:String,attribute:"aria-label-end"})],Rt.prototype,"ariaLabelEnd",2),p([f({type:String,attribute:"aria-valuetext-end"})],Rt.prototype,"ariaValuetextEnd",2),p([f({type:String})],Rt.prototype,"name",2),p([f({type:String,attribute:"name-start"})],Rt.prototype,"nameStart",2),p([f({type:String,attribute:"name-end"})],Rt.prototype,"nameEnd",2),p([f({type:String,attribute:"data-aria-valuetext"})],Rt.prototype,"dataAriaValuetext",2),p([f({type:String,attribute:"data-aria-label"})],Rt.prototype,"dataAriaLabel",2);var uh=Rt;var Uv=G.constructTagName("slider");uh.register(Uv);var cx=uh;var Hv=l=>{class i extends l{constructor(...a){super(...a);this.handleItemCreation=a=>{let h=a.target;h&&h.addEventListener(ir.DESTROYED,this.handleItemRemovedEvent)};this.handleItemRemovedEvent=a=>{if(a.stopImmediatePropagation(),a.target&&a.type===ir.DESTROYED){a.target.removeEventListener(ir.DESTROYED,this.handleItemRemovedEvent);let h=new Event(a.type,{bubbles:a.bubbles,composed:a.composed});Object.defineProperty(h,"target",{set(){},get:()=>a.target}),this.dispatchEvent(h)}};this.addEventListener(ir.CREATED,this.handleItemCreation)}}return i};var Gv=l=>{class i extends l{constructor(...a){super(...a);this.loop=!0;this.propagateAllKeyEvents=!1;this.handleNavigationKeyDown=a=>{let h=!1,m=a.target,E=this.getCurrentIndex(m);if(E===-1)return;this.resetTabIndexes(E);let N=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(a.key,N)){case J.HOME:{this.resetTabIndexAndSetFocus(0,E),h=!0;break}case J.END:{this.resetTabIndexAndSetFocus(this.navItems.length-1,E),h=!0;break}case J.ARROW_DOWN:{let K=this.loop?0:E,q=E+1===this.navItems.length?K:E+1;this.resetTabIndexAndSetFocus(q,E),h=!0;break}case J.ARROW_UP:{let K=this.loop?this.navItems.length-1:E,q=E-1===-1?K:E-1;this.resetTabIndexAndSetFocus(q,E),h=!0;break}default:break}h&&!this.propagateAllKeyEvents&&(a.stopPropagation(),a.preventDefault())};this.handleNavigationClick=a=>{let h=this.getCurrentIndex(a.target);this.resetTabIndexes(h)};this.addEventListener("keydown",this.handleNavigationKeyDown),this.addEventListener("click",this.handleNavigationClick)}async firstUpdated(a){super.firstUpdated(a),this.resetTabIndexAndSetFocus(0,void 0,!1)}getCurrentIndex(a){return this.navItems.findIndex(h=>h===a)}resetTabIndexes(a){if(this.navItems.length>0){this.navItems.forEach(m=>m.setAttribute("tabindex","-1"));let h=this.navItems[a]?a:0;this.navItems[h].setAttribute("tabindex","0"),this.navItems[h].focus()}}resetTabIndexAndSetFocus(a,h,m=!0){let{navItems:E}=this;if(E.length===0)return;let N=E[a]?a:0,$=E[N];a===h&&$&&$.getAttribute("tabindex")==="0"||(h!==void 0&&E[h]&&E[h].setAttribute("tabindex","-1"),$.setAttribute("tabindex","0"),m&&$.focus())}resolveDirectionKey(a,h){if(!h)return a;switch(a){case J.ARROW_LEFT:return J.ARROW_RIGHT;case J.ARROW_RIGHT:return J.ARROW_LEFT;default:return a}}}return i};var Yv=(l,i)=>!!(l.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING);var dx=l=>!!l,Ul=class{constructor(i,t){this.cache=[];this.itemCreationHandler=i=>{this.addItem(i.target,void 0)};this.itemDestroyHandler=i=>{this.delete(i.target)};this.host=i,i.addController(this),this.isValidItem=(t==null?void 0:t.isValidItem)||dx,this.host.addEventListener(ir.CREATED,this.itemCreationHandler),this.host.addEventListener(ir.DESTROYED,this.itemDestroyHandler)}get items(){return this.cache}hostConnected(){}hostDisconnected(){}add(i){this.addItem(i,void 0)}addAt(i,t){this.addItem(i,t)}addItem(i,t=void 0){let o=i;if(this.isValidItem(o)&&!this.cache.includes(o)){let a=t===void 0?this.cache.findIndex(h=>Yv(o,h)):t;a===-1?this.cache.push(o):a>=0&&this.cache.splice(a,0,o)}}delete(i){let t=this.cache.indexOf(i);t!==-1&&this.cache.splice(t,1)}reset(i){this.cache.length=0,this.cache.push(...i||[])}};var hx=H`
|
5952
5971
|
:host {
|
5953
5972
|
--mdc-listbox-max-height: auto;
|
5954
5973
|
|