@momentum-design/components 0.73.0 → 0.73.1
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 +190 -190
- package/dist/browser/index.js.map +4 -4
- package/dist/components/menuitemcheckbox/menuitemcheckbox.component.d.ts +2 -1
- package/dist/components/menuitemcheckbox/menuitemcheckbox.component.js +2 -1
- package/dist/components/menuitemcheckbox/menuitemcheckbox.constants.d.ts +1 -5
- package/dist/components/menuitemcheckbox/menuitemcheckbox.constants.js +2 -5
- package/dist/components/menuitemcheckbox/menuitemcheckbox.types.d.ts +2 -3
- package/dist/components/menuitemradio/menuitemradio.component.d.ts +2 -2
- package/dist/components/menuitemradio/menuitemradio.component.js +1 -1
- package/dist/components/menuitemradio/menuitemradio.constants.d.ts +1 -5
- package/dist/components/menuitemradio/menuitemradio.constants.js +1 -5
- package/dist/components/menuitemradio/menuitemradio.types.d.ts +1 -4
- package/dist/components/menusection/index.d.ts +7 -0
- package/dist/components/menusection/index.js +4 -0
- package/dist/components/menusection/menusection.component.d.ts +58 -0
- package/dist/components/menusection/menusection.component.js +115 -0
- package/dist/components/menusection/menusection.constants.d.ts +6 -0
- package/dist/components/menusection/menusection.constants.js +7 -0
- package/dist/components/menusection/menusection.types.d.ts +4 -0
- package/dist/components/menusection/menusection.types.js +1 -0
- package/dist/custom-elements.json +37 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +1 -0
- package/dist/react/menusection/index.d.ts +16 -0
- package/dist/react/menusection/index.js +25 -0
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
"use strict";(()=>{var cf=Object.create;var na=Object.defineProperty;var _d=Object.getOwnPropertyDescriptor;var df=Object.getOwnPropertyNames;var hf=Object.getPrototypeOf,mf=Object.prototype.hasOwnProperty;var pf=(l,o)=>()=>(o||l((o={exports:{}}).exports,o),o.exports),uf=(l,o)=>{for(var e in o)na(l,e,{get:o[e],enumerable:!0})},ff=(l,o,e,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of df(o))!mf.call(l,n)&&n!==e&&na(l,n,{get:()=>o[n],enumerable:!(s=_d(o,n))||s.enumerable});return l};var vf=(l,o,e)=>(e=l!=null?cf(hf(l)):{},ff(o||!l||!l.__esModule?na(e,"default",{value:l,enumerable:!0}):e,l));var y=(l,o,e,s)=>{for(var n=s>1?void 0:s?_d(o,e):o,h=l.length-1,f;h>=0;h--)(f=l[h])&&(n=(s?f(o,e,n):f(n))||n);return s&&n&&na(o,e,n),n};var ou=pf((Vs,wn)=>{typeof navigator<"u"&&function(l,o){typeof Vs=="object"&&typeof wn<"u"?wn.exports=o():typeof define=="function"&&define.amd?define(o):(l=typeof globalThis<"u"?globalThis:l||self,l.lottie=o())}(Vs,function(){"use strict";var l="http://www.w3.org/2000/svg",o="",e=!1,s=-999999,n=function(r){e=!!r},h=function(){return e},f=function(r){o=r},S=function(){return o};function M(t){return document.createElement(t)}function B(t,r){var i,a=t.length,d;for(i=0;i<a;i+=1){d=t[i].prototype;for(var c in d)Object.prototype.hasOwnProperty.call(d,c)&&(r.prototype[c]=d[c])}}function G(t,r){return Object.getOwnPropertyDescriptor(t,r)}function q(t){function r(){}return r.prototype=t,r}var ot=function(){function t(r){this.audios=[],this.audioFactory=r,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(i){this.audios.push(i)},pause:function(){var i,a=this.audios.length;for(i=0;i<a;i+=1)this.audios[i].pause()},resume:function(){var i,a=this.audios.length;for(i=0;i<a;i+=1)this.audios[i].resume()},setRate:function(i){var a,d=this.audios.length;for(a=0;a<d;a+=1)this.audios[a].setRate(i)},createAudio:function(i){return this.audioFactory?this.audioFactory(i):window.Howl?new window.Howl({src:[i]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(i){this.audioFactory=i},setVolume:function(i){this._volume=i,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var i,a=this.audios.length;for(i=0;i<a;i+=1)this.audios[i].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),Q=function(){function t(i,a){var d=0,c=[],p;switch(i){case"int16":case"uint8c":p=1;break;default:p=1.1;break}for(d=0;d<a;d+=1)c.push(p);return c}function r(i,a){return i==="float32"?new Float32Array(a):i==="int16"?new Int16Array(a):i==="uint8c"?new Uint8ClampedArray(a):t(i,a)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:t}();function et(t){return Array.apply(null,{length:t})}function ct(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ct=function(i){return typeof i}:ct=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ct(t)}var bt=!0,gt=null,yt=null,St="",$t=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Mt=!1,Pt=Math.pow,ve=Math.sqrt,Qt=Math.floor,Ue=Math.max,we=Math.min,Re={};(function(){var t=["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,i=t.length;for(r=0;r<i;r+=1)Re[t[r]]=Math[t[r]]})();function He(){return{}}Re.random=Math.random,Re.abs=function(t){var r=ct(t);if(r==="object"&&t.length){var i=et(t.length),a,d=t.length;for(a=0;a<d;a+=1)i[a]=Math.abs(t[a]);return i}return Math.abs(t)};var Ge=150,Tt=Math.PI/180,de=.5519;function Oe(t){Mt=!!t}function je(t){return Mt?Math.round(t):t}function dr(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function Pe(t,r,i,a){this.type=t,this.currentTime=r,this.totalTime=i,this.direction=a<0?-1:1}function Bs(t,r){this.type=t,this.direction=r<0?-1:1}function Mc(t,r,i,a){this.type=t,this.currentLoop=i,this.totalLoops=r,this.direction=a<0?-1:1}function Nc(t,r,i){this.type=t,this.firstFrame=r,this.totalFrames=i}function Rc(t,r){this.type=t,this.target=r}function lu(t,r){this.type="renderFrameError",this.nativeError=t,this.currentTime=r}function cu(t){this.type="configError",this.nativeError=t}function h0(t,r){this.type=t,this.nativeError=r}var ge=function(){var t=0;return function(){return t+=1,St+"__lottie_element_"+t}}();function Mn(t,r,i){var a,d,c,p,x,u,k,I;switch(p=Math.floor(t*6),x=t*6-p,u=i*(1-r),k=i*(1-x*r),I=i*(1-(1-x)*r),p%6){case 0:a=i,d=I,c=u;break;case 1:a=k,d=i,c=u;break;case 2:a=u,d=i,c=I;break;case 3:a=u,d=k,c=i;break;case 4:a=I,d=u,c=i;break;case 5:a=i,d=u,c=k;break;default:break}return[a,d,c]}function Nn(t,r,i){var a=Math.max(t,r,i),d=Math.min(t,r,i),c=a-d,p,x=a===0?0:c/a,u=a/255;switch(a){case d:p=0;break;case t:p=r-i+c*(r<i?6:0),p/=6*c;break;case r:p=i-t+c*2,p/=6*c;break;case i:p=t-r+c*4,p/=6*c;break;default:break}return[p,x,u]}function Oc(t,r){var i=Nn(t[0]*255,t[1]*255,t[2]*255);return i[1]+=r,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),Mn(i[0],i[1],i[2])}function Pc(t,r){var i=Nn(t[0]*255,t[1]*255,t[2]*255);return i[2]+=r,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),Mn(i[0],i[1],i[2])}function Dc(t,r){var i=Nn(t[0]*255,t[1]*255,t[2]*255);return i[0]+=r/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),Mn(i[0],i[1],i[2])}var m0=function(){var t=[],r,i;for(r=0;r<256;r+=1)i=r.toString(16),t[r]=i.length===1?"0"+i:i;return function(a,d,c){return a<0&&(a=0),d<0&&(d=0),c<0&&(c=0),"#"+t[a]+t[d]+t[c]}}(),du=function(r){bt=!!r},hu=function(){return bt},mu=function(r){gt=r},Us=function(){return gt},p0=function(r){yt=r},Fc=function(){return yt},Hs=function(r){Ge=r},Oo=function(){return Ge},pu=function(r){St=r},u0=function(){return St};function ft(t){return document.createElementNS(l,t)}function Gs(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Gs=function(i){return typeof i}:Gs=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Gs(t)}var Po=function(){var t=1,r=[],i,a,d={onmessage:function(){},postMessage:function(L){i({data:L})}},c={postMessage:function(L){d.onmessage({data:L})}};function p(b){if(window.Worker&&window.Blob&&h()){var L=new Blob(["var _workerSelf = self; self.onmessage = ",b.toString()],{type:"text/javascript"}),O=URL.createObjectURL(L);return new Worker(O)}return i=b,d}function x(){a||(a=p(function(L){function O(){function z(Y,T){var R,m,v=Y.length,U,D,it,ht;for(m=0;m<v;m+=1)if(R=Y[m],"ks"in R&&!R.completed){if(R.completed=!0,R.hasMask){var ut=R.masksProperties;for(D=ut.length,U=0;U<D;U+=1)if(ut[U].pt.k.i)C(ut[U].pt.k);else for(ht=ut[U].pt.k.length,it=0;it<ht;it+=1)ut[U].pt.k[it].s&&C(ut[U].pt.k[it].s[0]),ut[U].pt.k[it].e&&C(ut[U].pt.k[it].e[0])}R.ty===0?(R.layers=g(R.refId,T),z(R.layers,T)):R.ty===4?E(R.shapes):R.ty===5&&vt(R)}}function w(Y,T){if(Y){var R=0,m=Y.length;for(R=0;R<m;R+=1)Y[R].t===1&&(Y[R].data.layers=g(Y[R].data.refId,T),z(Y[R].data.layers,T))}}function _(Y,T){for(var R=0,m=T.length;R<m;){if(T[R].id===Y)return T[R];R+=1}return null}function g(Y,T){var R=_(Y,T);return R?R.layers.__used?JSON.parse(JSON.stringify(R.layers)):(R.layers.__used=!0,R.layers):null}function E(Y){var T,R=Y.length,m,v;for(T=R-1;T>=0;T-=1)if(Y[T].ty==="sh")if(Y[T].ks.k.i)C(Y[T].ks.k);else for(v=Y[T].ks.k.length,m=0;m<v;m+=1)Y[T].ks.k[m].s&&C(Y[T].ks.k[m].s[0]),Y[T].ks.k[m].e&&C(Y[T].ks.k[m].e[0]);else Y[T].ty==="gr"&&E(Y[T].it)}function C(Y){var T,R=Y.i.length;for(T=0;T<R;T+=1)Y.i[T][0]+=Y.v[T][0],Y.i[T][1]+=Y.v[T][1],Y.o[T][0]+=Y.v[T][0],Y.o[T][1]+=Y.v[T][1]}function P(Y,T){var R=T?T.split("."):[100,100,100];return Y[0]>R[0]?!0:R[0]>Y[0]?!1:Y[1]>R[1]?!0:R[1]>Y[1]?!1:Y[2]>R[2]?!0:R[2]>Y[2]?!1:null}var $=function(){var Y=[4,4,14];function T(m){var v=m.t.d;m.t.d={k:[{s:v,t:0}]}}function R(m){var v,U=m.length;for(v=0;v<U;v+=1)m[v].ty===5&&T(m[v])}return function(m){if(P(Y,m.v)&&(R(m.layers),m.assets)){var v,U=m.assets.length;for(v=0;v<U;v+=1)m.assets[v].layers&&R(m.assets[v].layers)}}}(),H=function(){var Y=[4,7,99];return function(T){if(T.chars&&!P(Y,T.v)){var R,m=T.chars.length;for(R=0;R<m;R+=1){var v=T.chars[R];v.data&&v.data.shapes&&(E(v.data.shapes),v.data.ip=0,v.data.op=99999,v.data.st=0,v.data.sr=1,v.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}},T.chars[R].t||(v.data.shapes.push({ty:"no"}),v.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"})))}}}}(),K=function(){var Y=[5,7,15];function T(m){var v=m.t.p;typeof v.a=="number"&&(v.a={a:0,k:v.a}),typeof v.p=="number"&&(v.p={a:0,k:v.p}),typeof v.r=="number"&&(v.r={a:0,k:v.r})}function R(m){var v,U=m.length;for(v=0;v<U;v+=1)m[v].ty===5&&T(m[v])}return function(m){if(P(Y,m.v)&&(R(m.layers),m.assets)){var v,U=m.assets.length;for(v=0;v<U;v+=1)m.assets[v].layers&&R(m.assets[v].layers)}}}(),pt=function(){var Y=[4,1,9];function T(m){var v,U=m.length,D,it;for(v=0;v<U;v+=1)if(m[v].ty==="gr")T(m[v].it);else if(m[v].ty==="fl"||m[v].ty==="st")if(m[v].c.k&&m[v].c.k[0].i)for(it=m[v].c.k.length,D=0;D<it;D+=1)m[v].c.k[D].s&&(m[v].c.k[D].s[0]/=255,m[v].c.k[D].s[1]/=255,m[v].c.k[D].s[2]/=255,m[v].c.k[D].s[3]/=255),m[v].c.k[D].e&&(m[v].c.k[D].e[0]/=255,m[v].c.k[D].e[1]/=255,m[v].c.k[D].e[2]/=255,m[v].c.k[D].e[3]/=255);else m[v].c.k[0]/=255,m[v].c.k[1]/=255,m[v].c.k[2]/=255,m[v].c.k[3]/=255}function R(m){var v,U=m.length;for(v=0;v<U;v+=1)m[v].ty===4&&T(m[v].shapes)}return function(m){if(P(Y,m.v)&&(R(m.layers),m.assets)){var v,U=m.assets.length;for(v=0;v<U;v+=1)m.assets[v].layers&&R(m.assets[v].layers)}}}(),nt=function(){var Y=[4,4,18];function T(m){var v,U=m.length,D,it;for(v=U-1;v>=0;v-=1)if(m[v].ty==="sh")if(m[v].ks.k.i)m[v].ks.k.c=m[v].closed;else for(it=m[v].ks.k.length,D=0;D<it;D+=1)m[v].ks.k[D].s&&(m[v].ks.k[D].s[0].c=m[v].closed),m[v].ks.k[D].e&&(m[v].ks.k[D].e[0].c=m[v].closed);else m[v].ty==="gr"&&T(m[v].it)}function R(m){var v,U,D=m.length,it,ht,ut,kt;for(U=0;U<D;U+=1){if(v=m[U],v.hasMask){var Ct=v.masksProperties;for(ht=Ct.length,it=0;it<ht;it+=1)if(Ct[it].pt.k.i)Ct[it].pt.k.c=Ct[it].cl;else for(kt=Ct[it].pt.k.length,ut=0;ut<kt;ut+=1)Ct[it].pt.k[ut].s&&(Ct[it].pt.k[ut].s[0].c=Ct[it].cl),Ct[it].pt.k[ut].e&&(Ct[it].pt.k[ut].e[0].c=Ct[it].cl)}v.ty===4&&T(v.shapes)}}return function(m){if(P(Y,m.v)&&(R(m.layers),m.assets)){var v,U=m.assets.length;for(v=0;v<U;v+=1)m.assets[v].layers&&R(m.assets[v].layers)}}}();function tt(Y){Y.__complete||(pt(Y),$(Y),H(Y),K(Y),nt(Y),z(Y.layers,Y.assets),w(Y.chars,Y.assets),Y.__complete=!0)}function vt(Y){Y.t.a.length===0&&"m"in Y.t.p}var st={};return st.completeData=tt,st.checkColors=pt,st.checkChars=H,st.checkPathProperties=K,st.checkShapes=nt,st.completeLayers=z,st}if(c.dataManager||(c.dataManager=O()),c.assetLoader||(c.assetLoader=function(){function z(_){var g=_.getResponseHeader("content-type");return g&&_.responseType==="json"&&g.indexOf("json")!==-1||_.response&&Gs(_.response)==="object"?_.response:_.response&&typeof _.response=="string"?JSON.parse(_.response):_.responseText?JSON.parse(_.responseText):null}function w(_,g,E,C){var P,$=new XMLHttpRequest;try{$.responseType="json"}catch{}$.onreadystatechange=function(){if($.readyState===4)if($.status===200)P=z($),E(P);else try{P=z($),E(P)}catch(H){C&&C(H)}};try{$.open(["G","E","T"].join(""),_,!0)}catch{$.open(["G","E","T"].join(""),g+"/"+_,!0)}$.send()}return{load:w}}()),L.data.type==="loadAnimation")c.assetLoader.load(L.data.path,L.data.fullPath,function(z){c.dataManager.completeData(z),c.postMessage({id:L.data.id,payload:z,status:"success"})},function(){c.postMessage({id:L.data.id,status:"error"})});else if(L.data.type==="complete"){var N=L.data.animation;c.dataManager.completeData(N),c.postMessage({id:L.data.id,payload:N,status:"success"})}else L.data.type==="loadData"&&c.assetLoader.load(L.data.path,L.data.fullPath,function(z){c.postMessage({id:L.data.id,payload:z,status:"success"})},function(){c.postMessage({id:L.data.id,status:"error"})})}),a.onmessage=function(b){var L=b.data,O=L.id,N=r[O];r[O]=null,L.status==="success"?N.onComplete(L.payload):N.onError&&N.onError()})}function u(b,L){t+=1;var O="processId_"+t;return r[O]={onComplete:b,onError:L},O}function k(b,L,O){x();var N=u(L,O);a.postMessage({type:"loadAnimation",path:b,fullPath:window.location.origin+window.location.pathname,id:N})}function I(b,L,O){x();var N=u(L,O);a.postMessage({type:"loadData",path:b,fullPath:window.location.origin+window.location.pathname,id:N})}function V(b,L,O){x();var N=u(L,O);a.postMessage({type:"complete",animation:b,id:N})}return{loadAnimation:k,loadData:I,completeAnimation:V}}(),uu=function(){var t=function(){var w=M("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 i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(w,_,g){var E="";if(w.e)E=w.p;else if(_){var C=w.p;C.indexOf("images/")!==-1&&(C=C.split("/")[1]),E=_+C}else E=g,E+=w.u?w.u:"",E+=w.p;return E}function d(w){var _=0,g=setInterval((function(){var E=w.getBBox();(E.width||_>500)&&(this._imageLoaded(),clearInterval(g)),_+=1}).bind(this),50)}function c(w){var _=a(w,this.assetsPath,this.path),g=ft("image");$t?this.testImageLoaded(g):g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){E.img=t,this._imageLoaded()}).bind(this),!1),g.setAttributeNS("http://www.w3.org/1999/xlink","href",_),this._elementHelper.append?this._elementHelper.append(g):this._elementHelper.appendChild(g);var E={img:g,assetData:w};return E}function p(w){var _=a(w,this.assetsPath,this.path),g=M("img");g.crossOrigin="anonymous",g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){E.img=t,this._imageLoaded()}).bind(this),!1),g.src=_;var E={img:g,assetData:w};return E}function x(w){var _={assetData:w},g=a(w,this.assetsPath,this.path);return Po.loadData(g,(function(E){_.img=E,this._footageLoaded()}).bind(this),(function(){_.img={},this._footageLoaded()}).bind(this)),_}function u(w,_){this.imagesLoadedCb=_;var g,E=w.length;for(g=0;g<E;g+=1)w[g].layers||(!w[g].t||w[g].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(w[g]))):w[g].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(w[g]))))}function k(w){this.path=w||""}function I(w){this.assetsPath=w||""}function V(w){for(var _=0,g=this.images.length;_<g;){if(this.images[_].assetData===w)return this.images[_].img;_+=1}return null}function b(){this.imagesLoadedCb=null,this.images.length=0}function L(){return this.totalImages===this.loadedAssets}function O(){return this.totalFootages===this.loadedFootagesCount}function N(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=i.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:u,setAssetsPath:I,setPath:k,loadedImages:L,loadedFootages:O,destroy:b,getAsset:V,createImgData:p,createImageData:c,imageLoaded:r,footageLoaded:i,setCacheType:N},z}();function zc(){}zc.prototype={triggerEvent:function(r,i){if(this._cbs[r])for(var a=this._cbs[r],d=0;d<a.length;d+=1)a[d](i)},addEventListener:function(r,i){return this._cbs[r]||(this._cbs[r]=[]),this._cbs[r].push(i),(function(){this.removeEventListener(r,i)}).bind(this)},removeEventListener:function(r,i){if(!i)this._cbs[r]=null;else if(this._cbs[r]){for(var a=0,d=this._cbs[r].length;a<d;)this._cbs[r][a]===i&&(this._cbs[r].splice(a,1),a-=1,d-=1),a+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var fu=function(){function t(r){for(var i=r.split(`\r
|
2
|
-
`),a={},d,c=0,p=0;p<i.length;p+=1)d=i[p].split(":"),d.length===2&&(a[d[0]]=d[1].trim(),c+=1);if(c===0)throw new Error;return a}return function(r){for(var i=[],a=0;a<r.length;a+=1){var d=r[a],c={time:d.tm,duration:d.dr};try{c.payload=JSON.parse(r[a].cm)}catch{try{c.payload=t(r[a].cm)}catch{c.payload={name:r[a].cm}}}i.push(c)}return i}}(),vu=function(){function t(r){this.compositions.push(r)}return function(){function r(i){for(var a=0,d=this.compositions.length;a<d;){if(this.compositions[a].data&&this.compositions[a].data.nm===i)return this.compositions[a].prepareFrame&&this.compositions[a].data.xt&&this.compositions[a].prepareFrame(this.currentFrame),this.compositions[a].compInterface;a+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=t,r}}(),Do={},gu=function(r,i){Do[r]=i};function bu(t){return Do[t]}function yu(){if(Do.canvas)return"canvas";for(var t in Do)if(Do[t])return t;return""}function Fo(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Fo=function(i){return typeof i}:Fo=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Fo(t)}var dt=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=ge(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=hu(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=vu(),this.imagePreloader=new uu,this.audioController=ot(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new Pe("drawnFrame",0,0,0),this.expressionsPlugin=Us()};B([zc],dt),dt.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var r="svg";t.animType?r=t.animType:t.renderer&&(r=t.renderer);var i=bu(r);this.renderer=new i(this,t.rendererSettings),this.imagePreloader.setCacheType(r,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=r,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Po.loadAnimation(t.path,this.configAnimation,this.onSetupError))},dt.prototype.onSetupError=function(){this.trigger("data_failed")},dt.prototype.setupAnimation=function(t){Po.completeAnimation(t,this.configAnimation)},dt.prototype.setData=function(t,r){r&&Fo(r)!=="object"&&(r=JSON.parse(r));var i={wrapper:t,animationData:r},a=t.attributes;i.path=a.getNamedItem("data-animation-path")?a.getNamedItem("data-animation-path").value:a.getNamedItem("data-bm-path")?a.getNamedItem("data-bm-path").value:a.getNamedItem("bm-path")?a.getNamedItem("bm-path").value:"",i.animType=a.getNamedItem("data-anim-type")?a.getNamedItem("data-anim-type").value:a.getNamedItem("data-bm-type")?a.getNamedItem("data-bm-type").value:a.getNamedItem("bm-type")?a.getNamedItem("bm-type").value:a.getNamedItem("data-bm-renderer")?a.getNamedItem("data-bm-renderer").value:a.getNamedItem("bm-renderer")?a.getNamedItem("bm-renderer").value:yu()||"canvas";var d=a.getNamedItem("data-anim-loop")?a.getNamedItem("data-anim-loop").value:a.getNamedItem("data-bm-loop")?a.getNamedItem("data-bm-loop").value:a.getNamedItem("bm-loop")?a.getNamedItem("bm-loop").value:"";d==="false"?i.loop=!1:d==="true"?i.loop=!0:d!==""&&(i.loop=parseInt(d,10));var c=a.getNamedItem("data-anim-autoplay")?a.getNamedItem("data-anim-autoplay").value:a.getNamedItem("data-bm-autoplay")?a.getNamedItem("data-bm-autoplay").value:a.getNamedItem("bm-autoplay")?a.getNamedItem("bm-autoplay").value:!0;i.autoplay=c!=="false",i.name=a.getNamedItem("data-name")?a.getNamedItem("data-name").value:a.getNamedItem("data-bm-name")?a.getNamedItem("data-bm-name").value:a.getNamedItem("bm-name")?a.getNamedItem("bm-name").value:"";var p=a.getNamedItem("data-anim-prerender")?a.getNamedItem("data-anim-prerender").value:a.getNamedItem("data-bm-prerender")?a.getNamedItem("data-bm-prerender").value:a.getNamedItem("bm-prerender")?a.getNamedItem("bm-prerender").value:"";p==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},dt.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var r=this.animationData.layers,i,a=r.length,d=t.layers,c,p=d.length;for(c=0;c<p;c+=1)for(i=0;i<a;){if(r[i].id===d[c].id){r[i]=d[c];break}i+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(a=t.assets.length,i=0;i<a;i+=1)this.animationData.assets.push(t.assets[i]);this.animationData.__complete=!1,Po.completeAnimation(this.animationData,this.onSegmentComplete)},dt.prototype.onSegmentComplete=function(t){this.animationData=t;var r=Us();r&&r.initExpressions(this),this.loadNextSegment()},dt.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var r=t.shift();this.timeCompleted=r.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Po.loadData(i,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},dt.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},dt.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},dt.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},dt.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,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(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=fu(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},dt.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},dt.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 t=Us();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},dt.prototype.resize=function(t,r){var i=typeof t=="number"?t:void 0,a=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(i,a)},dt.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},dt.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")},dt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},dt.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},dt.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},dt.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},dt.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},dt.prototype.getMarkerData=function(t){for(var r,i=0;i<this.markers.length;i+=1)if(r=this.markers[i],r.payload&&r.payload.name===t)return r;return null},dt.prototype.goToAndStop=function(t,r,i){if(!(i&&this.name!==i)){var a=Number(t);if(isNaN(a)){var d=this.getMarkerData(t);d&&this.goToAndStop(d.time,!0)}else r?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},dt.prototype.goToAndPlay=function(t,r,i){if(!(i&&this.name!==i)){var a=Number(t);if(isNaN(a)){var d=this.getMarkerData(t);d&&(d.duration?this.playSegments([d.time,d.time+d.duration],!0):this.goToAndStop(d.time,!0))}else this.goToAndStop(a,r,i);this.play()}},dt.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var r=this.currentRawFrame+t*this.frameModifier,i=!1;r>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(r>this.totalFrames?r%this.totalFrames:0)||(i=!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):(i=!0,r=0)):this.setCurrentRawFrameValue(r),i&&(this.setCurrentRawFrameValue(r),this.pause(),this.trigger("complete"))}},dt.prototype.adjustSegment=function(t,r){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-r)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+r)),this.trigger("segmentStart")},dt.prototype.setSegment=function(t,r){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>r&&(i=r-t)),this.firstFrame=t,this.totalFrames=r-t,this.timeCompleted=this.totalFrames,i!==-1&&this.goToAndStop(i,!0)},dt.prototype.playSegments=function(t,r){if(r&&(this.segments.length=0),Fo(t[0])==="object"){var i,a=t.length;for(i=0;i<a;i+=1)this.segments.push(t[i])}else this.segments.push(t);this.segments.length&&r&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},dt.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},dt.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},dt.prototype.destroy=function(t){t&&this.name!==t||!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)},dt.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},dt.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},dt.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},dt.prototype.setLoop=function(t){this.loop=t},dt.prototype.setVolume=function(t,r){r&&this.name!==r||this.audioController.setVolume(t)},dt.prototype.getVolume=function(){return this.audioController.getVolume()},dt.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},dt.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},dt.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},dt.prototype.getPath=function(){return this.path},dt.prototype.getAssetsPath=function(t){var r="";if(t.e)r=t.p;else if(this.assetsPath){var i=t.p;i.indexOf("images/")!==-1&&(i=i.split("/")[1]),r=this.assetsPath+i}else r=this.path,r+=t.u?t.u:"",r+=t.p;return r},dt.prototype.getAssetData=function(t){for(var r=0,i=this.assets.length;r<i;){if(t===this.assets[r].id)return this.assets[r];r+=1}return null},dt.prototype.hide=function(){this.renderer.hide()},dt.prototype.show=function(){this.renderer.show()},dt.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},dt.prototype.updateDocumentData=function(t,r,i){try{var a=this.renderer.getElementByPath(t);a.updateDocumentData(r,i)}catch{}},dt.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new Pe(t,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(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new Mc(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new Bs(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new Nc(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new Rc(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new Pe(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new Mc(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new Bs(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new Nc(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Rc(t,this))},dt.prototype.triggerRenderFrameError=function(t){var r=new lu(t,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},dt.prototype.triggerConfigError=function(t){var r=new cu(t,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var Ut=function(){var t={},r=[],i=0,a=0,d=0,c=!0,p=!1;function x(T){for(var R=0,m=T.target;R<a;)r[R].animation===m&&(r.splice(R,1),R-=1,a-=1,m.isPaused||V()),R+=1}function u(T,R){if(!T)return null;for(var m=0;m<a;){if(r[m].elem===T&&r[m].elem!==null)return r[m].animation;m+=1}var v=new dt;return b(v,T),v.setData(T,R),v}function k(){var T,R=r.length,m=[];for(T=0;T<R;T+=1)m.push(r[T].animation);return m}function I(){d+=1,pt()}function V(){d-=1}function b(T,R){T.addEventListener("destroy",x),T.addEventListener("_active",I),T.addEventListener("_idle",V),r.push({elem:R,animation:T}),a+=1}function L(T){var R=new dt;return b(R,null),R.setParams(T),R}function O(T,R){var m;for(m=0;m<a;m+=1)r[m].animation.setSpeed(T,R)}function N(T,R){var m;for(m=0;m<a;m+=1)r[m].animation.setDirection(T,R)}function z(T){var R;for(R=0;R<a;R+=1)r[R].animation.play(T)}function w(T){var R=T-i,m;for(m=0;m<a;m+=1)r[m].animation.advanceTime(R);i=T,d&&!p?window.requestAnimationFrame(w):c=!0}function _(T){i=T,window.requestAnimationFrame(w)}function g(T){var R;for(R=0;R<a;R+=1)r[R].animation.pause(T)}function E(T,R,m){var v;for(v=0;v<a;v+=1)r[v].animation.goToAndStop(T,R,m)}function C(T){var R;for(R=0;R<a;R+=1)r[R].animation.stop(T)}function P(T){var R;for(R=0;R<a;R+=1)r[R].animation.togglePause(T)}function $(T){var R;for(R=a-1;R>=0;R-=1)r[R].animation.destroy(T)}function H(T,R,m){var v=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),U,D=v.length;for(U=0;U<D;U+=1)m&&v[U].setAttribute("data-bm-type",m),u(v[U],T);if(R&&D===0){m||(m="svg");var it=document.getElementsByTagName("body")[0];it.innerText="";var ht=M("div");ht.style.width="100%",ht.style.height="100%",ht.setAttribute("data-bm-type",m),it.appendChild(ht),u(ht,T)}}function K(){var T;for(T=0;T<a;T+=1)r[T].animation.resize()}function pt(){!p&&d&&c&&(window.requestAnimationFrame(_),c=!1)}function nt(){p=!0}function tt(){p=!1,pt()}function vt(T,R){var m;for(m=0;m<a;m+=1)r[m].animation.setVolume(T,R)}function st(T){var R;for(R=0;R<a;R+=1)r[R].animation.mute(T)}function Y(T){var R;for(R=0;R<a;R+=1)r[R].animation.unmute(T)}return t.registerAnimation=u,t.loadAnimation=L,t.setSpeed=O,t.setDirection=N,t.play=z,t.pause=g,t.stop=C,t.togglePause=P,t.searchAnimations=H,t.resize=K,t.goToAndStop=E,t.destroy=$,t.freeze=nt,t.unfreeze=tt,t.setVolume=vt,t.mute=st,t.unmute=Y,t.getRegisteredAnimations=k,t}(),zo=function(){var t={};t.getBezierEasing=i;var r={};function i(_,g,E,C,P){var $=P||("bez_"+_+"_"+g+"_"+E+"_"+C).replace(/\./g,"p");if(r[$])return r[$];var H=new w([_,g,E,C]);return r[$]=H,H}var a=4,d=.001,c=1e-7,p=10,x=11,u=1/(x-1),k=typeof Float32Array=="function";function I(_,g){return 1-3*g+3*_}function V(_,g){return 3*g-6*_}function b(_){return 3*_}function L(_,g,E){return((I(g,E)*_+V(g,E))*_+b(g))*_}function O(_,g,E){return 3*I(g,E)*_*_+2*V(g,E)*_+b(g)}function N(_,g,E,C,P){var $,H,K=0;do H=g+(E-g)/2,$=L(H,C,P)-_,$>0?E=H:g=H;while(Math.abs($)>c&&++K<p);return H}function z(_,g,E,C){for(var P=0;P<a;++P){var $=O(g,E,C);if($===0)return g;var H=L(g,E,C)-_;g-=H/$}return g}function w(_){this._p=_,this._mSampleValues=k?new Float32Array(x):new Array(x),this._precomputed=!1,this.get=this.get.bind(this)}return w.prototype={get:function(g){var E=this._p[0],C=this._p[1],P=this._p[2],$=this._p[3];return this._precomputed||this._precompute(),E===C&&P===$?g:g===0?0:g===1?1:L(this._getTForX(g),C,$)},_precompute:function(){var g=this._p[0],E=this._p[1],C=this._p[2],P=this._p[3];this._precomputed=!0,(g!==E||C!==P)&&this._calcSampleValues()},_calcSampleValues:function(){for(var g=this._p[0],E=this._p[2],C=0;C<x;++C)this._mSampleValues[C]=L(C*u,g,E)},_getTForX:function(g){for(var E=this._p[0],C=this._p[2],P=this._mSampleValues,$=0,H=1,K=x-1;H!==K&&P[H]<=g;++H)$+=u;--H;var pt=(g-P[H])/(P[H+1]-P[H]),nt=$+pt*u,tt=O(nt,E,C);return tt>=d?z(g,nt,E,C):tt===0?nt:N(g,$,$+u,E,C)}},t}(),$c=function(){function t(r){return r.concat(et(r.length))}return{double:t}}(),js=function(){return function(t,r,i){var a=0,d=t,c=et(d),p={newElement:x,release:u};function x(){var k;return a?(a-=1,k=c[a]):k=r(),k}function u(k){a===d&&(c=$c.double(c),d*=2),i&&i(k),c[a]=k,a+=1}return p}}(),Vc=function(){function t(){return{addedLength:0,percents:Q("float32",Oo()),lengths:Q("float32",Oo())}}return js(8,t)}(),Bc=function(){function t(){return{lengths:[],totalLength:0}}function r(i){var a,d=i.lengths.length;for(a=0;a<d;a+=1)Vc.release(i.lengths[a]);i.lengths.length=0}return js(8,t,r)}();function xu(){var t=Math;function r(b,L,O,N,z,w){var _=b*N+L*z+O*w-z*N-w*b-O*L;return _>-.001&&_<.001}function i(b,L,O,N,z,w,_,g,E){if(O===0&&w===0&&E===0)return r(b,L,N,z,_,g);var C=t.sqrt(t.pow(N-b,2)+t.pow(z-L,2)+t.pow(w-O,2)),P=t.sqrt(t.pow(_-b,2)+t.pow(g-L,2)+t.pow(E-O,2)),$=t.sqrt(t.pow(_-N,2)+t.pow(g-z,2)+t.pow(E-w,2)),H;return C>P?C>$?H=C-P-$:H=$-P-C:$>P?H=$-P-C:H=P-C-$,H>-1e-4&&H<1e-4}var a=function(){return function(b,L,O,N){var z=Oo(),w,_,g,E,C,P=0,$,H=[],K=[],pt=Vc.newElement();for(g=O.length,w=0;w<z;w+=1){for(C=w/(z-1),$=0,_=0;_<g;_+=1)E=Pt(1-C,3)*b[_]+3*Pt(1-C,2)*C*O[_]+3*(1-C)*Pt(C,2)*N[_]+Pt(C,3)*L[_],H[_]=E,K[_]!==null&&($+=Pt(H[_]-K[_],2)),K[_]=H[_];$&&($=ve($),P+=$),pt.percents[w]=C,pt.lengths[w]=P}return pt.addedLength=P,pt}}();function d(b){var L=Bc.newElement(),O=b.c,N=b.v,z=b.o,w=b.i,_,g=b._length,E=L.lengths,C=0;for(_=0;_<g-1;_+=1)E[_]=a(N[_],N[_+1],z[_],w[_+1]),C+=E[_].addedLength;return O&&g&&(E[_]=a(N[_],N[0],z[_],w[0]),C+=E[_].addedLength),L.totalLength=C,L}function c(b){this.segmentLength=0,this.points=new Array(b)}function p(b,L){this.partialLength=b,this.point=L}var x=function(){var b={};return function(L,O,N,z){var w=(L[0]+"_"+L[1]+"_"+O[0]+"_"+O[1]+"_"+N[0]+"_"+N[1]+"_"+z[0]+"_"+z[1]).replace(/\./g,"p");if(!b[w]){var _=Oo(),g,E,C,P,$,H=0,K,pt,nt=null;L.length===2&&(L[0]!==O[0]||L[1]!==O[1])&&r(L[0],L[1],O[0],O[1],L[0]+N[0],L[1]+N[1])&&r(L[0],L[1],O[0],O[1],O[0]+z[0],O[1]+z[1])&&(_=2);var tt=new c(_);for(C=N.length,g=0;g<_;g+=1){for(pt=et(C),$=g/(_-1),K=0,E=0;E<C;E+=1)P=Pt(1-$,3)*L[E]+3*Pt(1-$,2)*$*(L[E]+N[E])+3*(1-$)*Pt($,2)*(O[E]+z[E])+Pt($,3)*O[E],pt[E]=P,nt!==null&&(K+=Pt(pt[E]-nt[E],2));K=ve(K),H+=K,tt.points[g]=new p(K,pt),nt=pt}tt.segmentLength=H,b[w]=tt}return b[w]}}();function u(b,L){var O=L.percents,N=L.lengths,z=O.length,w=Qt((z-1)*b),_=b*L.addedLength,g=0;if(w===z-1||w===0||_===N[w])return O[w];for(var E=N[w]>_?-1:1,C=!0;C;)if(N[w]<=_&&N[w+1]>_?(g=(_-N[w])/(N[w+1]-N[w]),C=!1):w+=E,w<0||w>=z-1){if(w===z-1)return O[w];C=!1}return O[w]+(O[w+1]-O[w])*g}function k(b,L,O,N,z,w){var _=u(z,w),g=1-_,E=t.round((g*g*g*b[0]+(_*g*g+g*_*g+g*g*_)*O[0]+(_*_*g+g*_*_+_*g*_)*N[0]+_*_*_*L[0])*1e3)/1e3,C=t.round((g*g*g*b[1]+(_*g*g+g*_*g+g*g*_)*O[1]+(_*_*g+g*_*_+_*g*_)*N[1]+_*_*_*L[1])*1e3)/1e3;return[E,C]}var I=Q("float32",8);function V(b,L,O,N,z,w,_){z<0?z=0:z>1&&(z=1);var g=u(z,_);w=w>1?1:w;var E=u(w,_),C,P=b.length,$=1-g,H=1-E,K=$*$*$,pt=g*$*$*3,nt=g*g*$*3,tt=g*g*g,vt=$*$*H,st=g*$*H+$*g*H+$*$*E,Y=g*g*H+$*g*E+g*$*E,T=g*g*E,R=$*H*H,m=g*H*H+$*E*H+$*H*E,v=g*E*H+$*E*E+g*H*E,U=g*E*E,D=H*H*H,it=E*H*H+H*E*H+H*H*E,ht=E*E*H+H*E*E+E*H*E,ut=E*E*E;for(C=0;C<P;C+=1)I[C*4]=t.round((K*b[C]+pt*O[C]+nt*N[C]+tt*L[C])*1e3)/1e3,I[C*4+1]=t.round((vt*b[C]+st*O[C]+Y*N[C]+T*L[C])*1e3)/1e3,I[C*4+2]=t.round((R*b[C]+m*O[C]+v*N[C]+U*L[C])*1e3)/1e3,I[C*4+3]=t.round((D*b[C]+it*O[C]+ht*N[C]+ut*L[C])*1e3)/1e3;return I}return{getSegmentsLength:d,getNewSegment:V,getPointInSegment:k,buildBezierData:x,pointOnLine2D:r,pointOnLine3D:i}}var rr=xu(),si=s,Uc=Math.abs;function Hc(t,r){var i=this.offsetTime,a;this.propType==="multidimensional"&&(a=Q("float32",this.pv.length));for(var d=r.lastIndex,c=d,p=this.keyframes.length-1,x=!0,u,k,I;x;){if(u=this.keyframes[c],k=this.keyframes[c+1],c===p-1&&t>=k.t-i){u.h&&(u=k),d=0;break}if(k.t-i>t){d=c;break}c<p-1?c+=1:(d=0,x=!1)}I=this.keyframesMetadata[c]||{};var V,b,L,O,N,z,w=k.t-i,_=u.t-i,g;if(u.to){I.bezierData||(I.bezierData=rr.buildBezierData(u.s,k.s||u.e,u.to,u.ti));var E=I.bezierData;if(t>=w||t<_){var C=t>=w?E.points.length-1:0;for(b=E.points[C].point.length,V=0;V<b;V+=1)a[V]=E.points[C].point[V]}else{I.__fnct?z=I.__fnct:(z=zo.getBezierEasing(u.o.x,u.o.y,u.i.x,u.i.y,u.n).get,I.__fnct=z),L=z((t-_)/(w-_));var P=E.segmentLength*L,$,H=r.lastFrame<t&&r._lastKeyframeIndex===c?r._lastAddedLength:0;for(N=r.lastFrame<t&&r._lastKeyframeIndex===c?r._lastPoint:0,x=!0,O=E.points.length;x;){if(H+=E.points[N].partialLength,P===0||L===0||N===E.points.length-1){for(b=E.points[N].point.length,V=0;V<b;V+=1)a[V]=E.points[N].point[V];break}else if(P>=H&&P<H+E.points[N+1].partialLength){for($=(P-H)/E.points[N+1].partialLength,b=E.points[N].point.length,V=0;V<b;V+=1)a[V]=E.points[N].point[V]+(E.points[N+1].point[V]-E.points[N].point[V])*$;break}N<O-1?N+=1:x=!1}r._lastPoint=N,r._lastAddedLength=H-E.points[N].partialLength,r._lastKeyframeIndex=c}}else{var K,pt,nt,tt,vt;if(p=u.s.length,g=k.s||u.e,this.sh&&u.h!==1)if(t>=w)a[0]=g[0],a[1]=g[1],a[2]=g[2];else if(t<=_)a[0]=u.s[0],a[1]=u.s[1],a[2]=u.s[2];else{var st=Gc(u.s),Y=Gc(g),T=(t-_)/(w-_);Tu(a,Eu(st,Y,T))}else for(c=0;c<p;c+=1)u.h!==1&&(t>=w?L=1:t<_?L=0:(u.o.x.constructor===Array?(I.__fnct||(I.__fnct=[]),I.__fnct[c]?z=I.__fnct[c]:(K=u.o.x[c]===void 0?u.o.x[0]:u.o.x[c],pt=u.o.y[c]===void 0?u.o.y[0]:u.o.y[c],nt=u.i.x[c]===void 0?u.i.x[0]:u.i.x[c],tt=u.i.y[c]===void 0?u.i.y[0]:u.i.y[c],z=zo.getBezierEasing(K,pt,nt,tt).get,I.__fnct[c]=z)):I.__fnct?z=I.__fnct:(K=u.o.x,pt=u.o.y,nt=u.i.x,tt=u.i.y,z=zo.getBezierEasing(K,pt,nt,tt).get,u.keyframeMetadata=z),L=z((t-_)/(w-_)))),g=k.s||u.e,vt=u.h===1?u.s[c]:u.s[c]+(g[c]-u.s[c])*L,this.propType==="multidimensional"?a[c]=vt:a=vt}return r.lastIndex=d,a}function Eu(t,r,i){var a=[],d=t[0],c=t[1],p=t[2],x=t[3],u=r[0],k=r[1],I=r[2],V=r[3],b,L,O,N,z;return L=d*u+c*k+p*I+x*V,L<0&&(L=-L,u=-u,k=-k,I=-I,V=-V),1-L>1e-6?(b=Math.acos(L),O=Math.sin(b),N=Math.sin((1-i)*b)/O,z=Math.sin(i*b)/O):(N=1-i,z=i),a[0]=N*d+z*u,a[1]=N*c+z*k,a[2]=N*p+z*I,a[3]=N*x+z*V,a}function Tu(t,r){var i=r[0],a=r[1],d=r[2],c=r[3],p=Math.atan2(2*a*c-2*i*d,1-2*a*a-2*d*d),x=Math.asin(2*i*a+2*d*c),u=Math.atan2(2*i*c-2*a*d,1-2*i*i-2*d*d);t[0]=p/Tt,t[1]=x/Tt,t[2]=u/Tt}function Gc(t){var r=t[0]*Tt,i=t[1]*Tt,a=t[2]*Tt,d=Math.cos(r/2),c=Math.cos(i/2),p=Math.cos(a/2),x=Math.sin(r/2),u=Math.sin(i/2),k=Math.sin(a/2),I=d*c*p-x*u*k,V=x*u*p+d*c*k,b=x*c*p+d*u*k,L=d*u*p-x*c*k;return[V,b,L,I]}function jc(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==si&&(this._caching.lastFrame>=i&&t>=i||this._caching.lastFrame<r&&t<r))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var a=this.interpolateValue(t,this._caching);this.pv=a}return this._caching.lastFrame=t,this.pv}function Ws(t){var r;if(this.propType==="unidimensional")r=t*this.mult,Uc(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var i=0,a=this.v.length;i<a;)r=t[i]*this.mult,Uc(this.v[i]-r)>1e-5&&(this.v[i]=r,this._mdf=!0),i+=1}function qs(){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 t,r=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(t=0;t<r;t+=1)i=this.effectsSequence[t](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function Ys(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function Au(t,r,i,a){this.propType="unidimensional",this.mult=i||1,this.data=r,this.v=i?r.k*i:r.k,this.pv=r.k,this._mdf=!1,this.elem=t,this.container=a,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=qs,this.setVValue=Ws,this.addEffect=Ys}function _u(t,r,i,a){this.propType="multidimensional",this.mult=i||1,this.data=r,this._mdf=!1,this.elem=t,this.container=a,this.comp=t.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=qs,this.setVValue=Ws,this.addEffect=Ys}function Su(t,r,i,a){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:si,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=i||1,this.elem=t,this.container=a,this.comp=t.comp,this.v=si,this.pv=si,this._isFirstFrame=!0,this.getValue=qs,this.setVValue=Ws,this.interpolateValue=Hc,this.effectsSequence=[jc.bind(this)],this.addEffect=Ys}function ku(t,r,i,a){this.propType="multidimensional";var d,c=r.k.length,p,x,u,k;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&&(p=r.k[d].s,x=r.k[d+1].s,u=r.k[d].to,k=r.k[d].ti,(p.length===2&&!(p[0]===x[0]&&p[1]===x[1])&&rr.pointOnLine2D(p[0],p[1],x[0],x[1],p[0]+u[0],p[1]+u[1])&&rr.pointOnLine2D(p[0],p[1],x[0],x[1],x[0]+k[0],x[1]+k[1])||p.length===3&&!(p[0]===x[0]&&p[1]===x[1]&&p[2]===x[2])&&rr.pointOnLine3D(p[0],p[1],p[2],x[0],x[1],x[2],p[0]+u[0],p[1]+u[1],p[2]+u[2])&&rr.pointOnLine3D(p[0],p[1],p[2],x[0],x[1],x[2],x[0]+k[0],x[1]+k[1],x[2]+k[2]))&&(r.k[d].to=null,r.k[d].ti=null),p[0]===x[0]&&p[1]===x[1]&&u[0]===0&&u[1]===0&&k[0]===0&&k[1]===0&&(p.length===2||p[2]===x[2]&&u[2]===0&&k[2]===0)&&(r.k[d].to=null,r.k[d].ti=null));this.effectsSequence=[jc.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=t,this.container=a,this.comp=t.comp,this.getValue=qs,this.setVValue=Ws,this.interpolateValue=Hc,this.frameId=-1;var I=r.k[0].s.length;for(this.v=Q("float32",I),this.pv=Q("float32",I),d=0;d<I;d+=1)this.v[d]=si,this.pv[d]=si;this._caching={lastFrame:si,lastIndex:0,value:Q("float32",I)},this.addEffect=Ys}var rt=function(){function t(i,a,d,c,p){a.sid&&(a=i.globalData.slotManager.getProp(a));var x;if(!a.k.length)x=new Au(i,a,c,p);else if(typeof a.k[0]=="number")x=new _u(i,a,c,p);else switch(d){case 0:x=new Su(i,a,c,p);break;case 1:x=new ku(i,a,c,p);break;default:break}return x.effectsSequence.length&&p.addDynamicProperty(x),x}var r={getProp:t};return r}();function te(){}te.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,i=this.dynamicProperties.length;for(r=0;r<i;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 ai=function(){function t(){return Q("float32",2)}return js(8,t)}();function hr(){this.c=!1,this._length=0,this._maxLength=8,this.v=et(this._maxLength),this.o=et(this._maxLength),this.i=et(this._maxLength)}hr.prototype.setPathData=function(t,r){this.c=t,this.setLength(r);for(var i=0;i<r;)this.v[i]=ai.newElement(),this.o[i]=ai.newElement(),this.i[i]=ai.newElement(),i+=1},hr.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},hr.prototype.doubleArrayLength=function(){this.v=this.v.concat(et(this._maxLength)),this.i=this.i.concat(et(this._maxLength)),this.o=this.o.concat(et(this._maxLength)),this._maxLength*=2},hr.prototype.setXYAt=function(t,r,i,a,d){var c;switch(this._length=Math.max(this._length,a+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[a]||c[a]&&!d)&&(c[a]=ai.newElement()),c[a][0]=t,c[a][1]=r},hr.prototype.setTripleAt=function(t,r,i,a,d,c,p,x){this.setXYAt(t,r,"v",p,x),this.setXYAt(i,a,"o",p,x),this.setXYAt(d,c,"i",p,x)},hr.prototype.reverse=function(){var t=new hr;t.setPathData(this.c,this._length);var r=this.v,i=this.o,a=this.i,d=0;this.c&&(t.setTripleAt(r[0][0],r[0][1],a[0][0],a[0][1],i[0][0],i[0][1],0,!1),d=1);var c=this._length-1,p=this._length,x;for(x=d;x<p;x+=1)t.setTripleAt(r[c][0],r[c][1],a[c][0],a[c][1],i[c][0],i[c][1],x,!1),c-=1;return t},hr.prototype.length=function(){return this._length};var se=function(){function t(){return new hr}function r(d){var c=d._length,p;for(p=0;p<c;p+=1)ai.release(d.v[p]),ai.release(d.i[p]),ai.release(d.o[p]),d.v[p]=null,d.i[p]=null,d.o[p]=null;d._length=0,d.c=!1}function i(d){var c=a.newElement(),p,x=d._length===void 0?d.v.length:d._length;for(c.setLength(x),c.c=d.c,p=0;p<x;p+=1)c.setTripleAt(d.v[p][0],d.v[p][1],d.o[p][0],d.o[p][1],d.i[p][0],d.i[p][1],p);return c}var a=js(4,t,r);return a.clone=i,a}();function Rn(){this._length=0,this._maxLength=4,this.shapes=et(this._maxLength)}Rn.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(et(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},Rn.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)se.release(this.shapes[t]);this._length=0};var Wi=function(){var t={newShapeCollection:d,release:c},r=0,i=4,a=et(i);function d(){var p;return r?(r-=1,p=a[r]):p=new Rn,p}function c(p){var x,u=p._length;for(x=0;x<u;x+=1)se.release(p.shapes[x]);p._length=0,r===i&&(a=$c.double(a),i*=2),a[r]=p,r+=1}return t}(),Ks=function(){var t=-999999;function r(w,_,g){var E=g.lastIndex,C,P,$,H,K,pt,nt,tt,vt,st=this.keyframes;if(w<st[0].t-this.offsetTime)C=st[0].s[0],$=!0,E=0;else if(w>=st[st.length-1].t-this.offsetTime)C=st[st.length-1].s?st[st.length-1].s[0]:st[st.length-2].e[0],$=!0;else{for(var Y=E,T=st.length-1,R=!0,m,v,U;R&&(m=st[Y],v=st[Y+1],!(v.t-this.offsetTime>w));)Y<T-1?Y+=1:R=!1;if(U=this.keyframesMetadata[Y]||{},$=m.h===1,E=Y,!$){if(w>=v.t-this.offsetTime)tt=1;else if(w<m.t-this.offsetTime)tt=0;else{var D;U.__fnct?D=U.__fnct:(D=zo.getBezierEasing(m.o.x,m.o.y,m.i.x,m.i.y).get,U.__fnct=D),tt=D((w-(m.t-this.offsetTime))/(v.t-this.offsetTime-(m.t-this.offsetTime)))}P=v.s?v.s[0]:m.e[0]}C=m.s[0]}for(pt=_._length,nt=C.i[0].length,g.lastIndex=E,H=0;H<pt;H+=1)for(K=0;K<nt;K+=1)vt=$?C.i[H][K]:C.i[H][K]+(P.i[H][K]-C.i[H][K])*tt,_.i[H][K]=vt,vt=$?C.o[H][K]:C.o[H][K]+(P.o[H][K]-C.o[H][K])*tt,_.o[H][K]=vt,vt=$?C.v[H][K]:C.v[H][K]+(P.v[H][K]-C.v[H][K])*tt,_.v[H][K]=vt}function i(){var w=this.comp.renderedFrame-this.offsetTime,_=this.keyframes[0].t-this.offsetTime,g=this.keyframes[this.keyframes.length-1].t-this.offsetTime,E=this._caching.lastFrame;return E!==t&&(E<_&&w<_||E>g&&w>g)||(this._caching.lastIndex=E<w?this._caching.lastIndex:0,this.interpolateShape(w,this.pv,this._caching)),this._caching.lastFrame=w,this.pv}function a(){this.paths=this.localShapeCollection}function d(w,_){if(w._length!==_._length||w.c!==_.c)return!1;var g,E=w._length;for(g=0;g<E;g+=1)if(w.v[g][0]!==_.v[g][0]||w.v[g][1]!==_.v[g][1]||w.o[g][0]!==_.o[g][0]||w.o[g][1]!==_.o[g][1]||w.i[g][0]!==_.i[g][0]||w.i[g][1]!==_.i[g][1])return!1;return!0}function c(w){d(this.v,w)||(this.v=se.clone(w),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function p(){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 _,g=this.effectsSequence.length;for(_=0;_<g;_+=1)w=this.effectsSequence[_](w);this.setVValue(w),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function x(w,_,g){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 E=g===3?_.pt.k:_.ks.k;this.v=se.clone(E),this.pv=se.clone(this.v),this.localShapeCollection=Wi.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=a,this.effectsSequence=[]}function u(w){this.effectsSequence.push(w),this.container.addDynamicProperty(this)}x.prototype.interpolateShape=r,x.prototype.getValue=p,x.prototype.setVValue=c,x.prototype.addEffect=u;function k(w,_,g){this.propType="shape",this.comp=w.comp,this.elem=w,this.container=w,this.offsetTime=w.data.st,this.keyframes=g===3?_.pt.k:_.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var E=this.keyframes[0].s[0].i.length;this.v=se.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,E),this.pv=se.clone(this.v),this.localShapeCollection=Wi.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=a,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[i.bind(this)]}k.prototype.getValue=p,k.prototype.interpolateShape=r,k.prototype.setVValue=c,k.prototype.addEffect=u;var I=function(){var w=de;function _(g,E){this.v=se.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Wi.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=E.d,this.elem=g,this.comp=g.comp,this.frameId=-1,this.initDynamicPropertyContainer(g),this.p=rt.getProp(g,E.p,1,0,this),this.s=rt.getProp(g,E.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return _.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var E=this.p.v[0],C=this.p.v[1],P=this.s.v[0]/2,$=this.s.v[1]/2,H=this.d!==3,K=this.v;K.v[0][0]=E,K.v[0][1]=C-$,K.v[1][0]=H?E+P:E-P,K.v[1][1]=C,K.v[2][0]=E,K.v[2][1]=C+$,K.v[3][0]=H?E-P:E+P,K.v[3][1]=C,K.i[0][0]=H?E-P*w:E+P*w,K.i[0][1]=C-$,K.i[1][0]=H?E+P:E-P,K.i[1][1]=C-$*w,K.i[2][0]=H?E+P*w:E-P*w,K.i[2][1]=C+$,K.i[3][0]=H?E-P:E+P,K.i[3][1]=C+$*w,K.o[0][0]=H?E+P*w:E-P*w,K.o[0][1]=C-$,K.o[1][0]=H?E+P:E-P,K.o[1][1]=C+$*w,K.o[2][0]=H?E-P*w:E+P*w,K.o[2][1]=C+$,K.o[3][0]=H?E-P:E+P,K.o[3][1]=C-$*w}},B([te],_),_}(),V=function(){function w(_,g){this.v=se.newElement(),this.v.setPathData(!0,0),this.elem=_,this.comp=_.comp,this.data=g,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(_),g.sy===1?(this.ir=rt.getProp(_,g.ir,0,0,this),this.is=rt.getProp(_,g.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=rt.getProp(_,g.pt,0,0,this),this.p=rt.getProp(_,g.p,1,0,this),this.r=rt.getProp(_,g.r,0,Tt,this),this.or=rt.getProp(_,g.or,0,0,this),this.os=rt.getProp(_,g.os,0,.01,this),this.localShapeCollection=Wi.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:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var g=Math.floor(this.pt.v)*2,E=Math.PI*2/g,C=!0,P=this.or.v,$=this.ir.v,H=this.os.v,K=this.is.v,pt=2*Math.PI*P/(g*2),nt=2*Math.PI*$/(g*2),tt,vt,st,Y,T=-Math.PI/2;T+=this.r.v;var R=this.data.d===3?-1:1;for(this.v._length=0,tt=0;tt<g;tt+=1){vt=C?P:$,st=C?H:K,Y=C?pt:nt;var m=vt*Math.cos(T),v=vt*Math.sin(T),U=m===0&&v===0?0:v/Math.sqrt(m*m+v*v),D=m===0&&v===0?0:-m/Math.sqrt(m*m+v*v);m+=+this.p.v[0],v+=+this.p.v[1],this.v.setTripleAt(m,v,m-U*Y*st*R,v-D*Y*st*R,m+U*Y*st*R,v+D*Y*st*R,tt,!0),C=!C,T+=E*R}},convertPolygonToPath:function(){var g=Math.floor(this.pt.v),E=Math.PI*2/g,C=this.or.v,P=this.os.v,$=2*Math.PI*C/(g*4),H,K=-Math.PI*.5,pt=this.data.d===3?-1:1;for(K+=this.r.v,this.v._length=0,H=0;H<g;H+=1){var nt=C*Math.cos(K),tt=C*Math.sin(K),vt=nt===0&&tt===0?0:tt/Math.sqrt(nt*nt+tt*tt),st=nt===0&&tt===0?0:-nt/Math.sqrt(nt*nt+tt*tt);nt+=+this.p.v[0],tt+=+this.p.v[1],this.v.setTripleAt(nt,tt,nt-vt*$*P*pt,tt-st*$*P*pt,nt+vt*$*P*pt,tt+st*$*P*pt,H,!0),K+=E*pt}this.paths.length=0,this.paths[0]=this.v}},B([te],w),w}(),b=function(){function w(_,g){this.v=se.newElement(),this.v.c=!0,this.localShapeCollection=Wi.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=_,this.comp=_.comp,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(_),this.p=rt.getProp(_,g.p,1,0,this),this.s=rt.getProp(_,g.s,1,0,this),this.r=rt.getProp(_,g.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return w.prototype={convertRectToPath:function(){var g=this.p.v[0],E=this.p.v[1],C=this.s.v[0]/2,P=this.s.v[1]/2,$=we(C,P,this.r.v),H=$*(1-de);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(g+C,E-P+$,g+C,E-P+$,g+C,E-P+H,0,!0),this.v.setTripleAt(g+C,E+P-$,g+C,E+P-H,g+C,E+P-$,1,!0),$!==0?(this.v.setTripleAt(g+C-$,E+P,g+C-$,E+P,g+C-H,E+P,2,!0),this.v.setTripleAt(g-C+$,E+P,g-C+H,E+P,g-C+$,E+P,3,!0),this.v.setTripleAt(g-C,E+P-$,g-C,E+P-$,g-C,E+P-H,4,!0),this.v.setTripleAt(g-C,E-P+$,g-C,E-P+H,g-C,E-P+$,5,!0),this.v.setTripleAt(g-C+$,E-P,g-C+$,E-P,g-C+H,E-P,6,!0),this.v.setTripleAt(g+C-$,E-P,g+C-H,E-P,g+C-$,E-P,7,!0)):(this.v.setTripleAt(g-C,E+P,g-C+H,E+P,g-C,E+P,2),this.v.setTripleAt(g-C,E-P,g-C,E-P+H,g-C,E-P,3))):(this.v.setTripleAt(g+C,E-P+$,g+C,E-P+H,g+C,E-P+$,0,!0),$!==0?(this.v.setTripleAt(g+C-$,E-P,g+C-$,E-P,g+C-H,E-P,1,!0),this.v.setTripleAt(g-C+$,E-P,g-C+H,E-P,g-C+$,E-P,2,!0),this.v.setTripleAt(g-C,E-P+$,g-C,E-P+$,g-C,E-P+H,3,!0),this.v.setTripleAt(g-C,E+P-$,g-C,E+P-H,g-C,E+P-$,4,!0),this.v.setTripleAt(g-C+$,E+P,g-C+$,E+P,g-C+H,E+P,5,!0),this.v.setTripleAt(g+C-$,E+P,g+C-H,E+P,g+C-$,E+P,6,!0),this.v.setTripleAt(g+C,E+P-$,g+C,E+P-$,g+C,E+P-H,7,!0)):(this.v.setTripleAt(g-C,E-P,g-C+H,E-P,g-C,E-P,1,!0),this.v.setTripleAt(g-C,E+P,g-C,E+P-H,g-C,E+P,2,!0),this.v.setTripleAt(g+C,E+P,g+C-H,E+P,g+C,E+P,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:a},B([te],w),w}();function L(w,_,g){var E;if(g===3||g===4){var C=g===3?_.pt:_.ks,P=C.k;P.length?E=new k(w,_,g):E=new x(w,_,g)}else g===5?E=new b(w,_):g===6?E=new I(w,_):g===7&&(E=new V(w,_));return E.k&&w.addDynamicProperty(E),E}function O(){return x}function N(){return k}var z={};return z.getShapeProp=L,z.getConstructorFunction=O,z.getKeyframedConstructorFunction=N,z}();var ae=function(){var t=Math.cos,r=Math.sin,i=Math.tan,a=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(m){if(m===0)return this;var v=t(m),U=r(m);return this._t(v,-U,0,0,U,v,0,0,0,0,1,0,0,0,0,1)}function p(m){if(m===0)return this;var v=t(m),U=r(m);return this._t(1,0,0,0,0,v,-U,0,0,U,v,0,0,0,0,1)}function x(m){if(m===0)return this;var v=t(m),U=r(m);return this._t(v,0,U,0,0,1,0,0,-U,0,v,0,0,0,0,1)}function u(m){if(m===0)return this;var v=t(m),U=r(m);return this._t(v,-U,0,0,U,v,0,0,0,0,1,0,0,0,0,1)}function k(m,v){return this._t(1,v,m,1,0,0)}function I(m,v){return this.shear(i(m),i(v))}function V(m,v){var U=t(v),D=r(v);return this._t(U,D,0,0,-D,U,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(m),1,0,0,0,0,1,0,0,0,0,1)._t(U,-D,0,0,D,U,0,0,0,0,1,0,0,0,0,1)}function b(m,v,U){return!U&&U!==0&&(U=1),m===1&&v===1&&U===1?this:this._t(m,0,0,0,0,v,0,0,0,0,U,0,0,0,0,1)}function L(m,v,U,D,it,ht,ut,kt,Ct,Ht,ye,or,xe,ee,Ie,Lt){return this.props[0]=m,this.props[1]=v,this.props[2]=U,this.props[3]=D,this.props[4]=it,this.props[5]=ht,this.props[6]=ut,this.props[7]=kt,this.props[8]=Ct,this.props[9]=Ht,this.props[10]=ye,this.props[11]=or,this.props[12]=xe,this.props[13]=ee,this.props[14]=Ie,this.props[15]=Lt,this}function O(m,v,U){return U=U||0,m!==0||v!==0||U!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,m,v,U,1):this}function N(m,v,U,D,it,ht,ut,kt,Ct,Ht,ye,or,xe,ee,Ie,Lt){var at=this.props;if(m===1&&v===0&&U===0&&D===0&&it===0&&ht===1&&ut===0&&kt===0&&Ct===0&&Ht===0&&ye===1&&or===0)return at[12]=at[12]*m+at[15]*xe,at[13]=at[13]*ht+at[15]*ee,at[14]=at[14]*ye+at[15]*Ie,at[15]*=Lt,this._identityCalculated=!1,this;var ur=at[0],Hr=at[1],fr=at[2],sr=at[3],vr=at[4],gr=at[5],Ee=at[6],Gr=at[7],jr=at[8],qe=at[9],Wr=at[10],Ye=at[11],di=at[12],oa=at[13],sa=at[14],aa=at[15];return at[0]=ur*m+Hr*it+fr*Ct+sr*xe,at[1]=ur*v+Hr*ht+fr*Ht+sr*ee,at[2]=ur*U+Hr*ut+fr*ye+sr*Ie,at[3]=ur*D+Hr*kt+fr*or+sr*Lt,at[4]=vr*m+gr*it+Ee*Ct+Gr*xe,at[5]=vr*v+gr*ht+Ee*Ht+Gr*ee,at[6]=vr*U+gr*ut+Ee*ye+Gr*Ie,at[7]=vr*D+gr*kt+Ee*or+Gr*Lt,at[8]=jr*m+qe*it+Wr*Ct+Ye*xe,at[9]=jr*v+qe*ht+Wr*Ht+Ye*ee,at[10]=jr*U+qe*ut+Wr*ye+Ye*Ie,at[11]=jr*D+qe*kt+Wr*or+Ye*Lt,at[12]=di*m+oa*it+sa*Ct+aa*xe,at[13]=di*v+oa*ht+sa*Ht+aa*ee,at[14]=di*U+oa*ut+sa*ye+aa*Ie,at[15]=di*D+oa*kt+sa*or+aa*Lt,this._identityCalculated=!1,this}function z(m){var v=m.props;return this.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15])}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 _(m){for(var v=0;v<16;){if(m.props[v]!==this.props[v])return!1;v+=1}return!0}function g(m){var v;for(v=0;v<16;v+=1)m.props[v]=this.props[v];return m}function E(m){var v;for(v=0;v<16;v+=1)this.props[v]=m[v]}function C(m,v,U){return{x:m*this.props[0]+v*this.props[4]+U*this.props[8]+this.props[12],y:m*this.props[1]+v*this.props[5]+U*this.props[9]+this.props[13],z:m*this.props[2]+v*this.props[6]+U*this.props[10]+this.props[14]}}function P(m,v,U){return m*this.props[0]+v*this.props[4]+U*this.props[8]+this.props[12]}function $(m,v,U){return m*this.props[1]+v*this.props[5]+U*this.props[9]+this.props[13]}function H(m,v,U){return m*this.props[2]+v*this.props[6]+U*this.props[10]+this.props[14]}function K(){var m=this.props[0]*this.props[5]-this.props[1]*this.props[4],v=this.props[5]/m,U=-this.props[1]/m,D=-this.props[4]/m,it=this.props[0]/m,ht=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/m,ut=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/m,kt=new ae;return kt.props[0]=v,kt.props[1]=U,kt.props[4]=D,kt.props[5]=it,kt.props[12]=ht,kt.props[13]=ut,kt}function pt(m){var v=this.getInverseMatrix();return v.applyToPointArray(m[0],m[1],m[2]||0)}function nt(m){var v,U=m.length,D=[];for(v=0;v<U;v+=1)D[v]=pt(m[v]);return D}function tt(m,v,U){var D=Q("float32",6);if(this.isIdentity())D[0]=m[0],D[1]=m[1],D[2]=v[0],D[3]=v[1],D[4]=U[0],D[5]=U[1];else{var it=this.props[0],ht=this.props[1],ut=this.props[4],kt=this.props[5],Ct=this.props[12],Ht=this.props[13];D[0]=m[0]*it+m[1]*ut+Ct,D[1]=m[0]*ht+m[1]*kt+Ht,D[2]=v[0]*it+v[1]*ut+Ct,D[3]=v[0]*ht+v[1]*kt+Ht,D[4]=U[0]*it+U[1]*ut+Ct,D[5]=U[0]*ht+U[1]*kt+Ht}return D}function vt(m,v,U){var D;return this.isIdentity()?D=[m,v,U]:D=[m*this.props[0]+v*this.props[4]+U*this.props[8]+this.props[12],m*this.props[1]+v*this.props[5]+U*this.props[9]+this.props[13],m*this.props[2]+v*this.props[6]+U*this.props[10]+this.props[14]],D}function st(m,v){if(this.isIdentity())return m+","+v;var U=this.props;return Math.round((m*U[0]+v*U[4]+U[12])*100)/100+","+Math.round((m*U[1]+v*U[5]+U[13])*100)/100}function Y(){for(var m=0,v=this.props,U="matrix3d(",D=1e4;m<16;)U+=a(v[m]*D)/D,U+=m===15?")":",",m+=1;return U}function T(m){var v=1e4;return m<1e-6&&m>0||m>-1e-6&&m<0?a(m*v)/v:m}function R(){var m=this.props,v=T(m[0]),U=T(m[1]),D=T(m[4]),it=T(m[5]),ht=T(m[12]),ut=T(m[13]);return"matrix("+v+","+U+","+D+","+it+","+ht+","+ut+")"}return function(){this.reset=d,this.rotate=c,this.rotateX=p,this.rotateY=x,this.rotateZ=u,this.skew=I,this.skewFromAxis=V,this.shear=k,this.scale=b,this.setTransform=L,this.translate=O,this.transform=N,this.multiply=z,this.applyToPoint=C,this.applyToX=P,this.applyToY=$,this.applyToZ=H,this.applyToPointArray=vt,this.applyToTriplePoints=tt,this.applyToPointStringified=st,this.toCSS=Y,this.to2dCSS=R,this.clone=g,this.cloneFromProps=E,this.equals=_,this.inversePoints=nt,this.inversePoint=pt,this.getInverseMatrix=K,this._t=this.transform,this.isIdentity=w,this._identity=!0,this._identityCalculated=!1,this.props=Q("float32",16),this.reset()}}();function Xs(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Xs=function(i){return typeof i}:Xs=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Xs(t)}var It={},Zs="__[STANDALONE]__",Wc="__[ANIMATIONDATA]__",qc="";function Cu(t){f(t)}function Yc(){Zs===!0?Ut.searchAnimations(Wc,Zs,qc):Ut.searchAnimations()}function wu(t){du(t)}function Iu(t){pu(t)}function Lu(t){return Zs===!0&&(t.animationData=JSON.parse(Wc)),Ut.loadAnimation(t)}function Mu(t){if(typeof t=="string")switch(t){case"high":Hs(200);break;default:case"medium":Hs(50);break;case"low":Hs(10);break}else!isNaN(t)&&t>1&&Hs(t);Oo()>=50?Oe(!1):Oe(!0)}function Nu(){return typeof navigator<"u"}function Ru(t,r){t==="expressions"&&mu(r)}function Ou(t){switch(t){case"propertyFactory":return rt;case"shapePropertyFactory":return Ks;case"matrix":return ae;default:return null}}It.play=Ut.play,It.pause=Ut.pause,It.setLocationHref=Cu,It.togglePause=Ut.togglePause,It.setSpeed=Ut.setSpeed,It.setDirection=Ut.setDirection,It.stop=Ut.stop,It.searchAnimations=Yc,It.registerAnimation=Ut.registerAnimation,It.loadAnimation=Lu,It.setSubframeRendering=wu,It.resize=Ut.resize,It.goToAndStop=Ut.goToAndStop,It.destroy=Ut.destroy,It.setQuality=Mu,It.inBrowser=Nu,It.installPlugin=Ru,It.freeze=Ut.freeze,It.unfreeze=Ut.unfreeze,It.setVolume=Ut.setVolume,It.mute=Ut.mute,It.unmute=Ut.unmute,It.getRegisteredAnimations=Ut.getRegisteredAnimations,It.useWebWorker=n,It.setIDPrefix=Iu,It.__getFactory=Ou,It.version="5.12.2";function Pu(){document.readyState==="complete"&&(clearInterval(zu),Yc())}function Du(t){for(var r=Kc.split("&"),i=0;i<r.length;i+=1){var a=r[i].split("=");if(decodeURIComponent(a[0])==t)return decodeURIComponent(a[1])}return null}var Kc="";if(Zs){var Xc=document.getElementsByTagName("script"),Fu=Xc.length-1,Zc=Xc[Fu]||{src:""};Kc=Zc.src?Zc.src.replace(/^[^\?]+\??/,""):"",qc=Du("renderer")}var zu=setInterval(Pu,100);try{!((typeof Vs>"u"?"undefined":Xs(Vs))==="object"&&typeof wn<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=It)}catch{}var Fr=function(){var t={},r={};t.registerModifier=i,t.getModifier=a;function i(d,c){r[d]||(r[d]=c)}function a(d,c,p){return new r[d](c,p)}return t}();function De(){}De.prototype.initModifierProperties=function(){},De.prototype.addShapeToModifier=function(){},De.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var r={shape:t.sh,data:t,localShapeCollection:Wi.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&t.setAsAnimated()}},De.prototype.init=function(t,r){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,r),this.frameId=s,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},De.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},B([te],De);function We(){}B([De],We),We.prototype.initModifierProperties=function(t,r){this.s=rt.getProp(t,r.s,0,.01,this),this.e=rt.getProp(t,r.e,0,.01,this),this.o=rt.getProp(t,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},We.prototype.addShapeToModifier=function(t){t.pathsData=[]},We.prototype.calculateShapeEdges=function(t,r,i,a,d){var c=[];r<=1?c.push({s:t,e:r}):t>=1?c.push({s:t-1,e:r-1}):(c.push({s:t,e:1}),c.push({s:0,e:r-1}));var p=[],x,u=c.length,k;for(x=0;x<u;x+=1)if(k=c[x],!(k.e*d<a||k.s*d>a+i)){var I,V;k.s*d<=a?I=0:I=(k.s*d-a)/i,k.e*d>=a+i?V=1:V=(k.e*d-a)/i,p.push([I,V])}return p.length||p.push([0,0]),p},We.prototype.releasePathsData=function(t){var r,i=t.length;for(r=0;r<i;r+=1)Bc.release(t[r]);return t.length=0,t},We.prototype.processShapes=function(t){var r,i;if(this._mdf||t){var a=this.o.v%360/360;if(a<0&&(a+=1),this.s.v>1?r=1+a:this.s.v<0?r=0+a:r=this.s.v+a,this.e.v>1?i=1+a:this.e.v<0?i=0+a:i=this.e.v+a,r>i){var d=r;r=i,i=d}r=Math.round(r*1e4)*1e-4,i=Math.round(i*1e4)*1e-4,this.sValue=r,this.eValue=i}else r=this.sValue,i=this.eValue;var c,p,x=this.shapes.length,u,k,I,V,b,L=0;if(i===r)for(p=0;p<x;p+=1)this.shapes[p].localShapeCollection.releaseShapes(),this.shapes[p].shape._mdf=!0,this.shapes[p].shape.paths=this.shapes[p].localShapeCollection,this._mdf&&(this.shapes[p].pathsData.length=0);else if(i===1&&r===0||i===0&&r===1){if(this._mdf)for(p=0;p<x;p+=1)this.shapes[p].pathsData.length=0,this.shapes[p].shape._mdf=!0}else{var O=[],N,z;for(p=0;p<x;p+=1)if(N=this.shapes[p],!N.shape._mdf&&!this._mdf&&!t&&this.m!==2)N.shape.paths=N.localShapeCollection;else{if(c=N.shape.paths,k=c._length,b=0,!N.shape._mdf&&N.pathsData.length)b=N.totalShapeLength;else{for(I=this.releasePathsData(N.pathsData),u=0;u<k;u+=1)V=rr.getSegmentsLength(c.shapes[u]),I.push(V),b+=V.totalLength;N.totalShapeLength=b,N.pathsData=I}L+=b,N.shape._mdf=!0}var w=r,_=i,g=0,E;for(p=x-1;p>=0;p-=1)if(N=this.shapes[p],N.shape._mdf){for(z=N.localShapeCollection,z.releaseShapes(),this.m===2&&x>1?(E=this.calculateShapeEdges(r,i,N.totalShapeLength,g,L),g+=N.totalShapeLength):E=[[w,_]],k=E.length,u=0;u<k;u+=1){w=E[u][0],_=E[u][1],O.length=0,_<=1?O.push({s:N.totalShapeLength*w,e:N.totalShapeLength*_}):w>=1?O.push({s:N.totalShapeLength*(w-1),e:N.totalShapeLength*(_-1)}):(O.push({s:N.totalShapeLength*w,e:N.totalShapeLength}),O.push({s:0,e:N.totalShapeLength*(_-1)}));var C=this.addShapes(N,O[0]);if(O[0].s!==O[0].e){if(O.length>1){var P=N.shape.paths.shapes[N.shape.paths._length-1];if(P.c){var $=C.pop();this.addPaths(C,z),C=this.addShapes(N,O[1],$)}else this.addPaths(C,z),C=this.addShapes(N,O[1])}this.addPaths(C,z)}}N.shape.paths=z}}},We.prototype.addPaths=function(t,r){var i,a=t.length;for(i=0;i<a;i+=1)r.addShape(t[i])},We.prototype.addSegment=function(t,r,i,a,d,c,p){d.setXYAt(r[0],r[1],"o",c),d.setXYAt(i[0],i[1],"i",c+1),p&&d.setXYAt(t[0],t[1],"v",c),d.setXYAt(a[0],a[1],"v",c+1)},We.prototype.addSegmentFromArray=function(t,r,i,a){r.setXYAt(t[1],t[5],"o",i),r.setXYAt(t[2],t[6],"i",i+1),a&&r.setXYAt(t[0],t[4],"v",i),r.setXYAt(t[3],t[7],"v",i+1)},We.prototype.addShapes=function(t,r,i){var a=t.pathsData,d=t.shape.paths.shapes,c,p=t.shape.paths._length,x,u,k=0,I,V,b,L,O=[],N,z=!0;for(i?(V=i._length,N=i._length):(i=se.newElement(),V=0,N=0),O.push(i),c=0;c<p;c+=1){for(b=a[c].lengths,i.c=d[c].c,u=d[c].c?b.length:b.length+1,x=1;x<u;x+=1)if(I=b[x-1],k+I.addedLength<r.s)k+=I.addedLength,i.c=!1;else if(k>r.e){i.c=!1;break}else r.s<=k&&r.e>=k+I.addedLength?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[x],d[c].v[x],i,V,z),z=!1):(L=rr.getNewSegment(d[c].v[x-1],d[c].v[x],d[c].o[x-1],d[c].i[x],(r.s-k)/I.addedLength,(r.e-k)/I.addedLength,b[x-1]),this.addSegmentFromArray(L,i,V,z),z=!1,i.c=!1),k+=I.addedLength,V+=1;if(d[c].c&&b.length){if(I=b[x-1],k<=r.e){var w=b[x-1].addedLength;r.s<=k&&r.e>=k+w?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[0],d[c].v[0],i,V,z),z=!1):(L=rr.getNewSegment(d[c].v[x-1],d[c].v[0],d[c].o[x-1],d[c].i[0],(r.s-k)/w,(r.e-k)/w,b[x-1]),this.addSegmentFromArray(L,i,V,z),z=!1,i.c=!1)}else i.c=!1;k+=I.addedLength,V+=1}if(i._length&&(i.setXYAt(i.v[N][0],i.v[N][1],"i",N),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),k>r.e)break;c<p-1&&(i=se.newElement(),z=!0,O.push(i),V=0)}return O};function $o(){}B([De],$o),$o.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amount=rt.getProp(t,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},$o.prototype.processPath=function(t,r){var i=r/100,a=[0,0],d=t._length,c=0;for(c=0;c<d;c+=1)a[0]+=t.v[c][0],a[1]+=t.v[c][1];a[0]/=d,a[1]/=d;var p=se.newElement();p.c=t.c;var x,u,k,I,V,b;for(c=0;c<d;c+=1)x=t.v[c][0]+(a[0]-t.v[c][0])*i,u=t.v[c][1]+(a[1]-t.v[c][1])*i,k=t.o[c][0]+(a[0]-t.o[c][0])*-i,I=t.o[c][1]+(a[1]-t.o[c][1])*-i,V=t.i[c][0]+(a[0]-t.i[c][0])*-i,b=t.i[c][1]+(a[1]-t.i[c][1])*-i,p.setTripleAt(x,u,k,I,V,b,c);return p},$o.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,p=this.amount.v;if(p!==0){var x,u;for(i=0;i<a;i+=1){if(x=this.shapes[i],u=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!t))for(u.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,d=0;d<c;d+=1)u.addShape(this.processPath(r[d],p));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var On=function(){var t=[0,0];function r(u){var k=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||k,this.a&&u.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&u.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&u.skewFromAxis(-this.sk.v,this.sa.v),this.r?u.rotate(-this.r.v):u.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?u.translate(this.px.v,this.py.v,-this.pz.v):u.translate(this.px.v,this.py.v,0):u.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(u){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||u){var k;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var I,V;if(k=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(I=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/k,0),V=this.p.getValueAtTime(this.p.keyframes[0].t/k,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(I=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/k,0),V=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/k,0)):(I=this.p.pv,V=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/k,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){I=[],V=[];var b=this.px,L=this.py;b._caching.lastFrame+b.offsetTime<=b.keyframes[0].t?(I[0]=b.getValueAtTime((b.keyframes[0].t+.01)/k,0),I[1]=L.getValueAtTime((L.keyframes[0].t+.01)/k,0),V[0]=b.getValueAtTime(b.keyframes[0].t/k,0),V[1]=L.getValueAtTime(L.keyframes[0].t/k,0)):b._caching.lastFrame+b.offsetTime>=b.keyframes[b.keyframes.length-1].t?(I[0]=b.getValueAtTime(b.keyframes[b.keyframes.length-1].t/k,0),I[1]=L.getValueAtTime(L.keyframes[L.keyframes.length-1].t/k,0),V[0]=b.getValueAtTime((b.keyframes[b.keyframes.length-1].t-.01)/k,0),V[1]=L.getValueAtTime((L.keyframes[L.keyframes.length-1].t-.01)/k,0)):(I=[b.pv,L.pv],V[0]=b.getValueAtTime((b._caching.lastFrame+b.offsetTime-.01)/k,b.offsetTime),V[1]=L.getValueAtTime((L._caching.lastFrame+L.offsetTime-.01)/k,L.offsetTime))}else V=t,I=V;this.v.rotate(-Math.atan2(I[1]-V[1],I[0]-V[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 a(){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(u){this._addDynamicProperty(u),this.elem.addDynamicProperty(u),this._isDirty=!0}function p(u,k,I){if(this.elem=u,this.frameId=-1,this.propType="transform",this.data=k,this.v=new ae,this.pre=new ae,this.appliedTransformations=0,this.initDynamicPropertyContainer(I||u),k.p&&k.p.s?(this.px=rt.getProp(u,k.p.x,0,0,this),this.py=rt.getProp(u,k.p.y,0,0,this),k.p.z&&(this.pz=rt.getProp(u,k.p.z,0,0,this))):this.p=rt.getProp(u,k.p||{k:[0,0,0]},1,0,this),k.rx){if(this.rx=rt.getProp(u,k.rx,0,Tt,this),this.ry=rt.getProp(u,k.ry,0,Tt,this),this.rz=rt.getProp(u,k.rz,0,Tt,this),k.or.k[0].ti){var V,b=k.or.k.length;for(V=0;V<b;V+=1)k.or.k[V].to=null,k.or.k[V].ti=null}this.or=rt.getProp(u,k.or,1,Tt,this),this.or.sh=!0}else this.r=rt.getProp(u,k.r||{k:0},0,Tt,this);k.sk&&(this.sk=rt.getProp(u,k.sk,0,Tt,this),this.sa=rt.getProp(u,k.sa,0,Tt,this)),this.a=rt.getProp(u,k.a||{k:[0,0,0]},1,0,this),this.s=rt.getProp(u,k.s||{k:[100,100,100]},1,.01,this),k.o?this.o=rt.getProp(u,k.o,0,.01,u):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}p.prototype={applyToMatrix:r,getValue:i,precalculateMatrix:a,autoOrient:d},B([te],p),p.prototype.addDynamicProperty=c,p.prototype._addDynamicProperty=te.prototype.addDynamicProperty;function x(u,k,I){return new p(u,k,I)}return{getTransformProperty:x}}();function ir(){}B([De],ir),ir.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.c=rt.getProp(t,r.c,0,null,this),this.o=rt.getProp(t,r.o,0,null,this),this.tr=On.getTransformProperty(t,r.tr,this),this.so=rt.getProp(t,r.tr.so,0,.01,this),this.eo=rt.getProp(t,r.tr.eo,0,.01,this),this.data=r,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new ae,this.rMatrix=new ae,this.sMatrix=new ae,this.tMatrix=new ae,this.matrix=new ae},ir.prototype.applyTransforms=function(t,r,i,a,d,c){var p=c?-1:1,x=a.s.v[0]+(1-a.s.v[0])*(1-d),u=a.s.v[1]+(1-a.s.v[1])*(1-d);t.translate(a.p.v[0]*p*d,a.p.v[1]*p*d,a.p.v[2]),r.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),r.rotate(-a.r.v*p*d),r.translate(a.a.v[0],a.a.v[1],a.a.v[2]),i.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),i.scale(c?1/x:x,c?1/u:u),i.translate(a.a.v[0],a.a.v[1],a.a.v[2])},ir.prototype.init=function(t,r,i,a){for(this.elem=t,this.arr=r,this.pos=i,this.elemsData=a,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,r[i]);i>0;)i-=1,this._elements.unshift(r[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ir.prototype.resetElements=function(t){var r,i=t.length;for(r=0;r<i;r+=1)t[r]._processed=!1,t[r].ty==="gr"&&this.resetElements(t[r].it)},ir.prototype.cloneElements=function(t){var r=JSON.parse(JSON.stringify(t));return this.resetElements(r),r},ir.prototype.changeGroupRender=function(t,r){var i,a=t.length;for(i=0;i<a;i+=1)t[i]._render=r,t[i].ty==="gr"&&this.changeGroupRender(t[i].it,r)},ir.prototype.processShapes=function(t){var r,i,a,d,c,p=!1;if(this._mdf||t){var x=Math.ceil(this.c.v);if(this._groups.length<x){for(;this._groups.length<x;){var u={it:this.cloneElements(this._elements),ty:"gr"};u.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,u),this._groups.splice(0,0,u),this._currentCopies+=1}this.elem.reloadShapes(),p=!0}c=0;var k;for(a=0;a<=this._groups.length-1;a+=1){if(k=c<x,this._groups[a]._render=k,this.changeGroupRender(this._groups[a].it,k),!k){var I=this.elemsData[a].it,V=I[I.length-1];V.transform.op.v!==0?(V.transform.op._mdf=!0,V.transform.op.v=0):V.transform.op._mdf=!1}c+=1}this._currentCopies=x;var b=this.o.v,L=b%1,O=b>0?Math.floor(b):Math.ceil(b),N=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(b>0){for(;_<O;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;L&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,L,!1),_+=L)}else if(b<0){for(;_>O;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;L&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-L,!0),_-=L)}a=this.data.m===1?0:this._currentCopies-1,d=this.data.m===1?1:-1,c=this._currentCopies;for(var g,E;c;){if(r=this.elemsData[a].it,i=r[r.length-1].transform.mProps.v.props,E=i.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)*(a/(this._currentCopies-1)),_!==0){for((a!==0&&d===1||a!==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(N[0],N[1],N[2],N[3],N[4],N[5],N[6],N[7],N[8],N[9],N[10],N[11],N[12],N[13],N[14],N[15]),g=0;g<E;g+=1)i[g]=this.matrix.props[g];this.matrix.reset()}else for(this.matrix.reset(),g=0;g<E;g+=1)i[g]=this.matrix.props[g];_+=1,c-=1,a+=d}}else for(c=this._currentCopies,a=0,d=1;c;)r=this.elemsData[a].it,i=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,a+=d;return p},ir.prototype.addShape=function(){};function Vo(){}B([De],Vo),Vo.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.rd=rt.getProp(t,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},Vo.prototype.processPath=function(t,r){var i=se.newElement();i.c=t.c;var a,d=t._length,c,p,x,u,k,I,V=0,b,L,O,N,z,w;for(a=0;a<d;a+=1)c=t.v[a],x=t.o[a],p=t.i[a],c[0]===x[0]&&c[1]===x[1]&&c[0]===p[0]&&c[1]===p[1]?(a===0||a===d-1)&&!t.c?(i.setTripleAt(c[0],c[1],x[0],x[1],p[0],p[1],V),V+=1):(a===0?u=t.v[d-1]:u=t.v[a-1],k=Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)),I=k?Math.min(k/2,r)/k:0,z=c[0]+(u[0]-c[0])*I,b=z,w=c[1]-(c[1]-u[1])*I,L=w,O=b-(b-c[0])*de,N=L-(L-c[1])*de,i.setTripleAt(b,L,O,N,z,w,V),V+=1,a===d-1?u=t.v[0]:u=t.v[a+1],k=Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)),I=k?Math.min(k/2,r)/k:0,O=c[0]+(u[0]-c[0])*I,b=O,N=c[1]+(u[1]-c[1])*I,L=N,z=b-(b-c[0])*de,w=L-(L-c[1])*de,i.setTripleAt(b,L,O,N,z,w,V),V+=1):(i.setTripleAt(t.v[a][0],t.v[a][1],t.o[a][0],t.o[a][1],t.i[a][0],t.i[a][1],V),V+=1);return i},Vo.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,p=this.rd.v;if(p!==0){var x,u;for(i=0;i<a;i+=1){if(x=this.shapes[i],u=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!t))for(u.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,d=0;d<c;d+=1)u.addShape(this.processPath(r[d],p));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Js(t,r){return Math.abs(t-r)*1e5<=Math.min(Math.abs(t),Math.abs(r))}function Pn(t){return Math.abs(t)<=1e-5}function Jc(t,r,i){return t*(1-i)+r*i}function zr(t,r,i){return[Jc(t[0],r[0],i),Jc(t[1],r[1],i)]}function $u(t,r,i){if(t===0)return[];var a=r*r-4*t*i;if(a<0)return[];var d=-r/(2*t);if(a===0)return[d];var c=Math.sqrt(a)/(2*t);return[d-c,d+c]}function Qc(t,r,i,a){return[-t+3*r-3*i+a,3*t-6*r+3*i,-3*t+3*r,t]}function td(t){return new Ft(t,t,t,t,!1)}function Ft(t,r,i,a,d){d&&Yi(t,r)&&(r=zr(t,a,1/3)),d&&Yi(i,a)&&(i=zr(t,a,2/3));var c=Qc(t[0],r[0],i[0],a[0]),p=Qc(t[1],r[1],i[1],a[1]);this.a=[c[0],p[0]],this.b=[c[1],p[1]],this.c=[c[2],p[2]],this.d=[c[3],p[3]],this.points=[t,r,i,a]}Ft.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},Ft.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},Ft.prototype.tangentAngle=function(t){var r=this.derivative(t);return Math.atan2(r[1],r[0])},Ft.prototype.normalAngle=function(t){var r=this.derivative(t);return Math.atan2(r[0],r[1])},Ft.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Pn(t))return[];var r=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,i=r*r-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(i<0)return[];var a=Math.sqrt(i);return Pn(a)?a>0&&a<1?[r]:[]:[r-a,r+a].filter(function(d){return d>0&&d<1})},Ft.prototype.split=function(t){if(t<=0)return[td(this.points[0]),this];if(t>=1)return[this,td(this.points[this.points.length-1])];var r=zr(this.points[0],this.points[1],t),i=zr(this.points[1],this.points[2],t),a=zr(this.points[2],this.points[3],t),d=zr(r,i,t),c=zr(i,a,t),p=zr(d,c,t);return[new Ft(this.points[0],r,d,p,!0),new Ft(p,c,a,this.points[3],!0)]};function ed(t,r){var i=t.points[0][r],a=t.points[t.points.length-1][r];if(i>a){var d=a;a=i,i=d}for(var c=$u(3*t.a[r],2*t.b[r],t.c[r]),p=0;p<c.length;p+=1)if(c[p]>0&&c[p]<1){var x=t.point(c[p])[r];x<i?i=x:x>a&&(a=x)}return{min:i,max:a}}Ft.prototype.bounds=function(){return{x:ed(this,0),y:ed(this,1)}},Ft.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}};function Qs(t,r,i){var a=t.boundingBox();return{cx:a.cx,cy:a.cy,width:a.width,height:a.height,bez:t,t:(r+i)/2,t1:r,t2:i}}function rd(t){var r=t.bez.split(.5);return[Qs(r[0],t.t1,t.t),Qs(r[1],t.t,t.t2)]}function Vu(t,r){return Math.abs(t.cx-r.cx)*2<t.width+r.width&&Math.abs(t.cy-r.cy)*2<t.height+r.height}function Bo(t,r,i,a,d,c){if(Vu(t,r)){if(i>=c||t.width<=a&&t.height<=a&&r.width<=a&&r.height<=a){d.push([t.t,r.t]);return}var p=rd(t),x=rd(r);Bo(p[0],x[0],i+1,a,d,c),Bo(p[0],x[1],i+1,a,d,c),Bo(p[1],x[0],i+1,a,d,c),Bo(p[1],x[1],i+1,a,d,c)}}Ft.prototype.intersections=function(t,r,i){r===void 0&&(r=2),i===void 0&&(i=7);var a=[];return Bo(Qs(this,0,1),Qs(t,0,1),0,r,a,i),a},Ft.shapeSegment=function(t,r){var i=(r+1)%t.length();return new Ft(t.v[r],t.o[r],t.i[i],t.v[i],!0)},Ft.shapeSegmentInverted=function(t,r){var i=(r+1)%t.length();return new Ft(t.v[i],t.i[i],t.o[r],t.v[r],!0)};function Dn(t,r){return[t[1]*r[2]-t[2]*r[1],t[2]*r[0]-t[0]*r[2],t[0]*r[1]-t[1]*r[0]]}function ta(t,r,i,a){var d=[t[0],t[1],1],c=[r[0],r[1],1],p=[i[0],i[1],1],x=[a[0],a[1],1],u=Dn(Dn(d,c),Dn(p,x));return Pn(u[2])?null:[u[0]/u[2],u[1]/u[2]]}function qi(t,r,i){return[t[0]+Math.cos(r)*i,t[1]-Math.sin(r)*i]}function Fn(t,r){return Math.hypot(t[0]-r[0],t[1]-r[1])}function Yi(t,r){return Js(t[0],r[0])&&Js(t[1],r[1])}function Uo(){}B([De],Uo),Uo.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amplitude=rt.getProp(t,r.s,0,null,this),this.frequency=rt.getProp(t,r.r,0,null,this),this.pointsType=rt.getProp(t,r.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function id(t,r,i,a,d,c,p){var x=i-Math.PI/2,u=i+Math.PI/2,k=r[0]+Math.cos(i)*a*d,I=r[1]-Math.sin(i)*a*d;t.setTripleAt(k,I,k+Math.cos(x)*c,I-Math.sin(x)*c,k+Math.cos(u)*p,I-Math.sin(u)*p,t.length())}function Bu(t,r){var i=[r[0]-t[0],r[1]-t[1]],a=-Math.PI*.5,d=[Math.cos(a)*i[0]-Math.sin(a)*i[1],Math.sin(a)*i[0]+Math.cos(a)*i[1]];return d}function Uu(t,r){var i=r===0?t.length()-1:r-1,a=(r+1)%t.length(),d=t.v[i],c=t.v[a],p=Bu(d,c);return Math.atan2(0,1)-Math.atan2(p[1],p[0])}function od(t,r,i,a,d,c,p){var x=Uu(r,i),u=r.v[i%r._length],k=r.v[i===0?r._length-1:i-1],I=r.v[(i+1)%r._length],V=c===2?Math.sqrt(Math.pow(u[0]-k[0],2)+Math.pow(u[1]-k[1],2)):0,b=c===2?Math.sqrt(Math.pow(u[0]-I[0],2)+Math.pow(u[1]-I[1],2)):0;id(t,r.v[i%r._length],x,p,a,b/((d+1)*2),V/((d+1)*2),c)}function Hu(t,r,i,a,d,c){for(var p=0;p<a;p+=1){var x=(p+1)/(a+1),u=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,k=r.normalAngle(x),I=r.point(x);id(t,I,k,c,i,u/((a+1)*2),u/((a+1)*2),d),c=-c}return c}Uo.prototype.processPath=function(t,r,i,a){var d=t._length,c=se.newElement();if(c.c=t.c,t.c||(d-=1),d===0)return c;var p=-1,x=Ft.shapeSegment(t,0);od(c,t,0,r,i,a,p);for(var u=0;u<d;u+=1)p=Hu(c,x,r,i,a,-p),u===d-1&&!t.c?x=null:x=Ft.shapeSegment(t,(u+1)%d),od(c,t,u+1,r,i,a,p);return c},Uo.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,p=this.amplitude.v,x=Math.max(0,Math.round(this.frequency.v)),u=this.pointsType.v;if(p!==0){var k,I;for(i=0;i<a;i+=1){if(k=this.shapes[i],I=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!t))for(I.releaseShapes(),k.shape._mdf=!0,r=k.shape.paths.shapes,c=k.shape.paths._length,d=0;d<c;d+=1)I.addShape(this.processPath(r[d],p,x,u));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function zn(t,r,i){var a=Math.atan2(r[0]-t[0],r[1]-t[1]);return[qi(t,a,i),qi(r,a,i)]}function Ki(t,r){var i,a,d,c,p,x,u;u=zn(t.points[0],t.points[1],r),i=u[0],a=u[1],u=zn(t.points[1],t.points[2],r),d=u[0],c=u[1],u=zn(t.points[2],t.points[3],r),p=u[0],x=u[1];var k=ta(i,a,d,c);k===null&&(k=a);var I=ta(p,x,d,c);return I===null&&(I=p),new Ft(i,k,I,x)}function sd(t,r,i,a,d){var c=r.points[3],p=i.points[0];if(a===3||Yi(c,p))return c;if(a===2){var x=-r.tangentAngle(1),u=-i.tangentAngle(0)+Math.PI,k=ta(c,qi(c,x+Math.PI/2,100),p,qi(p,x+Math.PI/2,100)),I=k?Fn(k,c):Fn(c,p)/2,V=qi(c,x,2*I*de);return t.setXYAt(V[0],V[1],"o",t.length()-1),V=qi(p,u,2*I*de),t.setTripleAt(p[0],p[1],p[0],p[1],V[0],V[1],t.length()),p}var b=Yi(c,r.points[2])?r.points[0]:r.points[2],L=Yi(p,i.points[1])?i.points[3]:i.points[1],O=ta(b,c,p,L);return O&&Fn(O,c)<d?(t.setTripleAt(O[0],O[1],O[0],O[1],O[0],O[1],t.length()),O):c}function ad(t,r){var i=t.intersections(r);return i.length&&Js(i[0][0],1)&&i.shift(),i.length?i[0]:null}function nd(t,r){var i=t.slice(),a=r.slice(),d=ad(t[t.length-1],r[0]);return d&&(i[t.length-1]=t[t.length-1].split(d[0])[0],a[0]=r[0].split(d[1])[1]),t.length>1&&r.length>1&&(d=ad(t[0],r[r.length-1]),d)?[[t[0].split(d[0])[0]],[r[r.length-1].split(d[1])[1]]]:[i,a]}function Gu(t){for(var r,i=1;i<t.length;i+=1)r=nd(t[i-1],t[i]),t[i-1]=r[0],t[i]=r[1];return t.length>1&&(r=nd(t[t.length-1],t[0]),t[t.length-1]=r[0],t[0]=r[1]),t}function ld(t,r){var i=t.inflectionPoints(),a,d,c,p;if(i.length===0)return[Ki(t,r)];if(i.length===1||Js(i[1],1))return c=t.split(i[0]),a=c[0],d=c[1],[Ki(a,r),Ki(d,r)];c=t.split(i[0]),a=c[0];var x=(i[1]-i[0])/(1-i[0]);return c=c[1].split(x),p=c[0],d=c[1],[Ki(a,r),Ki(p,r),Ki(d,r)]}function Ho(){}B([De],Ho),Ho.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amount=rt.getProp(t,r.a,0,null,this),this.miterLimit=rt.getProp(t,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Ho.prototype.processPath=function(t,r,i,a){var d=se.newElement();d.c=t.c;var c=t.length();t.c||(c-=1);var p,x,u,k=[];for(p=0;p<c;p+=1)u=Ft.shapeSegment(t,p),k.push(ld(u,r));if(!t.c)for(p=c-1;p>=0;p-=1)u=Ft.shapeSegmentInverted(t,p),k.push(ld(u,r));k=Gu(k);var I=null,V=null;for(p=0;p<k.length;p+=1){var b=k[p];for(V&&(I=sd(d,V,b[0],i,a)),V=b[b.length-1],x=0;x<b.length;x+=1)u=b[x],I&&Yi(u.points[0],I)?d.setXYAt(u.points[1][0],u.points[1][1],"o",d.length()-1):d.setTripleAt(u.points[0][0],u.points[0][1],u.points[1][0],u.points[1][1],u.points[0][0],u.points[0][1],d.length()),d.setTripleAt(u.points[3][0],u.points[3][1],u.points[3][0],u.points[3][1],u.points[2][0],u.points[2][1],d.length()),I=u.points[3]}return k.length&&sd(d,V,k[0][0],i,a),d},Ho.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,p=this.amount.v,x=this.miterLimit.v,u=this.lineJoin;if(p!==0){var k,I;for(i=0;i<a;i+=1){if(k=this.shapes[i],I=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!t))for(I.releaseShapes(),k.shape._mdf=!0,r=k.shape.paths.shapes,c=k.shape.paths._length,d=0;d<c;d+=1)I.addShape(this.processPath(r[d],p,u,x));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function cd(t){for(var r=t.fStyle?t.fStyle.split(" "):[],i="normal",a="normal",d=r.length,c,p=0;p<d;p+=1)switch(c=r[p].toLowerCase(),c){case"italic":a="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200";break;default:break}return{style:a,weight:t.fWeight||i}}var ni=function(){var t=5e3,r={w:0,size:0,shapes:[],data:{shapes:[]}},i=[];i=i.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 a=127988,d=917631,c=917601,p=917626,x=65039,u=8205,k=127462,I=127487,V=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function b(T){var R=T.split(","),m,v=R.length,U=[];for(m=0;m<v;m+=1)R[m]!=="sans-serif"&&R[m]!=="monospace"&&U.push(R[m]);return U.join(",")}function L(T,R){var m=M("span");m.setAttribute("aria-hidden",!0),m.style.fontFamily=R;var v=M("span");v.innerText="giItT1WQy@!-/#",m.style.position="absolute",m.style.left="-10000px",m.style.top="-10000px",m.style.fontSize="300px",m.style.fontVariant="normal",m.style.fontStyle="normal",m.style.fontWeight="normal",m.style.letterSpacing="0",m.appendChild(v),document.body.appendChild(m);var U=v.offsetWidth;return v.style.fontFamily=b(T)+", "+R,{node:v,w:U,parent:m}}function O(){var T,R=this.fonts.length,m,v,U=R;for(T=0;T<R;T+=1)this.fonts[T].loaded?U-=1:this.fonts[T].fOrigin==="n"||this.fonts[T].origin===0?this.fonts[T].loaded=!0:(m=this.fonts[T].monoCase.node,v=this.fonts[T].monoCase.w,m.offsetWidth!==v?(U-=1,this.fonts[T].loaded=!0):(m=this.fonts[T].sansCase.node,v=this.fonts[T].sansCase.w,m.offsetWidth!==v&&(U-=1,this.fonts[T].loaded=!0)),this.fonts[T].loaded&&(this.fonts[T].sansCase.parent.parentNode.removeChild(this.fonts[T].sansCase.parent),this.fonts[T].monoCase.parent.parentNode.removeChild(this.fonts[T].monoCase.parent)));U!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function N(T,R){var m=document.body&&R?"svg":"canvas",v,U=cd(T);if(m==="svg"){var D=ft("text");D.style.fontSize="100px",D.setAttribute("font-family",T.fFamily),D.setAttribute("font-style",U.style),D.setAttribute("font-weight",U.weight),D.textContent="1",T.fClass?(D.style.fontFamily="inherit",D.setAttribute("class",T.fClass)):D.style.fontFamily=T.fFamily,R.appendChild(D),v=D}else{var it=new OffscreenCanvas(500,500).getContext("2d");it.font=U.style+" "+U.weight+" 100px "+T.fFamily,v=it}function ht(ut){return m==="svg"?(v.textContent=ut,v.getComputedTextLength()):v.measureText(ut).width}return{measureText:ht}}function z(T,R){if(!T){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=T.list;return}if(!document.body){this.isLoaded=!0,T.list.forEach(function(ye){ye.helper=N(ye),ye.cache={}}),this.fonts=T.list;return}var m=T.list,v,U=m.length,D=U;for(v=0;v<U;v+=1){var it=!0,ht,ut;if(m[v].loaded=!1,m[v].monoCase=L(m[v].fFamily,"monospace"),m[v].sansCase=L(m[v].fFamily,"sans-serif"),!m[v].fPath)m[v].loaded=!0,D-=1;else if(m[v].fOrigin==="p"||m[v].origin===3){if(ht=document.querySelectorAll('style[f-forigin="p"][f-family="'+m[v].fFamily+'"], style[f-origin="3"][f-family="'+m[v].fFamily+'"]'),ht.length>0&&(it=!1),it){var kt=M("style");kt.setAttribute("f-forigin",m[v].fOrigin),kt.setAttribute("f-origin",m[v].origin),kt.setAttribute("f-family",m[v].fFamily),kt.type="text/css",kt.innerText="@font-face {font-family: "+m[v].fFamily+"; font-style: normal; src: url('"+m[v].fPath+"');}",R.appendChild(kt)}}else if(m[v].fOrigin==="g"||m[v].origin===1){for(ht=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),ut=0;ut<ht.length;ut+=1)ht[ut].href.indexOf(m[v].fPath)!==-1&&(it=!1);if(it){var Ct=M("link");Ct.setAttribute("f-forigin",m[v].fOrigin),Ct.setAttribute("f-origin",m[v].origin),Ct.type="text/css",Ct.rel="stylesheet",Ct.href=m[v].fPath,document.body.appendChild(Ct)}}else if(m[v].fOrigin==="t"||m[v].origin===2){for(ht=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),ut=0;ut<ht.length;ut+=1)m[v].fPath===ht[ut].src&&(it=!1);if(it){var Ht=M("link");Ht.setAttribute("f-forigin",m[v].fOrigin),Ht.setAttribute("f-origin",m[v].origin),Ht.setAttribute("rel","stylesheet"),Ht.setAttribute("href",m[v].fPath),R.appendChild(Ht)}}m[v].helper=N(m[v],R),m[v].cache={},this.fonts.push(m[v])}D===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function w(T){if(T){this.chars||(this.chars=[]);var R,m=T.length,v,U=this.chars.length,D;for(R=0;R<m;R+=1){for(v=0,D=!1;v<U;)this.chars[v].style===T[R].style&&this.chars[v].fFamily===T[R].fFamily&&this.chars[v].ch===T[R].ch&&(D=!0),v+=1;D||(this.chars.push(T[R]),U+=1)}}}function _(T,R,m){for(var v=0,U=this.chars.length;v<U;){if(this.chars[v].ch===T&&this.chars[v].style===R&&this.chars[v].fFamily===m)return this.chars[v];v+=1}return(typeof T=="string"&&T.charCodeAt(0)!==13||!T)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",T,R,m)),r}function g(T,R,m){var v=this.getFontByName(R),U=T;if(!v.cache[U]){var D=v.helper;if(T===" "){var it=D.measureText("|"+T+"|"),ht=D.measureText("||");v.cache[U]=(it-ht)/100}else v.cache[U]=D.measureText(T)/100}return v.cache[U]*m}function E(T){for(var R=0,m=this.fonts.length;R<m;){if(this.fonts[R].fName===T)return this.fonts[R];R+=1}return this.fonts[0]}function C(T){var R=0,m=T.charCodeAt(0);if(m>=55296&&m<=56319){var v=T.charCodeAt(1);v>=56320&&v<=57343&&(R=(m-55296)*1024+v-56320+65536)}return R}function P(T,R){var m=T.toString(16)+R.toString(16);return V.indexOf(m)!==-1}function $(T){return T===u}function H(T){return T===x}function K(T){var R=C(T);return R>=k&&R<=I}function pt(T){return K(T.substr(0,2))&&K(T.substr(2,2))}function nt(T){return i.indexOf(T)!==-1}function tt(T,R){var m=C(T.substr(R,2));if(m!==a)return!1;var v=0;for(R+=2;v<5;){if(m=C(T.substr(R,2)),m<c||m>p)return!1;v+=1,R+=2}return C(T.substr(R,2))===d}function vt(){this.isLoaded=!0}var st=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)};st.isModifier=P,st.isZeroWidthJoiner=$,st.isFlagEmoji=pt,st.isRegionalCode=K,st.isCombinedCharacter=nt,st.isRegionalFlag=tt,st.isVariationSelector=H,st.BLACK_FLAG_CODE_POINT=a;var Y={addChars:w,addFonts:z,getCharData:_,getFontByName:E,measureText:g,checkLoadedFonts:O,setIsLoaded:vt};return st.prototype=Y,st}();function dd(t){this.animationData=t}dd.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t};function ju(t){return new dd(t)}function ea(){}ea.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,i=this.renderableComponents.length;for(r=0;r<i;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 $n=function(){var t={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 t[r]||""}}();function Wu(t,r,i){this.p=rt.getProp(r,t.v,0,0,i)}function qu(t,r,i){this.p=rt.getProp(r,t.v,0,0,i)}function Yu(t,r,i){this.p=rt.getProp(r,t.v,1,0,i)}function Ku(t,r,i){this.p=rt.getProp(r,t.v,1,0,i)}function Xu(t,r,i){this.p=rt.getProp(r,t.v,0,0,i)}function Zu(t,r,i){this.p=rt.getProp(r,t.v,0,0,i)}function Ju(t,r,i){this.p=rt.getProp(r,t.v,0,0,i)}function Qu(){this.p={}}function hd(t,r){var i=t.ef||[];this.effectElements=[];var a,d=i.length,c;for(a=0;a<d;a+=1)c=new Go(i[a],r),this.effectElements.push(c)}function Go(t,r){this.init(t,r)}B([te],Go),Go.prototype.getValue=Go.prototype.iterateDynamicProperties,Go.prototype.init=function(t,r){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(r);var i,a=this.data.ef.length,d,c=this.data.ef;for(i=0;i<a;i+=1){switch(d=null,c[i].ty){case 0:d=new Wu(c[i],r,this);break;case 1:d=new qu(c[i],r,this);break;case 2:d=new Yu(c[i],r,this);break;case 3:d=new Ku(c[i],r,this);break;case 4:case 7:d=new Ju(c[i],r,this);break;case 10:d=new Xu(c[i],r,this);break;case 11:d=new Zu(c[i],r,this);break;case 5:d=new hd(c[i],r,this);break;default:d=new Qu(c[i],r,this);break}d&&this.effectElements.push(d)}};function $r(){}$r.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var r=0,i=this.data.masksProperties.length;r<i;){if(this.data.masksProperties[r].mode!=="n"&&this.data.masksProperties[r].cl!==!1)return!0;r+=1}return!1},initExpressions:function(){var r=Fc();if(r){var i=r("layer"),a=r("effects"),d=r("shape"),c=r("text"),p=r("comp");this.layerInterface=i(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var x=a.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(x),this.data.ty===0||this.data.xt?this.compInterface=p(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=$n(this.data.bm),i=this.baseElement||this.layerElement;i.style["mix-blend-mode"]=r},initBaseData:function(r,i,a){this.globalData=i,this.comp=a,this.data=r,this.layerId=ge(),this.data.sr||(this.data.sr=1),this.effectsManager=new hd(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Vr(){}Vr.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,i){var a,d=this.dynamicProperties.length;for(a=0;a<d;a+=1)(i||this._isParent&&this.dynamicProperties[a].propType==="transform")&&(this.dynamicProperties[a].getValue(),this.dynamicProperties[a]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function Br(t,r,i){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(t.refId),this.footageData=r.imageLoader.getAsset(this.assetData),this.initBaseData(t,r,i)}Br.prototype.prepareFrame=function(){},B([ea,$r,Vr],Br),Br.prototype.getBaseElement=function(){return null},Br.prototype.renderFrame=function(){},Br.prototype.destroy=function(){},Br.prototype.initExpressions=function(){var t=Fc();if(t){var r=t("footage");this.layerInterface=r(this)}},Br.prototype.getFootageData=function(){return this.footageData};function be(t,r,i){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(t.refId),this.initBaseData(t,r,i),this._isPlaying=!1,this._canPlay=!1;var a=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(a),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?rt.getProp(this,t.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=rt.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}be.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var r=this.tm.v;this._currentTime=r}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},B([ea,$r,Vr],be),be.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))},be.prototype.show=function(){},be.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},be.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},be.prototype.resume=function(){this._canPlay=!0},be.prototype.setRate=function(t){this.audio.rate(t)},be.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},be.prototype.getBaseElement=function(){return null},be.prototype.destroy=function(){},be.prototype.sourceRectAtTime=function(){},be.prototype.initExpressions=function(){};function ne(){}ne.prototype.checkLayers=function(t){var r,i=this.layers.length,a;for(this.completeLayers=!0,r=i-1;r>=0;r-=1)this.elements[r]||(a=this.layers[r],a.ip-a.st<=t-this.layers[r].st&&a.op-a.st>t-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},ne.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},ne.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},ne.prototype.createAudio=function(t){return new be(t,this.globalData,this)},ne.prototype.createFootage=function(t){return new Br(t,this.globalData,this)},ne.prototype.buildAllItems=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)this.buildItem(t);this.checkPendingElements()},ne.prototype.includeLayers=function(t){this.completeLayers=!1;var r,i=t.length,a,d=this.layers.length;for(r=0;r<i;r+=1)for(a=0;a<d;){if(this.layers[a].id===t[r].id){this.layers[a]=t[r];break}a+=1}},ne.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},ne.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},ne.prototype.buildElementParenting=function(t,r,i){for(var a=this.elements,d=this.layers,c=0,p=d.length;c<p;)d[c].ind==r&&(!a[c]||a[c]===!0?(this.buildItem(c),this.addPendingElement(t)):(i.push(a[c]),a[c].setAsParent(),d[c].parent!==void 0?this.buildElementParenting(t,d[c].parent,i):t.setHierarchy(i))),c+=1},ne.prototype.addPendingElement=function(t){this.pendingElements.push(t)},ne.prototype.searchExtraCompositions=function(t){var r,i=t.length;for(r=0;r<i;r+=1)if(t[r].xt){var a=this.createComp(t[r]);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},ne.prototype.getElementById=function(t){var r,i=this.elements.length;for(r=0;r<i;r+=1)if(this.elements[r].data.ind===t)return this.elements[r];return null},ne.prototype.getElementByPath=function(t){var r=t.shift(),i;if(typeof r=="number")i=this.elements[r];else{var a,d=this.elements.length;for(a=0;a<d;a+=1)if(this.elements[a].data.nm===r){i=this.elements[a];break}}return t.length===0?i:i.getElementByPath(t)},ne.prototype.setupGlobalData=function(t,r){this.globalData.fontManager=new ni,this.globalData.slotManager=ju(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.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=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var tf={TRANSFORM_EFFECT:"transformEFfect"};function Xi(){}Xi.prototype={initTransform:function(){var r=new ae;this.finalTransform={mProp:this.data.ks?On.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,i=this.finalTransform.mat,a=0,d=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;a<d;){if(this.hierarchy[a].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}a+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,i.cloneFromProps(r),a=0;a<d;a+=1)i.multiply(this.hierarchy[a].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,i=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;r<i;)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 a=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(a),r=1;r<i;r+=1){var d=this.localTransforms[r].matrix;a.multiply(d)}a.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(r=0;r<i;r+=1)c*=this.localTransforms[r].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var r=this.renderableEffectsManager.getEffects(tf.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new ae;var i=0,a=r.length;for(i=0;i<a;i+=1)this.localTransforms.push(r[i])}}},globalToLocal:function(r){var i=[];i.push(this.finalTransform);for(var a=!0,d=this.comp;a;)d.finalTransform?(d.data.hasMask&&i.splice(0,0,d.finalTransform),d=d.comp):a=!1;var c,p=i.length,x;for(c=0;c<p;c+=1)x=i[c].mat.applyToPointArray(0,0,0),r=[r[0]-x[0],r[1]-x[1],0];return r},mHelper:new ae};function li(t,r,i){this.data=t,this.element=r,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var a=this.globalData.defs,d,c=this.masksProperties?this.masksProperties.length:0;this.viewData=et(c),this.solidPath="";var p,x=this.masksProperties,u=0,k=[],I,V,b=ge(),L,O,N,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")&&u===0?(L=ft("rect"),L.setAttribute("fill","#ffffff"),L.setAttribute("width",this.element.comp.data.w||0),L.setAttribute("height",this.element.comp.data.h||0),k.push(L)):L=null,p=ft("path"),x[d].mode==="n")this.viewData[d]={op:rt.getProp(this.element,x[d].o,0,.01,this.element),prop:Ks.getShapeProp(this.element,x[d],3),elem:p,lastPath:""},a.appendChild(p);else{u+=1,p.setAttribute("fill",x[d].mode==="s"?"#000000":"#ffffff"),p.setAttribute("clip-rule","nonzero");var g;if(x[d].x.k!==0?(w="mask",_="mask",z=rt.getProp(this.element,x[d].x,0,null,this.element),g=ge(),O=ft("filter"),O.setAttribute("id",g),N=ft("feMorphology"),N.setAttribute("operator","erode"),N.setAttribute("in","SourceGraphic"),N.setAttribute("radius","0"),O.appendChild(N),a.appendChild(O),p.setAttribute("stroke",x[d].mode==="s"?"#000000":"#ffffff")):(N=null,z=null),this.storedData[d]={elem:p,x:z,expan:N,lastPath:"",lastOperator:"",filterId:g,lastRadius:0},x[d].mode==="i"){V=k.length;var E=ft("g");for(I=0;I<V;I+=1)E.appendChild(k[I]);var C=ft("mask");C.setAttribute("mask-type","alpha"),C.setAttribute("id",b+"_"+u),C.appendChild(p),a.appendChild(C),E.setAttribute("mask","url("+S()+"#"+b+"_"+u+")"),k.length=0,k.push(E)}else k.push(p);x[d].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[d]={elem:p,lastPath:"",op:rt.getProp(this.element,x[d].o,0,.01,this.element),prop:Ks.getShapeProp(this.element,x[d],3),invRect:L},this.viewData[d].prop.k||this.drawPath(x[d],this.viewData[d].prop.v,this.viewData[d])}for(this.maskElement=ft(w),c=k.length,d=0;d<c;d+=1)this.maskElement.appendChild(k[d]);u>0&&(this.maskElement.setAttribute("id",b),this.element.maskedElement.setAttribute(_,"url("+S()+"#"+b+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}li.prototype.getMaskProperty=function(t){return this.viewData[t].prop},li.prototype.renderFrame=function(t){var r=this.element.finalTransform.mat,i,a=this.masksProperties.length;for(i=0;i<a;i+=1)if((this.viewData[i].prop._mdf||t)&&this.drawPath(this.masksProperties[i],this.viewData[i].prop.v,this.viewData[i]),(this.viewData[i].op._mdf||t)&&this.viewData[i].elem.setAttribute("fill-opacity",this.viewData[i].op.v),this.masksProperties[i].mode!=="n"&&(this.viewData[i].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[i].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[i].x&&(this.storedData[i].x._mdf||t))){var d=this.storedData[i].expan;this.storedData[i].x.v<0?(this.storedData[i].lastOperator!=="erode"&&(this.storedData[i].lastOperator="erode",this.storedData[i].elem.setAttribute("filter","url("+S()+"#"+this.storedData[i].filterId+")")),d.setAttribute("radius",-this.storedData[i].x.v)):(this.storedData[i].lastOperator!=="dilate"&&(this.storedData[i].lastOperator="dilate",this.storedData[i].elem.setAttribute("filter",null)),this.storedData[i].elem.setAttribute("stroke-width",this.storedData[i].x.v*2))}},li.prototype.getMaskelement=function(){return this.maskElement},li.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},li.prototype.drawPath=function(t,r,i){var a=" M"+r.v[0][0]+","+r.v[0][1],d,c;for(c=r._length,d=1;d<c;d+=1)a+=" 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&&(a+=" 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]),i.lastPath!==a){var p="";i.elem&&(r.c&&(p=t.inv?this.solidPath+a:a),i.elem.setAttribute("d",p)),i.lastPath=a}},li.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var jo=function(){var t={};t.createFilter=r,t.createAlphaToLuminanceFilter=i;function r(a,d){var c=ft("filter");return c.setAttribute("id",a),d!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function i(){var a=ft("feColorMatrix");return a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),a}return t}(),md=function(){var t={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))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),ra={},pd="filter_result_";function Vn(t){var r,i="SourceGraphic",a=t.data.ef?t.data.ef.length:0,d=ge(),c=jo.createFilter(d,!0),p=0;this.filters=[];var x;for(r=0;r<a;r+=1){x=null;var u=t.data.ef[r].ty;if(ra[u]){var k=ra[u].effect;x=new k(c,t.effectsManager.effectElements[r],t,pd+p,i),i=pd+p,ra[u].countsAsEffect&&(p+=1)}x&&this.filters.push(x)}p&&(t.globalData.defs.appendChild(c),t.layerElement.setAttribute("filter","url("+S()+"#"+d+")")),this.filters.length&&t.addRenderableComponent(this)}Vn.prototype.renderFrame=function(t){var r,i=this.filters.length;for(r=0;r<i;r+=1)this.filters[r].renderFrame(t)},Vn.prototype.getEffects=function(t){var r,i=this.filters.length,a=[];for(r=0;r<i;r+=1)this.filters[r].type===t&&a.push(this.filters[r]);return a};function f0(t,r,i){ra[t]={effect:r,countsAsEffect:i}}function Wo(){}Wo.prototype={initRendererElement:function(){this.layerElement=ft("g")},createContainerElements:function(){this.matteElement=ft("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var i=ft("g");i.setAttribute("id",this.layerId),i.appendChild(this.layerElement),r=i,this.globalData.defs.appendChild(i)}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 a=ft("clipPath"),d=ft("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=ge();if(a.setAttribute("id",c),a.appendChild(d),this.globalData.defs.appendChild(a),this.checkMasks()){var p=ft("g");p.setAttribute("clip-path","url("+S()+"#"+c+")"),p.appendChild(this.layerElement),this.transformedElement=p,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+S()+"#"+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 li(this.data,this,this.globalData),this.renderableEffectsManager=new Vn(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var i=this.layerId+"_"+r,a,d,c,p;if(r===1||r===3){var x=ft("mask");x.setAttribute("id",i),x.setAttribute("mask-type",r===3?"luminance":"alpha"),c=ft("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),x.appendChild(c),this.globalData.defs.appendChild(x),!md.maskType&&r===1&&(x.setAttribute("mask-type","luminance"),a=ge(),d=jo.createFilter(a),this.globalData.defs.appendChild(d),d.appendChild(jo.createAlphaToLuminanceFilter()),p=ft("g"),p.appendChild(c),x.appendChild(p),p.setAttribute("filter","url("+S()+"#"+a+")"))}else if(r===2){var u=ft("mask");u.setAttribute("id",i),u.setAttribute("mask-type","alpha");var k=ft("g");u.appendChild(k),a=ge(),d=jo.createFilter(a);var I=ft("feComponentTransfer");I.setAttribute("in","SourceGraphic"),d.appendChild(I);var V=ft("feFuncA");V.setAttribute("type","table"),V.setAttribute("tableValues","1.0 0.0"),I.appendChild(V),this.globalData.defs.appendChild(d);var b=ft("rect");b.setAttribute("width",this.comp.data.w),b.setAttribute("height",this.comp.data.h),b.setAttribute("x","0"),b.setAttribute("y","0"),b.setAttribute("fill","#ffffff"),b.setAttribute("opacity","0"),k.setAttribute("filter","url("+S()+"#"+a+")"),k.appendChild(b),c=ft("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),k.appendChild(c),md.maskType||(u.setAttribute("mask-type","luminance"),d.appendChild(jo.createAlphaToLuminanceFilter()),p=ft("g"),k.appendChild(b),p.appendChild(this.layerElement),k.appendChild(p)),this.globalData.defs.appendChild(u)}this.matteMasks[r]=i}return this.matteMasks[r]},setMatte:function(r){this.matteElement&&this.matteElement.setAttribute("mask","url("+S()+"#"+r+")")}};function Zi(){}Zi.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 qo(){}(function(){var t={initElement:function(i,a,d){this.initFrame(),this.initBaseData(i,a,d),this.initTransform(i,a,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 i=this.baseElement||this.layerElement;i.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var i=this.baseElement||this.layerElement;i.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(i){this._mdf=!1,this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};B([ea,q(t)],qo)})();function Yo(t,r,i){this.assetData=r.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=r.slotManager.getProp(this.assetData)),this.initElement(t,r,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}B([$r,Xi,Wo,Zi,Vr,qo],Yo),Yo.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=ft("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",t),this.layerElement.appendChild(this.innerElem)},Yo.prototype.sourceRectAtTime=function(){return this.sourceRect};function ef(t,r){this.elem=t,this.pos=r}function ud(){}ud.prototype={addShapeToModifiers:function(r){var i,a=this.shapeModifiers.length;for(i=0;i<a;i+=1)this.shapeModifiers[i].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var i=0,a=this.shapeModifiers.length;i<a;)if(this.shapeModifiers[i].isAnimatedWithShape(r))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var r,i=this.shapes.length;for(r=0;r<i;r+=1)this.shapes[r].sh.reset();i=this.shapeModifiers.length;var a;for(r=i-1;r>=0&&(a=this.shapeModifiers[r].processShapes(this._isFirstFrame),!a);r-=1);}},searchProcessedElement:function(r){for(var i=this.processedElements,a=0,d=i.length;a<d;){if(i[a].elem===r)return i[a].pos;a+=1}return 0},addProcessedElement:function(r,i){for(var a=this.processedElements,d=a.length;d;)if(d-=1,a[d].elem===r){a[d].pos=i;return}a.push(new ef(r,i))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var fd={1:"butt",2:"round",3:"square"},vd={1:"miter",2:"round",3:"bevel"};function gd(t,r,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=r,this._isAnimated=!!i.k;for(var a=0,d=t.length;a<d;){if(t[a].mProps.dynamicProperties.length){this._isAnimated=!0;break}a+=1}}gd.prototype.setAsAnimated=function(){this._isAnimated=!0};function bd(t,r){this.data=t,this.type=t.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=t.hd===!0,this.pElem=ft("path"),this.msElem=null}bd.prototype.reset=function(){this.d="",this._mdf=!1};function ia(t,r,i,a){this.elem=t,this.frameId=-1,this.dataProps=et(r.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=Q("float32",r.length?r.length-1:0),this.dashoffset=Q("float32",1),this.initDynamicPropertyContainer(a);var d,c=r.length||0,p;for(d=0;d<c;d+=1)p=rt.getProp(t,r[d].v,0,0,this),this.k=p.k||this.k,this.dataProps[d]={n:r[d].n,p};this.k||this.getValue(!0),this._isAnimated=this.k}ia.prototype.getValue=function(t){if(!(this.elem.globalData.frameId===this.frameId&&!t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var r=0,i=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),r=0;r<i;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}},B([te],ia);function yd(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=rt.getProp(t,r.o,0,.01,this),this.w=rt.getProp(t,r.w,0,null,this),this.d=new ia(t,r.d||{},"svg",this),this.c=rt.getProp(t,r.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}B([te],yd);function xd(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=rt.getProp(t,r.o,0,.01,this),this.c=rt.getProp(t,r.c,1,255,this),this.style=i}B([te],xd);function Ed(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}B([te],Ed);function Ko(t,r,i){this.data=r,this.c=Q("uint8c",r.p*4);var a=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",a),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=a,this.initDynamicPropertyContainer(i),this.prop=rt.getProp(t,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}Ko.prototype.comparePoints=function(t,r){for(var i=0,a=this.o.length/2,d;i<a;){if(d=Math.abs(t[i*4]-t[r*4+i*2]),d>.01)return!1;i+=1}return!0},Ko.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,r=this.data.k.k.length;t<r;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},Ko.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var r,i=this.data.p*4,a,d;for(r=0;r<i;r+=1)a=r%4===0?100:255,d=Math.round(this.prop.v[r]*a),this.c[r]!==d&&(this.c[r]=d,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,r=this.data.p*4;r<i;r+=1)a=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=!t);this._mdf=!t}},B([te],Ko);function Ji(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,r,i)}Ji.prototype.initGradientData=function(t,r,i){this.o=rt.getProp(t,r.o,0,.01,this),this.s=rt.getProp(t,r.s,1,null,this),this.e=rt.getProp(t,r.e,1,null,this),this.h=rt.getProp(t,r.h||{k:0},0,.01,this),this.a=rt.getProp(t,r.a||{k:0},0,Tt,this),this.g=new Ko(t,r.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,r),this.setGradientOpacity(r,i),this._isAnimated=!!this._isAnimated},Ji.prototype.setGradientData=function(t,r){var i=ge(),a=ft(r.t===1?"linearGradient":"radialGradient");a.setAttribute("id",i),a.setAttribute("spreadMethod","pad"),a.setAttribute("gradientUnits","userSpaceOnUse");var d=[],c,p,x;for(x=r.g.p*4,p=0;p<x;p+=4)c=ft("stop"),a.appendChild(c),d.push(c);t.setAttribute(r.ty==="gf"?"fill":"stroke","url("+S()+"#"+i+")"),this.gf=a,this.cst=d},Ji.prototype.setGradientOpacity=function(t,r){if(this.g._hasOpacity&&!this.g._collapsable){var i,a,d,c=ft("mask"),p=ft("path");c.appendChild(p);var x=ge(),u=ge();c.setAttribute("id",u);var k=ft(t.t===1?"linearGradient":"radialGradient");k.setAttribute("id",x),k.setAttribute("spreadMethod","pad"),k.setAttribute("gradientUnits","userSpaceOnUse"),d=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var I=this.stops;for(a=t.g.p*4;a<d;a+=2)i=ft("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),k.appendChild(i),I.push(i);p.setAttribute(t.ty==="gf"?"fill":"stroke","url("+S()+"#"+x+")"),t.ty==="gs"&&(p.setAttribute("stroke-linecap",fd[t.lc||2]),p.setAttribute("stroke-linejoin",vd[t.lj||2]),t.lj===1&&p.setAttribute("stroke-miterlimit",t.ml)),this.of=k,this.ms=c,this.ost=I,this.maskId=u,r.msElem=p}},B([te],Ji);function Td(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=rt.getProp(t,r.w,0,null,this),this.d=new ia(t,r.d||{},"svg",this),this.initGradientData(t,r,i),this._isAnimated=!!this._isAnimated}B([Ji,te],Td);function rf(){this.it=[],this.prevViewData=[],this.gr=ft("g")}function of(t,r,i){this.transform={mProps:t,op:r,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var Ad=function(r,i,a,d){if(i===0)return"";var c=r.o,p=r.i,x=r.v,u,k=" M"+d.applyToPointStringified(x[0][0],x[0][1]);for(u=1;u<i;u+=1)k+=" C"+d.applyToPointStringified(c[u-1][0],c[u-1][1])+" "+d.applyToPointStringified(p[u][0],p[u][1])+" "+d.applyToPointStringified(x[u][0],x[u][1]);return a&&i&&(k+=" C"+d.applyToPointStringified(c[u-1][0],c[u-1][1])+" "+d.applyToPointStringified(p[0][0],p[0][1])+" "+d.applyToPointStringified(x[0][0],x[0][1]),k+="z"),k},sf=function(){var t=new ae,r=new ae,i={createRenderFunction:a};function a(V){switch(V.ty){case"fl":return x;case"gf":return k;case"gs":return u;case"st":return I;case"sh":case"el":case"rc":case"sr":return p;case"tr":return d;case"no":return c;default:return null}}function d(V,b,L){(L||b.transform.op._mdf)&&b.transform.container.setAttribute("opacity",b.transform.op.v),(L||b.transform.mProps._mdf)&&b.transform.container.setAttribute("transform",b.transform.mProps.v.to2dCSS())}function c(){}function p(V,b,L){var O,N,z,w,_,g,E=b.styles.length,C=b.lvl,P,$,H,K;for(g=0;g<E;g+=1){if(w=b.sh._mdf||L,b.styles[g].lvl<C){for($=r.reset(),H=C-b.styles[g].lvl,K=b.transformers.length-1;!w&&H>0;)w=b.transformers[K].mProps._mdf||w,H-=1,K-=1;if(w)for(H=C-b.styles[g].lvl,K=b.transformers.length-1;H>0;)$.multiply(b.transformers[K].mProps.v),H-=1,K-=1}else $=t;if(P=b.sh.paths,N=P._length,w){for(z="",O=0;O<N;O+=1)_=P.shapes[O],_&&_._length&&(z+=Ad(_,_._length,_.c,$));b.caches[g]=z}else z=b.caches[g];b.styles[g].d+=V.hd===!0?"":z,b.styles[g]._mdf=w||b.styles[g]._mdf}}function x(V,b,L){var O=b.style;(b.c._mdf||L)&&O.pElem.setAttribute("fill","rgb("+Qt(b.c.v[0])+","+Qt(b.c.v[1])+","+Qt(b.c.v[2])+")"),(b.o._mdf||L)&&O.pElem.setAttribute("fill-opacity",b.o.v)}function u(V,b,L){k(V,b,L),I(V,b,L)}function k(V,b,L){var O=b.gf,N=b.g._hasOpacity,z=b.s.v,w=b.e.v;if(b.o._mdf||L){var _=V.ty==="gf"?"fill-opacity":"stroke-opacity";b.style.pElem.setAttribute(_,b.o.v)}if(b.s._mdf||L){var g=V.t===1?"x1":"cx",E=g==="x1"?"y1":"cy";O.setAttribute(g,z[0]),O.setAttribute(E,z[1]),N&&!b.g._collapsable&&(b.of.setAttribute(g,z[0]),b.of.setAttribute(E,z[1]))}var C,P,$,H;if(b.g._cmdf||L){C=b.cst;var K=b.g.c;for($=C.length,P=0;P<$;P+=1)H=C[P],H.setAttribute("offset",K[P*4]+"%"),H.setAttribute("stop-color","rgb("+K[P*4+1]+","+K[P*4+2]+","+K[P*4+3]+")")}if(N&&(b.g._omdf||L)){var pt=b.g.o;for(b.g._collapsable?C=b.cst:C=b.ost,$=C.length,P=0;P<$;P+=1)H=C[P],b.g._collapsable||H.setAttribute("offset",pt[P*2]+"%"),H.setAttribute("stop-opacity",pt[P*2+1])}if(V.t===1)(b.e._mdf||L)&&(O.setAttribute("x2",w[0]),O.setAttribute("y2",w[1]),N&&!b.g._collapsable&&(b.of.setAttribute("x2",w[0]),b.of.setAttribute("y2",w[1])));else{var nt;if((b.s._mdf||b.e._mdf||L)&&(nt=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)),O.setAttribute("r",nt),N&&!b.g._collapsable&&b.of.setAttribute("r",nt)),b.e._mdf||b.h._mdf||b.a._mdf||L){nt||(nt=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)));var tt=Math.atan2(w[1]-z[1],w[0]-z[0]),vt=b.h.v;vt>=1?vt=.99:vt<=-1&&(vt=-.99);var st=nt*vt,Y=Math.cos(tt+b.a.v)*st+z[0],T=Math.sin(tt+b.a.v)*st+z[1];O.setAttribute("fx",Y),O.setAttribute("fy",T),N&&!b.g._collapsable&&(b.of.setAttribute("fx",Y),b.of.setAttribute("fy",T))}}}function I(V,b,L){var O=b.style,N=b.d;N&&(N._mdf||L)&&N.dashStr&&(O.pElem.setAttribute("stroke-dasharray",N.dashStr),O.pElem.setAttribute("stroke-dashoffset",N.dashoffset[0])),b.c&&(b.c._mdf||L)&&O.pElem.setAttribute("stroke","rgb("+Qt(b.c.v[0])+","+Qt(b.c.v[1])+","+Qt(b.c.v[2])+")"),(b.o._mdf||L)&&O.pElem.setAttribute("stroke-opacity",b.o.v),(b.w._mdf||L)&&(O.pElem.setAttribute("stroke-width",b.w.v),O.msElem&&O.msElem.setAttribute("stroke-width",b.w.v))}return i}();function Vt(t,r,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,r,i),this.prevViewData=[]}B([$r,Xi,Wo,ud,Zi,Vr,qo],Vt),Vt.prototype.initSecondaryElement=function(){},Vt.prototype.identityMatrix=new ae,Vt.prototype.buildExpressionInterface=function(){},Vt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Vt.prototype.filterUniqueShapes=function(){var t,r=this.shapes.length,i,a,d=this.stylesList.length,c,p=[],x=!1;for(a=0;a<d;a+=1){for(c=this.stylesList[a],x=!1,p.length=0,t=0;t<r;t+=1)i=this.shapes[t],i.styles.indexOf(c)!==-1&&(p.push(i),x=i._isAnimated||x);p.length>1&&x&&this.setShapesAsAnimated(p)}},Vt.prototype.setShapesAsAnimated=function(t){var r,i=t.length;for(r=0;r<i;r+=1)t[r].setAsAnimated()},Vt.prototype.createStyleElement=function(t,r){var i,a=new bd(t,r),d=a.pElem;if(t.ty==="st")i=new yd(this,t,a);else if(t.ty==="fl")i=new xd(this,t,a);else if(t.ty==="gf"||t.ty==="gs"){var c=t.ty==="gf"?Ji:Td;i=new c(this,t,a),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),d.setAttribute("mask","url("+S()+"#"+i.maskId+")"))}else t.ty==="no"&&(i=new Ed(this,t,a));return(t.ty==="st"||t.ty==="gs")&&(d.setAttribute("stroke-linecap",fd[t.lc||2]),d.setAttribute("stroke-linejoin",vd[t.lj||2]),d.setAttribute("fill-opacity","0"),t.lj===1&&d.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&d.setAttribute("fill-rule","evenodd"),t.ln&&d.setAttribute("id",t.ln),t.cl&&d.setAttribute("class",t.cl),t.bm&&(d.style["mix-blend-mode"]=$n(t.bm)),this.stylesList.push(a),this.addToAnimatedContents(t,i),i},Vt.prototype.createGroupElement=function(t){var r=new rf;return t.ln&&r.gr.setAttribute("id",t.ln),t.cl&&r.gr.setAttribute("class",t.cl),t.bm&&(r.gr.style["mix-blend-mode"]=$n(t.bm)),r},Vt.prototype.createTransformElement=function(t,r){var i=On.getTransformProperty(this,t,this),a=new of(i,i.o,r);return this.addToAnimatedContents(t,a),a},Vt.prototype.createShapeElement=function(t,r,i){var a=4;t.ty==="rc"?a=5:t.ty==="el"?a=6:t.ty==="sr"&&(a=7);var d=Ks.getShapeProp(this,t,a,this),c=new gd(r,i,d);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(t,c),c},Vt.prototype.addToAnimatedContents=function(t,r){for(var i=0,a=this.animatedContents.length;i<a;){if(this.animatedContents[i].element===r)return;i+=1}this.animatedContents.push({fn:sf.createRenderFunction(t),element:r,data:t})},Vt.prototype.setElementStyles=function(t){var r=t.styles,i,a=this.stylesList.length;for(i=0;i<a;i+=1)this.stylesList[i].closed||r.push(this.stylesList[i])},Vt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,r=this.itemsData.length;for(t=0;t<r;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),r=this.dynamicProperties.length,t=0;t<r;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},Vt.prototype.searchShapes=function(t,r,i,a,d,c,p){var x=[].concat(c),u,k=t.length-1,I,V,b=[],L=[],O,N,z;for(u=k;u>=0;u-=1){if(z=this.searchProcessedElement(t[u]),z?r[u]=i[z-1]:t[u]._render=p,t[u].ty==="fl"||t[u].ty==="st"||t[u].ty==="gf"||t[u].ty==="gs"||t[u].ty==="no")z?r[u].style.closed=!1:r[u]=this.createStyleElement(t[u],d),t[u]._render&&r[u].style.pElem.parentNode!==a&&a.appendChild(r[u].style.pElem),b.push(r[u].style);else if(t[u].ty==="gr"){if(!z)r[u]=this.createGroupElement(t[u]);else for(V=r[u].it.length,I=0;I<V;I+=1)r[u].prevViewData[I]=r[u].it[I];this.searchShapes(t[u].it,r[u].it,r[u].prevViewData,r[u].gr,d+1,x,p),t[u]._render&&r[u].gr.parentNode!==a&&a.appendChild(r[u].gr)}else t[u].ty==="tr"?(z||(r[u]=this.createTransformElement(t[u],a)),O=r[u].transform,x.push(O)):t[u].ty==="sh"||t[u].ty==="rc"||t[u].ty==="el"||t[u].ty==="sr"?(z||(r[u]=this.createShapeElement(t[u],x,d)),this.setElementStyles(r[u])):t[u].ty==="tm"||t[u].ty==="rd"||t[u].ty==="ms"||t[u].ty==="pb"||t[u].ty==="zz"||t[u].ty==="op"?(z?(N=r[u],N.closed=!1):(N=Fr.getModifier(t[u].ty),N.init(this,t[u]),r[u]=N,this.shapeModifiers.push(N)),L.push(N)):t[u].ty==="rp"&&(z?(N=r[u],N.closed=!0):(N=Fr.getModifier(t[u].ty),r[u]=N,N.init(this,t,u,r),this.shapeModifiers.push(N),p=!1),L.push(N));this.addProcessedElement(t[u],u+1)}for(k=b.length,u=0;u<k;u+=1)b[u].closed=!0;for(k=L.length,u=0;u<k;u+=1)L[u].closed=!0},Vt.prototype.renderInnerContent=function(){this.renderModifiers();var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<r;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},Vt.prototype.renderShape=function(){var t,r=this.animatedContents.length,i;for(t=0;t<r;t+=1)i=this.animatedContents[t],(this._isFirstFrame||i.element._isAnimated)&&i.data!==!0&&i.fn(i.data,i.element,this._isFirstFrame)},Vt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Bn(t,r,i,a,d,c){this.o=t,this.sw=r,this.sc=i,this.fc=a,this.m=d,this.p=c,this._mdf={o:!0,sw:!!r,sc:!!i,fc:!!a,m:!0,p:!0}}Bn.prototype.update=function(t,r,i,a,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 p=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,p=!0),this.sw!==r&&(this.sw=r,this._mdf.sw=!0,p=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,p=!0),this.fc!==a&&(this.fc=a,this._mdf.fc=!0,p=!0),this.m!==d&&(this.m=d,this._mdf.m=!0,p=!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,p=!0),p};function he(t,r){this._frameId=s,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,r.d&&r.d.sid&&(r.d=t.globalData.slotManager.getProp(r.d)),this.data=r,this.elem=t,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)}he.prototype.defaultBoxWidth=[0,0],he.prototype.copyData=function(t,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i]);return t},he.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},he.prototype.searchProperty=function(){return this.searchKeyframes()},he.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},he.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},he.prototype.getValue=function(t){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!t)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var r=this.currentData,i=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var a,d=this.effectsSequence.length,c=t||this.data.d.k[this.keysIndex].s;for(a=0;a<d;a+=1)i!==this.keysIndex?c=this.effectsSequence[a](c,c.t):c=this.effectsSequence[a](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}},he.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,r=this.elem.comp.renderedFrame,i=0,a=t.length;i<=a-1&&!(i===a-1||t[i+1].t>r);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},he.prototype.buildFinalText=function(t){for(var r=[],i=0,a=t.length,d,c,p=!1,x=!1,u="";i<a;)p=x,x=!1,d=t.charCodeAt(i),u=t.charAt(i),ni.isCombinedCharacter(d)?p=!0:d>=55296&&d<=56319?ni.isRegionalFlag(t,i)?u=t.substr(i,14):(c=t.charCodeAt(i+1),c>=56320&&c<=57343&&(ni.isModifier(d,c)?(u=t.substr(i,2),p=!0):ni.isFlagEmoji(t.substr(i,4))?u=t.substr(i,4):u=t.substr(i,2))):d>56319?(c=t.charCodeAt(i+1),ni.isVariationSelector(d)&&(p=!0)):ni.isZeroWidthJoiner(d)&&(p=!0,x=!0),p?(r[r.length-1]+=u,p=!1):r.push(u),i+=u.length;return r},he.prototype.completeTextData=function(t){t.__complete=!0;var r=this.elem.globalData.fontManager,i=this.data,a=[],d,c,p,x=0,u,k=i.m.g,I=0,V=0,b=0,L=[],O=0,N=0,z,w,_=r.getFontByName(t.f),g,E=0,C=cd(_);t.fWeight=C.weight,t.fStyle=C.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),c=t.finalText.length,t.finalLineHeight=t.lh;var P=t.tr/1e3*t.finalSize,$;if(t.sz)for(var H=!0,K=t.sz[0],pt=t.sz[1],nt,tt;H;){tt=this.buildFinalText(t.t),nt=0,O=0,c=tt.length,P=t.tr/1e3*t.finalSize;var vt=-1;for(d=0;d<c;d+=1)$=tt[d].charCodeAt(0),p=!1,tt[d]===" "?vt=d:($===13||$===3)&&(O=0,p=!0,nt+=t.finalLineHeight||t.finalSize*1.2),r.chars?(g=r.getCharData(tt[d],_.fStyle,_.fFamily),E=p?0:g.w*t.finalSize/100):E=r.measureText(tt[d],t.f,t.finalSize),O+E>K&&tt[d]!==" "?(vt===-1?c+=1:d=vt,nt+=t.finalLineHeight||t.finalSize*1.2,tt.splice(d,vt===d?1:0,"\r"),vt=-1,O=0):(O+=E,O+=P);nt+=_.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&pt<nt?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=tt,c=t.finalText.length,H=!1)}O=-P,E=0;var st=0,Y;for(d=0;d<c;d+=1)if(p=!1,Y=t.finalText[d],$=Y.charCodeAt(0),$===13||$===3?(st=0,L.push(O),N=O>N?O:N,O=-2*P,u="",p=!0,b+=1):u=Y,r.chars?(g=r.getCharData(Y,_.fStyle,r.getFontByName(t.f).fFamily),E=p?0:g.w*t.finalSize/100):E=r.measureText(u,t.f,t.finalSize),Y===" "?st+=E+P:(O+=E+P+st,st=0),a.push({l:E,an:E,add:I,n:p,anIndexes:[],val:u,line:b,animatorJustifyOffset:0}),k==2){if(I+=E,u===""||u===" "||d===c-1){for((u===""||u===" ")&&(I-=E);V<=d;)a[V].an=I,a[V].ind=x,a[V].extra=E,V+=1;x+=1,I=0}}else if(k==3){if(I+=E,u===""||d===c-1){for(u===""&&(I-=E);V<=d;)a[V].an=I,a[V].ind=x,a[V].extra=E,V+=1;I=0,x+=1}}else a[x].ind=x,a[x].extra=0,x+=1;if(t.l=a,N=O>N?O:N,L.push(O),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=N,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=L;var T=i.a,R,m;w=T.length;var v,U,D=[];for(z=0;z<w;z+=1){for(R=T[z],R.a.sc&&(t.strokeColorAnim=!0),R.a.sw&&(t.strokeWidthAnim=!0),(R.a.fc||R.a.fh||R.a.fs||R.a.fb)&&(t.fillColorAnim=!0),U=0,v=R.s.b,d=0;d<c;d+=1)m=a[d],m.anIndexes[z]=U,(v==1&&m.val!==""||v==2&&m.val!==""&&m.val!==" "||v==3&&(m.n||m.val==" "||d==c-1)||v==4&&(m.n||d==c-1))&&(R.s.rn===1&&D.push(U),U+=1);i.a[z].s.totalChars=U;var it=-1,ht;if(R.s.rn===1)for(d=0;d<c;d+=1)m=a[d],it!=m.anIndexes[z]&&(it=m.anIndexes[z],ht=D.splice(Math.floor(Math.random()*D.length),1)[0]),m.anIndexes[z]=ht}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=_.ascent*t.finalSize/100},he.prototype.updateDocumentData=function(t,r){r=r===void 0?this.keysIndex:r;var i=this.copyData({},this.data.d.k[r].s);i=this.copyData(i,t),this.data.d.k[r].s=i,this.recalculate(r),this.setCurrentData(i),this.elem.addDynamicProperty(this)},he.prototype.recalculate=function(t){var r=this.data.d.k[t].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},he.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},he.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var af=function(){var t=Math.max,r=Math.min,i=Math.floor;function a(c,p){this._currentTextLength=-1,this.k=!1,this.data=p,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=rt.getProp(c,p.s||{k:0},0,0,this),"e"in p?this.e=rt.getProp(c,p.e,0,0,this):this.e={v:100},this.o=rt.getProp(c,p.o||{k:0},0,0,this),this.xe=rt.getProp(c,p.xe||{k:0},0,0,this),this.ne=rt.getProp(c,p.ne||{k:0},0,0,this),this.sm=rt.getProp(c,p.sm||{k:100},0,0,this),this.a=rt.getProp(c,p.a,0,.01,this),this.dynamicProperties.length||this.getValue()}a.prototype={getMult:function(p){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var x=0,u=0,k=1,I=1;this.ne.v>0?x=this.ne.v/100:u=-this.ne.v/100,this.xe.v>0?k=1-this.xe.v/100:I=1+this.xe.v/100;var V=zo.getBezierEasing(x,u,k,I).get,b=0,L=this.finalS,O=this.finalE,N=this.data.sh;if(N===2)O===L?b=p>=O?1:0:b=t(0,r(.5/(O-L)+(p-L)/(O-L),1)),b=V(b);else if(N===3)O===L?b=p>=O?0:1:b=1-t(0,r(.5/(O-L)+(p-L)/(O-L),1)),b=V(b);else if(N===4)O===L?b=0:(b=t(0,r(.5/(O-L)+(p-L)/(O-L),1)),b<.5?b*=2:b=1-2*(b-.5)),b=V(b);else if(N===5){if(O===L)b=0;else{var z=O-L;p=r(t(0,p+.5-L),O-L);var w=-z/2+p,_=z/2;b=Math.sqrt(1-w*w/(_*_))}b=V(b)}else N===6?(O===L?b=0:(p=r(t(0,p+.5-L),O-L),b=(1+Math.cos(Math.PI+Math.PI*2*p/(O-L)))/2),b=V(b)):(p>=i(L)&&(p-L<0?b=t(0,r(r(O,1)-(L-p),1)):b=t(0,r(O-p,1))),b=V(b));if(this.sm.v!==100){var g=this.sm.v*.01;g===0&&(g=1e-8);var E=.5-g*.5;b<E?b=0:(b=(b-E)/g,b>1&&(b=1))}return b*this.a.v},getValue:function(p){this.iterateDynamicProperties(),this._mdf=p||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,p&&this.data.r===2&&(this.e.v=this._currentTextLength);var x=this.data.r===2?1:100/this.data.totalChars,u=this.o.v/x,k=this.s.v/x+u,I=this.e.v/x+u;if(k>I){var V=k;k=I,I=V}this.finalS=k,this.finalE=I}},B([te],a);function d(c,p,x){return new a(c,p,x)}return{getTextSelectorProp:d}}();function nf(t,r,i){var a={propType:!1},d=rt.getProp,c=r.a;this.a={r:c.r?d(t,c.r,0,Tt,i):a,rx:c.rx?d(t,c.rx,0,Tt,i):a,ry:c.ry?d(t,c.ry,0,Tt,i):a,sk:c.sk?d(t,c.sk,0,Tt,i):a,sa:c.sa?d(t,c.sa,0,Tt,i):a,s:c.s?d(t,c.s,1,.01,i):a,a:c.a?d(t,c.a,1,0,i):a,o:c.o?d(t,c.o,0,.01,i):a,p:c.p?d(t,c.p,1,0,i):a,sw:c.sw?d(t,c.sw,0,0,i):a,sc:c.sc?d(t,c.sc,1,0,i):a,fc:c.fc?d(t,c.fc,1,0,i):a,fh:c.fh?d(t,c.fh,0,0,i):a,fs:c.fs?d(t,c.fs,0,.01,i):a,fb:c.fb?d(t,c.fb,0,.01,i):a,t:c.t?d(t,c.t,0,0,i):a},this.s=af.getTextSelectorProp(t,r.s,i),this.s.t=r.s.t}function ci(t,r,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=r,this._elem=i,this._animatorsData=et(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}ci.prototype.searchProperties=function(){var t,r=this._textData.a.length,i,a=rt.getProp;for(t=0;t<r;t+=1)i=this._textData.a[t],this._animatorsData[t]=new nf(this._elem,i,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:a(this._elem,this._textData.p.a,0,0,this),f:a(this._elem,this._textData.p.f,0,0,this),l:a(this._elem,this._textData.p.l,0,0,this),r:a(this._elem,this._textData.p.r,0,0,this),p:a(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=a(this._elem,this._textData.m.a,1,0,this)},ci.prototype.getMeasures=function(t,r){if(this.lettersChangedFlag=r,!(!this._mdf&&!this._isFirstFrame&&!r&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var i=this._moreOptions.alignment.v,a=this._animatorsData,d=this._textData,c=this.mHelper,p=this._renderType,x=this.renderedLetters.length,u,k,I,V,b=t.l,L,O,N,z,w,_,g,E,C,P,$,H,K,pt,nt;if(this._hasMaskedPath){if(nt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var tt=nt.v;this._pathData.r.v&&(tt=tt.reverse()),L={tLength:0,segments:[]},V=tt._length-1;var vt;for(H=0,I=0;I<V;I+=1)vt=rr.buildBezierData(tt.v[I],tt.v[I+1],[tt.o[I][0]-tt.v[I][0],tt.o[I][1]-tt.v[I][1]],[tt.i[I+1][0]-tt.v[I+1][0],tt.i[I+1][1]-tt.v[I+1][1]]),L.tLength+=vt.segmentLength,L.segments.push(vt),H+=vt.segmentLength;I=V,nt.v.c&&(vt=rr.buildBezierData(tt.v[I],tt.v[0],[tt.o[I][0]-tt.v[I][0],tt.o[I][1]-tt.v[I][1]],[tt.i[0][0]-tt.v[0][0],tt.i[0][1]-tt.v[0][1]]),L.tLength+=vt.segmentLength,L.segments.push(vt),H+=vt.segmentLength),this._pathData.pi=L}if(L=this._pathData.pi,O=this._pathData.f.v,g=0,_=1,z=0,w=!0,P=L.segments,O<0&&nt.v.c)for(L.tLength<Math.abs(O)&&(O=-Math.abs(O)%L.tLength),g=P.length-1,C=P[g].points,_=C.length-1;O<0;)O+=C[_].partialLength,_-=1,_<0&&(g-=1,C=P[g].points,_=C.length-1);C=P[g].points,E=C[_-1],N=C[_],$=N.partialLength}V=b.length,u=0,k=0;var st=t.finalSize*1.2*.714,Y=!0,T,R,m,v,U;v=a.length;var D,it=-1,ht,ut,kt,Ct=O,Ht=g,ye=_,or=-1,xe,ee,Ie,Lt,at,ur,Hr,fr,sr="",vr=this.defaultPropsArray,gr;if(t.j===2||t.j===1){var Ee=0,Gr=0,jr=t.j===2?-.5:-1,qe=0,Wr=!0;for(I=0;I<V;I+=1)if(b[I].n){for(Ee&&(Ee+=Gr);qe<I;)b[qe].animatorJustifyOffset=Ee,qe+=1;Ee=0,Wr=!0}else{for(m=0;m<v;m+=1)T=a[m].a,T.t.propType&&(Wr&&t.j===2&&(Gr+=T.t.v*jr),R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),D.length?Ee+=T.t.v*D[0]*jr:Ee+=T.t.v*D*jr);Wr=!1}for(Ee&&(Ee+=Gr);qe<I;)b[qe].animatorJustifyOffset=Ee,qe+=1}for(I=0;I<V;I+=1){if(c.reset(),xe=1,b[I].n)u=0,k+=t.yOffset,k+=Y?1:0,O=Ct,Y=!1,this._hasMaskedPath&&(g=Ht,_=ye,C=P[g].points,E=C[_-1],N=C[_],$=N.partialLength,z=0),sr="",fr="",ur="",gr="",vr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(or!==b[I].line){switch(t.j){case 1:O+=H-t.lineWidths[b[I].line];break;case 2:O+=(H-t.lineWidths[b[I].line])/2;break;default:break}or=b[I].line}it!==b[I].ind&&(b[it]&&(O+=b[it].extra),O+=b[I].an/2,it=b[I].ind),O+=i[0]*b[I].an*.005;var Ye=0;for(m=0;m<v;m+=1)T=a[m].a,T.p.propType&&(R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),D.length?Ye+=T.p.v[0]*D[0]:Ye+=T.p.v[0]*D),T.a.propType&&(R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),D.length?Ye+=T.a.v[0]*D[0]:Ye+=T.a.v[0]*D);for(w=!0,this._pathData.a.v&&(O=b[0].an*.5+(H-this._pathData.f.v-b[0].an*.5-b[b.length-1].an*.5)*it/(V-1),O+=this._pathData.f.v);w;)z+$>=O+Ye||!C?(K=(O+Ye-z)/N.partialLength,ut=E.point[0]+(N.point[0]-E.point[0])*K,kt=E.point[1]+(N.point[1]-E.point[1])*K,c.translate(-i[0]*b[I].an*.005,-(i[1]*st)*.01),w=!1):C&&(z+=N.partialLength,_+=1,_>=C.length&&(_=0,g+=1,P[g]?C=P[g].points:nt.v.c?(_=0,g=0,C=P[g].points):(z-=N.partialLength,C=null)),C&&(E=N,N=C[_],$=N.partialLength));ht=b[I].an/2-b[I].add,c.translate(-ht,0,0)}else ht=b[I].an/2-b[I].add,c.translate(-ht,0,0),c.translate(-i[0]*b[I].an*.005,-i[1]*st*.01,0);for(m=0;m<v;m+=1)T=a[m].a,T.t.propType&&(R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),(u!==0||t.j!==0)&&(this._hasMaskedPath?D.length?O+=T.t.v*D[0]:O+=T.t.v*D:D.length?u+=T.t.v*D[0]:u+=T.t.v*D));for(t.strokeWidthAnim&&(Ie=t.sw||0),t.strokeColorAnim&&(t.sc?ee=[t.sc[0],t.sc[1],t.sc[2]]:ee=[0,0,0]),t.fillColorAnim&&t.fc&&(Lt=[t.fc[0],t.fc[1],t.fc[2]]),m=0;m<v;m+=1)T=a[m].a,T.a.propType&&(R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),D.length?c.translate(-T.a.v[0]*D[0],-T.a.v[1]*D[1],T.a.v[2]*D[2]):c.translate(-T.a.v[0]*D,-T.a.v[1]*D,T.a.v[2]*D));for(m=0;m<v;m+=1)T=a[m].a,T.s.propType&&(R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),D.length?c.scale(1+(T.s.v[0]-1)*D[0],1+(T.s.v[1]-1)*D[1],1):c.scale(1+(T.s.v[0]-1)*D,1+(T.s.v[1]-1)*D,1));for(m=0;m<v;m+=1){if(T=a[m].a,R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),T.sk.propType&&(D.length?c.skewFromAxis(-T.sk.v*D[0],T.sa.v*D[1]):c.skewFromAxis(-T.sk.v*D,T.sa.v*D)),T.r.propType&&(D.length?c.rotateZ(-T.r.v*D[2]):c.rotateZ(-T.r.v*D)),T.ry.propType&&(D.length?c.rotateY(T.ry.v*D[1]):c.rotateY(T.ry.v*D)),T.rx.propType&&(D.length?c.rotateX(T.rx.v*D[0]):c.rotateX(T.rx.v*D)),T.o.propType&&(D.length?xe+=(T.o.v*D[0]-xe)*D[0]:xe+=(T.o.v*D-xe)*D),t.strokeWidthAnim&&T.sw.propType&&(D.length?Ie+=T.sw.v*D[0]:Ie+=T.sw.v*D),t.strokeColorAnim&&T.sc.propType)for(at=0;at<3;at+=1)D.length?ee[at]+=(T.sc.v[at]-ee[at])*D[0]:ee[at]+=(T.sc.v[at]-ee[at])*D;if(t.fillColorAnim&&t.fc){if(T.fc.propType)for(at=0;at<3;at+=1)D.length?Lt[at]+=(T.fc.v[at]-Lt[at])*D[0]:Lt[at]+=(T.fc.v[at]-Lt[at])*D;T.fh.propType&&(D.length?Lt=Dc(Lt,T.fh.v*D[0]):Lt=Dc(Lt,T.fh.v*D)),T.fs.propType&&(D.length?Lt=Oc(Lt,T.fs.v*D[0]):Lt=Oc(Lt,T.fs.v*D)),T.fb.propType&&(D.length?Lt=Pc(Lt,T.fb.v*D[0]):Lt=Pc(Lt,T.fb.v*D))}}for(m=0;m<v;m+=1)T=a[m].a,T.p.propType&&(R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),this._hasMaskedPath?D.length?c.translate(0,T.p.v[1]*D[0],-T.p.v[2]*D[1]):c.translate(0,T.p.v[1]*D,-T.p.v[2]*D):D.length?c.translate(T.p.v[0]*D[0],T.p.v[1]*D[1],-T.p.v[2]*D[2]):c.translate(T.p.v[0]*D,T.p.v[1]*D,-T.p.v[2]*D));if(t.strokeWidthAnim&&(ur=Ie<0?0:Ie),t.strokeColorAnim&&(Hr="rgb("+Math.round(ee[0]*255)+","+Math.round(ee[1]*255)+","+Math.round(ee[2]*255)+")"),t.fillColorAnim&&t.fc&&(fr="rgb("+Math.round(Lt[0]*255)+","+Math.round(Lt[1]*255)+","+Math.round(Lt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-t.ls),c.translate(0,i[1]*st*.01+k,0),this._pathData.p.v){pt=(N.point[1]-E.point[1])/(N.point[0]-E.point[0]);var di=Math.atan(pt)*180/Math.PI;N.point[0]<E.point[0]&&(di+=180),c.rotate(-di*Math.PI/180)}c.translate(ut,kt,0),O-=i[0]*b[I].an*.005,b[I+1]&&it!==b[I+1].ind&&(O+=b[I].an/2,O+=t.tr*.001*t.finalSize)}else{switch(c.translate(u,k,0),t.ps&&c.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:c.translate(b[I].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[b[I].line]),0,0);break;case 2:c.translate(b[I].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[b[I].line])/2,0,0);break;default:break}c.translate(0,-t.ls),c.translate(ht,0,0),c.translate(i[0]*b[I].an*.005,i[1]*st*.01,0),u+=b[I].l+t.tr*.001*t.finalSize}p==="html"?sr=c.toCSS():p==="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]],gr=xe}x<=I?(U=new Bn(gr,ur,Hr,fr,sr,vr),this.renderedLetters.push(U),x+=1,this.lettersChangedFlag=!0):(U=this.renderedLetters[I],this.lettersChangedFlag=U.update(gr,ur,Hr,fr,sr,vr)||this.lettersChangedFlag)}}},ci.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},ci.prototype.mHelper=new ae,ci.prototype.defaultPropsArray=[],B([te],ci);function Fe(){}Fe.prototype.initElement=function(t,r,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,r,i),this.textProperty=new he(this,t.t,this.dynamicProperties),this.textAnimator=new ci(t.t,this.renderType,this),this.initTransform(t,r,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Fe.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},Fe.prototype.createPathShape=function(t,r){var i,a=r.length,d,c="";for(i=0;i<a;i+=1)r[i].ty==="sh"&&(d=r[i].ks.k,c+=Ad(d,d.i.length,!0,t));return c},Fe.prototype.updateDocumentData=function(t,r){this.textProperty.updateDocumentData(t,r)},Fe.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},Fe.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},Fe.prototype.applyTextPropertiesToMatrix=function(t,r,i,a,d){switch(t.ps&&r.translate(t.ps[0],t.ps[1]+t.ascent,0),r.translate(0,-t.ls,0),t.j){case 1:r.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i]),0,0);break;case 2:r.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0);break;default:break}r.translate(a,d,0)},Fe.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},Fe.prototype.emptyProp=new Bn,Fe.prototype.destroy=function(){},Fe.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var lf={shapes:[]};function mr(t,r,i){this.textSpans=[],this.renderType="svg",this.initElement(t,r,i)}B([$r,Xi,Wo,Zi,Vr,qo,Fe],mr),mr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=ft("text"))},mr.prototype.buildTextContents=function(t){for(var r=0,i=t.length,a=[],d="";r<i;)t[r]==="\r"||t[r]===""?(a.push(d),d=""):d+=t[r],r+=1;return a.push(d),a},mr.prototype.buildShapeData=function(t,r){if(t.shapes&&t.shapes.length){var i=t.shapes[0];if(i.it){var a=i.it[i.it.length-1];a.s&&(a.s.k[0]=r,a.s.k[1]=r)}}return t},mr.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,r,i=this.textProperty.currentData;this.renderedLetters=et(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var a=this.globalData.fontManager.getFontByName(i.f);if(a.fClass)this.layerElement.setAttribute("class",a.fClass);else{this.layerElement.setAttribute("font-family",a.fFamily);var d=i.fWeight,c=i.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",d)}this.layerElement.setAttribute("aria-label",i.t);var p=i.l||[],x=!!this.globalData.fontManager.chars;r=p.length;var u,k=this.mHelper,I="",V=this.data.singleShape,b=0,L=0,O=!0,N=i.tr*.001*i.finalSize;if(V&&!x&&!i.sz){var z=this.textContainer,w="start";switch(i.j){case 1:w="end";break;case 2:w="middle";break;default:w="start";break}z.setAttribute("text-anchor",w),z.setAttribute("letter-spacing",N);var _=this.buildTextContents(i.finalText);for(r=_.length,L=i.ps?i.ps[1]+i.ascent:0,t=0;t<r;t+=1)u=this.textSpans[t].span||ft("tspan"),u.textContent=_[t],u.setAttribute("x",0),u.setAttribute("y",L),u.style.display="inherit",z.appendChild(u),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=u,L+=i.finalLineHeight;this.layerElement.appendChild(z)}else{var g=this.textSpans.length,E;for(t=0;t<r;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!x||!V||t===0){if(u=g>t?this.textSpans[t].span:ft(x?"g":"text"),g<=t){if(u.setAttribute("stroke-linecap","butt"),u.setAttribute("stroke-linejoin","round"),u.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=u,x){var C=ft("g");u.appendChild(C),this.textSpans[t].childSpan=C}this.textSpans[t].span=u,this.layerElement.appendChild(u)}u.style.display="inherit"}if(k.reset(),V&&(p[t].n&&(b=-N,L+=i.yOffset,L+=O?1:0,O=!1),this.applyTextPropertiesToMatrix(i,k,p[t].line,b,L),b+=p[t].l||0,b+=N),x){E=this.globalData.fontManager.getCharData(i.finalText[t],a.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var P;if(E.t===1)P=new Xo(E.data,this.globalData,this);else{var $=lf;E.data&&E.data.shapes&&($=this.buildShapeData(E.data,i.finalSize)),P=new Vt($,this.globalData,this)}if(this.textSpans[t].glyph){var H=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(H.layerElement),H.destroy()}this.textSpans[t].glyph=P,P._debug=!0,P.prepareFrame(0),P.renderFrame(),this.textSpans[t].childSpan.appendChild(P.layerElement),E.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else V&&u.setAttribute("transform","translate("+k.props[12]+","+k.props[13]+")"),u.textContent=p[t].val,u.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}V&&u&&u.setAttribute("d",I)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},mr.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},mr.prototype.getValue=function(){var t,r=this.textSpans.length,i;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<r;t+=1)i=this.textSpans[t].glyph,i&&(i.prepareFrame(this.comp.renderedFrame-this.data.st),i._mdf&&(this._mdf=!0))},mr.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 t,r,i=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;r=a.length;var d,c,p;for(t=0;t<r;t+=1)a[t].n||(d=i[t],c=this.textSpans[t].span,p=this.textSpans[t].glyph,p&&p.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 Un(t,r,i){this.initElement(t,r,i)}B([Yo],Un),Un.prototype.createContent=function(){var t=ft("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)};function Ur(t,r,i){this.initFrame(),this.initBaseData(t,r,i),this.initFrame(),this.initTransform(t,r,i),this.initHierarchy()}Ur.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},Ur.prototype.renderFrame=function(){},Ur.prototype.getBaseElement=function(){return null},Ur.prototype.destroy=function(){},Ur.prototype.sourceRectAtTime=function(){},Ur.prototype.hide=function(){},B([$r,Xi,Zi,Vr],Ur);function Yt(){}B([ne],Yt),Yt.prototype.createNull=function(t){return new Ur(t,this.globalData,this)},Yt.prototype.createShape=function(t){return new Vt(t,this.globalData,this)},Yt.prototype.createText=function(t){return new mr(t,this.globalData,this)},Yt.prototype.createImage=function(t){return new Yo(t,this.globalData,this)},Yt.prototype.createSolid=function(t){return new Un(t,this.globalData,this)},Yt.prototype.configAnimation=function(t){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 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.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(t,r),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var i=ft("clipPath"),a=ft("rect");a.setAttribute("width",t.w),a.setAttribute("height",t.h),a.setAttribute("x",0),a.setAttribute("y",0);var d=ge();i.setAttribute("id",d),i.appendChild(a),this.layerElement.setAttribute("clip-path","url("+S()+"#"+d+")"),r.appendChild(i),this.layers=t.layers,this.elements=et(t.layers.length)},Yt.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,r=this.layers?this.layers.length:0;for(t=0;t<r;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},Yt.prototype.updateContainerSize=function(){},Yt.prototype.findIndexByInd=function(t){var r=0,i=this.layers.length;for(r=0;r<i;r+=1)if(this.layers[r].ind===t)return r;return-1},Yt.prototype.buildItem=function(t){var r=this.elements;if(!(r[t]||this.layers[t].ty===99)){r[t]=!0;var i=this.createItem(this.layers[t]);if(r[t]=i,Us()&&(this.layers[t].ty===0&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,t),this.layers[t].tt){var a="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(a===-1)return;if(!this.elements[a]||this.elements[a]===!0)this.buildItem(a),this.addPendingElement(i);else{var d=r[a],c=d.getMatte(this.layers[t].tt);i.setMatte(c)}}}},Yt.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var r=0,i=this.elements.length;r<i;){if(this.elements[r]===t){var a="tp"in t.data?this.findIndexByInd(t.data.tp):r-1,d=this.elements[a],c=d.getMatte(this.layers[r].tt);t.setMatte(c);break}r+=1}}},Yt.prototype.renderFrame=function(t){if(!(this.renderedFrame===t||this.destroyed)){t===null?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf)for(r=0;r<i;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame()}},Yt.prototype.appendElementInPos=function(t,r){var i=t.getBaseElement();if(i){for(var a=0,d;a<r;)this.elements[a]&&this.elements[a]!==!0&&this.elements[a].getBaseElement()&&(d=this.elements[a].getBaseElement()),a+=1;d?this.layerElement.insertBefore(i,d):this.layerElement.appendChild(i)}},Yt.prototype.hide=function(){this.layerElement.style.display="none"},Yt.prototype.show=function(){this.layerElement.style.display="block"};function pr(){}B([$r,Xi,Zi,Vr,qo],pr),pr.prototype.initElement=function(t,r,i){this.initFrame(),this.initBaseData(t,r,i),this.initTransform(t,r,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!r.progressiveLoad)&&this.buildAllItems(),this.hide()},pr.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var r=this.tm.v;r===this.data.op&&(r=this.data.op-1),this.renderedFrame=r}var i,a=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=a-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},pr.prototype.renderInnerContent=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},pr.prototype.setElements=function(t){this.elements=t},pr.prototype.getElements=function(){return this.elements},pr.prototype.destroyElements=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)this.elements[t]&&this.elements[t].destroy()},pr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function Xo(t,r,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?et(this.layers.length):[],this.initElement(t,r,i),this.tm=t.tm?rt.getProp(this,t.tm,0,r.frameRate,this):{_placeholder:!0}}B([Yt,pr,Wo],Xo),Xo.prototype.createComp=function(t){return new Xo(t,this.globalData,this)};function Hn(t,r){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=ft("svg");var i="";if(r&&r.title){var a=ft("title"),d=ge();a.setAttribute("id",d),a.textContent=r.title,this.svgElement.appendChild(a),i+=d}if(r&&r.description){var c=ft("desc"),p=ge();c.setAttribute("id",p),c.textContent=r.description,this.svgElement.appendChild(c),i+=" "+p}i&&this.svgElement.setAttribute("aria-labelledby",i);var x=ft("defs");this.svgElement.appendChild(x);var u=ft("g");this.svgElement.appendChild(u),this.layerElement=u,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 B([Yt],Hn),Hn.prototype.createComp=function(t){return new Xo(t,this.globalData,this)},gu("svg",Hn),Fr.registerModifier("tm",We),Fr.registerModifier("pb",$o),Fr.registerModifier("rp",ir),Fr.registerModifier("rd",Vo),Fr.registerModifier("zz",Uo),Fr.registerModifier("op",Ho),It})});var la=globalThis,ca=la.ShadowRoot&&(la.ShadyCSS===void 0||la.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gn=Symbol(),Sd=new WeakMap,Zo=class{constructor(o,e,s){if(this._$cssResult$=!0,s!==Gn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=e}get styleSheet(){let o=this.o,e=this.t;if(ca&&o===void 0){let s=e!==void 0&&e.length===1;s&&(o=Sd.get(e)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),s&&Sd.set(e,o))}return o}toString(){return this.cssText}},kd=l=>new Zo(typeof l=="string"?l:l+"",void 0,Gn),W=(l,...o)=>{let e=l.length===1?l[0]:o.reduce((s,n,h)=>s+(f=>{if(f._$cssResult$===!0)return f.cssText;if(typeof f=="number")return f;throw Error("Value passed to 'css' function must be a 'css' function result: "+f+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+l[h+1],l[0]);return new Zo(e,l,Gn)},jn=(l,o)=>{if(ca)l.adoptedStyleSheets=o.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of o){let s=document.createElement("style"),n=la.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,l.appendChild(s)}},da=ca?l=>l:l=>l instanceof CSSStyleSheet?(o=>{let e="";for(let s of o.cssRules)e+=s.cssText;return kd(e)})(l):l;var{is:gf,defineProperty:bf,getOwnPropertyDescriptor:yf,getOwnPropertyNames:xf,getOwnPropertySymbols:Ef,getPrototypeOf:Tf}=Object,qr=globalThis,Cd=qr.trustedTypes,Af=Cd?Cd.emptyScript:"",Wn=qr.reactiveElementPolyfillSupport,Jo=(l,o)=>l,Qo={toAttribute(l,o){switch(o){case Boolean:l=l?Af:null;break;case Object:case Array:l=l==null?l:JSON.stringify(l)}return l},fromAttribute(l,o){let e=l;switch(o){case Boolean:e=l!==null;break;case Number:e=l===null?null:Number(l);break;case Object:case Array:try{e=JSON.parse(l)}catch{e=null}}return e}},ha=(l,o)=>!gf(l,o),wd={attribute:!0,type:String,converter:Qo,reflect:!1,hasChanged:ha},Id,Ld;(Id=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Ld=qr.litPropertyMetadata)!=null||(qr.litPropertyMetadata=new WeakMap);var br=class extends HTMLElement{static addInitializer(o){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(o)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(o,e=wd){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(o,e),!e.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(o,s,e);n!==void 0&&bf(this.prototype,o,n)}}static getPropertyDescriptor(o,e,s){var f;let{get:n,set:h}=(f=yf(this.prototype,o))!=null?f:{get(){return this[e]},set(S){this[e]=S}};return{get(){return n==null?void 0:n.call(this)},set(S){let M=n==null?void 0:n.call(this);h.call(this,S),this.requestUpdate(o,M,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){var e;return(e=this.elementProperties.get(o))!=null?e:wd}static _$Ei(){if(this.hasOwnProperty(Jo("elementProperties")))return;let o=Tf(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(Jo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Jo("properties"))){let e=this.properties,s=[...xf(e),...Ef(e)];for(let n of s)this.createProperty(n,e[n])}let o=this[Symbol.metadata];if(o!==null){let e=litPropertyMetadata.get(o);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){let e=[];if(Array.isArray(o)){let s=new Set(o.flat(1/0).reverse());for(let n of s)e.unshift(da(n))}else o!==void 0&&e.push(da(o));return e}static _$Eu(o,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof o=="string"?o.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var o;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(o=this.constructor.l)==null||o.forEach(e=>e(this))}addController(o){var e,s;((e=this._$EO)!=null?e:this._$EO=new Set).add(o),this.renderRoot!==void 0&&this.isConnected&&((s=o.hostConnected)==null||s.call(o))}removeController(o){var e;(e=this._$EO)==null||e.delete(o)}_$E_(){let o=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(o.set(s,this[s]),delete this[s]);o.size>0&&(this._$Ep=o)}createRenderRoot(){var e;let o=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return jn(o,this.constructor.elementStyles),o}connectedCallback(){var o,e;(o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(s=>{var n;return(n=s.hostConnected)==null?void 0:n.call(s)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(o,e,s){this._$AK(o,s)}_$EC(o,e){var h;let s=this.constructor.elementProperties.get(o),n=this.constructor._$Eu(o,s);if(n!==void 0&&s.reflect===!0){let f=(((h=s.converter)==null?void 0:h.toAttribute)!==void 0?s.converter:Qo).toAttribute(e,s.type);this._$Em=o,f==null?this.removeAttribute(n):this.setAttribute(n,f),this._$Em=null}}_$AK(o,e){var h;let s=this.constructor,n=s._$Eh.get(o);if(n!==void 0&&this._$Em!==n){let f=s.getPropertyOptions(n),S=typeof f.converter=="function"?{fromAttribute:f.converter}:((h=f.converter)==null?void 0:h.fromAttribute)!==void 0?f.converter:Qo;this._$Em=n,this[n]=S.fromAttribute(e,f.type),this._$Em=null}}requestUpdate(o,e,s){var n;if(o!==void 0){if(s!=null||(s=this.constructor.getPropertyOptions(o)),!((n=s.hasChanged)!=null?n:ha)(this[o],e))return;this.P(o,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,e,s){var n;this._$AL.has(o)||this._$AL.set(o,e),s.reflect===!0&&this._$Em!==o&&((n=this._$Ej)!=null?n:this._$Ej=new Set).add(o)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let o=this.scheduleUpdate();return o!=null&&await o,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s,n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((s=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[f,S]of this._$Ep)this[f]=S;this._$Ep=void 0}let h=this.constructor.elementProperties;if(h.size>0)for(let[f,S]of h)S.wrapped!==!0||this._$AL.has(f)||this[f]===void 0||this.P(f,this[f],S)}let o=!1,e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),(n=this._$EO)==null||n.forEach(h=>{var f;return(f=h.hostUpdate)==null?void 0:f.call(h)}),this.update(e)):this._$EU()}catch(h){throw o=!1,this._$EU(),h}o&&this._$AE(e)}willUpdate(o){}_$AE(o){var e;(e=this._$EO)==null||e.forEach(s=>{var n;return(n=s.hostUpdated)==null?void 0:n.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(o)),this.updated(o)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(o){return!0}update(o){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(o){}firstUpdated(o){}},Md;br.elementStyles=[],br.shadowRootOptions={mode:"open"},br[Jo("elementProperties")]=new Map,br[Jo("finalized")]=new Map,Wn==null||Wn({ReactiveElement:br}),((Md=qr.reactiveElementVersions)!=null?Md:qr.reactiveElementVersions=[]).push("2.0.4");var es=globalThis,ma=es.trustedTypes,Nd=ma?ma.createPolicy("lit-html",{createHTML:l=>l}):void 0,Kn="$lit$",yr=`lit$${Math.random().toFixed(9).slice(2)}$`,Xn="?"+yr,_f=`<${Xn}>`,pi=document,rs=()=>pi.createComment(""),is=l=>l===null||typeof l!="object"&&typeof l!="function",Zn=Array.isArray,$d=l=>Zn(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",qn=`[
|
3
|
-
\f\r]`,
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
1
|
+
"use strict";(()=>{var hf=Object.create;var ca=Object.defineProperty;var Cd=Object.getOwnPropertyDescriptor;var mf=Object.getOwnPropertyNames;var pf=Object.getPrototypeOf,uf=Object.prototype.hasOwnProperty;var ff=(l,o)=>()=>(o||l((o={exports:{}}).exports,o),o.exports),vf=(l,o)=>{for(var e in o)ca(l,e,{get:o[e],enumerable:!0})},gf=(l,o,e,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of mf(o))!uf.call(l,n)&&n!==e&&ca(l,n,{get:()=>o[n],enumerable:!(s=Cd(o,n))||s.enumerable});return l};var bf=(l,o,e)=>(e=l!=null?hf(pf(l)):{},gf(o||!l||!l.__esModule?ca(e,"default",{value:l,enumerable:!0}):e,l));var y=(l,o,e,s)=>{for(var n=s>1?void 0:s?Cd(o,e):o,h=l.length-1,f;h>=0;h--)(f=l[h])&&(n=(s?f(o,e,n):f(n))||n);return s&&n&&ca(o,e,n),n};var au=ff((Us,Mn)=>{typeof navigator<"u"&&function(l,o){typeof Us=="object"&&typeof Mn<"u"?Mn.exports=o():typeof define=="function"&&define.amd?define(o):(l=typeof globalThis<"u"?globalThis:l||self,l.lottie=o())}(Us,function(){"use strict";var l="http://www.w3.org/2000/svg",o="",e=!1,s=-999999,n=function(r){e=!!r},h=function(){return e},f=function(r){o=r},S=function(){return o};function M(t){return document.createElement(t)}function B(t,r){var i,a=t.length,d;for(i=0;i<a;i+=1){d=t[i].prototype;for(var c in d)Object.prototype.hasOwnProperty.call(d,c)&&(r.prototype[c]=d[c])}}function G(t,r){return Object.getOwnPropertyDescriptor(t,r)}function q(t){function r(){}return r.prototype=t,r}var ot=function(){function t(r){this.audios=[],this.audioFactory=r,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(i){this.audios.push(i)},pause:function(){var i,a=this.audios.length;for(i=0;i<a;i+=1)this.audios[i].pause()},resume:function(){var i,a=this.audios.length;for(i=0;i<a;i+=1)this.audios[i].resume()},setRate:function(i){var a,d=this.audios.length;for(a=0;a<d;a+=1)this.audios[a].setRate(i)},createAudio:function(i){return this.audioFactory?this.audioFactory(i):window.Howl?new window.Howl({src:[i]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(i){this.audioFactory=i},setVolume:function(i){this._volume=i,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var i,a=this.audios.length;for(i=0;i<a;i+=1)this.audios[i].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),Q=function(){function t(i,a){var d=0,c=[],p;switch(i){case"int16":case"uint8c":p=1;break;default:p=1.1;break}for(d=0;d<a;d+=1)c.push(p);return c}function r(i,a){return i==="float32"?new Float32Array(a):i==="int16"?new Int16Array(a):i==="uint8c"?new Uint8ClampedArray(a):t(i,a)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:t}();function et(t){return Array.apply(null,{length:t})}function ct(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ct=function(i){return typeof i}:ct=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ct(t)}var bt=!0,gt=null,yt=null,St="",Bt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Nt=!1,Pt=Math.pow,ve=Math.sqrt,Qt=Math.floor,He=Math.max,we=Math.min,Oe={};(function(){var t=["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,i=t.length;for(r=0;r<i;r+=1)Oe[t[r]]=Math[t[r]]})();function Ge(){return{}}Oe.random=Math.random,Oe.abs=function(t){var r=ct(t);if(r==="object"&&t.length){var i=et(t.length),a,d=t.length;for(a=0;a<d;a+=1)i[a]=Math.abs(t[a]);return i}return Math.abs(t)};var je=150,Tt=Math.PI/180,de=.5519;function Pe(t){Nt=!!t}function We(t){return Nt?Math.round(t):t}function hr(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function De(t,r,i,a){this.type=t,this.currentTime=r,this.totalTime=i,this.direction=a<0?-1:1}function Hs(t,r){this.type=t,this.direction=r<0?-1:1}function Oc(t,r,i,a){this.type=t,this.currentLoop=i,this.totalLoops=r,this.direction=a<0?-1:1}function Pc(t,r,i){this.type=t,this.firstFrame=r,this.totalFrames=i}function Dc(t,r){this.type=t,this.target=r}function du(t,r){this.type="renderFrameError",this.nativeError=t,this.currentTime=r}function hu(t){this.type="configError",this.nativeError=t}function u0(t,r){this.type=t,this.nativeError=r}var ge=function(){var t=0;return function(){return t+=1,St+"__lottie_element_"+t}}();function On(t,r,i){var a,d,c,p,E,u,k,I;switch(p=Math.floor(t*6),E=t*6-p,u=i*(1-r),k=i*(1-E*r),I=i*(1-(1-E)*r),p%6){case 0:a=i,d=I,c=u;break;case 1:a=k,d=i,c=u;break;case 2:a=u,d=i,c=I;break;case 3:a=u,d=k,c=i;break;case 4:a=I,d=u,c=i;break;case 5:a=i,d=u,c=k;break;default:break}return[a,d,c]}function Pn(t,r,i){var a=Math.max(t,r,i),d=Math.min(t,r,i),c=a-d,p,E=a===0?0:c/a,u=a/255;switch(a){case d:p=0;break;case t:p=r-i+c*(r<i?6:0),p/=6*c;break;case r:p=i-t+c*2,p/=6*c;break;case i:p=t-r+c*4,p/=6*c;break;default:break}return[p,E,u]}function Fc(t,r){var i=Pn(t[0]*255,t[1]*255,t[2]*255);return i[1]+=r,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),On(i[0],i[1],i[2])}function zc(t,r){var i=Pn(t[0]*255,t[1]*255,t[2]*255);return i[2]+=r,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),On(i[0],i[1],i[2])}function $c(t,r){var i=Pn(t[0]*255,t[1]*255,t[2]*255);return i[0]+=r/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),On(i[0],i[1],i[2])}var f0=function(){var t=[],r,i;for(r=0;r<256;r+=1)i=r.toString(16),t[r]=i.length===1?"0"+i:i;return function(a,d,c){return a<0&&(a=0),d<0&&(d=0),c<0&&(c=0),"#"+t[a]+t[d]+t[c]}}(),mu=function(r){bt=!!r},pu=function(){return bt},uu=function(r){gt=r},Gs=function(){return gt},v0=function(r){yt=r},Vc=function(){return yt},js=function(r){je=r},Po=function(){return je},fu=function(r){St=r},g0=function(){return St};function ft(t){return document.createElementNS(l,t)}function Ws(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ws=function(i){return typeof i}:Ws=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Ws(t)}var Do=function(){var t=1,r=[],i,a,d={onmessage:function(){},postMessage:function(L){i({data:L})}},c={postMessage:function(L){d.onmessage({data:L})}};function p(b){if(window.Worker&&window.Blob&&h()){var L=new Blob(["var _workerSelf = self; self.onmessage = ",b.toString()],{type:"text/javascript"}),O=URL.createObjectURL(L);return new Worker(O)}return i=b,d}function E(){a||(a=p(function(L){function O(){function z(Y,T){var R,m,v=Y.length,U,D,it,ht;for(m=0;m<v;m+=1)if(R=Y[m],"ks"in R&&!R.completed){if(R.completed=!0,R.hasMask){var ut=R.masksProperties;for(D=ut.length,U=0;U<D;U+=1)if(ut[U].pt.k.i)C(ut[U].pt.k);else for(ht=ut[U].pt.k.length,it=0;it<ht;it+=1)ut[U].pt.k[it].s&&C(ut[U].pt.k[it].s[0]),ut[U].pt.k[it].e&&C(ut[U].pt.k[it].e[0])}R.ty===0?(R.layers=g(R.refId,T),z(R.layers,T)):R.ty===4?x(R.shapes):R.ty===5&&vt(R)}}function w(Y,T){if(Y){var R=0,m=Y.length;for(R=0;R<m;R+=1)Y[R].t===1&&(Y[R].data.layers=g(Y[R].data.refId,T),z(Y[R].data.layers,T))}}function _(Y,T){for(var R=0,m=T.length;R<m;){if(T[R].id===Y)return T[R];R+=1}return null}function g(Y,T){var R=_(Y,T);return R?R.layers.__used?JSON.parse(JSON.stringify(R.layers)):(R.layers.__used=!0,R.layers):null}function x(Y){var T,R=Y.length,m,v;for(T=R-1;T>=0;T-=1)if(Y[T].ty==="sh")if(Y[T].ks.k.i)C(Y[T].ks.k);else for(v=Y[T].ks.k.length,m=0;m<v;m+=1)Y[T].ks.k[m].s&&C(Y[T].ks.k[m].s[0]),Y[T].ks.k[m].e&&C(Y[T].ks.k[m].e[0]);else Y[T].ty==="gr"&&x(Y[T].it)}function C(Y){var T,R=Y.i.length;for(T=0;T<R;T+=1)Y.i[T][0]+=Y.v[T][0],Y.i[T][1]+=Y.v[T][1],Y.o[T][0]+=Y.v[T][0],Y.o[T][1]+=Y.v[T][1]}function P(Y,T){var R=T?T.split("."):[100,100,100];return Y[0]>R[0]?!0:R[0]>Y[0]?!1:Y[1]>R[1]?!0:R[1]>Y[1]?!1:Y[2]>R[2]?!0:R[2]>Y[2]?!1:null}var $=function(){var Y=[4,4,14];function T(m){var v=m.t.d;m.t.d={k:[{s:v,t:0}]}}function R(m){var v,U=m.length;for(v=0;v<U;v+=1)m[v].ty===5&&T(m[v])}return function(m){if(P(Y,m.v)&&(R(m.layers),m.assets)){var v,U=m.assets.length;for(v=0;v<U;v+=1)m.assets[v].layers&&R(m.assets[v].layers)}}}(),H=function(){var Y=[4,7,99];return function(T){if(T.chars&&!P(Y,T.v)){var R,m=T.chars.length;for(R=0;R<m;R+=1){var v=T.chars[R];v.data&&v.data.shapes&&(x(v.data.shapes),v.data.ip=0,v.data.op=99999,v.data.st=0,v.data.sr=1,v.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}},T.chars[R].t||(v.data.shapes.push({ty:"no"}),v.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"})))}}}}(),K=function(){var Y=[5,7,15];function T(m){var v=m.t.p;typeof v.a=="number"&&(v.a={a:0,k:v.a}),typeof v.p=="number"&&(v.p={a:0,k:v.p}),typeof v.r=="number"&&(v.r={a:0,k:v.r})}function R(m){var v,U=m.length;for(v=0;v<U;v+=1)m[v].ty===5&&T(m[v])}return function(m){if(P(Y,m.v)&&(R(m.layers),m.assets)){var v,U=m.assets.length;for(v=0;v<U;v+=1)m.assets[v].layers&&R(m.assets[v].layers)}}}(),pt=function(){var Y=[4,1,9];function T(m){var v,U=m.length,D,it;for(v=0;v<U;v+=1)if(m[v].ty==="gr")T(m[v].it);else if(m[v].ty==="fl"||m[v].ty==="st")if(m[v].c.k&&m[v].c.k[0].i)for(it=m[v].c.k.length,D=0;D<it;D+=1)m[v].c.k[D].s&&(m[v].c.k[D].s[0]/=255,m[v].c.k[D].s[1]/=255,m[v].c.k[D].s[2]/=255,m[v].c.k[D].s[3]/=255),m[v].c.k[D].e&&(m[v].c.k[D].e[0]/=255,m[v].c.k[D].e[1]/=255,m[v].c.k[D].e[2]/=255,m[v].c.k[D].e[3]/=255);else m[v].c.k[0]/=255,m[v].c.k[1]/=255,m[v].c.k[2]/=255,m[v].c.k[3]/=255}function R(m){var v,U=m.length;for(v=0;v<U;v+=1)m[v].ty===4&&T(m[v].shapes)}return function(m){if(P(Y,m.v)&&(R(m.layers),m.assets)){var v,U=m.assets.length;for(v=0;v<U;v+=1)m.assets[v].layers&&R(m.assets[v].layers)}}}(),nt=function(){var Y=[4,4,18];function T(m){var v,U=m.length,D,it;for(v=U-1;v>=0;v-=1)if(m[v].ty==="sh")if(m[v].ks.k.i)m[v].ks.k.c=m[v].closed;else for(it=m[v].ks.k.length,D=0;D<it;D+=1)m[v].ks.k[D].s&&(m[v].ks.k[D].s[0].c=m[v].closed),m[v].ks.k[D].e&&(m[v].ks.k[D].e[0].c=m[v].closed);else m[v].ty==="gr"&&T(m[v].it)}function R(m){var v,U,D=m.length,it,ht,ut,kt;for(U=0;U<D;U+=1){if(v=m[U],v.hasMask){var Ct=v.masksProperties;for(ht=Ct.length,it=0;it<ht;it+=1)if(Ct[it].pt.k.i)Ct[it].pt.k.c=Ct[it].cl;else for(kt=Ct[it].pt.k.length,ut=0;ut<kt;ut+=1)Ct[it].pt.k[ut].s&&(Ct[it].pt.k[ut].s[0].c=Ct[it].cl),Ct[it].pt.k[ut].e&&(Ct[it].pt.k[ut].e[0].c=Ct[it].cl)}v.ty===4&&T(v.shapes)}}return function(m){if(P(Y,m.v)&&(R(m.layers),m.assets)){var v,U=m.assets.length;for(v=0;v<U;v+=1)m.assets[v].layers&&R(m.assets[v].layers)}}}();function tt(Y){Y.__complete||(pt(Y),$(Y),H(Y),K(Y),nt(Y),z(Y.layers,Y.assets),w(Y.chars,Y.assets),Y.__complete=!0)}function vt(Y){Y.t.a.length===0&&"m"in Y.t.p}var st={};return st.completeData=tt,st.checkColors=pt,st.checkChars=H,st.checkPathProperties=K,st.checkShapes=nt,st.completeLayers=z,st}if(c.dataManager||(c.dataManager=O()),c.assetLoader||(c.assetLoader=function(){function z(_){var g=_.getResponseHeader("content-type");return g&&_.responseType==="json"&&g.indexOf("json")!==-1||_.response&&Ws(_.response)==="object"?_.response:_.response&&typeof _.response=="string"?JSON.parse(_.response):_.responseText?JSON.parse(_.responseText):null}function w(_,g,x,C){var P,$=new XMLHttpRequest;try{$.responseType="json"}catch{}$.onreadystatechange=function(){if($.readyState===4)if($.status===200)P=z($),x(P);else try{P=z($),x(P)}catch(H){C&&C(H)}};try{$.open(["G","E","T"].join(""),_,!0)}catch{$.open(["G","E","T"].join(""),g+"/"+_,!0)}$.send()}return{load:w}}()),L.data.type==="loadAnimation")c.assetLoader.load(L.data.path,L.data.fullPath,function(z){c.dataManager.completeData(z),c.postMessage({id:L.data.id,payload:z,status:"success"})},function(){c.postMessage({id:L.data.id,status:"error"})});else if(L.data.type==="complete"){var N=L.data.animation;c.dataManager.completeData(N),c.postMessage({id:L.data.id,payload:N,status:"success"})}else L.data.type==="loadData"&&c.assetLoader.load(L.data.path,L.data.fullPath,function(z){c.postMessage({id:L.data.id,payload:z,status:"success"})},function(){c.postMessage({id:L.data.id,status:"error"})})}),a.onmessage=function(b){var L=b.data,O=L.id,N=r[O];r[O]=null,L.status==="success"?N.onComplete(L.payload):N.onError&&N.onError()})}function u(b,L){t+=1;var O="processId_"+t;return r[O]={onComplete:b,onError:L},O}function k(b,L,O){E();var N=u(L,O);a.postMessage({type:"loadAnimation",path:b,fullPath:window.location.origin+window.location.pathname,id:N})}function I(b,L,O){E();var N=u(L,O);a.postMessage({type:"loadData",path:b,fullPath:window.location.origin+window.location.pathname,id:N})}function V(b,L,O){E();var N=u(L,O);a.postMessage({type:"complete",animation:b,id:N})}return{loadAnimation:k,loadData:I,completeAnimation:V}}(),vu=function(){var t=function(){var w=M("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 i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(w,_,g){var x="";if(w.e)x=w.p;else if(_){var C=w.p;C.indexOf("images/")!==-1&&(C=C.split("/")[1]),x=_+C}else x=g,x+=w.u?w.u:"",x+=w.p;return x}function d(w){var _=0,g=setInterval((function(){var x=w.getBBox();(x.width||_>500)&&(this._imageLoaded(),clearInterval(g)),_+=1}).bind(this),50)}function c(w){var _=a(w,this.assetsPath,this.path),g=ft("image");Bt?this.testImageLoaded(g):g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){x.img=t,this._imageLoaded()}).bind(this),!1),g.setAttributeNS("http://www.w3.org/1999/xlink","href",_),this._elementHelper.append?this._elementHelper.append(g):this._elementHelper.appendChild(g);var x={img:g,assetData:w};return x}function p(w){var _=a(w,this.assetsPath,this.path),g=M("img");g.crossOrigin="anonymous",g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){x.img=t,this._imageLoaded()}).bind(this),!1),g.src=_;var x={img:g,assetData:w};return x}function E(w){var _={assetData:w},g=a(w,this.assetsPath,this.path);return Do.loadData(g,(function(x){_.img=x,this._footageLoaded()}).bind(this),(function(){_.img={},this._footageLoaded()}).bind(this)),_}function u(w,_){this.imagesLoadedCb=_;var g,x=w.length;for(g=0;g<x;g+=1)w[g].layers||(!w[g].t||w[g].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(w[g]))):w[g].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(w[g]))))}function k(w){this.path=w||""}function I(w){this.assetsPath=w||""}function V(w){for(var _=0,g=this.images.length;_<g;){if(this.images[_].assetData===w)return this.images[_].img;_+=1}return null}function b(){this.imagesLoadedCb=null,this.images.length=0}function L(){return this.totalImages===this.loadedAssets}function O(){return this.totalFootages===this.loadedFootagesCount}function N(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=i.bind(this),this.testImageLoaded=d.bind(this),this.createFootageData=E.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:u,setAssetsPath:I,setPath:k,loadedImages:L,loadedFootages:O,destroy:b,getAsset:V,createImgData:p,createImageData:c,imageLoaded:r,footageLoaded:i,setCacheType:N},z}();function Bc(){}Bc.prototype={triggerEvent:function(r,i){if(this._cbs[r])for(var a=this._cbs[r],d=0;d<a.length;d+=1)a[d](i)},addEventListener:function(r,i){return this._cbs[r]||(this._cbs[r]=[]),this._cbs[r].push(i),(function(){this.removeEventListener(r,i)}).bind(this)},removeEventListener:function(r,i){if(!i)this._cbs[r]=null;else if(this._cbs[r]){for(var a=0,d=this._cbs[r].length;a<d;)this._cbs[r][a]===i&&(this._cbs[r].splice(a,1),a-=1,d-=1),a+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var gu=function(){function t(r){for(var i=r.split(`\r
|
2
|
+
`),a={},d,c=0,p=0;p<i.length;p+=1)d=i[p].split(":"),d.length===2&&(a[d[0]]=d[1].trim(),c+=1);if(c===0)throw new Error;return a}return function(r){for(var i=[],a=0;a<r.length;a+=1){var d=r[a],c={time:d.tm,duration:d.dr};try{c.payload=JSON.parse(r[a].cm)}catch{try{c.payload=t(r[a].cm)}catch{c.payload={name:r[a].cm}}}i.push(c)}return i}}(),bu=function(){function t(r){this.compositions.push(r)}return function(){function r(i){for(var a=0,d=this.compositions.length;a<d;){if(this.compositions[a].data&&this.compositions[a].data.nm===i)return this.compositions[a].prepareFrame&&this.compositions[a].data.xt&&this.compositions[a].prepareFrame(this.currentFrame),this.compositions[a].compInterface;a+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=t,r}}(),Fo={},yu=function(r,i){Fo[r]=i};function Eu(t){return Fo[t]}function xu(){if(Fo.canvas)return"canvas";for(var t in Fo)if(Fo[t])return t;return""}function zo(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?zo=function(i){return typeof i}:zo=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},zo(t)}var dt=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=ge(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=pu(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=bu(),this.imagePreloader=new vu,this.audioController=ot(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new De("drawnFrame",0,0,0),this.expressionsPlugin=Gs()};B([Bc],dt),dt.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var r="svg";t.animType?r=t.animType:t.renderer&&(r=t.renderer);var i=Eu(r);this.renderer=new i(this,t.rendererSettings),this.imagePreloader.setCacheType(r,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=r,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Do.loadAnimation(t.path,this.configAnimation,this.onSetupError))},dt.prototype.onSetupError=function(){this.trigger("data_failed")},dt.prototype.setupAnimation=function(t){Do.completeAnimation(t,this.configAnimation)},dt.prototype.setData=function(t,r){r&&zo(r)!=="object"&&(r=JSON.parse(r));var i={wrapper:t,animationData:r},a=t.attributes;i.path=a.getNamedItem("data-animation-path")?a.getNamedItem("data-animation-path").value:a.getNamedItem("data-bm-path")?a.getNamedItem("data-bm-path").value:a.getNamedItem("bm-path")?a.getNamedItem("bm-path").value:"",i.animType=a.getNamedItem("data-anim-type")?a.getNamedItem("data-anim-type").value:a.getNamedItem("data-bm-type")?a.getNamedItem("data-bm-type").value:a.getNamedItem("bm-type")?a.getNamedItem("bm-type").value:a.getNamedItem("data-bm-renderer")?a.getNamedItem("data-bm-renderer").value:a.getNamedItem("bm-renderer")?a.getNamedItem("bm-renderer").value:xu()||"canvas";var d=a.getNamedItem("data-anim-loop")?a.getNamedItem("data-anim-loop").value:a.getNamedItem("data-bm-loop")?a.getNamedItem("data-bm-loop").value:a.getNamedItem("bm-loop")?a.getNamedItem("bm-loop").value:"";d==="false"?i.loop=!1:d==="true"?i.loop=!0:d!==""&&(i.loop=parseInt(d,10));var c=a.getNamedItem("data-anim-autoplay")?a.getNamedItem("data-anim-autoplay").value:a.getNamedItem("data-bm-autoplay")?a.getNamedItem("data-bm-autoplay").value:a.getNamedItem("bm-autoplay")?a.getNamedItem("bm-autoplay").value:!0;i.autoplay=c!=="false",i.name=a.getNamedItem("data-name")?a.getNamedItem("data-name").value:a.getNamedItem("data-bm-name")?a.getNamedItem("data-bm-name").value:a.getNamedItem("bm-name")?a.getNamedItem("bm-name").value:"";var p=a.getNamedItem("data-anim-prerender")?a.getNamedItem("data-anim-prerender").value:a.getNamedItem("data-bm-prerender")?a.getNamedItem("data-bm-prerender").value:a.getNamedItem("bm-prerender")?a.getNamedItem("bm-prerender").value:"";p==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},dt.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var r=this.animationData.layers,i,a=r.length,d=t.layers,c,p=d.length;for(c=0;c<p;c+=1)for(i=0;i<a;){if(r[i].id===d[c].id){r[i]=d[c];break}i+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(a=t.assets.length,i=0;i<a;i+=1)this.animationData.assets.push(t.assets[i]);this.animationData.__complete=!1,Do.completeAnimation(this.animationData,this.onSegmentComplete)},dt.prototype.onSegmentComplete=function(t){this.animationData=t;var r=Gs();r&&r.initExpressions(this),this.loadNextSegment()},dt.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var r=t.shift();this.timeCompleted=r.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Do.loadData(i,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},dt.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},dt.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},dt.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},dt.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,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(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=gu(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},dt.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},dt.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 t=Gs();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},dt.prototype.resize=function(t,r){var i=typeof t=="number"?t:void 0,a=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(i,a)},dt.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},dt.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")},dt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},dt.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},dt.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},dt.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},dt.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},dt.prototype.getMarkerData=function(t){for(var r,i=0;i<this.markers.length;i+=1)if(r=this.markers[i],r.payload&&r.payload.name===t)return r;return null},dt.prototype.goToAndStop=function(t,r,i){if(!(i&&this.name!==i)){var a=Number(t);if(isNaN(a)){var d=this.getMarkerData(t);d&&this.goToAndStop(d.time,!0)}else r?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},dt.prototype.goToAndPlay=function(t,r,i){if(!(i&&this.name!==i)){var a=Number(t);if(isNaN(a)){var d=this.getMarkerData(t);d&&(d.duration?this.playSegments([d.time,d.time+d.duration],!0):this.goToAndStop(d.time,!0))}else this.goToAndStop(a,r,i);this.play()}},dt.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var r=this.currentRawFrame+t*this.frameModifier,i=!1;r>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(r>this.totalFrames?r%this.totalFrames:0)||(i=!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):(i=!0,r=0)):this.setCurrentRawFrameValue(r),i&&(this.setCurrentRawFrameValue(r),this.pause(),this.trigger("complete"))}},dt.prototype.adjustSegment=function(t,r){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-r)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+r)),this.trigger("segmentStart")},dt.prototype.setSegment=function(t,r){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>r&&(i=r-t)),this.firstFrame=t,this.totalFrames=r-t,this.timeCompleted=this.totalFrames,i!==-1&&this.goToAndStop(i,!0)},dt.prototype.playSegments=function(t,r){if(r&&(this.segments.length=0),zo(t[0])==="object"){var i,a=t.length;for(i=0;i<a;i+=1)this.segments.push(t[i])}else this.segments.push(t);this.segments.length&&r&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},dt.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},dt.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},dt.prototype.destroy=function(t){t&&this.name!==t||!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)},dt.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},dt.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},dt.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},dt.prototype.setLoop=function(t){this.loop=t},dt.prototype.setVolume=function(t,r){r&&this.name!==r||this.audioController.setVolume(t)},dt.prototype.getVolume=function(){return this.audioController.getVolume()},dt.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},dt.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},dt.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},dt.prototype.getPath=function(){return this.path},dt.prototype.getAssetsPath=function(t){var r="";if(t.e)r=t.p;else if(this.assetsPath){var i=t.p;i.indexOf("images/")!==-1&&(i=i.split("/")[1]),r=this.assetsPath+i}else r=this.path,r+=t.u?t.u:"",r+=t.p;return r},dt.prototype.getAssetData=function(t){for(var r=0,i=this.assets.length;r<i;){if(t===this.assets[r].id)return this.assets[r];r+=1}return null},dt.prototype.hide=function(){this.renderer.hide()},dt.prototype.show=function(){this.renderer.show()},dt.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},dt.prototype.updateDocumentData=function(t,r,i){try{var a=this.renderer.getElementByPath(t);a.updateDocumentData(r,i)}catch{}},dt.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new De(t,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(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new Oc(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new Hs(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new Pc(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new Dc(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new De(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new Oc(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new Hs(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new Pc(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Dc(t,this))},dt.prototype.triggerRenderFrameError=function(t){var r=new du(t,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},dt.prototype.triggerConfigError=function(t){var r=new hu(t,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var Gt=function(){var t={},r=[],i=0,a=0,d=0,c=!0,p=!1;function E(T){for(var R=0,m=T.target;R<a;)r[R].animation===m&&(r.splice(R,1),R-=1,a-=1,m.isPaused||V()),R+=1}function u(T,R){if(!T)return null;for(var m=0;m<a;){if(r[m].elem===T&&r[m].elem!==null)return r[m].animation;m+=1}var v=new dt;return b(v,T),v.setData(T,R),v}function k(){var T,R=r.length,m=[];for(T=0;T<R;T+=1)m.push(r[T].animation);return m}function I(){d+=1,pt()}function V(){d-=1}function b(T,R){T.addEventListener("destroy",E),T.addEventListener("_active",I),T.addEventListener("_idle",V),r.push({elem:R,animation:T}),a+=1}function L(T){var R=new dt;return b(R,null),R.setParams(T),R}function O(T,R){var m;for(m=0;m<a;m+=1)r[m].animation.setSpeed(T,R)}function N(T,R){var m;for(m=0;m<a;m+=1)r[m].animation.setDirection(T,R)}function z(T){var R;for(R=0;R<a;R+=1)r[R].animation.play(T)}function w(T){var R=T-i,m;for(m=0;m<a;m+=1)r[m].animation.advanceTime(R);i=T,d&&!p?window.requestAnimationFrame(w):c=!0}function _(T){i=T,window.requestAnimationFrame(w)}function g(T){var R;for(R=0;R<a;R+=1)r[R].animation.pause(T)}function x(T,R,m){var v;for(v=0;v<a;v+=1)r[v].animation.goToAndStop(T,R,m)}function C(T){var R;for(R=0;R<a;R+=1)r[R].animation.stop(T)}function P(T){var R;for(R=0;R<a;R+=1)r[R].animation.togglePause(T)}function $(T){var R;for(R=a-1;R>=0;R-=1)r[R].animation.destroy(T)}function H(T,R,m){var v=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),U,D=v.length;for(U=0;U<D;U+=1)m&&v[U].setAttribute("data-bm-type",m),u(v[U],T);if(R&&D===0){m||(m="svg");var it=document.getElementsByTagName("body")[0];it.innerText="";var ht=M("div");ht.style.width="100%",ht.style.height="100%",ht.setAttribute("data-bm-type",m),it.appendChild(ht),u(ht,T)}}function K(){var T;for(T=0;T<a;T+=1)r[T].animation.resize()}function pt(){!p&&d&&c&&(window.requestAnimationFrame(_),c=!1)}function nt(){p=!0}function tt(){p=!1,pt()}function vt(T,R){var m;for(m=0;m<a;m+=1)r[m].animation.setVolume(T,R)}function st(T){var R;for(R=0;R<a;R+=1)r[R].animation.mute(T)}function Y(T){var R;for(R=0;R<a;R+=1)r[R].animation.unmute(T)}return t.registerAnimation=u,t.loadAnimation=L,t.setSpeed=O,t.setDirection=N,t.play=z,t.pause=g,t.stop=C,t.togglePause=P,t.searchAnimations=H,t.resize=K,t.goToAndStop=x,t.destroy=$,t.freeze=nt,t.unfreeze=tt,t.setVolume=vt,t.mute=st,t.unmute=Y,t.getRegisteredAnimations=k,t}(),$o=function(){var t={};t.getBezierEasing=i;var r={};function i(_,g,x,C,P){var $=P||("bez_"+_+"_"+g+"_"+x+"_"+C).replace(/\./g,"p");if(r[$])return r[$];var H=new w([_,g,x,C]);return r[$]=H,H}var a=4,d=.001,c=1e-7,p=10,E=11,u=1/(E-1),k=typeof Float32Array=="function";function I(_,g){return 1-3*g+3*_}function V(_,g){return 3*g-6*_}function b(_){return 3*_}function L(_,g,x){return((I(g,x)*_+V(g,x))*_+b(g))*_}function O(_,g,x){return 3*I(g,x)*_*_+2*V(g,x)*_+b(g)}function N(_,g,x,C,P){var $,H,K=0;do H=g+(x-g)/2,$=L(H,C,P)-_,$>0?x=H:g=H;while(Math.abs($)>c&&++K<p);return H}function z(_,g,x,C){for(var P=0;P<a;++P){var $=O(g,x,C);if($===0)return g;var H=L(g,x,C)-_;g-=H/$}return g}function w(_){this._p=_,this._mSampleValues=k?new Float32Array(E):new Array(E),this._precomputed=!1,this.get=this.get.bind(this)}return w.prototype={get:function(g){var x=this._p[0],C=this._p[1],P=this._p[2],$=this._p[3];return this._precomputed||this._precompute(),x===C&&P===$?g:g===0?0:g===1?1:L(this._getTForX(g),C,$)},_precompute:function(){var g=this._p[0],x=this._p[1],C=this._p[2],P=this._p[3];this._precomputed=!0,(g!==x||C!==P)&&this._calcSampleValues()},_calcSampleValues:function(){for(var g=this._p[0],x=this._p[2],C=0;C<E;++C)this._mSampleValues[C]=L(C*u,g,x)},_getTForX:function(g){for(var x=this._p[0],C=this._p[2],P=this._mSampleValues,$=0,H=1,K=E-1;H!==K&&P[H]<=g;++H)$+=u;--H;var pt=(g-P[H])/(P[H+1]-P[H]),nt=$+pt*u,tt=O(nt,x,C);return tt>=d?z(g,nt,x,C):tt===0?nt:N(g,$,$+u,x,C)}},t}(),Uc=function(){function t(r){return r.concat(et(r.length))}return{double:t}}(),qs=function(){return function(t,r,i){var a=0,d=t,c=et(d),p={newElement:E,release:u};function E(){var k;return a?(a-=1,k=c[a]):k=r(),k}function u(k){a===d&&(c=Uc.double(c),d*=2),i&&i(k),c[a]=k,a+=1}return p}}(),Hc=function(){function t(){return{addedLength:0,percents:Q("float32",Po()),lengths:Q("float32",Po())}}return qs(8,t)}(),Gc=function(){function t(){return{lengths:[],totalLength:0}}function r(i){var a,d=i.lengths.length;for(a=0;a<d;a+=1)Hc.release(i.lengths[a]);i.lengths.length=0}return qs(8,t,r)}();function Tu(){var t=Math;function r(b,L,O,N,z,w){var _=b*N+L*z+O*w-z*N-w*b-O*L;return _>-.001&&_<.001}function i(b,L,O,N,z,w,_,g,x){if(O===0&&w===0&&x===0)return r(b,L,N,z,_,g);var C=t.sqrt(t.pow(N-b,2)+t.pow(z-L,2)+t.pow(w-O,2)),P=t.sqrt(t.pow(_-b,2)+t.pow(g-L,2)+t.pow(x-O,2)),$=t.sqrt(t.pow(_-N,2)+t.pow(g-z,2)+t.pow(x-w,2)),H;return C>P?C>$?H=C-P-$:H=$-P-C:$>P?H=$-P-C:H=P-C-$,H>-1e-4&&H<1e-4}var a=function(){return function(b,L,O,N){var z=Po(),w,_,g,x,C,P=0,$,H=[],K=[],pt=Hc.newElement();for(g=O.length,w=0;w<z;w+=1){for(C=w/(z-1),$=0,_=0;_<g;_+=1)x=Pt(1-C,3)*b[_]+3*Pt(1-C,2)*C*O[_]+3*(1-C)*Pt(C,2)*N[_]+Pt(C,3)*L[_],H[_]=x,K[_]!==null&&($+=Pt(H[_]-K[_],2)),K[_]=H[_];$&&($=ve($),P+=$),pt.percents[w]=C,pt.lengths[w]=P}return pt.addedLength=P,pt}}();function d(b){var L=Gc.newElement(),O=b.c,N=b.v,z=b.o,w=b.i,_,g=b._length,x=L.lengths,C=0;for(_=0;_<g-1;_+=1)x[_]=a(N[_],N[_+1],z[_],w[_+1]),C+=x[_].addedLength;return O&&g&&(x[_]=a(N[_],N[0],z[_],w[0]),C+=x[_].addedLength),L.totalLength=C,L}function c(b){this.segmentLength=0,this.points=new Array(b)}function p(b,L){this.partialLength=b,this.point=L}var E=function(){var b={};return function(L,O,N,z){var w=(L[0]+"_"+L[1]+"_"+O[0]+"_"+O[1]+"_"+N[0]+"_"+N[1]+"_"+z[0]+"_"+z[1]).replace(/\./g,"p");if(!b[w]){var _=Po(),g,x,C,P,$,H=0,K,pt,nt=null;L.length===2&&(L[0]!==O[0]||L[1]!==O[1])&&r(L[0],L[1],O[0],O[1],L[0]+N[0],L[1]+N[1])&&r(L[0],L[1],O[0],O[1],O[0]+z[0],O[1]+z[1])&&(_=2);var tt=new c(_);for(C=N.length,g=0;g<_;g+=1){for(pt=et(C),$=g/(_-1),K=0,x=0;x<C;x+=1)P=Pt(1-$,3)*L[x]+3*Pt(1-$,2)*$*(L[x]+N[x])+3*(1-$)*Pt($,2)*(O[x]+z[x])+Pt($,3)*O[x],pt[x]=P,nt!==null&&(K+=Pt(pt[x]-nt[x],2));K=ve(K),H+=K,tt.points[g]=new p(K,pt),nt=pt}tt.segmentLength=H,b[w]=tt}return b[w]}}();function u(b,L){var O=L.percents,N=L.lengths,z=O.length,w=Qt((z-1)*b),_=b*L.addedLength,g=0;if(w===z-1||w===0||_===N[w])return O[w];for(var x=N[w]>_?-1:1,C=!0;C;)if(N[w]<=_&&N[w+1]>_?(g=(_-N[w])/(N[w+1]-N[w]),C=!1):w+=x,w<0||w>=z-1){if(w===z-1)return O[w];C=!1}return O[w]+(O[w+1]-O[w])*g}function k(b,L,O,N,z,w){var _=u(z,w),g=1-_,x=t.round((g*g*g*b[0]+(_*g*g+g*_*g+g*g*_)*O[0]+(_*_*g+g*_*_+_*g*_)*N[0]+_*_*_*L[0])*1e3)/1e3,C=t.round((g*g*g*b[1]+(_*g*g+g*_*g+g*g*_)*O[1]+(_*_*g+g*_*_+_*g*_)*N[1]+_*_*_*L[1])*1e3)/1e3;return[x,C]}var I=Q("float32",8);function V(b,L,O,N,z,w,_){z<0?z=0:z>1&&(z=1);var g=u(z,_);w=w>1?1:w;var x=u(w,_),C,P=b.length,$=1-g,H=1-x,K=$*$*$,pt=g*$*$*3,nt=g*g*$*3,tt=g*g*g,vt=$*$*H,st=g*$*H+$*g*H+$*$*x,Y=g*g*H+$*g*x+g*$*x,T=g*g*x,R=$*H*H,m=g*H*H+$*x*H+$*H*x,v=g*x*H+$*x*x+g*H*x,U=g*x*x,D=H*H*H,it=x*H*H+H*x*H+H*H*x,ht=x*x*H+H*x*x+x*H*x,ut=x*x*x;for(C=0;C<P;C+=1)I[C*4]=t.round((K*b[C]+pt*O[C]+nt*N[C]+tt*L[C])*1e3)/1e3,I[C*4+1]=t.round((vt*b[C]+st*O[C]+Y*N[C]+T*L[C])*1e3)/1e3,I[C*4+2]=t.round((R*b[C]+m*O[C]+v*N[C]+U*L[C])*1e3)/1e3,I[C*4+3]=t.round((D*b[C]+it*O[C]+ht*N[C]+ut*L[C])*1e3)/1e3;return I}return{getSegmentsLength:d,getNewSegment:V,getPointInSegment:k,buildBezierData:E,pointOnLine2D:r,pointOnLine3D:i}}var ir=Tu(),ai=s,jc=Math.abs;function Wc(t,r){var i=this.offsetTime,a;this.propType==="multidimensional"&&(a=Q("float32",this.pv.length));for(var d=r.lastIndex,c=d,p=this.keyframes.length-1,E=!0,u,k,I;E;){if(u=this.keyframes[c],k=this.keyframes[c+1],c===p-1&&t>=k.t-i){u.h&&(u=k),d=0;break}if(k.t-i>t){d=c;break}c<p-1?c+=1:(d=0,E=!1)}I=this.keyframesMetadata[c]||{};var V,b,L,O,N,z,w=k.t-i,_=u.t-i,g;if(u.to){I.bezierData||(I.bezierData=ir.buildBezierData(u.s,k.s||u.e,u.to,u.ti));var x=I.bezierData;if(t>=w||t<_){var C=t>=w?x.points.length-1:0;for(b=x.points[C].point.length,V=0;V<b;V+=1)a[V]=x.points[C].point[V]}else{I.__fnct?z=I.__fnct:(z=$o.getBezierEasing(u.o.x,u.o.y,u.i.x,u.i.y,u.n).get,I.__fnct=z),L=z((t-_)/(w-_));var P=x.segmentLength*L,$,H=r.lastFrame<t&&r._lastKeyframeIndex===c?r._lastAddedLength:0;for(N=r.lastFrame<t&&r._lastKeyframeIndex===c?r._lastPoint:0,E=!0,O=x.points.length;E;){if(H+=x.points[N].partialLength,P===0||L===0||N===x.points.length-1){for(b=x.points[N].point.length,V=0;V<b;V+=1)a[V]=x.points[N].point[V];break}else if(P>=H&&P<H+x.points[N+1].partialLength){for($=(P-H)/x.points[N+1].partialLength,b=x.points[N].point.length,V=0;V<b;V+=1)a[V]=x.points[N].point[V]+(x.points[N+1].point[V]-x.points[N].point[V])*$;break}N<O-1?N+=1:E=!1}r._lastPoint=N,r._lastAddedLength=H-x.points[N].partialLength,r._lastKeyframeIndex=c}}else{var K,pt,nt,tt,vt;if(p=u.s.length,g=k.s||u.e,this.sh&&u.h!==1)if(t>=w)a[0]=g[0],a[1]=g[1],a[2]=g[2];else if(t<=_)a[0]=u.s[0],a[1]=u.s[1],a[2]=u.s[2];else{var st=qc(u.s),Y=qc(g),T=(t-_)/(w-_);_u(a,Au(st,Y,T))}else for(c=0;c<p;c+=1)u.h!==1&&(t>=w?L=1:t<_?L=0:(u.o.x.constructor===Array?(I.__fnct||(I.__fnct=[]),I.__fnct[c]?z=I.__fnct[c]:(K=u.o.x[c]===void 0?u.o.x[0]:u.o.x[c],pt=u.o.y[c]===void 0?u.o.y[0]:u.o.y[c],nt=u.i.x[c]===void 0?u.i.x[0]:u.i.x[c],tt=u.i.y[c]===void 0?u.i.y[0]:u.i.y[c],z=$o.getBezierEasing(K,pt,nt,tt).get,I.__fnct[c]=z)):I.__fnct?z=I.__fnct:(K=u.o.x,pt=u.o.y,nt=u.i.x,tt=u.i.y,z=$o.getBezierEasing(K,pt,nt,tt).get,u.keyframeMetadata=z),L=z((t-_)/(w-_)))),g=k.s||u.e,vt=u.h===1?u.s[c]:u.s[c]+(g[c]-u.s[c])*L,this.propType==="multidimensional"?a[c]=vt:a=vt}return r.lastIndex=d,a}function Au(t,r,i){var a=[],d=t[0],c=t[1],p=t[2],E=t[3],u=r[0],k=r[1],I=r[2],V=r[3],b,L,O,N,z;return L=d*u+c*k+p*I+E*V,L<0&&(L=-L,u=-u,k=-k,I=-I,V=-V),1-L>1e-6?(b=Math.acos(L),O=Math.sin(b),N=Math.sin((1-i)*b)/O,z=Math.sin(i*b)/O):(N=1-i,z=i),a[0]=N*d+z*u,a[1]=N*c+z*k,a[2]=N*p+z*I,a[3]=N*E+z*V,a}function _u(t,r){var i=r[0],a=r[1],d=r[2],c=r[3],p=Math.atan2(2*a*c-2*i*d,1-2*a*a-2*d*d),E=Math.asin(2*i*a+2*d*c),u=Math.atan2(2*i*c-2*a*d,1-2*i*i-2*d*d);t[0]=p/Tt,t[1]=E/Tt,t[2]=u/Tt}function qc(t){var r=t[0]*Tt,i=t[1]*Tt,a=t[2]*Tt,d=Math.cos(r/2),c=Math.cos(i/2),p=Math.cos(a/2),E=Math.sin(r/2),u=Math.sin(i/2),k=Math.sin(a/2),I=d*c*p-E*u*k,V=E*u*p+d*c*k,b=E*c*p+d*u*k,L=d*u*p-E*c*k;return[V,b,L,I]}function Yc(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==ai&&(this._caching.lastFrame>=i&&t>=i||this._caching.lastFrame<r&&t<r))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var a=this.interpolateValue(t,this._caching);this.pv=a}return this._caching.lastFrame=t,this.pv}function Ys(t){var r;if(this.propType==="unidimensional")r=t*this.mult,jc(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var i=0,a=this.v.length;i<a;)r=t[i]*this.mult,jc(this.v[i]-r)>1e-5&&(this.v[i]=r,this._mdf=!0),i+=1}function Ks(){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 t,r=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(t=0;t<r;t+=1)i=this.effectsSequence[t](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function Xs(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function Su(t,r,i,a){this.propType="unidimensional",this.mult=i||1,this.data=r,this.v=i?r.k*i:r.k,this.pv=r.k,this._mdf=!1,this.elem=t,this.container=a,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Ks,this.setVValue=Ys,this.addEffect=Xs}function ku(t,r,i,a){this.propType="multidimensional",this.mult=i||1,this.data=r,this._mdf=!1,this.elem=t,this.container=a,this.comp=t.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=Ks,this.setVValue=Ys,this.addEffect=Xs}function Cu(t,r,i,a){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:ai,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=i||1,this.elem=t,this.container=a,this.comp=t.comp,this.v=ai,this.pv=ai,this._isFirstFrame=!0,this.getValue=Ks,this.setVValue=Ys,this.interpolateValue=Wc,this.effectsSequence=[Yc.bind(this)],this.addEffect=Xs}function wu(t,r,i,a){this.propType="multidimensional";var d,c=r.k.length,p,E,u,k;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&&(p=r.k[d].s,E=r.k[d+1].s,u=r.k[d].to,k=r.k[d].ti,(p.length===2&&!(p[0]===E[0]&&p[1]===E[1])&&ir.pointOnLine2D(p[0],p[1],E[0],E[1],p[0]+u[0],p[1]+u[1])&&ir.pointOnLine2D(p[0],p[1],E[0],E[1],E[0]+k[0],E[1]+k[1])||p.length===3&&!(p[0]===E[0]&&p[1]===E[1]&&p[2]===E[2])&&ir.pointOnLine3D(p[0],p[1],p[2],E[0],E[1],E[2],p[0]+u[0],p[1]+u[1],p[2]+u[2])&&ir.pointOnLine3D(p[0],p[1],p[2],E[0],E[1],E[2],E[0]+k[0],E[1]+k[1],E[2]+k[2]))&&(r.k[d].to=null,r.k[d].ti=null),p[0]===E[0]&&p[1]===E[1]&&u[0]===0&&u[1]===0&&k[0]===0&&k[1]===0&&(p.length===2||p[2]===E[2]&&u[2]===0&&k[2]===0)&&(r.k[d].to=null,r.k[d].ti=null));this.effectsSequence=[Yc.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=t,this.container=a,this.comp=t.comp,this.getValue=Ks,this.setVValue=Ys,this.interpolateValue=Wc,this.frameId=-1;var I=r.k[0].s.length;for(this.v=Q("float32",I),this.pv=Q("float32",I),d=0;d<I;d+=1)this.v[d]=ai,this.pv[d]=ai;this._caching={lastFrame:ai,lastIndex:0,value:Q("float32",I)},this.addEffect=Xs}var rt=function(){function t(i,a,d,c,p){a.sid&&(a=i.globalData.slotManager.getProp(a));var E;if(!a.k.length)E=new Su(i,a,c,p);else if(typeof a.k[0]=="number")E=new ku(i,a,c,p);else switch(d){case 0:E=new Cu(i,a,c,p);break;case 1:E=new wu(i,a,c,p);break;default:break}return E.effectsSequence.length&&p.addDynamicProperty(E),E}var r={getProp:t};return r}();function te(){}te.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,i=this.dynamicProperties.length;for(r=0;r<i;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 ni=function(){function t(){return Q("float32",2)}return qs(8,t)}();function mr(){this.c=!1,this._length=0,this._maxLength=8,this.v=et(this._maxLength),this.o=et(this._maxLength),this.i=et(this._maxLength)}mr.prototype.setPathData=function(t,r){this.c=t,this.setLength(r);for(var i=0;i<r;)this.v[i]=ni.newElement(),this.o[i]=ni.newElement(),this.i[i]=ni.newElement(),i+=1},mr.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},mr.prototype.doubleArrayLength=function(){this.v=this.v.concat(et(this._maxLength)),this.i=this.i.concat(et(this._maxLength)),this.o=this.o.concat(et(this._maxLength)),this._maxLength*=2},mr.prototype.setXYAt=function(t,r,i,a,d){var c;switch(this._length=Math.max(this._length,a+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[a]||c[a]&&!d)&&(c[a]=ni.newElement()),c[a][0]=t,c[a][1]=r},mr.prototype.setTripleAt=function(t,r,i,a,d,c,p,E){this.setXYAt(t,r,"v",p,E),this.setXYAt(i,a,"o",p,E),this.setXYAt(d,c,"i",p,E)},mr.prototype.reverse=function(){var t=new mr;t.setPathData(this.c,this._length);var r=this.v,i=this.o,a=this.i,d=0;this.c&&(t.setTripleAt(r[0][0],r[0][1],a[0][0],a[0][1],i[0][0],i[0][1],0,!1),d=1);var c=this._length-1,p=this._length,E;for(E=d;E<p;E+=1)t.setTripleAt(r[c][0],r[c][1],a[c][0],a[c][1],i[c][0],i[c][1],E,!1),c-=1;return t},mr.prototype.length=function(){return this._length};var se=function(){function t(){return new mr}function r(d){var c=d._length,p;for(p=0;p<c;p+=1)ni.release(d.v[p]),ni.release(d.i[p]),ni.release(d.o[p]),d.v[p]=null,d.i[p]=null,d.o[p]=null;d._length=0,d.c=!1}function i(d){var c=a.newElement(),p,E=d._length===void 0?d.v.length:d._length;for(c.setLength(E),c.c=d.c,p=0;p<E;p+=1)c.setTripleAt(d.v[p][0],d.v[p][1],d.o[p][0],d.o[p][1],d.i[p][0],d.i[p][1],p);return c}var a=qs(4,t,r);return a.clone=i,a}();function Dn(){this._length=0,this._maxLength=4,this.shapes=et(this._maxLength)}Dn.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(et(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},Dn.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)se.release(this.shapes[t]);this._length=0};var qi=function(){var t={newShapeCollection:d,release:c},r=0,i=4,a=et(i);function d(){var p;return r?(r-=1,p=a[r]):p=new Dn,p}function c(p){var E,u=p._length;for(E=0;E<u;E+=1)se.release(p.shapes[E]);p._length=0,r===i&&(a=Uc.double(a),i*=2),a[r]=p,r+=1}return t}(),Zs=function(){var t=-999999;function r(w,_,g){var x=g.lastIndex,C,P,$,H,K,pt,nt,tt,vt,st=this.keyframes;if(w<st[0].t-this.offsetTime)C=st[0].s[0],$=!0,x=0;else if(w>=st[st.length-1].t-this.offsetTime)C=st[st.length-1].s?st[st.length-1].s[0]:st[st.length-2].e[0],$=!0;else{for(var Y=x,T=st.length-1,R=!0,m,v,U;R&&(m=st[Y],v=st[Y+1],!(v.t-this.offsetTime>w));)Y<T-1?Y+=1:R=!1;if(U=this.keyframesMetadata[Y]||{},$=m.h===1,x=Y,!$){if(w>=v.t-this.offsetTime)tt=1;else if(w<m.t-this.offsetTime)tt=0;else{var D;U.__fnct?D=U.__fnct:(D=$o.getBezierEasing(m.o.x,m.o.y,m.i.x,m.i.y).get,U.__fnct=D),tt=D((w-(m.t-this.offsetTime))/(v.t-this.offsetTime-(m.t-this.offsetTime)))}P=v.s?v.s[0]:m.e[0]}C=m.s[0]}for(pt=_._length,nt=C.i[0].length,g.lastIndex=x,H=0;H<pt;H+=1)for(K=0;K<nt;K+=1)vt=$?C.i[H][K]:C.i[H][K]+(P.i[H][K]-C.i[H][K])*tt,_.i[H][K]=vt,vt=$?C.o[H][K]:C.o[H][K]+(P.o[H][K]-C.o[H][K])*tt,_.o[H][K]=vt,vt=$?C.v[H][K]:C.v[H][K]+(P.v[H][K]-C.v[H][K])*tt,_.v[H][K]=vt}function i(){var w=this.comp.renderedFrame-this.offsetTime,_=this.keyframes[0].t-this.offsetTime,g=this.keyframes[this.keyframes.length-1].t-this.offsetTime,x=this._caching.lastFrame;return x!==t&&(x<_&&w<_||x>g&&w>g)||(this._caching.lastIndex=x<w?this._caching.lastIndex:0,this.interpolateShape(w,this.pv,this._caching)),this._caching.lastFrame=w,this.pv}function a(){this.paths=this.localShapeCollection}function d(w,_){if(w._length!==_._length||w.c!==_.c)return!1;var g,x=w._length;for(g=0;g<x;g+=1)if(w.v[g][0]!==_.v[g][0]||w.v[g][1]!==_.v[g][1]||w.o[g][0]!==_.o[g][0]||w.o[g][1]!==_.o[g][1]||w.i[g][0]!==_.i[g][0]||w.i[g][1]!==_.i[g][1])return!1;return!0}function c(w){d(this.v,w)||(this.v=se.clone(w),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function p(){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 _,g=this.effectsSequence.length;for(_=0;_<g;_+=1)w=this.effectsSequence[_](w);this.setVValue(w),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function E(w,_,g){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 x=g===3?_.pt.k:_.ks.k;this.v=se.clone(x),this.pv=se.clone(this.v),this.localShapeCollection=qi.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=a,this.effectsSequence=[]}function u(w){this.effectsSequence.push(w),this.container.addDynamicProperty(this)}E.prototype.interpolateShape=r,E.prototype.getValue=p,E.prototype.setVValue=c,E.prototype.addEffect=u;function k(w,_,g){this.propType="shape",this.comp=w.comp,this.elem=w,this.container=w,this.offsetTime=w.data.st,this.keyframes=g===3?_.pt.k:_.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var x=this.keyframes[0].s[0].i.length;this.v=se.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,x),this.pv=se.clone(this.v),this.localShapeCollection=qi.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=a,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[i.bind(this)]}k.prototype.getValue=p,k.prototype.interpolateShape=r,k.prototype.setVValue=c,k.prototype.addEffect=u;var I=function(){var w=de;function _(g,x){this.v=se.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=qi.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=x.d,this.elem=g,this.comp=g.comp,this.frameId=-1,this.initDynamicPropertyContainer(g),this.p=rt.getProp(g,x.p,1,0,this),this.s=rt.getProp(g,x.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return _.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var x=this.p.v[0],C=this.p.v[1],P=this.s.v[0]/2,$=this.s.v[1]/2,H=this.d!==3,K=this.v;K.v[0][0]=x,K.v[0][1]=C-$,K.v[1][0]=H?x+P:x-P,K.v[1][1]=C,K.v[2][0]=x,K.v[2][1]=C+$,K.v[3][0]=H?x-P:x+P,K.v[3][1]=C,K.i[0][0]=H?x-P*w:x+P*w,K.i[0][1]=C-$,K.i[1][0]=H?x+P:x-P,K.i[1][1]=C-$*w,K.i[2][0]=H?x+P*w:x-P*w,K.i[2][1]=C+$,K.i[3][0]=H?x-P:x+P,K.i[3][1]=C+$*w,K.o[0][0]=H?x+P*w:x-P*w,K.o[0][1]=C-$,K.o[1][0]=H?x+P:x-P,K.o[1][1]=C+$*w,K.o[2][0]=H?x-P*w:x+P*w,K.o[2][1]=C+$,K.o[3][0]=H?x-P:x+P,K.o[3][1]=C-$*w}},B([te],_),_}(),V=function(){function w(_,g){this.v=se.newElement(),this.v.setPathData(!0,0),this.elem=_,this.comp=_.comp,this.data=g,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(_),g.sy===1?(this.ir=rt.getProp(_,g.ir,0,0,this),this.is=rt.getProp(_,g.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=rt.getProp(_,g.pt,0,0,this),this.p=rt.getProp(_,g.p,1,0,this),this.r=rt.getProp(_,g.r,0,Tt,this),this.or=rt.getProp(_,g.or,0,0,this),this.os=rt.getProp(_,g.os,0,.01,this),this.localShapeCollection=qi.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:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var g=Math.floor(this.pt.v)*2,x=Math.PI*2/g,C=!0,P=this.or.v,$=this.ir.v,H=this.os.v,K=this.is.v,pt=2*Math.PI*P/(g*2),nt=2*Math.PI*$/(g*2),tt,vt,st,Y,T=-Math.PI/2;T+=this.r.v;var R=this.data.d===3?-1:1;for(this.v._length=0,tt=0;tt<g;tt+=1){vt=C?P:$,st=C?H:K,Y=C?pt:nt;var m=vt*Math.cos(T),v=vt*Math.sin(T),U=m===0&&v===0?0:v/Math.sqrt(m*m+v*v),D=m===0&&v===0?0:-m/Math.sqrt(m*m+v*v);m+=+this.p.v[0],v+=+this.p.v[1],this.v.setTripleAt(m,v,m-U*Y*st*R,v-D*Y*st*R,m+U*Y*st*R,v+D*Y*st*R,tt,!0),C=!C,T+=x*R}},convertPolygonToPath:function(){var g=Math.floor(this.pt.v),x=Math.PI*2/g,C=this.or.v,P=this.os.v,$=2*Math.PI*C/(g*4),H,K=-Math.PI*.5,pt=this.data.d===3?-1:1;for(K+=this.r.v,this.v._length=0,H=0;H<g;H+=1){var nt=C*Math.cos(K),tt=C*Math.sin(K),vt=nt===0&&tt===0?0:tt/Math.sqrt(nt*nt+tt*tt),st=nt===0&&tt===0?0:-nt/Math.sqrt(nt*nt+tt*tt);nt+=+this.p.v[0],tt+=+this.p.v[1],this.v.setTripleAt(nt,tt,nt-vt*$*P*pt,tt-st*$*P*pt,nt+vt*$*P*pt,tt+st*$*P*pt,H,!0),K+=x*pt}this.paths.length=0,this.paths[0]=this.v}},B([te],w),w}(),b=function(){function w(_,g){this.v=se.newElement(),this.v.c=!0,this.localShapeCollection=qi.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=_,this.comp=_.comp,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(_),this.p=rt.getProp(_,g.p,1,0,this),this.s=rt.getProp(_,g.s,1,0,this),this.r=rt.getProp(_,g.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return w.prototype={convertRectToPath:function(){var g=this.p.v[0],x=this.p.v[1],C=this.s.v[0]/2,P=this.s.v[1]/2,$=we(C,P,this.r.v),H=$*(1-de);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(g+C,x-P+$,g+C,x-P+$,g+C,x-P+H,0,!0),this.v.setTripleAt(g+C,x+P-$,g+C,x+P-H,g+C,x+P-$,1,!0),$!==0?(this.v.setTripleAt(g+C-$,x+P,g+C-$,x+P,g+C-H,x+P,2,!0),this.v.setTripleAt(g-C+$,x+P,g-C+H,x+P,g-C+$,x+P,3,!0),this.v.setTripleAt(g-C,x+P-$,g-C,x+P-$,g-C,x+P-H,4,!0),this.v.setTripleAt(g-C,x-P+$,g-C,x-P+H,g-C,x-P+$,5,!0),this.v.setTripleAt(g-C+$,x-P,g-C+$,x-P,g-C+H,x-P,6,!0),this.v.setTripleAt(g+C-$,x-P,g+C-H,x-P,g+C-$,x-P,7,!0)):(this.v.setTripleAt(g-C,x+P,g-C+H,x+P,g-C,x+P,2),this.v.setTripleAt(g-C,x-P,g-C,x-P+H,g-C,x-P,3))):(this.v.setTripleAt(g+C,x-P+$,g+C,x-P+H,g+C,x-P+$,0,!0),$!==0?(this.v.setTripleAt(g+C-$,x-P,g+C-$,x-P,g+C-H,x-P,1,!0),this.v.setTripleAt(g-C+$,x-P,g-C+H,x-P,g-C+$,x-P,2,!0),this.v.setTripleAt(g-C,x-P+$,g-C,x-P+$,g-C,x-P+H,3,!0),this.v.setTripleAt(g-C,x+P-$,g-C,x+P-H,g-C,x+P-$,4,!0),this.v.setTripleAt(g-C+$,x+P,g-C+$,x+P,g-C+H,x+P,5,!0),this.v.setTripleAt(g+C-$,x+P,g+C-H,x+P,g+C-$,x+P,6,!0),this.v.setTripleAt(g+C,x+P-$,g+C,x+P-$,g+C,x+P-H,7,!0)):(this.v.setTripleAt(g-C,x-P,g-C+H,x-P,g-C,x-P,1,!0),this.v.setTripleAt(g-C,x+P,g-C,x+P-H,g-C,x+P,2,!0),this.v.setTripleAt(g+C,x+P,g+C-H,x+P,g+C,x+P,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:a},B([te],w),w}();function L(w,_,g){var x;if(g===3||g===4){var C=g===3?_.pt:_.ks,P=C.k;P.length?x=new k(w,_,g):x=new E(w,_,g)}else g===5?x=new b(w,_):g===6?x=new I(w,_):g===7&&(x=new V(w,_));return x.k&&w.addDynamicProperty(x),x}function O(){return E}function N(){return k}var z={};return z.getShapeProp=L,z.getConstructorFunction=O,z.getKeyframedConstructorFunction=N,z}();var ae=function(){var t=Math.cos,r=Math.sin,i=Math.tan,a=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(m){if(m===0)return this;var v=t(m),U=r(m);return this._t(v,-U,0,0,U,v,0,0,0,0,1,0,0,0,0,1)}function p(m){if(m===0)return this;var v=t(m),U=r(m);return this._t(1,0,0,0,0,v,-U,0,0,U,v,0,0,0,0,1)}function E(m){if(m===0)return this;var v=t(m),U=r(m);return this._t(v,0,U,0,0,1,0,0,-U,0,v,0,0,0,0,1)}function u(m){if(m===0)return this;var v=t(m),U=r(m);return this._t(v,-U,0,0,U,v,0,0,0,0,1,0,0,0,0,1)}function k(m,v){return this._t(1,v,m,1,0,0)}function I(m,v){return this.shear(i(m),i(v))}function V(m,v){var U=t(v),D=r(v);return this._t(U,D,0,0,-D,U,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(m),1,0,0,0,0,1,0,0,0,0,1)._t(U,-D,0,0,D,U,0,0,0,0,1,0,0,0,0,1)}function b(m,v,U){return!U&&U!==0&&(U=1),m===1&&v===1&&U===1?this:this._t(m,0,0,0,0,v,0,0,0,0,U,0,0,0,0,1)}function L(m,v,U,D,it,ht,ut,kt,Ct,jt,ye,sr,Ee,ee,Ie,Mt){return this.props[0]=m,this.props[1]=v,this.props[2]=U,this.props[3]=D,this.props[4]=it,this.props[5]=ht,this.props[6]=ut,this.props[7]=kt,this.props[8]=Ct,this.props[9]=jt,this.props[10]=ye,this.props[11]=sr,this.props[12]=Ee,this.props[13]=ee,this.props[14]=Ie,this.props[15]=Mt,this}function O(m,v,U){return U=U||0,m!==0||v!==0||U!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,m,v,U,1):this}function N(m,v,U,D,it,ht,ut,kt,Ct,jt,ye,sr,Ee,ee,Ie,Mt){var at=this.props;if(m===1&&v===0&&U===0&&D===0&&it===0&&ht===1&&ut===0&&kt===0&&Ct===0&&jt===0&&ye===1&&sr===0)return at[12]=at[12]*m+at[15]*Ee,at[13]=at[13]*ht+at[15]*ee,at[14]=at[14]*ye+at[15]*Ie,at[15]*=Mt,this._identityCalculated=!1,this;var fr=at[0],Gr=at[1],vr=at[2],ar=at[3],gr=at[4],br=at[5],xe=at[6],jr=at[7],Wr=at[8],Ye=at[9],qr=at[10],Ke=at[11],hi=at[12],aa=at[13],na=at[14],la=at[15];return at[0]=fr*m+Gr*it+vr*Ct+ar*Ee,at[1]=fr*v+Gr*ht+vr*jt+ar*ee,at[2]=fr*U+Gr*ut+vr*ye+ar*Ie,at[3]=fr*D+Gr*kt+vr*sr+ar*Mt,at[4]=gr*m+br*it+xe*Ct+jr*Ee,at[5]=gr*v+br*ht+xe*jt+jr*ee,at[6]=gr*U+br*ut+xe*ye+jr*Ie,at[7]=gr*D+br*kt+xe*sr+jr*Mt,at[8]=Wr*m+Ye*it+qr*Ct+Ke*Ee,at[9]=Wr*v+Ye*ht+qr*jt+Ke*ee,at[10]=Wr*U+Ye*ut+qr*ye+Ke*Ie,at[11]=Wr*D+Ye*kt+qr*sr+Ke*Mt,at[12]=hi*m+aa*it+na*Ct+la*Ee,at[13]=hi*v+aa*ht+na*jt+la*ee,at[14]=hi*U+aa*ut+na*ye+la*Ie,at[15]=hi*D+aa*kt+na*sr+la*Mt,this._identityCalculated=!1,this}function z(m){var v=m.props;return this.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15])}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 _(m){for(var v=0;v<16;){if(m.props[v]!==this.props[v])return!1;v+=1}return!0}function g(m){var v;for(v=0;v<16;v+=1)m.props[v]=this.props[v];return m}function x(m){var v;for(v=0;v<16;v+=1)this.props[v]=m[v]}function C(m,v,U){return{x:m*this.props[0]+v*this.props[4]+U*this.props[8]+this.props[12],y:m*this.props[1]+v*this.props[5]+U*this.props[9]+this.props[13],z:m*this.props[2]+v*this.props[6]+U*this.props[10]+this.props[14]}}function P(m,v,U){return m*this.props[0]+v*this.props[4]+U*this.props[8]+this.props[12]}function $(m,v,U){return m*this.props[1]+v*this.props[5]+U*this.props[9]+this.props[13]}function H(m,v,U){return m*this.props[2]+v*this.props[6]+U*this.props[10]+this.props[14]}function K(){var m=this.props[0]*this.props[5]-this.props[1]*this.props[4],v=this.props[5]/m,U=-this.props[1]/m,D=-this.props[4]/m,it=this.props[0]/m,ht=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/m,ut=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/m,kt=new ae;return kt.props[0]=v,kt.props[1]=U,kt.props[4]=D,kt.props[5]=it,kt.props[12]=ht,kt.props[13]=ut,kt}function pt(m){var v=this.getInverseMatrix();return v.applyToPointArray(m[0],m[1],m[2]||0)}function nt(m){var v,U=m.length,D=[];for(v=0;v<U;v+=1)D[v]=pt(m[v]);return D}function tt(m,v,U){var D=Q("float32",6);if(this.isIdentity())D[0]=m[0],D[1]=m[1],D[2]=v[0],D[3]=v[1],D[4]=U[0],D[5]=U[1];else{var it=this.props[0],ht=this.props[1],ut=this.props[4],kt=this.props[5],Ct=this.props[12],jt=this.props[13];D[0]=m[0]*it+m[1]*ut+Ct,D[1]=m[0]*ht+m[1]*kt+jt,D[2]=v[0]*it+v[1]*ut+Ct,D[3]=v[0]*ht+v[1]*kt+jt,D[4]=U[0]*it+U[1]*ut+Ct,D[5]=U[0]*ht+U[1]*kt+jt}return D}function vt(m,v,U){var D;return this.isIdentity()?D=[m,v,U]:D=[m*this.props[0]+v*this.props[4]+U*this.props[8]+this.props[12],m*this.props[1]+v*this.props[5]+U*this.props[9]+this.props[13],m*this.props[2]+v*this.props[6]+U*this.props[10]+this.props[14]],D}function st(m,v){if(this.isIdentity())return m+","+v;var U=this.props;return Math.round((m*U[0]+v*U[4]+U[12])*100)/100+","+Math.round((m*U[1]+v*U[5]+U[13])*100)/100}function Y(){for(var m=0,v=this.props,U="matrix3d(",D=1e4;m<16;)U+=a(v[m]*D)/D,U+=m===15?")":",",m+=1;return U}function T(m){var v=1e4;return m<1e-6&&m>0||m>-1e-6&&m<0?a(m*v)/v:m}function R(){var m=this.props,v=T(m[0]),U=T(m[1]),D=T(m[4]),it=T(m[5]),ht=T(m[12]),ut=T(m[13]);return"matrix("+v+","+U+","+D+","+it+","+ht+","+ut+")"}return function(){this.reset=d,this.rotate=c,this.rotateX=p,this.rotateY=E,this.rotateZ=u,this.skew=I,this.skewFromAxis=V,this.shear=k,this.scale=b,this.setTransform=L,this.translate=O,this.transform=N,this.multiply=z,this.applyToPoint=C,this.applyToX=P,this.applyToY=$,this.applyToZ=H,this.applyToPointArray=vt,this.applyToTriplePoints=tt,this.applyToPointStringified=st,this.toCSS=Y,this.to2dCSS=R,this.clone=g,this.cloneFromProps=x,this.equals=_,this.inversePoints=nt,this.inversePoint=pt,this.getInverseMatrix=K,this._t=this.transform,this.isIdentity=w,this._identity=!0,this._identityCalculated=!1,this.props=Q("float32",16),this.reset()}}();function Js(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Js=function(i){return typeof i}:Js=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Js(t)}var It={},Qs="__[STANDALONE]__",Kc="__[ANIMATIONDATA]__",Xc="";function Iu(t){f(t)}function Zc(){Qs===!0?Gt.searchAnimations(Kc,Qs,Xc):Gt.searchAnimations()}function Lu(t){mu(t)}function Mu(t){fu(t)}function Nu(t){return Qs===!0&&(t.animationData=JSON.parse(Kc)),Gt.loadAnimation(t)}function Ru(t){if(typeof t=="string")switch(t){case"high":js(200);break;default:case"medium":js(50);break;case"low":js(10);break}else!isNaN(t)&&t>1&&js(t);Po()>=50?Pe(!1):Pe(!0)}function Ou(){return typeof navigator<"u"}function Pu(t,r){t==="expressions"&&uu(r)}function Du(t){switch(t){case"propertyFactory":return rt;case"shapePropertyFactory":return Zs;case"matrix":return ae;default:return null}}It.play=Gt.play,It.pause=Gt.pause,It.setLocationHref=Iu,It.togglePause=Gt.togglePause,It.setSpeed=Gt.setSpeed,It.setDirection=Gt.setDirection,It.stop=Gt.stop,It.searchAnimations=Zc,It.registerAnimation=Gt.registerAnimation,It.loadAnimation=Nu,It.setSubframeRendering=Lu,It.resize=Gt.resize,It.goToAndStop=Gt.goToAndStop,It.destroy=Gt.destroy,It.setQuality=Ru,It.inBrowser=Ou,It.installPlugin=Pu,It.freeze=Gt.freeze,It.unfreeze=Gt.unfreeze,It.setVolume=Gt.setVolume,It.mute=Gt.mute,It.unmute=Gt.unmute,It.getRegisteredAnimations=Gt.getRegisteredAnimations,It.useWebWorker=n,It.setIDPrefix=Mu,It.__getFactory=Du,It.version="5.12.2";function Fu(){document.readyState==="complete"&&(clearInterval(Vu),Zc())}function zu(t){for(var r=Jc.split("&"),i=0;i<r.length;i+=1){var a=r[i].split("=");if(decodeURIComponent(a[0])==t)return decodeURIComponent(a[1])}return null}var Jc="";if(Qs){var Qc=document.getElementsByTagName("script"),$u=Qc.length-1,td=Qc[$u]||{src:""};Jc=td.src?td.src.replace(/^[^\?]+\??/,""):"",Xc=zu("renderer")}var Vu=setInterval(Fu,100);try{!((typeof Us>"u"?"undefined":Js(Us))==="object"&&typeof Mn<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=It)}catch{}var zr=function(){var t={},r={};t.registerModifier=i,t.getModifier=a;function i(d,c){r[d]||(r[d]=c)}function a(d,c,p){return new r[d](c,p)}return t}();function Fe(){}Fe.prototype.initModifierProperties=function(){},Fe.prototype.addShapeToModifier=function(){},Fe.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var r={shape:t.sh,data:t,localShapeCollection:qi.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&t.setAsAnimated()}},Fe.prototype.init=function(t,r){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,r),this.frameId=s,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Fe.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},B([te],Fe);function qe(){}B([Fe],qe),qe.prototype.initModifierProperties=function(t,r){this.s=rt.getProp(t,r.s,0,.01,this),this.e=rt.getProp(t,r.e,0,.01,this),this.o=rt.getProp(t,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},qe.prototype.addShapeToModifier=function(t){t.pathsData=[]},qe.prototype.calculateShapeEdges=function(t,r,i,a,d){var c=[];r<=1?c.push({s:t,e:r}):t>=1?c.push({s:t-1,e:r-1}):(c.push({s:t,e:1}),c.push({s:0,e:r-1}));var p=[],E,u=c.length,k;for(E=0;E<u;E+=1)if(k=c[E],!(k.e*d<a||k.s*d>a+i)){var I,V;k.s*d<=a?I=0:I=(k.s*d-a)/i,k.e*d>=a+i?V=1:V=(k.e*d-a)/i,p.push([I,V])}return p.length||p.push([0,0]),p},qe.prototype.releasePathsData=function(t){var r,i=t.length;for(r=0;r<i;r+=1)Gc.release(t[r]);return t.length=0,t},qe.prototype.processShapes=function(t){var r,i;if(this._mdf||t){var a=this.o.v%360/360;if(a<0&&(a+=1),this.s.v>1?r=1+a:this.s.v<0?r=0+a:r=this.s.v+a,this.e.v>1?i=1+a:this.e.v<0?i=0+a:i=this.e.v+a,r>i){var d=r;r=i,i=d}r=Math.round(r*1e4)*1e-4,i=Math.round(i*1e4)*1e-4,this.sValue=r,this.eValue=i}else r=this.sValue,i=this.eValue;var c,p,E=this.shapes.length,u,k,I,V,b,L=0;if(i===r)for(p=0;p<E;p+=1)this.shapes[p].localShapeCollection.releaseShapes(),this.shapes[p].shape._mdf=!0,this.shapes[p].shape.paths=this.shapes[p].localShapeCollection,this._mdf&&(this.shapes[p].pathsData.length=0);else if(i===1&&r===0||i===0&&r===1){if(this._mdf)for(p=0;p<E;p+=1)this.shapes[p].pathsData.length=0,this.shapes[p].shape._mdf=!0}else{var O=[],N,z;for(p=0;p<E;p+=1)if(N=this.shapes[p],!N.shape._mdf&&!this._mdf&&!t&&this.m!==2)N.shape.paths=N.localShapeCollection;else{if(c=N.shape.paths,k=c._length,b=0,!N.shape._mdf&&N.pathsData.length)b=N.totalShapeLength;else{for(I=this.releasePathsData(N.pathsData),u=0;u<k;u+=1)V=ir.getSegmentsLength(c.shapes[u]),I.push(V),b+=V.totalLength;N.totalShapeLength=b,N.pathsData=I}L+=b,N.shape._mdf=!0}var w=r,_=i,g=0,x;for(p=E-1;p>=0;p-=1)if(N=this.shapes[p],N.shape._mdf){for(z=N.localShapeCollection,z.releaseShapes(),this.m===2&&E>1?(x=this.calculateShapeEdges(r,i,N.totalShapeLength,g,L),g+=N.totalShapeLength):x=[[w,_]],k=x.length,u=0;u<k;u+=1){w=x[u][0],_=x[u][1],O.length=0,_<=1?O.push({s:N.totalShapeLength*w,e:N.totalShapeLength*_}):w>=1?O.push({s:N.totalShapeLength*(w-1),e:N.totalShapeLength*(_-1)}):(O.push({s:N.totalShapeLength*w,e:N.totalShapeLength}),O.push({s:0,e:N.totalShapeLength*(_-1)}));var C=this.addShapes(N,O[0]);if(O[0].s!==O[0].e){if(O.length>1){var P=N.shape.paths.shapes[N.shape.paths._length-1];if(P.c){var $=C.pop();this.addPaths(C,z),C=this.addShapes(N,O[1],$)}else this.addPaths(C,z),C=this.addShapes(N,O[1])}this.addPaths(C,z)}}N.shape.paths=z}}},qe.prototype.addPaths=function(t,r){var i,a=t.length;for(i=0;i<a;i+=1)r.addShape(t[i])},qe.prototype.addSegment=function(t,r,i,a,d,c,p){d.setXYAt(r[0],r[1],"o",c),d.setXYAt(i[0],i[1],"i",c+1),p&&d.setXYAt(t[0],t[1],"v",c),d.setXYAt(a[0],a[1],"v",c+1)},qe.prototype.addSegmentFromArray=function(t,r,i,a){r.setXYAt(t[1],t[5],"o",i),r.setXYAt(t[2],t[6],"i",i+1),a&&r.setXYAt(t[0],t[4],"v",i),r.setXYAt(t[3],t[7],"v",i+1)},qe.prototype.addShapes=function(t,r,i){var a=t.pathsData,d=t.shape.paths.shapes,c,p=t.shape.paths._length,E,u,k=0,I,V,b,L,O=[],N,z=!0;for(i?(V=i._length,N=i._length):(i=se.newElement(),V=0,N=0),O.push(i),c=0;c<p;c+=1){for(b=a[c].lengths,i.c=d[c].c,u=d[c].c?b.length:b.length+1,E=1;E<u;E+=1)if(I=b[E-1],k+I.addedLength<r.s)k+=I.addedLength,i.c=!1;else if(k>r.e){i.c=!1;break}else r.s<=k&&r.e>=k+I.addedLength?(this.addSegment(d[c].v[E-1],d[c].o[E-1],d[c].i[E],d[c].v[E],i,V,z),z=!1):(L=ir.getNewSegment(d[c].v[E-1],d[c].v[E],d[c].o[E-1],d[c].i[E],(r.s-k)/I.addedLength,(r.e-k)/I.addedLength,b[E-1]),this.addSegmentFromArray(L,i,V,z),z=!1,i.c=!1),k+=I.addedLength,V+=1;if(d[c].c&&b.length){if(I=b[E-1],k<=r.e){var w=b[E-1].addedLength;r.s<=k&&r.e>=k+w?(this.addSegment(d[c].v[E-1],d[c].o[E-1],d[c].i[0],d[c].v[0],i,V,z),z=!1):(L=ir.getNewSegment(d[c].v[E-1],d[c].v[0],d[c].o[E-1],d[c].i[0],(r.s-k)/w,(r.e-k)/w,b[E-1]),this.addSegmentFromArray(L,i,V,z),z=!1,i.c=!1)}else i.c=!1;k+=I.addedLength,V+=1}if(i._length&&(i.setXYAt(i.v[N][0],i.v[N][1],"i",N),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),k>r.e)break;c<p-1&&(i=se.newElement(),z=!0,O.push(i),V=0)}return O};function Vo(){}B([Fe],Vo),Vo.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amount=rt.getProp(t,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Vo.prototype.processPath=function(t,r){var i=r/100,a=[0,0],d=t._length,c=0;for(c=0;c<d;c+=1)a[0]+=t.v[c][0],a[1]+=t.v[c][1];a[0]/=d,a[1]/=d;var p=se.newElement();p.c=t.c;var E,u,k,I,V,b;for(c=0;c<d;c+=1)E=t.v[c][0]+(a[0]-t.v[c][0])*i,u=t.v[c][1]+(a[1]-t.v[c][1])*i,k=t.o[c][0]+(a[0]-t.o[c][0])*-i,I=t.o[c][1]+(a[1]-t.o[c][1])*-i,V=t.i[c][0]+(a[0]-t.i[c][0])*-i,b=t.i[c][1]+(a[1]-t.i[c][1])*-i,p.setTripleAt(E,u,k,I,V,b,c);return p},Vo.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,p=this.amount.v;if(p!==0){var E,u;for(i=0;i<a;i+=1){if(E=this.shapes[i],u=E.localShapeCollection,!(!E.shape._mdf&&!this._mdf&&!t))for(u.releaseShapes(),E.shape._mdf=!0,r=E.shape.paths.shapes,c=E.shape.paths._length,d=0;d<c;d+=1)u.addShape(this.processPath(r[d],p));E.shape.paths=E.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Fn=function(){var t=[0,0];function r(u){var k=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||k,this.a&&u.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&u.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&u.skewFromAxis(-this.sk.v,this.sa.v),this.r?u.rotate(-this.r.v):u.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?u.translate(this.px.v,this.py.v,-this.pz.v):u.translate(this.px.v,this.py.v,0):u.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(u){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||u){var k;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var I,V;if(k=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(I=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/k,0),V=this.p.getValueAtTime(this.p.keyframes[0].t/k,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(I=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/k,0),V=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/k,0)):(I=this.p.pv,V=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/k,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){I=[],V=[];var b=this.px,L=this.py;b._caching.lastFrame+b.offsetTime<=b.keyframes[0].t?(I[0]=b.getValueAtTime((b.keyframes[0].t+.01)/k,0),I[1]=L.getValueAtTime((L.keyframes[0].t+.01)/k,0),V[0]=b.getValueAtTime(b.keyframes[0].t/k,0),V[1]=L.getValueAtTime(L.keyframes[0].t/k,0)):b._caching.lastFrame+b.offsetTime>=b.keyframes[b.keyframes.length-1].t?(I[0]=b.getValueAtTime(b.keyframes[b.keyframes.length-1].t/k,0),I[1]=L.getValueAtTime(L.keyframes[L.keyframes.length-1].t/k,0),V[0]=b.getValueAtTime((b.keyframes[b.keyframes.length-1].t-.01)/k,0),V[1]=L.getValueAtTime((L.keyframes[L.keyframes.length-1].t-.01)/k,0)):(I=[b.pv,L.pv],V[0]=b.getValueAtTime((b._caching.lastFrame+b.offsetTime-.01)/k,b.offsetTime),V[1]=L.getValueAtTime((L._caching.lastFrame+L.offsetTime-.01)/k,L.offsetTime))}else V=t,I=V;this.v.rotate(-Math.atan2(I[1]-V[1],I[0]-V[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 a(){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(u){this._addDynamicProperty(u),this.elem.addDynamicProperty(u),this._isDirty=!0}function p(u,k,I){if(this.elem=u,this.frameId=-1,this.propType="transform",this.data=k,this.v=new ae,this.pre=new ae,this.appliedTransformations=0,this.initDynamicPropertyContainer(I||u),k.p&&k.p.s?(this.px=rt.getProp(u,k.p.x,0,0,this),this.py=rt.getProp(u,k.p.y,0,0,this),k.p.z&&(this.pz=rt.getProp(u,k.p.z,0,0,this))):this.p=rt.getProp(u,k.p||{k:[0,0,0]},1,0,this),k.rx){if(this.rx=rt.getProp(u,k.rx,0,Tt,this),this.ry=rt.getProp(u,k.ry,0,Tt,this),this.rz=rt.getProp(u,k.rz,0,Tt,this),k.or.k[0].ti){var V,b=k.or.k.length;for(V=0;V<b;V+=1)k.or.k[V].to=null,k.or.k[V].ti=null}this.or=rt.getProp(u,k.or,1,Tt,this),this.or.sh=!0}else this.r=rt.getProp(u,k.r||{k:0},0,Tt,this);k.sk&&(this.sk=rt.getProp(u,k.sk,0,Tt,this),this.sa=rt.getProp(u,k.sa,0,Tt,this)),this.a=rt.getProp(u,k.a||{k:[0,0,0]},1,0,this),this.s=rt.getProp(u,k.s||{k:[100,100,100]},1,.01,this),k.o?this.o=rt.getProp(u,k.o,0,.01,u):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}p.prototype={applyToMatrix:r,getValue:i,precalculateMatrix:a,autoOrient:d},B([te],p),p.prototype.addDynamicProperty=c,p.prototype._addDynamicProperty=te.prototype.addDynamicProperty;function E(u,k,I){return new p(u,k,I)}return{getTransformProperty:E}}();function or(){}B([Fe],or),or.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.c=rt.getProp(t,r.c,0,null,this),this.o=rt.getProp(t,r.o,0,null,this),this.tr=Fn.getTransformProperty(t,r.tr,this),this.so=rt.getProp(t,r.tr.so,0,.01,this),this.eo=rt.getProp(t,r.tr.eo,0,.01,this),this.data=r,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new ae,this.rMatrix=new ae,this.sMatrix=new ae,this.tMatrix=new ae,this.matrix=new ae},or.prototype.applyTransforms=function(t,r,i,a,d,c){var p=c?-1:1,E=a.s.v[0]+(1-a.s.v[0])*(1-d),u=a.s.v[1]+(1-a.s.v[1])*(1-d);t.translate(a.p.v[0]*p*d,a.p.v[1]*p*d,a.p.v[2]),r.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),r.rotate(-a.r.v*p*d),r.translate(a.a.v[0],a.a.v[1],a.a.v[2]),i.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),i.scale(c?1/E:E,c?1/u:u),i.translate(a.a.v[0],a.a.v[1],a.a.v[2])},or.prototype.init=function(t,r,i,a){for(this.elem=t,this.arr=r,this.pos=i,this.elemsData=a,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,r[i]);i>0;)i-=1,this._elements.unshift(r[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},or.prototype.resetElements=function(t){var r,i=t.length;for(r=0;r<i;r+=1)t[r]._processed=!1,t[r].ty==="gr"&&this.resetElements(t[r].it)},or.prototype.cloneElements=function(t){var r=JSON.parse(JSON.stringify(t));return this.resetElements(r),r},or.prototype.changeGroupRender=function(t,r){var i,a=t.length;for(i=0;i<a;i+=1)t[i]._render=r,t[i].ty==="gr"&&this.changeGroupRender(t[i].it,r)},or.prototype.processShapes=function(t){var r,i,a,d,c,p=!1;if(this._mdf||t){var E=Math.ceil(this.c.v);if(this._groups.length<E){for(;this._groups.length<E;){var u={it:this.cloneElements(this._elements),ty:"gr"};u.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,u),this._groups.splice(0,0,u),this._currentCopies+=1}this.elem.reloadShapes(),p=!0}c=0;var k;for(a=0;a<=this._groups.length-1;a+=1){if(k=c<E,this._groups[a]._render=k,this.changeGroupRender(this._groups[a].it,k),!k){var I=this.elemsData[a].it,V=I[I.length-1];V.transform.op.v!==0?(V.transform.op._mdf=!0,V.transform.op.v=0):V.transform.op._mdf=!1}c+=1}this._currentCopies=E;var b=this.o.v,L=b%1,O=b>0?Math.floor(b):Math.ceil(b),N=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(b>0){for(;_<O;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;L&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,L,!1),_+=L)}else if(b<0){for(;_>O;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;L&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-L,!0),_-=L)}a=this.data.m===1?0:this._currentCopies-1,d=this.data.m===1?1:-1,c=this._currentCopies;for(var g,x;c;){if(r=this.elemsData[a].it,i=r[r.length-1].transform.mProps.v.props,x=i.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)*(a/(this._currentCopies-1)),_!==0){for((a!==0&&d===1||a!==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(N[0],N[1],N[2],N[3],N[4],N[5],N[6],N[7],N[8],N[9],N[10],N[11],N[12],N[13],N[14],N[15]),g=0;g<x;g+=1)i[g]=this.matrix.props[g];this.matrix.reset()}else for(this.matrix.reset(),g=0;g<x;g+=1)i[g]=this.matrix.props[g];_+=1,c-=1,a+=d}}else for(c=this._currentCopies,a=0,d=1;c;)r=this.elemsData[a].it,i=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,a+=d;return p},or.prototype.addShape=function(){};function Bo(){}B([Fe],Bo),Bo.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.rd=rt.getProp(t,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},Bo.prototype.processPath=function(t,r){var i=se.newElement();i.c=t.c;var a,d=t._length,c,p,E,u,k,I,V=0,b,L,O,N,z,w;for(a=0;a<d;a+=1)c=t.v[a],E=t.o[a],p=t.i[a],c[0]===E[0]&&c[1]===E[1]&&c[0]===p[0]&&c[1]===p[1]?(a===0||a===d-1)&&!t.c?(i.setTripleAt(c[0],c[1],E[0],E[1],p[0],p[1],V),V+=1):(a===0?u=t.v[d-1]:u=t.v[a-1],k=Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)),I=k?Math.min(k/2,r)/k:0,z=c[0]+(u[0]-c[0])*I,b=z,w=c[1]-(c[1]-u[1])*I,L=w,O=b-(b-c[0])*de,N=L-(L-c[1])*de,i.setTripleAt(b,L,O,N,z,w,V),V+=1,a===d-1?u=t.v[0]:u=t.v[a+1],k=Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)),I=k?Math.min(k/2,r)/k:0,O=c[0]+(u[0]-c[0])*I,b=O,N=c[1]+(u[1]-c[1])*I,L=N,z=b-(b-c[0])*de,w=L-(L-c[1])*de,i.setTripleAt(b,L,O,N,z,w,V),V+=1):(i.setTripleAt(t.v[a][0],t.v[a][1],t.o[a][0],t.o[a][1],t.i[a][0],t.i[a][1],V),V+=1);return i},Bo.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,p=this.rd.v;if(p!==0){var E,u;for(i=0;i<a;i+=1){if(E=this.shapes[i],u=E.localShapeCollection,!(!E.shape._mdf&&!this._mdf&&!t))for(u.releaseShapes(),E.shape._mdf=!0,r=E.shape.paths.shapes,c=E.shape.paths._length,d=0;d<c;d+=1)u.addShape(this.processPath(r[d],p));E.shape.paths=E.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function ta(t,r){return Math.abs(t-r)*1e5<=Math.min(Math.abs(t),Math.abs(r))}function zn(t){return Math.abs(t)<=1e-5}function ed(t,r,i){return t*(1-i)+r*i}function $r(t,r,i){return[ed(t[0],r[0],i),ed(t[1],r[1],i)]}function Bu(t,r,i){if(t===0)return[];var a=r*r-4*t*i;if(a<0)return[];var d=-r/(2*t);if(a===0)return[d];var c=Math.sqrt(a)/(2*t);return[d-c,d+c]}function rd(t,r,i,a){return[-t+3*r-3*i+a,3*t-6*r+3*i,-3*t+3*r,t]}function id(t){return new Ft(t,t,t,t,!1)}function Ft(t,r,i,a,d){d&&Ki(t,r)&&(r=$r(t,a,1/3)),d&&Ki(i,a)&&(i=$r(t,a,2/3));var c=rd(t[0],r[0],i[0],a[0]),p=rd(t[1],r[1],i[1],a[1]);this.a=[c[0],p[0]],this.b=[c[1],p[1]],this.c=[c[2],p[2]],this.d=[c[3],p[3]],this.points=[t,r,i,a]}Ft.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},Ft.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},Ft.prototype.tangentAngle=function(t){var r=this.derivative(t);return Math.atan2(r[1],r[0])},Ft.prototype.normalAngle=function(t){var r=this.derivative(t);return Math.atan2(r[0],r[1])},Ft.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(zn(t))return[];var r=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,i=r*r-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(i<0)return[];var a=Math.sqrt(i);return zn(a)?a>0&&a<1?[r]:[]:[r-a,r+a].filter(function(d){return d>0&&d<1})},Ft.prototype.split=function(t){if(t<=0)return[id(this.points[0]),this];if(t>=1)return[this,id(this.points[this.points.length-1])];var r=$r(this.points[0],this.points[1],t),i=$r(this.points[1],this.points[2],t),a=$r(this.points[2],this.points[3],t),d=$r(r,i,t),c=$r(i,a,t),p=$r(d,c,t);return[new Ft(this.points[0],r,d,p,!0),new Ft(p,c,a,this.points[3],!0)]};function od(t,r){var i=t.points[0][r],a=t.points[t.points.length-1][r];if(i>a){var d=a;a=i,i=d}for(var c=Bu(3*t.a[r],2*t.b[r],t.c[r]),p=0;p<c.length;p+=1)if(c[p]>0&&c[p]<1){var E=t.point(c[p])[r];E<i?i=E:E>a&&(a=E)}return{min:i,max:a}}Ft.prototype.bounds=function(){return{x:od(this,0),y:od(this,1)}},Ft.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}};function ea(t,r,i){var a=t.boundingBox();return{cx:a.cx,cy:a.cy,width:a.width,height:a.height,bez:t,t:(r+i)/2,t1:r,t2:i}}function sd(t){var r=t.bez.split(.5);return[ea(r[0],t.t1,t.t),ea(r[1],t.t,t.t2)]}function Uu(t,r){return Math.abs(t.cx-r.cx)*2<t.width+r.width&&Math.abs(t.cy-r.cy)*2<t.height+r.height}function Uo(t,r,i,a,d,c){if(Uu(t,r)){if(i>=c||t.width<=a&&t.height<=a&&r.width<=a&&r.height<=a){d.push([t.t,r.t]);return}var p=sd(t),E=sd(r);Uo(p[0],E[0],i+1,a,d,c),Uo(p[0],E[1],i+1,a,d,c),Uo(p[1],E[0],i+1,a,d,c),Uo(p[1],E[1],i+1,a,d,c)}}Ft.prototype.intersections=function(t,r,i){r===void 0&&(r=2),i===void 0&&(i=7);var a=[];return Uo(ea(this,0,1),ea(t,0,1),0,r,a,i),a},Ft.shapeSegment=function(t,r){var i=(r+1)%t.length();return new Ft(t.v[r],t.o[r],t.i[i],t.v[i],!0)},Ft.shapeSegmentInverted=function(t,r){var i=(r+1)%t.length();return new Ft(t.v[i],t.i[i],t.o[r],t.v[r],!0)};function $n(t,r){return[t[1]*r[2]-t[2]*r[1],t[2]*r[0]-t[0]*r[2],t[0]*r[1]-t[1]*r[0]]}function ra(t,r,i,a){var d=[t[0],t[1],1],c=[r[0],r[1],1],p=[i[0],i[1],1],E=[a[0],a[1],1],u=$n($n(d,c),$n(p,E));return zn(u[2])?null:[u[0]/u[2],u[1]/u[2]]}function Yi(t,r,i){return[t[0]+Math.cos(r)*i,t[1]-Math.sin(r)*i]}function Vn(t,r){return Math.hypot(t[0]-r[0],t[1]-r[1])}function Ki(t,r){return ta(t[0],r[0])&&ta(t[1],r[1])}function Ho(){}B([Fe],Ho),Ho.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amplitude=rt.getProp(t,r.s,0,null,this),this.frequency=rt.getProp(t,r.r,0,null,this),this.pointsType=rt.getProp(t,r.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function ad(t,r,i,a,d,c,p){var E=i-Math.PI/2,u=i+Math.PI/2,k=r[0]+Math.cos(i)*a*d,I=r[1]-Math.sin(i)*a*d;t.setTripleAt(k,I,k+Math.cos(E)*c,I-Math.sin(E)*c,k+Math.cos(u)*p,I-Math.sin(u)*p,t.length())}function Hu(t,r){var i=[r[0]-t[0],r[1]-t[1]],a=-Math.PI*.5,d=[Math.cos(a)*i[0]-Math.sin(a)*i[1],Math.sin(a)*i[0]+Math.cos(a)*i[1]];return d}function Gu(t,r){var i=r===0?t.length()-1:r-1,a=(r+1)%t.length(),d=t.v[i],c=t.v[a],p=Hu(d,c);return Math.atan2(0,1)-Math.atan2(p[1],p[0])}function nd(t,r,i,a,d,c,p){var E=Gu(r,i),u=r.v[i%r._length],k=r.v[i===0?r._length-1:i-1],I=r.v[(i+1)%r._length],V=c===2?Math.sqrt(Math.pow(u[0]-k[0],2)+Math.pow(u[1]-k[1],2)):0,b=c===2?Math.sqrt(Math.pow(u[0]-I[0],2)+Math.pow(u[1]-I[1],2)):0;ad(t,r.v[i%r._length],E,p,a,b/((d+1)*2),V/((d+1)*2),c)}function ju(t,r,i,a,d,c){for(var p=0;p<a;p+=1){var E=(p+1)/(a+1),u=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,k=r.normalAngle(E),I=r.point(E);ad(t,I,k,c,i,u/((a+1)*2),u/((a+1)*2),d),c=-c}return c}Ho.prototype.processPath=function(t,r,i,a){var d=t._length,c=se.newElement();if(c.c=t.c,t.c||(d-=1),d===0)return c;var p=-1,E=Ft.shapeSegment(t,0);nd(c,t,0,r,i,a,p);for(var u=0;u<d;u+=1)p=ju(c,E,r,i,a,-p),u===d-1&&!t.c?E=null:E=Ft.shapeSegment(t,(u+1)%d),nd(c,t,u+1,r,i,a,p);return c},Ho.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,p=this.amplitude.v,E=Math.max(0,Math.round(this.frequency.v)),u=this.pointsType.v;if(p!==0){var k,I;for(i=0;i<a;i+=1){if(k=this.shapes[i],I=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!t))for(I.releaseShapes(),k.shape._mdf=!0,r=k.shape.paths.shapes,c=k.shape.paths._length,d=0;d<c;d+=1)I.addShape(this.processPath(r[d],p,E,u));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Bn(t,r,i){var a=Math.atan2(r[0]-t[0],r[1]-t[1]);return[Yi(t,a,i),Yi(r,a,i)]}function Xi(t,r){var i,a,d,c,p,E,u;u=Bn(t.points[0],t.points[1],r),i=u[0],a=u[1],u=Bn(t.points[1],t.points[2],r),d=u[0],c=u[1],u=Bn(t.points[2],t.points[3],r),p=u[0],E=u[1];var k=ra(i,a,d,c);k===null&&(k=a);var I=ra(p,E,d,c);return I===null&&(I=p),new Ft(i,k,I,E)}function ld(t,r,i,a,d){var c=r.points[3],p=i.points[0];if(a===3||Ki(c,p))return c;if(a===2){var E=-r.tangentAngle(1),u=-i.tangentAngle(0)+Math.PI,k=ra(c,Yi(c,E+Math.PI/2,100),p,Yi(p,E+Math.PI/2,100)),I=k?Vn(k,c):Vn(c,p)/2,V=Yi(c,E,2*I*de);return t.setXYAt(V[0],V[1],"o",t.length()-1),V=Yi(p,u,2*I*de),t.setTripleAt(p[0],p[1],p[0],p[1],V[0],V[1],t.length()),p}var b=Ki(c,r.points[2])?r.points[0]:r.points[2],L=Ki(p,i.points[1])?i.points[3]:i.points[1],O=ra(b,c,p,L);return O&&Vn(O,c)<d?(t.setTripleAt(O[0],O[1],O[0],O[1],O[0],O[1],t.length()),O):c}function cd(t,r){var i=t.intersections(r);return i.length&&ta(i[0][0],1)&&i.shift(),i.length?i[0]:null}function dd(t,r){var i=t.slice(),a=r.slice(),d=cd(t[t.length-1],r[0]);return d&&(i[t.length-1]=t[t.length-1].split(d[0])[0],a[0]=r[0].split(d[1])[1]),t.length>1&&r.length>1&&(d=cd(t[0],r[r.length-1]),d)?[[t[0].split(d[0])[0]],[r[r.length-1].split(d[1])[1]]]:[i,a]}function Wu(t){for(var r,i=1;i<t.length;i+=1)r=dd(t[i-1],t[i]),t[i-1]=r[0],t[i]=r[1];return t.length>1&&(r=dd(t[t.length-1],t[0]),t[t.length-1]=r[0],t[0]=r[1]),t}function hd(t,r){var i=t.inflectionPoints(),a,d,c,p;if(i.length===0)return[Xi(t,r)];if(i.length===1||ta(i[1],1))return c=t.split(i[0]),a=c[0],d=c[1],[Xi(a,r),Xi(d,r)];c=t.split(i[0]),a=c[0];var E=(i[1]-i[0])/(1-i[0]);return c=c[1].split(E),p=c[0],d=c[1],[Xi(a,r),Xi(p,r),Xi(d,r)]}function Go(){}B([Fe],Go),Go.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amount=rt.getProp(t,r.a,0,null,this),this.miterLimit=rt.getProp(t,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Go.prototype.processPath=function(t,r,i,a){var d=se.newElement();d.c=t.c;var c=t.length();t.c||(c-=1);var p,E,u,k=[];for(p=0;p<c;p+=1)u=Ft.shapeSegment(t,p),k.push(hd(u,r));if(!t.c)for(p=c-1;p>=0;p-=1)u=Ft.shapeSegmentInverted(t,p),k.push(hd(u,r));k=Wu(k);var I=null,V=null;for(p=0;p<k.length;p+=1){var b=k[p];for(V&&(I=ld(d,V,b[0],i,a)),V=b[b.length-1],E=0;E<b.length;E+=1)u=b[E],I&&Ki(u.points[0],I)?d.setXYAt(u.points[1][0],u.points[1][1],"o",d.length()-1):d.setTripleAt(u.points[0][0],u.points[0][1],u.points[1][0],u.points[1][1],u.points[0][0],u.points[0][1],d.length()),d.setTripleAt(u.points[3][0],u.points[3][1],u.points[3][0],u.points[3][1],u.points[2][0],u.points[2][1],d.length()),I=u.points[3]}return k.length&&ld(d,V,k[0][0],i,a),d},Go.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,p=this.amount.v,E=this.miterLimit.v,u=this.lineJoin;if(p!==0){var k,I;for(i=0;i<a;i+=1){if(k=this.shapes[i],I=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!t))for(I.releaseShapes(),k.shape._mdf=!0,r=k.shape.paths.shapes,c=k.shape.paths._length,d=0;d<c;d+=1)I.addShape(this.processPath(r[d],p,u,E));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function md(t){for(var r=t.fStyle?t.fStyle.split(" "):[],i="normal",a="normal",d=r.length,c,p=0;p<d;p+=1)switch(c=r[p].toLowerCase(),c){case"italic":a="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200";break;default:break}return{style:a,weight:t.fWeight||i}}var li=function(){var t=5e3,r={w:0,size:0,shapes:[],data:{shapes:[]}},i=[];i=i.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 a=127988,d=917631,c=917601,p=917626,E=65039,u=8205,k=127462,I=127487,V=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function b(T){var R=T.split(","),m,v=R.length,U=[];for(m=0;m<v;m+=1)R[m]!=="sans-serif"&&R[m]!=="monospace"&&U.push(R[m]);return U.join(",")}function L(T,R){var m=M("span");m.setAttribute("aria-hidden",!0),m.style.fontFamily=R;var v=M("span");v.innerText="giItT1WQy@!-/#",m.style.position="absolute",m.style.left="-10000px",m.style.top="-10000px",m.style.fontSize="300px",m.style.fontVariant="normal",m.style.fontStyle="normal",m.style.fontWeight="normal",m.style.letterSpacing="0",m.appendChild(v),document.body.appendChild(m);var U=v.offsetWidth;return v.style.fontFamily=b(T)+", "+R,{node:v,w:U,parent:m}}function O(){var T,R=this.fonts.length,m,v,U=R;for(T=0;T<R;T+=1)this.fonts[T].loaded?U-=1:this.fonts[T].fOrigin==="n"||this.fonts[T].origin===0?this.fonts[T].loaded=!0:(m=this.fonts[T].monoCase.node,v=this.fonts[T].monoCase.w,m.offsetWidth!==v?(U-=1,this.fonts[T].loaded=!0):(m=this.fonts[T].sansCase.node,v=this.fonts[T].sansCase.w,m.offsetWidth!==v&&(U-=1,this.fonts[T].loaded=!0)),this.fonts[T].loaded&&(this.fonts[T].sansCase.parent.parentNode.removeChild(this.fonts[T].sansCase.parent),this.fonts[T].monoCase.parent.parentNode.removeChild(this.fonts[T].monoCase.parent)));U!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function N(T,R){var m=document.body&&R?"svg":"canvas",v,U=md(T);if(m==="svg"){var D=ft("text");D.style.fontSize="100px",D.setAttribute("font-family",T.fFamily),D.setAttribute("font-style",U.style),D.setAttribute("font-weight",U.weight),D.textContent="1",T.fClass?(D.style.fontFamily="inherit",D.setAttribute("class",T.fClass)):D.style.fontFamily=T.fFamily,R.appendChild(D),v=D}else{var it=new OffscreenCanvas(500,500).getContext("2d");it.font=U.style+" "+U.weight+" 100px "+T.fFamily,v=it}function ht(ut){return m==="svg"?(v.textContent=ut,v.getComputedTextLength()):v.measureText(ut).width}return{measureText:ht}}function z(T,R){if(!T){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=T.list;return}if(!document.body){this.isLoaded=!0,T.list.forEach(function(ye){ye.helper=N(ye),ye.cache={}}),this.fonts=T.list;return}var m=T.list,v,U=m.length,D=U;for(v=0;v<U;v+=1){var it=!0,ht,ut;if(m[v].loaded=!1,m[v].monoCase=L(m[v].fFamily,"monospace"),m[v].sansCase=L(m[v].fFamily,"sans-serif"),!m[v].fPath)m[v].loaded=!0,D-=1;else if(m[v].fOrigin==="p"||m[v].origin===3){if(ht=document.querySelectorAll('style[f-forigin="p"][f-family="'+m[v].fFamily+'"], style[f-origin="3"][f-family="'+m[v].fFamily+'"]'),ht.length>0&&(it=!1),it){var kt=M("style");kt.setAttribute("f-forigin",m[v].fOrigin),kt.setAttribute("f-origin",m[v].origin),kt.setAttribute("f-family",m[v].fFamily),kt.type="text/css",kt.innerText="@font-face {font-family: "+m[v].fFamily+"; font-style: normal; src: url('"+m[v].fPath+"');}",R.appendChild(kt)}}else if(m[v].fOrigin==="g"||m[v].origin===1){for(ht=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),ut=0;ut<ht.length;ut+=1)ht[ut].href.indexOf(m[v].fPath)!==-1&&(it=!1);if(it){var Ct=M("link");Ct.setAttribute("f-forigin",m[v].fOrigin),Ct.setAttribute("f-origin",m[v].origin),Ct.type="text/css",Ct.rel="stylesheet",Ct.href=m[v].fPath,document.body.appendChild(Ct)}}else if(m[v].fOrigin==="t"||m[v].origin===2){for(ht=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),ut=0;ut<ht.length;ut+=1)m[v].fPath===ht[ut].src&&(it=!1);if(it){var jt=M("link");jt.setAttribute("f-forigin",m[v].fOrigin),jt.setAttribute("f-origin",m[v].origin),jt.setAttribute("rel","stylesheet"),jt.setAttribute("href",m[v].fPath),R.appendChild(jt)}}m[v].helper=N(m[v],R),m[v].cache={},this.fonts.push(m[v])}D===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function w(T){if(T){this.chars||(this.chars=[]);var R,m=T.length,v,U=this.chars.length,D;for(R=0;R<m;R+=1){for(v=0,D=!1;v<U;)this.chars[v].style===T[R].style&&this.chars[v].fFamily===T[R].fFamily&&this.chars[v].ch===T[R].ch&&(D=!0),v+=1;D||(this.chars.push(T[R]),U+=1)}}}function _(T,R,m){for(var v=0,U=this.chars.length;v<U;){if(this.chars[v].ch===T&&this.chars[v].style===R&&this.chars[v].fFamily===m)return this.chars[v];v+=1}return(typeof T=="string"&&T.charCodeAt(0)!==13||!T)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",T,R,m)),r}function g(T,R,m){var v=this.getFontByName(R),U=T;if(!v.cache[U]){var D=v.helper;if(T===" "){var it=D.measureText("|"+T+"|"),ht=D.measureText("||");v.cache[U]=(it-ht)/100}else v.cache[U]=D.measureText(T)/100}return v.cache[U]*m}function x(T){for(var R=0,m=this.fonts.length;R<m;){if(this.fonts[R].fName===T)return this.fonts[R];R+=1}return this.fonts[0]}function C(T){var R=0,m=T.charCodeAt(0);if(m>=55296&&m<=56319){var v=T.charCodeAt(1);v>=56320&&v<=57343&&(R=(m-55296)*1024+v-56320+65536)}return R}function P(T,R){var m=T.toString(16)+R.toString(16);return V.indexOf(m)!==-1}function $(T){return T===u}function H(T){return T===E}function K(T){var R=C(T);return R>=k&&R<=I}function pt(T){return K(T.substr(0,2))&&K(T.substr(2,2))}function nt(T){return i.indexOf(T)!==-1}function tt(T,R){var m=C(T.substr(R,2));if(m!==a)return!1;var v=0;for(R+=2;v<5;){if(m=C(T.substr(R,2)),m<c||m>p)return!1;v+=1,R+=2}return C(T.substr(R,2))===d}function vt(){this.isLoaded=!0}var st=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)};st.isModifier=P,st.isZeroWidthJoiner=$,st.isFlagEmoji=pt,st.isRegionalCode=K,st.isCombinedCharacter=nt,st.isRegionalFlag=tt,st.isVariationSelector=H,st.BLACK_FLAG_CODE_POINT=a;var Y={addChars:w,addFonts:z,getCharData:_,getFontByName:x,measureText:g,checkLoadedFonts:O,setIsLoaded:vt};return st.prototype=Y,st}();function pd(t){this.animationData=t}pd.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t};function qu(t){return new pd(t)}function ia(){}ia.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,i=this.renderableComponents.length;for(r=0;r<i;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 Un=function(){var t={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 t[r]||""}}();function Yu(t,r,i){this.p=rt.getProp(r,t.v,0,0,i)}function Ku(t,r,i){this.p=rt.getProp(r,t.v,0,0,i)}function Xu(t,r,i){this.p=rt.getProp(r,t.v,1,0,i)}function Zu(t,r,i){this.p=rt.getProp(r,t.v,1,0,i)}function Ju(t,r,i){this.p=rt.getProp(r,t.v,0,0,i)}function Qu(t,r,i){this.p=rt.getProp(r,t.v,0,0,i)}function tf(t,r,i){this.p=rt.getProp(r,t.v,0,0,i)}function ef(){this.p={}}function ud(t,r){var i=t.ef||[];this.effectElements=[];var a,d=i.length,c;for(a=0;a<d;a+=1)c=new jo(i[a],r),this.effectElements.push(c)}function jo(t,r){this.init(t,r)}B([te],jo),jo.prototype.getValue=jo.prototype.iterateDynamicProperties,jo.prototype.init=function(t,r){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(r);var i,a=this.data.ef.length,d,c=this.data.ef;for(i=0;i<a;i+=1){switch(d=null,c[i].ty){case 0:d=new Yu(c[i],r,this);break;case 1:d=new Ku(c[i],r,this);break;case 2:d=new Xu(c[i],r,this);break;case 3:d=new Zu(c[i],r,this);break;case 4:case 7:d=new tf(c[i],r,this);break;case 10:d=new Ju(c[i],r,this);break;case 11:d=new Qu(c[i],r,this);break;case 5:d=new ud(c[i],r,this);break;default:d=new ef(c[i],r,this);break}d&&this.effectElements.push(d)}};function Vr(){}Vr.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var r=0,i=this.data.masksProperties.length;r<i;){if(this.data.masksProperties[r].mode!=="n"&&this.data.masksProperties[r].cl!==!1)return!0;r+=1}return!1},initExpressions:function(){var r=Vc();if(r){var i=r("layer"),a=r("effects"),d=r("shape"),c=r("text"),p=r("comp");this.layerInterface=i(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var E=a.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(E),this.data.ty===0||this.data.xt?this.compInterface=p(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=Un(this.data.bm),i=this.baseElement||this.layerElement;i.style["mix-blend-mode"]=r},initBaseData:function(r,i,a){this.globalData=i,this.comp=a,this.data=r,this.layerId=ge(),this.data.sr||(this.data.sr=1),this.effectsManager=new ud(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Br(){}Br.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,i){var a,d=this.dynamicProperties.length;for(a=0;a<d;a+=1)(i||this._isParent&&this.dynamicProperties[a].propType==="transform")&&(this.dynamicProperties[a].getValue(),this.dynamicProperties[a]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function Ur(t,r,i){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(t.refId),this.footageData=r.imageLoader.getAsset(this.assetData),this.initBaseData(t,r,i)}Ur.prototype.prepareFrame=function(){},B([ia,Vr,Br],Ur),Ur.prototype.getBaseElement=function(){return null},Ur.prototype.renderFrame=function(){},Ur.prototype.destroy=function(){},Ur.prototype.initExpressions=function(){var t=Vc();if(t){var r=t("footage");this.layerInterface=r(this)}},Ur.prototype.getFootageData=function(){return this.footageData};function be(t,r,i){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(t.refId),this.initBaseData(t,r,i),this._isPlaying=!1,this._canPlay=!1;var a=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(a),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?rt.getProp(this,t.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=rt.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}be.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var r=this.tm.v;this._currentTime=r}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},B([ia,Vr,Br],be),be.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))},be.prototype.show=function(){},be.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},be.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},be.prototype.resume=function(){this._canPlay=!0},be.prototype.setRate=function(t){this.audio.rate(t)},be.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},be.prototype.getBaseElement=function(){return null},be.prototype.destroy=function(){},be.prototype.sourceRectAtTime=function(){},be.prototype.initExpressions=function(){};function ne(){}ne.prototype.checkLayers=function(t){var r,i=this.layers.length,a;for(this.completeLayers=!0,r=i-1;r>=0;r-=1)this.elements[r]||(a=this.layers[r],a.ip-a.st<=t-this.layers[r].st&&a.op-a.st>t-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},ne.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},ne.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},ne.prototype.createAudio=function(t){return new be(t,this.globalData,this)},ne.prototype.createFootage=function(t){return new Ur(t,this.globalData,this)},ne.prototype.buildAllItems=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)this.buildItem(t);this.checkPendingElements()},ne.prototype.includeLayers=function(t){this.completeLayers=!1;var r,i=t.length,a,d=this.layers.length;for(r=0;r<i;r+=1)for(a=0;a<d;){if(this.layers[a].id===t[r].id){this.layers[a]=t[r];break}a+=1}},ne.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},ne.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},ne.prototype.buildElementParenting=function(t,r,i){for(var a=this.elements,d=this.layers,c=0,p=d.length;c<p;)d[c].ind==r&&(!a[c]||a[c]===!0?(this.buildItem(c),this.addPendingElement(t)):(i.push(a[c]),a[c].setAsParent(),d[c].parent!==void 0?this.buildElementParenting(t,d[c].parent,i):t.setHierarchy(i))),c+=1},ne.prototype.addPendingElement=function(t){this.pendingElements.push(t)},ne.prototype.searchExtraCompositions=function(t){var r,i=t.length;for(r=0;r<i;r+=1)if(t[r].xt){var a=this.createComp(t[r]);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},ne.prototype.getElementById=function(t){var r,i=this.elements.length;for(r=0;r<i;r+=1)if(this.elements[r].data.ind===t)return this.elements[r];return null},ne.prototype.getElementByPath=function(t){var r=t.shift(),i;if(typeof r=="number")i=this.elements[r];else{var a,d=this.elements.length;for(a=0;a<d;a+=1)if(this.elements[a].data.nm===r){i=this.elements[a];break}}return t.length===0?i:i.getElementByPath(t)},ne.prototype.setupGlobalData=function(t,r){this.globalData.fontManager=new li,this.globalData.slotManager=qu(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.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=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var rf={TRANSFORM_EFFECT:"transformEFfect"};function Zi(){}Zi.prototype={initTransform:function(){var r=new ae;this.finalTransform={mProp:this.data.ks?Fn.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,i=this.finalTransform.mat,a=0,d=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;a<d;){if(this.hierarchy[a].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}a+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,i.cloneFromProps(r),a=0;a<d;a+=1)i.multiply(this.hierarchy[a].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,i=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;r<i;)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 a=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(a),r=1;r<i;r+=1){var d=this.localTransforms[r].matrix;a.multiply(d)}a.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(r=0;r<i;r+=1)c*=this.localTransforms[r].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var r=this.renderableEffectsManager.getEffects(rf.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new ae;var i=0,a=r.length;for(i=0;i<a;i+=1)this.localTransforms.push(r[i])}}},globalToLocal:function(r){var i=[];i.push(this.finalTransform);for(var a=!0,d=this.comp;a;)d.finalTransform?(d.data.hasMask&&i.splice(0,0,d.finalTransform),d=d.comp):a=!1;var c,p=i.length,E;for(c=0;c<p;c+=1)E=i[c].mat.applyToPointArray(0,0,0),r=[r[0]-E[0],r[1]-E[1],0];return r},mHelper:new ae};function ci(t,r,i){this.data=t,this.element=r,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var a=this.globalData.defs,d,c=this.masksProperties?this.masksProperties.length:0;this.viewData=et(c),this.solidPath="";var p,E=this.masksProperties,u=0,k=[],I,V,b=ge(),L,O,N,z,w="clipPath",_="clip-path";for(d=0;d<c;d+=1)if((E[d].mode!=="a"&&E[d].mode!=="n"||E[d].inv||E[d].o.k!==100||E[d].o.x)&&(w="mask",_="mask"),(E[d].mode==="s"||E[d].mode==="i")&&u===0?(L=ft("rect"),L.setAttribute("fill","#ffffff"),L.setAttribute("width",this.element.comp.data.w||0),L.setAttribute("height",this.element.comp.data.h||0),k.push(L)):L=null,p=ft("path"),E[d].mode==="n")this.viewData[d]={op:rt.getProp(this.element,E[d].o,0,.01,this.element),prop:Zs.getShapeProp(this.element,E[d],3),elem:p,lastPath:""},a.appendChild(p);else{u+=1,p.setAttribute("fill",E[d].mode==="s"?"#000000":"#ffffff"),p.setAttribute("clip-rule","nonzero");var g;if(E[d].x.k!==0?(w="mask",_="mask",z=rt.getProp(this.element,E[d].x,0,null,this.element),g=ge(),O=ft("filter"),O.setAttribute("id",g),N=ft("feMorphology"),N.setAttribute("operator","erode"),N.setAttribute("in","SourceGraphic"),N.setAttribute("radius","0"),O.appendChild(N),a.appendChild(O),p.setAttribute("stroke",E[d].mode==="s"?"#000000":"#ffffff")):(N=null,z=null),this.storedData[d]={elem:p,x:z,expan:N,lastPath:"",lastOperator:"",filterId:g,lastRadius:0},E[d].mode==="i"){V=k.length;var x=ft("g");for(I=0;I<V;I+=1)x.appendChild(k[I]);var C=ft("mask");C.setAttribute("mask-type","alpha"),C.setAttribute("id",b+"_"+u),C.appendChild(p),a.appendChild(C),x.setAttribute("mask","url("+S()+"#"+b+"_"+u+")"),k.length=0,k.push(x)}else k.push(p);E[d].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[d]={elem:p,lastPath:"",op:rt.getProp(this.element,E[d].o,0,.01,this.element),prop:Zs.getShapeProp(this.element,E[d],3),invRect:L},this.viewData[d].prop.k||this.drawPath(E[d],this.viewData[d].prop.v,this.viewData[d])}for(this.maskElement=ft(w),c=k.length,d=0;d<c;d+=1)this.maskElement.appendChild(k[d]);u>0&&(this.maskElement.setAttribute("id",b),this.element.maskedElement.setAttribute(_,"url("+S()+"#"+b+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}ci.prototype.getMaskProperty=function(t){return this.viewData[t].prop},ci.prototype.renderFrame=function(t){var r=this.element.finalTransform.mat,i,a=this.masksProperties.length;for(i=0;i<a;i+=1)if((this.viewData[i].prop._mdf||t)&&this.drawPath(this.masksProperties[i],this.viewData[i].prop.v,this.viewData[i]),(this.viewData[i].op._mdf||t)&&this.viewData[i].elem.setAttribute("fill-opacity",this.viewData[i].op.v),this.masksProperties[i].mode!=="n"&&(this.viewData[i].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[i].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[i].x&&(this.storedData[i].x._mdf||t))){var d=this.storedData[i].expan;this.storedData[i].x.v<0?(this.storedData[i].lastOperator!=="erode"&&(this.storedData[i].lastOperator="erode",this.storedData[i].elem.setAttribute("filter","url("+S()+"#"+this.storedData[i].filterId+")")),d.setAttribute("radius",-this.storedData[i].x.v)):(this.storedData[i].lastOperator!=="dilate"&&(this.storedData[i].lastOperator="dilate",this.storedData[i].elem.setAttribute("filter",null)),this.storedData[i].elem.setAttribute("stroke-width",this.storedData[i].x.v*2))}},ci.prototype.getMaskelement=function(){return this.maskElement},ci.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},ci.prototype.drawPath=function(t,r,i){var a=" M"+r.v[0][0]+","+r.v[0][1],d,c;for(c=r._length,d=1;d<c;d+=1)a+=" 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&&(a+=" 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]),i.lastPath!==a){var p="";i.elem&&(r.c&&(p=t.inv?this.solidPath+a:a),i.elem.setAttribute("d",p)),i.lastPath=a}},ci.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var Wo=function(){var t={};t.createFilter=r,t.createAlphaToLuminanceFilter=i;function r(a,d){var c=ft("filter");return c.setAttribute("id",a),d!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function i(){var a=ft("feColorMatrix");return a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),a}return t}(),fd=function(){var t={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))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),oa={},vd="filter_result_";function Hn(t){var r,i="SourceGraphic",a=t.data.ef?t.data.ef.length:0,d=ge(),c=Wo.createFilter(d,!0),p=0;this.filters=[];var E;for(r=0;r<a;r+=1){E=null;var u=t.data.ef[r].ty;if(oa[u]){var k=oa[u].effect;E=new k(c,t.effectsManager.effectElements[r],t,vd+p,i),i=vd+p,oa[u].countsAsEffect&&(p+=1)}E&&this.filters.push(E)}p&&(t.globalData.defs.appendChild(c),t.layerElement.setAttribute("filter","url("+S()+"#"+d+")")),this.filters.length&&t.addRenderableComponent(this)}Hn.prototype.renderFrame=function(t){var r,i=this.filters.length;for(r=0;r<i;r+=1)this.filters[r].renderFrame(t)},Hn.prototype.getEffects=function(t){var r,i=this.filters.length,a=[];for(r=0;r<i;r+=1)this.filters[r].type===t&&a.push(this.filters[r]);return a};function b0(t,r,i){oa[t]={effect:r,countsAsEffect:i}}function qo(){}qo.prototype={initRendererElement:function(){this.layerElement=ft("g")},createContainerElements:function(){this.matteElement=ft("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var i=ft("g");i.setAttribute("id",this.layerId),i.appendChild(this.layerElement),r=i,this.globalData.defs.appendChild(i)}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 a=ft("clipPath"),d=ft("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=ge();if(a.setAttribute("id",c),a.appendChild(d),this.globalData.defs.appendChild(a),this.checkMasks()){var p=ft("g");p.setAttribute("clip-path","url("+S()+"#"+c+")"),p.appendChild(this.layerElement),this.transformedElement=p,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+S()+"#"+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 ci(this.data,this,this.globalData),this.renderableEffectsManager=new Hn(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var i=this.layerId+"_"+r,a,d,c,p;if(r===1||r===3){var E=ft("mask");E.setAttribute("id",i),E.setAttribute("mask-type",r===3?"luminance":"alpha"),c=ft("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),E.appendChild(c),this.globalData.defs.appendChild(E),!fd.maskType&&r===1&&(E.setAttribute("mask-type","luminance"),a=ge(),d=Wo.createFilter(a),this.globalData.defs.appendChild(d),d.appendChild(Wo.createAlphaToLuminanceFilter()),p=ft("g"),p.appendChild(c),E.appendChild(p),p.setAttribute("filter","url("+S()+"#"+a+")"))}else if(r===2){var u=ft("mask");u.setAttribute("id",i),u.setAttribute("mask-type","alpha");var k=ft("g");u.appendChild(k),a=ge(),d=Wo.createFilter(a);var I=ft("feComponentTransfer");I.setAttribute("in","SourceGraphic"),d.appendChild(I);var V=ft("feFuncA");V.setAttribute("type","table"),V.setAttribute("tableValues","1.0 0.0"),I.appendChild(V),this.globalData.defs.appendChild(d);var b=ft("rect");b.setAttribute("width",this.comp.data.w),b.setAttribute("height",this.comp.data.h),b.setAttribute("x","0"),b.setAttribute("y","0"),b.setAttribute("fill","#ffffff"),b.setAttribute("opacity","0"),k.setAttribute("filter","url("+S()+"#"+a+")"),k.appendChild(b),c=ft("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),k.appendChild(c),fd.maskType||(u.setAttribute("mask-type","luminance"),d.appendChild(Wo.createAlphaToLuminanceFilter()),p=ft("g"),k.appendChild(b),p.appendChild(this.layerElement),k.appendChild(p)),this.globalData.defs.appendChild(u)}this.matteMasks[r]=i}return this.matteMasks[r]},setMatte:function(r){this.matteElement&&this.matteElement.setAttribute("mask","url("+S()+"#"+r+")")}};function Ji(){}Ji.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 Yo(){}(function(){var t={initElement:function(i,a,d){this.initFrame(),this.initBaseData(i,a,d),this.initTransform(i,a,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 i=this.baseElement||this.layerElement;i.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var i=this.baseElement||this.layerElement;i.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(i){this._mdf=!1,this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};B([ia,q(t)],Yo)})();function Ko(t,r,i){this.assetData=r.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=r.slotManager.getProp(this.assetData)),this.initElement(t,r,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}B([Vr,Zi,qo,Ji,Br,Yo],Ko),Ko.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=ft("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",t),this.layerElement.appendChild(this.innerElem)},Ko.prototype.sourceRectAtTime=function(){return this.sourceRect};function of(t,r){this.elem=t,this.pos=r}function gd(){}gd.prototype={addShapeToModifiers:function(r){var i,a=this.shapeModifiers.length;for(i=0;i<a;i+=1)this.shapeModifiers[i].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var i=0,a=this.shapeModifiers.length;i<a;)if(this.shapeModifiers[i].isAnimatedWithShape(r))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var r,i=this.shapes.length;for(r=0;r<i;r+=1)this.shapes[r].sh.reset();i=this.shapeModifiers.length;var a;for(r=i-1;r>=0&&(a=this.shapeModifiers[r].processShapes(this._isFirstFrame),!a);r-=1);}},searchProcessedElement:function(r){for(var i=this.processedElements,a=0,d=i.length;a<d;){if(i[a].elem===r)return i[a].pos;a+=1}return 0},addProcessedElement:function(r,i){for(var a=this.processedElements,d=a.length;d;)if(d-=1,a[d].elem===r){a[d].pos=i;return}a.push(new of(r,i))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var bd={1:"butt",2:"round",3:"square"},yd={1:"miter",2:"round",3:"bevel"};function Ed(t,r,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=r,this._isAnimated=!!i.k;for(var a=0,d=t.length;a<d;){if(t[a].mProps.dynamicProperties.length){this._isAnimated=!0;break}a+=1}}Ed.prototype.setAsAnimated=function(){this._isAnimated=!0};function xd(t,r){this.data=t,this.type=t.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=t.hd===!0,this.pElem=ft("path"),this.msElem=null}xd.prototype.reset=function(){this.d="",this._mdf=!1};function sa(t,r,i,a){this.elem=t,this.frameId=-1,this.dataProps=et(r.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=Q("float32",r.length?r.length-1:0),this.dashoffset=Q("float32",1),this.initDynamicPropertyContainer(a);var d,c=r.length||0,p;for(d=0;d<c;d+=1)p=rt.getProp(t,r[d].v,0,0,this),this.k=p.k||this.k,this.dataProps[d]={n:r[d].n,p};this.k||this.getValue(!0),this._isAnimated=this.k}sa.prototype.getValue=function(t){if(!(this.elem.globalData.frameId===this.frameId&&!t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var r=0,i=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),r=0;r<i;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}},B([te],sa);function Td(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=rt.getProp(t,r.o,0,.01,this),this.w=rt.getProp(t,r.w,0,null,this),this.d=new sa(t,r.d||{},"svg",this),this.c=rt.getProp(t,r.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}B([te],Td);function Ad(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=rt.getProp(t,r.o,0,.01,this),this.c=rt.getProp(t,r.c,1,255,this),this.style=i}B([te],Ad);function _d(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}B([te],_d);function Xo(t,r,i){this.data=r,this.c=Q("uint8c",r.p*4);var a=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",a),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=a,this.initDynamicPropertyContainer(i),this.prop=rt.getProp(t,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}Xo.prototype.comparePoints=function(t,r){for(var i=0,a=this.o.length/2,d;i<a;){if(d=Math.abs(t[i*4]-t[r*4+i*2]),d>.01)return!1;i+=1}return!0},Xo.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,r=this.data.k.k.length;t<r;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},Xo.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var r,i=this.data.p*4,a,d;for(r=0;r<i;r+=1)a=r%4===0?100:255,d=Math.round(this.prop.v[r]*a),this.c[r]!==d&&(this.c[r]=d,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,r=this.data.p*4;r<i;r+=1)a=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=!t);this._mdf=!t}},B([te],Xo);function Qi(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,r,i)}Qi.prototype.initGradientData=function(t,r,i){this.o=rt.getProp(t,r.o,0,.01,this),this.s=rt.getProp(t,r.s,1,null,this),this.e=rt.getProp(t,r.e,1,null,this),this.h=rt.getProp(t,r.h||{k:0},0,.01,this),this.a=rt.getProp(t,r.a||{k:0},0,Tt,this),this.g=new Xo(t,r.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,r),this.setGradientOpacity(r,i),this._isAnimated=!!this._isAnimated},Qi.prototype.setGradientData=function(t,r){var i=ge(),a=ft(r.t===1?"linearGradient":"radialGradient");a.setAttribute("id",i),a.setAttribute("spreadMethod","pad"),a.setAttribute("gradientUnits","userSpaceOnUse");var d=[],c,p,E;for(E=r.g.p*4,p=0;p<E;p+=4)c=ft("stop"),a.appendChild(c),d.push(c);t.setAttribute(r.ty==="gf"?"fill":"stroke","url("+S()+"#"+i+")"),this.gf=a,this.cst=d},Qi.prototype.setGradientOpacity=function(t,r){if(this.g._hasOpacity&&!this.g._collapsable){var i,a,d,c=ft("mask"),p=ft("path");c.appendChild(p);var E=ge(),u=ge();c.setAttribute("id",u);var k=ft(t.t===1?"linearGradient":"radialGradient");k.setAttribute("id",E),k.setAttribute("spreadMethod","pad"),k.setAttribute("gradientUnits","userSpaceOnUse"),d=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var I=this.stops;for(a=t.g.p*4;a<d;a+=2)i=ft("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),k.appendChild(i),I.push(i);p.setAttribute(t.ty==="gf"?"fill":"stroke","url("+S()+"#"+E+")"),t.ty==="gs"&&(p.setAttribute("stroke-linecap",bd[t.lc||2]),p.setAttribute("stroke-linejoin",yd[t.lj||2]),t.lj===1&&p.setAttribute("stroke-miterlimit",t.ml)),this.of=k,this.ms=c,this.ost=I,this.maskId=u,r.msElem=p}},B([te],Qi);function Sd(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=rt.getProp(t,r.w,0,null,this),this.d=new sa(t,r.d||{},"svg",this),this.initGradientData(t,r,i),this._isAnimated=!!this._isAnimated}B([Qi,te],Sd);function sf(){this.it=[],this.prevViewData=[],this.gr=ft("g")}function af(t,r,i){this.transform={mProps:t,op:r,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var kd=function(r,i,a,d){if(i===0)return"";var c=r.o,p=r.i,E=r.v,u,k=" M"+d.applyToPointStringified(E[0][0],E[0][1]);for(u=1;u<i;u+=1)k+=" C"+d.applyToPointStringified(c[u-1][0],c[u-1][1])+" "+d.applyToPointStringified(p[u][0],p[u][1])+" "+d.applyToPointStringified(E[u][0],E[u][1]);return a&&i&&(k+=" C"+d.applyToPointStringified(c[u-1][0],c[u-1][1])+" "+d.applyToPointStringified(p[0][0],p[0][1])+" "+d.applyToPointStringified(E[0][0],E[0][1]),k+="z"),k},nf=function(){var t=new ae,r=new ae,i={createRenderFunction:a};function a(V){switch(V.ty){case"fl":return E;case"gf":return k;case"gs":return u;case"st":return I;case"sh":case"el":case"rc":case"sr":return p;case"tr":return d;case"no":return c;default:return null}}function d(V,b,L){(L||b.transform.op._mdf)&&b.transform.container.setAttribute("opacity",b.transform.op.v),(L||b.transform.mProps._mdf)&&b.transform.container.setAttribute("transform",b.transform.mProps.v.to2dCSS())}function c(){}function p(V,b,L){var O,N,z,w,_,g,x=b.styles.length,C=b.lvl,P,$,H,K;for(g=0;g<x;g+=1){if(w=b.sh._mdf||L,b.styles[g].lvl<C){for($=r.reset(),H=C-b.styles[g].lvl,K=b.transformers.length-1;!w&&H>0;)w=b.transformers[K].mProps._mdf||w,H-=1,K-=1;if(w)for(H=C-b.styles[g].lvl,K=b.transformers.length-1;H>0;)$.multiply(b.transformers[K].mProps.v),H-=1,K-=1}else $=t;if(P=b.sh.paths,N=P._length,w){for(z="",O=0;O<N;O+=1)_=P.shapes[O],_&&_._length&&(z+=kd(_,_._length,_.c,$));b.caches[g]=z}else z=b.caches[g];b.styles[g].d+=V.hd===!0?"":z,b.styles[g]._mdf=w||b.styles[g]._mdf}}function E(V,b,L){var O=b.style;(b.c._mdf||L)&&O.pElem.setAttribute("fill","rgb("+Qt(b.c.v[0])+","+Qt(b.c.v[1])+","+Qt(b.c.v[2])+")"),(b.o._mdf||L)&&O.pElem.setAttribute("fill-opacity",b.o.v)}function u(V,b,L){k(V,b,L),I(V,b,L)}function k(V,b,L){var O=b.gf,N=b.g._hasOpacity,z=b.s.v,w=b.e.v;if(b.o._mdf||L){var _=V.ty==="gf"?"fill-opacity":"stroke-opacity";b.style.pElem.setAttribute(_,b.o.v)}if(b.s._mdf||L){var g=V.t===1?"x1":"cx",x=g==="x1"?"y1":"cy";O.setAttribute(g,z[0]),O.setAttribute(x,z[1]),N&&!b.g._collapsable&&(b.of.setAttribute(g,z[0]),b.of.setAttribute(x,z[1]))}var C,P,$,H;if(b.g._cmdf||L){C=b.cst;var K=b.g.c;for($=C.length,P=0;P<$;P+=1)H=C[P],H.setAttribute("offset",K[P*4]+"%"),H.setAttribute("stop-color","rgb("+K[P*4+1]+","+K[P*4+2]+","+K[P*4+3]+")")}if(N&&(b.g._omdf||L)){var pt=b.g.o;for(b.g._collapsable?C=b.cst:C=b.ost,$=C.length,P=0;P<$;P+=1)H=C[P],b.g._collapsable||H.setAttribute("offset",pt[P*2]+"%"),H.setAttribute("stop-opacity",pt[P*2+1])}if(V.t===1)(b.e._mdf||L)&&(O.setAttribute("x2",w[0]),O.setAttribute("y2",w[1]),N&&!b.g._collapsable&&(b.of.setAttribute("x2",w[0]),b.of.setAttribute("y2",w[1])));else{var nt;if((b.s._mdf||b.e._mdf||L)&&(nt=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)),O.setAttribute("r",nt),N&&!b.g._collapsable&&b.of.setAttribute("r",nt)),b.e._mdf||b.h._mdf||b.a._mdf||L){nt||(nt=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)));var tt=Math.atan2(w[1]-z[1],w[0]-z[0]),vt=b.h.v;vt>=1?vt=.99:vt<=-1&&(vt=-.99);var st=nt*vt,Y=Math.cos(tt+b.a.v)*st+z[0],T=Math.sin(tt+b.a.v)*st+z[1];O.setAttribute("fx",Y),O.setAttribute("fy",T),N&&!b.g._collapsable&&(b.of.setAttribute("fx",Y),b.of.setAttribute("fy",T))}}}function I(V,b,L){var O=b.style,N=b.d;N&&(N._mdf||L)&&N.dashStr&&(O.pElem.setAttribute("stroke-dasharray",N.dashStr),O.pElem.setAttribute("stroke-dashoffset",N.dashoffset[0])),b.c&&(b.c._mdf||L)&&O.pElem.setAttribute("stroke","rgb("+Qt(b.c.v[0])+","+Qt(b.c.v[1])+","+Qt(b.c.v[2])+")"),(b.o._mdf||L)&&O.pElem.setAttribute("stroke-opacity",b.o.v),(b.w._mdf||L)&&(O.pElem.setAttribute("stroke-width",b.w.v),O.msElem&&O.msElem.setAttribute("stroke-width",b.w.v))}return i}();function Ut(t,r,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,r,i),this.prevViewData=[]}B([Vr,Zi,qo,gd,Ji,Br,Yo],Ut),Ut.prototype.initSecondaryElement=function(){},Ut.prototype.identityMatrix=new ae,Ut.prototype.buildExpressionInterface=function(){},Ut.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Ut.prototype.filterUniqueShapes=function(){var t,r=this.shapes.length,i,a,d=this.stylesList.length,c,p=[],E=!1;for(a=0;a<d;a+=1){for(c=this.stylesList[a],E=!1,p.length=0,t=0;t<r;t+=1)i=this.shapes[t],i.styles.indexOf(c)!==-1&&(p.push(i),E=i._isAnimated||E);p.length>1&&E&&this.setShapesAsAnimated(p)}},Ut.prototype.setShapesAsAnimated=function(t){var r,i=t.length;for(r=0;r<i;r+=1)t[r].setAsAnimated()},Ut.prototype.createStyleElement=function(t,r){var i,a=new xd(t,r),d=a.pElem;if(t.ty==="st")i=new Td(this,t,a);else if(t.ty==="fl")i=new Ad(this,t,a);else if(t.ty==="gf"||t.ty==="gs"){var c=t.ty==="gf"?Qi:Sd;i=new c(this,t,a),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),d.setAttribute("mask","url("+S()+"#"+i.maskId+")"))}else t.ty==="no"&&(i=new _d(this,t,a));return(t.ty==="st"||t.ty==="gs")&&(d.setAttribute("stroke-linecap",bd[t.lc||2]),d.setAttribute("stroke-linejoin",yd[t.lj||2]),d.setAttribute("fill-opacity","0"),t.lj===1&&d.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&d.setAttribute("fill-rule","evenodd"),t.ln&&d.setAttribute("id",t.ln),t.cl&&d.setAttribute("class",t.cl),t.bm&&(d.style["mix-blend-mode"]=Un(t.bm)),this.stylesList.push(a),this.addToAnimatedContents(t,i),i},Ut.prototype.createGroupElement=function(t){var r=new sf;return t.ln&&r.gr.setAttribute("id",t.ln),t.cl&&r.gr.setAttribute("class",t.cl),t.bm&&(r.gr.style["mix-blend-mode"]=Un(t.bm)),r},Ut.prototype.createTransformElement=function(t,r){var i=Fn.getTransformProperty(this,t,this),a=new af(i,i.o,r);return this.addToAnimatedContents(t,a),a},Ut.prototype.createShapeElement=function(t,r,i){var a=4;t.ty==="rc"?a=5:t.ty==="el"?a=6:t.ty==="sr"&&(a=7);var d=Zs.getShapeProp(this,t,a,this),c=new Ed(r,i,d);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(t,c),c},Ut.prototype.addToAnimatedContents=function(t,r){for(var i=0,a=this.animatedContents.length;i<a;){if(this.animatedContents[i].element===r)return;i+=1}this.animatedContents.push({fn:nf.createRenderFunction(t),element:r,data:t})},Ut.prototype.setElementStyles=function(t){var r=t.styles,i,a=this.stylesList.length;for(i=0;i<a;i+=1)this.stylesList[i].closed||r.push(this.stylesList[i])},Ut.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,r=this.itemsData.length;for(t=0;t<r;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),r=this.dynamicProperties.length,t=0;t<r;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},Ut.prototype.searchShapes=function(t,r,i,a,d,c,p){var E=[].concat(c),u,k=t.length-1,I,V,b=[],L=[],O,N,z;for(u=k;u>=0;u-=1){if(z=this.searchProcessedElement(t[u]),z?r[u]=i[z-1]:t[u]._render=p,t[u].ty==="fl"||t[u].ty==="st"||t[u].ty==="gf"||t[u].ty==="gs"||t[u].ty==="no")z?r[u].style.closed=!1:r[u]=this.createStyleElement(t[u],d),t[u]._render&&r[u].style.pElem.parentNode!==a&&a.appendChild(r[u].style.pElem),b.push(r[u].style);else if(t[u].ty==="gr"){if(!z)r[u]=this.createGroupElement(t[u]);else for(V=r[u].it.length,I=0;I<V;I+=1)r[u].prevViewData[I]=r[u].it[I];this.searchShapes(t[u].it,r[u].it,r[u].prevViewData,r[u].gr,d+1,E,p),t[u]._render&&r[u].gr.parentNode!==a&&a.appendChild(r[u].gr)}else t[u].ty==="tr"?(z||(r[u]=this.createTransformElement(t[u],a)),O=r[u].transform,E.push(O)):t[u].ty==="sh"||t[u].ty==="rc"||t[u].ty==="el"||t[u].ty==="sr"?(z||(r[u]=this.createShapeElement(t[u],E,d)),this.setElementStyles(r[u])):t[u].ty==="tm"||t[u].ty==="rd"||t[u].ty==="ms"||t[u].ty==="pb"||t[u].ty==="zz"||t[u].ty==="op"?(z?(N=r[u],N.closed=!1):(N=zr.getModifier(t[u].ty),N.init(this,t[u]),r[u]=N,this.shapeModifiers.push(N)),L.push(N)):t[u].ty==="rp"&&(z?(N=r[u],N.closed=!0):(N=zr.getModifier(t[u].ty),r[u]=N,N.init(this,t,u,r),this.shapeModifiers.push(N),p=!1),L.push(N));this.addProcessedElement(t[u],u+1)}for(k=b.length,u=0;u<k;u+=1)b[u].closed=!0;for(k=L.length,u=0;u<k;u+=1)L[u].closed=!0},Ut.prototype.renderInnerContent=function(){this.renderModifiers();var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<r;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},Ut.prototype.renderShape=function(){var t,r=this.animatedContents.length,i;for(t=0;t<r;t+=1)i=this.animatedContents[t],(this._isFirstFrame||i.element._isAnimated)&&i.data!==!0&&i.fn(i.data,i.element,this._isFirstFrame)},Ut.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Gn(t,r,i,a,d,c){this.o=t,this.sw=r,this.sc=i,this.fc=a,this.m=d,this.p=c,this._mdf={o:!0,sw:!!r,sc:!!i,fc:!!a,m:!0,p:!0}}Gn.prototype.update=function(t,r,i,a,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 p=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,p=!0),this.sw!==r&&(this.sw=r,this._mdf.sw=!0,p=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,p=!0),this.fc!==a&&(this.fc=a,this._mdf.fc=!0,p=!0),this.m!==d&&(this.m=d,this._mdf.m=!0,p=!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,p=!0),p};function he(t,r){this._frameId=s,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,r.d&&r.d.sid&&(r.d=t.globalData.slotManager.getProp(r.d)),this.data=r,this.elem=t,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)}he.prototype.defaultBoxWidth=[0,0],he.prototype.copyData=function(t,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i]);return t},he.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},he.prototype.searchProperty=function(){return this.searchKeyframes()},he.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},he.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},he.prototype.getValue=function(t){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!t)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var r=this.currentData,i=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var a,d=this.effectsSequence.length,c=t||this.data.d.k[this.keysIndex].s;for(a=0;a<d;a+=1)i!==this.keysIndex?c=this.effectsSequence[a](c,c.t):c=this.effectsSequence[a](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}},he.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,r=this.elem.comp.renderedFrame,i=0,a=t.length;i<=a-1&&!(i===a-1||t[i+1].t>r);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},he.prototype.buildFinalText=function(t){for(var r=[],i=0,a=t.length,d,c,p=!1,E=!1,u="";i<a;)p=E,E=!1,d=t.charCodeAt(i),u=t.charAt(i),li.isCombinedCharacter(d)?p=!0:d>=55296&&d<=56319?li.isRegionalFlag(t,i)?u=t.substr(i,14):(c=t.charCodeAt(i+1),c>=56320&&c<=57343&&(li.isModifier(d,c)?(u=t.substr(i,2),p=!0):li.isFlagEmoji(t.substr(i,4))?u=t.substr(i,4):u=t.substr(i,2))):d>56319?(c=t.charCodeAt(i+1),li.isVariationSelector(d)&&(p=!0)):li.isZeroWidthJoiner(d)&&(p=!0,E=!0),p?(r[r.length-1]+=u,p=!1):r.push(u),i+=u.length;return r},he.prototype.completeTextData=function(t){t.__complete=!0;var r=this.elem.globalData.fontManager,i=this.data,a=[],d,c,p,E=0,u,k=i.m.g,I=0,V=0,b=0,L=[],O=0,N=0,z,w,_=r.getFontByName(t.f),g,x=0,C=md(_);t.fWeight=C.weight,t.fStyle=C.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),c=t.finalText.length,t.finalLineHeight=t.lh;var P=t.tr/1e3*t.finalSize,$;if(t.sz)for(var H=!0,K=t.sz[0],pt=t.sz[1],nt,tt;H;){tt=this.buildFinalText(t.t),nt=0,O=0,c=tt.length,P=t.tr/1e3*t.finalSize;var vt=-1;for(d=0;d<c;d+=1)$=tt[d].charCodeAt(0),p=!1,tt[d]===" "?vt=d:($===13||$===3)&&(O=0,p=!0,nt+=t.finalLineHeight||t.finalSize*1.2),r.chars?(g=r.getCharData(tt[d],_.fStyle,_.fFamily),x=p?0:g.w*t.finalSize/100):x=r.measureText(tt[d],t.f,t.finalSize),O+x>K&&tt[d]!==" "?(vt===-1?c+=1:d=vt,nt+=t.finalLineHeight||t.finalSize*1.2,tt.splice(d,vt===d?1:0,"\r"),vt=-1,O=0):(O+=x,O+=P);nt+=_.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&pt<nt?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=tt,c=t.finalText.length,H=!1)}O=-P,x=0;var st=0,Y;for(d=0;d<c;d+=1)if(p=!1,Y=t.finalText[d],$=Y.charCodeAt(0),$===13||$===3?(st=0,L.push(O),N=O>N?O:N,O=-2*P,u="",p=!0,b+=1):u=Y,r.chars?(g=r.getCharData(Y,_.fStyle,r.getFontByName(t.f).fFamily),x=p?0:g.w*t.finalSize/100):x=r.measureText(u,t.f,t.finalSize),Y===" "?st+=x+P:(O+=x+P+st,st=0),a.push({l:x,an:x,add:I,n:p,anIndexes:[],val:u,line:b,animatorJustifyOffset:0}),k==2){if(I+=x,u===""||u===" "||d===c-1){for((u===""||u===" ")&&(I-=x);V<=d;)a[V].an=I,a[V].ind=E,a[V].extra=x,V+=1;E+=1,I=0}}else if(k==3){if(I+=x,u===""||d===c-1){for(u===""&&(I-=x);V<=d;)a[V].an=I,a[V].ind=E,a[V].extra=x,V+=1;I=0,E+=1}}else a[E].ind=E,a[E].extra=0,E+=1;if(t.l=a,N=O>N?O:N,L.push(O),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=N,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=L;var T=i.a,R,m;w=T.length;var v,U,D=[];for(z=0;z<w;z+=1){for(R=T[z],R.a.sc&&(t.strokeColorAnim=!0),R.a.sw&&(t.strokeWidthAnim=!0),(R.a.fc||R.a.fh||R.a.fs||R.a.fb)&&(t.fillColorAnim=!0),U=0,v=R.s.b,d=0;d<c;d+=1)m=a[d],m.anIndexes[z]=U,(v==1&&m.val!==""||v==2&&m.val!==""&&m.val!==" "||v==3&&(m.n||m.val==" "||d==c-1)||v==4&&(m.n||d==c-1))&&(R.s.rn===1&&D.push(U),U+=1);i.a[z].s.totalChars=U;var it=-1,ht;if(R.s.rn===1)for(d=0;d<c;d+=1)m=a[d],it!=m.anIndexes[z]&&(it=m.anIndexes[z],ht=D.splice(Math.floor(Math.random()*D.length),1)[0]),m.anIndexes[z]=ht}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=_.ascent*t.finalSize/100},he.prototype.updateDocumentData=function(t,r){r=r===void 0?this.keysIndex:r;var i=this.copyData({},this.data.d.k[r].s);i=this.copyData(i,t),this.data.d.k[r].s=i,this.recalculate(r),this.setCurrentData(i),this.elem.addDynamicProperty(this)},he.prototype.recalculate=function(t){var r=this.data.d.k[t].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},he.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},he.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var lf=function(){var t=Math.max,r=Math.min,i=Math.floor;function a(c,p){this._currentTextLength=-1,this.k=!1,this.data=p,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=rt.getProp(c,p.s||{k:0},0,0,this),"e"in p?this.e=rt.getProp(c,p.e,0,0,this):this.e={v:100},this.o=rt.getProp(c,p.o||{k:0},0,0,this),this.xe=rt.getProp(c,p.xe||{k:0},0,0,this),this.ne=rt.getProp(c,p.ne||{k:0},0,0,this),this.sm=rt.getProp(c,p.sm||{k:100},0,0,this),this.a=rt.getProp(c,p.a,0,.01,this),this.dynamicProperties.length||this.getValue()}a.prototype={getMult:function(p){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var E=0,u=0,k=1,I=1;this.ne.v>0?E=this.ne.v/100:u=-this.ne.v/100,this.xe.v>0?k=1-this.xe.v/100:I=1+this.xe.v/100;var V=$o.getBezierEasing(E,u,k,I).get,b=0,L=this.finalS,O=this.finalE,N=this.data.sh;if(N===2)O===L?b=p>=O?1:0:b=t(0,r(.5/(O-L)+(p-L)/(O-L),1)),b=V(b);else if(N===3)O===L?b=p>=O?0:1:b=1-t(0,r(.5/(O-L)+(p-L)/(O-L),1)),b=V(b);else if(N===4)O===L?b=0:(b=t(0,r(.5/(O-L)+(p-L)/(O-L),1)),b<.5?b*=2:b=1-2*(b-.5)),b=V(b);else if(N===5){if(O===L)b=0;else{var z=O-L;p=r(t(0,p+.5-L),O-L);var w=-z/2+p,_=z/2;b=Math.sqrt(1-w*w/(_*_))}b=V(b)}else N===6?(O===L?b=0:(p=r(t(0,p+.5-L),O-L),b=(1+Math.cos(Math.PI+Math.PI*2*p/(O-L)))/2),b=V(b)):(p>=i(L)&&(p-L<0?b=t(0,r(r(O,1)-(L-p),1)):b=t(0,r(O-p,1))),b=V(b));if(this.sm.v!==100){var g=this.sm.v*.01;g===0&&(g=1e-8);var x=.5-g*.5;b<x?b=0:(b=(b-x)/g,b>1&&(b=1))}return b*this.a.v},getValue:function(p){this.iterateDynamicProperties(),this._mdf=p||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,p&&this.data.r===2&&(this.e.v=this._currentTextLength);var E=this.data.r===2?1:100/this.data.totalChars,u=this.o.v/E,k=this.s.v/E+u,I=this.e.v/E+u;if(k>I){var V=k;k=I,I=V}this.finalS=k,this.finalE=I}},B([te],a);function d(c,p,E){return new a(c,p,E)}return{getTextSelectorProp:d}}();function cf(t,r,i){var a={propType:!1},d=rt.getProp,c=r.a;this.a={r:c.r?d(t,c.r,0,Tt,i):a,rx:c.rx?d(t,c.rx,0,Tt,i):a,ry:c.ry?d(t,c.ry,0,Tt,i):a,sk:c.sk?d(t,c.sk,0,Tt,i):a,sa:c.sa?d(t,c.sa,0,Tt,i):a,s:c.s?d(t,c.s,1,.01,i):a,a:c.a?d(t,c.a,1,0,i):a,o:c.o?d(t,c.o,0,.01,i):a,p:c.p?d(t,c.p,1,0,i):a,sw:c.sw?d(t,c.sw,0,0,i):a,sc:c.sc?d(t,c.sc,1,0,i):a,fc:c.fc?d(t,c.fc,1,0,i):a,fh:c.fh?d(t,c.fh,0,0,i):a,fs:c.fs?d(t,c.fs,0,.01,i):a,fb:c.fb?d(t,c.fb,0,.01,i):a,t:c.t?d(t,c.t,0,0,i):a},this.s=lf.getTextSelectorProp(t,r.s,i),this.s.t=r.s.t}function di(t,r,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=r,this._elem=i,this._animatorsData=et(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}di.prototype.searchProperties=function(){var t,r=this._textData.a.length,i,a=rt.getProp;for(t=0;t<r;t+=1)i=this._textData.a[t],this._animatorsData[t]=new cf(this._elem,i,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:a(this._elem,this._textData.p.a,0,0,this),f:a(this._elem,this._textData.p.f,0,0,this),l:a(this._elem,this._textData.p.l,0,0,this),r:a(this._elem,this._textData.p.r,0,0,this),p:a(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=a(this._elem,this._textData.m.a,1,0,this)},di.prototype.getMeasures=function(t,r){if(this.lettersChangedFlag=r,!(!this._mdf&&!this._isFirstFrame&&!r&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var i=this._moreOptions.alignment.v,a=this._animatorsData,d=this._textData,c=this.mHelper,p=this._renderType,E=this.renderedLetters.length,u,k,I,V,b=t.l,L,O,N,z,w,_,g,x,C,P,$,H,K,pt,nt;if(this._hasMaskedPath){if(nt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var tt=nt.v;this._pathData.r.v&&(tt=tt.reverse()),L={tLength:0,segments:[]},V=tt._length-1;var vt;for(H=0,I=0;I<V;I+=1)vt=ir.buildBezierData(tt.v[I],tt.v[I+1],[tt.o[I][0]-tt.v[I][0],tt.o[I][1]-tt.v[I][1]],[tt.i[I+1][0]-tt.v[I+1][0],tt.i[I+1][1]-tt.v[I+1][1]]),L.tLength+=vt.segmentLength,L.segments.push(vt),H+=vt.segmentLength;I=V,nt.v.c&&(vt=ir.buildBezierData(tt.v[I],tt.v[0],[tt.o[I][0]-tt.v[I][0],tt.o[I][1]-tt.v[I][1]],[tt.i[0][0]-tt.v[0][0],tt.i[0][1]-tt.v[0][1]]),L.tLength+=vt.segmentLength,L.segments.push(vt),H+=vt.segmentLength),this._pathData.pi=L}if(L=this._pathData.pi,O=this._pathData.f.v,g=0,_=1,z=0,w=!0,P=L.segments,O<0&&nt.v.c)for(L.tLength<Math.abs(O)&&(O=-Math.abs(O)%L.tLength),g=P.length-1,C=P[g].points,_=C.length-1;O<0;)O+=C[_].partialLength,_-=1,_<0&&(g-=1,C=P[g].points,_=C.length-1);C=P[g].points,x=C[_-1],N=C[_],$=N.partialLength}V=b.length,u=0,k=0;var st=t.finalSize*1.2*.714,Y=!0,T,R,m,v,U;v=a.length;var D,it=-1,ht,ut,kt,Ct=O,jt=g,ye=_,sr=-1,Ee,ee,Ie,Mt,at,fr,Gr,vr,ar="",gr=this.defaultPropsArray,br;if(t.j===2||t.j===1){var xe=0,jr=0,Wr=t.j===2?-.5:-1,Ye=0,qr=!0;for(I=0;I<V;I+=1)if(b[I].n){for(xe&&(xe+=jr);Ye<I;)b[Ye].animatorJustifyOffset=xe,Ye+=1;xe=0,qr=!0}else{for(m=0;m<v;m+=1)T=a[m].a,T.t.propType&&(qr&&t.j===2&&(jr+=T.t.v*Wr),R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),D.length?xe+=T.t.v*D[0]*Wr:xe+=T.t.v*D*Wr);qr=!1}for(xe&&(xe+=jr);Ye<I;)b[Ye].animatorJustifyOffset=xe,Ye+=1}for(I=0;I<V;I+=1){if(c.reset(),Ee=1,b[I].n)u=0,k+=t.yOffset,k+=Y?1:0,O=Ct,Y=!1,this._hasMaskedPath&&(g=jt,_=ye,C=P[g].points,x=C[_-1],N=C[_],$=N.partialLength,z=0),ar="",vr="",fr="",br="",gr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(sr!==b[I].line){switch(t.j){case 1:O+=H-t.lineWidths[b[I].line];break;case 2:O+=(H-t.lineWidths[b[I].line])/2;break;default:break}sr=b[I].line}it!==b[I].ind&&(b[it]&&(O+=b[it].extra),O+=b[I].an/2,it=b[I].ind),O+=i[0]*b[I].an*.005;var Ke=0;for(m=0;m<v;m+=1)T=a[m].a,T.p.propType&&(R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),D.length?Ke+=T.p.v[0]*D[0]:Ke+=T.p.v[0]*D),T.a.propType&&(R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),D.length?Ke+=T.a.v[0]*D[0]:Ke+=T.a.v[0]*D);for(w=!0,this._pathData.a.v&&(O=b[0].an*.5+(H-this._pathData.f.v-b[0].an*.5-b[b.length-1].an*.5)*it/(V-1),O+=this._pathData.f.v);w;)z+$>=O+Ke||!C?(K=(O+Ke-z)/N.partialLength,ut=x.point[0]+(N.point[0]-x.point[0])*K,kt=x.point[1]+(N.point[1]-x.point[1])*K,c.translate(-i[0]*b[I].an*.005,-(i[1]*st)*.01),w=!1):C&&(z+=N.partialLength,_+=1,_>=C.length&&(_=0,g+=1,P[g]?C=P[g].points:nt.v.c?(_=0,g=0,C=P[g].points):(z-=N.partialLength,C=null)),C&&(x=N,N=C[_],$=N.partialLength));ht=b[I].an/2-b[I].add,c.translate(-ht,0,0)}else ht=b[I].an/2-b[I].add,c.translate(-ht,0,0),c.translate(-i[0]*b[I].an*.005,-i[1]*st*.01,0);for(m=0;m<v;m+=1)T=a[m].a,T.t.propType&&(R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),(u!==0||t.j!==0)&&(this._hasMaskedPath?D.length?O+=T.t.v*D[0]:O+=T.t.v*D:D.length?u+=T.t.v*D[0]:u+=T.t.v*D));for(t.strokeWidthAnim&&(Ie=t.sw||0),t.strokeColorAnim&&(t.sc?ee=[t.sc[0],t.sc[1],t.sc[2]]:ee=[0,0,0]),t.fillColorAnim&&t.fc&&(Mt=[t.fc[0],t.fc[1],t.fc[2]]),m=0;m<v;m+=1)T=a[m].a,T.a.propType&&(R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),D.length?c.translate(-T.a.v[0]*D[0],-T.a.v[1]*D[1],T.a.v[2]*D[2]):c.translate(-T.a.v[0]*D,-T.a.v[1]*D,T.a.v[2]*D));for(m=0;m<v;m+=1)T=a[m].a,T.s.propType&&(R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),D.length?c.scale(1+(T.s.v[0]-1)*D[0],1+(T.s.v[1]-1)*D[1],1):c.scale(1+(T.s.v[0]-1)*D,1+(T.s.v[1]-1)*D,1));for(m=0;m<v;m+=1){if(T=a[m].a,R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),T.sk.propType&&(D.length?c.skewFromAxis(-T.sk.v*D[0],T.sa.v*D[1]):c.skewFromAxis(-T.sk.v*D,T.sa.v*D)),T.r.propType&&(D.length?c.rotateZ(-T.r.v*D[2]):c.rotateZ(-T.r.v*D)),T.ry.propType&&(D.length?c.rotateY(T.ry.v*D[1]):c.rotateY(T.ry.v*D)),T.rx.propType&&(D.length?c.rotateX(T.rx.v*D[0]):c.rotateX(T.rx.v*D)),T.o.propType&&(D.length?Ee+=(T.o.v*D[0]-Ee)*D[0]:Ee+=(T.o.v*D-Ee)*D),t.strokeWidthAnim&&T.sw.propType&&(D.length?Ie+=T.sw.v*D[0]:Ie+=T.sw.v*D),t.strokeColorAnim&&T.sc.propType)for(at=0;at<3;at+=1)D.length?ee[at]+=(T.sc.v[at]-ee[at])*D[0]:ee[at]+=(T.sc.v[at]-ee[at])*D;if(t.fillColorAnim&&t.fc){if(T.fc.propType)for(at=0;at<3;at+=1)D.length?Mt[at]+=(T.fc.v[at]-Mt[at])*D[0]:Mt[at]+=(T.fc.v[at]-Mt[at])*D;T.fh.propType&&(D.length?Mt=$c(Mt,T.fh.v*D[0]):Mt=$c(Mt,T.fh.v*D)),T.fs.propType&&(D.length?Mt=Fc(Mt,T.fs.v*D[0]):Mt=Fc(Mt,T.fs.v*D)),T.fb.propType&&(D.length?Mt=zc(Mt,T.fb.v*D[0]):Mt=zc(Mt,T.fb.v*D))}}for(m=0;m<v;m+=1)T=a[m].a,T.p.propType&&(R=a[m].s,D=R.getMult(b[I].anIndexes[m],d.a[m].s.totalChars),this._hasMaskedPath?D.length?c.translate(0,T.p.v[1]*D[0],-T.p.v[2]*D[1]):c.translate(0,T.p.v[1]*D,-T.p.v[2]*D):D.length?c.translate(T.p.v[0]*D[0],T.p.v[1]*D[1],-T.p.v[2]*D[2]):c.translate(T.p.v[0]*D,T.p.v[1]*D,-T.p.v[2]*D));if(t.strokeWidthAnim&&(fr=Ie<0?0:Ie),t.strokeColorAnim&&(Gr="rgb("+Math.round(ee[0]*255)+","+Math.round(ee[1]*255)+","+Math.round(ee[2]*255)+")"),t.fillColorAnim&&t.fc&&(vr="rgb("+Math.round(Mt[0]*255)+","+Math.round(Mt[1]*255)+","+Math.round(Mt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-t.ls),c.translate(0,i[1]*st*.01+k,0),this._pathData.p.v){pt=(N.point[1]-x.point[1])/(N.point[0]-x.point[0]);var hi=Math.atan(pt)*180/Math.PI;N.point[0]<x.point[0]&&(hi+=180),c.rotate(-hi*Math.PI/180)}c.translate(ut,kt,0),O-=i[0]*b[I].an*.005,b[I+1]&&it!==b[I+1].ind&&(O+=b[I].an/2,O+=t.tr*.001*t.finalSize)}else{switch(c.translate(u,k,0),t.ps&&c.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:c.translate(b[I].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[b[I].line]),0,0);break;case 2:c.translate(b[I].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[b[I].line])/2,0,0);break;default:break}c.translate(0,-t.ls),c.translate(ht,0,0),c.translate(i[0]*b[I].an*.005,i[1]*st*.01,0),u+=b[I].l+t.tr*.001*t.finalSize}p==="html"?ar=c.toCSS():p==="svg"?ar=c.to2dCSS():gr=[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=Ee}E<=I?(U=new Gn(br,fr,Gr,vr,ar,gr),this.renderedLetters.push(U),E+=1,this.lettersChangedFlag=!0):(U=this.renderedLetters[I],this.lettersChangedFlag=U.update(br,fr,Gr,vr,ar,gr)||this.lettersChangedFlag)}}},di.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},di.prototype.mHelper=new ae,di.prototype.defaultPropsArray=[],B([te],di);function ze(){}ze.prototype.initElement=function(t,r,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,r,i),this.textProperty=new he(this,t.t,this.dynamicProperties),this.textAnimator=new di(t.t,this.renderType,this),this.initTransform(t,r,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ze.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},ze.prototype.createPathShape=function(t,r){var i,a=r.length,d,c="";for(i=0;i<a;i+=1)r[i].ty==="sh"&&(d=r[i].ks.k,c+=kd(d,d.i.length,!0,t));return c},ze.prototype.updateDocumentData=function(t,r){this.textProperty.updateDocumentData(t,r)},ze.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ze.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ze.prototype.applyTextPropertiesToMatrix=function(t,r,i,a,d){switch(t.ps&&r.translate(t.ps[0],t.ps[1]+t.ascent,0),r.translate(0,-t.ls,0),t.j){case 1:r.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i]),0,0);break;case 2:r.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0);break;default:break}r.translate(a,d,0)},ze.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},ze.prototype.emptyProp=new Gn,ze.prototype.destroy=function(){},ze.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var df={shapes:[]};function pr(t,r,i){this.textSpans=[],this.renderType="svg",this.initElement(t,r,i)}B([Vr,Zi,qo,Ji,Br,Yo,ze],pr),pr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=ft("text"))},pr.prototype.buildTextContents=function(t){for(var r=0,i=t.length,a=[],d="";r<i;)t[r]==="\r"||t[r]===""?(a.push(d),d=""):d+=t[r],r+=1;return a.push(d),a},pr.prototype.buildShapeData=function(t,r){if(t.shapes&&t.shapes.length){var i=t.shapes[0];if(i.it){var a=i.it[i.it.length-1];a.s&&(a.s.k[0]=r,a.s.k[1]=r)}}return t},pr.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,r,i=this.textProperty.currentData;this.renderedLetters=et(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var a=this.globalData.fontManager.getFontByName(i.f);if(a.fClass)this.layerElement.setAttribute("class",a.fClass);else{this.layerElement.setAttribute("font-family",a.fFamily);var d=i.fWeight,c=i.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",d)}this.layerElement.setAttribute("aria-label",i.t);var p=i.l||[],E=!!this.globalData.fontManager.chars;r=p.length;var u,k=this.mHelper,I="",V=this.data.singleShape,b=0,L=0,O=!0,N=i.tr*.001*i.finalSize;if(V&&!E&&!i.sz){var z=this.textContainer,w="start";switch(i.j){case 1:w="end";break;case 2:w="middle";break;default:w="start";break}z.setAttribute("text-anchor",w),z.setAttribute("letter-spacing",N);var _=this.buildTextContents(i.finalText);for(r=_.length,L=i.ps?i.ps[1]+i.ascent:0,t=0;t<r;t+=1)u=this.textSpans[t].span||ft("tspan"),u.textContent=_[t],u.setAttribute("x",0),u.setAttribute("y",L),u.style.display="inherit",z.appendChild(u),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=u,L+=i.finalLineHeight;this.layerElement.appendChild(z)}else{var g=this.textSpans.length,x;for(t=0;t<r;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!E||!V||t===0){if(u=g>t?this.textSpans[t].span:ft(E?"g":"text"),g<=t){if(u.setAttribute("stroke-linecap","butt"),u.setAttribute("stroke-linejoin","round"),u.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=u,E){var C=ft("g");u.appendChild(C),this.textSpans[t].childSpan=C}this.textSpans[t].span=u,this.layerElement.appendChild(u)}u.style.display="inherit"}if(k.reset(),V&&(p[t].n&&(b=-N,L+=i.yOffset,L+=O?1:0,O=!1),this.applyTextPropertiesToMatrix(i,k,p[t].line,b,L),b+=p[t].l||0,b+=N),E){x=this.globalData.fontManager.getCharData(i.finalText[t],a.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var P;if(x.t===1)P=new Zo(x.data,this.globalData,this);else{var $=df;x.data&&x.data.shapes&&($=this.buildShapeData(x.data,i.finalSize)),P=new Ut($,this.globalData,this)}if(this.textSpans[t].glyph){var H=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(H.layerElement),H.destroy()}this.textSpans[t].glyph=P,P._debug=!0,P.prepareFrame(0),P.renderFrame(),this.textSpans[t].childSpan.appendChild(P.layerElement),x.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else V&&u.setAttribute("transform","translate("+k.props[12]+","+k.props[13]+")"),u.textContent=p[t].val,u.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}V&&u&&u.setAttribute("d",I)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},pr.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},pr.prototype.getValue=function(){var t,r=this.textSpans.length,i;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<r;t+=1)i=this.textSpans[t].glyph,i&&(i.prepareFrame(this.comp.renderedFrame-this.data.st),i._mdf&&(this._mdf=!0))},pr.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var t,r,i=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;r=a.length;var d,c,p;for(t=0;t<r;t+=1)a[t].n||(d=i[t],c=this.textSpans[t].span,p=this.textSpans[t].glyph,p&&p.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 jn(t,r,i){this.initElement(t,r,i)}B([Ko],jn),jn.prototype.createContent=function(){var t=ft("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)};function Hr(t,r,i){this.initFrame(),this.initBaseData(t,r,i),this.initFrame(),this.initTransform(t,r,i),this.initHierarchy()}Hr.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},Hr.prototype.renderFrame=function(){},Hr.prototype.getBaseElement=function(){return null},Hr.prototype.destroy=function(){},Hr.prototype.sourceRectAtTime=function(){},Hr.prototype.hide=function(){},B([Vr,Zi,Ji,Br],Hr);function Yt(){}B([ne],Yt),Yt.prototype.createNull=function(t){return new Hr(t,this.globalData,this)},Yt.prototype.createShape=function(t){return new Ut(t,this.globalData,this)},Yt.prototype.createText=function(t){return new pr(t,this.globalData,this)},Yt.prototype.createImage=function(t){return new Ko(t,this.globalData,this)},Yt.prototype.createSolid=function(t){return new jn(t,this.globalData,this)},Yt.prototype.configAnimation=function(t){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 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.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(t,r),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var i=ft("clipPath"),a=ft("rect");a.setAttribute("width",t.w),a.setAttribute("height",t.h),a.setAttribute("x",0),a.setAttribute("y",0);var d=ge();i.setAttribute("id",d),i.appendChild(a),this.layerElement.setAttribute("clip-path","url("+S()+"#"+d+")"),r.appendChild(i),this.layers=t.layers,this.elements=et(t.layers.length)},Yt.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,r=this.layers?this.layers.length:0;for(t=0;t<r;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},Yt.prototype.updateContainerSize=function(){},Yt.prototype.findIndexByInd=function(t){var r=0,i=this.layers.length;for(r=0;r<i;r+=1)if(this.layers[r].ind===t)return r;return-1},Yt.prototype.buildItem=function(t){var r=this.elements;if(!(r[t]||this.layers[t].ty===99)){r[t]=!0;var i=this.createItem(this.layers[t]);if(r[t]=i,Gs()&&(this.layers[t].ty===0&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,t),this.layers[t].tt){var a="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(a===-1)return;if(!this.elements[a]||this.elements[a]===!0)this.buildItem(a),this.addPendingElement(i);else{var d=r[a],c=d.getMatte(this.layers[t].tt);i.setMatte(c)}}}},Yt.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var r=0,i=this.elements.length;r<i;){if(this.elements[r]===t){var a="tp"in t.data?this.findIndexByInd(t.data.tp):r-1,d=this.elements[a],c=d.getMatte(this.layers[r].tt);t.setMatte(c);break}r+=1}}},Yt.prototype.renderFrame=function(t){if(!(this.renderedFrame===t||this.destroyed)){t===null?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf)for(r=0;r<i;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame()}},Yt.prototype.appendElementInPos=function(t,r){var i=t.getBaseElement();if(i){for(var a=0,d;a<r;)this.elements[a]&&this.elements[a]!==!0&&this.elements[a].getBaseElement()&&(d=this.elements[a].getBaseElement()),a+=1;d?this.layerElement.insertBefore(i,d):this.layerElement.appendChild(i)}},Yt.prototype.hide=function(){this.layerElement.style.display="none"},Yt.prototype.show=function(){this.layerElement.style.display="block"};function ur(){}B([Vr,Zi,Ji,Br,Yo],ur),ur.prototype.initElement=function(t,r,i){this.initFrame(),this.initBaseData(t,r,i),this.initTransform(t,r,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!r.progressiveLoad)&&this.buildAllItems(),this.hide()},ur.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var r=this.tm.v;r===this.data.op&&(r=this.data.op-1),this.renderedFrame=r}var i,a=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=a-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},ur.prototype.renderInnerContent=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ur.prototype.setElements=function(t){this.elements=t},ur.prototype.getElements=function(){return this.elements},ur.prototype.destroyElements=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)this.elements[t]&&this.elements[t].destroy()},ur.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function Zo(t,r,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?et(this.layers.length):[],this.initElement(t,r,i),this.tm=t.tm?rt.getProp(this,t.tm,0,r.frameRate,this):{_placeholder:!0}}B([Yt,ur,qo],Zo),Zo.prototype.createComp=function(t){return new Zo(t,this.globalData,this)};function Wn(t,r){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=ft("svg");var i="";if(r&&r.title){var a=ft("title"),d=ge();a.setAttribute("id",d),a.textContent=r.title,this.svgElement.appendChild(a),i+=d}if(r&&r.description){var c=ft("desc"),p=ge();c.setAttribute("id",p),c.textContent=r.description,this.svgElement.appendChild(c),i+=" "+p}i&&this.svgElement.setAttribute("aria-labelledby",i);var E=ft("defs");this.svgElement.appendChild(E);var u=ft("g");this.svgElement.appendChild(u),this.layerElement=u,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:E,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return B([Yt],Wn),Wn.prototype.createComp=function(t){return new Zo(t,this.globalData,this)},yu("svg",Wn),zr.registerModifier("tm",qe),zr.registerModifier("pb",Vo),zr.registerModifier("rp",or),zr.registerModifier("rd",Bo),zr.registerModifier("zz",Ho),zr.registerModifier("op",Go),It})});var da=globalThis,ha=da.ShadowRoot&&(da.ShadyCSS===void 0||da.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,qn=Symbol(),wd=new WeakMap,Jo=class{constructor(o,e,s){if(this._$cssResult$=!0,s!==qn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=e}get styleSheet(){let o=this.o,e=this.t;if(ha&&o===void 0){let s=e!==void 0&&e.length===1;s&&(o=wd.get(e)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),s&&wd.set(e,o))}return o}toString(){return this.cssText}},Id=l=>new Jo(typeof l=="string"?l:l+"",void 0,qn),W=(l,...o)=>{let e=l.length===1?l[0]:o.reduce((s,n,h)=>s+(f=>{if(f._$cssResult$===!0)return f.cssText;if(typeof f=="number")return f;throw Error("Value passed to 'css' function must be a 'css' function result: "+f+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+l[h+1],l[0]);return new Jo(e,l,qn)},Yn=(l,o)=>{if(ha)l.adoptedStyleSheets=o.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of o){let s=document.createElement("style"),n=da.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,l.appendChild(s)}},ma=ha?l=>l:l=>l instanceof CSSStyleSheet?(o=>{let e="";for(let s of o.cssRules)e+=s.cssText;return Id(e)})(l):l;var{is:yf,defineProperty:Ef,getOwnPropertyDescriptor:xf,getOwnPropertyNames:Tf,getOwnPropertySymbols:Af,getPrototypeOf:_f}=Object,Yr=globalThis,Ld=Yr.trustedTypes,Sf=Ld?Ld.emptyScript:"",Kn=Yr.reactiveElementPolyfillSupport,Qo=(l,o)=>l,ts={toAttribute(l,o){switch(o){case Boolean:l=l?Sf:null;break;case Object:case Array:l=l==null?l:JSON.stringify(l)}return l},fromAttribute(l,o){let e=l;switch(o){case Boolean:e=l!==null;break;case Number:e=l===null?null:Number(l);break;case Object:case Array:try{e=JSON.parse(l)}catch{e=null}}return e}},pa=(l,o)=>!yf(l,o),Md={attribute:!0,type:String,converter:ts,reflect:!1,hasChanged:pa},Nd,Rd;(Nd=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Rd=Yr.litPropertyMetadata)!=null||(Yr.litPropertyMetadata=new WeakMap);var yr=class extends HTMLElement{static addInitializer(o){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(o)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(o,e=Md){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(o,e),!e.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(o,s,e);n!==void 0&&Ef(this.prototype,o,n)}}static getPropertyDescriptor(o,e,s){var f;let{get:n,set:h}=(f=xf(this.prototype,o))!=null?f:{get(){return this[e]},set(S){this[e]=S}};return{get(){return n==null?void 0:n.call(this)},set(S){let M=n==null?void 0:n.call(this);h.call(this,S),this.requestUpdate(o,M,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){var e;return(e=this.elementProperties.get(o))!=null?e:Md}static _$Ei(){if(this.hasOwnProperty(Qo("elementProperties")))return;let o=_f(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(Qo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Qo("properties"))){let e=this.properties,s=[...Tf(e),...Af(e)];for(let n of s)this.createProperty(n,e[n])}let o=this[Symbol.metadata];if(o!==null){let e=litPropertyMetadata.get(o);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){let e=[];if(Array.isArray(o)){let s=new Set(o.flat(1/0).reverse());for(let n of s)e.unshift(ma(n))}else o!==void 0&&e.push(ma(o));return e}static _$Eu(o,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof o=="string"?o.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var o;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(o=this.constructor.l)==null||o.forEach(e=>e(this))}addController(o){var e,s;((e=this._$EO)!=null?e:this._$EO=new Set).add(o),this.renderRoot!==void 0&&this.isConnected&&((s=o.hostConnected)==null||s.call(o))}removeController(o){var e;(e=this._$EO)==null||e.delete(o)}_$E_(){let o=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(o.set(s,this[s]),delete this[s]);o.size>0&&(this._$Ep=o)}createRenderRoot(){var e;let o=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return Yn(o,this.constructor.elementStyles),o}connectedCallback(){var o,e;(o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(s=>{var n;return(n=s.hostConnected)==null?void 0:n.call(s)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(o,e,s){this._$AK(o,s)}_$EC(o,e){var h;let s=this.constructor.elementProperties.get(o),n=this.constructor._$Eu(o,s);if(n!==void 0&&s.reflect===!0){let f=(((h=s.converter)==null?void 0:h.toAttribute)!==void 0?s.converter:ts).toAttribute(e,s.type);this._$Em=o,f==null?this.removeAttribute(n):this.setAttribute(n,f),this._$Em=null}}_$AK(o,e){var h;let s=this.constructor,n=s._$Eh.get(o);if(n!==void 0&&this._$Em!==n){let f=s.getPropertyOptions(n),S=typeof f.converter=="function"?{fromAttribute:f.converter}:((h=f.converter)==null?void 0:h.fromAttribute)!==void 0?f.converter:ts;this._$Em=n,this[n]=S.fromAttribute(e,f.type),this._$Em=null}}requestUpdate(o,e,s){var n;if(o!==void 0){if(s!=null||(s=this.constructor.getPropertyOptions(o)),!((n=s.hasChanged)!=null?n:pa)(this[o],e))return;this.P(o,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,e,s){var n;this._$AL.has(o)||this._$AL.set(o,e),s.reflect===!0&&this._$Em!==o&&((n=this._$Ej)!=null?n:this._$Ej=new Set).add(o)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let o=this.scheduleUpdate();return o!=null&&await o,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s,n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((s=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[f,S]of this._$Ep)this[f]=S;this._$Ep=void 0}let h=this.constructor.elementProperties;if(h.size>0)for(let[f,S]of h)S.wrapped!==!0||this._$AL.has(f)||this[f]===void 0||this.P(f,this[f],S)}let o=!1,e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),(n=this._$EO)==null||n.forEach(h=>{var f;return(f=h.hostUpdate)==null?void 0:f.call(h)}),this.update(e)):this._$EU()}catch(h){throw o=!1,this._$EU(),h}o&&this._$AE(e)}willUpdate(o){}_$AE(o){var e;(e=this._$EO)==null||e.forEach(s=>{var n;return(n=s.hostUpdated)==null?void 0:n.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(o)),this.updated(o)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(o){return!0}update(o){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(o){}firstUpdated(o){}},Od;yr.elementStyles=[],yr.shadowRootOptions={mode:"open"},yr[Qo("elementProperties")]=new Map,yr[Qo("finalized")]=new Map,Kn==null||Kn({ReactiveElement:yr}),((Od=Yr.reactiveElementVersions)!=null?Od:Yr.reactiveElementVersions=[]).push("2.0.4");var rs=globalThis,ua=rs.trustedTypes,Pd=ua?ua.createPolicy("lit-html",{createHTML:l=>l}):void 0,Jn="$lit$",Er=`lit$${Math.random().toFixed(9).slice(2)}$`,Qn="?"+Er,kf=`<${Qn}>`,ui=document,is=()=>ui.createComment(""),os=l=>l===null||typeof l!="object"&&typeof l!="function",tl=Array.isArray,Ud=l=>tl(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",Xn=`[
|
3
|
+
\f\r]`,es=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dd=/-->/g,Fd=/>/g,mi=RegExp(`>|${Xn}(?:([^\\s"'>=/]+)(${Xn}*=${Xn}*(?:[^
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),zd=/'/g,$d=/"/g,Hd=/^(?:script|style|textarea|title)$/i,el=l=>(o,...e)=>({_$litType$:l,strings:o,values:e}),F=el(1),_0=el(2),S0=el(3),xr=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),Vd=new WeakMap,pi=ui.createTreeWalker(ui,129);function Gd(l,o){if(!tl(l)||!l.hasOwnProperty("raw"))throw Error("invalid template strings array");return Pd!==void 0?Pd.createHTML(o):o}var jd=(l,o)=>{let e=l.length-1,s=[],n,h=o===2?"<svg>":o===3?"<math>":"",f=es;for(let S=0;S<e;S++){let M=l[S],B,G,q=-1,ot=0;for(;ot<M.length&&(f.lastIndex=ot,G=f.exec(M),G!==null);)ot=f.lastIndex,f===es?G[1]==="!--"?f=Dd:G[1]!==void 0?f=Fd:G[2]!==void 0?(Hd.test(G[2])&&(n=RegExp("</"+G[2],"g")),f=mi):G[3]!==void 0&&(f=mi):f===mi?G[0]===">"?(f=n!=null?n:es,q=-1):G[1]===void 0?q=-2:(q=f.lastIndex-G[2].length,B=G[1],f=G[3]===void 0?mi:G[3]==='"'?$d:zd):f===$d||f===zd?f=mi:f===Dd||f===Fd?f=es:(f=mi,n=void 0);let Q=f===mi&&l[S+1].startsWith("/>")?" ":"";h+=f===es?M+kf:q>=0?(s.push(B),M.slice(0,q)+Jn+M.slice(q)+Er+Q):M+Er+(q===-2?S:Q)}return[Gd(l,h+(l[e]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),s]},ss=class l{constructor({strings:o,_$litType$:e},s){let n;this.parts=[];let h=0,f=0,S=o.length-1,M=this.parts,[B,G]=jd(o,e);if(this.el=l.createElement(B,s),pi.currentNode=this.el.content,e===2||e===3){let q=this.el.content.firstChild;q.replaceWith(...q.childNodes)}for(;(n=pi.nextNode())!==null&&M.length<S;){if(n.nodeType===1){if(n.hasAttributes())for(let q of n.getAttributeNames())if(q.endsWith(Jn)){let ot=G[f++],Q=n.getAttribute(q).split(Er),et=/([.?@])?(.*)/.exec(ot);M.push({type:1,index:h,name:et[2],strings:Q,ctor:et[1]==="."?va:et[1]==="?"?ga:et[1]==="@"?ba:vi}),n.removeAttribute(q)}else q.startsWith(Er)&&(M.push({type:6,index:h}),n.removeAttribute(q));if(Hd.test(n.tagName)){let q=n.textContent.split(Er),ot=q.length-1;if(ot>0){n.textContent=ua?ua.emptyScript:"";for(let Q=0;Q<ot;Q++)n.append(q[Q],is()),pi.nextNode(),M.push({type:2,index:++h});n.append(q[ot],is())}}}else if(n.nodeType===8)if(n.data===Qn)M.push({type:2,index:h});else{let q=-1;for(;(q=n.data.indexOf(Er,q+1))!==-1;)M.push({type:7,index:h}),q+=Er.length-1}h++}}static createElement(o,e){let s=ui.createElement("template");return s.innerHTML=o,s}};function fi(l,o,e=l,s){var f,S,M;if(o===xr)return o;let n=s!==void 0?(f=e.o)==null?void 0:f[s]:e.l,h=os(o)?void 0:o._$litDirective$;return(n==null?void 0:n.constructor)!==h&&((S=n==null?void 0:n._$AO)==null||S.call(n,!1),h===void 0?n=void 0:(n=new h(l),n._$AT(l,e,s)),s!==void 0?((M=e.o)!=null?M:e.o=[])[s]=n:e.l=n),n!==void 0&&(o=fi(l,n._$AS(l,o.values),n,s)),o}var fa=class{constructor(o,e){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){var B;let{el:{content:e},parts:s}=this._$AD,n=((B=o==null?void 0:o.creationScope)!=null?B:ui).importNode(e,!0);pi.currentNode=n;let h=pi.nextNode(),f=0,S=0,M=s[0];for(;M!==void 0;){if(f===M.index){let G;M.type===2?G=new to(h,h.nextSibling,this,o):M.type===1?G=new M.ctor(h,M.name,M.strings,this,o):M.type===6&&(G=new ya(h,this,o)),this._$AV.push(G),M=s[++S]}f!==(M==null?void 0:M.index)&&(h=pi.nextNode(),f++)}return pi.currentNode=ui,n}p(o){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(o,s,e),e+=s.strings.length-2):s._$AI(o[e])),e++}},to=class l{get _$AU(){var o,e;return(e=(o=this._$AM)==null?void 0:o._$AU)!=null?e:this.v}constructor(o,e,s,n){var h;this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=o,this._$AB=e,this._$AM=s,this.options=n,this.v=(h=n==null?void 0:n.isConnected)!=null?h:!0}get parentNode(){let o=this._$AA.parentNode,e=this._$AM;return e!==void 0&&(o==null?void 0:o.nodeType)===11&&(o=e.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,e=this){o=fi(this,o,e),os(o)?o===Z||o==null||o===""?(this._$AH!==Z&&this._$AR(),this._$AH=Z):o!==this._$AH&&o!==xr&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Ud(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==Z&&os(this._$AH)?this._$AA.nextSibling.data=o:this.T(ui.createTextNode(o)),this._$AH=o}$(o){var h;let{values:e,_$litType$:s}=o,n=typeof s=="number"?this._$AC(o):(s.el===void 0&&(s.el=ss.createElement(Gd(s.h,s.h[0]),this.options)),s);if(((h=this._$AH)==null?void 0:h._$AD)===n)this._$AH.p(e);else{let f=new fa(n,this),S=f.u(this.options);f.p(e),this.T(S),this._$AH=f}}_$AC(o){let e=Vd.get(o.strings);return e===void 0&&Vd.set(o.strings,e=new ss(o)),e}k(o){tl(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,n=0;for(let h of o)n===e.length?e.push(s=new l(this.O(is()),this.O(is()),this,this.options)):s=e[n],s._$AI(h),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(o=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}setConnected(o){var e;this._$AM===void 0&&(this.v=o,(e=this._$AP)==null||e.call(this,o))}},vi=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,e,s,n,h){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=o,this.name=e,this._$AM=n,this.options=h,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=Z}_$AI(o,e=this,s,n){let h=this.strings,f=!1;if(h===void 0)o=fi(this,o,e,0),f=!os(o)||o!==this._$AH&&o!==xr,f&&(this._$AH=o);else{let S=o,M,B;for(o=h[0],M=0;M<h.length-1;M++)B=fi(this,S[s+M],e,M),B===xr&&(B=this._$AH[M]),f||(f=!os(B)||B!==this._$AH[M]),B===Z?o=Z:o!==Z&&(o+=(B!=null?B:"")+h[M+1]),this._$AH[M]=B}f&&!n&&this.j(o)}j(o){o===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o!=null?o:"")}},va=class extends vi{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===Z?void 0:o}},ga=class extends vi{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==Z)}},ba=class extends vi{constructor(o,e,s,n,h){super(o,e,s,n,h),this.type=5}_$AI(o,e=this){var f;if((o=(f=fi(this,o,e,0))!=null?f:Z)===xr)return;let s=this._$AH,n=o===Z&&s!==Z||o.capture!==s.capture||o.once!==s.once||o.passive!==s.passive,h=o!==Z&&(s===Z||n);n&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)==null?void 0:e.host)!=null?s:this.element,o):this._$AH.handleEvent(o)}},ya=class{constructor(o,e,s){this.element=o,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(o){fi(this,o)}},Wd={M:Jn,P:Er,A:Qn,C:1,L:jd,R:fa,D:Ud,V:fi,I:to,H:vi,N:ga,U:ba,B:va,F:ya},Zn=rs.litHtmlPolyfillSupport,Bd;Zn==null||Zn(ss,to),((Bd=rs.litHtmlVersions)!=null?Bd:rs.litHtmlVersions=[]).push("3.2.0");var qd=(l,o,e)=>{var h,f;let s=(h=e==null?void 0:e.renderBefore)!=null?h:o,n=s._$litPart$;if(n===void 0){let S=(f=e==null?void 0:e.renderBefore)!=null?f:null;s._$litPart$=n=new to(o.insertBefore(is(),S),S,void 0,e!=null?e:{})}return n._$AI(l),n};var Kr=class extends yr{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var e,s;let o=super.createRenderRoot();return(s=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=o.firstChild),o}update(o){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(o),this.o=qd(e,this.renderRoot,this.renderOptions)}connectedCallback(){var o;super.connectedCallback(),(o=this.o)==null||o.setConnected(!0)}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this.o)==null||o.setConnected(!1)}render(){return xr}},Yd;Kr._$litElement$=!0,Kr.finalized=!0,(Yd=globalThis.litElementHydrateSupport)==null||Yd.call(globalThis,{LitElement:Kr});var rl=globalThis.litElementPolyfillSupport;rl==null||rl({LitElement:Kr});var Kd;((Kd=globalThis.litElementVersions)!=null?Kd:globalThis.litElementVersions=[]).push("4.1.0");var Cf={attribute:!0,type:String,converter:ts,reflect:!1,hasChanged:pa},wf=(l=Cf,o,e)=>{let{kind:s,metadata:n}=e,h=globalThis.litPropertyMetadata.get(n);if(h===void 0&&globalThis.litPropertyMetadata.set(n,h=new Map),h.set(e.name,l),s==="accessor"){let{name:f}=e;return{set(S){let M=o.get.call(this);o.set.call(this,S),this.requestUpdate(f,M,l)},init(S){return S!==void 0&&this.P(f,void 0,l),S}}}if(s==="setter"){let{name:f}=e;return function(S){let M=this[f];o.call(this,S),this.requestUpdate(f,M,l)}}throw Error("Unsupported decorator location: "+s)};function A(l){return(o,e)=>typeof e=="object"?wf(l,o,e):((s,n,h)=>{let f=n.hasOwnProperty(h);return n.constructor.createProperty(h,f?{...s,wrapped:!0}:s),f?Object.getOwnPropertyDescriptor(n,h):void 0})(l,o,e)}function At(l){return A({...l,state:!0,attribute:!1})}var Tr=(l,o,e)=>(e.configurable=!0,e.enumerable=!0,Reflect.decorate&&typeof o!="object"&&Object.defineProperty(l,o,e),e);function Ar(l,o){return(e,s,n)=>{let h=f=>{var S,M;return(M=(S=f.renderRoot)==null?void 0:S.querySelector(l))!=null?M:null};if(o){let{get:f,set:S}=typeof s=="object"?e:n!=null?n:(()=>{let M=Symbol();return{get(){return this[M]},set(B){this[M]=B}}})();return Tr(e,s,{get(){let M=f.call(this);return M===void 0&&(M=h(this),(M!==null||this.hasUpdated)&&S.call(this,M)),M}})}return Tr(e,s,{get(){return h(this)}})}}function zt(l){return(o,e)=>{let{slot:s,selector:n}=l!=null?l:{},h="slot"+(s?`[name=${s}]`:":not([name])");return Tr(o,e,{get(){var M,B;let f=(M=this.renderRoot)==null?void 0:M.querySelector(h),S=(B=f==null?void 0:f.assignedElements(l))!=null?B:[];return n===void 0?S:S.filter(G=>G.matches(n))}})}}function Ea(l){return(o,e)=>{let{slot:s}=l!=null?l:{},n="slot"+(s?`[name=${s}]`:":not([name])");return Tr(o,e,{get(){var f,S;let h=(f=this.renderRoot)==null?void 0:f.querySelector(n);return(S=h==null?void 0:h.assignedNodes(l))!=null?S:[]}})}}var xt=W`
|
5
5
|
:host {
|
6
6
|
align-items: center;
|
7
7
|
display: flex;
|
@@ -9,7 +9,7 @@
|
|
9
9
|
justify-content: center;
|
10
10
|
width: fit-content;
|
11
11
|
}
|
12
|
-
`,
|
12
|
+
`,xa=W`
|
13
13
|
:host {
|
14
14
|
--mdc-focus-ring-inner-color: var(--mds-color-theme-focus-default-0);
|
15
15
|
--mdc-focus-ring-middle-color: var(--mds-color-theme-focus-default-1);
|
@@ -25,7 +25,7 @@
|
|
25
25
|
`,_t=(l=!1)=>{let o=W`0 0 0 var(--mdc-focus-ring-inner-width) var(--mdc-focus-ring-inner-color),
|
26
26
|
0 0 0 var(--mdc-focus-ring-middle-width) var(--mdc-focus-ring-middle-color),
|
27
27
|
0 0 0 var(--mdc-focus-ring-outer-width) var(--mdc-focus-ring-outer-color)
|
28
|
-
`;return l?[
|
28
|
+
`;return l?[xa,W`
|
29
29
|
.mdc-focus-ring:focus-visible {
|
30
30
|
outline: none;
|
31
31
|
}
|
@@ -49,7 +49,7 @@
|
|
49
49
|
outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
|
50
50
|
}
|
51
51
|
}
|
52
|
-
`]:[
|
52
|
+
`]:[xa,W`
|
53
53
|
:host([disabled]:focus) {
|
54
54
|
box-shadow: none;
|
55
55
|
}
|
@@ -64,7 +64,7 @@
|
|
64
64
|
outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
|
65
65
|
}
|
66
66
|
}
|
67
|
-
`]};var
|
67
|
+
`]};var If=W`
|
68
68
|
:host {
|
69
69
|
height: 1.5rem;
|
70
70
|
gap: 0.25rem;
|
@@ -167,7 +167,7 @@
|
|
167
167
|
:host([variant="informational"]:active){
|
168
168
|
--mdc-chip-background-color: var(--mds-color-theme-background-alert-theme-active);
|
169
169
|
}
|
170
|
-
`,
|
170
|
+
`,Xd=[xt,If,..._t()];var Zd=W`
|
171
171
|
:host {
|
172
172
|
box-sizing: border-box;
|
173
173
|
}
|
@@ -177,11 +177,11 @@
|
|
177
177
|
:host *::after {
|
178
178
|
box-sizing: inherit;
|
179
179
|
}
|
180
|
-
`;var
|
180
|
+
`;var Ta=class extends Kr{static register(o){customElements.get(o)||customElements.define(o,this)}};Ta.styles=[Zd];var Jd=Ta;var J=Jd;var Xr=class extends Event{constructor(o,e,s){super("context-request",{bubbles:!0,composed:!0}),this.context=o,this.callback=e,this.subscribe=s!=null?s:!1}};var eo=class{constructor(o,e,s,n){var h;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(f,S)=>{this.unsubscribe&&(this.unsubscribe!==S&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=f,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(f,S)),this.unsubscribe=S},this.host=o,e.context!==void 0){let f=e;this.context=f.context,this.callback=f.callback,this.subscribe=(h=f.subscribe)!=null?h:!1}else this.context=e,this.callback=s,this.subscribe=n!=null?n:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new Xr(this.context,this.t,this.subscribe))}};var Aa=class{get value(){return this.o}set value(o){this.setValue(o)}setValue(o,e=!1){let s=e||!Object.is(o,this.o);this.o=o,s&&this.updateObservers()}constructor(o){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:s}]of this.subscriptions)e(this.o,s)},o!==void 0&&(this.value=o)}addCallback(o,e,s){if(!s)return void o(this.value);this.subscriptions.has(o)||this.subscriptions.set(o,{disposer:()=>{this.subscriptions.delete(o)},consumerHost:e});let{disposer:n}=this.subscriptions.get(o);o(this.value,n)}clearCallbacks(){this.subscriptions.clear()}};var il=class extends Event{constructor(o){super("context-provider",{bubbles:!0,composed:!0}),this.context=o}},ro=class extends Aa{constructor(o,e,s){var n,h;super(e.context!==void 0?e.initialValue:s),this.onContextRequest=f=>{let S=f.composedPath()[0];f.context===this.context&&S!==this.host&&(f.stopPropagation(),this.addCallback(f.callback,S,f.subscribe))},this.onProviderRequest=f=>{let S=f.composedPath()[0];if(f.context!==this.context||S===this.host)return;let M=new Set;for(let[B,{consumerHost:G}]of this.subscriptions)M.has(B)||(M.add(B),G.dispatchEvent(new Xr(this.context,B,!0)));f.stopPropagation()},this.host=o,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),(h=(n=this.host).addController)==null||h.call(n,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new il(this.context))}};var Lf=W`
|
181
181
|
:host {
|
182
182
|
display: contents;
|
183
183
|
}
|
184
|
-
`,
|
184
|
+
`,th=Lf;var _a=class extends J{constructor({context:o,initialValue:e}){super(),this.context=new ro(this,{context:o,initialValue:e})}render(){return this.updateContext(),F`<slot></slot>`}};_a.styles=[...J.styles,th];var eh=_a;var io=eh;var Mf={PREFIX:"mdc",SEPARATOR:"-"},Nf={NAMESPACE:Mf},ol=Nf;var Rf=l=>[ol.NAMESPACE.PREFIX,l].join(ol.NAMESPACE.SEPARATOR),j={constructTagName:Rf};var mx=j.constructTagName("buttonsimple"),as={20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},oo={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},ns={SIZE:as[32],TYPE:oo.BUTTON,ROLE:"button",ARIA_STATE_KEY:"aria-pressed"};var ls=j.constructTagName("text"),lt={BODY_SMALL_REGULAR:"body-small-regular",BODY_SMALL_MEDIUM:"body-small-medium",BODY_SMALL_BOLD:"body-small-bold",BODY_MIDSIZE_REGULAR:"body-midsize-regular",BODY_MIDSIZE_MEDIUM:"body-midsize-medium",BODY_MIDSIZE_BOLD:"body-midsize-bold",BODY_LARGE_REGULAR:"body-large-regular",BODY_LARGE_MEDIUM:"body-large-medium",BODY_LARGE_BOLD:"body-large-bold",BODY_SMALL_REGULAR_UNDERLINE:"body-small-regular-underline",BODY_SMALL_MEDIUM_UNDERLINE:"body-small-medium-underline",BODY_MIDSIZE_REGULAR_UNDERLINE:"body-midsize-regular-underline",BODY_MIDSIZE_MEDIUM_UNDERLINE:"body-midsize-medium-underline",BODY_LARGE_REGULAR_UNDERLINE:"body-large-regular-underline",BODY_LARGE_MEDIUM_UNDERLINE:"body-large-medium-underline",HEADING_SMALL_REGULAR:"heading-small-regular",HEADING_SMALL_MEDIUM:"heading-small-medium",HEADING_SMALL_BOLD:"heading-small-bold",HEADING_MIDSIZE_REGULAR:"heading-midsize-regular",HEADING_MIDSIZE_MEDIUM:"heading-midsize-medium",HEADING_MIDSIZE_BOLD:"heading-midsize-bold",HEADING_LARGE_REGULAR:"heading-large-regular",HEADING_LARGE_MEDIUM:"heading-large-medium",HEADING_LARGE_BOLD:"heading-large-bold",HEADING_XLARGE_REGULAR:"heading-xlarge-regular",HEADING_XLARGE_MEDIUM:"heading-xlarge-medium",HEADING_XLARGE_BOLD:"heading-xlarge-bold",HEADLINE_SMALL_LIGHT:"headline-small-light",HEADLINE_SMALL_REGULAR:"headline-small-regular"},Et={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},Le={TYPE:lt.BODY_LARGE_REGULAR,TEXT_ELEMENT_TAGNAME:Et.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var rh=j.constructTagName("alertchip"),gi={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},so={VARIANT:gi.NEUTRAL,TEXT_TYPE:lt.BODY_MIDSIZE_REGULAR,TAG_NAME:Et.SPAN,SIZE:as[24],ROLE:"button"};var ih=l=>({[gi.ERROR]:"error-legacy-badge-filled",[gi.WARNING]:"warning-badge-filled",[gi.SUCCESS]:"check-circle-badge-filled",[gi.INFORMATIONAL]:"info-badge-filled",[gi.NEUTRAL]:"dnd-presence-badge-filled"})[l];var Dt=l=>{class o extends l{}return y([A({reflect:!0,type:Boolean})],o.prototype,"disabled",2),o};var nr=l=>{class o extends l{constructor(){super(...arguments);this.tabIndex=0}}return y([A({reflect:!0,type:Number})],o.prototype,"tabIndex",2),o};var Of=[xt,W`
|
185
185
|
:host {
|
186
186
|
border: 0.0625rem solid transparent;
|
187
187
|
cursor: pointer;
|
@@ -238,10 +238,10 @@
|
|
238
238
|
:host([size="20"]){
|
239
239
|
height: var(--mdc-button-height-size-20);
|
240
240
|
}
|
241
|
-
`,..._t()],
|
242
|
-
<mdc-icon part="icon" name="${
|
243
|
-
<mdc-text part="label" type="${
|
244
|
-
`}};
|
241
|
+
`,..._t()],oh=Of;var Xe=class extends nr(Dt(J)){constructor(){super();this.size=ns.SIZE;this.role=ns.ROLE;this.type=ns.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(e){super.update(e),e.has("disabled")&&this.setDisabled(this,this.disabled),e.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),e.has("active")&&(this.active!==void 0&&(this.ariaStateKey=this.ariaStateKey||ns.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===oo.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===oo.RESET&&this.form&&this.form.reset()}setActive(e,s){this.ariaStateKey&&this.ariaStateKey.split(",").filter(h=>h.trim().startsWith("aria-")).forEach(h=>{s===!0?e.setAttribute(h.trim(),"true"):s===!1?e.setAttribute(h.trim(),"false"):e.removeAttribute(h.trim())})}setSoftDisabled(e,s){s?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled")}setDisabled(e,s){s?(e.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),e.removeAttribute("aria-disabled"))}triggerClickEvent(){let e=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(e)}handleBlur(){this.classList.contains("pressed")&&this.classList.remove("pressed")}handleKeyDown(e){["Enter"," "].includes(e.key)&&(this.classList.add("pressed"),e.key==="Enter"&&this.triggerClickEvent(),e.preventDefault())}handleKeyUp(e){["Enter"," "].includes(e.key)&&(this.classList.remove("pressed"),e.key===" "&&this.triggerClickEvent())}render(){return F` <slot></slot> `}};Xe.formAssociated=!0,Xe.styles=[...J.styles,...oh],y([A({type:Boolean,reflect:!0})],Xe.prototype,"active",2),y([A({type:Boolean,attribute:"soft-disabled",reflect:!0})],Xe.prototype,"softDisabled",2),y([A({type:Number,reflect:!0})],Xe.prototype,"size",2),y([A({type:String,reflect:!0})],Xe.prototype,"role",2),y([A({type:String,reflect:!0})],Xe.prototype,"ariaStateKey",2),y([A({reflect:!0})],Xe.prototype,"type",2);var Te=Xe;var ao=class extends Te{constructor(){super(...arguments);this.variant=so.VARIANT;this.label=""}connectedCallback(){super.connectedCallback(),this.disabled=void 0,this.softDisabled=void 0,this.active=void 0,this.size=so.SIZE,this.role=so.ROLE}render(){return F`
|
242
|
+
<mdc-icon part="icon" name="${ih(this.variant)}" length-unit="rem" size="1"></mdc-icon>
|
243
|
+
<mdc-text part="label" type="${so.TEXT_TYPE}" tagname="${so.TAG_NAME}">${this.label}</mdc-text>
|
244
|
+
`}};ao.styles=[...J.styles,...Xd],y([A({type:String})],ao.prototype,"variant",2),y([A({type:String})],ao.prototype,"label",2);var sl=ao;var sh=W`
|
245
245
|
:host::part(text) {
|
246
246
|
font-size: unset;
|
247
247
|
font-weight: unset;
|
@@ -484,14 +484,14 @@
|
|
484
484
|
text-decoration: var(--mds-font-apps-body-small-regular-text-decoration);
|
485
485
|
text-transform: var(--mds-font-apps-body-small-regular-text-case);
|
486
486
|
}
|
487
|
-
`;var
|
487
|
+
`;var Pf=[W`
|
488
488
|
:host {
|
489
489
|
--mdc-text-font-family: var(--mdc-themeprovider-font-family);
|
490
490
|
|
491
491
|
display: block;
|
492
492
|
font-family: var(--mdc-text-font-family);
|
493
493
|
}
|
494
|
-
`,
|
494
|
+
`,sh],ah=Pf;var no=class extends J{constructor(){super(...arguments);this.type=Le.TYPE;this.tagname=Le.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case Et.H1:return F`<h1 part=${Le.CSS_PART_TEXT}><slot></slot></h1>`;case Et.H2:return F`<h2 part=${Le.CSS_PART_TEXT}><slot></slot></h2>`;case Et.H3:return F`<h3 part=${Le.CSS_PART_TEXT}><slot></slot></h3>`;case Et.H4:return F`<h4 part=${Le.CSS_PART_TEXT}><slot></slot></h4>`;case Et.H5:return F`<h5 part=${Le.CSS_PART_TEXT}><slot></slot></h5>`;case Et.H6:return F`<h6 part=${Le.CSS_PART_TEXT}><slot></slot></h6>`;case Et.DIV:return F`<div part=${Le.CSS_PART_TEXT}><slot></slot></div>`;case Et.SPAN:return F`<span part=${Le.CSS_PART_TEXT}><slot></slot></span>`;case Et.SMALL:return F`<small part=${Le.CSS_PART_TEXT}><slot></slot></small>`;case Et.P:default:return F`<p part=${Le.CSS_PART_TEXT}><slot></slot></p>`}}};no.styles=[...J.styles,...ah],y([A({attribute:"type",reflect:!0,type:String})],no.prototype,"type",2),y([A({attribute:"tagname",reflect:!0,type:String})],no.prototype,"tagname",2);var al=no;al.register(ls);var Df=al;var Ff=[xt,W`
|
495
495
|
:host {
|
496
496
|
--mdc-icon-fill-color: currentColor;
|
497
497
|
--mdc-icon-size: var(--computed-icon-size);
|
@@ -506,7 +506,7 @@
|
|
506
506
|
width: 100%;
|
507
507
|
fill: var(--mdc-icon-fill-color);
|
508
508
|
}
|
509
|
-
`,..._t()],
|
509
|
+
`,..._t()],nh=Ff;var zf=l=>{let{host:o,context:e,subscribe:s}=l;return new eo(o,{context:e,subscribe:s!=null?s:!0})},$f={consume:zf},lh=$f;var Sa=j.constructTagName("iconprovider"),ch=["svg"],dh=["em","rem","px","%"],Vf={px:16,em:1,rem:1,"%":100},_r={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:Vf.em,SHOULD_CACHE:!1,ICON_SET:"momentum-icons"};var ka=class{};ka.context=Sa;var Ca=ka;var lr=class extends io{constructor(){super({context:Ca.context,initialValue:new Ca});this.iconSet=_r.ICON_SET;this.fileExtension=_r.FILE_EXTENSION;this.lengthUnit=_r.LENGTH_UNIT;this.size=_r.SIZE}static get Context(){return Ca.context}updateValuesInContext(){this.fileExtension&&ch.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=_r.FILE_EXTENSION,this.context.value.fileExtension=_r.FILE_EXTENSION),this.context.value.iconSet=this.iconSet,this.context.value.url=this.url,this.context.value.size=this.size,this.context.value.cacheName=this.cacheName,this.context.value.cacheStrategy=this.cacheStrategy,this.lengthUnit&&dh.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=_r.LENGTH_UNIT,this.context.value.lengthUnit=_r.LENGTH_UNIT)}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.iconSet!==this.iconSet||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit||this.context.value.size!==this.size||this.context.value.cacheName!==this.cacheName||this.context.value.cacheStrategy!==this.cacheStrategy)&&(this.updateValuesInContext(),this.context.updateObservers())}};y([A({type:String,attribute:"icon-set",reflect:!0})],lr.prototype,"iconSet",2),y([A({type:String})],lr.prototype,"url",2),y([A({type:String,attribute:"file-extension",reflect:!0})],lr.prototype,"fileExtension",2),y([A({type:String,attribute:"length-unit",reflect:!0})],lr.prototype,"lengthUnit",2),y([A({type:Number,reflect:!0})],lr.prototype,"size",2),y([A({type:String,attribute:"cache-strategy"})],lr.prototype,"cacheStrategy",2),y([A({type:String,attribute:"cache-name"})],lr.prototype,"cacheName",2);var cs=lr;var ds={},hh=async l=>(ds[l]===void 0&&(ds[l]=new Map),{async set(o,e){ds[l].set(o.url,await e.text())},async get(o){return ds[l].get(o.url)},async delete(o){ds[l].delete(o.url)}}),mh=async l=>{let o=await caches.open(l);return{set:async(e,s)=>{await o.put(e,s)},get:async e=>{let s=await o.match(e);return s==null?void 0:s.text()},delete:async e=>{await o.delete(e)}}},ph=async(l,o)=>o==="in-memory-cache"?hh(l):mh(l);var uh=async l=>fetch(l).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the icon!");return o}),fh=async({url:l,name:o,fileExtension:e,cacheStrategy:s,cacheName:n,renewSignal:h})=>{let f=h(),S=new Request(`${l}/${o}.${e}`,{signal:f});return!n||!s||!["in-memory-cache","web-cache-api"].includes(s)?uh(S).then(M=>M.text()):ph(n,s).then(M=>M.get(S).then(B=>B||uh(S.clone()).then(G=>{var q;return G.status<400&&G.headers.has("content-type")?(q=M.set)==null?void 0:q.call(M,S,G.clone()).then(()=>G.text()):G.text()})).catch(B=>{throw new Error(`Error in caching the Icon ${o}, ${B}`)}))};var vh=j.constructTagName("icon"),nl={NAME:void 0,SIZE:1};var Me=class extends J{constructor(){super();this.name=nl.NAME;this.ariaLabel=null;this.ariaLabelledBy=null;this.iconProviderContext=lh.consume({host:this,context:cs.Context});this.abortController=new AbortController}prepareIconElement(e){let s=new DOMParser().parseFromString(e,"text/html").body.children[0];return this.name&&s.setAttribute("data-name",this.name),s.setAttribute("part","icon"),s.setAttribute("aria-hidden","true"),s}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:s,url:n,cacheName:h,iconSet:f,cacheStrategy:S}=this.iconProviderContext.value;if(f==="custom-icons"&&n&&s&&this.name){let M=()=>(this.abortController.abort(),this.abortController=new AbortController,this.abortController.signal);return fh({url:n,name:this.name,fileExtension:s,cacheName:h,cacheStrategy:S,renewSignal:M}).then(B=>{let G=this.prepareIconElement(B);this.handleIconLoadedSuccess(G)}).catch(B=>{this.handleIconLoadedFailure(B)})}if(f==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(M=>{this.handleIconLoadedSuccess(M.default())}).catch(M=>{this.handleIconLoadedFailure(M)})}let e=new Error("IconProvider not found or not properly set up.");return this.handleIconLoadedFailure(e),Promise.reject(e)}handleIconLoadedSuccess(e){this.iconData=e;let s=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(s)}handleIconLoadedFailure(e){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:e}});this.dispatchEvent(s)}updateSize(){var e;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let s=`${this.computedIconSize}${(e=this.lengthUnit)!=null?e:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",s)}}get computedIconSize(){var e,s;return(s=(e=this.size)!=null?e:this.sizeFromContext)!=null?s:nl.SIZE}updated(e){var s,n,h,f;super.updated(e),e.has("name")&&this.getIconData().catch(S=>{S.name!=="AbortError"&&this.onerror&&this.onerror(S)}),(e.has("ariaLabel")||e.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null),(e.has("size")||e.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((s=this.iconProviderContext.value)==null?void 0:s.lengthUnit)&&(this.lengthUnitFromContext=(n=this.iconProviderContext.value)==null?void 0:n.lengthUnit,this.updateSize()),this.sizeFromContext!==((h=this.iconProviderContext.value)==null?void 0:h.size)&&(this.sizeFromContext=(f=this.iconProviderContext.value)==null?void 0:f.size,this.updateSize())}render(){return F` ${this.iconData} `}};Me.styles=[...J.styles,...nh],y([At()],Me.prototype,"iconData",2),y([At()],Me.prototype,"lengthUnitFromContext",2),y([At()],Me.prototype,"sizeFromContext",2),y([A({type:String,reflect:!0})],Me.prototype,"name",2),y([A({type:Number})],Me.prototype,"size",2),y([A({type:String,attribute:"length-unit"})],Me.prototype,"lengthUnit",2),y([A({type:String,attribute:"aria-label"})],Me.prototype,"ariaLabel",2),y([A({type:String,attribute:"aria-labelledby"})],Me.prototype,"ariaLabelledBy",2),y([At()],Me.prototype,"abortController",2);var ll=Me;ll.register(vh);var Bf=ll;sl.register(rh);var Uf=sl;var Hf=W`
|
510
510
|
:host {
|
511
511
|
--mdc-appheader-height: 4rem;
|
512
512
|
}
|
@@ -540,7 +540,7 @@
|
|
540
540
|
:host::part(trailing-section) {
|
541
541
|
justify-content: flex-end;
|
542
542
|
}
|
543
|
-
`,
|
543
|
+
`,gh=[Hf];var wa=class extends J{render(){return F`
|
544
544
|
<header part="container">
|
545
545
|
<div part="leading-section">
|
546
546
|
<slot name="leading"></slot>
|
@@ -551,7 +551,7 @@
|
|
551
551
|
<div part="trailing-section">
|
552
552
|
<slot name="trailing"></slot>
|
553
553
|
</div>
|
554
|
-
</header>`}};
|
554
|
+
</header>`}};wa.styles=[...J.styles,...gh];var cl=wa;var bh=j.constructTagName("appheader");cl.register(bh);var Gf=cl;var mt=l=>l!=null?l:Z;var yh=j.constructTagName("avatar"),me={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},dl=99,jf="user-regular",Rt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},lo={TYPE:me.PHOTO,SIZE:Rt[32],ICON_NAME:jf};var Ia=l=>{class o extends l{constructor(){super(...arguments);this.size=lo.SIZE;this.isTyping=!1}}return y([A({type:String})],o.prototype,"src",2),y([A({type:String})],o.prototype,"initials",2),y([A({type:String})],o.prototype,"presence",2),y([A({type:Number,reflect:!0,attribute:"size"})],o.prototype,"size",2),y([A({type:Number})],o.prototype,"counter",2),y([A({type:Boolean,attribute:"is-typing"})],o.prototype,"isTyping",2),o};var Ae=l=>{class o extends l{}return y([A({type:String,attribute:"icon-name"})],o.prototype,"iconName",2),o};var Wf=[xt,W`
|
555
555
|
:host {
|
556
556
|
--mdc-avatar-default-background-color: var(--mds-color-theme-avatar-default);
|
557
557
|
--mdc-avatar-default-foreground-color: var(--mds-color-theme-common-text-primary-normal);
|
@@ -674,8 +674,8 @@
|
|
674
674
|
outline: 0.125rem solid;
|
675
675
|
}
|
676
676
|
}
|
677
|
-
`],
|
678
|
-
<mdc-presence part="presence" type="${this.presence}" size="${
|
677
|
+
`],Eh=Wf;var xh=j.constructTagName("presence"),le={ACTIVE:"active",AWAY:"away",AWAY_CALLING:"away-calling",BUSY:"busy",DND:"dnd",MEETING:"meeting",ON_CALL:"on-call",ON_DEVICE:"on-device",ON_MOBILE:"on-mobile",PAUSE:"pause",PTO:"pto",PRESENTING:"presenting",QUIET:"quiet",SCHEDULED:"scheduled"},Kt={XX_SMALL:"xx_small",X_SMALL:"x_small",SMALL:"small",MIDSIZE:"midsize",LARGE:"large",X_LARGE:"x_large",XX_LARGE:"xx_large"},co={TYPE:le.ACTIVE,SIZE:Kt.SMALL};var Th=l=>({[Rt[124]]:Kt.XX_LARGE,[Rt[88]]:Kt.X_LARGE,[Rt[72]]:Kt.LARGE,[Rt[64]]:Kt.MIDSIZE,[Rt[48]]:Kt.SMALL,[Rt[32]]:Kt.X_SMALL,[Rt[24]]:Kt.XX_SMALL})[l]||Kt.X_SMALL,Ah=l=>({[Rt[124]]:4.75,[Rt[88]]:3,[Rt[72]]:2.5,[Rt[64]]:2.25,[Rt[48]]:1.75,[Rt[32]]:1.25,[Rt[24]]:1})[l]||1.25,_h=l=>({[Rt[124]]:lt.HEADING_XLARGE_MEDIUM,[Rt[88]]:lt.HEADING_LARGE_MEDIUM,[Rt[72]]:lt.HEADING_MIDSIZE_MEDIUM,[Rt[64]]:lt.HEADING_SMALL_MEDIUM,[Rt[48]]:lt.HEADING_SMALL_MEDIUM,[Rt[32]]:lt.BODY_MIDSIZE_MEDIUM,[Rt[24]]:lt.BODY_SMALL_MEDIUM})[l]||lt.BODY_MIDSIZE_MEDIUM;var hs=class extends Ia(Ae(J)){constructor(){super(...arguments);this.isPhotoLoaded=!1}getPresenceTemplateBasedOnType(e){return e===me.COUNTER&&(this.counter||this.counter===0)||this.isTyping?Z:this.presence?F`
|
678
|
+
<mdc-presence part="presence" type="${this.presence}" size="${Th(this.size)}"></mdc-presence>
|
679
679
|
`:Z}handleOnLoad(){this.isPhotoLoaded=!0}handleOnError(){this.isPhotoLoaded=!1,this.onerror&&this.onerror("There was a problem while fetching the <img/>. Please check the src attribute and try again.")}photoTemplate(){return F`
|
680
680
|
<img
|
681
681
|
part="photo"
|
@@ -685,27 +685,27 @@
|
|
685
685
|
@load="${this.handleOnLoad}"
|
686
686
|
@error="${this.handleOnError}"
|
687
687
|
/>
|
688
|
-
`}iconTemplate(){let e=this.iconName||
|
688
|
+
`}iconTemplate(){let e=this.iconName||lo.ICON_NAME;return F`
|
689
689
|
<mdc-icon
|
690
690
|
name="${mt(e)}"
|
691
691
|
length-unit="rem"
|
692
|
-
size="${
|
692
|
+
size="${Ah(this.size)}"
|
693
693
|
></mdc-icon>
|
694
694
|
`}textTemplate(e){return F`
|
695
695
|
<mdc-text
|
696
|
-
type="${
|
696
|
+
type="${_h(this.size)}"
|
697
697
|
tagname="span"
|
698
698
|
>
|
699
699
|
${e}
|
700
700
|
</mdc-text>
|
701
|
-
`}generateCounterText(e){return e<0?"0":e>
|
701
|
+
`}generateCounterText(e){return e<0?"0":e>dl?`${dl}+`:e.toString()}generateInitialsText(e){return e.toUpperCase().slice(0,2)}generateTextContent(e){let s="";return e===me.TEXT&&this.initials&&(s=this.generateInitialsText(this.initials)),e===me.COUNTER&&(this.counter||this.counter===0)&&(s=this.generateCounterText(this.counter)),this.textTemplate(s)}getTypeBasedOnInputs(){return this.src?me.PHOTO:this.iconName?me.ICON:this.initials?me.TEXT:this.counter||this.counter===0?me.COUNTER:me.ICON}getTemplateBasedOnType(e){switch(e){case me.PHOTO:return this.photoTemplate();case me.TEXT:case me.COUNTER:return this.generateTextContent(e);case me.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?F`<div part="loading-wrapper"><div part="loader"></div></div>`:Z}getPhotoPlaceHolderContent(e){return this.isPhotoLoaded?Z:e===me.PHOTO?this.initials?this.textTemplate(this.generateInitialsText(this.initials)):this.iconTemplate():Z}update(e){super.update(e),e.has("src")&&!this.src&&(this.isPhotoLoaded=!1)}render(){let e=this.getTypeBasedOnInputs();return F`
|
702
702
|
<div part="content" aria-hidden="true">
|
703
703
|
${this.getPhotoPlaceHolderContent(e)}
|
704
704
|
${this.getTemplateBasedOnType(e)}
|
705
705
|
${this.getLoadingContent()}
|
706
706
|
${this.getPresenceTemplateBasedOnType(e)}
|
707
707
|
</div>
|
708
|
-
`}};
|
708
|
+
`}};hs.styles=[...J.styles,...Eh],y([At()],hs.prototype,"isPhotoLoaded",2);var hl=hs;var qf=[xt,W`
|
709
709
|
:host {
|
710
710
|
--mdc-presence-active-background-color: var(--mds-color-theme-indicator-stable);
|
711
711
|
--mdc-presence-away-background-color: var(--mds-color-theme-indicator-locked);
|
@@ -799,7 +799,7 @@
|
|
799
799
|
.mdc-presence-icon__scheduled {
|
800
800
|
color: var(--mdc-presence-scheduled-background-color);
|
801
801
|
}
|
802
|
-
`],
|
802
|
+
`],Sh=qf;var kh=l=>{switch(l){case le.AWAY:return"recents-presence-badge-filled";case le.AWAY_CALLING:return"away-calling-presence-filled";case le.BUSY:return"busy-presence-bold";case le.DND:return"dnd-presence-badge-filled";case le.MEETING:return"camera-filled";case le.ON_CALL:return"handset-filled";case le.ON_DEVICE:return"generic-device-video-badge-filled";case le.ON_MOBILE:return"phone-badge-filled";case le.PAUSE:return"pause-badge-filled";case le.PTO:return"pto-presence-filled";case le.PRESENTING:return"share-screen-badge-filled";case le.QUIET:return"quiet-hours-presence-filled";case le.SCHEDULED:return"meetings-presence-badge-filled";case le.ACTIVE:default:return"active-presence-small-filled"}};var bi=class extends J{constructor(){super(...arguments);this.type=co.TYPE;this.size=co.SIZE;this.currentIconType=co.TYPE}get iconSize(){switch(this.size){case Kt.MIDSIZE:return 1.16125;case Kt.LARGE:return 1.30625;case Kt.X_LARGE:return 1.596875;case Kt.XX_LARGE:return 2.25;case Kt.XX_SMALL:case Kt.X_SMALL:case Kt.SMALL:default:return this.size=co.SIZE,.875}}get icon(){let e=kh(this.type);return e==="active-presence-small-filled"&&(this.type=co.TYPE),e}handleOnLoad(){this.currentIconType=this.type}handleOnError(){this.onerror&&this.onerror("There was a problem while fetching the icon. Please check the icon name and try again.")}render(){return F`
|
803
803
|
<div class="mdc-presence mdc-presence__${this.size}">
|
804
804
|
<mdc-icon
|
805
805
|
class="mdc-presence-icon mdc-presence-icon__${this.currentIconType}"
|
@@ -809,7 +809,7 @@
|
|
809
809
|
@error="${this.handleOnError}"
|
810
810
|
></mdc-icon>
|
811
811
|
</div>
|
812
|
-
`}};
|
812
|
+
`}};bi.styles=[...J.styles,...Sh],y([A({type:String,reflect:!0})],bi.prototype,"type",2),y([A({type:String,reflect:!0})],bi.prototype,"size",2),y([At()],bi.prototype,"currentIconType",2);var ml=bi;ml.register(xh);var Yf=ml;hl.register(yh);var Kf=hl;var yi=j.constructTagName("button"),re={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},ms={40:40,32:32,28:28,24:24},Zr={64:64,52:52,20:20,...ms},Ei={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},ho={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},_e={VARIANT:re.PRIMARY,SIZE:ms[32],COLOR:Ei.DEFAULT,TYPE_INTERNAL:ho.ICON,TYPE:oo.BUTTON,INVERTED:!1};var Xf=[xt,W`
|
813
813
|
:host {
|
814
814
|
--mdc-avatarbutton-overlay-background-color-rest: var(--mds-color-theme-avatar-ghost);
|
815
815
|
--mdc-avatarbutton-overlay-background-color-hover: var(--mds-color-theme-avatar-hover);
|
@@ -838,7 +838,7 @@
|
|
838
838
|
:host::part(presence) {
|
839
839
|
z-index: 2;
|
840
840
|
}
|
841
|
-
`,..._t()],
|
841
|
+
`,..._t()],Ch=Xf;var ps=class extends Ia(Ae(Te)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role="button",this.type=_e.TYPE}update(e){super.update(e),e.has("size")&&this.setSize(this.size)}setSize(e){this.setAttribute("size",Object.values(Rt).includes(e)?`${e}`:lo.SIZE.toString())}render(){return F`
|
842
842
|
<div part="overlay" aria-hidden="true"></div>
|
843
843
|
<mdc-avatar
|
844
844
|
?is-typing="${this.isTyping}"
|
@@ -849,7 +849,7 @@
|
|
849
849
|
size="${mt(this.size)}"
|
850
850
|
src="${mt(this.src)}"
|
851
851
|
></mdc-avatar>
|
852
|
-
`}};
|
852
|
+
`}};ps.styles=[...Ch],y([A({type:String,attribute:"aria-label"})],ps.prototype,"ariaLabel",2);var pl=ps;var wh=j.constructTagName("avatarbutton");pl.register(wh);var Zf=pl;var La={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},us=l=>(...o)=>({_$litDirective$:l,values:o}),mo=class{constructor(o){}get _$AU(){return this._$AM._$AU}_$AT(o,e,s){this.t=o,this._$AM=e,this.i=s}_$AS(o,e){return this.update(o,e)}update(o,e){return this.render(...e)}};var po=us(class extends mo{constructor(l){var o;if(super(l),l.type!==La.ATTRIBUTE||l.name!=="class"||((o=l.strings)==null?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(l){return" "+Object.keys(l).filter(o=>l[o]).join(" ")+" "}update(l,[o]){var s,n;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 o)o[h]&&!((s=this.nt)!=null&&s.has(h))&&this.st.add(h);return this.render(o)}let e=l.element.classList;for(let h of this.st)h in o||(e.remove(h),this.st.delete(h));for(let h in o){let f=!!o[h];f===this.st.has(h)||(n=this.nt)!=null&&n.has(h)||(f?(e.add(h),this.st.add(h)):(e.remove(h),this.st.delete(h)))}return xr}});var Ih=j.constructTagName("badge"),Sr={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Ma={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},Na={PRIMARY:"primary",SECONDARY:"secondary"},fs={SUCCESS:"success",WARNING:"warning",ERROR:"error"},W_={...Na,...fs},Jr={TYPE:Sr.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:Na.PRIMARY,ICON_SIZE:1};var Jf=[xt,W`
|
853
853
|
:host {
|
854
854
|
--mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
|
855
855
|
--mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
|
@@ -918,21 +918,21 @@
|
|
918
918
|
outline: 0.125rem solid;
|
919
919
|
}
|
920
920
|
}
|
921
|
-
`],
|
921
|
+
`],Lh=Jf;var cr=class extends Ae(J){constructor(){super(...arguments);this.variant=Jr.VARIANT;this.maxCounter=Jr.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(e,s){return s===void 0||typeof s!="number"||e===0?"":s>e?`${e}+`:e>Jr.MAX_COUNTER_LIMIT||s>Jr.MAX_COUNTER_LIMIT?`${Jr.MAX_COUNTER_LIMIT}+`:s.toString()}getBadgeIcon(e,s){return F`
|
922
922
|
<mdc-icon
|
923
|
-
class="mdc-badge-icon ${
|
923
|
+
class="mdc-badge-icon ${po({"mdc-badge-overlay":this.overlay,[`mdc-badge-icon__${s}`]:!0})}"
|
924
924
|
name="${mt(e)}"
|
925
|
-
size="${
|
925
|
+
size="${Jr.ICON_SIZE}"
|
926
926
|
></mdc-icon>
|
927
|
-
`}getBadgeDot(){return F`<div class="mdc-badge-dot ${
|
927
|
+
`}getBadgeDot(){return F`<div class="mdc-badge-dot ${po({"mdc-badge-overlay":this.overlay})}"></div>`}getBadgeCounterText(){return F`
|
928
928
|
<mdc-text
|
929
929
|
type="${lt.BODY_SMALL_MEDIUM}"
|
930
|
-
tagname="${
|
931
|
-
class="mdc-badge-text ${
|
930
|
+
tagname="${Et.DIV}"
|
931
|
+
class="mdc-badge-text ${po({"mdc-badge-overlay":this.overlay})}"
|
932
932
|
>
|
933
933
|
${this.getCounterText(this.maxCounter,this.counter)}
|
934
934
|
</mdc-text>
|
935
|
-
`}setRoleByAriaLabel(){this.ariaLabel?this.role="img":this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(
|
935
|
+
`}setRoleByAriaLabel(){this.ariaLabel?this.role="img":this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(Na).includes(this.variant)&&(this.variant=Jr.VARIANT);let{iconName:e,type:s,variant:n}=this;switch(s){case Sr.ICON:return this.getBadgeIcon(e||"",n);case Sr.COUNTER:return this.getBadgeCounterText();case Sr.SUCCESS:return this.getBadgeIcon(Ma.SUCCESS_ICON_NAME,fs.SUCCESS);case Sr.WARNING:return this.getBadgeIcon(Ma.WARNING_ICON_NAME,fs.WARNING);case Sr.ERROR:return this.getBadgeIcon(Ma.ERROR_ICON_NAME,fs.ERROR);case Sr.DOT:default:return this.type=Sr.DOT,this.getBadgeDot()}}update(e){super.update(e),e.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};cr.styles=[...J.styles,...Lh],y([A({type:String,reflect:!0})],cr.prototype,"type",2),y([A({type:String,reflect:!0})],cr.prototype,"variant",2),y([A({type:Number})],cr.prototype,"counter",2),y([A({type:Number,attribute:"max-counter",reflect:!0})],cr.prototype,"maxCounter",2),y([A({type:Boolean})],cr.prototype,"overlay",2),y([A({type:String,attribute:"aria-label"})],cr.prototype,"ariaLabel",2);var ul=cr;ul.register(Ih);var Qf=ul;var tv=W`
|
936
936
|
:host {
|
937
937
|
display: block;
|
938
938
|
height: 100%;
|
@@ -941,7 +941,7 @@
|
|
941
941
|
height: 100%;
|
942
942
|
width: 100%;
|
943
943
|
}
|
944
|
-
`,
|
944
|
+
`,Mh=[tv];var Nh=j.constructTagName("brandvisual"),Rh={NAME:void 0};var uo=class extends J{constructor(){super(...arguments);this.name=Rh.NAME}async getBrandVisualData(){return this.name?import(`@momentum-design/brand-visuals/dist/logos/ts/${this.name}.ts`).then(e=>{this.handleBrandVisualLoadedSuccess(e.default())}).catch(e=>{this.handleBrandVisualLoadedFailure(e)}):(this.handleBrandVisualLoadedFailure(new Error("No brandvisual name provided.")),Promise.reject(new Error("No brandvisual name provided.")))}updated(e){super.updated(e),e.has("name")&&this.getBrandVisualData().catch(s=>{this.onerror&&this.onerror(s)})}handleBrandVisualLoadedSuccess(e){this.brandVisualData=e;let s=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(s)}handleBrandVisualLoadedFailure(e){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:e}});this.dispatchEvent(s)}render(){return F` ${this.brandVisualData} `}};uo.styles=[...J.styles,...Mh],y([At()],uo.prototype,"brandVisualData",2),y([A({type:String,reflect:!0})],uo.prototype,"name",2);var fl=uo;fl.register(Nh);var ev=fl;var rv=W`
|
945
945
|
:host {
|
946
946
|
--mdc-bullet-background-color: var(--mds-color-theme-outline-secondary-normal);
|
947
947
|
--mdc-bullet-size-small: 0.25rem;
|
@@ -962,7 +962,7 @@
|
|
962
962
|
:host([size="large"]) {
|
963
963
|
height: var(--mdc-bullet-size-large);
|
964
964
|
}
|
965
|
-
`,
|
965
|
+
`,Oh=[rv];var Ph=j.constructTagName("bullet"),Dh={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var vs=class extends J{constructor(){super(...arguments);this.size=Dh.SMALL}};vs.styles=[...J.styles,...Oh],y([A({type:String,reflect:!0})],vs.prototype,"size",2);var vl=vs;vl.register(Ph);var iv=vl;var Ra=l=>{class o extends l{constructor(){super(...arguments);this.variant=_e.VARIANT;this.color=_e.COLOR;this.typeInternal=_e.TYPE_INTERNAL}setVariant(n){this.setAttribute("variant",Object.values(re).includes(n)?n:_e.VARIANT)}setColor(n){!Object.values(Ei).includes(n)||this.variant===re.TERTIARY?this.setAttribute("color",`${_e.COLOR}`):this.setAttribute("color",n)}setSize(n){let f=this.typeInternal===ho.ICON?Object.values(Zr).includes(n)&&!(n===Zr[20]&&this.variant!==re.TERTIARY):Object.values(ms).includes(n);this.setAttribute("size",f?`${n}`:`${_e.SIZE}`)}inferButtonType(){var h,f;let n=(f=(h=this.shadowRoot)==null?void 0:h.querySelector("slot"))==null?void 0:f.assignedNodes().filter(S=>{var M;return S.nodeType!==Node.TEXT_NODE||((M=S.textContent)==null?void 0:M.trim())}).length;n&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=ho.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!n&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=ho.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=ho.PILL,this.setAttribute("data-btn-type","pill"))}}return y([A({type:String,attribute:"prefix-icon",reflect:!0})],o.prototype,"prefixIcon",2),y([A({type:String,attribute:"postfix-icon",reflect:!0})],o.prototype,"postfixIcon",2),y([A({type:String})],o.prototype,"variant",2),y([A({type:String})],o.prototype,"color",2),y([At()],o.prototype,"typeInternal",2),o};var ov=W`
|
966
966
|
:host {
|
967
967
|
background-color: transparent;
|
968
968
|
border-radius: 1.25rem;
|
@@ -1198,13 +1198,13 @@
|
|
1198
1198
|
--mdc-button-primary-disabled-background-color: var(--mds-color-theme-inverted-button-primary-disabled);
|
1199
1199
|
--mdc-button-primary-disabled-color: var(--mds-color-theme-inverted-text-primary-disabled);
|
1200
1200
|
}
|
1201
|
-
`,
|
1201
|
+
`,Fh=[ov];var gs=l=>{let o=l.split("-"),e=["bold","filled","regular","light"];return o.filter(s=>!e.includes(s)).join("-")};var kr=class extends Ra(Te){constructor(){super(...arguments);this.size=_e.SIZE;this.inverted=_e.INVERTED;this.role="button"}update(e){super.update(e),e.has("active")&&this.inferFilledIconName(this.active),e.has("size")&&this.setSize(this.size),e.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),e.has("color")&&this.setColor(this.color),e.has("typeInternal")&&this.setSize(this.size),(e.has("prefixIcon")||e.has("postfixIcon"))&&(this.inferFilledIconName(this.active),this.inferButtonType())}inferFilledIconName(e){e?(this.prefixIcon&&(this.prefixFilledIconName=`${gs(this.prefixIcon)}-filled`),this.postfixIcon&&(this.postfixFilledIconName=`${gs(this.postfixIcon)}-filled`)):(this.prefixFilledIconName=this.prefixIcon,this.postfixFilledIconName=this.postfixIcon)}render(){return F`
|
1202
1202
|
${this.prefixFilledIconName?F` <mdc-icon name="${this.prefixFilledIconName}"
|
1203
1203
|
part="prefix-icon" length-unit="rem"></mdc-icon>`:""}
|
1204
1204
|
<slot @slotchange=${this.inferButtonType}></slot>
|
1205
1205
|
${this.postfixFilledIconName?F` <mdc-icon name="${this.postfixFilledIconName}"
|
1206
1206
|
part="postfix-icon" length-unit="rem"></mdc-icon>`:""}
|
1207
|
-
`}};
|
1207
|
+
`}};kr.styles=[...Te.styles,...Fh],y([A({type:Number})],kr.prototype,"size",2),y([A({type:Boolean,reflect:!0})],kr.prototype,"inverted",2),y([A({type:String,reflect:!0})],kr.prototype,"role",2),y([At()],kr.prototype,"prefixFilledIconName",2),y([At()],kr.prototype,"postfixFilledIconName",2);var xi=kr;xi.register(yi);var sv=xi;var zh=j.constructTagName("linksimple"),gl={INLINE:!1,INVERTED:!1};var av=[xt,W`
|
1208
1208
|
:host {
|
1209
1209
|
--mdc-link-border-radius: 0.25rem;
|
1210
1210
|
--mdc-link-color-active: var(--mds-color-theme-text-accent-active);
|
@@ -1271,15 +1271,15 @@
|
|
1271
1271
|
text-transform: var(--mds-font-apps-body-large-regular-underline-text-case);
|
1272
1272
|
}
|
1273
1273
|
|
1274
|
-
`,..._t()]
|
1274
|
+
`,..._t()],$h=av;var Cr=class extends Dt(nr(J)){constructor(){super(...arguments);this.inline=gl.INLINE;this.inverted=gl.INVERTED;this.href="#";this.target="_self";this.prevTabindex=0;this.handleNavigation=e=>{if((e.type==="click"||e instanceof KeyboardEvent&&e.key==="Enter")&&this.href){if(this.disabled)return;window.open(this.href,this.target,this.rel)}}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","link"),this.addEventListener("click",this.handleNavigation),this.addEventListener("keydown",this.handleNavigation)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleNavigation),this.removeEventListener("keydown",this.handleNavigation)}setDisabled(e){e?(this.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),this.removeAttribute("aria-disabled"))}update(e){super.update(e),e.has("disabled")&&this.setDisabled(this.disabled)}render(){return F`
|
1275
1275
|
<slot></slot>
|
1276
|
-
`}};
|
1276
|
+
`}};Cr.styles=[...J.styles,...$h],y([A({type:Boolean,reflect:!0})],Cr.prototype,"inline",2),y([A({type:Boolean,reflect:!0})],Cr.prototype,"inverted",2),y([A({type:String,reflect:!0})],Cr.prototype,"href",2),y([A({type:String,reflect:!0})],Cr.prototype,"target",2),y([A({type:String,reflect:!0})],Cr.prototype,"rel",2);var Qr=Cr;var fo=class extends Ra(Qr){constructor(){super(...arguments);this.size=_e.SIZE}setSoftDisabled(e,s){s?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled")}update(e){super.update(e),e.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),e.has("size")&&this.setSize(this.size),e.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),e.has("color")&&this.setColor(this.color),e.has("typeInternal")&&this.setSize(this.size),(e.has("prefixIcon")||e.has("postfixIcon"))&&this.inferButtonType()}render(){return F`
|
1277
1277
|
${this.prefixIcon?F` <mdc-icon name="${this.prefixIcon}"
|
1278
1278
|
part="prefix-icon" length-unit="rem"></mdc-icon>`:""}
|
1279
1279
|
<slot @slotchange=${this.inferButtonType}></slot>
|
1280
1280
|
${this.postfixIcon?F` <mdc-icon name="${this.postfixIcon}"
|
1281
1281
|
part="postfix-icon" length-unit="rem"></mdc-icon>`:""}
|
1282
|
-
`}};
|
1282
|
+
`}};fo.styles=[...xi.styles],y([A({type:Number,reflect:!0})],fo.prototype,"size",2),y([A({type:Boolean,attribute:"soft-disabled",reflect:!0})],fo.prototype,"softDisabled",2);var bl=fo;var Vh=j.constructTagName("buttonlink");bl.register(Vh);var nv=bl;var lv=W`
|
1283
1283
|
:host {
|
1284
1284
|
align-items: flex-start;
|
1285
1285
|
border-radius: 0.5rem;
|
@@ -1363,7 +1363,7 @@
|
|
1363
1363
|
margin-bottom: 0.5rem;
|
1364
1364
|
}
|
1365
1365
|
|
1366
|
-
`,
|
1366
|
+
`,Bh=[xt,lv];var Oa=j.constructTagName("link"),Pa={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},Da={LARGE:1,MIDSIZE:.875,SMALL:.75},Uh={LINK_SIZE:Pa.LARGE};var Hh=j.constructTagName("card"),yl={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},cv={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Xt={VARIANT:yl.BORDER,ORIENTATION:cv.VERTICAL,TITLE_TYPE:lt.HEADING_SMALL_BOLD,SUBTITLE_TYPE:lt.BODY_MIDSIZE_MEDIUM,TAGNAME:Et.SPAN,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem",LINK:Oa,BUTTON:yi};var Fa=l=>{class o extends l{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=Xt.VARIANT;this.orientation=Xt.ORIENTATION;this.titleTagName=Xt.TAGNAME;this.subtitleTagName=Xt.TAGNAME}renderImage(){return this.imageSrc?F`<img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" />`:Z}renderIcon(){return this.iconName?F`<mdc-icon
|
1367
1367
|
part="icon"
|
1368
1368
|
size="${Xt.ICON_SIZE}"
|
1369
1369
|
length-unit="${Xt.ICON_LENGTH_UNIT}"
|
@@ -1373,13 +1373,13 @@
|
|
1373
1373
|
${this.subtitle?F`<mdc-text part="subtitle" type="${Xt.SUBTITLE_TYPE}" tagname="${this.subtitleTagName}"
|
1374
1374
|
>${this.subtitle}</mdc-text
|
1375
1375
|
>`:Z}
|
1376
|
-
</div>`}}return y([A({type:String,attribute:"card-title",reflect:!0})],o.prototype,"cardTitle",2),y([A({type:String,reflect:!0})],o.prototype,"subtitle",2),y([A({type:String,attribute:"image-src",reflect:!0})],o.prototype,"imageSrc",2),y([A({type:String,attribute:"image-alt",reflect:!0})],o.prototype,"imageAlt",2),y([A({type:String,reflect:!0})],o.prototype,"variant",2),y([A({type:String,reflect:!0})],o.prototype,"orientation",2),y([A({type:String,attribute:"title-tag-name",reflect:!0})],o.prototype,"titleTagName",2),y([A({type:String,attribute:"subtitle-tag-name",reflect:!0})],o.prototype,"subtitleTagName",2),y([A({type:String,attribute:"icon-name",reflect:!0})],o.prototype,"iconName",2),o};var
|
1376
|
+
</div>`}}return y([A({type:String,attribute:"card-title",reflect:!0})],o.prototype,"cardTitle",2),y([A({type:String,reflect:!0})],o.prototype,"subtitle",2),y([A({type:String,attribute:"image-src",reflect:!0})],o.prototype,"imageSrc",2),y([A({type:String,attribute:"image-alt",reflect:!0})],o.prototype,"imageAlt",2),y([A({type:String,reflect:!0})],o.prototype,"variant",2),y([A({type:String,reflect:!0})],o.prototype,"orientation",2),y([A({type:String,attribute:"title-tag-name",reflect:!0})],o.prototype,"titleTagName",2),y([A({type:String,attribute:"subtitle-tag-name",reflect:!0})],o.prototype,"subtitleTagName",2),y([A({type:String,attribute:"icon-name",reflect:!0})],o.prototype,"iconName",2),o};var za=l=>{class o extends l{updateFooterButtonColors(s){let n=[...this.footerButtonPrimary||[],...this.footerButtonSecondary||[]];n==null||n.forEach(h=>{s===yl.PROMOTIONAL?h.setAttribute("color",Ei.PROMOTIONAL):h.setAttribute("color",Ei.DEFAULT)})}handleFooterSlot(s,n){var f,S,M;let h=[];s===Xt.LINK&&((f=this.footerLink)!=null&&f.length)?h=this.footerLink:s===Xt.BUTTON&&n===re.PRIMARY&&((S=this.footerButtonPrimary)!=null&&S.length)?h=this.footerButtonPrimary:s===Xt.BUTTON&&n===re.SECONDARY&&((M=this.footerButtonSecondary)!=null&&M.length)&&(h=this.footerButtonSecondary);for(let B=1;B<h.length;B+=1)h[B].remove();h.forEach(B=>{B.matches(s)||B.remove(),n&&B.setAttribute("variant",n)})}renderFooter(){return F`<div part="footer">
|
1377
1377
|
<slot name="footer-link" @slotchange=${()=>this.handleFooterSlot(Xt.LINK)}></slot>
|
1378
1378
|
<slot name="footer-button-secondary"
|
1379
1379
|
@slotchange=${()=>this.handleFooterSlot(Xt.BUTTON,re.SECONDARY)}></slot>
|
1380
1380
|
<slot name="footer-button-primary"
|
1381
1381
|
@slotchange=${()=>this.handleFooterSlot(Xt.BUTTON,re.PRIMARY)}></slot>
|
1382
|
-
</div>`}}return y([
|
1382
|
+
</div>`}}return y([zt({slot:"footer-link"})],o.prototype,"footerLink",2),y([zt({slot:"footer-button-primary"})],o.prototype,"footerButtonPrimary",2),y([zt({slot:"footer-button-secondary"})],o.prototype,"footerButtonSecondary",2),o};var bs=class extends Fa(za(J)){constructor(){super(...arguments);this.handleIconButtons=()=>{var e;if((e=this.iconButtons)==null||e.forEach(s=>{!s.matches(Xt.BUTTON)&&s.getAttribute("data-btn-type")!=="icon"?s.remove():(s.setAttribute("variant",re.TERTIARY),s.setAttribute("size","32"))}),this.iconButtons&&this.iconButtons.length>3)for(let s=3;s<this.iconButtons.length;s+=1)this.iconButtons[s].remove()}}update(e){super.update(e),e.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?F`<div part="header">
|
1383
1383
|
${this.renderIcon()}
|
1384
1384
|
${this.renderTitle()}
|
1385
1385
|
<div part="icon-button"><slot name="icon-button" @slotchange=${this.handleIconButtons}></slot></div>
|
@@ -1392,7 +1392,7 @@
|
|
1392
1392
|
<slot name="after-body"></slot>
|
1393
1393
|
${this.renderFooter()}
|
1394
1394
|
</div>
|
1395
|
-
`}};
|
1395
|
+
`}};bs.styles=[...J.styles,...Bh],y([zt({slot:"icon-button"})],bs.prototype,"iconButtons",2);var Ze=bs;Ze.register(Hh);var dv=Ze;var hv=W`
|
1396
1396
|
:host {
|
1397
1397
|
cursor: pointer;
|
1398
1398
|
user-select: none;
|
@@ -1414,7 +1414,7 @@
|
|
1414
1414
|
:host([disabled])::part(image){
|
1415
1415
|
opacity: 0.5;
|
1416
1416
|
}
|
1417
|
-
`,
|
1417
|
+
`,Gh=[hv,..._t()];var $a=class extends Fa(Te){connectedCallback(){super.connectedCallback(),this.active=void 0,this.size=void 0}renderHeader(){return this.cardTitle?F`<div part="header">
|
1418
1418
|
${this.renderIcon()}
|
1419
1419
|
${this.renderTitle()}
|
1420
1420
|
</div>`:Z}render(){return F`
|
@@ -1425,7 +1425,7 @@
|
|
1425
1425
|
<slot name="body"></slot>
|
1426
1426
|
<slot name="after-body"></slot>
|
1427
1427
|
</div>
|
1428
|
-
`}}
|
1428
|
+
`}};$a.styles=[...Ze.styles,...Gh];var El=$a;var jh=j.constructTagName("cardbutton");El.register(jh);var mv=El;var pv=W`
|
1429
1429
|
:host {
|
1430
1430
|
cursor: pointer;
|
1431
1431
|
user-select: none;
|
@@ -1482,10 +1482,10 @@
|
|
1482
1482
|
:host([disabled])::part(check-icon){
|
1483
1483
|
color: var(--mds-color-theme-text-primary-disabled);
|
1484
1484
|
}
|
1485
|
-
`,
|
1486
|
-
size="${
|
1487
|
-
length-unit="${
|
1488
|
-
name="${e}"></mdc-icon>`;case
|
1485
|
+
`,Wh=[pv,..._t()];var qh=j.constructTagName("cardcheckbox"),xl={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},Va={CHECK:"check",CHECKBOX:"checkbox"},Ba={SELECTION_TYPE:Va.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var $t={BUTTON:"button",CHECKBOX:"checkbox",GROUP:"group",LIST:"list",LISTITEM:"listitem",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",RADIO:"radio",RADIOGROUP:"radiogroup",TOOLTIP:"tooltip"};var vo=class extends Dt(nr(Ze)){constructor(){super();this.checked=!1;this.selectionType=Ba.SELECTION_TYPE;this.addEventListener("click",this.toggleChecked),this.addEventListener("keydown",this.toggleOnEnter),this.addEventListener("keyup",this.toggleOnSpace)}connectedCallback(){super.connectedCallback(),this.role=$t.CHECKBOX}update(e){super.update(e),e.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),e.has("disabled")&&(this.setAttribute("aria-disabled",`${this.disabled}`),this.tabIndex=this.disabled?-1:0)}toggleChecked(){this.disabled||(this.checked=!this.checked)}toggleOnEnter(e){e.key==="Enter"&&this.toggleChecked()}toggleOnSpace(e){e.key===" "&&this.toggleChecked()}renderSelection(){let e=this.checked?xl.CHECKED:xl.DEFAULT;switch(this.selectionType){case Va.CHECK:return F`<mdc-icon part="check check-icon"
|
1486
|
+
size="${Ba.ICON_SIZE}"
|
1487
|
+
length-unit="${Ba.ICON_LENGTH_UNIT}"
|
1488
|
+
name="${e}"></mdc-icon>`;case Va.CHECKBOX:return F`<mdc-staticcheckbox part="check"
|
1489
1489
|
?checked="${this.checked}"
|
1490
1490
|
?disabled="${this.disabled}"></mdc-staticcheckbox>`;default:return Z}}renderHeader(){return this.cardTitle?F`<div part="header">
|
1491
1491
|
${this.renderIcon()}
|
@@ -1499,7 +1499,7 @@
|
|
1499
1499
|
<slot name="body"></slot>
|
1500
1500
|
<slot name="after-body"></slot>
|
1501
1501
|
</div>
|
1502
|
-
`}};
|
1502
|
+
`}};vo.styles=[...Ze.styles,...Wh],y([A({type:Boolean,reflect:!0})],vo.prototype,"checked",2),y([A({type:String,attribute:"selection-type",reflect:!0})],vo.prototype,"selectionType",2);var Tl=vo;var uv=[W`
|
1503
1503
|
:host{
|
1504
1504
|
margin: 0.125rem 0;
|
1505
1505
|
border-radius: 0.125rem;
|
@@ -1556,15 +1556,15 @@
|
|
1556
1556
|
border: 0.0625rem solid var(--mdc-staticcheckbox-border-color);
|
1557
1557
|
}
|
1558
1558
|
}
|
1559
|
-
`],
|
1559
|
+
`],Yh=uv;var Kh=j.constructTagName("checkbox"),Ua={CHECKED:"check-bold",INDETERMINATE:"minus-bold"};var Xh=j.constructTagName("staticcheckbox");var go=class extends Dt(J){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1}render(){let e=this.checked||this.indeterminate?F`
|
1560
1560
|
<mdc-icon
|
1561
1561
|
class="icon"
|
1562
|
-
name="${this.indeterminate?
|
1562
|
+
name="${this.indeterminate?Ua.INDETERMINATE:Ua.CHECKED}"
|
1563
1563
|
size="1"
|
1564
1564
|
length-unit="rem"
|
1565
1565
|
></mdc-icon>
|
1566
1566
|
`:Z;return F`<slot></slot>
|
1567
|
-
<div part="icon-container">${e}</div>`}};
|
1567
|
+
<div part="icon-container">${e}</div>`}};go.styles=[...J.styles,...Yh],y([A({type:Boolean,reflect:!0})],go.prototype,"checked",2),y([A({type:Boolean,reflect:!0})],go.prototype,"indeterminate",2);var Al=go;Al.register(Xh);var fv=Al;Tl.register(qh);var vv=Tl;var gv=W`
|
1568
1568
|
:host {
|
1569
1569
|
cursor: pointer;
|
1570
1570
|
user-select: none;
|
@@ -1617,7 +1617,7 @@
|
|
1617
1617
|
:host([disabled])::part(image){
|
1618
1618
|
opacity: 0.5;
|
1619
1619
|
}
|
1620
|
-
`,
|
1620
|
+
`,Zh=[gv,..._t()];var bo=class extends Dt(nr(Ze)){constructor(){super();this.checked=!1;this.name="";this.addEventListener("click",this.toggleChecked),this.addEventListener("keydown",this.toggleOnEnter),this.addEventListener("keyup",this.toggleOnSpace)}connectedCallback(){super.connectedCallback(),this.role=$t.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled)return;this.getAllCardsWithinSameGroup().forEach(s=>{s.checked=!1}),this.checked=!0}setDisabled(e){this.setAttribute("aria-disabled",`${e}`),this.tabIndex=e?-1:0}update(e){super.update(e),e.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),e.has("disabled")&&this.setDisabled(this.disabled)}updateCardRadio(e,s){e[s].focus(),e[s].toggleChecked()}toggleOnEnter(e){if(this.disabled)return;let n=this.getAllCardsWithinSameGroup().filter(f=>!f.disabled),h=n.indexOf(this);if(["ArrowDown","ArrowRight"].includes(e.key)){let f=(h+1)%n.length;this.updateCardRadio(n,f)}else if(["ArrowUp","ArrowLeft"].includes(e.key)){let f=(h-1+n.length)%n.length;this.updateCardRadio(n,f)}e.key==="Enter"&&this.toggleChecked()}toggleOnSpace(e){e.key===" "&&this.toggleChecked()}renderHeader(){return this.cardTitle?F`<div part="header">
|
1621
1621
|
${this.renderIcon()}
|
1622
1622
|
${this.renderTitle()}
|
1623
1623
|
<mdc-staticradio part="check"
|
@@ -1631,7 +1631,7 @@
|
|
1631
1631
|
<slot name="body"></slot>
|
1632
1632
|
<slot name="after-body"></slot>
|
1633
1633
|
</div>
|
1634
|
-
`}};
|
1634
|
+
`}};bo.styles=[...Ze.styles,...Zh],y([A({type:Boolean,reflect:!0})],bo.prototype,"checked",2),y([A({type:String})],bo.prototype,"name",2);var _l=bo;var Ha=j.constructTagName("cardradio");var bv=[W`
|
1635
1635
|
:host{
|
1636
1636
|
display: block;
|
1637
1637
|
position: relative;
|
@@ -1714,9 +1714,9 @@
|
|
1714
1714
|
:host([readonly][checked]) .icon:after{
|
1715
1715
|
background-color: var(--mdc-staticradio-text-disabled-color);
|
1716
1716
|
}
|
1717
|
-
`],
|
1717
|
+
`],Jh=bv;var yo=class extends Dt(J){constructor(){super(...arguments);this.checked=!1;this.readonly=!1}render(){return F`
|
1718
1718
|
<slot></slot>
|
1719
|
-
<span part="radio-icon" class="icon"></span>`}};
|
1719
|
+
<span part="radio-icon" class="icon"></span>`}};yo.styles=[...J.styles,...Jh],y([A({type:Boolean,reflect:!0})],yo.prototype,"checked",2),y([A({type:Boolean,reflect:!0})],yo.prototype,"readonly",2);var Sl=yo;var Qh=j.constructTagName("staticradio");Sl.register(Qh);var yv=Sl;_l.register(Ha);var Ev=_l;var Ht=l=>{class o extends l{constructor(){super(...arguments);this.dataAriaLabel=null}}return y([A({type:String,reflect:!0,attribute:"data-aria-label"})],o.prototype,"dataAriaLabel",2),o};var ie=[];for(let l=0;l<256;++l)ie.push((l+256).toString(16).slice(1));function tm(l,o=0){return(ie[l[o+0]]+ie[l[o+1]]+ie[l[o+2]]+ie[l[o+3]]+"-"+ie[l[o+4]]+ie[l[o+5]]+"-"+ie[l[o+6]]+ie[l[o+7]]+"-"+ie[l[o+8]]+ie[l[o+9]]+"-"+ie[l[o+10]]+ie[l[o+11]]+ie[l[o+12]]+ie[l[o+13]]+ie[l[o+14]]+ie[l[o+15]]).toLowerCase()}var kl,xv=new Uint8Array(16);function Cl(){if(!kl){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");kl=crypto.getRandomValues.bind(crypto)}return kl(xv)}var Tv=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),wl={randomUUID:Tv};function Av(l,o,e){var n,h,f;if(wl.randomUUID&&!o&&!l)return wl.randomUUID();l=l||{};let s=(f=(h=l.random)!=null?h:(n=l.rng)==null?void 0:n.call(l))!=null?f:Cl();if(s.length<16)throw new Error("Random bytes length must be >= 16");if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,o){if(e=e||0,e<0||e+16>o.length)throw new RangeError(`UUID byte range ${e}:${e+15} is out of buffer bounds`);for(let S=0;S<16;++S)o[e+S]=s[S];return o}return tm(s)}var wr=Av;var Se=l=>{class o extends l{constructor(){super(...arguments);this.name="";this.value="";this.internals=this.attachInternals()}get form(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}connectedCallback(){super.connectedCallback(),this.id=`mdc-input-${wr()}`}setValidity(){this.inputElement&&this.internals.setValidity(this.inputElement.validity,this.inputElement.validationMessage,this.inputElement)}checkValidity(){return this.setValidity(),this.internals.checkValidity()}reportValidity(){return this.setValidity(),this.internals.reportValidity()}}return o.formAssociated=!0,y([A({reflect:!0,type:String})],o.prototype,"name",2),y([A({reflect:!0,type:String})],o.prototype,"value",2),y([A({reflect:!0,type:String,attribute:"validation-message"})],o.prototype,"validationMessage",2),y([Ar("input")],o.prototype,"inputElement",2),o};var em=j.constructTagName("formfieldwrapper"),Zt={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Vt={VALIDATION:Zt.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id"},Ti={TAGNAME:Et.SPAN,TYPE:lt.BODY_MIDSIZE_REGULAR,HEADER_TYPE:lt.BODY_MIDSIZE_BOLD};var _v=[xt,W`
|
1720
1720
|
:host {
|
1721
1721
|
flex-direction: column;
|
1722
1722
|
align-items: flex-start;
|
@@ -1769,22 +1769,22 @@
|
|
1769
1769
|
:host([help-text-type='priority']) .mdc-help-text {
|
1770
1770
|
color: var(--mds-color-theme-text-accent-normal);
|
1771
1771
|
}
|
1772
|
-
`],
|
1773
|
-
id="${
|
1774
|
-
tagname="${
|
1775
|
-
type="${
|
1772
|
+
`],rm=_v;var im=l=>({[Zt.ERROR]:"error-legacy-badge-filled",[Zt.WARNING]:"warning-badge-filled",[Zt.SUCCESS]:"check-circle-badge-filled",[Zt.PRIORITY]:"priority-badge-filled",[Zt.DEFAULT]:""})[l]||"";var Ir=class extends Dt(J){constructor(){super(...arguments);this.id="";this.helpTextType=Vt.VALIDATION;this.shouldRenderLabel=!0}renderLabelElement(){return this.label?this.shouldRenderLabel?F`<label for="${this.id}" id="${Vt.HEADING_ID}" class="mdc-label" part="label">${this.label}</label>`:F` <mdc-text
|
1773
|
+
id="${Vt.HEADING_ID}"
|
1774
|
+
tagname="${Ti.TAGNAME}"
|
1775
|
+
type="${Ti.HEADER_TYPE}"
|
1776
1776
|
part="label"
|
1777
1777
|
>${this.label}</mdc-text
|
1778
1778
|
>`:Z}renderRequiredLabel(){return this.requiredLabel?F`
|
1779
|
-
<mdc-text part="required-label" tagname=${
|
1779
|
+
<mdc-text part="required-label" tagname=${Ti.TAGNAME} type=${Ti.TYPE}>
|
1780
1780
|
(${this.requiredLabel})
|
1781
1781
|
</mdc-text>
|
1782
|
-
`:Z}renderHelpTextIcon(){if(!this.helpText)return Z;let e=
|
1782
|
+
`:Z}renderHelpTextIcon(){if(!this.helpText)return Z;let e=im(this.helpTextType||Vt.VALIDATION);return e&&!this.disabled?F`<mdc-icon part="helper-icon" size="1" length-unit="rem" name=${e}></mdc-icon>`:Z}renderHelpText(){return this.helpText?F`
|
1783
1783
|
<mdc-text
|
1784
|
-
id="${
|
1784
|
+
id="${Vt.HELPER_TEXT_ID}"
|
1785
1785
|
part="help-text"
|
1786
|
-
tagname=${
|
1787
|
-
type=${
|
1786
|
+
tagname=${Ti.TAGNAME}
|
1787
|
+
type=${Ti.TYPE}
|
1788
1788
|
>
|
1789
1789
|
${this.helpText}
|
1790
1790
|
</mdc-text>
|
@@ -1795,7 +1795,7 @@
|
|
1795
1795
|
</div>`:Z}renderHelperText(){return this.helpText?F`<div class="mdc-help-text" part="mdc-help-text">
|
1796
1796
|
<slot name="help-icon">${this.renderHelpTextIcon()}</slot>
|
1797
1797
|
<slot name="help-text">${this.renderHelpText()}</slot>
|
1798
|
-
</div>`:Z}};
|
1798
|
+
</div>`:Z}};Ir.styles=[...J.styles,...rm],y([A({reflect:!0,type:String})],Ir.prototype,"label",2),y([A({type:String,reflect:!0,attribute:"required-label"})],Ir.prototype,"requiredLabel",2),y([A({type:String})],Ir.prototype,"id",2),y([A({reflect:!0,attribute:"help-text-type"})],Ir.prototype,"helpTextType",2),y([A({type:String,reflect:!0,attribute:"help-text"})],Ir.prototype,"helpText",2);var pe=Ir;var Sv=[W`
|
1799
1799
|
:host {
|
1800
1800
|
--mdc-checkbox-background-color-hover: var(--mds-color-theme-control-inactive-hover);
|
1801
1801
|
--mdc-checkbox-pressed-icon-color: var(--mds-color-theme-control-inactive-pressed);
|
@@ -1862,7 +1862,7 @@
|
|
1862
1862
|
}
|
1863
1863
|
|
1864
1864
|
|
1865
|
-
`,..._t(!0)],
|
1865
|
+
`,..._t(!0)],om=Sv;var Ai=class extends Se(Ht(pe)){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.autofocus=!1;this.renderLabelAndHelperText=()=>this.label?F`<div class="text-container">
|
1866
1866
|
${this.renderLabel()}
|
1867
1867
|
${this.renderHelperText()}
|
1868
1868
|
</div>`:Z}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}setFormValue(){let e=null;this.checked?e=this.value?this.value:"on":e=null,this.manageRequired(),this.internals.setFormValue(e)}manageRequired(){!this.checked&&this.requiredLabel?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.checked=!1,this.indeterminate=!1}formStateRestoreCallback(e){e&&(this.checked=!0)}toggleState(){this.disabled||(this.checked=!this.checked,this.indeterminate=!1)}handleKeyDown(e){var s;e.key==="Enter"&&((s=this.form)==null||s.requestSubmit())}handleChange(e){this.toggleState();let s=e.constructor;this.dispatchEvent(new s(e.type,e))}update(e){super.update(e),e.has("checked")&&this.setFormValue()}render(){var e;return F`
|
@@ -1885,13 +1885,13 @@
|
|
1885
1885
|
.disabled="${this.disabled}"
|
1886
1886
|
aria-label="${(e=this.dataAriaLabel)!=null?e:""}"
|
1887
1887
|
tabindex="${this.disabled?-1:0}"
|
1888
|
-
aria-describedby="${mt(this.helpText?
|
1888
|
+
aria-describedby="${mt(this.helpText?Vt.HELPER_TEXT_ID:"")}"
|
1889
1889
|
@change=${this.handleChange}
|
1890
1890
|
@keydown=${this.handleKeyDown}
|
1891
1891
|
/>
|
1892
1892
|
</mdc-staticcheckbox>
|
1893
1893
|
${this.renderLabelAndHelperText()}
|
1894
|
-
`}};
|
1894
|
+
`}};Ai.styles=[...pe.styles,...om],y([A({type:Boolean,reflect:!0})],Ai.prototype,"checked",2),y([A({type:Boolean,reflect:!0})],Ai.prototype,"indeterminate",2),y([A({type:Boolean,reflect:!0})],Ai.prototype,"autofocus",2);var Il=Ai;Il.register(Kh);var kv=Il;var Cv=W`
|
1895
1895
|
:host {
|
1896
1896
|
height: 1.5rem;
|
1897
1897
|
gap: 0.25rem;
|
@@ -2028,15 +2028,15 @@
|
|
2028
2028
|
--mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
|
2029
2029
|
cursor: auto;
|
2030
2030
|
}
|
2031
|
-
`,
|
2031
|
+
`,sm=[xt,Cv,..._t()];var am=j.constructTagName("chip"),wv={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},Eo={COLOR:wv.DEFAULT,TEXT_TYPE:lt.BODY_MIDSIZE_REGULAR,TAG_NAME:Et.SPAN,SIZE:as[24],ROLE:"button"};var xo=class extends Ae(Te){constructor(){super(...arguments);this.color=Eo.COLOR;this.label=""}connectedCallback(){super.connectedCallback(),this.role=Eo.ROLE,this.size=Eo.SIZE,this.active=void 0,this.softDisabled=void 0}renderIcon(){return this.iconName?F`
|
2032
2032
|
<mdc-icon
|
2033
2033
|
name="${this.iconName}"
|
2034
2034
|
length-unit="rem"
|
2035
2035
|
size="1"></mdc-icon>
|
2036
2036
|
`:Z}render(){return F`
|
2037
2037
|
${this.renderIcon()}
|
2038
|
-
<mdc-text type="${
|
2039
|
-
`}};xo.styles=[...J.styles,...rm],y([A({type:String,reflect:!0})],xo.prototype,"color",2),y([A({type:String})],xo.prototype,"label",2);var Eo=xo;Eo.register(im);var Cv=Eo;var cr=Math.min,ue=Math.max,ys=Math.round,xs=Math.floor,Ze=l=>({x:l,y:l}),wv={left:"right",right:"left",bottom:"top",top:"bottom"},Iv={start:"end",end:"start"};function Ha(l,o,e){return ue(l,cr(o,e))}function Ai(l,o){return typeof l=="function"?l(o):l}function Ir(l){return l.split("-")[0]}function _i(l){return l.split("-")[1]}function Cl(l){return l==="x"?"y":"x"}function Ga(l){return l==="y"?"height":"width"}function Qr(l){return["top","bottom"].includes(Ir(l))?"y":"x"}function ja(l){return Cl(Qr(l))}function om(l,o,e){e===void 0&&(e=!1);let s=_i(l),n=ja(l),h=Ga(n),f=n==="x"?s===(e?"end":"start")?"right":"left":s==="start"?"bottom":"top";return o.reference[h]>o.floating[h]&&(f=bs(f)),[f,bs(f)]}function sm(l){let o=bs(l);return[Ua(l),o,Ua(o)]}function Ua(l){return l.replace(/start|end/g,o=>Iv[o])}function Lv(l,o,e){let s=["left","right"],n=["right","left"],h=["top","bottom"],f=["bottom","top"];switch(l){case"top":case"bottom":return e?o?n:s:o?s:n;case"left":case"right":return o?h:f;default:return[]}}function am(l,o,e,s){let n=_i(l),h=Lv(Ir(l),e==="start",s);return n&&(h=h.map(f=>f+"-"+n),o&&(h=h.concat(h.map(Ua)))),h}function bs(l){return l.replace(/left|right|bottom|top/g,o=>wv[o])}function Mv(l){return{top:0,right:0,bottom:0,left:0,...l}}function wl(l){return typeof l!="number"?Mv(l):{top:l,right:l,bottom:l,left:l}}function Si(l){let{x:o,y:e,width:s,height:n}=l;return{width:s,height:n,top:e,left:o,right:o+s,bottom:e+n,x:o,y:e}}function nm(l,o,e){let{reference:s,floating:n}=l,h=Qr(o),f=ja(o),S=Ga(f),M=Ir(o),B=h==="y",G=s.x+s.width/2-n.width/2,q=s.y+s.height/2-n.height/2,ot=s[S]/2-n[S]/2,Q;switch(M){case"top":Q={x:G,y:s.y-n.height};break;case"bottom":Q={x:G,y:s.y+s.height};break;case"right":Q={x:s.x+s.width,y:q};break;case"left":Q={x:s.x-n.width,y:q};break;default:Q={x:s.x,y:s.y}}switch(_i(o)){case"start":Q[f]-=ot*(e&&B?-1:1);break;case"end":Q[f]+=ot*(e&&B?-1:1);break}return Q}var lm=async(l,o,e)=>{let{placement:s="bottom",strategy:n="absolute",middleware:h=[],platform:f}=e,S=h.filter(Boolean),M=await(f.isRTL==null?void 0:f.isRTL(o)),B=await f.getElementRects({reference:l,floating:o,strategy:n}),{x:G,y:q}=nm(B,s,M),ot=s,Q={},et=0;for(let ct=0;ct<S.length;ct++){let{name:bt,fn:gt}=S[ct],{x:yt,y:St,data:$t,reset:Mt}=await gt({x:G,y:q,initialPlacement:s,placement:ot,strategy:n,middlewareData:Q,rects:B,platform:f,elements:{reference:l,floating:o}});G=yt!=null?yt:G,q=St!=null?St:q,Q={...Q,[bt]:{...Q[bt],...$t}},Mt&&et<=50&&(et++,typeof Mt=="object"&&(Mt.placement&&(ot=Mt.placement),Mt.rects&&(B=Mt.rects===!0?await f.getElementRects({reference:l,floating:o,strategy:n}):Mt.rects),{x:G,y:q}=nm(B,ot,M)),ct=-1)}return{x:G,y:q,placement:ot,strategy:n,middlewareData:Q}};async function Wa(l,o){var e;o===void 0&&(o={});let{x:s,y:n,platform:h,rects:f,elements:S,strategy:M}=l,{boundary:B="clippingAncestors",rootBoundary:G="viewport",elementContext:q="floating",altBoundary:ot=!1,padding:Q=0}=Ai(o,l),et=wl(Q),bt=S[ot?q==="floating"?"reference":"floating":q],gt=Si(await h.getClippingRect({element:(e=await(h.isElement==null?void 0:h.isElement(bt)))==null||e?bt:bt.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(S.floating)),boundary:B,rootBoundary:G,strategy:M})),yt=q==="floating"?{x:s,y:n,width:f.floating.width,height:f.floating.height}:f.reference,St=await(h.getOffsetParent==null?void 0:h.getOffsetParent(S.floating)),$t=await(h.isElement==null?void 0:h.isElement(St))?await(h.getScale==null?void 0:h.getScale(St))||{x:1,y:1}:{x:1,y:1},Mt=Si(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:S,rect:yt,offsetParent:St,strategy:M}):yt);return{top:(gt.top-Mt.top+et.top)/$t.y,bottom:(Mt.bottom-gt.bottom+et.bottom)/$t.y,left:(gt.left-Mt.left+et.left)/$t.x,right:(Mt.right-gt.right+et.right)/$t.x}}var cm=l=>({name:"arrow",options:l,async fn(o){let{x:e,y:s,placement:n,rects:h,platform:f,elements:S,middlewareData:M}=o,{element:B,padding:G=0}=Ai(l,o)||{};if(B==null)return{};let q=wl(G),ot={x:e,y:s},Q=ja(n),et=Ga(Q),ct=await f.getDimensions(B),bt=Q==="y",gt=bt?"top":"left",yt=bt?"bottom":"right",St=bt?"clientHeight":"clientWidth",$t=h.reference[et]+h.reference[Q]-ot[Q]-h.floating[et],Mt=ot[Q]-h.reference[Q],Pt=await(f.getOffsetParent==null?void 0:f.getOffsetParent(B)),ve=Pt?Pt[St]:0;(!ve||!await(f.isElement==null?void 0:f.isElement(Pt)))&&(ve=S.floating[St]||h.floating[et]);let Qt=$t/2-Mt/2,Ue=ve/2-ct[et]/2-1,we=cr(q[gt],Ue),Re=cr(q[yt],Ue),He=we,Ge=ve-ct[et]-Re,Tt=ve/2-ct[et]/2+Qt,de=Ha(He,Tt,Ge),Oe=!M.arrow&&_i(n)!=null&&Tt!==de&&h.reference[et]/2-(Tt<He?we:Re)-ct[et]/2<0,je=Oe?Tt<He?Tt-He:Tt-Ge:0;return{[Q]:ot[Q]+je,data:{[Q]:de,centerOffset:Tt-de-je,...Oe&&{alignmentOffset:je}},reset:Oe}}});var dm=function(l){return l===void 0&&(l={}),{name:"flip",options:l,async fn(o){var e,s;let{placement:n,middlewareData:h,rects:f,initialPlacement:S,platform:M,elements:B}=o,{mainAxis:G=!0,crossAxis:q=!0,fallbackPlacements:ot,fallbackStrategy:Q="bestFit",fallbackAxisSideDirection:et="none",flipAlignment:ct=!0,...bt}=Ai(l,o);if((e=h.arrow)!=null&&e.alignmentOffset)return{};let gt=Ir(n),yt=Qr(S),St=Ir(S)===S,$t=await(M.isRTL==null?void 0:M.isRTL(B.floating)),Mt=ot||(St||!ct?[bs(S)]:sm(S)),Pt=et!=="none";!ot&&Pt&&Mt.push(...am(S,ct,et,$t));let ve=[S,...Mt],Qt=await Wa(o,bt),Ue=[],we=((s=h.flip)==null?void 0:s.overflows)||[];if(G&&Ue.push(Qt[gt]),q){let Tt=om(n,f,$t);Ue.push(Qt[Tt[0]],Qt[Tt[1]])}if(we=[...we,{placement:n,overflows:Ue}],!Ue.every(Tt=>Tt<=0)){var Re,He;let Tt=(((Re=h.flip)==null?void 0:Re.index)||0)+1,de=ve[Tt];if(de)return{data:{index:Tt,overflows:we},reset:{placement:de}};let Oe=(He=we.filter(je=>je.overflows[0]<=0).sort((je,dr)=>je.overflows[1]-dr.overflows[1])[0])==null?void 0:He.placement;if(!Oe)switch(Q){case"bestFit":{var Ge;let je=(Ge=we.filter(dr=>{if(Pt){let Pe=Qr(dr.placement);return Pe===yt||Pe==="y"}return!0}).map(dr=>[dr.placement,dr.overflows.filter(Pe=>Pe>0).reduce((Pe,Bs)=>Pe+Bs,0)]).sort((dr,Pe)=>dr[1]-Pe[1])[0])==null?void 0:Ge[0];je&&(Oe=je);break}case"initialPlacement":Oe=S;break}if(n!==Oe)return{reset:{placement:Oe}}}return{}}}};async function Nv(l,o){let{placement:e,platform:s,elements:n}=l,h=await(s.isRTL==null?void 0:s.isRTL(n.floating)),f=Ir(e),S=_i(e),M=Qr(e)==="y",B=["left","top"].includes(f)?-1:1,G=h&&M?-1:1,q=Ai(o,l),{mainAxis:ot,crossAxis:Q,alignmentAxis:et}=typeof q=="number"?{mainAxis:q,crossAxis:0,alignmentAxis:null}:{mainAxis:q.mainAxis||0,crossAxis:q.crossAxis||0,alignmentAxis:q.alignmentAxis};return S&&typeof et=="number"&&(Q=S==="end"?et*-1:et),M?{x:Q*G,y:ot*B}:{x:ot*B,y:Q*G}}var hm=function(l){return l===void 0&&(l=0),{name:"offset",options:l,async fn(o){var e,s;let{x:n,y:h,placement:f,middlewareData:S}=o,M=await Nv(o,l);return f===((e=S.offset)==null?void 0:e.placement)&&(s=S.arrow)!=null&&s.alignmentOffset?{}:{x:n+M.x,y:h+M.y,data:{...M,placement:f}}}}},mm=function(l){return l===void 0&&(l={}),{name:"shift",options:l,async fn(o){let{x:e,y:s,placement:n}=o,{mainAxis:h=!0,crossAxis:f=!1,limiter:S={fn:bt=>{let{x:gt,y:yt}=bt;return{x:gt,y:yt}}},...M}=Ai(l,o),B={x:e,y:s},G=await Wa(o,M),q=Qr(Ir(n)),ot=Cl(q),Q=B[ot],et=B[q];if(h){let bt=ot==="y"?"top":"left",gt=ot==="y"?"bottom":"right",yt=Q+G[bt],St=Q-G[gt];Q=Ha(yt,Q,St)}if(f){let bt=q==="y"?"top":"left",gt=q==="y"?"bottom":"right",yt=et+G[bt],St=et-G[gt];et=Ha(yt,et,St)}let ct=S.fn({...o,[ot]:Q,[q]:et});return{...ct,data:{x:ct.x-e,y:ct.y-s,enabled:{[ot]:h,[q]:f}}}}}};var pm=function(l){return l===void 0&&(l={}),{name:"size",options:l,async fn(o){var e,s;let{placement:n,rects:h,platform:f,elements:S}=o,{apply:M=()=>{},...B}=Ai(l,o),G=await Wa(o,B),q=Ir(n),ot=_i(n),Q=Qr(n)==="y",{width:et,height:ct}=h.floating,bt,gt;q==="top"||q==="bottom"?(bt=q,gt=ot===(await(f.isRTL==null?void 0:f.isRTL(S.floating))?"start":"end")?"left":"right"):(gt=q,bt=ot==="end"?"top":"bottom");let yt=ct-G.top-G.bottom,St=et-G.left-G.right,$t=cr(ct-G[bt],yt),Mt=cr(et-G[gt],St),Pt=!o.middlewareData.shift,ve=$t,Qt=Mt;if((e=o.middlewareData.shift)!=null&&e.enabled.x&&(Qt=St),(s=o.middlewareData.shift)!=null&&s.enabled.y&&(ve=yt),Pt&&!ot){let we=ue(G.left,0),Re=ue(G.right,0),He=ue(G.top,0),Ge=ue(G.bottom,0);Q?Qt=et-2*(we!==0||Re!==0?we+Re:ue(G.left,G.right)):ve=ct-2*(He!==0||Ge!==0?He+Ge:ue(G.top,G.bottom))}await M({...o,availableWidth:Qt,availableHeight:ve});let Ue=await f.getDimensions(S.floating);return et!==Ue.width||ct!==Ue.height?{reset:{rects:!0}}:{}}}};function qa(){return typeof window<"u"}function ki(l){return fm(l)?(l.nodeName||"").toLowerCase():"#document"}function ke(l){var o;return(l==null||(o=l.ownerDocument)==null?void 0:o.defaultView)||window}function Je(l){var o;return(o=(fm(l)?l.ownerDocument:l.document)||window.document)==null?void 0:o.documentElement}function fm(l){return qa()?l instanceof Node||l instanceof ke(l).Node:!1}function ze(l){return qa()?l instanceof Element||l instanceof ke(l).Element:!1}function Qe(l){return qa()?l instanceof HTMLElement||l instanceof ke(l).HTMLElement:!1}function um(l){return!qa()||typeof ShadowRoot>"u"?!1:l instanceof ShadowRoot||l instanceof ke(l).ShadowRoot}function Ao(l){let{overflow:o,overflowX:e,overflowY:s,display:n}=$e(l);return/auto|scroll|overlay|hidden|clip/.test(o+s+e)&&!["inline","contents"].includes(n)}function vm(l){return["table","td","th"].includes(ki(l))}function Es(l){return[":popover-open",":modal"].some(o=>{try{return l.matches(o)}catch{return!1}})}function Ya(l){let o=Ka(),e=ze(l)?$e(l):l;return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":!1)||!o&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!o&&(e.filter?e.filter!=="none":!1)||["transform","perspective","filter"].some(s=>(e.willChange||"").includes(s))||["paint","layout","strict","content"].some(s=>(e.contain||"").includes(s))}function gm(l){let o=Lr(l);for(;Qe(o)&&!Ci(o);){if(Ya(o))return o;if(Es(o))return null;o=Lr(o)}return null}function Ka(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ci(l){return["html","body","#document"].includes(ki(l))}function $e(l){return ke(l).getComputedStyle(l)}function Ts(l){return ze(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:{scrollLeft:l.scrollX,scrollTop:l.scrollY}}function Lr(l){if(ki(l)==="html")return l;let o=l.assignedSlot||l.parentNode||um(l)&&l.host||Je(l);return um(o)?o.host:o}function bm(l){let o=Lr(l);return Ci(o)?l.ownerDocument?l.ownerDocument.body:l.body:Qe(o)&&Ao(o)?o:bm(o)}function To(l,o,e){var s;o===void 0&&(o=[]),e===void 0&&(e=!0);let n=bm(l),h=n===((s=l.ownerDocument)==null?void 0:s.body),f=ke(n);if(h){let S=Xa(f);return o.concat(f,f.visualViewport||[],Ao(n)?n:[],S&&e?To(S):[])}return o.concat(n,To(n,[],e))}function Xa(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameElement:null}function Em(l){let o=$e(l),e=parseFloat(o.width)||0,s=parseFloat(o.height)||0,n=Qe(l),h=n?l.offsetWidth:e,f=n?l.offsetHeight:s,S=ys(e)!==h||ys(s)!==f;return S&&(e=h,s=f),{width:e,height:s,$:S}}function Ll(l){return ze(l)?l:l.contextElement}function _o(l){let o=Ll(l);if(!Qe(o))return Ze(1);let e=o.getBoundingClientRect(),{width:s,height:n,$:h}=Em(o),f=(h?ys(e.width):e.width)/s,S=(h?ys(e.height):e.height)/n;return(!f||!Number.isFinite(f))&&(f=1),(!S||!Number.isFinite(S))&&(S=1),{x:f,y:S}}var Rv=Ze(0);function Tm(l){let o=ke(l);return!Ka()||!o.visualViewport?Rv:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Ov(l,o,e){return o===void 0&&(o=!1),!e||o&&e!==ke(l)?!1:o}function wi(l,o,e,s){o===void 0&&(o=!1),e===void 0&&(e=!1);let n=l.getBoundingClientRect(),h=Ll(l),f=Ze(1);o&&(s?ze(s)&&(f=_o(s)):f=_o(l));let S=Ov(h,e,s)?Tm(h):Ze(0),M=(n.left+S.x)/f.x,B=(n.top+S.y)/f.y,G=n.width/f.x,q=n.height/f.y;if(h){let ot=ke(h),Q=s&&ze(s)?ke(s):s,et=ot,ct=Xa(et);for(;ct&&s&&Q!==et;){let bt=_o(ct),gt=ct.getBoundingClientRect(),yt=$e(ct),St=gt.left+(ct.clientLeft+parseFloat(yt.paddingLeft))*bt.x,$t=gt.top+(ct.clientTop+parseFloat(yt.paddingTop))*bt.y;M*=bt.x,B*=bt.y,G*=bt.x,q*=bt.y,M+=St,B+=$t,et=ke(ct),ct=Xa(et)}}return Si({width:G,height:q,x:M,y:B})}function Ml(l,o){let e=Ts(l).scrollLeft;return o?o.left+e:wi(Je(l)).left+e}function Am(l,o,e){e===void 0&&(e=!1);let s=l.getBoundingClientRect(),n=s.left+o.scrollLeft-(e?0:Ml(l,s)),h=s.top+o.scrollTop;return{x:n,y:h}}function Pv(l){let{elements:o,rect:e,offsetParent:s,strategy:n}=l,h=n==="fixed",f=Je(s),S=o?Es(o.floating):!1;if(s===f||S&&h)return e;let M={scrollLeft:0,scrollTop:0},B=Ze(1),G=Ze(0),q=Qe(s);if((q||!q&&!h)&&((ki(s)!=="body"||Ao(f))&&(M=Ts(s)),Qe(s))){let Q=wi(s);B=_o(s),G.x=Q.x+s.clientLeft,G.y=Q.y+s.clientTop}let ot=f&&!q&&!h?Am(f,M,!0):Ze(0);return{width:e.width*B.x,height:e.height*B.y,x:e.x*B.x-M.scrollLeft*B.x+G.x+ot.x,y:e.y*B.y-M.scrollTop*B.y+G.y+ot.y}}function Dv(l){return Array.from(l.getClientRects())}function Fv(l){let o=Je(l),e=Ts(l),s=l.ownerDocument.body,n=ue(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),h=ue(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight),f=-e.scrollLeft+Ml(l),S=-e.scrollTop;return $e(s).direction==="rtl"&&(f+=ue(o.clientWidth,s.clientWidth)-n),{width:n,height:h,x:f,y:S}}function zv(l,o){let e=ke(l),s=Je(l),n=e.visualViewport,h=s.clientWidth,f=s.clientHeight,S=0,M=0;if(n){h=n.width,f=n.height;let B=Ka();(!B||B&&o==="fixed")&&(S=n.offsetLeft,M=n.offsetTop)}return{width:h,height:f,x:S,y:M}}function $v(l,o){let e=wi(l,!0,o==="fixed"),s=e.top+l.clientTop,n=e.left+l.clientLeft,h=Qe(l)?_o(l):Ze(1),f=l.clientWidth*h.x,S=l.clientHeight*h.y,M=n*h.x,B=s*h.y;return{width:f,height:S,x:M,y:B}}function ym(l,o,e){let s;if(o==="viewport")s=zv(l,e);else if(o==="document")s=Fv(Je(l));else if(ze(o))s=$v(o,e);else{let n=Tm(l);s={x:o.x-n.x,y:o.y-n.y,width:o.width,height:o.height}}return Si(s)}function _m(l,o){let e=Lr(l);return e===o||!ze(e)||Ci(e)?!1:$e(e).position==="fixed"||_m(e,o)}function Vv(l,o){let e=o.get(l);if(e)return e;let s=To(l,[],!1).filter(S=>ze(S)&&ki(S)!=="body"),n=null,h=$e(l).position==="fixed",f=h?Lr(l):l;for(;ze(f)&&!Ci(f);){let S=$e(f),M=Ya(f);!M&&S.position==="fixed"&&(n=null),(h?!M&&!n:!M&&S.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ao(f)&&!M&&_m(l,f))?s=s.filter(G=>G!==f):n=S,f=Lr(f)}return o.set(l,s),s}function Bv(l){let{element:o,boundary:e,rootBoundary:s,strategy:n}=l,f=[...e==="clippingAncestors"?Es(o)?[]:Vv(o,this._c):[].concat(e),s],S=f[0],M=f.reduce((B,G)=>{let q=ym(o,G,n);return B.top=ue(q.top,B.top),B.right=cr(q.right,B.right),B.bottom=cr(q.bottom,B.bottom),B.left=ue(q.left,B.left),B},ym(o,S,n));return{width:M.right-M.left,height:M.bottom-M.top,x:M.left,y:M.top}}function Uv(l){let{width:o,height:e}=Em(l);return{width:o,height:e}}function Hv(l,o,e){let s=Qe(o),n=Je(o),h=e==="fixed",f=wi(l,!0,h,o),S={scrollLeft:0,scrollTop:0},M=Ze(0);if(s||!s&&!h)if((ki(o)!=="body"||Ao(n))&&(S=Ts(o)),s){let ot=wi(o,!0,h,o);M.x=ot.x+o.clientLeft,M.y=ot.y+o.clientTop}else n&&(M.x=Ml(n));let B=n&&!s&&!h?Am(n,S):Ze(0),G=f.left+S.scrollLeft-M.x-B.x,q=f.top+S.scrollTop-M.y-B.y;return{x:G,y:q,width:f.width,height:f.height}}function Il(l){return $e(l).position==="static"}function xm(l,o){if(!Qe(l)||$e(l).position==="fixed")return null;if(o)return o(l);let e=l.offsetParent;return Je(l)===e&&(e=e.ownerDocument.body),e}function Sm(l,o){let e=ke(l);if(Es(l))return e;if(!Qe(l)){let n=Lr(l);for(;n&&!Ci(n);){if(ze(n)&&!Il(n))return n;n=Lr(n)}return e}let s=xm(l,o);for(;s&&vm(s)&&Il(s);)s=xm(s,o);return s&&Ci(s)&&Il(s)&&!Ya(s)?e:s||gm(l)||e}var Gv=async function(l){let o=this.getOffsetParent||Sm,e=this.getDimensions,s=await e(l.floating);return{reference:Hv(l.reference,await o(l.floating),l.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function jv(l){return $e(l).direction==="rtl"}var Wv={convertOffsetParentRelativeRectToViewportRelativeRect:Pv,getDocumentElement:Je,getClippingRect:Bv,getOffsetParent:Sm,getElementRects:Gv,getClientRects:Dv,getDimensions:Uv,getScale:_o,isElement:ze,isRTL:jv};function qv(l,o){let e=null,s,n=Je(l);function h(){var S;clearTimeout(s),(S=e)==null||S.disconnect(),e=null}function f(S,M){S===void 0&&(S=!1),M===void 0&&(M=1),h();let{left:B,top:G,width:q,height:ot}=l.getBoundingClientRect();if(S||o(),!q||!ot)return;let Q=xs(G),et=xs(n.clientWidth-(B+q)),ct=xs(n.clientHeight-(G+ot)),bt=xs(B),yt={rootMargin:-Q+"px "+-et+"px "+-ct+"px "+-bt+"px",threshold:ue(0,cr(1,M))||1},St=!0;function $t(Mt){let Pt=Mt[0].intersectionRatio;if(Pt!==M){if(!St)return f();Pt?f(!1,Pt):s=setTimeout(()=>{f(!1,1e-7)},1e3)}St=!1}try{e=new IntersectionObserver($t,{...yt,root:n.ownerDocument})}catch{e=new IntersectionObserver($t,yt)}e.observe(l)}return f(!0),h}function km(l,o,e,s){s===void 0&&(s={});let{ancestorScroll:n=!0,ancestorResize:h=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:S=typeof IntersectionObserver=="function",animationFrame:M=!1}=s,B=Ll(l),G=n||h?[...B?To(B):[],...To(o)]:[];G.forEach(gt=>{n&>.addEventListener("scroll",e,{passive:!0}),h&>.addEventListener("resize",e)});let q=B&&S?qv(B,e):null,ot=-1,Q=null;f&&(Q=new ResizeObserver(gt=>{let[yt]=gt;yt&&yt.target===B&&Q&&(Q.unobserve(o),cancelAnimationFrame(ot),ot=requestAnimationFrame(()=>{var St;(St=Q)==null||St.observe(o)})),e()}),B&&!M&&Q.observe(B),Q.observe(o));let et,ct=M?wi(l):null;M&&bt();function bt(){let gt=wi(l);ct&&(gt.x!==ct.x||gt.y!==ct.y||gt.width!==ct.width||gt.height!==ct.height)&&e(),ct=gt,et=requestAnimationFrame(bt)}return e(),()=>{var gt;G.forEach(yt=>{n&&yt.removeEventListener("scroll",e),h&&yt.removeEventListener("resize",e)}),q==null||q(),(gt=Q)==null||gt.disconnect(),Q=null,M&&cancelAnimationFrame(et)}}var Cm=hm;var wm=mm,Im=dm,Lm=pm;var Mm=cm;var Nm=(l,o,e)=>{let s=new Map,n={platform:Wv,...e},h={...n.platform,_c:s};return lm(l,o,{...n,platform:h})};var Za=l=>{class o extends l{constructor(...n){super(...n);this.enabledFocusTrap=!1;this.enabledPreventScroll=!1;this.focusTrapIndex=-1;this.focusableElements=[];this.shouldWrapFocus=()=>!0;this.addEventListener("keydown",this.handleKeydown)}deactivateFocusTrap(){this.enabledFocusTrap=!1,this.enabledPreventScroll=!1,this.focusTrapIndex=-1,document.body.style.overflow=""}hasNoClientRects(n){return n.getClientRects().length===0}hasZeroDimensions(n){let{width:h,height:f}=n.getBoundingClientRect(),{offsetWidth:S,offsetHeight:M}=n;return S+M+f+h===0}isNotVisible(n){return this.hasZeroDimensions(n)||this.hasNoClientRects(n)}hasHiddenStyle(n){let{display:h,opacity:f,visibility:S}=n.style;return h==="none"||f==="0"||S==="hidden"||S==="collapse"}hasComputedHidden(n){let h=getComputedStyle(n);return h.visibility==="hidden"||h.height==="0"||h.display==="none"}isHidden(n){return n.hasAttribute("hidden")||n.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(n)||this.isNotVisible(n)||this.hasComputedHidden(n)}isNotTabbable(n){return n.getAttribute("tabindex")==="-1"}isInteractiveElement(n){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(n.tagName)||n instanceof HTMLAnchorElement&&n.hasAttribute("href")||n instanceof HTMLInputElement&&n.type!=="hidden"||(n instanceof HTMLAudioElement||n instanceof HTMLVideoElement)&&n.hasAttribute("controls")||(n instanceof HTMLImageElement||n instanceof HTMLObjectElement)&&n.hasAttribute("usemap")||n.hasAttribute("tabindex")&&n.tabIndex>-1)}isFocusable(n){return this.isHidden(n)||this.isNotTabbable(n)?!1:this.isInteractiveElement(n)}findFocusable(n,h=new Set){return n instanceof HTMLElement&&this.isFocusable(n)&&h.add(n),Array.from(n.children).forEach(S=>{let M=S;this.isFocusable(M)&&h.add(M),M.shadowRoot?this.findFocusable(M.shadowRoot,h):M.tagName==="SLOT"?M.assignedElements({flatten:!0}).forEach(G=>{G instanceof HTMLElement&&this.findFocusable(G,h)}):this.findFocusable(M,h)}),[...h]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(n=0){this.focusableElements.length!==0&&(this.enabledPreventScroll&&(document.body.style.overflow="hidden"),this.focusableElements[n]&&(this.focusTrapIndex=n,this.focusableElements[n].focus()))}calculateNextIndex(n,h){let{length:f}=this.focusableElements,S=this.shouldWrapFocus();if(n===-1)return h>0?0:f-1;let M=n+h;return S?(M<0&&(M=f-1),M>=f&&(M=0)):(M<0&&(M=0),M>=f&&(M=f-1)),M}getDeepActiveElement(){var h;let n=document.activeElement||document.body;for(;n instanceof HTMLElement&&((h=n.shadowRoot)!=null&&h.activeElement);)n=n.shadowRoot.activeElement;return n||document.body}findElement(n){return this.focusableElements.findIndex(h=>this.isEqualFocusNode(n,h))}isEqualFocusNode(n,h){return n.nodeType>=0?h.isEqualNode(n)&&h===n:!1}trapFocus(n){if(this.focusableElements.length===0)return;let h=this.getDeepActiveElement(),f=this.findElement(h);n?this.focusTrapIndex=this.calculateNextIndex(f,-1):this.focusTrapIndex=this.calculateNextIndex(f,1);let S=this.focusableElements[this.focusTrapIndex];S&&S.focus()}handleKeydown(n){!this.enabledFocusTrap||!this.focusableElements.length||n.key==="Tab"&&(n.preventDefault(),this.trapFocus(n.shiftKey))}}return y([A({type:Boolean})],o.prototype,"enabledFocusTrap",2),y([A({type:Boolean})],o.prototype,"enabledPreventScroll",2),o};var Rm=j.constructTagName("popover"),fe={LEFT_START:"left-start",LEFT:"left",LEFT_END:"left-end",RIGHT_START:"right-start",RIGHT:"right",RIGHT_END:"right-end",TOP_START:"top-start",TOP:"top",TOP_END:"top-end",BOTTOM_START:"bottom-start",BOTTOM:"bottom",BOTTOM_END:"bottom-end"},Ii={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},As={TONAL:"tonal",CONTRAST:"contrast"},Rt={PLACEMENT:fe.BOTTOM,TRIGGER:Ii.CLICK,COLOR:As.TONAL,OFFSET:4,VISIBLE:!1,ARROW:!1,CLOSE_BUTTON:!1,FOCUS_TRAP:!1,INTERACTIVE:!1,PREVENT_SCROLL:!1,HIDE_ON_ESCAPE:!1,HIDE_ON_BLUR:!1,HIDE_ON_CLICK_OUTSIDE:!1,FOCUS_BACK:!1,BACKDROP:!1,FLIP:!0,SIZE:!1,DELAY:"0,0",ROLE:"dialog",Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1};var Li=class{static dispatchPopoverEvent(o,e){e.dispatchEvent(new CustomEvent(o,{detail:{show:e.visible},composed:!0,bubbles:!0}))}static onShowPopover(o){this.dispatchPopoverEvent("shown",o)}static onHidePopover(o){this.dispatchPopoverEvent("hidden",o)}static onCreatedPopover(o){this.dispatchPopoverEvent("created",o)}static onDestroyedPopover(o){this.dispatchPopoverEvent("destroyed",o)}};var Nl=class{constructor(){this.stack=[]}push(o){this.stack.push(o)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(o){this.stack=this.stack.filter(e=>e!==o)}clear(){this.stack=[]}},Mi=new Nl;var Yv=W`
|
2038
|
+
<mdc-text type="${Eo.TEXT_TYPE}" tagname="${Eo.TAG_NAME}">${this.label}</mdc-text>
|
2039
|
+
`}};xo.styles=[...J.styles,...sm],y([A({type:String,reflect:!0})],xo.prototype,"color",2),y([A({type:String})],xo.prototype,"label",2);var To=xo;To.register(am);var Iv=To;var dr=Math.min,ue=Math.max,Es=Math.round,xs=Math.floor,Je=l=>({x:l,y:l}),Lv={left:"right",right:"left",bottom:"top",top:"bottom"},Mv={start:"end",end:"start"};function ja(l,o,e){return ue(l,dr(o,e))}function _i(l,o){return typeof l=="function"?l(o):l}function Lr(l){return l.split("-")[0]}function Si(l){return l.split("-")[1]}function Ll(l){return l==="x"?"y":"x"}function Wa(l){return l==="y"?"height":"width"}function ti(l){return["top","bottom"].includes(Lr(l))?"y":"x"}function qa(l){return Ll(ti(l))}function nm(l,o,e){e===void 0&&(e=!1);let s=Si(l),n=qa(l),h=Wa(n),f=n==="x"?s===(e?"end":"start")?"right":"left":s==="start"?"bottom":"top";return o.reference[h]>o.floating[h]&&(f=ys(f)),[f,ys(f)]}function lm(l){let o=ys(l);return[Ga(l),o,Ga(o)]}function Ga(l){return l.replace(/start|end/g,o=>Mv[o])}function Nv(l,o,e){let s=["left","right"],n=["right","left"],h=["top","bottom"],f=["bottom","top"];switch(l){case"top":case"bottom":return e?o?n:s:o?s:n;case"left":case"right":return o?h:f;default:return[]}}function cm(l,o,e,s){let n=Si(l),h=Nv(Lr(l),e==="start",s);return n&&(h=h.map(f=>f+"-"+n),o&&(h=h.concat(h.map(Ga)))),h}function ys(l){return l.replace(/left|right|bottom|top/g,o=>Lv[o])}function Rv(l){return{top:0,right:0,bottom:0,left:0,...l}}function Ml(l){return typeof l!="number"?Rv(l):{top:l,right:l,bottom:l,left:l}}function ki(l){let{x:o,y:e,width:s,height:n}=l;return{width:s,height:n,top:e,left:o,right:o+s,bottom:e+n,x:o,y:e}}function dm(l,o,e){let{reference:s,floating:n}=l,h=ti(o),f=qa(o),S=Wa(f),M=Lr(o),B=h==="y",G=s.x+s.width/2-n.width/2,q=s.y+s.height/2-n.height/2,ot=s[S]/2-n[S]/2,Q;switch(M){case"top":Q={x:G,y:s.y-n.height};break;case"bottom":Q={x:G,y:s.y+s.height};break;case"right":Q={x:s.x+s.width,y:q};break;case"left":Q={x:s.x-n.width,y:q};break;default:Q={x:s.x,y:s.y}}switch(Si(o)){case"start":Q[f]-=ot*(e&&B?-1:1);break;case"end":Q[f]+=ot*(e&&B?-1:1);break}return Q}var hm=async(l,o,e)=>{let{placement:s="bottom",strategy:n="absolute",middleware:h=[],platform:f}=e,S=h.filter(Boolean),M=await(f.isRTL==null?void 0:f.isRTL(o)),B=await f.getElementRects({reference:l,floating:o,strategy:n}),{x:G,y:q}=dm(B,s,M),ot=s,Q={},et=0;for(let ct=0;ct<S.length;ct++){let{name:bt,fn:gt}=S[ct],{x:yt,y:St,data:Bt,reset:Nt}=await gt({x:G,y:q,initialPlacement:s,placement:ot,strategy:n,middlewareData:Q,rects:B,platform:f,elements:{reference:l,floating:o}});G=yt!=null?yt:G,q=St!=null?St:q,Q={...Q,[bt]:{...Q[bt],...Bt}},Nt&&et<=50&&(et++,typeof Nt=="object"&&(Nt.placement&&(ot=Nt.placement),Nt.rects&&(B=Nt.rects===!0?await f.getElementRects({reference:l,floating:o,strategy:n}):Nt.rects),{x:G,y:q}=dm(B,ot,M)),ct=-1)}return{x:G,y:q,placement:ot,strategy:n,middlewareData:Q}};async function Ya(l,o){var e;o===void 0&&(o={});let{x:s,y:n,platform:h,rects:f,elements:S,strategy:M}=l,{boundary:B="clippingAncestors",rootBoundary:G="viewport",elementContext:q="floating",altBoundary:ot=!1,padding:Q=0}=_i(o,l),et=Ml(Q),bt=S[ot?q==="floating"?"reference":"floating":q],gt=ki(await h.getClippingRect({element:(e=await(h.isElement==null?void 0:h.isElement(bt)))==null||e?bt:bt.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(S.floating)),boundary:B,rootBoundary:G,strategy:M})),yt=q==="floating"?{x:s,y:n,width:f.floating.width,height:f.floating.height}:f.reference,St=await(h.getOffsetParent==null?void 0:h.getOffsetParent(S.floating)),Bt=await(h.isElement==null?void 0:h.isElement(St))?await(h.getScale==null?void 0:h.getScale(St))||{x:1,y:1}:{x:1,y:1},Nt=ki(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:S,rect:yt,offsetParent:St,strategy:M}):yt);return{top:(gt.top-Nt.top+et.top)/Bt.y,bottom:(Nt.bottom-gt.bottom+et.bottom)/Bt.y,left:(gt.left-Nt.left+et.left)/Bt.x,right:(Nt.right-gt.right+et.right)/Bt.x}}var mm=l=>({name:"arrow",options:l,async fn(o){let{x:e,y:s,placement:n,rects:h,platform:f,elements:S,middlewareData:M}=o,{element:B,padding:G=0}=_i(l,o)||{};if(B==null)return{};let q=Ml(G),ot={x:e,y:s},Q=qa(n),et=Wa(Q),ct=await f.getDimensions(B),bt=Q==="y",gt=bt?"top":"left",yt=bt?"bottom":"right",St=bt?"clientHeight":"clientWidth",Bt=h.reference[et]+h.reference[Q]-ot[Q]-h.floating[et],Nt=ot[Q]-h.reference[Q],Pt=await(f.getOffsetParent==null?void 0:f.getOffsetParent(B)),ve=Pt?Pt[St]:0;(!ve||!await(f.isElement==null?void 0:f.isElement(Pt)))&&(ve=S.floating[St]||h.floating[et]);let Qt=Bt/2-Nt/2,He=ve/2-ct[et]/2-1,we=dr(q[gt],He),Oe=dr(q[yt],He),Ge=we,je=ve-ct[et]-Oe,Tt=ve/2-ct[et]/2+Qt,de=ja(Ge,Tt,je),Pe=!M.arrow&&Si(n)!=null&&Tt!==de&&h.reference[et]/2-(Tt<Ge?we:Oe)-ct[et]/2<0,We=Pe?Tt<Ge?Tt-Ge:Tt-je:0;return{[Q]:ot[Q]+We,data:{[Q]:de,centerOffset:Tt-de-We,...Pe&&{alignmentOffset:We}},reset:Pe}}});var pm=function(l){return l===void 0&&(l={}),{name:"flip",options:l,async fn(o){var e,s;let{placement:n,middlewareData:h,rects:f,initialPlacement:S,platform:M,elements:B}=o,{mainAxis:G=!0,crossAxis:q=!0,fallbackPlacements:ot,fallbackStrategy:Q="bestFit",fallbackAxisSideDirection:et="none",flipAlignment:ct=!0,...bt}=_i(l,o);if((e=h.arrow)!=null&&e.alignmentOffset)return{};let gt=Lr(n),yt=ti(S),St=Lr(S)===S,Bt=await(M.isRTL==null?void 0:M.isRTL(B.floating)),Nt=ot||(St||!ct?[ys(S)]:lm(S)),Pt=et!=="none";!ot&&Pt&&Nt.push(...cm(S,ct,et,Bt));let ve=[S,...Nt],Qt=await Ya(o,bt),He=[],we=((s=h.flip)==null?void 0:s.overflows)||[];if(G&&He.push(Qt[gt]),q){let Tt=nm(n,f,Bt);He.push(Qt[Tt[0]],Qt[Tt[1]])}if(we=[...we,{placement:n,overflows:He}],!He.every(Tt=>Tt<=0)){var Oe,Ge;let Tt=(((Oe=h.flip)==null?void 0:Oe.index)||0)+1,de=ve[Tt];if(de)return{data:{index:Tt,overflows:we},reset:{placement:de}};let Pe=(Ge=we.filter(We=>We.overflows[0]<=0).sort((We,hr)=>We.overflows[1]-hr.overflows[1])[0])==null?void 0:Ge.placement;if(!Pe)switch(Q){case"bestFit":{var je;let We=(je=we.filter(hr=>{if(Pt){let De=ti(hr.placement);return De===yt||De==="y"}return!0}).map(hr=>[hr.placement,hr.overflows.filter(De=>De>0).reduce((De,Hs)=>De+Hs,0)]).sort((hr,De)=>hr[1]-De[1])[0])==null?void 0:je[0];We&&(Pe=We);break}case"initialPlacement":Pe=S;break}if(n!==Pe)return{reset:{placement:Pe}}}return{}}}};async function Ov(l,o){let{placement:e,platform:s,elements:n}=l,h=await(s.isRTL==null?void 0:s.isRTL(n.floating)),f=Lr(e),S=Si(e),M=ti(e)==="y",B=["left","top"].includes(f)?-1:1,G=h&&M?-1:1,q=_i(o,l),{mainAxis:ot,crossAxis:Q,alignmentAxis:et}=typeof q=="number"?{mainAxis:q,crossAxis:0,alignmentAxis:null}:{mainAxis:q.mainAxis||0,crossAxis:q.crossAxis||0,alignmentAxis:q.alignmentAxis};return S&&typeof et=="number"&&(Q=S==="end"?et*-1:et),M?{x:Q*G,y:ot*B}:{x:ot*B,y:Q*G}}var um=function(l){return l===void 0&&(l=0),{name:"offset",options:l,async fn(o){var e,s;let{x:n,y:h,placement:f,middlewareData:S}=o,M=await Ov(o,l);return f===((e=S.offset)==null?void 0:e.placement)&&(s=S.arrow)!=null&&s.alignmentOffset?{}:{x:n+M.x,y:h+M.y,data:{...M,placement:f}}}}},fm=function(l){return l===void 0&&(l={}),{name:"shift",options:l,async fn(o){let{x:e,y:s,placement:n}=o,{mainAxis:h=!0,crossAxis:f=!1,limiter:S={fn:bt=>{let{x:gt,y:yt}=bt;return{x:gt,y:yt}}},...M}=_i(l,o),B={x:e,y:s},G=await Ya(o,M),q=ti(Lr(n)),ot=Ll(q),Q=B[ot],et=B[q];if(h){let bt=ot==="y"?"top":"left",gt=ot==="y"?"bottom":"right",yt=Q+G[bt],St=Q-G[gt];Q=ja(yt,Q,St)}if(f){let bt=q==="y"?"top":"left",gt=q==="y"?"bottom":"right",yt=et+G[bt],St=et-G[gt];et=ja(yt,et,St)}let ct=S.fn({...o,[ot]:Q,[q]:et});return{...ct,data:{x:ct.x-e,y:ct.y-s,enabled:{[ot]:h,[q]:f}}}}}};var vm=function(l){return l===void 0&&(l={}),{name:"size",options:l,async fn(o){var e,s;let{placement:n,rects:h,platform:f,elements:S}=o,{apply:M=()=>{},...B}=_i(l,o),G=await Ya(o,B),q=Lr(n),ot=Si(n),Q=ti(n)==="y",{width:et,height:ct}=h.floating,bt,gt;q==="top"||q==="bottom"?(bt=q,gt=ot===(await(f.isRTL==null?void 0:f.isRTL(S.floating))?"start":"end")?"left":"right"):(gt=q,bt=ot==="end"?"top":"bottom");let yt=ct-G.top-G.bottom,St=et-G.left-G.right,Bt=dr(ct-G[bt],yt),Nt=dr(et-G[gt],St),Pt=!o.middlewareData.shift,ve=Bt,Qt=Nt;if((e=o.middlewareData.shift)!=null&&e.enabled.x&&(Qt=St),(s=o.middlewareData.shift)!=null&&s.enabled.y&&(ve=yt),Pt&&!ot){let we=ue(G.left,0),Oe=ue(G.right,0),Ge=ue(G.top,0),je=ue(G.bottom,0);Q?Qt=et-2*(we!==0||Oe!==0?we+Oe:ue(G.left,G.right)):ve=ct-2*(Ge!==0||je!==0?Ge+je:ue(G.top,G.bottom))}await M({...o,availableWidth:Qt,availableHeight:ve});let He=await f.getDimensions(S.floating);return et!==He.width||ct!==He.height?{reset:{rects:!0}}:{}}}};function Ka(){return typeof window<"u"}function Ci(l){return bm(l)?(l.nodeName||"").toLowerCase():"#document"}function ke(l){var o;return(l==null||(o=l.ownerDocument)==null?void 0:o.defaultView)||window}function Qe(l){var o;return(o=(bm(l)?l.ownerDocument:l.document)||window.document)==null?void 0:o.documentElement}function bm(l){return Ka()?l instanceof Node||l instanceof ke(l).Node:!1}function $e(l){return Ka()?l instanceof Element||l instanceof ke(l).Element:!1}function tr(l){return Ka()?l instanceof HTMLElement||l instanceof ke(l).HTMLElement:!1}function gm(l){return!Ka()||typeof ShadowRoot>"u"?!1:l instanceof ShadowRoot||l instanceof ke(l).ShadowRoot}function _o(l){let{overflow:o,overflowX:e,overflowY:s,display:n}=Ve(l);return/auto|scroll|overlay|hidden|clip/.test(o+s+e)&&!["inline","contents"].includes(n)}function ym(l){return["table","td","th"].includes(Ci(l))}function Ts(l){return[":popover-open",":modal"].some(o=>{try{return l.matches(o)}catch{return!1}})}function Xa(l){let o=Za(),e=$e(l)?Ve(l):l;return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":!1)||!o&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!o&&(e.filter?e.filter!=="none":!1)||["transform","perspective","filter"].some(s=>(e.willChange||"").includes(s))||["paint","layout","strict","content"].some(s=>(e.contain||"").includes(s))}function Em(l){let o=Mr(l);for(;tr(o)&&!wi(o);){if(Xa(o))return o;if(Ts(o))return null;o=Mr(o)}return null}function Za(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function wi(l){return["html","body","#document"].includes(Ci(l))}function Ve(l){return ke(l).getComputedStyle(l)}function As(l){return $e(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:{scrollLeft:l.scrollX,scrollTop:l.scrollY}}function Mr(l){if(Ci(l)==="html")return l;let o=l.assignedSlot||l.parentNode||gm(l)&&l.host||Qe(l);return gm(o)?o.host:o}function xm(l){let o=Mr(l);return wi(o)?l.ownerDocument?l.ownerDocument.body:l.body:tr(o)&&_o(o)?o:xm(o)}function Ao(l,o,e){var s;o===void 0&&(o=[]),e===void 0&&(e=!0);let n=xm(l),h=n===((s=l.ownerDocument)==null?void 0:s.body),f=ke(n);if(h){let S=Ja(f);return o.concat(f,f.visualViewport||[],_o(n)?n:[],S&&e?Ao(S):[])}return o.concat(n,Ao(n,[],e))}function Ja(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameElement:null}function _m(l){let o=Ve(l),e=parseFloat(o.width)||0,s=parseFloat(o.height)||0,n=tr(l),h=n?l.offsetWidth:e,f=n?l.offsetHeight:s,S=Es(e)!==h||Es(s)!==f;return S&&(e=h,s=f),{width:e,height:s,$:S}}function Rl(l){return $e(l)?l:l.contextElement}function So(l){let o=Rl(l);if(!tr(o))return Je(1);let e=o.getBoundingClientRect(),{width:s,height:n,$:h}=_m(o),f=(h?Es(e.width):e.width)/s,S=(h?Es(e.height):e.height)/n;return(!f||!Number.isFinite(f))&&(f=1),(!S||!Number.isFinite(S))&&(S=1),{x:f,y:S}}var Pv=Je(0);function Sm(l){let o=ke(l);return!Za()||!o.visualViewport?Pv:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Dv(l,o,e){return o===void 0&&(o=!1),!e||o&&e!==ke(l)?!1:o}function Ii(l,o,e,s){o===void 0&&(o=!1),e===void 0&&(e=!1);let n=l.getBoundingClientRect(),h=Rl(l),f=Je(1);o&&(s?$e(s)&&(f=So(s)):f=So(l));let S=Dv(h,e,s)?Sm(h):Je(0),M=(n.left+S.x)/f.x,B=(n.top+S.y)/f.y,G=n.width/f.x,q=n.height/f.y;if(h){let ot=ke(h),Q=s&&$e(s)?ke(s):s,et=ot,ct=Ja(et);for(;ct&&s&&Q!==et;){let bt=So(ct),gt=ct.getBoundingClientRect(),yt=Ve(ct),St=gt.left+(ct.clientLeft+parseFloat(yt.paddingLeft))*bt.x,Bt=gt.top+(ct.clientTop+parseFloat(yt.paddingTop))*bt.y;M*=bt.x,B*=bt.y,G*=bt.x,q*=bt.y,M+=St,B+=Bt,et=ke(ct),ct=Ja(et)}}return ki({width:G,height:q,x:M,y:B})}function Ol(l,o){let e=As(l).scrollLeft;return o?o.left+e:Ii(Qe(l)).left+e}function km(l,o,e){e===void 0&&(e=!1);let s=l.getBoundingClientRect(),n=s.left+o.scrollLeft-(e?0:Ol(l,s)),h=s.top+o.scrollTop;return{x:n,y:h}}function Fv(l){let{elements:o,rect:e,offsetParent:s,strategy:n}=l,h=n==="fixed",f=Qe(s),S=o?Ts(o.floating):!1;if(s===f||S&&h)return e;let M={scrollLeft:0,scrollTop:0},B=Je(1),G=Je(0),q=tr(s);if((q||!q&&!h)&&((Ci(s)!=="body"||_o(f))&&(M=As(s)),tr(s))){let Q=Ii(s);B=So(s),G.x=Q.x+s.clientLeft,G.y=Q.y+s.clientTop}let ot=f&&!q&&!h?km(f,M,!0):Je(0);return{width:e.width*B.x,height:e.height*B.y,x:e.x*B.x-M.scrollLeft*B.x+G.x+ot.x,y:e.y*B.y-M.scrollTop*B.y+G.y+ot.y}}function zv(l){return Array.from(l.getClientRects())}function $v(l){let o=Qe(l),e=As(l),s=l.ownerDocument.body,n=ue(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),h=ue(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight),f=-e.scrollLeft+Ol(l),S=-e.scrollTop;return Ve(s).direction==="rtl"&&(f+=ue(o.clientWidth,s.clientWidth)-n),{width:n,height:h,x:f,y:S}}function Vv(l,o){let e=ke(l),s=Qe(l),n=e.visualViewport,h=s.clientWidth,f=s.clientHeight,S=0,M=0;if(n){h=n.width,f=n.height;let B=Za();(!B||B&&o==="fixed")&&(S=n.offsetLeft,M=n.offsetTop)}return{width:h,height:f,x:S,y:M}}function Bv(l,o){let e=Ii(l,!0,o==="fixed"),s=e.top+l.clientTop,n=e.left+l.clientLeft,h=tr(l)?So(l):Je(1),f=l.clientWidth*h.x,S=l.clientHeight*h.y,M=n*h.x,B=s*h.y;return{width:f,height:S,x:M,y:B}}function Tm(l,o,e){let s;if(o==="viewport")s=Vv(l,e);else if(o==="document")s=$v(Qe(l));else if($e(o))s=Bv(o,e);else{let n=Sm(l);s={x:o.x-n.x,y:o.y-n.y,width:o.width,height:o.height}}return ki(s)}function Cm(l,o){let e=Mr(l);return e===o||!$e(e)||wi(e)?!1:Ve(e).position==="fixed"||Cm(e,o)}function Uv(l,o){let e=o.get(l);if(e)return e;let s=Ao(l,[],!1).filter(S=>$e(S)&&Ci(S)!=="body"),n=null,h=Ve(l).position==="fixed",f=h?Mr(l):l;for(;$e(f)&&!wi(f);){let S=Ve(f),M=Xa(f);!M&&S.position==="fixed"&&(n=null),(h?!M&&!n:!M&&S.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||_o(f)&&!M&&Cm(l,f))?s=s.filter(G=>G!==f):n=S,f=Mr(f)}return o.set(l,s),s}function Hv(l){let{element:o,boundary:e,rootBoundary:s,strategy:n}=l,f=[...e==="clippingAncestors"?Ts(o)?[]:Uv(o,this._c):[].concat(e),s],S=f[0],M=f.reduce((B,G)=>{let q=Tm(o,G,n);return B.top=ue(q.top,B.top),B.right=dr(q.right,B.right),B.bottom=dr(q.bottom,B.bottom),B.left=ue(q.left,B.left),B},Tm(o,S,n));return{width:M.right-M.left,height:M.bottom-M.top,x:M.left,y:M.top}}function Gv(l){let{width:o,height:e}=_m(l);return{width:o,height:e}}function jv(l,o,e){let s=tr(o),n=Qe(o),h=e==="fixed",f=Ii(l,!0,h,o),S={scrollLeft:0,scrollTop:0},M=Je(0);if(s||!s&&!h)if((Ci(o)!=="body"||_o(n))&&(S=As(o)),s){let ot=Ii(o,!0,h,o);M.x=ot.x+o.clientLeft,M.y=ot.y+o.clientTop}else n&&(M.x=Ol(n));let B=n&&!s&&!h?km(n,S):Je(0),G=f.left+S.scrollLeft-M.x-B.x,q=f.top+S.scrollTop-M.y-B.y;return{x:G,y:q,width:f.width,height:f.height}}function Nl(l){return Ve(l).position==="static"}function Am(l,o){if(!tr(l)||Ve(l).position==="fixed")return null;if(o)return o(l);let e=l.offsetParent;return Qe(l)===e&&(e=e.ownerDocument.body),e}function wm(l,o){let e=ke(l);if(Ts(l))return e;if(!tr(l)){let n=Mr(l);for(;n&&!wi(n);){if($e(n)&&!Nl(n))return n;n=Mr(n)}return e}let s=Am(l,o);for(;s&&ym(s)&&Nl(s);)s=Am(s,o);return s&&wi(s)&&Nl(s)&&!Xa(s)?e:s||Em(l)||e}var Wv=async function(l){let o=this.getOffsetParent||wm,e=this.getDimensions,s=await e(l.floating);return{reference:jv(l.reference,await o(l.floating),l.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function qv(l){return Ve(l).direction==="rtl"}var Yv={convertOffsetParentRelativeRectToViewportRelativeRect:Fv,getDocumentElement:Qe,getClippingRect:Hv,getOffsetParent:wm,getElementRects:Wv,getClientRects:zv,getDimensions:Gv,getScale:So,isElement:$e,isRTL:qv};function Kv(l,o){let e=null,s,n=Qe(l);function h(){var S;clearTimeout(s),(S=e)==null||S.disconnect(),e=null}function f(S,M){S===void 0&&(S=!1),M===void 0&&(M=1),h();let{left:B,top:G,width:q,height:ot}=l.getBoundingClientRect();if(S||o(),!q||!ot)return;let Q=xs(G),et=xs(n.clientWidth-(B+q)),ct=xs(n.clientHeight-(G+ot)),bt=xs(B),yt={rootMargin:-Q+"px "+-et+"px "+-ct+"px "+-bt+"px",threshold:ue(0,dr(1,M))||1},St=!0;function Bt(Nt){let Pt=Nt[0].intersectionRatio;if(Pt!==M){if(!St)return f();Pt?f(!1,Pt):s=setTimeout(()=>{f(!1,1e-7)},1e3)}St=!1}try{e=new IntersectionObserver(Bt,{...yt,root:n.ownerDocument})}catch{e=new IntersectionObserver(Bt,yt)}e.observe(l)}return f(!0),h}function Im(l,o,e,s){s===void 0&&(s={});let{ancestorScroll:n=!0,ancestorResize:h=!0,elementResize:f=typeof ResizeObserver=="function",layoutShift:S=typeof IntersectionObserver=="function",animationFrame:M=!1}=s,B=Rl(l),G=n||h?[...B?Ao(B):[],...Ao(o)]:[];G.forEach(gt=>{n&>.addEventListener("scroll",e,{passive:!0}),h&>.addEventListener("resize",e)});let q=B&&S?Kv(B,e):null,ot=-1,Q=null;f&&(Q=new ResizeObserver(gt=>{let[yt]=gt;yt&&yt.target===B&&Q&&(Q.unobserve(o),cancelAnimationFrame(ot),ot=requestAnimationFrame(()=>{var St;(St=Q)==null||St.observe(o)})),e()}),B&&!M&&Q.observe(B),Q.observe(o));let et,ct=M?Ii(l):null;M&&bt();function bt(){let gt=Ii(l);ct&&(gt.x!==ct.x||gt.y!==ct.y||gt.width!==ct.width||gt.height!==ct.height)&&e(),ct=gt,et=requestAnimationFrame(bt)}return e(),()=>{var gt;G.forEach(yt=>{n&&yt.removeEventListener("scroll",e),h&&yt.removeEventListener("resize",e)}),q==null||q(),(gt=Q)==null||gt.disconnect(),Q=null,M&&cancelAnimationFrame(et)}}var Lm=um;var Mm=fm,Nm=pm,Rm=vm;var Om=mm;var Pm=(l,o,e)=>{let s=new Map,n={platform:Yv,...e},h={...n.platform,_c:s};return hm(l,o,{...n,platform:h})};var Qa=l=>{class o extends l{constructor(...n){super(...n);this.enabledFocusTrap=!1;this.enabledPreventScroll=!1;this.focusTrapIndex=-1;this.focusableElements=[];this.shouldWrapFocus=()=>!0;this.addEventListener("keydown",this.handleKeydown)}deactivateFocusTrap(){this.enabledFocusTrap=!1,this.enabledPreventScroll=!1,this.focusTrapIndex=-1,document.body.style.overflow=""}hasNoClientRects(n){return n.getClientRects().length===0}hasZeroDimensions(n){let{width:h,height:f}=n.getBoundingClientRect(),{offsetWidth:S,offsetHeight:M}=n;return S+M+f+h===0}isNotVisible(n){return this.hasZeroDimensions(n)||this.hasNoClientRects(n)}hasHiddenStyle(n){let{display:h,opacity:f,visibility:S}=n.style;return h==="none"||f==="0"||S==="hidden"||S==="collapse"}hasComputedHidden(n){let h=getComputedStyle(n);return h.visibility==="hidden"||h.height==="0"||h.display==="none"}isHidden(n){return n.hasAttribute("hidden")||n.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(n)||this.isNotVisible(n)||this.hasComputedHidden(n)}isNotTabbable(n){return n.getAttribute("tabindex")==="-1"}isInteractiveElement(n){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(n.tagName)||n instanceof HTMLAnchorElement&&n.hasAttribute("href")||n instanceof HTMLInputElement&&n.type!=="hidden"||(n instanceof HTMLAudioElement||n instanceof HTMLVideoElement)&&n.hasAttribute("controls")||(n instanceof HTMLImageElement||n instanceof HTMLObjectElement)&&n.hasAttribute("usemap")||n.hasAttribute("tabindex")&&n.tabIndex>-1)}isFocusable(n){return this.isHidden(n)||this.isNotTabbable(n)?!1:this.isInteractiveElement(n)}findFocusable(n,h=new Set){return n instanceof HTMLElement&&this.isFocusable(n)&&h.add(n),Array.from(n.children).forEach(S=>{let M=S;this.isFocusable(M)&&h.add(M),M.shadowRoot?this.findFocusable(M.shadowRoot,h):M.tagName==="SLOT"?M.assignedElements({flatten:!0}).forEach(G=>{G instanceof HTMLElement&&this.findFocusable(G,h)}):this.findFocusable(M,h)}),[...h]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(n=0){this.focusableElements.length!==0&&(this.enabledPreventScroll&&(document.body.style.overflow="hidden"),this.focusableElements[n]&&(this.focusTrapIndex=n,this.focusableElements[n].focus()))}calculateNextIndex(n,h){let{length:f}=this.focusableElements,S=this.shouldWrapFocus();if(n===-1)return h>0?0:f-1;let M=n+h;return S?(M<0&&(M=f-1),M>=f&&(M=0)):(M<0&&(M=0),M>=f&&(M=f-1)),M}getDeepActiveElement(){var h;let n=document.activeElement||document.body;for(;n instanceof HTMLElement&&((h=n.shadowRoot)!=null&&h.activeElement);)n=n.shadowRoot.activeElement;return n||document.body}findElement(n){return this.focusableElements.findIndex(h=>this.isEqualFocusNode(n,h))}isEqualFocusNode(n,h){return n.nodeType>=0?h.isEqualNode(n)&&h===n:!1}trapFocus(n){if(this.focusableElements.length===0)return;let h=this.getDeepActiveElement(),f=this.findElement(h);n?this.focusTrapIndex=this.calculateNextIndex(f,-1):this.focusTrapIndex=this.calculateNextIndex(f,1);let S=this.focusableElements[this.focusTrapIndex];S&&S.focus()}handleKeydown(n){!this.enabledFocusTrap||!this.focusableElements.length||n.key==="Tab"&&(n.preventDefault(),this.trapFocus(n.shiftKey))}}return y([A({type:Boolean})],o.prototype,"enabledFocusTrap",2),y([A({type:Boolean})],o.prototype,"enabledPreventScroll",2),o};var Dm=j.constructTagName("popover"),fe={LEFT_START:"left-start",LEFT:"left",LEFT_END:"left-end",RIGHT_START:"right-start",RIGHT:"right",RIGHT_END:"right-end",TOP_START:"top-start",TOP:"top",TOP_END:"top-end",BOTTOM_START:"bottom-start",BOTTOM:"bottom",BOTTOM_END:"bottom-end"},Li={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},_s={TONAL:"tonal",CONTRAST:"contrast"},Ot={PLACEMENT:fe.BOTTOM,TRIGGER:Li.CLICK,COLOR:_s.TONAL,OFFSET:4,VISIBLE:!1,ARROW:!1,CLOSE_BUTTON:!1,FOCUS_TRAP:!1,INTERACTIVE:!1,PREVENT_SCROLL:!1,HIDE_ON_ESCAPE:!1,HIDE_ON_BLUR:!1,HIDE_ON_CLICK_OUTSIDE:!1,FOCUS_BACK:!1,BACKDROP:!1,FLIP:!0,SIZE:!1,DELAY:"0,0",ROLE:"dialog",Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1};var Mi=class{static dispatchPopoverEvent(o,e){e.dispatchEvent(new CustomEvent(o,{detail:{show:e.visible},composed:!0,bubbles:!0}))}static onShowPopover(o){this.dispatchPopoverEvent("shown",o)}static onHidePopover(o){this.dispatchPopoverEvent("hidden",o)}static onCreatedPopover(o){this.dispatchPopoverEvent("created",o)}static onDestroyedPopover(o){this.dispatchPopoverEvent("destroyed",o)}};var Pl=class{constructor(){this.stack=[]}push(o){this.stack.push(o)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(o){this.stack=this.stack.filter(e=>e!==o)}clear(){this.stack=[]}},Ni=new Pl;var Xv=W`
|
2040
2040
|
:host {
|
2041
2041
|
--mdc-popover-arrow-border-radius: 0.1875rem;
|
2042
2042
|
--mdc-popover-arrow-border: 0.0625rem solid var(--mds-color-theme-outline-secondary-normal);
|
@@ -2151,7 +2151,7 @@
|
|
2151
2151
|
border-top-right-radius: var(--mdc-popover-arrow-border-radius);
|
2152
2152
|
border-bottom-left-radius: 100%;
|
2153
2153
|
}
|
2154
|
-
`,
|
2154
|
+
`,Fm=[Xv];var tn=class{constructor(o){this.arrowPixelChange=!1;this.popover=o}setupDelay(){try{let[o,e]=this.popover.delay.split(",").map(s=>{let n=parseInt(s,10);if(Number.isNaN(n)||n<0)throw new Error(`Invalid delay value: ${s}`);return n});return[o,e]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(o){let e=this.popover.renderRoot.querySelector(".popover-hover-bridge");Object.assign(e.style,{top:"",left:"",right:"",bottom:""});let s=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,n=this.popover.offsetHeight||0,h=this.popover.offsetWidth||0;if(e)switch(o.split("-")[0]){case"top":e.style.height=s,e.style.bottom=`calc(-1 * (${s}))`,e.style.left="50%",e.style.width=`${h}px`;break;case"left":e.style.height=`${n}px`,e.style.width=s,e.style.right=`calc(-1.5 * (${s}))`;break;case"right":e.style.height=`${n}px`,e.style.width=s,e.style.left=`calc(-0.5 * (${s}))`;break;case"bottom":default:e.style.height=s,e.style.top=`calc(-1 * (${s}))`,e.style.left="50%",e.style.width=`${h}px`;break}}setupAppendTo(){if(this.popover.appendTo){let o=document.getElementById(this.popover.appendTo);o&&o.appendChild(this.popover)}}setupAccessibility(){var o,e,s;(this.popover.role==="dialog"||this.popover.role==="alertdialog")&&this.popover.toggleAttribute("aria-modal",this.popover.interactive),this.popover.interactive?(this.popover.setAttribute("aria-modal","true"),this.popover.ariaLabel||(this.popover.ariaLabel=((o=this.popover.triggerElement)==null?void 0:o.ariaLabel)||((e=this.popover.triggerElement)==null?void 0:e.textContent)||""),this.popover.ariaLabelledby||(this.popover.ariaLabelledby=((s=this.popover.triggerElement)==null?void 0:s.id)||"")):this.popover.removeAttribute("aria-modal")}updateAriaHasPopupAttribute(){var o,e,s;this.popover.interactive?(e=this.popover.triggerElement)==null||e.setAttribute("aria-haspopup",((o=this.popover.triggerElement)==null?void 0:o.getAttribute("aria-haspopup"))||"dialog"):(s=this.popover.triggerElement)==null||s.removeAttribute("aria-haspopup")}updateAriaExpandedAttribute(){var o,e;this.popover.disableAriaExpanded?(o=this.popover.triggerElement)==null||o.removeAttribute("aria-expanded"):(e=this.popover.triggerElement)==null||e.setAttribute("aria-expanded",`${this.popover.visible}`)}updateArrowStyle(o,e){var G;if(!this.popover.arrowElement)return;let s=e.split("-")[0],n={top:"bottom",right:"left",bottom:"top",left:"right"}[s],{x:h,y:f}=o,S=this.popover.arrowElement.getBoundingClientRect(),M=(G=this.popover.arrowElement.offsetParent)==null?void 0:G.getBoundingClientRect();if(!this.arrowPixelChange){let q=M!=null&&M[n]?12-Math.abs(S[n]-M[n]):0;Math.round(q)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let B=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",s),Object.assign(this.popover.arrowElement.style,{left:h!=null?`${h}px`:"",top:f!=null?`${f}px`:"",[n]:`${-this.popover.arrowElement.offsetHeight/2-B}px`})}updatePopoverStyle(o,e){Object.assign(this.popover.style,{left:`${o}px`,top:`${e}px`})}createBackdrop(){var o;if(!this.popover.backdropElement){let e=document.createElement("div");e.classList.add("popover-backdrop"),(o=this.popover.parentElement)==null||o.appendChild(e);let s=document.createElement("style");s.textContent=`
|
2155
2155
|
.popover-backdrop {
|
2156
2156
|
position: fixed;
|
2157
2157
|
top: 0;
|
@@ -2161,7 +2161,7 @@
|
|
2161
2161
|
background: transparent;
|
2162
2162
|
z-index: ${this.popover.zIndex-1};
|
2163
2163
|
}
|
2164
|
-
`,e.appendChild(s),this.popover.backdropElement=e}}};var wt=class extends
|
2164
|
+
`,e.appendChild(s),this.popover.backdropElement=e}}};var wt=class extends Qa(J){constructor(){super();this.id="";this.triggerID="";this.trigger=Ot.TRIGGER;this.placement=Ot.PLACEMENT;this.color=Ot.COLOR;this.visible=Ot.VISIBLE;this.offset=Ot.OFFSET;this.focusTrap=Ot.FOCUS_TRAP;this.preventScroll=Ot.PREVENT_SCROLL;this.showArrow=Ot.ARROW;this.closeButton=Ot.CLOSE_BUTTON;this.interactive=Ot.INTERACTIVE;this.delay=Ot.DELAY;this.hideOnEscape=Ot.HIDE_ON_ESCAPE;this.hideOnBlur=Ot.HIDE_ON_BLUR;this.hideOnOutsideClick=Ot.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=Ot.FOCUS_BACK;this.backdrop=Ot.BACKDROP;this.flip=Ot.FLIP;this.size=Ot.SIZE;this.zIndex=Ot.Z_INDEX;this.appendTo="";this.closeButtonAriaLabel=null;this.role=Ot.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=Ot.DISABLE_ARIA_EXPANDED;this.arrowElement=null;this.triggerElement=null;this.hoverTimer=null;this.isTriggerClicked=!1;this.openDelay=0;this.closeDelay=0;this.backdropElement=null;this.onOutsidePopoverClick=e=>{if(Ni.peek()!==this)return;let s=!1,n=e.composedPath();s=this.contains(e.target)||n.includes(this.triggerElement);let h=this.backdropElement?n.includes(this.backdropElement):!1;(!s||h)&&this.hidePopover()};this.onEscapeKeydown=e=>{!this.visible||e.code!=="Escape"||(e.preventDefault(),this.hidePopover())};this.onPopoverFocusOut=e=>{this.contains(e.relatedTarget)||this.hidePopover()};this.startCloseDelay=()=>{if(!this.interactive)this.hidePopover();else{if(this.isTriggerClicked)return;this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay)}};this.cancelCloseDelay=()=>{this.hoverTimer&&(clearTimeout(this.hoverTimer),this.hoverTimer=null)};this.showPopover=()=>{this.cancelCloseDelay(),setTimeout(()=>{this.visible=!0},this.openDelay)};this.hidePopover=()=>{Ni.peek()===this&&setTimeout(()=>{this.visible=!1,this.isTriggerClicked=!1},this.closeDelay)};this.togglePopoverVisible=()=>{this.isTriggerClicked?this.hidePopover():(this.showPopover(),this.isTriggerClicked=!0)};this.utils=new tn(this)}async firstUpdated(e){super.firstUpdated(e),this.utils.setupAppendTo(),[this.openDelay,this.closeDelay]=this.utils.setupDelay(),this.setupTriggerListener(),this.utils.setupAccessibility(),this.style.zIndex=`${this.zIndex}`,Mi.onCreatedPopover(this),this.visible&&(this.positionPopover(),await this.handleCreatePopoverFirstUpdate())}async disconnectedCallback(){super.disconnectedCallback(),this.removeEventListeners(),Mi.onDestroyedPopover(this),Ni.remove(this)}setupTriggerListener(){if(this.triggerID&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerID}"]`),!!this.triggerElement)){if(this.trigger==="mouseenter"&&(this.interactive?this.trigger="mouseenter click":this.trigger="mouseenter focusin"),this.trigger.includes("click")&&this.triggerElement.addEventListener("click",this.togglePopoverVisible),this.trigger.includes("mouseenter")){let e=this.renderRoot.querySelector(".popover-hover-bridge");this.triggerElement.addEventListener("mouseenter",this.showPopover),this.triggerElement.addEventListener("mouseleave",this.startCloseDelay),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay),e==null||e.addEventListener("mouseenter",this.cancelCloseDelay)}this.trigger.includes("focusin")&&(this.triggerElement.addEventListener("focusin",this.showPopover),this.interactive||this.triggerElement.addEventListener("focusout",this.hidePopover)),this.addEventListener("focus-trap-exit",this.hidePopover)}}removeEventListeners(){if(!this.triggerElement)return;let e=this.renderRoot.querySelector(".popover-hover-bridge");this.triggerElement.removeEventListener("click",this.togglePopoverVisible),this.triggerElement.removeEventListener("mouseenter",this.showPopover),this.triggerElement.removeEventListener("mouseleave",this.hidePopover),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),this.triggerElement.removeEventListener("focusin",this.showPopover),this.triggerElement.removeEventListener("focusout",this.hidePopover),e==null||e.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("focus-trap-exit",this.hidePopover)}async updated(e){if(super.updated(e),e.has("visible")){let s=e.get("visible")||!1;await this.isOpenUpdated(s,this.visible),this.utils.updateAriaExpandedAttribute()}if(e.has("placement")&&this.setAttribute("placement",Object.values(fe).includes(this.placement)?this.placement:Ot.PLACEMENT),e.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),e.has("trigger")){let n=this.trigger.split(" ").filter(h=>Object.values(Li).includes(h));this.setAttribute("trigger",n.length>0?this.trigger:Ot.TRIGGER),this.removeEventListeners(),this.setupTriggerListener()}e.has("color")&&this.setAttribute("color",Object.values(_s).includes(this.color)?this.color:Ot.COLOR),e.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),e.has("append-to")&&this.utils.setupAppendTo(),(e.has("interactive")||e.has("aria-label")||e.has("aria-labelledby"))&&this.utils.setupAccessibility(),e.has("disableAriaExpanded")&&this.utils.updateAriaExpandedAttribute(),e.has("interactive")&&this.utils.updateAriaHasPopupAttribute()}async isOpenUpdated(e,s){var n,h,f;if(!(e===s||!this.triggerElement))if(s)Ni.peek()!==this&&Ni.push(this),this.enabledFocusTrap=this.focusTrap,this.enabledPreventScroll=this.preventScroll,this.backdrop&&(this.utils.createBackdrop(),this.triggerElement.style.zIndex=`${this.zIndex}`),this.positionPopover(),await this.handleCreatePopoverFirstUpdate(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(this.triggerElement.style.pointerEvents="none")),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&document.addEventListener("keydown",this.onEscapeKeydown),Mi.onShowPopover(this);else{if(Ni.pop(),this.backdropElement&&((n=this.backdropElement)==null||n.remove(),this.backdropElement=null),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(this.triggerElement.style.pointerEvents="")),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&document.removeEventListener("keydown",this.onEscapeKeydown),(h=this.deactivateFocusTrap)==null||h.call(this),this.disableAriaExpanded||this.triggerElement.removeAttribute("aria-expanded"),this.interactive){let S=this.triggerElement.getAttribute("aria-haspopup");(S==="dialog"||S==="alertdialog")&&this.triggerElement.removeAttribute("aria-haspopup")}this.focusBackToTrigger&&((f=this.triggerElement)==null||f.focus()),Mi.onHidePopover(this)}}async handleCreatePopoverFirstUpdate(){var e,s;this.visible&&this.interactive&&((e=this.setFocusableElements)==null||e.call(this),await this.updateComplete,(s=this.setInitialFocus)==null||s.call(this))}positionPopover(){if(!this.triggerElement)return;let e=[Mm()],s=this.offset;if(this.flip&&e.push(Nm()),this.size){let n=this.renderRoot.querySelector('[part="popover-content"]');e.push(Rm({apply({availableHeight:h}){n&&Object.assign(n.style,{maxHeight:`${h}px`,overflowY:"auto"})},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector(".popover-arrow"),this.arrowElement)){let n=this.arrowElement.offsetHeight;s=Math.sqrt(2*n**2)/2+this.offset,e.push(Om({element:this.arrowElement,padding:12}))}e.push(Lm(s)),Im(this.triggerElement,this,async()=>{if(!this.triggerElement)return;let{x:n,y:h,middlewareData:f,placement:S}=await Pm(this.triggerElement,this,{placement:this.placement,middleware:e});this.utils.updatePopoverStyle(n,h),f.arrow&&this.arrowElement&&this.utils.updateArrowStyle(f.arrow,S),this.trigger.includes("mouseenter")&&this.utils.setupHoverBridge(S)})}render(){return F`
|
2165
2165
|
<div class="popover-hover-bridge"></div>
|
2166
2166
|
${this.closeButton?F` <mdc-button
|
2167
2167
|
class="popover-close"
|
@@ -2175,7 +2175,7 @@
|
|
2175
2175
|
<div part="popover-content">
|
2176
2176
|
<slot></slot>
|
2177
2177
|
</div>
|
2178
|
-
`}};wt.styles=[...J.styles,...
|
2178
|
+
`}};wt.styles=[...J.styles,...Fm],y([A({type:String,reflect:!0})],wt.prototype,"id",2),y([A({type:String,reflect:!0})],wt.prototype,"triggerID",2),y([A({type:String,reflect:!0})],wt.prototype,"trigger",2),y([A({type:String,reflect:!0})],wt.prototype,"placement",2),y([A({type:String,reflect:!0})],wt.prototype,"color",2),y([A({type:Boolean,reflect:!0})],wt.prototype,"visible",2),y([A({type:Number,reflect:!0})],wt.prototype,"offset",2),y([A({type:Boolean,reflect:!0,attribute:"focus-trap"})],wt.prototype,"focusTrap",2),y([A({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],wt.prototype,"preventScroll",2),y([A({type:Boolean,reflect:!0,attribute:"show-arrow"})],wt.prototype,"showArrow",2),y([A({type:Boolean,reflect:!0,attribute:"close-button"})],wt.prototype,"closeButton",2),y([A({type:Boolean,reflect:!0})],wt.prototype,"interactive",2),y([A({type:String,reflect:!0})],wt.prototype,"delay",2),y([A({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],wt.prototype,"hideOnEscape",2),y([A({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],wt.prototype,"hideOnBlur",2),y([A({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],wt.prototype,"hideOnOutsideClick",2),y([A({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],wt.prototype,"focusBackToTrigger",2),y([A({type:Boolean,reflect:!0})],wt.prototype,"backdrop",2),y([A({type:Boolean,reflect:!0})],wt.prototype,"flip",2),y([A({type:Boolean,reflect:!0})],wt.prototype,"size",2),y([A({type:Number,reflect:!0,attribute:"z-index"})],wt.prototype,"zIndex",2),y([A({type:String,reflect:!0,attribute:"append-to"})],wt.prototype,"appendTo",2),y([A({type:String,attribute:"close-button-aria-label",reflect:!0})],wt.prototype,"closeButtonAriaLabel",2),y([A({type:String,reflect:!0})],wt.prototype,"role",2),y([A({type:String,reflect:!0,attribute:"aria-labelledby"})],wt.prototype,"ariaLabelledby",2),y([A({type:String,reflect:!0,attribute:"aria-describedby"})],wt.prototype,"ariaDescribedby",2),y([A({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],wt.prototype,"disableAriaExpanded",2);var er=wt;var zm=j.constructTagName("coachmark"),Ri={COLOR:_s.CONTRAST,TRIGGER:Li.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var Oi=class extends er{constructor(){super(...arguments);this.trigger=Ri.TRIGGER;this.showArrow=Ri.ARROW;this.closeButton=Ri.CLOSE_BUTTON;this.disableAriaExpanded=Ri.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=Ri.COLOR,this.showArrow=Ri.ARROW}};y([A({type:String,reflect:!0})],Oi.prototype,"trigger",2),y([A({type:Boolean,attribute:"show-arrow"})],Oi.prototype,"showArrow",2),y([A({type:Boolean,reflect:!0,attribute:"close-button"})],Oi.prototype,"closeButton",2),y([A({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],Oi.prototype,"disableAriaExpanded",2);var Dl=Oi;Dl.register(zm);var Zv=Dl;var Jv=W`
|
2179
2179
|
:host {
|
2180
2180
|
--mdc-dialog-primary-background-color: var(--mds-color-theme-background-solid-primary-normal);
|
2181
2181
|
--mdc-dialog-border-color: var(--mds-color-theme-outline-secondary-normal);
|
@@ -2280,7 +2280,7 @@
|
|
2280
2280
|
mdc-text::part(text) {
|
2281
2281
|
margin: 0;
|
2282
2282
|
}
|
2283
|
-
|
2283
|
+
`,$m=[Jv];var Vm=j.constructTagName("dialog"),Qv={DEFAULT:"default",PROMOTIONAL:"promotional"},Nr={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:Qv.DEFAULT};var en=class{constructor(o){this.dialog=o}setupAriaAttributes(){this.dialog.headerText&&!this.dialog.ariaLabel&&!this.dialog.ariaLabelledby?this.dialog.setAttribute("aria-labelledby",this.dialog.headerText):!this.dialog.headerText&&!this.dialog.ariaLabel&&!this.dialog.ariaLabelledby&&this.dialog.setAttribute("aria-labelledby",this.dialog.triggerId)}createBackdrop(){var s;let o=document.createElement("div");o.classList.add("dialog-backdrop");let e=document.createElement("style");e.textContent=`
|
2284
2284
|
.dialog-backdrop {
|
2285
2285
|
position: fixed;
|
2286
2286
|
top: 0;
|
@@ -2290,19 +2290,19 @@
|
|
2290
2290
|
background: var(--mds-color-theme-common-overlays-secondary-normal);
|
2291
2291
|
z-index: ${this.dialog.zIndex-1};
|
2292
2292
|
}
|
2293
|
-
`,o.appendChild(e),(s=this.dialog.parentElement)==null||s.appendChild(o),this.dialog.backdropElement=o}};var
|
2293
|
+
`,o.appendChild(e),(s=this.dialog.parentElement)==null||s.appendChild(o),this.dialog.backdropElement=o}};var Pi=class{static dispatchDialogEvent(o,e){e.dispatchEvent(new CustomEvent(o,{detail:{show:e.visible},composed:!0,bubbles:!0}))}static onShowDialog(o){this.dispatchDialogEvent("shown",o)}static onHideDialog(o){this.dispatchDialogEvent("hidden",o)}static onCreatedDialog(o){this.dispatchDialogEvent("created",o)}static onDestroyedDialog(o){this.dispatchDialogEvent("destroyed",o)}};var Jt=class extends Qa(za(J)){constructor(){super();this.id="";this.triggerId="";this.visible=Nr.VISIBLE;this.zIndex=Nr.Z_INDEX;this.size=Nr.SIZE;this.variant=Nr.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabelledby=null;this.ariaLabel=null;this.headerText="";this.descriptionText="";this.headerTagName=Nr.HEADER_TAG_NAME;this.descriptionTagName=Nr.DESCRIPTION_TAG_NAME;this.role=Nr.ROLE;this.triggerElement=null;this.backdropElement=null;this.onEscapeKeydown=e=>{!this.visible||e.code!=="Escape"||(e.preventDefault(),this.hideDialog())};this.hideDialog=()=>{this.visible=!1};this.utils=new en(this),document.addEventListener("keydown",this.onEscapeKeydown)}async firstUpdated(e){super.firstUpdated(e),this.setupTriggerListener(),this.utils.setupAriaAttributes(),this.style.zIndex=`${this.zIndex}`,Pi.onCreatedDialog(this),this.visible&&await this.handleCreateDialogFirstUpdate()}async disconnectedCallback(){super.disconnectedCallback(),this.removeEventListeners(),document.removeEventListener("keydown",this.onEscapeKeydown),Pi.onDestroyedDialog(this)}setupTriggerListener(){this.triggerId&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerId}"]`),this.triggerElement&&this.addEventListener("focus-trap-exit",this.hideDialog))}removeEventListeners(){this.triggerElement&&this.removeEventListener("focus-trap-exit",this.hideDialog)}async updated(e){if(super.updated(e),e.has("visible")){let s=e.get("visible");await this.isOpenUpdated(s,this.visible)}e.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),e.has("variant")&&this.updateFooterButtonColors(this.variant),(e.has("aria-label")||e.has("aria-labelledby"))&&this.utils.setupAriaAttributes()}async isOpenUpdated(e,s){var n,h,f;e===s||!this.triggerElement||(s?(this.enabledFocusTrap=!0,this.enabledPreventScroll=!0,this.utils.createBackdrop(),await this.handleCreateDialogFirstUpdate(),this.triggerElement.setAttribute("aria-expanded","true"),this.triggerElement.setAttribute("aria-haspopup",this.triggerElement.getAttribute("aria-haspopup")||"dialog"),Pi.onShowDialog(this)):((n=this.backdropElement)==null||n.remove(),this.backdropElement=null,(h=this.deactivateFocusTrap)==null||h.call(this),this.triggerElement.removeAttribute("aria-expanded"),this.triggerElement.removeAttribute("aria-haspopup"),(f=this.triggerElement)==null||f.focus(),Pi.onHideDialog(this)))}async handleCreateDialogFirstUpdate(){var e,s;this.visible&&((e=this.setFocusableElements)==null||e.call(this),await this.updateComplete,(s=this.setInitialFocus)==null||s.call(this))}render(){var e;return F`
|
2294
2294
|
${this.headerText?F`
|
2295
2295
|
<div part="header">
|
2296
2296
|
<mdc-text
|
2297
2297
|
part="header-text"
|
2298
|
-
tagname="${
|
2298
|
+
tagname="${Et[this.headerTagName.toUpperCase()]}"
|
2299
2299
|
type="${lt.BODY_LARGE_BOLD}"
|
2300
2300
|
>
|
2301
2301
|
${this.headerText}
|
2302
2302
|
</mdc-text>
|
2303
2303
|
<mdc-text
|
2304
2304
|
part="description-text"
|
2305
|
-
tagname="${
|
2305
|
+
tagname="${Et[this.descriptionTagName.toUpperCase()]}"
|
2306
2306
|
type="${lt.BODY_MIDSIZE_REGULAR}"
|
2307
2307
|
>
|
2308
2308
|
${(e=this.descriptionText)!=null?e:Z}
|
@@ -2310,9 +2310,9 @@
|
|
2310
2310
|
</div>`:Z}
|
2311
2311
|
<mdc-button
|
2312
2312
|
part="dialog-close-btn"
|
2313
|
-
prefix-icon="${
|
2313
|
+
prefix-icon="${Nr.CANCEL_ICON}"
|
2314
2314
|
variant="${re.TERTIARY}"
|
2315
|
-
size="${
|
2315
|
+
size="${Zr[20]}"
|
2316
2316
|
aria-label="${mt(this.closeButtonAriaLabel)||""}"
|
2317
2317
|
@click="${this.hideDialog}"
|
2318
2318
|
></mdc-button>
|
@@ -2320,7 +2320,7 @@
|
|
2320
2320
|
<slot name="dialog-body"></slot>
|
2321
2321
|
</div>
|
2322
2322
|
${this.renderFooter()}
|
2323
|
-
`}};Jt.styles=[...J.styles
|
2323
|
+
`}};Jt.styles=[...J.styles,...$m],y([A({type:String,reflect:!0})],Jt.prototype,"id",2),y([A({type:String,reflect:!0})],Jt.prototype,"triggerId",2),y([A({type:Boolean,reflect:!0})],Jt.prototype,"visible",2),y([A({type:Number,reflect:!0,attribute:"z-index"})],Jt.prototype,"zIndex",2),y([A({type:String,reflect:!0})],Jt.prototype,"size",2),y([A({type:String,reflect:!0})],Jt.prototype,"variant",2),y([A({type:String,attribute:"close-button-aria-label"})],Jt.prototype,"closeButtonAriaLabel",2),y([A({type:String,reflect:!0,attribute:"aria-labelledby"})],Jt.prototype,"ariaLabelledby",2),y([A({type:String,reflect:!0,attribute:"aria-label"})],Jt.prototype,"ariaLabel",2),y([A({type:String,reflect:!0,attribute:"header-text"})],Jt.prototype,"headerText",2),y([A({type:String,reflect:!0,attribute:"description-text"})],Jt.prototype,"descriptionText",2),y([A({type:String,reflect:!0,attribute:"header-tag-name"})],Jt.prototype,"headerTagName",2),y([A({type:String,reflect:!0,attribute:"description-tag-name"})],Jt.prototype,"descriptionTagName",2),y([A({type:String,reflect:!0})],Jt.prototype,"role",2);var Fl=Jt;Fl.register(Vm);var tg=Fl;var Bm=j.constructTagName("divider"),Ss={HORIZONTAL:"horizontal",VERTICAL:"vertical"},zl={SOLID:"solid",GRADIENT:"gradient"},ei={POSITIVE:"positive",NEGATIVE:"negative"},ks={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},Di={ORIENTATION:Ss.HORIZONTAL,VARIANT:zl.SOLID,ARROW_DIRECTION:ei.NEGATIVE,BUTTON_DIRECTION:ei.NEGATIVE};var eg=[xt,W`
|
2324
2324
|
:host {
|
2325
2325
|
--mdc-divider-background-color: var(--mds-color-theme-outline-secondary-normal);
|
2326
2326
|
--mdc-divider-width: 0.0625rem;
|
@@ -2531,11 +2531,11 @@
|
|
2531
2531
|
font-size: var(--mdc-divider-text-size);
|
2532
2532
|
line-height: var(--mdc-divider-text-line-height);
|
2533
2533
|
}
|
2534
|
-
`]
|
2534
|
+
`],Um=eg;var ri=class extends J{constructor(){super(...arguments);this.orientation=Di.ORIENTATION;this.variant=Di.VARIANT;this.arrowDirection=Di.ARROW_DIRECTION;this.buttonPosition=Di.BUTTON_DIRECTION}setVariant(e){this.setAttribute("variant",Object.values(zl).includes(e)?e:Di.VARIANT)}setOrientation(e){this.setAttribute("orientation",Object.values(Ss).includes(e)?e:Di.ORIENTATION)}ensureValidDirections(){let e=this.orientation===Ss.HORIZONTAL?ei.NEGATIVE:ei.POSITIVE;Object.values(ei).includes(this.buttonPosition)||(this.buttonPosition=e),Object.values(ei).includes(this.arrowDirection)||(this.arrowDirection=e)}setGrabberButton(){this.ensureValidDirections();let e=this.querySelector("mdc-button");if(e){let s=this.getArrowIcon();e.setAttribute("variant","secondary"),e.setAttribute("prefix-icon",s)}}getArrowIcon(){let e=this.orientation===Ss.HORIZONTAL,s=this.arrowDirection===ei.POSITIVE;return e?s?ks.UP:ks.DOWN:s?ks.RIGHT:ks.LEFT}update(e){super.update(e),e.has("orientation")&&this.setOrientation(this.orientation),e.has("variant")&&this.setVariant(this.variant),(e.has("orientation")||e.has("arrowDirection")||e.has("buttonPosition"))&&this.setGrabberButton()}inferDividerType(){var f;let e=(f=this.shadowRoot)==null?void 0:f.querySelector("slot"),s=(e==null?void 0:e.assignedElements({flatten:!0}))||[];if(s.length>1)return;let n=s.some(S=>S.tagName===ls.toUpperCase()),h=s.some(S=>S.tagName===yi.toUpperCase());n&&!h?this.setAttribute("data-type","mdc-text-divider"):!n&&h&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}connectedCallback(){super.connectedCallback(),this.setAttribute("data-type","mdc-primary-divider")}render(){return F`
|
2535
2535
|
<div></div>
|
2536
2536
|
<slot @slotchange=${this.inferDividerType}></slot>
|
2537
2537
|
<div></div>
|
2538
|
-
`}};
|
2538
|
+
`}};ri.styles=[...J.styles,...Um],y([A({type:String,reflect:!0})],ri.prototype,"orientation",2),y([A({type:String,reflect:!0})],ri.prototype,"variant",2),y([A({type:String,attribute:"arrow-direction",reflect:!0})],ri.prototype,"arrowDirection",2),y([A({type:String,attribute:"button-position",reflect:!0})],ri.prototype,"buttonPosition",2);var $l=ri;$l.register(Bm);var rg=$l;var ig=W`
|
2539
2539
|
:host([selected]){
|
2540
2540
|
border: 2px solid;
|
2541
2541
|
--mdc-chip-background-color: var(--mds-color-theme-background-label-default-active);
|
@@ -2555,7 +2555,7 @@
|
|
2555
2555
|
--mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
|
2556
2556
|
cursor: auto;
|
2557
2557
|
}
|
2558
|
-
`,
|
2558
|
+
`,Hm=[ig];var Gm=j.constructTagName("filterchip"),Vl={ICON_NAME:"check-bold",COLOR:"default"};var Cs=class extends To{constructor(){super(...arguments);this.selected=!1}connectedCallback(){super.connectedCallback(),this.color=Vl.COLOR}setSelected(e){e?(this.iconName=Vl.ICON_NAME,this.setAttribute("aria-pressed","true")):(this.iconName=void 0,this.setAttribute("aria-pressed","false"))}executeAction(){this.selected=!this.selected}update(e){super.update(e),e.has("selected")&&this.setSelected(this.selected)}};Cs.styles=[...To.styles,...Hm],y([A({type:Boolean,reflect:!0})],Cs.prototype,"selected",2);var Bl=Cs;Bl.register(Gm);var og=Bl;var sg=W`
|
2559
2559
|
|
2560
2560
|
:host::part(container) {
|
2561
2561
|
display: flex;
|
@@ -2572,12 +2572,12 @@
|
|
2572
2572
|
:host::part(label-text){
|
2573
2573
|
font-weight: bold;
|
2574
2574
|
}
|
2575
|
-
`,
|
2575
|
+
`,jm=[sg];var rn=class extends Ht(pe){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.id="",this.helpTextType=void 0,this.disabled=void 0}render(){var e;return F`
|
2576
2576
|
<div
|
2577
2577
|
part="container"
|
2578
|
-
role="${this.isRadio
|
2579
|
-
aria-labelledby="${
|
2580
|
-
aria-describedby="${mt(this.helpText?
|
2578
|
+
role="${this.isRadio?$t.RADIOGROUP:$t.GROUP}"
|
2579
|
+
aria-labelledby="${Vt.HEADING_ID}"
|
2580
|
+
aria-describedby="${mt(this.helpText?Vt.HELPER_TEXT_ID:"")}"
|
2581
2581
|
aria-label="${(e=this.dataAriaLabel)!=null?e:""}"
|
2582
2582
|
>
|
2583
2583
|
<div part="group-header">
|
@@ -2586,7 +2586,7 @@
|
|
2586
2586
|
</div>
|
2587
2587
|
<slot></slot>
|
2588
2588
|
</div>
|
2589
|
-
`}};
|
2589
|
+
`}};rn.styles=[...pe.styles,...jm];var Ul=rn;var Wm=j.constructTagName("formfieldgroup");Ul.register(Wm);var on=Ul;cs.register(Sa);var ag=cs;var ng=[W`
|
2590
2590
|
:host{
|
2591
2591
|
--mdc-input-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
|
2592
2592
|
--mdc-input-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
|
@@ -2702,30 +2702,30 @@
|
|
2702
2702
|
opacity: 0;
|
2703
2703
|
pointer-events: none;
|
2704
2704
|
}
|
2705
|
-
`,..._t(!0)],
|
2705
|
+
`,..._t(!0)],qm=ng;pe.register(em);var Be=pe;var Ym=j.constructTagName("input"),sn={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},Hl={OFF:"off",ON:"on"},Gl={TEXT:"text",SEARCH:"search"},Km={MAX_LENGTH:10,VALIDATION:Zt.ERROR},Rr={VALIDATION:Zt.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:re.TERTIARY,CLEAR_BUTTON_SIZE:Zr[20],PREFIX_TEXT_TYPE:lt.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:Et.SPAN,AUTO_COMPLETE:Hl.OFF,INPUT_TYPE:Gl.TEXT};var Wt=class extends Se(Ht(Be)){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=sn.OFF;this.autocomplete=Hl.OFF;this.autofocus=!1;this.clearAriaLabel=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.inputElement.checkValidity(),this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(e=>{this.onerror&&this.onerror(e)})}formResetCallback(){this.value="",this.requestUpdate()}formStateRestoreCallback(e){this.value=e}handleValueChange(){this.updateComplete.then(()=>{this.setInputValidity()}).catch(e=>{this.onerror&&this.onerror(e)})}updated(e){super.updated(e),e.has("value")&&this.handleValueChange()}setInputValidity(){this.requiredLabel&&this.validationMessage&&this.value===""?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()}attributeChangedCallback(e,s,n){super.attributeChangedCallback(e,s,n),["maxlength","minlength","pattern","required"].includes(e)&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(f=>{this.onerror&&this.onerror(f)})}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setInputValidity()}onChange(e){this.updateValue(),this.setInputValidity();let s=e.constructor;this.dispatchEvent(new s(e.type,e))}handleKeyDown(e){var s;e.key==="Enter"&&((s=this.form)==null||s.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?F`
|
2706
2706
|
<mdc-icon
|
2707
2707
|
class="leading-icon"
|
2708
2708
|
part="leading-icon"
|
2709
2709
|
name=${this.leadingIcon}
|
2710
|
-
size="${
|
2711
|
-
length-unit="${
|
2710
|
+
size="${Rr.ICON_SIZE_VALUE}"
|
2711
|
+
length-unit="${Rr.ICON_SIZE_UNIT}">
|
2712
2712
|
</mdc-icon>
|
2713
2713
|
`:Z}renderPrefixText(){return this.prefixText?F`
|
2714
2714
|
<mdc-text
|
2715
2715
|
class="prefix-text"
|
2716
|
-
tagname="${
|
2717
|
-
type="${
|
2716
|
+
tagname="${Rr.PREFIX_TEXT_TAG}"
|
2717
|
+
type="${Rr.PREFIX_TEXT_TYPE}"
|
2718
2718
|
aria-hidden="true"
|
2719
2719
|
>
|
2720
|
-
${this.prefixText.slice(0,
|
2720
|
+
${this.prefixText.slice(0,Km.MAX_LENGTH)}
|
2721
2721
|
</mdc-text>
|
2722
2722
|
`:Z}clearInputText(){var e;this.value="",(e=this.inputElement)==null||e.focus()}renderTrailingButton(e=!1){let s=e||this.value&&this.trailingButton;return s?F`
|
2723
2723
|
<mdc-button
|
2724
2724
|
part='trailing-button'
|
2725
2725
|
class='own-focus-ring ${s?"":"hidden"}'
|
2726
|
-
prefix-icon='${
|
2727
|
-
variant='${
|
2728
|
-
size="${
|
2726
|
+
prefix-icon='${Rr.CLEAR_BUTTON_ICON}'
|
2727
|
+
variant='${Rr.CLEAR_BUTTON_VARIANT}'
|
2728
|
+
size="${Rr.CLEAR_BUTTON_SIZE}"
|
2729
2729
|
aria-label="${this.clearAriaLabel}"
|
2730
2730
|
@click=${this.clearInputText}
|
2731
2731
|
?disabled=${this.disabled||this.readonly||!s}
|
@@ -2741,7 +2741,7 @@
|
|
2741
2741
|
?readonly="${this.readonly}"
|
2742
2742
|
?required="${!!this.requiredLabel}"
|
2743
2743
|
type="${e}"
|
2744
|
-
aria-describedby="${mt(this.helpText?
|
2744
|
+
aria-describedby="${mt(this.helpText?Vt.HELPER_TEXT_ID:"")}"
|
2745
2745
|
aria-invalid="${this.helpTextType==="error"?"true":"false"}"
|
2746
2746
|
placeholder=${mt(n)}
|
2747
2747
|
minlength=${mt(this.minlength)}
|
@@ -2762,12 +2762,12 @@
|
|
2762
2762
|
<slot name="input-leading-icon">${this.renderLeadingIcon()}</slot>
|
2763
2763
|
<div class="input-section" part="input-section">
|
2764
2764
|
<slot name="input-prefix-text">${this.renderPrefixText()}</slot>
|
2765
|
-
<slot name="input">${this.renderInputElement(
|
2765
|
+
<slot name="input">${this.renderInputElement(Rr.INPUT_TYPE)}</slot>
|
2766
2766
|
</div>
|
2767
2767
|
<slot name="trailing-button">${this.renderTrailingButton()}</slot>
|
2768
2768
|
</div>
|
2769
2769
|
${this.helpText?this.renderHelperText():Z}
|
2770
|
-
`}};Wt.styles=[...
|
2770
|
+
`}};Wt.styles=[...Be.styles,...qm],y([A({type:String})],Wt.prototype,"placeholder",2),y([A({type:Boolean})],Wt.prototype,"readonly",2),y([A({type:String,attribute:"prefix-text"})],Wt.prototype,"prefixText",2),y([A({type:String,attribute:"leading-icon"})],Wt.prototype,"leadingIcon",2),y([A({type:Boolean,attribute:"trailing-button"})],Wt.prototype,"trailingButton",2),y([A({type:Number})],Wt.prototype,"maxlength",2),y([A({type:Number})],Wt.prototype,"minlength",2),y([A({type:String})],Wt.prototype,"autocapitalize",2),y([A({type:String})],Wt.prototype,"autocomplete",2),y([A({type:Boolean})],Wt.prototype,"autofocus",2),y([A({type:String})],Wt.prototype,"dirname",2),y([A({type:String})],Wt.prototype,"pattern",2),y([A({type:String})],Wt.prototype,"list",2),y([A({type:Number})],Wt.prototype,"size",2),y([A({type:String,attribute:"clear-aria-label"})],Wt.prototype,"clearAriaLabel",2);var ko=Wt;ko.register(Ym);var lg=ko;var cg=W`
|
2771
2771
|
:host {
|
2772
2772
|
height: 1.5rem;
|
2773
2773
|
gap: 0.25rem;
|
@@ -2796,24 +2796,24 @@
|
|
2796
2796
|
--mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
|
2797
2797
|
cursor: auto;
|
2798
2798
|
}
|
2799
|
-
`,
|
2799
|
+
`,Xm=[xt,cg];var an=j.constructTagName("inputchip"),nn={TEXT_TYPE:lt.BODY_MIDSIZE_REGULAR,TAG_NAME:Et.SPAN,CLOSE_ICON:"cancel-bold"};var Fi=class extends Ae(Dt(J)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderIcon(){return this.iconName?F`
|
2800
2800
|
<mdc-icon
|
2801
2801
|
name="${this.iconName}"
|
2802
2802
|
length-unit="rem"
|
2803
2803
|
size="1"></mdc-icon>
|
2804
2804
|
`:Z}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return F`
|
2805
2805
|
${this.renderIcon()}
|
2806
|
-
<mdc-text part="label" type="${
|
2806
|
+
<mdc-text part="label" type="${nn.TEXT_TYPE}" tagname="${nn.TAG_NAME}">${this.label}</mdc-text>
|
2807
2807
|
<mdc-button
|
2808
2808
|
?disabled="${this.disabled}"
|
2809
2809
|
variant="tertiary"
|
2810
2810
|
part="close-icon"
|
2811
2811
|
aria-label="${this.clearAriaLabel}"
|
2812
|
-
prefix-icon="${
|
2812
|
+
prefix-icon="${nn.CLOSE_ICON}"
|
2813
2813
|
size="20"
|
2814
2814
|
@click="${this.handleClose}"
|
2815
2815
|
></mdc-button>
|
2816
|
-
`}};
|
2816
|
+
`}};Fi.styles=[...J.styles,...Xm],y([A({type:String})],Fi.prototype,"label",2),y([A({type:Boolean})],Fi.prototype,"error",2),y([A({type:String,attribute:"clear-aria-label"})],Fi.prototype,"clearAriaLabel",2);var jl=Fi;jl.register(an);var dg=jl;var hg=W`
|
2817
2817
|
:host {
|
2818
2818
|
gap: 0.25rem;
|
2819
2819
|
}
|
@@ -2871,7 +2871,7 @@
|
|
2871
2871
|
text-decoration: var(--mds-font-apps-body-small-regular-underline-text-decoration);
|
2872
2872
|
text-transform: var(--mds-font-apps-body-small-regular-underline-text-case);
|
2873
2873
|
}
|
2874
|
-
`,
|
2874
|
+
`,Zm=[hg];var ws=class extends Ae(Qr){constructor(){super(...arguments);this.size=Uh.LINK_SIZE}getIconSize(){switch(this.size){case Pa.SMALL:return Da.SMALL;case Pa.MIDSIZE:return Da.MIDSIZE;default:return Da.LARGE}}render(){return F`
|
2875
2875
|
<slot></slot>
|
2876
2876
|
${this.iconName?F`
|
2877
2877
|
<mdc-icon
|
@@ -2880,27 +2880,27 @@
|
|
2880
2880
|
length-unit="rem"
|
2881
2881
|
></mdc-icon>
|
2882
2882
|
`:Z}
|
2883
|
-
`}};
|
2883
|
+
`}};ws.styles=[...Qr.styles,...Zm],y([A({type:String,reflect:!0})],ws.prototype,"size",2);var Wl=ws;Wl.register(Oa);var mg=Wl;Qr.register(zh);var pg=Qr;var Lt={ARROW_DOWN:"ArrowDown",ARROW_UP:"ArrowUp",END:"End",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SPACE:" "};var ln=j.constructTagName("listitem"),ql="dynamic-listitem-tooltip-popover",Yl="dynamic-listitem-tooltip-triggerid",Is={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},Kl={VARIANT:Is.FULL_WIDTH,TOOLTIP_PLACEMENT:fe.TOP};var Jm=j.constructTagName("list"),Xl="header-id";var ug=W`
|
2884
2884
|
:host::part(header-text) {
|
2885
2885
|
padding: 0.5rem 0.75rem;
|
2886
2886
|
}
|
2887
|
-
`,
|
2887
|
+
`,Qm=[ug];var Co=class extends Ht(J){constructor(){super();this.dataRole=$t.LIST;this.addEventListener("keydown",this.handleKeyDown)}handleKeyDown(e){var h;let s=this.getCurrentIndex(e.target),n=this.getNewIndexBasedOnKey(e.key,s,this.listItems.length);n!==void 0&&((h=this.listItems[n])==null||h.focus(),this.resetTabIndexAndSetActiveTabIndex(n))}getCurrentIndex(e){return this.listItems.findIndex(s=>s===e||s===e.parentElement)}getNewIndexBasedOnKey(e,s,n){switch(e){case Lt.ARROW_DOWN:return(s+1)%n;case Lt.ARROW_UP:return(s-1+n)%n;case Lt.HOME:return 0;case Lt.END:return n-1;default:return}}handleMouseClick(e){let s=this.getCurrentIndex(e.target);this.resetTabIndexAndSetActiveTabIndex(s)}resetTabIndexAndSetActiveTabIndex(e){this.listItems.forEach((s,n)=>{let h=e===n?"0":"-1";s==null||s.setAttribute("tabindex",h)})}firstUpdated(){this.resetTabIndexAndSetActiveTabIndex(0)}render(){var s;let e=this.headerText?F`
|
2888
2888
|
<mdc-text
|
2889
|
-
id="${
|
2889
|
+
id="${Xl}"
|
2890
2890
|
part="header-text"
|
2891
2891
|
type="${lt.BODY_MIDSIZE_BOLD}"
|
2892
|
-
tagname="${
|
2892
|
+
tagname="${Et.SPAN}"
|
2893
2893
|
>${this.headerText}</mdc-text>
|
2894
2894
|
`:Z;return F`
|
2895
2895
|
<div
|
2896
2896
|
role="${this.dataRole}"
|
2897
|
-
aria-labelledby="${this.headerText?
|
2897
|
+
aria-labelledby="${this.headerText?Xl:""}"
|
2898
2898
|
aria-label="${(s=this.dataAriaLabel)!=null?s:""}"
|
2899
2899
|
>
|
2900
2900
|
${e}
|
2901
2901
|
<slot role="presentation" @click="${this.handleMouseClick}"></slot>
|
2902
2902
|
</div>
|
2903
|
-
`}};
|
2903
|
+
`}};Co.styles=[...J.styles,...Qm],y([zt({selector:`${ln}:not([disabled])`})],Co.prototype,"listItems",2),y([A({type:String,attribute:"header-text",reflect:!0})],Co.prototype,"headerText",2);var Zl=Co;Zl.register(Jm);var fg=Zl;var cn=j.constructTagName("tooltip"),Ne={DESCRIPTION:"description",LABEL:"label",NONE:"none"},ii={BACKDROP:!1,DELAY:"0,0",OFFSET:4,PLACEMENT:fe.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:Ne.DESCRIPTION};var vg=W`
|
2904
2904
|
|
2905
2905
|
:host {
|
2906
2906
|
--mdc-tooltip-max-width: 400px;
|
@@ -2925,7 +2925,7 @@
|
|
2925
2925
|
:host([color='contrast'])::part(popover-content) {
|
2926
2926
|
color: var(--mdc-tooltip-text-color-contrast);
|
2927
2927
|
}
|
2928
|
-
`,
|
2928
|
+
`,tp=[vg];var wo=class extends er{constructor(){super(...arguments);this.tooltipType=ii.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||ii.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||ii.OFFSET,this.placement=this.placement||ii.PLACEMENT,this.role=$t.TOOLTIP,this.trigger="mouseenter focusin",this.enabledFocusTrap=!1,this.enabledPreventScroll=!1,this.flip=!0,this.focusTrap=!1,this.preventScroll=!1,this.closeButton=!1,this.hideOnOutsideClick=!1,this.focusBackToTrigger=!1,this.size=!1,this.disableAriaExpanded=!0}getTooltipText(){var e,s;return((s=(e=this.defaultSlotNodes)==null?void 0:e.map(n=>n.textContent).join(" "))==null?void 0:s.trim())||""}setTooltipType(e){this.setAttribute("tooltip-type",Object.values(Ne).includes(e)?e:ii.TOOLTIP_TYPE)}onIdUpdated(){this.id.length===0&&(this.id=`mdc-tooltip-${wr()}`);let e=document.getElementById(this.triggerID);if(e)switch(this.tooltipType){case Ne.DESCRIPTION:e.setAttribute("aria-describedby",this.id);break;case Ne.LABEL:e.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(fe).includes(this.placement)||(this.placement=ii.PLACEMENT)}onTooltipTypeUpdated(e){let s=e.get("tooltipType");Object.values(Ne).includes(this.tooltipType)||this.setTooltipType(ii.TOOLTIP_TYPE);let n=document.getElementById(this.triggerID);if(n){let h=this.getTooltipText();switch(this.tooltipType){case Ne.DESCRIPTION:s===Ne.LABEL&&n.removeAttribute("aria-labelledby"),n.setAttribute("aria-describedby",this.id);break;case Ne.LABEL:s===Ne.DESCRIPTION&&n.removeAttribute("aria-describedby"),n.setAttribute("aria-labelledby",this.id);break;default:s===Ne.DESCRIPTION?n.removeAttribute("aria-describedby"):s===Ne.LABEL&&n.removeAttribute("aria-labelledby");break}h.length>0&&this.tooltipType!==Ne.NONE&&!this.ariaLabel&&(this.ariaLabel=h)}}update(e){super.update(e),e.has("id")&&this.onIdUpdated(),e.has("placement")&&this.onPlacementUpdated(),e.has("tooltipType")&&this.onTooltipTypeUpdated(e)}};wo.styles=[...er.styles,...tp],y([A({type:String,attribute:"tooltip-type",reflect:!0})],wo.prototype,"tooltipType",2),y([Ea()],wo.prototype,"defaultSlotNodes",2);var Jl=wo;Jl.register(cn);var gg=Jl;var bg=W`
|
2929
2929
|
:host {
|
2930
2930
|
--mdc-listitem-default-background-color: var(--mds-color-theme-background-primary-ghost);
|
2931
2931
|
--mdc-listitem-background-color-hover: var(--mds-color-theme-background-primary-hover);
|
@@ -3007,9 +3007,9 @@
|
|
3007
3007
|
display: flex;
|
3008
3008
|
flex-direction: row;
|
3009
3009
|
}
|
3010
|
-
`,
|
3010
|
+
`,ep=[bg,..._t()];var Ce=class extends Dt(nr(J)){constructor(){super();this.variant=Kl.VARIANT;this.tooltipPlacement=Kl.TOOLTIP_PLACEMENT;this.addEventListener("focusin",this.displayTooltipForLongText),this.addEventListener("mouseover",this.displayTooltipForLongText),this.addEventListener("focusout",this.hideTooltipOnLeave),this.addEventListener("mouseout",this.hideTooltipOnLeave),this.addEventListener("click",this.handleClick)}connectedCallback(){super.connectedCallback(),this.role=this.role||$t.LISTITEM}handleClick(){this.hideTooltipOnLeave()}displayTooltipForLongText(){var s;if(!this.tooltipText)return;this.id=this.id||Yl;let e=document.createElement(cn);e.id=ql,e.textContent=this.tooltipText,e.setAttribute("triggerid",this.id),e.setAttribute("placement",this.tooltipPlacement),e.setAttribute("visible",""),e.setAttribute("show-arrow",""),(s=this.parentElement)==null||s.after(e)}hideTooltipOnLeave(){this.id=this.id===Yl?"":this.id;let e=document.querySelector(`#${ql}`);e==null||e.remove()}getText(e,s,n){return n?F`
|
3011
3011
|
<slot name="${e}">
|
3012
|
-
<mdc-text part="${e}" type="${s}" tagname="${
|
3012
|
+
<mdc-text part="${e}" type="${s}" tagname="${Et.SPAN}">${n}</mdc-text>
|
3013
3013
|
</slot>
|
3014
3014
|
`:Z}disableSlottedChildren(e){[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(s=>{e?s.setAttribute("disabled",""):s.removeAttribute("disabled")})}update(e){super.update(e),e.has("disabled")&&(this.tabIndex=this.disabled?-1:0,this.disableSlottedChildren(this.disabled),this.setAttribute("aria-disabled",`${this.disabled}`))}render(){return F`
|
3015
3015
|
<div part="leading">
|
@@ -3027,7 +3027,7 @@
|
|
3027
3027
|
</div>
|
3028
3028
|
<slot name="trailing-controls"></slot>
|
3029
3029
|
</div>
|
3030
|
-
`}};Ce.styles=[...J.styles,...
|
3030
|
+
`}};Ce.styles=[...J.styles,...ep],y([zt({slot:"leading-controls"})],Ce.prototype,"leadingControlsSlot",2),y([zt({slot:"trailing-controls"})],Ce.prototype,"trailingControlsSlot",2),y([A({type:String,reflect:!0})],Ce.prototype,"variant",2),y([A({type:String,reflect:!0})],Ce.prototype,"label",2),y([A({type:String,reflect:!0,attribute:"secondary-label"})],Ce.prototype,"secondaryLabel",2),y([A({type:String,reflect:!0,attribute:"tertiary-label"})],Ce.prototype,"tertiaryLabel",2),y([A({type:String,reflect:!0,attribute:"side-header-text"})],Ce.prototype,"sideHeaderText",2),y([A({type:String,reflect:!0,attribute:"subline-text"})],Ce.prototype,"sublineText",2),y([A({type:String,reflect:!0,attribute:"tooltip-text"})],Ce.prototype,"tooltipText",2),y([A({type:String,reflect:!0,attribute:"tooltip-placement"})],Ce.prototype,"tooltipPlacement",2);var Or=Ce;Or.register(ln);var yg=Or;var Eg=W`
|
3031
3031
|
:host {
|
3032
3032
|
--mdc-marker-width: 0.25rem;
|
3033
3033
|
--mdc-marker-solid-background-color: var(--mds-color-theme-outline-secondary-normal);
|
@@ -3052,7 +3052,7 @@
|
|
3052
3052
|
var(--mdc-marker-striped-background-color) 0.375rem
|
3053
3053
|
);
|
3054
3054
|
}
|
3055
|
-
`,
|
3055
|
+
`,rp=[Eg];var ip=j.constructTagName("marker"),op={SOLID:"solid",STRIPED:"striped"};var Ls=class extends J{constructor(){super(...arguments);this.variant=op.SOLID}};Ls.styles=[...J.styles,...rp],y([A({type:String,reflect:!0})],Ls.prototype,"variant",2);var Ql=Ls;Ql.register(ip);var xg=Ql;var dn=class extends Or{connectedCallback(){super.connectedCallback(),this.role=$t.MENUITEM,this.variant=Is.INSET_RECTANGLE}};dn.styles=[...Or.styles];var Pr=dn;var sp=j.constructTagName("menuitem");Pr.register(sp);var Tg=Pr;var hn=j.constructTagName("optgroup"),tc="header-id";var Ag=W`
|
3056
3056
|
:host {
|
3057
3057
|
--mdc-optgroup-disabled-color: var(--mds-color-theme-text-primary-disabled);
|
3058
3058
|
}
|
@@ -3065,23 +3065,23 @@
|
|
3065
3065
|
color: var(--mdc-optgroup-disabled-color);
|
3066
3066
|
cursor: default;
|
3067
3067
|
}
|
3068
|
-
`,
|
3068
|
+
`,ap=[Ag];var Io=class extends Ht(Dt(J)){setDisabledForAllOptions(){this.options.forEach(o=>{this.disabled?o.setAttribute("disabled",""):o.removeAttribute("disabled")})}updated(o){super.updated(o),o.has("disabled")&&this.setDisabledForAllOptions()}render(){var e;let o=this.label?F`
|
3069
3069
|
<mdc-text
|
3070
|
-
id="${
|
3070
|
+
id="${tc}"
|
3071
3071
|
part="header-text"
|
3072
3072
|
type="${lt.BODY_MIDSIZE_BOLD}"
|
3073
|
-
tagname="${
|
3073
|
+
tagname="${Et.SPAN}"
|
3074
3074
|
>${this.label}</mdc-text>
|
3075
3075
|
`:Z;return F`
|
3076
3076
|
<div
|
3077
3077
|
role="group"
|
3078
|
-
aria-labelledby="${this.label?
|
3078
|
+
aria-labelledby="${this.label?tc:""}"
|
3079
3079
|
aria-label="${(e=this.dataAriaLabel)!=null?e:""}"
|
3080
3080
|
>
|
3081
3081
|
${o}
|
3082
3082
|
<slot role="presentation"></slot>
|
3083
3083
|
</div>
|
3084
|
-
`}};
|
3084
|
+
`}};Io.styles=[...J.styles,...ap],y([A({type:String,reflect:!0})],Io.prototype,"label",2),y([zt({selector:"mdc-option"})],Io.prototype,"options",2);var ec=Io;ec.register(hn);var _g=ec;var np="check-bold",Ms=j.constructTagName("option");var Sg=W`
|
3085
3085
|
:host {
|
3086
3086
|
--mdc-option-icon-width: 1rem;
|
3087
3087
|
|
@@ -3105,12 +3105,12 @@
|
|
3105
3105
|
/** 2x of leading and trailing icon width + 2x of column gap on both sides of the label text */
|
3106
3106
|
width: calc(100% - (2 * var(--mdc-option-icon-width)) - (2 * var(--mdc-listitem-column-gap)));
|
3107
3107
|
}
|
3108
|
-
`,
|
3108
|
+
`,lp=[Sg];var zi=class extends Se(Or){constructor(){super(...arguments);this.selected=!1;this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.role="option",this.variant=Is.INSET_RECTANGLE,this.updateAttribute("aria-selected",`${this.selected}`),this.updateAttribute("aria-disabled",`${!!this.disabled}`),this.name=void 0,this.secondaryLabel=void 0,this.sideHeaderText=void 0,this.sublineText=void 0}handleDefaultSlotChange(){var s,n,h;let e=(s=this.shadowRoot)==null?void 0:s.querySelector("slot");e&&!this.label&&(this.label=(h=(n=e.assignedNodes()[0])==null?void 0:n.textContent)==null?void 0:h.trim())}updateAttribute(e,s){this.setAttribute(e,s)}update(e){super.update(e),e.has("selected")&&this.updateAttribute("aria-selected",`${this.selected}`)}render(){let e=this.prefixIcon?F`
|
3109
3109
|
<div part="leading-icon">
|
3110
3110
|
<mdc-icon length-unit="rem" slot="leading-controls" name="${mt(this.prefixIcon)}"></mdc-icon>
|
3111
3111
|
</div>
|
3112
3112
|
`:Z,s=this.selected?F`
|
3113
|
-
<mdc-icon length-unit="rem" slot="trailing-controls" name="${
|
3113
|
+
<mdc-icon length-unit="rem" slot="trailing-controls" name="${np}"></mdc-icon>
|
3114
3114
|
`:Z;return F`
|
3115
3115
|
${e}
|
3116
3116
|
<div part="leading-text">
|
@@ -3120,7 +3120,7 @@
|
|
3120
3120
|
${s}
|
3121
3121
|
</div>
|
3122
3122
|
<slot part="default-slot" @slotchange="${this.handleDefaultSlotChange}"></slot>
|
3123
|
-
`}};
|
3123
|
+
`}};zi.styles=[...Or.styles,...lp],y([A({type:Boolean,reflect:!0})],zi.prototype,"selected",2),y([A({type:String,reflect:!0,attribute:"prefix-icon"})],zi.prototype,"prefixIcon",2),y([A({type:String,reflect:!0,attribute:"aria-label"})],zi.prototype,"ariaLabel",2);var rc=zi;rc.register(Ms);var kg=rc;er.register(Dm);var Cg=er;var wg=[xt,W`
|
3124
3124
|
:host {
|
3125
3125
|
--mdc-progressbar-background-color: var(--mds-color-theme-control-indicator-inactive-normal);
|
3126
3126
|
--mdc-progressbar-active-background-color: var(--mds-color-theme-control-active-normal);
|
@@ -3204,7 +3204,7 @@
|
|
3204
3204
|
border: var(--mdc-progressbar-border);
|
3205
3205
|
}
|
3206
3206
|
}
|
3207
|
-
`],
|
3207
|
+
`],cp=wg;var dp=j.constructTagName("progressbar"),mn={DEFAULT:"default",INLINE:"inline"},hp={VARIANT:mn.DEFAULT,VALIDATION:Zt.DEFAULT};var $i=class extends Ht(Be){constructor(){super(...arguments);this.variant=hp.VARIANT;this.value="0";this.error=!1;this.renderProgressbar=()=>{var h;let e=this.getValidationVariant(),s=this.clampedValue>0&&this.clampedValue<100,n=this.error?"100":`${this.clampedValue}`;return F`
|
3208
3208
|
<div
|
3209
3209
|
part="progress-container ${s?"gap":""}"
|
3210
3210
|
role="progressbar"
|
@@ -3216,16 +3216,16 @@
|
|
3216
3216
|
<div part="progress-bar ${e}" style="width: ${n}%"></div>
|
3217
3217
|
<div part="remaining"></div>
|
3218
3218
|
</div>
|
3219
|
-
`}}connectedCallback(){super.connectedCallback(),this.id=`mdc-progressbar-${
|
3219
|
+
`}}connectedCallback(){super.connectedCallback(),this.id=`mdc-progressbar-${wr()}`,this.disabled=void 0}get clampedValue(){let e=Number(this.value);return Number.isNaN(e)?0:Math.max(0,Math.min(100,e))}getValidationVariant(){return this.error?this.helpTextType=Zt.ERROR:this.clampedValue===100?this.helpTextType=Zt.SUCCESS:this.helpTextType=Zt.DEFAULT,this.helpTextType}render(){let e=this.variant===mn.INLINE;return F`
|
3220
3220
|
${e?F`<div part="inline-label-container">${this.renderLabelElement()} ${this.renderProgressbar()}</div>`:F`
|
3221
3221
|
<div part="label-container">
|
3222
3222
|
${this.renderLabelElement()}
|
3223
|
-
${this.variant===
|
3223
|
+
${this.variant===mn.DEFAULT&&this.label?F`<span part="percentage">${this.clampedValue}%</span>`:""}
|
3224
3224
|
</div>
|
3225
3225
|
${this.renderProgressbar()}
|
3226
3226
|
${this.renderHelperText()}
|
3227
3227
|
`}
|
3228
|
-
`}}
|
3228
|
+
`}};$i.styles=[...Be.styles,...cp],y([A({type:String,reflect:!0})],$i.prototype,"variant",2),y([A({type:String,reflect:!0})],$i.prototype,"value",2),y([A({type:Boolean,attribute:"error"})],$i.prototype,"error",2);var Ns=$i;Ns.register(dp);var Ig=Ns;var Lg=W`
|
3229
3229
|
:host {
|
3230
3230
|
--mdc-spinner-size: 3rem;
|
3231
3231
|
--mdc-track-color: var(--mds-color-theme-control-indicator-inactive-normal);
|
@@ -3269,7 +3269,7 @@
|
|
3269
3269
|
color: var(--mdc-progress-error-color);
|
3270
3270
|
margin: 0.5rem;
|
3271
3271
|
}
|
3272
|
-
`,
|
3272
|
+
`,mp=[Lg];var pp=j.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"},ic={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var oc=l=>{if(l===0)return 0;let o=l/100*qt.CIRCUMFERENCE-qt.GAP_SIZE;return Math.max(o,.1*l)},up=l=>{let o=qt.CIRCUMFERENCE-oc(l)-2*qt.GAP_SIZE;return l===0?qt.CIRCUMFERENCE:o<0?0:o},fp=l=>l===0?0:qt.GAP_SIZE*.5,vp=(l,o)=>{let e=o+qt.GAP_SIZE*1.5;return l===0?0:e};var pn=class extends Ns{connectedCallback(){super.connectedCallback(),this.id="",this.disabled=void 0,this.helpTextType=void 0,this.helpText=void 0,this.requiredLabel=void 0,this.variant=void 0,this.label=void 0}renderProgressSpinner(){var h;let o=oc(this.clampedValue),e=up(this.clampedValue),s=fp(this.clampedValue),n=vp(this.clampedValue,o);return F`
|
3273
3273
|
<div
|
3274
3274
|
part="spinner-container ${this.variant}"
|
3275
3275
|
role="progressbar"
|
@@ -3303,18 +3303,18 @@
|
|
3303
3303
|
<mdc-icon
|
3304
3304
|
part="error-icon"
|
3305
3305
|
aria-label="${(o=this.dataAriaLabel)!=null?o:""}"
|
3306
|
-
name="${
|
3306
|
+
name="${ic.ERROR_LEGACY_FILLED}"
|
3307
3307
|
size="${qt.ERROR_ICON_SIZE}"
|
3308
3308
|
length-unit="${qt.ICON_LENGTH_UNIT}"></mdc-icon>
|
3309
3309
|
`}renderSuccessState(){var o;return F`
|
3310
3310
|
<mdc-icon
|
3311
3311
|
part="success-icon"
|
3312
3312
|
aria-label="${(o=this.dataAriaLabel)!=null?o:""}"
|
3313
|
-
name="${
|
3313
|
+
name="${ic.CHECK_CIRCLE_BOLD}"
|
3314
3314
|
size="${qt.SUCCESS_ICON_SIZE}"
|
3315
3315
|
length-unit="${qt.ICON_LENGTH_UNIT}"></mdc-icon>
|
3316
3316
|
`}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():F`
|
3317
|
-
${this.renderProgressSpinner()}`}};
|
3317
|
+
${this.renderProgressSpinner()}`}};pn.styles=[...J.styles,...mp];var sc=pn;sc.register(pp);var Mg=sc;var Ng=[xt,W`
|
3318
3318
|
:host{
|
3319
3319
|
display: flex;
|
3320
3320
|
flex-direction: row;
|
@@ -3401,7 +3401,7 @@
|
|
3401
3401
|
display: none;
|
3402
3402
|
}
|
3403
3403
|
|
3404
|
-
`,..._t(!0)],
|
3404
|
+
`,..._t(!0)],gp=Ng;var Vi=class extends Se(Ht(pe)){constructor(){super(...arguments);this.checked=!1;this.readonly=!1;this.autofocus=!1;this.renderLabelAndHelperText=()=>this.label?F`<div class="mdc-radio__label-container">
|
3405
3405
|
${this.renderLabel()}
|
3406
3406
|
${this.renderHelperText()}
|
3407
3407
|
</div>`:Z}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(){this.updateTabIndex()}getAllRadiosWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-radio[name="${this.name}"]`))}dispatchChangeEvent(e){let s=e.constructor;this.dispatchEvent(new s(e.type,e))}formResetCallback(){this.getAllRadiosWithinSameGroup().forEach(s=>{s.checked=!1}),this.updateComplete.then(()=>{this.setActualFormValue()}).catch(s=>{this.onerror&&this.onerror(s)})}formStateRestoreCallback(e){this.value===e&&e!==""&&(this.checked=!0)}setComponentValidity(e){e?this.internals.setValidity({}):this.requiredLabel&&!this.checked&&(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()),this.updateTabIndex()}setGroupValidity(e,s){this.updateComplete.then(()=>{e.forEach(n=>{n.setComponentValidity(s)})}).catch(n=>{this.onerror&&this.onerror(n)})}setActualFormValue(){let e="";this.checked?e=this.value?this.value:"on":e=null;let s=this.getAllRadiosWithinSameGroup();if(this.checked)this.setGroupValidity(s,!0);else{let n=s.some(S=>S.requiredLabel),h=!!s.find(S=>S.checked),f=n&&!h;this.setGroupValidity(s,!f)}this.internals.setFormValue(e)}handleChange(e){var h;if(this.disabled||this.readonly)return;this.getAllRadiosWithinSameGroup().forEach(f=>{var M;let S=(M=f.shadowRoot)==null?void 0:M.querySelector("input");S&&(f.checked=!1,S.checked=!1)}),this.checked=!0;let n=(h=this.shadowRoot)==null?void 0:h.querySelector("input");n&&(n.checked=!0),this.dispatchChangeEvent(e)}updateRadio(e,s,n){var h,f;(f=(h=e[s].shadowRoot)==null?void 0:h.querySelector("input"))==null||f.focus(),e[s].handleChange(n)}handleKeyDown(e){var f;if(this.disabled)return;let n=this.getAllRadiosWithinSameGroup().filter(S=>!S.disabled),h=n.indexOf(this);if(["ArrowDown","ArrowRight"].includes(e.key)){let S=(h+1)%n.length;this.updateRadio(n,S,e)}else if(["ArrowUp","ArrowLeft"].includes(e.key)){let S=(h-1+n.length)%n.length;this.updateRadio(n,S,e)}else e.key===" "&&this.updateRadio(n,h,e);this.updateTabIndex(),e.key==="Enter"&&((f=this.form)==null||f.requestSubmit())}updateTabIndex(){let e=this.getAllRadiosWithinSameGroup(),s=e.find(h=>h.checked),n=e.find(h=>!h.disabled);e.forEach(h=>{var S;let f=(S=h.shadowRoot)==null?void 0:S.querySelector("input");f&&(f.tabIndex=-1,(h===s||!s&&h===n)&&(f.tabIndex=0))})}update(e){super.update(e),e.has("checked")&&this.setActualFormValue()}render(){var e;return F`
|
@@ -3426,17 +3426,17 @@
|
|
3426
3426
|
?disabled=${this.disabled}
|
3427
3427
|
class="mdc-radio__input"
|
3428
3428
|
aria-checked="${this.checked}"
|
3429
|
-
aria-describedby="${mt(this.helpText?
|
3429
|
+
aria-describedby="${mt(this.helpText?Vt.HELPER_TEXT_ID:"")}"
|
3430
3430
|
aria-label="${(e=this.dataAriaLabel)!=null?e:""}"
|
3431
3431
|
/>
|
3432
3432
|
</mdc-staticradio>
|
3433
3433
|
${this.renderLabelAndHelperText()}
|
3434
|
-
`}}
|
3434
|
+
`}};Vi.styles=[...pe.styles,...gp],y([A({type:Boolean,reflect:!0})],Vi.prototype,"checked",2),y([A({type:Boolean,reflect:!0})],Vi.prototype,"readonly",2),y([A({type:Boolean,reflect:!0})],Vi.prototype,"autofocus",2);var ac=Vi;var un=j.constructTagName("radio");ac.register(un);var Rg=ac;var Rs=class extends on{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var e,s,n,h,f;(f=(h=(n=(s=Array.from(((e=this.shadowRoot)==null?void 0:e.querySelectorAll("slot"))||[]))==null?void 0:s.flatMap(S=>S.assignedElements({flatten:!0})))==null?void 0:n.filter(S=>S.tagName.toLowerCase()===un||S.tagName.toLowerCase()===Ha))==null?void 0:h.filter(S=>!S.hasAttribute("name")))==null||f.forEach(S=>{S.setAttribute("name",this.name),this.requiredLabel&&S.setAttribute("required-label",this.requiredLabel)})}};Rs.styles=[...on.styles],y([A({type:String})],Rs.prototype,"name",2);var nc=Rs;var bp=j.constructTagName("radiogroup");nc.register(bp);var Og=nc;var yp=j.constructTagName("screenreaderannouncer"),Pg={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},Lo={ARIA_LIVE:Pg.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4};var Dg=[W`
|
3435
3435
|
:host {
|
3436
3436
|
display: none;
|
3437
3437
|
visibility: hidden;
|
3438
3438
|
}
|
3439
|
-
`],
|
3439
|
+
`],Ep=Dg;var Dr=class extends J{constructor(){super(...arguments);this.announcement="";this.identity="";this.dataAriaLive=Lo.ARIA_LIVE;this.delay=Lo.DELAY;this.timeout=Lo.TIMEOUT;this.timeOutIds=[];this.ariaLiveAnnouncementIds=[]}announce(e,s,n,h){var f;if(e.length>0){let S=`mdc-screenreaderannouncer-announcement-${wr()}`,M=document.createElement("div");M.id=S,M.ariaLive=h,(f=document.getElementById(this.identity))==null||f.appendChild(M);let B=window.setTimeout(()=>{let G=document.createElement("p");G.textContent=e,M.appendChild(G),this.ariaLiveAnnouncementIds.push(S);let q=window.setTimeout(()=>{var ot;(ot=document.getElementById(S))==null||ot.remove()},n);this.timeOutIds.push(q)},s);this.timeOutIds.push(B)}}clearTimeOutsAndAnnouncements(){this.timeOutIds.forEach(e=>{window.clearTimeout(e)}),this.ariaLiveAnnouncementIds.forEach(e=>{var s;(s=document.getElementById(e))==null||s.remove()})}createAnnouncementAriaLiveRegion(){let e=document.getElementById(this.identity);if(!e){e=document.createElement("div"),e.id=this.identity;let s=document.createElement("style");s.textContent=`
|
3440
3440
|
.mdc-screenreaderannouncer__visually-hidden {
|
3441
3441
|
clip: rect(0 0 0 0);
|
3442
3442
|
clip-path: inset(50%);
|
@@ -3446,7 +3446,7 @@
|
|
3446
3446
|
white-space: nowrap;
|
3447
3447
|
width: 1px;
|
3448
3448
|
}
|
3449
|
-
`,e.appendChild(s),e.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(e)}}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=
|
3449
|
+
`,e.appendChild(s),e.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(e)}}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=Lo.IDENTITY),this.createAnnouncementAriaLiveRegion()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements()}updated(e){e.has("identity")&&this.identity.length===0&&(this.identity=Lo.IDENTITY,this.createAnnouncementAriaLiveRegion()),e.has("announcement")&&this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")}};Dr.styles=[...J.styles,...Ep],y([A({type:String,reflect:!0})],Dr.prototype,"announcement",2),y([A({type:String,reflect:!0})],Dr.prototype,"identity",2),y([A({type:String,reflect:!0,attribute:"data-aria-live"})],Dr.prototype,"dataAriaLive",2),y([A({type:Number,reflect:!0})],Dr.prototype,"delay",2),y([A({type:Number,reflect:!0})],Dr.prototype,"timeout",2);var lc=Dr;lc.register(yp);var Fg=lc;var zg=W`
|
3450
3450
|
|
3451
3451
|
:host::part(filters-container){
|
3452
3452
|
display: flex;
|
@@ -3473,9 +3473,9 @@
|
|
3473
3473
|
scrollbar-width: none;
|
3474
3474
|
}
|
3475
3475
|
|
3476
|
-
`,
|
3476
|
+
`,xp=[zg];var Tp=j.constructTagName("searchfield"),Os={TYPE:Gl.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:an};var Bi=class extends ko{constructor(){super(...arguments);this.isInputFocused=!1;this.hasInputChips=!1}handleKeyDown(e){super.handleKeyDown(e),e.key==="Escape"&&this.clearInputText()}connectedCallback(){super.connectedCallback(),this.leadingIcon=Os.ICON,this.trailingButton=Os.CLOSE_BTN,this.helpText=void 0,this.helpTextType=void 0,this.requiredLabel=void 0,this.validationMessage=void 0,this.prefixText=void 0}renderInputChips(){var e;this.hasInputChips=!!((e=this.inputChips)!=null&&e.length),this.inputChips&&this.inputChips.forEach(s=>{s.matches(Os.INPUT_CHIP_TAG)||s.remove()})}firstUpdated(){this.inputElement.onfocus=()=>{this.isInputFocused=!0},this.inputElement.onblur=()=>{this.isInputFocused=!1}}clearInputText(){var e;super.clearInputText(),(e=this.inputChips)==null||e.forEach(s=>{s.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return F`
|
3477
3477
|
${this.renderLabelElement()}
|
3478
|
-
<div class="${
|
3478
|
+
<div class="${po({"input-container":!0,"mdc-focus-ring":this.isInputFocused})}" part="input-container">
|
3479
3479
|
${this.renderLeadingIcon()}
|
3480
3480
|
<div part='scrollable-container' tabindex='-1'>
|
3481
3481
|
<div part="filters-container"
|
@@ -3483,11 +3483,11 @@
|
|
3483
3483
|
@keydown=${e=>e.key==="Enter"?this.inputElement.focus():null}
|
3484
3484
|
@keyup=${e=>e.key===" "?this.inputElement.focus():null}>
|
3485
3485
|
<slot name="filters" @slotchange=${this.renderInputChips}></slot></div>
|
3486
|
-
${this.renderInputElement(
|
3486
|
+
${this.renderInputElement(Os.TYPE,this.hasInputChips)}
|
3487
3487
|
</div>
|
3488
3488
|
${this.renderTrailingButton(this.hasInputChips)}
|
3489
3489
|
</div>
|
3490
|
-
`}};
|
3490
|
+
`}};Bi.styles=[...ko.styles,...xp],y([zt({slot:"filters"})],Bi.prototype,"inputChips",2),y([At()],Bi.prototype,"isInputFocused",2),y([At()],Bi.prototype,"hasInputChips",2);var cc=Bi;cc.register(Tp);var $g=cc;var Ap=j.constructTagName("select"),fn={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"};var Vg=W`
|
3491
3491
|
:host {
|
3492
3492
|
--mdc-select-background-color: var(--mds-color-theme-background-primary-ghost);
|
3493
3493
|
--mdc-select-icon-border-color: var(--mds-color-theme-outline-input-normal);
|
@@ -3593,7 +3593,7 @@
|
|
3593
3593
|
:host([help-text-type="warning"])::part(base-container) {
|
3594
3594
|
border-color: var(--mdc-select-warning-border-color);
|
3595
3595
|
}
|
3596
|
-
`,
|
3596
|
+
`,_p=[Vg,..._t(!0)];var ce=class extends Se(Ht(pe)){constructor(){super(...arguments);this.readonly=!1;this.height="auto";this.baseIconName=fn.ARROW_DOWN;this.selectedValue="";this.displayPopover=!1;this.activeDescendant="";this.popoverWidth="100%"}connectedCallback(){super.connectedCallback(),this.value=void 0,this.addEventListener("keydown",this.handleKeydown)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeydown)}getAllValidOptions(){var e;return((e=this.optionsList)==null?void 0:e.map(s=>s.tagName.toLowerCase()===Ms?s:s.tagName.toLowerCase()===hn?Array.from(s.children).filter(n=>n.tagName.toLowerCase()===Ms):[]).flat())||[]}handlePopoverOpen(){this.displayPopover=!0,this.baseIconName=fn.ARROW_UP}handlePopoverClose(){this.displayPopover=!1,this.baseIconName=fn.ARROW_DOWN}updateTabIndexForAllOptions(e){var n;let s=!1;this.getAllValidOptions().forEach(h=>{h===e?(this.setSelectedValue(h),s=!0,h.setAttribute("selected",""),h.setAttribute("tabindex","0")):(h==null||h.setAttribute("tabindex","-1"),h==null||h.removeAttribute("selected"))}),!s&&((n=this.getAllValidOptions()[0])==null||n.setAttribute("tabindex","0"))}handleOptionsClick(e){this.updateTabIndexForAllOptions(e.target)}setSelectedValue(e){var s,n,h,f;this.selectedValueText=(n=(s=e==null?void 0:e.getAttribute("label"))!=null?s:e==null?void 0:e.textContent)!=null?n:"",this.selectedIcon=e==null?void 0:e.getAttribute("prefix-icon"),this.selectedValue=(f=(h=e==null?void 0:e.getAttribute("value"))!=null?h:e==null?void 0:e.textContent)!=null?f:"",this.internals.setFormValue(this.selectedValue),this.manageRequired(),this.dispatchChange(this.selectedValue)}manageRequired(){!this.selectedValue&&this.requiredLabel?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.selectedValue="",this.selectedValueText=void 0,this.selectedIcon=null,this.internals.setFormValue(this.selectedValue),this.updateTabIndexForAllOptions()}formStateRestoreCallback(e){this.selectedValue=e,this.selectedValueText=e}dispatchChange(e){e&&this.dispatchEvent(new CustomEvent("change",{detail:{value:e},composed:!0,bubbles:!0}))}handleKeydown(e){this.displayPopover?this.handlePopoverOnOpen(e):this.handlePopoverOnClose(e)}handlePopoverOnOpen(e){var s;switch(e.key){case Lt.SPACE:this.updateTabIndexForAllOptions(e.target),this.closePopover(),e.preventDefault();break;case Lt.ENTER:this.updateTabIndexForAllOptions(e.target),this.closePopover(),e.preventDefault(),(s=this.form)==null||s.requestSubmit();break;case Lt.ESCAPE:this.closePopover(),e.stopPropagation();break;case Lt.HOME:this.setFocusAndTabIndex(0),e.preventDefault();break;case Lt.END:this.setFocusAndTabIndex(this.getAllValidOptions().length-1),e.preventDefault();break;case Lt.ARROW_DOWN:case Lt.ARROW_UP:case Lt.PAGE_DOWN:case Lt.PAGE_UP:this.handleOptionsNavigation(e),this.updateActivedescendant(e.target);break;default:break}}handlePopoverOnClose(e){switch(e.key){case Lt.ARROW_DOWN:case Lt.ARROW_UP:case Lt.ENTER:case Lt.SPACE:this.openPopover(),e.preventDefault();break;case Lt.HOME:this.openPopover(),this.setFocusAndTabIndex(0),e.preventDefault();break;case Lt.END:this.openPopover(),this.setFocusAndTabIndex(this.getAllValidOptions().length-1),e.preventDefault();break;default:break}}handleOptionsNavigation(e){let s=this.getAllValidOptions(),n=s.findIndex(f=>f===e.target),h=this.getNewIndexBasedOnKey(e.key,n,s.length);h!==-1&&(this.setFocusAndTabIndex(h),e.preventDefault())}getNewIndexBasedOnKey(e,s,n){return e===Lt.ARROW_DOWN&&s!==n-1?s+1:e===Lt.ARROW_UP&&s>0?s-1:e===Lt.PAGE_DOWN?s+10>n?n-1:s+10:e===Lt.PAGE_UP?s-10<0?0:s-10:-1}updateActivedescendant(e){var n,h;let s=this.getAllValidOptions().findIndex(f=>f===e);this.activeDescendant=(h=(n=this.getAllValidOptions()[s])==null?void 0:n.id)!=null?h:""}resetActivedescendant(){this.activeDescendant=""}setFocusAndTabIndex(e){var s;(s=this.getAllValidOptions()[e])==null||s.focus(),this.getAllValidOptions().forEach((n,h)=>{let f=e===h?"0":"-1";n==null||n.setAttribute("tabindex",f)})}openPopover(){this.displayPopover=!0,this.resetActivedescendant()}closePopover(){this.displayPopover=!1,this.resetActivedescendant()}firstUpdated(){let e=this.getAllValidOptions(),s=e.findIndex(n=>n==null?void 0:n.hasAttribute("selected"));s!==-1?(this.setSelectedValue(e[s]),this.updateTabIndexForAllOptions(e[s])):this.placeholder?this.placeholder&&this.manageRequired():(this.setSelectedValue(e[0]),this.updateTabIndexForAllOptions())}getNativeSelect(){return F`
|
3597
3597
|
<select
|
3598
3598
|
part="native-select"
|
3599
3599
|
id="${this.id}"
|
@@ -3647,14 +3647,14 @@
|
|
3647
3647
|
aria-activedescendant="${this.activeDescendant}"
|
3648
3648
|
aria-haspopup="listbox"
|
3649
3649
|
aria-label="${(e=this.dataAriaLabel)!=null?e:""}"
|
3650
|
-
aria-labelledby="${this.label?
|
3650
|
+
aria-labelledby="${this.label?Vt.HEADING_ID:""}"
|
3651
3651
|
aria-expanded="${this.displayPopover?"true":"false"}"
|
3652
3652
|
>
|
3653
3653
|
${this.selectedIcon?F`<mdc-icon length-unit="rem" size="1" name="${this.selectedIcon}" part="selected-icon"></mdc-icon>`:Z}
|
3654
3654
|
<mdc-text
|
3655
3655
|
part="base-text ${this.selectedValueText?"selected":""}"
|
3656
3656
|
type="${lt.BODY_MIDSIZE_REGULAR}"
|
3657
|
-
tagname="${
|
3657
|
+
tagname="${Et.SPAN}"
|
3658
3658
|
>
|
3659
3659
|
${(s=this.selectedValueText)!=null?s:this.placeholder}
|
3660
3660
|
</mdc-text>
|
@@ -3666,7 +3666,7 @@
|
|
3666
3666
|
${this.getPopoverContent()}
|
3667
3667
|
</div>
|
3668
3668
|
${this.renderHelperText()}
|
3669
|
-
`}};ce.styles=[...pe.styles,...
|
3669
|
+
`}};ce.styles=[...pe.styles,..._p],y([A({type:String})],ce.prototype,"placeholder",2),y([A({type:Boolean})],ce.prototype,"readonly",2),y([A({type:String})],ce.prototype,"height",2),y([zt()],ce.prototype,"optionsList",2),y([At()],ce.prototype,"baseIconName",2),y([At()],ce.prototype,"selectedValueText",2),y([At()],ce.prototype,"selectedIcon",2),y([At()],ce.prototype,"selectedValue",2),y([At()],ce.prototype,"displayPopover",2),y([At()],ce.prototype,"activeDescendant",2),y([At()],ce.prototype,"popoverWidth",2),y([Ar("select")],ce.prototype,"inputElement",2);var dc=ce;dc.register(Ap);var Bg=dc;var Ug=[xt,W`
|
3670
3670
|
:host {
|
3671
3671
|
--mdc-spinner-default-color: var(--mds-color-theme-control-active-normal);
|
3672
3672
|
--mdc-spinner-inverted-color: var(--mds-color-theme-inverted-control-active-normal);
|
@@ -3728,11 +3728,11 @@
|
|
3728
3728
|
stroke-dashoffset: -292;
|
3729
3729
|
}
|
3730
3730
|
}
|
3731
|
-
`],
|
3731
|
+
`],Sp=Ug;var kp=j.constructTagName("spinner"),Hg={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},Gg={STANDALONE:"standalone",BUTTON:"button"},vn={VARIANT:Gg.STANDALONE,SIZE:Hg.MIDSIZE,INVERTED:!1};var oi=class extends J{constructor(){super(...arguments);this.inverted=vn.INVERTED;this.size=vn.SIZE;this.ariaLabel=null;this.variant=vn.VARIANT}updated(e){super.updated(e),e.has("ariaLabel")&&(this.role=this.ariaLabel?"img":null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return F`
|
3732
3732
|
<svg part="container" viewBox="0 0 100 100">
|
3733
3733
|
<circle part="circle" cx="50" cy="50" r="46"></circle>
|
3734
3734
|
</svg>
|
3735
|
-
`}};
|
3735
|
+
`}};oi.styles=[...J.styles,...Sp],y([A({type:Boolean,reflect:!0})],oi.prototype,"inverted",2),y([A({type:String,reflect:!0})],oi.prototype,"size",2),y([A({type:String,attribute:"aria-label"})],oi.prototype,"ariaLabel",2),y([A({type:String,reflect:!0})],oi.prototype,"variant",2);var hc=oi;hc.register(kp);var jg=hc;var Cp=j.constructTagName("statictoggle"),Wg={DEFAULT:"default",COMPACT:"compact"},mc={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},wp={compact:.75,default:1.25},Ip={SIZE:Wg.DEFAULT};var qg=[W`
|
3736
3736
|
:host {
|
3737
3737
|
--mdc-statictoggle-width: 3rem;
|
3738
3738
|
--mdc-statictoggle-height: 1.5rem;
|
@@ -3811,17 +3811,17 @@
|
|
3811
3811
|
border: var(--mdc-statictoggle-border);
|
3812
3812
|
}
|
3813
3813
|
}
|
3814
|
-
`],
|
3814
|
+
`],Lp=qg;var Mo=class extends Dt(J){constructor(){super(...arguments);this.checked=!1;this.size=Ip.SIZE}render(){return F`
|
3815
3815
|
<slot></slot>
|
3816
3816
|
<div part="slider">
|
3817
3817
|
<mdc-icon
|
3818
|
-
name="${this.checked?
|
3818
|
+
name="${this.checked?mc.CHECKED:mc.UNCHECKED}"
|
3819
3819
|
class="icon"
|
3820
3820
|
length-unit="rem"
|
3821
|
-
size="${
|
3821
|
+
size="${wp[this.size]}"
|
3822
3822
|
></mdc-icon>
|
3823
3823
|
</div>
|
3824
|
-
`}};
|
3824
|
+
`}};Mo.styles=[...J.styles,...Lp],y([A({type:Boolean,reflect:!0})],Mo.prototype,"checked",2),y([A({type:String,reflect:!0})],Mo.prototype,"size",2);var pc=Mo;pc.register(Cp);var Yg=pc;var Kg=[xt,W`
|
3825
3825
|
|
3826
3826
|
:host {
|
3827
3827
|
--mdc-tab-content-gap: 0.5rem;
|
@@ -4065,12 +4065,12 @@
|
|
4065
4065
|
color: var(--mdc-tab-pill-active-color-disabled);
|
4066
4066
|
}
|
4067
4067
|
|
4068
|
-
`,..._t()],
|
4068
|
+
`,..._t()],Mp=Kg;var Np=j.constructTagName("tab"),uc={GLASS:"glass",LINE:"line",PILL:"pill"},gn={VARIANT:uc.PILL,ACTIVE:!1};var si=class extends Ae(Te){constructor(){super(...arguments);this.active=gn.ACTIVE;this.variant=gn.VARIANT;this.handleTabActiveChange=e=>{let s=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:e},bubbles:!0});this.dispatchEvent(s)}}connectedCallback(){super.connectedCallback(),this.role="tab",this.softDisabled=void 0,this.size=void 0,this.type=void 0,this.ariaStateKey="aria-selected",!this.tabId&&this.onerror&&this.onerror("tab id is required")}modifyIconName(e){this.iconName&&(e?(this.prevIconName=this.iconName,this.iconName=`${gs(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(e){this.setAttribute("variant",Object.values(uc).includes(e)?e:gn.VARIANT)}setActive(e,s){super.setActive(e,s),this.modifyIconName(s)}executeAction(){this.handleTabActiveChange(this.active)}update(e){super.update(e),e.has("variant")&&this.setVariant(this.variant)}render(){return F`
|
4069
4069
|
<div part="container">
|
4070
4070
|
${this.iconName?F` <mdc-icon name="${this.iconName}" size="1" length-unit="rem" part="icon"></mdc-icon>`:Z}
|
4071
4071
|
${this.text?F` <mdc-text
|
4072
4072
|
type=${this.active?lt.BODY_MIDSIZE_BOLD:lt.BODY_MIDSIZE_MEDIUM}
|
4073
|
-
tagname=${
|
4073
|
+
tagname=${Et.SPAN}
|
4074
4074
|
data-text=${this.text}
|
4075
4075
|
part="text"
|
4076
4076
|
>${this.text}</mdc-text
|
@@ -4079,7 +4079,7 @@
|
|
4079
4079
|
<slot name="chip"></slot>
|
4080
4080
|
</div>
|
4081
4081
|
<div part="indicator"></div>
|
4082
|
-
`}};
|
4082
|
+
`}};si.styles=[...Te.styles,...Mp],y([A({type:Boolean,reflect:!0})],si.prototype,"active",2),y([A({type:String,reflect:!0})],si.prototype,"text",2),y([A({type:String,reflect:!0})],si.prototype,"variant",2),y([A({type:String,reflect:!0,attribute:"tab-id"})],si.prototype,"tabId",2);var Ue=si;Ue.register(Np);var Xg=Ue;var Zg=[xa,W`
|
4083
4083
|
:host {
|
4084
4084
|
--mdc-tablist-focus-ring-outer-width: var(--mdc-focus-ring-outer-width);
|
4085
4085
|
--mdc-tablist-gap: 0.5rem;
|
@@ -4109,10 +4109,10 @@
|
|
4109
4109
|
:host mdc-button[prefix-icon="arrow-right-regular"] {
|
4110
4110
|
margin-left: var(--mdc-tablist-arrow-button-margin);
|
4111
4111
|
}
|
4112
|
-
`],
|
4112
|
+
`],Rp=[...Zg];var Op=j.constructTagName("tablist"),Ps={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},No={FORWARD:"forward",BACKWARD:"backward"};var bn=l=>l[0],fc=l=>l[l.length-1],Pp=(l,o)=>{let e=l.findIndex(s=>o===s)-1;return l[(e+l.length)%l.length]},Dp=(l,o)=>{let e=l.findIndex(s=>o===s)+1;return l[e%l.length]},Fp=(l,o)=>l.find(e=>e.tabId===o),vc=l=>l.find(o=>o.active);var rr=class extends J{constructor(){super();this.showForwardArrowButton=!1;this.showBackwardArrowButton=!1;this.isRtl=()=>{var e;return((e=document.querySelector("html"))==null?void 0:e.getAttribute("dir"))==="rtl"||window.getComputedStyle(this).direction==="rtl"};this.fireTabChangeEvent=e=>{let s=new CustomEvent("change",{detail:{tabId:e.tabId}});this.dispatchEvent(s)};this.handleFocus=async e=>{if(e.relatedTarget instanceof Ue||!(e.target instanceof Ue))return;let s=vc(this.tabs||[]);s instanceof Ue&&await this.focusTab(s)};this.handleMousedown=e=>{e.target instanceof Ue&&e.preventDefault()};this.handleNestedTabActiveChange=async e=>{e.stopPropagation();let s=e.target;s instanceof Ue&&(this.setActiveTab(s),await this.focusTab(s),this.activeTabId=s.tabId)};this.resetTabIndexAndSetNewTabIndex=e=>{var s;(s=this.tabs)==null||s.forEach(n=>{n.setAttribute("tabindex",n===e?"0":"-1")})};this.setActiveTab=e=>{var s;(s=this.tabs)==null||s.forEach(n=>{n===e?n.setAttribute("active",""):n.removeAttribute("active")})};this.focusTab=async e=>{e instanceof Ue&&(e!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(e),e.focus()),await this.handleArrowButtonVisibility())};this.handleKeydown=async e=>{let s=e.target;if(!(s instanceof Ue)||!this.tabs)return;let n=Pp(this.tabs,s),h=Dp(this.tabs,s),f=bn(this.tabs),S=fc(this.tabs);switch(e.code){case Ps.LEFT:e.preventDefault(),await this.focusTab(this.isRtl()?h:n);break;case Ps.RIGHT:e.preventDefault(),await this.focusTab(this.isRtl()?n:h);break;case Ps.HOME:await this.focusTab(f);break;case Ps.END:await this.focusTab(S);break;default:}};this.shouldShowArrowButton=e=>e===No.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton;this.switchFocus=async()=>{var e,s;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(e=vc(this.tabs||[]))==null||e.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((s=this.notFocusedArrowButton)==null||s.focus())};this.handleArrowButtonVisibility=async()=>{var q,ot,Q;if(!this.tabs||!this.tabsContainer)return;let e=!1;((q=this.shadowRoot)==null?void 0:q.activeElement)instanceof xi&&(e=!0);let s=bn(this.tabs),n=fc(this.tabs),h=s.getBoundingClientRect().left,f=(ot=this.tabsContainer)==null?void 0:ot.getBoundingClientRect().left,S=n.getBoundingClientRect().right,M=(Q=this.tabsContainer)==null?void 0:Q.getBoundingClientRect().right,B=s.getBoundingClientRect().right,G=n.getBoundingClientRect().left;if(!this.isRtl()){h<=f?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,S>M?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,e&&await this.switchFocus();return}B>M?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,G<f?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,e&&await this.switchFocus()};this.scrollTabs=async e=>{var h;let s=this.isRtl()?-1:1,n=this.isRtl()?1:-1;(h=this.tabsContainer)==null||h.scrollBy({left:this.tabsContainer.clientWidth*(e===No.FORWARD?s:n),behavior:"instant"}),await this.handleArrowButtonVisibility()};this.addEventListener("keydown",this.handleKeydown),this.addEventListener("activechange",this.handleNestedTabActiveChange)}async firstUpdated(){var n,h,f;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 e=this.tabs.map(S=>S.tabId);new Set(e).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=(n=bn(this.tabs))==null?void 0:n.tabId),(h=this.tabsContainer)==null||h.addEventListener("focusin",this.handleFocus),(f=this.tabsContainer)==null||f.addEventListener("mousedown",this.handleMousedown)}async update(e){if(super.update(e),e.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let s=Fp(this.tabs,this.activeTabId);if(!(s instanceof Ue))return;this.setActiveTab(s),e.get("activeTabId")?(this.fireTabChangeEvent(s),await this.focusTab(s)):this.resetTabIndexAndSetNewTabIndex(s)}}render(){let e=this.isRtl()?"left":"right",s=this.isRtl()?"right":"left",n=h=>F` ${this.shouldShowArrowButton(h)?F`<mdc-button
|
4113
4113
|
variant="tertiary"
|
4114
|
-
prefix-icon="arrow-${h===
|
4115
|
-
aria-label="Scroll tabs ${h===
|
4114
|
+
prefix-icon="arrow-${h===No.FORWARD?e:s}-regular"
|
4115
|
+
aria-label="Scroll tabs ${h===No.FORWARD?e:s}"
|
4116
4116
|
@click="${()=>this.scrollTabs(h)}"
|
4117
4117
|
></mdc-button>`:Z}`;return F` ${n("backward")}
|
4118
4118
|
<div
|
@@ -4122,7 +4122,7 @@
|
|
4122
4122
|
aria-label="${mt(this.dataAriaLabel)}">
|
4123
4123
|
<slot></slot>
|
4124
4124
|
</div>
|
4125
|
-
${n(
|
4125
|
+
${n(No.FORWARD)}`}};rr.styles=[...J.styles,...Rp],y([A({type:String,attribute:"active-tab-id",reflect:!0})],rr.prototype,"activeTabId",2),y([A({type:String,attribute:"data-aria-label"})],rr.prototype,"dataAriaLabel",2),y([Ar(".container")],rr.prototype,"tabsContainer",2),y([Ar("mdc-button:not(:focus-visible)")],rr.prototype,"notFocusedArrowButton",2),y([zt({selector:"mdc-tab"})],rr.prototype,"tabs",2),y([At()],rr.prototype,"showForwardArrowButton",2),y([At()],rr.prototype,"showBackwardArrowButton",2);var gc=rr;gc.register(Op);var Jg=gc;var Qg=[W`
|
4126
4126
|
:host {
|
4127
4127
|
--mdc-textarea-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
|
4128
4128
|
--mdc-textarea-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
|
@@ -4243,11 +4243,11 @@
|
|
4243
4243
|
pointer-events: none;
|
4244
4244
|
}
|
4245
4245
|
|
4246
|
-
`,..._t(!0)],
|
4246
|
+
`,..._t(!0)],zp=Qg;var $p=j.constructTagName("textarea"),bc={HARD:"hard",SOFT:"soft"},Vp={OFF:"off",ON:"on"},yn={CHARACTER_COUNTER_TYPE:lt.BODY_MIDSIZE_REGULAR,ROWS:5,COLS:40,WRAP:bc.SOFT};var oe=class extends Se(Ht(Be)){constructor(){super(...arguments);this.readonly=!1;this.rows=yn.ROWS;this.cols=yn.COLS;this.wrap=bc.SOFT;this.autocapitalize=sn.OFF;this.autocomplete=Vp.OFF;this.autofocus=!1;this.characterLimitExceedingFired=!1}get textarea(){return this.inputElement}connectedCallback(){var e;super.connectedCallback(),this.value=((e=this.textContent)==null?void 0:e.trim())||this.value,this.updateComplete.then(()=>{this.textarea&&(this.textarea.checkValidity(),this.setTextareaValidity(),this.internals.setFormValue(this.textarea.value))}).catch(s=>{this.onerror&&this.onerror(s)})}setTextareaValidity(){this.requiredLabel&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===Zt.ERROR&&this.helpText?this.textarea.setCustomValidity(this.helpText):this.textarea.setCustomValidity(""),this.setValidity()}formResetCallback(){this.value="",this.requestUpdate()}formStateRestoreCallback(e){this.value=e}handleValueChange(){this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(e=>{this.onerror&&this.onerror(e)})}updated(e){super.updated(e),e.has("value")&&(this.handleValueChange(),this.handleCharacterOverflowStateChange())}attributeChangedCallback(e,s,n){super.attributeChangedCallback(e,s,n),["maxlength","minlength","required"].includes(e)&&this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(f=>{this.onerror&&this.onerror(f)})}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(e){this.updateValue();let s=e.constructor;this.dispatchEvent(new s(e.type,e))}renderCharacterCounter(){return this.maxCharacterLimit?F`
|
4247
4247
|
<mdc-text
|
4248
4248
|
part="character-counter"
|
4249
4249
|
tagname="span"
|
4250
|
-
type=${
|
4250
|
+
type=${yn.CHARACTER_COUNTER_TYPE}
|
4251
4251
|
>
|
4252
4252
|
${this.value.length<10?`0${this.value.length}`:this.value.length}/${this.maxCharacterLimit}
|
4253
4253
|
</mdc-text>
|
@@ -4280,12 +4280,12 @@
|
|
4280
4280
|
dirname=${mt(this.dirname)}
|
4281
4281
|
@input=${this.updateValue}
|
4282
4282
|
@change=${this.onChange}
|
4283
|
-
aria-describedby="${mt(this.helpText?
|
4283
|
+
aria-describedby="${mt(this.helpText?Vt.HELPER_TEXT_ID:"")}"
|
4284
4284
|
aria-invalid="${this.helpTextType==="error"?"true":"false"}"
|
4285
4285
|
></textarea>
|
4286
4286
|
</div>
|
4287
4287
|
${this.renderTextareaFooter()}
|
4288
|
-
`}};oe.styles=[...
|
4288
|
+
`}};oe.styles=[...Be.styles,...zp],y([A({type:String})],oe.prototype,"placeholder",2),y([A({type:Boolean})],oe.prototype,"readonly",2),y([A({type:Number})],oe.prototype,"rows",2),y([A({type:Number})],oe.prototype,"cols",2),y([A({type:String})],oe.prototype,"wrap",2),y([A({type:String})],oe.prototype,"autocapitalize",2),y([A({type:String})],oe.prototype,"autocomplete",2),y([A({type:Boolean})],oe.prototype,"autofocus",2),y([A({type:String})],oe.prototype,"dirname",2),y([A({type:Number})],oe.prototype,"maxlength",2),y([A({type:Number})],oe.prototype,"minlength",2),y([A({type:Number,attribute:"max-character-limit"})],oe.prototype,"maxCharacterLimit",2),y([Ar("textarea")],oe.prototype,"inputElement",2);var yc=oe;yc.register($p);var tb=yc;var En=j.constructTagName("themeprovider"),Ec={THEMECLASS:"mds-theme-stable-darkWebex"};var xn=class{constructor(o){this.themeclass=o}};xn.context=En;var Tn=xn;var eb=W`
|
4289
4289
|
:host {
|
4290
4290
|
--mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
|
4291
4291
|
--mdc-themeprovider-font-family: var(--mds-font-family-primary);
|
@@ -4314,7 +4314,7 @@
|
|
4314
4314
|
* {
|
4315
4315
|
scrollbar-color: var(--mdc-themeprovider-scrollbar-thumb-color) var(--mdc-themeprovider-scrollbar-track-color);
|
4316
4316
|
}
|
4317
|
-
`,
|
4317
|
+
`,Bp=[eb];var Ro=class extends io{constructor(){super({context:Tn.context,initialValue:new Tn(Ec.THEMECLASS)});this.themeclass=Ec.THEMECLASS}static get Context(){return Tn.context}updated(e){super.updated(e),e.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(" "))}};Ro.styles=[...io.styles,...Bp],y([At()],Ro.prototype,"currentThemeClass",2),y([A({type:String})],Ro.prototype,"themeclass",2);var xc=Ro;xc.register(En);var rb=xc;var Up=j.constructTagName("toggle"),Ds={DEFAULT:"default",COMPACT:"compact"};var Tc={SIZE:Ds.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var ib=[xt,W`
|
4318
4318
|
:host {
|
4319
4319
|
--mdc-toggle-width: 3rem;
|
4320
4320
|
--mdc-toggle-height: 1.5rem;
|
@@ -4396,7 +4396,7 @@
|
|
4396
4396
|
:host([disabled]) .mdc-label-text, :host([disabled]) .mdc-help-text {
|
4397
4397
|
color: var(--mdc-toggle-label-color-disabled);
|
4398
4398
|
}
|
4399
|
-
`,..._t(!0)],
|
4399
|
+
`,..._t(!0)],Hp=ib;var Ui=class extends Se(Ht(Be)){constructor(){super(...arguments);this.checked=!1;this.size=Tc.SIZE;this.autofocus=!1}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}formResetCallback(){this.checked=!1}formStateRestoreCallback(e){e&&(this.checked=!0)}manageRequired(){!this.checked&&this.requiredLabel?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}setFormValue(){let e=null;this.checked?e=this.value?this.value:"isActive":e=null,this.manageRequired(),this.internals.setFormValue(e)}toggleState(){this.disabled||(this.checked=!this.checked)}handleKeyDown(e){var s;e.key==="Enter"&&((s=this.form)==null||s.requestSubmit())}handleChange(e){this.toggleState();let s=e.constructor;this.dispatchEvent(new s(e.type,e))}setToggleSize(e){this.setAttribute("size",Object.values(Ds).includes(e)?e:Tc.SIZE)}update(e){super.update(e),e.has("checked")&&this.setFormValue(),e.has("size")&&this.setToggleSize(this.size)}render(){var e;return F`
|
4400
4400
|
<mdc-statictoggle
|
4401
4401
|
?checked="${this.checked}"
|
4402
4402
|
?disabled="${this.disabled}"
|
@@ -4416,7 +4416,7 @@
|
|
4416
4416
|
.checked="${this.checked}"
|
4417
4417
|
aria-checked="${this.checked}"
|
4418
4418
|
.disabled="${this.disabled}"
|
4419
|
-
aria-describedby="${mt(this.helpText?
|
4419
|
+
aria-describedby="${mt(this.helpText?Vt.HELPER_TEXT_ID:"")}"
|
4420
4420
|
aria-label="${(e=this.dataAriaLabel)!=null?e:""}"
|
4421
4421
|
tabindex="${this.disabled?-1:0}"
|
4422
4422
|
@change="${this.handleChange}"
|
@@ -4425,7 +4425,7 @@
|
|
4425
4425
|
</mdc-statictoggle>
|
4426
4426
|
${this.renderLabel()}
|
4427
4427
|
${this.renderHelperText()}
|
4428
|
-
`}};
|
4428
|
+
`}};Ui.styles=[...Be.styles,...Hp],y([A({type:Boolean,reflect:!0})],Ui.prototype,"checked",2),y([A({type:String,reflect:!0})],Ui.prototype,"size",2),y([A({type:Boolean,reflect:!0})],Ui.prototype,"autofocus",2);var Ac=Ui;Ac.register(Up);var ob=Ac;var Gp=j.constructTagName("toggletip"),Hi={CLOSE_BUTTON:!0,CLOSE_BUTTON_ARIA_LABEL:"Close",OFFSET:4,PLACEMENT:fe.TOP,CLICK:Li.CLICK,SHOW_ARROW:!0};var sb=W`
|
4429
4429
|
:host {
|
4430
4430
|
--mdc-toggletip-max-width: 400px;
|
4431
4431
|
--mdc-toggletip-text-color: var(--mds-color-theme-text-primary-normal);
|
@@ -4455,17 +4455,17 @@
|
|
4455
4455
|
:host(:dir(rtl))::part(popover-content) {
|
4456
4456
|
margin-left: 2rem;
|
4457
4457
|
}
|
4458
|
-
`,
|
4458
|
+
`,jp=[sb];var Gi=class extends er{constructor(){super(...arguments);this.currentAnnouncement="";this.screenreaderAnnouncerIdentity=""}connectedCallback(){super.connectedCallback(),this.closeButton=Hi.CLOSE_BUTTON,this.closeButtonAriaLabel=Hi.CLOSE_BUTTON_ARIA_LABEL,this.placement=Hi.PLACEMENT,this.trigger=Hi.CLICK,this.showArrow=Hi.SHOW_ARROW,this.interactive=!0,this.backdrop=!0,this.hideOnBlur=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0}getToggleTipText(){var e,s;return((s=(e=this.defaultSlotNodes)==null?void 0:e.map(n=>n.textContent).join(" "))==null?void 0:s.trim())||""}onPlacementUpdated(){Object.values(fe).includes(this.placement)||(this.placement=Hi.PLACEMENT)}update(e){super.update(e),e.has("placement")&&this.onPlacementUpdated(),e.has("visible")&&(this.currentAnnouncement=this.visible?this.getToggleTipText():"")}render(){return F`
|
4459
4459
|
${super.render()}
|
4460
4460
|
<mdc-screenreaderannouncer
|
4461
4461
|
identity="${this.screenreaderAnnouncerIdentity}"
|
4462
4462
|
announcement="${this.currentAnnouncement}"
|
4463
4463
|
delay="300">
|
4464
4464
|
</mdc-screenreaderannouncer>
|
4465
|
-
`}};
|
4465
|
+
`}};Gi.styles=[...er.styles,...jp],y([Ea()],Gi.prototype,"defaultSlotNodes",2),y([At()],Gi.prototype,"currentAnnouncement",2),y([A({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],Gi.prototype,"screenreaderAnnouncerIdentity",2);var _c=Gi;_c.register(Gp);var ab=_c;function ji(l,o,e){var h;let s=(h=e.initialDeps)!=null?h:[],n;return()=>{var f,S,M,B;let G;e.key&&((f=e.debug)!=null&&f.call(e))&&(G=Date.now());let q=l();if(!(q.length!==s.length||q.some((et,ct)=>s[ct]!==et)))return n;s=q;let Q;if(e.key&&((S=e.debug)!=null&&S.call(e))&&(Q=Date.now()),n=o(...q),e.key&&((M=e.debug)!=null&&M.call(e))){let et=Math.round((Date.now()-G)*100)/100,ct=Math.round((Date.now()-Q)*100)/100,bt=ct/16,gt=(yt,St)=>{for(yt=String(yt);yt.length<St;)yt=" "+yt;return yt};console.info(`%c\u23F1 ${gt(ct,5)} /${gt(et,5)} ms`,`
|
4466
4466
|
font-size: .6rem;
|
4467
4467
|
font-weight: bold;
|
4468
|
-
color: hsl(${Math.max(0,Math.min(120-120*bt,120))}deg 100% 31%);`,e==null?void 0:e.key)}return(B=e==null?void 0:e.onChange)==null||B.call(e,n),n}}function En(l,o){if(l===void 0)throw new Error(`Unexpected undefined${o?`: ${o}`:""}`);return l}var Hp=(l,o)=>Math.abs(l-o)<1,Gp=(l,o,e)=>{let s;return function(...n){l.clearTimeout(s),s=l.setTimeout(()=>o.apply(this,n),e)}};var sb=l=>l,ab=l=>{let o=Math.max(l.startIndex-l.overscan,0),e=Math.min(l.endIndex+l.overscan,l.count-1),s=[];for(let n=o;n<=e;n++)s.push(n);return s},Wp=(l,o)=>{let e=l.scrollElement;if(!e)return;let s=l.targetWindow;if(!s)return;let n=f=>{let{width:S,height:M}=f;o({width:Math.round(S),height:Math.round(M)})};if(n(e.getBoundingClientRect()),!s.ResizeObserver)return()=>{};let h=new s.ResizeObserver(f=>{let S=f[0];if(S!=null&&S.borderBoxSize){let M=S.borderBoxSize[0];if(M){n({width:M.inlineSize,height:M.blockSize});return}}n(e.getBoundingClientRect())});return h.observe(e,{box:"border-box"}),()=>{h.unobserve(e)}},jp={passive:!0};var nb=typeof window>"u"?!0:"onscrollend"in window,qp=(l,o)=>{let e=l.scrollElement;if(!e)return;let s=l.targetWindow;if(!s)return;let n=0,h=l.options.useScrollendEvent&&nb?()=>{}:Gp(s,()=>{o(n,!1)},l.options.isScrollingResetDelay),f=B=>()=>{let{horizontal:G,isRtl:q}=l.options;n=G?e.scrollLeft*(q&&-1||1):e.scrollTop,h(),o(n,B)},S=f(!0),M=f(!1);return M(),e.addEventListener("scroll",S,jp),e.addEventListener("scrollend",M,jp),()=>{e.removeEventListener("scroll",S),e.removeEventListener("scrollend",M)}};var lb=(l,o,e)=>{if(o!=null&&o.borderBoxSize){let s=o.borderBoxSize[0];if(s)return Math.round(s[e.options.horizontal?"inlineSize":"blockSize"])}return Math.round(l.getBoundingClientRect()[e.options.horizontal?"width":"height"])};var Yp=(l,{adjustments:o=0,behavior:e},s)=>{var n,h;let f=l+o;(h=(n=s.scrollElement)==null?void 0:n.scrollTo)==null||h.call(n,{[s.options.horizontal?"left":"top"]:f,behavior:e})},Tn=class{constructor(o){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,s=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(n=>{n.forEach(h=>{this._measureElement(h.target,h)})}));return{disconnect:()=>{var n;(n=s())==null||n.disconnect(),e=null},observe:n=>{var h;return(h=s())==null?void 0:h.observe(n,{box:"border-box"})},unobserve:n=>{var h;return(h=s())==null?void 0:h.unobserve(n)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([s,n])=>{typeof n>"u"&&delete e[s]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:sb,rangeExtractor:ab,onChange:()=>{},measureElement:lb,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...e}},this.notify=e=>{var s,n;(n=(s=this.options).onChange)==null||n.call(s,this,e)},this.maybeNotify=Gi(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{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(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;var e;let s=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==s){if(this.cleanup(),!s){this.maybeNotify();return}this.scrollElement=s,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(n=(e=this.scrollElement)==null?void 0:e.window)!=null?n: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,f)=>{this.scrollAdjustments=0,this.scrollDirection=f?this.getScrollOffset()<h?"forward":"backward":null,this.scrollOffset=h,this.isScrolling=f,this.maybeNotify()}))}},this.getSize=()=>{var e;return this.options.enabled?(this.scrollRect=(e=this.scrollRect)!=null?e:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var e;return this.options.enabled?(this.scrollOffset=(e=this.scrollOffset)!=null?e:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(e,s)=>{let n=new Map,h=new Map;for(let f=s-1;f>=0;f--){let S=e[f];if(n.has(S.lane))continue;let M=h.get(S.lane);if(M==null||S.end>M.end?h.set(S.lane,S):S.end<M.end&&n.set(S.lane,!0),n.size===this.options.lanes)break}return h.size===this.options.lanes?Array.from(h.values()).sort((f,S)=>f.end===S.end?f.index-S.index:f.end-S.end)[0]:void 0},this.getMeasurementOptions=Gi(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,s,n,h,f)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:s,scrollMargin:n,getItemKey:h,enabled:f}),{key:!1}),this.getMeasurements=Gi(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:s,scrollMargin:n,getItemKey:h,enabled:f},S)=>{if(!f)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(G=>{this.itemSizeCache.set(G.key,G.size)}));let M=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let B=this.measurementsCache.slice(0,M);for(let G=M;G<e;G++){let q=h(G),ot=this.options.lanes===1?B[G-1]:this.getFurthestMeasurement(B,G),Q=ot?ot.end+this.options.gap:s+n,et=S.get(q),ct=typeof et=="number"?et:this.options.estimateSize(G),bt=Q+ct,gt=ot?ot.lane:G%this.options.lanes;B[G]={index:G,start:Q,size:ct,end:bt,key:q,lane:gt}}return this.measurementsCache=B,B},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Gi(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,s,n)=>this.range=e.length>0&&s>0?cb({measurements:e,outerSize:s,scrollOffset:n}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=Gi(()=>{let e=null,s=null,n=this.calculateRange();return n&&(e=n.startIndex,s=n.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,s]},(e,s,n,h,f)=>h===null||f===null?[]:e({startIndex:h,endIndex:f,overscan:s,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let s=this.options.indexAttribute,n=e.getAttribute(s);return n?parseInt(n,10):(console.warn(`Missing attribute name '${s}={index}' on measured element.`),-1)},this._measureElement=(e,s)=>{let n=this.indexFromElement(e),h=this.measurementsCache[n];if(!h)return;let f=h.key,S=this.elementsCache.get(f);S!==e&&(S&&this.observer.unobserve(S),this.observer.observe(e),this.elementsCache.set(f,e)),e.isConnected&&this.resizeItem(n,this.options.measureElement(e,s,this))},this.resizeItem=(e,s)=>{var S;let n=this.measurementsCache[e];if(!n)return;let h=(S=this.itemSizeCache.get(n.key))!=null?S:n.size,f=s-h;f!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(n,f,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=f,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,s)),this.notify(!1))},this.measureElement=e=>{if(!e){this.elementsCache.forEach((s,n)=>{s.isConnected||(this.observer.unobserve(s),this.elementsCache.delete(n))});return}this._measureElement(e,void 0)},this.getVirtualItems=Gi(()=>[this.getIndexes(),this.getMeasurements()],(e,s)=>{let n=[];for(let h=0,f=e.length;h<f;h++){let S=e[h],M=s[S];n.push(M)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let s=this.getMeasurements();if(s.length!==0)return En(s[Kp(0,s.length-1,n=>En(s[n]).start,e)])},this.getOffsetForAlignment=(e,s)=>{let n=this.getSize(),h=this.getScrollOffset();s==="auto"&&e>=h+n&&(s="end"),s==="end"&&(e-=n);let f=this.options.horizontal?"scrollWidth":"scrollHeight",M=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[f]:this.scrollElement[f]:0)-n;return Math.max(Math.min(M,e),0)},this.getOffsetForIndex=(e,s="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.measurementsCache[e];if(!n)return;let h=this.getSize(),f=this.getScrollOffset();if(s==="auto")if(n.end>=f+h-this.options.scrollPaddingEnd)s="end";else if(n.start<=f+this.options.scrollPaddingStart)s="start";else return[f,s];let S=n.start-this.options.scrollPaddingStart+(n.size-h)/2;switch(s){case"center":return[this.getOffsetForAlignment(S,s),s];case"end":return[this.getOffsetForAlignment(n.end+this.options.scrollPaddingEnd,s),s];default:return[this.getOffsetForAlignment(n.start-this.options.scrollPaddingStart,s),s]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:s="start",behavior:n}={})=>{this.cancelScrollToIndex(),n==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,s),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:s="auto",behavior:n}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),n==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let h=this.getOffsetForIndex(e,s);if(!h)return;let[f,S]=h;this._scrollToOffset(f,{adjustments:void 0,behavior:n}),n!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[B]=En(this.getOffsetForIndex(e,S));Hp(B,this.getScrollOffset())||this.scrollToIndex(e,{align:S,behavior:n})}else this.scrollToIndex(e,{align:S,behavior:n})}))},this.scrollBy=(e,{behavior:s}={})=>{this.cancelScrollToIndex(),s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:s})},this.getTotalSize=()=>{var h;var e;let s=this.getMeasurements(),n;return s.length===0?n=this.options.paddingStart:n=this.options.lanes===1?(h=(e=s[s.length-1])==null?void 0:e.end)!=null?h:0:Math.max(...s.slice(-this.options.lanes).map(f=>f.end)),Math.max(n-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:s,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:s},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(o)}},Kp=(l,o,e,s)=>{for(;l<=o;){let n=(l+o)/2|0,h=e(n);if(h<s)l=n+1;else if(h>s)o=n-1;else return n}return l>0?l-1:0};function cb({measurements:l,outerSize:o,scrollOffset:e}){let s=l.length-1,h=Kp(0,s,S=>l[S].start,e),f=h;for(;f<s&&l[f].end<e+o;)f++;return{startIndex:h,endIndex:f}}var Tc=class{constructor(o,e){this.cleanup=()=>{},(this.host=o).addController(this);let s={...e,onChange:(n,h)=>{var f;this.host.updateComplete.then(()=>this.host.requestUpdate()),(f=e.onChange)==null||f.call(e,n,h)}};this.virtualizer=new Tn(s)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},An=class extends Tc{constructor(o,e){super(o,{observeElementRect:Wp,observeElementOffset:qp,scrollToFn:Yp,...e})}};var{I:N2}=Hd;var Xp=l=>l.strings===void 0;var Ds=(l,o)=>{var s;let e=l._$AN;if(e===void 0)return!1;for(let n of e)(s=n._$AO)==null||s.call(n,o,!1),Ds(n,o);return!0},_n=l=>{let o,e;do{if((o=l._$AM)===void 0)break;e=o._$AN,e.delete(l),l=o}while((e==null?void 0:e.size)===0)},Zp=l=>{for(let o;o=l._$AM;l=o){let e=o._$AN;if(e===void 0)o._$AN=e=new Set;else if(e.has(l))break;e.add(l),mb(o)}};function db(l){this._$AN!==void 0?(_n(this),this._$AM=l,Zp(this)):this._$AM=l}function hb(l,o=!1,e=0){let s=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(o)if(Array.isArray(s))for(let h=e;h<s.length;h++)Ds(s[h],!1),_n(s[h]);else s!=null&&(Ds(s,!1),_n(s));else Ds(this,l)}var mb=l=>{var o,e;l.type==wa.CHILD&&((o=l._$AP)!=null||(l._$AP=hb),(e=l._$AQ)!=null||(l._$AQ=db))},Sn=class extends ho{constructor(){super(...arguments),this._$AN=void 0}_$AT(o,e,s){super._$AT(o,e,s),Zp(this),this.isConnected=o._$AU}_$AO(o,e=!0){var s,n;o!==this.isConnected&&(this.isConnected=o,o?(s=this.reconnected)==null||s.call(this):(n=this.disconnected)==null||n.call(this)),e&&(Ds(this,o),_n(this))}setValue(o){if(Xp(this.t))this.t._$AI(o,this);else{let e=[...this.t._$AH];e[this.i]=o,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var kn=()=>new _c,_c=class{},Ac=new WeakMap,Cn=ps(class extends Sn{render(l){return Z}update(l,[o]){var s;let e=o!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=o,this.ht=(s=l.options)==null?void 0:s.host,this.rt(this.ct=l.element)),Z}rt(l){var o;if(this.isConnected||(l=void 0),typeof this.Y=="function"){let e=(o=this.ht)!=null?o:globalThis,s=Ac.get(e);s===void 0&&(s=new WeakMap,Ac.set(e,s)),s.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),s.set(this.Y,l),l!==void 0&&this.Y.call(this.ht,l)}else this.Y.value=l}get lt(){var l,o,e;return typeof this.Y=="function"?(o=Ac.get((l=this.ht)!=null?l:globalThis))==null?void 0:o.get(this.Y):(e=this.Y)==null?void 0:e.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var pb=[W`
|
4468
|
+
color: hsl(${Math.max(0,Math.min(120-120*bt,120))}deg 100% 31%);`,e==null?void 0:e.key)}return(B=e==null?void 0:e.onChange)==null||B.call(e,n),n}}function An(l,o){if(l===void 0)throw new Error(`Unexpected undefined${o?`: ${o}`:""}`);return l}var Wp=(l,o)=>Math.abs(l-o)<1,qp=(l,o,e)=>{let s;return function(...n){l.clearTimeout(s),s=l.setTimeout(()=>o.apply(this,n),e)}};var nb=l=>l,lb=l=>{let o=Math.max(l.startIndex-l.overscan,0),e=Math.min(l.endIndex+l.overscan,l.count-1),s=[];for(let n=o;n<=e;n++)s.push(n);return s},Kp=(l,o)=>{let e=l.scrollElement;if(!e)return;let s=l.targetWindow;if(!s)return;let n=f=>{let{width:S,height:M}=f;o({width:Math.round(S),height:Math.round(M)})};if(n(e.getBoundingClientRect()),!s.ResizeObserver)return()=>{};let h=new s.ResizeObserver(f=>{let S=f[0];if(S!=null&&S.borderBoxSize){let M=S.borderBoxSize[0];if(M){n({width:M.inlineSize,height:M.blockSize});return}}n(e.getBoundingClientRect())});return h.observe(e,{box:"border-box"}),()=>{h.unobserve(e)}},Yp={passive:!0};var cb=typeof window>"u"?!0:"onscrollend"in window,Xp=(l,o)=>{let e=l.scrollElement;if(!e)return;let s=l.targetWindow;if(!s)return;let n=0,h=l.options.useScrollendEvent&&cb?()=>{}:qp(s,()=>{o(n,!1)},l.options.isScrollingResetDelay),f=B=>()=>{let{horizontal:G,isRtl:q}=l.options;n=G?e.scrollLeft*(q&&-1||1):e.scrollTop,h(),o(n,B)},S=f(!0),M=f(!1);return M(),e.addEventListener("scroll",S,Yp),e.addEventListener("scrollend",M,Yp),()=>{e.removeEventListener("scroll",S),e.removeEventListener("scrollend",M)}};var db=(l,o,e)=>{if(o!=null&&o.borderBoxSize){let s=o.borderBoxSize[0];if(s)return Math.round(s[e.options.horizontal?"inlineSize":"blockSize"])}return Math.round(l.getBoundingClientRect()[e.options.horizontal?"width":"height"])};var Zp=(l,{adjustments:o=0,behavior:e},s)=>{var n,h;let f=l+o;(h=(n=s.scrollElement)==null?void 0:n.scrollTo)==null||h.call(n,{[s.options.horizontal?"left":"top"]:f,behavior:e})},_n=class{constructor(o){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,s=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(n=>{n.forEach(h=>{this._measureElement(h.target,h)})}));return{disconnect:()=>{var n;(n=s())==null||n.disconnect(),e=null},observe:n=>{var h;return(h=s())==null?void 0:h.observe(n,{box:"border-box"})},unobserve:n=>{var h;return(h=s())==null?void 0:h.unobserve(n)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([s,n])=>{typeof n>"u"&&delete e[s]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:nb,rangeExtractor:lb,onChange:()=>{},measureElement:db,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...e}},this.notify=e=>{var s,n;(n=(s=this.options).onChange)==null||n.call(s,this,e)},this.maybeNotify=ji(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{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(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;var e;let s=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==s){if(this.cleanup(),!s){this.maybeNotify();return}this.scrollElement=s,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(n=(e=this.scrollElement)==null?void 0:e.window)!=null?n: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,f)=>{this.scrollAdjustments=0,this.scrollDirection=f?this.getScrollOffset()<h?"forward":"backward":null,this.scrollOffset=h,this.isScrolling=f,this.maybeNotify()}))}},this.getSize=()=>{var e;return this.options.enabled?(this.scrollRect=(e=this.scrollRect)!=null?e:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var e;return this.options.enabled?(this.scrollOffset=(e=this.scrollOffset)!=null?e:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(e,s)=>{let n=new Map,h=new Map;for(let f=s-1;f>=0;f--){let S=e[f];if(n.has(S.lane))continue;let M=h.get(S.lane);if(M==null||S.end>M.end?h.set(S.lane,S):S.end<M.end&&n.set(S.lane,!0),n.size===this.options.lanes)break}return h.size===this.options.lanes?Array.from(h.values()).sort((f,S)=>f.end===S.end?f.index-S.index:f.end-S.end)[0]:void 0},this.getMeasurementOptions=ji(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,s,n,h,f)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:s,scrollMargin:n,getItemKey:h,enabled:f}),{key:!1}),this.getMeasurements=ji(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:s,scrollMargin:n,getItemKey:h,enabled:f},S)=>{if(!f)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(G=>{this.itemSizeCache.set(G.key,G.size)}));let M=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let B=this.measurementsCache.slice(0,M);for(let G=M;G<e;G++){let q=h(G),ot=this.options.lanes===1?B[G-1]:this.getFurthestMeasurement(B,G),Q=ot?ot.end+this.options.gap:s+n,et=S.get(q),ct=typeof et=="number"?et:this.options.estimateSize(G),bt=Q+ct,gt=ot?ot.lane:G%this.options.lanes;B[G]={index:G,start:Q,size:ct,end:bt,key:q,lane:gt}}return this.measurementsCache=B,B},{key:!1,debug:()=>this.options.debug}),this.calculateRange=ji(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,s,n)=>this.range=e.length>0&&s>0?hb({measurements:e,outerSize:s,scrollOffset:n}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=ji(()=>{let e=null,s=null,n=this.calculateRange();return n&&(e=n.startIndex,s=n.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,s]},(e,s,n,h,f)=>h===null||f===null?[]:e({startIndex:h,endIndex:f,overscan:s,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let s=this.options.indexAttribute,n=e.getAttribute(s);return n?parseInt(n,10):(console.warn(`Missing attribute name '${s}={index}' on measured element.`),-1)},this._measureElement=(e,s)=>{let n=this.indexFromElement(e),h=this.measurementsCache[n];if(!h)return;let f=h.key,S=this.elementsCache.get(f);S!==e&&(S&&this.observer.unobserve(S),this.observer.observe(e),this.elementsCache.set(f,e)),e.isConnected&&this.resizeItem(n,this.options.measureElement(e,s,this))},this.resizeItem=(e,s)=>{var S;let n=this.measurementsCache[e];if(!n)return;let h=(S=this.itemSizeCache.get(n.key))!=null?S:n.size,f=s-h;f!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(n,f,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=f,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,s)),this.notify(!1))},this.measureElement=e=>{if(!e){this.elementsCache.forEach((s,n)=>{s.isConnected||(this.observer.unobserve(s),this.elementsCache.delete(n))});return}this._measureElement(e,void 0)},this.getVirtualItems=ji(()=>[this.getIndexes(),this.getMeasurements()],(e,s)=>{let n=[];for(let h=0,f=e.length;h<f;h++){let S=e[h],M=s[S];n.push(M)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let s=this.getMeasurements();if(s.length!==0)return An(s[Jp(0,s.length-1,n=>An(s[n]).start,e)])},this.getOffsetForAlignment=(e,s)=>{let n=this.getSize(),h=this.getScrollOffset();s==="auto"&&e>=h+n&&(s="end"),s==="end"&&(e-=n);let f=this.options.horizontal?"scrollWidth":"scrollHeight",M=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[f]:this.scrollElement[f]:0)-n;return Math.max(Math.min(M,e),0)},this.getOffsetForIndex=(e,s="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.measurementsCache[e];if(!n)return;let h=this.getSize(),f=this.getScrollOffset();if(s==="auto")if(n.end>=f+h-this.options.scrollPaddingEnd)s="end";else if(n.start<=f+this.options.scrollPaddingStart)s="start";else return[f,s];let S=n.start-this.options.scrollPaddingStart+(n.size-h)/2;switch(s){case"center":return[this.getOffsetForAlignment(S,s),s];case"end":return[this.getOffsetForAlignment(n.end+this.options.scrollPaddingEnd,s),s];default:return[this.getOffsetForAlignment(n.start-this.options.scrollPaddingStart,s),s]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:s="start",behavior:n}={})=>{this.cancelScrollToIndex(),n==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,s),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:s="auto",behavior:n}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),n==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let h=this.getOffsetForIndex(e,s);if(!h)return;let[f,S]=h;this._scrollToOffset(f,{adjustments:void 0,behavior:n}),n!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[B]=An(this.getOffsetForIndex(e,S));Wp(B,this.getScrollOffset())||this.scrollToIndex(e,{align:S,behavior:n})}else this.scrollToIndex(e,{align:S,behavior:n})}))},this.scrollBy=(e,{behavior:s}={})=>{this.cancelScrollToIndex(),s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:s})},this.getTotalSize=()=>{var h;var e;let s=this.getMeasurements(),n;return s.length===0?n=this.options.paddingStart:n=this.options.lanes===1?(h=(e=s[s.length-1])==null?void 0:e.end)!=null?h:0:Math.max(...s.slice(-this.options.lanes).map(f=>f.end)),Math.max(n-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:s,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:s},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(o)}},Jp=(l,o,e,s)=>{for(;l<=o;){let n=(l+o)/2|0,h=e(n);if(h<s)l=n+1;else if(h>s)o=n-1;else return n}return l>0?l-1:0};function hb({measurements:l,outerSize:o,scrollOffset:e}){let s=l.length-1,h=Jp(0,s,S=>l[S].start,e),f=h;for(;f<s&&l[f].end<e+o;)f++;return{startIndex:h,endIndex:f}}var Sc=class{constructor(o,e){this.cleanup=()=>{},(this.host=o).addController(this);let s={...e,onChange:(n,h)=>{var f;this.host.updateComplete.then(()=>this.host.requestUpdate()),(f=e.onChange)==null||f.call(e,n,h)}};this.virtualizer=new _n(s)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},Sn=class extends Sc{constructor(o,e){super(o,{observeElementRect:Kp,observeElementOffset:Xp,scrollToFn:Zp,...e})}};var{I:P2}=Wd;var Qp=l=>l.strings===void 0;var Fs=(l,o)=>{var s;let e=l._$AN;if(e===void 0)return!1;for(let n of e)(s=n._$AO)==null||s.call(n,o,!1),Fs(n,o);return!0},kn=l=>{let o,e;do{if((o=l._$AM)===void 0)break;e=o._$AN,e.delete(l),l=o}while((e==null?void 0:e.size)===0)},tu=l=>{for(let o;o=l._$AM;l=o){let e=o._$AN;if(e===void 0)o._$AN=e=new Set;else if(e.has(l))break;e.add(l),ub(o)}};function mb(l){this._$AN!==void 0?(kn(this),this._$AM=l,tu(this)):this._$AM=l}function pb(l,o=!1,e=0){let s=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(o)if(Array.isArray(s))for(let h=e;h<s.length;h++)Fs(s[h],!1),kn(s[h]);else s!=null&&(Fs(s,!1),kn(s));else Fs(this,l)}var ub=l=>{var o,e;l.type==La.CHILD&&((o=l._$AP)!=null||(l._$AP=pb),(e=l._$AQ)!=null||(l._$AQ=mb))},Cn=class extends mo{constructor(){super(...arguments),this._$AN=void 0}_$AT(o,e,s){super._$AT(o,e,s),tu(this),this.isConnected=o._$AU}_$AO(o,e=!0){var s,n;o!==this.isConnected&&(this.isConnected=o,o?(s=this.reconnected)==null||s.call(this):(n=this.disconnected)==null||n.call(this)),e&&(Fs(this,o),kn(this))}setValue(o){if(Qp(this.t))this.t._$AI(o,this);else{let e=[...this.t._$AH];e[this.i]=o,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var wn=()=>new Cc,Cc=class{},kc=new WeakMap,In=us(class extends Cn{render(l){return Z}update(l,[o]){var s;let e=o!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=o,this.ht=(s=l.options)==null?void 0:s.host,this.rt(this.ct=l.element)),Z}rt(l){var o;if(this.isConnected||(l=void 0),typeof this.Y=="function"){let e=(o=this.ht)!=null?o:globalThis,s=kc.get(e);s===void 0&&(s=new WeakMap,kc.set(e,s)),s.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),s.set(this.Y,l),l!==void 0&&this.Y.call(this.ht,l)}else this.Y.value=l}get lt(){var l,o,e;return typeof this.Y=="function"?(o=kc.get((l=this.ht)!=null?l:globalThis))==null?void 0:o.get(this.Y):(e=this.Y)==null?void 0:e.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var fb=[W`
|
4469
4469
|
:host::part(scroll) {
|
4470
4470
|
height: 100%;
|
4471
4471
|
width: 100%;
|
@@ -4475,23 +4475,23 @@
|
|
4475
4475
|
position: relative;
|
4476
4476
|
width: 100%;
|
4477
4477
|
}
|
4478
|
-
`],
|
4478
|
+
`],eu=fb;var ru=j.constructTagName("virtualizedlist"),Z2=j.constructTagName("virtualizedwrapper"),iu={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0}};var Wi=class extends J{constructor(){super();this.virtualizerProps=iu.VIRTUALIZER_PROPS;this.scrollElementRef=wn();this.virtualItems=[];this.virtualizerController=null,this.virtualizer=null,this.setlistdata=null,this.onscroll=null}update(e){super.update(e),e.get("virtualizerProps")&&this.setVirtualizerOptions()}firstUpdated(e){super.firstUpdated(e),this.setVirtualizerOptions()}setVirtualizerOptions(){var e;(e=this.virtualizer)==null||e.setOptions({...this.virtualizer.options,...this.virtualizerProps}),this.requestUpdate()}connectedCallback(){var e;this.virtualizerController=new Sn(this,{count:this.virtualizerProps.count,estimateSize:(e=this.virtualizerProps)==null?void 0:e.estimateSize,getScrollElement:()=>this.scrollElementRef.value||null,...this.virtualizerProps}),super.connectedCallback()}getVirtualizedListWrapper(e){var S,M;this.virtualizer=e.getVirtualizer();let{getTotalSize:s,getVirtualItems:n,measureElement:h}=this.virtualizer,f=n();if(f!==this.virtualItems){this.virtualItems=f;let B=n(),G={position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${(M=(S=B[0])==null?void 0:S.start)!=null?M:0}px)`};this.setlistdata&&this.setlistdata({virtualItems:B,measureElement:h,listStyle:G})}return F`<div
|
4479
4479
|
part="container"
|
4480
4480
|
style="height: ${s()}px;"
|
4481
4481
|
>
|
4482
4482
|
<slot></slot>
|
4483
4483
|
</div>`}render(){return F`<div
|
4484
|
-
${
|
4484
|
+
${In(this.scrollElementRef)}
|
4485
4485
|
part="scroll"
|
4486
4486
|
@scroll=${this.onscroll&&this.onscroll}
|
4487
4487
|
>
|
4488
4488
|
${this.virtualizerController?this.getVirtualizedListWrapper(this.virtualizerController):F``}
|
4489
4489
|
</div>
|
4490
|
-
`}};
|
4490
|
+
`}};Wi.styles=[...J.styles,...eu],y([A({type:Function,attribute:"onscroll"})],Wi.prototype,"onscroll",2),y([A({type:Object,attribute:"virtualizerprops"})],Wi.prototype,"virtualizerProps",2),y([A({type:Function,attribute:"setlistdata"})],Wi.prototype,"setlistdata",2);var wc=Wi;wc.register(ru);var vb=wc;var ou=j.constructTagName("menusection"),Re={TRUE:"true",FALSE:"false"};var zs=class extends Pr{constructor(){super(...arguments);this.ariaChecked=Re.FALSE}connectedCallback(){super.connectedCallback(),this.role=$t.MENUITEMRADIO}render(){return F`
|
4491
4491
|
<div part="leading-controls">
|
4492
4492
|
<mdc-staticradio
|
4493
4493
|
slot="leading-controls"
|
4494
|
-
?checked="${this.ariaChecked===
|
4494
|
+
?checked="${this.ariaChecked===Re.TRUE}"
|
4495
4495
|
?disabled="${this.disabled}"
|
4496
4496
|
></mdc-staticradio>
|
4497
4497
|
</div>
|
@@ -4499,7 +4499,7 @@
|
|
4499
4499
|
${this.getText("leading-text-primary-label",lt.BODY_MIDSIZE_REGULAR,this.label)}
|
4500
4500
|
${this.getText("leading-text-secondary-label",lt.BODY_MIDSIZE_REGULAR,this.secondaryLabel)}
|
4501
4501
|
</div>
|
4502
|
-
`}};
|
4502
|
+
`}};zs.styles=[...Pr.styles],y([A({type:String,reflect:!0,attribute:"aria-checked"})],zs.prototype,"ariaChecked",2);var Ic=zs;var $s=j.constructTagName("menuitemradio");Ic.register($s);var gb=Ic;var Ln=j.constructTagName("menuitemcheckbox"),Vs={CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},Lc={ARIA_CHECKED:Re.FALSE,INDICATOR:Vs.CHECKBOX};var bb=W`
|
4503
4503
|
:host {
|
4504
4504
|
--mdc-checkmark-indicator-color: var(--mds-color-theme-control-active-normal);
|
4505
4505
|
}
|
@@ -4509,20 +4509,20 @@
|
|
4509
4509
|
:host([disabled])::part(checkmark-icon) {
|
4510
4510
|
--mdc-icon-fill-color: currentColor;
|
4511
4511
|
}
|
4512
|
-
`,
|
4512
|
+
`,su=[bb];var Oo=class extends Pr{constructor(){super(...arguments);this.ariaChecked=Lc.ARIA_CHECKED;this.indicator=Lc.INDICATOR}connectedCallback(){super.connectedCallback(),this.role=$t.MENUITEMCHECKBOX}staticCheckbox(){return this.indicator!==Vs.CHECKBOX?Z:F`
|
4513
4513
|
<mdc-staticcheckbox
|
4514
4514
|
slot="leading-controls"
|
4515
|
-
?checked="${this.ariaChecked===
|
4515
|
+
?checked="${this.ariaChecked===Re.TRUE}"
|
4516
4516
|
?disabled="${this.disabled}"
|
4517
4517
|
></mdc-staticcheckbox>
|
4518
|
-
`}staticToggle(){return this.indicator
|
4518
|
+
`}staticToggle(){return this.indicator!==Vs.TOGGLE?Z:F`
|
4519
4519
|
<mdc-statictoggle
|
4520
4520
|
slot="trailing-controls"
|
4521
|
-
?checked="${this.ariaChecked===
|
4521
|
+
?checked="${this.ariaChecked===Re.TRUE}"
|
4522
4522
|
?disabled="${this.disabled}"
|
4523
|
-
size="${
|
4523
|
+
size="${Ds.COMPACT}"
|
4524
4524
|
></mdc-statictoggle>
|
4525
|
-
`}getCheckmarkIcon(){return this.indicator
|
4525
|
+
`}getCheckmarkIcon(){return this.indicator!==Vs.CHECKMARK||this.ariaChecked===Re.FALSE?Z:F`
|
4526
4526
|
<mdc-icon
|
4527
4527
|
slot="trailing-controls"
|
4528
4528
|
name="check-bold"
|
@@ -4547,7 +4547,7 @@
|
|
4547
4547
|
${this.staticToggle()}
|
4548
4548
|
${this.getCheckmarkIcon()}
|
4549
4549
|
</div>
|
4550
|
-
`}};Ro.styles=[...Or.styles,...iu],y([A({type:String,reflect:!0,attribute:"aria-checked"})],Ro.prototype,"ariaChecked",2),y([A({type:String,reflect:!0})],Ro.prototype,"indicator",2);var Ic=Ro;Ic.register(ru);var gb=Ic;var nu=vf(ou());var In={};uf(In,{alert_32px_loop:()=>xb,audio_video:()=>bb,calling:()=>yb,celebrate:()=>Rb,clap_dark:()=>Ob,clap_light:()=>Pb,clap_medium:()=>zb,clap_medium_dark:()=>Db,clap_medium_light:()=>Fb,clap_yellow:()=>$b,contacts:()=>wb,default:()=>l0,discoverability_badge:()=>Ib,fire:()=>Vb,haha:()=>Bb,heart:()=>Ub,heart_opacity_test:()=>Lb,hello_32px:()=>Eb,meeting:()=>Mb,on_video_celebrate:()=>Hb,on_video_clap_dark:()=>Gb,on_video_clap_light:()=>jb,on_video_clap_medium:()=>Yb,on_video_clap_medium_dark:()=>Wb,on_video_clap_medium_light:()=>qb,on_video_clap_yellow:()=>Kb,on_video_fire:()=>Xb,on_video_haha:()=>Zb,on_video_heart:()=>Jb,on_video_prayer_dark:()=>Qb,on_video_prayer_light:()=>ty,on_video_prayer_medium:()=>iy,on_video_prayer_medium_dark:()=>ey,on_video_prayer_medium_light:()=>ry,on_video_prayer_yellow:()=>oy,on_video_raise_hand_dark:()=>sy,on_video_raise_hand_light:()=>ay,on_video_raise_hand_medium:()=>cy,on_video_raise_hand_medium_dark:()=>ny,on_video_raise_hand_medium_light:()=>ly,on_video_raise_hand_yellow:()=>dy,on_video_sad:()=>hy,on_video_slow_down:()=>my,on_video_smile:()=>py,on_video_speed_up:()=>uy,on_video_thumb_down_dark:()=>fy,on_video_thumb_down_light:()=>vy,on_video_thumb_down_medium:()=>yy,on_video_thumb_down_medium_dark:()=>gy,on_video_thumb_down_medium_light:()=>by,on_video_thumb_down_yellow:()=>xy,on_video_thumb_up_dark:()=>Ey,on_video_thumb_up_light:()=>Ty,on_video_thumb_up_medium:()=>Sy,on_video_thumb_up_medium_dark:()=>Ay,on_video_thumb_up_medium_light:()=>_y,on_video_thumb_up_yellow:()=>ky,on_video_wow:()=>Cy,personal_insight:()=>Nb,prayer_dark:()=>wy,prayer_light:()=>Iy,prayer_medium:()=>Ny,prayer_medium_dark:()=>Ly,prayer_medium_light:()=>My,prayer_yellow:()=>Ry,processing_32px_end:()=>Tb,processing_32px_loop:()=>Ab,processing_32px_start:()=>_b,raise_hand_dark:()=>Oy,raise_hand_light:()=>Py,raise_hand_medium:()=>zy,raise_hand_medium_dark:()=>Dy,raise_hand_medium_light:()=>Fy,raise_hand_yellow:()=>$y,responding_32px_end:()=>Sb,responding_32px_loop:()=>kb,responding_32px_start:()=>Cb,sad:()=>Vy,slow_down:()=>By,smile:()=>Uy,space:()=>i0,speed_up:()=>Hy,success:()=>o0,teams:()=>s0,thumb_down_dark:()=>Gy,thumb_down_light:()=>jy,thumb_down_medium:()=>Yy,thumb_down_medium_dark:()=>Wy,thumb_down_medium_light:()=>qy,thumb_down_yellow:()=>Ky,thumb_up_dark:()=>Xy,thumb_up_light:()=>Zy,thumb_up_medium:()=>t0,thumb_up_medium_dark:()=>Jy,thumb_up_medium_light:()=>Qy,thumb_up_yellow:()=>e0,webex_logo_loop:()=>a0,welcome:()=>n0,wow:()=>r0});var bb="./lottie/audio_video.json",yb="./lottie/calling.json",xb="./lottie/cisco-ai-assistant/alert_32px_loop.json",Eb="./lottie/cisco-ai-assistant/hello_32px.json",Tb="./lottie/cisco-ai-assistant/processing_32px_end.json",Ab="./lottie/cisco-ai-assistant/processing_32px_loop.json",_b="./lottie/cisco-ai-assistant/processing_32px_start.json",Sb="./lottie/cisco-ai-assistant/responding_32px_end.json",kb="./lottie/cisco-ai-assistant/responding_32px_loop.json",Cb="./lottie/cisco-ai-assistant/responding_32px_start.json",wb="./lottie/contacts.json",Ib="./lottie/discoverability_badge.json",Lb="./lottie/heart_opacity_test.json",Mb="./lottie/meeting.json",Nb="./lottie/personal_insight.json",Rb="./lottie/reactions/celebrate.json",Ob="./lottie/reactions/clap_dark.json",Pb="./lottie/reactions/clap_light.json",Db="./lottie/reactions/clap_medium_dark.json",Fb="./lottie/reactions/clap_medium_light.json",zb="./lottie/reactions/clap_medium.json",$b="./lottie/reactions/clap_yellow.json",Vb="./lottie/reactions/fire.json",Bb="./lottie/reactions/haha.json",Ub="./lottie/reactions/heart.json",Hb="./lottie/reactions/on_video/on_video_celebrate.json",Gb="./lottie/reactions/on_video/on_video_clap_dark.json",jb="./lottie/reactions/on_video/on_video_clap_light.json",Wb="./lottie/reactions/on_video/on_video_clap_medium_dark.json",qb="./lottie/reactions/on_video/on_video_clap_medium_light.json",Yb="./lottie/reactions/on_video/on_video_clap_medium.json",Kb="./lottie/reactions/on_video/on_video_clap_yellow.json",Xb="./lottie/reactions/on_video/on_video_fire.json",Zb="./lottie/reactions/on_video/on_video_haha.json",Jb="./lottie/reactions/on_video/on_video_heart.json",Qb="./lottie/reactions/on_video/on_video_prayer_dark.json",ty="./lottie/reactions/on_video/on_video_prayer_light.json",ey="./lottie/reactions/on_video/on_video_prayer_medium_dark.json",ry="./lottie/reactions/on_video/on_video_prayer_medium_light.json",iy="./lottie/reactions/on_video/on_video_prayer_medium.json",oy="./lottie/reactions/on_video/on_video_prayer_yellow.json",sy="./lottie/reactions/on_video/on_video_raise_hand_dark.json",ay="./lottie/reactions/on_video/on_video_raise_hand_light.json",ny="./lottie/reactions/on_video/on_video_raise_hand_medium_dark.json",ly="./lottie/reactions/on_video/on_video_raise_hand_medium_light.json",cy="./lottie/reactions/on_video/on_video_raise_hand_medium.json",dy="./lottie/reactions/on_video/on_video_raise_hand_yellow.json",hy="./lottie/reactions/on_video/on_video_sad.json",my="./lottie/reactions/on_video/on_video_slow_down.json",py="./lottie/reactions/on_video/on_video_smile.json",uy="./lottie/reactions/on_video/on_video_speed_up.json",fy="./lottie/reactions/on_video/on_video_thumb_down_dark.json",vy="./lottie/reactions/on_video/on_video_thumb_down_light.json",gy="./lottie/reactions/on_video/on_video_thumb_down_medium_dark.json",by="./lottie/reactions/on_video/on_video_thumb_down_medium_light.json",yy="./lottie/reactions/on_video/on_video_thumb_down_medium.json",xy="./lottie/reactions/on_video/on_video_thumb_down_yellow.json",Ey="./lottie/reactions/on_video/on_video_thumb_up_dark.json",Ty="./lottie/reactions/on_video/on_video_thumb_up_light.json",Ay="./lottie/reactions/on_video/on_video_thumb_up_medium_dark.json",_y="./lottie/reactions/on_video/on_video_thumb_up_medium_light.json",Sy="./lottie/reactions/on_video/on_video_thumb_up_medium.json",ky="./lottie/reactions/on_video/on_video_thumb_up_yellow.json",Cy="./lottie/reactions/on_video/on_video_wow.json",wy="./lottie/reactions/prayer_dark.json",Iy="./lottie/reactions/prayer_light.json",Ly="./lottie/reactions/prayer_medium_dark.json",My="./lottie/reactions/prayer_medium_light.json",Ny="./lottie/reactions/prayer_medium.json",Ry="./lottie/reactions/prayer_yellow.json",Oy="./lottie/reactions/raise_hand_dark.json",Py="./lottie/reactions/raise_hand_light.json",Dy="./lottie/reactions/raise_hand_medium_dark.json",Fy="./lottie/reactions/raise_hand_medium_light.json",zy="./lottie/reactions/raise_hand_medium.json",$y="./lottie/reactions/raise_hand_yellow.json",Vy="./lottie/reactions/sad.json",By="./lottie/reactions/slow_down.json",Uy="./lottie/reactions/smile.json",Hy="./lottie/reactions/speed_up.json",Gy="./lottie/reactions/thumb_down_dark.json",jy="./lottie/reactions/thumb_down_light.json",Wy="./lottie/reactions/thumb_down_medium_dark.json",qy="./lottie/reactions/thumb_down_medium_light.json",Yy="./lottie/reactions/thumb_down_medium.json",Ky="./lottie/reactions/thumb_down_yellow.json",Xy="./lottie/reactions/thumb_up_dark.json",Zy="./lottie/reactions/thumb_up_light.json",Jy="./lottie/reactions/thumb_up_medium_dark.json",Qy="./lottie/reactions/thumb_up_medium_light.json",t0="./lottie/reactions/thumb_up_medium.json",e0="./lottie/reactions/thumb_up_yellow.json",r0="./lottie/reactions/wow.json",i0="./lottie/space.json",o0="./lottie/success.json",s0="./lottie/teams.json",a0="./lottie/webex_logo_loop.json",n0="./lottie/welcome.json",l0={audio_video:bb,calling:yb,alert_32px_loop:xb,hello_32px:Eb,processing_32px_end:Tb,processing_32px_loop:Ab,processing_32px_start:_b,responding_32px_end:Sb,responding_32px_loop:kb,responding_32px_start:Cb,contacts:wb,discoverability_badge:Ib,heart_opacity_test:Lb,meeting:Mb,personal_insight:Nb,celebrate:Rb,clap_dark:Ob,clap_light:Pb,clap_medium_dark:Db,clap_medium_light:Fb,clap_medium:zb,clap_yellow:$b,fire:Vb,haha:Bb,heart:Ub,on_video_celebrate:Hb,on_video_clap_dark:Gb,on_video_clap_light:jb,on_video_clap_medium_dark:Wb,on_video_clap_medium_light:qb,on_video_clap_medium:Yb,on_video_clap_yellow:Kb,on_video_fire:Xb,on_video_haha:Zb,on_video_heart:Jb,on_video_prayer_dark:Qb,on_video_prayer_light:ty,on_video_prayer_medium_dark:ey,on_video_prayer_medium_light:ry,on_video_prayer_medium:iy,on_video_prayer_yellow:oy,on_video_raise_hand_dark:sy,on_video_raise_hand_light:ay,on_video_raise_hand_medium_dark:ny,on_video_raise_hand_medium_light:ly,on_video_raise_hand_medium:cy,on_video_raise_hand_yellow:dy,on_video_sad:hy,on_video_slow_down:my,on_video_smile:py,on_video_speed_up:uy,on_video_thumb_down_dark:fy,on_video_thumb_down_light:vy,on_video_thumb_down_medium_dark:gy,on_video_thumb_down_medium_light:by,on_video_thumb_down_medium:yy,on_video_thumb_down_yellow:xy,on_video_thumb_up_dark:Ey,on_video_thumb_up_light:Ty,on_video_thumb_up_medium_dark:Ay,on_video_thumb_up_medium_light:_y,on_video_thumb_up_medium:Sy,on_video_thumb_up_yellow:ky,on_video_wow:Cy,prayer_dark:wy,prayer_light:Iy,prayer_medium_dark:Ly,prayer_medium_light:My,prayer_medium:Ny,prayer_yellow:Ry,raise_hand_dark:Oy,raise_hand_light:Py,raise_hand_medium_dark:Dy,raise_hand_medium_light:Fy,raise_hand_medium:zy,raise_hand_yellow:$y,sad:Vy,slow_down:By,smile:Uy,speed_up:Hy,thumb_down_dark:Gy,thumb_down_light:jy,thumb_down_medium_dark:Wy,thumb_down_medium_light:qy,thumb_down_medium:Yy,thumb_down_yellow:Ky,thumb_up_dark:Xy,thumb_up_light:Zy,thumb_up_medium_dark:Jy,thumb_up_medium_light:Qy,thumb_up_medium:t0,thumb_up_yellow:e0,wow:r0,space:i0,success:o0,teams:s0,webex_logo_loop:a0,welcome:n0};var c0=[Et],su=c0;var au=j.constructTagName("animation"),Ln={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var Dr=class extends J{constructor(){super(...arguments);this.name=Ln.NAME;this.loop=Ln.LOOP;this.autoplay=Ln.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledBy=null;this.containerRef=kn();this.onCompleteHandler=()=>{let e=new CustomEvent("complete",{detail:{name:this.name},bubbles:!0});this.dispatchEvent(e)}}get animation(){return this.lottieInstance}getLoopValue(){return this.loop==="true"?!0:this.loop==="false"?!1:this.loop?Number(this.loop):!0}onLoadSuccessHandler(e){this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy()),this.containerRef.value&&(this.lottieInstance=nu.default.loadAnimation({container:this.containerRef.value,renderer:"svg",loop:this.getLoopValue(),autoplay:this.autoplay,animationData:e,name:this.name}),this.lottieInstance.addEventListener("complete",this.onCompleteHandler)),this.dispatchEvent(new CustomEvent("load",{bubbles:!0,cancelable:!0,detail:{name:this.name}}))}onLoadFailHandler(e){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:e}});this.dispatchEvent(s)}getAnimationData(){return this.name&&In[this.name]?import(`@momentum-design/animations/dist${In[this.name].replace(/^\./,"")}`).then(s=>this.onLoadSuccessHandler(s.default)).catch(s=>this.onLoadFailHandler(s)):Promise.reject(new Error(`Invalid animation name: ${this.name}`))}updated(e){super.updated(e),(e.has("name")||e.has("loop")||e.has("autoplay"))&&this.getAnimationData().catch(s=>{var n;return(n=this.onerror)==null?void 0:n.call(this,s.message)}),(e.has("ariaLabel")||e.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null)}render(){return F`<div aria-hidden="true" ${Cn(this.containerRef)}></div>`}};Dr.styles=[...J.styles,...su],y([A({type:String,reflect:!0})],Dr.prototype,"name",2),y([A({type:String,reflect:!0})],Dr.prototype,"loop",2),y([A({type:Boolean,reflect:!0})],Dr.prototype,"autoplay",2),y([A({type:String,attribute:"aria-label"})],Dr.prototype,"ariaLabel",2),y([A({type:String,attribute:"aria-labelledby"})],Dr.prototype,"ariaLabelledBy",2);var Lc=Dr;Lc.register(au);var d0=Lc;})();
|
4550
|
+
`}};Oo.styles=[...Pr.styles,...su],y([A({type:String,reflect:!0,attribute:"aria-checked"})],Oo.prototype,"ariaChecked",2),y([A({type:String,reflect:!0})],Oo.prototype,"indicator",2);var Mc=Oo;Mc.register(Ln);var yb=Mc;var Bs=class extends J{constructor(){super(...arguments);this.handleClick=e=>{this.toggleCheckedState(e.target)};this.handleKeydown=e=>{e.key!==Lt.ENTER&&e.key!==Lt.SPACE||(e.key===Lt.SPACE&&e.preventDefault(),this.toggleCheckedState(e.target))}}connectedCallback(){super.connectedCallback(),this.setAttribute("role",$t.GROUP),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeydown)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeydown)}toggleCheckedState(e){if(!(e instanceof HTMLElement)||e.hasAttribute("disabled"))return;let s=e.tagName.toLowerCase(),n=e.getAttribute("aria-checked")===Re.TRUE;switch(s){case Ln:e.setAttribute("aria-checked",String(!n));break;case $s:if(n)return;this.radios.forEach(h=>{let f=h===e?Re.TRUE:Re.FALSE;h.setAttribute("aria-checked",f)});break;default:break}}render(){return F`<slot></slot>`}};Bs.styles=[...J.styles],y([zt({selector:`${$s}:not([disabled])`})],Bs.prototype,"radios",2);var Nc=Bs;Nc.register(ou);var Eb=Nc;var cu=bf(au());var Nn={};vf(Nn,{alert_32px_loop:()=>Ab,audio_video:()=>xb,calling:()=>Tb,celebrate:()=>Db,clap_dark:()=>Fb,clap_light:()=>zb,clap_medium:()=>Bb,clap_medium_dark:()=>$b,clap_medium_light:()=>Vb,clap_yellow:()=>Ub,contacts:()=>Mb,default:()=>h0,discoverability_badge:()=>Nb,fire:()=>Hb,haha:()=>Gb,heart:()=>jb,heart_opacity_test:()=>Rb,hello_32px:()=>_b,meeting:()=>Ob,on_video_celebrate:()=>Wb,on_video_clap_dark:()=>qb,on_video_clap_light:()=>Yb,on_video_clap_medium:()=>Zb,on_video_clap_medium_dark:()=>Kb,on_video_clap_medium_light:()=>Xb,on_video_clap_yellow:()=>Jb,on_video_fire:()=>Qb,on_video_haha:()=>ty,on_video_heart:()=>ey,on_video_prayer_dark:()=>ry,on_video_prayer_light:()=>iy,on_video_prayer_medium:()=>ay,on_video_prayer_medium_dark:()=>oy,on_video_prayer_medium_light:()=>sy,on_video_prayer_yellow:()=>ny,on_video_raise_hand_dark:()=>ly,on_video_raise_hand_light:()=>cy,on_video_raise_hand_medium:()=>my,on_video_raise_hand_medium_dark:()=>dy,on_video_raise_hand_medium_light:()=>hy,on_video_raise_hand_yellow:()=>py,on_video_sad:()=>uy,on_video_slow_down:()=>fy,on_video_smile:()=>vy,on_video_speed_up:()=>gy,on_video_thumb_down_dark:()=>by,on_video_thumb_down_light:()=>yy,on_video_thumb_down_medium:()=>Ty,on_video_thumb_down_medium_dark:()=>Ey,on_video_thumb_down_medium_light:()=>xy,on_video_thumb_down_yellow:()=>Ay,on_video_thumb_up_dark:()=>_y,on_video_thumb_up_light:()=>Sy,on_video_thumb_up_medium:()=>wy,on_video_thumb_up_medium_dark:()=>ky,on_video_thumb_up_medium_light:()=>Cy,on_video_thumb_up_yellow:()=>Iy,on_video_wow:()=>Ly,personal_insight:()=>Pb,prayer_dark:()=>My,prayer_light:()=>Ny,prayer_medium:()=>Py,prayer_medium_dark:()=>Ry,prayer_medium_light:()=>Oy,prayer_yellow:()=>Dy,processing_32px_end:()=>Sb,processing_32px_loop:()=>kb,processing_32px_start:()=>Cb,raise_hand_dark:()=>Fy,raise_hand_light:()=>zy,raise_hand_medium:()=>By,raise_hand_medium_dark:()=>$y,raise_hand_medium_light:()=>Vy,raise_hand_yellow:()=>Uy,responding_32px_end:()=>wb,responding_32px_loop:()=>Ib,responding_32px_start:()=>Lb,sad:()=>Hy,slow_down:()=>Gy,smile:()=>jy,space:()=>a0,speed_up:()=>Wy,success:()=>n0,teams:()=>l0,thumb_down_dark:()=>qy,thumb_down_light:()=>Yy,thumb_down_medium:()=>Zy,thumb_down_medium_dark:()=>Ky,thumb_down_medium_light:()=>Xy,thumb_down_yellow:()=>Jy,thumb_up_dark:()=>Qy,thumb_up_light:()=>t0,thumb_up_medium:()=>i0,thumb_up_medium_dark:()=>e0,thumb_up_medium_light:()=>r0,thumb_up_yellow:()=>o0,webex_logo_loop:()=>c0,welcome:()=>d0,wow:()=>s0});var xb="./lottie/audio_video.json",Tb="./lottie/calling.json",Ab="./lottie/cisco-ai-assistant/alert_32px_loop.json",_b="./lottie/cisco-ai-assistant/hello_32px.json",Sb="./lottie/cisco-ai-assistant/processing_32px_end.json",kb="./lottie/cisco-ai-assistant/processing_32px_loop.json",Cb="./lottie/cisco-ai-assistant/processing_32px_start.json",wb="./lottie/cisco-ai-assistant/responding_32px_end.json",Ib="./lottie/cisco-ai-assistant/responding_32px_loop.json",Lb="./lottie/cisco-ai-assistant/responding_32px_start.json",Mb="./lottie/contacts.json",Nb="./lottie/discoverability_badge.json",Rb="./lottie/heart_opacity_test.json",Ob="./lottie/meeting.json",Pb="./lottie/personal_insight.json",Db="./lottie/reactions/celebrate.json",Fb="./lottie/reactions/clap_dark.json",zb="./lottie/reactions/clap_light.json",$b="./lottie/reactions/clap_medium_dark.json",Vb="./lottie/reactions/clap_medium_light.json",Bb="./lottie/reactions/clap_medium.json",Ub="./lottie/reactions/clap_yellow.json",Hb="./lottie/reactions/fire.json",Gb="./lottie/reactions/haha.json",jb="./lottie/reactions/heart.json",Wb="./lottie/reactions/on_video/on_video_celebrate.json",qb="./lottie/reactions/on_video/on_video_clap_dark.json",Yb="./lottie/reactions/on_video/on_video_clap_light.json",Kb="./lottie/reactions/on_video/on_video_clap_medium_dark.json",Xb="./lottie/reactions/on_video/on_video_clap_medium_light.json",Zb="./lottie/reactions/on_video/on_video_clap_medium.json",Jb="./lottie/reactions/on_video/on_video_clap_yellow.json",Qb="./lottie/reactions/on_video/on_video_fire.json",ty="./lottie/reactions/on_video/on_video_haha.json",ey="./lottie/reactions/on_video/on_video_heart.json",ry="./lottie/reactions/on_video/on_video_prayer_dark.json",iy="./lottie/reactions/on_video/on_video_prayer_light.json",oy="./lottie/reactions/on_video/on_video_prayer_medium_dark.json",sy="./lottie/reactions/on_video/on_video_prayer_medium_light.json",ay="./lottie/reactions/on_video/on_video_prayer_medium.json",ny="./lottie/reactions/on_video/on_video_prayer_yellow.json",ly="./lottie/reactions/on_video/on_video_raise_hand_dark.json",cy="./lottie/reactions/on_video/on_video_raise_hand_light.json",dy="./lottie/reactions/on_video/on_video_raise_hand_medium_dark.json",hy="./lottie/reactions/on_video/on_video_raise_hand_medium_light.json",my="./lottie/reactions/on_video/on_video_raise_hand_medium.json",py="./lottie/reactions/on_video/on_video_raise_hand_yellow.json",uy="./lottie/reactions/on_video/on_video_sad.json",fy="./lottie/reactions/on_video/on_video_slow_down.json",vy="./lottie/reactions/on_video/on_video_smile.json",gy="./lottie/reactions/on_video/on_video_speed_up.json",by="./lottie/reactions/on_video/on_video_thumb_down_dark.json",yy="./lottie/reactions/on_video/on_video_thumb_down_light.json",Ey="./lottie/reactions/on_video/on_video_thumb_down_medium_dark.json",xy="./lottie/reactions/on_video/on_video_thumb_down_medium_light.json",Ty="./lottie/reactions/on_video/on_video_thumb_down_medium.json",Ay="./lottie/reactions/on_video/on_video_thumb_down_yellow.json",_y="./lottie/reactions/on_video/on_video_thumb_up_dark.json",Sy="./lottie/reactions/on_video/on_video_thumb_up_light.json",ky="./lottie/reactions/on_video/on_video_thumb_up_medium_dark.json",Cy="./lottie/reactions/on_video/on_video_thumb_up_medium_light.json",wy="./lottie/reactions/on_video/on_video_thumb_up_medium.json",Iy="./lottie/reactions/on_video/on_video_thumb_up_yellow.json",Ly="./lottie/reactions/on_video/on_video_wow.json",My="./lottie/reactions/prayer_dark.json",Ny="./lottie/reactions/prayer_light.json",Ry="./lottie/reactions/prayer_medium_dark.json",Oy="./lottie/reactions/prayer_medium_light.json",Py="./lottie/reactions/prayer_medium.json",Dy="./lottie/reactions/prayer_yellow.json",Fy="./lottie/reactions/raise_hand_dark.json",zy="./lottie/reactions/raise_hand_light.json",$y="./lottie/reactions/raise_hand_medium_dark.json",Vy="./lottie/reactions/raise_hand_medium_light.json",By="./lottie/reactions/raise_hand_medium.json",Uy="./lottie/reactions/raise_hand_yellow.json",Hy="./lottie/reactions/sad.json",Gy="./lottie/reactions/slow_down.json",jy="./lottie/reactions/smile.json",Wy="./lottie/reactions/speed_up.json",qy="./lottie/reactions/thumb_down_dark.json",Yy="./lottie/reactions/thumb_down_light.json",Ky="./lottie/reactions/thumb_down_medium_dark.json",Xy="./lottie/reactions/thumb_down_medium_light.json",Zy="./lottie/reactions/thumb_down_medium.json",Jy="./lottie/reactions/thumb_down_yellow.json",Qy="./lottie/reactions/thumb_up_dark.json",t0="./lottie/reactions/thumb_up_light.json",e0="./lottie/reactions/thumb_up_medium_dark.json",r0="./lottie/reactions/thumb_up_medium_light.json",i0="./lottie/reactions/thumb_up_medium.json",o0="./lottie/reactions/thumb_up_yellow.json",s0="./lottie/reactions/wow.json",a0="./lottie/space.json",n0="./lottie/success.json",l0="./lottie/teams.json",c0="./lottie/webex_logo_loop.json",d0="./lottie/welcome.json",h0={audio_video:xb,calling:Tb,alert_32px_loop:Ab,hello_32px:_b,processing_32px_end:Sb,processing_32px_loop:kb,processing_32px_start:Cb,responding_32px_end:wb,responding_32px_loop:Ib,responding_32px_start:Lb,contacts:Mb,discoverability_badge:Nb,heart_opacity_test:Rb,meeting:Ob,personal_insight:Pb,celebrate:Db,clap_dark:Fb,clap_light:zb,clap_medium_dark:$b,clap_medium_light:Vb,clap_medium:Bb,clap_yellow:Ub,fire:Hb,haha:Gb,heart:jb,on_video_celebrate:Wb,on_video_clap_dark:qb,on_video_clap_light:Yb,on_video_clap_medium_dark:Kb,on_video_clap_medium_light:Xb,on_video_clap_medium:Zb,on_video_clap_yellow:Jb,on_video_fire:Qb,on_video_haha:ty,on_video_heart:ey,on_video_prayer_dark:ry,on_video_prayer_light:iy,on_video_prayer_medium_dark:oy,on_video_prayer_medium_light:sy,on_video_prayer_medium:ay,on_video_prayer_yellow:ny,on_video_raise_hand_dark:ly,on_video_raise_hand_light:cy,on_video_raise_hand_medium_dark:dy,on_video_raise_hand_medium_light:hy,on_video_raise_hand_medium:my,on_video_raise_hand_yellow:py,on_video_sad:uy,on_video_slow_down:fy,on_video_smile:vy,on_video_speed_up:gy,on_video_thumb_down_dark:by,on_video_thumb_down_light:yy,on_video_thumb_down_medium_dark:Ey,on_video_thumb_down_medium_light:xy,on_video_thumb_down_medium:Ty,on_video_thumb_down_yellow:Ay,on_video_thumb_up_dark:_y,on_video_thumb_up_light:Sy,on_video_thumb_up_medium_dark:ky,on_video_thumb_up_medium_light:Cy,on_video_thumb_up_medium:wy,on_video_thumb_up_yellow:Iy,on_video_wow:Ly,prayer_dark:My,prayer_light:Ny,prayer_medium_dark:Ry,prayer_medium_light:Oy,prayer_medium:Py,prayer_yellow:Dy,raise_hand_dark:Fy,raise_hand_light:zy,raise_hand_medium_dark:$y,raise_hand_medium_light:Vy,raise_hand_medium:By,raise_hand_yellow:Uy,sad:Hy,slow_down:Gy,smile:jy,speed_up:Wy,thumb_down_dark:qy,thumb_down_light:Yy,thumb_down_medium_dark:Ky,thumb_down_medium_light:Xy,thumb_down_medium:Zy,thumb_down_yellow:Jy,thumb_up_dark:Qy,thumb_up_light:t0,thumb_up_medium_dark:e0,thumb_up_medium_light:r0,thumb_up_medium:i0,thumb_up_yellow:o0,wow:s0,space:a0,success:n0,teams:l0,webex_logo_loop:c0,welcome:d0};var m0=[xt],nu=m0;var lu=j.constructTagName("animation"),Rn={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var Fr=class extends J{constructor(){super(...arguments);this.name=Rn.NAME;this.loop=Rn.LOOP;this.autoplay=Rn.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledBy=null;this.containerRef=wn();this.onCompleteHandler=()=>{let e=new CustomEvent("complete",{detail:{name:this.name},bubbles:!0});this.dispatchEvent(e)}}get animation(){return this.lottieInstance}getLoopValue(){return this.loop==="true"?!0:this.loop==="false"?!1:this.loop?Number(this.loop):!0}onLoadSuccessHandler(e){this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy()),this.containerRef.value&&(this.lottieInstance=cu.default.loadAnimation({container:this.containerRef.value,renderer:"svg",loop:this.getLoopValue(),autoplay:this.autoplay,animationData:e,name:this.name}),this.lottieInstance.addEventListener("complete",this.onCompleteHandler)),this.dispatchEvent(new CustomEvent("load",{bubbles:!0,cancelable:!0,detail:{name:this.name}}))}onLoadFailHandler(e){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:e}});this.dispatchEvent(s)}getAnimationData(){return this.name&&Nn[this.name]?import(`@momentum-design/animations/dist${Nn[this.name].replace(/^\./,"")}`).then(s=>this.onLoadSuccessHandler(s.default)).catch(s=>this.onLoadFailHandler(s)):Promise.reject(new Error(`Invalid animation name: ${this.name}`))}updated(e){super.updated(e),(e.has("name")||e.has("loop")||e.has("autoplay"))&&this.getAnimationData().catch(s=>{var n;return(n=this.onerror)==null?void 0:n.call(this,s.message)}),(e.has("ariaLabel")||e.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null)}render(){return F`<div aria-hidden="true" ${In(this.containerRef)}></div>`}};Fr.styles=[...J.styles,...nu],y([A({type:String,reflect:!0})],Fr.prototype,"name",2),y([A({type:String,reflect:!0})],Fr.prototype,"loop",2),y([A({type:Boolean,reflect:!0})],Fr.prototype,"autoplay",2),y([A({type:String,attribute:"aria-label"})],Fr.prototype,"ariaLabel",2),y([A({type:String,attribute:"aria-labelledby"})],Fr.prototype,"ariaLabelledBy",2);var Rc=Fr;Rc.register(lu);var p0=Rc;})();
|
4551
4551
|
/*! Bundled license information:
|
4552
4552
|
|
4553
4553
|
lottie-web/build/player/lottie_light.js:
|