import{c as createNamespace,b as makeNumericProp,n as numericProp,d as defineComponent,r as ref,u as useTouch,e as computed,o as addUnit,a3 as useCustomFieldValue,Z as useEventListener,a as createVNode,aS as isSameValue,_ as useRect,s as stopPropagation,aT as addNumber,p as preventDefault,aU as getSizeStyle,$ as clamp,k as withInstall,aB as inject,aF as provide,aw as onBeforeUnmount,aV as onBeforeUpdate,aE as toRef,w as watch,ay as h$1,T as Transition,z as nextTick,R as browser,U as useRoute,G as storage,J as ACCESS_TOKEN,W as queryString,am as listenerMessage,M as state,V as Popup,a6 as postMessage,D as request,aj as commonjsGlobal,ai as getDefaultExportFromCjs,y as onMounted,aW as openBlock,aX as createElementBlock,aI as normalizeStyle,aY as toRefs,x as reactive,aZ as getSecondRPM,A as createTextVNode,F as Fragment,E as showToast,a2 as isVNode,a_ as usePageVisibility,a8 as onUnmounted,I as Icon,a$ as closeToast}from"./index-5e5e4ebc.js";/* empty css */import{T as TheVip}from"./index-cba960e7.js";import{S as Skeleton}from"./index-cceb0595.js";import{a7 as createInjectionKey,G as commonLight,F as c,E as cB,I as cM,J as cE,a8 as fadeInScaleUpTransition,ab as insideModal,ac as insidePopover,L as useConfig,K as useTheme,_ as useMergedState,N as useThemeClass,Z as isMounted,V as useAdjustedTo,a2 as VBinder,a1 as VTarget,ad as resolveSlot,W as VFollower,o as on,a as off,a4 as call}from"./fade-in-scale-up.cssr-b7c54253.js";import{C as Collapse,a as CollapseItem}from"./index-798043e9.js";import{I as Image$1}from"./index-fa23aaeb.js";import{h as api_classLessonCoursewareDetail,i as api_lessonCoursewareDetail}from"./api-078ceffd.js";import"./index-4bcfa431.js";const[name,bem]=createNamespace("slider"),sliderProps$1={min:makeNumericProp(0),max:makeNumericProp(100),step:makeNumericProp(1),range:Boolean,reverse:Boolean,disabled:Boolean,readonly:Boolean,vertical:Boolean,barHeight:numericProp,buttonSize:numericProp,activeColor:String,inactiveColor:String,modelValue:{type:[Number,Array],default:0}};var stdin_default=defineComponent({name,props:sliderProps$1,emits:["change","dragEnd","dragStart","update:modelValue"],setup(e,{emit:t,slots:r}){let n,s,a;const l=ref(),u=[ref(),ref()],p=ref(),d=useTouch(),f=computed(()=>Number(e.max)-Number(e.min)),_=computed(()=>{const j=e.vertical?"width":"height";return{background:e.inactiveColor,[j]:addUnit(e.barHeight)}}),y=j=>e.range&&Array.isArray(j),b=()=>{const{modelValue:j,min:V}=e;return y(j)?`${(j[1]-j[0])*100/f.value}%`:`${(j-Number(V))*100/f.value}%`},g=()=>{const{modelValue:j,min:V}=e;return y(j)?`${(j[0]-Number(V))*100/f.value}%`:"0%"},m=computed(()=>{const V={[e.vertical?"height":"width"]:b(),background:e.activeColor};p.value&&(V.transition="none");const z=()=>e.vertical?e.reverse?"bottom":"top":e.reverse?"right":"left";return V[z()]=g(),V}),C=j=>{const V=+e.min,z=+e.max,q=+e.step;j=clamp(j,V,z);const H=Math.round((j-V)/q)*q;return addNumber(V,H)},S=()=>{const j=e.modelValue;y(j)?a=j.map(C):a=C(j)},P=j=>{var V,z;const q=(V=j[0])!=null?V:Number(e.min),H=(z=j[1])!=null?z:Number(e.max);return q>H?[H,q]:[q,H]},A=(j,V)=>{y(j)?j=P(j).map(C):j=C(j),isSameValue(j,e.modelValue)||t("update:modelValue",j),V&&!isSameValue(j,a)&&t("change",j)},x=j=>{if(j.stopPropagation(),e.disabled||e.readonly)return;S();const{min:V,reverse:z,vertical:q,modelValue:H}=e,L=useRect(l),B=()=>q?z?L.bottom-j.clientY:j.clientY-L.top:z?L.right-j.clientX:j.clientX-L.left,M=q?L.height:L.width,D=Number(V)+B()/M*f.value;if(y(H)){const[N,F]=H,U=(N+F)/2;D<=U?A([D,F],!0):A([N,D],!0)}else A(D,!0)},R=j=>{e.disabled||e.readonly||(d.start(j),s=e.modelValue,S(),p.value="start")},E=j=>{if(e.disabled||e.readonly)return;p.value==="start"&&t("dragStart",j),preventDefault(j,!0),d.move(j),p.value="dragging";const V=useRect(l),z=e.vertical?d.deltaY.value:d.deltaX.value,q=e.vertical?V.height:V.width;let H=z/q*f.value;if(e.reverse&&(H=-H),y(a)){const L=e.reverse?1-n:n;s[L]=a[L]+H}else s=a+H;A(s)},k=j=>{e.disabled||e.readonly||(p.value==="dragging"&&(A(s,!0),t("dragEnd",j)),p.value="")},I=j=>typeof j=="number"?bem("button-wrapper",["left","right"][j]):bem("button-wrapper",e.reverse?"left":"right"),O=(j,V)=>{const z=p.value==="dragging";if(typeof V=="number"){const q=r[V===0?"left-button":"right-button"];let H;if(z&&Array.isArray(s)&&(H=s[0]>s[1]?n^1:n),q)return q({value:j,dragging:z,dragIndex:H})}return r.button?r.button({value:j,dragging:z}):createVNode("div",{class:bem("button"),style:getSizeStyle(e.buttonSize)},null)},G=j=>{const V=typeof j=="number"?e.modelValue[j]:e.modelValue;return createVNode("div",{ref:u[j!=null?j:0],role:"slider",class:I(j),tabindex:e.disabled?void 0:0,"aria-valuemin":e.min,"aria-valuenow":V,"aria-valuemax":e.max,"aria-disabled":e.disabled||void 0,"aria-readonly":e.readonly||void 0,"aria-orientation":e.vertical?"vertical":"horizontal",onTouchstartPassive:z=>{typeof j=="number"&&(n=j),R(z)},onTouchend:k,onTouchcancel:k,onClick:stopPropagation},[O(V,j)])};return A(e.modelValue),useCustomFieldValue(()=>e.modelValue),u.forEach(j=>{useEventListener("touchmove",E,{target:j})}),()=>createVNode("div",{ref:l,style:_.value,class:bem({vertical:e.vertical,disabled:e.disabled}),onClick:x},[createVNode("div",{class:bem("bar"),style:m.value},[e.range?[G(0),G(1)]:G()])])}});const Slider=withInstall(stdin_default),formItemInjectionKey=createInjectionKey("n-form-item");function useFormItem(e,{defaultSize:t="medium",mergedSize:r,mergedDisabled:n}={}){const s=inject(formItemInjectionKey,null);provide(formItemInjectionKey,null);const a=computed(r?()=>r(s):()=>{const{size:p}=e;if(p)return p;if(s){const{mergedSize:d}=s;if(d.value!==void 0)return d.value}return t}),l=computed(n?()=>n(s):()=>{const{disabled:p}=e;return p!==void 0?p:s?s.disabled.value:!1}),u=computed(()=>{const{status:p}=e;return p||(s==null?void 0:s.mergedValidationStatus.value)});return onBeforeUnmount(()=>{s&&s.restoreValidation()}),{mergedSizeRef:a,mergedDisabledRef:l,mergedStatusRef:u,nTriggerFormBlur(){s&&s.handleContentBlur()},nTriggerFormChange(){s&&s.handleContentChange()},nTriggerFormFocus(){s&&s.handleContentFocus()},nTriggerFormInput(){s&&s.handleContentInput()}}}const sizeVariables={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},self$1=e=>{const t="rgba(0, 0, 0, .85)",r="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:n,primaryColor:s,baseColor:a,cardColor:l,modalColor:u,popoverColor:p,borderRadius:d,fontSize:f,opacityDisabled:_}=e;return Object.assign(Object.assign({},sizeVariables),{fontSize:f,markFontSize:f,railColor:n,railColorHover:n,fillColor:s,fillColorHover:s,opacityDisabled:_,handleColor:"#FFF",dotColor:l,dotColorModal:u,dotColorPopover:p,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:t,indicatorBoxShadow:r,indicatorTextColor:a,indicatorBorderRadius:d,dotBorder:`2px solid ${n}`,dotBorderActive:`2px solid ${s}`,dotBoxShadow:""})},sliderLight={name:"Slider",common:commonLight,self:self$1},sliderLight$1=sliderLight;function isTouchEvent(e){return window.TouchEvent&&e instanceof window.TouchEvent}function useRefs(){const e=ref(new Map),t=r=>n=>{e.value.set(r,n)};return onBeforeUpdate(()=>{e.value.clear()}),[e,t]}const style=c([cB("slider",` display: block; padding: calc((var(--n-handle-size) - var(--n-rail-height)) / 2) 0; position: relative; z-index: 0; width: 100%; cursor: pointer; user-select: none; -webkit-user-select: none; `,[cM("reverse",[cB("slider-handles",[cB("slider-handle-wrapper",` transform: translate(50%, -50%); `)]),cB("slider-dots",[cB("slider-dot",` transform: translateX(50%, -50%); `)]),cM("vertical",[cB("slider-handles",[cB("slider-handle-wrapper",` transform: translate(-50%, -50%); `)]),cB("slider-marks",[cB("slider-mark",` transform: translateY(calc(-50% + var(--n-dot-height) / 2)); `)]),cB("slider-dots",[cB("slider-dot",` transform: translateX(-50%) translateY(0); `)])])]),cM("vertical",` padding: 0 calc((var(--n-handle-size) - var(--n-rail-height)) / 2); width: var(--n-rail-width-vertical); height: 100%; `,[cB("slider-handles",` top: calc(var(--n-handle-size) / 2); right: 0; bottom: calc(var(--n-handle-size) / 2); left: 0; `,[cB("slider-handle-wrapper",` top: unset; left: 50%; transform: translate(-50%, 50%); `)]),cB("slider-rail",` height: 100%; `,[cE("fill",` top: unset; right: 0; bottom: unset; left: 0; `)]),cM("with-mark",` width: var(--n-rail-width-vertical); margin: 0 32px 0 8px; `),cB("slider-marks",` top: calc(var(--n-handle-size) / 2); right: unset; bottom: calc(var(--n-handle-size) / 2); left: 22px; font-size: var(--n-mark-font-size); `,[cB("slider-mark",` transform: translateY(50%); white-space: nowrap; `)]),cB("slider-dots",` top: calc(var(--n-handle-size) / 2); right: unset; bottom: calc(var(--n-handle-size) / 2); left: 50%; `,[cB("slider-dot",` transform: translateX(-50%) translateY(50%); `)])]),cM("disabled",` cursor: not-allowed; opacity: var(--n-opacity-disabled); `,[cB("slider-handle",` cursor: not-allowed; `)]),cM("with-mark",` width: 100%; margin: 8px 0 32px 0; `),c("&:hover",[cB("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[cE("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),cB("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),cM("active",[cB("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[cE("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),cB("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),cB("slider-marks",` position: absolute; top: 18px; left: calc(var(--n-handle-size) / 2); right: calc(var(--n-handle-size) / 2); `,[cB("slider-mark",` position: absolute; transform: translateX(-50%); white-space: nowrap; `)]),cB("slider-rail",` width: 100%; position: relative; height: var(--n-rail-height); background-color: var(--n-rail-color); transition: background-color .3s var(--n-bezier); border-radius: calc(var(--n-rail-height) / 2); `,[cE("fill",` position: absolute; top: 0; bottom: 0; border-radius: calc(var(--n-rail-height) / 2); transition: background-color .3s var(--n-bezier); background-color: var(--n-fill-color); `)]),cB("slider-handles",` position: absolute; top: 0; right: calc(var(--n-handle-size) / 2); bottom: 0; left: calc(var(--n-handle-size) / 2); `,[cB("slider-handle-wrapper",` outline: none; position: absolute; top: 50%; transform: translate(-50%, -50%); cursor: pointer; display: flex; `,[cB("slider-handle",` height: var(--n-handle-size); width: var(--n-handle-size); border-radius: 50%; overflow: hidden; transition: box-shadow .2s var(--n-bezier), background-color .3s var(--n-bezier); background-color: var(--n-handle-color); box-shadow: var(--n-handle-box-shadow); `,[c("&:hover",` box-shadow: var(--n-handle-box-shadow-hover); `)]),c("&:focus",[cB("slider-handle",` box-shadow: var(--n-handle-box-shadow-focus); `,[c("&:hover",` box-shadow: var(--n-handle-box-shadow-active); `)])])])]),cB("slider-dots",` position: absolute; top: 50%; left: calc(var(--n-handle-size) / 2); right: calc(var(--n-handle-size) / 2); `,[cM("transition-disabled",[cB("slider-dot","transition: none;")]),cB("slider-dot",` transition: border-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier); position: absolute; transform: translate(-50%, -50%); height: var(--n-dot-height); width: var(--n-dot-width); border-radius: var(--n-dot-border-radius); overflow: hidden; box-sizing: border-box; border: var(--n-dot-border); background-color: var(--n-dot-color); `,[cM("active","border: var(--n-dot-border-active);")])])]),cB("slider-handle-indicator",` font-size: var(--n-font-size); padding: 6px 10px; border-radius: var(--n-indicator-border-radius); color: var(--n-indicator-text-color); background-color: var(--n-indicator-color); box-shadow: var(--n-indicator-box-shadow); `,[fadeInScaleUpTransition()]),cB("slider-handle-indicator",` font-size: var(--n-font-size); padding: 6px 10px; border-radius: var(--n-indicator-border-radius); color: var(--n-indicator-text-color); background-color: var(--n-indicator-color); box-shadow: var(--n-indicator-box-shadow); `,[cM("top",` margin-bottom: 12px; `),cM("right",` margin-left: 12px; `),cM("bottom",` margin-top: 12px; `),cM("left",` margin-right: 12px; `),fadeInScaleUpTransition()]),insideModal(cB("slider",[cB("slider-dot","background-color: var(--n-dot-color-modal);")])),insidePopover(cB("slider",[cB("slider-dot","background-color: var(--n-dot-color-popover);")]))]),eventButtonLeft=0,sliderProps=Object.assign(Object.assign({},useTheme.props),{to:useAdjustedTo.propTo,defaultValue:{type:[Number,Array],default:0},marks:Object,disabled:{type:Boolean,default:void 0},formatTooltip:Function,keyboard:{type:Boolean,default:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:[Number,String],default:1},range:Boolean,value:[Number,Array],placement:String,showTooltip:{type:Boolean,default:void 0},tooltip:{type:Boolean,default:!0},vertical:Boolean,reverse:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),NSlider=defineComponent({name:"Slider",props:sliderProps,setup(e){const{mergedClsPrefixRef:t,namespaceRef:r,inlineThemeDisabled:n}=useConfig(e),s=useTheme("Slider","-slider",style,sliderLight$1,e,t),a=ref(null),[l,u]=useRefs(),[p,d]=useRefs(),f=ref(new Set),_=useFormItem(e),{mergedDisabledRef:y}=_,b=computed(()=>{const{step:K}=e;if(Number(K)<=0||K==="mark")return 0;const Y=K.toString();let J=0;return Y.includes(".")&&(J=Y.length-Y.indexOf(".")-1),J}),g=ref(e.defaultValue),m=toRef(e,"value"),C=useMergedState(m,g),S=computed(()=>{const{value:K}=C;return(e.range?K:[K]).map(U)}),P=computed(()=>S.value.length>2),A=computed(()=>e.placement===void 0?e.vertical?"right":"top":e.placement),x=computed(()=>{const{marks:K}=e;return K?Object.keys(K).map(parseFloat):null}),R=ref(-1),E=ref(-1),k=ref(-1),I=ref(!1),O=ref(!1),G=computed(()=>{const{vertical:K,reverse:Y}=e;return K?Y?"top":"bottom":Y?"right":"left"}),j=computed(()=>{if(P.value)return;const K=S.value,Y=W(e.range?Math.min(...K):e.min),J=W(e.range?Math.max(...K):K[0]),{value:ee}=G;return e.vertical?{[ee]:`${Y}%`,height:`${J-Y}%`}:{[ee]:`${Y}%`,width:`${J-Y}%`}}),V=computed(()=>{const K=[],{marks:Y}=e;if(Y){const J=S.value.slice();J.sort((fe,be)=>fe-be);const{value:ee}=G,{value:se}=P,{range:pe}=e,ve=se?()=>!1:fe=>pe?fe>=J[0]&&fe<=J[J.length-1]:fe<=J[0];for(const fe of Object.keys(Y)){const be=Number(fe);K.push({active:ve(be),label:Y[fe],style:{[ee]:`${W(be)}%`}})}}return K});function z(K,Y){const J=W(K),{value:ee}=G;return{[ee]:`${J}%`,zIndex:Y===R.value?1:0}}function q(K){return e.showTooltip||k.value===K||R.value===K&&I.value}function H(K){return I.value?!(R.value===K&&E.value===K):!0}function L(K){var Y;~K&&(R.value=K,(Y=l.value.get(K))===null||Y===void 0||Y.focus())}function B(){p.value.forEach((K,Y)=>{q(Y)&&K.syncPosition()})}function M(K){const{"onUpdate:value":Y,onUpdateValue:J}=e,{nTriggerFormInput:ee,nTriggerFormChange:se}=_;J&&call(J,K),Y&&call(Y,K),g.value=K,ee(),se()}function D(K){const{range:Y}=e;if(Y){if(Array.isArray(K)){const{value:J}=S;K.join()!==J.join()&&M(K)}}else Array.isArray(K)||S.value[0]!==K&&M(K)}function N(K,Y){if(e.range){const J=S.value.slice();J.splice(Y,1,K),D(J)}else D(K)}function F(K,Y,J){const ee=J!==void 0;J||(J=K-Y>0?1:-1);const se=x.value||[],{step:pe}=e;if(pe==="mark"){const be=re(K,se.concat(Y),ee?J:void 0);return be?be.value:Y}if(pe<=0)return Y;const{value:ve}=b;let fe;if(ee){const be=Number((Y/pe).toFixed(ve)),Te=Math.floor(be),Ce=be>Te?Te:Te-1,Ee=be0)&&(ee===null||ve0?1:-1),Y)}function oe(K){var Y,J;if(y.value||!isTouchEvent(K)&&K.button!==eventButtonLeft)return;const ee=ne(K);if(ee===void 0)return;const se=S.value.slice(),pe=e.range?(J=(Y=re(ee,se))===null||Y===void 0?void 0:Y.index)!==null&&J!==void 0?J:-1:0;pe!==-1&&(K.preventDefault(),L(pe),ce(),N(F(ee,S.value[pe]),pe))}function ce(){I.value||(I.value=!0,on("touchend",document,X),on("mouseup",document,X),on("touchmove",document,te),on("mousemove",document,te))}function he(){I.value&&(I.value=!1,off("touchend",document,X),off("mouseup",document,X),off("touchmove",document,te),off("mousemove",document,te))}function te(K){const{value:Y}=R;if(!I.value||Y===-1){he();return}const J=ne(K);N(F(J,S.value[Y]),Y)}function X(){he()}function de(K){R.value=K,y.value||(k.value=K)}function ae(K){R.value===K&&(R.value=-1,he()),k.value===K&&(k.value=-1)}function ue(K){k.value=K}function _e(K){k.value===K&&(k.value=-1)}watch(R,(K,Y)=>void nextTick(()=>E.value=Y)),watch(C,()=>{if(e.marks){if(O.value)return;O.value=!0,nextTick(()=>{O.value=!1})}nextTick(B)}),onBeforeUnmount(()=>{he()});const Se=computed(()=>{const{self:{markFontSize:K,railColor:Y,railColorHover:J,fillColor:ee,fillColorHover:se,handleColor:pe,opacityDisabled:ve,dotColor:fe,dotColorModal:be,handleBoxShadow:Te,handleBoxShadowHover:Ce,handleBoxShadowActive:Ee,handleBoxShadowFocus:we,dotBorder:Ae,dotBoxShadow:Pe,railHeight:ke,railWidthVertical:xe,handleSize:Ie,dotHeight:Me,dotWidth:Re,dotBorderRadius:De,fontSize:Oe,dotBorderActive:Le,dotColorPopover:Be},common:{cubicBezierEaseInOut:Fe}}=s.value;return{"--n-bezier":Fe,"--n-dot-border":Ae,"--n-dot-border-active":Le,"--n-dot-border-radius":De,"--n-dot-box-shadow":Pe,"--n-dot-color":fe,"--n-dot-color-modal":be,"--n-dot-color-popover":Be,"--n-dot-height":Me,"--n-dot-width":Re,"--n-fill-color":ee,"--n-fill-color-hover":se,"--n-font-size":Oe,"--n-handle-box-shadow":Te,"--n-handle-box-shadow-active":Ee,"--n-handle-box-shadow-focus":we,"--n-handle-box-shadow-hover":Ce,"--n-handle-color":pe,"--n-handle-size":Ie,"--n-opacity-disabled":ve,"--n-rail-color":Y,"--n-rail-color-hover":J,"--n-rail-height":ke,"--n-rail-width-vertical":xe,"--n-mark-font-size":K}}),ge=n?useThemeClass("slider",void 0,Se,e):void 0,me=computed(()=>{const{self:{fontSize:K,indicatorColor:Y,indicatorBoxShadow:J,indicatorTextColor:ee,indicatorBorderRadius:se}}=s.value;return{"--n-font-size":K,"--n-indicator-border-radius":se,"--n-indicator-box-shadow":J,"--n-indicator-color":Y,"--n-indicator-text-color":ee}}),ye=n?useThemeClass("slider-indicator",void 0,me,e):void 0;return{mergedClsPrefix:t,namespace:r,uncontrolledValue:g,mergedValue:C,mergedDisabled:y,mergedPlacement:A,isMounted:isMounted(),adjustedTo:useAdjustedTo(e),dotTransitionDisabled:O,markInfos:V,isShowTooltip:q,shouldKeepTooltipTransition:H,handleRailRef:a,setHandleRefs:u,setFollowerRefs:d,fillStyle:j,getHandleStyle:z,activeIndex:R,arrifiedValues:S,followerEnabledIndexSet:f,handleRailMouseDown:oe,handleHandleFocus:de,handleHandleBlur:ae,handleHandleMouseEnter:ue,handleHandleMouseLeave:_e,handleRailKeyDown:ie,indicatorCssVars:n?void 0:me,indicatorThemeClass:ye==null?void 0:ye.themeClass,indicatorOnRender:ye==null?void 0:ye.onRender,cssVars:n?void 0:Se,themeClass:ge==null?void 0:ge.themeClass,onRender:ge==null?void 0:ge.onRender}},render(){var e;const{mergedClsPrefix:t,themeClass:r,formatTooltip:n}=this;return(e=this.onRender)===null||e===void 0||e.call(this),h$1("div",{class:[`${t}-slider`,r,{[`${t}-slider--disabled`]:this.mergedDisabled,[`${t}-slider--active`]:this.activeIndex!==-1,[`${t}-slider--with-mark`]:this.marks,[`${t}-slider--vertical`]:this.vertical,[`${t}-slider--reverse`]:this.reverse}],style:this.cssVars,onKeydown:this.handleRailKeyDown,onMousedown:this.handleRailMouseDown,onTouchstart:this.handleRailMouseDown},h$1("div",{class:`${t}-slider-rail`},h$1("div",{class:`${t}-slider-rail__fill`,style:this.fillStyle}),this.marks?h$1("div",{class:[`${t}-slider-dots`,this.dotTransitionDisabled&&`${t}-slider-dots--transition-disabled`]},this.markInfos.map(s=>h$1("div",{key:s.label,class:[`${t}-slider-dot`,{[`${t}-slider-dot--active`]:s.active}],style:s.style}))):null,h$1("div",{ref:"handleRailRef",class:`${t}-slider-handles`},this.arrifiedValues.map((s,a)=>{const l=this.isShowTooltip(a);return h$1(VBinder,null,{default:()=>[h$1(VTarget,null,{default:()=>h$1("div",{ref:this.setHandleRefs(a),class:`${t}-slider-handle-wrapper`,tabindex:this.mergedDisabled?-1:0,style:this.getHandleStyle(s,a),onFocus:()=>{this.handleHandleFocus(a)},onBlur:()=>{this.handleHandleBlur(a)},onMouseenter:()=>{this.handleHandleMouseEnter(a)},onMouseleave:()=>{this.handleHandleMouseLeave(a)}},resolveSlot(this.$slots.thumb,()=>[h$1("div",{class:`${t}-slider-handle`})]))}),this.tooltip&&h$1(VFollower,{ref:this.setFollowerRefs(a),show:l,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(a),teleportDisabled:this.adjustedTo===useAdjustedTo.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>h$1(Transition,{name:"fade-in-scale-up-transition",appear:this.isMounted,css:this.shouldKeepTooltipTransition(a),onEnter:()=>{this.followerEnabledIndexSet.add(a)},onAfterLeave:()=>{this.followerEnabledIndexSet.delete(a)}},{default:()=>{var u;return l?((u=this.indicatorOnRender)===null||u===void 0||u.call(this),h$1("div",{class:[`${t}-slider-handle-indicator`,this.indicatorThemeClass,`${t}-slider-handle-indicator--${this.mergedPlacement}`],style:this.indicatorCssVars},typeof n=="function"?n(s):s)):null}})})]})})),this.marks?h$1("div",{class:`${t}-slider-marks`},this.markInfos.map(s=>h$1("div",{key:s.label,class:`${t}-slider-mark`,style:s.style},s.label))):null))}}),iconBack=""+new URL("back-137ab198.svg",import.meta.url).href,playContent="_playContent_3dolj_1",coursewarePlay="_coursewarePlay_3dolj_9",playModel="_playModel_3dolj_15",headerContainer="_headerContainer_3dolj_24",backBtn="_backBtn_3dolj_42",headRight="_headRight_3dolj_55",rightBtn="_rightBtn_3dolj_64",menu="_menu_3dolj_76",tabsContent="_tabsContent_3dolj_86",wraps="_wraps_3dolj_97",itemDiv="_itemDiv_3dolj_104",itemActive$2="_itemActive_3dolj_117",acitveAnimation="_acitveAnimation_3dolj_120",show="_show_3dolj_123",hide$2="_hide_3dolj_126",rightFixedBtns="_rightFixedBtns_3dolj_139",fullBtn="_fullBtn_3dolj_146",btnsDisabled="_btnsDisabled_3dolj_165",popup="_popup_3dolj_169",overlayClass="_overlayClass_3dolj_173",loadWrap="_loadWrap_3dolj_201",styles$5={playContent,coursewarePlay,playModel,headerContainer,backBtn,headRight,rightBtn,menu,tabsContent,wraps,itemDiv,itemActive:itemActive$2,acitveAnimation,show,hide:hide$2,rightFixedBtns,fullBtn,btnsDisabled,popup,overlayClass,loadWrap},musicScore="_musicScore_18k28_1",container$2="_container_18k28_8",musicModel="_musicModel_18k28_16",errorModel="_errorModel_18k28_23",startBtn="_startBtn_18k28_35",loading="_loading_18k28_44",skeletonWrap="_skeletonWrap_18k28_50",skeleton="_skeleton_18k28_50",styles$4={musicScore,container:container$2,musicModel,errorModel,startBtn,loading,skeletonWrap,skeleton},iconStart=""+new URL("icon-start-4118ae28.svg",import.meta.url).href,MusicScore=defineComponent({name:"musicScore",props:{pageVisibility:{type:String,default:""},show:{type:Boolean,default:!1},music:{type:Object,default:()=>{}},activeModel:{type:Boolean}},emits:["setIframe"],setup(e,{emit:t}){const r=browser();useRoute();const n=ref(!1);watch(()=>e.pageVisibility,m=>{var C,S;m=="hidden"&&(n.value=!1),m=="hidden"&&e.show&&((S=(C=s.value)==null?void 0:C.contentWindow)==null||S.postMessage({api:"setPlayState"},"*"))}),watch(()=>e.show,m=>{var C,S;m||(S=(C=s.value)==null?void 0:C.contentWindow)==null||S.postMessage({api:"setPlayState"},"*")});const s=ref(),a=ref(!1),l=ref(!1),u=ref(!1),p=ref(!1),d=storage.get(ACCESS_TOKEN),f=/(localhost|192)/.test(location.host)?"https://test.lexiaoya.cn":location.origin;let _=queryString.stringifyUrl({url:f+"/instrument",query:{id:e.music.content,modelType:"practise",Authorization:d,showGuide:!0,iscurseplay:"play"}});const y=()=>{fetch(_).then(()=>{u.value=!0,l.value=!1}).catch(m=>{l.value=!0})};watch(e.music,()=>{u.value||(l.value=!1,e.music.display&&y())});const b=()=>{var P;if(!((P=state.user.data)!=null&&P.vipMember)||n.value)return;r.ios||(n.value=!0);const m=storage.get(ACCESS_TOKEN),C=/(localhost|192)/.test(location.host)?"https://test.lexiaoya.cn":location.origin;let S=queryString.stringifyUrl({url:C+"/instrument",query:{id:e.music.content,Authorization:m,showGuide:!0}});postMessage({api:"openAccompanyWebView",content:{url:S,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0,c_orientation:0}},()=>{r.ios&&(n.value=!0)})},g=async()=>{const m=await request.get("/edu-app/user/getUserInfo",{initRequest:!0,requestType:"form",hideLoading:!0});(m==null?void 0:m.code)===200&&(state.user.data.vipMember=m.data.vipMember)};return listenerMessage("webViewOnResume",()=>{n.value=!1,g()}),()=>{var m;return createVNode("div",{class:styles$4.musicScore},[createVNode("iframe",{ref:s,onLoad:C=>{t("setIframe",s.value),a.value=!0},class:[styles$4.container,"musicIframe"],frameborder:"0",src:_},null),a.value&&createVNode("div",{style:{display:e.activeModel||!((m=state.user.data)!=null&&m.vipMember)?"":"none"},class:styles$4.startBtn,onClick:C=>{C.stopPropagation(),b()}},[createVNode("img",{src:iconStart},null)]),createVNode("div",{class:styles$4.skeletonWrap},[createVNode(Skeleton,{class:styles$4.skeleton,row:8},null)]),createVNode(Popup,{teleport:"body",class:"popup-custom van-scale",transition:"van-scale",closeOnClickOverlay:!1,show:p.value,"onUpdate:show":C=>p.value=C},{default:()=>[createVNode(TheVip,{onClose:C=>{C&&postMessage({api:"openWebView",content:{url:`${location.origin}${location.pathname}#/member-center`,orientation:1}}),p.value=!1}},null)]})])}}}),iconMenu=""+new URL("icon-menu-107c1ebd.svg",import.meta.url).href,iconChange=""+new URL("icon-change-4e3ae26f.svg",import.meta.url).href,iconUp=""+new URL("icon-up-44f779eb.svg",import.meta.url).href,iconDown=""+new URL("icon-down-254707d8.svg",import.meta.url).href,container$1="_container_eyzhy_1",pointHead$1="_pointHead_eyzhy_12",content$3="_content_eyzhy_24",item$1="_item_eyzhy_34",cover="_cover_eyzhy_41",title="_title_eyzhy_50",tag="_tag_eyzhy_59",itemActive$1="_itemActive_eyzhy_75",styles$3={container:container$1,pointHead:pointHead$1,content:content$3,item:item$1,cover,title,tag,itemActive:itemActive$1},iconMulv=""+new URL("icon-mulv-62ebfce7.svg",import.meta.url).href,Points=defineComponent({name:"points",props:{data:{type:Array,default:()=>[]},itemActive:{type:String,default:""},itemName:{type:String,default:""}},emits:["handleSelect"],setup(e,{emit:t}){useRoute();const r={SONG:"音频",VIDEO:"视频",IMG:"图片",MUSIC:"乐谱"};return()=>createVNode("div",{class:styles$3.container},[createVNode("div",{class:styles$3.pointHead},[createVNode("img",{src:iconMulv},null),e.itemName]),createVNode("div",{class:styles$3.content},[e.data.map((n,s)=>createVNode("div",{class:[styles$3.item,e.itemActive==n.id?styles$3.itemActive:""],onClick:()=>{t("handleSelect",{itemActive:n.id})}},[createVNode("div",{class:styles$3.cover},[createVNode("img",{src:n.url},null)]),createVNode("div",{class:styles$3.title},[createVNode("div",{class:styles$3.tag},[r[n.type]]),createVNode("div",null,[n.name])])]))])])}});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,n=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(n,s,a){return n<0&&(n=0),s<0&&(s=0),a<0&&(a=0),"#"+e[n]+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,n,s={onmessage:function(){},postMessage:function(b){r({data:b})}},a={postMessage:function(b){s.onmessage({data:b})}};function l(y){if(window.Worker&&window.Blob&&getWebWorker()){var b=new Blob(["var _workerSelf = self; self.onmessage = ",y.toString()],{type:"text/javascript"}),g=URL.createObjectURL(b);return new Worker(g)}return r=y,s}function u(){n||(n=l(function(b){function g(){function C(H,L){var B,M,D=H.length,N,F,U,W;for(M=0;M=0;L-=1)if(H[L].ty==="sh")if(H[L].ks.k.i)R(H[L].ks.k);else for(D=H[L].ks.k.length,M=0;MB[0]?!0:B[0]>H[0]?!1:H[1]>B[1]?!0:B[1]>H[1]?!1:H[2]>B[2]?!0:B[2]>H[2]?!1:null}var k=function(){var H=[4,4,14];function L(M){var D=M.t.d;M.t.d={k:[{s:D,t:0}]}}function B(M){var D,N=M.length;for(D=0;D=0;D-=1)if(M[D].ty==="sh")if(M[D].ks.k.i)M[D].ks.k.c=M[D].closed;else for(U=M[D].ks.k.length,F=0;F500)&&(this._imageLoaded(),clearInterval(A)),P+=1}.bind(this),50)}function a(S){var P=n(S,this.assetsPath,this.path),A=createNS("image");isSafari?this.testImageLoaded(A):A.addEventListener("load",this._imageLoaded,!1),A.addEventListener("error",function(){x.img=e,this._imageLoaded()}.bind(this),!1),A.setAttributeNS("http://www.w3.org/1999/xlink","href",P),this._elementHelper.append?this._elementHelper.append(A):this._elementHelper.appendChild(A);var x={img:A,assetData:S};return x}function l(S){var P=n(S,this.assetsPath,this.path),A=createTag("img");A.crossOrigin="anonymous",A.addEventListener("load",this._imageLoaded,!1),A.addEventListener("error",function(){x.img=e,this._imageLoaded()}.bind(this),!1),A.src=P;var x={img:A,assetData:S};return x}function u(S){var P={assetData:S},A=n(S,this.assetsPath,this.path);return dataManager.loadData(A,function(x){P.img=x,this._footageLoaded()}.bind(this),function(){P.img={},this._footageLoaded()}.bind(this)),P}function p(S,P){this.imagesLoadedCb=P;var A,x=S.length;for(A=0;Athis.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t=this.animationData.layers,r,n=t.length,s=e.layers,a,l=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,n=e.length;for(r=0;r=0;B-=1)t[B].animation.destroy(L)}function I(L,B,M){var D=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),N,F=D.length;for(N=0;N0?x=I:A=I;while(Math.abs(k)>a&&++O=s?C(A,j,x,R):V===0?j:m(A,k,k+p,x,R)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,r){var n=0,s=e,a=createSizedArray(s),l={newElement:u,release:p};function u(){var d;return n?(n-=1,d=a[n]):d=t(),d}function p(d){n===s&&(a=pooling.double(a),s*=2),r&&r(d),a[n]=d,n+=1}return l}}(),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 n,s=r.lengths.length;for(n=0;n-.001&&P<.001}function r(y,b,g,m,C,S,P,A,x){if(g===0&&S===0&&x===0)return t(y,b,m,C,P,A);var R=e.sqrt(e.pow(m-y,2)+e.pow(C-b,2)+e.pow(S-g,2)),E=e.sqrt(e.pow(P-y,2)+e.pow(A-b,2)+e.pow(x-g,2)),k=e.sqrt(e.pow(P-m,2)+e.pow(A-C,2)+e.pow(x-S,2)),I;return R>E?R>k?I=R-E-k:I=k-E-R:k>E?I=k-E-R:I=E-R-k,I>-1e-4&&I<1e-4}var n=function(){return function(y,b,g,m){var C=getDefaultCurveSegments(),S,P,A,x,R,E=0,k,I=[],O=[],G=bezierLengthPool.newElement();for(A=g.length,S=0;SP?-1:1,R=!0;R;)if(m[S]<=P&&m[S+1]>P?(A=(P-m[S])/(m[S+1]-m[S]),R=!1):S+=x,S<0||S>=C-1){if(S===C-1)return g[S];R=!1}return g[S]+(g[S+1]-g[S])*A}function d(y,b,g,m,C,S){var P=p(C,S),A=1-P,x=e.round((A*A*A*y[0]+(P*A*A+A*P*A+A*A*P)*g[0]+(P*P*A+A*P*P+P*A*P)*m[0]+P*P*P*b[0])*1e3)/1e3,R=e.round((A*A*A*y[1]+(P*A*A+A*P*A+A*A*P)*g[1]+(P*P*A+A*P*P+P*A*P)*m[1]+P*P*P*b[1])*1e3)/1e3;return[x,R]}var f=createTypedArray("float32",8);function _(y,b,g,m,C,S,P){C<0?C=0:C>1&&(C=1);var A=p(C,P);S=S>1?1:S;var x=p(S,P),R,E=y.length,k=1-A,I=1-x,O=k*k*k,G=A*k*k*3,j=A*A*k*3,V=A*A*A,z=k*k*I,q=A*k*I+k*A*I+k*k*x,H=A*A*I+k*A*x+A*k*x,L=A*A*x,B=k*I*I,M=A*I*I+k*x*I+k*I*x,D=A*x*I+k*x*x+A*I*x,N=A*x*x,F=I*I*I,U=x*I*I+I*x*I+I*I*x,W=x*x*I+I*x*x+x*I*x,Q=x*x*x;for(R=0;R=d.t-r){p.h&&(p=d),s=0;break}if(d.t-r>e){s=a;break}a=S||e=S?x.points.length-1:0;for(y=x.points[R].point.length,_=0;_=I&&E=S)n[0]=A[0],n[1]=A[1],n[2]=A[2];else if(e<=P)n[0]=p.s[0],n[1]=p.s[1],n[2]=p.s[2];else{var q=createQuaternion(p.s),H=createQuaternion(A),L=(e-P)/(S-P);quaternionToEuler(n,slerp(q,H,L))}else for(a=0;a=S?b=1:e1e-6?(y=Math.acos(b),g=Math.sin(y),m=Math.sin((1-r)*y)/g,C=Math.sin(r*y)/g):(m=1-r,C=r),n[0]=m*s+C*p,n[1]=m*a+C*d,n[2]=m*l+C*f,n[3]=m*u+C*_,n}function quaternionToEuler(e,t){var r=t[0],n=t[1],s=t[2],a=t[3],l=Math.atan2(2*n*a-2*r*s,1-2*n*n-2*s*s),u=Math.asin(2*r*n+2*s*a),p=Math.atan2(2*r*a-2*n*s,1-2*r*r-2*s*s);e[0]=l/degToRads,e[1]=u/degToRads,e[2]=p/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,n=e[2]*degToRads,s=Math.cos(t/2),a=Math.cos(r/2),l=Math.cos(n/2),u=Math.sin(t/2),p=Math.sin(r/2),d=Math.sin(n/2),f=s*a*l-u*p*d,_=u*p*l+s*a*d,y=u*a*l+s*p*d,b=s*p*l-u*a*d;return[_,y,b,f]}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 n=this.interpolateValue(e,this._caching);this.pv=n}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,n=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[n]||a[n]&&!s)&&(a[n]=pointPool.newElement()),a[n][0]=e,a[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,s,a,l,u){this.setXYAt(e,t,"v",l,u),this.setXYAt(r,n,"o",l,u),this.setXYAt(s,a,"i",l,u)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,s=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),s=1);var a=this._length-1,l=this._length,u;for(u=s;u=q[q.length-1].t-this.offsetTime)R=q[q.length-1].s?q[q.length-1].s[0]:q[q.length-2].e[0],k=!0;else{for(var H=x,L=q.length-1,B=!0,M,D,N;B&&(M=q[H],D=q[H+1],!(D.t-this.offsetTime>S));)H=D.t-this.offsetTime)V=1;else if(SA&&S>A)||(this._caching.lastIndex=x0||M>-1e-6&&M<0?n(M*D)/D:M}function B(){var M=this.props,D=L(M[0]),N=L(M[1]),F=L(M[4]),U=L(M[5]),W=L(M[12]),Q=L(M[13]);return"matrix("+D+","+N+","+F+","+U+","+W+","+Q+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=l,this.rotateY=u,this.rotateZ=p,this.skew=f,this.skewFromAxis=_,this.shear=d,this.scale=y,this.setTransform=b,this.translate=g,this.transform=m,this.multiply=C,this.applyToPoint=R,this.applyToX=E,this.applyToY=k,this.applyToZ=I,this.applyToPointArray=z,this.applyToTriplePoints=V,this.applyToPointStringified=q,this.toCSS=H,this.to2dCSS=B,this.clone=A,this.cloneFromProps=x,this.equals=P,this.inversePoints=j,this.inversePoint=G,this.getInverseMatrix=O,this._t=this.transform,this.isIdentity=S,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 l=[],u,p=a.length,d;for(u=0;un+r)){var f,_;d.s*s<=n?f=0:f=(d.s*s-n)/r,d.e*s>=n+r?_=1:_=(d.e*s-n)/r,l.push([f,_])}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t1?t=1+n:this.s.v<0?t=0+n:t=this.s.v+n,this.e.v>1?r=1+n:this.e.v<0?r=0+n:r=this.e.v+n,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,l,u=this.shapes.length,p,d,f,_,y,b=0;if(r===t)for(l=0;l=0;l-=1)if(m=this.shapes[l],m.shape._mdf){for(C=m.localShapeCollection,C.releaseShapes(),this.m===2&&u>1?(x=this.calculateShapeEdges(t,r,m.totalShapeLength,A,b),A+=m.totalShapeLength):x=[[S,P]],d=x.length,p=0;p=1?g.push({s:m.totalShapeLength*(S-1),e:m.totalShapeLength*(P-1)}):(g.push({s:m.totalShapeLength*S,e:m.totalShapeLength}),g.push({s:0,e:m.totalShapeLength*(P-1)}));var R=this.addShapes(m,g[0]);if(g[0].s!==g[0].e){if(g.length>1){var E=m.shape.paths.shapes[m.shape.paths._length-1];if(E.c){var k=R.pop();this.addPaths(R,C),R=this.addShapes(m,g[1],k)}else this.addPaths(R,C),R=this.addShapes(m,g[1])}this.addPaths(R,C)}}m.shape.paths=C}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;rt.e){r.c=!1;break}else t.s<=d&&t.e>=d+f.addedLength?(this.addSegment(s[a].v[u-1],s[a].o[u-1],s[a].i[u],s[a].v[u],r,_,C),C=!1):(b=bez.getNewSegment(s[a].v[u-1],s[a].v[u],s[a].o[u-1],s[a].i[u],(t.s-d)/f.addedLength,(t.e-d)/f.addedLength,y[u-1]),this.addSegmentFromArray(b,r,_,C),C=!1,r.c=!1),d+=f.addedLength,_+=1;if(s[a].c&&y.length){if(f=y[u-1],d<=t.e){var S=y[u-1].addedLength;t.s<=d&&t.e>=d+S?(this.addSegment(s[a].v[u-1],s[a].o[u-1],s[a].i[0],s[a].v[0],r,_,C),C=!1):(b=bez.getNewSegment(s[a].v[u-1],s[a].v[0],s[a].o[u-1],s[a].i[0],(t.s-d)/S,(t.e-d)/S,y[u-1]),this.addSegmentFromArray(b,r,_,C),C=!1,r.c=!1)}else r.c=!1;d+=f.addedLength,_+=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)),d>t.e)break;a=this.p.keyframes[this.p.keyframes.length-1].t?(f=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/d,0),_=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/d,0)):(f=this.p.pv,_=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/d,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){f=[],_=[];var y=this.px,b=this.py;y._caching.lastFrame+y.offsetTime<=y.keyframes[0].t?(f[0]=y.getValueAtTime((y.keyframes[0].t+.01)/d,0),f[1]=b.getValueAtTime((b.keyframes[0].t+.01)/d,0),_[0]=y.getValueAtTime(y.keyframes[0].t/d,0),_[1]=b.getValueAtTime(b.keyframes[0].t/d,0)):y._caching.lastFrame+y.offsetTime>=y.keyframes[y.keyframes.length-1].t?(f[0]=y.getValueAtTime(y.keyframes[y.keyframes.length-1].t/d,0),f[1]=b.getValueAtTime(b.keyframes[b.keyframes.length-1].t/d,0),_[0]=y.getValueAtTime((y.keyframes[y.keyframes.length-1].t-.01)/d,0),_[1]=b.getValueAtTime((b.keyframes[b.keyframes.length-1].t-.01)/d,0)):(f=[y.pv,b.pv],_[0]=y.getValueAtTime((y._caching.lastFrame+y.offsetTime-.01)/d,y.offsetTime),_[1]=b.getValueAtTime((b._caching.lastFrame+b.offsetTime-.01)/d,b.offsetTime))}else _=e,f=_;this.v.rotate(-Math.atan2(f[1]-_[1],f[0]-_[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function n(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function s(){}function a(p){this._addDynamicProperty(p),this.elem.addDynamicProperty(p),this._isDirty=!0}function l(p,d,f){if(this.elem=p,this.frameId=-1,this.propType="transform",this.data=d,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(f||p),d.p&&d.p.s?(this.px=PropertyFactory.getProp(p,d.p.x,0,0,this),this.py=PropertyFactory.getProp(p,d.p.y,0,0,this),d.p.z&&(this.pz=PropertyFactory.getProp(p,d.p.z,0,0,this))):this.p=PropertyFactory.getProp(p,d.p||{k:[0,0,0]},1,0,this),d.rx){if(this.rx=PropertyFactory.getProp(p,d.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(p,d.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(p,d.rz,0,degToRads,this),d.or.k[0].ti){var _,y=d.or.k.length;for(_=0;_0;)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(y):Math.ceil(y),m=this.pMatrix.props,C=this.rMatrix.props,S=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var P=0;if(y>0){for(;Pg;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),P-=1;b&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-b,!0),P-=b)}n=this.data.m===1?0:this._currentCopies-1,s=this.data.m===1?1:-1,a=this._currentCopies;for(var A,x;a;){if(t=this.elemsData[n].it,r=t[t.length-1].transform.mProps.v.props,x=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)*(n/(this._currentCopies-1)),P!==0){for((n!==0&&s===1||n!==this._currentCopies-1&&s===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),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(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],S[8],S[9],S[10],S[11],S[12],S[13],S[14],S[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]),A=0;A0&&n<1?[t]:[]:[t-n,t+n].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),n=lerpPoint(this.points[2],this.points[3],e),s=lerpPoint(t,r,e),a=lerpPoint(r,n,e),l=lerpPoint(s,a,e);return[new PolynomialBezier(this.points[0],t,s,l,!0),new PolynomialBezier(l,a,n,this.points[3],!0)]};function extrema(e,t){var r=e.points[0][t],n=e.points[e.points.length-1][t];if(r>n){var s=n;n=r,r=s}for(var a=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),l=0;l0&&a[l]<1){var u=e.point(a[l])[t];un&&(n=u)}return{min:r,max:n}}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 n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.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<=n&&e.height<=n&&t.width<=n&&t.height<=n){s.push([e.t,t.t]);return}var l=splitData(e),u=splitData(t);intersectsImpl(l[0],u[0],r+1,n,s,a),intersectsImpl(l[0],u[1],r+1,n,s,a),intersectsImpl(l[1],u[0],r+1,n,s,a),intersectsImpl(l[1],u[1],r+1,n,s,a)}}PolynomialBezier.prototype.intersections=function(e,t,r){t===void 0&&(t=2),r===void 0&&(r=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,n,r),n},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,n){var s=[e[0],e[1],1],a=[t[0],t[1],1],l=[r[0],r[1],1],u=[n[0],n[1],1],p=crossProduct(crossProduct(s,a),crossProduct(l,u));return floatZero(p[2])?null:[p[0]/p[2],p[1]/p[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,n,s,a,l){var u=r-Math.PI/2,p=r+Math.PI/2,d=t[0]+Math.cos(r)*n*s,f=t[1]-Math.sin(r)*n*s;e.setTripleAt(d,f,d+Math.cos(u)*a,f-Math.sin(u)*a,d+Math.cos(p)*l,f-Math.sin(p)*l,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],n=-Math.PI*.5,s=[Math.cos(n)*r[0]-Math.sin(n)*r[1],Math.sin(n)*r[0]+Math.cos(n)*r[1]];return s}function getProjectingAngle(e,t){var r=t===0?e.length()-1:t-1,n=(t+1)%e.length(),s=e.v[r],a=e.v[n],l=getPerpendicularVector(s,a);return Math.atan2(0,1)-Math.atan2(l[1],l[0])}function zigZagCorner(e,t,r,n,s,a,l){var u=getProjectingAngle(t,r),p=t.v[r%t._length],d=t.v[r===0?t._length-1:r-1],f=t.v[(r+1)%t._length],_=a===2?Math.sqrt(Math.pow(p[0]-d[0],2)+Math.pow(p[1]-d[1],2)):0,y=a===2?Math.sqrt(Math.pow(p[0]-f[0],2)+Math.pow(p[1]-f[1],2)):0;setPoint(e,t.v[r%t._length],u,l,n,y/((s+1)*2),_/((s+1)*2))}function zigZagSegment(e,t,r,n,s,a){for(var l=0;l1&&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,n]}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(),n,s,a,l;if(r.length===0)return[offsetSegment(e,t)];if(r.length===1||floatEqual(r[1],1))return a=e.split(r[0]),n=a[0],s=a[1],[offsetSegment(n,t),offsetSegment(s,t)];a=e.split(r[0]),n=a[0];var u=(r[1]-r[0])/(1-r[0]);return a=a[1].split(u),l=a[0],s=a[1],[offsetSegment(n,t),offsetSegment(l,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,n){var s=shapePool.newElement();s.c=e.c;var a=e.length();e.c||(a-=1);var l,u,p,d=[];for(l=0;l=0;l-=1)p=PolynomialBezier.shapeSegmentInverted(e,l),d.push(offsetSegmentSplit(p,t));d=pruneIntersections(d);var f=null,_=null;for(l=0;l0&&(U=!1),U){var Z=createTag("style");Z.setAttribute("f-forigin",M[D].fOrigin),Z.setAttribute("f-origin",M[D].origin),Z.setAttribute("f-family",M[D].fFamily),Z.type="text/css",Z.innerText="@font-face {font-family: "+M[D].fFamily+"; font-style: normal; src: url('"+M[D].fPath+"');}",B.appendChild(Z)}}else if(M[D].fOrigin==="g"||M[D].origin===1){for(W=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Q=0;Q=55296&&M<=56319){var D=L.charCodeAt(1);D>=56320&&D<=57343&&(B=(M-55296)*1024+D-56320+65536)}return B}function E(L,B){var M=L.toString(16)+B.toString(16);return _.indexOf(M)!==-1}function k(L){return L===p}function I(L){return L===u}function O(L){var B=R(L);return B>=d&&B<=f}function G(L){return O(L.substr(0,2))&&O(L.substr(2,2))}function j(L){return r.indexOf(L)!==-1}function V(L,B){var M=R(L.substr(B,2));if(M!==n)return!1;var D=0;for(B+=2;D<5;){if(M=R(L.substr(B,2)),Ml)return!1;D+=1,B+=2}return R(L.substr(B,2))===s}function z(){this.isLoaded=!0}var q=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)};q.isModifier=E,q.isZeroWidthJoiner=k,q.isFlagEmoji=G,q.isRegionalCode=O,q.isCombinedCharacter=j,q.isRegionalFlag=V,q.isVariationSelector=I,q.BLACK_FLAG_CODE_POINT=n;var H={addChars:S,addFonts:C,getCharData:P,getFontByName:x,measureText:A,checkLoadedFonts:g,setIsLoaded:z};return q.prototype=H,q}();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,n;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(n=this.layers[t],n.ip-n.st<=e-this.layers[t].st&&n.op-n.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",y),this.element.maskedElement.setAttribute(P,"url("+getLocationHref()+"#"+y+")"),n.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,n=this.masksProperties.length;for(r=0;r1&&(n+=" 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!==n){var l="";r.elem&&(t.c&&(l=e.inv?this.solidPath+n:n),r.elem.setAttribute("d",l)),r.lastPath=n}},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(n,s){var a=createNS("filter");return a.setAttribute("id",n),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 n=createNS("feColorMatrix");return n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),n}return e}(),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",n=e.data.ef?e.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s,!0),l=0;this.filters=[];var u;for(t=0;t=0&&(n=this.shapeModifiers[t].processShapes(this._isFirstFrame),!n);t-=1);}},searchProcessedElement:function(t){for(var r=this.processedElements,n=0,s=r.length;n.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;)S=y.transformers[O].mProps._mdf||S,I-=1,O-=1;if(S)for(I=R-y.styles[A].lvl,O=y.transformers.length-1;I>0;)k.multiply(y.transformers[O].mProps.v),I-=1,O-=1}else k=e;if(E=y.sh.paths,m=E._length,S){for(C="",g=0;g=1?z=.99:z<=-1&&(z=-.99);var q=j*z,H=Math.cos(V+y.a.v)*q+C[0],L=Math.sin(V+y.a.v)*q+C[1];g.setAttribute("fx",H),g.setAttribute("fy",L),m&&!y.g._collapsable&&(y.of.setAttribute("fx",H),y.of.setAttribute("fy",L))}}}function f(_,y,b){var g=y.style,m=y.d;m&&(m._mdf||b)&&m.dashStr&&(g.pElem.setAttribute("stroke-dasharray",m.dashStr),g.pElem.setAttribute("stroke-dashoffset",m.dashoffset[0])),y.c&&(y.c._mdf||b)&&g.pElem.setAttribute("stroke","rgb("+bmFloor(y.c.v[0])+","+bmFloor(y.c.v[1])+","+bmFloor(y.c.v[2])+")"),(y.o._mdf||b)&&g.pElem.setAttribute("stroke-opacity",y.o.v),(y.w._mdf||b)&&(g.pElem.setAttribute("stroke-width",y.w.v),g.msElem&&g.msElem.setAttribute("stroke-width",y.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,n,s=this.stylesList.length,a,l=[],u=!1;for(n=0;n1&&u&&this.setShapesAsAnimated(l)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t=0;p-=1){if(C=this.searchProcessedElement(e[p]),C?t[p]=r[C-1]:e[p]._render=l,e[p].ty==="fl"||e[p].ty==="st"||e[p].ty==="gf"||e[p].ty==="gs"||e[p].ty==="no")C?t[p].style.closed=!1:t[p]=this.createStyleElement(e[p],s),e[p]._render&&t[p].style.pElem.parentNode!==n&&n.appendChild(t[p].style.pElem),y.push(t[p].style);else if(e[p].ty==="gr"){if(!C)t[p]=this.createGroupElement(e[p]);else for(_=t[p].it.length,f=0;f<_;f+=1)t[p].prevViewData[f]=t[p].it[f];this.searchShapes(e[p].it,t[p].it,t[p].prevViewData,t[p].gr,s+1,u,l),e[p]._render&&t[p].gr.parentNode!==n&&n.appendChild(t[p].gr)}else e[p].ty==="tr"?(C||(t[p]=this.createTransformElement(e[p],n)),g=t[p].transform,u.push(g)):e[p].ty==="sh"||e[p].ty==="rc"||e[p].ty==="el"||e[p].ty==="sr"?(C||(t[p]=this.createShapeElement(e[p],u,s)),this.setElementStyles(t[p])):e[p].ty==="tm"||e[p].ty==="rd"||e[p].ty==="ms"||e[p].ty==="pb"||e[p].ty==="zz"||e[p].ty==="op"?(C?(m=t[p],m.closed=!1):(m=ShapeModifiers.getModifier(e[p].ty),m.init(this,e[p]),t[p]=m,this.shapeModifiers.push(m)),b.push(m)):e[p].ty==="rp"&&(C?(m=t[p],m.closed=!0):(m=ShapeModifiers.getModifier(e[p].ty),t[p]=m,m.init(this,e,p,t),this.shapeModifiers.push(m),l=!1),b.push(m));this.addProcessedElement(e[p],p+1)}for(d=y.length,p=0;p1,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 n,s=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(n=0;nt);)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,n=e.length,s,a,l=!1,u=!1,p="";r=55296&&s<=56319?FontManager.isRegionalFlag(e,r)?p=e.substr(r,14):(a=e.charCodeAt(r+1),a>=56320&&a<=57343&&(FontManager.isModifier(s,a)?(p=e.substr(r,2),l=!0):FontManager.isFlagEmoji(e.substr(r,4))?p=e.substr(r,4):p=e.substr(r,2))):s>56319?(a=e.charCodeAt(r+1),FontManager.isVariationSelector(s)&&(l=!0)):FontManager.isZeroWidthJoiner(s)&&(l=!0,u=!0),l?(t[t.length-1]+=p,l=!1):t.push(p),r+=p.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,r=this.data,n=[],s,a,l,u=0,p,d=r.m.g,f=0,_=0,y=0,b=[],g=0,m=0,C,S,P=t.getFontByName(e.f),A,x=0,R=getFontProperties(P);e.fWeight=R.weight,e.fStyle=R.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),a=e.finalText.length,e.finalLineHeight=e.lh;var E=e.tr/1e3*e.finalSize,k;if(e.sz)for(var I=!0,O=e.sz[0],G=e.sz[1],j,V;I;){V=this.buildFinalText(e.t),j=0,g=0,a=V.length,E=e.tr/1e3*e.finalSize;var z=-1;for(s=0;sO&&V[s]!==" "?(z===-1?a+=1:s=z,j+=e.finalLineHeight||e.finalSize*1.2,V.splice(s,z===s?1:0,"\r"),z=-1,g=0):(g+=x,g+=E);j+=P.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&Gm?g:m,g=-2*E,p="",l=!0,y+=1):p=H,t.chars?(A=t.getCharData(H,P.fStyle,t.getFontByName(e.f).fFamily),x=l?0:A.w*e.finalSize/100):x=t.measureText(p,e.f,e.finalSize),H===" "?q+=x+E:(g+=x+E+q,q=0),n.push({l:x,an:x,add:f,n:l,anIndexes:[],val:p,line:y,animatorJustifyOffset:0}),d==2){if(f+=x,p===""||p===" "||s===a-1){for((p===""||p===" ")&&(f-=x);_<=s;)n[_].an=f,n[_].ind=u,n[_].extra=x,_+=1;u+=1,f=0}}else if(d==3){if(f+=x,p===""||s===a-1){for(p===""&&(f-=x);_<=s;)n[_].an=f,n[_].ind=u,n[_].extra=x,_+=1;f=0,u+=1}}else n[u].ind=u,n[u].extra=0,u+=1;if(e.l=n,m=g>m?g:m,b.push(g),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=b;var L=r.a,B,M;S=L.length;var D,N,F=[];for(C=0;C0?u=this.ne.v/100:p=-this.ne.v/100,this.xe.v>0?d=1-this.xe.v/100:f=1+this.xe.v/100;var _=BezierFactory.getBezierEasing(u,p,d,f).get,y=0,b=this.finalS,g=this.finalE,m=this.data.sh;if(m===2)g===b?y=l>=g?1:0:y=e(0,t(.5/(g-b)+(l-b)/(g-b),1)),y=_(y);else if(m===3)g===b?y=l>=g?0:1:y=1-e(0,t(.5/(g-b)+(l-b)/(g-b),1)),y=_(y);else if(m===4)g===b?y=0:(y=e(0,t(.5/(g-b)+(l-b)/(g-b),1)),y<.5?y*=2:y=1-2*(y-.5)),y=_(y);else if(m===5){if(g===b)y=0;else{var C=g-b;l=t(e(0,l+.5-b),g-b);var S=-C/2+l,P=C/2;y=Math.sqrt(1-S*S/(P*P))}y=_(y)}else m===6?(g===b?y=0:(l=t(e(0,l+.5-b),g-b),y=(1+Math.cos(Math.PI+Math.PI*2*l/(g-b)))/2),y=_(y)):(l>=r(b)&&(l-b<0?y=e(0,t(t(g,1)-(b-l),1)):y=e(0,t(g-l,1))),y=_(y));if(this.sm.v!==100){var A=this.sm.v*.01;A===0&&(A=1e-8);var x=.5-A*.5;y1&&(y=1))}return y*this.a.v},getValue:function(l){this.iterateDynamicProperties(),this._mdf=l||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,l&&this.data.r===2&&(this.e.v=this._currentTextLength);var u=this.data.r===2?1:100/this.data.totalChars,p=this.o.v/u,d=this.s.v/u+p,f=this.e.v/u+p;if(d>f){var _=d;d=f,f=_}this.finalS=d,this.finalE=f}},extendPrototype([DynamicPropertyContainer],n);function s(a,l,u){return new n(a,l)}return{getTextSelectorProp:s}}();function TextAnimatorDataProperty(e,t,r){var n={propType:!1},s=PropertyFactory.getProp,a=t.a;this.a={r:a.r?s(e,a.r,0,degToRads,r):n,rx:a.rx?s(e,a.rx,0,degToRads,r):n,ry:a.ry?s(e,a.ry,0,degToRads,r):n,sk:a.sk?s(e,a.sk,0,degToRads,r):n,sa:a.sa?s(e,a.sa,0,degToRads,r):n,s:a.s?s(e,a.s,1,.01,r):n,a:a.a?s(e,a.a,1,0,r):n,o:a.o?s(e,a.o,0,.01,r):n,p:a.p?s(e,a.p,1,0,r):n,sw:a.sw?s(e,a.sw,0,0,r):n,sc:a.sc?s(e,a.sc,1,0,r):n,fc:a.fc?s(e,a.fc,1,0,r):n,fh:a.fh?s(e,a.fh,0,0,r):n,fs:a.fs?s(e,a.fs,0,.01,r):n,fb:a.fb?s(e,a.fb,0,.01,r):n,t:a.t?s(e,a.t,0,0,r):n},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,n=PropertyFactory.getProp;for(e=0;e=g+ee||!R?(O=(g+ee-C)/m.partialLength,Q=x.point[0]+(m.point[0]-x.point[0])*O,Z=x.point[1]+(m.point[1]-x.point[1])*O,a.translate(-r[0]*y[f].an*.005,-(r[1]*q)*.01),S=!1):R&&(C+=m.partialLength,P+=1,P>=R.length&&(P=0,A+=1,E[A]?R=E[A].points:j.v.c?(P=0,A=0,R=E[A].points):(C-=m.partialLength,R=null)),R&&(x=m,m=R[P],k=m.partialLength));W=y[f].an/2-y[f].add,a.translate(-W,0,0)}else W=y[f].an/2-y[f].add,a.translate(-W,0,0),a.translate(-r[0]*y[f].an*.005,-r[1]*q*.01,0);for(M=0;Me?this.textSpans[e].span:createNS(u?"g":"text"),A<=e){if(p.setAttribute("stroke-linecap","butt"),p.setAttribute("stroke-linejoin","round"),p.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=p,u){var R=createNS("g");p.appendChild(R),this.textSpans[e].childSpan=R}this.textSpans[e].span=p,this.layerElement.appendChild(p)}p.style.display="inherit"}if(d.reset(),_&&(l[e].n&&(y=-m,b+=r.yOffset,b+=g?1:0,g=!1),this.applyTextPropertiesToMatrix(r,d,l[e].line,y,b),y+=l[e].l||0,y+=m),u){x=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var E;if(x.t===1)E=new SVGCompElement(x.data,this.globalData,this);else{var k=emptyShapeData;x.data&&x.data.shapes&&(k=this.buildShapeData(x.data,r.finalSize)),E=new SVGShapeElement(k,this.globalData,this)}if(this.textSpans[e].glyph){var I=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(I.layerElement),I.destroy()}this.textSpans[e].glyph=E,E._debug=!0,E.prepareFrame(0),E.renderFrame(),this.textSpans[e].childSpan.appendChild(E.layerElement),x.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else _&&p.setAttribute("transform","translate("+d.props[12]+","+d.props[13]+")"),p.textContent=l[e].val,p.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}_&&p&&p.setAttribute("d",f)}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;n-=1)t.finalTransform.multiply(t.transforms[n].transform.mProps.v);t._mdf=a},processSequences:function(t){var r,n=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 n=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(n),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 n=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(n.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,n){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,l=r.length,u;for(a=0;a=0;a-=1){if(_=this.searchProcessedElement(e[a]),_?t[a]=r[_-1]:e[a]._shouldRender=n,e[a].ty==="fl"||e[a].ty==="st"||e[a].ty==="gf"||e[a].ty==="gs")_?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],g),d.push(t[a].style);else if(e[a].ty==="gr"){if(!_)t[a]=this.createGroupElement(e[a]);else for(p=t[a].it.length,u=0;u=0;s-=1)t[s].ty==="tr"?(l=r[s].transform,this.renderShapeTransform(e,l)):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],l):t[s].ty==="st"?this.renderStroke(t[s],r[s],l):t[s].ty==="gf"||t[s].ty==="gs"?this.renderGradientFill(t[s],r[s],l):t[s].ty==="gr"?this.renderShape(l,t[s].it,r[s].it):t[s].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r=e.trNodes,n=t.paths,s,a,l,u=n._length;r.length=0;var p=e.transforms.finalTransform;for(l=0;l=1?f=.99:f<=-1&&(f=-.99);var _=p*f,y=Math.cos(d+t.a.v)*_+l[0],b=Math.sin(d+t.a.v)*_+l[1];s=a.createRadialGradient(y,b,0,l[0],l[1],p)}var g,m=e.g.p,C=t.g.c,S=1;for(g=0;ga&&p==="xMidYMid slice"||ss&&u==="meet"||as&&u==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:d==="xMax"&&(as&&u==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,f==="YMid"&&(a>s&&u==="meet"||as&&u==="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,n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=n-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=n-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,n=e.length;for(r=0;r0&&p<1&&s[y].push(this.calculateF(p,e,t,r,n,y))):(d=l*l-4*u*a,d>=0&&(f=(-l+bmSqrt(d))/(2*a),f>0&&f<1&&s[y].push(this.calculateF(f,e,t,r,n,y)),_=(-l-bmSqrt(d))/(2*a),_>0&&_<1&&s[y].push(this.calculateF(_,e,t,r,n,y)))));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,n,s,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*r[a]+3*(1-e)*bmPow(e,2)*n[a]+bmPow(e,3)*s[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,n=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 n=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.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)),l=[s[0]/a,s[1]/a,s[2]/a],u=Math.sqrt(l[2]*l[2]+l[0]*l[0]),p=Math.atan2(l[1],u),d=Math.atan2(l[0],-l[2]);this.mat.rotateY(d).rotateX(-p)}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 f=!this._prevMat.equals(this.mat);if((f||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var _,y,b;for(t=0;t=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r=createTag("div"),n,s;styleDiv(r);var a=createTag("div");if(styleDiv(a),t==="3d"){n=r.style,n.width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var l="50% 50%";n.webkitTransformOrigin=l,n.mozTransformOrigin=l,n.transformOrigin=l,s=a.style;var u="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.transform=u,s.webkitTransform=u}r.appendChild(a);var p={container:a,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(p),p},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,r,n="";for(e=0;e=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,n=this.threeDElements.length;rr?(s=e/this.globalData.compSize.w,a=e/this.globalData.compSize.w,l=0,u=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(s=t/this.globalData.compSize.h,a=t/this.globalData.compSize.h,l=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,u=0);var p=this.resizerElem.style;p.webkitTransform="matrix3d("+s+",0,0,0,0,"+a+",0,0,0,0,1,0,"+l+","+u+",0,1)",p.transform=p.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,n=this.threeDElements.length;for(r=0;r=d;)j/=2,V/=2,z>>>=1;return(j+z)/V};return O.int32=function(){return I.g(4)|0},O.quick=function(){return I.g(4)/4294967296},O.double=O,C(P(I.S),e),(x.pass||R||function(G,j,V,z){return z&&(z.S&&g(z,I),G.state=function(){return g(I,{})}),V?(t[l]=G,j):G})(O,k,"global"in x?x.global:this==t,x.state)}t["seed"+l]=y;function b(A){var x,R=A.length,E=this,k=0,I=E.i=E.j=0,O=E.S=[];for(R||(A=[R++]);kr){var n=r;r=t,t=n}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,n=Math.min(e.length,t.length),s=0;for(r=0;r.5?d/(2-s-a):d/(s+a),s){case t:l=(r-n)/d+(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],n=e[2],s,a,l;if(r===0)s=n,l=n,a=n;else{var u=n<.5?n*(1+r):n+r-n*r,p=2*n-u;s=hue2rgb(p,u,t+1/3),a=hue2rgb(p,u,t),l=hue2rgb(p,u,t-1/3)}return[s,a,l,e[3]]}function linear(e,t,r,n,s){if((n===void 0||s===void 0)&&(n=t,s=r,t=0,r=1),r=r)return s;var l=r===t?0:(e-t)/(r-t);if(!n.length)return n+(s-n)*l;var u,p=n.length,d=createTypedArray("float32",p);for(u=0;u1){for(s=0;s1?t=1:t<0&&(t=0);var l=e(t);if($bm_isInstanceOfArray(s)){var u,p=s.length,d=createTypedArray("float32",p);for(u=0;udata.k[t].t&&edata.k[t+1].t-e?(n=t+2,s=data.k[t+1].t):(n=t+1,s=data.k[t].t);break}n===-1&&(n=t+1,s=data.k[t].t)}var a={};return a.index=n,a.time=s/elem.comp.globalData.frameRate,a}function key(e){var t,r,n;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(n=s.length,r=0;rC.length-1)&&(b=C.length-1),A=C[C.length-1-b].t,P=S-A);var x,R,E;if(y==="pingpong"){var k=Math.floor((m-A)/P);if(k%2!==0)return this.getValueAtTime((P-(m-A)%P+A)/this.comp.globalData.frameRate,0)}else if(y==="offset"){var I=this.getValueAtTime(A/this.comp.globalData.frameRate,0),O=this.getValueAtTime(S/this.comp.globalData.frameRate,0),G=this.getValueAtTime(((m-A)%P+A)/this.comp.globalData.frameRate,0),j=Math.floor((m-A)/P);if(this.pv.length){for(E=new Array(I.length),R=E.length,x=0;x=S)return this.pv;var P,A;g?(b?P=Math.abs(this.elem.comp.globalData.frameRate*b):P=Math.max(0,this.elem.data.op-S),A=S+P):((!b||b>C.length-1)&&(b=C.length-1),A=C[b].t,P=A-S);var x,R,E;if(y==="pingpong"){var k=Math.floor((S-m)/P);if(k%2===0)return this.getValueAtTime(((S-m)%P+S)/this.comp.globalData.frameRate,0)}else if(y==="offset"){var I=this.getValueAtTime(S/this.comp.globalData.frameRate,0),O=this.getValueAtTime(A/this.comp.globalData.frameRate,0),G=this.getValueAtTime((P-(S-m)%P+S)/this.comp.globalData.frameRate,0),j=Math.floor((S-m)/P)+1;if(this.pv.length){for(E=new Array(I.length),R=E.length,x=0;x1?(C-m)/(b-1):1,P=0,A=0,x;this.pv.length?x=createTypedArray("float32",this.pv.length):x=0;for(var R;PP){var k=A,I=m.c&&A===x-1?0:A+1,O=(P-R)/S[A].addedLength;E=bez.getPointInSegment(m.v[k],m.v[I],m.o[k],m.i[I],O,S[A]);break}else R+=S[A].addedLength;A+=1}return E||(E=m.c?[m.v[0][0],m.v[0][1]]:[m.v[m._length-1][0],m.v[m._length-1][1]]),E},vectorOnPath:function(b,g,m){b==1?b=this.v.c:b==0&&(b=.999);var C=this.pointOnPath(b,g),S=this.pointOnPath(b+.001,g),P=S[0]-C[0],A=S[1]-C[1],x=Math.sqrt(Math.pow(P,2)+Math.pow(A,2));if(x===0)return[0,0];var R=m==="tangent"?[P/x,A/x]:[-A/x,P/x];return R},tangentOnPath:function(b,g){return this.vectorOnPath(b,g,"tangent")},normalOnPath:function(b,g){return this.vectorOnPath(b,g,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([f],p),extendPrototype([f],d),d.prototype.getValueAtTime=u,d.prototype.initiateExpression=ExpressionManager.initiateExpression;var _=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(y,b,g,m,C){var S=_(y,b,g,m,C);return S.propertyIndex=b.ix,S.lock=!1,g===3?expressionHelpers.searchExpressions(y,b.pt,S):g===4&&expressionHelpers.searchExpressions(y,b.ks,S),S.k&&y.addDynamicProperty(S),S}}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 n=this.calculateExpression(r);if(t.t!==n){var s={};return this.copyData(s,t),s.t=n.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 n=createNS("feMerge");n.setAttribute("result",t);var s,a;for(a=0;a=d?_=g<0?n:s:_=n+b*Math.pow((u-e)/g,1/r),f[y]=_,y+=1,a+=256/(l-1);return f.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,n,s){var a=t.container.globalData.renderConfig.filterSize,l=t.data.fs||a;e.setAttribute("x",l.x||a.x),e.setAttribute("y",l.y||a.y),e.setAttribute("width",l.width||a.width),e.setAttribute("height",l.height||a.height),this.filterManager=t;var u=createNS("feGaussianBlur");u.setAttribute("in","SourceAlpha"),u.setAttribute("result",n+"_drop_shadow_1"),u.setAttribute("stdDeviation","0"),this.feGaussianBlur=u,e.appendChild(u);var p=createNS("feOffset");p.setAttribute("dx","25"),p.setAttribute("dy","0"),p.setAttribute("in",n+"_drop_shadow_1"),p.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=p,e.appendChild(p);var d=createNS("feFlood");d.setAttribute("flood-color","#00ff00"),d.setAttribute("flood-opacity","1"),d.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=d,e.appendChild(d);var f=createNS("feComposite");f.setAttribute("in",n+"_drop_shadow_3"),f.setAttribute("in2",n+"_drop_shadow_2"),f.setAttribute("operator","in"),f.setAttribute("result",n+"_drop_shadow_4"),e.appendChild(f);var _=this.createMergeNode(n,[n+"_drop_shadow_4",s]);e.appendChild(_)}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,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=r*Math.cos(n),a=r*Math.sin(n);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,n=Array(e);++r-1}function listCacheSet(e,t){var r=this.__data__,n=assocIndexOf(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function ListCache(e){var t=-1,r=e==null?0:e.length;for(this.clear();++tu))return!1;var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var _=-1,y=!0,b=r&COMPARE_UNORDERED_FLAG$1?new SetCache:void 0;for(a.set(e,t),a.set(t,e);++_{const r=e.__vccOpts||e;for(const[n,s]of t)r[n]=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 n=ref("");let s=1;const a=I=>document.querySelector(`[data-id="${I}"]`)!==null,l=async I=>{let O=e.autoPlay;e.playOnHover&&(O=!1);let G={};if(isEqual(e.animationData,{})===!1&&(G=cloneDeep(e.animationData)),e.animationLink!="")try{G=await(await fetch(e.animationLink)).json()}catch(z){console.error(z);return}let j=e.loop;typeof j=="number"&&j>0&&(j=j-1),e.delay>0&&(O=!1);const V={container:I,renderer:e.renderer,loop:j,autoplay:O,animationData:G,assetsPath:e.assetsPath};isEqual(e.rendererSettings,{})===!1&&(V.rendererSettings=e.rendererSettings),r=Lottie.loadAnimation(V),setTimeout(()=>{O=e.autoPlay,e.playOnHover?r.pause():O?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")})},u=computed(()=>{let I=e.width,O=e.height;return typeof e.width=="number"&&(I=`${e.width}px`),typeof e.height=="number"&&(O=`${e.height}px`),{"--lottie-animation-container-width":I,"--lottie-animation-container-height":O,"--lottie-animation-container-background-color":e.backgroundColor}}),p=()=>{r&&e.pauseOnHover&&r.pause(),r&&e.playOnHover&&r.play()},d=()=>{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 f=()=>{r&&r.play()},_=()=>{r&&r.pause()},y=()=>{r&&r.stop()},b=()=>{r&&r.destroy()},g=(I=1)=>{if(I<=0)throw new Error("Speed must be greater than 0");r&&r.setSpeed(I)},m=I=>{r&&(I==="forward"?r.setDirection(1):I==="reverse"&&r.setDirection(-1))},C=(I,O=!0)=>{r&&r.goToAndStop(I,O)},S=(I,O=!0)=>{r&&r.goToAndPlay(I,O)},P=(I,O=!1)=>{r&&r.playSegments(I,O)},A=(I=!0)=>{r&&r.setSubframe(I)},x=(I=!0)=>{if(r)return r.getDuration(I)},R=(I,O=0)=>{r&&r.renderer.elements[O].updateDocumentData(I)},E=I=>{for(var O="",G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",j=G.length,V=0;V{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 O=setInterval(()=>{if(a(I)){clearInterval(O);const G=document.querySelector(`[data-id="${I}" ]`);G&&l(G)}},0)};return onMounted(async()=>{n.value=E(20),k(n.value)}),{elementid:n,hoverEnded:d,hoverStarted:p,getCurrentStyle:u,play:f,pause:_,stop:y,destroy:b,setSpeed:g,setDirection:m,goToAndStop:C,goToAndPlay:S,playSegments:P,setSubFrame:A,getDuration:x,updateDocumentData:R}}}),_hoisted_1=["data-id"];function _sfc_render(e,t,r,n,s,a){return openBlock(),createElementBlock("div",{"data-id":e.elementid,class:"lottie-animation-container",style:normalizeStyle(e.getCurrentStyle),onMouseenter:t[0]||(t[0]=(...l)=>e.hoverStarted&&e.hoverStarted(...l)),onMouseleave:t[1]||(t[1]=(...l)=>e.hoverEnded&&e.hoverEnded(...l))},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,iVBORw0KGgoAAAANSUhEUgAAAMMAAAEICAYAAADiJ0BpAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAgAElEQVR4nO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9mw4mTZx8BjuWWABH2MYxr+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$1="_videoWrap_q0ooo_1",content$2="_content_q0ooo_6",contentWrap$1="_contentWrap_q0ooo_10",tempVudio="_tempVudio_q0ooo_18",controls$1="_controls_q0ooo_25",hide$1="_hide_q0ooo_37",time$1="_time_q0ooo_40",slider$1="_slider_q0ooo_48",actions$1="_actions_q0ooo_66",actionWrap$1="_actionWrap_q0ooo_74",actionBtn$1="_actionBtn_q0ooo_77",playIcon$1="_playIcon_q0ooo_92",btnPlay$1="_btnPlay_q0ooo_95",btnPause$1="_btnPause_q0ooo_98",loopBtn$1="_loopBtn_q0ooo_105",active$1="_active_q0ooo_111",styles$2={videoWrap:videoWrap$1,content:content$2,contentWrap:contentWrap$1,tempVudio,controls:controls$1,hide:hide$1,time:time$1,slider:slider$1,actions:actions$1,actionWrap:actionWrap$1,actionBtn:actionBtn$1,playIcon:playIcon$1,btnPlay:btnPlay$1,btnPause:btnPause$1,loopBtn:loopBtn$1,active:active$1},iconLoop=""+new URL("icon-loop-d829c914.svg",import.meta.url).href,iconLoopActive=""+new URL("icon-loop-active-cd128045.svg",import.meta.url).href,iconplay$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAACQklEQVRoBe2ZzysEYRjHd/1IKSclDtRGodxcKWWduCkX5R+QkM2FAykX8k+sk9ysk5xozxyQInEhDkr5FVqfp7w1jd3Zmdmdmfeteerb++7zzvu+n+87s7sz7yQSccQrEK+A0SuQ9ENfKBS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ZcDtIQkgRwgBaThcoCWkCSQA6SANFwO0BKSBHKAFJCG38KBt0MmT01J48FUazwOvMrOO2tPTQnzYDw1JW++xh1mk2vwVrz59MsKzZ7Ivbt822M+cDThPTqEORH+KQicTXh3D6FNKSAFpEC4Aj8w8BfWLCtJSQAAAABJRU5ErkJggg==";var vudio={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){var r={effect:"waveform",accuracy:128,width:256,height:100,waveform:{maxHeight:80,minHeight:1,spacing:1,color:"#f00",shadowBlur:0,shadowColor:"#f00",fadeSide:!0,horizontalAlign:"center",verticalAlign:"middle",prettify:!0},lighting:{maxHeight:80,lineWidth:0,color:"#f00",shadowBlur:0,shadowColor:"#f00",fadeSide:!0,horizontalAlign:"center",verticalAlign:"middle"}};function n(a,l,u){if(["[object HTMLAudioSource]","[object HTMLAudioElement]","[object MediaStream]"].indexOf(Object.prototype.toString.call(a))===-1)throw new TypeError("Invaild Audio Source");if(Object.prototype.toString.call(l)!=="[object HTMLCanvasElement]")throw new TypeError("Invaild Canvas Element");this.audioSrc=a,this.canvasEle=l,this.option=s(r,u),this.meta={},this.stat=0,this.freqByteData=null,this.__init()}function s(){var a={};return Array.prototype.forEach.call(arguments,function(l){var u;for(u in l)Object.prototype.hasOwnProperty.call(l,u)&&(Object.prototype.toString.call(l[u])==="[object Object]"?a[u]=s(a[u],l[u]):a[u]=l[u])}),a}return n.prototype={__init:function(){var a=new(window.AudioContext||window.webkitAudioContext||window.mozAudioContext),l=Object.prototype.toString.call(this.audioSrc)!=="[object MediaStream]"?a.createMediaElementSource(this.audioSrc):a.createMediaStreamSource(this.audioSrc),u=window.devicePixelRatio||1;this.analyser=a.createAnalyser(),this.meta.spr=a.sampleRate,l.connect(this.analyser),this.analyser.fftSize=this.option.accuracy*2,this.analyser.connect(a.destination),this.freqByteData=new Uint8Array(this.analyser.frequencyBinCount),this.context2d=this.canvasEle.getContext("2d"),this.width=this.option.width,this.height=this.option.height,this.context2d.canvas.width=this.width*u,this.context2d.canvas.height=this.height*u,this.context2d.scale(u,u)},__rebuildData:function(a,l){var u;return l==="center"?u=[].concat(Array.from(a).reverse().splice(this.option.accuracy/2,this.option.accuracy/2),Array.from(a).splice(0,this.option.accuracy/2)):l==="left"?u=a:l==="right"?u=Array.from(a).reverse():u=[].concat(Array.from(a).reverse().splice(this.option.accuracy/2,this.option.accuracy/2),Array.from(a).splice(0,this.option.accuracy/2)),u},__animate:function(){this.stat===1&&(this.analyser.getByteFrequencyData(this.freqByteData),typeof this.__effects()[this.option.effect]=="function"&&this.__effects()[this.option.effect](this.freqByteData),requestAnimationFrame(this.__animate.bind(this)))},__testFrame:function(){this.analyser.getByteFrequencyData(this.freqByteData),typeof this.__effects()[this.option.effect]=="function"&&this.__effects()[this.option.effect](this.freqByteData)},__effects:function(){var a=this;return{lighting:function(l){var u=a.option.lighting,p=a.__rebuildData(l,u.horizontalAlign),d=u.maxHeight/2,f=!0,_,y;u.horizontalAlign,a.context2d.clearRect(0,0,a.width,a.height),a.context2d.lineWidth=u.lineWidth,a.context2d.strokeStyle=u.color,a.context2d.beginPath(),p.forEach(function(b,g){_=a.width/a.option.accuracy*g,y=b/256*d,u.verticalAlign==="middle"?y=(a.height-b)/2-d/2:u.verticalAlign==="bottom"?y=a.height-b:u.verticalAlign==="top"?y=b:y=(a.height-b)/2-d/2,f?(a.context2d.moveTo(_,y),f=!1):a.context2d.lineTo(_,y)}),a.context2d.stroke()},waveform:function(l){var u=a.option.waveform,p=u.fadeSide,d=u.prettify,f=a.__rebuildData(l,u.horizontalAlign),_,y,b,g,m,C,S,P;u.horizontalAlign!=="center"&&(p=!1,d=!1),a.context2d.clearRect(0,0,a.width,a.height),f.forEach(function(A,x){y=(a.width-a.option.accuracy*u.spacing)/a.option.accuracy,g=x*(y+u.spacing),u.spacing!==1&&(g+=u.spacing/2),d?x<=a.option.accuracy/2?_=(1-(a.option.accuracy/2-1-x)/(a.option.accuracy/2))*u.maxHeight:_=(1-(x-a.option.accuracy/2)/(a.option.accuracy/2))*u.maxHeight:_=u.maxHeight,b=A/256*_,b=b0&&(a.context2d.shadowBlur=u.shadowBlur,a.context2d.shadowColor=u.shadowColor),p?x<=a.option.accuracy/2?a.context2d.globalAlpha=1-(a.option.accuracy/2-1-x)/(a.option.accuracy/2):a.context2d.globalAlpha=1-(x-a.option.accuracy/2)/(a.option.accuracy/2):a.context2d.globalAlpha=1,a.context2d.fillRect(g,m,y,b)})}}},dance:function(){return this.stat===0&&(this.stat=1,this.__animate()),this},pause:function(){return this.stat=0,this},setOption:function(a){this.option=s(this.option,a)}},n})})(vudio);var vudioExports=vudio.exports;const Vudio=getDefaultExportFromCjs(vudioExports),tickMp3=""+new URL("tick-b5f22461.mp3",import.meta.url).href,AudioItem=defineComponent({name:"video-play",props:{item:{type:Object,default:()=>({})},show:{type:Boolean,default:!1},pageVisibility:{type:String,default:""},showModel:{type:Boolean,default:!1},isEmtry:{type:Boolean,default:!1}},emits:["loadedmetadata","togglePlay","ended","reset","close"],setup(e,{emit:t}){const{item:r,isEmtry:n}=toRefs(e),s=reactive({timer:null,currentTime:0,duration:.1,loop:!1,dragStatus:!1,playState:"pause",vudio:null,afterMa3:!0}),a=ref(),l=ref(),u=ref();watch(()=>e.show,C=>{C||(l.value.pause(),s.playState="pause")}),watch(()=>e.pageVisibility,C=>{C==="hidden"&&e.show&&(l.value.pause(),s.playState="pause")});const p=()=>{l.value.paused?(d(l.value,a.value),l.value.play(),s.playState="play"):(l.value.pause(),s.playState="pause")},d=(C,S)=>{if(!s.vudio){const P=u.value.getBoundingClientRect()||{width:200,height:200};s.vudio=new Vudio(C,S,{effect:"waveform",accuracy:128,width:P.width,height:P.height,waveform:{maxHeight:160,color:[[0,"#44D1FF"],[.5,"#44D1FF"],[.5,"#198CFE"],[1,"#198CFE"]],prettify:!1}}),s.vudio.dance()}},f=()=>{s.duration=l.value.duration},_=C=>{s.currentTime=C,clearTimeout(s.timer),s.timer=setTimeout(()=>{l.value.currentTime=C,s.timer=null},60)},y=()=>{s.playState="pause"};let b=null;const g=ref(),m=ref();return nextTick(()=>{const C=u.value.getBoundingClientRect()||{width:200,height:200};b=new Vudio(m.value,g.value,{effect:"waveform",accuracy:128,width:C.width,height:C.height,waveform:{maxHeight:160,color:[[0,"#44D1FF"],[.5,"#44D1FF"],[.5,"#198CFE"],[1,"#198CFE"]],prettify:!1}}),b.dance()}),()=>createVNode("div",{class:styles$2.videoWrap},[createVNode("div",{class:styles$2.content},[createVNode("div",{ref:u,class:styles$2.contentWrap},[createVNode("canvas",{ref:a},null),createVNode("audio",{src:n.value?"":r.value.content,ref:l,loop:s.loop,onLoadedmetadata:f,onTimeupdate:()=>{s.timer&&s.playState==="pause"||s.dragStatus||(s.currentTime=l.value.currentTime)},onError:()=>{console.log("error"),l.value.pause(),s.playState="pause"},onPause:()=>{console.log("pause"),s.playState="pause"},onEnded:y,crossorigin:"anonymous",playsinline:"false"},null),s.afterMa3&&createVNode("div",{class:styles$2.tempVudio},[createVNode("audio",{ref:m,src:tickMp3},null),createVNode("canvas",{ref:g},null)])])]),createVNode("div",{class:[styles$2.controls,e.showModel?"":styles$2.hide],onClick:C=>{C.stopPropagation()},onTouchmove:C=>{t("close")}},[createVNode("div",{class:styles$2.time},[createVNode("div",null,[getSecondRPM(s.currentTime)]),createVNode("div",null,[getSecondRPM(s.duration)])]),createVNode("div",{class:[styles$2.slider]},[createVNode(Slider,{step:.01,class:styles$2.timeProgress,modelValue:s.currentTime,"onUpdate:modelValue":[C=>s.currentTime=C,C=>{_(C)}],max:s.duration,onDragStart:()=>{s.dragStatus=!0,console.log("onDragStart")},onDragEnd:()=>{s.dragStatus=!1,console.log("onDragEnd")}},null)]),createVNode("div",{class:styles$2.actions,onClick:()=>t("close")},[createVNode("div",{class:styles$2.actionBtn,onClick:()=>p()},[createVNode("img",{src:s.playState==="pause"?iconplay$1:iconpause$1},null)]),createVNode("div",{class:styles$2.actionBtn,onClick:()=>s.loop=!s.loop},[createVNode("img",{src:s.loop?iconLoopActive:iconLoop},null)])])])])}}),api_lessonCoursewareKnowledgeDetailDetail=e=>request.post("/edu-app/lessonCoursewareKnowledgeDetail/detail",{data:e}),api_classLessonCoursewareQuery=e=>request.post("/edu-app/classLessonCourseware/queryCourseware",{data:e}),videoWrap="_videoWrap_1o3d4_1",content$1="_content_1o3d4_6",contentWrap="_contentWrap_1o3d4_10",videoSection="_videoSection_1o3d4_17",controls="_controls_1o3d4_24",hide="_hide_1o3d4_36",time="_time_1o3d4_39",slider="_slider_1o3d4_47",actions="_actions_1o3d4_60",actionWrap="_actionWrap_1o3d4_68",actionBtn="_actionBtn_1o3d4_71",playIcon="_playIcon_1o3d4_86",btnPlay="_btnPlay_1o3d4_89",btnPause="_btnPause_1o3d4_92",loopBtn="_loopBtn_1o3d4_99",active="_active_1o3d4_105",styles$1={videoWrap,content:content$1,contentWrap,videoSection,controls,hide,time,slider,actions,actionWrap,actionBtn,playIcon,btnPlay,btnPause,loopBtn,active};var tcplayer_v4_8_0_min={exports:{}};(function(module,exports){(function(e,t){module.exports=t()})(commonjsGlobal,function(){function unwrapExports(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function createCommonjsModule(e,t){return t={exports:{}},e(t,t.exports),t.exports}function each(e,t){keys(e).forEach(function(r){return t(e[r],r)})}function reduce(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return keys(e).reduce(function(n,s){return t(n,e[s],s)},r)}function assign(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n0&&arguments[0]!==void 0?arguments[0]:"div",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=arguments[3],s=document_1.createElement(e);return Object.getOwnPropertyNames(t).forEach(function(a){var l=t[a];a.indexOf("aria-")!==-1||a==="role"||a==="type"?(log$2.warn(tsml(_templateObject,a,l)),s.setAttribute(a,l)):a==="textContent"?textContent(s,l):s[a]=l}),Object.getOwnPropertyNames(r).forEach(function(a){s.setAttribute(a,r[a])}),n&&appendContent(s,n),s}function textContent(e,t){return typeof e.textContent>"u"?e.innerText=t:e.textContent=t,e}function prependTo(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function hasClass(e,t){return throwIfWhitespace(t),e.classList?e.classList.contains(t):classRegExp(t).test(e.className)}function addClass(e,t){return e.classList?e.classList.add(t):hasClass(e,t)||(e.className=(e.className+" "+t).trim()),e}function removeClass(e,t){return e.classList?e.classList.remove(t):(throwIfWhitespace(t),e.className=e.className.split(/\s+/).filter(function(r){return r!==t}).join(" ")),e}function toggleClass(e,t,r){var n=hasClass(e,t);if(typeof r=="function"&&(r=r(e,t)),typeof r!="boolean"&&(r=!n),r!==n)return r?addClass(e,t):removeClass(e,t),e}function setAttributes(e,t){Object.getOwnPropertyNames(t).forEach(function(r){var n=t[r];n==null||n===!1?e.removeAttribute(r):e.setAttribute(r,n===!0?"":n)})}function getAttributes(e){var t={};if(e&&e.attributes&&e.attributes.length>0)for(var r=e.attributes,n=r.length-1;n>=0;n--){var s=r[n].name,a=r[n].value;typeof e[s]!="boolean"&&",autoplay,controls,playsinline,loop,muted,default,defaultMuted,".indexOf(","+s+",")===-1||(a=a!==null),t[s]=a}return t}function getAttribute(e,t){return e.getAttribute(t)}function setAttribute(e,t,r){e.setAttribute(t,r)}function removeAttribute(e,t){e.removeAttribute(t)}function blockTextSelection(){document_1.body.focus(),document_1.onselectstart=function(){return!1}}function unblockTextSelection(){document_1.onselectstart=function(){return!0}}function getBoundingClientRect(e){if(e&&e.getBoundingClientRect&&e.parentNode){var t=e.getBoundingClientRect(),r={};return["bottom","height","left","right","top","width"].forEach(function(n){t[n]!==void 0&&(r[n]=t[n])}),r.height||(r.height=parseFloat(computedStyle(e,"height"))),r.width||(r.width=parseFloat(computedStyle(e,"width"))),r}}function findPosition(e){var t=void 0;if(e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect()),!t)return{left:0,top:0};var r=document_1.documentElement,n=document_1.body,s=r.clientLeft||n.clientLeft||0,a=window_1.pageXOffset||n.scrollLeft,l=t.left+a-s,u=r.clientTop||n.clientTop||0,p=window_1.pageYOffset||n.scrollTop,d=t.top+p-u;return{left:Math.round(l),top:Math.round(d)}}function getPointerPosition(e,t){var r={},n=findPosition(e),s=e.offsetWidth,a=e.offsetHeight,l=n.top,u=n.left,p=t.pageY,d=t.pageX;return t.changedTouches&&(d=t.changedTouches[0].pageX,p=t.changedTouches[0].pageY),r.y=Math.max(0,Math.min(1,(l-p+a)/a)),r.x=Math.max(0,Math.min(1,(d-u)/s)),r}function isTextNode(e){return isObject$1(e)&&e.nodeType===3}function emptyEl(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function normalizeContent(e){return typeof e=="function"&&(e=e()),(Array.isArray(e)?e:[e]).map(function(t){return typeof t=="function"&&(t=t()),isEl(t)||isTextNode(t)?t:typeof t=="string"&&/\S/.test(t)?document_1.createTextNode(t):void 0}).filter(function(t){return t})}function appendContent(e,t){return normalizeContent(t).forEach(function(r){return e.appendChild(r)}),e}function insertContent(e,t){return appendContent(emptyEl(e),t)}function isSingleLeftClick(e){return e.button===void 0&&e.buttons===void 0||e.button===0&&e.buttons===void 0||IE_VERSION===9||e.button===0&&e.buttons===1}function newGUID(){return _guid++}function getData(e){var t=e[elIdAttr];return t||(t=e[elIdAttr]=newGUID()),elData[t]||(elData[t]={}),elData[t]}function hasData(e){var t=e[elIdAttr];return!!t&&!!Object.getOwnPropertyNames(elData[t]).length}function removeData(e){var t=e[elIdAttr];if(t){delete elData[t];try{delete e[elIdAttr]}catch(r){e.removeAttribute?e.removeAttribute(elIdAttr):e[elIdAttr]=null}}}function _cleanUpEvents(e,t){var r=getData(e);r.handlers[t].length===0&&(delete r.handlers[t],e.removeEventListener?e.removeEventListener(t,r.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,r.dispatcher)),Object.getOwnPropertyNames(r.handlers).length<=0&&(delete r.handlers,delete r.dispatcher,delete r.disabled),Object.getOwnPropertyNames(r).length===0&&removeData(e)}function _handleMultipleEvents(e,t,r,n){r.forEach(function(s){e(t,s,n)})}function fixEvent(e){function t(){return!0}function r(){return!1}if(!e||!e.isPropagationStopped){var n=e||window_1.event;e={};for(var s in n)s!=="layerX"&&s!=="layerY"&&s!=="keyLocation"&&s!=="webkitMovementX"&&s!=="webkitMovementY"&&(s==="returnValue"&&n.preventDefault||(e[s]=n[s]));if(e.target||(e.target=e.srcElement||document_1),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){n.preventDefault&&n.preventDefault(),e.returnValue=!1,n.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){n.stopPropagation&&n.stopPropagation(),e.cancelBubble=!0,n.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=r,e.stopImmediatePropagation=function(){n.stopImmediatePropagation&&n.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=r,e.clientX!==null&&e.clientX!==void 0){var a=document_1.documentElement,l=document_1.body;e.pageX=e.clientX+(a&&a.scrollLeft||l&&l.scrollLeft||0)-(a&&a.clientLeft||l&&l.clientLeft||0),e.pageY=e.clientY+(a&&a.scrollTop||l&&l.scrollTop||0)-(a&&a.clientTop||l&&l.clientTop||0)}e.which=e.charCode||e.keyCode,e.button!==null&&e.button!==void 0&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e}function on(e,t,r){if(Array.isArray(t))return _handleMultipleEvents(on,e,t,r);var n=getData(e);if(n.handlers||(n.handlers={}),n.handlers[t]||(n.handlers[t]=[]),r.guid||(r.guid=newGUID()),n.handlers[t].push(r),n.dispatcher||(n.disabled=!1,n.dispatcher=function(a,l){if(!n.disabled){a=fixEvent(a);var u=n.handlers[a.type];if(u)for(var p=u.slice(0),d=0,f=p.length;d-1&&(s={passive:!0}),e.addEventListener(t,n.dispatcher,s)}else e.attachEvent&&e.attachEvent("on"+t,n.dispatcher)}function off(e,t,r){if(hasData(e)){var n=getData(e);if(n.handlers){if(Array.isArray(t))return _handleMultipleEvents(off,e,t,r);var s=function(p,d){n.handlers[d]=[],_cleanUpEvents(p,d)};if(t!==void 0){var a=n.handlers[t];if(a){if(!r)return void s(e,t);if(r.guid)for(var l=0;l1&&arguments[1]!==void 0?arguments[1]:{},r=t.eventBusKey;if(r){if(!e[r].nodeName)throw new Error('The eventBusKey "'+r+'" does not refer to an element.');e.eventBusEl_=e[r]}else e.eventBusEl_=createEl("span",{className:"vjs-event-bus"});return assign(e,EventedMixin),e.on("dispose",function(){e.off(),window_1.setTimeout(function(){e.eventBusEl_=null},0)}),e}function stateful(e,t){return assign(e,StatefulMixin),e.state=assign({},e.state,t),typeof e.handleStateChanged=="function"&&isEvented(e)&&e.on("statechanged",e.handleStateChanged),e}function toTitleCase(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}function titleCaseEquals(e,t){return toTitleCase(e)===toTitleCase(t)}function mergeOptions(){for(var e={},t=arguments.length,r=Array(t),n=0;n3&&arguments[3]!==void 0&&arguments[3],s=document.createElement("script");if(s.onload=s.onreadystatechange=function(){this.readyState&&this.readyState!=="loaded"&&this.readyState!=="complete"||(typeof t=="function"&&t(),s.onload=s.onreadystatechange=null,s.parentNode&&!n&&s.parentNode.removeChild(s))},r){for(var a in r)if(r.hasOwnProperty(a)){var l=r[a];l===null?s.removeAttribute(l):s.setAttribute(a,l)}}s.src=e,document.getElementsByTagName("head")[0].appendChild(s)}function serializeParams(e){var t=[],r=function(n,s){s=typeof s=="function"?s():s,s=s===null||s===void 0?"":s,t[t.length]=encodeURIComponent(n)+"="+encodeURIComponent(s)};return function n(s,a){var l=void 0,u=void 0,p=void 0;if(s)if(Array.isArray(a))for(l=0,u=a.length;l/g,">").replace(/\"/g,""").replace(/\'/g,"'").replace(/\//g,"/"):""}function isWebrtcUrl(e){return/webrtc:\/\//.test(e)||/\.sdp/.test(e)}function getperformance(){return window.performance||window.msPerformance||window.webkitPerformance||{}}function rangeCheck(e,t,r){if(typeof t!="number"||t<0||t>r)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is non-numeric or out of bounds (0-"+r+").")}function getRange(e,t,r,n){return rangeCheck(e,n,r.length-1),r[n][t]}function createTimeRangesObj(e){return e===void 0||e.length===0?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:getRange.bind(null,"start",0,e),end:getRange.bind(null,"end",1,e)}}function createTimeRanges(e,t){return Array.isArray(e)?createTimeRangesObj(e):e===void 0||t===void 0?createTimeRangesObj():createTimeRangesObj([[e,t]])}function bufferedPercent(e,t){var r=0,n=void 0,s=void 0;if(!t)return 0;e&&e.length||(e=createTimeRanges(0,0));for(var a=0;at&&(s=t),r+=s-n;return r/t}function MediaError(e){if(e instanceof MediaError)return e;typeof e=="number"?this.code=e:typeof e=="string"?this.message=e:isObject$1(e)&&(typeof e.code=="number"&&(this.code=e.code),assign(this,e)),this.message||(this.message=MediaError.defaultMessages[this.code]||"")}function SafeParseTuple(e,t){var r,n=null;try{r=JSON.parse(e,t)}catch(s){n=s}return[n,r]}function isPromise(e){return e!==void 0&&typeof e.then=="function"}function silencePromise(e){isPromise(e)&&e.then(null,function(t){})}function isFunction$1(e){if(!e)return!1;var t=toString$1.call(e);return t==="[object Function]"||typeof e=="function"&&t!=="[object RegExp]"||typeof window<"u"&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}function extend$1(){for(var e={},t=0;t"u")throw new Error("callback argument missing");var a=!1,l=function(P,A,x){a||(a=!0,e.callback(P,A,x))},u=e.xhr||null;u||(u=e.cors||e.useXDR?new createXHR.XDomainRequest:new createXHR.XMLHttpRequest);var p,d,f,_=u.url=e.uri||e.url,y=u.method=e.method||"GET",b=e.body||e.data,g=u.headers=e.headers||{},m=!!e.sync,C=!1,S={body:void 0,headers:{},statusCode:0,method:y,url:_,rawRequest:u};if("json"in e&&e.json!==!1&&(C=!0,g.accept||g.Accept||(g.Accept="application/json"),y!=="GET"&&y!=="HEAD"&&(g["content-type"]||g["Content-Type"]||(g["Content-Type"]="application/json"),b=JSON.stringify(e.json===!0?b:e.json))),u.onreadystatechange=t,u.onload=s,u.onerror=n,u.onprogress=function(){},u.onabort=function(){d=!0},u.ontimeout=n,u.open(y,_,!m,e.username,e.password),m||(u.withCredentials=!!e.withCredentials),!m&&e.timeout>0&&(f=setTimeout(function(){if(!d){d=!0,u.abort("timeout");var P=new Error("XMLHttpRequest timeout");P.code="ETIMEDOUT",n(P)}},e.timeout)),u.setRequestHeader)for(p in g)g.hasOwnProperty(p)&&u.setRequestHeader(p,g[p]);else if(e.headers&&!isEmpty(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(u.responseType=e.responseType),"beforeSend"in e&&typeof e.beforeSend=="function"&&e.beforeSend(u),u.send(b||null),u}function getXml(e){if(e.responseType==="document")return e.responseXML;var t=e.responseXML&&e.responseXML.documentElement.nodeName==="parsererror";return e.responseType!==""||t?null:e.responseXML}function noop(){}function ParsingError(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function parseTimeStamp(e){function t(n,s,a,l){return 3600*(0|n)+60*(0|s)+(0|a)+(0|l)/1e3}var r=e.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return r?r[3]?t(r[1],r[2],r[3].replace(":",""),r[4]):r[1]>59?t(r[1],r[2],0,r[4]):t(0,r[1],r[2],r[4]):null}function Settings(){this.values=_objCreate(null)}function parseOptions(e,t,r,n){var s=n?e.split(n):[e];for(var a in s)if(typeof s[a]=="string"){var l=s[a].split(r);if(l.length===2){var u=l[0],p=l[1];t(u,p)}}}function parseCue(e,t,r){function n(){var l=parseTimeStamp(e);if(l===null)throw new ParsingError(ParsingError.Errors.BadTimeStamp,"Malformed timestamp: "+a);return e=e.replace(/^[^\sa-zA-Z-]+/,""),l}function s(){e=e.replace(/^\s+/,"")}var a=e;if(s(),t.startTime=n(),s(),e.substr(0,3)!=="-->")throw new ParsingError(ParsingError.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+a);e=e.substr(3),s(),t.endTime=n(),s(),function(l,u){var p=new Settings;parseOptions(l,function(d,f){switch(d){case"region":for(var _=r.length-1;_>=0;_--)if(r[_].id===f){p.set(d,r[_].region);break}break;case"vertical":p.alt(d,f,["rl","lr"]);break;case"line":var y=f.split(","),b=y[0];p.integer(d,b),p.percent(d,b)&&p.set("snapToLines",!1),p.alt(d,b,["auto"]),y.length===2&&p.alt("lineAlign",y[1],["start","middle","end"]);break;case"position":y=f.split(","),p.percent(d,y[0]),y.length===2&&p.alt("positionAlign",y[1],["start","middle","end"]);break;case"size":p.percent(d,f);break;case"align":p.alt(d,f,["start","middle","end","left","right"])}},/:/,/\s/),u.region=p.get("region",null),u.vertical=p.get("vertical",""),u.line=p.get("line","auto"),u.lineAlign=p.get("lineAlign","start"),u.snapToLines=p.get("snapToLines",!0),u.size=p.get("size",100),u.align=p.get("align","middle"),u.position=p.get("position",{start:0,left:0,middle:50,end:100,right:100},u.align),u.positionAlign=p.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},u.align)}(e,t)}function parseContent(e,t){function r(f){return ESCAPE[f]}for(var n,s=e.document.createElement("div"),a=s,l=[];(n=function(){if(!t)return null;var f=t.match(/^([^<]*)(<[^>]+>?)?/);return function(_){return t=t.substr(_.length),_}(f[1]?f[1]:f[2])}())!==null;)if(n[0]!=="<")a.appendChild(e.document.createTextNode(function(f){for(;d=f.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)f=f.replace(d[0],r);return f}(n)));else{if(n[1]==="/"){l.length&&l[l.length-1]===n.substr(2).replace(">","")&&(l.pop(),a=a.parentNode);continue}var u,p=parseTimeStamp(n.substr(1,n.length-2));if(p){u=e.document.createProcessingInstruction("timestamp",p),a.appendChild(u);continue}var d=n.match(/^<([^.\s\/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!d||!(u=function(f,_){var y=TAG_NAME[f];if(!y)return null;var b=e.document.createElement(y);b.localName=y;var g=TAG_ANNOTATION[f];return g&&_&&(b[g]=_.trim()),b}(d[1],d[3]))||!function(f,_){return!NEEDS_PARENT[_.localName]||NEEDS_PARENT[_.localName]===f.localName}(a,u))continue;d[2]&&(u.className=d[2].substr(1).replace("."," ")),l.push(d[1]),a.appendChild(u),a=u}return s}function isStrongRTLChar(e){for(var t=0;t=r[0]&&e<=r[1])return!0}return!1}function determineBidi(e){function t(u,p){for(var d=p.childNodes.length-1;d>=0;d--)u.push(p.childNodes[d])}function r(u){if(!u||!u.length)return null;var p=u.pop(),d=p.textContent||p.innerText;if(d){var f=d.match(/^.*(\n|\r)/);return f?(u.length=0,f[0]):d}return p.tagName==="ruby"?r(u):p.childNodes?(t(u,p),r(u)):void 0}var n,s=[],a="";if(!e||!e.childNodes)return"ltr";for(t(s,e);a=r(s);)for(var l=0;l=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,r=t.textTrackList,n=0,s=0;s_&&(f=f<0?-1:1,f*=Math.ceil(_/d)*d),l<0&&(f+=a.vertical===""?r.height:r.width,u=u.reverse()),s.move(y,f)}else{var b=s.lineHeight/r.height*100;switch(a.lineAlign){case"middle":l-=b/2;break;case"end":l-=b}switch(a.vertical){case"":t.applyStyles({top:t.formatStyle(l,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(l,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(l,"%")})}u=["+y","-x","+x","-y"],s=new BoxPosition(t)}var g=function(m,C){for(var S,P=new BoxPosition(m),A=1,x=0;xR&&(S=new BoxPosition(m),A=R),m=new BoxPosition(P)}return S||P}(s,u);t.move(g.toCSSCompatValues(r))}function WebVTT$1(){}function findDirectionSetting(e){return typeof e=="string"&&!!directionSetting[e.toLowerCase()]&&e.toLowerCase()}function findAlignSetting(e){return typeof e=="string"&&!!alignSetting[e.toLowerCase()]&&e.toLowerCase()}function extend$2(e){for(var t=1;t100)throw new Error("Position must be between 0 and 100.");C=x,this.hasBeenReset=!0}})),Object.defineProperty(n,"positionAlign",extend$2({},a,{get:function(){return S},set:function(x){var R=findAlignSetting(x);if(!R)throw new SyntaxError("An invalid or illegal string was specified.");S=R,this.hasBeenReset=!0}})),Object.defineProperty(n,"size",extend$2({},a,{get:function(){return P},set:function(x){if(x<0||x>100)throw new Error("Size must be between 0 and 100.");P=x,this.hasBeenReset=!0}})),Object.defineProperty(n,"align",extend$2({},a,{get:function(){return A},set:function(x){var R=findAlignSetting(x);if(!R)throw new SyntaxError("An invalid or illegal string was specified.");A=R,this.hasBeenReset=!0}})),n.displayState=void 0,s)return n}function findScrollSetting(e){return typeof e=="string"&&!!scrollSetting[e.toLowerCase()]&&e.toLowerCase()}function isValidPercentValue(e){return typeof e=="number"&&e>=0&&e<=100}function VTTRegion(){var e=100,t=3,r=0,n=100,s=0,a=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(u){if(!isValidPercentValue(u))throw new Error("Width must be between 0 and 100.");e=u}},lines:{enumerable:!0,get:function(){return t},set:function(u){if(typeof u!="number")throw new TypeError("Lines must be set to a number.");t=u}},regionAnchorY:{enumerable:!0,get:function(){return n},set:function(u){if(!isValidPercentValue(u))throw new Error("RegionAnchorX must be between 0 and 100.");n=u}},regionAnchorX:{enumerable:!0,get:function(){return r},set:function(u){if(!isValidPercentValue(u))throw new Error("RegionAnchorY must be between 0 and 100.");r=u}},viewportAnchorY:{enumerable:!0,get:function(){return a},set:function(u){if(!isValidPercentValue(u))throw new Error("ViewportAnchorY must be between 0 and 100.");a=u}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(u){if(!isValidPercentValue(u))throw new Error("ViewportAnchorX must be between 0 and 100.");s=u}},scroll:{enumerable:!0,get:function(){return l},set:function(u){var p=findScrollSetting(u);if(p===!1)throw new SyntaxError("An invalid or illegal string was specified.");l=p}}})}function createTrackHelper(e,t,r,n){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},a=e.textTracks();s.kind=t,r&&(s.label=r),n&&(s.language=n),s.tech=e;var l=new ALL.text.TrackClass(s);return a.addTrack(l),l}function use(e,t){middlewares[e]=middlewares[e]||[],middlewares[e].push(t)}function setSource(e,t,r){e.setTimeout(function(){return setSourceHelper(t,middlewares[t.type],r,e)},1)}function setTech(e,t){e.forEach(function(r){return r.setTech&&r.setTech(t)})}function get$1(e,t,r){return e.reduceRight(middlewareIterator(r),t[r]())}function set$1(e,t,r,n){return t[r](e.reduce(middlewareIterator(r),n))}function middlewareIterator(e){return function(t,r){return r[e]?r[e](t):t}}function setSourceHelper(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments[2],n=arguments[3],s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],a=arguments.length>5&&arguments[5]!==void 0&&arguments[5],l=t[0],u=t.slice(1);if(typeof l=="string")setSourceHelper(e,middlewares[l],r,n,s,a);else if(l){var p=l(n);p.setSource(assign({},e),function(d,f){if(d)return setSourceHelper(e,u,r,n,s,a);s.push(p),setSourceHelper(f,e.type===f.type?u:middlewares[f.type],r,n,s,a)})}else u.length?setSourceHelper(e,u,r,n,s,a):a?r(e,s):setSourceHelper(e,middlewares["*"],r,n,s,!0)}function constructColor(e,t){return"rgba("+parseInt(e[1]+e[1],16)+","+parseInt(e[2]+e[2],16)+","+parseInt(e[3]+e[3],16)+","+t+")"}function tryUpdateStyle(e,t,r){try{e.style[t]=r}catch(n){return}}function formatTime(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;e=e<0?0:e;var r=Math.floor(e%60),n=Math.floor(e/60%60),s=Math.floor(e/3600),a=Math.floor(t/60%60),l=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(s=n=r="-"),s=s>0||l>0?s+":":"",n=((s||a>=10)&&n<10?"0"+n:n)+":",r=r<10?"0"+r:r,s+n+r}function parseOptionValue(e,t){if(t&&(e=t(e)),e&&e!=="none")return e}function getSelectedOptionValue(e,t){return parseOptionValue(e.options[e.options.selectedIndex].value,t)}function setSelectedOption(e,t,r){if(t){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"fill",r=e,n="draw-"+t;return[` `,` `,` `][r]}function isObject$2(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function trimmedEndIndex(e){for(var t=e.length;t--&&reWhitespace.test(e.charAt(t)););return t}function baseTrim(e){return e&&e.slice(0,_trimmedEndIndex(e)+1).replace(reTrimStart,"")}function getRawTag(e){var t=hasOwnProperty$2.call(e,symToStringTag$1),r=e[symToStringTag$1];try{e[symToStringTag$1]=void 0;var n=!0}catch(a){}var s=nativeObjectToString.call(e);return n&&(t?e[symToStringTag$1]=r:delete e[symToStringTag$1]),s}function objectToString(e){return nativeObjectToString$1.call(e)}function baseGetTag(e){return e==null?e===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(e)?_getRawTag(e):_objectToString(e)}function isObjectLike(e){return e!=null&&typeof e=="object"}function isSymbol(e){return typeof e=="symbol"||isObjectLike_1(e)&&_baseGetTag(e)==symbolTag}function toNumber(e){if(typeof e=="number")return e;if(isSymbol_1(e))return NAN;if(isObject_1(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=isObject_1(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=_baseTrim(e);var r=reIsBinary.test(e);return r||reIsOctal.test(e)?freeParseInt(e.slice(2),r?2:8):reIsBadHex.test(e)?NAN:+e}function debounce(e,t,r){function n(E){var k=y,I=b;return y=b=void 0,P=E,m=e.apply(I,k)}function s(E){return P=E,C=setTimeout(u,t),A?n(E):m}function a(E){var k=E-S,I=E-P,O=t-k;return x?nativeMin(O,g-I):O}function l(E){var k=E-S,I=E-P;return S===void 0||k>=t||k<0||x&&I>=g}function u(){var E=now_1();if(l(E))return p(E);C=setTimeout(u,a(E))}function p(E){return C=void 0,R&&y?n(E):(y=b=void 0,m)}function d(){C!==void 0&&clearTimeout(C),P=0,y=S=b=C=void 0}function f(){return C===void 0?m:p(now_1())}function _(){var E=now_1(),k=l(E);if(y=arguments,b=this,S=E,k){if(C===void 0)return s(S);if(x)return clearTimeout(C),C=setTimeout(u,t),n(S)}return C===void 0&&(C=setTimeout(u,t)),m}var y,b,g,m,C,S,P=0,A=!1,x=!1,R=!0;if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT$1);return t=toNumber_1(t)||0,isObject_1(r)&&(A=!!r.leading,x="maxWait"in r,g=x?nativeMax(toNumber_1(r.maxWait)||0,t):g,R="trailing"in r?!!r.trailing:R),_.cancel=d,_.flush=f,_}function throttle$1(e,t,r){var n=!0,s=!0;if(typeof e!="function")throw new TypeError(FUNC_ERROR_TEXT);return isObject_1(r)&&(n="leading"in r?!!r.leading:n,s="trailing"in r?!!r.trailing:s),debounce_1(e,t,{leading:n,maxWait:t,trailing:s})}function mountFlvProvider(e){if(videojs.browser.IS_IOS&&videojs.browser.IS_MQQ)return!1;if(!videojs.browser.IS_TBS&&!videojs.browser.IS_MQQB&&(!IS_IOS||!videojs.browser.IS_SAFARI)&&!videojs.browser.IE_VERSION||e)try{var t=videojs.getTech&&videojs.getTech("Html5");t&&t.registerSourceHandler(FlvSourceHandler,0)}catch(r){}}function mountWebRTCProvider(e){if(!videojs.browser.isWebRTCSupported())return!1;try{var t=videojs.getTech&&videojs.getTech("Html5");t&&t.registerSourceHandler(sourceHandler,0)}catch(r){}}function FlashRtmpDecorator(e){return e.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},e.streamFromParts=function(t,r){return t+"&"+r},e.streamToParts=function(t){var r={connection:"",stream:""};if(!t)return r;var n=t.search(/&(?!\w+=)/),s=void 0;return n!==-1?s=n+1:(n=s=t.lastIndexOf("/")+1)===0&&(n=s=t.length),r.connection=t.substring(0,n),r.stream=t.substring(s,t.length),r},e.isStreamingType=function(t){return t in e.streamingFormats},e.RTMP_RE=/^rtmp[set]?:\/\//i,e.isStreamingSrc=function(t){return e.RTMP_RE.test(t)},e.rtmpSourceHandler={},e.rtmpSourceHandler.canPlayType=function(t){return e.isStreamingType(t)?"maybe":""},e.rtmpSourceHandler.canHandleSource=function(t,r){var n=e.rtmpSourceHandler.canPlayType(t.type);return n||(e.isStreamingSrc(t.src)?"maybe":"")},e.rtmpSourceHandler.handleSource=function(t,r,n){var s=e.streamToParts(t.src);r.setRtmpConnection(s.connection),r.setRtmpStream(s.stream)},e.registerSourceHandler(e.rtmpSourceHandler),e}function _createSetter(e){var t=e.charAt(0).toUpperCase()+e.slice(1);_api["set"+t]=function(r){return this.el_.vjs_setProperty(e,r)}}function _createGetter(e){_api[e]=function(){return this.el_.vjs_getProperty(e)}}function TCPlayer(e,t,r){var n=void 0,s=new Date().getTime(),a=videojs.dom;if(typeof e=="string")n=document.querySelector("#"+e);else{if(!e||!e.nodeName)throw new TypeError("The ID or element supplied is not valid.");n=e}if(n.nodeName.toLowerCase()!="video"&&n.nodeName.toLowerCase()!="audio")throw new TypeError("The element type must be