import{r as ref,d as defineComponent,c as useUserStore,x as watch,f as createVNode,dn as NSkeleton,ce as commonjsGlobal,cf as getDefaultExportFromCjs,Z as computed,n as onMounted,bj as openBlock,at as createElementBlock,b9 as normalizeStyle,bL as toRefs,C as nextTick,e as reactive,k as createTextVNode,a as useRoute,a1 as px2vw,a2 as onUnmounted,a3 as withDirectives,a4 as vModelText,F as Fragment,b as useMessage,T as Transition,H as NTooltip,dp as NDrawer,dq as NDrawerContent,t as NModal,v as NSpace,j as NButton,G as NPopover,b3 as isVNode}from"./index-a6d6496c.js";import{e as iconplay,f as iconpause,g as iconReplay$1,P as Plyr,t as tickMp3,V as Vudio,C as CardType}from"./index-b88fa978.js";import{b as beatIcon,t as toneIcon,s as setTimeIcon,a as toolbox,M as Moveable}from"./toneIcon-2a45bec1.js";import{N as NSlider}from"./icon-collect-active-f4557525.js";import{T as TrainSettings}from"./index-3c496e68.js";import{i as lessonPreTrainingPage,q as queryCourseware}from"./catchData-f90464b5.js";import{g as getImage,s as styles$5}from"./index-5275be7c.js";import{v as vaildUrl}from"./urlUtils-b7caaee8.js";import{T as TimerMeter}from"./index-84cd6470.js";import"./index-f5050233.js";import"./index-b2ac38ee.js";import"./index-e957e953.js";import"./index-aee93935.js";import"./index-a8268a6c.js";import"./index-cf806cc5.js";import"./Scrollbar-e8335014.js";import"./contants-e12e4ed1.js";const playContent="_playContent_1d3al_1",assignHomework="_assignHomework_1d3al_10",sectionAnimateUp="_sectionAnimateUp_1d3al_23",coursewarePlay="_coursewarePlay_1d3al_29",playModel="_playModel_1d3al_35",headerContainer="_headerContainer_1d3al_44",backBtn="_backBtn_1d3al_62",headRight="_headRight_1d3al_74",rightBtn="_rightBtn_1d3al_83",menu="_menu_1d3al_95",tabsContent="_tabsContent_1d3al_106",wraps="_wraps_1d3al_117",itemDiv="_itemDiv_1d3al_124",itemActive="_itemActive_1d3al_137",acitveAnimation="_acitveAnimation_1d3al_140",show="_show_1d3al_143",hide$1="_hide_1d3al_146",rightFixedBtns="_rightFixedBtns_1d3al_159",fullBtn="_fullBtn_1d3al_166",point="_point_1d3al_171",btnsDisabled="_btnsDisabled_1d3al_181",loadWrap="_loadWrap_1d3al_210",drawerContainer="_drawerContainer_1d3al_221",sectionAnimate$1="_sectionAnimate_1d3al_23",switchDisplaySection="_switchDisplaySection_1d3al_266",displayBtn="_displayBtn_1d3al_274",attendClassModal="_attendClassModal_1d3al_286",modelAttendContent="_modelAttendContent_1d3al_310",modelAttendBtnGroup="_modelAttendBtnGroup_1d3al_316",trainClassModal="_trainClassModal_1d3al_324",workContainer="_workContainer_1d3al_330",toolboxImg="_toolboxImg_1d3al_337",isDragIng="_isDragIng_1d3al_346",toolClassImg="_toolClassImg_1d3al_350",booxToolWrap="_booxToolWrap_1d3al_365",booxToolItem="_booxToolItem_1d3al_378",setTimeImage="_setTimeImage_1d3al_393",beatImage="_beatImage_1d3al_399",changePwdModal="_changePwdModal_1d3al_405",imChatModal="_imChatModal_1d3al_408",modeWrap="_modeWrap_1d3al_411",showModalTone="_showModalTone_1d3al_415",studentRemove="_studentRemove_1d3al_418",styles$4={playContent,assignHomework,sectionAnimateUp,coursewarePlay,playModel,headerContainer,backBtn,headRight,rightBtn,menu,tabsContent,wraps,itemDiv,itemActive,acitveAnimation,show,hide:hide$1,rightFixedBtns,fullBtn,point,btnsDisabled,loadWrap,drawerContainer,sectionAnimate:sectionAnimate$1,switchDisplaySection,displayBtn,attendClassModal,modelAttendContent,modelAttendBtnGroup,trainClassModal,workContainer,toolboxImg,isDragIng,toolClassImg,booxToolWrap,booxToolItem,setTimeImage,beatImage,changePwdModal,imChatModal,modeWrap,showModalTone,studentRemove},musicScore="_musicScore_10wpn_1",container="_container_10wpn_8",musicModel="_musicModel_10wpn_16",errorModel="_errorModel_10wpn_23",startBtn="_startBtn_10wpn_35",loading="_loading_10wpn_45",skeletonWrap="_skeletonWrap_10wpn_51",skeleton="_skeleton_10wpn_51",styles$3={musicScore,container,musicModel,errorModel,startBtn,loading,skeletonWrap,skeleton};var inBrowser=typeof window<"u",visibility;function usePageVisibility(){if(!visibility&&(visibility=ref("visible"),inBrowser)){const e=()=>{visibility.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return visibility}const MusicScore=defineComponent({name:"musicScore",props:{music:{type:Object,default:()=>({})},activeModel:{type:Boolean}},emits:["setIframe"],setup(e,{emit:t}){const r=useUserStore(),i=ref(!1),s=usePageVisibility();watch(s,u=>{console.log("🚀 ~ value:",u),u=="hidden"&&(i.value=!1)});const a=ref(),n=ref(!1),l=ref(!1),o=ref(!1),y=`${/(localhost|192)/.test(location.host)?"https://dev.kt.colexiu.com":location.origin}/instrument?platform=pc&zoom=1.2&modelType=practise&id=${e.music.content}&Authorization=${r.getToken}`,x=()=>{fetch(y).then(()=>{o.value=!0,l.value=!1}).catch(()=>{l.value=!0})};return watch(e.music,()=>{o.value||(l.value=!1,e.music.display&&x())}),()=>createVNode("div",{class:styles$3.musicScore},[createVNode("iframe",{ref:a,onLoad:()=>{t("setIframe",a.value),n.value=!0},class:[styles$3.container,"musicIframe"],frameborder:"0",src:y},null),n.value&&createVNode("div",{class:styles$3.skeletonWrap},[createVNode("div",null,[createVNode(NSkeleton,{text:!0,repeat:8},null)])])])}}),iconMenu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAMAAAAOusbgAAAAM1BMVEUAAAAAAAD39/fi4uKDg4PBwcEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///+Tuw5aAAAAEHRSTlNNAO3Jd6JIHQdGNilDPhgRTgnLQQAAAU5JREFUaN7s1usKgzAMhuFvtiZp62H3f7VzG1rQbVDRFEeen4HwgodS3DaGFDvCYaiLadhWVmHhSDgBRZYfYUmE01CSb2EOOFXgj2HpcbpetuExQEEY12GGEs5hrW4u5/AIRWMOS4CiIEu4h6p+DjOU8TssAcqCvMIJ6tIzLAR1JFOYUQFP4YgK4hQmVEA3DKhiQEIVCRFVRHSoogOhCoIxx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ZxvgaV5irl1gJ5ki3WOBAtjjDQd5iggM6ocNFR4GLggQXCQEuAhguGMuyLGf25mQ5QSiKougZSTu2iy0qaIIYsUXj+f/PSqUx4b5ChAdD1nzXbjQajWxO93TsOijNCs+D0cSEJnfJbysL5Wx9ful40DPlr8RFGe8Gfxhz6Oi3eDcuc94avEugI+K/m42iPl74p+1CwytTukXPsw5TZtAQMm1Z7NwXX5rQ4FFYoYD5QTQL6LADCm8FvgMKPWiZGRQmeCJeUBhDk9OmMEWunU9hZKGuc4gc5pFCYEGf16JwyfkOKQz3qGKjnNd4YK9+TVTTU84RMlkBhZOJqq6UrpnfEQV/h+oiCq1exvdMYRGjDmvlvIHCTSgMYtTjopw95TumcJijLiGFtoMU+0ah00d9po/P9if7dY+DMAxDAfhtVHCBNl0KHaCNikBUgAD5/seiS4c81ZvjKd+Y5Sn/dk25PSx1ktjdsLpIov3B1kjJd3Xc2rA5s6ishKE9r2mv7IAV/RQF5czZJ/N9jZR7Qib8Uqgvmn3y2zGXfyFNA+KU/EVm81m2XJEH11ZsgoPqJewDF4+npI7wwZV7Bx/cq0T44O5shKuwJg9wVtWyaBv4C810mFEURVH827cDGgAAEIZh/l2jgvckTEf3fYdT5IYhI8aqGCRjdE5hQcYjGQhlBFahX8WcGexWlN3j/fCu0DBoJJeUlgkntR01jVb7a1njTBfcBwf8k/vmN0H/ugAAAABJRU5ErkJggg==",iconNote=""+new URL("icon-note-e717c676.png",import.meta.url).href,iconWhiteboard=""+new URL("icon-whiteboard-c1022e62.png",import.meta.url).href,iconAssignHomework=""+new URL("icon-assignHomework-0794bd30.png",import.meta.url).href,iconOverPreivew=""+new URL("icon-over-preview-791959ba.png",import.meta.url).href;var lottie={exports:{}};(function(module,exports){typeof navigator<"u"&&function(e,t){module.exports=t()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,i=e.length,s;for(r=0;r1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e=[],t,r;for(t=0;t<256;t+=1)r=t.toString(16),e[t]=r.length===1?"0"+r:r;return function(i,s,a){return i<0&&(i=0),s<0&&(s=0),a<0&&(a=0),"#"+e[i]+e[s]+e[a]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(e)}var dataManager=function(){var e=1,t=[],r,i,s={onmessage:function(){},postMessage:function(S){r({data:S})}},a={postMessage:function(S){s.onmessage({data:S})}};function n(u){if(window.Worker&&window.Blob&&getWebWorker()){var S=new Blob(["var _workerSelf = self; self.onmessage = ",u.toString()],{type:"text/javascript"}),b=URL.createObjectURL(S);return new Worker(b)}return r=u,s}function l(){i||(i=n(function(S){function b(){function T(B,C){var _,p,P=B.length,k,V,R,H;for(p=0;p=0;C-=1)if(B[C].ty==="sh")if(B[C].ks.k.i)E(B[C].ks.k);else for(P=B[C].ks.k.length,p=0;p_[0]?!0:_[0]>B[0]?!1:B[1]>_[1]?!0:_[1]>B[1]?!1:B[2]>_[2]?!0:_[2]>B[2]?!1:null}var I=function(){var B=[4,4,14];function C(p){var P=p.t.d;p.t.d={k:[{s:P,t:0}]}}function _(p){var P,k=p.length;for(P=0;P=0;P-=1)if(p[P].ty==="sh")if(p[P].ks.k.i)p[P].ks.k.c=p[P].closed;else for(R=p[P].ks.k.length,V=0;V500)&&(this._imageLoaded(),clearInterval(d)),g+=1}.bind(this),50)}function a(c){var g=i(c,this.assetsPath,this.path),d=createNS("image");isSafari?this.testImageLoaded(d):d.addEventListener("load",this._imageLoaded,!1),d.addEventListener("error",function(){A.img=e,this._imageLoaded()}.bind(this),!1),d.setAttributeNS("http://www.w3.org/1999/xlink","href",g),this._elementHelper.append?this._elementHelper.append(d):this._elementHelper.appendChild(d);var A={img:d,assetData:c};return A}function n(c){var g=i(c,this.assetsPath,this.path),d=createTag("img");d.crossOrigin="anonymous",d.addEventListener("load",this._imageLoaded,!1),d.addEventListener("error",function(){A.img=e,this._imageLoaded()}.bind(this),!1),d.src=g;var A={img:d,assetData:c};return A}function l(c){var g={assetData:c},d=i(c,this.assetsPath,this.path);return dataManager.loadData(d,function(A){g.img=A,this._footageLoaded()}.bind(this),function(){g.img={},this._footageLoaded()}.bind(this)),g}function o(c,g){this.imagesLoadedCb=g;var d,A=c.length;for(d=0;dthis.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t=this.animationData.layers,r,i=t.length,s=e.layers,a,n=s.length;for(a=0;athis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):t<0?this.checkSegments(t%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,t=0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramet&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),_typeof$4(e[0])==="object"){var r,i=e.length;for(r=0;r=0;_-=1)t[_].animation.destroy(C)}function F(C,_,p){var P=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),k,V=P.length;for(k=0;k0?A=F:d=F;while(Math.abs(I)>a&&++D=s?T(d,O,A,E):L===0?O:m(d,I,I+o,A,E)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,r){var i=0,s=e,a=createSizedArray(s),n={newElement:l,release:o};function l(){var f;return i?(i-=1,f=a[i]):f=t(),f}function o(f){i===s&&(a=pooling.double(a),s*=2),r&&r(f),a[i]=f,i+=1}return n}}(),bezierLengthPool=function(){function e(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,e)}(),segmentsLengthPool=function(){function e(){return{lengths:[],totalLength:0}}function t(r){var i,s=r.lengths.length;for(i=0;i-.001&&g<.001}function r(u,S,b,m,T,c,g,d,A){if(b===0&&c===0&&A===0)return t(u,S,m,T,g,d);var E=e.sqrt(e.pow(m-u,2)+e.pow(T-S,2)+e.pow(c-b,2)),M=e.sqrt(e.pow(g-u,2)+e.pow(d-S,2)+e.pow(A-b,2)),I=e.sqrt(e.pow(g-m,2)+e.pow(d-T,2)+e.pow(A-c,2)),F;return E>M?E>I?F=E-M-I:F=I-M-E:I>M?F=I-M-E:F=M-E-I,F>-1e-4&&F<1e-4}var i=function(){return function(u,S,b,m){var T=getDefaultCurveSegments(),c,g,d,A,E,M=0,I,F=[],D=[],G=bezierLengthPool.newElement();for(d=b.length,c=0;cg?-1:1,E=!0;E;)if(m[c]<=g&&m[c+1]>g?(d=(g-m[c])/(m[c+1]-m[c]),E=!1):c+=A,c<0||c>=T-1){if(c===T-1)return b[c];E=!1}return b[c]+(b[c+1]-b[c])*d}function f(u,S,b,m,T,c){var g=o(T,c),d=1-g,A=e.round((d*d*d*u[0]+(g*d*d+d*g*d+d*d*g)*b[0]+(g*g*d+d*g*g+g*d*g)*m[0]+g*g*g*S[0])*1e3)/1e3,E=e.round((d*d*d*u[1]+(g*d*d+d*g*d+d*d*g)*b[1]+(g*g*d+d*g*g+g*d*g)*m[1]+g*g*g*S[1])*1e3)/1e3;return[A,E]}var y=createTypedArray("float32",8);function x(u,S,b,m,T,c,g){T<0?T=0:T>1&&(T=1);var d=o(T,g);c=c>1?1:c;var A=o(c,g),E,M=u.length,I=1-d,F=1-A,D=I*I*I,G=d*I*I*3,O=d*d*I*3,L=d*d*d,N=I*I*F,z=d*I*F+I*d*F+I*I*A,B=d*d*F+I*d*A+d*I*A,C=d*d*A,_=I*F*F,p=d*F*F+I*A*F+I*F*A,P=d*A*F+I*A*A+d*F*A,k=d*A*A,V=F*F*F,R=A*F*F+F*A*F+F*F*A,H=A*A*F+F*A*A+A*F*A,$=A*A*A;for(E=0;E=f.t-r){o.h&&(o=f),s=0;break}if(f.t-r>e){s=a;break}a=c||e=c?A.points.length-1:0;for(u=A.points[E].point.length,x=0;x=F&&M=c)i[0]=d[0],i[1]=d[1],i[2]=d[2];else if(e<=g)i[0]=o.s[0],i[1]=o.s[1],i[2]=o.s[2];else{var z=createQuaternion(o.s),B=createQuaternion(d),C=(e-g)/(c-g);quaternionToEuler(i,slerp(z,B,C))}else for(a=0;a=c?S=1:e1e-6?(u=Math.acos(S),b=Math.sin(u),m=Math.sin((1-r)*u)/b,T=Math.sin(r*u)/b):(m=1-r,T=r),i[0]=m*s+T*o,i[1]=m*a+T*f,i[2]=m*n+T*y,i[3]=m*l+T*x,i}function quaternionToEuler(e,t){var r=t[0],i=t[1],s=t[2],a=t[3],n=Math.atan2(2*i*a-2*r*s,1-2*i*i-2*s*s),l=Math.asin(2*r*i+2*s*a),o=Math.atan2(2*r*a-2*i*s,1-2*r*r-2*s*s);e[0]=n/degToRads,e[1]=l/degToRads,e[2]=o/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,i=e[2]*degToRads,s=Math.cos(t/2),a=Math.cos(r/2),n=Math.cos(i/2),l=Math.sin(t/2),o=Math.sin(r/2),f=Math.sin(i/2),y=s*a*n-l*o*f,x=l*o*n+s*a*f,u=l*a*n+s*o*f,S=s*o*n-l*a*f;return[x,u,S,y]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&e>=r||this._caching.lastFrame=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(e,this._caching);this.pv=i}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if(this.propType==="unidimensional")t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var r=0,i=this.v.length;r1e-5&&(this.v[r]=t,this._mdf=!0),r+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[i]||a[i]&&!s)&&(a[i]=pointPool.newElement()),a[i][0]=e,a[i][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,i,s,a,n,l){this.setXYAt(e,t,"v",n,l),this.setXYAt(r,i,"o",n,l),this.setXYAt(s,a,"i",n,l)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,i=this.i,s=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),s=1);var a=this._length-1,n=this._length,l;for(l=s;l=z[z.length-1].t-this.offsetTime)E=z[z.length-1].s?z[z.length-1].s[0]:z[z.length-2].e[0],I=!0;else{for(var B=A,C=z.length-1,_=!0,p,P,k;_&&(p=z[B],P=z[B+1],!(P.t-this.offsetTime>c));)B=P.t-this.offsetTime)L=1;else if(cd&&c>d)||(this._caching.lastIndex=A0||p>-1e-6&&p<0?i(p*P)/P:p}function _(){var p=this.props,P=C(p[0]),k=C(p[1]),V=C(p[4]),R=C(p[5]),H=C(p[12]),$=C(p[13]);return"matrix("+P+","+k+","+V+","+R+","+H+","+$+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=n,this.rotateY=l,this.rotateZ=o,this.skew=y,this.skewFromAxis=x,this.shear=f,this.scale=u,this.setTransform=S,this.translate=b,this.transform=m,this.multiply=T,this.applyToPoint=E,this.applyToX=M,this.applyToY=I,this.applyToZ=F,this.applyToPointArray=N,this.applyToTriplePoints=L,this.applyToPointStringified=z,this.toCSS=B,this.to2dCSS=_,this.clone=d,this.cloneFromProps=A,this.equals=g,this.inversePoints=O,this.inversePoint=G,this.getInverseMatrix=D,this._t=this.transform,this.isIdentity=c,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(r){return typeof r}:_typeof$3=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$3(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if(typeof e=="string")switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e)}function inBrowser(){return typeof navigator<"u"}function installPlugin(e,t){e==="expressions"&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var n=[],l,o=a.length,f;for(l=0;li+r)){var y,x;f.s*s<=i?y=0:y=(f.s*s-i)/r,f.e*s>=i+r?x=1:x=(f.e*s-i)/r,n.push([y,x])}return n.length||n.push([0,0]),n},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t1?t=1+i:this.s.v<0?t=0+i:t=this.s.v+i,this.e.v>1?r=1+i:this.e.v<0?r=0+i:r=this.e.v+i,t>r){var s=t;t=r,r=s}t=Math.round(t*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var a,n,l=this.shapes.length,o,f,y,x,u,S=0;if(r===t)for(n=0;n=0;n-=1)if(m=this.shapes[n],m.shape._mdf){for(T=m.localShapeCollection,T.releaseShapes(),this.m===2&&l>1?(A=this.calculateShapeEdges(t,r,m.totalShapeLength,d,S),d+=m.totalShapeLength):A=[[c,g]],f=A.length,o=0;o=1?b.push({s:m.totalShapeLength*(c-1),e:m.totalShapeLength*(g-1)}):(b.push({s:m.totalShapeLength*c,e:m.totalShapeLength}),b.push({s:0,e:m.totalShapeLength*(g-1)}));var E=this.addShapes(m,b[0]);if(b[0].s!==b[0].e){if(b.length>1){var M=m.shape.paths.shapes[m.shape.paths._length-1];if(M.c){var I=E.pop();this.addPaths(E,T),E=this.addShapes(m,b[1],I)}else this.addPaths(E,T),E=this.addShapes(m,b[1])}this.addPaths(E,T)}}m.shape.paths=T}}},TrimModifier.prototype.addPaths=function(e,t){var r,i=e.length;for(r=0;rt.e){r.c=!1;break}else t.s<=f&&t.e>=f+y.addedLength?(this.addSegment(s[a].v[l-1],s[a].o[l-1],s[a].i[l],s[a].v[l],r,x,T),T=!1):(S=bez.getNewSegment(s[a].v[l-1],s[a].v[l],s[a].o[l-1],s[a].i[l],(t.s-f)/y.addedLength,(t.e-f)/y.addedLength,u[l-1]),this.addSegmentFromArray(S,r,x,T),T=!1,r.c=!1),f+=y.addedLength,x+=1;if(s[a].c&&u.length){if(y=u[l-1],f<=t.e){var c=u[l-1].addedLength;t.s<=f&&t.e>=f+c?(this.addSegment(s[a].v[l-1],s[a].o[l-1],s[a].i[0],s[a].v[0],r,x,T),T=!1):(S=bez.getNewSegment(s[a].v[l-1],s[a].v[0],s[a].o[l-1],s[a].i[0],(t.s-f)/c,(t.e-f)/c,u[l-1]),this.addSegmentFromArray(S,r,x,T),T=!1,r.c=!1)}else r.c=!1;f+=y.addedLength,x+=1}if(r._length&&(r.setXYAt(r.v[m][0],r.v[m][1],"i",m),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),f>t.e)break;a=this.p.keyframes[this.p.keyframes.length-1].t?(y=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/f,0),x=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/f,0)):(y=this.p.pv,x=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/f,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){y=[],x=[];var u=this.px,S=this.py;u._caching.lastFrame+u.offsetTime<=u.keyframes[0].t?(y[0]=u.getValueAtTime((u.keyframes[0].t+.01)/f,0),y[1]=S.getValueAtTime((S.keyframes[0].t+.01)/f,0),x[0]=u.getValueAtTime(u.keyframes[0].t/f,0),x[1]=S.getValueAtTime(S.keyframes[0].t/f,0)):u._caching.lastFrame+u.offsetTime>=u.keyframes[u.keyframes.length-1].t?(y[0]=u.getValueAtTime(u.keyframes[u.keyframes.length-1].t/f,0),y[1]=S.getValueAtTime(S.keyframes[S.keyframes.length-1].t/f,0),x[0]=u.getValueAtTime((u.keyframes[u.keyframes.length-1].t-.01)/f,0),x[1]=S.getValueAtTime((S.keyframes[S.keyframes.length-1].t-.01)/f,0)):(y=[u.pv,S.pv],x[0]=u.getValueAtTime((u._caching.lastFrame+u.offsetTime-.01)/f,u.offsetTime),x[1]=S.getValueAtTime((S._caching.lastFrame+S.offsetTime-.01)/f,S.offsetTime))}else x=e,y=x;this.v.rotate(-Math.atan2(y[1]-x[1],y[0]-x[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 i(){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 s(){}function a(o){this._addDynamicProperty(o),this.elem.addDynamicProperty(o),this._isDirty=!0}function n(o,f,y){if(this.elem=o,this.frameId=-1,this.propType="transform",this.data=f,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(y||o),f.p&&f.p.s?(this.px=PropertyFactory.getProp(o,f.p.x,0,0,this),this.py=PropertyFactory.getProp(o,f.p.y,0,0,this),f.p.z&&(this.pz=PropertyFactory.getProp(o,f.p.z,0,0,this))):this.p=PropertyFactory.getProp(o,f.p||{k:[0,0,0]},1,0,this),f.rx){if(this.rx=PropertyFactory.getProp(o,f.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(o,f.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(o,f.rz,0,degToRads,this),f.or.k[0].ti){var x,u=f.or.k.length;for(x=0;x0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t0?Math.floor(u):Math.ceil(u),m=this.pMatrix.props,T=this.rMatrix.props,c=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var g=0;if(u>0){for(;gb;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),g-=1;S&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-S,!0),g-=S)}i=this.data.m===1?0:this._currentCopies-1,s=this.data.m===1?1:-1,a=this._currentCopies;for(var d,A;a;){if(t=this.elemsData[i].it,r=t[t.length-1].transform.mProps.v.props,A=r.length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),g!==0){for((i!==0&&s===1||i!==this._currentCopies-1&&s===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(T[0],T[1],T[2],T[3],T[4],T[5],T[6],T[7],T[8],T[9],T[10],T[11],T[12],T[13],T[14],T[15]),this.matrix.transform(c[0],c[1],c[2],c[3],c[4],c[5],c[6],c[7],c[8],c[9],c[10],c[11],c[12],c[13],c[14],c[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),d=0;d0&&i<1?[t]:[]:[t-i,t+i].filter(function(s){return s>0&&s<1})},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),r=lerpPoint(this.points[1],this.points[2],e),i=lerpPoint(this.points[2],this.points[3],e),s=lerpPoint(t,r,e),a=lerpPoint(r,i,e),n=lerpPoint(s,a,e);return[new PolynomialBezier(this.points[0],t,s,n,!0),new PolynomialBezier(n,a,i,this.points[3],!0)]};function extrema(e,t){var r=e.points[0][t],i=e.points[e.points.length-1][t];if(r>i){var s=i;i=r,r=s}for(var a=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),n=0;n0&&a[n]<1){var l=e.point(a[n])[t];li&&(i=l)}return{min:r,max:i}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function intersectData(e,t,r){var i=e.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:e,t:(t+r)/2,t1:t,t2:r}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return Math.abs(e.cx-t.cx)*2=a||e.width<=i&&e.height<=i&&t.width<=i&&t.height<=i){s.push([e.t,t.t]);return}var n=splitData(e),l=splitData(t);intersectsImpl(n[0],l[0],r+1,i,s,a),intersectsImpl(n[0],l[1],r+1,i,s,a),intersectsImpl(n[1],l[0],r+1,i,s,a),intersectsImpl(n[1],l[1],r+1,i,s,a)}}PolynomialBezier.prototype.intersections=function(e,t,r){t===void 0&&(t=2),r===void 0&&(r=7);var i=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,i,r),i},PolynomialBezier.shapeSegment=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[r],e.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[r],e.i[r],e.o[t],e.v[t],!0)};function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,r,i){var s=[e[0],e[1],1],a=[t[0],t[1],1],n=[r[0],r[1],1],l=[i[0],i[1],1],o=crossProduct(crossProduct(s,a),crossProduct(n,l));return floatZero(o[2])?null:[o[0]/o[2],o[1]/o[2]]}function polarOffset(e,t,r){return[e[0]+Math.cos(t)*r,e[1]-Math.sin(t)*r]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(e,t,r,i,s,a,n){var l=r-Math.PI/2,o=r+Math.PI/2,f=t[0]+Math.cos(r)*i*s,y=t[1]-Math.sin(r)*i*s;e.setTripleAt(f,y,f+Math.cos(l)*a,y-Math.sin(l)*a,f+Math.cos(o)*n,y-Math.sin(o)*n,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],i=-Math.PI*.5,s=[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]];return s}function getProjectingAngle(e,t){var r=t===0?e.length()-1:t-1,i=(t+1)%e.length(),s=e.v[r],a=e.v[i],n=getPerpendicularVector(s,a);return Math.atan2(0,1)-Math.atan2(n[1],n[0])}function zigZagCorner(e,t,r,i,s,a,n){var l=getProjectingAngle(t,r),o=t.v[r%t._length],f=t.v[r===0?t._length-1:r-1],y=t.v[(r+1)%t._length],x=a===2?Math.sqrt(Math.pow(o[0]-f[0],2)+Math.pow(o[1]-f[1],2)):0,u=a===2?Math.sqrt(Math.pow(o[0]-y[0],2)+Math.pow(o[1]-y[1],2)):0;setPoint(e,t.v[r%t._length],l,n,i,u/((s+1)*2),x/((s+1)*2))}function zigZagSegment(e,t,r,i,s,a){for(var n=0;n1&&t.length>1&&(s=getIntersection(e[0],t[t.length-1]),s)?[[e[0].split(s[0])[0]],[t[t.length-1].split(s[1])[1]]]:[r,i]}function pruneIntersections(e){for(var t,r=1;r1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var r=e.inflectionPoints(),i,s,a,n;if(r.length===0)return[offsetSegment(e,t)];if(r.length===1||floatEqual(r[1],1))return a=e.split(r[0]),i=a[0],s=a[1],[offsetSegment(i,t),offsetSegment(s,t)];a=e.split(r[0]),i=a[0];var l=(r[1]-r[0])/(1-r[0]);return a=a[1].split(l),n=a[0],s=a[1],[offsetSegment(i,t),offsetSegment(n,t),offsetSegment(s,t)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(e,t,r,i){var s=shapePool.newElement();s.c=e.c;var a=e.length();e.c||(a-=1);var n,l,o,f=[];for(n=0;n=0;n-=1)o=PolynomialBezier.shapeSegmentInverted(e,n),f.push(offsetSegmentSplit(o,t));f=pruneIntersections(f);var y=null,x=null;for(n=0;n0&&(R=!1),R){var W=createTag("style");W.setAttribute("f-forigin",p[P].fOrigin),W.setAttribute("f-origin",p[P].origin),W.setAttribute("f-family",p[P].fFamily),W.type="text/css",W.innerText="@font-face {font-family: "+p[P].fFamily+"; font-style: normal; src: url('"+p[P].fPath+"');}",_.appendChild(W)}}else if(p[P].fOrigin==="g"||p[P].origin===1){for(H=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),$=0;$=55296&&p<=56319){var P=C.charCodeAt(1);P>=56320&&P<=57343&&(_=(p-55296)*1024+P-56320+65536)}return _}function M(C,_){var p=C.toString(16)+_.toString(16);return x.indexOf(p)!==-1}function I(C){return C===o}function F(C){return C===l}function D(C){var _=E(C);return _>=f&&_<=y}function G(C){return D(C.substr(0,2))&&D(C.substr(2,2))}function O(C){return r.indexOf(C)!==-1}function L(C,_){var p=E(C.substr(_,2));if(p!==i)return!1;var P=0;for(_+=2;P<5;){if(p=E(C.substr(_,2)),pn)return!1;P+=1,_+=2}return E(C.substr(_,2))===s}function N(){this.isLoaded=!0}var z=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)};z.isModifier=M,z.isZeroWidthJoiner=I,z.isFlagEmoji=G,z.isRegionalCode=D,z.isCombinedCharacter=O,z.isRegionalFlag=L,z.isVariationSelector=F,z.BLACK_FLAG_CODE_POINT=i;var B={addChars:c,addFonts:T,getCharData:g,getFontByName:A,measureText:d,checkLoadedFonts:b,setIsLoaded:N};return z.prototype=B,z}();function SlotManager(e){this.animationData=e}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},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(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?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 t,r=this.renderableComponents.length;for(t=0;t.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(e){var t,r=this.layers.length,i;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(i=this.layers[t],i.ip-i.st<=e-this.layers[t].st&&i.op-i.st>e-this.layers[t].st&&this.buildItem(t)),this.completeLayers=this.elements[t]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e0&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(g,"url("+getLocationHref()+"#"+u+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t=this.element.finalTransform.mat,r,i=this.masksProperties.length;for(r=0;r1&&(i+=" C"+t.o[s-1][0]+","+t.o[s-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==i){var n="";r.elem&&(t.c&&(n=e.inv?this.solidPath+i:i),r.elem.setAttribute("d",n)),r.lastPath=i}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={};e.createFilter=t,e.createAlphaToLuminanceFilter=r;function t(i,s){var a=createNS("filter");return a.setAttribute("id",i),s!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function r(){var i=createNS("feColorMatrix");return i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),i}return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,r="SourceGraphic",i=e.data.ef?e.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s,!0),n=0;this.filters=[];var l;for(t=0;t=0&&(i=this.shapeModifiers[t].processShapes(this._isFirstFrame),!i);t-=1);}},searchProcessedElement:function(t){for(var r=this.processedElements,i=0,s=r.length;i.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e0;)c=u.transformers[D].mProps._mdf||c,F-=1,D-=1;if(c)for(F=E-u.styles[d].lvl,D=u.transformers.length-1;F>0;)I.multiply(u.transformers[D].mProps.v),F-=1,D-=1}else I=e;if(M=u.sh.paths,m=M._length,c){for(T="",b=0;b=1?N=.99:N<=-1&&(N=-.99);var z=O*N,B=Math.cos(L+u.a.v)*z+T[0],C=Math.sin(L+u.a.v)*z+T[1];b.setAttribute("fx",B),b.setAttribute("fy",C),m&&!u.g._collapsable&&(u.of.setAttribute("fx",B),u.of.setAttribute("fy",C))}}}function y(x,u,S){var b=u.style,m=u.d;m&&(m._mdf||S)&&m.dashStr&&(b.pElem.setAttribute("stroke-dasharray",m.dashStr),b.pElem.setAttribute("stroke-dashoffset",m.dashoffset[0])),u.c&&(u.c._mdf||S)&&b.pElem.setAttribute("stroke","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||S)&&b.pElem.setAttribute("stroke-opacity",u.o.v),(u.w._mdf||S)&&(b.pElem.setAttribute("stroke-width",u.w.v),b.msElem&&b.msElem.setAttribute("stroke-width",u.w.v))}return r}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t=this.shapes.length,r,i,s=this.stylesList.length,a,n=[],l=!1;for(i=0;i1&&l&&this.setShapesAsAnimated(n)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t=0;o-=1){if(T=this.searchProcessedElement(e[o]),T?t[o]=r[T-1]:e[o]._render=n,e[o].ty==="fl"||e[o].ty==="st"||e[o].ty==="gf"||e[o].ty==="gs"||e[o].ty==="no")T?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],s),e[o]._render&&t[o].style.pElem.parentNode!==i&&i.appendChild(t[o].style.pElem),u.push(t[o].style);else if(e[o].ty==="gr"){if(!T)t[o]=this.createGroupElement(e[o]);else for(x=t[o].it.length,y=0;y1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var i,s=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(i=0;it);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=[],r=0,i=e.length,s,a,n=!1,l=!1,o="";r=55296&&s<=56319?FontManager.isRegionalFlag(e,r)?o=e.substr(r,14):(a=e.charCodeAt(r+1),a>=56320&&a<=57343&&(FontManager.isModifier(s,a)?(o=e.substr(r,2),n=!0):FontManager.isFlagEmoji(e.substr(r,4))?o=e.substr(r,4):o=e.substr(r,2))):s>56319?(a=e.charCodeAt(r+1),FontManager.isVariationSelector(s)&&(n=!0)):FontManager.isZeroWidthJoiner(s)&&(n=!0,l=!0),n?(t[t.length-1]+=o,n=!1):t.push(o),r+=o.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,r=this.data,i=[],s,a,n,l=0,o,f=r.m.g,y=0,x=0,u=0,S=[],b=0,m=0,T,c,g=t.getFontByName(e.f),d,A=0,E=getFontProperties(g);e.fWeight=E.weight,e.fStyle=E.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),a=e.finalText.length,e.finalLineHeight=e.lh;var M=e.tr/1e3*e.finalSize,I;if(e.sz)for(var F=!0,D=e.sz[0],G=e.sz[1],O,L;F;){L=this.buildFinalText(e.t),O=0,b=0,a=L.length,M=e.tr/1e3*e.finalSize;var N=-1;for(s=0;sD&&L[s]!==" "?(N===-1?a+=1:s=N,O+=e.finalLineHeight||e.finalSize*1.2,L.splice(s,N===s?1:0,"\r"),N=-1,b=0):(b+=A,b+=M);O+=g.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&Gm?b:m,b=-2*M,o="",n=!0,u+=1):o=B,t.chars?(d=t.getCharData(B,g.fStyle,t.getFontByName(e.f).fFamily),A=n?0:d.w*e.finalSize/100):A=t.measureText(o,e.f,e.finalSize),B===" "?z+=A+M:(b+=A+M+z,z=0),i.push({l:A,an:A,add:y,n,anIndexes:[],val:o,line:u,animatorJustifyOffset:0}),f==2){if(y+=A,o===""||o===" "||s===a-1){for((o===""||o===" ")&&(y-=A);x<=s;)i[x].an=y,i[x].ind=l,i[x].extra=A,x+=1;l+=1,y=0}}else if(f==3){if(y+=A,o===""||s===a-1){for(o===""&&(y-=A);x<=s;)i[x].an=y,i[x].ind=l,i[x].extra=A,x+=1;y=0,l+=1}}else i[l].ind=l,i[l].extra=0,l+=1;if(e.l=i,m=b>m?b:m,S.push(b),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=m,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=S;var C=r.a,_,p;c=C.length;var P,k,V=[];for(T=0;T0?l=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?f=1-this.xe.v/100:y=1+this.xe.v/100;var x=BezierFactory.getBezierEasing(l,o,f,y).get,u=0,S=this.finalS,b=this.finalE,m=this.data.sh;if(m===2)b===S?u=n>=b?1:0:u=e(0,t(.5/(b-S)+(n-S)/(b-S),1)),u=x(u);else if(m===3)b===S?u=n>=b?0:1:u=1-e(0,t(.5/(b-S)+(n-S)/(b-S),1)),u=x(u);else if(m===4)b===S?u=0:(u=e(0,t(.5/(b-S)+(n-S)/(b-S),1)),u<.5?u*=2:u=1-2*(u-.5)),u=x(u);else if(m===5){if(b===S)u=0;else{var T=b-S;n=t(e(0,n+.5-S),b-S);var c=-T/2+n,g=T/2;u=Math.sqrt(1-c*c/(g*g))}u=x(u)}else m===6?(b===S?u=0:(n=t(e(0,n+.5-S),b-S),u=(1+Math.cos(Math.PI+Math.PI*2*n/(b-S)))/2),u=x(u)):(n>=r(S)&&(n-S<0?u=e(0,t(t(b,1)-(S-n),1)):u=e(0,t(b-n,1))),u=x(u));if(this.sm.v!==100){var d=this.sm.v*.01;d===0&&(d=1e-8);var A=.5-d*.5;u1&&(u=1))}return u*this.a.v},getValue:function(n){this.iterateDynamicProperties(),this._mdf=n||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,n&&this.data.r===2&&(this.e.v=this._currentTextLength);var l=this.data.r===2?1:100/this.data.totalChars,o=this.o.v/l,f=this.s.v/l+o,y=this.e.v/l+o;if(f>y){var x=f;f=y,y=x}this.finalS=f,this.finalE=y}},extendPrototype([DynamicPropertyContainer],i);function s(a,n,l){return new i(a,n)}return{getTextSelectorProp:s}}();function TextAnimatorDataProperty(e,t,r){var i={propType:!1},s=PropertyFactory.getProp,a=t.a;this.a={r:a.r?s(e,a.r,0,degToRads,r):i,rx:a.rx?s(e,a.rx,0,degToRads,r):i,ry:a.ry?s(e,a.ry,0,degToRads,r):i,sk:a.sk?s(e,a.sk,0,degToRads,r):i,sa:a.sa?s(e,a.sa,0,degToRads,r):i,s:a.s?s(e,a.s,1,.01,r):i,a:a.a?s(e,a.a,1,0,r):i,o:a.o?s(e,a.o,0,.01,r):i,p:a.p?s(e,a.p,1,0,r):i,sw:a.sw?s(e,a.sw,0,0,r):i,sc:a.sc?s(e,a.sc,1,0,r):i,fc:a.fc?s(e,a.fc,1,0,r):i,fh:a.fh?s(e,a.fh,0,0,r):i,fs:a.fs?s(e,a.fs,0,.01,r):i,fb:a.fb?s(e,a.fb,0,.01,r):i,t:a.t?s(e,a.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t=this._textData.a.length,r,i=PropertyFactory.getProp;for(e=0;e=b+te||!E?(D=(b+te-T)/m.partialLength,$=A.point[0]+(m.point[0]-A.point[0])*D,W=A.point[1]+(m.point[1]-A.point[1])*D,a.translate(-r[0]*u[y].an*.005,-(r[1]*z)*.01),c=!1):E&&(T+=m.partialLength,g+=1,g>=E.length&&(g=0,d+=1,M[d]?E=M[d].points:O.v.c?(g=0,d=0,E=M[d].points):(T-=m.partialLength,E=null)),E&&(A=m,m=E[g],I=m.partialLength));H=u[y].an/2-u[y].add,a.translate(-H,0,0)}else H=u[y].an/2-u[y].add,a.translate(-H,0,0),a.translate(-r[0]*u[y].an*.005,-r[1]*z*.01,0);for(p=0;pe?this.textSpans[e].span:createNS(l?"g":"text"),d<=e){if(o.setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=o,l){var E=createNS("g");o.appendChild(E),this.textSpans[e].childSpan=E}this.textSpans[e].span=o,this.layerElement.appendChild(o)}o.style.display="inherit"}if(f.reset(),x&&(n[e].n&&(u=-m,S+=r.yOffset,S+=b?1:0,b=!1),this.applyTextPropertiesToMatrix(r,f,n[e].line,u,S),u+=n[e].l||0,u+=m),l){A=this.globalData.fontManager.getCharData(r.finalText[e],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var M;if(A.t===1)M=new SVGCompElement(A.data,this.globalData,this);else{var I=emptyShapeData;A.data&&A.data.shapes&&(I=this.buildShapeData(A.data,r.finalSize)),M=new SVGShapeElement(I,this.globalData,this)}if(this.textSpans[e].glyph){var F=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(F.layerElement),F.destroy()}this.textSpans[e].glyph=M,M._debug=!0,M.prepareFrame(0),M.renderFrame(),this.textSpans[e].childSpan.appendChild(M.layerElement),A.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else x&&o.setAttribute("transform","translate("+f.props[12]+","+f.props[13]+")"),o.textContent=n[e].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}x&&o&&o.setAttribute("d",y)}for(;e=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e=0;i-=1)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=a},processSequences:function(t){var r,i=this.sequenceList.length;for(r=0;r=1){this.buffers=[];var t=this.globalData.canvasContext,r=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(r);var i=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(i),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=r}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],r=t.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],r=t.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var i=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(i.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var s=assetLoader.getLumaCanvas(this.canvasContext.canvas),a=s.getContext("2d");a.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(s,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var r=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(r),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(r),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(e,t,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s=4;t.ty==="rc"?s=5:t.ty==="el"?s=6:t.ty==="sr"&&(s=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,s,e);var a,n=r.length,l;for(a=0;a=0;a-=1){if(x=this.searchProcessedElement(e[a]),x?t[a]=r[x-1]:e[a]._shouldRender=i,e[a].ty==="fl"||e[a].ty==="st"||e[a].ty==="gf"||e[a].ty==="gs")x?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],b),f.push(t[a].style);else if(e[a].ty==="gr"){if(!x)t[a]=this.createGroupElement(e[a]);else for(o=t[a].it.length,l=0;l=0;s-=1)t[s].ty==="tr"?(n=r[s].transform,this.renderShapeTransform(e,n)):t[s].ty==="sh"||t[s].ty==="el"||t[s].ty==="rc"||t[s].ty==="sr"?this.renderPath(t[s],r[s]):t[s].ty==="fl"?this.renderFill(t[s],r[s],n):t[s].ty==="st"?this.renderStroke(t[s],r[s],n):t[s].ty==="gf"||t[s].ty==="gs"?this.renderGradientFill(t[s],r[s],n):t[s].ty==="gr"?this.renderShape(n,t[s].it,r[s].it):t[s].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r=e.trNodes,i=t.paths,s,a,n,l=i._length;r.length=0;var o=e.transforms.finalTransform;for(n=0;n=1?y=.99:y<=-1&&(y=-.99);var x=o*y,u=Math.cos(f+t.a.v)*x+n[0],S=Math.sin(f+t.a.v)*x+n[1];s=a.createRadialGradient(u,S,0,n[0],n[1],o)}var b,m=e.g.p,T=t.g.c,c=1;for(b=0;ba&&o==="xMidYMid slice"||ss&&l==="meet"||as&&l==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:f==="xMax"&&(as&&l==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,y==="YMid"&&(a>s&&l==="meet"||as&&l==="meet"||a=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if(!(this.renderedFrame===e&&this.renderConfig.clearCanvas===!0&&!t||this.destroyed||e===-1)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var e,t=15;for(e=0;e=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var e,t=this.layers.length;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:t&&t.clearCanvas!==void 0?t.clearCanvas:!0,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();t.transform=r,t.webkitTransform=r}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(e,t,r){this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?(e=createNS("rect"),e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(e=createTag("div"),e.style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)};function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,i=e.length;for(r=0;r0&&o<1&&s[u].push(this.calculateF(o,e,t,r,i,u))):(f=n*n-4*l*a,f>=0&&(y=(-n+bmSqrt(f))/(2*a),y>0&&y<1&&s[u].push(this.calculateF(y,e,t,r,i,u)),x=(-n-bmSqrt(f))/(2*a),x>0&&x<1&&s[u].push(this.calculateF(x,e,t,r,i,u)))));this.shapeBoundingBox.left=bmMin.apply(null,s[0]),this.shapeBoundingBox.top=bmMin.apply(null,s[1]),this.shapeBoundingBox.right=bmMax.apply(null,s[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,s[1])},HShapeElement.prototype.calculateF=function(e,t,r,i,s,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*r[a]+3*(1-e)*bmPow(e,2)*i[a]+bmPow(e,3)*s[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,i=e.length;for(r=0;rr&&(r=s)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax=0;t-=1){var i=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var s;this.p?s=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:s=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),n=[s[0]/a,s[1]/a,s[2]/a],l=Math.sqrt(n[2]*n[2]+n[0]*n[0]),o=Math.atan2(n[1],l),f=Math.atan2(n[0],-n[2]);this.mat.rotateY(f).rotateX(-o)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var y=!this._prevMat.equals(this.mat);if((y||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var x,u,S;for(t=0;t=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r=createTag("div"),i,s;styleDiv(r);var a=createTag("div");if(styleDiv(a),t==="3d"){i=r.style,i.width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";var n="50% 50%";i.webkitTransformOrigin=n,i.mozTransformOrigin=n,i.transformOrigin=n,s=a.style;var l="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.transform=l,s.webkitTransform=l}r.appendChild(a);var o={container:a,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(o),o},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,r,i="";for(e=0;e=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,i=this.threeDElements.length;rr?(s=e/this.globalData.compSize.w,a=e/this.globalData.compSize.w,n=0,l=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(s=t/this.globalData.compSize.h,a=t/this.globalData.compSize.h,n=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,l=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+s+",0,0,0,0,"+a+",0,0,0,0,1,0,"+n+","+l+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e=this.globalData.compSize.w,t=this.globalData.compSize.h,r,i=this.threeDElements.length;for(r=0;r=f;)O/=2,L/=2,N>>>=1;return(O+N)/L};return D.int32=function(){return F.g(4)|0},D.quick=function(){return F.g(4)/4294967296},D.double=D,T(g(F.S),e),(A.pass||E||function(G,O,L,N){return N&&(N.S&&b(N,F),G.state=function(){return b(F,{})}),L?(t[n]=G,O):G})(D,I,"global"in A?A.global:this==t,A.state)}t["seed"+n]=u;function S(d){var A,E=d.length,M=this,I=0,F=M.i=M.j=0,D=M.S=[];for(E||(d=[E++]);Ir){var i=r;r=t,t=i}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if(typeof e=="number"||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var r,i=Math.min(e.length,t.length),s=0;for(r=0;r.5?f/(2-s-a):f/(s+a),s){case t:n=(r-i)/f+(r1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t=e[0],r=e[1],i=e[2],s,a,n;if(r===0)s=i,n=i,a=i;else{var l=i<.5?i*(1+r):i+r-i*r,o=2*i-l;s=hue2rgb(o,l,t+1/3),a=hue2rgb(o,l,t),n=hue2rgb(o,l,t-1/3)}return[s,a,n,e[3]]}function linear(e,t,r,i,s){if((i===void 0||s===void 0)&&(i=t,s=r,t=0,r=1),r=r)return s;var n=r===t?0:(e-t)/(r-t);if(!i.length)return i+(s-i)*n;var l,o=i.length,f=createTypedArray("float32",o);for(l=0;l1){for(s=0;s1?t=1:t<0&&(t=0);var n=e(t);if($bm_isInstanceOfArray(s)){var l,o=s.length,f=createTypedArray("float32",o);for(l=0;ldata.k[t].t&&edata.k[t+1].t-e?(i=t+2,s=data.k[t+1].t):(i=t+1,s=data.k[t].t);break}i===-1&&(i=t+1,s=data.k[t].t)}var a={};return a.index=i,a.time=s/elem.comp.globalData.frameRate,a}function key(e){var t,r,i;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var s=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(i=s.length,r=0;rT.length-1)&&(S=T.length-1),d=T[T.length-1-S].t,g=c-d);var A,E,M;if(u==="pingpong"){var I=Math.floor((m-d)/g);if(I%2!==0)return this.getValueAtTime((g-(m-d)%g+d)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var F=this.getValueAtTime(d/this.comp.globalData.frameRate,0),D=this.getValueAtTime(c/this.comp.globalData.frameRate,0),G=this.getValueAtTime(((m-d)%g+d)/this.comp.globalData.frameRate,0),O=Math.floor((m-d)/g);if(this.pv.length){for(M=new Array(F.length),E=M.length,A=0;A=c)return this.pv;var g,d;b?(S?g=Math.abs(this.elem.comp.globalData.frameRate*S):g=Math.max(0,this.elem.data.op-c),d=c+g):((!S||S>T.length-1)&&(S=T.length-1),d=T[S].t,g=d-c);var A,E,M;if(u==="pingpong"){var I=Math.floor((c-m)/g);if(I%2===0)return this.getValueAtTime(((c-m)%g+c)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var F=this.getValueAtTime(c/this.comp.globalData.frameRate,0),D=this.getValueAtTime(d/this.comp.globalData.frameRate,0),G=this.getValueAtTime((g-(c-m)%g+c)/this.comp.globalData.frameRate,0),O=Math.floor((c-m)/g)+1;if(this.pv.length){for(M=new Array(F.length),E=M.length,A=0;A1?(T-m)/(S-1):1,g=0,d=0,A;this.pv.length?A=createTypedArray("float32",this.pv.length):A=0;for(var E;gg){var I=d,F=m.c&&d===A-1?0:d+1,D=(g-E)/c[d].addedLength;M=bez.getPointInSegment(m.v[I],m.v[F],m.o[I],m.i[F],D,c[d]);break}else E+=c[d].addedLength;d+=1}return M||(M=m.c?[m.v[0][0],m.v[0][1]]:[m.v[m._length-1][0],m.v[m._length-1][1]]),M},vectorOnPath:function(S,b,m){S==1?S=this.v.c:S==0&&(S=.999);var T=this.pointOnPath(S,b),c=this.pointOnPath(S+.001,b),g=c[0]-T[0],d=c[1]-T[1],A=Math.sqrt(Math.pow(g,2)+Math.pow(d,2));if(A===0)return[0,0];var E=m==="tangent"?[g/A,d/A]:[-d/A,g/A];return E},tangentOnPath:function(S,b){return this.vectorOnPath(S,b,"tangent")},normalOnPath:function(S,b){return this.vectorOnPath(S,b,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([y],o),extendPrototype([y],f),f.prototype.getValueAtTime=l,f.prototype.initiateExpression=ExpressionManager.initiateExpression;var x=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(u,S,b,m,T){var c=x(u,S,b,m,T);return c.propertyIndex=S.ix,c.lock=!1,b===3?expressionHelpers.searchExpressions(u,S.pt,c):b===4&&expressionHelpers.searchExpressions(u,S.ks,c),c.k&&u.addDynamicProperty(c),c}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function e(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(t,r){var i=this.calculateExpression(r);if(t.t!==i){var s={};return this.copyData(s,t),s.t=i.toString(),s.__complete=!1,s}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),r=this.searchExpressions();return this.kf=t||r,this.kf},TextProperty.prototype.searchExpressions=e}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function e(t,r){var i=createNS("feMerge");i.setAttribute("result",t);var s,a;for(a=0;a=f?x=b<0?i:s:x=i+S*Math.pow((l-e)/b,1/r),y[u]=x,u+=1,a+=256/(n-1);return y.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}};function SVGDropShadowEffect(e,t,r,i,s){var a=t.container.globalData.renderConfig.filterSize,n=t.data.fs||a;e.setAttribute("x",n.x||a.x),e.setAttribute("y",n.y||a.y),e.setAttribute("width",n.width||a.width),e.setAttribute("height",n.height||a.height),this.filterManager=t;var l=createNS("feGaussianBlur");l.setAttribute("in","SourceAlpha"),l.setAttribute("result",i+"_drop_shadow_1"),l.setAttribute("stdDeviation","0"),this.feGaussianBlur=l,e.appendChild(l);var o=createNS("feOffset");o.setAttribute("dx","25"),o.setAttribute("dy","0"),o.setAttribute("in",i+"_drop_shadow_1"),o.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=o,e.appendChild(o);var f=createNS("feFlood");f.setAttribute("flood-color","#00ff00"),f.setAttribute("flood-opacity","1"),f.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=f,e.appendChild(f);var y=createNS("feComposite");y.setAttribute("in",i+"_drop_shadow_3"),y.setAttribute("in2",i+"_drop_shadow_2"),y.setAttribute("operator","in"),y.setAttribute("result",i+"_drop_shadow_4"),e.appendChild(y);var x=this.createMergeNode(i,[i+"_drop_shadow_4",s]);e.appendChild(x)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(t[0]*255),Math.round(t[1]*255),Math.round(t[2]*255)))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t-1&&e%1==0&&e-1&&e%1==0&&e<=MAX_SAFE_INTEGER}function isArrayLike(e){return e!=null&&isLength(e.length)&&!isFunction(e)}var objectProto$a=Object.prototype;function isPrototype(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||objectProto$a;return e===r}function baseTimes(e,t){for(var r=-1,i=Array(e);++r-1}function listCacheSet(e,t){var r=this.__data__,i=assocIndexOf(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}function ListCache(e){var t=-1,r=e==null?0:e.length;for(this.clear();++tl))return!1;var f=a.get(e),y=a.get(t);if(f&&y)return f==t&&y==e;var x=-1,u=!0,S=r&COMPARE_UNORDERED_FLAG$1?new SetCache:void 0;for(a.set(e,t),a.set(t,e);++x{const r=e.__vccOpts||e;for(const[i,s]of t)r[i]=s;return r};const _sfc_main=defineComponent({props:{animationData:{type:Object,default:()=>({})},animationLink:{type:String,default:""},loop:{type:[Boolean,Number],default:!0},autoPlay:{type:Boolean,default:!0},width:{type:[Number,String],default:"100%"},height:{type:[Number,String],default:"100%"},speed:{type:Number,default:1},delay:{type:Number,default:0},direction:{type:String,default:"forward"},pauseOnHover:{type:Boolean,default:!1},playOnHover:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"},pauseAnimation:{type:Boolean,default:!1},renderer:{type:String,default:"svg"},rendererSettings:{type:Object,default:()=>({})},assetsPath:{type:String,default:""}},emits:{onComplete:null,onLoopComplete:null,onEnterFrame:null,onSegmentStart:null,onAnimationLoaded:null},setup(e,{emit:t}){let r=ref(null);const i=ref("");let s=1;const a=F=>document.querySelector(`[data-id="${F}"]`)!==null,n=async F=>{let D=e.autoPlay;e.playOnHover&&(D=!1);let G={};if(isEqual(e.animationData,{})===!1&&(G=cloneDeep(e.animationData)),e.animationLink!="")try{G=await(await fetch(e.animationLink)).json()}catch(N){console.error(N);return}let O=e.loop;typeof O=="number"&&O>0&&(O=O-1),e.delay>0&&(D=!1);const L={container:F,renderer:e.renderer,loop:O,autoplay:D,animationData:G,assetsPath:e.assetsPath};isEqual(e.rendererSettings,{})===!1&&(L.rendererSettings=e.rendererSettings),r=Lottie.loadAnimation(L),setTimeout(()=>{D=e.autoPlay,e.playOnHover?r.pause():D?r.play():r.pause(),t("onAnimationLoaded")},e.delay),r.setSpeed(e.speed),e.direction==="reverse"&&r.setDirection(-1),e.direction==="normal"&&r.setDirection(1),(e.pauseAnimation||e.playOnHover)&&r.pause(),r.addEventListener("loopComplete",()=>{e.direction==="alternate"&&(r.stop(),s=s*-1,r.setDirection(s),r.play()),t("onLoopComplete")}),r.addEventListener("complete",()=>{t("onComplete")}),r.addEventListener("enterFrame",()=>{t("onEnterFrame")}),r.addEventListener("segmentStart",()=>{t("onSegmentStart")})},l=computed(()=>{let F=e.width,D=e.height;return typeof e.width=="number"&&(F=`${e.width}px`),typeof e.height=="number"&&(D=`${e.height}px`),{"--lottie-animation-container-width":F,"--lottie-animation-container-height":D,"--lottie-animation-container-background-color":e.backgroundColor}}),o=()=>{r&&e.pauseOnHover&&r.pause(),r&&e.playOnHover&&r.play()},f=()=>{r&&e.pauseOnHover&&r.play(),r&&e.playOnHover&&r.pause()};watch(()=>e.pauseAnimation,()=>{if((e.pauseOnHover||e.playOnHover)&&e.pauseAnimation){console.error("If you are using pauseAnimation prop for Vue3-Lottie, please remove the props pauseOnHover and playOnHover");return}r&&(e.pauseAnimation?r.pause():r.play())});const y=()=>{r&&r.play()},x=()=>{r&&r.pause()},u=()=>{r&&r.stop()},S=()=>{r&&r.destroy()},b=(F=1)=>{if(F<=0)throw new Error("Speed must be greater than 0");r&&r.setSpeed(F)},m=F=>{r&&(F==="forward"?r.setDirection(1):F==="reverse"&&r.setDirection(-1))},T=(F,D=!0)=>{r&&r.goToAndStop(F,D)},c=(F,D=!0)=>{r&&r.goToAndPlay(F,D)},g=(F,D=!1)=>{r&&r.playSegments(F,D)},d=(F=!0)=>{r&&r.setSubframe(F)},A=(F=!0)=>{if(r)return r.getDuration(F)},E=(F,D=0)=>{r&&r.renderer.elements[D].updateDocumentData(F)},M=F=>{for(var D="",G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",O=G.length,L=0;L{if(e.pauseOnHover&&e.playOnHover)throw new Error("You cannot set pauseOnHover and playOnHover for Vue3-Lottie at the same time.");if(e.animationLink===""&&isEqual(e.animationData,{}))throw new Error("You must provide either animationLink or animationData");const D=setInterval(()=>{if(a(F)){clearInterval(D);const G=document.querySelector(`[data-id="${F}" ]`);G&&n(G)}},0)};return onMounted(async()=>{i.value=M(20),I(i.value)}),{elementid:i,hoverEnded:f,hoverStarted:o,getCurrentStyle:l,play:y,pause:x,stop:u,destroy:S,setSpeed:b,setDirection:m,goToAndStop:T,goToAndPlay:c,playSegments:g,setSubFrame:d,getDuration:A,updateDocumentData:E}}}),_hoisted_1=["data-id"];function _sfc_render(e,t,r,i,s,a){return openBlock(),createElementBlock("div",{"data-id":e.elementid,class:"lottie-animation-container",style:normalizeStyle(e.getCurrentStyle),onMouseenter:t[0]||(t[0]=(...n)=>e.hoverStarted&&e.hoverStarted(...n)),onMouseleave:t[1]||(t[1]=(...n)=>e.hoverEnded&&e.hoverEnded(...n))},null,44,_hoisted_1)}var Vue3Lottie=_export_sfc(_sfc_main,[["render",_sfc_render]]);const v="5.7.1",fr=60,ip=0,op=120,w=2436,h=1125,nm="合成 1",ddd=0,assets=[{id:"image_0",w:195,h:264,u:"",p:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMMAAAEICAYAAADiJ0BpAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAgAElEQVR4nO19ebxlRXXut85tGhBoZGjAhEkRISjJQ5QYYwjghBFiVMQ5xhiHRJOoz0jEiahIElEjUcOLmJ8xosGg4hRFoy2IedHggMg8NUQF6WZqmga6++4vf1StqlW19xnu1Hc3d31w+5yzd1WtqtprrqpzBFsh7r9p1aOmNzdHgTyK4AFosFKEKwksBxj+JwEBQMZa8TV+ZvwcitC0Hu+T4R6YmpFUj6bdXDYWCKVqurlwqgMBpCiby5CESEm37Kul30Ay8dwJ4C6Qt1HkFwJ+F4PBBZze8Vu7PubEu0bP8NKELHYHJgV5zbb3rb7p+U3D14H8VeWUNpMAaDE6K2Yu7xkilQABqJlV38dylmlrgUvXbT9HCeEQASI5om/luFQZJBqxXSPU9wrwiW22HZyx06/90U/qeV7K2CqE4d4bv/lETvOjIPcLPGe0YnzIlmktoymzgsgMXDGk3lbhyEyE+FlKZq6tQmwg1RcphbBi4lxO6Yf22/03n5H72U2/qq8W0sxPukNCRAjyzF1WLDtJDn7Z3TN+KA9A9FoYSA7uvXHV36Hha0jGZ0qjlZEYCqg1JFQtF0xh3Z7KrTB1Ev18v9DMlqnQwcTI9WKbNPdzHRbFIFkA2/S72syC1KZPU6+ir1cIyEBukin+7i6PftUlrQewxNBbYSA5dd/qVR9vmuYFACptnUppWWAEQ6s/39K2hnFSOXO9m9HbblVyY6p+FfSL/pdCVGvwFk3pErQ8ztpaJcEFYjxhi7cVh5B3NAMcu/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ANQSXWnpJSoZM5Pa86alKYrhN0Pj7PB2lfvVlX59J7hkRdTFLljtUKvYnjakrlBsLbZ/qPNJZX6Se/lOFy2OocUix2CBpczskB0zthsQ0DWkNsEnv2KSoDO9AsrzNhGv09jQq/55xs5XNQ0rOxET5Ul745RG223vl1VNVSl4L/GKqSktVWnw5VSXt7JDXNJVmo3nGy4rT0lRKCgn0NJWZ+r1x8gwsU5RxsZS7B8xzE6vSCjPNkKlpKiVFpcEtlPSiZZrM8v9MVZnnloFS6oZUFTjZntY0lXkyS0lTubPNPBmHD7bhgKn1wGFuNw9mw4mTZx8BjuWWABH2MYxr+olnw225PdDSVKLcGOAGbo4Fzi43AUqayg320VcPcrlNAGzSVGqKymtnf8CHXExR4SGuOC1NxbEYHuO8+H1SVIDLaSpAS1X55m+wfPLaT3jCy5cvefLpH0r7n1+ZF9s0la/4is9+/q/LNxDuuX3wa5rKv6/8EycY65bo+YM2AAAAAElFTkSuQmCC",e:1}],layers=[{ddd:0,ind:1,ty:2,nm:"加载视频@3x.png",cl:"png",refId:"image_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[1218,562,0],ix:2},a:{a:0,k:[97.5,132,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:300,st:0,bm:0},{ddd:0,ind:2,ty:2,nm:"进度条@3x.png",cl:"png",refId:"image_1",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:60,s:[100],e:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:61,s:[0],e:[0]},{t:120}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[678,587.5,0],ix:2},a:{a:0,k:[0,1.5,0],ix:1},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:0,s:[0,100,100],e:[100,100,100]},{t:60}],ix:6}},ao:0,ip:0,op:300,st:0,bm:0},{ddd:0,ind:3,ty:2,nm:"进度条@3x.png",cl:"png",refId:"image_1",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0],e:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:60,s:[0],e:[100]},{t:61}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[1758,589,0],ix:2},a:{a:0,k:[1080,3,0],ix:1},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:60,s:[100,100,100],e:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:61,s:[100,100,100],e:[0,100,100]},{t:120}],ix:6}},ao:0,ip:0,op:300,st:0,bm:0}],markers=[],playLoadData={v,fr,ip,op,w,h,nm,ddd,assets,layers,markers},videoWrap="_videoWrap_1cmsx_1",controls$1="_controls_1cmsx_19",time$1="_time_1cmsx_27",line$1="_line_1cmsx_39",slider$1="_slider_1cmsx_46",actions$1="_actions_1cmsx_57",actionWrap$1="_actionWrap_1cmsx_65",actionBtn$1="_actionBtn_1cmsx_68",playIcon="_playIcon_1cmsx_83",btnPlay="_btnPlay_1cmsx_86",btnPause="_btnPause_1cmsx_89",loopBtn="_loopBtn_1cmsx_96",styles$2={videoWrap,controls:controls$1,time:time$1,line:line$1,slider:slider$1,actions:actions$1,actionWrap:actionWrap$1,actionBtn:actionBtn$1,playIcon,btnPlay,btnPause,loopBtn},VideoPlay=defineComponent({name:"video-play",props:{item:{type:Object,default:()=>({})},isEmtry:{type:Boolean,default:!1}},emits:["loadedmetadata","togglePlay","ended","reset"],setup(e,{emit:t,expose:r}){const{item:i,isEmtry:s}=toRefs(e),a=ref(),n=ref(),l="v"+Date.now()+Math.floor(Math.random()*100),o="play"+Date.now()+Math.floor(Math.random()*100),f="replay"+Date.now()+Math.floor(Math.random()*100),y=T=>{var c;(c=n.value)==null||c.toggleControls(T)},x=T=>{var c;T.stopPropagation(),(c=n.value)==null||c.togglePlay()},u=()=>{!document.getElementById(f)||!n.value||n.value.restart()},S=()=>{var T,c,g;(T=document.getElementById(l))==null||T.addEventListener("click",d=>{d.stopPropagation(),t("reset")}),(c=document.getElementById(o))==null||c.addEventListener("click",x),(g=document.getElementById(f))==null||g.addEventListener("click",u)},b=T=>{const c=document.getElementById(o);c&&(T=="play"?(c.classList.remove(styles$2.btnPause),c.classList.add(styles$2.btnPlay)):(c.classList.remove(styles$2.btnPlay),c.classList.add(styles$2.btnPause)))},m=`
00:00
/
00:00
% buffered 00:00
`;return onMounted(()=>{n.value=new Plyr(a.value,{autoplay:!1,controls:m,autopause:!0,ratio:"16:9",hideControls:!1,clickToPlay:!1,fullscreen:{enabled:!1,fallback:!1,iosNative:!1}}),n.value&&(n.value.on("play",()=>{var T;n.value&&(n.value.muted=!1,n.value.volume=1),!i.value.autoPlay&&!i.value.isprepare&&n.value&&(console.log(n.value),n.value.pause()),b(""),t("togglePlay",(T=n.value)==null?void 0:T.paused)}),n.value.on("pause",()=>{var T;b("play"),t("togglePlay",(T=n.value)==null?void 0:T.paused)}),n.value.on("ended",()=>{t("ended"),b("play")}),n.value.once("loadedmetadata",()=>{b("play"),i.value.autoPlay&&n.value&&n.value.play(),t("loadedmetadata",n.value)}),nextTick(()=>{S()}))}),r({changePlayBtn:b,toggleHideControl:y}),()=>createVNode("div",{class:styles$2.videoWrap},[createVNode("video",{style:{width:"100%",height:"100%"},src:s.value?"":i.value.content,ref:a,playsinline:"false"},null)])}}),pen="_pen_xzevj_1",open="_open_xzevj_9",whiteboard="_whiteboard_xzevj_12",hide="_hide_xzevj_15",iframe="_iframe_xzevj_18",dely="_dely_xzevj_24",rightItem="_rightItem_xzevj_27",img="_img_xzevj_40",styles$1={pen,open,whiteboard,hide,iframe,dely,rightItem,img},exit1=""+new URL("exit1-726052ec.png",import.meta.url).href,exit2=""+new URL("exit2-31417114.png",import.meta.url).href,Pen=defineComponent({name:"pen-page",props:{show:{type:Boolean,default:!1},type:{type:String,default:"pen"},close:{type:Function,default:()=>({})}},setup(e){const{show:t,type:r}=toRefs(e),i=ref(!0),a=`${/(localhost|192)/.test(location.host)?"https://test.lexiaoya.cn/":location.origin}/classroom-whiteboard?type=${e.type}`;return()=>createVNode("div",{class:[styles$1.pen,r.value==="whiteboard"?styles$1.whiteboard:"",i.value?styles$1.dely:"",t.value?styles$1.open:styles$1.hide]},[createVNode("iframe",{class:styles$1.iframe,frameborder:"0",width:"100vw",height:"100vh",src:a,onLoad:()=>{i.value=!1}},null),createVNode("div",{class:styles$1.rightItem,onClick:()=>e.close()},[createVNode("img",{src:e.type==="pen"?exit2:exit1},null)])])}}),audioWrap="_audioWrap_1s1t3_1",audioContainer="_audioContainer_1s1t3_6",audio="_audio_1s1t3_1",tempVudio="_tempVudio_1s1t3_22",controls="_controls_1s1t3_34",time="_time_1s1t3_48",line="_line_1s1t3_60",actions="_actions_1s1t3_67",actionWrap="_actionWrap_1s1t3_75",actionBtn="_actionBtn_1s1t3_78",iconReplay="_iconReplay_1s1t3_89",slider="_slider_1s1t3_98",sectionAnimate="_sectionAnimate_1s1t3_106",styles={audioWrap,audioContainer,audio,tempVudio,controls,time,line,actions,actionWrap,actionBtn,iconReplay,slider,sectionAnimate},AudioPay=defineComponent({name:"audio-play",props:{item:{type:Object,default:()=>({})},isEmtry:{type:Boolean,default:!1}},emits:["loadedmetadata","togglePlay","ended","reset"],setup(e,{emit:t,expose:r}){const i=reactive({paused:!0,currentTimeNum:0,currentTime:"00:00",durationNum:0,duration:"00:00",showBar:!0,afterMa3:!0}),s=ref(),a=ref();let n=null;const l=m=>{m==null||m.stopPropagation(),a.value.paused?(o(a.value,s.value),a.value.play(),i.afterMa3=!1):a.value.pause(),i.paused=a.value.paused,t("togglePlay",i.paused)},o=(m,T)=>{n||(n=new Vudio(m,T,{effect:"waveform",accuracy:256,width:1024,height:600,waveform:{maxHeight:200,color:[[0,"#44D1FF"],[.5,"#44D1FF"],[.5,"#198CFE"],[1,"#198CFE"]],prettify:!1}}),n.dance())},f=m=>{if(m>0){const T=Math.floor(m/60),c=m%60;return(T<10?"0"+T:T)+":"+(c<10?"0"+c:c)}else return"00:00"},y=m=>{i.showBar=m},x=()=>{a.value&&(a.value.currentTime=0)};let u=null;const S=ref(),b=ref();return nextTick(()=>{u=new Vudio(b.value,S.value,{effect:"waveform",accuracy:256,width:1024,height:600,waveform:{maxHeight:200,color:[[0,"#44D1FF"],[.5,"#44D1FF"],[.5,"#198CFE"],[1,"#198CFE"]],prettify:!1}}),u.dance()}),r({toggleHideControl:y}),()=>createVNode("div",{class:styles.audioWrap},[createVNode("div",{class:styles.audioContainer},[createVNode("audio",{ref:a,crossorigin:"anonymous",src:e.item.content+"?time=1",onEnded:()=>{i.paused=!0,t("ended")},onTimeupdate:()=>{var m;i.currentTime=f(Math.round(((m=a.value)==null?void 0:m.currentTime)||0)),i.currentTimeNum=a.value.currentTime},onLoadedmetadata:()=>{i.duration=f(Math.round(a.value.duration)),i.durationNum=a.value.duration,e.item.autoPlay&&a.value&&a.value.play(),a.value.stop=()=>{a.value.pause(),i.paused=!0,t("togglePlay",i.paused)},a.value.onPlay=()=>{a.value.play(),i.paused=!1,o(a.value,s.value),t("togglePlay",i.paused)},t("loadedmetadata",a.value)}},null),createVNode("canvas",{ref:s},null),i.afterMa3&&createVNode("div",{class:styles.tempVudio},[createVNode("audio",{ref:b,src:tickMp3},null),createVNode("canvas",{ref:S},null)])]),createVNode("div",{class:[styles.controls,i.showBar?"":styles.sectionAnimate],onClick:m=>{m.stopPropagation(),t("reset")}},[createVNode("div",{class:styles.actions},[createVNode("div",{class:styles.actionWrap},[createVNode("button",{class:styles.actionBtn,onClick:l},[i.paused?createVNode("img",{class:styles.playIcon,src:iconplay},null):createVNode("img",{class:styles.playIcon,src:iconpause},null)])]),createVNode("div",{class:styles.time},[createVNode("div",{class:"plyr__time plyr__time--current","aria-label":"Current time"},[i.currentTime]),createVNode("span",{class:styles.line},[createTextVNode("/")]),createVNode("div",{class:"plyr__time plyr__time--duration","aria-label":"Duration"},[i.duration])])]),createVNode("div",{class:styles.slider},[createVNode(NSlider,{value:i.currentTimeNum,step:.01,max:i.durationNum,tooltip:!1,"onUpdate:value":m=>{a.value.currentTime=m,i.currentTimeNum=m,i.currentTime=f(Math.round(m||0))}},null)]),createVNode("div",{class:styles.actions},[createVNode("div",{class:styles.actionWrap},[createVNode("button",{class:styles.iconReplay,onClick:x},[createVNode("img",{src:iconReplay$1},null)])])])])])}}),Attentguide=defineComponent({name:"attent-guide",emits:["close"],setup(e,{emit:t}){const r=useRoute();console.log(r.query);const i=reactive({box:{height:"0px"},show:!1,steps:[{ele:"",eleRect:{},img:getImage("attent1.png"),handStyle:{top:"0.91rem"},imgStyle:{width:px2vw(647),height:px2vw(223),left:px2vw(-647),top:px2vw(-150)},btnsStyle:{bottom:px2vw(180),left:px2vw(-490)},eleRectPadding:{left:7,top:7,width:14,height:14},type:"left"},{ele:"",img:getImage("attent2.png"),imgStyle:{left:px2vw(-290),top:px2vw(20),width:px2vw(477),height:px2vw(277)},btnsStyle:{bottom:px2vw(70),left:px2vw(-135)},boxStyle:{borderRadius:"50%"},eleRectPadding:{left:7,top:7,width:14,height:14},type:"bottom"},{ele:"",img:getImage("attent3.png"),imgStyle:{left:px2vw(-290),top:px2vw(20),width:px2vw(382),height:px2vw(277)},btnsStyle:{bottom:px2vw(70),left:px2vw(-135)},boxStyle:{borderRadius:"50%"},eleRectPadding:{left:7,top:7,width:14,height:14},type:"bottom"},{ele:"",img:r.query.type=="preview"?getImage("attent5.png"):getImage("attent4.png"),imgStyle:{top:"100%",left:px2vw(-2),width:px2vw(515),height:px2vw(227)},btnsStyle:{bottom:px2vw(30),left:px2vw(-20)},boxStyle:{borderRadius:"50px"},eleRectPadding:{left:7,top:7,width:14,height:14}}],step:0}),s=ref(!1),a=localStorage.getItem("teacher-guideInfo");a&&JSON.parse(a).attentGuide?s.value=!1:s.value=!0;const n=()=>{var x,u,S,b;const y=document.getElementById(`attent-${i.step}`);if(y){const m=y.getBoundingClientRect(),T=((x=i.steps[i.step].eleRectPadding)==null?void 0:x.left)||0,c=((u=i.steps[i.step].eleRectPadding)==null?void 0:u.top)||0,g=((S=i.steps[i.step].eleRectPadding)==null?void 0:S.width)||0,d=((b=i.steps[i.step].eleRectPadding)==null?void 0:b.height)||0;i.box={left:m.x-T+"px",top:m.y-c+"px",width:m.width+g+"px",height:m.height+d+"px"},console.log(`coai-${i.step}`,i.box)}else o()};onMounted(()=>{n(),window.addEventListener("resize",l)});const l=()=>{n()};onUnmounted(()=>{window.removeEventListener("resize",l)});const o=()=>{if(i.step>=4){f();return}i.step=i.step+1,n()},f=()=>{let y=JSON.parse(localStorage.getItem("teacher-guideInfo")||"{}")||null;y?y.attentGuide=!0:y={attentGuide:!0},localStorage.setItem("teacher-guideInfo",JSON.stringify(y)),s.value=!1};return()=>createVNode(Fragment,null,[s.value?withDirectives(createVNode("div",{"onUpdate:show":y=>s.value=y,class:["n-modal-mask","n-modal-mask-guide"]},[createVNode("div",{class:styles$5.content,onClick:()=>o()},[createVNode("div",{class:styles$5.backBtn,onClick:y=>{y.stopPropagation(),f()}},[createTextVNode("跳过")]),createVNode("div",{class:styles$5.box,style:{...i.box,...i.steps[i.step].boxStyle},id:`modeType-${i.step}`},[i.steps.map((y,x)=>{var u,S,b,m,T,c,g;return createVNode("div",{onClick:d=>d.stopPropagation(),class:styles$5.item,style:y.type=="bottom"?{display:x===i.step?"":"none",left:`${(u=y.eleRect)==null?void 0:u.left}px`,top:`-${(S=y.imgStyle)==null?void 0:S.height}`}:y.type=="left"?{display:x===i.step?"":"none",left:`${(b=y.eleRect)==null?void 0:b.left}px`,top:`${parseFloat((m=i.box)==null?void 0:m.height)/2-parseFloat((T=y.imgStyle)==null?void 0:T.height)/20+14}px`}:{display:x===i.step?"":"none",left:`${(c=y.eleRect)==null?void 0:c.left}px`,top:`${(g=i.box)==null?void 0:g.height}`}},[createVNode("img",{class:styles$5.img,style:y.imgStyle,src:y.img},null),createVNode("div",{class:styles$5.btns,style:y.btnsStyle},[i.step+1==i.steps.length?createVNode(Fragment,null,[createVNode("div",{class:[styles$5.endBtn],onClick:()=>f()},[createTextVNode("完成")]),createVNode("div",{class:styles$5.nextBtn,onClick:()=>{i.step=0,n()}},[createTextVNode("再看一遍")])]):createVNode("div",{class:styles$5.btn,onClick:()=>o()},[createTextVNode("下一步 ("),i.step+1,createTextVNode("/"),i.steps.length,createTextVNode(")")])])])})])])]),[[vModelText,s.value,"show"]]):null])}});function _isSlot(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!isVNode(e)}const index=defineComponent({name:"CoursewarePlay",setup(){const e=useMessage(),t=useRoute(),r=reactive({width:"100vw"});onUnmounted(()=>{});const i=reactive({type:"",subjectId:"",detailId:"",classGroupId:"",knowledgePointList:[],itemList:[],videoRefs:{},audioRefs:{},modelAttendStatus:!1,modalAttendMessage:"本节课未设置课后训练,是否继续?",modelTrainStatus:!1,homeworkStatus:!0}),s=reactive({nowTime:0,model:!0,isAnimation:!0,timer:null,item:null}),a=ref(!1),n=async()=>{try{const p=(await queryCourseware({coursewareDetailKnowledgeId:i.detailId,subjectId:i.subjectId,pag:1,rows:99})).data.rows||[],P=[];p.forEach(k=>{k.removeFlag||P.push({id:k.id,materialId:k.materialId,coverImg:k.coverImg,type:k.materialType,title:k.materialName,isCollect:!!k.favoriteFlag,isSelected:k.source==="PLATFORM",content:k.content})}),i.knowledgePointList=P,i.itemList=i.knowledgePointList.map(k=>({...k,iframeRef:null,videoEle:null,audioEle:null,autoPlay:!1,isprepare:!1,isRender:!1})),setTimeout(()=>{a.value=!0},500)}catch(_){}},l=ref("left"),o=ref(!1),f=ref(!1),y=ref(!1),x=ref(!1),u=async()=>{document.querySelector(".wrap")&&new Moveable(document.querySelector(".wrap"),{target:document.querySelector("#moveNPopover"),container:document.querySelector(".wrap"),draggable:!0,resizable:!1,scalable:!1,rotatable:!1,warpable:!1,pinchable:!1,origin:!1,keepRatio:!1,edge:!1,throttleDrag:0,throttleResize:0,throttleScale:0,throttleRotate:0}).on("drag",({target:p,left:P,top:k,right:V,bottom:R})=>{x.value=!0;const H=document.getElementById("moveNPopover"),$=getComputedStyle(H,null),W={left:Number($.left.replace("px","")),top:Number($.top.replace("px","")),width:Number($.width.replace("px","")),height:Number($.height.replace("px",""))},q=parseInt(window.getComputedStyle(document.querySelector(".wrap")).width)-W.width,Y=parseInt(window.getComputedStyle(document.querySelector(".wrap")).height)-W.height;P<0&&(P=2),k<0&&(k=2),V<0&&(V=2),R<0&&(R=2),P>q-2&&(P=q-2),k>Y-2&&(k=Y-2),p.style.left=`${P}px`,p.style.top=`${k}px`}).on("dragEnd",async({clientX:p})=>{document.body.clientWidth/2-p>0?l.value="right":l.value="left",x.value=!1})},S=_=>{var p;((p=_.data)==null?void 0:p.api)==="headerTogge"&&(s.model=_.data.show||_.data.playState!="play")};onMounted(()=>{const _=t.query;i.type=_.type,i.subjectId=_.subjectId,i.detailId=_.detailId,i.classGroupId=_.classGroupId,u(),window.addEventListener("message",S),n()});const b=reactive({open:!1,activeIndex:0,toolOpen:!1}),m=computed(()=>{let _="";return i.knowledgePointList.forEach((p,P)=>{b.activeIndex===P&&(_=p.title)}),_}),T=()=>{var _,p;for(let P=0;P{const p=i.itemList.findIndex(P=>P.id==_);p>-1&&D(p)},g=()=>{clearTimeout(s.timer),e.destroyAll(),s.timer=setTimeout(()=>{s.model=!1,Object.values(i.videoRefs).map(_=>_.toggleHideControl(!1)),Object.values(i.audioRefs).map(_=>_.toggleHideControl(!1))},4e3)},d=()=>{clearTimeout(s.timer),e.destroyAll(),s.model=!1,Object.values(i.videoRefs).map(_=>_==null?void 0:_.toggleHideControl(!1)),Object.values(i.audioRefs).map(_=>_==null?void 0:_.toggleHideControl(!1))},A=(_=!0)=>{s.model=_,Object.values(i.videoRefs).map(p=>p==null?void 0:p.toggleHideControl(_)),Object.values(i.audioRefs).map(p=>p==null?void 0:p.toggleHideControl(_))},E=_=>{if(_&&_.type==="VIDEO"){const p=_.videoEle;p&&(p.paused?(e.destroyAll(),p.play()):(e.warning("已暂停"),p.pause()))}},M=ref(3),I=[{prev:{transform:"translate3d(0, 0, -800px) rotateX(180deg)"},next:{transform:"translate3d(0, 0, -800px) rotateX(-180deg)"}},{prev:{transform:"translate3d(-100%, 0, -800px)"},next:{transform:"translate3d(100%, 0, -800px)"}},{prev:{transform:"translate3d(-50%, 0, -800px) rotateY(80deg)"},next:{transform:"translate3d(50%, 0, -800px) rotateY(-80deg)"}},{prev:{transform:"translate3d(-100%, 0, -800px) rotateY(-120deg)"},next:{transform:"translate3d(100%, 0, -800px) rotateY(120deg)"}},{prev:{transform:"translate3d(-50%, 50%, -800px) rotateZ(-14deg)",opacity:0},next:{transform:"translate3d(50%, 50%, -800px) rotateZ(14deg)",opacity:0}},{prev:{transform:"translateZ(-800px) rotate3d(0, -1, 0, 90deg)",opacity:0},next:{transform:"translateZ(-800px) rotate3d(0, 1, 0, 90deg)",opacity:0},current:{transitionDelay:"700ms"}}],F=ref(),D=_=>{b.activeIndex!=_&&(T(),clearTimeout(F.value),G(b.activeIndex,_),b.activeIndex=_,F.value=setTimeout(()=>{const p=i.itemList[_];p&&(p.type=="MUSIC"&&(s.model=!0),p.type==="SONG"&&(clearTimeout(s.timer),e.destroyAll()),p.type==="VIDEO"&&(clearTimeout(s.timer),e.destroyAll()))},s.isAnimation?800:0))},G=(_,p)=>{const P=i.itemList[_],k=i.itemList[p];if(k){if(k.knowledgePointId!=P.knowledgePointId){s.isAnimation=!0;return}const V=P.videoEle,R=k.videoEle;V&&V.duration<8&&_p?s.isAnimation=!1:s.isAnimation=!0}else s.isAnimation=!((P==null?void 0:P.adviseStudyTimeSecond)<8)},O=_=>{D(_==="up"?b.activeIndex-1:b.activeIndex+1)},L=()=>{var p,P;const _=i.itemList[b.activeIndex];(_==null?void 0:_.type)=="VIDEO"&&!((p=_.videoEle)!=null&&p.paused)&&g(),(_==null?void 0:_.type)=="SONG"&&!((P=_.audioEle)!=null&&P.paused)&&g()};document.body.addEventListener("keyup",_=>{if(_.code==="ArrowUp"){if(b.activeIndex===0)return;O("up")}else if(_.code==="ArrowDown"){if(b.activeIndex===i.itemList.length-1)return;O("down")}});const N=reactive({type:"",penShow:!1,whiteboardShow:!1}),z=_=>{var P,k;const p=i.itemList[b.activeIndex];switch(p.type==="VIDEO"&&p.videoEle&&p.videoEle.pause(),p.type==="SONG"&&p.audioEle&&p.audioEle.stop(),p.type==="MUSIC"&&((k=(P=p.iframeRef)==null?void 0:P.contentWindow)==null||k.postMessage({api:"setPlayState"},"*")),d(),b.toolOpen=!1,N.type=_.type,_.type){case"pen":N.penShow=!0;break;case"whiteboard":N.whiteboardShow=!0}},B=()=>{N.type="init",A()},C=_=>{_=="setTimeIcon"&&(y.value=!0),_=="beatIcon"&&(o.value=!0),_=="toneIcon"&&(f.value=!0)};return()=>{let _;return createVNode("div",{id:"playContent",class:[styles$4.playContent,"wrap"]},[createVNode("div",{onClick:()=>{clearTimeout(s.timer),s.model=!s.model,Object.values(i.videoRefs).map(p=>p.toggleHideControl(s.model)),Object.values(i.audioRefs).map(p=>p.toggleHideControl(s.model))}},[createVNode("div",{class:styles$4.coursewarePlay,style:{width:r.width},onClick:p=>{p.stopPropagation(),g()}},[createVNode("div",{class:styles$4.wraps},[i.itemList.map((p,P)=>{const k=p.isRender||Math.abs(b.activeIndex-P)<2,V=Math.abs(b.activeIndex-P)>4;return k&&(p.isRender=!0),k?createVNode("div",{key:"index"+P,class:[styles$4.itemDiv,b.activeIndex===P&&styles$4.itemActive,s.isAnimation&&styles$4.acitveAnimation,Math.abs(b.activeIndex-P)<2?styles$4.show:styles$4.hide],style:Pb.activeIndex?I[M.value].next:{},onClick:R=>{if(R.stopPropagation(),clearTimeout(s.timer),Date.now()-s.nowTime<300){E(p);return}s.nowTime=Date.now(),s.timer=setTimeout(()=>{s.model=!s.model,Object.values(i.videoRefs).map(H=>H.toggleHideControl(s.model)),Object.values(i.audioRefs).map(H=>H.toggleHideControl(s.model)),s.model&&g()},300)}},[p.type==="VIDEO"?createVNode(Fragment,null,[createVNode(VideoPlay,{ref:R=>i.videoRefs[P]=R,item:p,isEmtry:V,onLoadedmetadata:R=>{p.videoEle=R,p.isprepare=!0},onTogglePlay:R=>{p.autoPlay=!1,R||b.open?clearTimeout(s.timer):g()},onEnded:()=>{},onReset:()=>{var R;(R=p.videoEle)!=null&&R.paused||g()}},null),createVNode(Transition,{name:"van-fade"},{default:()=>[!p.isprepare&&createVNode("div",{class:styles$4.loadWrap},[createVNode(Vue3Lottie,{animationData:playLoadData},null)])]})]):p.type==="IMG"?createVNode("img",{src:p.content},null):p.type==="SONG"?createVNode(AudioPay,{item:p,ref:R=>i.audioRefs[P]=R,onLoadedmetadata:R=>{p.audioEle=R,p.isprepare=!0},onTogglePlay:R=>{p.autoPlay=!1,R||b.open?clearTimeout(s.timer):g()},onEnded:()=>{const R=b.activeIndex+1;R{var R;(R=p.audioEle)!=null&&R.paused||g()}},null):createVNode(MusicScore,{activeModel:s.model,"data-vid":p.id,music:p,onSetIframe:R=>{p.iframeRef=R}},null)]):null})]),createVNode(Transition,{name:"right"},{default:()=>[s.model&&createVNode("div",{class:styles$4.rightFixedBtns,onClick:p=>{p.stopPropagation(),clearTimeout(s.timer)}},[createVNode("div",{class:[styles$4.fullBtn,b.activeIndex===0?styles$4.btnsDisabled:""],onClick:()=>{b.activeIndex!==0&&O("up")}},[createVNode("img",{src:iconUp},null)]),createVNode("div",{id:"attent-0"},[createVNode("div",{class:[styles$4.fullBtn,styles$4.point],onClick:()=>b.open=!0},[createVNode("img",{src:iconMenu},null)]),createVNode("div",{class:[styles$4.fullBtn,b.activeIndex===i.itemList.length-1?styles$4.btnsDisabled:""],onClick:()=>{b.activeIndex!==i.itemList.length-1&&O("down")}},[createVNode("img",{src:iconDown},null)])])])]})])]),createVNode("div",{style:{transform:s.model?"":"translateY(-100%)"},class:styles$4.headerContainer},[createVNode("div",{class:styles$4.menu},[m.value])]),createVNode("div",{id:"attent-3",class:[styles$4.assignHomework,s.model?"":styles$4.sectionAnimateUp],onClick:async()=>{if(i.type==="preview")window.close();else{const p=await lessonPreTrainingPage({coursewareKnowledgeDetailId:i.detailId,subjectId:i.subjectId,page:1,rows:99});console.log(p,"res"),p.data.rows&&p.data.rows.length&&(i.modalAttendMessage="本节课已设置课后训练,是否布置?"),i.modelAttendStatus=!0}}},[createVNode("img",{src:i.type==="preview"?iconOverPreivew:iconAssignHomework},null)]),createVNode("div",{class:[styles$4.switchDisplaySection,s.model?"":styles$4.sectionAnimate]},[createVNode(NTooltip,{trigger:"hover"},{trigger:()=>createVNode("div",{id:"attent-1",class:styles$4.displayBtn,onClick:()=>z({type:"pen",icon:iconNote,name:"批注"})},[createVNode("img",{src:iconNote},null)]),default:()=>"批注"}),createVNode(NTooltip,{trigger:"hover"},{trigger:()=>createVNode("div",{id:"attent-2",class:styles$4.displayBtn,onClick:()=>z({type:"whiteboard",icon:iconWhiteboard,name:"白板"})},[createVNode("img",{src:iconWhiteboard},null)]),default:()=>"白板"})]),createVNode(NDrawer,{show:b.open,"onUpdate:show":p=>b.open=p,class:styles$4.drawerContainer,onAfterLeave:L,showMask:!1},{default:()=>[createVNode(NDrawerContent,{title:"资源列表",closable:!0},_isSlot(_=i.knowledgePointList.map((p,P)=>createVNode(CardType,{item:p,isActive:b.activeIndex===P,isCollect:!1,isShowCollect:!1,onClick:k=>{b.open=!1,c(k.id)}},null)))?_:{default:()=>[_]})]}),N.penShow&&createVNode(Pen,{show:N.type==="pen",type:N.type,close:()=>B()},null),N.whiteboardShow&&createVNode(Pen,{show:N.type==="whiteboard",type:N.type,close:()=>B()},null),createVNode(NModal,{show:i.modelAttendStatus,"onUpdate:show":p=>i.modelAttendStatus=p,preset:"card",class:styles$4.attendClassModal,title:"课后训练"},{default:()=>[createVNode("div",{class:styles$4.modelAttendContent},[i.modalAttendMessage]),createVNode(NSpace,{class:styles$4.modelAttendBtnGroup},{default:()=>[createVNode(NButton,{type:"default",round:!0,onClick:()=>{i.modelAttendStatus=!1,window.close()}},{default:()=>[createTextVNode("暂不布置")]}),createVNode(NButton,{type:"primary",round:!0,onClick:()=>{i.modelTrainStatus=!0,i.modelAttendStatus=!1}},{default:()=>[createTextVNode("布置")]})]})]}),createVNode(NModal,{show:i.modelTrainStatus,"onUpdate:show":p=>i.modelTrainStatus=p,preset:"card",class:[styles$4.attendClassModal,styles$4.trainClassModal],title:"训练设置"},{default:()=>[createVNode(TrainSettings,{detailId:i.detailId,subjectId:i.subjectId,classGroupId:i.classGroupId,onClose:()=>i.modelTrainStatus=!1,onConfirm:()=>{setTimeout(()=>{window.close()},1e3)}},null)]}),a.value?createVNode(Attentguide,null,null):null,createVNode(NPopover,{raw:!0,trigger:"click","show-arrow":!1,style:"--n-box-shadow: none;",placement:l.value},{default:()=>[createVNode("div",{class:styles$4.booxToolWrap},[createVNode("div",{class:styles$4.booxToolItem,onClick:()=>C("beatIcon")},[createVNode("img",{src:beatIcon,alt:""},null),createTextVNode("节拍器")]),createVNode("div",{class:styles$4.booxToolItem,onClick:()=>C("toneIcon")},[createVNode("img",{src:toneIcon,alt:""},null),createTextVNode("调音器")]),createVNode("div",{class:styles$4.booxToolItem,onClick:()=>C("setTimeIcon")},[createVNode("img",{src:setTimeIcon,alt:""},null),createTextVNode("计时器")])])],trigger:()=>createVNode("img",{src:toolbox,id:"moveNPopover",style:{display:["/","/home"].includes(t.path)?"none":"block"},class:[styles$4.toolboxImg,"moveNPopover",x.value?styles$4.isDragIng:""],alt:""},null)}),createVNode(NModal,{class:["modalTitle background"],title:"节拍器",preset:"card",show:o.value,"onUpdate:show":p=>o.value=p,style:{width:"687px"}},{default:()=>[createVNode("div",{class:styles$4.modeWrap},[createVNode("iframe",{src:`${vaildUrl()}/metronome/?id=${new Date().getTime()}`,scrolling:"no",frameborder:"0",width:"100%",height:"650px"},null)])]}),createVNode(NModal,{show:f.value,"onUpdate:show":p=>f.value=p,class:["modalTitle background",styles$4.showModalTone],preset:"card",title:"提示"},{default:()=>[createVNode("div",{class:styles$4.studentRemove},[createVNode("p",null,[createTextVNode("此功能暂未开放")])])]}),createVNode(NModal,{show:y.value,"onUpdate:show":p=>y.value=p,class:["modalTitle background"],title:"计时器",preset:"card",style:{width:"772px"}},{default:()=>[createVNode("div",null,[createVNode(TimerMeter,null,null)])]})])}}});export{index as default};