index-ecf281fc.js 895 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923
  1. var Lt=Object.defineProperty;var zt=(j,D,B)=>D in j?Lt(j,D,{enumerable:!0,configurable:!0,writable:!0,value:B}):j[D]=B;var Ge=(j,D,B)=>(zt(j,typeof D!="symbol"?D+"":D,B),B);import{E as EngravingRules,O as OpenSheetMusicDisplay,F as Fraction,i as isSpecialMark,a as isSpeedKeyword,b as isGradientWords,G as GRADIENT_SPEED_RESET_TAG,S as StringUtil}from"./TransposeCalculator-bb4225f8.js";import{T as Transition,v as vShow,f as formatZoom,b as browser,s as state$3,q as queryString,a as state$4,e as getPlatform,h as store_legacy,i as formatTime,j as TransitionGroup}from"./utils-8747c988.js";import{u as useLinkField,g as getScrollTop,a as setScrollTop,i as isHidden,c as clamp,S as Sticky,b as setRootScrollTop,d as getElementTop,e as getVisibleHeight,f as getVisibleTop,T as TAB_STATUS_KEY,h as addNumber,s as state$2,j as classnames,L as List$1,F as Field,N as NoticeBar,C as Cell,k as CellGroup,l as lodashExports}from"./index-f53ab261.js";import{d as defineComponent,c as createVNode,G as computed,A as reactive,W as mergeProps,C as watch,K as ref,X as onBeforeUpdate,N as onMounted,P as onActivated,Q as onDeactivated,T as onBeforeUnmount,I as nextTick,U as withDirectives,J as provide,F as Fragment,M as createTextVNode,L as toRefs,S as isVNode,V as Teleport,r as resolveComponent,Y as resolveDirective,O as onUnmounted,Z as watchEffect}from"./runtime-core.esm-bundler-8a997806.js";import{u as useChildren,b as useParent,c as useExpose,p as popupSharedProps,P as Popup,d as popupSharedPropKeys,m as mountComponent,e as usePopupState,f as cancelRaf,g as raf$2,h as useTouch,i as useWindowSize,j as usePageVisibility,o as onPopupReopen,k as preventDefault,l as doubleRaf,n as useScrollParent,q as onMountedOrActivated,s as useEventListener,t as useClickAway,v as useRect,w as stopPropagation,T as Toast,x as listenerMessage,y as removeListenerMessage,z as postMessage,A as promisefiyPostMessage,r as request,B as useToggle,a as request$1}from"./request-9a0f9c1d.js";import{_ as __vitePreload,o as open$2,b as close$2,c as createRouter,a as createWebHashHistory}from"./loading-dedc0838.js";import{c as commonjsGlobal$1}from"./_commonjsHelpers-edff4021.js";import{r as routeProps,u as useRoute,B as Button,a as BORDER_LEFT,b as BORDER_TOP,c as BORDER_TOP_BOTTOM,d as route,e as BORDER,f as BORDER_BOTTOM,E as Empty$1}from"./index-e1d206b5.js";import{t as truthProp,c as createNamespace,w as withInstall,e as extend,d as isPromise,n as noop$1,u as unknownProp,p as pick,f as addUnit,h as isFunction,a as inBrowser,L as Loading,I as Icon,i as isDef,B as Badge,j as unitToPx,k as getSizeStyle}from"./index-ea32d722.js";var[name$j,bem$j]=createNamespace("action-bar"),ACTION_BAR_KEY=Symbol(name$j);const _ActionBar=defineComponent({name:name$j,props:{safeAreaInsetBottom:truthProp},setup(j,{slots:D}){var{linkChildren:B}=useChildren(ACTION_BAR_KEY);return B(),()=>createVNode("div",{class:bem$j({unfit:!j.safeAreaInsetBottom})},[D.default==null?void 0:D.default()])}});var ActionBar=withInstall(_ActionBar),[name$i,bem$i]=createNamespace("action-bar-button");const _ActionBarButton=defineComponent({name:name$i,props:extend({},routeProps,{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean}),setup(j,{slots:D}){var B=useRoute(),{parent:R,index:F}=useParent(ACTION_BAR_KEY),U=computed(()=>{if(R){var q=R.children[F.value-1];return!(q&&"isButton"in q)}}),Y=computed(()=>{if(R){var q=R.children[F.value+1];return!(q&&"isButton"in q)}});return useExpose({isButton:!0}),()=>{var{type:q,icon:X,text:W,color:K,loading:G,disabled:Z}=j;return createVNode(Button,{class:bem$i([q,{last:Y.value,first:U.value}]),size:"large",type:q,icon:X,color:K,loading:G,disabled:Z,onClick:B},{default:()=>[D.default?D.default():W]})}}});var ActionBarButton=withInstall(_ActionBarButton);function callInterceptor(j){var{interceptor:D,args:B,done:R,canceled:F}=j;if(D){var U=D.apply(null,B||[]);isPromise(U)?U.then(Y=>{Y?R():F&&F()}).catch(noop$1):U?R():F&&F()}else R()}var[name$h,bem$h,t$1]=createNamespace("dialog"),popupKeys=[...popupSharedPropKeys,"transition","closeOnPopstate"];const VanDialog=defineComponent({name:name$h,props:extend({},popupSharedProps,{title:String,theme:String,width:[Number,String],message:[String,Function],callback:Function,allowHtml:Boolean,className:unknownProp,beforeClose:Function,messageAlign:String,closeOnPopstate:truthProp,showCancelButton:Boolean,cancelButtonText:String,cancelButtonColor:String,confirmButtonText:String,confirmButtonColor:String,showConfirmButton:truthProp,closeOnClickOverlay:Boolean,transition:{type:String,default:"van-dialog-bounce"}}),emits:["confirm","cancel","update:show"],setup(j,{emit:D,slots:B}){var R=reactive({confirm:!1,cancel:!1}),F=re=>D("update:show",re),U=re=>{F(!1),j.callback&&j.callback(re)},Y=re=>()=>{j.show&&(D(re),j.beforeClose?(R[re]=!0,callInterceptor({interceptor:j.beforeClose,args:[re],done(){U(re),R[re]=!1},canceled(){R[re]=!1}})):U(re))},q=Y("cancel"),X=Y("confirm"),W=()=>{var re=B.title?B.title():j.title;if(re)return createVNode("div",{class:bem$h("header",{isolated:!j.message&&!B.default})},[re])},K=re=>{var{message:J,allowHtml:ie,messageAlign:ne}=j,oe=bem$h("message",{"has-title":re,[ne]:ne}),ue=isFunction(J)?J():J;return ie&&typeof ue=="string"?createVNode("div",{class:oe,innerHTML:ue},null):createVNode("div",{class:oe},[ue])},G=()=>{if(B.default)return createVNode("div",{class:bem$h("content")},[B.default()]);var{title:re,message:J,allowHtml:ie}=j;if(J){var ne=!!(re||B.title);return createVNode("div",{key:ie?1:0,class:bem$h("content",{isolated:!ne})},[K(ne)])}},Z=()=>createVNode("div",{class:[BORDER_TOP,bem$h("footer")]},[j.showCancelButton&&createVNode(Button,{size:"large",text:j.cancelButtonText||t$1("cancel"),class:bem$h("cancel"),style:{color:j.cancelButtonColor},loading:R.cancel,onClick:q},null),j.showConfirmButton&&createVNode(Button,{size:"large",text:j.confirmButtonText||t$1("confirm"),class:[bem$h("confirm"),{[BORDER_LEFT]:j.showCancelButton}],style:{color:j.confirmButtonColor},loading:R.confirm,onClick:X},null)]),Q=()=>createVNode(ActionBar,{class:bem$h("footer")},{default:()=>[j.showCancelButton&&createVNode(ActionBarButton,{type:"warning",text:j.cancelButtonText||t$1("cancel"),class:bem$h("cancel"),color:j.cancelButtonColor,loading:R.cancel,onClick:q},null),j.showConfirmButton&&createVNode(ActionBarButton,{type:"danger",text:j.confirmButtonText||t$1("confirm"),class:bem$h("confirm"),color:j.confirmButtonColor,loading:R.confirm,onClick:X},null)]}),te=()=>B.footer?B.footer():j.theme==="round-button"?Q():Z();return()=>{var{width:re,title:J,theme:ie,message:ne,className:oe}=j;return createVNode(Popup,mergeProps({role:"dialog",class:[bem$h([ie]),oe],style:{width:addUnit(re)},"aria-labelledby":J||ne},pick(j,popupKeys),{"onUpdate:show":F}),{default:()=>[W(),G(),te()]})}}});var instance;function initInstance(){var j={setup(){var{state:D,toggle:B}=usePopupState();return()=>createVNode(VanDialog,mergeProps(D,{"onUpdate:show":B}),null)}};({instance}=mountComponent(j))}function Dialog(j){return inBrowser?new Promise((D,B)=>{instance||initInstance(),instance.open(extend({},Dialog.currentOptions,j,{callback:R=>{(R==="confirm"?D:B)(R)}}))}):Promise.resolve()}Dialog.defaultOptions={title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:"van-dialog-bounce",beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,confirmButtonText:"",confirmButtonColor:null,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1};Dialog.currentOptions=extend({},Dialog.defaultOptions);Dialog.alert=Dialog;Dialog.confirm=j=>Dialog(extend({showCancelButton:!0},j));Dialog.close=()=>{instance&&instance.toggle(!1)};Dialog.setDefaultOptions=j=>{extend(Dialog.currentOptions,j)};Dialog.resetDefaultOptions=()=>{Dialog.currentOptions=extend({},Dialog.defaultOptions)};Dialog.install=j=>{j.use(withInstall(VanDialog)),j.config.globalProperties.$dialog=Dialog};Dialog.Component=withInstall(VanDialog);var[name$g,bem$g]=createNamespace("switch");const _Switch=defineComponent({name:name$g,props:{size:[Number,String],loading:Boolean,disabled:Boolean,modelValue:unknownProp,activeColor:String,inactiveColor:String,activeValue:{type:unknownProp,default:!0},inactiveValue:{type:unknownProp,default:!1}},emits:["change","update:modelValue"],setup(j,{emit:D}){var B=()=>j.modelValue===j.activeValue,R=()=>{if(!j.disabled&&!j.loading){var U=B()?j.inactiveValue:j.activeValue;D("update:modelValue",U),D("change",U)}},F=()=>{if(j.loading){var U=B()?j.activeColor:j.inactiveColor;return createVNode(Loading,{class:bem$g("loading"),color:U},null)}};return useLinkField(()=>j.modelValue),()=>{var{size:U,loading:Y,disabled:q,activeColor:X,inactiveColor:W}=j,K=B(),G={fontSize:addUnit(U),backgroundColor:K?X:W};return createVNode("div",{role:"switch",class:bem$g({on:K,loading:Y,disabled:q}),style:G,"aria-checked":K,onClick:R},[createVNode("div",{class:bem$g("node")},[F()])])}}});var Switch=withInstall(_Switch),[name$f,bem$f]=createNamespace("radio-group"),RADIO_KEY=Symbol(name$f),props$3={disabled:Boolean,iconSize:[Number,String],direction:String,modelValue:unknownProp,checkedColor:String};const _RadioGroup=defineComponent({name:name$f,props:props$3,emits:["change","update:modelValue"],setup(j,{emit:D,slots:B}){var{linkChildren:R}=useChildren(RADIO_KEY),F=U=>D("update:modelValue",U);return watch(()=>j.modelValue,U=>D("change",U)),R({props:j,updateValue:F}),useLinkField(()=>j.modelValue),()=>createVNode("div",{class:bem$f([j.direction]),role:"radiogroup"},[B.default==null?void 0:B.default()])}});var RadioGroup=withInstall(_RadioGroup),[name$e,bem$e]=createNamespace("tag");const _Tag=defineComponent({name:name$e,props:{size:String,mark:Boolean,show:truthProp,color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean,type:{type:String,default:"default"}},emits:["close"],setup(j,{slots:D,emit:B}){var R=Y=>{Y.stopPropagation(),B("close",Y)},F=()=>j.plain?{color:j.textColor||j.color,borderColor:j.color}:{color:j.textColor,background:j.color},U=()=>{var{type:Y,mark:q,plain:X,round:W,size:K,closeable:G}=j,Z={mark:q,plain:X,round:W};K&&(Z[K]=K);var Q=G&&createVNode(Icon,{name:"cross",class:bem$e("close"),onClick:R},null);return createVNode("span",{style:F(),class:bem$e([Z,Y])},[D.default==null?void 0:D.default(),Q])};return()=>createVNode(Transition,{name:j.closeable?"van-fade":void 0},{default:()=>[j.show?U():null]})}});var Tag=withInstall(_Tag),checkerProps={name:unknownProp,disabled:Boolean,iconSize:[Number,String],modelValue:unknownProp,checkedColor:String,labelPosition:String,labelDisabled:Boolean,shape:{type:String,default:"round"}};const Checker=defineComponent({props:extend({},checkerProps,{role:String,parent:Object,checked:Boolean,bindGroup:truthProp,bem:{type:Function,required:!0}}),emits:["click","toggle"],setup(j,{emit:D,slots:B}){var R=ref(),F=G=>{if(j.parent&&j.bindGroup)return j.parent.props[G]},U=computed(()=>F("disabled")||j.disabled),Y=computed(()=>F("direction")),q=computed(()=>{var G=j.checkedColor||F("checkedColor");if(G&&j.checked&&!U.value)return{borderColor:G,backgroundColor:G}}),X=G=>{var{target:Z}=G,Q=R.value,te=Q===Z||Q.contains(Z);!U.value&&(te||!j.labelDisabled)&&D("toggle"),D("click",G)},W=()=>{var{bem:G,shape:Z,checked:Q}=j,te=j.iconSize||F("iconSize");return createVNode("div",{ref:R,class:G("icon",[Z,{disabled:U.value,checked:Q}]),style:{fontSize:addUnit(te)}},[B.icon?B.icon({checked:Q,disabled:U.value}):createVNode(Icon,{name:"success",style:q.value},null)])},K=()=>{if(B.default)return createVNode("span",{class:j.bem("label",[j.labelPosition,{disabled:U.value}])},[B.default()])};return()=>{var G=[W()];return j.labelPosition==="left"?G.unshift(K()):G.push(K()),createVNode("div",{role:j.role,class:j.bem([{disabled:U.value,"label-disabled":j.labelDisabled},Y.value]),tabindex:U.value?-1:0,"aria-checked":j.checked,onClick:X},[G])}}});var[name$d,bem$d]=createNamespace("radio");const _Radio=defineComponent({name:name$d,props:checkerProps,emits:["update:modelValue"],setup(j,{emit:D,slots:B}){var{parent:R}=useParent(RADIO_KEY),F=()=>{var Y=R?R.props.modelValue:j.modelValue;return Y===j.name},U=()=>{R?R.updateValue(j.name):D("update:modelValue",j.name)};return()=>createVNode(Checker,mergeProps({bem:bem$d,role:"radio",parent:R,checked:F(),onToggle:U},j),pick(B,["default","icon"]))}});var Radio=withInstall(_Radio);function useRefs(){var j=ref([]);onBeforeUpdate(()=>{j.value=[]});var D=B=>R=>{j.value[B]=R};return[j,D]}var rafId;function scrollLeftTo(j,D,B){cancelRaf(rafId);var R=0,F=j.scrollLeft,U=B===0?1:Math.round(B*1e3/16);function Y(){j.scrollLeft+=(D-F)/U,++R<U&&(rafId=raf$2(Y))}Y()}function scrollTopTo(j,D,B,R){var F=getScrollTop(j),U=F<D,Y=B===0?1:Math.round(B*1e3/16),q=(D-F)/Y;function X(){F+=q,(U&&F>D||!U&&F<D)&&(F=D),setScrollTop(j,F),U&&F<D||!U&&F>D?raf$2(X):R&&raf$2(R)}X()}var[name$c,bem$c]=createNamespace("tab");const TabsTitle=defineComponent({name:name$c,props:{dot:Boolean,type:String,color:String,title:String,badge:[Number,String],isActive:Boolean,disabled:Boolean,scrollable:Boolean,activeColor:String,renderTitle:Function,inactiveColor:String},setup(j){var D=computed(()=>{var R={},{type:F,color:U,disabled:Y,isActive:q,activeColor:X,inactiveColor:W}=j,K=F==="card";U&&K&&(R.borderColor=U,Y||(q?R.backgroundColor=U:R.color=U));var G=q?X:W;return G&&(R.color=G),R}),B=()=>{var R=createVNode("span",{class:bem$c("text",{ellipsis:!j.scrollable})},[j.renderTitle?j.renderTitle():j.title]);return j.dot||isDef(j.badge)&&j.badge!==""?createVNode(Badge,{dot:j.dot,content:j.badge},{default:()=>[R]}):R};return()=>createVNode("div",{role:"tab",class:[bem$c({active:j.isActive,disabled:j.disabled})],style:D.value,"aria-selected":j.isActive},[B()])}});var[name$b,bem$b]=createNamespace("swipe"),SWIPE_KEY=Symbol(name$b),props$2={loop:truthProp,width:[Number,String],height:[Number,String],vertical:Boolean,touchable:truthProp,lazyRender:Boolean,indicatorColor:String,showIndicators:truthProp,stopPropagation:truthProp,autoplay:{type:[Number,String],default:0},duration:{type:[Number,String],default:500},initialSwipe:{type:[Number,String],default:0}};const _Swipe=defineComponent({name:name$b,props:props$2,emits:["change"],setup(j,{emit:D,slots:B}){var R=ref(),F=reactive({rect:null,width:0,height:0,offset:0,active:0,swiping:!1}),U=useTouch(),Y=useWindowSize(),{children:q,linkChildren:X}=useChildren(SWIPE_KEY),W=computed(()=>q.length),K=computed(()=>F[j.vertical?"height":"width"]),G=computed(()=>j.vertical?U.deltaY.value:U.deltaX.value),Z=computed(()=>{if(F.rect){var Ie=j.vertical?F.rect.height:F.rect.width;return Ie-K.value*W.value}return 0}),Q=computed(()=>Math.ceil(Math.abs(Z.value)/K.value)),te=computed(()=>W.value*K.value),re=computed(()=>(F.active+W.value)%W.value),J=computed(()=>{var Ie=j.vertical?"vertical":"horizontal";return U.direction.value===Ie}),ie=computed(()=>{var Ie={transitionDuration:(F.swiping?0:j.duration)+"ms",transform:"translate"+(j.vertical?"Y":"X")+"("+F.offset+"px)"};if(K.value){var xe=j.vertical?"height":"width",me=j.vertical?"width":"height";Ie[xe]=te.value+"px",Ie[me]=j[me]?j[me]+"px":""}return Ie}),ne=Ie=>{var{active:xe}=F;return Ie?j.loop?clamp(xe+Ie,-1,W.value):clamp(xe+Ie,0,Q.value):xe},oe=(Ie,xe=0)=>{var me=Ie*K.value;j.loop||(me=Math.min(me,-Z.value));var we=xe-me;return j.loop||(we=clamp(we,Z.value,0)),we},ue=({pace:Ie=0,offset:xe=0,emitChange:me})=>{if(!(W.value<=1)){var{active:we}=F,_e=ne(Ie),Te=oe(_e,xe);if(j.loop){if(q[0]&&Te!==Z.value){var Ne=Te<Z.value;q[0].setOffset(Ne?te.value:0)}if(q[W.value-1]&&Te!==0){var Ee=Te>0;q[W.value-1].setOffset(Ee?-te.value:0)}}F.active=_e,F.offset=Te,me&&_e!==we&&D("change",re.value)}},ce=()=>{F.swiping=!0,F.active<=-1?ue({pace:W.value}):F.active>=W.value&&ue({pace:-W.value})},fe=()=>{ce(),U.reset(),doubleRaf(()=>{F.swiping=!1,ue({pace:-1,emitChange:!0})})},ae=()=>{ce(),U.reset(),doubleRaf(()=>{F.swiping=!1,ue({pace:1,emitChange:!0})})},he,ve=()=>clearTimeout(he),de=()=>{ve(),j.autoplay>0&&W.value>1&&(he=setTimeout(()=>{ae(),de()},+j.autoplay))},se=(Ie=+j.initialSwipe)=>{if(R.value){if(!isHidden(R)){var xe,me,we={width:R.value.offsetWidth,height:R.value.offsetHeight};F.rect=we,F.width=+((xe=j.width)!=null?xe:we.width),F.height=+((me=j.height)!=null?me:we.height)}W.value&&(Ie=Math.min(W.value-1,Ie)),F.active=Ie,F.swiping=!0,F.offset=oe(Ie),q.forEach(_e=>{_e.setOffset(0)})}},ge=()=>se(F.active),be,le=Ie=>{j.touchable&&(U.start(Ie),be=Date.now(),ve(),ce())},pe=Ie=>{j.touchable&&F.swiping&&(U.move(Ie),J.value&&(preventDefault(Ie,j.stopPropagation),ue({offset:G.value})))},Se=()=>{if(!(!j.touchable||!F.swiping)){var Ie=Date.now()-be,xe=G.value/Ie,me=Math.abs(xe)>.25||Math.abs(G.value)>K.value/2;if(me&&J.value){var we=j.vertical?U.offsetY.value:U.offsetX.value,_e=0;j.loop?_e=we>0?G.value>0?-1:1:0:_e=-Math[G.value>0?"ceil":"floor"](G.value/K.value),ue({pace:_e,emitChange:!0})}else G.value&&ue({pace:0});F.swiping=!1,de()}},Ae=(Ie,xe={})=>{ce(),U.reset(),doubleRaf(()=>{var me;j.loop&&Ie===W.value?me=F.active===0?0:Ie:me=Ie%W.value,xe.immediate?doubleRaf(()=>{F.swiping=!1}):F.swiping=!1,ue({pace:me-F.active,emitChange:!0})})},ye=(Ie,xe)=>{var me=xe===re.value,we=me?{backgroundColor:j.indicatorColor}:void 0;return createVNode("i",{style:we,class:bem$b("indicator",{active:me})},null)},Me=()=>{if(B.indicator)return B.indicator({active:re.value});if(j.showIndicators&&W.value>1)return createVNode("div",{class:bem$b("indicators",{vertical:j.vertical})},[Array(W.value).fill("").map(ye)])};return useExpose({prev:fe,next:ae,state:F,resize:ge,swipeTo:Ae}),X({size:K,props:j,count:W,activeIndicator:re}),watch(()=>j.initialSwipe,Ie=>se(+Ie)),watch(W,()=>se(F.active)),watch([W,()=>j.autoplay],de),watch([Y.width,Y.height],ge),watch(usePageVisibility(),Ie=>{Ie==="visible"?de():ve()}),onMounted(se),onActivated(()=>se(F.active)),onPopupReopen(()=>se(F.active)),onDeactivated(ve),onBeforeUnmount(ve),()=>createVNode("div",{ref:R,class:bem$b()},[createVNode("div",{style:ie.value,class:bem$b("track",{vertical:j.vertical}),onTouchstart:le,onTouchmove:pe,onTouchend:Se,onTouchcancel:Se},[B.default==null?void 0:B.default()]),Me()])}});var Swipe=withInstall(_Swipe),[name$a,bem$a]=createNamespace("tabs");const TabsContent=defineComponent({name:name$a,props:{inited:Boolean,animated:Boolean,swipeable:Boolean,lazyRender:Boolean,count:{type:Number,required:!0},duration:{type:[Number,String],required:!0},currentIndex:{type:Number,required:!0}},emits:["change"],setup(j,{emit:D,slots:B}){var R=ref(),F=q=>D("change",q),U=()=>{var q=B.default==null?void 0:B.default();return j.animated||j.swipeable?createVNode(Swipe,{ref:R,loop:!1,class:bem$a("track"),duration:+j.duration*1e3,touchable:j.swipeable,lazyRender:j.lazyRender,showIndicators:!1,onChange:F},{default:()=>[q]}):q},Y=q=>{var X=R.value;X&&X.state.active!==q&&X.swipeTo(q,{immediate:!j.inited})};return watch(()=>j.currentIndex,Y),onMounted(()=>{Y(j.currentIndex)}),()=>createVNode("div",{class:bem$a("content",{animated:j.animated||j.swipeable})},[U()])}});var[name$9,bem$9]=createNamespace("tabs"),TABS_KEY=Symbol(name$9),props$1={color:String,border:Boolean,sticky:Boolean,animated:Boolean,ellipsis:truthProp,swipeable:Boolean,scrollspy:Boolean,background:String,lazyRender:truthProp,lineWidth:[Number,String],lineHeight:[Number,String],beforeChange:Function,titleActiveColor:String,titleInactiveColor:String,type:{type:String,default:"line"},active:{type:[Number,String],default:0},duration:{type:[Number,String],default:.3},offsetTop:{type:[Number,String],default:0},swipeThreshold:{type:[Number,String],default:5}};const _Tabs=defineComponent({name:name$9,props:props$1,emits:["click","change","scroll","disabled","rendered","update:active"],setup(j,{emit:D,slots:B}){var R,F,U,Y=ref(),q=ref(),X=ref(),W=useWindowSize(),K=useScrollParent(Y),[G,Z]=useRefs(),{children:Q,linkChildren:te}=useChildren(TABS_KEY),re=reactive({inited:!1,position:"",lineStyle:{},currentIndex:-1}),J=computed(()=>Q.length>j.swipeThreshold||!j.ellipsis),ie=computed(()=>({borderColor:j.color,background:j.background})),ne=(xe,me)=>{var we;return(we=xe.name)!=null?we:me},oe=computed(()=>{var xe=Q[re.currentIndex];if(xe)return ne(xe,re.currentIndex)}),ue=computed(()=>unitToPx(j.offsetTop)),ce=computed(()=>j.sticky?ue.value+R:0),fe=xe=>{var me=q.value,we=G.value;if(!(!J.value||!me||!we||!we[re.currentIndex])){var _e=we[re.currentIndex].$el,Te=_e.offsetLeft-(me.offsetWidth-_e.offsetWidth)/2;scrollLeftTo(me,Te,xe?0:+j.duration)}},ae=()=>{var xe=re.inited;nextTick(()=>{var me=G.value;if(!(!me||!me[re.currentIndex]||j.type!=="line"||isHidden(Y.value))){var we=me[re.currentIndex].$el,{lineWidth:_e,lineHeight:Te}=j,Ne=we.offsetLeft+we.offsetWidth/2,Ee={width:addUnit(_e),backgroundColor:j.color,transform:"translateX("+Ne+"px) translateX(-50%)"};if(xe&&(Ee.transitionDuration=j.duration+"s"),isDef(Te)){var De=addUnit(Te);Ee.height=De,Ee.borderRadius=De}re.lineStyle=Ee}})},he=xe=>{for(var me=xe<re.currentIndex?-1:1;xe>=0&&xe<Q.length;){if(!Q[xe].disabled)return xe;xe+=me}},ve=xe=>{var me=he(xe);if(isDef(me)){var we=Q[me],_e=ne(we,me),Te=re.currentIndex!==null;re.currentIndex=me,_e!==j.active&&(D("update:active",_e),Te&&D("change",_e,we.title))}},de=xe=>{var me=Q.find((_e,Te)=>ne(_e,Te)===xe),we=me?Q.indexOf(me):0;ve(we)},se=(xe=!1)=>{if(j.scrollspy){var me=Q[re.currentIndex].$el;if(me&&K.value){var we=getElementTop(me,K.value)-ce.value;F=!0,scrollTopTo(K.value,we,xe?0:+j.duration,()=>{F=!1})}}},ge=(xe,me)=>{var{title:we,disabled:_e}=Q[me],Te=ne(Q[me],me);_e?D("disabled",Te,we):(callInterceptor({interceptor:j.beforeChange,args:[Te],done:()=>{ve(me),se()}}),D("click",Te,we),route(xe))},be=xe=>{U=xe.isFixed,D("scroll",xe)},le=xe=>{nextTick(()=>{de(xe),se(!0)})},pe=()=>{for(var xe=0;xe<Q.length;xe++){var me=getVisibleTop(Q[xe].$el);if(me>ce.value)return xe===0?0:xe-1}return Q.length-1},Se=()=>{if(j.scrollspy&&!F){var xe=pe();ve(xe)}},Ae=()=>Q.map((xe,me)=>createVNode(TabsTitle,{ref:Z(me),dot:xe.dot,type:j.type,badge:xe.badge,title:xe.title,color:j.color,style:xe.titleStyle,class:xe.titleClass,isActive:me===re.currentIndex,disabled:xe.disabled,scrollable:J.value,renderTitle:xe.$slots.title,activeColor:j.titleActiveColor,inactiveColor:j.titleInactiveColor,onClick:()=>{ge(xe,me)}},null)),ye=()=>{var xe,me,{type:we,border:_e}=j;return createVNode("div",{ref:X,class:[bem$9("wrap",{scrollable:J.value}),{[BORDER_TOP_BOTTOM]:we==="line"&&_e}]},[createVNode("div",{ref:q,role:"tablist",class:bem$9("nav",[we,{complete:J.value}]),style:ie.value},[(xe=B["nav-left"])==null?void 0:xe.call(B),Ae(),we==="line"&&createVNode("div",{class:bem$9("line"),style:re.lineStyle},null),(me=B["nav-right"])==null?void 0:me.call(B)])])};watch([()=>j.color,W.width],ae),watch(()=>j.active,xe=>{xe!==oe.value&&de(xe)}),watch(()=>Q.length,()=>{re.inited&&(de(j.active),ae(),nextTick(()=>{fe(!0)}))}),watch(()=>re.currentIndex,()=>{fe(),ae(),U&&!j.scrollspy&&setRootScrollTop(Math.ceil(getElementTop(Y.value)-ue.value))});var Me=()=>{de(j.active),nextTick(()=>{re.inited=!0,R=getVisibleHeight(X.value),fe(!0)})},Ie=(xe,me)=>D("rendered",xe,me);return useExpose({resize:ae,scrollTo:le}),onActivated(ae),onPopupReopen(ae),onMountedOrActivated(Me),useEventListener("scroll",Se,{target:K}),te({props:j,setLine:ae,onRendered:Ie,currentName:oe,scrollIntoView:fe}),()=>createVNode("div",{ref:Y,class:bem$9([j.type])},[j.sticky?createVNode(Sticky,{container:Y.value,offsetTop:ue.value,onScroll:be},{default:()=>[ye()]}):ye(),createVNode(TabsContent,{count:Q.length,inited:re.inited,animated:j.animated,duration:j.duration,swipeable:j.swipeable,lazyRender:j.lazyRender,currentIndex:re.currentIndex,onChange:ve},{default:()=>[B.default==null?void 0:B.default()]})])}});var[name$8,bem$8]=createNamespace("swipe-item");const _SwipeItem=defineComponent({name:name$8,setup(j,{slots:D}){var B,R=reactive({offset:0,inited:!1,mounted:!1}),{parent:F,index:U}=useParent(SWIPE_KEY);if(F){var Y=computed(()=>{var W={},{vertical:K}=F.props;return F.size.value&&(W[K?"height":"width"]=F.size.value+"px"),R.offset&&(W.transform="translate"+(K?"Y":"X")+"("+R.offset+"px)"),W}),q=computed(()=>{var{loop:W,lazyRender:K}=F.props;if(!K||B)return!0;if(!R.mounted)return!1;var G=F.activeIndicator.value,Z=F.count.value-1,Q=G===0&&W?Z:G-1,te=G===Z&&W?0:G+1;return B=U.value===G||U.value===Q||U.value===te,B}),X=W=>{R.offset=W};return onMounted(()=>{nextTick(()=>{R.mounted=!0})}),useExpose({setOffset:X}),()=>createVNode("div",{class:bem$8(),style:Y.value},[q.value?D.default==null?void 0:D.default():null])}}});var SwipeItem=withInstall(_SwipeItem),[name$7,bem$7]=createNamespace("tab");const _Tab=defineComponent({name:name$7,props:extend({},routeProps,{dot:Boolean,name:[Number,String],badge:[Number,String],title:String,disabled:Boolean,titleClass:unknownProp,titleStyle:[String,Object]}),setup(j,{slots:D}){var B=ref(!1),{parent:R,index:F}=useParent(TABS_KEY);if(R){var U=()=>{var X;return(X=j.name)!=null?X:F.value},Y=()=>{B.value=!0,R.props.lazyRender&&nextTick(()=>{R.onRendered(U(),j.title)})},q=computed(()=>{var X=U()===R.currentName.value;return X&&!B.value&&Y(),X});return watch(()=>j.title,()=>{R.setLine(),R.scrollIntoView()}),provide(TAB_STATUS_KEY,q),()=>{var{animated:X,swipeable:W,scrollspy:K,lazyRender:G}=R.props;if(!(!D.default&&!X)){var Z=K||q.value;if(X||W)return createVNode(SwipeItem,{role:"tabpanel","aria-hidden":!q.value,class:bem$7("pane-wrapper",{inactive:!q.value})},{default:()=>[createVNode("div",{class:bem$7("pane")},[D.default==null?void 0:D.default()])]});var Q=B.value||K||!G,te=Q?D.default==null?void 0:D.default():null;return withDirectives(createVNode("div",{role:"tabpanel",class:bem$7("pane")},[te]),[[vShow,Z]])}}}}});var Tab=withInstall(_Tab),Tabs=withInstall(_Tabs),[name$6,bem$6]=createNamespace("row"),ROW_KEY=Symbol(name$6);const _Row=defineComponent({name:name$6,props:{wrap:truthProp,align:String,justify:String,tag:{type:String,default:"div"},gutter:{type:[Number,String],default:0}},setup(j,{slots:D}){var{children:B,linkChildren:R}=useChildren(ROW_KEY),F=computed(()=>{var Y=[[]],q=0;return B.forEach((X,W)=>{q+=Number(X.span),q>24?(Y.push([W]),q-=24):Y[Y.length-1].push(W)}),Y}),U=computed(()=>{var Y=Number(j.gutter),q=[];return Y&&F.value.forEach(X=>{var W=Y*(X.length-1)/X.length;X.forEach((K,G)=>{if(G===0)q.push({right:W});else{var Z=Y-q[K-1].right,Q=W-Z;q.push({left:Z,right:Q})}})}),q});return R({spaces:U}),()=>{var{tag:Y,wrap:q,align:X,justify:W}=j;return createVNode(Y,{class:bem$6({["align-"+X]:X,["justify-"+W]:W,nowrap:!q})},{default:()=>[D.default==null?void 0:D.default()]})}}});var[name$5,bem$5]=createNamespace("col");const _Col=defineComponent({name:name$5,props:{offset:[Number,String],tag:{type:String,default:"div"},span:{type:[Number,String],default:0}},setup(j,{slots:D}){var{parent:B,index:R}=useParent(ROW_KEY),F=computed(()=>{if(B){var{spaces:U}=B;if(U&&U.value&&U.value[R.value]){var{left:Y,right:q}=U.value[R.value];return{paddingLeft:Y?Y+"px":null,paddingRight:q?q+"px":null}}}});return()=>{var{tag:U,span:Y,offset:q}=j;return createVNode(U,{style:F.value,class:bem$5({[Y]:Y,["offset-"+q]:q})},{default:()=>[D.default==null?void 0:D.default()]})}}});var Col=withInstall(_Col),[name$4,bem$4]=createNamespace("divider");const _Divider=defineComponent({name:name$4,props:{dashed:Boolean,hairline:truthProp,contentPosition:{type:String,default:"center"}},setup(j,{slots:D}){return()=>createVNode("div",{role:"separator",class:bem$4({dashed:j.dashed,hairline:j.hairline,["content-"+j.contentPosition]:!!D.default})},[D.default==null?void 0:D.default()])}});var Divider=withInstall(_Divider),[name$3,bem$3]=createNamespace("grid"),GRID_KEY=Symbol(name$3),props={square:Boolean,center:truthProp,border:truthProp,gutter:[Number,String],reverse:Boolean,iconSize:[Number,String],direction:String,clickable:Boolean,columnNum:{type:[Number,String],default:4}};const _Grid=defineComponent({name:name$3,props,setup(j,{slots:D}){var{linkChildren:B}=useChildren(GRID_KEY);return B({props:j}),()=>createVNode("div",{style:{paddingLeft:addUnit(j.gutter)},class:[bem$3(),{[BORDER_TOP]:j.border&&!j.gutter}]},[D.default==null?void 0:D.default()])}});var Grid=withInstall(_Grid),[name$2,bem$2]=createNamespace("grid-item");const _GridItem=defineComponent({name:name$2,props:extend({},routeProps,{dot:Boolean,text:String,icon:String,badge:[Number,String],iconPrefix:String,iconColor:String}),setup(j,{slots:D}){var{parent:B,index:R}=useParent(GRID_KEY),F=useRoute();if(B){var U=computed(()=>{var{square:K,gutter:G,columnNum:Z}=B.props,Q=100/+Z+"%",te={flexBasis:Q};if(K)te.paddingTop=Q;else if(G){var re=addUnit(G);te.paddingRight=re,R.value>=Z&&(te.marginTop=re)}return te}),Y=computed(()=>{var{square:K,gutter:G}=B.props;if(K&&G){var Z=addUnit(G);return{right:Z,bottom:Z,height:"auto"}}}),q=()=>{if(D.icon)return createVNode(Badge,{dot:j.dot,content:j.badge},{default:()=>[D.icon()]});if(j.icon)return createVNode(Icon,{dot:j.dot,name:j.icon,size:B.props.iconSize,badge:j.badge,class:bem$2("icon"),classPrefix:j.iconPrefix,color:j.iconColor},null)},X=()=>{if(D.text)return D.text();if(j.text)return createVNode("span",{class:bem$2("text")},[j.text])},W=()=>D.default?D.default():[q(),X()];return()=>{var{center:K,border:G,square:Z,gutter:Q,reverse:te,direction:re,clickable:J}=B.props,ie=[bem$2("content",[re,{center:K,square:Z,reverse:te,clickable:J,surround:G&&Q}]),{[BORDER]:G}];return createVNode("div",{class:[bem$2({square:Z})],style:U.value},[createVNode("div",{role:J?"button":void 0,class:ie,style:Y.value,tabindex:J?0:void 0,onClick:F},[W()])])}}}});var GridItem=withInstall(_GridItem);function getBoundingClientRect(j){var D=j.getBoundingClientRect();return{width:D.width,height:D.height,top:D.top,right:D.right,bottom:D.bottom,left:D.left,x:D.left,y:D.top}}function getWindow(j){if(j==null)return window;if(j.toString()!=="[object Window]"){var D=j.ownerDocument;return D&&D.defaultView||window}return j}function getWindowScroll(j){var D=getWindow(j),B=D.pageXOffset,R=D.pageYOffset;return{scrollLeft:B,scrollTop:R}}function isElement(j){var D=getWindow(j).Element;return j instanceof D||j instanceof Element}function isHTMLElement(j){var D=getWindow(j).HTMLElement;return j instanceof D||j instanceof HTMLElement}function isShadowRoot(j){if(typeof ShadowRoot>"u")return!1;var D=getWindow(j).ShadowRoot;return j instanceof D||j instanceof ShadowRoot}function getHTMLElementScroll(j){return{scrollLeft:j.scrollLeft,scrollTop:j.scrollTop}}function getNodeScroll(j){return j===getWindow(j)||!isHTMLElement(j)?getWindowScroll(j):getHTMLElementScroll(j)}function getNodeName(j){return j?(j.nodeName||"").toLowerCase():null}function getDocumentElement(j){return((isElement(j)?j.ownerDocument:j.document)||window.document).documentElement}function getWindowScrollBarX(j){return getBoundingClientRect(getDocumentElement(j)).left+getWindowScroll(j).scrollLeft}function getComputedStyle(j){return getWindow(j).getComputedStyle(j)}function isScrollParent(j){var D=getComputedStyle(j),B=D.overflow,R=D.overflowX,F=D.overflowY;return/auto|scroll|overlay|hidden/.test(B+F+R)}function getCompositeRect(j,D,B){B===void 0&&(B=!1);var R=getDocumentElement(D),F=getBoundingClientRect(j),U=isHTMLElement(D),Y={scrollLeft:0,scrollTop:0},q={x:0,y:0};return(U||!U&&!B)&&((getNodeName(D)!=="body"||isScrollParent(R))&&(Y=getNodeScroll(D)),isHTMLElement(D)?(q=getBoundingClientRect(D),q.x+=D.clientLeft,q.y+=D.clientTop):R&&(q.x=getWindowScrollBarX(R))),{x:F.left+Y.scrollLeft-q.x,y:F.top+Y.scrollTop-q.y,width:F.width,height:F.height}}function getLayoutRect(j){var D=getBoundingClientRect(j),B=j.offsetWidth,R=j.offsetHeight;return Math.abs(D.width-B)<=1&&(B=D.width),Math.abs(D.height-R)<=1&&(R=D.height),{x:j.offsetLeft,y:j.offsetTop,width:B,height:R}}function getParentNode(j){return getNodeName(j)==="html"?j:j.assignedSlot||j.parentNode||(isShadowRoot(j)?j.host:null)||getDocumentElement(j)}function getScrollParent(j){return["html","body","#document"].indexOf(getNodeName(j))>=0?j.ownerDocument.body:isHTMLElement(j)&&isScrollParent(j)?j:getScrollParent(getParentNode(j))}function listScrollParents(j,D){var B;D===void 0&&(D=[]);var R=getScrollParent(j),F=R===((B=j.ownerDocument)==null?void 0:B.body),U=getWindow(R),Y=F?[U].concat(U.visualViewport||[],isScrollParent(R)?R:[]):R,q=D.concat(Y);return F?q:q.concat(listScrollParents(getParentNode(Y)))}function isTableElement(j){return["table","td","th"].indexOf(getNodeName(j))>=0}function getTrueOffsetParent(j){return!isHTMLElement(j)||getComputedStyle(j).position==="fixed"?null:j.offsetParent}function getContainingBlock(j){var D=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,B=navigator.userAgent.indexOf("Trident")!==-1;if(B&&isHTMLElement(j)){var R=getComputedStyle(j);if(R.position==="fixed")return null}for(var F=getParentNode(j);isHTMLElement(F)&&["html","body"].indexOf(getNodeName(F))<0;){var U=getComputedStyle(F);if(U.transform!=="none"||U.perspective!=="none"||U.contain==="paint"||["transform","perspective"].indexOf(U.willChange)!==-1||D&&U.willChange==="filter"||D&&U.filter&&U.filter!=="none")return F;F=F.parentNode}return null}function getOffsetParent(j){for(var D=getWindow(j),B=getTrueOffsetParent(j);B&&isTableElement(B)&&getComputedStyle(B).position==="static";)B=getTrueOffsetParent(B);return B&&(getNodeName(B)==="html"||getNodeName(B)==="body"&&getComputedStyle(B).position==="static")?D:B||getContainingBlock(j)||D}var top$1="top",bottom$1="bottom",right="right",left$1="left",auto="auto",basePlacements=[top$1,bottom$1,right,left$1],start$4="start",end="end",placements=[].concat(basePlacements,[auto]).reduce(function(j,D){return j.concat([D,D+"-"+start$4,D+"-"+end])},[]),beforeRead="beforeRead",read="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function order(j){var D=new Map,B=new Set,R=[];j.forEach(function(U){D.set(U.name,U)});function F(U){B.add(U.name);var Y=[].concat(U.requires||[],U.requiresIfExists||[]);Y.forEach(function(q){if(!B.has(q)){var X=D.get(q);X&&F(X)}}),R.push(U)}return j.forEach(function(U){B.has(U.name)||F(U)}),R}function orderModifiers(j){var D=order(j);return modifierPhases.reduce(function(B,R){return B.concat(D.filter(function(F){return F.phase===R}))},[])}function debounce(j){var D;return function(){return D||(D=new Promise(function(B){Promise.resolve().then(function(){D=void 0,B(j())})})),D}}function getBasePlacement(j){return j.split("-")[0]}function mergeByName(j){var D=j.reduce(function(B,R){var F=B[R.name];return B[R.name]=F?Object.assign({},F,R,{options:Object.assign({},F.options,R.options),data:Object.assign({},F.data,R.data)}):R,B},{});return Object.keys(D).map(function(B){return D[B]})}var round=Math.round;function getVariation(j){return j.split("-")[1]}function getMainAxisFromPlacement(j){return["top","bottom"].indexOf(j)>=0?"x":"y"}function computeOffsets(j){var D=j.reference,B=j.element,R=j.placement,F=R?getBasePlacement(R):null,U=R?getVariation(R):null,Y=D.x+D.width/2-B.width/2,q=D.y+D.height/2-B.height/2,X;switch(F){case top$1:X={x:Y,y:D.y-B.height};break;case bottom$1:X={x:Y,y:D.y+D.height};break;case right:X={x:D.x+D.width,y:q};break;case left$1:X={x:D.x-B.width,y:q};break;default:X={x:D.x,y:D.y}}var W=F?getMainAxisFromPlacement(F):null;if(W!=null){var K=W==="y"?"height":"width";switch(U){case start$4:X[W]=X[W]-(D[K]/2-B[K]/2);break;case end:X[W]=X[W]+(D[K]/2-B[K]/2);break}}return X}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var j=arguments.length,D=new Array(j),B=0;B<j;B++)D[B]=arguments[B];return!D.some(function(R){return!(R&&typeof R.getBoundingClientRect=="function")})}function popperGenerator(j){j===void 0&&(j={});var D=j,B=D.defaultModifiers,R=B===void 0?[]:B,F=D.defaultOptions,U=F===void 0?DEFAULT_OPTIONS:F;return function(q,X,W){W===void 0&&(W=U);var K={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,U),modifiersData:{},elements:{reference:q,popper:X},attributes:{},styles:{}},G=[],Z=!1,Q={state:K,setOptions:function(ie){re(),K.options=Object.assign({},U,K.options,ie),K.scrollParents={reference:isElement(q)?listScrollParents(q):q.contextElement?listScrollParents(q.contextElement):[],popper:listScrollParents(X)};var ne=orderModifiers(mergeByName([].concat(R,K.options.modifiers)));return K.orderedModifiers=ne.filter(function(oe){return oe.enabled}),te(),Q.update()},forceUpdate:function(){if(!Z){var ie=K.elements,ne=ie.reference,oe=ie.popper;if(areValidElements(ne,oe)){K.rects={reference:getCompositeRect(ne,getOffsetParent(oe),K.options.strategy==="fixed"),popper:getLayoutRect(oe)},K.reset=!1,K.placement=K.options.placement,K.orderedModifiers.forEach(function(de){return K.modifiersData[de.name]=Object.assign({},de.data)});for(var ue=0;ue<K.orderedModifiers.length;ue++){if(K.reset===!0){K.reset=!1,ue=-1;continue}var ce=K.orderedModifiers[ue],fe=ce.fn,ae=ce.options,he=ae===void 0?{}:ae,ve=ce.name;typeof fe=="function"&&(K=fe({state:K,options:he,name:ve,instance:Q})||K)}}}},update:debounce(function(){return new Promise(function(J){Q.forceUpdate(),J(K)})}),destroy:function(){re(),Z=!0}};if(!areValidElements(q,X))return Q;Q.setOptions(W).then(function(J){!Z&&W.onFirstUpdate&&W.onFirstUpdate(J)});function te(){K.orderedModifiers.forEach(function(J){var ie=J.name,ne=J.options,oe=ne===void 0?{}:ne,ue=J.effect;if(typeof ue=="function"){var ce=ue({state:K,name:ie,instance:Q,options:oe}),fe=function(){};G.push(ce||fe)}})}function re(){G.forEach(function(J){return J()}),G=[]}return Q}}var passive={passive:!0};function effect(j){var D=j.state,B=j.instance,R=j.options,F=R.scroll,U=F===void 0?!0:F,Y=R.resize,q=Y===void 0?!0:Y,X=getWindow(D.elements.popper),W=[].concat(D.scrollParents.reference,D.scrollParents.popper);return U&&W.forEach(function(K){K.addEventListener("scroll",B.update,passive)}),q&&X.addEventListener("resize",B.update,passive),function(){U&&W.forEach(function(K){K.removeEventListener("scroll",B.update,passive)}),q&&X.removeEventListener("resize",B.update,passive)}}var eventListeners={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect,data:{}};function popperOffsets(j){var D=j.state,B=j.name;D.modifiersData[B]=computeOffsets({reference:D.rects.reference,element:D.rects.popper,strategy:"absolute",placement:D.placement})}var popperOffsets$1={name:"popperOffsets",enabled:!0,phase:"read",fn:popperOffsets,data:{}},unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(j){var D=j.x,B=j.y,R=window,F=R.devicePixelRatio||1;return{x:round(round(D*F)/F)||0,y:round(round(B*F)/F)||0}}function mapToStyles(j){var D,B=j.popper,R=j.popperRect,F=j.placement,U=j.offsets,Y=j.position,q=j.gpuAcceleration,X=j.adaptive,W=j.roundOffsets,K=W===!0?roundOffsetsByDPR(U):typeof W=="function"?W(U):U,G=K.x,Z=G===void 0?0:G,Q=K.y,te=Q===void 0?0:Q,re=U.hasOwnProperty("x"),J=U.hasOwnProperty("y"),ie=left$1,ne=top$1,oe=window;if(X){var ue=getOffsetParent(B),ce="clientHeight",fe="clientWidth";ue===getWindow(B)&&(ue=getDocumentElement(B),getComputedStyle(ue).position!=="static"&&(ce="scrollHeight",fe="scrollWidth")),ue=ue,F===top$1&&(ne=bottom$1,te-=ue[ce]-R.height,te*=q?1:-1),F===left$1&&(ie=right,Z-=ue[fe]-R.width,Z*=q?1:-1)}var ae=Object.assign({position:Y},X&&unsetSides);if(q){var he;return Object.assign({},ae,(he={},he[ne]=J?"0":"",he[ie]=re?"0":"",he.transform=(oe.devicePixelRatio||1)<2?"translate("+Z+"px, "+te+"px)":"translate3d("+Z+"px, "+te+"px, 0)",he))}return Object.assign({},ae,(D={},D[ne]=J?te+"px":"",D[ie]=re?Z+"px":"",D.transform="",D))}function computeStyles(j){var D=j.state,B=j.options,R=B.gpuAcceleration,F=R===void 0?!0:R,U=B.adaptive,Y=U===void 0?!0:U,q=B.roundOffsets,X=q===void 0?!0:q,W={placement:getBasePlacement(D.placement),popper:D.elements.popper,popperRect:D.rects.popper,gpuAcceleration:F};D.modifiersData.popperOffsets!=null&&(D.styles.popper=Object.assign({},D.styles.popper,mapToStyles(Object.assign({},W,{offsets:D.modifiersData.popperOffsets,position:D.options.strategy,adaptive:Y,roundOffsets:X})))),D.modifiersData.arrow!=null&&(D.styles.arrow=Object.assign({},D.styles.arrow,mapToStyles(Object.assign({},W,{offsets:D.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:X})))),D.attributes.popper=Object.assign({},D.attributes.popper,{"data-popper-placement":D.placement})}var computeStyles$1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:computeStyles,data:{}};function applyStyles(j){var D=j.state;Object.keys(D.elements).forEach(function(B){var R=D.styles[B]||{},F=D.attributes[B]||{},U=D.elements[B];!isHTMLElement(U)||!getNodeName(U)||(Object.assign(U.style,R),Object.keys(F).forEach(function(Y){var q=F[Y];q===!1?U.removeAttribute(Y):U.setAttribute(Y,q===!0?"":q)}))})}function effect$1(j){var D=j.state,B={popper:{position:D.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(D.elements.popper.style,B.popper),D.styles=B,D.elements.arrow&&Object.assign(D.elements.arrow.style,B.arrow),function(){Object.keys(D.elements).forEach(function(R){var F=D.elements[R],U=D.attributes[R]||{},Y=Object.keys(D.styles.hasOwnProperty(R)?D.styles[R]:B[R]),q=Y.reduce(function(X,W){return X[W]="",X},{});!isHTMLElement(F)||!getNodeName(F)||(Object.assign(F.style,q),Object.keys(U).forEach(function(X){F.removeAttribute(X)}))})}}var applyStyles$1={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles,effect:effect$1,requires:["computeStyles"]},defaultModifiers=[eventListeners,popperOffsets$1,computeStyles$1,applyStyles$1],createPopper=popperGenerator({defaultModifiers});function distanceAndSkiddingToXY(j,D,B){var R=getBasePlacement(j),F=[left$1,top$1].indexOf(R)>=0?-1:1,U=typeof B=="function"?B(Object.assign({},D,{placement:j})):B,Y=U[0],q=U[1];return Y=Y||0,q=(q||0)*F,[left$1,right].indexOf(R)>=0?{x:q,y:Y}:{x:Y,y:q}}function offset(j){var D=j.state,B=j.options,R=j.name,F=B.offset,U=F===void 0?[0,0]:F,Y=placements.reduce(function(K,G){return K[G]=distanceAndSkiddingToXY(G,D.rects,U),K},{}),q=Y[D.placement],X=q.x,W=q.y;D.modifiersData.popperOffsets!=null&&(D.modifiersData.popperOffsets.x+=X,D.modifiersData.popperOffsets.y+=W),D.modifiersData[R]=Y}var offset$1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:offset},[name$1,bem$1]=createNamespace("popover"),popupProps=["show","overlay","duration","teleport","overlayStyle","overlayClass","closeOnClickOverlay"];const _Popover=defineComponent({name:name$1,props:{show:Boolean,overlay:Boolean,duration:[Number,String],iconPrefix:String,overlayClass:unknownProp,overlayStyle:Object,closeOnClickAction:truthProp,closeOnClickOverlay:truthProp,closeOnClickOutside:truthProp,offset:{type:Array,default:()=>[0,8]},theme:{type:String,default:"light"},trigger:{type:String,default:"click"},actions:{type:Array,default:()=>[]},placement:{type:String,default:"bottom"},teleport:{type:[String,Object],default:"body"}},emits:["select","touchstart","update:show"],setup(j,{emit:D,slots:B,attrs:R}){var F,U=ref(),Y=ref(),q=()=>createPopper(U.value,Y.value.popupRef.value,{placement:j.placement,modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},extend({},offset$1,{options:{offset:j.offset}})]}),X=()=>{nextTick(()=>{j.show&&(F?F.setOptions({placement:j.placement}):F=q())})},W=re=>D("update:show",re),K=()=>{j.trigger==="click"&&W(!j.show)},G=re=>{re.stopPropagation(),D("touchstart",re)},Z=(re,J)=>{re.disabled||(D("select",re,J),j.closeOnClickAction&&W(!1))},Q=()=>{j.closeOnClickOutside&&(!j.overlay||j.closeOnClickOverlay)&&W(!1)},te=(re,J)=>{var{icon:ie,text:ne,color:oe,disabled:ue,className:ce}=re;return createVNode("div",{role:"menuitem",class:[bem$1("action",{disabled:ue,"with-icon":ie}),ce],style:{color:oe},onClick:()=>Z(re,J)},[ie&&createVNode(Icon,{name:ie,classPrefix:j.iconPrefix,class:bem$1("action-icon")},null),createVNode("div",{class:[bem$1("action-text"),BORDER_BOTTOM]},[ne])])};return onMounted(X),onBeforeUnmount(()=>{F&&(F.destroy(),F=null)}),watch(()=>[j.show,j.placement],X),useClickAway(U,Q,{eventName:"touchstart"}),()=>createVNode(Fragment,null,[createVNode("span",{ref:U,class:bem$1("wrapper"),onClick:K},[B.reference==null?void 0:B.reference()]),createVNode(Popup,mergeProps({ref:Y,class:bem$1([j.theme]),position:"",transition:"van-popover-zoom",lockScroll:!1,onTouchstart:G},R,pick(j,popupProps),{"onUpdate:show":W}),{default:()=>[createVNode("div",{class:bem$1("arrow")},null),createVNode("div",{role:"menu",class:bem$1("content")},[B.default?B.default():j.actions.map(te)])]})])}});var Popover=withInstall(_Popover),Row=withInstall(_Row),[name,bem]=createNamespace("slider");const _Slider=defineComponent({name,props:{range:Boolean,disabled:Boolean,readonly:Boolean,vertical:Boolean,barHeight:[Number,String],buttonSize:[Number,String],activeColor:String,inactiveColor:String,min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},step:{type:[Number,String],default:1},modelValue:{type:[Number,Array],default:0}},emits:["change","drag-end","drag-start","update:modelValue"],setup(j,{emit:D,slots:B}){var R,F,U,Y=ref(),q=ref(),X=useTouch(),W=computed(()=>Number(j.max)-Number(j.min)),K=computed(()=>{var he=j.vertical?"width":"height";return{background:j.inactiveColor,[he]:addUnit(j.barHeight)}}),G=he=>!!j.range&&Array.isArray(he),Z=()=>{var{modelValue:he,min:ve}=j;return G(he)?(he[1]-he[0])*100/W.value+"%":(he-Number(ve))*100/W.value+"%"},Q=()=>{var{modelValue:he,min:ve}=j;return G(he)?(he[0]-Number(ve))*100/W.value+"%":"0%"},te=computed(()=>{var he=j.vertical?"height":"width";return{[he]:Z(),left:j.vertical?void 0:Q(),top:j.vertical?Q():void 0,background:j.activeColor,transition:q.value?"none":void 0}}),re=he=>{var ve=+j.min,de=+j.max,se=+j.step;he=clamp(he,ve,de);var ge=Math.round((he-ve)/se)*se;return addNumber(ve,ge)},J=(he,ve)=>JSON.stringify(he)===JSON.stringify(ve),ie=he=>he[0]>he[1]?he.slice(0).reverse():he,ne=(he,ve)=>{G(he)?he=ie(he).map(re):he=re(he),J(he,j.modelValue)||D("update:modelValue",he),ve&&!J(he,F)&&D("change",he)},oe=he=>{if(he.stopPropagation(),!(j.disabled||j.readonly)){var{min:ve,vertical:de,modelValue:se}=j,ge=useRect(Y),be=de?he.clientY-ge.top:he.clientX-ge.left,le=de?ge.height:ge.width,pe=Number(ve)+be/le*W.value;if(G(se)){var[Se,Ae]=se,ye=(Se+Ae)/2;pe<=ye?ne([pe,Ae],!0):ne([Se,pe],!0)}else ne(pe,!0)}},ue=he=>{j.disabled||j.readonly||(X.start(he),U=j.modelValue,G(U)?F=U.map(re):F=re(U),q.value="start")},ce=he=>{if(!(j.disabled||j.readonly)){q.value==="start"&&D("drag-start"),preventDefault(he,!0),X.move(he),q.value="draging";var ve=useRect(Y),de=j.vertical?X.deltaY.value:X.deltaX.value,se=j.vertical?ve.height:ve.width,ge=de/se*W.value;G(F)?U[R]=F[R]+ge:U=F+ge,ne(U)}},fe=()=>{j.disabled||j.readonly||(q.value==="draging"&&(ne(U,!0),D("drag-end")),q.value="")},ae=he=>{var ve=()=>{if(typeof he=="number"){var se=["left","right"];return"button-wrapper-"+se[he]}return"button-wrapper"},de=typeof he=="number"?j.modelValue[he]:j.modelValue;return createVNode("div",{role:"slider",class:bem(ve()),tabindex:j.disabled||j.readonly?-1:0,"aria-valuemin":+j.min,"aria-valuenow":de,"aria-valuemax":+j.max,"aria-orientation":j.vertical?"vertical":"horizontal",onTouchstart:se=>{typeof he=="number"&&(R=he),ue(se)},onTouchmove:ce,onTouchend:fe,onTouchcancel:fe,onClick:stopPropagation},[B.button?B.button():createVNode("div",{class:bem("button"),style:getSizeStyle(j.buttonSize)},null)])};return ne(j.modelValue),useLinkField(()=>j.modelValue),()=>createVNode("div",{ref:Y,style:K.value,class:bem({vertical:j.vertical,disabled:j.disabled}),onClick:oe},[createVNode("div",{class:bem("bar"),style:te.value},[j.range?[ae(0),ae(1)]:ae()])])}});var Slider=withInstall(_Slider),eventemitter3Exports={},eventemitter3={get exports(){return eventemitter3Exports},set exports(j){eventemitter3Exports=j}};(function(j){var D=Object.prototype.hasOwnProperty,B="~";function R(){}Object.create&&(R.prototype=Object.create(null),new R().__proto__||(B=!1));function F(X,W,K){this.fn=X,this.context=W,this.once=K||!1}function U(X,W,K,G,Z){if(typeof K!="function")throw new TypeError("The listener must be a function");var Q=new F(K,G||X,Z),te=B?B+W:W;return X._events[te]?X._events[te].fn?X._events[te]=[X._events[te],Q]:X._events[te].push(Q):(X._events[te]=Q,X._eventsCount++),X}function Y(X,W){--X._eventsCount===0?X._events=new R:delete X._events[W]}function q(){this._events=new R,this._eventsCount=0}q.prototype.eventNames=function(){var W=[],K,G;if(this._eventsCount===0)return W;for(G in K=this._events)D.call(K,G)&&W.push(B?G.slice(1):G);return Object.getOwnPropertySymbols?W.concat(Object.getOwnPropertySymbols(K)):W},q.prototype.listeners=function(W){var K=B?B+W:W,G=this._events[K];if(!G)return[];if(G.fn)return[G.fn];for(var Z=0,Q=G.length,te=new Array(Q);Z<Q;Z++)te[Z]=G[Z].fn;return te},q.prototype.listenerCount=function(W){var K=B?B+W:W,G=this._events[K];return G?G.fn?1:G.length:0},q.prototype.emit=function(W,K,G,Z,Q,te){var re=B?B+W:W;if(!this._events[re])return!1;var J=this._events[re],ie=arguments.length,ne,oe;if(J.fn){switch(J.once&&this.removeListener(W,J.fn,void 0,!0),ie){case 1:return J.fn.call(J.context),!0;case 2:return J.fn.call(J.context,K),!0;case 3:return J.fn.call(J.context,K,G),!0;case 4:return J.fn.call(J.context,K,G,Z),!0;case 5:return J.fn.call(J.context,K,G,Z,Q),!0;case 6:return J.fn.call(J.context,K,G,Z,Q,te),!0}for(oe=1,ne=new Array(ie-1);oe<ie;oe++)ne[oe-1]=arguments[oe];J.fn.apply(J.context,ne)}else{var ue=J.length,ce;for(oe=0;oe<ue;oe++)switch(J[oe].once&&this.removeListener(W,J[oe].fn,void 0,!0),ie){case 1:J[oe].fn.call(J[oe].context);break;case 2:J[oe].fn.call(J[oe].context,K);break;case 3:J[oe].fn.call(J[oe].context,K,G);break;case 4:J[oe].fn.call(J[oe].context,K,G,Z);break;default:if(!ne)for(ce=1,ne=new Array(ie-1);ce<ie;ce++)ne[ce-1]=arguments[ce];J[oe].fn.apply(J[oe].context,ne)}}return!0},q.prototype.on=function(W,K,G){return U(this,W,K,G,!1)},q.prototype.once=function(W,K,G){return U(this,W,K,G,!0)},q.prototype.removeListener=function(W,K,G,Z){var Q=B?B+W:W;if(!this._events[Q])return this;if(!K)return Y(this,Q),this;var te=this._events[Q];if(te.fn)te.fn===K&&(!Z||te.once)&&(!G||te.context===G)&&Y(this,Q);else{for(var re=0,J=[],ie=te.length;re<ie;re++)(te[re].fn!==K||Z&&!te[re].once||G&&te[re].context!==G)&&J.push(te[re]);J.length?this._events[Q]=J.length===1?J[0]:J:Y(this,Q)}return this},q.prototype.removeAllListeners=function(W){var K;return W?(K=B?B+W:W,this._events[K]&&Y(this,K)):(this._events=new R,this._eventsCount=0),this},q.prototype.off=q.prototype.removeListener,q.prototype.addListener=q.prototype.on,q.prefixed=B,q.EventEmitter=q,j.exports=q})(eventemitter3);const event$1=new eventemitter3Exports,setEngravingRules=j=>{var D;j.EngravingRules.CompactMode=!0,j.EngravingRules.DYMinNoteWidth=3,j.EngravingRules.VoiceSpacingMultiplierVexflow=.65,j.EngravingRules.VoiceSpacingAddendVexflow=2,j.EngravingRules.MinSkyBottomDistBetweenStaves=2,j.EngravingRules.MinSkyBottomDistBetweenSystems=2,j.EngravingRules.MinimumStaffLineDistance=4,j.EngravingRules.BetweenStaffDistance=2.5,j.EngravingRules.StaffDistance=3.5,j.EngravingRules.MinimumDistanceBetweenSystems=1,j.EngravingRules.PageBottomMargin=0,j.EngravingRules.PageLeftMargin=2,j.EngravingRules.PageRightMargin=2,j.EngravingRules.PageTopMarginNarrow=3,j.EngravingRules.WedgeEndDistanceBetweenTimestampsFactor=1,j.EngravingRules.RehearsalMarkXOffset=-18,j.EngravingRules.RehearsalMarkYOffset=10,j.EngravingRules.DYWorkId=((D=state$2.activeDetail)==null?void 0:D.parentCategoriesId)||0},useEngravingRules=(j,D)=>{onMounted(()=>{setEngravingRules(j);for(const B in D)if(Object.prototype.hasOwnProperty.call(D,B)){let R=B;const F=D[R];j.EngravingRules[R]=F}})},useOsmd=(j,D,B={})=>{const R=ref();if(j.value){const F=new EngravingRules;for(const[U,Y]of Object.entries(B))F[U]=Y;R.value=new OpenSheetMusicDisplay(j.value,{followCursor:!1,autoResize:!0,drawSubtitle:!1,drawTitle:!1,autoBeam:!0,drawMetronomeMarks:!1,drawMeasureNumbers:!1,drawComposer:!1,drawLyricist:!1,...D},F)}return R},useOsmdLoader=async(j,D)=>{if(!D)throw"score is required";const B=Toast("加载中,请稍后...");try{D&&j&&(await j.load(D),j.zoom=formatZoom(),await j.render())}catch{}B.close()},container$3="_container_15puc_1",eyeProtection="_eyeProtection_15puc_22",styles$h={container:container$3,eyeProtection},browserInfo$5=browser(),getLinkId$1=()=>location.hash.split("?")[0].split("/").pop()||"",retain=j=>Math.ceil(j*1e6)/1e6,formatLyricsEntries=j=>{var R,F;const D=((R=j.parentStaffEntry)==null?void 0:R.voiceEntries)||[],B=[];for(const U of D)if((F=U.lyricsEntries)!=null&&F.table){const Y=Object.values(U.lyricsEntries.table);for(const q of Y)B.push(q==null?void 0:q.value.text)}return B},getMeasureDurationDiff=j=>{const{realValue:D}=j.activeTimeSignature,{realValue:B}=j.duration;return D-B},getAllNodes=j=>{var W,K,G,Z,Q,te,re,J,ie,ne,oe,ue,ce,fe,ae,he,ve,de,se,ge,be,le,pe,Se,Ae,ye,Me,Ie,xe,me,we,_e,Te,Ne,Ee,De,Ce,Pe,ze,Oe,ke;const D=getLinkId$1();let B=browserInfo$5.huawei?.08:0;const R=[],F=[],U=[],{baseSpeed:Y=100}=state$2,q=(Be,je)=>{var We,Ve,Ue,Qe,He,Ye;return["906"].includes(D)?((We=je.measures[0])==null?void 0:We.realKey)||Be:["782","784"].includes(D)&&[14,16,30,32].includes((Ve=je.firstVerticalMeasure)==null?void 0:Ve.measureNumber)?((Ue=R[R.length-1])==null?void 0:Ue.realKey)||Be:["900","901","640","641","739","740","800","801","773","774","869","872","714","715"].includes(D)&&(((Qe=je.firstVerticalMeasure)==null?void 0:Qe.measureNumber)===3||((He=je.firstVerticalMeasure)==null?void 0:He.measureNumber)===9)&&((Ye=je.measures[0])==null?void 0:Ye.realKey)||Be};if(j!=null&&j.cursor){try{j.cursor.reset()}catch{}const Be=j.cursor.iterator;let je=0,Fe=0,Re=[],Ze=[],We=0,Ve=0,Ue=0,Qe="quarter",He=1,Ye=0,Xe=0,Je=0,et=0,tt=!1,rt=0;for(;!Be.endReached;){const it=j.cursor.cursorElement,nt={move:!1};it&&(nt.move=!0,nt.x=it.offsetLeft,nt.y=it.offsetTop,nt.w=it.offsetWidth,nt.h=it.offsetHeight);const dt=(W=Be.currentVoiceEntries)!=null&&W[0]?[(K=Be.currentVoiceEntries)==null?void 0:K[0]]:[],ft=(G=Be.currentVoiceEntries)==null?void 0:G[1];let gt=!1;for(const ut of dt){let Le=ut.notes[0];if(["Piano"].includes((Z=state$2.activeDetail)==null?void 0:Z.code)){let st=[];try{st=(Q=Be.currentVoiceEntries)==null?void 0:Q.map(at=>at.notes).flat().sort((at,$e)=>at.Length.realValue-$e.Length.realValue),Le=st[0]}catch{}}if(Le){if(Fe===0&&U.push(Le.sourceMeasure),Fe===0&&state$2.isSpecialBookCategory)for(const qe of(te=Le.sourceMeasure)==null?void 0:te.TempoExpressions)(re=qe==null?void 0:qe.InstantaneousTempo)!=null&&re.beatUnit&&(Qe=qe.InstantaneousTempo.beatUnit);He=(J=Le.sourceMeasure)==null?void 0:J.MeasureNumberXML,Xe==((ie=Le.sourceMeasure)==null?void 0:ie.MeasureNumberXML)?Je++:(Xe=(ne=Le.sourceMeasure)==null?void 0:ne.MeasureNumberXML,Je=0);let st=Le.sourceMeasure.tempoInBPM;const{metronomeNoteIndex:at}=Be.currentMeasure;at!==0&&at>Fe&&(st=((oe=R[R.length-1])==null?void 0:oe.speed)||100);const $e=[(ue=Le.sourceMeasure.verticalMeasureList)==null?void 0:ue[0]],{realValue:pt}=Be.currentTimeStamp,{RealValue:ht,Denominator:Ke}=formatDuration(Be.currentMeasure.activeTimeSignature,Be.currentMeasure.duration);let{wholeValue:Mt,numerator:yt,denominator:wt,realValue:Ot}=Le.length,vt=We,mt=(state$2.isSpecialBookCategory?getTimeByBeatUnit(Qe,st,Be.currentMeasure.activeTimeSignature.Denominator):Y)||1,Nt=(state$2.isSpecialBookCategory?st:Y)||1;je===0&&(B+=getFixTime(mt));let ot=(yt===0&&Le.isRestFlag?ht:(Mt+yt)/wt)*Ke*(60/mt);const bt=ht*Ke*(60/mt);["Piano"].includes((ce=state$2.activeDetail)==null?void 0:ce.code)&&(ot=(Be.currentTimeStamp.realValue-et||(yt===0?ht:(Mt+yt)/wt))*Ke*(60/mt)),Le.isRestFlag&&((fe=Le==null?void 0:Le.sourceMeasure)!=null&&fe.allRests)&&(rt=(ae=Le==null?void 0:Le.sourceMeasure)==null?void 0:ae.multipleRestMeasures),rt>0&&(rt-=1,ot=bt),Le.isRestFlag&&ot>bt&&(ot=bt),Le.DotsXml&&Le.tuplet&&(ot=ot*1.5),tt&&(ot=1e-7,tt=!1,gt=!0);const Dt=(he=Le.sourceMeasure.staffLinkedExpressions)==null?void 0:he[0];for(const qe of Dt||[])if(qe&&((ve=qe.expressions)==null?void 0:ve.find(At=>At.label==="跳过下一个"))&&Fraction.Equal((de=Le.voiceEntry)==null?void 0:de.Timestamp,qe.Timestamp)){tt=!0;break}et=Be.currentTimeStamp.realValue,We+=ot,Ve+=ot;let xt=ot+vt;const It=Le.ParentVoiceEntry.ParentVoice.Parent.SubInstruments[0].fixedKey||0,lt=(ge=(se=$e[0])==null?void 0:se.vfVoices["1"])==null?void 0:ge.tickables[Je];if(R.length&&R[R.length-1].relativeTime===vt)continue;if(je===0){const qe=getMeasureDurationDiff(Be.currentMeasure);console.log("diff",qe),qe>0&&(Ue=qe*Ke*(60/mt),((be=state$2.activeDetail)==null?void 0:be.audioType)==="MIDI"&&(Ue=0),B+=Ue)}const ct={skipMode:gt,NoteToGraphicalNoteObjectId:Le.NoteToGraphicalNoteObjectId,cursorBox:nt,skipNextNote:tt,measureNumberPrinted:He,difftime:Ue,octaveOffset:(le=$e[0])==null?void 0:le.octaveOffset,frequency:(pe=Le.pitch)==null?void 0:pe.frequency,speed:Nt,beatSpeed:mt,i:je,si:Fe,stepSpeeds:Ze,indexOfMeasures:Ye,measureOpenIndex:U.length-1,measures:Re,tempoInBPM:Le.sourceMeasure.tempoInBPM,measureLength:bt,relaMeasureLength:Ve,id:lt==null?void 0:lt.attrs.id,note:Le.halfTone+12,relativeTime:retain(vt),time:retain(vt+B),endtime:retain(xt+B),relaEndtime:retain(xt),realValue:pt,halfTone:Le.halfTone,voiceEntry:{isStaccato:Le.voiceEntry.isStaccato(),Timestamp:{...Le.voiceEntry.Timestamp},ornamentContainer:Le.voiceEntry.ornamentContainer?{...Le.voiceEntry.ornamentContainer}:""},noteElement:{NoteToGraphicalNoteObjectId:Le.NoteToGraphicalNoteObjectId,notehead:Le.notehead?{filled:Le.notehead.filled,shape:Le.notehead.shape,sourceNote:(Se=Le.notehead.sourceNote)==null?void 0:Se.NoteToGraphicalNoteObjectId}:"",noteheadColor:Le.noteheadColor,isRestFlag:Le.isRestFlag,sourceMeasure:{measureListIndex:(Ae=Le==null?void 0:Le.SourceMeasure)==null?void 0:Ae.measureListIndex,MeasureNumberXML:(ye=Le==null?void 0:Le.SourceMeasure)==null?void 0:ye.MeasureNumberXML,allRests:(Me=Le==null?void 0:Le.SourceMeasure)==null?void 0:Me.allRests,isRestFlag:(Ie=Le==null?void 0:Le.SourceMeasure)==null?void 0:Ie.isRestFlag,multipleRestMeasures:(xe=Le==null?void 0:Le.SourceMeasure)==null?void 0:xe.multipleRestMeasures,verticalMeasureList:Array.isArray((me=Le==null?void 0:Le.SourceMeasure)==null?void 0:me.verticalMeasureList)?Le.SourceMeasure.verticalMeasureList.map(qe=>{const{x:Tt,y:At,width:_t,height:Ct,start_x:Pt,end_x:kt}=(qe==null?void 0:qe.stave)||{};return qe?{stave:{x:Tt,y:At,width:_t,height:Ct,start_x:Pt,end_x:kt},boundingBox:qe&&qe.boundingBox?{absolutePosition:{...qe.boundingBox.absolutePosition},size:{...qe.boundingBox.size}}:""}:void 0}):[],activeTimeSignature:{...Le.activeTimeSignature}},tie:Le.tie?{StartNote:{NoteToGraphicalNoteObjectId:Le.tie.StartNote.NoteToGraphicalNoteObjectId},notes:Array.isArray(Le.tie.notes)&&((we=Le.tie.notes)==null?void 0:we.map(qe=>({NoteToGraphicalNoteObjectId:qe.NoteToGraphicalNoteObjectId})))||[]}:"",slurs:Array.isArray(Le.slurs)?Le.slurs.map(qe=>({startNote:{NoteToGraphicalNoteObjectId:qe.startNote.NoteToGraphicalNoteObjectId},endNote:{NoteToGraphicalNoteObjectId:qe.endNote.NoteToGraphicalNoteObjectId}})):[],pitch:{prevFrequency:(_e=Le.pitch)==null?void 0:_e.prevFrequency,nextFrequency:(Te=Le.pitch)==null?void 0:Te.nextFrequency,frequency:(Ne=Le.pitch)==null?void 0:Ne.frequency},Length:{...Le.Length}},svgElelent:lt?{bbox:((Ee=lt.getBoundingBox)==null?void 0:Ee.call(lt))||"",top_y:lt.top_y,note_height:lt.note_height}:"",fixedKey:It,realKey:0,duration:0,formatLyricsEntries:formatLyricsEntries(Le),stave:$e[0]&&$e[0].stave?{attrs:$e[0].stave?{...$e[0].stave.attrs}:{}}:"",firstVerticalMeasure:{measureNumber:(De=$e==null?void 0:$e[0])==null?void 0:De.measureNumber},noteLength:1,halfTone1:Array.isArray(ut.notes)?ut.notes.map(qe=>qe.halfTone+12).filter(Boolean):[],halfTone2:ft&&Array.isArray(ft.notes)?ft.notes.map(qe=>qe.halfTone+12).filter(Boolean):[]};ct.realKey=q(Le.halfTone-It*12,ct),ct.duration=ct.endtime-ct.time;const Et=((Pe=(Ce=$e[0])==null?void 0:Ce.vfVoices["1"])==null?void 0:Pe.tickables)||[],St=((ke=(Oe=(ze=Le.sourceMeasure.verticalMeasureList)==null?void 0:ze[0])==null?void 0:Oe.staffEntries)==null?void 0:ke.length)||Et.length;ct.noteLength=St||1,R.push(ct),F.push(ct.id),Re.push({realKey:ct.realKey,NoteToGraphicalNoteObjectId:Le.NoteToGraphicalNoteObjectId}),Fe<St-1?Fe++:(Fe=0,Ve=0,Re=[])}}j.cursor.next(),je++}try{j.cursor.reset()}catch{}}const X=R.sort((Be,je)=>Be.relativeTime-je.relativeTime).map((Be,je)=>({...Be,i:je}));for(let Be=0;Be<X.length;Be++){const je={...X[Be]},Fe=X[Be-1],Re=je.noteElement.tie&&(Fe==null?void 0:Fe.noteElement.tie)&&je.halfTone===(Fe==null?void 0:Fe.halfTone);Fe&&((Re||!1)&&(je.sourceStartTime=je.time,je.sourceRelativeTime=je.relativeTime,je.sourceRealValue=je.realValue,je.sourceEndTime=je.endtime,je.sourceRelaEndtime=je.relaEndtime,je.relativeTime=Fe.relativeTime,je.realValue=Fe.realValue,je.time=Fe.time,je.endtime=Fe.endtime,je.relaEndtime=Fe.relaEndtime),je.halfTone===0&&(je.realKey=Fe.realKey)),X[Be]=je}return X},setStepIndex=(j,D,B)=>{if(j.product){if(D||D===0)if(B&&D-B===1)j.cursor.setPosition({...state$2.times[D].cursorBox});else if(B&&D-B>0)for(;D-B>0;)B++,D-B>0&&j.cursor.setPosition({...state$2.times[B].cursorBox});else j.cursor.setPosition({...state$2.times[D].cursorBox})}else if(D||D===0)if(B&&D-B===1)j.cursor.next();else if(B&&D-B>0)for(;D-B>0;)B++,j.cursor.next();else{let R=0;for(j.cursor.reset();R<D;)R++,j.cursor.hidden!==!1?j.cursor.show():j.cursor.next()}},getIndex=(j,D)=>{if(D>state$2.times[state$2.times.length-1].endtime)return-1;let B=0;const R=j.filter((F,U)=>{const Y=j[U-1];return(Y==null?void 0:Y.skipNextNote)===!1});for(let F=0;F<R.length;F++){const U=R[F],Y=R[F-1];if(D>=U.time)(!Y||U.time!=Y.time)&&(B=U.i);else break}if(state$2.sectionStatus&&state$2.section.length===2){const F=state$2.befireSection||state$2.section[0];B=Math.min(Math.max(B,F.i),state$2.section[1].i),console.log("endIndex",B)}return B},getSlursNote=(j,D)=>{var R,F;let B=D==="end"?(R=j.noteElement.slurs[0])==null?void 0:R.endNote:(F=j.noteElement.slurs[0])==null?void 0:F.startNote;if(B)return state$2.times.find(U=>U.NoteToGraphicalNoteObjectId==B.NoteToGraphicalNoteObjectId)},getNoteBySlursStart=(j,D,B)=>{let R=j,F=getSlursNote(R,B);if(!F&&D)for(const U of R.measures){const Y=state$2.times.find(q=>q.NoteToGraphicalNoteObjectId==U.NoteToGraphicalNoteObjectId);console.log("🚀 ~ item",Y),Y.noteElement.slurs.length&&(F=getSlursNote(Y,B),R=Y)}if(R&&F!==R.noteElement){for(const U of state$2.times)if(F===U.noteElement)return U}return R},getParentNote=j=>{let D;if(j){for(const B of state$2.times)if(j.NoteToGraphicalNoteObjectId===B.noteElement.NoteToGraphicalNoteObjectId)return B}return D},getNoteByMeasuresSlursStart=j=>{let D=j,B;if(j.noteElement.tie&&j.noteElement.tie.StartNote&&(B=j.noteElement.tie.StartNote),D&&B&&B!==D.noteElement){for(const R of state$2.times)if(B.NoteToGraphicalNoteObjectId===R.noteElement.NoteToGraphicalNoteObjectId)return R}return D},getActtiveNoteByTimes=j=>{var F;const D=(F=j.target)==null?void 0:F.dataset,B={};for(const U of state$2.times)U.id&&(B[U.id]=U);return B[D.id||""]},getPrevHasSourceNote=j=>{const D=Math.max(state$2.times.indexOf(j)-1,0);for(let B=D;B>=0;B--){const R=state$2.times[B];if(R!=null&&R.stave)return R}},getBoundingBoxByverticalNote=j=>{var R,F,U,Y,q,X,W,K,G;let D=(F=(R=j==null?void 0:j.noteElement)==null?void 0:R.sourceMeasure)==null?void 0:F.verticalMeasureList;D=!D||!D[0]?((U=j==null?void 0:j.noteElement)==null?void 0:U.isRestFlag)&&((X=(q=(Y=getPrevHasSourceNote(j))==null?void 0:Y.noteElement)==null?void 0:q.sourceMeasure)==null?void 0:X.verticalMeasureList):D;let B=0;if(D){const Z=D[state.partIndex];for(let Q=0;Q<D.length;Q++){const te=D[Q];if(te!=null&&te.stave){const{height:re}=te==null?void 0:te.stave;Q>0&&(B+=(W=D[Q-1])==null?void 0:W.stave.height),B+=re;const{x:J,y:ie,width:ne,context:oe,start_x:ue,end_x:ce}=Z==null?void 0:Z.stave;return{measureIndex:((K=j==null?void 0:j.noteElement)==null?void 0:K.sourceMeasure.measureListIndex)||0,MeasureNumberXML:((G=j==null?void 0:j.noteElement)==null?void 0:G.sourceMeasure.MeasureNumberXML)||1,start_x:ue,end_x:ce,height:B,x:J,y:ie,width:ne,context:oe}}}}return{measureIndex:0,height:B,start_x:0,end_x:0,x:0,y:0,width:0,context:{element:null}}},getDuration=j=>{var D;if(j){const B=(D=j==null?void 0:j.graphic)==null?void 0:D.measureList[0][0];if(B){const{duration:R,tempoInBPM:F,activeTimeSignature:U}=B==null?void 0:B.parentSourceMeasure;if(R)return{...formatDuration(U),tempoInBPM:F}}}return{}},formatDuration=(j,D)=>j,getTimeByBeatUnit=(j,D,B)=>{let R=4;switch(j){case"1024th":R=1024;break;case"512th":R=512;break;case"256th":R=256;break;case"128th":R=128;break;case"64th":R=64;break;case"32nd":R=32;break;case"16th":R=16;break;case"eighth":R=8;break;case"quarter":R=4;break;case"half":R=2;break;case"whole":R=1;break;case"breve":R=.5;break;case"long":R=.25;break;case"maxima":R=.125;break}return B/R*D},getEnvHostname=()=>location.origin.indexOf("online")>-1?"https://mstuonline.dayaedu.com":location.origin.indexOf("dev")>-1?"http://mstudev.dayaedu.com":"https://mstutest.dayaedu.com",getTvIconUrl=()=>location.origin.indexOf("online")>-1?"https://mteaonline.dayaedu.com/#/guide":location.origin.indexOf("dev")>-1?"http://mteadev.dayaedu.com/#/guide":"https://mteatest.dayaedu.com/#/guide",setPrefix=j=>j?"?"+j:"",formatXML=(j,D)=>{var X,W,K;if(!j)return"";const B=new DOMParser().parseFromString(j,"text/xml"),R=B.getElementsByTagName("measure");let F=-1,U=-1;const Y=document.createElement("direction"),q=`<direction-type>
  2. <metronome default-y="30" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="2.0153" font-weight="normal">
  3. <beat-unit>quarter</beat-unit>
  4. <per-minute>100</per-minute>
  5. </metronome>
  6. </direction-type>
  7. <voice>1</voice>
  8. <staff>1</staff>`;Y.innerHTML=q,B.getElementsByTagName("per-minute").length===0&&((X=R[0])==null||X.insertAdjacentElement("afterbegin",Y));for(const G of R){F===-1&&G.getElementsByTagName("beats").length&&(F=parseInt(G.getElementsByTagName("beats")[0].textContent||"4")),U===-1&&G.getElementsByTagName("beat-type").length&&(U=parseInt(G.getElementsByTagName("beat-type")[0].textContent||"4"));const Z=parseInt(((W=G.getElementsByTagName("divisions")[0])==null?void 0:W.textContent)||"256");if(G.getElementsByTagName("note").length===0){const Q=(K=G.getElementsByTagName("forward")[0])==null?void 0:K.getElementsByTagName("duration")[0];Q&&(Q.textContent="0"),G.innerHTML=G.innerHTML+`
  9. <note>
  10. <rest measure="yes"/>
  11. <duration>${Z*F}</duration>
  12. <voice>1</voice>
  13. <type>whole</type>
  14. </note>`}}if(D){const G=B.querySelector("work-title");G&&D.title&&(G.textContent=D.title)}return new XMLSerializer().serializeToString(B)},getCustomInfo=j=>{var F,U,Y;const D={showSpeed:!0,parsedXML:j,code:""},B=new DOMParser().parseFromString(j,"text/xml"),R=B.getElementsByTagName("words");for(const q of R)q&&((F=q.textContent)==null?void 0:F.trim())==="隐藏速度"&&(D.showSpeed=!1,q.textContent=""),q&&((U=q.textContent)==null?void 0:U.trim())==="@"&&(q.textContent="segno");return D.parsedXML=new XMLSerializer().serializeToString(B),D.code=((Y=B.querySelector("part-name"))==null?void 0:Y.innerHTML)||"",D},setElementNoteBefore=(j,D,B)=>{let R=0;if(D){for(let F=0;F<D.childNodes.length;F++){const U=D.childNodes[F];if(U.nodeName==="note"&&R++,U===j)break}if(R===0&&B){B.insertBefore(j,B.childNodes[0]);return}if(B&&B.childNodes.length>0){let F=0;for(let U=0;U<B.childNodes.length;U++){const Y=B.childNodes[U];if(Y.nodeName==="note"&&(F=F+1,F===R)){B.insertBefore(j,Y);break}}}}},isRepeatWord=j=>{if(j){const D=j.toLocaleLowerCase(),B="d\\s?\\.s\\.",R="d\\.\\s?c\\.";return D==="@"||StringUtil.StringContainsSeparatedWord(D,B+" al fine",!0)||StringUtil.StringContainsSeparatedWord(D,B+" al coda",!0)||StringUtil.StringContainsSeparatedWord(D,R+" al fine",!0)||StringUtil.StringContainsSeparatedWord(D,R+" al coda",!0)||StringUtil.StringContainsSeparatedWord(D,R)||StringUtil.StringContainsSeparatedWord(D,"da\\s?capo",!0)||StringUtil.StringContainsSeparatedWord(D,B,!0)||StringUtil.StringContainsSeparatedWord(D,"dal\\s?segno",!0)||StringUtil.StringContainsSeparatedWord(D,"al\\s?coda",!0)||StringUtil.StringContainsSeparatedWord(D,"to\\s?coda",!0)||StringUtil.StringContainsSeparatedWord(D,"a (la )?coda",!0)||StringUtil.StringContainsSeparatedWord(D,"fine",!0)||StringUtil.StringContainsSeparatedWord(D,"coda",!0)||StringUtil.StringContainsSeparatedWord(D,"segno",!0)}return!1},onlyVisible=(j,D)=>{var G,Z,Q,te,re,J;if(!j)return"";const B=new DOMParser().parseFromString(j,"text/xml"),R=((Z=(G=B.getElementsByTagName("part-list"))==null?void 0:G[0])==null?void 0:Z.getElementsByTagName("score-part"))||[],F=Array.from(R).map(ie=>{var ne;return((ne=ie.getElementsByTagName("part-name"))==null?void 0:ne[0].textContent)||""}),U=B.getElementsByTagName("part")||[];if(!U.length)return"";const Y=[...(Q=U[0])==null?void 0:Q.getElementsByTagName("measure")],q=[...(te=U[0])==null?void 0:te.getElementsByTagName("metronome")],X=[...(re=U[0])==null?void 0:re.getElementsByTagName("words")],W=[...(J=U[0])==null?void 0:J.getElementsByTagName("rehearsal")],K=R[D];if(state$2.partListNames=F,K){const ie=K.getAttribute("id");Array.from(U).forEach(ue=>{var ce,fe,ae,he,ve;if(ue&&ue.getAttribute("id")!==ie)(ce=ue.parentNode)==null||ce.removeChild(ue);else if(ue&&ue.getAttribute("id")!=="P1"){const de={};for(let se=0;se<q.length;se++){const ge=q[se],be=(ae=(fe=ge.parentElement)==null?void 0:fe.parentElement)==null?void 0:ae.parentElement;if(be){const le=Y.indexOf(be);de[le]=ge}}Object.values(de).forEach(se=>{var Se;const ge=(Se=se.parentElement)==null?void 0:Se.parentElement,be=ge==null?void 0:ge.parentElement,le=[...(be==null?void 0:be.childNodes)||[]],pe=ge?le.indexOf(ge):-1;if(be&&pe>-1){const Ae=Y.indexOf(be),ye=ue.getElementsByTagName("measure")[Ae];setElementNoteBefore(ge,be,ye)}}),X.forEach(se=>{var be;const ge=se.textContent||"";if((isSpecialMark(ge)||isSpeedKeyword(ge)||isGradientWords(ge)||isRepeatWord(ge)||GRADIENT_SPEED_RESET_TAG)&&ge){const le=(be=se.parentElement)==null?void 0:be.parentElement,pe=le==null?void 0:le.parentElement,Se=[...(pe==null?void 0:pe.childNodes)||[]],Ae=le?Se.indexOf(le):-1;if(le&&pe&&Ae>-1){const ye=Y.indexOf(pe),Me=ue.getElementsByTagName("measure")[ye];setElementNoteBefore(le,pe,Me)}}}),W.forEach(se=>{var le,pe;const ge=(le=se.parentElement)==null?void 0:le.parentElement,be=ge==null?void 0:ge.parentElement;if(be){const Se=Y.indexOf(be);(pe=ue.getElementsByTagName("measure")[Se])==null||pe.appendChild(ge.cloneNode(!0))}})}if(ue&&ue.getAttribute("id")===ie){const de=ue.getElementsByTagName("barline"),se=(he=de[de.length-1])==null?void 0:he.parentElement;if(((ve=se==null?void 0:se.lastElementChild)==null?void 0:ve.tagName)!=="barline"){const ge=(se==null?void 0:se.children)||[];for(let be of ge)if(be.tagName==="barline"){se==null||se.appendChild(be);break}}}}),Array.from(R).forEach(ue=>{var ce;ue&&ue.getAttribute("id")!==ie&&((ce=ue.parentNode)==null||ce.removeChild(ue))});const ne=B.getElementsByTagName("note"),oe=ue=>{var ae;let ce=ne[ue+1];for(let he=ue;he<ne.length;he++){const ve=ne[he];if(!((ae=ve.getElementsByTagName("grace"))!=null&&ae.length)){ce=ve;break}}return ce==null?void 0:ce.getElementsByTagName("duration")[0]};Array.from(ne).forEach((ue,ce)=>{var ae;const fe=ue.getElementsByTagName("grace");fe&&fe.length&&ue.appendChild((ae=oe(ce))==null?void 0:ae.cloneNode(!0))})}return new XMLSerializer().serializeToString(B)},appoggianceFormate=j=>{var F,U,Y,q;if(!j)return j;const D=new DOMParser().parseFromString(j,"text/xml"),B=D.querySelectorAll("grace");if(!B.length)return j;const R=X=>X.querySelector("grace")?R(X==null?void 0:X.nextElementSibling):X;for(let X of B){const W=(F=X.parentElement)==null?void 0:F.querySelector("notations");if(W&&W.querySelectorAll("slur").length>1){let K=R((U=X.parentElement)==null?void 0:U.nextElementSibling);if(K&&K.querySelectorAll("slur").length>0){const G=Array.from(((Y=K.querySelector("notations"))==null?void 0:Y.children)||[]).map(Q=>Q.getAttribute("number")),Z=W.querySelectorAll("slur");for(let Q of Z)G.includes(Q.getAttribute("number"))||(q=K.querySelector("notations"))==null||q.appendChild(Q)}}}return new XMLSerializer().serializeToString(D)},getVoicePartInfo=()=>{const{MusicalInstrumentClassification:j,chinesePartName:D}=state$3;let B=-1;const{partListNames:R,partIndex:F}=state$2;if(R.filter(Y=>(Y||"").trim()!=="").length)for(const Y of Object.entries(j)){const[q,X]=Y,W=R[F],K=X.filter(G=>G&&W.indexOf(G||"")>-1);if(W&&(K.length||X.includes(W)))return isNaN(+q)||(B=+q),{realPartListNames:R,subjectId:B,partListNames:X,partName:W,chinesePartName:D[W]||W}}return{subjectId:B,partListNames:[]}},classids=[1,30],idIsInClassIds=(j,D,B=!1)=>{if(!j)return!1;let R=!1;for(const F of j){if(F.id===D&&(B||classids.includes(F.id))){R=!0;break}if(F.sysMusicScoreCategoriesList&&(R=idIsInClassIds(F.sysMusicScoreCategoriesList,D,B||classids.includes(F.id)),R))break}return R};class SectionHint{constructor(){Ge(this,"currentNote",null);Ge(this,"el",document.createElement("div"));Ge(this,"span",document.createElement("span"));this.init()}init(){this.el.id="section-hint"+Math.floor(Math.random()*1e5),this.hide()}showForElement(D){var F;if(this.currentNote===D)return;this.el||(this.el=document.createElement("div"),this.init(),this.show()),this.currentNote=D;const B=getBoundingBoxByverticalNote(D),R=document.querySelector("#osmdSvgPage1");if(B){const{x:U,y:Y,width:q,height:X}=B;this.el.id="custom-cursor-bg-hint",this.el.style.position="absolute",this.el.style.top=formatZoom(Y)+"px",this.el.style.left=formatZoom(U)+"px",this.el.style.width=formatZoom(q)+"px",this.el.style.height=formatZoom(X)+"px",this.el.style.zIndex="-1",(F=R==null?void 0:R.parentNode)==null||F.appendChild(this.el)}}hide(){this.el.style.display="none"}show(){this.el.style.display=""}destroy(){this.currentNote=null,this.hide()}}const __variableDynamicImportRuntimeHelper=(j,D)=>{const B=j[D];return B?typeof B=="function"?B():Promise.resolve(B):new Promise((R,F)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(F.bind(null,new Error("Unknown variable dynamic import: "+D)))})},getRouterComponent=j=>async()=>{const D=setTimeout(()=>{open$2()},300);let B=Promise.resolve(null);try{B=await __variableDynamicImportRuntimeHelper(Object.assign({"./pages/baseClass/index.tsx":()=>__vitePreload(()=>import("./index-e40c3a5b.js"),["./index-e40c3a5b.js","./utils-8747c988.js","./runtime-core.esm-bundler-8a997806.js","./_commonjsHelpers-edff4021.js","./request-9a0f9c1d.js","./index-ea32d722.js","./index-e1d206b5.js","./index-1133f7de.js","./index-b80d3e40.css"],import.meta.url),"./pages/classify/index.tsx":()=>__vitePreload(()=>import("./index-08cfb155.js"),["./index-08cfb155.js","./utils-8747c988.js","./runtime-core.esm-bundler-8a997806.js","./_commonjsHelpers-edff4021.js","./request-9a0f9c1d.js","./index-ea32d722.js","./index-1133f7de.js","./index-2dcd4d8c.css"],import.meta.url),"./pages/detail/index.tsx":()=>__vitePreload(()=>import("./index-4d6c96b5.js"),["./index-4d6c96b5.js","./request-9a0f9c1d.js","./_commonjsHelpers-edff4021.js","./utils-8747c988.js","./runtime-core.esm-bundler-8a997806.js","./index-ea32d722.js","./index-c9e2e377.js","./index-f53ab261.js","./index-e1d206b5.js","./index-1133f7de.js","./index-6f265fcc.js","./index-23b56a68.css","./index-a08f75d4.js","./music-d9a14675.js","./TransposeCalculator-bb4225f8.js","./index-df70488a.css","./state-a1f4c50e.js","./vip-3c0fff4a.js","./vip-d6cf7ee4.css","./loading-dedc0838.js","./index-d8a03cff.js","./index-fdac85ac.css"],import.meta.url),"./pages/list/index.tsx":()=>__vitePreload(()=>import("./index-25296d28.js"),["./index-25296d28.js","./index-f53ab261.js","./request-9a0f9c1d.js","./_commonjsHelpers-edff4021.js","./utils-8747c988.js","./runtime-core.esm-bundler-8a997806.js","./index-ea32d722.js","./index-e1d206b5.js","./state-a1f4c50e.js","./vip-3c0fff4a.js","./vip-d6cf7ee4.css","./music-d9a14675.js","./index-88514a75.css"],import.meta.url),"./pages/notfund/index.tsx":()=>__vitePreload(()=>import("./index-fcd79b89.js"),["./index-fcd79b89.js","./runtime-core.esm-bundler-8a997806.js","./index-e1d206b5.js","./index-ea32d722.js"],import.meta.url),"./pages/render-test/index.tsx":()=>__vitePreload(()=>import("./index-fba16807.js"),["./index-fba16807.js","./TransposeCalculator-bb4225f8.js","./_commonjsHelpers-edff4021.js","./index-f53ab261.js","./request-9a0f9c1d.js","./utils-8747c988.js","./runtime-core.esm-bundler-8a997806.js","./index-ea32d722.js","./index-e1d206b5.js","./loading-dedc0838.js"],import.meta.url),"./pages/report/index.tsx":()=>__vitePreload(()=>import("./index-60511431.js").then(R=>R.i),["./index-60511431.js","./request-9a0f9c1d.js","./_commonjsHelpers-edff4021.js","./utils-8747c988.js","./runtime-core.esm-bundler-8a997806.js","./index-ea32d722.js","./index-f53ab261.js","./index-e1d206b5.js","./index-a08f75d4.js","./music-d9a14675.js","./TransposeCalculator-bb4225f8.js","./index-df70488a.css","./index-c856650b.js","./index-c9e2e377.js","./index-b77e6388.css","./index-d8a03cff.js","./index-66a2de69.css"],import.meta.url)}),`./pages/${j}/index.tsx`)}catch{B=Promise.reject()}return clearTimeout(D),close$2(),B},routes=[{path:"/",component:getRouterComponent("baseClass")},{path:"/classify",component:getRouterComponent("classify")},{path:"/list/:id",component:getRouterComponent("list"),meta:{keepAlive:!0}},{path:"/detail/:id",component:getRouterComponent("detail")},{path:"/evaluating/:id",component:getRouterComponent("detail")},{path:"/report",component:getRouterComponent("report")},{path:"/report/:id",component:getRouterComponent("report")},{path:"/render-test",component:getRouterComponent("render-test")},{path:"/vexflow-test",component:__vitePreload(()=>import("./index-396cef66.js"),["./index-396cef66.js","./TransposeCalculator-bb4225f8.js","./_commonjsHelpers-edff4021.js","./runtime-core.esm-bundler-8a997806.js"],import.meta.url)},{path:"/:pathMatch(.*)*",component:getRouterComponent("notfund"),meta:{title:"404 Not Fund"}}];createRouter({history:createWebHashHistory(),routes});const tock="SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjI5LjEwMAAAAAAAAAAAAAAA//tQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAAGAAAKmwA6Ojo6Ojo6Ojo6Ojo6Ojo6YmJiYmJiYmJiYmJiYmJiYmKJiYmJiYmJiYmJiYmJiYmJsbGxsbGxsbGxsbGxsbGxsbHY2NjY2NjY2NjY2NjY2NjY2P////////////////////8AAAAATGF2YzU4LjU0AAAAAAAAAAAAAAAAJAQUAAAAAAAACpv9GcQ9AAAAAAAAAAAAAAAAAAAAAP/7kGQAAALJHFAdPeAAMs13wKAUABOVWUYZ2gAA1UIigwBQAAAAUlDQQxklOcnZOydj1iYIxFj1oWbgRwYhdwAgBMLA1q+Ech0QS2HREhx5GBklTjJq98QImWB5q9/SmXkQa8gJAxrBDlDn/l/D5d9cH9pd/D/Ln+H+XP8P////////////kIQhCf6EIz////5z8hCf//////85CEqc5zkqcPh8Ph8DgAAAABwOBwUIYigkYzAOBgVYUoT0xxC8ypKoLAmYGA34OAo4Ukoel04PoEw+AY5KXwIIcD4SwNeeCwQnPAyAEDKEQAQwphNGfC10AQCF6hESOSROeGNRFBPYnkVxbUW+KTH8ZQZcmyCUWWj/HPJ8iBBy2SxPrRrRr/lYqlcnidNieLpsuvXr/5eMTIvHThkdMDIz///8wUmYIJoIHzRj6ALf/8Ahz/////////////09fPP/f++v91/qp///0FCCor/MeqOQV9OtjKwvETiP///4gLFJ///+PYKZAAAJSMgAAwRYCBMBIAIRYAFgJiRgCoBwYDiBGGAvgP/7kmQPjfQJHkZXfqAANq14YOAUAE0JqxIN/oiIvTZhgACj2SxgDYAkYBOAeGAtgzRh5IwEZAKX5HH4nhRqcw/qYc4EGmBlAeBgu4K8BuRvgZYEQGQRwBjkZDiS0cxRbUuZOZHpixkiipJJ1OpaqzJIe4kJfb////////6heitNxprnDpIJ//////////+/r+tfuy37W7+d1rTu37oi36V//p/RGntSvLdowxnDgeONKh1jhpihwTMDCAwcPO8CRICfmLS0OAAxDCIU1kuNRoDAEATswDwKMME9IWzYyOJsxDwZfMBUCPDAYwSEwHACiA8jwD2hwLkAGpwxG//9///t/q//////7+////+r/////99mu7qqdT6Dp6KtS3WmpaJso5oG//zU/y9j4VkE5l+sBkvmkX+v///acWnV2trA0mrZlJKphkD4zD4UYeaLigSkDKVVAAAABoOjRLAYlW2pbW0TjAQPMMiYxoNTLhlNAqA29QTCARHAylZ+yMpzCeDB0ANUwLUBKIgHkGugOHwNbgAFkXS1+v/V/p/6/9f+3/7/+5JkJojzkmvFa5+akiqtWGAAJfZPNa0MDn6KSMy2IUAAm6HV66am7/9qv9JO3S/1f/7dPr7V1/1/QrqtqWt9StPTTTSQrNUm/8ud1+NUvMOdbX4+j4aaz6f//rVfa9U1dtasIILnUYQ4o4wTDo87xIDzyBiBbaW9wIQKKCAVG5gEUGSwkaiBx005mGcAmRt6ItsZhME5GFGgZpglAD8YFGA6gce2BpnwGLRgAECDP//6////////11dkWu1S67La+tnr2t1UPo9f1vt//71alvXrqRmSlo60EkkVLTdzxdQLhmeLyRqo+ZmhaOQf9f/FXojkaky22YJvJz9bAcF9zk0p8v/+X752Zmbu+7Tqr5l8j+aexVdmLCHIEz0WejhSGgDmLY5Yp0A4ATFgDgwCcAEMAVATgCBZmAuAwRgoIoKaUNEAmBeh/5rCvGZViZSMxjwUGPQOGEgiDcJ////3/////+/9P0k8taNNRqKfI7qhlYqGY7/ZPyVb9v+vfVDEkVkKZHrOwgVhUUQa6iRRrChlDwrFFDwkOFwoTKKEfr/5//uSZECP8/BswoP8KyAurYhgACb2TnWxCg38qoi3NiGAAJvZyyeZe+GTlsyDkIzns5w///+v+3z/7fmPsPpsRc5J09lTsJmEllkDIC0CMKkQLax/q7iyphogZAOmcI5pr0cF/mCYhxRiJDJgY4CESGCQAW5gMoCIYAgAAg0AAMAMABzABwAAtiH///////////911rt5im0a6NR1t6satH2VVWyp1///+nofRUZHQimYpSmHWZw8cYoTYCDxgmIi6CqIv/TvkZdRYEQDg7m7Uuyzf0qz//////63ds8PL1uNTm7nWYRtHt0hJrgT3SKaqWg5c/2AGAUAwBgATARAbMDQCwwIASzEfGVMWUpU75zHTcSLAMIYFQweADDBFAnA4/AWYG2ABAMv//////////9er32U7V2vruldDdWvVZaqkEXe9f7W/+/f60ek6DpqVRQSRSpsiipA4UCfNjExMjxoXlLSNCZMhf//////////9P/17cln97tv9GIhOVro9PTf//9U19ao0qO5FTUGEDmO4CcoYUgyiwoZVQEcAAABCv/7kmRYgAPBbEKFemACNK14YKAIAB2aEQc56gAB1UIgwwLQAAgAAAABq3tm9gKW2Bgcic+KisAoBQwGBTT7kslMXcNU7Q9oDDGDANzjkkwCwpVFWbApcBEnr8DMCgNMCE59VTQbwB2hOINj//cBpGKiDY+IJl7q/XKgLABYguYC9hbW6aCaDKrUggkLIHoiIpcLljtEEzdNEwm6RspVN3OJUxcZeMBMCJCCAcYbjMGiZcVUZou6LGa1F51prqLxBSDh9yqKXGTYzGwRJSqjk1L54rn0Cbm2szRPolE4R5Ml0dBDyDi4BPh8cDonxH5OiAZLmQ5pOE2RcZwfJc////LY1Y2////xzRDBpCyP1/////////79v9F0GWupdNNadM2SZSe7T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1nwKAUAFJpV1I5moAAxMIiwwAgAAAJdWKyJljOc0zrZ9UpVjOc0ydibhICwL5OzLXhuEsSYKQMBGN7PInFA1lsOiJDj4ePJU4yavfFKXVjzWb+msvIg0/EgY4If/D/E58P7S7+H+X8H+X8H+XeUDH+U///////////////+d/oQjZCEIQjZCEJ85zv/////8hCEI1CEIQhCHExc7oIBwOAGAYBgGAYfD48ACQIWDrWCzEHeEXm6Qvl/frHQSfa7Wyi4qArEA3m2QMdkQDHnDAyqJQROEFN0BhgEgYaCoAIEAWABAi+FrGF/QbVDIQppKJLOeHoisC1jGjOWr/HLJUgBAzMnK2Wv+Rc3KhPny0V1rrXX/KxqfLxqbF4xS169f/LxiZF46cMjpgcT///8wUmggmgg6DHwRPf/6AW//////////////317pa6/09U///7//ndTuIUN/ldtifykKtKygv///41n////DBRxSpwEjjYIBpwgmIASlzATXqOy+0WbkkUn6YKEJjwqmVBma4nxv/7kmQRhvRLLEe/cuAALs14cOAIAE0lqRIPgFVIsjYhgACb2aAtG1x8BggIP4Bg7YQ+BrcLKgBiv4oEBiIYYEBg5oIEBgPYAWBgNQDaBgKACSBgFIBMBgD4AQKTGRrZ1mKB9jFB0mUkkl3S2LyToGyXq6q0FqelU9VR9SYlO/6vXV//2//yvh3ubf/////////////5P/N+V6fauunX+v31//67c+Z2P6ldBAIyshGO5jAhgqiAhHFyGBSAA6Iz801nLGtGX9dpgKAoCADZgD4EgYICFfmCmAjZgcYHAYLCDOGGCDeZ0W0QOY54C9mDtgUxgbgCqYDuASAIB9DAC8VAA0QmU03un0/Ru30/////t6//r/a3UYivlU12BHnIolcGP+p/9YNArFgyKNS7cofI88/////P28923u73DxbZ0lFImJUdrVhd6t8DsRiWCALVe0ttc7rdNLoy5S5QaABGALAKJgJgRkYIKBSGBVASpgcwJ+YOSK7G9ZqIBiYoLgYJQBKmBBgJBgIQBCYA6ABIwqdLCu9Z//bb/v6/pe1q/Zv/+5JkKY/zZWrEA+AVQjHNqFAARvYN8bEOD4C1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qqqqqqqqqqqq",b64toBlob=(j,D="",B=512)=>{const R=atob(j),F=[];for(let Y=0;Y<R.length;Y+=B){const q=R.slice(Y,Y+B),X=new Array(q.length);for(let K=0;K<q.length;K++)X[K]=q.charCodeAt(K);const W=new Uint8Array(X);F.push(W)}return new Blob(F,{type:D})},tickUrl=URL.createObjectURL(b64toBlob(tick,"audio/mpeg")),tockUrl=URL.createObjectURL(b64toBlob(tock,"audio/mpeg"));var howler={};/*!
  15. * howler.js v2.2.3
  16. * howlerjs.com
  17. *
  18. * (c) 2013-2020, James Simpson of GoldFire Studios
  19. * goldfirestudios.com
  20. *
  21. * MIT License
  22. */(function(j){(function(){var D=function(){this.init()};D.prototype={init:function(){var G=this||B;return G._counter=1e3,G._html5AudioPool=[],G.html5PoolSize=10,G._codecs={},G._howls=[],G._muted=!1,G._volume=1,G._canPlayEvent="canplaythrough",G._navigator=typeof window<"u"&&window.navigator?window.navigator:null,G.masterGain=null,G.noAudio=!1,G.usingWebAudio=!0,G.autoSuspend=!0,G.ctx=null,G.autoUnlock=!0,G._setup(),G},volume:function(G){var Z=this||B;if(G=parseFloat(G),Z.ctx||K(),typeof G<"u"&&G>=0&&G<=1){if(Z._volume=G,Z._muted)return Z;Z.usingWebAudio&&Z.masterGain.gain.setValueAtTime(G,B.ctx.currentTime);for(var Q=0;Q<Z._howls.length;Q++)if(!Z._howls[Q]._webAudio)for(var te=Z._howls[Q]._getSoundIds(),re=0;re<te.length;re++){var J=Z._howls[Q]._soundById(te[re]);J&&J._node&&(J._node.volume=J._volume*G)}return Z}return Z._volume},mute:function(G){var Z=this||B;Z.ctx||K(),Z._muted=G,Z.usingWebAudio&&Z.masterGain.gain.setValueAtTime(G?0:Z._volume,B.ctx.currentTime);for(var Q=0;Q<Z._howls.length;Q++)if(!Z._howls[Q]._webAudio)for(var te=Z._howls[Q]._getSoundIds(),re=0;re<te.length;re++){var J=Z._howls[Q]._soundById(te[re]);J&&J._node&&(J._node.muted=G?!0:J._muted)}return Z},stop:function(){for(var G=this||B,Z=0;Z<G._howls.length;Z++)G._howls[Z].stop();return G},unload:function(){for(var G=this||B,Z=G._howls.length-1;Z>=0;Z--)G._howls[Z].unload();return G.usingWebAudio&&G.ctx&&typeof G.ctx.close<"u"&&(G.ctx.close(),G.ctx=null,K()),G},codecs:function(G){return(this||B)._codecs[G.replace(/^x-/,"")]},_setup:function(){var G=this||B;if(G.state=G.ctx&&G.ctx.state||"suspended",G._autoSuspend(),!G.usingWebAudio)if(typeof Audio<"u")try{var Z=new Audio;typeof Z.oncanplaythrough>"u"&&(G._canPlayEvent="canplay")}catch{G.noAudio=!0}else G.noAudio=!0;try{var Z=new Audio;Z.muted&&(G.noAudio=!0)}catch{}return G.noAudio||G._setupCodecs(),G},_setupCodecs:function(){var G=this||B,Z=null;try{Z=typeof Audio<"u"?new Audio:null}catch{return G}if(!Z||typeof Z.canPlayType!="function")return G;var Q=Z.canPlayType("audio/mpeg;").replace(/^no$/,""),te=G._navigator?G._navigator.userAgent:"",re=te.match(/OPR\/([0-6].)/g),J=re&&parseInt(re[0].split("/")[1],10)<33,ie=te.indexOf("Safari")!==-1&&te.indexOf("Chrome")===-1,ne=te.match(/Version\/(.*?) /),oe=ie&&ne&&parseInt(ne[1],10)<15;return G._codecs={mp3:!!(!J&&(Q||Z.canPlayType("audio/mp3;").replace(/^no$/,""))),mpeg:!!Q,opus:!!Z.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!Z.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!Z.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(Z.canPlayType('audio/wav; codecs="1"')||Z.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!Z.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!Z.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(Z.canPlayType("audio/x-m4a;")||Z.canPlayType("audio/m4a;")||Z.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(Z.canPlayType("audio/x-m4b;")||Z.canPlayType("audio/m4b;")||Z.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(Z.canPlayType("audio/x-mp4;")||Z.canPlayType("audio/mp4;")||Z.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!(!oe&&Z.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!!(!oe&&Z.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!Z.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(Z.canPlayType("audio/x-flac;")||Z.canPlayType("audio/flac;")).replace(/^no$/,"")},G},_unlockAudio:function(){var G=this||B;if(!(G._audioUnlocked||!G.ctx)){G._audioUnlocked=!1,G.autoUnlock=!1,!G._mobileUnloaded&&G.ctx.sampleRate!==44100&&(G._mobileUnloaded=!0,G.unload()),G._scratchBuffer=G.ctx.createBuffer(1,1,22050);var Z=function(Q){for(;G._html5AudioPool.length<G.html5PoolSize;)try{var te=new Audio;te._unlocked=!0,G._releaseHtml5Audio(te)}catch{G.noAudio=!0;break}for(var re=0;re<G._howls.length;re++)if(!G._howls[re]._webAudio)for(var J=G._howls[re]._getSoundIds(),ie=0;ie<J.length;ie++){var ne=G._howls[re]._soundById(J[ie]);ne&&ne._node&&!ne._node._unlocked&&(ne._node._unlocked=!0,ne._node.load())}G._autoResume();var oe=G.ctx.createBufferSource();oe.buffer=G._scratchBuffer,oe.connect(G.ctx.destination),typeof oe.start>"u"?oe.noteOn(0):oe.start(0),typeof G.ctx.resume=="function"&&G.ctx.resume(),oe.onended=function(){oe.disconnect(0),G._audioUnlocked=!0,document.removeEventListener("touchstart",Z,!0),document.removeEventListener("touchend",Z,!0),document.removeEventListener("click",Z,!0),document.removeEventListener("keydown",Z,!0);for(var ue=0;ue<G._howls.length;ue++)G._howls[ue]._emit("unlock")}};return document.addEventListener("touchstart",Z,!0),document.addEventListener("touchend",Z,!0),document.addEventListener("click",Z,!0),document.addEventListener("keydown",Z,!0),G}},_obtainHtml5Audio:function(){var G=this||B;if(G._html5AudioPool.length)return G._html5AudioPool.pop();var Z=new Audio().play();return Z&&typeof Promise<"u"&&(Z instanceof Promise||typeof Z.then=="function")&&Z.catch(function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")}),new Audio},_releaseHtml5Audio:function(G){var Z=this||B;return G._unlocked&&Z._html5AudioPool.push(G),Z},_autoSuspend:function(){var G=this;if(!(!G.autoSuspend||!G.ctx||typeof G.ctx.suspend>"u"||!B.usingWebAudio)){for(var Z=0;Z<G._howls.length;Z++)if(G._howls[Z]._webAudio){for(var Q=0;Q<G._howls[Z]._sounds.length;Q++)if(!G._howls[Z]._sounds[Q]._paused)return G}return G._suspendTimer&&clearTimeout(G._suspendTimer),G._suspendTimer=setTimeout(function(){if(G.autoSuspend){G._suspendTimer=null,G.state="suspending";var te=function(){G.state="suspended",G._resumeAfterSuspend&&(delete G._resumeAfterSuspend,G._autoResume())};G.ctx.suspend().then(te,te)}},3e4),G}},_autoResume:function(){var G=this;if(!(!G.ctx||typeof G.ctx.resume>"u"||!B.usingWebAudio))return G.state==="running"&&G.ctx.state!=="interrupted"&&G._suspendTimer?(clearTimeout(G._suspendTimer),G._suspendTimer=null):G.state==="suspended"||G.state==="running"&&G.ctx.state==="interrupted"?(G.ctx.resume().then(function(){G.state="running";for(var Z=0;Z<G._howls.length;Z++)G._howls[Z]._emit("resume")}),G._suspendTimer&&(clearTimeout(G._suspendTimer),G._suspendTimer=null)):G.state==="suspending"&&(G._resumeAfterSuspend=!0),G}};var B=new D,R=function(G){var Z=this;if(!G.src||G.src.length===0){console.error("An array of source files must be passed with any new Howl.");return}Z.init(G)};R.prototype={init:function(G){var Z=this;return B.ctx||K(),Z._autoplay=G.autoplay||!1,Z._format=typeof G.format!="string"?G.format:[G.format],Z._html5=G.html5||!1,Z._muted=G.mute||!1,Z._loop=G.loop||!1,Z._pool=G.pool||5,Z._preload=typeof G.preload=="boolean"||G.preload==="metadata"?G.preload:!0,Z._rate=G.rate||1,Z._sprite=G.sprite||{},Z._src=typeof G.src!="string"?G.src:[G.src],Z._volume=G.volume!==void 0?G.volume:1,Z._xhr={method:G.xhr&&G.xhr.method?G.xhr.method:"GET",headers:G.xhr&&G.xhr.headers?G.xhr.headers:null,withCredentials:G.xhr&&G.xhr.withCredentials?G.xhr.withCredentials:!1},Z._duration=0,Z._state="unloaded",Z._sounds=[],Z._endTimers={},Z._queue=[],Z._playLock=!1,Z._onend=G.onend?[{fn:G.onend}]:[],Z._onfade=G.onfade?[{fn:G.onfade}]:[],Z._onload=G.onload?[{fn:G.onload}]:[],Z._onloaderror=G.onloaderror?[{fn:G.onloaderror}]:[],Z._onplayerror=G.onplayerror?[{fn:G.onplayerror}]:[],Z._onpause=G.onpause?[{fn:G.onpause}]:[],Z._onplay=G.onplay?[{fn:G.onplay}]:[],Z._onstop=G.onstop?[{fn:G.onstop}]:[],Z._onmute=G.onmute?[{fn:G.onmute}]:[],Z._onvolume=G.onvolume?[{fn:G.onvolume}]:[],Z._onrate=G.onrate?[{fn:G.onrate}]:[],Z._onseek=G.onseek?[{fn:G.onseek}]:[],Z._onunlock=G.onunlock?[{fn:G.onunlock}]:[],Z._onresume=[],Z._webAudio=B.usingWebAudio&&!Z._html5,typeof B.ctx<"u"&&B.ctx&&B.autoUnlock&&B._unlockAudio(),B._howls.push(Z),Z._autoplay&&Z._queue.push({event:"play",action:function(){Z.play()}}),Z._preload&&Z._preload!=="none"&&Z.load(),Z},load:function(){var G=this,Z=null;if(B.noAudio){G._emit("loaderror",null,"No audio support.");return}typeof G._src=="string"&&(G._src=[G._src]);for(var Q=0;Q<G._src.length;Q++){var te,re;if(G._format&&G._format[Q])te=G._format[Q];else{if(re=G._src[Q],typeof re!="string"){G._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}te=/^data:audio\/([^;,]+);/i.exec(re),te||(te=/\.([^.]+)$/.exec(re.split("?",1)[0])),te&&(te=te[1].toLowerCase())}if(te||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),te&&B.codecs(te)){Z=G._src[Q];break}}if(!Z){G._emit("loaderror",null,"No codec support for selected audio sources.");return}return G._src=Z,G._state="loading",window.location.protocol==="https:"&&Z.slice(0,5)==="http:"&&(G._html5=!0,G._webAudio=!1),new F(G),G._webAudio&&Y(G),G},play:function(G,Z){var Q=this,te=null;if(typeof G=="number")te=G,G=null;else{if(typeof G=="string"&&Q._state==="loaded"&&!Q._sprite[G])return null;if(typeof G>"u"&&(G="__default",!Q._playLock)){for(var re=0,J=0;J<Q._sounds.length;J++)Q._sounds[J]._paused&&!Q._sounds[J]._ended&&(re++,te=Q._sounds[J]._id);re===1?G=null:te=null}}var ie=te?Q._soundById(te):Q._inactiveSound();if(!ie)return null;if(te&&!G&&(G=ie._sprite||"__default"),Q._state!=="loaded"){ie._sprite=G,ie._ended=!1;var ne=ie._id;return Q._queue.push({event:"play",action:function(){Q.play(ne)}}),ne}if(te&&!ie._paused)return Z||Q._loadQueue("play"),ie._id;Q._webAudio&&B._autoResume();var oe=Math.max(0,ie._seek>0?ie._seek:Q._sprite[G][0]/1e3),ue=Math.max(0,(Q._sprite[G][0]+Q._sprite[G][1])/1e3-oe),ce=ue*1e3/Math.abs(ie._rate),fe=Q._sprite[G][0]/1e3,ae=(Q._sprite[G][0]+Q._sprite[G][1])/1e3;ie._sprite=G,ie._ended=!1;var he=function(){ie._paused=!1,ie._seek=oe,ie._start=fe,ie._stop=ae,ie._loop=!!(ie._loop||Q._sprite[G][2])};if(oe>=ae){Q._ended(ie);return}var ve=ie._node;if(Q._webAudio){var de=function(){Q._playLock=!1,he(),Q._refreshBuffer(ie);var le=ie._muted||Q._muted?0:ie._volume;ve.gain.setValueAtTime(le,B.ctx.currentTime),ie._playStart=B.ctx.currentTime,typeof ve.bufferSource.start>"u"?ie._loop?ve.bufferSource.noteGrainOn(0,oe,86400):ve.bufferSource.noteGrainOn(0,oe,ue):ie._loop?ve.bufferSource.start(0,oe,86400):ve.bufferSource.start(0,oe,ue),ce!==1/0&&(Q._endTimers[ie._id]=setTimeout(Q._ended.bind(Q,ie),ce)),Z||setTimeout(function(){Q._emit("play",ie._id),Q._loadQueue()},0)};B.state==="running"&&B.ctx.state!=="interrupted"?de():(Q._playLock=!0,Q.once("resume",de),Q._clearTimer(ie._id))}else{var se=function(){ve.currentTime=oe,ve.muted=ie._muted||Q._muted||B._muted||ve.muted,ve.volume=ie._volume*B.volume(),ve.playbackRate=ie._rate;try{var le=ve.play();if(le&&typeof Promise<"u"&&(le instanceof Promise||typeof le.then=="function")?(Q._playLock=!0,he(),le.then(function(){Q._playLock=!1,ve._unlocked=!0,Z?Q._loadQueue():Q._emit("play",ie._id)}).catch(function(){Q._playLock=!1,Q._emit("playerror",ie._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),ie._ended=!0,ie._paused=!0})):Z||(Q._playLock=!1,he(),Q._emit("play",ie._id)),ve.playbackRate=ie._rate,ve.paused){Q._emit("playerror",ie._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");return}G!=="__default"||ie._loop?Q._endTimers[ie._id]=setTimeout(Q._ended.bind(Q,ie),ce):(Q._endTimers[ie._id]=function(){Q._ended(ie),ve.removeEventListener("ended",Q._endTimers[ie._id],!1)},ve.addEventListener("ended",Q._endTimers[ie._id],!1))}catch(pe){Q._emit("playerror",ie._id,pe)}};ve.src==="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"&&(ve.src=Q._src,ve.load());var ge=window&&window.ejecta||!ve.readyState&&B._navigator.isCocoonJS;if(ve.readyState>=3||ge)se();else{Q._playLock=!0,Q._state="loading";var be=function(){Q._state="loaded",se(),ve.removeEventListener(B._canPlayEvent,be,!1)};ve.addEventListener(B._canPlayEvent,be,!1),Q._clearTimer(ie._id)}}return ie._id},pause:function(G){var Z=this;if(Z._state!=="loaded"||Z._playLock)return Z._queue.push({event:"pause",action:function(){Z.pause(G)}}),Z;for(var Q=Z._getSoundIds(G),te=0;te<Q.length;te++){Z._clearTimer(Q[te]);var re=Z._soundById(Q[te]);if(re&&!re._paused&&(re._seek=Z.seek(Q[te]),re._rateSeek=0,re._paused=!0,Z._stopFade(Q[te]),re._node))if(Z._webAudio){if(!re._node.bufferSource)continue;typeof re._node.bufferSource.stop>"u"?re._node.bufferSource.noteOff(0):re._node.bufferSource.stop(0),Z._cleanBuffer(re._node)}else(!isNaN(re._node.duration)||re._node.duration===1/0)&&re._node.pause();arguments[1]||Z._emit("pause",re?re._id:null)}return Z},stop:function(G,Z){var Q=this;if(Q._state!=="loaded"||Q._playLock)return Q._queue.push({event:"stop",action:function(){Q.stop(G)}}),Q;for(var te=Q._getSoundIds(G),re=0;re<te.length;re++){Q._clearTimer(te[re]);var J=Q._soundById(te[re]);J&&(J._seek=J._start||0,J._rateSeek=0,J._paused=!0,J._ended=!0,Q._stopFade(te[re]),J._node&&(Q._webAudio?J._node.bufferSource&&(typeof J._node.bufferSource.stop>"u"?J._node.bufferSource.noteOff(0):J._node.bufferSource.stop(0),Q._cleanBuffer(J._node)):(!isNaN(J._node.duration)||J._node.duration===1/0)&&(J._node.currentTime=J._start||0,J._node.pause(),J._node.duration===1/0&&Q._clearSound(J._node))),Z||Q._emit("stop",J._id))}return Q},mute:function(G,Z){var Q=this;if(Q._state!=="loaded"||Q._playLock)return Q._queue.push({event:"mute",action:function(){Q.mute(G,Z)}}),Q;if(typeof Z>"u")if(typeof G=="boolean")Q._muted=G;else return Q._muted;for(var te=Q._getSoundIds(Z),re=0;re<te.length;re++){var J=Q._soundById(te[re]);J&&(J._muted=G,J._interval&&Q._stopFade(J._id),Q._webAudio&&J._node?J._node.gain.setValueAtTime(G?0:J._volume,B.ctx.currentTime):J._node&&(J._node.muted=B._muted?!0:G),Q._emit("mute",J._id))}return Q},volume:function(){var G=this,Z=arguments,Q,te;if(Z.length===0)return G._volume;if(Z.length===1||Z.length===2&&typeof Z[1]>"u"){var re=G._getSoundIds(),J=re.indexOf(Z[0]);J>=0?te=parseInt(Z[0],10):Q=parseFloat(Z[0])}else Z.length>=2&&(Q=parseFloat(Z[0]),te=parseInt(Z[1],10));var ie;if(typeof Q<"u"&&Q>=0&&Q<=1){if(G._state!=="loaded"||G._playLock)return G._queue.push({event:"volume",action:function(){G.volume.apply(G,Z)}}),G;typeof te>"u"&&(G._volume=Q),te=G._getSoundIds(te);for(var ne=0;ne<te.length;ne++)ie=G._soundById(te[ne]),ie&&(ie._volume=Q,Z[2]||G._stopFade(te[ne]),G._webAudio&&ie._node&&!ie._muted?ie._node.gain.setValueAtTime(Q,B.ctx.currentTime):ie._node&&!ie._muted&&(ie._node.volume=Q*B.volume()),G._emit("volume",ie._id))}else return ie=te?G._soundById(te):G._sounds[0],ie?ie._volume:0;return G},fade:function(G,Z,Q,te){var re=this;if(re._state!=="loaded"||re._playLock)return re._queue.push({event:"fade",action:function(){re.fade(G,Z,Q,te)}}),re;G=Math.min(Math.max(0,parseFloat(G)),1),Z=Math.min(Math.max(0,parseFloat(Z)),1),Q=parseFloat(Q),re.volume(G,te);for(var J=re._getSoundIds(te),ie=0;ie<J.length;ie++){var ne=re._soundById(J[ie]);if(ne){if(te||re._stopFade(J[ie]),re._webAudio&&!ne._muted){var oe=B.ctx.currentTime,ue=oe+Q/1e3;ne._volume=G,ne._node.gain.setValueAtTime(G,oe),ne._node.gain.linearRampToValueAtTime(Z,ue)}re._startFadeInterval(ne,G,Z,Q,J[ie],typeof te>"u")}}return re},_startFadeInterval:function(G,Z,Q,te,re,J){var ie=this,ne=Z,oe=Q-Z,ue=Math.abs(oe/.01),ce=Math.max(4,ue>0?te/ue:te),fe=Date.now();G._fadeTo=Q,G._interval=setInterval(function(){var ae=(Date.now()-fe)/te;fe=Date.now(),ne+=oe*ae,ne=Math.round(ne*100)/100,oe<0?ne=Math.max(Q,ne):ne=Math.min(Q,ne),ie._webAudio?G._volume=ne:ie.volume(ne,G._id,!0),J&&(ie._volume=ne),(Q<Z&&ne<=Q||Q>Z&&ne>=Q)&&(clearInterval(G._interval),G._interval=null,G._fadeTo=null,ie.volume(Q,G._id),ie._emit("fade",G._id))},ce)},_stopFade:function(G){var Z=this,Q=Z._soundById(G);return Q&&Q._interval&&(Z._webAudio&&Q._node.gain.cancelScheduledValues(B.ctx.currentTime),clearInterval(Q._interval),Q._interval=null,Z.volume(Q._fadeTo,G),Q._fadeTo=null,Z._emit("fade",G)),Z},loop:function(){var G=this,Z=arguments,Q,te,re;if(Z.length===0)return G._loop;if(Z.length===1)if(typeof Z[0]=="boolean")Q=Z[0],G._loop=Q;else return re=G._soundById(parseInt(Z[0],10)),re?re._loop:!1;else Z.length===2&&(Q=Z[0],te=parseInt(Z[1],10));for(var J=G._getSoundIds(te),ie=0;ie<J.length;ie++)re=G._soundById(J[ie]),re&&(re._loop=Q,G._webAudio&&re._node&&re._node.bufferSource&&(re._node.bufferSource.loop=Q,Q&&(re._node.bufferSource.loopStart=re._start||0,re._node.bufferSource.loopEnd=re._stop,G.playing(J[ie])&&(G.pause(J[ie],!0),G.play(J[ie],!0)))));return G},rate:function(){var G=this,Z=arguments,Q,te;if(Z.length===0)te=G._sounds[0]._id;else if(Z.length===1){var re=G._getSoundIds(),J=re.indexOf(Z[0]);J>=0?te=parseInt(Z[0],10):Q=parseFloat(Z[0])}else Z.length===2&&(Q=parseFloat(Z[0]),te=parseInt(Z[1],10));var ie;if(typeof Q=="number"){if(G._state!=="loaded"||G._playLock)return G._queue.push({event:"rate",action:function(){G.rate.apply(G,Z)}}),G;typeof te>"u"&&(G._rate=Q),te=G._getSoundIds(te);for(var ne=0;ne<te.length;ne++)if(ie=G._soundById(te[ne]),ie){G.playing(te[ne])&&(ie._rateSeek=G.seek(te[ne]),ie._playStart=G._webAudio?B.ctx.currentTime:ie._playStart),ie._rate=Q,G._webAudio&&ie._node&&ie._node.bufferSource?ie._node.bufferSource.playbackRate.setValueAtTime(Q,B.ctx.currentTime):ie._node&&(ie._node.playbackRate=Q);var oe=G.seek(te[ne]),ue=(G._sprite[ie._sprite][0]+G._sprite[ie._sprite][1])/1e3-oe,ce=ue*1e3/Math.abs(ie._rate);(G._endTimers[te[ne]]||!ie._paused)&&(G._clearTimer(te[ne]),G._endTimers[te[ne]]=setTimeout(G._ended.bind(G,ie),ce)),G._emit("rate",ie._id)}}else return ie=G._soundById(te),ie?ie._rate:G._rate;return G},seek:function(){var G=this,Z=arguments,Q,te;if(Z.length===0)G._sounds.length&&(te=G._sounds[0]._id);else if(Z.length===1){var re=G._getSoundIds(),J=re.indexOf(Z[0]);J>=0?te=parseInt(Z[0],10):G._sounds.length&&(te=G._sounds[0]._id,Q=parseFloat(Z[0]))}else Z.length===2&&(Q=parseFloat(Z[0]),te=parseInt(Z[1],10));if(typeof te>"u")return 0;if(typeof Q=="number"&&(G._state!=="loaded"||G._playLock))return G._queue.push({event:"seek",action:function(){G.seek.apply(G,Z)}}),G;var ie=G._soundById(te);if(ie)if(typeof Q=="number"&&Q>=0){var ne=G.playing(te);ne&&G.pause(te,!0),ie._seek=Q,ie._ended=!1,G._clearTimer(te),!G._webAudio&&ie._node&&!isNaN(ie._node.duration)&&(ie._node.currentTime=Q);var oe=function(){ne&&G.play(te,!0),G._emit("seek",te)};if(ne&&!G._webAudio){var ue=function(){G._playLock?setTimeout(ue,0):oe()};setTimeout(ue,0)}else oe()}else if(G._webAudio){var ce=G.playing(te)?B.ctx.currentTime-ie._playStart:0,fe=ie._rateSeek?ie._rateSeek-ie._seek:0;return ie._seek+(fe+ce*Math.abs(ie._rate))}else return ie._node.currentTime;return G},playing:function(G){var Z=this;if(typeof G=="number"){var Q=Z._soundById(G);return Q?!Q._paused:!1}for(var te=0;te<Z._sounds.length;te++)if(!Z._sounds[te]._paused)return!0;return!1},duration:function(G){var Z=this,Q=Z._duration,te=Z._soundById(G);return te&&(Q=Z._sprite[te._sprite][1]/1e3),Q},state:function(){return this._state},unload:function(){for(var G=this,Z=G._sounds,Q=0;Q<Z.length;Q++)Z[Q]._paused||G.stop(Z[Q]._id),G._webAudio||(G._clearSound(Z[Q]._node),Z[Q]._node.removeEventListener("error",Z[Q]._errorFn,!1),Z[Q]._node.removeEventListener(B._canPlayEvent,Z[Q]._loadFn,!1),Z[Q]._node.removeEventListener("ended",Z[Q]._endFn,!1),B._releaseHtml5Audio(Z[Q]._node)),delete Z[Q]._node,G._clearTimer(Z[Q]._id);var te=B._howls.indexOf(G);te>=0&&B._howls.splice(te,1);var re=!0;for(Q=0;Q<B._howls.length;Q++)if(B._howls[Q]._src===G._src||G._src.indexOf(B._howls[Q]._src)>=0){re=!1;break}return U&&re&&delete U[G._src],B.noAudio=!1,G._state="unloaded",G._sounds=[],G=null,null},on:function(G,Z,Q,te){var re=this,J=re["_on"+G];return typeof Z=="function"&&J.push(te?{id:Q,fn:Z,once:te}:{id:Q,fn:Z}),re},off:function(G,Z,Q){var te=this,re=te["_on"+G],J=0;if(typeof Z=="number"&&(Q=Z,Z=null),Z||Q)for(J=0;J<re.length;J++){var ie=Q===re[J].id;if(Z===re[J].fn&&ie||!Z&&ie){re.splice(J,1);break}}else if(G)te["_on"+G]=[];else{var ne=Object.keys(te);for(J=0;J<ne.length;J++)ne[J].indexOf("_on")===0&&Array.isArray(te[ne[J]])&&(te[ne[J]]=[])}return te},once:function(G,Z,Q){var te=this;return te.on(G,Z,Q,1),te},_emit:function(G,Z,Q){for(var te=this,re=te["_on"+G],J=re.length-1;J>=0;J--)(!re[J].id||re[J].id===Z||G==="load")&&(setTimeout(function(ie){ie.call(this,Z,Q)}.bind(te,re[J].fn),0),re[J].once&&te.off(G,re[J].fn,re[J].id));return te._loadQueue(G),te},_loadQueue:function(G){var Z=this;if(Z._queue.length>0){var Q=Z._queue[0];Q.event===G&&(Z._queue.shift(),Z._loadQueue()),G||Q.action()}return Z},_ended:function(G){var Z=this,Q=G._sprite;if(!Z._webAudio&&G._node&&!G._node.paused&&!G._node.ended&&G._node.currentTime<G._stop)return setTimeout(Z._ended.bind(Z,G),100),Z;var te=!!(G._loop||Z._sprite[Q][2]);if(Z._emit("end",G._id),!Z._webAudio&&te&&Z.stop(G._id,!0).play(G._id),Z._webAudio&&te){Z._emit("play",G._id),G._seek=G._start||0,G._rateSeek=0,G._playStart=B.ctx.currentTime;var re=(G._stop-G._start)*1e3/Math.abs(G._rate);Z._endTimers[G._id]=setTimeout(Z._ended.bind(Z,G),re)}return Z._webAudio&&!te&&(G._paused=!0,G._ended=!0,G._seek=G._start||0,G._rateSeek=0,Z._clearTimer(G._id),Z._cleanBuffer(G._node),B._autoSuspend()),!Z._webAudio&&!te&&Z.stop(G._id,!0),Z},_clearTimer:function(G){var Z=this;if(Z._endTimers[G]){if(typeof Z._endTimers[G]!="function")clearTimeout(Z._endTimers[G]);else{var Q=Z._soundById(G);Q&&Q._node&&Q._node.removeEventListener("ended",Z._endTimers[G],!1)}delete Z._endTimers[G]}return Z},_soundById:function(G){for(var Z=this,Q=0;Q<Z._sounds.length;Q++)if(G===Z._sounds[Q]._id)return Z._sounds[Q];return null},_inactiveSound:function(){var G=this;G._drain();for(var Z=0;Z<G._sounds.length;Z++)if(G._sounds[Z]._ended)return G._sounds[Z].reset();return new F(G)},_drain:function(){var G=this,Z=G._pool,Q=0,te=0;if(!(G._sounds.length<Z)){for(te=0;te<G._sounds.length;te++)G._sounds[te]._ended&&Q++;for(te=G._sounds.length-1;te>=0;te--){if(Q<=Z)return;G._sounds[te]._ended&&(G._webAudio&&G._sounds[te]._node&&G._sounds[te]._node.disconnect(0),G._sounds.splice(te,1),Q--)}}},_getSoundIds:function(G){var Z=this;if(typeof G>"u"){for(var Q=[],te=0;te<Z._sounds.length;te++)Q.push(Z._sounds[te]._id);return Q}else return[G]},_refreshBuffer:function(G){var Z=this;return G._node.bufferSource=B.ctx.createBufferSource(),G._node.bufferSource.buffer=U[Z._src],G._panner?G._node.bufferSource.connect(G._panner):G._node.bufferSource.connect(G._node),G._node.bufferSource.loop=G._loop,G._loop&&(G._node.bufferSource.loopStart=G._start||0,G._node.bufferSource.loopEnd=G._stop||0),G._node.bufferSource.playbackRate.setValueAtTime(G._rate,B.ctx.currentTime),Z},_cleanBuffer:function(G){var Z=this,Q=B._navigator&&B._navigator.vendor.indexOf("Apple")>=0;if(B._scratchBuffer&&G.bufferSource&&(G.bufferSource.onended=null,G.bufferSource.disconnect(0),Q))try{G.bufferSource.buffer=B._scratchBuffer}catch{}return G.bufferSource=null,Z},_clearSound:function(G){var Z=/MSIE |Trident\//.test(B._navigator&&B._navigator.userAgent);Z||(G.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var F=function(G){this._parent=G,this.init()};F.prototype={init:function(){var G=this,Z=G._parent;return G._muted=Z._muted,G._loop=Z._loop,G._volume=Z._volume,G._rate=Z._rate,G._seek=0,G._paused=!0,G._ended=!0,G._sprite="__default",G._id=++B._counter,Z._sounds.push(G),G.create(),G},create:function(){var G=this,Z=G._parent,Q=B._muted||G._muted||G._parent._muted?0:G._volume;return Z._webAudio?(G._node=typeof B.ctx.createGain>"u"?B.ctx.createGainNode():B.ctx.createGain(),G._node.gain.setValueAtTime(Q,B.ctx.currentTime),G._node.paused=!0,G._node.connect(B.masterGain)):B.noAudio||(G._node=B._obtainHtml5Audio(),G._errorFn=G._errorListener.bind(G),G._node.addEventListener("error",G._errorFn,!1),G._loadFn=G._loadListener.bind(G),G._node.addEventListener(B._canPlayEvent,G._loadFn,!1),G._endFn=G._endListener.bind(G),G._node.addEventListener("ended",G._endFn,!1),G._node.src=Z._src,G._node.preload=Z._preload===!0?"auto":Z._preload,G._node.volume=Q*B.volume(),G._node.load()),G},reset:function(){var G=this,Z=G._parent;return G._muted=Z._muted,G._loop=Z._loop,G._volume=Z._volume,G._rate=Z._rate,G._seek=0,G._rateSeek=0,G._paused=!0,G._ended=!0,G._sprite="__default",G._id=++B._counter,G},_errorListener:function(){var G=this;G._parent._emit("loaderror",G._id,G._node.error?G._node.error.code:0),G._node.removeEventListener("error",G._errorFn,!1)},_loadListener:function(){var G=this,Z=G._parent;Z._duration=Math.ceil(G._node.duration*10)/10,Object.keys(Z._sprite).length===0&&(Z._sprite={__default:[0,Z._duration*1e3]}),Z._state!=="loaded"&&(Z._state="loaded",Z._emit("load"),Z._loadQueue()),G._node.removeEventListener(B._canPlayEvent,G._loadFn,!1)},_endListener:function(){var G=this,Z=G._parent;Z._duration===1/0&&(Z._duration=Math.ceil(G._node.duration*10)/10,Z._sprite.__default[1]===1/0&&(Z._sprite.__default[1]=Z._duration*1e3),Z._ended(G)),G._node.removeEventListener("ended",G._endFn,!1)}};var U={},Y=function(G){var Z=G._src;if(U[Z]){G._duration=U[Z].duration,W(G);return}if(/^data:[^;]+;base64,/.test(Z)){for(var Q=atob(Z.split(",")[1]),te=new Uint8Array(Q.length),re=0;re<Q.length;++re)te[re]=Q.charCodeAt(re);X(te.buffer,G)}else{var J=new XMLHttpRequest;J.open(G._xhr.method,Z,!0),J.withCredentials=G._xhr.withCredentials,J.responseType="arraybuffer",G._xhr.headers&&Object.keys(G._xhr.headers).forEach(function(ie){J.setRequestHeader(ie,G._xhr.headers[ie])}),J.onload=function(){var ie=(J.status+"")[0];if(ie!=="0"&&ie!=="2"&&ie!=="3"){G._emit("loaderror",null,"Failed loading audio file with status: "+J.status+".");return}X(J.response,G)},J.onerror=function(){G._webAudio&&(G._html5=!0,G._webAudio=!1,G._sounds=[],delete U[Z],G.load())},q(J)}},q=function(G){try{G.send()}catch{G.onerror()}},X=function(G,Z){var Q=function(){Z._emit("loaderror",null,"Decoding audio data failed.")},te=function(re){re&&Z._sounds.length>0?(U[Z._src]=re,W(Z,re)):Q()};typeof Promise<"u"&&B.ctx.decodeAudioData.length===1?B.ctx.decodeAudioData(G).then(te).catch(Q):B.ctx.decodeAudioData(G,te,Q)},W=function(G,Z){Z&&!G._duration&&(G._duration=Z.duration),Object.keys(G._sprite).length===0&&(G._sprite={__default:[0,G._duration*1e3]}),G._state!=="loaded"&&(G._state="loaded",G._emit("load"),G._loadQueue())},K=function(){if(B.usingWebAudio){try{typeof AudioContext<"u"?B.ctx=new AudioContext:typeof webkitAudioContext<"u"?B.ctx=new webkitAudioContext:B.usingWebAudio=!1}catch{B.usingWebAudio=!1}B.ctx||(B.usingWebAudio=!1);var G=/iP(hone|od|ad)/.test(B._navigator&&B._navigator.platform),Z=B._navigator&&B._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),Q=Z?parseInt(Z[1],10):null;if(G&&Q&&Q<9){var te=/safari/.test(B._navigator&&B._navigator.userAgent.toLowerCase());B._navigator&&!te&&(B.usingWebAudio=!1)}B.usingWebAudio&&(B.masterGain=typeof B.ctx.createGain>"u"?B.ctx.createGainNode():B.ctx.createGain(),B.masterGain.gain.setValueAtTime(B._muted?0:B._volume,B.ctx.currentTime),B.masterGain.connect(B.ctx.destination)),B._setup()}};j.Howler=B,j.Howl=R,typeof commonjsGlobal$1<"u"?(commonjsGlobal$1.HowlerGlobal=D,commonjsGlobal$1.Howler=B,commonjsGlobal$1.Howl=R,commonjsGlobal$1.Sound=F):typeof window<"u"&&(window.HowlerGlobal=D,window.Howler=B,window.Howl=R,window.Sound=F)})();/*!
  23. * Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
  24. *
  25. * howler.js v2.2.3
  26. * howlerjs.com
  27. *
  28. * (c) 2013-2020, James Simpson of GoldFire Studios
  29. * goldfirestudios.com
  30. *
  31. * MIT License
  32. */(function(){HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(B){var R=this;if(!R.ctx||!R.ctx.listener)return R;for(var F=R._howls.length-1;F>=0;F--)R._howls[F].stereo(B);return R},HowlerGlobal.prototype.pos=function(B,R,F){var U=this;if(!U.ctx||!U.ctx.listener)return U;if(R=typeof R!="number"?U._pos[1]:R,F=typeof F!="number"?U._pos[2]:F,typeof B=="number")U._pos=[B,R,F],typeof U.ctx.listener.positionX<"u"?(U.ctx.listener.positionX.setTargetAtTime(U._pos[0],Howler.ctx.currentTime,.1),U.ctx.listener.positionY.setTargetAtTime(U._pos[1],Howler.ctx.currentTime,.1),U.ctx.listener.positionZ.setTargetAtTime(U._pos[2],Howler.ctx.currentTime,.1)):U.ctx.listener.setPosition(U._pos[0],U._pos[1],U._pos[2]);else return U._pos;return U},HowlerGlobal.prototype.orientation=function(B,R,F,U,Y,q){var X=this;if(!X.ctx||!X.ctx.listener)return X;var W=X._orientation;if(R=typeof R!="number"?W[1]:R,F=typeof F!="number"?W[2]:F,U=typeof U!="number"?W[3]:U,Y=typeof Y!="number"?W[4]:Y,q=typeof q!="number"?W[5]:q,typeof B=="number")X._orientation=[B,R,F,U,Y,q],typeof X.ctx.listener.forwardX<"u"?(X.ctx.listener.forwardX.setTargetAtTime(B,Howler.ctx.currentTime,.1),X.ctx.listener.forwardY.setTargetAtTime(R,Howler.ctx.currentTime,.1),X.ctx.listener.forwardZ.setTargetAtTime(F,Howler.ctx.currentTime,.1),X.ctx.listener.upX.setTargetAtTime(U,Howler.ctx.currentTime,.1),X.ctx.listener.upY.setTargetAtTime(Y,Howler.ctx.currentTime,.1),X.ctx.listener.upZ.setTargetAtTime(q,Howler.ctx.currentTime,.1)):X.ctx.listener.setOrientation(B,R,F,U,Y,q);else return W;return X},Howl.prototype.init=function(B){return function(R){var F=this;return F._orientation=R.orientation||[1,0,0],F._stereo=R.stereo||null,F._pos=R.pos||null,F._pannerAttr={coneInnerAngle:typeof R.coneInnerAngle<"u"?R.coneInnerAngle:360,coneOuterAngle:typeof R.coneOuterAngle<"u"?R.coneOuterAngle:360,coneOuterGain:typeof R.coneOuterGain<"u"?R.coneOuterGain:0,distanceModel:typeof R.distanceModel<"u"?R.distanceModel:"inverse",maxDistance:typeof R.maxDistance<"u"?R.maxDistance:1e4,panningModel:typeof R.panningModel<"u"?R.panningModel:"HRTF",refDistance:typeof R.refDistance<"u"?R.refDistance:1,rolloffFactor:typeof R.rolloffFactor<"u"?R.rolloffFactor:1},F._onstereo=R.onstereo?[{fn:R.onstereo}]:[],F._onpos=R.onpos?[{fn:R.onpos}]:[],F._onorientation=R.onorientation?[{fn:R.onorientation}]:[],B.call(this,R)}}(Howl.prototype.init),Howl.prototype.stereo=function(B,R){var F=this;if(!F._webAudio)return F;if(F._state!=="loaded")return F._queue.push({event:"stereo",action:function(){F.stereo(B,R)}}),F;var U=typeof Howler.ctx.createStereoPanner>"u"?"spatial":"stereo";if(typeof R>"u")if(typeof B=="number")F._stereo=B,F._pos=[B,0,0];else return F._stereo;for(var Y=F._getSoundIds(R),q=0;q<Y.length;q++){var X=F._soundById(Y[q]);if(X)if(typeof B=="number")X._stereo=B,X._pos=[B,0,0],X._node&&(X._pannerAttr.panningModel="equalpower",(!X._panner||!X._panner.pan)&&D(X,U),U==="spatial"?typeof X._panner.positionX<"u"?(X._panner.positionX.setValueAtTime(B,Howler.ctx.currentTime),X._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),X._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):X._panner.setPosition(B,0,0):X._panner.pan.setValueAtTime(B,Howler.ctx.currentTime)),F._emit("stereo",X._id);else return X._stereo}return F},Howl.prototype.pos=function(B,R,F,U){var Y=this;if(!Y._webAudio)return Y;if(Y._state!=="loaded")return Y._queue.push({event:"pos",action:function(){Y.pos(B,R,F,U)}}),Y;if(R=typeof R!="number"?0:R,F=typeof F!="number"?-.5:F,typeof U>"u")if(typeof B=="number")Y._pos=[B,R,F];else return Y._pos;for(var q=Y._getSoundIds(U),X=0;X<q.length;X++){var W=Y._soundById(q[X]);if(W)if(typeof B=="number")W._pos=[B,R,F],W._node&&((!W._panner||W._panner.pan)&&D(W,"spatial"),typeof W._panner.positionX<"u"?(W._panner.positionX.setValueAtTime(B,Howler.ctx.currentTime),W._panner.positionY.setValueAtTime(R,Howler.ctx.currentTime),W._panner.positionZ.setValueAtTime(F,Howler.ctx.currentTime)):W._panner.setPosition(B,R,F)),Y._emit("pos",W._id);else return W._pos}return Y},Howl.prototype.orientation=function(B,R,F,U){var Y=this;if(!Y._webAudio)return Y;if(Y._state!=="loaded")return Y._queue.push({event:"orientation",action:function(){Y.orientation(B,R,F,U)}}),Y;if(R=typeof R!="number"?Y._orientation[1]:R,F=typeof F!="number"?Y._orientation[2]:F,typeof U>"u")if(typeof B=="number")Y._orientation=[B,R,F];else return Y._orientation;for(var q=Y._getSoundIds(U),X=0;X<q.length;X++){var W=Y._soundById(q[X]);if(W)if(typeof B=="number")W._orientation=[B,R,F],W._node&&(W._panner||(W._pos||(W._pos=Y._pos||[0,0,-.5]),D(W,"spatial")),typeof W._panner.orientationX<"u"?(W._panner.orientationX.setValueAtTime(B,Howler.ctx.currentTime),W._panner.orientationY.setValueAtTime(R,Howler.ctx.currentTime),W._panner.orientationZ.setValueAtTime(F,Howler.ctx.currentTime)):W._panner.setOrientation(B,R,F)),Y._emit("orientation",W._id);else return W._orientation}return Y},Howl.prototype.pannerAttr=function(){var B=this,R=arguments,F,U,Y;if(!B._webAudio)return B;if(R.length===0)return B._pannerAttr;if(R.length===1)if(typeof R[0]=="object")F=R[0],typeof U>"u"&&(F.pannerAttr||(F.pannerAttr={coneInnerAngle:F.coneInnerAngle,coneOuterAngle:F.coneOuterAngle,coneOuterGain:F.coneOuterGain,distanceModel:F.distanceModel,maxDistance:F.maxDistance,refDistance:F.refDistance,rolloffFactor:F.rolloffFactor,panningModel:F.panningModel}),B._pannerAttr={coneInnerAngle:typeof F.pannerAttr.coneInnerAngle<"u"?F.pannerAttr.coneInnerAngle:B._coneInnerAngle,coneOuterAngle:typeof F.pannerAttr.coneOuterAngle<"u"?F.pannerAttr.coneOuterAngle:B._coneOuterAngle,coneOuterGain:typeof F.pannerAttr.coneOuterGain<"u"?F.pannerAttr.coneOuterGain:B._coneOuterGain,distanceModel:typeof F.pannerAttr.distanceModel<"u"?F.pannerAttr.distanceModel:B._distanceModel,maxDistance:typeof F.pannerAttr.maxDistance<"u"?F.pannerAttr.maxDistance:B._maxDistance,refDistance:typeof F.pannerAttr.refDistance<"u"?F.pannerAttr.refDistance:B._refDistance,rolloffFactor:typeof F.pannerAttr.rolloffFactor<"u"?F.pannerAttr.rolloffFactor:B._rolloffFactor,panningModel:typeof F.pannerAttr.panningModel<"u"?F.pannerAttr.panningModel:B._panningModel});else return Y=B._soundById(parseInt(R[0],10)),Y?Y._pannerAttr:B._pannerAttr;else R.length===2&&(F=R[0],U=parseInt(R[1],10));for(var q=B._getSoundIds(U),X=0;X<q.length;X++)if(Y=B._soundById(q[X]),Y){var W=Y._pannerAttr;W={coneInnerAngle:typeof F.coneInnerAngle<"u"?F.coneInnerAngle:W.coneInnerAngle,coneOuterAngle:typeof F.coneOuterAngle<"u"?F.coneOuterAngle:W.coneOuterAngle,coneOuterGain:typeof F.coneOuterGain<"u"?F.coneOuterGain:W.coneOuterGain,distanceModel:typeof F.distanceModel<"u"?F.distanceModel:W.distanceModel,maxDistance:typeof F.maxDistance<"u"?F.maxDistance:W.maxDistance,refDistance:typeof F.refDistance<"u"?F.refDistance:W.refDistance,rolloffFactor:typeof F.rolloffFactor<"u"?F.rolloffFactor:W.rolloffFactor,panningModel:typeof F.panningModel<"u"?F.panningModel:W.panningModel};var K=Y._panner;K?(K.coneInnerAngle=W.coneInnerAngle,K.coneOuterAngle=W.coneOuterAngle,K.coneOuterGain=W.coneOuterGain,K.distanceModel=W.distanceModel,K.maxDistance=W.maxDistance,K.refDistance=W.refDistance,K.rolloffFactor=W.rolloffFactor,K.panningModel=W.panningModel):(Y._pos||(Y._pos=B._pos||[0,0,-.5]),D(Y,"spatial"))}return B},Sound.prototype.init=function(B){return function(){var R=this,F=R._parent;R._orientation=F._orientation,R._stereo=F._stereo,R._pos=F._pos,R._pannerAttr=F._pannerAttr,B.call(this),R._stereo?F.stereo(R._stereo):R._pos&&F.pos(R._pos[0],R._pos[1],R._pos[2],R._id)}}(Sound.prototype.init),Sound.prototype.reset=function(B){return function(){var R=this,F=R._parent;return R._orientation=F._orientation,R._stereo=F._stereo,R._pos=F._pos,R._pannerAttr=F._pannerAttr,R._stereo?F.stereo(R._stereo):R._pos?F.pos(R._pos[0],R._pos[1],R._pos[2],R._id):R._panner&&(R._panner.disconnect(0),R._panner=void 0,F._refreshBuffer(R)),B.call(this)}}(Sound.prototype.reset);var D=function(B,R){R=R||"spatial",R==="spatial"?(B._panner=Howler.ctx.createPanner(),B._panner.coneInnerAngle=B._pannerAttr.coneInnerAngle,B._panner.coneOuterAngle=B._pannerAttr.coneOuterAngle,B._panner.coneOuterGain=B._pannerAttr.coneOuterGain,B._panner.distanceModel=B._pannerAttr.distanceModel,B._panner.maxDistance=B._pannerAttr.maxDistance,B._panner.refDistance=B._pannerAttr.refDistance,B._panner.rolloffFactor=B._pannerAttr.rolloffFactor,B._panner.panningModel=B._pannerAttr.panningModel,typeof B._panner.positionX<"u"?(B._panner.positionX.setValueAtTime(B._pos[0],Howler.ctx.currentTime),B._panner.positionY.setValueAtTime(B._pos[1],Howler.ctx.currentTime),B._panner.positionZ.setValueAtTime(B._pos[2],Howler.ctx.currentTime)):B._panner.setPosition(B._pos[0],B._pos[1],B._pos[2]),typeof B._panner.orientationX<"u"?(B._panner.orientationX.setValueAtTime(B._orientation[0],Howler.ctx.currentTime),B._panner.orientationY.setValueAtTime(B._orientation[1],Howler.ctx.currentTime),B._panner.orientationZ.setValueAtTime(B._orientation[2],Howler.ctx.currentTime)):B._panner.setOrientation(B._orientation[0],B._orientation[1],B._orientation[2])):(B._panner=Howler.ctx.createStereoPanner(),B._panner.pan.setValueAtTime(B._stereo,Howler.ctx.currentTime)),B._panner.connect(B._node),B._paused||B._parent.pause(B._id,!0).play(B._id,!0)}})()})(howler);const browserInfo$4=browser(),getTickTime=j=>(browserInfo$4.huawei?.2:.1)/j*1e3;let htick=new howler.Howl({src:tickUrl,format:["mp3"]}),htock=new howler.Howl({src:tockUrl,format:["mp3"]});class Player{constructor(D,B){Ge(this,"ticks",[]);Ge(this,"event",new eventemitter3Exports);Ge(this,"isRuning",!1);Ge(this,"isNeedStop",!1);Ge(this,"getTickByDots",(D,B)=>Array.from(Array(D)).map((R,F)=>({time:`0:${(B+F)*1.4}`,note:F===0?"C5":"c4",velocity:1,index:F+B})));Ge(this,"formatTick",(D,B)=>{const R=[];for(let F=0;F<B;F++)R.push(...this.getTickByDots(D,F*D));return R});Ge(this,"part",null)}async startTick(D,B,R,F){let U=0;const Y=()=>{const X=U%D.length===0?htick:htock;this.isNeedStop||(X.play(),console.log(X)),U<D.length-1&&q(),U<R*F&&this.event.emit("tick",U),U===R*F-1&&setTimeout(()=>{var W;this.isRuning=!1,this.event.emit("stop"),console.log("tick stop"),(W=this.part)==null||W.clear()},450/B),U++},q=()=>{this.isNeedStop||setTimeout(()=>{try{Y()}catch(X){console.log("timeTickError",X)}},700/B)};Y()}async setAudioMode(D,B,R=1){if(await nextTick(),this.isRuning)return;this.isRuning=!0;const F=this.formatTick(D,R);this.startTick(F,B,D,R)}async start(D,B,R=1){this.isNeedStop=!1,this.setAudioMode(D,B,R)}destroy(){this.ticks=[],this.event.emit("destroy"),console.log("destroy"),state$2.activeTick=-1,state$2.activeTickRepeat=1,this.event.removeAllListeners(),this.isRuning=!1,this.isNeedStop=!0,this.part&&(this.part.clear(),this.part=null)}}const useOriginSearch=()=>{const j=location.search,D=queryString.parse(j);if(D.Authorization&&sessionStorage.setItem("Authorization",D.Authorization||""),D.setting)try{D.setting=JSON.parse(decodeURIComponent(D.setting))}catch{}return D},useReload=()=>{const j=useOriginSearch(),D=queryString.stringify({...j,_t:Date.now()},{});location.search="?"+D},useMenu=()=>{const j=ref(!0);return useEventListener("click",D=>{const B=D.path||D.composedPath(),R=B[0];if(R){const F=R.dataset.id&&R.dataset.id.indexOf("auto")>-1,U=B.find(Y=>{var q;return Y.tagName==="BUTTON"||((q=Y.getAttribute)==null?void 0:q.call(Y,"role"))==="button"});if(F||U)return}j.value=!j.value},{target:document.body.querySelector("#app")}),watch(()=>state.playState,(D,B)=>{console.log("newRuntime",B);let R=B;R==="suspend"&&(R="pause"),j.value=R!=="pause"}),[j]};var dayjs_minExports={},dayjs_min={get exports(){return dayjs_minExports},set exports(j){dayjs_minExports=j}};(function(j,D){(function(B,R){j.exports=R()})(commonjsGlobal$1,function(){var B=1e3,R=6e4,F=36e5,U="millisecond",Y="second",q="minute",X="hour",W="day",K="week",G="month",Z="quarter",Q="year",te="date",re="Invalid Date",J=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ie=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ne={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},oe=function(be,le,pe){var Se=String(be);return!Se||Se.length>=le?be:""+Array(le+1-Se.length).join(pe)+be},ue={s:oe,z:function(be){var le=-be.utcOffset(),pe=Math.abs(le),Se=Math.floor(pe/60),Ae=pe%60;return(le<=0?"+":"-")+oe(Se,2,"0")+":"+oe(Ae,2,"0")},m:function be(le,pe){if(le.date()<pe.date())return-be(pe,le);var Se=12*(pe.year()-le.year())+(pe.month()-le.month()),Ae=le.clone().add(Se,G),ye=pe-Ae<0,Me=le.clone().add(Se+(ye?-1:1),G);return+(-(Se+(pe-Ae)/(ye?Ae-Me:Me-Ae))||0)},a:function(be){return be<0?Math.ceil(be)||0:Math.floor(be)},p:function(be){return{M:G,y:Q,w:K,d:W,D:te,h:X,m:q,s:Y,ms:U,Q:Z}[be]||String(be||"").toLowerCase().replace(/s$/,"")},u:function(be){return be===void 0}},ce="en",fe={};fe[ce]=ne;var ae=function(be){return be instanceof se},he=function be(le,pe,Se){var Ae;if(!le)return ce;if(typeof le=="string"){var ye=le.toLowerCase();fe[ye]&&(Ae=ye),pe&&(fe[ye]=pe,Ae=ye);var Me=le.split("-");if(!Ae&&Me.length>1)return be(Me[0])}else{var Ie=le.name;fe[Ie]=le,Ae=Ie}return!Se&&Ae&&(ce=Ae),Ae||!Se&&ce},ve=function(be,le){if(ae(be))return be.clone();var pe=typeof le=="object"?le:{};return pe.date=be,pe.args=arguments,new se(pe)},de=ue;de.l=he,de.i=ae,de.w=function(be,le){return ve(be,{locale:le.$L,utc:le.$u,x:le.$x,$offset:le.$offset})};var se=function(){function be(pe){this.$L=he(pe.locale,null,!0),this.parse(pe)}var le=be.prototype;return le.parse=function(pe){this.$d=function(Se){var Ae=Se.date,ye=Se.utc;if(Ae===null)return new Date(NaN);if(de.u(Ae))return new Date;if(Ae instanceof Date)return new Date(Ae);if(typeof Ae=="string"&&!/Z$/i.test(Ae)){var Me=Ae.match(J);if(Me){var Ie=Me[2]-1||0,xe=(Me[7]||"0").substring(0,3);return ye?new Date(Date.UTC(Me[1],Ie,Me[3]||1,Me[4]||0,Me[5]||0,Me[6]||0,xe)):new Date(Me[1],Ie,Me[3]||1,Me[4]||0,Me[5]||0,Me[6]||0,xe)}}return new Date(Ae)}(pe),this.$x=pe.x||{},this.init()},le.init=function(){var pe=this.$d;this.$y=pe.getFullYear(),this.$M=pe.getMonth(),this.$D=pe.getDate(),this.$W=pe.getDay(),this.$H=pe.getHours(),this.$m=pe.getMinutes(),this.$s=pe.getSeconds(),this.$ms=pe.getMilliseconds()},le.$utils=function(){return de},le.isValid=function(){return this.$d.toString()!==re},le.isSame=function(pe,Se){var Ae=ve(pe);return this.startOf(Se)<=Ae&&Ae<=this.endOf(Se)},le.isAfter=function(pe,Se){return ve(pe)<this.startOf(Se)},le.isBefore=function(pe,Se){return this.endOf(Se)<ve(pe)},le.$g=function(pe,Se,Ae){return de.u(pe)?this[Se]:this.set(Ae,pe)},le.unix=function(){return Math.floor(this.valueOf()/1e3)},le.valueOf=function(){return this.$d.getTime()},le.startOf=function(pe,Se){var Ae=this,ye=!!de.u(Se)||Se,Me=de.p(pe),Ie=function(De,Ce){var Pe=de.w(Ae.$u?Date.UTC(Ae.$y,Ce,De):new Date(Ae.$y,Ce,De),Ae);return ye?Pe:Pe.endOf(W)},xe=function(De,Ce){return de.w(Ae.toDate()[De].apply(Ae.toDate("s"),(ye?[0,0,0,0]:[23,59,59,999]).slice(Ce)),Ae)},me=this.$W,we=this.$M,_e=this.$D,Te="set"+(this.$u?"UTC":"");switch(Me){case Q:return ye?Ie(1,0):Ie(31,11);case G:return ye?Ie(1,we):Ie(0,we+1);case K:var Ne=this.$locale().weekStart||0,Ee=(me<Ne?me+7:me)-Ne;return Ie(ye?_e-Ee:_e+(6-Ee),we);case W:case te:return xe(Te+"Hours",0);case X:return xe(Te+"Minutes",1);case q:return xe(Te+"Seconds",2);case Y:return xe(Te+"Milliseconds",3);default:return this.clone()}},le.endOf=function(pe){return this.startOf(pe,!1)},le.$set=function(pe,Se){var Ae,ye=de.p(pe),Me="set"+(this.$u?"UTC":""),Ie=(Ae={},Ae[W]=Me+"Date",Ae[te]=Me+"Date",Ae[G]=Me+"Month",Ae[Q]=Me+"FullYear",Ae[X]=Me+"Hours",Ae[q]=Me+"Minutes",Ae[Y]=Me+"Seconds",Ae[U]=Me+"Milliseconds",Ae)[ye],xe=ye===W?this.$D+(Se-this.$W):Se;if(ye===G||ye===Q){var me=this.clone().set(te,1);me.$d[Ie](xe),me.init(),this.$d=me.set(te,Math.min(this.$D,me.daysInMonth())).$d}else Ie&&this.$d[Ie](xe);return this.init(),this},le.set=function(pe,Se){return this.clone().$set(pe,Se)},le.get=function(pe){return this[de.p(pe)]()},le.add=function(pe,Se){var Ae,ye=this;pe=Number(pe);var Me=de.p(Se),Ie=function(we){var _e=ve(ye);return de.w(_e.date(_e.date()+Math.round(we*pe)),ye)};if(Me===G)return this.set(G,this.$M+pe);if(Me===Q)return this.set(Q,this.$y+pe);if(Me===W)return Ie(1);if(Me===K)return Ie(7);var xe=(Ae={},Ae[q]=R,Ae[X]=F,Ae[Y]=B,Ae)[Me]||1,me=this.$d.getTime()+pe*xe;return de.w(me,this)},le.subtract=function(pe,Se){return this.add(-1*pe,Se)},le.format=function(pe){var Se=this,Ae=this.$locale();if(!this.isValid())return Ae.invalidDate||re;var ye=pe||"YYYY-MM-DDTHH:mm:ssZ",Me=de.z(this),Ie=this.$H,xe=this.$m,me=this.$M,we=Ae.weekdays,_e=Ae.months,Te=function(Ce,Pe,ze,Oe){return Ce&&(Ce[Pe]||Ce(Se,ye))||ze[Pe].slice(0,Oe)},Ne=function(Ce){return de.s(Ie%12||12,Ce,"0")},Ee=Ae.meridiem||function(Ce,Pe,ze){var Oe=Ce<12?"AM":"PM";return ze?Oe.toLowerCase():Oe},De={YY:String(this.$y).slice(-2),YYYY:this.$y,M:me+1,MM:de.s(me+1,2,"0"),MMM:Te(Ae.monthsShort,me,_e,3),MMMM:Te(_e,me),D:this.$D,DD:de.s(this.$D,2,"0"),d:String(this.$W),dd:Te(Ae.weekdaysMin,this.$W,we,2),ddd:Te(Ae.weekdaysShort,this.$W,we,3),dddd:we[this.$W],H:String(Ie),HH:de.s(Ie,2,"0"),h:Ne(1),hh:Ne(2),a:Ee(Ie,xe,!0),A:Ee(Ie,xe,!1),m:String(xe),mm:de.s(xe,2,"0"),s:String(this.$s),ss:de.s(this.$s,2,"0"),SSS:de.s(this.$ms,3,"0"),Z:Me};return ye.replace(ie,function(Ce,Pe){return Pe||De[Ce]||Me.replace(":","")})},le.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},le.diff=function(pe,Se,Ae){var ye,Me=de.p(Se),Ie=ve(pe),xe=(Ie.utcOffset()-this.utcOffset())*R,me=this-Ie,we=de.m(this,Ie);return we=(ye={},ye[Q]=we/12,ye[G]=we,ye[Z]=we/3,ye[K]=(me-xe)/6048e5,ye[W]=(me-xe)/864e5,ye[X]=me/F,ye[q]=me/R,ye[Y]=me/B,ye)[Me]||me,Ae?we:de.a(we)},le.daysInMonth=function(){return this.endOf(G).$D},le.$locale=function(){return fe[this.$L]},le.locale=function(pe,Se){if(!pe)return this.$L;var Ae=this.clone(),ye=he(pe,Se,!0);return ye&&(Ae.$L=ye),Ae},le.clone=function(){return de.w(this.$d,this)},le.toDate=function(){return new Date(this.valueOf())},le.toJSON=function(){return this.isValid()?this.toISOString():null},le.toISOString=function(){return this.$d.toISOString()},le.toString=function(){return this.$d.toUTCString()},be}(),ge=se.prototype;return ve.prototype=ge,[["$ms",U],["$s",Y],["$m",q],["$H",X],["$W",W],["$M",G],["$y",Q],["$D",te]].forEach(function(be){ge[be[1]]=function(le){return this.$g(le,be[0],be[1])}}),ve.extend=function(be,le){return be.$i||(be(le,se,ve),be.$i=!0),ve},ve.locale=he,ve.isDayjs=ae,ve.unix=function(be){return ve(1e3*be)},ve.en=fe[ce],ve.Ls=fe,ve.p={},ve})})(dayjs_min);const dayjs=dayjs_minExports,permissionPopup=reactive({active:"earphone",show:!1}),storeKeys={lastCheckTime:"lastCheckTime"},box$1="_box_11jg0_1",button$3="_button_11jg0_10",iconSound$2="_iconSound_11jg0_27",skepBtn$1="_skepBtn_11jg0_33",skepItems="_skepItems_11jg0_55",bottom="_bottom_11jg0_76",wrap$5="_wrap_11jg0_81",staff$1="_staff_11jg0_92",des="_des_11jg0_105",lampWrap="_lampWrap_11jg0_109",lamp="_lamp_11jg0_109",flickerAnimate="_flickerAnimate_11jg0_124",flicker$1="_flicker_11jg0_124",styles$g={box:box$1,button:button$3,iconSound:iconSound$2,skepBtn:skepBtn$1,skepItems,bottom,wrap:wrap$5,staff:staff$1,des,lampWrap,lamp,flickerAnimate,flicker:flicker$1},iconArrow=""+new URL("icon-arrow-c9ece74c.svg",import.meta.url).href,iconBottom=""+new URL("icon-bottom-3fe08c2c.svg",import.meta.url).href,iconRed="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAABGtJREFUSEu1ls1vVFUYxn/n494z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I6jR0i+OIj1ITcV5IXTpgKCXAWE2KLPoAAmIlvcgzRxHnLh5ecZn991K+R7tqlrds5MF0ky73nmF16Yd5HPQJgYW+5BF9ooGEO0e8fsNp07aAdIfv4eu8hP6B1z4D1vdpFt70DIEBE2FBihiZ9eR3VNo4P80s0Hbe6qiEh27iSdHsO2SzIRzliUhjGyOclegWwCZM9CooUPEe7cytXxxpABjVVx12WX1Km//Rbp+BWq3WEear6LCs1dpAy2qwslQow2hMuXEm/beu9l11Qxe10bQ3boU5Ljx0gLfg8FJG0xwmkkIbKtiA4jzMaNqIHN91/XLU13vXAmJ8nOnMIO/UE2NQUqQCzoRq3sR69axc0w+G8XTgvyQK/MFuSBXvq3X9j/x9+WfwGl6lzvWSMVSAAAAABJRU5ErkJggg==",backIcon=""+new URL("back-d3bb7f03.svg",import.meta.url).href,iconGreen="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAABAZJREFUSEu1lk1oHGUYx3/vzOzmi91s6qZt4jIJqRpsS2lj0IMHxYMeqigIYlqkByuC3kRIQHrqpYp6UxAVRKgRoQehl3jwJtHSlhZLxTYJ7mabahNMatr9yO7MI887s0nWfOjBLiyzzLzz/N7///l417DNZ2Zmps913ZeNMU8ZY/aKSLcuN8bMi8hVEfk+CIKvBwYG8luFMZs9mJub8+v1+ingJcDdbhNAAHzjed5Yb29v4Z9rNwAKhcKIMeYTEUnp4pqEnFu+zaW7y/y+UrXv7062cLAjxaOpThLGsfeMMcsi8rrv++PrIU2AYrH4VhiG7+v6ahjy+R9FPlu4wYITgBhMwkNqAnXAM2RD4Xh3L6/uytHiWJA4jvN2Lpf7sAFZBejOgdMa/LdKmdemrvCrW8a0u1AVqIK4HlQUYKA1CTUgrDHY7vHpnr30t7ZZCHC0ocQC1PMgCK6oLRr8xalLzKdr2IfiRkFXAeEq4IFkB/vSGSbv3EYqS5wZPGAhapfruvs1JzZGoVD4ChhRW5795SLXdpSw0d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x33GagAAAABJRU5ErkJggg==",iconSound$1=""+new URL("icon-sound-2443d764.svg",import.meta.url).href,score=j=>j==12||j==4?{xml:`<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  33. <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.1 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
  34. <score-partwise version="3.1">
  35. <movement-title>Click to add Title</movement-title>
  36. <identification>
  37. <creator type="composer">Click to add Composer</creator>
  38. <rights>Click to add Copyright</rights>
  39. <encoding>
  40. <encoding-date>2021-08-27</encoding-date>
  41. <software>SmartMusic</software>
  42. <supports element="accidental" type="yes"/>
  43. <supports element="beam" type="yes"/>
  44. <supports element="stem" type="yes"/>
  45. <supports element="print" attribute="new-system" type="yes" value="yes"/>
  46. <supports element="print" attribute="new-page" type="yes" value="yes"/>
  47. </encoding>
  48. </identification>
  49. <defaults>
  50. <scaling>
  51. <millimeters>6.5000</millimeters>
  52. <tenths>40</tenths>
  53. </scaling>
  54. <page-layout>
  55. <page-height>1827.3</page-height>
  56. <page-width>1292</page-width>
  57. <page-margins type="both">
  58. <left-margin>61.2</left-margin>
  59. <right-margin>61.5</right-margin>
  60. <top-margin>379.6</top-margin>
  61. <bottom-margin>61.3</bottom-margin>
  62. </page-margins>
  63. </page-layout>
  64. <appearance>
  65. <line-width type="staff">1.0000</line-width>
  66. <line-width type="stem">1.0000</line-width>
  67. <line-width type="beam">5.0000</line-width>
  68. <line-width type="leger">1.0000</line-width>
  69. <line-width type="light barline">1.0000</line-width>
  70. <line-width type="heavy barline">3.4199</line-width>
  71. <line-width type="wedge">1.0000</line-width>
  72. <note-size type="cue">60</note-size>
  73. <note-size type="grace">50</note-size>
  74. </appearance>
  75. <music-font font-family="Maestro,engraved"/>
  76. <word-font font-family="Times New Roman" font-size="8"/>
  77. <lyric-font font-family="Times New Roman" font-size="9"/>
  78. </defaults>
  79. <part-list>
  80. <score-part id="P1">
  81. <part-name print-object="no">Music</part-name>
  82. <score-instrument id="P1-I1">
  83. <instrument-name>Music</instrument-name>
  84. <instrument-sound>wind.flutes.flute</instrument-sound>
  85. <virtual-instrument>
  86. <virtual-library>Finale Default Bank</virtual-library>
  87. </virtual-instrument>
  88. </score-instrument>
  89. <?SmartMusic instrument-id="2" staff="1"?>
  90. </score-part>
  91. </part-list>
  92. <part id="P1">
  93. <measure number="1" width="1109.2">
  94. <print>
  95. <system-layout>
  96. <system-margins>
  97. <left-margin>60</left-margin>
  98. <right-margin>0</right-margin>
  99. </system-margins>
  100. <top-system-distance>40</top-system-distance>
  101. </system-layout>
  102. <measure-numbering>system</measure-numbering>
  103. </print>
  104. <attributes>
  105. <divisions>3840</divisions>
  106. <key>
  107. <fifths>0</fifths>
  108. <mode>major</mode>
  109. </key>
  110. <time>
  111. <beats>4</beats>
  112. <beat-type>4</beat-type>
  113. </time>
  114. <clef>
  115. <sign>G</sign>
  116. <line>2</line>
  117. </clef>
  118. </attributes>
  119. <sound tempo="100"/>
  120. <note>
  121. <pitch>
  122. <step>C</step>
  123. <octave>5</octave>
  124. </pitch>
  125. <duration>15360</duration>
  126. <voice>1</voice>
  127. <type>whole</type>
  128. </note>
  129. </measure>
  130. </part>
  131. </score-partwise>
  132. `,text:""}:j==5||j==6?{xml:`<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  133. <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.1 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
  134. <score-partwise version="3.1">
  135. <movement-title>Click to add Title</movement-title>
  136. <identification>
  137. <creator type="composer">Click to add Composer</creator>
  138. <rights>Click to add Copyright</rights>
  139. <encoding>
  140. <encoding-date>2021-08-27</encoding-date>
  141. <software>SmartMusic</software>
  142. <supports element="accidental" type="yes"/>
  143. <supports element="beam" type="yes"/>
  144. <supports element="stem" type="yes"/>
  145. <supports element="print" attribute="new-system" type="yes" value="yes"/>
  146. <supports element="print" attribute="new-page" type="yes" value="yes"/>
  147. </encoding>
  148. </identification>
  149. <defaults>
  150. <scaling>
  151. <millimeters>6.5000</millimeters>
  152. <tenths>40</tenths>
  153. </scaling>
  154. <page-layout>
  155. <page-height>1827.4</page-height>
  156. <page-width>1292.1</page-width>
  157. <page-margins type="both">
  158. <left-margin>61.3</left-margin>
  159. <right-margin>61.5</right-margin>
  160. <top-margin>355.6</top-margin>
  161. <bottom-margin>61.4</bottom-margin>
  162. </page-margins>
  163. </page-layout>
  164. <appearance>
  165. <line-width type="staff">1.0000</line-width>
  166. <line-width type="stem">1.0000</line-width>
  167. <line-width type="beam">5.0000</line-width>
  168. <line-width type="leger">1.0000</line-width>
  169. <line-width type="light barline">1.0000</line-width>
  170. <line-width type="heavy barline">3.4199</line-width>
  171. <line-width type="wedge">1.0000</line-width>
  172. <note-size type="cue">60</note-size>
  173. <note-size type="grace">50</note-size>
  174. </appearance>
  175. <music-font font-family="Maestro,engraved"/>
  176. <word-font font-family="Times New Roman" font-size="8"/>
  177. <lyric-font font-family="Times New Roman" font-size="9"/>
  178. </defaults>
  179. <part-list>
  180. <score-part id="P1">
  181. <part-name print-object="no">Music</part-name>
  182. <score-instrument id="P1-I1">
  183. <instrument-name>Music</instrument-name>
  184. <instrument-sound>wind.flutes.flute</instrument-sound>
  185. <virtual-instrument>
  186. <virtual-library>Finale Default Bank</virtual-library>
  187. </virtual-instrument>
  188. </score-instrument>
  189. <?SmartMusic instrument-id="2" staff="1"?>
  190. </score-part>
  191. </part-list>
  192. <part id="P1">
  193. <measure number="1" width="1109.2">
  194. <print>
  195. <system-layout>
  196. <system-margins>
  197. <left-margin>60</left-margin>
  198. <right-margin>0</right-margin>
  199. </system-margins>
  200. <top-system-distance>40</top-system-distance>
  201. </system-layout>
  202. <measure-numbering>system</measure-numbering>
  203. </print>
  204. <attributes>
  205. <divisions>3840</divisions>
  206. <key>
  207. <fifths>1</fifths>
  208. <mode>major</mode>
  209. </key>
  210. <time>
  211. <beats>4</beats>
  212. <beat-type>4</beat-type>
  213. </time>
  214. <clef>
  215. <sign>G</sign>
  216. <line>2</line>
  217. </clef>
  218. </attributes>
  219. <sound tempo="100"/>
  220. <note>
  221. <pitch>
  222. <step>C</step>
  223. <octave>5</octave>
  224. </pitch>
  225. <duration>15360</duration>
  226. <voice>1</voice>
  227. <type>whole</type>
  228. </note>
  229. </measure>
  230. </part>
  231. </score-partwise>
  232. `,text:"C"}:j==13?{xml:`<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  233. <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.1 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
  234. <score-partwise version="3.1">
  235. <movement-title>Click to add Title</movement-title>
  236. <identification>
  237. <creator type="composer">Click to add Composer</creator>
  238. <rights>Click to add Copyright</rights>
  239. <encoding>
  240. <encoding-date>2021-08-27</encoding-date>
  241. <software>SmartMusic</software>
  242. <supports element="accidental" type="yes"/>
  243. <supports element="beam" type="yes"/>
  244. <supports element="stem" type="yes"/>
  245. <supports element="print" attribute="new-system" type="yes" value="yes"/>
  246. <supports element="print" attribute="new-page" type="yes" value="yes"/>
  247. </encoding>
  248. </identification>
  249. <defaults>
  250. <scaling>
  251. <millimeters>6.5000</millimeters>
  252. <tenths>40</tenths>
  253. </scaling>
  254. <page-layout>
  255. <page-height>1827.4</page-height>
  256. <page-width>1292.1</page-width>
  257. <page-margins type="both">
  258. <left-margin>61.3</left-margin>
  259. <right-margin>61.5</right-margin>
  260. <top-margin>355.6</top-margin>
  261. <bottom-margin>61.4</bottom-margin>
  262. </page-margins>
  263. </page-layout>
  264. <appearance>
  265. <line-width type="staff">1.0000</line-width>
  266. <line-width type="stem">1.0000</line-width>
  267. <line-width type="beam">5.0000</line-width>
  268. <line-width type="leger">1.0000</line-width>
  269. <line-width type="light barline">1.0000</line-width>
  270. <line-width type="heavy barline">3.4199</line-width>
  271. <line-width type="wedge">1.0000</line-width>
  272. <note-size type="cue">60</note-size>
  273. <note-size type="grace">50</note-size>
  274. </appearance>
  275. <music-font font-family="Maestro,engraved"/>
  276. <word-font font-family="Times New Roman" font-size="8"/>
  277. <lyric-font font-family="Times New Roman" font-size="9"/>
  278. </defaults>
  279. <part-list>
  280. <score-part id="P1">
  281. <part-name print-object="no">Music</part-name>
  282. <score-instrument id="P1-I1">
  283. <instrument-name>Music</instrument-name>
  284. <instrument-sound>wind.flutes.flute</instrument-sound>
  285. <virtual-instrument>
  286. <virtual-library>Finale Default Bank</virtual-library>
  287. </virtual-instrument>
  288. </score-instrument>
  289. <?SmartMusic instrument-id="2" staff="1"?>
  290. </score-part>
  291. </part-list>
  292. <part id="P1">
  293. <measure number="1" width="1109.2">
  294. <print>
  295. <system-layout>
  296. <system-margins>
  297. <left-margin>60</left-margin>
  298. <right-margin>0</right-margin>
  299. </system-margins>
  300. <top-system-distance>40</top-system-distance>
  301. </system-layout>
  302. <measure-numbering>system</measure-numbering>
  303. </print>
  304. <attributes>
  305. <divisions>3840</divisions>
  306. <key>
  307. <fifths>-1</fifths>
  308. <mode>major</mode>
  309. </key>
  310. <time>
  311. <beats>4</beats>
  312. <beat-type>4</beat-type>
  313. </time>
  314. <clef>
  315. <sign>G</sign>
  316. <line>2</line>
  317. </clef>
  318. </attributes>
  319. <sound tempo="100"/>
  320. <note>
  321. <pitch>
  322. <step>F</step>
  323. <octave>4</octave>
  324. </pitch>
  325. <duration>15360</duration>
  326. <voice>1</voice>
  327. <type>whole</type>
  328. </note>
  329. </measure>
  330. </part>
  331. </score-partwise>
  332. `,text:"F"}:j==14||j==15?{xml:`<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  333. <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.1 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
  334. <score-partwise version="3.1">
  335. <movement-title>Click to add Title</movement-title>
  336. <identification>
  337. <creator type="composer">Click to add Composer</creator>
  338. <rights>Click to add Copyright</rights>
  339. <encoding>
  340. <encoding-date>2021-08-27</encoding-date>
  341. <software>SmartMusic</software>
  342. <supports element="accidental" type="yes"/>
  343. <supports element="beam" type="yes"/>
  344. <supports element="stem" type="yes"/>
  345. <supports element="print" attribute="new-system" type="yes" value="yes"/>
  346. <supports element="print" attribute="new-page" type="yes" value="yes"/>
  347. </encoding>
  348. </identification>
  349. <defaults>
  350. <scaling>
  351. <millimeters>6.5000</millimeters>
  352. <tenths>40</tenths>
  353. </scaling>
  354. <page-layout>
  355. <page-height>1827.4</page-height>
  356. <page-width>1292.1</page-width>
  357. <page-margins type="both">
  358. <left-margin>61.3</left-margin>
  359. <right-margin>61.5</right-margin>
  360. <top-margin>355.6</top-margin>
  361. <bottom-margin>61.4</bottom-margin>
  362. </page-margins>
  363. </page-layout>
  364. <appearance>
  365. <line-width type="staff">1.0000</line-width>
  366. <line-width type="stem">1.0000</line-width>
  367. <line-width type="beam">5.0000</line-width>
  368. <line-width type="leger">1.0000</line-width>
  369. <line-width type="light barline">1.0000</line-width>
  370. <line-width type="heavy barline">3.4199</line-width>
  371. <line-width type="wedge">1.0000</line-width>
  372. <note-size type="cue">60</note-size>
  373. <note-size type="grace">50</note-size>
  374. </appearance>
  375. <music-font font-family="Maestro,engraved"/>
  376. <word-font font-family="Times New Roman" font-size="8"/>
  377. <lyric-font font-family="Times New Roman" font-size="9"/>
  378. </defaults>
  379. <part-list>
  380. <score-part id="P1">
  381. <part-name print-object="no">Music</part-name>
  382. <score-instrument id="P1-I1">
  383. <instrument-name>Music</instrument-name>
  384. <instrument-sound>wind.flutes.flute</instrument-sound>
  385. <virtual-instrument>
  386. <virtual-library>Finale Default Bank</virtual-library>
  387. </virtual-instrument>
  388. </score-instrument>
  389. <?SmartMusic instrument-id="2" staff="1"?>
  390. </score-part>
  391. </part-list>
  392. <part id="P1">
  393. <measure number="1" width="1109.2">
  394. <print>
  395. <system-layout>
  396. <system-margins>
  397. <left-margin>60</left-margin>
  398. <right-margin>0</right-margin>
  399. </system-margins>
  400. <top-system-distance>40</top-system-distance>
  401. </system-layout>
  402. <measure-numbering>system</measure-numbering>
  403. </print>
  404. <attributes>
  405. <divisions>3840</divisions>
  406. <key>
  407. <fifths>-2</fifths>
  408. <mode>major</mode>
  409. </key>
  410. <time>
  411. <beats>4</beats>
  412. <beat-type>4</beat-type>
  413. </time>
  414. <clef>
  415. <sign>F</sign>
  416. <line>4</line>
  417. </clef>
  418. </attributes>
  419. <sound tempo="100"/>
  420. <note>
  421. <pitch>
  422. <step>B</step>
  423. <alter>-1</alter>
  424. <octave>2</octave>
  425. </pitch>
  426. <duration>15360</duration>
  427. <voice>1</voice>
  428. <type>whole</type>
  429. </note>
  430. </measure>
  431. </part>
  432. </score-partwise>
  433. `,text:"S"}:j==120?{xml:`<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  434. <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.1 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
  435. <score-partwise version="3.1">
  436. <movement-title>Click to add Title</movement-title>
  437. <identification>
  438. <creator type="composer">Click to add Composer</creator>
  439. <rights>Click to add Copyright</rights>
  440. <encoding>
  441. <encoding-date>2021-08-27</encoding-date>
  442. <software>SmartMusic</software>
  443. <supports element="accidental" type="yes"/>
  444. <supports element="beam" type="yes"/>
  445. <supports element="stem" type="yes"/>
  446. <supports element="print" attribute="new-system" type="yes" value="yes"/>
  447. <supports element="print" attribute="new-page" type="yes" value="yes"/>
  448. </encoding>
  449. </identification>
  450. <defaults>
  451. <scaling>
  452. <millimeters>6.5000</millimeters>
  453. <tenths>40</tenths>
  454. </scaling>
  455. <page-layout>
  456. <page-height>1827.3</page-height>
  457. <page-width>1292</page-width>
  458. <page-margins type="both">
  459. <left-margin>61.2</left-margin>
  460. <right-margin>61.5</right-margin>
  461. <top-margin>379.6</top-margin>
  462. <bottom-margin>61.3</bottom-margin>
  463. </page-margins>
  464. </page-layout>
  465. <appearance>
  466. <line-width type="staff">1.0000</line-width>
  467. <line-width type="stem">1.0000</line-width>
  468. <line-width type="beam">5.0000</line-width>
  469. <line-width type="leger">1.0000</line-width>
  470. <line-width type="light barline">1.0000</line-width>
  471. <line-width type="heavy barline">3.4199</line-width>
  472. <line-width type="wedge">1.0000</line-width>
  473. <note-size type="cue">60</note-size>
  474. <note-size type="grace">50</note-size>
  475. </appearance>
  476. <music-font font-family="Maestro,engraved"/>
  477. <word-font font-family="Times New Roman" font-size="8"/>
  478. <lyric-font font-family="Times New Roman" font-size="9"/>
  479. </defaults>
  480. <part-list>
  481. <score-part id="P1">
  482. <part-name print-object="no">Music</part-name>
  483. <score-instrument id="P1-I1">
  484. <instrument-name>Music</instrument-name>
  485. <instrument-sound>wind.flutes.flute</instrument-sound>
  486. <virtual-instrument>
  487. <virtual-library>Finale Default Bank</virtual-library>
  488. </virtual-instrument>
  489. </score-instrument>
  490. <?SmartMusic instrument-id="2" staff="1"?>
  491. </score-part>
  492. </part-list>
  493. <part id="P1">
  494. <measure number="1" width="1109.2">
  495. <print>
  496. <system-layout>
  497. <system-margins>
  498. <left-margin>60</left-margin>
  499. <right-margin>0</right-margin>
  500. </system-margins>
  501. <top-system-distance>40</top-system-distance>
  502. </system-layout>
  503. <measure-numbering>system</measure-numbering>
  504. </print>
  505. <attributes>
  506. <divisions>3840</divisions>
  507. <key>
  508. <fifths>0</fifths>
  509. <mode>major</mode>
  510. </key>
  511. <time>
  512. <beats>4</beats>
  513. <beat-type>4</beat-type>
  514. </time>
  515. <clef>
  516. <sign>G</sign>
  517. <line>2</line>
  518. </clef>
  519. </attributes>
  520. <sound tempo="100"/>
  521. <note>
  522. <pitch>
  523. <step>A</step>
  524. <octave>5</octave>
  525. </pitch>
  526. <duration>15360</duration>
  527. <voice>1</voice>
  528. <type>whole</type>
  529. </note>
  530. </measure>
  531. </part>
  532. </score-partwise>
  533. `,text:"A"}:{xml:`<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  534. <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.1 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
  535. <score-partwise version="3.1">
  536. <movement-title>Click to add Title</movement-title>
  537. <identification>
  538. <creator type="composer">Click to add Composer</creator>
  539. <rights>Click to add Copyright</rights>
  540. <encoding>
  541. <encoding-date>2021-08-27</encoding-date>
  542. <software>SmartMusic</software>
  543. <supports element="accidental" type="yes"/>
  544. <supports element="beam" type="yes"/>
  545. <supports element="stem" type="yes"/>
  546. <supports element="print" attribute="new-system" type="yes" value="yes"/>
  547. <supports element="print" attribute="new-page" type="yes" value="yes"/>
  548. </encoding>
  549. </identification>
  550. <defaults>
  551. <scaling>
  552. <millimeters>6.5000</millimeters>
  553. <tenths>40</tenths>
  554. </scaling>
  555. <page-layout>
  556. <page-height>1827.4</page-height>
  557. <page-width>1292.1</page-width>
  558. <page-margins type="both">
  559. <left-margin>61.3</left-margin>
  560. <right-margin>61.5</right-margin>
  561. <top-margin>355.6</top-margin>
  562. <bottom-margin>61.4</bottom-margin>
  563. </page-margins>
  564. </page-layout>
  565. <appearance>
  566. <line-width type="staff">1.0000</line-width>
  567. <line-width type="stem">1.0000</line-width>
  568. <line-width type="beam">5.0000</line-width>
  569. <line-width type="leger">1.0000</line-width>
  570. <line-width type="light barline">1.0000</line-width>
  571. <line-width type="heavy barline">3.4199</line-width>
  572. <line-width type="wedge">1.0000</line-width>
  573. <note-size type="cue">60</note-size>
  574. <note-size type="grace">50</note-size>
  575. </appearance>
  576. <music-font font-family="Maestro,engraved"/>
  577. <word-font font-family="Times New Roman" font-size="8"/>
  578. <lyric-font font-family="Times New Roman" font-size="9"/>
  579. </defaults>
  580. <part-list>
  581. <score-part id="P1">
  582. <part-name print-object="no">Music</part-name>
  583. <score-instrument id="P1-I1">
  584. <instrument-name>Music</instrument-name>
  585. <instrument-sound>wind.flutes.flute</instrument-sound>
  586. <virtual-instrument>
  587. <virtual-library>Finale Default Bank</virtual-library>
  588. </virtual-instrument>
  589. </score-instrument>
  590. <?SmartMusic instrument-id="2" staff="1"?>
  591. </score-part>
  592. </part-list>
  593. <part id="P1">
  594. <measure number="1" width="1109.2">
  595. <print>
  596. <system-layout>
  597. <system-margins>
  598. <left-margin>60</left-margin>
  599. <right-margin>0</right-margin>
  600. </system-margins>
  601. <top-system-distance>40</top-system-distance>
  602. </system-layout>
  603. <measure-numbering>system</measure-numbering>
  604. </print>
  605. <attributes>
  606. <divisions>3840</divisions>
  607. <key>
  608. <fifths>-2</fifths>
  609. <mode>major</mode>
  610. </key>
  611. <time>
  612. <beats>4</beats>
  613. <beat-type>4</beat-type>
  614. </time>
  615. <clef>
  616. <sign>G</sign>
  617. <line>2</line>
  618. </clef>
  619. </attributes>
  620. <sound tempo="100"/>
  621. <note>
  622. <pitch>
  623. <step>B</step>
  624. <alter>-1</alter>
  625. <octave>4</octave>
  626. </pitch>
  627. <duration>15360</duration>
  628. <voice>1</voice>
  629. <type>whole</type>
  630. </note>
  631. </measure>
  632. </part>
  633. </score-partwise>
  634. `,text:"Bb"},checkStatus=ref("checking"),checkFrequency=ref(0),dotIcons=ref([iconWhite,iconWhite,iconWhite]),trend=ref(-1),time=ref(0),useStart=j=>{const D=getAllNodes(j);checkFrequency.value=D[0].frequency,postMessage({api:"proxyServiceMessage",content:{header:{status:200,commond:"xmlInfo",type:"SOUND_CHECK"},body:{frequency:checkFrequency.value}}}),postMessage({api:"startSoundCheck"},()=>{checkStatus.value="checking";try{localStorage.setItem(storeKeys.lastCheckTime,""+new Date().valueOf())}catch{}})},useEnd=()=>{postMessage({api:"endSoundCheck"})},useLister=()=>{const j=D=>{var R;const B=(R=D==null?void 0:D.content)==null?void 0:R.body.frequency;console.log("frequency",B,checkFrequency.value),trend.value=Math.abs(B-checkFrequency.value)<=5?0:B-checkFrequency.value>0?1:-1,dotIcons.value=[iconWhite,iconWhite,iconWhite],dotIcons.value[trend.value+1]=trend.value===0?iconGreen:iconRed,trend.value!==0&&(time.value=new Date().getTime()),new Date().getTime()-time.value>3e3&&(useEnd(),checkStatus.value="success",dotIcons.value=[iconGreen,iconGreen,iconGreen],setTimeout(()=>{soundEffectShow.value=!1},1e3))};onMounted(()=>{listenerMessage("sendResult",j)}),onBeforeUnmount(()=>{removeListenerMessage("sendResult",j)})},soundEffectShow=ref(!1),SoundEffect=defineComponent({name:"ColexiuSoundEffect",emits:["success","close","pass","fail"],setup(j,{emit:D}){const B=ref(!1),R=ref(!1),F=U=>{U.text==="关闭校音"&&(state$4.sett.tuning=!1),D("pass"),soundEffectShow.value=!1};return useLister(),watch([soundEffectShow,checkStatus],()=>{checkStatus.value==="success"&&D("success"),checkStatus.value==="fail"&&D("fail"),soundEffectShow.value===!1&&(B.value=!1,D("close"),useEnd())}),()=>{const U=score(2),Y=(U==null?void 0:U.xml)||"";return createVNode(Popup,{position:"bottom",show:soundEffectShow.value,"onUpdate:show":q=>soundEffectShow.value=q,onOpen:()=>B.value=!0,onClosed:()=>B.value=!1,teleport:"body"},{default:()=>[createVNode("div",{class:styles$g.box},[createVNode("img",{class:styles$g.iconSound,src:iconSound$1},null),createVNode("div",{class:styles$g.wrap},[createVNode("div",{class:styles$g.staff},[B.value&&createVNode(MusicSheet,{isSoundEffect:!0,opotions:{stretchLastSystemLine:!0,drawMetronomeMarks:!1,drawPartAbbreviations:!1,drawPartNames:!1,drawSlurs:!1,drawTimeSignatures:!1,followCursor:!1},score:Y,showSection:!1,onRerender:useStart},null)]),createVNode("div",{class:styles$g.des},[createTextVNode("请演奏 "),createVNode("span",{style:{color:"var(--primary-color)"}},[U.text]),createTextVNode("直到绿灯全部亮起")]),createVNode("div",{class:styles$g.lampWrap},[dotIcons.value.map((q,X)=>createVNode("div",{class:styles$g.lamp,key:X},[createVNode("img",{class:[checkStatus.value==="checking"&&styles$g.flickerAnimate],src:q},null)]))])]),createVNode("img",{class:styles$g.bottom,src:iconBottom},null),createVNode(Button,{class:styles$g.button,icon:backIcon,onClick:()=>soundEffectShow.value=!1},null),createVNode(Popover,{class:styles$g.skepItems,show:R.value,"onUpdate:show":q=>R.value=q,actions:[{text:"跳过本次"},{text:"关闭校音"}],onSelect:q=>F(q),showArrow:!1},{reference:()=>createVNode(Button,{class:styles$g.skepBtn,icon:iconArrow,iconPosition:"right"},{default:()=>[createTextVNode("跳过本次")]})})])]})}}}),box="_box_1k6sl_1",bg$2="_bg_1k6sl_8",button$2="_button_1k6sl_15",iconSound="_iconSound_1k6sl_32",skepBtn="_skepBtn_1k6sl_38",sharBtn="_sharBtn_1k6sl_56",wrap$4="_wrap_1k6sl_60",top="_top_1k6sl_76",title$6="_title_1k6sl_83",line="_line_1k6sl_90",num="_num_1k6sl_100",txt="_txt_1k6sl_103",iconLeft="_iconLeft_1k6sl_109",iconTop="_iconTop_1k6sl_113",evaluatWrap="_evaluatWrap_1k6sl_117",evaluatTitle="_evaluatTitle_1k6sl_145",evaluatIcon="_evaluatIcon_1k6sl_150",fraction="_fraction_1k6sl_156",tips="_tips_1k6sl_168",btns="_btns_1k6sl_177",btnIcon="_btnIcon_1k6sl_188",confirm="_confirm_1k6sl_193",iconTitle$1="_iconTitle_1k6sl_199",footer="_footer_1k6sl_204",sbtn="_sbtn_1k6sl_233",styles$f={box,bg:bg$2,button:button$2,iconSound,skepBtn,sharBtn,wrap:wrap$4,top,title:title$6,line,num,txt,iconLeft,iconTop,evaluatWrap,evaluatTitle,evaluatIcon,fraction,tips,btns,btnIcon,confirm,iconTitle:iconTitle$1,footer,sbtn},iconTitle=""+new URL("title-26d31e69.svg",import.meta.url).href,iconCancel=""+new URL("cancel-79fe3f5e.svg",import.meta.url).href,iconConfirm=""+new URL("confirm-8050789e.svg",import.meta.url).href,iconBadge=""+new URL("icon-badge-28fcacad.svg",import.meta.url).href,iconLianxi=""+new URL("icon-lianxi-104eeb83.svg",import.meta.url).href,iconReport=""+new URL("icon-report-7c7e9fcf.svg",import.meta.url).href,TryIcon=""+new URL("try-8a1d0eec.svg",import.meta.url).href,IntegrityIcon=""+new URL("integrity-845eab90.svg",import.meta.url).href,IntonationIcon=""+new URL("intonation-89ac38bc.svg",import.meta.url).href,CadenceIcon=""+new URL("cadence-89569b23.svg",import.meta.url).href,Image1$1=""+new URL("5-d8bfbf51.png",import.meta.url).href,Image2$1=""+new URL("4-cfa387c7.png",import.meta.url).href,Image3$1=""+new URL("3-d02c685a.png",import.meta.url).href,Image4$1=""+new URL("2-5c4c2ef5.png",import.meta.url).href,Image5$1=""+new URL("1-a0d5037d.png",import.meta.url).href,IconBad=""+new URL("bad-d9395829.png",import.meta.url).href,IconGood=""+new URL("good-b0fbfb32.png",import.meta.url).href,IconGreat=""+new URL("great-55272f0a.png",import.meta.url).href,IconPerfect=""+new URL("perfect-ab44b0e5.png",import.meta.url).href,icons={1:{icon:IconBad,text:"bad"},2:{icon:IconGood,text:"good"},3:{icon:IconGreat,text:"great"},4:{icon:IconPerfect,text:"perfect"}},constant={1:{img:Image1$1,tips:"你的演奏不太好,再练一练吧~",mome:"敢于尝试"},2:{img:Image2$1,tips:"你的演奏还不熟练,加紧训练才能有好成绩哦~",mome:"还要加油哦~"},3:{img:Image3$1,tips:"你的演奏还不流畅,科学的练习才能更完美哦~",mome:"突破自我"},4:{img:Image4$1,tips:"你的演奏还不错,继续加油吧,离完美就差一步啦~",mome:"崭露头角"},5:{img:Image5$1,tips:"你的演奏完美无缺,继续努力吧~",mome:"你很棒"}},getLeveByScoreId=j=>{if(!j&&typeof j!="number")return{};let D=1;return j>20&&j<=40?D=2:j>40&&j<=60?D=3:j>60&&j<=80?D=4:j>80&&(D=5),D},getLeveByScore=j=>{if(!j&&typeof j!="number")return{};let D=getLeveByScoreId(j);return constant[D]},getLeveByScoreMeasure=j=>{if(!j&&typeof j!="number")return{};let D=1;return j>=40&&j<70?D=2:j>=70&&j<90?D=3:j>=90&&(D=4),icons[D]},Image1=""+new URL("5-b3331931.svg",import.meta.url).href,Image2=""+new URL("4-7a8a1657.svg",import.meta.url).href,Image3=""+new URL("3-82262a8a.svg",import.meta.url).href,Image4=""+new URL("2-99f2ced3.svg",import.meta.url).href,Image5=""+new URL("1-3d063166.svg",import.meta.url).href,accompaniment=""+new URL("accompaniment-b83f0e6e.svg",import.meta.url).href,__vite_glob_0_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:accompaniment},Symbol.toStringTag,{value:"Module"})),back$1=""+new URL("back-0e8784e6.svg",import.meta.url).href,__vite_glob_0_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:back$1},Symbol.toStringTag,{value:"Module"})),backgroundClose=""+new URL("background-close-292949ba.svg",import.meta.url).href,__vite_glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:backgroundClose},Symbol.toStringTag,{value:"Module"})),background$2=""+new URL("background-66e3a94f.svg",import.meta.url).href,__vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:background$2},Symbol.toStringTag,{value:"Module"})),camera=""+new URL("camera-7fe532f1.svg",import.meta.url).href,__vite_glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:camera},Symbol.toStringTag,{value:"Module"})),equilibrium=""+new URL("equilibrium-f9043cf5.svg",import.meta.url).href,__vite_glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:equilibrium},Symbol.toStringTag,{value:"Module"})),evaluating$2=""+new URL("evaluating-9eb5cfac.svg",import.meta.url).href,__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:evaluating$2},Symbol.toStringTag,{value:"Module"})),fingeringOff=""+new URL("fingeringOff-b63542d4.svg",import.meta.url).href,__vite_glob_0_7=Object.freeze(Object.defineProperty({__proto__:null,default:fingeringOff},Symbol.toStringTag,{value:"Module"})),fingeringOn=""+new URL("fingeringOn-32644085.svg",import.meta.url).href,__vite_glob_0_8=Object.freeze(Object.defineProperty({__proto__:null,default:fingeringOn},Symbol.toStringTag,{value:"Module"})),gudingActive=""+new URL("guding-active-ffb42216.svg",import.meta.url).href,__vite_glob_0_9=Object.freeze(Object.defineProperty({__proto__:null,default:gudingActive},Symbol.toStringTag,{value:"Module"})),guding=""+new URL("guding-a3ea7233.svg",import.meta.url).href,__vite_glob_0_10=Object.freeze(Object.defineProperty({__proto__:null,default:guding},Symbol.toStringTag,{value:"Module"})),iconBack=""+new URL("icon-back-f7c9eb40.svg",import.meta.url).href,__vite_glob_0_11=Object.freeze(Object.defineProperty({__proto__:null,default:iconBack},Symbol.toStringTag,{value:"Module"})),iconEvaluatingEnd=""+new URL("icon-evaluatingEnd-438e3cc0.svg",import.meta.url).href,__vite_glob_0_12=Object.freeze(Object.defineProperty({__proto__:null,default:iconEvaluatingEnd},Symbol.toStringTag,{value:"Module"})),iconEvaluatingStart=""+new URL("icon-evaluatingStart-ef7aea8e.svg",import.meta.url).href,__vite_glob_0_13=Object.freeze(Object.defineProperty({__proto__:null,default:iconEvaluatingStart},Symbol.toStringTag,{value:"Module"})),iconStaffActive=""+new URL("icon-staff-active-c1d6b682.svg",import.meta.url).href,__vite_glob_0_14=Object.freeze(Object.defineProperty({__proto__:null,default:iconStaffActive},Symbol.toStringTag,{value:"Module"})),iconStaff=""+new URL("icon-staff-5a2b7c94.svg",import.meta.url).href,__vite_glob_0_15=Object.freeze(Object.defineProperty({__proto__:null,default:iconStaff},Symbol.toStringTag,{value:"Module"})),iconZhuanpu=""+new URL("icon-zhuanpu-1a6e0bcb.svg",import.meta.url).href,__vite_glob_0_16=Object.freeze(Object.defineProperty({__proto__:null,default:iconZhuanpu},Symbol.toStringTag,{value:"Module"})),jia=""+new URL("jia-362e133d.svg",import.meta.url).href,__vite_glob_0_17=Object.freeze(Object.defineProperty({__proto__:null,default:jia},Symbol.toStringTag,{value:"Module"})),jian=""+new URL("jian-ce0820a8.svg",import.meta.url).href,__vite_glob_0_18=Object.freeze(Object.defineProperty({__proto__:null,default:jian},Symbol.toStringTag,{value:"Module"})),jianpu=""+new URL("jianpu-70310e35.svg",import.meta.url).href,__vite_glob_0_19=Object.freeze(Object.defineProperty({__proto__:null,default:jianpu},Symbol.toStringTag,{value:"Module"})),model1=""+new URL("model-1-5cdc3b59.svg",import.meta.url).href,__vite_glob_0_20=Object.freeze(Object.defineProperty({__proto__:null,default:model1},Symbol.toStringTag,{value:"Module"})),model2=""+new URL("model-2-aedda1e7.svg",import.meta.url).href,__vite_glob_0_21=Object.freeze(Object.defineProperty({__proto__:null,default:model2},Symbol.toStringTag,{value:"Module"})),model3=""+new URL("model-3-f6cc2e96.svg",import.meta.url).href,__vite_glob_0_22=Object.freeze(Object.defineProperty({__proto__:null,default:model3},Symbol.toStringTag,{value:"Module"})),modelType$1=""+new URL("modelType-7dff5016.svg",import.meta.url).href,__vite_glob_0_23=Object.freeze(Object.defineProperty({__proto__:null,default:modelType$1},Symbol.toStringTag,{value:"Module"})),musicList=""+new URL("music-list-8ad9f128.svg",import.meta.url).href,__vite_glob_0_24=Object.freeze(Object.defineProperty({__proto__:null,default:musicList},Symbol.toStringTag,{value:"Module"})),musicList1=""+new URL("music-list1-16180b5c.svg",import.meta.url).href,__vite_glob_0_25=Object.freeze(Object.defineProperty({__proto__:null,default:musicList1},Symbol.toStringTag,{value:"Module"})),music$1=""+new URL("music-855d26de.svg",import.meta.url).href,__vite_glob_0_26=Object.freeze(Object.defineProperty({__proto__:null,default:music$1},Symbol.toStringTag,{value:"Module"})),part=""+new URL("part-7184ecd4.svg",import.meta.url).href,__vite_glob_0_27=Object.freeze(Object.defineProperty({__proto__:null,default:part},Symbol.toStringTag,{value:"Module"})),pause$2=""+new URL("pause-1f3a158e.svg",import.meta.url).href,__vite_glob_0_28=Object.freeze(Object.defineProperty({__proto__:null,default:pause$2},Symbol.toStringTag,{value:"Module"})),play$2=""+new URL("play-4cb46bbb.svg",import.meta.url).href,__vite_glob_0_29=Object.freeze(Object.defineProperty({__proto__:null,default:play$2},Symbol.toStringTag,{value:"Module"})),practice=""+new URL("practice-a1fec217.svg",import.meta.url).href,__vite_glob_0_30=Object.freeze(Object.defineProperty({__proto__:null,default:practice},Symbol.toStringTag,{value:"Module"})),practise=""+new URL("practise-cdd135b3.svg",import.meta.url).href,__vite_glob_0_31=Object.freeze(Object.defineProperty({__proto__:null,default:practise},Symbol.toStringTag,{value:"Module"})),record=""+new URL("record-214e6a6d.svg",import.meta.url).href,__vite_glob_0_32=Object.freeze(Object.defineProperty({__proto__:null,default:record},Symbol.toStringTag,{value:"Module"})),resetShengyin=""+new URL("reset-shengyin-af688c9a.svg",import.meta.url).href,__vite_glob_0_33=Object.freeze(Object.defineProperty({__proto__:null,default:resetShengyin},Symbol.toStringTag,{value:"Module"})),reset=""+new URL("reset-06fcc2d3.svg",import.meta.url).href,__vite_glob_0_34=Object.freeze(Object.defineProperty({__proto__:null,default:reset},Symbol.toStringTag,{value:"Module"})),restore=""+new URL("restore-3a4a6db3.svg",import.meta.url).href,__vite_glob_0_35=Object.freeze(Object.defineProperty({__proto__:null,default:restore},Symbol.toStringTag,{value:"Module"})),section$1=""+new URL("section-f9765b45.svg",import.meta.url).href,__vite_glob_0_36=Object.freeze(Object.defineProperty({__proto__:null,default:section$1},Symbol.toStringTag,{value:"Module"})),section1$1=""+new URL("section1-8f6086dd.svg",import.meta.url).href,__vite_glob_0_37=Object.freeze(Object.defineProperty({__proto__:null,default:section1$1},Symbol.toStringTag,{value:"Module"})),section2$1=""+new URL("section2-7715197f.svg",import.meta.url).href,__vite_glob_0_38=Object.freeze(Object.defineProperty({__proto__:null,default:section2$1},Symbol.toStringTag,{value:"Module"})),setting$2=""+new URL("setting-d2c48eac.svg",import.meta.url).href,__vite_glob_0_39=Object.freeze(Object.defineProperty({__proto__:null,default:setting$2},Symbol.toStringTag,{value:"Module"})),shuodiaoActive=""+new URL("shuodiao-active-6b157b93.svg",import.meta.url).href,__vite_glob_0_40=Object.freeze(Object.defineProperty({__proto__:null,default:shuodiaoActive},Symbol.toStringTag,{value:"Module"})),shuodiao=""+new URL("shuodiao-da855d30.svg",import.meta.url).href,__vite_glob_0_41=Object.freeze(Object.defineProperty({__proto__:null,default:shuodiao},Symbol.toStringTag,{value:"Module"})),speed$2=""+new URL("speed-256b84ef.svg",import.meta.url).href,__vite_glob_0_42=Object.freeze(Object.defineProperty({__proto__:null,default:speed$2},Symbol.toStringTag,{value:"Module"})),staff=""+new URL("staff-f226ff22.svg",import.meta.url).href,__vite_glob_0_43=Object.freeze(Object.defineProperty({__proto__:null,default:staff},Symbol.toStringTag,{value:"Module"})),start$3=""+new URL("start-7b27072b.svg",import.meta.url).href,__vite_glob_0_44=Object.freeze(Object.defineProperty({__proto__:null,default:start$3},Symbol.toStringTag,{value:"Module"})),stop=""+new URL("stop-e36ceb44.svg",import.meta.url).href,__vite_glob_0_45=Object.freeze(Object.defineProperty({__proto__:null,default:stop},Symbol.toStringTag,{value:"Module"})),taskBg=""+new URL("task-bg-859300d7.svg",import.meta.url).href,__vite_glob_0_46=Object.freeze(Object.defineProperty({__proto__:null,default:taskBg},Symbol.toStringTag,{value:"Module"})),tuning=""+new URL("tuning-4b86afaf.svg",import.meta.url).href,__vite_glob_0_47=Object.freeze(Object.defineProperty({__proto__:null,default:tuning},Symbol.toStringTag,{value:"Module"})),volPlus=""+new URL("vol-plus-8301fc70.svg",import.meta.url).href,__vite_glob_0_48=Object.freeze(Object.defineProperty({__proto__:null,default:volPlus},Symbol.toStringTag,{value:"Module"})),vol=""+new URL("vol-4b3b0407.svg",import.meta.url).href,__vite_glob_0_49=Object.freeze(Object.defineProperty({__proto__:null,default:vol},Symbol.toStringTag,{value:"Module"})),____=""+new URL("评测记录-5949e468.svg",import.meta.url).href,__vite_glob_0_50=Object.freeze(Object.defineProperty({__proto__:null,default:____},Symbol.toStringTag,{value:"Module"})),getAssetsHomeFile=j=>{var R;const D=`./icons/${j}.svg`;return(R=Object.assign({"./icons/accompaniment.svg":__vite_glob_0_0$1,"./icons/back.svg":__vite_glob_0_1$1,"./icons/background-close.svg":__vite_glob_0_2,"./icons/background.svg":__vite_glob_0_3,"./icons/camera.svg":__vite_glob_0_4,"./icons/equilibrium.svg":__vite_glob_0_5,"./icons/evaluating.svg":__vite_glob_0_6,"./icons/fingeringOff.svg":__vite_glob_0_7,"./icons/fingeringOn.svg":__vite_glob_0_8,"./icons/guding-active.svg":__vite_glob_0_9,"./icons/guding.svg":__vite_glob_0_10,"./icons/icon-back.svg":__vite_glob_0_11,"./icons/icon-evaluatingEnd.svg":__vite_glob_0_12,"./icons/icon-evaluatingStart.svg":__vite_glob_0_13,"./icons/icon-staff-active.svg":__vite_glob_0_14,"./icons/icon-staff.svg":__vite_glob_0_15,"./icons/icon-zhuanpu.svg":__vite_glob_0_16,"./icons/jia.svg":__vite_glob_0_17,"./icons/jian.svg":__vite_glob_0_18,"./icons/jianpu.svg":__vite_glob_0_19,"./icons/model-1.svg":__vite_glob_0_20,"./icons/model-2.svg":__vite_glob_0_21,"./icons/model-3.svg":__vite_glob_0_22,"./icons/modelType.svg":__vite_glob_0_23,"./icons/music-list.svg":__vite_glob_0_24,"./icons/music-list1.svg":__vite_glob_0_25,"./icons/music.svg":__vite_glob_0_26,"./icons/part.svg":__vite_glob_0_27,"./icons/pause.svg":__vite_glob_0_28,"./icons/play.svg":__vite_glob_0_29,"./icons/practice.svg":__vite_glob_0_30,"./icons/practise.svg":__vite_glob_0_31,"./icons/record.svg":__vite_glob_0_32,"./icons/reset-shengyin.svg":__vite_glob_0_33,"./icons/reset.svg":__vite_glob_0_34,"./icons/restore.svg":__vite_glob_0_35,"./icons/section.svg":__vite_glob_0_36,"./icons/section1.svg":__vite_glob_0_37,"./icons/section2.svg":__vite_glob_0_38,"./icons/setting.svg":__vite_glob_0_39,"./icons/shuodiao-active.svg":__vite_glob_0_40,"./icons/shuodiao.svg":__vite_glob_0_41,"./icons/speed.svg":__vite_glob_0_42,"./icons/staff.svg":__vite_glob_0_43,"./icons/start.svg":__vite_glob_0_44,"./icons/stop.svg":__vite_glob_0_45,"./icons/task-bg.svg":__vite_glob_0_46,"./icons/tuning.svg":__vite_glob_0_47,"./icons/vol-plus.svg":__vite_glob_0_48,"./icons/vol.svg":__vite_glob_0_49,"./icons/评测记录.svg":__vite_glob_0_50})[D])==null?void 0:R.default},ButtonIcon=defineComponent({name:"ButtonIcon",props:{name:{type:String}},setup(j){return()=>j.name?createVNode("img",{src:getAssetsHomeFile(j.name)},null):null}}),container$2="_container_13wur_1",moreButton="_moreButton_13wur_30",centerButton="_centerButton_13wur_34",leftButton="_leftButton_13wur_39",title$5="_title_13wur_51",album="_album_13wur_55",button$1="_button_13wur_59",hasText$1="_hasText_13wur_67",bigIcon$1="_bigIcon_13wur_90",evaluatBtn="_evaluatBtn_13wur_97",start$2="_start_13wur_100",icon="_icon_13wur_115",onShow="_onShow_13wur_118",popover="_popover_13wur_121",backbtn="_backbtn_13wur_128",titleWrap="_titleWrap_13wur_134",speed$1="_speed_13wur_137",schedule="_schedule_13wur_185",ring="_ring_13wur_191",speedButton="_speedButton_13wur_201",label$1="_label_13wur_204",player="_player_13wur_215",fullbtn="_fullbtn_13wur_223",finish="_finish_13wur_232",dialogueBox="_dialogueBox_13wur_282",dialogue="_dialogue_13wur_282",inRadio="_inRadio_13wur_308",animation="_animation_13wur_324",btnMusicList="_btnMusicList_13wur_329",toggleMusicType="_toggleMusicType_13wur_341",slider$2="_slider_13wur_374",followEndBtn="_followEndBtn_13wur_401",styles$e={container:container$2,moreButton,centerButton,leftButton,title:title$5,album,button:button$1,hasText:hasText$1,bigIcon:bigIcon$1,evaluatBtn,start:start$2,icon,onShow,popover,backbtn,titleWrap,speed:speed$1,schedule,ring,speedButton,label:label$1,player,fullbtn,finish,dialogueBox,dialogue,inRadio,animation,btnMusicList,toggleMusicType,slider:slider$2,followEndBtn},title$4="_title_15rit_4",strong="_strong_15rit_10",speed="_speed_15rit_1",background$1="_background_15rit_21",slider$1="_slider_15rit_54",show$1="_show_15rit_104",styles$d={"speed-change":"_speed-change_15rit_1",title:title$4,strong,speed,background:background$1,slider:slider$1,"speed-button":"_speed-button_15rit_61","custom-button":"_custom-button_15rit_66",show:show$1},arrow="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iOXB4IiBoZWlnaHQ9IjEycHgiIHZpZXdCb3g9I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zVwUEq3ycS4UoM1e6ocziJsN1rtMme1sFCZvWLYY3cJjDRa3crf8/Flg/BcELrd95bvvvtuS6wOzc6U+xYWWba3wEFQA+XWPEcStJrlCova25VGtcnkfni2UgFCBjcrKOcKa+LLnaV2pd311yn3lWsD7e6StjfbEJcrNAH9EB0Gw7/ITCxqXWs3lvpgAbad6/bTdmmgDjByVkYD9MM4UKXVh5TQeWRnmXZby0ajlN0Z7GoGc7FMFbYNddzpRcG47SxrIGKiQZ/YLggWDEHlYBbOUCozzpoRS6JnaUCJDEChfDefMayUy1EVHNllP3vdVJxcUioxu0MUlpow2mIkY5IPERAmzUN8Jnp3F2gJ2FyvtkQvZA4NyCaBFc9vWmCWUoPhYNK5rUB1sVRpLThWRXnzzAdq10ogAtFrtqvs+9Rsl2rN1kCpp1nt7W3NLDVa1ZH51pkn+9uvfceBpugQkisJeW3OJ83qc/75cnfve9/7lr99z8pEFzyk9MlPPhzp3pCnuXvd2PJ3L8/j7tvvPjIEPLSGvicWl9NkMSkdPtUo7d1TPKV07PTWPM2hdBX/snAoLicH8HxE2JZdLvP36d+mdPQy32XRR9OmuWr30CXSbN0Q/dX0+IGUdmxk77oVYWEXk/DvyyJuu3qoe3f+7uVj6yLdJ/PnN7zh+uy792UR+SW95z3vuSC/PDkXtVHOxecjL3v3/wJIUpaz/W3AngAAAABJRU5ErkJggg==",Icons={arrow,background,evaluating:evaluating$1,evaluating2,menu,minus,music,pause:pause$1,play:play$1,plus,replay,section0,section1,section2,setting:setting$1,studen},state$1=reactive({speed:90,showHint:!1}),Speed=defineComponent({name:"speed",props:{changed:{type:Function,default:j=>{}},updateSpeed:{type:Function,default:j=>{}},mode:{type:String},changeMode:{type:Function,default:j=>{}},lib:{type:Object}},setup(j){var X;const{lib:D}=toRefs(j);state$1.speed=(X=D.value)==null?void 0:X.speed;const B=()=>{state$1.showHint=!0},R=()=>{state$1.showHint=!1},F=W=>{state$1.speed=W,j.changed(state$1.speed)},U=W=>{state$1.speed=W,j.updateSpeed(state$1.speed)},Y=()=>{state$1.speed=Math.max(state$1.speed-1,45),j.changed(state$1.speed)},q=()=>{state$1.speed=Math.min(state$1.speed+1,270),j.changed(state$1.speed)};return()=>createVNode("div",{class:styles$d["speed-change"]},[createVNode("div",{class:styles$d.speed},[createVNode("div",null,[createVNode(Button,{color:"#01C1B5",icon:Icons.plus,type:"primary",size:"mini",round:!0,disabled:state$1.speed==270,onClick:q},null),createVNode(Slider,{class:styles$d.slider,max:270,min:45,barHeight:"3px",buttonSize:"18px",modelValue:315-state$1.speed,"onUpdate:modelValue":W=>U(315-W),step:"1",vertical:!0,activeColor:"#ebedf0",onChange:W=>F(315-W),onDragStart:B,onDragEnd:R},{button:()=>createVNode("div",{class:styles$d["custom-button"]},[createVNode("span",null,[state$1.speed]),createVNode("div",{class:classnames(styles$d.title)},[createVNode("span",{class:styles$d.strong},[state$1.speed])])])}),createVNode(Button,{class:styles$d.min,color:"#01C1B5",icon:Icons.minus,type:"primary",size:"mini",round:!0,disabled:state$1.speed==45,onClick:Y},null),createVNode(Button,{class:styles$d.reset,color:"#01C1B5",icon:Icons.minus,type:"primary",size:"mini",round:!0,onClick:()=>{var W;state$2.activeDetail&&F((W=state$2.activeDetail)==null?void 0:W.originalSpeed)}},null)])])])},methods:{resetSpeed(){var j,D;state$1.speed=(j=this.lib)==null?void 0:j.speed,this.changed((D=this.lib)==null?void 0:D.speed)},refUpdateSpeed(j){state$1.speed=j,this.updateSpeed(state$1.speed)}}}),close$1="_close_1xean_1",bg$1="_bg_1xean_12",styles$c={close:close$1,bg:bg$1},iconColse=""+new URL("close-c15efc4b.svg",import.meta.url).href,Popups=defineComponent({name:"ColexiuPopup",props:{data:{type:Object,default:()=>null},zIndex:{type:Number,default:void 0},closeable:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},style:{type:Object}},setup(j,{slots:D,expose:B}){const R=ref(!1),F=ref(!1),U=()=>{R.value=!0,F.value=!0},Y=()=>{R.value=!1},q=()=>{F.value=!1};return B({show:R,close:()=>{R.value=!1},onShow:U,onClose:Y,onClosed:q}),()=>createVNode(Popup,{show:R.value,zIndex:j.zIndex,onClose:Y,onClosed:q,teleport:"body",onClickOverlay:Y,overlay:j.overlay,round:!0,closeable:!1,style:{...j.style},class:styles$c.bg},{default:()=>[F.value&&D.default&&D.default(j),j.closeable&&createVNode(Icon,{class:styles$c.close,name:iconColse,onClick:Y},null)]})}}),title$3="_title_184ej_1",wrap$3="_wrap_184ej_8",item$1="_item_184ej_14",label="_label_184ej_18",styles$b={title:title$3,wrap:wrap$3,item:item$1,label},sliderClass={"active-color":"#FFB871","inactive-color":"#EAEAEA","button-size":"14"},Equalizer=defineComponent({name:"ColexiuEqualizer",setup(){const j=ref(10);return()=>createVNode("div",{class:"containerPopups"},[createVNode("div",{class:styles$b.title},[createTextVNode("均衡器")]),createVNode("div",{class:styles$b.wrap},[createVNode("div",{class:styles$b.item},[createVNode("span",{class:styles$b.label},[createTextVNode("节拍器")]),createVNode(Slider,mergeProps({modelValue:j.value,"onUpdate:modelValue":D=>j.value=D},sliderClass),null)]),createVNode(Divider,null,null),createVNode("div",{class:styles$b.item},[createVNode("span",{class:styles$b.label},[createTextVNode("伴奏")]),createVNode(Slider,mergeProps({modelValue:j.value,"onUpdate:modelValue":D=>j.value=D},sliderClass),null)]),createVNode(Divider,null,null),createVNode("div",{class:styles$b.item},[createVNode("span",{class:styles$b.label},[createTextVNode("长笛")]),createVNode(Slider,mergeProps({modelValue:j.value,"onUpdate:modelValue":D=>j.value=D},sliderClass),null)]),createVNode(Divider,null,null),createVNode("div",{class:styles$b.item},[createVNode("span",{class:styles$b.label},[createTextVNode("萨克斯")]),createVNode(Slider,mergeProps({modelValue:j.value,"onUpdate:modelValue":D=>j.value=D},sliderClass),null)]),createVNode(Divider,null,null),createVNode("div",{class:styles$b.item},[createVNode("span",{class:styles$b.label},[createTextVNode("单簧管")]),createVNode(Slider,mergeProps({modelValue:j.value,"onUpdate:modelValue":D=>j.value=D},sliderClass),null)]),createVNode(Divider,null,null),createVNode("div",{class:styles$b.item},[createVNode("span",{class:styles$b.label},[createTextVNode("长号")]),createVNode(Slider,mergeProps({modelValue:j.value,"onUpdate:modelValue":D=>j.value=D},sliderClass),null)])])])}}),container$1="_container_la5im_1",title$2="_title_la5im_5",practiseBtn="_practiseBtn_la5im_12",wrap$2="_wrap_la5im_21",styles$a={container:container$1,title:title$2,practiseBtn,wrap:wrap$2};function _isSlot$3(j){return typeof j=="function"||Object.prototype.toString.call(j)==="[object Object]"&&!isVNode(j)}const search$6=useOriginSearch(),Part=defineComponent({name:"ColexiuPart",setup(){const j=Number(search$6["part-index"])||0,D=ref(state$2.partListNames[j]),B=()=>{const R=state$2.partListNames.indexOf(D.value);D.value=state$2.partListNames[R];const F=queryString.stringify({...search$6,"part-index":R});location.search=F};return()=>{let R;return createVNode("div",{class:["containerPopups",styles$a.container]},[createVNode("div",{class:styles$a.title},[createTextVNode("声部选择")]),createVNode("div",{class:styles$a.wrap},[createVNode(RadioGroup,{modelValue:D.value,"onUpdate:modelValue":F=>D.value=F},_isSlot$3(R=state$2.partListNames.map(F=>createVNode(Radio,{name:F},_isSlot$3(F)?F:{default:()=>[F]})))?R:{default:()=>[R]})]),createVNode("div",{style:{display:"flex",justifyContent:"center"}},[createVNode(Button,{class:styles$a.practiseBtn,onClick:B},null)])])}}}),partPopup=ref(null),equalizerPopup=ref(null),FloatWraper=defineComponent({name:"ColuxiuFloatWraper",setup(){return()=>createVNode(Fragment,null,[createVNode(Popups,{ref:partPopup,style:{borderRadius:"8px"}},{default:()=>[createVNode(Part,null,null)]}),createVNode(Popups,{ref:equalizerPopup,style:{borderRadius:"8px"}},{default:()=>[createVNode(Equalizer,null,null)]})])}});function _taggedTemplateLiteral(j,D){return D||(D=j.slice(0)),Object.freeze(Object.defineProperties(j,{raw:{value:Object.freeze(D)}}))}function __decorate(j,D,B,R){var F,U=arguments.length,Y=U<3?D:R===null?R=Object.getOwnPropertyDescriptor(D,B):R;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Y=Reflect.decorate(j,D,B,R);else for(var q=j.length-1;q>=0;q--)(F=j[q])&&(Y=(U<3?F(Y):U>3?F(D,B,Y):F(D,B))||Y);return U>3&&Y&&Object.defineProperty(D,B,Y),Y}/**
  635. * @license
  636. * Copyright 2019 Google LLC
  637. * SPDX-License-Identifier: BSD-3-Clause
  638. */const t$3=window.ShadowRoot&&(window.ShadyCSS===void 0||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e$8=Symbol(),n$5=new Map;class s$3{constructor(D,B){if(this._$cssResult$=!0,B!==e$8)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=D}get styleSheet(){let D=n$5.get(this.cssText);return t$3&&D===void 0&&(n$5.set(this.cssText,D=new CSSStyleSheet),D.replaceSync(this.cssText)),D}toString(){return this.cssText}}const o$5=j=>new s$3(typeof j=="string"?j:j+"",e$8),r$3=(j,...D)=>{const B=j.length===1?j[0]:D.reduce((R,F,U)=>R+(Y=>{if(Y._$cssResult$===!0)return Y.cssText;if(typeof Y=="number")return Y;throw Error("Value passed to 'css' function must be a 'css' function result: "+Y+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(F)+j[U+1],j[0]);return new s$3(B,e$8)},i$3=(j,D)=>{t$3?j.adoptedStyleSheets=D.map(B=>B instanceof CSSStyleSheet?B:B.styleSheet):D.forEach(B=>{const R=document.createElement("style"),F=window.litNonce;F!==void 0&&R.setAttribute("nonce",F),R.textContent=B.cssText,j.appendChild(R)})},S$1=t$3?j=>j:j=>j instanceof CSSStyleSheet?(D=>{let B="";for(const R of D.cssRules)B+=R.cssText;return o$5(B)})(j):j;var s$2;const e$7=window.trustedTypes,r$2=e$7?e$7.emptyScript:"",h$2=window.reactiveElementPolyfillSupport,o$4={toAttribute(j,D){switch(D){case Boolean:j=j?r$2:null;break;case Object:case Array:j=j==null?j:JSON.stringify(j)}return j},fromAttribute(j,D){let B=j;switch(D){case Boolean:B=j!==null;break;case Number:B=j===null?null:Number(j);break;case Object:case Array:try{B=JSON.parse(j)}catch{B=null}}return B}},n$4=(j,D)=>D!==j&&(D==D||j==j),l$3={attribute:!0,type:String,converter:o$4,reflect:!1,hasChanged:n$4};class a$1 extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(D){var B;(B=this.l)!==null&&B!==void 0||(this.l=[]),this.l.push(D)}static get observedAttributes(){this.finalize();const D=[];return this.elementProperties.forEach((B,R)=>{const F=this._$Eh(R,B);F!==void 0&&(this._$Eu.set(F,R),D.push(F))}),D}static createProperty(D,B=l$3){if(B.state&&(B.attribute=!1),this.finalize(),this.elementProperties.set(D,B),!B.noAccessor&&!this.prototype.hasOwnProperty(D)){const R=typeof D=="symbol"?Symbol():"__"+D,F=this.getPropertyDescriptor(D,R,B);F!==void 0&&Object.defineProperty(this.prototype,D,F)}}static getPropertyDescriptor(D,B,R){return{get(){return this[B]},set(F){const U=this[D];this[B]=F,this.requestUpdate(D,U,R)},configurable:!0,enumerable:!0}}static getPropertyOptions(D){return this.elementProperties.get(D)||l$3}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const D=Object.getPrototypeOf(this);if(D.finalize(),this.elementProperties=new Map(D.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){const B=this.properties,R=[...Object.getOwnPropertyNames(B),...Object.getOwnPropertySymbols(B)];for(const F of R)this.createProperty(F,B[F])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(D){const B=[];if(Array.isArray(D)){const R=new Set(D.flat(1/0).reverse());for(const F of R)B.unshift(S$1(F))}else D!==void 0&&B.push(S$1(D));return B}static _$Eh(D,B){const R=B.attribute;return R===!1?void 0:typeof R=="string"?R:typeof D=="string"?D.toLowerCase():void 0}o(){var D;this._$Ep=new Promise(B=>this.enableUpdating=B),this._$AL=new Map,this._$Em(),this.requestUpdate(),(D=this.constructor.l)===null||D===void 0||D.forEach(B=>B(this))}addController(D){var B,R;((B=this._$Eg)!==null&&B!==void 0?B:this._$Eg=[]).push(D),this.renderRoot!==void 0&&this.isConnected&&((R=D.hostConnected)===null||R===void 0||R.call(D))}removeController(D){var B;(B=this._$Eg)===null||B===void 0||B.splice(this._$Eg.indexOf(D)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach((D,B)=>{this.hasOwnProperty(B)&&(this._$Et.set(B,this[B]),delete this[B])})}createRenderRoot(){var D;const B=(D=this.shadowRoot)!==null&&D!==void 0?D:this.attachShadow(this.constructor.shadowRootOptions);return i$3(B,this.constructor.elementStyles),B}connectedCallback(){var D;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(D=this._$Eg)===null||D===void 0||D.forEach(B=>{var R;return(R=B.hostConnected)===null||R===void 0?void 0:R.call(B)})}enableUpdating(D){}disconnectedCallback(){var D;(D=this._$Eg)===null||D===void 0||D.forEach(B=>{var R;return(R=B.hostDisconnected)===null||R===void 0?void 0:R.call(B)})}attributeChangedCallback(D,B,R){this._$AK(D,R)}_$ES(D,B,R=l$3){var F,U;const Y=this.constructor._$Eh(D,R);if(Y!==void 0&&R.reflect===!0){const q=((U=(F=R.converter)===null||F===void 0?void 0:F.toAttribute)!==null&&U!==void 0?U:o$4.toAttribute)(B,R.type);this._$Ei=D,q==null?this.removeAttribute(Y):this.setAttribute(Y,q),this._$Ei=null}}_$AK(D,B){var R,F,U;const Y=this.constructor,q=Y._$Eu.get(D);if(q!==void 0&&this._$Ei!==q){const X=Y.getPropertyOptions(q),W=X.converter,K=(U=(F=(R=W)===null||R===void 0?void 0:R.fromAttribute)!==null&&F!==void 0?F:typeof W=="function"?W:null)!==null&&U!==void 0?U:o$4.fromAttribute;this._$Ei=q,this[q]=K(B,X.type),this._$Ei=null}}requestUpdate(D,B,R){let F=!0;D!==void 0&&(((R=R||this.constructor.getPropertyOptions(D)).hasChanged||n$4)(this[D],B)?(this._$AL.has(D)||this._$AL.set(D,B),R.reflect===!0&&this._$Ei!==D&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(D,R))):F=!1),!this.isUpdatePending&&F&&(this._$Ep=this._$E_())}async _$E_(){this.isUpdatePending=!0;try{await this._$Ep}catch(B){Promise.reject(B)}const D=this.scheduleUpdate();return D!=null&&await D,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var D;if(!this.isUpdatePending)return;this.hasUpdated,this._$Et&&(this._$Et.forEach((F,U)=>this[U]=F),this._$Et=void 0);let B=!1;const R=this._$AL;try{B=this.shouldUpdate(R),B?(this.willUpdate(R),(D=this._$Eg)===null||D===void 0||D.forEach(F=>{var U;return(U=F.hostUpdate)===null||U===void 0?void 0:U.call(F)}),this.update(R)):this._$EU()}catch(F){throw B=!1,this._$EU(),F}B&&this._$AE(R)}willUpdate(D){}_$AE(D){var B;(B=this._$Eg)===null||B===void 0||B.forEach(R=>{var F;return(F=R.hostUpdated)===null||F===void 0?void 0:F.call(R)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(D)),this.updated(D)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(D){return!0}update(D){this._$EC!==void 0&&(this._$EC.forEach((B,R)=>this._$ES(R,this[R],B)),this._$EC=void 0),this._$EU()}updated(D){}firstUpdated(D){}}/**
  639. * @license
  640. * Copyright 2017 Google LLC
  641. * SPDX-License-Identifier: BSD-3-Clause
  642. */var t$2;a$1.finalized=!0,a$1.elementProperties=new Map,a$1.elementStyles=[],a$1.shadowRootOptions={mode:"open"},h$2==null||h$2({ReactiveElement:a$1}),((s$2=globalThis.reactiveElementVersions)!==null&&s$2!==void 0?s$2:globalThis.reactiveElementVersions=[]).push("1.3.1");const i$2=globalThis.trustedTypes,s$1=i$2?i$2.createPolicy("lit-html",{createHTML:j=>j}):void 0,e$6=`lit$${(Math.random()+"").slice(9)}$`,o$3="?"+e$6,n$3=`<${o$3}>`,l$2=document,h$1=(j="")=>l$2.createComment(j),r$1=j=>j===null||typeof j!="object"&&typeof j!="function",d=Array.isArray,u$1=j=>{var D;return d(j)||typeof((D=j)===null||D===void 0?void 0:D[Symbol.iterator])=="function"},c$2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,a$2=/>/g,f$1=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,_$1=/'/g,m$2=/"/g,g=/^(?:script|style|textarea|title)$/i,p$1=j=>(D,...B)=>({_$litType$:j,strings:D,values:B}),$=p$1(1),b=Symbol.for("lit-noChange"),w=Symbol.for("lit-nothing"),T$1=new WeakMap,x=(j,D,B)=>{var R,F;const U=(R=B==null?void 0:B.renderBefore)!==null&&R!==void 0?R:D;let Y=U._$litPart$;if(Y===void 0){const q=(F=B==null?void 0:B.renderBefore)!==null&&F!==void 0?F:null;U._$litPart$=Y=new N$1(D.insertBefore(h$1(),q),q,void 0,B??{})}return Y._$AI(j),Y},A=l$2.createTreeWalker(l$2,129,null,!1),C=(j,D)=>{const B=j.length-1,R=[];let F,U=D===2?"<svg>":"",Y=c$2;for(let X=0;X<B;X++){const W=j[X];let K,G,Z=-1,Q=0;for(;Q<W.length&&(Y.lastIndex=Q,G=Y.exec(W),G!==null);)Q=Y.lastIndex,Y===c$2?G[1]==="!--"?Y=v$1:G[1]!==void 0?Y=a$2:G[2]!==void 0?(g.test(G[2])&&(F=RegExp("</"+G[2],"g")),Y=f$1):G[3]!==void 0&&(Y=f$1):Y===f$1?G[0]===">"?(Y=F??c$2,Z=-1):G[1]===void 0?Z=-2:(Z=Y.lastIndex-G[2].length,K=G[1],Y=G[3]===void 0?f$1:G[3]==='"'?m$2:_$1):Y===m$2||Y===_$1?Y=f$1:Y===v$1||Y===a$2?Y=c$2:(Y=f$1,F=void 0);const te=Y===f$1&&j[X+1].startsWith("/>")?" ":"";U+=Y===c$2?W+n$3:Z>=0?(R.push(K),W.slice(0,Z)+"$lit$"+W.slice(Z)+e$6+te):W+e$6+(Z===-2?(R.push(void 0),X):te)}const q=U+(j[B]||"<?>")+(D===2?"</svg>":"");if(!Array.isArray(j)||!j.hasOwnProperty("raw"))throw Error("invalid template strings array");return[s$1!==void 0?s$1.createHTML(q):q,R]};class E{constructor({strings:D,_$litType$:B},R){let F;this.parts=[];let U=0,Y=0;const q=D.length-1,X=this.parts,[W,K]=C(D,B);if(this.el=E.createElement(W,R),A.currentNode=this.el.content,B===2){const G=this.el.content,Z=G.firstChild;Z.remove(),G.append(...Z.childNodes)}for(;(F=A.nextNode())!==null&&X.length<q;){if(F.nodeType===1){if(F.hasAttributes()){const G=[];for(const Z of F.getAttributeNames())if(Z.endsWith("$lit$")||Z.startsWith(e$6)){const Q=K[Y++];if(G.push(Z),Q!==void 0){const te=F.getAttribute(Q.toLowerCase()+"$lit$").split(e$6),re=/([.?@])?(.*)/.exec(Q);X.push({type:1,index:U,name:re[2],strings:te,ctor:re[1]==="."?M:re[1]==="?"?H:re[1]==="@"?I:S})}else X.push({type:6,index:U})}for(const Z of G)F.removeAttribute(Z)}if(g.test(F.tagName)){const G=F.textContent.split(e$6),Z=G.length-1;if(Z>0){F.textContent=i$2?i$2.emptyScript:"";for(let Q=0;Q<Z;Q++)F.append(G[Q],h$1()),A.nextNode(),X.push({type:2,index:++U});F.append(G[Z],h$1())}}}else if(F.nodeType===8)if(F.data===o$3)X.push({type:2,index:U});else{let G=-1;for(;(G=F.data.indexOf(e$6,G+1))!==-1;)X.push({type:7,index:U}),G+=e$6.length-1}U++}}static createElement(D,B){const R=l$2.createElement("template");return R.innerHTML=D,R}}function P(j,D,B=j,R){var F,U,Y,q;if(D===b)return D;let X=R!==void 0?(F=B._$Cl)===null||F===void 0?void 0:F[R]:B._$Cu;const W=r$1(D)?void 0:D._$litDirective$;return(X==null?void 0:X.constructor)!==W&&((U=X==null?void 0:X._$AO)===null||U===void 0||U.call(X,!1),W===void 0?X=void 0:(X=new W(j),X._$AT(j,B,R)),R!==void 0?((Y=(q=B)._$Cl)!==null&&Y!==void 0?Y:q._$Cl=[])[R]=X:B._$Cu=X),X!==void 0&&(D=P(j,X._$AS(j,D.values),X,R)),D}class V{constructor(D,B){this.v=[],this._$AN=void 0,this._$AD=D,this._$AM=B}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(D){var B;const{el:{content:R},parts:F}=this._$AD,U=((B=D==null?void 0:D.creationScope)!==null&&B!==void 0?B:l$2).importNode(R,!0);A.currentNode=U;let Y=A.nextNode(),q=0,X=0,W=F[0];for(;W!==void 0;){if(q===W.index){let K;W.type===2?K=new N$1(Y,Y.nextSibling,this,D):W.type===1?K=new W.ctor(Y,W.name,W.strings,this,D):W.type===6&&(K=new L(Y,this,D)),this.v.push(K),W=F[++X]}q!==(W==null?void 0:W.index)&&(Y=A.nextNode(),q++)}return U}m(D){let B=0;for(const R of this.v)R!==void 0&&(R.strings!==void 0?(R._$AI(D,R,B),B+=R.strings.length-2):R._$AI(D[B])),B++}}let N$1=class{constructor(D,B,R,F){var U;this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=D,this._$AB=B,this._$AM=R,this.options=F,this._$Cg=(U=F==null?void 0:F.isConnected)===null||U===void 0||U}get _$AU(){var D,B;return(B=(D=this._$AM)===null||D===void 0?void 0:D._$AU)!==null&&B!==void 0?B:this._$Cg}get parentNode(){let D=this._$AA.parentNode;const B=this._$AM;return B!==void 0&&D.nodeType===11&&(D=B.parentNode),D}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(D,B=this){D=P(this,D,B),r$1(D)?D===w||D==null||D===""?(this._$AH!==w&&this._$AR(),this._$AH=w):D!==this._$AH&&D!==b&&this.$(D):D._$litType$!==void 0?this.T(D):D.nodeType!==void 0?this.k(D):u$1(D)?this.S(D):this.$(D)}A(D,B=this._$AB){return this._$AA.parentNode.insertBefore(D,B)}k(D){this._$AH!==D&&(this._$AR(),this._$AH=this.A(D))}$(D){this._$AH!==w&&r$1(this._$AH)?this._$AA.nextSibling.data=D:this.k(l$2.createTextNode(D)),this._$AH=D}T(D){var B;const{values:R,_$litType$:F}=D,U=typeof F=="number"?this._$AC(D):(F.el===void 0&&(F.el=E.createElement(F.h,this.options)),F);if(((B=this._$AH)===null||B===void 0?void 0:B._$AD)===U)this._$AH.m(R);else{const Y=new V(U,this),q=Y.p(this.options);Y.m(R),this.k(q),this._$AH=Y}}_$AC(D){let B=T$1.get(D.strings);return B===void 0&&T$1.set(D.strings,B=new E(D)),B}S(D){d(this._$AH)||(this._$AH=[],this._$AR());const B=this._$AH;let R,F=0;for(const U of D)F===B.length?B.push(R=new N$1(this.A(h$1()),this.A(h$1()),this,this.options)):R=B[F],R._$AI(U),F++;F<B.length&&(this._$AR(R&&R._$AB.nextSibling,F),B.length=F)}_$AR(D=this._$AA.nextSibling,B){var R;for((R=this._$AP)===null||R===void 0||R.call(this,!1,!0,B);D&&D!==this._$AB;){const F=D.nextSibling;D.remove(),D=F}}setConnected(D){var B;this._$AM===void 0&&(this._$Cg=D,(B=this._$AP)===null||B===void 0||B.call(this,D))}};class S{constructor(D,B,R,F,U){this.type=1,this._$AH=w,this._$AN=void 0,this.element=D,this.name=B,this._$AM=F,this.options=U,R.length>2||R[0]!==""||R[1]!==""?(this._$AH=Array(R.length-1).fill(new String),this.strings=R):this._$AH=w}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(D,B=this,R,F){const U=this.strings;let Y=!1;if(U===void 0)D=P(this,D,B,0),Y=!r$1(D)||D!==this._$AH&&D!==b,Y&&(this._$AH=D);else{const q=D;let X,W;for(D=U[0],X=0;X<U.length-1;X++)W=P(this,q[R+X],B,X),W===b&&(W=this._$AH[X]),Y||(Y=!r$1(W)||W!==this._$AH[X]),W===w?D=w:D!==w&&(D+=(W??"")+U[X+1]),this._$AH[X]=W}Y&&!F&&this.C(D)}C(D){D===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,D??"")}}class M extends S{constructor(){super(...arguments),this.type=3}C(D){this.element[this.name]=D===w?void 0:D}}const k=i$2?i$2.emptyScript:"";class H extends S{constructor(){super(...arguments),this.type=4}C(D){D&&D!==w?this.element.setAttribute(this.name,k):this.element.removeAttribute(this.name)}}class I extends S{constructor(D,B,R,F,U){super(D,B,R,F,U),this.type=5}_$AI(D,B=this){var R;if((D=(R=P(this,D,B,0))!==null&&R!==void 0?R:w)===b)return;const F=this._$AH,U=D===w&&F!==w||D.capture!==F.capture||D.once!==F.once||D.passive!==F.passive,Y=D!==w&&(F===w||U);U&&this.element.removeEventListener(this.name,this,F),Y&&this.element.addEventListener(this.name,this,D),this._$AH=D}handleEvent(D){var B,R;typeof this._$AH=="function"?this._$AH.call((R=(B=this.options)===null||B===void 0?void 0:B.host)!==null&&R!==void 0?R:this.element,D):this._$AH.handleEvent(D)}}class L{constructor(D,B,R){this.element=D,this.type=6,this._$AN=void 0,this._$AM=B,this.options=R}get _$AU(){return this._$AM._$AU}_$AI(D){P(this,D)}}const z=window.litHtmlPolyfillSupport;/**
  643. * @license
  644. * Copyright 2017 Google LLC
  645. * SPDX-License-Identifier: BSD-3-Clause
  646. */var l$1,o$2;z==null||z(E,N$1),((t$2=globalThis.litHtmlVersions)!==null&&t$2!==void 0?t$2:globalThis.litHtmlVersions=[]).push("2.2.1");let s$4=class extends a$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var D,B;const R=super.createRenderRoot();return(D=(B=this.renderOptions).renderBefore)!==null&&D!==void 0||(B.renderBefore=R.firstChild),R}update(D){const B=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(D),this._$Dt=x(B,this.renderRoot,this.renderOptions)}connectedCallback(){var D;super.connectedCallback(),(D=this._$Dt)===null||D===void 0||D.setConnected(!0)}disconnectedCallback(){var D;super.disconnectedCallback(),(D=this._$Dt)===null||D===void 0||D.setConnected(!1)}render(){return b}};s$4.finalized=!0,s$4._$litElement$=!0,(l$1=globalThis.litElementHydrateSupport)===null||l$1===void 0||l$1.call(globalThis,{LitElement:s$4});const n$2=globalThis.litElementPolyfillSupport;n$2==null||n$2({LitElement:s$4});((o$2=globalThis.litElementVersions)!==null&&o$2!==void 0?o$2:globalThis.litElementVersions=[]).push("3.2.0");/**
  647. * @license
  648. * Copyright 2017 Google LLC
  649. * SPDX-License-Identifier: BSD-3-Clause
  650. */const n$1=j=>D=>typeof D=="function"?((B,R)=>(window.customElements.define(B,R),R))(j,D):((B,R)=>{const{kind:F,elements:U}=R;return{kind:F,elements:U,finisher(Y){window.customElements.define(B,Y)}}})(j,D),i$1$1=(j,D)=>D.kind==="method"&&D.descriptor&&!("value"in D.descriptor)?{...D,finisher(B){B.createProperty(D.key,j)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:D.key,initializer(){typeof D.initializer=="function"&&(this[D.key]=D.initializer.call(this))},finisher(B){B.createProperty(D.key,j)}};function e$5(j){return(D,B)=>B!==void 0?((R,F,U)=>{F.constructor.createProperty(U,R)})(j,D,B):i$1$1(j,D);/**
  651. * @license
  652. * Copyright 2017 Google LLC
  653. * SPDX-License-Identifier: BSD-3-Clause
  654. */}/**
  655. * @license
  656. * Copyright 2017 Google LLC
  657. * SPDX-License-Identifier: BSD-3-Clause
  658. */const o$1=({finisher:j,descriptor:D})=>(B,R)=>{var F;if(R===void 0){const U=(F=B.originalKey)!==null&&F!==void 0?F:B.key,Y=D!=null?{kind:"method",placement:"prototype",key:U,descriptor:D(B.key)}:{...B,key:U};return j!=null&&(Y.finisher=function(q){j(q,U)}),Y}{const U=B.constructor;D!==void 0&&Object.defineProperty(B,R,D(R)),j==null||j(U,R)}};/**
  659. * @license
  660. * Copyright 2017 Google LLC
  661. * SPDX-License-Identifier: BSD-3-Clause
  662. */function i$4(j,D){return o$1({descriptor:B=>{const R={get(){var F,U;return(U=(F=this.renderRoot)===null||F===void 0?void 0:F.querySelector(j))!==null&&U!==void 0?U:null},enumerable:!0,configurable:!0};if(D){const F=typeof B=="symbol"?Symbol():"__"+B;R.get=function(){var U,Y;return this[F]===void 0&&(this[F]=(Y=(U=this.renderRoot)===null||U===void 0?void 0:U.querySelector(j))!==null&&Y!==void 0?Y:null),this[F]}}return R}})}/**
  663. * @license
  664. * Copyright 2021 Google LLC
  665. * SPDX-License-Identifier: BSD-3-Clause
  666. */var n$6;((n$6=window.HTMLSlotElement)===null||n$6===void 0?void 0:n$6.prototype.assignedElements)!=null;var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function createCommonjsModule(j,D,B){return j(B={path:D,exports:{},require:function(R,F){return commonjsRequire(R,F??B.path)}},B.exports),B.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var lottie_svg=createCommonjsModule(function(module,exports){typeof navigator<"u"&&function(j,D){module.exports=D()}(0,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(j){_useWebWorker=!!j},getWebWorker=function(){return _useWebWorker},setLocationHref=function(j){locationHref=j},getLocationHref=function(){return locationHref};function createTag(j){return document.createElement(j)}function extendPrototype(j,D){var B,R,F=j.length;for(B=0;B<F;B+=1)for(var U in R=j[B].prototype)Object.prototype.hasOwnProperty.call(R,U)&&(D.prototype[U]=R[U])}function getDescriptor(j,D){return Object.getOwnPropertyDescriptor(j,D)}function createProxyFunction(j){function D(){}return D.prototype=j,D}var audioControllerFactory=function(){function j(D){this.audios=[],this.audioFactory=D,this._volume=1,this._isMuted=!1}return j.prototype={addAudio:function(D){this.audios.push(D)},pause:function(){var D,B=this.audios.length;for(D=0;D<B;D+=1)this.audios[D].pause()},resume:function(){var D,B=this.audios.length;for(D=0;D<B;D+=1)this.audios[D].resume()},setRate:function(D){var B,R=this.audios.length;for(B=0;B<R;B+=1)this.audios[B].setRate(D)},createAudio:function(D){return this.audioFactory?this.audioFactory(D):window.Howl?new window.Howl({src:[D]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(D){this.audioFactory=D},setVolume:function(D){this._volume=D,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var D,B=this.audios.length;for(D=0;D<B;D+=1)this.audios[D].volume(this._volume*(this._isMuted?0:1))}},function(){return new j}}(),createTypedArray=function(){function j(D,B){var R,F=0,U=[];switch(D){case"int16":case"uint8c":R=1;break;default:R=1.1}for(F=0;F<B;F+=1)U.push(R);return U}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?function(D,B){return D==="float32"?new Float32Array(B):D==="int16"?new Int16Array(B):D==="uint8c"?new Uint8ClampedArray(B):j(D,B)}:j}();function createSizedArray(j){return Array.apply(null,{length:j})}function _typeof$6(j){return(_typeof$6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D})(j)}var subframeEnabled=!0,expressionsPlugin=null,idPrefix="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMin=Math.min,BMMath={};(function(){var j,D=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],B=D.length;for(j=0;j<B;j+=1)BMMath[D[j]]=Math[D[j]]})(),BMMath.random=Math.random,BMMath.abs=function(j){if(_typeof$6(j)==="object"&&j.length){var D,B=createSizedArray(j.length),R=j.length;for(D=0;D<R;D+=1)B[D]=Math.abs(j[D]);return B}return Math.abs(j)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function BMEnterFrameEvent(j,D,B,R){this.type=j,this.currentTime=D,this.totalTime=B,this.direction=R<0?-1:1}function BMCompleteEvent(j,D){this.type=j,this.direction=D<0?-1:1}function BMCompleteLoopEvent(j,D,B,R){this.type=j,this.currentLoop=B,this.totalLoops=D,this.direction=R<0?-1:1}function BMSegmentStartEvent(j,D,B){this.type=j,this.firstFrame=D,this.totalFrames=B}function BMDestroyEvent(j,D){this.type=j,this.target=D}function BMRenderFrameErrorEvent(j,D){this.type="renderFrameError",this.nativeError=j,this.currentTime=D}function BMConfigErrorEvent(j){this.type="configError",this.nativeError=j}var createElementID=(_count=0,function(){return idPrefix+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(j,D,B){var R,F,U,Y,q,X,W,K;switch(X=B*(1-D),W=B*(1-(q=6*j-(Y=Math.floor(6*j)))*D),K=B*(1-(1-q)*D),Y%6){case 0:R=B,F=K,U=X;break;case 1:R=W,F=B,U=X;break;case 2:R=X,F=B,U=K;break;case 3:R=X,F=W,U=B;break;case 4:R=K,F=X,U=B;break;case 5:R=B,F=X,U=W}return[R,F,U]}function RGBtoHSV(j,D,B){var R,F=Math.max(j,D,B),U=Math.min(j,D,B),Y=F-U,q=F===0?0:Y/F,X=F/255;switch(F){case U:R=0;break;case j:R=D-B+Y*(D<B?6:0),R/=6*Y;break;case D:R=B-j+2*Y,R/=6*Y;break;case B:R=j-D+4*Y,R/=6*Y}return[R,q,X]}function addSaturationToRGB(j,D){var B=RGBtoHSV(255*j[0],255*j[1],255*j[2]);return B[1]+=D,B[1]>1?B[1]=1:B[1]<=0&&(B[1]=0),HSVtoRGB(B[0],B[1],B[2])}function addBrightnessToRGB(j,D){var B=RGBtoHSV(255*j[0],255*j[1],255*j[2]);return B[2]+=D,B[2]>1?B[2]=1:B[2]<0&&(B[2]=0),HSVtoRGB(B[0],B[1],B[2])}function addHueToRGB(j,D){var B=RGBtoHSV(255*j[0],255*j[1],255*j[2]);return B[0]+=D/360,B[0]>1?B[0]-=1:B[0]<0&&(B[0]+=1),HSVtoRGB(B[0],B[1],B[2])}var rgbToHex=function(){var j,D,B=[];for(j=0;j<256;j+=1)D=j.toString(16),B[j]=D.length===1?"0"+D:D;return function(R,F,U){return R<0&&(R=0),F<0&&(F=0),U<0&&(U=0),"#"+B[R]+B[F]+B[U]}}(),setSubframeEnabled=function(j){subframeEnabled=!!j},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(j){expressionsPlugin=j},getExpressionsPlugin=function(){return expressionsPlugin},setDefaultCurveSegments=function(j){defaultCurveSegments=j},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(j){idPrefix=j};function createNS(j){return document.createElementNS(svgNS,j)}function _typeof$5(j){return(_typeof$5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D})(j)}var dataManager=function(){var j,D,B=1,R=[],F={onmessage:function(){},postMessage:function(X){j({data:X})}},U={postMessage:function(X){F.onmessage({data:X})}};function Y(){D||((D=function(X){if(window.Worker&&window.Blob&&getWebWorker()){var W=new Blob(["var _workerSelf = self; self.onmessage = ",X.toString()],{type:"text/javascript"}),K=URL.createObjectURL(W);return new Worker(K)}return j=X,F}(function(X){if(U.dataManager||(U.dataManager=function(){function K(ae,he){var ve,de,se,ge,be,le,pe=ae.length;for(de=0;de<pe;de+=1)if("ks"in(ve=ae[de])&&!ve.completed){if(ve.completed=!0,ve.tt&&(ae[de-1].td=ve.tt),ve.hasMask){var Se=ve.masksProperties;for(ge=Se.length,se=0;se<ge;se+=1)if(Se[se].pt.k.i)Q(Se[se].pt.k);else for(le=Se[se].pt.k.length,be=0;be<le;be+=1)Se[se].pt.k[be].s&&Q(Se[se].pt.k[be].s[0]),Se[se].pt.k[be].e&&Q(Se[se].pt.k[be].e[0])}ve.ty===0?(ve.layers=G(ve.refId,he),K(ve.layers,he)):ve.ty===4?Z(ve.shapes):ve.ty===5&&ce(ve)}}function G(ae,he){var ve=function(de,se){for(var ge=0,be=se.length;ge<be;){if(se[ge].id===de)return se[ge];ge+=1}return null}(ae,he);return ve?ve.layers.__used?JSON.parse(JSON.stringify(ve.layers)):(ve.layers.__used=!0,ve.layers):null}function Z(ae){var he,ve,de;for(he=ae.length-1;he>=0;he-=1)if(ae[he].ty==="sh")if(ae[he].ks.k.i)Q(ae[he].ks.k);else for(de=ae[he].ks.k.length,ve=0;ve<de;ve+=1)ae[he].ks.k[ve].s&&Q(ae[he].ks.k[ve].s[0]),ae[he].ks.k[ve].e&&Q(ae[he].ks.k[ve].e[0]);else ae[he].ty==="gr"&&Z(ae[he].it)}function Q(ae){var he,ve=ae.i.length;for(he=0;he<ve;he+=1)ae.i[he][0]+=ae.v[he][0],ae.i[he][1]+=ae.v[he][1],ae.o[he][0]+=ae.v[he][0],ae.o[he][1]+=ae.v[he][1]}function te(ae,he){var ve=he?he.split("."):[100,100,100];return ae[0]>ve[0]||!(ve[0]>ae[0])&&(ae[1]>ve[1]||!(ve[1]>ae[1])&&(ae[2]>ve[2]||!(ve[2]>ae[2])&&null))}var re,J=function(){var ae=[4,4,14];function he(ve){var de,se,ge,be=ve.length;for(de=0;de<be;de+=1)ve[de].ty===5&&(se=ve[de],ge=void 0,ge=se.t.d,se.t.d={k:[{s:ge,t:0}]})}return function(ve){if(te(ae,ve.v)&&(he(ve.layers),ve.assets)){var de,se=ve.assets.length;for(de=0;de<se;de+=1)ve.assets[de].layers&&he(ve.assets[de].layers)}}}(),ie=(re=[4,7,99],function(ae){if(ae.chars&&!te(re,ae.v)){var he,ve=ae.chars.length;for(he=0;he<ve;he+=1){var de=ae.chars[he];de.data&&de.data.shapes&&(Z(de.data.shapes),de.data.ip=0,de.data.op=99999,de.data.st=0,de.data.sr=1,de.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},ae.chars[he].t||(de.data.shapes.push({ty:"no"}),de.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),ne=function(){var ae=[5,7,15];function he(ve){var de,se,ge,be=ve.length;for(de=0;de<be;de+=1)ve[de].ty===5&&(se=ve[de],ge=void 0,typeof(ge=se.t.p).a=="number"&&(ge.a={a:0,k:ge.a}),typeof ge.p=="number"&&(ge.p={a:0,k:ge.p}),typeof ge.r=="number"&&(ge.r={a:0,k:ge.r}))}return function(ve){if(te(ae,ve.v)&&(he(ve.layers),ve.assets)){var de,se=ve.assets.length;for(de=0;de<se;de+=1)ve.assets[de].layers&&he(ve.assets[de].layers)}}}(),oe=function(){var ae=[4,1,9];function he(de){var se,ge,be,le=de.length;for(se=0;se<le;se+=1)if(de[se].ty==="gr")he(de[se].it);else if(de[se].ty==="fl"||de[se].ty==="st")if(de[se].c.k&&de[se].c.k[0].i)for(be=de[se].c.k.length,ge=0;ge<be;ge+=1)de[se].c.k[ge].s&&(de[se].c.k[ge].s[0]/=255,de[se].c.k[ge].s[1]/=255,de[se].c.k[ge].s[2]/=255,de[se].c.k[ge].s[3]/=255),de[se].c.k[ge].e&&(de[se].c.k[ge].e[0]/=255,de[se].c.k[ge].e[1]/=255,de[se].c.k[ge].e[2]/=255,de[se].c.k[ge].e[3]/=255);else de[se].c.k[0]/=255,de[se].c.k[1]/=255,de[se].c.k[2]/=255,de[se].c.k[3]/=255}function ve(de){var se,ge=de.length;for(se=0;se<ge;se+=1)de[se].ty===4&&he(de[se].shapes)}return function(de){if(te(ae,de.v)&&(ve(de.layers),de.assets)){var se,ge=de.assets.length;for(se=0;se<ge;se+=1)de.assets[se].layers&&ve(de.assets[se].layers)}}}(),ue=function(){var ae=[4,4,18];function he(de){var se,ge,be;for(se=de.length-1;se>=0;se-=1)if(de[se].ty==="sh")if(de[se].ks.k.i)de[se].ks.k.c=de[se].closed;else for(be=de[se].ks.k.length,ge=0;ge<be;ge+=1)de[se].ks.k[ge].s&&(de[se].ks.k[ge].s[0].c=de[se].closed),de[se].ks.k[ge].e&&(de[se].ks.k[ge].e[0].c=de[se].closed);else de[se].ty==="gr"&&he(de[se].it)}function ve(de){var se,ge,be,le,pe,Se,Ae=de.length;for(ge=0;ge<Ae;ge+=1){if((se=de[ge]).hasMask){var ye=se.masksProperties;for(le=ye.length,be=0;be<le;be+=1)if(ye[be].pt.k.i)ye[be].pt.k.c=ye[be].cl;else for(Se=ye[be].pt.k.length,pe=0;pe<Se;pe+=1)ye[be].pt.k[pe].s&&(ye[be].pt.k[pe].s[0].c=ye[be].cl),ye[be].pt.k[pe].e&&(ye[be].pt.k[pe].e[0].c=ye[be].cl)}se.ty===4&&he(se.shapes)}}return function(de){if(te(ae,de.v)&&(ve(de.layers),de.assets)){var se,ge=de.assets.length;for(se=0;se<ge;se+=1)de.assets[se].layers&&ve(de.assets[se].layers)}}}();function ce(ae){ae.t.a.length===0&&ae.t.p}var fe={completeData:function(ae){ae.__complete||(oe(ae),J(ae),ie(ae),ne(ae),ue(ae),K(ae.layers,ae.assets),function(he,ve){if(he){var de=0,se=he.length;for(de=0;de<se;de+=1)he[de].t===1&&(he[de].data.layers=G(he[de].data.refId,ve),K(he[de].data.layers,ve))}}(ae.chars,ae.assets),ae.__complete=!0)}};return fe.checkColors=oe,fe.checkChars=ie,fe.checkPathProperties=ne,fe.checkShapes=ue,fe.completeLayers=K,fe}()),U.assetLoader||(U.assetLoader=function(){function K(G){var Z=G.getResponseHeader("content-type");return Z&&G.responseType==="json"&&Z.indexOf("json")!==-1||G.response&&_typeof$5(G.response)==="object"?G.response:G.response&&typeof G.response=="string"?JSON.parse(G.response):G.responseText?JSON.parse(G.responseText):null}return{load:function(G,Z,Q,te){var re,J=new XMLHttpRequest;try{J.responseType="json"}catch{}J.onreadystatechange=function(){if(J.readyState===4)if(J.status===200)re=K(J),Q(re);else try{re=K(J),Q(re)}catch(ie){te&&te(ie)}};try{J.open("GET",G,!0)}catch{J.open("GET",Z+"/"+G,!0)}J.send()}}}()),X.data.type==="loadAnimation")U.assetLoader.load(X.data.path,X.data.fullPath,function(K){U.dataManager.completeData(K),U.postMessage({id:X.data.id,payload:K,status:"success"})},function(){U.postMessage({id:X.data.id,status:"error"})});else if(X.data.type==="complete"){var W=X.data.animation;U.dataManager.completeData(W),U.postMessage({id:X.data.id,payload:W,status:"success"})}else X.data.type==="loadData"&&U.assetLoader.load(X.data.path,X.data.fullPath,function(K){U.postMessage({id:X.data.id,payload:K,status:"success"})},function(){U.postMessage({id:X.data.id,status:"error"})})})).onmessage=function(X){var W=X.data,K=W.id,G=R[K];R[K]=null,W.status==="success"?G.onComplete(W.payload):G.onError&&G.onError()})}function q(X,W){var K="processId_"+(B+=1);return R[K]={onComplete:X,onError:W},K}return{loadAnimation:function(X,W,K){Y();var G=q(W,K);D.postMessage({type:"loadAnimation",path:X,fullPath:window.location.origin+window.location.pathname,id:G})},loadData:function(X,W,K){Y();var G=q(W,K);D.postMessage({type:"loadData",path:X,fullPath:window.location.origin+window.location.pathname,id:G})},completeAnimation:function(X,W,K){Y();var G=q(W,K);D.postMessage({type:"complete",animation:X,id:G})}}}(),ImagePreloader=function(){var j=function(){var q=createTag("canvas");q.width=1,q.height=1;var X=q.getContext("2d");return X.fillStyle="rgba(0,0,0,0)",X.fillRect(0,0,1,1),q}();function D(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function B(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function R(q,X,W){var K="";if(q.e)K=q.p;else if(X){var G=q.p;G.indexOf("images/")!==-1&&(G=G.split("/")[1]),K=X+G}else K=W,K+=q.u?q.u:"",K+=q.p;return K}function F(q){var X=0,W=setInterval(function(){(q.getBBox().width||X>500)&&(this._imageLoaded(),clearInterval(W)),X+=1}.bind(this),50)}function U(q){var X={assetData:q},W=R(q,this.assetsPath,this.path);return dataManager.loadData(W,function(K){X.img=K,this._footageLoaded()}.bind(this),function(){X.img={},this._footageLoaded()}.bind(this)),X}function Y(){this._imageLoaded=D.bind(this),this._footageLoaded=B.bind(this),this.testImageLoaded=F.bind(this),this.createFootageData=U.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return Y.prototype={loadAssets:function(q,X){var W;this.imagesLoadedCb=X;var K=q.length;for(W=0;W<K;W+=1)q[W].layers||(q[W].t&&q[W].t!=="seq"?q[W].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(q[W]))):(this.totalImages+=1,this.images.push(this._createImageData(q[W]))))},setAssetsPath:function(q){this.assetsPath=q||""},setPath:function(q){this.path=q||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(q){for(var X=0,W=this.images.length;X<W;){if(this.images[X].assetData===q)return this.images[X].img;X+=1}return null},createImgData:function(q){var X=R(q,this.assetsPath,this.path),W=createTag("img");W.crossOrigin="anonymous",W.addEventListener("load",this._imageLoaded,!1),W.addEventListener("error",function(){K.img=j,this._imageLoaded()}.bind(this),!1),W.src=X;var K={img:W,assetData:q};return K},createImageData:function(q){var X=R(q,this.assetsPath,this.path),W=createNS("image");isSafari?this.testImageLoaded(W):W.addEventListener("load",this._imageLoaded,!1),W.addEventListener("error",function(){K.img=j,this._imageLoaded()}.bind(this),!1),W.setAttributeNS("http://www.w3.org/1999/xlink","href",X),this._elementHelper.append?this._elementHelper.append(W):this._elementHelper.appendChild(W);var K={img:W,assetData:q};return K},imageLoaded:D,footageLoaded:B,setCacheType:function(q,X){q==="svg"?(this._elementHelper=X,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},Y}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(j,D){if(this._cbs[j])for(var B=this._cbs[j],R=0;R<B.length;R+=1)B[R](D)},addEventListener:function(j,D){return this._cbs[j]||(this._cbs[j]=[]),this._cbs[j].push(D),function(){this.removeEventListener(j,D)}.bind(this)},removeEventListener:function(j,D){if(D){if(this._cbs[j]){for(var B=0,R=this._cbs[j].length;B<R;)this._cbs[j][B]===D&&(this._cbs[j].splice(B,1),B-=1,R-=1),B+=1;this._cbs[j].length||(this._cbs[j]=null)}}else this._cbs[j]=null}};var markerParser=function(){function j(D){for(var B,R=D.split(`\r
  667. `),F={},U=0,Y=0;Y<R.length;Y+=1)(B=R[Y].split(":")).length===2&&(F[B[0]]=B[1].trim(),U+=1);if(U===0)throw new Error;return F}return function(D){for(var B=[],R=0;R<D.length;R+=1){var F=D[R],U={time:F.tm,duration:F.dr};try{U.payload=JSON.parse(D[R].cm)}catch{try{U.payload=j(D[R].cm)}catch{U.payload={name:D[R]}}}B.push(U)}return B}}(),ProjectInterface=function(){function j(D){this.compositions.push(D)}return function(){function D(B){for(var R=0,F=this.compositions.length;R<F;){if(this.compositions[R].data&&this.compositions[R].data.nm===B)return this.compositions[R].prepareFrame&&this.compositions[R].data.xt&&this.compositions[R].prepareFrame(this.currentFrame),this.compositions[R].compInterface;R+=1}return null}return D.compositions=[],D.currentFrame=0,D.registerComposition=j,D}}(),renderers={},registerRenderer=function(j,D){renderers[j]=D};function getRenderer(j){return renderers[j]}function _typeof$4(j){return(_typeof$4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D})(j)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(j){(j.wrapper||j.container)&&(this.wrapper=j.wrapper||j.container);var D="svg";j.animType?D=j.animType:j.renderer&&(D=j.renderer);var B=getRenderer(D);this.renderer=new B(this,j.rendererSettings),this.imagePreloader.setCacheType(D,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=D,j.loop===""||j.loop===null||j.loop===void 0||j.loop===!0?this.loop=!0:j.loop===!1?this.loop=!1:this.loop=parseInt(j.loop,10),this.autoplay=!("autoplay"in j)||j.autoplay,this.name=j.name?j.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(j,"autoloadSegments")||j.autoloadSegments,this.assetsPath=j.assetsPath,this.initialSegment=j.initialSegment,j.audioFactory&&this.audioController.setAudioFactory(j.audioFactory),j.animationData?this.setupAnimation(j.animationData):j.path&&(j.path.lastIndexOf("\\")!==-1?this.path=j.path.substr(0,j.path.lastIndexOf("\\")+1):this.path=j.path.substr(0,j.path.lastIndexOf("/")+1),this.fileName=j.path.substr(j.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(j.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(j){dataManager.completeAnimation(j,this.configAnimation)},AnimationItem.prototype.setData=function(j,D){D&&_typeof$4(D)!=="object"&&(D=JSON.parse(D));var B={wrapper:j,animationData:D},R=j.attributes;B.path=R.getNamedItem("data-animation-path")?R.getNamedItem("data-animation-path").value:R.getNamedItem("data-bm-path")?R.getNamedItem("data-bm-path").value:R.getNamedItem("bm-path")?R.getNamedItem("bm-path").value:"",B.animType=R.getNamedItem("data-anim-type")?R.getNamedItem("data-anim-type").value:R.getNamedItem("data-bm-type")?R.getNamedItem("data-bm-type").value:R.getNamedItem("bm-type")?R.getNamedItem("bm-type").value:R.getNamedItem("data-bm-renderer")?R.getNamedItem("data-bm-renderer").value:R.getNamedItem("bm-renderer")?R.getNamedItem("bm-renderer").value:"canvas";var F=R.getNamedItem("data-anim-loop")?R.getNamedItem("data-anim-loop").value:R.getNamedItem("data-bm-loop")?R.getNamedItem("data-bm-loop").value:R.getNamedItem("bm-loop")?R.getNamedItem("bm-loop").value:"";F==="false"?B.loop=!1:F==="true"?B.loop=!0:F!==""&&(B.loop=parseInt(F,10));var U=R.getNamedItem("data-anim-autoplay")?R.getNamedItem("data-anim-autoplay").value:R.getNamedItem("data-bm-autoplay")?R.getNamedItem("data-bm-autoplay").value:!R.getNamedItem("bm-autoplay")||R.getNamedItem("bm-autoplay").value;B.autoplay=U!=="false",B.name=R.getNamedItem("data-name")?R.getNamedItem("data-name").value:R.getNamedItem("data-bm-name")?R.getNamedItem("data-bm-name").value:R.getNamedItem("bm-name")?R.getNamedItem("bm-name").value:"",(R.getNamedItem("data-anim-prerender")?R.getNamedItem("data-anim-prerender").value:R.getNamedItem("data-bm-prerender")?R.getNamedItem("data-bm-prerender").value:R.getNamedItem("bm-prerender")?R.getNamedItem("bm-prerender").value:"")==="false"&&(B.prerender=!1),this.setParams(B)},AnimationItem.prototype.includeLayers=function(j){j.op>this.animationData.op&&(this.animationData.op=j.op,this.totalFrames=Math.floor(j.op-this.animationData.ip));var D,B,R=this.animationData.layers,F=R.length,U=j.layers,Y=U.length;for(B=0;B<Y;B+=1)for(D=0;D<F;){if(R[D].id===U[B].id){R[D]=U[B];break}D+=1}if((j.chars||j.fonts)&&(this.renderer.globalData.fontManager.addChars(j.chars),this.renderer.globalData.fontManager.addFonts(j.fonts,this.renderer.globalData.defs)),j.assets)for(F=j.assets.length,D=0;D<F;D+=1)this.animationData.assets.push(j.assets[D]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(j){this.animationData=j;var D=getExpressionsPlugin();D&&D.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var j=this.animationData.segments;if(!j||j.length===0||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var D=j.shift();this.timeCompleted=D.time*this.frameRate;var B=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(B,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(j){if(this.renderer)try{this.animationData=j,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(j),j.assets||(j.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(j.assets),this.markers=markerParser(j.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(D){this.triggerConfigError(D)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var j=getExpressionsPlugin();j&&j.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(j){this.isSubframeEnabled=!!j},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(this.isLoaded!==!1&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(j){this.triggerRenderFrameError(j)}},AnimationItem.prototype.play=function(j){j&&this.name!==j||this.isPaused===!0&&(this.isPaused=!1,this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(j){j&&this.name!==j||this.isPaused===!1&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(j){j&&this.name!==j||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(j){j&&this.name!==j||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(j){for(var D,B=0;B<this.markers.length;B+=1)if((D=this.markers[B]).payload&&D.payload.name===j)return D;return null},AnimationItem.prototype.goToAndStop=function(j,D,B){if(!B||this.name===B){var R=Number(j);if(isNaN(R)){var F=this.getMarkerData(j);F&&this.goToAndStop(F.time,!0)}else D?this.setCurrentRawFrameValue(j):this.setCurrentRawFrameValue(j*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(j,D,B){if(!B||this.name===B){var R=Number(j);if(isNaN(R)){var F=this.getMarkerData(j);F&&(F.duration?this.playSegments([F.time,F.time+F.duration],!0):this.goToAndStop(F.time,!0))}else this.goToAndStop(R,D,B);this.play()}},AnimationItem.prototype.advanceTime=function(j){if(this.isPaused!==!0&&this.isLoaded!==!1){var D=this.currentRawFrame+j*this.frameModifier,B=!1;D>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?D>=this.totalFrames?(this.playCount+=1,this.checkSegments(D%this.totalFrames)||(this.setCurrentRawFrameValue(D%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(D):this.checkSegments(D>this.totalFrames?D%this.totalFrames:0)||(B=!0,D=this.totalFrames-1):D<0?this.checkSegments(D%this.totalFrames)||(!this.loop||this.playCount--<=0&&this.loop!==!0?(B=!0,D=0):(this.setCurrentRawFrameValue(this.totalFrames+D%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(D),B&&(this.setCurrentRawFrameValue(D),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(j,D){this.playCount=0,j[1]<j[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=j[0]-j[1],this.timeCompleted=this.totalFrames,this.firstFrame=j[1],this.setCurrentRawFrameValue(this.totalFrames-.001-D)):j[1]>j[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=j[1]-j[0],this.timeCompleted=this.totalFrames,this.firstFrame=j[0],this.setCurrentRawFrameValue(.001+D)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(j,D){var B=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<j?B=j:this.currentRawFrame+this.firstFrame>D&&(B=D-j)),this.firstFrame=j,this.totalFrames=D-j,this.timeCompleted=this.totalFrames,B!==-1&&this.goToAndStop(B,!0)},AnimationItem.prototype.playSegments=function(j,D){if(D&&(this.segments.length=0),_typeof$4(j[0])==="object"){var B,R=j.length;for(B=0;B<R;B+=1)this.segments.push(j[B])}else this.segments.push(j);this.segments.length&&D&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(j){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),j&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(j){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),j),!0)},AnimationItem.prototype.destroy=function(j){j&&this.name!==j||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(j){this.currentRawFrame=j,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(j){this.playSpeed=j,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(j){this.playDirection=j<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(j,D){D&&this.name!==D||this.audioController.setVolume(j)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(j){j&&this.name!==j||this.audioController.mute()},AnimationItem.prototype.unmute=function(j){j&&this.name!==j||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(j){var D="";if(j.e)D=j.p;else if(this.assetsPath){var B=j.p;B.indexOf("images/")!==-1&&(B=B.split("/")[1]),D=this.assetsPath+B}else D=this.path,D+=j.u?j.u:"",D+=j.p;return D},AnimationItem.prototype.getAssetData=function(j){for(var D=0,B=this.assets.length;D<B;){if(j===this.assets[D].id)return this.assets[D];D+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(j){return j?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.trigger=function(j){if(this._cbs&&this._cbs[j])switch(j){case"enterFrame":case"drawnFrame":this.triggerEvent(j,new BMEnterFrameEvent(j,this.currentFrame,this.totalFrames,this.frameModifier));break;case"loopComplete":this.triggerEvent(j,new BMCompleteLoopEvent(j,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(j,new BMCompleteEvent(j,this.frameMult));break;case"segmentStart":this.triggerEvent(j,new BMSegmentStartEvent(j,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(j,new BMDestroyEvent(j,this));break;default:this.triggerEvent(j)}j==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(j,this.currentFrame,this.totalFrames,this.frameMult)),j==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(j,this.loop,this.playCount,this.frameMult)),j==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(j,this.frameMult)),j==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(j,this.firstFrame,this.totalFrames)),j==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(j,this))},AnimationItem.prototype.triggerRenderFrameError=function(j){var D=new BMRenderFrameErrorEvent(j,this.currentFrame);this.triggerEvent("error",D),this.onError&&this.onError.call(this,D)},AnimationItem.prototype.triggerConfigError=function(j){var D=new BMConfigErrorEvent(j,this.currentFrame);this.triggerEvent("error",D),this.onError&&this.onError.call(this,D)};var animationManager=function(){var j={},D=[],B=0,R=0,F=0,U=!0,Y=!1;function q(re){for(var J=0,ie=re.target;J<R;)D[J].animation===ie&&(D.splice(J,1),J-=1,R-=1,ie.isPaused||K()),J+=1}function X(re,J){if(!re)return null;for(var ie=0;ie<R;){if(D[ie].elem===re&&D[ie].elem!==null)return D[ie].animation;ie+=1}var ne=new AnimationItem;return G(ne,re),ne.setData(re,J),ne}function W(){F+=1,te()}function K(){F-=1}function G(re,J){re.addEventListener("destroy",q),re.addEventListener("_active",W),re.addEventListener("_idle",K),D.push({elem:J,animation:re}),R+=1}function Z(re){var J,ie=re-B;for(J=0;J<R;J+=1)D[J].animation.advanceTime(ie);B=re,F&&!Y?window.requestAnimationFrame(Z):U=!0}function Q(re){B=re,window.requestAnimationFrame(Z)}function te(){!Y&&F&&U&&(window.requestAnimationFrame(Q),U=!1)}return j.registerAnimation=X,j.loadAnimation=function(re){var J=new AnimationItem;return G(J,null),J.setParams(re),J},j.setSpeed=function(re,J){var ie;for(ie=0;ie<R;ie+=1)D[ie].animation.setSpeed(re,J)},j.setDirection=function(re,J){var ie;for(ie=0;ie<R;ie+=1)D[ie].animation.setDirection(re,J)},j.play=function(re){var J;for(J=0;J<R;J+=1)D[J].animation.play(re)},j.pause=function(re){var J;for(J=0;J<R;J+=1)D[J].animation.pause(re)},j.stop=function(re){var J;for(J=0;J<R;J+=1)D[J].animation.stop(re)},j.togglePause=function(re){var J;for(J=0;J<R;J+=1)D[J].animation.togglePause(re)},j.searchAnimations=function(re,J,ie){var ne,oe=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),ue=oe.length;for(ne=0;ne<ue;ne+=1)ie&&oe[ne].setAttribute("data-bm-type",ie),X(oe[ne],re);if(J&&ue===0){ie||(ie="svg");var ce=document.getElementsByTagName("body")[0];ce.innerText="";var fe=createTag("div");fe.style.width="100%",fe.style.height="100%",fe.setAttribute("data-bm-type",ie),ce.appendChild(fe),X(fe,re)}},j.resize=function(){var re;for(re=0;re<R;re+=1)D[re].animation.resize()},j.goToAndStop=function(re,J,ie){var ne;for(ne=0;ne<R;ne+=1)D[ne].animation.goToAndStop(re,J,ie)},j.destroy=function(re){var J;for(J=R-1;J>=0;J-=1)D[J].animation.destroy(re)},j.freeze=function(){Y=!0},j.unfreeze=function(){Y=!1,te()},j.setVolume=function(re,J){var ie;for(ie=0;ie<R;ie+=1)D[ie].animation.setVolume(re,J)},j.mute=function(re){var J;for(J=0;J<R;J+=1)D[J].animation.mute(re)},j.unmute=function(re){var J;for(J=0;J<R;J+=1)D[J].animation.unmute(re)},j.getRegisteredAnimations=function(){var re,J=D.length,ie=[];for(re=0;re<J;re+=1)ie.push(D[re].animation);return ie},j}(),BezierFactory=function(){var j={getBezierEasing:function(W,K,G,Z,Q){var te=Q||("bez_"+W+"_"+K+"_"+G+"_"+Z).replace(/\./g,"p");if(D[te])return D[te];var re=new X([W,K,G,Z]);return D[te]=re,re}},D={},B=typeof Float32Array=="function";function R(W,K){return 1-3*K+3*W}function F(W,K){return 3*K-6*W}function U(W){return 3*W}function Y(W,K,G){return((R(K,G)*W+F(K,G))*W+U(K))*W}function q(W,K,G){return 3*R(K,G)*W*W+2*F(K,G)*W+U(K)}function X(W){this._p=W,this._mSampleValues=B?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return X.prototype={get:function(W){var K=this._p[0],G=this._p[1],Z=this._p[2],Q=this._p[3];return this._precomputed||this._precompute(),K===G&&Z===Q?W:W===0?0:W===1?1:Y(this._getTForX(W),G,Q)},_precompute:function(){var W=this._p[0],K=this._p[1],G=this._p[2],Z=this._p[3];this._precomputed=!0,W===K&&G===Z||this._calcSampleValues()},_calcSampleValues:function(){for(var W=this._p[0],K=this._p[2],G=0;G<11;++G)this._mSampleValues[G]=Y(.1*G,W,K)},_getTForX:function(W){for(var K=this._p[0],G=this._p[2],Z=this._mSampleValues,Q=0,te=1;te!==10&&Z[te]<=W;++te)Q+=.1;var re=Q+.1*((W-Z[--te])/(Z[te+1]-Z[te])),J=q(re,K,G);return J>=.001?function(ie,ne,oe,ue){for(var ce=0;ce<4;++ce){var fe=q(ne,oe,ue);if(fe===0)return ne;ne-=(Y(ne,oe,ue)-ie)/fe}return ne}(W,re,K,G):J===0?re:function(ie,ne,oe,ue,ce){var fe,ae,he=0;do(fe=Y(ae=ne+(oe-ne)/2,ue,ce)-ie)>0?oe=ae:ne=ae;while(Math.abs(fe)>1e-7&&++he<10);return ae}(W,Q,Q+.1,K,G)}},j}(),pooling={double:function(j){return j.concat(createSizedArray(j.length))}},poolFactory=function(j,D,B){var R=0,F=j,U=createSizedArray(F);return{newElement:function(){return R?U[R-=1]:D()},release:function(Y){R===F&&(U=pooling.double(U),F*=2),B&&B(Y),U[R]=Y,R+=1}}},bezierLengthPool=poolFactory(8,function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}),segmentsLengthPool=poolFactory(8,function(){return{lengths:[],totalLength:0}},function(j){var D,B=j.lengths.length;for(D=0;D<B;D+=1)bezierLengthPool.release(j.lengths[D]);j.lengths.length=0});function bezFunction(){var j=Math;function D(W,K,G,Z,Q,te){var re=W*Z+K*Q+G*te-Q*Z-te*W-G*K;return re>-.001&&re<.001}var B=function(W,K,G,Z){var Q,te,re,J,ie,ne,oe=getDefaultCurveSegments(),ue=0,ce=[],fe=[],ae=bezierLengthPool.newElement();for(re=G.length,Q=0;Q<oe;Q+=1){for(ie=Q/(oe-1),ne=0,te=0;te<re;te+=1)J=bmPow(1-ie,3)*W[te]+3*bmPow(1-ie,2)*ie*G[te]+3*(1-ie)*bmPow(ie,2)*Z[te]+bmPow(ie,3)*K[te],ce[te]=J,fe[te]!==null&&(ne+=bmPow(ce[te]-fe[te],2)),fe[te]=ce[te];ne&&(ue+=ne=bmSqrt(ne)),ae.percents[Q]=ie,ae.lengths[Q]=ue}return ae.addedLength=ue,ae};function R(W){this.segmentLength=0,this.points=new Array(W)}function F(W,K){this.partialLength=W,this.point=K}var U,Y=(U={},function(W,K,G,Z){var Q=(W[0]+"_"+W[1]+"_"+K[0]+"_"+K[1]+"_"+G[0]+"_"+G[1]+"_"+Z[0]+"_"+Z[1]).replace(/\./g,"p");if(!U[Q]){var te,re,J,ie,ne,oe,ue,ce=getDefaultCurveSegments(),fe=0,ae=null;W.length===2&&(W[0]!==K[0]||W[1]!==K[1])&&D(W[0],W[1],K[0],K[1],W[0]+G[0],W[1]+G[1])&&D(W[0],W[1],K[0],K[1],K[0]+Z[0],K[1]+Z[1])&&(ce=2);var he=new R(ce);for(J=G.length,te=0;te<ce;te+=1){for(ue=createSizedArray(J),ne=te/(ce-1),oe=0,re=0;re<J;re+=1)ie=bmPow(1-ne,3)*W[re]+3*bmPow(1-ne,2)*ne*(W[re]+G[re])+3*(1-ne)*bmPow(ne,2)*(K[re]+Z[re])+bmPow(ne,3)*K[re],ue[re]=ie,ae!==null&&(oe+=bmPow(ue[re]-ae[re],2));fe+=oe=bmSqrt(oe),he.points[te]=new F(oe,ue),ae=ue}he.segmentLength=fe,U[Q]=he}return U[Q]});function q(W,K){var G=K.percents,Z=K.lengths,Q=G.length,te=bmFloor((Q-1)*W),re=W*K.addedLength,J=0;if(te===Q-1||te===0||re===Z[te])return G[te];for(var ie=Z[te]>re?-1:1,ne=!0;ne;)if(Z[te]<=re&&Z[te+1]>re?(J=(re-Z[te])/(Z[te+1]-Z[te]),ne=!1):te+=ie,te<0||te>=Q-1){if(te===Q-1)return G[te];ne=!1}return G[te]+(G[te+1]-G[te])*J}var X=createTypedArray("float32",8);return{getSegmentsLength:function(W){var K,G=segmentsLengthPool.newElement(),Z=W.c,Q=W.v,te=W.o,re=W.i,J=W._length,ie=G.lengths,ne=0;for(K=0;K<J-1;K+=1)ie[K]=B(Q[K],Q[K+1],te[K],re[K+1]),ne+=ie[K].addedLength;return Z&&J&&(ie[K]=B(Q[K],Q[0],te[K],re[0]),ne+=ie[K].addedLength),G.totalLength=ne,G},getNewSegment:function(W,K,G,Z,Q,te,re){Q<0?Q=0:Q>1&&(Q=1);var J,ie=q(Q,re),ne=q(te=te>1?1:te,re),oe=W.length,ue=1-ie,ce=1-ne,fe=ue*ue*ue,ae=ie*ue*ue*3,he=ie*ie*ue*3,ve=ie*ie*ie,de=ue*ue*ce,se=ie*ue*ce+ue*ie*ce+ue*ue*ne,ge=ie*ie*ce+ue*ie*ne+ie*ue*ne,be=ie*ie*ne,le=ue*ce*ce,pe=ie*ce*ce+ue*ne*ce+ue*ce*ne,Se=ie*ne*ce+ue*ne*ne+ie*ce*ne,Ae=ie*ne*ne,ye=ce*ce*ce,Me=ne*ce*ce+ce*ne*ce+ce*ce*ne,Ie=ne*ne*ce+ce*ne*ne+ne*ce*ne,xe=ne*ne*ne;for(J=0;J<oe;J+=1)X[4*J]=j.round(1e3*(fe*W[J]+ae*G[J]+he*Z[J]+ve*K[J]))/1e3,X[4*J+1]=j.round(1e3*(de*W[J]+se*G[J]+ge*Z[J]+be*K[J]))/1e3,X[4*J+2]=j.round(1e3*(le*W[J]+pe*G[J]+Se*Z[J]+Ae*K[J]))/1e3,X[4*J+3]=j.round(1e3*(ye*W[J]+Me*G[J]+Ie*Z[J]+xe*K[J]))/1e3;return X},getPointInSegment:function(W,K,G,Z,Q,te){var re=q(Q,te),J=1-re;return[j.round(1e3*(J*J*J*W[0]+(re*J*J+J*re*J+J*J*re)*G[0]+(re*re*J+J*re*re+re*J*re)*Z[0]+re*re*re*K[0]))/1e3,j.round(1e3*(J*J*J*W[1]+(re*J*J+J*re*J+J*J*re)*G[1]+(re*re*J+J*re*re+re*J*re)*Z[1]+re*re*re*K[1]))/1e3]},buildBezierData:Y,pointOnLine2D:D,pointOnLine3D:function(W,K,G,Z,Q,te,re,J,ie){if(G===0&&te===0&&ie===0)return D(W,K,Z,Q,re,J);var ne,oe=j.sqrt(j.pow(Z-W,2)+j.pow(Q-K,2)+j.pow(te-G,2)),ue=j.sqrt(j.pow(re-W,2)+j.pow(J-K,2)+j.pow(ie-G,2)),ce=j.sqrt(j.pow(re-Z,2)+j.pow(J-Q,2)+j.pow(ie-te,2));return(ne=oe>ue?oe>ce?oe-ue-ce:ce-ue-oe:ce>ue?ce-ue-oe:ue-oe-ce)>-1e-4&&ne<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var j=initialDefaultFrame,D=Math.abs;function B(Z,Q){var te,re=this.offsetTime;this.propType==="multidimensional"&&(te=createTypedArray("float32",this.pv.length));for(var J,ie,ne,oe,ue,ce,fe,ae,he,ve=Q.lastIndex,de=ve,se=this.keyframes.length-1,ge=!0;ge;){if(J=this.keyframes[de],ie=this.keyframes[de+1],de===se-1&&Z>=ie.t-re){J.h&&(J=ie),ve=0;break}if(ie.t-re>Z){ve=de;break}de<se-1?de+=1:(ve=0,ge=!1)}ne=this.keyframesMetadata[de]||{};var be,le=ie.t-re,pe=J.t-re;if(J.to){ne.bezierData||(ne.bezierData=bez.buildBezierData(J.s,ie.s||J.e,J.to,J.ti));var Se=ne.bezierData;if(Z>=le||Z<pe){var Ae=Z>=le?Se.points.length-1:0;for(ue=Se.points[Ae].point.length,oe=0;oe<ue;oe+=1)te[oe]=Se.points[Ae].point[oe]}else{ne.__fnct?he=ne.__fnct:(he=BezierFactory.getBezierEasing(J.o.x,J.o.y,J.i.x,J.i.y,J.n).get,ne.__fnct=he),ce=he((Z-pe)/(le-pe));var ye,Me=Se.segmentLength*ce,Ie=Q.lastFrame<Z&&Q._lastKeyframeIndex===de?Q._lastAddedLength:0;for(ae=Q.lastFrame<Z&&Q._lastKeyframeIndex===de?Q._lastPoint:0,ge=!0,fe=Se.points.length;ge;){if(Ie+=Se.points[ae].partialLength,Me===0||ce===0||ae===Se.points.length-1){for(ue=Se.points[ae].point.length,oe=0;oe<ue;oe+=1)te[oe]=Se.points[ae].point[oe];break}if(Me>=Ie&&Me<Ie+Se.points[ae+1].partialLength){for(ye=(Me-Ie)/Se.points[ae+1].partialLength,ue=Se.points[ae].point.length,oe=0;oe<ue;oe+=1)te[oe]=Se.points[ae].point[oe]+(Se.points[ae+1].point[oe]-Se.points[ae].point[oe])*ye;break}ae<fe-1?ae+=1:ge=!1}Q._lastPoint=ae,Q._lastAddedLength=Ie-Se.points[ae].partialLength,Q._lastKeyframeIndex=de}}else{var xe,me,we,_e,Te;if(se=J.s.length,be=ie.s||J.e,this.sh&&J.h!==1)Z>=le?(te[0]=be[0],te[1]=be[1],te[2]=be[2]):Z<=pe?(te[0]=J.s[0],te[1]=J.s[1],te[2]=J.s[2]):function(Ne,Ee){var De=Ee[0],Ce=Ee[1],Pe=Ee[2],ze=Ee[3],Oe=Math.atan2(2*Ce*ze-2*De*Pe,1-2*Ce*Ce-2*Pe*Pe),ke=Math.asin(2*De*Ce+2*Pe*ze),Be=Math.atan2(2*De*ze-2*Ce*Pe,1-2*De*De-2*Pe*Pe);Ne[0]=Oe/degToRads,Ne[1]=ke/degToRads,Ne[2]=Be/degToRads}(te,function(Ne,Ee,De){var Ce,Pe,ze,Oe,ke,Be=[],je=Ne[0],Fe=Ne[1],Re=Ne[2],Ze=Ne[3],We=Ee[0],Ve=Ee[1],Ue=Ee[2],Qe=Ee[3];return(Pe=je*We+Fe*Ve+Re*Ue+Ze*Qe)<0&&(Pe=-Pe,We=-We,Ve=-Ve,Ue=-Ue,Qe=-Qe),1-Pe>1e-6?(Ce=Math.acos(Pe),ze=Math.sin(Ce),Oe=Math.sin((1-De)*Ce)/ze,ke=Math.sin(De*Ce)/ze):(Oe=1-De,ke=De),Be[0]=Oe*je+ke*We,Be[1]=Oe*Fe+ke*Ve,Be[2]=Oe*Re+ke*Ue,Be[3]=Oe*Ze+ke*Qe,Be}(R(J.s),R(be),(Z-pe)/(le-pe)));else for(de=0;de<se;de+=1)J.h!==1&&(Z>=le?ce=1:Z<pe?ce=0:(J.o.x.constructor===Array?(ne.__fnct||(ne.__fnct=[]),ne.__fnct[de]?he=ne.__fnct[de]:(xe=J.o.x[de]===void 0?J.o.x[0]:J.o.x[de],me=J.o.y[de]===void 0?J.o.y[0]:J.o.y[de],we=J.i.x[de]===void 0?J.i.x[0]:J.i.x[de],_e=J.i.y[de]===void 0?J.i.y[0]:J.i.y[de],he=BezierFactory.getBezierEasing(xe,me,we,_e).get,ne.__fnct[de]=he)):ne.__fnct?he=ne.__fnct:(xe=J.o.x,me=J.o.y,we=J.i.x,_e=J.i.y,he=BezierFactory.getBezierEasing(xe,me,we,_e).get,J.keyframeMetadata=he),ce=he((Z-pe)/(le-pe)))),be=ie.s||J.e,Te=J.h===1?J.s[de]:J.s[de]+(be[de]-J.s[de])*ce,this.propType==="multidimensional"?te[de]=Te:te=Te}return Q.lastIndex=ve,te}function R(Z){var Q=Z[0]*degToRads,te=Z[1]*degToRads,re=Z[2]*degToRads,J=Math.cos(Q/2),ie=Math.cos(te/2),ne=Math.cos(re/2),oe=Math.sin(Q/2),ue=Math.sin(te/2),ce=Math.sin(re/2);return[oe*ue*ne+J*ie*ce,oe*ie*ne+J*ue*ce,J*ue*ne-oe*ie*ce,J*ie*ne-oe*ue*ce]}function F(){var Z=this.comp.renderedFrame-this.offsetTime,Q=this.keyframes[0].t-this.offsetTime,te=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(Z===this._caching.lastFrame||this._caching.lastFrame!==j&&(this._caching.lastFrame>=te&&Z>=te||this._caching.lastFrame<Q&&Z<Q))){this._caching.lastFrame>=Z&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var re=this.interpolateValue(Z,this._caching);this.pv=re}return this._caching.lastFrame=Z,this.pv}function U(Z){var Q;if(this.propType==="unidimensional")Q=Z*this.mult,D(this.v-Q)>1e-5&&(this.v=Q,this._mdf=!0);else for(var te=0,re=this.v.length;te<re;)Q=Z[te]*this.mult,D(this.v[te]-Q)>1e-5&&(this.v[te]=Q,this._mdf=!0),te+=1}function Y(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var Z;this.lock=!0,this._mdf=this._isFirstFrame;var Q=this.effectsSequence.length,te=this.kf?this.pv:this.data.k;for(Z=0;Z<Q;Z+=1)te=this.effectsSequence[Z](te);this.setVValue(te),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function q(Z){this.effectsSequence.push(Z),this.container.addDynamicProperty(this)}function X(Z,Q,te,re){this.propType="unidimensional",this.mult=te||1,this.data=Q,this.v=te?Q.k*te:Q.k,this.pv=Q.k,this._mdf=!1,this.elem=Z,this.container=re,this.comp=Z.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Y,this.setVValue=U,this.addEffect=q}function W(Z,Q,te,re){var J;this.propType="multidimensional",this.mult=te||1,this.data=Q,this._mdf=!1,this.elem=Z,this.container=re,this.comp=Z.comp,this.k=!1,this.kf=!1,this.frameId=-1;var ie=Q.k.length;for(this.v=createTypedArray("float32",ie),this.pv=createTypedArray("float32",ie),this.vel=createTypedArray("float32",ie),J=0;J<ie;J+=1)this.v[J]=Q.k[J]*this.mult,this.pv[J]=Q.k[J];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=Y,this.setVValue=U,this.addEffect=q}function K(Z,Q,te,re){this.propType="unidimensional",this.keyframes=Q.k,this.keyframesMetadata=[],this.offsetTime=Z.data.st,this.frameId=-1,this._caching={lastFrame:j,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=Q,this.mult=te||1,this.elem=Z,this.container=re,this.comp=Z.comp,this.v=j,this.pv=j,this._isFirstFrame=!0,this.getValue=Y,this.setVValue=U,this.interpolateValue=B,this.effectsSequence=[F.bind(this)],this.addEffect=q}function G(Z,Q,te,re){var J;this.propType="multidimensional";var ie,ne,oe,ue,ce=Q.k.length;for(J=0;J<ce-1;J+=1)Q.k[J].to&&Q.k[J].s&&Q.k[J+1]&&Q.k[J+1].s&&(ie=Q.k[J].s,ne=Q.k[J+1].s,oe=Q.k[J].to,ue=Q.k[J].ti,(ie.length===2&&(ie[0]!==ne[0]||ie[1]!==ne[1])&&bez.pointOnLine2D(ie[0],ie[1],ne[0],ne[1],ie[0]+oe[0],ie[1]+oe[1])&&bez.pointOnLine2D(ie[0],ie[1],ne[0],ne[1],ne[0]+ue[0],ne[1]+ue[1])||ie.length===3&&(ie[0]!==ne[0]||ie[1]!==ne[1]||ie[2]!==ne[2])&&bez.pointOnLine3D(ie[0],ie[1],ie[2],ne[0],ne[1],ne[2],ie[0]+oe[0],ie[1]+oe[1],ie[2]+oe[2])&&bez.pointOnLine3D(ie[0],ie[1],ie[2],ne[0],ne[1],ne[2],ne[0]+ue[0],ne[1]+ue[1],ne[2]+ue[2]))&&(Q.k[J].to=null,Q.k[J].ti=null),ie[0]===ne[0]&&ie[1]===ne[1]&&oe[0]===0&&oe[1]===0&&ue[0]===0&&ue[1]===0&&(ie.length===2||ie[2]===ne[2]&&oe[2]===0&&ue[2]===0)&&(Q.k[J].to=null,Q.k[J].ti=null));this.effectsSequence=[F.bind(this)],this.data=Q,this.keyframes=Q.k,this.keyframesMetadata=[],this.offsetTime=Z.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=te||1,this.elem=Z,this.container=re,this.comp=Z.comp,this.getValue=Y,this.setVValue=U,this.interpolateValue=B,this.frameId=-1;var fe=Q.k[0].s.length;for(this.v=createTypedArray("float32",fe),this.pv=createTypedArray("float32",fe),J=0;J<fe;J+=1)this.v[J]=j,this.pv[J]=j;this._caching={lastFrame:j,lastIndex:0,value:createTypedArray("float32",fe)},this.addEffect=q}return{getProp:function(Z,Q,te,re,J){var ie;if(Q.k.length)if(typeof Q.k[0]=="number")ie=new W(Z,Q,re,J);else switch(te){case 0:ie=new K(Z,Q,re,J);break;case 1:ie=new G(Z,Q,re,J)}else ie=new X(Z,Q,re,J);return ie.effectsSequence.length&&J.addDynamicProperty(ie),ie}}}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(j){this.dynamicProperties.indexOf(j)===-1&&(this.dynamicProperties.push(j),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var j;this._mdf=!1;var D=this.dynamicProperties.length;for(j=0;j<D;j+=1)this.dynamicProperties[j].getValue(),this.dynamicProperties[j]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(j){this.container=j,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,function(){return createTypedArray("float32",2)});function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(j,D){this.c=j,this.setLength(D);for(var B=0;B<D;)this.v[B]=pointPool.newElement(),this.o[B]=pointPool.newElement(),this.i[B]=pointPool.newElement(),B+=1},ShapePath.prototype.setLength=function(j){for(;this._maxLength<j;)this.doubleArrayLength();this._length=j},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(j,D,B,R,F){var U;switch(this._length=Math.max(this._length,R+1),this._length>=this._maxLength&&this.doubleArrayLength(),B){case"v":U=this.v;break;case"i":U=this.i;break;case"o":U=this.o;break;default:U=[]}(!U[R]||U[R]&&!F)&&(U[R]=pointPool.newElement()),U[R][0]=j,U[R][1]=D},ShapePath.prototype.setTripleAt=function(j,D,B,R,F,U,Y,q){this.setXYAt(j,D,"v",Y,q),this.setXYAt(B,R,"o",Y,q),this.setXYAt(F,U,"i",Y,q)},ShapePath.prototype.reverse=function(){var j=new ShapePath;j.setPathData(this.c,this._length);var D=this.v,B=this.o,R=this.i,F=0;this.c&&(j.setTripleAt(D[0][0],D[0][1],R[0][0],R[0][1],B[0][0],B[0][1],0,!1),F=1);var U,Y=this._length-1,q=this._length;for(U=F;U<q;U+=1)j.setTripleAt(D[Y][0],D[Y][1],R[Y][0],R[Y][1],B[Y][0],B[Y][1],U,!1),Y-=1;return j};var shapePool=(factory=poolFactory(4,function(){return new ShapePath},function(j){var D,B=j._length;for(D=0;D<B;D+=1)pointPool.release(j.v[D]),pointPool.release(j.i[D]),pointPool.release(j.o[D]),j.v[D]=null,j.i[D]=null,j.o[D]=null;j._length=0,j.c=!1}),factory.clone=function(j){var D,B=factory.newElement(),R=j._length===void 0?j.v.length:j._length;for(B.setLength(R),B.c=j.c,D=0;D<R;D+=1)B.setTripleAt(j.v[D][0],j.v[D][1],j.o[D][0],j.o[D][1],j.i[D][0],j.i[D][1],D);return B},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(j){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=j,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var j;for(j=0;j<this._length;j+=1)shapePool.release(this.shapes[j]);this._length=0};var shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(j){var D,B=j._length;for(D=0;D<B;D+=1)shapePool.release(j.shapes[D]);j._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=j,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){function j(Z,Q,te){var re,J,ie,ne,oe,ue,ce,fe,ae,he=te.lastIndex,ve=this.keyframes;if(Z<ve[0].t-this.offsetTime)re=ve[0].s[0],ie=!0,he=0;else if(Z>=ve[ve.length-1].t-this.offsetTime)re=ve[ve.length-1].s?ve[ve.length-1].s[0]:ve[ve.length-2].e[0],ie=!0;else{for(var de,se,ge,be=he,le=ve.length-1,pe=!0;pe&&(de=ve[be],!((se=ve[be+1]).t-this.offsetTime>Z));)be<le-1?be+=1:pe=!1;if(ge=this.keyframesMetadata[be]||{},he=be,!(ie=de.h===1)){if(Z>=se.t-this.offsetTime)fe=1;else if(Z<de.t-this.offsetTime)fe=0;else{var Se;ge.__fnct?Se=ge.__fnct:(Se=BezierFactory.getBezierEasing(de.o.x,de.o.y,de.i.x,de.i.y).get,ge.__fnct=Se),fe=Se((Z-(de.t-this.offsetTime))/(se.t-this.offsetTime-(de.t-this.offsetTime)))}J=se.s?se.s[0]:de.e[0]}re=de.s[0]}for(ue=Q._length,ce=re.i[0].length,te.lastIndex=he,ne=0;ne<ue;ne+=1)for(oe=0;oe<ce;oe+=1)ae=ie?re.i[ne][oe]:re.i[ne][oe]+(J.i[ne][oe]-re.i[ne][oe])*fe,Q.i[ne][oe]=ae,ae=ie?re.o[ne][oe]:re.o[ne][oe]+(J.o[ne][oe]-re.o[ne][oe])*fe,Q.o[ne][oe]=ae,ae=ie?re.v[ne][oe]:re.v[ne][oe]+(J.v[ne][oe]-re.v[ne][oe])*fe,Q.v[ne][oe]=ae}function D(){var Z=this.comp.renderedFrame-this.offsetTime,Q=this.keyframes[0].t-this.offsetTime,te=this.keyframes[this.keyframes.length-1].t-this.offsetTime,re=this._caching.lastFrame;return re!==-999999&&(re<Q&&Z<Q||re>te&&Z>te)||(this._caching.lastIndex=re<Z?this._caching.lastIndex:0,this.interpolateShape(Z,this.pv,this._caching)),this._caching.lastFrame=Z,this.pv}function B(){this.paths=this.localShapeCollection}function R(Z){(function(Q,te){if(Q._length!==te._length||Q.c!==te.c)return!1;var re,J=Q._length;for(re=0;re<J;re+=1)if(Q.v[re][0]!==te.v[re][0]||Q.v[re][1]!==te.v[re][1]||Q.o[re][0]!==te.o[re][0]||Q.o[re][1]!==te.o[re][1]||Q.i[re][0]!==te.i[re][0]||Q.i[re][1]!==te.i[re][1])return!1;return!0})(this.v,Z)||(this.v=shapePool.clone(Z),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function F(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var Z,Q;this.lock=!0,this._mdf=!1,Z=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var te=this.effectsSequence.length;for(Q=0;Q<te;Q+=1)Z=this.effectsSequence[Q](Z);this.setVValue(Z),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function U(Z,Q,te){this.propType="shape",this.comp=Z.comp,this.container=Z,this.elem=Z,this.data=Q,this.k=!1,this.kf=!1,this._mdf=!1;var re=te===3?Q.pt.k:Q.ks.k;this.v=shapePool.clone(re),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=B,this.effectsSequence=[]}function Y(Z){this.effectsSequence.push(Z),this.container.addDynamicProperty(this)}function q(Z,Q,te){this.propType="shape",this.comp=Z.comp,this.elem=Z,this.container=Z,this.offsetTime=Z.data.st,this.keyframes=te===3?Q.pt.k:Q.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var re=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,re),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=-999999,this.reset=B,this._caching={lastFrame:-999999,lastIndex:0},this.effectsSequence=[D.bind(this)]}U.prototype.interpolateShape=j,U.prototype.getValue=F,U.prototype.setVValue=R,U.prototype.addEffect=Y,q.prototype.getValue=F,q.prototype.interpolateShape=j,q.prototype.setVValue=R,q.prototype.addEffect=Y;var X=function(){var Z=roundCorner;function Q(te,re){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=re.d,this.elem=te,this.comp=te.comp,this.frameId=-1,this.initDynamicPropertyContainer(te),this.p=PropertyFactory.getProp(te,re.p,1,0,this),this.s=PropertyFactory.getProp(te,re.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return Q.prototype={reset:B,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var te=this.p.v[0],re=this.p.v[1],J=this.s.v[0]/2,ie=this.s.v[1]/2,ne=this.d!==3,oe=this.v;oe.v[0][0]=te,oe.v[0][1]=re-ie,oe.v[1][0]=ne?te+J:te-J,oe.v[1][1]=re,oe.v[2][0]=te,oe.v[2][1]=re+ie,oe.v[3][0]=ne?te-J:te+J,oe.v[3][1]=re,oe.i[0][0]=ne?te-J*Z:te+J*Z,oe.i[0][1]=re-ie,oe.i[1][0]=ne?te+J:te-J,oe.i[1][1]=re-ie*Z,oe.i[2][0]=ne?te+J*Z:te-J*Z,oe.i[2][1]=re+ie,oe.i[3][0]=ne?te-J:te+J,oe.i[3][1]=re+ie*Z,oe.o[0][0]=ne?te+J*Z:te-J*Z,oe.o[0][1]=re-ie,oe.o[1][0]=ne?te+J:te-J,oe.o[1][1]=re+ie*Z,oe.o[2][0]=ne?te-J*Z:te+J*Z,oe.o[2][1]=re+ie,oe.o[3][0]=ne?te-J:te+J,oe.o[3][1]=re-ie*Z}},extendPrototype([DynamicPropertyContainer],Q),Q}(),W=function(){function Z(Q,te){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=Q,this.comp=Q.comp,this.data=te,this.frameId=-1,this.d=te.d,this.initDynamicPropertyContainer(Q),te.sy===1?(this.ir=PropertyFactory.getProp(Q,te.ir,0,0,this),this.is=PropertyFactory.getProp(Q,te.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(Q,te.pt,0,0,this),this.p=PropertyFactory.getProp(Q,te.p,1,0,this),this.r=PropertyFactory.getProp(Q,te.r,0,degToRads,this),this.or=PropertyFactory.getProp(Q,te.or,0,0,this),this.os=PropertyFactory.getProp(Q,te.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return Z.prototype={reset:B,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var Q,te,re,J,ie=2*Math.floor(this.pt.v),ne=2*Math.PI/ie,oe=!0,ue=this.or.v,ce=this.ir.v,fe=this.os.v,ae=this.is.v,he=2*Math.PI*ue/(2*ie),ve=2*Math.PI*ce/(2*ie),de=-Math.PI/2;de+=this.r.v;var se=this.data.d===3?-1:1;for(this.v._length=0,Q=0;Q<ie;Q+=1){re=oe?fe:ae,J=oe?he:ve;var ge=(te=oe?ue:ce)*Math.cos(de),be=te*Math.sin(de),le=ge===0&&be===0?0:be/Math.sqrt(ge*ge+be*be),pe=ge===0&&be===0?0:-ge/Math.sqrt(ge*ge+be*be);ge+=+this.p.v[0],be+=+this.p.v[1],this.v.setTripleAt(ge,be,ge-le*J*re*se,be-pe*J*re*se,ge+le*J*re*se,be+pe*J*re*se,Q,!0),oe=!oe,de+=ne*se}},convertPolygonToPath:function(){var Q,te=Math.floor(this.pt.v),re=2*Math.PI/te,J=this.or.v,ie=this.os.v,ne=2*Math.PI*J/(4*te),oe=.5*-Math.PI,ue=this.data.d===3?-1:1;for(oe+=this.r.v,this.v._length=0,Q=0;Q<te;Q+=1){var ce=J*Math.cos(oe),fe=J*Math.sin(oe),ae=ce===0&&fe===0?0:fe/Math.sqrt(ce*ce+fe*fe),he=ce===0&&fe===0?0:-ce/Math.sqrt(ce*ce+fe*fe);ce+=+this.p.v[0],fe+=+this.p.v[1],this.v.setTripleAt(ce,fe,ce-ae*ne*ie*ue,fe-he*ne*ie*ue,ce+ae*ne*ie*ue,fe+he*ne*ie*ue,Q,!0),oe+=re*ue}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],Z),Z}(),K=function(){function Z(Q,te){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=Q,this.comp=Q.comp,this.frameId=-1,this.d=te.d,this.initDynamicPropertyContainer(Q),this.p=PropertyFactory.getProp(Q,te.p,1,0,this),this.s=PropertyFactory.getProp(Q,te.s,1,0,this),this.r=PropertyFactory.getProp(Q,te.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return Z.prototype={convertRectToPath:function(){var Q=this.p.v[0],te=this.p.v[1],re=this.s.v[0]/2,J=this.s.v[1]/2,ie=bmMin(re,J,this.r.v),ne=ie*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(Q+re,te-J+ie,Q+re,te-J+ie,Q+re,te-J+ne,0,!0),this.v.setTripleAt(Q+re,te+J-ie,Q+re,te+J-ne,Q+re,te+J-ie,1,!0),ie!==0?(this.v.setTripleAt(Q+re-ie,te+J,Q+re-ie,te+J,Q+re-ne,te+J,2,!0),this.v.setTripleAt(Q-re+ie,te+J,Q-re+ne,te+J,Q-re+ie,te+J,3,!0),this.v.setTripleAt(Q-re,te+J-ie,Q-re,te+J-ie,Q-re,te+J-ne,4,!0),this.v.setTripleAt(Q-re,te-J+ie,Q-re,te-J+ne,Q-re,te-J+ie,5,!0),this.v.setTripleAt(Q-re+ie,te-J,Q-re+ie,te-J,Q-re+ne,te-J,6,!0),this.v.setTripleAt(Q+re-ie,te-J,Q+re-ne,te-J,Q+re-ie,te-J,7,!0)):(this.v.setTripleAt(Q-re,te+J,Q-re+ne,te+J,Q-re,te+J,2),this.v.setTripleAt(Q-re,te-J,Q-re,te-J+ne,Q-re,te-J,3))):(this.v.setTripleAt(Q+re,te-J+ie,Q+re,te-J+ne,Q+re,te-J+ie,0,!0),ie!==0?(this.v.setTripleAt(Q+re-ie,te-J,Q+re-ie,te-J,Q+re-ne,te-J,1,!0),this.v.setTripleAt(Q-re+ie,te-J,Q-re+ne,te-J,Q-re+ie,te-J,2,!0),this.v.setTripleAt(Q-re,te-J+ie,Q-re,te-J+ie,Q-re,te-J+ne,3,!0),this.v.setTripleAt(Q-re,te+J-ie,Q-re,te+J-ne,Q-re,te+J-ie,4,!0),this.v.setTripleAt(Q-re+ie,te+J,Q-re+ie,te+J,Q-re+ne,te+J,5,!0),this.v.setTripleAt(Q+re-ie,te+J,Q+re-ne,te+J,Q+re-ie,te+J,6,!0),this.v.setTripleAt(Q+re,te+J-ie,Q+re,te+J-ie,Q+re,te+J-ne,7,!0)):(this.v.setTripleAt(Q-re,te-J,Q-re+ne,te-J,Q-re,te-J,1,!0),this.v.setTripleAt(Q-re,te+J,Q-re,te+J-ne,Q-re,te+J,2,!0),this.v.setTripleAt(Q+re,te+J,Q+re-ne,te+J,Q+re,te+J,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:B},extendPrototype([DynamicPropertyContainer],Z),Z}(),G={getShapeProp:function(Z,Q,te){var re;return te===3||te===4?re=(te===3?Q.pt:Q.ks).k.length?new q(Z,Q,te):new U(Z,Q,te):te===5?re=new K(Z,Q):te===6?re=new X(Z,Q):te===7&&(re=new W(Z,Q)),re.k&&Z.addDynamicProperty(re),re},getConstructorFunction:function(){return U},getKeyframedConstructorFunction:function(){return q}};return G}(),Matrix=function(){var j=Math.cos,D=Math.sin,B=Math.tan,R=Math.round;function F(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function U(Ae){if(Ae===0)return this;var ye=j(Ae),Me=D(Ae);return this._t(ye,-Me,0,0,Me,ye,0,0,0,0,1,0,0,0,0,1)}function Y(Ae){if(Ae===0)return this;var ye=j(Ae),Me=D(Ae);return this._t(1,0,0,0,0,ye,-Me,0,0,Me,ye,0,0,0,0,1)}function q(Ae){if(Ae===0)return this;var ye=j(Ae),Me=D(Ae);return this._t(ye,0,Me,0,0,1,0,0,-Me,0,ye,0,0,0,0,1)}function X(Ae){if(Ae===0)return this;var ye=j(Ae),Me=D(Ae);return this._t(ye,-Me,0,0,Me,ye,0,0,0,0,1,0,0,0,0,1)}function W(Ae,ye){return this._t(1,ye,Ae,1,0,0)}function K(Ae,ye){return this.shear(B(Ae),B(ye))}function G(Ae,ye){var Me=j(ye),Ie=D(ye);return this._t(Me,Ie,0,0,-Ie,Me,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,B(Ae),1,0,0,0,0,1,0,0,0,0,1)._t(Me,-Ie,0,0,Ie,Me,0,0,0,0,1,0,0,0,0,1)}function Z(Ae,ye,Me){return Me||Me===0||(Me=1),Ae===1&&ye===1&&Me===1?this:this._t(Ae,0,0,0,0,ye,0,0,0,0,Me,0,0,0,0,1)}function Q(Ae,ye,Me,Ie,xe,me,we,_e,Te,Ne,Ee,De,Ce,Pe,ze,Oe){return this.props[0]=Ae,this.props[1]=ye,this.props[2]=Me,this.props[3]=Ie,this.props[4]=xe,this.props[5]=me,this.props[6]=we,this.props[7]=_e,this.props[8]=Te,this.props[9]=Ne,this.props[10]=Ee,this.props[11]=De,this.props[12]=Ce,this.props[13]=Pe,this.props[14]=ze,this.props[15]=Oe,this}function te(Ae,ye,Me){return Me=Me||0,Ae!==0||ye!==0||Me!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,Ae,ye,Me,1):this}function re(Ae,ye,Me,Ie,xe,me,we,_e,Te,Ne,Ee,De,Ce,Pe,ze,Oe){var ke=this.props;if(Ae===1&&ye===0&&Me===0&&Ie===0&&xe===0&&me===1&&we===0&&_e===0&&Te===0&&Ne===0&&Ee===1&&De===0)return ke[12]=ke[12]*Ae+ke[15]*Ce,ke[13]=ke[13]*me+ke[15]*Pe,ke[14]=ke[14]*Ee+ke[15]*ze,ke[15]*=Oe,this._identityCalculated=!1,this;var Be=ke[0],je=ke[1],Fe=ke[2],Re=ke[3],Ze=ke[4],We=ke[5],Ve=ke[6],Ue=ke[7],Qe=ke[8],He=ke[9],Ye=ke[10],Xe=ke[11],Je=ke[12],et=ke[13],tt=ke[14],rt=ke[15];return ke[0]=Be*Ae+je*xe+Fe*Te+Re*Ce,ke[1]=Be*ye+je*me+Fe*Ne+Re*Pe,ke[2]=Be*Me+je*we+Fe*Ee+Re*ze,ke[3]=Be*Ie+je*_e+Fe*De+Re*Oe,ke[4]=Ze*Ae+We*xe+Ve*Te+Ue*Ce,ke[5]=Ze*ye+We*me+Ve*Ne+Ue*Pe,ke[6]=Ze*Me+We*we+Ve*Ee+Ue*ze,ke[7]=Ze*Ie+We*_e+Ve*De+Ue*Oe,ke[8]=Qe*Ae+He*xe+Ye*Te+Xe*Ce,ke[9]=Qe*ye+He*me+Ye*Ne+Xe*Pe,ke[10]=Qe*Me+He*we+Ye*Ee+Xe*ze,ke[11]=Qe*Ie+He*_e+Ye*De+Xe*Oe,ke[12]=Je*Ae+et*xe+tt*Te+rt*Ce,ke[13]=Je*ye+et*me+tt*Ne+rt*Pe,ke[14]=Je*Me+et*we+tt*Ee+rt*ze,ke[15]=Je*Ie+et*_e+tt*De+rt*Oe,this._identityCalculated=!1,this}function J(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function ie(Ae){for(var ye=0;ye<16;){if(Ae.props[ye]!==this.props[ye])return!1;ye+=1}return!0}function ne(Ae){var ye;for(ye=0;ye<16;ye+=1)Ae.props[ye]=this.props[ye];return Ae}function oe(Ae){var ye;for(ye=0;ye<16;ye+=1)this.props[ye]=Ae[ye]}function ue(Ae,ye,Me){return{x:Ae*this.props[0]+ye*this.props[4]+Me*this.props[8]+this.props[12],y:Ae*this.props[1]+ye*this.props[5]+Me*this.props[9]+this.props[13],z:Ae*this.props[2]+ye*this.props[6]+Me*this.props[10]+this.props[14]}}function ce(Ae,ye,Me){return Ae*this.props[0]+ye*this.props[4]+Me*this.props[8]+this.props[12]}function fe(Ae,ye,Me){return Ae*this.props[1]+ye*this.props[5]+Me*this.props[9]+this.props[13]}function ae(Ae,ye,Me){return Ae*this.props[2]+ye*this.props[6]+Me*this.props[10]+this.props[14]}function he(){var Ae=this.props[0]*this.props[5]-this.props[1]*this.props[4],ye=this.props[5]/Ae,Me=-this.props[1]/Ae,Ie=-this.props[4]/Ae,xe=this.props[0]/Ae,me=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/Ae,we=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/Ae,_e=new Matrix;return _e.props[0]=ye,_e.props[1]=Me,_e.props[4]=Ie,_e.props[5]=xe,_e.props[12]=me,_e.props[13]=we,_e}function ve(Ae){return this.getInverseMatrix().applyToPointArray(Ae[0],Ae[1],Ae[2]||0)}function de(Ae){var ye,Me=Ae.length,Ie=[];for(ye=0;ye<Me;ye+=1)Ie[ye]=ve(Ae[ye]);return Ie}function se(Ae,ye,Me){var Ie=createTypedArray("float32",6);if(this.isIdentity())Ie[0]=Ae[0],Ie[1]=Ae[1],Ie[2]=ye[0],Ie[3]=ye[1],Ie[4]=Me[0],Ie[5]=Me[1];else{var xe=this.props[0],me=this.props[1],we=this.props[4],_e=this.props[5],Te=this.props[12],Ne=this.props[13];Ie[0]=Ae[0]*xe+Ae[1]*we+Te,Ie[1]=Ae[0]*me+Ae[1]*_e+Ne,Ie[2]=ye[0]*xe+ye[1]*we+Te,Ie[3]=ye[0]*me+ye[1]*_e+Ne,Ie[4]=Me[0]*xe+Me[1]*we+Te,Ie[5]=Me[0]*me+Me[1]*_e+Ne}return Ie}function ge(Ae,ye,Me){return this.isIdentity()?[Ae,ye,Me]:[Ae*this.props[0]+ye*this.props[4]+Me*this.props[8]+this.props[12],Ae*this.props[1]+ye*this.props[5]+Me*this.props[9]+this.props[13],Ae*this.props[2]+ye*this.props[6]+Me*this.props[10]+this.props[14]]}function be(Ae,ye){if(this.isIdentity())return Ae+","+ye;var Me=this.props;return Math.round(100*(Ae*Me[0]+ye*Me[4]+Me[12]))/100+","+Math.round(100*(Ae*Me[1]+ye*Me[5]+Me[13]))/100}function le(){for(var Ae=0,ye=this.props,Me="matrix3d(";Ae<16;)Me+=R(1e4*ye[Ae])/1e4,Me+=Ae===15?")":",",Ae+=1;return Me}function pe(Ae){return Ae<1e-6&&Ae>0||Ae>-1e-6&&Ae<0?R(1e4*Ae)/1e4:Ae}function Se(){var Ae=this.props;return"matrix("+pe(Ae[0])+","+pe(Ae[1])+","+pe(Ae[4])+","+pe(Ae[5])+","+pe(Ae[12])+","+pe(Ae[13])+")"}return function(){this.reset=F,this.rotate=U,this.rotateX=Y,this.rotateY=q,this.rotateZ=X,this.skew=K,this.skewFromAxis=G,this.shear=W,this.scale=Z,this.setTransform=Q,this.translate=te,this.transform=re,this.applyToPoint=ue,this.applyToX=ce,this.applyToY=fe,this.applyToZ=ae,this.applyToPointArray=ge,this.applyToTriplePoints=se,this.applyToPointStringified=be,this.toCSS=le,this.to2dCSS=Se,this.clone=ne,this.cloneFromProps=oe,this.equals=ie,this.inversePoints=de,this.inversePoint=ve,this.getInverseMatrix=he,this._t=this.transform,this.isIdentity=J,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(j){return(_typeof$3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D})(j)}var lottie={},standalone="__[STANDALONE]__",queryString;function setLocation(j){setLocationHref(j)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(j){setSubframeEnabled(j)}function setPrefix(j){setIdPrefix(j)}function loadAnimation(j){return animationManager.loadAnimation(j)}function setQuality(j){if(typeof j=="string")switch(j){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(j)&&j>1&&setDefaultCurveSegments(j)}function inBrowser(){return typeof navigator<"u"}function installPlugin(j,D){j==="expressions"&&setExpressionsPlugin(D)}function getFactory(j){switch(j){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(j){for(var D=queryString.split("&"),B=0;B<D.length;B+=1){var R=D[B].split("=");if(decodeURIComponent(R[0])==j)return decodeURIComponent(R[1])}return null}if(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.9.1",standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src.replace(/^[^\?]+\??/,""),getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(j){}var ShapeModifiers=function(){var j={},D={};return j.registerModifier=function(B,R){D[B]||(D[B]=R)},j.getModifier=function(B,R,F){return new D[B](R,F)},j}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(j){if(!this.closed){j.sh.container.addDynamicProperty(j.sh);var D={shape:j.sh,data:j,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(D),this.addShapeToModifier(D),this._isAnimated&&j.setAsAnimated()}},ShapeModifier.prototype.init=function(j,D){this.shapes=[],this.elem=j,this.initDynamicPropertyContainer(j),this.initModifierProperties(j,D),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(j,D){this.s=PropertyFactory.getProp(j,D.s,0,.01,this),this.e=PropertyFactory.getProp(j,D.e,0,.01,this),this.o=PropertyFactory.getProp(j,D.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=D.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(j){j.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(j,D,B,R,F){var U=[];D<=1?U.push({s:j,e:D}):j>=1?U.push({s:j-1,e:D-1}):(U.push({s:j,e:1}),U.push({s:0,e:D-1}));var Y,q,X=[],W=U.length;for(Y=0;Y<W;Y+=1){var K,G;(q=U[Y]).e*F<R||q.s*F>R+B||(K=q.s*F<=R?0:(q.s*F-R)/B,G=q.e*F>=R+B?1:(q.e*F-R)/B,X.push([K,G]))}return X.length||X.push([0,0]),X},TrimModifier.prototype.releasePathsData=function(j){var D,B=j.length;for(D=0;D<B;D+=1)segmentsLengthPool.release(j[D]);return j.length=0,j},TrimModifier.prototype.processShapes=function(j){var D,B,R,F;if(this._mdf||j){var U=this.o.v%360/360;if(U<0&&(U+=1),(D=this.s.v>1?1+U:this.s.v<0?0+U:this.s.v+U)>(B=this.e.v>1?1+U:this.e.v<0?0+U:this.e.v+U)){var Y=D;D=B,B=Y}D=1e-4*Math.round(1e4*D),B=1e-4*Math.round(1e4*B),this.sValue=D,this.eValue=B}else D=this.sValue,B=this.eValue;var q,X,W,K,G,Z=this.shapes.length,Q=0;if(B===D)for(F=0;F<Z;F+=1)this.shapes[F].localShapeCollection.releaseShapes(),this.shapes[F].shape._mdf=!0,this.shapes[F].shape.paths=this.shapes[F].localShapeCollection,this._mdf&&(this.shapes[F].pathsData.length=0);else if(B===1&&D===0||B===0&&D===1){if(this._mdf)for(F=0;F<Z;F+=1)this.shapes[F].pathsData.length=0,this.shapes[F].shape._mdf=!0}else{var te,re,J=[];for(F=0;F<Z;F+=1)if((te=this.shapes[F]).shape._mdf||this._mdf||j||this.m===2){if(X=(R=te.shape.paths)._length,G=0,!te.shape._mdf&&te.pathsData.length)G=te.totalShapeLength;else{for(W=this.releasePathsData(te.pathsData),q=0;q<X;q+=1)K=bez.getSegmentsLength(R.shapes[q]),W.push(K),G+=K.totalLength;te.totalShapeLength=G,te.pathsData=W}Q+=G,te.shape._mdf=!0}else te.shape.paths=te.localShapeCollection;var ie,ne=D,oe=B,ue=0;for(F=Z-1;F>=0;F-=1)if((te=this.shapes[F]).shape._mdf){for((re=te.localShapeCollection).releaseShapes(),this.m===2&&Z>1?(ie=this.calculateShapeEdges(D,B,te.totalShapeLength,ue,Q),ue+=te.totalShapeLength):ie=[[ne,oe]],X=ie.length,q=0;q<X;q+=1){ne=ie[q][0],oe=ie[q][1],J.length=0,oe<=1?J.push({s:te.totalShapeLength*ne,e:te.totalShapeLength*oe}):ne>=1?J.push({s:te.totalShapeLength*(ne-1),e:te.totalShapeLength*(oe-1)}):(J.push({s:te.totalShapeLength*ne,e:te.totalShapeLength}),J.push({s:0,e:te.totalShapeLength*(oe-1)}));var ce=this.addShapes(te,J[0]);if(J[0].s!==J[0].e){if(J.length>1)if(te.shape.paths.shapes[te.shape.paths._length-1].c){var fe=ce.pop();this.addPaths(ce,re),ce=this.addShapes(te,J[1],fe)}else this.addPaths(ce,re),ce=this.addShapes(te,J[1]);this.addPaths(ce,re)}}te.shape.paths=re}}},TrimModifier.prototype.addPaths=function(j,D){var B,R=j.length;for(B=0;B<R;B+=1)D.addShape(j[B])},TrimModifier.prototype.addSegment=function(j,D,B,R,F,U,Y){F.setXYAt(D[0],D[1],"o",U),F.setXYAt(B[0],B[1],"i",U+1),Y&&F.setXYAt(j[0],j[1],"v",U),F.setXYAt(R[0],R[1],"v",U+1)},TrimModifier.prototype.addSegmentFromArray=function(j,D,B,R){D.setXYAt(j[1],j[5],"o",B),D.setXYAt(j[2],j[6],"i",B+1),R&&D.setXYAt(j[0],j[4],"v",B),D.setXYAt(j[3],j[7],"v",B+1)},TrimModifier.prototype.addShapes=function(j,D,B){var R,F,U,Y,q,X,W,K,G=j.pathsData,Z=j.shape.paths.shapes,Q=j.shape.paths._length,te=0,re=[],J=!0;for(B?(q=B._length,K=B._length):(B=shapePool.newElement(),q=0,K=0),re.push(B),R=0;R<Q;R+=1){for(X=G[R].lengths,B.c=Z[R].c,U=Z[R].c?X.length:X.length+1,F=1;F<U;F+=1)if(te+(Y=X[F-1]).addedLength<D.s)te+=Y.addedLength,B.c=!1;else{if(te>D.e){B.c=!1;break}D.s<=te&&D.e>=te+Y.addedLength?(this.addSegment(Z[R].v[F-1],Z[R].o[F-1],Z[R].i[F],Z[R].v[F],B,q,J),J=!1):(W=bez.getNewSegment(Z[R].v[F-1],Z[R].v[F],Z[R].o[F-1],Z[R].i[F],(D.s-te)/Y.addedLength,(D.e-te)/Y.addedLength,X[F-1]),this.addSegmentFromArray(W,B,q,J),J=!1,B.c=!1),te+=Y.addedLength,q+=1}if(Z[R].c&&X.length){if(Y=X[F-1],te<=D.e){var ie=X[F-1].addedLength;D.s<=te&&D.e>=te+ie?(this.addSegment(Z[R].v[F-1],Z[R].o[F-1],Z[R].i[0],Z[R].v[0],B,q,J),J=!1):(W=bez.getNewSegment(Z[R].v[F-1],Z[R].v[0],Z[R].o[F-1],Z[R].i[0],(D.s-te)/ie,(D.e-te)/ie,X[F-1]),this.addSegmentFromArray(W,B,q,J),J=!1,B.c=!1)}else B.c=!1;te+=Y.addedLength,q+=1}if(B._length&&(B.setXYAt(B.v[K][0],B.v[K][1],"i",K),B.setXYAt(B.v[B._length-1][0],B.v[B._length-1][1],"o",B._length-1)),te>D.e)break;R<Q-1&&(B=shapePool.newElement(),J=!0,re.push(B),q=0)}return re},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(j,D){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(j,D.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(j,D){var B=D/100,R=[0,0],F=j._length,U=0;for(U=0;U<F;U+=1)R[0]+=j.v[U][0],R[1]+=j.v[U][1];R[0]/=F,R[1]/=F;var Y,q,X,W,K,G,Z=shapePool.newElement();for(Z.c=j.c,U=0;U<F;U+=1)Y=j.v[U][0]+(R[0]-j.v[U][0])*B,q=j.v[U][1]+(R[1]-j.v[U][1])*B,X=j.o[U][0]+(R[0]-j.o[U][0])*-B,W=j.o[U][1]+(R[1]-j.o[U][1])*-B,K=j.i[U][0]+(R[0]-j.i[U][0])*-B,G=j.i[U][1]+(R[1]-j.i[U][1])*-B,Z.setTripleAt(Y,q,X,W,K,G,U);return Z},PuckerAndBloatModifier.prototype.processShapes=function(j){var D,B,R,F,U,Y,q=this.shapes.length,X=this.amount.v;if(X!==0)for(B=0;B<q;B+=1){if(Y=(U=this.shapes[B]).localShapeCollection,U.shape._mdf||this._mdf||j)for(Y.releaseShapes(),U.shape._mdf=!0,D=U.shape.paths.shapes,F=U.shape.paths._length,R=0;R<F;R+=1)Y.addShape(this.processPath(D[R],X));U.shape.paths=U.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var j=[0,0];function D(B,R,F){if(this.elem=B,this.frameId=-1,this.propType="transform",this.data=R,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(F||B),R.p&&R.p.s?(this.px=PropertyFactory.getProp(B,R.p.x,0,0,this),this.py=PropertyFactory.getProp(B,R.p.y,0,0,this),R.p.z&&(this.pz=PropertyFactory.getProp(B,R.p.z,0,0,this))):this.p=PropertyFactory.getProp(B,R.p||{k:[0,0,0]},1,0,this),R.rx){if(this.rx=PropertyFactory.getProp(B,R.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(B,R.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(B,R.rz,0,degToRads,this),R.or.k[0].ti){var U,Y=R.or.k.length;for(U=0;U<Y;U+=1)R.or.k[U].to=null,R.or.k[U].ti=null}this.or=PropertyFactory.getProp(B,R.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(B,R.r||{k:0},0,degToRads,this);R.sk&&(this.sk=PropertyFactory.getProp(B,R.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(B,R.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(B,R.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(B,R.s||{k:[100,100,100]},1,.01,this),R.o?this.o=PropertyFactory.getProp(B,R.o,0,.01,B):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return D.prototype={applyToMatrix:function(B){var R=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||R,this.a&&B.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&B.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&B.skewFromAxis(-this.sk.v,this.sa.v),this.r?B.rotate(-this.r.v):B.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?B.translate(this.px.v,this.py.v,-this.pz.v):B.translate(this.px.v,this.py.v,0):B.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(B){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||B){var R;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var F,U;if(R=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(F=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/R,0),U=this.p.getValueAtTime(this.p.keyframes[0].t/R,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(F=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/R,0),U=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/R,0)):(F=this.p.pv,U=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/R,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){F=[],U=[];var Y=this.px,q=this.py;Y._caching.lastFrame+Y.offsetTime<=Y.keyframes[0].t?(F[0]=Y.getValueAtTime((Y.keyframes[0].t+.01)/R,0),F[1]=q.getValueAtTime((q.keyframes[0].t+.01)/R,0),U[0]=Y.getValueAtTime(Y.keyframes[0].t/R,0),U[1]=q.getValueAtTime(q.keyframes[0].t/R,0)):Y._caching.lastFrame+Y.offsetTime>=Y.keyframes[Y.keyframes.length-1].t?(F[0]=Y.getValueAtTime(Y.keyframes[Y.keyframes.length-1].t/R,0),F[1]=q.getValueAtTime(q.keyframes[q.keyframes.length-1].t/R,0),U[0]=Y.getValueAtTime((Y.keyframes[Y.keyframes.length-1].t-.01)/R,0),U[1]=q.getValueAtTime((q.keyframes[q.keyframes.length-1].t-.01)/R,0)):(F=[Y.pv,q.pv],U[0]=Y.getValueAtTime((Y._caching.lastFrame+Y.offsetTime-.01)/R,Y.offsetTime),U[1]=q.getValueAtTime((q._caching.lastFrame+q.offsetTime-.01)/R,q.offsetTime))}else F=U=j;this.v.rotate(-Math.atan2(F[1]-U[1],F[0]-U[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}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}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)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],D),D.prototype.addDynamicProperty=function(B){this._addDynamicProperty(B),this.elem.addDynamicProperty(B),this._isDirty=!0},D.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(B,R,F){return new D(B,R,F)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function getFontProperties(j){for(var D=j.fStyle?j.fStyle.split(" "):[],B="normal",R="normal",F=D.length,U=0;U<F;U+=1)switch(D[U].toLowerCase()){case"italic":R="italic";break;case"bold":B="700";break;case"black":B="900";break;case"medium":B="500";break;case"regular":case"normal":B="400";break;case"light":case"thin":B="200"}return{style:R,weight:j.fWeight||B}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(j,D){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(j,D.c,0,null,this),this.o=PropertyFactory.getProp(j,D.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(j,D.tr,this),this.so=PropertyFactory.getProp(j,D.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(j,D.tr.eo,0,.01,this),this.data=D,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(j,D,B,R,F,U){var Y=U?-1:1,q=R.s.v[0]+(1-R.s.v[0])*(1-F),X=R.s.v[1]+(1-R.s.v[1])*(1-F);j.translate(R.p.v[0]*Y*F,R.p.v[1]*Y*F,R.p.v[2]),D.translate(-R.a.v[0],-R.a.v[1],R.a.v[2]),D.rotate(-R.r.v*Y*F),D.translate(R.a.v[0],R.a.v[1],R.a.v[2]),B.translate(-R.a.v[0],-R.a.v[1],R.a.v[2]),B.scale(U?1/q:q,U?1/X:X),B.translate(R.a.v[0],R.a.v[1],R.a.v[2])},RepeaterModifier.prototype.init=function(j,D,B,R){for(this.elem=j,this.arr=D,this.pos=B,this.elemsData=R,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(j),this.initModifierProperties(j,D[B]);B>0;)B-=1,this._elements.unshift(D[B]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(j){var D,B=j.length;for(D=0;D<B;D+=1)j[D]._processed=!1,j[D].ty==="gr"&&this.resetElements(j[D].it)},RepeaterModifier.prototype.cloneElements=function(j){var D=JSON.parse(JSON.stringify(j));return this.resetElements(D),D},RepeaterModifier.prototype.changeGroupRender=function(j,D){var B,R=j.length;for(B=0;B<R;B+=1)j[B]._render=D,j[B].ty==="gr"&&this.changeGroupRender(j[B].it,D)},RepeaterModifier.prototype.processShapes=function(j){var D,B,R,F,U,Y=!1;if(this._mdf||j){var q,X=Math.ceil(this.c.v);if(this._groups.length<X){for(;this._groups.length<X;){var W={it:this.cloneElements(this._elements),ty:"gr"};W.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,W),this._groups.splice(0,0,W),this._currentCopies+=1}this.elem.reloadShapes(),Y=!0}for(U=0,R=0;R<=this._groups.length-1;R+=1){if(q=U<X,this._groups[R]._render=q,this.changeGroupRender(this._groups[R].it,q),!q){var K=this.elemsData[R].it,G=K[K.length-1];G.transform.op.v!==0?(G.transform.op._mdf=!0,G.transform.op.v=0):G.transform.op._mdf=!1}U+=1}this._currentCopies=X;var Z=this.o.v,Q=Z%1,te=Z>0?Math.floor(Z):Math.ceil(Z),re=this.pMatrix.props,J=this.rMatrix.props,ie=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var ne,oe,ue=0;if(Z>0){for(;ue<te;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),ue+=1;Q&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,Q,!1),ue+=Q)}else if(Z<0){for(;ue>te;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),ue-=1;Q&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-Q,!0),ue-=Q)}for(R=this.data.m===1?0:this._currentCopies-1,F=this.data.m===1?1:-1,U=this._currentCopies;U;){if(oe=(B=(D=this.elemsData[R].it)[D.length-1].transform.mProps.v.props).length,D[D.length-1].transform.mProps._mdf=!0,D[D.length-1].transform.op._mdf=!0,D[D.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(R/(this._currentCopies-1)),ue!==0){for((R!==0&&F===1||R!==this._currentCopies-1&&F===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(J[0],J[1],J[2],J[3],J[4],J[5],J[6],J[7],J[8],J[9],J[10],J[11],J[12],J[13],J[14],J[15]),this.matrix.transform(ie[0],ie[1],ie[2],ie[3],ie[4],ie[5],ie[6],ie[7],ie[8],ie[9],ie[10],ie[11],ie[12],ie[13],ie[14],ie[15]),this.matrix.transform(re[0],re[1],re[2],re[3],re[4],re[5],re[6],re[7],re[8],re[9],re[10],re[11],re[12],re[13],re[14],re[15]),ne=0;ne<oe;ne+=1)B[ne]=this.matrix.props[ne];this.matrix.reset()}else for(this.matrix.reset(),ne=0;ne<oe;ne+=1)B[ne]=this.matrix.props[ne];ue+=1,U-=1,R+=F}}else for(U=this._currentCopies,R=0,F=1;U;)B=(D=this.elemsData[R].it)[D.length-1].transform.mProps.v.props,D[D.length-1].transform.mProps._mdf=!1,D[D.length-1].transform.op._mdf=!1,U-=1,R+=F;return Y},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(j,D){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(j,D.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(j,D){var B,R=shapePool.newElement();R.c=j.c;var F,U,Y,q,X,W,K,G,Z,Q,te,re,J=j._length,ie=0;for(B=0;B<J;B+=1)F=j.v[B],Y=j.o[B],U=j.i[B],F[0]===Y[0]&&F[1]===Y[1]&&F[0]===U[0]&&F[1]===U[1]?B!==0&&B!==J-1||j.c?(q=B===0?j.v[J-1]:j.v[B-1],W=(X=Math.sqrt(Math.pow(F[0]-q[0],2)+Math.pow(F[1]-q[1],2)))?Math.min(X/2,D)/X:0,K=te=F[0]+(q[0]-F[0])*W,G=re=F[1]-(F[1]-q[1])*W,Z=K-(K-F[0])*roundCorner,Q=G-(G-F[1])*roundCorner,R.setTripleAt(K,G,Z,Q,te,re,ie),ie+=1,q=B===J-1?j.v[0]:j.v[B+1],W=(X=Math.sqrt(Math.pow(F[0]-q[0],2)+Math.pow(F[1]-q[1],2)))?Math.min(X/2,D)/X:0,K=Z=F[0]+(q[0]-F[0])*W,G=Q=F[1]+(q[1]-F[1])*W,te=K-(K-F[0])*roundCorner,re=G-(G-F[1])*roundCorner,R.setTripleAt(K,G,Z,Q,te,re,ie),ie+=1):(R.setTripleAt(F[0],F[1],Y[0],Y[1],U[0],U[1],ie),ie+=1):(R.setTripleAt(j.v[B][0],j.v[B][1],j.o[B][0],j.o[B][1],j.i[B][0],j.i[B][1],ie),ie+=1);return R},RoundCornersModifier.prototype.processShapes=function(j){var D,B,R,F,U,Y,q=this.shapes.length,X=this.rd.v;if(X!==0)for(B=0;B<q;B+=1){if(Y=(U=this.shapes[B]).localShapeCollection,U.shape._mdf||this._mdf||j)for(Y.releaseShapes(),U.shape._mdf=!0,D=U.shape.paths.shapes,F=U.shape.paths._length,R=0;R<F;R+=1)Y.addShape(this.processPath(D[R],X));U.shape.paths=U.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var j={w:0,size:0,shapes:[],data:{shapes:[]}},D=[];D=D.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var B=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],R=[65039,8205];function F(q,X){var W=createTag("span");W.setAttribute("aria-hidden",!0),W.style.fontFamily=X;var K=createTag("span");K.innerText="giItT1WQy@!-/#",W.style.position="absolute",W.style.left="-10000px",W.style.top="-10000px",W.style.fontSize="300px",W.style.fontVariant="normal",W.style.fontStyle="normal",W.style.fontWeight="normal",W.style.letterSpacing="0",W.appendChild(K),document.body.appendChild(W);var G=K.offsetWidth;return K.style.fontFamily=function(Z){var Q,te=Z.split(","),re=te.length,J=[];for(Q=0;Q<re;Q+=1)te[Q]!=="sans-serif"&&te[Q]!=="monospace"&&J.push(te[Q]);return J.join(",")}(q)+", "+X,{node:K,w:G,parent:W}}function U(q,X){var W=createNS("text");W.style.fontSize="100px";var K=getFontProperties(X);return W.setAttribute("font-family",X.fFamily),W.setAttribute("font-style",K.style),W.setAttribute("font-weight",K.weight),W.textContent="1",X.fClass?(W.style.fontFamily="inherit",W.setAttribute("class",X.fClass)):W.style.fontFamily=X.fFamily,q.appendChild(W),createTag("canvas").getContext("2d").font=X.fWeight+" "+X.fStyle+" 100px "+X.fFamily,W}var Y=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)};return Y.isModifier=function(q,X){var W=q.toString(16)+X.toString(16);return B.indexOf(W)!==-1},Y.isZeroWidthJoiner=function(q,X){return X?q===R[0]&&X===R[1]:q===R[1]},Y.isCombinedCharacter=function(q){return D.indexOf(q)!==-1},Y.prototype={addChars:function(q){if(q){var X;this.chars||(this.chars=[]);var W,K,G=q.length,Z=this.chars.length;for(X=0;X<G;X+=1){for(W=0,K=!1;W<Z;)this.chars[W].style===q[X].style&&this.chars[W].fFamily===q[X].fFamily&&this.chars[W].ch===q[X].ch&&(K=!0),W+=1;K||(this.chars.push(q[X]),Z+=1)}}},addFonts:function(q,X){if(q){if(this.chars)return this.isLoaded=!0,void(this.fonts=q.list);var W,K=q.list,G=K.length,Z=G;for(W=0;W<G;W+=1){var Q,te,re=!0;if(K[W].loaded=!1,K[W].monoCase=F(K[W].fFamily,"monospace"),K[W].sansCase=F(K[W].fFamily,"sans-serif"),K[W].fPath){if(K[W].fOrigin==="p"||K[W].origin===3){if((Q=document.querySelectorAll('style[f-forigin="p"][f-family="'+K[W].fFamily+'"], style[f-origin="3"][f-family="'+K[W].fFamily+'"]')).length>0&&(re=!1),re){var J=createTag("style");J.setAttribute("f-forigin",K[W].fOrigin),J.setAttribute("f-origin",K[W].origin),J.setAttribute("f-family",K[W].fFamily),J.type="text/css",J.innerText="@font-face {font-family: "+K[W].fFamily+"; font-style: normal; src: url('"+K[W].fPath+"');}",X.appendChild(J)}}else if(K[W].fOrigin==="g"||K[W].origin===1){for(Q=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),te=0;te<Q.length;te+=1)Q[te].href.indexOf(K[W].fPath)!==-1&&(re=!1);if(re){var ie=createTag("link");ie.setAttribute("f-forigin",K[W].fOrigin),ie.setAttribute("f-origin",K[W].origin),ie.type="text/css",ie.rel="stylesheet",ie.href=K[W].fPath,document.body.appendChild(ie)}}else if(K[W].fOrigin==="t"||K[W].origin===2){for(Q=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),te=0;te<Q.length;te+=1)K[W].fPath===Q[te].src&&(re=!1);if(re){var ne=createTag("link");ne.setAttribute("f-forigin",K[W].fOrigin),ne.setAttribute("f-origin",K[W].origin),ne.setAttribute("rel","stylesheet"),ne.setAttribute("href",K[W].fPath),X.appendChild(ne)}}}else K[W].loaded=!0,Z-=1;K[W].helper=U(X,K[W]),K[W].cache={},this.fonts.push(K[W])}Z===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(q,X,W){for(var K=0,G=this.chars.length;K<G;){if(this.chars[K].ch===q&&this.chars[K].style===X&&this.chars[K].fFamily===W)return this.chars[K];K+=1}return(typeof q=="string"&&q.charCodeAt(0)!==13||!q)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",q,X,W)),j},getFontByName:function(q){for(var X=0,W=this.fonts.length;X<W;){if(this.fonts[X].fName===q)return this.fonts[X];X+=1}return this.fonts[0]},measureText:function(q,X,W){var K=this.getFontByName(X),G=q.charCodeAt(0);if(!K.cache[G+1]){var Z=K.helper;if(q===" "){Z.textContent="|"+q+"|";var Q=Z.getComputedTextLength();Z.textContent="||";var te=Z.getComputedTextLength();K.cache[G+1]=(Q-te)/100}else Z.textContent=q,K.cache[G+1]=Z.getComputedTextLength()/100}return K.cache[G+1]*W},checkLoadedFonts:function(){var q,X,W,K=this.fonts.length,G=K;for(q=0;q<K;q+=1)this.fonts[q].loaded?G-=1:this.fonts[q].fOrigin==="n"||this.fonts[q].origin===0?this.fonts[q].loaded=!0:(X=this.fonts[q].monoCase.node,W=this.fonts[q].monoCase.w,X.offsetWidth!==W?(G-=1,this.fonts[q].loaded=!0):(X=this.fonts[q].sansCase.node,W=this.fonts[q].sansCase.w,X.offsetWidth!==W&&(G-=1,this.fonts[q].loaded=!0)),this.fonts[q].loaded&&(this.fonts[q].sansCase.parent.parentNode.removeChild(this.fonts[q].sansCase.parent),this.fonts[q].monoCase.parent.parentNode.removeChild(this.fonts[q].monoCase.parent)));G!==0&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}},Y}();function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(j){this.renderableComponents.indexOf(j)===-1&&this.renderableComponents.push(j)},removeRenderableComponent:function(j){this.renderableComponents.indexOf(j)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(j),1)},prepareRenderableFrame:function(j){this.checkLayerLimits(j)},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(j){this.data.ip-this.data.st<=j&&this.data.op-this.data.st>j?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 j,D=this.renderableComponents.length;for(j=0;j<D;j+=1)this.renderableComponents[j].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var MaskManagerInterface=function(){function j(D,B){this._mask=D,this._data=B}return Object.defineProperty(j.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(j.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(D){var B,R=createSizedArray(D.viewData.length),F=D.viewData.length;for(B=0;B<F;B+=1)R[B]=new j(D.viewData[B],D.masksProperties[B]);return function(U){for(B=0;B<F;){if(D.masksProperties[B].nm===U)return R[B];B+=1}return null}}}(),ExpressionPropertyInterface=function(){var j={pv:0,v:0,mult:1},D={pv:[0,0,0],v:[0,0,0],mult:1};function B(F,U,Y){Object.defineProperty(F,"velocity",{get:function(){return U.getVelocityAtTime(U.comp.currentFrame)}}),F.numKeys=U.keyframes?U.keyframes.length:0,F.key=function(q){if(!F.numKeys)return 0;var X="";X="s"in U.keyframes[q-1]?U.keyframes[q-1].s:"e"in U.keyframes[q-2]?U.keyframes[q-2].e:U.keyframes[q-2].s;var W=Y==="unidimensional"?new Number(X):Object.assign({},X);return W.time=U.keyframes[q-1].t/U.elem.comp.globalData.frameRate,W.value=Y==="unidimensional"?X[0]:X,W},F.valueAtTime=U.getValueAtTime,F.speedAtTime=U.getSpeedAtTime,F.velocityAtTime=U.getVelocityAtTime,F.propertyGroup=U.propertyGroup}function R(){return j}return function(F){return F?F.propType==="unidimensional"?function(U){U&&"pv"in U||(U=j);var Y=1/U.mult,q=U.pv*Y,X=new Number(q);return X.value=q,B(X,U,"unidimensional"),function(){return U.k&&U.getValue(),q=U.v*Y,X.value!==q&&((X=new Number(q)).value=q,B(X,U,"unidimensional")),X}}(F):function(U){U&&"pv"in U||(U=D);var Y=1/U.mult,q=U.data&&U.data.l||U.pv.length,X=createTypedArray("float32",q),W=createTypedArray("float32",q);return X.value=W,B(X,U,"multidimensional"),function(){U.k&&U.getValue();for(var K=0;K<q;K+=1)W[K]=U.v[K]*Y,X[K]=W[K];return X}}(F):R}}(),TransformExpressionInterface=function(j){function D(Y){switch(Y){case"scale":case"Scale":case"ADBE Scale":case 6:return D.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return D.rotation;case"ADBE Rotate X":return D.xRotation;case"ADBE Rotate Y":return D.yRotation;case"position":case"Position":case"ADBE Position":case 2:return D.position;case"ADBE Position_0":return D.xPosition;case"ADBE Position_1":return D.yPosition;case"ADBE Position_2":return D.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return D.anchorPoint;case"opacity":case"Opacity":case 11:return D.opacity;default:return null}}var B,R,F,U;return Object.defineProperty(D,"rotation",{get:ExpressionPropertyInterface(j.r||j.rz)}),Object.defineProperty(D,"zRotation",{get:ExpressionPropertyInterface(j.rz||j.r)}),Object.defineProperty(D,"xRotation",{get:ExpressionPropertyInterface(j.rx)}),Object.defineProperty(D,"yRotation",{get:ExpressionPropertyInterface(j.ry)}),Object.defineProperty(D,"scale",{get:ExpressionPropertyInterface(j.s)}),j.p?U=ExpressionPropertyInterface(j.p):(B=ExpressionPropertyInterface(j.px),R=ExpressionPropertyInterface(j.py),j.pz&&(F=ExpressionPropertyInterface(j.pz))),Object.defineProperty(D,"position",{get:function(){return j.p?U():[B(),R(),F?F():0]}}),Object.defineProperty(D,"xPosition",{get:ExpressionPropertyInterface(j.px)}),Object.defineProperty(D,"yPosition",{get:ExpressionPropertyInterface(j.py)}),Object.defineProperty(D,"zPosition",{get:ExpressionPropertyInterface(j.pz)}),Object.defineProperty(D,"anchorPoint",{get:ExpressionPropertyInterface(j.a)}),Object.defineProperty(D,"opacity",{get:ExpressionPropertyInterface(j.o)}),Object.defineProperty(D,"skew",{get:ExpressionPropertyInterface(j.sk)}),Object.defineProperty(D,"skewAxis",{get:ExpressionPropertyInterface(j.sa)}),Object.defineProperty(D,"orientation",{get:ExpressionPropertyInterface(j.or)}),D},LayerExpressionInterface=function(){function j(W){var K=new Matrix;return W!==void 0?this._elem.finalTransform.mProp.getValueAtTime(W).clone(K):this._elem.finalTransform.mProp.applyToMatrix(K),K}function D(W,K){var G=this.getMatrix(K);return G.props[12]=0,G.props[13]=0,G.props[14]=0,this.applyPoint(G,W)}function B(W,K){var G=this.getMatrix(K);return this.applyPoint(G,W)}function R(W,K){var G=this.getMatrix(K);return G.props[12]=0,G.props[13]=0,G.props[14]=0,this.invertPoint(G,W)}function F(W,K){var G=this.getMatrix(K);return this.invertPoint(G,W)}function U(W,K){if(this._elem.hierarchy&&this._elem.hierarchy.length){var G,Z=this._elem.hierarchy.length;for(G=0;G<Z;G+=1)this._elem.hierarchy[G].finalTransform.mProp.applyToMatrix(W)}return W.applyToPointArray(K[0],K[1],K[2]||0)}function Y(W,K){if(this._elem.hierarchy&&this._elem.hierarchy.length){var G,Z=this._elem.hierarchy.length;for(G=0;G<Z;G+=1)this._elem.hierarchy[G].finalTransform.mProp.applyToMatrix(W)}return W.inversePoint(K)}function q(W){var K=new Matrix;if(K.reset(),this._elem.finalTransform.mProp.applyToMatrix(K),this._elem.hierarchy&&this._elem.hierarchy.length){var G,Z=this._elem.hierarchy.length;for(G=0;G<Z;G+=1)this._elem.hierarchy[G].finalTransform.mProp.applyToMatrix(K);return K.inversePoint(W)}return K.inversePoint(W)}function X(){return[1,1,1,1]}return function(W){var K;function G(Q){switch(Q){case"ADBE Root Vectors Group":case"Contents":case 2:return G.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return K;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return G.effect;case"ADBE Text Properties":return G.textInterface;default:return null}}G.getMatrix=j,G.invertPoint=Y,G.applyPoint=U,G.toWorld=B,G.toWorldVec=D,G.fromWorld=F,G.fromWorldVec=R,G.toComp=B,G.fromComp=q,G.sampleImage=X,G.sourceRectAtTime=W.sourceRectAtTime.bind(W),G._elem=W;var Z=getDescriptor(K=TransformExpressionInterface(W.finalTransform.mProp),"anchorPoint");return Object.defineProperties(G,{hasParent:{get:function(){return W.hierarchy.length}},parent:{get:function(){return W.hierarchy[0].layerInterface}},rotation:getDescriptor(K,"rotation"),scale:getDescriptor(K,"scale"),position:getDescriptor(K,"position"),opacity:getDescriptor(K,"opacity"),anchorPoint:Z,anchor_point:Z,transform:{get:function(){return K}},active:{get:function(){return W.isInRange}}}),G.startTime=W.data.st,G.index=W.data.ind,G.source=W.data.refId,G.height=W.data.ty===0?W.data.h:100,G.width=W.data.ty===0?W.data.w:100,G.inPoint=W.data.ip/W.comp.globalData.frameRate,G.outPoint=W.data.op/W.comp.globalData.frameRate,G._name=W.data.nm,G.registerMaskInterface=function(Q){G.mask=new MaskManagerInterface(Q,W)},G.registerEffectsInterface=function(Q){G.effect=Q},G}}(),propertyGroupFactory=function(j,D){return function(B){return(B=B===void 0?1:B)<=0?j:D(B-1)}},PropertyInterface=function(j,D){var B={_name:j};return function(R){return(R=R===void 0?1:R)<=0?B:D(R-1)}},EffectsExpressionInterface=function(){function j(B,R,F,U){function Y(G){for(var Z=B.ef,Q=0,te=Z.length;Q<te;){if(G===Z[Q].nm||G===Z[Q].mn||G===Z[Q].ix)return Z[Q].ty===5?W[Q]:W[Q]();Q+=1}throw new Error}var q,X=propertyGroupFactory(Y,F),W=[],K=B.ef.length;for(q=0;q<K;q+=1)B.ef[q].ty===5?W.push(j(B.ef[q],R.effectElements[q],R.effectElements[q].propertyGroup,U)):W.push(D(R.effectElements[q],B.ef[q].ty,U,X));return B.mn==="ADBE Color Control"&&Object.defineProperty(Y,"color",{get:function(){return W[0]()}}),Object.defineProperties(Y,{numProperties:{get:function(){return B.np}},_name:{value:B.nm},propertyGroup:{value:X}}),Y.enabled=B.en!==0,Y.active=Y.enabled,Y}function D(B,R,F,U){var Y=ExpressionPropertyInterface(B.p);return B.p.setGroupProperty&&B.p.setGroupProperty(PropertyInterface("",U)),function(){return R===10?F.comp.compInterface(B.p.v):Y()}}return{createEffectsInterface:function(B,R){if(B.effectsManager){var F,U=[],Y=B.data.ef,q=B.effectsManager.effectElements.length;for(F=0;F<q;F+=1)U.push(j(Y[F],B.effectsManager.effectElements[F],R,B));var X=B.data.ef||[],W=function(K){for(F=0,q=X.length;F<q;){if(K===X[F].nm||K===X[F].mn||K===X[F].ix)return U[F];F+=1}return null};return Object.defineProperty(W,"numProperties",{get:function(){return X.length}}),W}return null}}}(),CompExpressionInterface=function(j){function D(B){for(var R=0,F=j.layers.length;R<F;){if(j.layers[R].nm===B||j.layers[R].ind===B)return j.elements[R].layerInterface;R+=1}return null}return Object.defineProperty(D,"_name",{value:j.data.nm}),D.layer=D,D.pixelAspect=1,D.height=j.data.h||j.globalData.compSize.h,D.width=j.data.w||j.globalData.compSize.w,D.pixelAspect=1,D.frameDuration=1/j.globalData.frameRate,D.displayStartTime=0,D.numLayers=j.layers.length,D},ShapePathInterface=function(j,D,B){var R=D.sh;function F(Y){return Y==="Shape"||Y==="shape"||Y==="Path"||Y==="path"||Y==="ADBE Vector Shape"||Y===2?F.path:null}var U=propertyGroupFactory(F,B);return R.setGroupProperty(PropertyInterface("Path",U)),Object.defineProperties(F,{path:{get:function(){return R.k&&R.getValue(),R}},shape:{get:function(){return R.k&&R.getValue(),R}},_name:{value:j.nm},ix:{value:j.ix},propertyIndex:{value:j.ix},mn:{value:j.mn},propertyGroup:{value:B}}),F},ShapeExpressionInterface=function(){function j(Q,te,re){var J,ie=[],ne=Q?Q.length:0;for(J=0;J<ne;J+=1)Q[J].ty==="gr"?ie.push(D(Q[J],te[J],re)):Q[J].ty==="fl"?ie.push(B(Q[J],te[J],re)):Q[J].ty==="st"?ie.push(U(Q[J],te[J],re)):Q[J].ty==="tm"?ie.push(Y(Q[J],te[J],re)):Q[J].ty==="tr"||(Q[J].ty==="el"?ie.push(X(Q[J],te[J],re)):Q[J].ty==="sr"?ie.push(W(Q[J],te[J],re)):Q[J].ty==="sh"?ie.push(ShapePathInterface(Q[J],te[J],re)):Q[J].ty==="rc"?ie.push(K(Q[J],te[J],re)):Q[J].ty==="rd"?ie.push(G(Q[J],te[J],re)):Q[J].ty==="rp"?ie.push(Z(Q[J],te[J],re)):Q[J].ty==="gf"?ie.push(R(Q[J],te[J],re)):ie.push(F(Q[J],te[J])));return ie}function D(Q,te,re){var J=function(oe){switch(oe){case"ADBE Vectors Group":case"Contents":case 2:return J.content;default:return J.transform}};J.propertyGroup=propertyGroupFactory(J,re);var ie=function(oe,ue,ce){var fe,ae=function(ve){for(var de=0,se=fe.length;de<se;){if(fe[de]._name===ve||fe[de].mn===ve||fe[de].propertyIndex===ve||fe[de].ix===ve||fe[de].ind===ve)return fe[de];de+=1}return typeof ve=="number"?fe[ve-1]:null};ae.propertyGroup=propertyGroupFactory(ae,ce),fe=j(oe.it,ue.it,ae.propertyGroup),ae.numProperties=fe.length;var he=q(oe.it[oe.it.length-1],ue.it[ue.it.length-1],ae.propertyGroup);return ae.transform=he,ae.propertyIndex=oe.cix,ae._name=oe.nm,ae}(Q,te,J.propertyGroup),ne=q(Q.it[Q.it.length-1],te.it[te.it.length-1],J.propertyGroup);return J.content=ie,J.transform=ne,Object.defineProperty(J,"_name",{get:function(){return Q.nm}}),J.numProperties=Q.np,J.propertyIndex=Q.ix,J.nm=Q.nm,J.mn=Q.mn,J}function B(Q,te,re){function J(ie){return ie==="Color"||ie==="color"?J.color:ie==="Opacity"||ie==="opacity"?J.opacity:null}return Object.defineProperties(J,{color:{get:ExpressionPropertyInterface(te.c)},opacity:{get:ExpressionPropertyInterface(te.o)},_name:{value:Q.nm},mn:{value:Q.mn}}),te.c.setGroupProperty(PropertyInterface("Color",re)),te.o.setGroupProperty(PropertyInterface("Opacity",re)),J}function R(Q,te,re){function J(ie){return ie==="Start Point"||ie==="start point"?J.startPoint:ie==="End Point"||ie==="end point"?J.endPoint:ie==="Opacity"||ie==="opacity"?J.opacity:null}return Object.defineProperties(J,{startPoint:{get:ExpressionPropertyInterface(te.s)},endPoint:{get:ExpressionPropertyInterface(te.e)},opacity:{get:ExpressionPropertyInterface(te.o)},type:{get:function(){return"a"}},_name:{value:Q.nm},mn:{value:Q.mn}}),te.s.setGroupProperty(PropertyInterface("Start Point",re)),te.e.setGroupProperty(PropertyInterface("End Point",re)),te.o.setGroupProperty(PropertyInterface("Opacity",re)),J}function F(){return function(){return null}}function U(Q,te,re){var J,ie=propertyGroupFactory(fe,re),ne=propertyGroupFactory(ce,ie);function oe(ae){Object.defineProperty(ce,Q.d[ae].nm,{get:ExpressionPropertyInterface(te.d.dataProps[ae].p)})}var ue=Q.d?Q.d.length:0,ce={};for(J=0;J<ue;J+=1)oe(J),te.d.dataProps[J].p.setGroupProperty(ne);function fe(ae){return ae==="Color"||ae==="color"?fe.color:ae==="Opacity"||ae==="opacity"?fe.opacity:ae==="Stroke Width"||ae==="stroke width"?fe.strokeWidth:null}return Object.defineProperties(fe,{color:{get:ExpressionPropertyInterface(te.c)},opacity:{get:ExpressionPropertyInterface(te.o)},strokeWidth:{get:ExpressionPropertyInterface(te.w)},dash:{get:function(){return ce}},_name:{value:Q.nm},mn:{value:Q.mn}}),te.c.setGroupProperty(PropertyInterface("Color",ie)),te.o.setGroupProperty(PropertyInterface("Opacity",ie)),te.w.setGroupProperty(PropertyInterface("Stroke Width",ie)),fe}function Y(Q,te,re){function J(ne){return ne===Q.e.ix||ne==="End"||ne==="end"?J.end:ne===Q.s.ix?J.start:ne===Q.o.ix?J.offset:null}var ie=propertyGroupFactory(J,re);return J.propertyIndex=Q.ix,te.s.setGroupProperty(PropertyInterface("Start",ie)),te.e.setGroupProperty(PropertyInterface("End",ie)),te.o.setGroupProperty(PropertyInterface("Offset",ie)),J.propertyIndex=Q.ix,J.propertyGroup=re,Object.defineProperties(J,{start:{get:ExpressionPropertyInterface(te.s)},end:{get:ExpressionPropertyInterface(te.e)},offset:{get:ExpressionPropertyInterface(te.o)},_name:{value:Q.nm}}),J.mn=Q.mn,J}function q(Q,te,re){function J(ne){return Q.a.ix===ne||ne==="Anchor Point"?J.anchorPoint:Q.o.ix===ne||ne==="Opacity"?J.opacity:Q.p.ix===ne||ne==="Position"?J.position:Q.r.ix===ne||ne==="Rotation"||ne==="ADBE Vector Rotation"?J.rotation:Q.s.ix===ne||ne==="Scale"?J.scale:Q.sk&&Q.sk.ix===ne||ne==="Skew"?J.skew:Q.sa&&Q.sa.ix===ne||ne==="Skew Axis"?J.skewAxis:null}var ie=propertyGroupFactory(J,re);return te.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",ie)),te.transform.mProps.p.setGroupProperty(PropertyInterface("Position",ie)),te.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",ie)),te.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",ie)),te.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",ie)),te.transform.mProps.sk&&(te.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",ie)),te.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",ie))),te.transform.op.setGroupProperty(PropertyInterface("Opacity",ie)),Object.defineProperties(J,{opacity:{get:ExpressionPropertyInterface(te.transform.mProps.o)},position:{get:ExpressionPropertyInterface(te.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(te.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(te.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(te.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(te.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(te.transform.mProps.sa)},_name:{value:Q.nm}}),J.ty="tr",J.mn=Q.mn,J.propertyGroup=re,J}function X(Q,te,re){function J(oe){return Q.p.ix===oe?J.position:Q.s.ix===oe?J.size:null}var ie=propertyGroupFactory(J,re);J.propertyIndex=Q.ix;var ne=te.sh.ty==="tm"?te.sh.prop:te.sh;return ne.s.setGroupProperty(PropertyInterface("Size",ie)),ne.p.setGroupProperty(PropertyInterface("Position",ie)),Object.defineProperties(J,{size:{get:ExpressionPropertyInterface(ne.s)},position:{get:ExpressionPropertyInterface(ne.p)},_name:{value:Q.nm}}),J.mn=Q.mn,J}function W(Q,te,re){function J(oe){return Q.p.ix===oe?J.position:Q.r.ix===oe?J.rotation:Q.pt.ix===oe?J.points:Q.or.ix===oe||oe==="ADBE Vector Star Outer Radius"?J.outerRadius:Q.os.ix===oe?J.outerRoundness:!Q.ir||Q.ir.ix!==oe&&oe!=="ADBE Vector Star Inner Radius"?Q.is&&Q.is.ix===oe?J.innerRoundness:null:J.innerRadius}var ie=propertyGroupFactory(J,re),ne=te.sh.ty==="tm"?te.sh.prop:te.sh;return J.propertyIndex=Q.ix,ne.or.setGroupProperty(PropertyInterface("Outer Radius",ie)),ne.os.setGroupProperty(PropertyInterface("Outer Roundness",ie)),ne.pt.setGroupProperty(PropertyInterface("Points",ie)),ne.p.setGroupProperty(PropertyInterface("Position",ie)),ne.r.setGroupProperty(PropertyInterface("Rotation",ie)),Q.ir&&(ne.ir.setGroupProperty(PropertyInterface("Inner Radius",ie)),ne.is.setGroupProperty(PropertyInterface("Inner Roundness",ie))),Object.defineProperties(J,{position:{get:ExpressionPropertyInterface(ne.p)},rotation:{get:ExpressionPropertyInterface(ne.r)},points:{get:ExpressionPropertyInterface(ne.pt)},outerRadius:{get:ExpressionPropertyInterface(ne.or)},outerRoundness:{get:ExpressionPropertyInterface(ne.os)},innerRadius:{get:ExpressionPropertyInterface(ne.ir)},innerRoundness:{get:ExpressionPropertyInterface(ne.is)},_name:{value:Q.nm}}),J.mn=Q.mn,J}function K(Q,te,re){function J(oe){return Q.p.ix===oe?J.position:Q.r.ix===oe?J.roundness:Q.s.ix===oe||oe==="Size"||oe==="ADBE Vector Rect Size"?J.size:null}var ie=propertyGroupFactory(J,re),ne=te.sh.ty==="tm"?te.sh.prop:te.sh;return J.propertyIndex=Q.ix,ne.p.setGroupProperty(PropertyInterface("Position",ie)),ne.s.setGroupProperty(PropertyInterface("Size",ie)),ne.r.setGroupProperty(PropertyInterface("Rotation",ie)),Object.defineProperties(J,{position:{get:ExpressionPropertyInterface(ne.p)},roundness:{get:ExpressionPropertyInterface(ne.r)},size:{get:ExpressionPropertyInterface(ne.s)},_name:{value:Q.nm}}),J.mn=Q.mn,J}function G(Q,te,re){function J(oe){return Q.r.ix===oe||oe==="Round Corners 1"?J.radius:null}var ie=propertyGroupFactory(J,re),ne=te;return J.propertyIndex=Q.ix,ne.rd.setGroupProperty(PropertyInterface("Radius",ie)),Object.defineProperties(J,{radius:{get:ExpressionPropertyInterface(ne.rd)},_name:{value:Q.nm}}),J.mn=Q.mn,J}function Z(Q,te,re){function J(oe){return Q.c.ix===oe||oe==="Copies"?J.copies:Q.o.ix===oe||oe==="Offset"?J.offset:null}var ie=propertyGroupFactory(J,re),ne=te;return J.propertyIndex=Q.ix,ne.c.setGroupProperty(PropertyInterface("Copies",ie)),ne.o.setGroupProperty(PropertyInterface("Offset",ie)),Object.defineProperties(J,{copies:{get:ExpressionPropertyInterface(ne.c)},offset:{get:ExpressionPropertyInterface(ne.o)},_name:{value:Q.nm}}),J.mn=Q.mn,J}return function(Q,te,re){var J;function ie(ne){if(typeof ne=="number")return(ne=ne===void 0?1:ne)===0?re:J[ne-1];for(var oe=0,ue=J.length;oe<ue;){if(J[oe]._name===ne)return J[oe];oe+=1}return null}return ie.propertyGroup=propertyGroupFactory(ie,function(){return re}),J=j(Q,te,ie.propertyGroup),ie.numProperties=J.length,ie._name="Contents",ie}}(),TextExpressionInterface=function(j){var D;function B(R){switch(R){case"ADBE Text Document":return B.sourceText;default:return null}}return Object.defineProperty(B,"sourceText",{get:function(){j.textProperty.getValue();var R=j.textProperty.currentData.t;return R!==void 0&&(j.textProperty.currentData.t=void 0,(D=new String(R)).value=R||new String(R)),D}}),B},getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(j){return blendModeEnums[j]||""}),blendModeEnums;function SliderEffect(j,D,B){this.p=PropertyFactory.getProp(D,j.v,0,0,B)}function AngleEffect(j,D,B){this.p=PropertyFactory.getProp(D,j.v,0,0,B)}function ColorEffect(j,D,B){this.p=PropertyFactory.getProp(D,j.v,1,0,B)}function PointEffect(j,D,B){this.p=PropertyFactory.getProp(D,j.v,1,0,B)}function LayerIndexEffect(j,D,B){this.p=PropertyFactory.getProp(D,j.v,0,0,B)}function MaskIndexEffect(j,D,B){this.p=PropertyFactory.getProp(D,j.v,0,0,B)}function CheckboxEffect(j,D,B){this.p=PropertyFactory.getProp(D,j.v,0,0,B)}function NoValueEffect(){this.p={}}function EffectsManager(j,D){var B,R=j.ef||[];this.effectElements=[];var F,U=R.length;for(B=0;B<U;B+=1)F=new GroupEffect(R[B],D),this.effectElements.push(F)}function GroupEffect(j,D){this.init(j,D)}function BaseElement(){}function FrameElement(){}function _typeof$2(j){return(_typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D})(j)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(j,D){var B;this.data=j,this.effectElements=[],this.initDynamicPropertyContainer(D);var R,F=this.data.ef.length,U=this.data.ef;for(B=0;B<F;B+=1){switch(R=null,U[B].ty){case 0:R=new SliderEffect(U[B],D,this);break;case 1:R=new AngleEffect(U[B],D,this);break;case 2:R=new ColorEffect(U[B],D,this);break;case 3:R=new PointEffect(U[B],D,this);break;case 4:case 7:R=new CheckboxEffect(U[B],D,this);break;case 10:R=new LayerIndexEffect(U[B],D,this);break;case 11:R=new MaskIndexEffect(U[B],D,this);break;case 5:R=new EffectsManager(U[B],D);break;default:R=new NoValueEffect(U[B])}R&&this.effectElements.push(R)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var j=0,D=this.data.masksProperties.length;j<D;){if(this.data.masksProperties[j].mode!=="n"&&this.data.masksProperties[j].cl!==!1)return!0;j+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var j=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(j),this.data.ty===0||this.data.xt?this.compInterface=CompExpressionInterface(this):this.data.ty===4?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var j=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=j},initBaseData:function(j,D,B){this.globalData=D,this.comp=B,this.data=j,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(j,D){var B,R=this.dynamicProperties.length;for(B=0;B<R;B+=1)(D||this._isParent&&this.dynamicProperties[B].propType==="transform")&&(this.dynamicProperties[B].getValue(),this.dynamicProperties[B]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(j){this.dynamicProperties.indexOf(j)===-1&&this.dynamicProperties.push(j)}};var FootageInterface=(dataInterfaceFactory=function(j){function D(B){return B==="Outline"?D.outlineInterface():null}return D._name="Outline",D.outlineInterface=function(B){var R="",F=B.getFootageData();function U(Y){if(F[Y])return R=Y,_typeof$2(F=F[Y])==="object"?U:F;var q=Y.indexOf(R);if(q!==-1){var X=parseInt(Y.substr(q+R.length),10);return _typeof$2(F=F[X])==="object"?U:F}return""}return function(){return R="",F=B.getFootageData(),U}}(j),D},function(j){function D(B){return B==="Data"?D.dataInterface:null}return D._name="Data",D.dataInterface=dataInterfaceFactory(j),D}),dataInterfaceFactory;function FootageElement(j,D,B){this.initFrame(),this.initRenderable(),this.assetData=D.getAssetData(j.refId),this.footageData=D.imageLoader.getAsset(this.assetData),this.initBaseData(j,D,B)}function AudioElement(j,D,B){this.initFrame(),this.initRenderable(),this.assetData=D.getAssetData(j.refId),this.initBaseData(j,D,B),this._isPlaying=!1,this._canPlay=!1;var R=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(R),this._currentTime=0,this.globalData.audioController.addAudio(this),this.tm=j.tm?PropertyFactory.getProp(this,j.tm,0,D.frameRate,this):{_placeholder:!0}}function BaseRenderer(){}function TransformElement(){}function MaskElement(j,D,B){this.data=j,this.element=D,this.globalData=B,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var R,F,U=this.globalData.defs,Y=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(Y),this.solidPath="";var q,X,W,K,G,Z,Q=this.masksProperties,te=0,re=[],J=createElementID(),ie="clipPath",ne="clip-path";for(R=0;R<Y;R+=1)if((Q[R].mode!=="a"&&Q[R].mode!=="n"||Q[R].inv||Q[R].o.k!==100||Q[R].o.x)&&(ie="mask",ne="mask"),Q[R].mode!=="s"&&Q[R].mode!=="i"||te!==0?W=null:((W=createNS("rect")).setAttribute("fill","#ffffff"),W.setAttribute("width",this.element.comp.data.w||0),W.setAttribute("height",this.element.comp.data.h||0),re.push(W)),F=createNS("path"),Q[R].mode==="n")this.viewData[R]={op:PropertyFactory.getProp(this.element,Q[R].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,Q[R],3),elem:F,lastPath:""},U.appendChild(F);else{var oe;if(te+=1,F.setAttribute("fill",Q[R].mode==="s"?"#000000":"#ffffff"),F.setAttribute("clip-rule","nonzero"),Q[R].x.k!==0?(ie="mask",ne="mask",Z=PropertyFactory.getProp(this.element,Q[R].x,0,null,this.element),oe=createElementID(),(K=createNS("filter")).setAttribute("id",oe),(G=createNS("feMorphology")).setAttribute("operator","erode"),G.setAttribute("in","SourceGraphic"),G.setAttribute("radius","0"),K.appendChild(G),U.appendChild(K),F.setAttribute("stroke",Q[R].mode==="s"?"#000000":"#ffffff")):(G=null,Z=null),this.storedData[R]={elem:F,x:Z,expan:G,lastPath:"",lastOperator:"",filterId:oe,lastRadius:0},Q[R].mode==="i"){X=re.length;var ue=createNS("g");for(q=0;q<X;q+=1)ue.appendChild(re[q]);var ce=createNS("mask");ce.setAttribute("mask-type","alpha"),ce.setAttribute("id",J+"_"+te),ce.appendChild(F),U.appendChild(ce),ue.setAttribute("mask","url("+getLocationHref()+"#"+J+"_"+te+")"),re.length=0,re.push(ue)}else re.push(F);Q[R].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[R]={elem:F,lastPath:"",op:PropertyFactory.getProp(this.element,Q[R].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,Q[R],3),invRect:W},this.viewData[R].prop.k||this.drawPath(Q[R],this.viewData[R].prop.v,this.viewData[R])}for(this.maskElement=createNS(ie),Y=re.length,R=0;R<Y;R+=1)this.maskElement.appendChild(re[R]);te>0&&(this.maskElement.setAttribute("id",J),this.element.maskedElement.setAttribute(ne,"url("+getLocationHref()+"#"+J+")"),U.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(j){if(this.prepareRenderableFrame(j,!0),this.prepareProperties(j,!0),this.tm._placeholder)this._currentTime=j/this.data.sr;else{var D=this.tm.v;this._currentTime=D}},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},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(j){this.audio.rate(j)},AudioElement.prototype.volume=function(j){this.audio.volume(j)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(j){var D,B,R=this.layers.length;for(this.completeLayers=!0,D=R-1;D>=0;D-=1)this.elements[D]||(B=this.layers[D]).ip-B.st<=j-this.layers[D].st&&B.op-B.st>j-this.layers[D].st&&this.buildItem(D),this.completeLayers=!!this.elements[D]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(j){switch(j.ty){case 2:return this.createImage(j);case 0:return this.createComp(j);case 1:return this.createSolid(j);case 3:return this.createNull(j);case 4:return this.createShape(j);case 5:return this.createText(j);case 6:return this.createAudio(j);case 13:return this.createCamera(j);case 15:return this.createFootage(j);default:return this.createNull(j)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(j){return new AudioElement(j,this.globalData,this)},BaseRenderer.prototype.createFootage=function(j){return new FootageElement(j,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var j,D=this.layers.length;for(j=0;j<D;j+=1)this.buildItem(j);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(j){var D;this.completeLayers=!1;var B,R=j.length,F=this.layers.length;for(D=0;D<R;D+=1)for(B=0;B<F;){if(this.layers[B].id===j[D].id){this.layers[B]=j[D];break}B+=1}},BaseRenderer.prototype.setProjectInterface=function(j){this.globalData.projectInterface=j},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(j,D,B){for(var R=this.elements,F=this.layers,U=0,Y=F.length;U<Y;)F[U].ind==D&&(R[U]&&R[U]!==!0?(B.push(R[U]),R[U].setAsParent(),F[U].parent!==void 0?this.buildElementParenting(j,F[U].parent,B):j.setHierarchy(B)):(this.buildItem(U),this.addPendingElement(j))),U+=1},BaseRenderer.prototype.addPendingElement=function(j){this.pendingElements.push(j)},BaseRenderer.prototype.searchExtraCompositions=function(j){var D,B=j.length;for(D=0;D<B;D+=1)if(j[D].xt){var R=this.createComp(j[D]);R.initExpressions(),this.globalData.projectInterface.registerComposition(R)}},BaseRenderer.prototype.setupGlobalData=function(j,D){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(j.chars),this.globalData.fontManager.addFonts(j.fonts,D),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=j.fr,this.globalData.nm=j.nm,this.globalData.compSize={w:j.w,h:j.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var j,D=this.finalTransform.mat,B=0,R=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;B<R;){if(this.hierarchy[B].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}B+=1}if(this.finalTransform._matMdf)for(j=this.finalTransform.mProp.v.props,D.cloneFromProps(j),B=0;B<R;B+=1)j=this.hierarchy[B].finalTransform.mProp.v.props,D.transform(j[0],j[1],j[2],j[3],j[4],j[5],j[6],j[7],j[8],j[9],j[10],j[11],j[12],j[13],j[14],j[15])}},globalToLocal:function(j){var D=[];D.push(this.finalTransform);for(var B,R=!0,F=this.comp;R;)F.finalTransform?(F.data.hasMask&&D.splice(0,0,F.finalTransform),F=F.comp):R=!1;var U,Y=D.length;for(B=0;B<Y;B+=1)U=D[B].mat.applyToPointArray(0,0,0),j=[j[0]-U[0],j[1]-U[1],0];return j},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(j){return this.viewData[j].prop},MaskElement.prototype.renderFrame=function(j){var D,B=this.element.finalTransform.mat,R=this.masksProperties.length;for(D=0;D<R;D+=1)if((this.viewData[D].prop._mdf||j)&&this.drawPath(this.masksProperties[D],this.viewData[D].prop.v,this.viewData[D]),(this.viewData[D].op._mdf||j)&&this.viewData[D].elem.setAttribute("fill-opacity",this.viewData[D].op.v),this.masksProperties[D].mode!=="n"&&(this.viewData[D].invRect&&(this.element.finalTransform.mProp._mdf||j)&&this.viewData[D].invRect.setAttribute("transform",B.getInverseMatrix().to2dCSS()),this.storedData[D].x&&(this.storedData[D].x._mdf||j))){var F=this.storedData[D].expan;this.storedData[D].x.v<0?(this.storedData[D].lastOperator!=="erode"&&(this.storedData[D].lastOperator="erode",this.storedData[D].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[D].filterId+")")),F.setAttribute("radius",-this.storedData[D].x.v)):(this.storedData[D].lastOperator!=="dilate"&&(this.storedData[D].lastOperator="dilate",this.storedData[D].elem.setAttribute("filter",null)),this.storedData[D].elem.setAttribute("stroke-width",2*this.storedData[D].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var j="M0,0 ";return j+=" h"+this.globalData.compSize.w,j+=" v"+this.globalData.compSize.h,j+=" h-"+this.globalData.compSize.w,j+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(j,D,B){var R,F,U=" M"+D.v[0][0]+","+D.v[0][1];for(F=D._length,R=1;R<F;R+=1)U+=" C"+D.o[R-1][0]+","+D.o[R-1][1]+" "+D.i[R][0]+","+D.i[R][1]+" "+D.v[R][0]+","+D.v[R][1];if(D.c&&F>1&&(U+=" C"+D.o[R-1][0]+","+D.o[R-1][1]+" "+D.i[0][0]+","+D.i[0][1]+" "+D.v[0][0]+","+D.v[0][1]),B.lastPath!==U){var Y="";B.elem&&(D.c&&(Y=j.inv?this.solidPath+U:U),B.elem.setAttribute("d",Y)),B.lastPath=U}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var j={};return j.createFilter=function(D,B){var R=createNS("filter");return R.setAttribute("id",D),B!==!0&&(R.setAttribute("filterUnits","objectBoundingBox"),R.setAttribute("x","0%"),R.setAttribute("y","0%"),R.setAttribute("width","100%"),R.setAttribute("height","100%")),R},j.createAlphaToLuminanceFilter=function(){var D=createNS("feColorMatrix");return D.setAttribute("type","matrix"),D.setAttribute("color-interpolation-filters","sRGB"),D.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),D},j}(),featureSupport=function(){var j={maskType:!0};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))&&(j.maskType=!1),j}();function SVGTintFilter(j,D){this.filterManager=D;var B=createNS("feColorMatrix");if(B.setAttribute("type","matrix"),B.setAttribute("color-interpolation-filters","linearRGB"),B.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),B.setAttribute("result","f1"),j.appendChild(B),(B=createNS("feColorMatrix")).setAttribute("type","matrix"),B.setAttribute("color-interpolation-filters","sRGB"),B.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),B.setAttribute("result","f2"),j.appendChild(B),this.matrixFilter=B,D.effectElements[2].p.v!==100||D.effectElements[2].p.k){var R,F=createNS("feMerge");j.appendChild(F),(R=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),F.appendChild(R),(R=createNS("feMergeNode")).setAttribute("in","f2"),F.appendChild(R)}}function SVGFillFilter(j,D){this.filterManager=D;var B=createNS("feColorMatrix");B.setAttribute("type","matrix"),B.setAttribute("color-interpolation-filters","sRGB"),B.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),j.appendChild(B),this.matrixFilter=B}function SVGStrokeEffect(j,D){this.initialized=!1,this.filterManager=D,this.elem=j,this.paths=[]}function SVGTritoneFilter(j,D){this.filterManager=D;var B=createNS("feColorMatrix");B.setAttribute("type","matrix"),B.setAttribute("color-interpolation-filters","linearRGB"),B.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),B.setAttribute("result","f1"),j.appendChild(B);var R=createNS("feComponentTransfer");R.setAttribute("color-interpolation-filters","sRGB"),j.appendChild(R),this.matrixFilter=R;var F=createNS("feFuncR");F.setAttribute("type","table"),R.appendChild(F),this.feFuncR=F;var U=createNS("feFuncG");U.setAttribute("type","table"),R.appendChild(U),this.feFuncG=U;var Y=createNS("feFuncB");Y.setAttribute("type","table"),R.appendChild(Y),this.feFuncB=Y}function SVGProLevelsFilter(j,D){this.filterManager=D;var B=this.filterManager.effectElements,R=createNS("feComponentTransfer");(B[10].p.k||B[10].p.v!==0||B[11].p.k||B[11].p.v!==1||B[12].p.k||B[12].p.v!==1||B[13].p.k||B[13].p.v!==0||B[14].p.k||B[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",R)),(B[17].p.k||B[17].p.v!==0||B[18].p.k||B[18].p.v!==1||B[19].p.k||B[19].p.v!==1||B[20].p.k||B[20].p.v!==0||B[21].p.k||B[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",R)),(B[24].p.k||B[24].p.v!==0||B[25].p.k||B[25].p.v!==1||B[26].p.k||B[26].p.v!==1||B[27].p.k||B[27].p.v!==0||B[28].p.k||B[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",R)),(B[31].p.k||B[31].p.v!==0||B[32].p.k||B[32].p.v!==1||B[33].p.k||B[33].p.v!==1||B[34].p.k||B[34].p.v!==0||B[35].p.k||B[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",R)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(R.setAttribute("color-interpolation-filters","sRGB"),j.appendChild(R),R=createNS("feComponentTransfer")),(B[3].p.k||B[3].p.v!==0||B[4].p.k||B[4].p.v!==1||B[5].p.k||B[5].p.v!==1||B[6].p.k||B[6].p.v!==0||B[7].p.k||B[7].p.v!==1)&&(R.setAttribute("color-interpolation-filters","sRGB"),j.appendChild(R),this.feFuncRComposed=this.createFeFunc("feFuncR",R),this.feFuncGComposed=this.createFeFunc("feFuncG",R),this.feFuncBComposed=this.createFeFunc("feFuncB",R))}function SVGDropShadowEffect(j,D){var B=D.container.globalData.renderConfig.filterSize;j.setAttribute("x",B.x),j.setAttribute("y",B.y),j.setAttribute("width",B.width),j.setAttribute("height",B.height),this.filterManager=D;var R=createNS("feGaussianBlur");R.setAttribute("in","SourceAlpha"),R.setAttribute("result","drop_shadow_1"),R.setAttribute("stdDeviation","0"),this.feGaussianBlur=R,j.appendChild(R);var F=createNS("feOffset");F.setAttribute("dx","25"),F.setAttribute("dy","0"),F.setAttribute("in","drop_shadow_1"),F.setAttribute("result","drop_shadow_2"),this.feOffset=F,j.appendChild(F);var U=createNS("feFlood");U.setAttribute("flood-color","#00ff00"),U.setAttribute("flood-opacity","1"),U.setAttribute("result","drop_shadow_3"),this.feFlood=U,j.appendChild(U);var Y=createNS("feComposite");Y.setAttribute("in","drop_shadow_3"),Y.setAttribute("in2","drop_shadow_2"),Y.setAttribute("operator","in"),Y.setAttribute("result","drop_shadow_4"),j.appendChild(Y);var q,X=createNS("feMerge");j.appendChild(X),q=createNS("feMergeNode"),X.appendChild(q),(q=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=q,this.feMerge=X,this.originalNodeAdded=!1,X.appendChild(q)}SVGTintFilter.prototype.renderFrame=function(j){if(j||this.filterManager._mdf){var D=this.filterManager.effectElements[0].p.v,B=this.filterManager.effectElements[1].p.v,R=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",B[0]-D[0]+" 0 0 0 "+D[0]+" "+(B[1]-D[1])+" 0 0 0 "+D[1]+" "+(B[2]-D[2])+" 0 0 0 "+D[2]+" 0 0 0 "+R+" 0")}},SVGFillFilter.prototype.renderFrame=function(j){if(j||this.filterManager._mdf){var D=this.filterManager.effectElements[2].p.v,B=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+D[0]+" 0 0 0 0 "+D[1]+" 0 0 0 0 "+D[2]+" 0 0 0 "+B+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var j,D,B,R,F=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(this.filterManager.effectElements[1].p.v===1?(R=this.elem.maskManager.masksProperties.length,B=0):R=(B=this.filterManager.effectElements[0].p.v-1)+1,(D=createNS("g")).setAttribute("fill","none"),D.setAttribute("stroke-linecap","round"),D.setAttribute("stroke-dashoffset",1);B<R;B+=1)j=createNS("path"),D.appendChild(j),this.paths.push({p:j,m:B});if(this.filterManager.effectElements[10].p.v===3){var U=createNS("mask"),Y=createElementID();U.setAttribute("id",Y),U.setAttribute("mask-type","alpha"),U.appendChild(D),this.elem.globalData.defs.appendChild(U);var q=createNS("g");for(q.setAttribute("mask","url("+getLocationHref()+"#"+Y+")");F[0];)q.appendChild(F[0]);this.elem.layerElement.appendChild(q),this.masker=U,D.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(F=this.elem.layerElement.children||this.elem.layerElement.childNodes;F.length;)this.elem.layerElement.removeChild(F[0]);this.elem.layerElement.appendChild(D),this.elem.layerElement.removeAttribute("mask"),D.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=D},SVGStrokeEffect.prototype.renderFrame=function(j){var D;this.initialized||this.initialize();var B,R,F=this.paths.length;for(D=0;D<F;D+=1)if(this.paths[D].m!==-1&&(B=this.elem.maskManager.viewData[this.paths[D].m],R=this.paths[D].p,(j||this.filterManager._mdf||B.prop._mdf)&&R.setAttribute("d",B.lastPath),j||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||B.prop._mdf)){var U;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var Y=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),q=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),X=R.getTotalLength();U="0 0 0 "+X*Y+" ";var W,K=X*(q-Y),G=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,Z=Math.floor(K/G);for(W=0;W<Z;W+=1)U+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";U+="0 "+10*X+" 0 0"}else U="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;R.setAttribute("stroke-dasharray",U)}if((j||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(j||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(j||this.filterManager.effectElements[3].p._mdf)){var Q=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*Q[0])+","+bmFloor(255*Q[1])+","+bmFloor(255*Q[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(j){if(j||this.filterManager._mdf){var D=this.filterManager.effectElements[0].p.v,B=this.filterManager.effectElements[1].p.v,R=this.filterManager.effectElements[2].p.v,F=R[0]+" "+B[0]+" "+D[0],U=R[1]+" "+B[1]+" "+D[1],Y=R[2]+" "+B[2]+" "+D[2];this.feFuncR.setAttribute("tableValues",F),this.feFuncG.setAttribute("tableValues",U),this.feFuncB.setAttribute("tableValues",Y)}},SVGProLevelsFilter.prototype.createFeFunc=function(j,D){var B=createNS(j);return B.setAttribute("type","table"),D.appendChild(B),B},SVGProLevelsFilter.prototype.getTableValue=function(j,D,B,R,F){for(var U,Y,q=0,X=Math.min(j,D),W=Math.max(j,D),K=Array.call(null,{length:256}),G=0,Z=F-R,Q=D-j;q<=256;)Y=(U=q/256)<=X?Q<0?F:R:U>=W?Q<0?R:F:R+Z*Math.pow((U-j)/Q,1/B),K[G]=Y,G+=1,q+=256/255;return K.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(j){if(j||this.filterManager._mdf){var D,B=this.filterManager.effectElements;this.feFuncRComposed&&(j||B[3].p._mdf||B[4].p._mdf||B[5].p._mdf||B[6].p._mdf||B[7].p._mdf)&&(D=this.getTableValue(B[3].p.v,B[4].p.v,B[5].p.v,B[6].p.v,B[7].p.v),this.feFuncRComposed.setAttribute("tableValues",D),this.feFuncGComposed.setAttribute("tableValues",D),this.feFuncBComposed.setAttribute("tableValues",D)),this.feFuncR&&(j||B[10].p._mdf||B[11].p._mdf||B[12].p._mdf||B[13].p._mdf||B[14].p._mdf)&&(D=this.getTableValue(B[10].p.v,B[11].p.v,B[12].p.v,B[13].p.v,B[14].p.v),this.feFuncR.setAttribute("tableValues",D)),this.feFuncG&&(j||B[17].p._mdf||B[18].p._mdf||B[19].p._mdf||B[20].p._mdf||B[21].p._mdf)&&(D=this.getTableValue(B[17].p.v,B[18].p.v,B[19].p.v,B[20].p.v,B[21].p.v),this.feFuncG.setAttribute("tableValues",D)),this.feFuncB&&(j||B[24].p._mdf||B[25].p._mdf||B[26].p._mdf||B[27].p._mdf||B[28].p._mdf)&&(D=this.getTableValue(B[24].p.v,B[25].p.v,B[26].p.v,B[27].p.v,B[28].p.v),this.feFuncB.setAttribute("tableValues",D)),this.feFuncA&&(j||B[31].p._mdf||B[32].p._mdf||B[33].p._mdf||B[34].p._mdf||B[35].p._mdf)&&(D=this.getTableValue(B[31].p.v,B[32].p.v,B[33].p.v,B[34].p.v,B[35].p.v),this.feFuncA.setAttribute("tableValues",D))}},SVGDropShadowEffect.prototype.renderFrame=function(j){if(j||this.filterManager._mdf){if((j||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),j||this.filterManager.effectElements[0].p._mdf){var D=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*D[0]),Math.round(255*D[1]),Math.round(255*D[2])))}if((j||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),j||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var B=this.filterManager.effectElements[3].p.v,R=(this.filterManager.effectElements[2].p.v-90)*degToRads,F=B*Math.cos(R),U=B*Math.sin(R);this.feOffset.setAttribute("dx",F),this.feOffset.setAttribute("dy",U)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(j,D,B){this.initialized=!1,this.filterManager=D,this.filterElem=j,this.elem=B,B.matteElement=createNS("g"),B.matteElement.appendChild(B.layerElement),B.matteElement.appendChild(B.transformedElement),B.baseElement=B.matteElement}function SVGGaussianBlurEffect(j,D){j.setAttribute("x","-100%"),j.setAttribute("y","-100%"),j.setAttribute("width","300%"),j.setAttribute("height","300%"),this.filterManager=D;var B=createNS("feGaussianBlur");j.appendChild(B),this.feGaussianBlur=B}SVGMatte3Effect.prototype.findSymbol=function(j){for(var D=0,B=_svgMatteSymbols.length;D<B;){if(_svgMatteSymbols[D]===j)return _svgMatteSymbols[D];D+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(j,D){var B=j.layerElement.parentNode;if(B){for(var R,F=B.children,U=0,Y=F.length;U<Y&&F[U]!==j.layerElement;)U+=1;U<=Y-2&&(R=F[U+1]);var q=createNS("use");q.setAttribute("href","#"+D),R?B.insertBefore(q,R):B.appendChild(q)}},SVGMatte3Effect.prototype.setElementAsMask=function(j,D){if(!this.findSymbol(D)){var B=createElementID(),R=createNS("mask");R.setAttribute("id",D.layerId),R.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(D);var F=j.globalData.defs;F.appendChild(R);var U=createNS("symbol");U.setAttribute("id",B),this.replaceInParent(D,B),U.appendChild(D.layerElement),F.appendChild(U);var Y=createNS("use");Y.setAttribute("href","#"+B),R.appendChild(Y),D.data.hd=!1,D.show()}j.setMatte(D.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var j=this.filterManager.effectElements[0].p.v,D=this.elem.comp.elements,B=0,R=D.length;B<R;)D[B]&&D[B].data.ind===j&&this.setElementAsMask(this.elem,D[B]),B+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(j){if(j||this.filterManager._mdf){var D=.3*this.filterManager.effectElements[0].p.v,B=this.filterManager.effectElements[1].p.v,R=B==3?0:D,F=B==2?0:D;this.feGaussianBlur.setAttribute("stdDeviation",R+" "+F);var U=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",U)}};var registeredEffects={};function SVGEffects(j){var D,B,R=j.data.ef?j.data.ef.length:0,F=createElementID(),U=filtersFactory.createFilter(F,!0),Y=0;for(this.filters=[],D=0;D<R;D+=1){B=null;var q=j.data.ef[D].ty;registeredEffects[q]&&(B=new registeredEffects[q].effect(U,j.effectsManager.effectElements[D],j),registeredEffects[q].countsAsEffect&&(Y+=1)),j.data.ef[D].ty===20?(Y+=1,B=new SVGTintFilter(U,j.effectsManager.effectElements[D])):j.data.ef[D].ty===21?(Y+=1,B=new SVGFillFilter(U,j.effectsManager.effectElements[D])):j.data.ef[D].ty===22?B=new SVGStrokeEffect(j,j.effectsManager.effectElements[D]):j.data.ef[D].ty===23?(Y+=1,B=new SVGTritoneFilter(U,j.effectsManager.effectElements[D])):j.data.ef[D].ty===24?(Y+=1,B=new SVGProLevelsFilter(U,j.effectsManager.effectElements[D])):j.data.ef[D].ty===25?(Y+=1,B=new SVGDropShadowEffect(U,j.effectsManager.effectElements[D])):j.data.ef[D].ty===28?B=new SVGMatte3Effect(U,j.effectsManager.effectElements[D],j):j.data.ef[D].ty===29&&(Y+=1,B=new SVGGaussianBlurEffect(U,j.effectsManager.effectElements[D])),B&&this.filters.push(B)}Y&&(j.globalData.defs.appendChild(U),j.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+F+")")),this.filters.length&&j.addRenderableComponent(this)}function registerEffect(j,D,B){registeredEffects[j]={effect:D,countsAsEffect:B}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(j,D,B){this.assetData=D.getAssetData(j.refId),this.initElement(j,D,B),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(j,D){this.elem=j,this.pos=D}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(j){var D,B=this.filters.length;for(D=0;D<B;D+=1)this.filters[D].renderFrame(j)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var j,D,B,R=null;if(this.data.td){if(this.data.td==3||this.data.td==1){var F=createNS("mask");F.setAttribute("id",this.layerId),F.setAttribute("mask-type",this.data.td==3?"luminance":"alpha"),F.appendChild(this.layerElement),R=F,this.globalData.defs.appendChild(F),featureSupport.maskType||this.data.td!=1||(F.setAttribute("mask-type","luminance"),j=createElementID(),D=filtersFactory.createFilter(j),this.globalData.defs.appendChild(D),D.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(B=createNS("g")).appendChild(this.layerElement),R=B,F.appendChild(B),B.setAttribute("filter","url("+getLocationHref()+"#"+j+")"))}else if(this.data.td==2){var U=createNS("mask");U.setAttribute("id",this.layerId),U.setAttribute("mask-type","alpha");var Y=createNS("g");U.appendChild(Y),j=createElementID(),D=filtersFactory.createFilter(j);var q=createNS("feComponentTransfer");q.setAttribute("in","SourceGraphic"),D.appendChild(q);var X=createNS("feFuncA");X.setAttribute("type","table"),X.setAttribute("tableValues","1.0 0.0"),q.appendChild(X),this.globalData.defs.appendChild(D);var W=createNS("rect");W.setAttribute("width",this.comp.data.w),W.setAttribute("height",this.comp.data.h),W.setAttribute("x","0"),W.setAttribute("y","0"),W.setAttribute("fill","#ffffff"),W.setAttribute("opacity","0"),Y.setAttribute("filter","url("+getLocationHref()+"#"+j+")"),Y.appendChild(W),Y.appendChild(this.layerElement),R=Y,featureSupport.maskType||(U.setAttribute("mask-type","luminance"),D.appendChild(filtersFactory.createAlphaToLuminanceFilter()),B=createNS("g"),Y.appendChild(W),B.appendChild(this.layerElement),R=B,Y.appendChild(B)),this.globalData.defs.appendChild(U)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),R=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var K=createNS("clipPath"),G=createNS("path");G.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var Z=createElementID();if(K.setAttribute("id",Z),K.appendChild(G),this.globalData.defs.appendChild(K),this.checkMasks()){var Q=createNS("g");Q.setAttribute("clip-path","url("+getLocationHref()+"#"+Z+")"),Q.appendChild(this.layerElement),this.transformedElement=Q,R?R.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+Z+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(j){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+j+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(j){this.hierarchy=j},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(j,D,B){this.initFrame(),this.initBaseData(j,D,B),this.initTransform(j,D,B),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(j){this._mdf=!1,this.prepareRenderableFrame(j),this.prepareProperties(j,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var j=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",j),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(j){var D,B=this.shapeModifiers.length;for(D=0;D<B;D+=1)this.shapeModifiers[D].addShape(j)},isShapeInAnimatedModifiers:function(j){for(var D=this.shapeModifiers.length;0<D;)if(this.shapeModifiers[0].isAnimatedWithShape(j))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var j,D=this.shapes.length;for(j=0;j<D;j+=1)this.shapes[j].sh.reset();for(j=(D=this.shapeModifiers.length)-1;j>=0&&!this.shapeModifiers[j].processShapes(this._isFirstFrame);j-=1);}},searchProcessedElement:function(j){for(var D=this.processedElements,B=0,R=D.length;B<R;){if(D[B].elem===j)return D[B].pos;B+=1}return 0},addProcessedElement:function(j,D){for(var B=this.processedElements,R=B.length;R;)if(B[R-=1].elem===j)return void(B[R].pos=D);B.push(new ProcessedElement(j,D))},prepareFrame:function(j){this.prepareRenderableFrame(j),this.prepareProperties(j,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(j,D,B){this.caches=[],this.styles=[],this.transformers=j,this.lStr="",this.sh=B,this.lvl=D,this._isAnimated=!!B.k;for(var R=0,F=j.length;R<F;){if(j[R].mProps.dynamicProperties.length){this._isAnimated=!0;break}R+=1}}function SVGStyleData(j,D){this.data=j,this.type=j.ty,this.d="",this.lvl=D,this._mdf=!1,this.closed=j.hd===!0,this.pElem=createNS("path"),this.msElem=null}function DashProperty(j,D,B,R){var F;this.elem=j,this.frameId=-1,this.dataProps=createSizedArray(D.length),this.renderer=B,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",D.length?D.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(R);var U,Y=D.length||0;for(F=0;F<Y;F+=1)U=PropertyFactory.getProp(j,D[F].v,0,0,this),this.k=U.k||this.k,this.dataProps[F]={n:D[F].n,p:U};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(j,D,B){this.initDynamicPropertyContainer(j),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(j,D.o,0,.01,this),this.w=PropertyFactory.getProp(j,D.w,0,null,this),this.d=new DashProperty(j,D.d||{},"svg",this),this.c=PropertyFactory.getProp(j,D.c,1,255,this),this.style=B,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(j,D,B){this.initDynamicPropertyContainer(j),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(j,D.o,0,.01,this),this.c=PropertyFactory.getProp(j,D.c,1,255,this),this.style=B}function SVGNoStyleData(j,D,B){this.initDynamicPropertyContainer(j),this.getValue=this.iterateDynamicProperties,this.style=B}function GradientProperty(j,D,B){this.data=D,this.c=createTypedArray("uint8c",4*D.p);var R=D.k.k[0].s?D.k.k[0].s.length-4*D.p:D.k.k.length-4*D.p;this.o=createTypedArray("float32",R),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=R,this.initDynamicPropertyContainer(B),this.prop=PropertyFactory.getProp(j,D.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(j,D,B){this.initDynamicPropertyContainer(j),this.getValue=this.iterateDynamicProperties,this.initGradientData(j,D,B)}function SVGGradientStrokeStyleData(j,D,B){this.initDynamicPropertyContainer(j),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(j,D.w,0,null,this),this.d=new DashProperty(j,D.d||{},"svg",this),this.initGradientData(j,D,B),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(j,D,B){this.transform={mProps:j,op:D,container:B},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(j){if((this.elem.globalData.frameId!==this.frameId||j)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||j,this._mdf)){var D=0,B=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),D=0;D<B;D+=1)this.dataProps[D].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[D].p.v:this.dashArray[D]=this.dataProps[D].p.v:this.dashoffset[0]=this.dataProps[D].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(j,D){for(var B=0,R=this.o.length/2;B<R;){if(Math.abs(j[4*B]-j[4*D+2*B])>.01)return!1;B+=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 j=0,D=this.data.k.k.length;j<D;){if(!this.comparePoints(this.data.k.k[j].s,this.data.p))return!1;j+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(j){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||j){var D,B,R,F=4*this.data.p;for(D=0;D<F;D+=1)B=D%4==0?100:255,R=Math.round(this.prop.v[D]*B),this.c[D]!==R&&(this.c[D]=R,this._cmdf=!j);if(this.o.length)for(F=this.prop.v.length,D=4*this.data.p;D<F;D+=1)B=D%2==0?100:1,R=D%2==0?Math.round(100*this.prop.v[D]):this.prop.v[D],this.o[D-4*this.data.p]!==R&&(this.o[D-4*this.data.p]=R,this._omdf=!j);this._mdf=!j}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(j,D,B){this.o=PropertyFactory.getProp(j,D.o,0,.01,this),this.s=PropertyFactory.getProp(j,D.s,1,null,this),this.e=PropertyFactory.getProp(j,D.e,1,null,this),this.h=PropertyFactory.getProp(j,D.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(j,D.a||{k:0},0,degToRads,this),this.g=new GradientProperty(j,D.g,this),this.style=B,this.stops=[],this.setGradientData(B.pElem,D),this.setGradientOpacity(D,B),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(j,D){var B=createElementID(),R=createNS(D.t===1?"linearGradient":"radialGradient");R.setAttribute("id",B),R.setAttribute("spreadMethod","pad"),R.setAttribute("gradientUnits","userSpaceOnUse");var F,U,Y,q=[];for(Y=4*D.g.p,U=0;U<Y;U+=4)F=createNS("stop"),R.appendChild(F),q.push(F);j.setAttribute(D.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+B+")"),this.gf=R,this.cst=q},SVGGradientFillStyleData.prototype.setGradientOpacity=function(j,D){if(this.g._hasOpacity&&!this.g._collapsable){var B,R,F,U=createNS("mask"),Y=createNS("path");U.appendChild(Y);var q=createElementID(),X=createElementID();U.setAttribute("id",X);var W=createNS(j.t===1?"linearGradient":"radialGradient");W.setAttribute("id",q),W.setAttribute("spreadMethod","pad"),W.setAttribute("gradientUnits","userSpaceOnUse"),F=j.g.k.k[0].s?j.g.k.k[0].s.length:j.g.k.k.length;var K=this.stops;for(R=4*j.g.p;R<F;R+=2)(B=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),W.appendChild(B),K.push(B);Y.setAttribute(j.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+q+")"),j.ty==="gs"&&(Y.setAttribute("stroke-linecap",lineCapEnum[j.lc||2]),Y.setAttribute("stroke-linejoin",lineJoinEnum[j.lj||2]),j.lj===1&&Y.setAttribute("stroke-miterlimit",j.ml)),this.of=W,this.ms=U,this.ost=K,this.maskId=X,D.msElem=Y}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(j,D,B,R){if(D===0)return"";var F,U=j.o,Y=j.i,q=j.v,X=" M"+R.applyToPointStringified(q[0][0],q[0][1]);for(F=1;F<D;F+=1)X+=" C"+R.applyToPointStringified(U[F-1][0],U[F-1][1])+" "+R.applyToPointStringified(Y[F][0],Y[F][1])+" "+R.applyToPointStringified(q[F][0],q[F][1]);return B&&D&&(X+=" C"+R.applyToPointStringified(U[F-1][0],U[F-1][1])+" "+R.applyToPointStringified(Y[0][0],Y[0][1])+" "+R.applyToPointStringified(q[0][0],q[0][1]),X+="z"),X},SVGElementsRenderer=function(){var j=new Matrix,D=new Matrix;function B(W,K,G){(G||K.transform.op._mdf)&&K.transform.container.setAttribute("opacity",K.transform.op.v),(G||K.transform.mProps._mdf)&&K.transform.container.setAttribute("transform",K.transform.mProps.v.to2dCSS())}function R(){}function F(W,K,G){var Z,Q,te,re,J,ie,ne,oe,ue,ce,fe,ae=K.styles.length,he=K.lvl;for(ie=0;ie<ae;ie+=1){if(re=K.sh._mdf||G,K.styles[ie].lvl<he){for(oe=D.reset(),ce=he-K.styles[ie].lvl,fe=K.transformers.length-1;!re&&ce>0;)re=K.transformers[fe].mProps._mdf||re,ce-=1,fe-=1;if(re)for(ce=he-K.styles[ie].lvl,fe=K.transformers.length-1;ce>0;)ue=K.transformers[fe].mProps.v.props,oe.transform(ue[0],ue[1],ue[2],ue[3],ue[4],ue[5],ue[6],ue[7],ue[8],ue[9],ue[10],ue[11],ue[12],ue[13],ue[14],ue[15]),ce-=1,fe-=1}else oe=j;if(Q=(ne=K.sh.paths)._length,re){for(te="",Z=0;Z<Q;Z+=1)(J=ne.shapes[Z])&&J._length&&(te+=buildShapeString(J,J._length,J.c,oe));K.caches[ie]=te}else te=K.caches[ie];K.styles[ie].d+=W.hd===!0?"":te,K.styles[ie]._mdf=re||K.styles[ie]._mdf}}function U(W,K,G){var Z=K.style;(K.c._mdf||G)&&Z.pElem.setAttribute("fill","rgb("+bmFloor(K.c.v[0])+","+bmFloor(K.c.v[1])+","+bmFloor(K.c.v[2])+")"),(K.o._mdf||G)&&Z.pElem.setAttribute("fill-opacity",K.o.v)}function Y(W,K,G){q(W,K,G),X(W,K,G)}function q(W,K,G){var Z,Q,te,re,J,ie=K.gf,ne=K.g._hasOpacity,oe=K.s.v,ue=K.e.v;if(K.o._mdf||G){var ce=W.ty==="gf"?"fill-opacity":"stroke-opacity";K.style.pElem.setAttribute(ce,K.o.v)}if(K.s._mdf||G){var fe=W.t===1?"x1":"cx",ae=fe==="x1"?"y1":"cy";ie.setAttribute(fe,oe[0]),ie.setAttribute(ae,oe[1]),ne&&!K.g._collapsable&&(K.of.setAttribute(fe,oe[0]),K.of.setAttribute(ae,oe[1]))}if(K.g._cmdf||G){Z=K.cst;var he=K.g.c;for(te=Z.length,Q=0;Q<te;Q+=1)(re=Z[Q]).setAttribute("offset",he[4*Q]+"%"),re.setAttribute("stop-color","rgb("+he[4*Q+1]+","+he[4*Q+2]+","+he[4*Q+3]+")")}if(ne&&(K.g._omdf||G)){var ve=K.g.o;for(te=(Z=K.g._collapsable?K.cst:K.ost).length,Q=0;Q<te;Q+=1)re=Z[Q],K.g._collapsable||re.setAttribute("offset",ve[2*Q]+"%"),re.setAttribute("stop-opacity",ve[2*Q+1])}if(W.t===1)(K.e._mdf||G)&&(ie.setAttribute("x2",ue[0]),ie.setAttribute("y2",ue[1]),ne&&!K.g._collapsable&&(K.of.setAttribute("x2",ue[0]),K.of.setAttribute("y2",ue[1])));else if((K.s._mdf||K.e._mdf||G)&&(J=Math.sqrt(Math.pow(oe[0]-ue[0],2)+Math.pow(oe[1]-ue[1],2)),ie.setAttribute("r",J),ne&&!K.g._collapsable&&K.of.setAttribute("r",J)),K.e._mdf||K.h._mdf||K.a._mdf||G){J||(J=Math.sqrt(Math.pow(oe[0]-ue[0],2)+Math.pow(oe[1]-ue[1],2)));var de=Math.atan2(ue[1]-oe[1],ue[0]-oe[0]),se=K.h.v;se>=1?se=.99:se<=-1&&(se=-.99);var ge=J*se,be=Math.cos(de+K.a.v)*ge+oe[0],le=Math.sin(de+K.a.v)*ge+oe[1];ie.setAttribute("fx",be),ie.setAttribute("fy",le),ne&&!K.g._collapsable&&(K.of.setAttribute("fx",be),K.of.setAttribute("fy",le))}}function X(W,K,G){var Z=K.style,Q=K.d;Q&&(Q._mdf||G)&&Q.dashStr&&(Z.pElem.setAttribute("stroke-dasharray",Q.dashStr),Z.pElem.setAttribute("stroke-dashoffset",Q.dashoffset[0])),K.c&&(K.c._mdf||G)&&Z.pElem.setAttribute("stroke","rgb("+bmFloor(K.c.v[0])+","+bmFloor(K.c.v[1])+","+bmFloor(K.c.v[2])+")"),(K.o._mdf||G)&&Z.pElem.setAttribute("stroke-opacity",K.o.v),(K.w._mdf||G)&&(Z.pElem.setAttribute("stroke-width",K.w.v),Z.msElem&&Z.msElem.setAttribute("stroke-width",K.w.v))}return{createRenderFunction:function(W){switch(W.ty){case"fl":return U;case"gf":return q;case"gs":return Y;case"st":return X;case"sh":case"el":case"rc":case"sr":return F;case"tr":return B;case"no":return R;default:return null}}}}();function SVGShapeElement(j,D,B){this.shapes=[],this.shapesData=j.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(j,D,B),this.prevViewData=[]}function LetterProps(j,D,B,R,F,U){this.o=j,this.sw=D,this.sc=B,this.fc=R,this.m=F,this.p=U,this._mdf={o:!0,sw:!!D,sc:!!B,fc:!!R,m:!0,p:!0}}function TextProperty(j,D){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=D,this.elem=j,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}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 j,D,B,R,F=this.shapes.length,U=this.stylesList.length,Y=[],q=!1;for(B=0;B<U;B+=1){for(R=this.stylesList[B],q=!1,Y.length=0,j=0;j<F;j+=1)(D=this.shapes[j]).styles.indexOf(R)!==-1&&(Y.push(D),q=D._isAnimated||q);Y.length>1&&q&&this.setShapesAsAnimated(Y)}},SVGShapeElement.prototype.setShapesAsAnimated=function(j){var D,B=j.length;for(D=0;D<B;D+=1)j[D].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(j,D){var B,R=new SVGStyleData(j,D),F=R.pElem;return j.ty==="st"?B=new SVGStrokeStyleData(this,j,R):j.ty==="fl"?B=new SVGFillStyleData(this,j,R):j.ty==="gf"||j.ty==="gs"?(B=new(j.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,j,R),this.globalData.defs.appendChild(B.gf),B.maskId&&(this.globalData.defs.appendChild(B.ms),this.globalData.defs.appendChild(B.of),F.setAttribute("mask","url("+getLocationHref()+"#"+B.maskId+")"))):j.ty==="no"&&(B=new SVGNoStyleData(this,j,R)),j.ty!=="st"&&j.ty!=="gs"||(F.setAttribute("stroke-linecap",lineCapEnum[j.lc||2]),F.setAttribute("stroke-linejoin",lineJoinEnum[j.lj||2]),F.setAttribute("fill-opacity","0"),j.lj===1&&F.setAttribute("stroke-miterlimit",j.ml)),j.r===2&&F.setAttribute("fill-rule","evenodd"),j.ln&&F.setAttribute("id",j.ln),j.cl&&F.setAttribute("class",j.cl),j.bm&&(F.style["mix-blend-mode"]=getBlendMode(j.bm)),this.stylesList.push(R),this.addToAnimatedContents(j,B),B},SVGShapeElement.prototype.createGroupElement=function(j){var D=new ShapeGroupData;return j.ln&&D.gr.setAttribute("id",j.ln),j.cl&&D.gr.setAttribute("class",j.cl),j.bm&&(D.gr.style["mix-blend-mode"]=getBlendMode(j.bm)),D},SVGShapeElement.prototype.createTransformElement=function(j,D){var B=TransformPropertyFactory.getTransformProperty(this,j,this),R=new SVGTransformData(B,B.o,D);return this.addToAnimatedContents(j,R),R},SVGShapeElement.prototype.createShapeElement=function(j,D,B){var R=4;j.ty==="rc"?R=5:j.ty==="el"?R=6:j.ty==="sr"&&(R=7);var F=new SVGShapeData(D,B,ShapePropertyFactory.getShapeProp(this,j,R,this));return this.shapes.push(F),this.addShapeToModifiers(F),this.addToAnimatedContents(j,F),F},SVGShapeElement.prototype.addToAnimatedContents=function(j,D){for(var B=0,R=this.animatedContents.length;B<R;){if(this.animatedContents[B].element===D)return;B+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(j),element:D,data:j})},SVGShapeElement.prototype.setElementStyles=function(j){var D,B=j.styles,R=this.stylesList.length;for(D=0;D<R;D+=1)this.stylesList[D].closed||B.push(this.stylesList[D])},SVGShapeElement.prototype.reloadShapes=function(){var j;this._isFirstFrame=!0;var D=this.itemsData.length;for(j=0;j<D;j+=1)this.prevViewData[j]=this.itemsData[j];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),D=this.dynamicProperties.length,j=0;j<D;j+=1)this.dynamicProperties[j].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(j,D,B,R,F,U,Y){var q,X,W,K,G,Z,Q=[].concat(U),te=j.length-1,re=[],J=[];for(q=te;q>=0;q-=1){if((Z=this.searchProcessedElement(j[q]))?D[q]=B[Z-1]:j[q]._render=Y,j[q].ty==="fl"||j[q].ty==="st"||j[q].ty==="gf"||j[q].ty==="gs"||j[q].ty==="no")Z?D[q].style.closed=!1:D[q]=this.createStyleElement(j[q],F),j[q]._render&&D[q].style.pElem.parentNode!==R&&R.appendChild(D[q].style.pElem),re.push(D[q].style);else if(j[q].ty==="gr"){if(Z)for(W=D[q].it.length,X=0;X<W;X+=1)D[q].prevViewData[X]=D[q].it[X];else D[q]=this.createGroupElement(j[q]);this.searchShapes(j[q].it,D[q].it,D[q].prevViewData,D[q].gr,F+1,Q,Y),j[q]._render&&D[q].gr.parentNode!==R&&R.appendChild(D[q].gr)}else j[q].ty==="tr"?(Z||(D[q]=this.createTransformElement(j[q],R)),K=D[q].transform,Q.push(K)):j[q].ty==="sh"||j[q].ty==="rc"||j[q].ty==="el"||j[q].ty==="sr"?(Z||(D[q]=this.createShapeElement(j[q],Q,F)),this.setElementStyles(D[q])):j[q].ty==="tm"||j[q].ty==="rd"||j[q].ty==="ms"||j[q].ty==="pb"?(Z?(G=D[q]).closed=!1:((G=ShapeModifiers.getModifier(j[q].ty)).init(this,j[q]),D[q]=G,this.shapeModifiers.push(G)),J.push(G)):j[q].ty==="rp"&&(Z?(G=D[q]).closed=!0:(G=ShapeModifiers.getModifier(j[q].ty),D[q]=G,G.init(this,j,q,D),this.shapeModifiers.push(G),Y=!1),J.push(G));this.addProcessedElement(j[q],q+1)}for(te=re.length,q=0;q<te;q+=1)re[q].closed=!0;for(te=J.length,q=0;q<te;q+=1)J[q].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var j;this.renderModifiers();var D=this.stylesList.length;for(j=0;j<D;j+=1)this.stylesList[j].reset();for(this.renderShape(),j=0;j<D;j+=1)(this.stylesList[j]._mdf||this._isFirstFrame)&&(this.stylesList[j].msElem&&(this.stylesList[j].msElem.setAttribute("d",this.stylesList[j].d),this.stylesList[j].d="M0 0"+this.stylesList[j].d),this.stylesList[j].pElem.setAttribute("d",this.stylesList[j].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var j,D,B=this.animatedContents.length;for(j=0;j<B;j+=1)D=this.animatedContents[j],(this._isFirstFrame||D.element._isAnimated)&&D.data!==!0&&D.fn(D.data,D.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(j,D,B,R,F,U){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var Y=!1;return this.o!==j&&(this.o=j,this._mdf.o=!0,Y=!0),this.sw!==D&&(this.sw=D,this._mdf.sw=!0,Y=!0),this.sc!==B&&(this.sc=B,this._mdf.sc=!0,Y=!0),this.fc!==R&&(this.fc=R,this._mdf.fc=!0,Y=!0),this.m!==F&&(this.m=F,this._mdf.m=!0,Y=!0),!U.length||this.p[0]===U[0]&&this.p[1]===U[1]&&this.p[4]===U[4]&&this.p[5]===U[5]&&this.p[12]===U[12]&&this.p[13]===U[13]||(this.p=U,this._mdf.p=!0,Y=!0),Y},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(j,D){for(var B in D)Object.prototype.hasOwnProperty.call(D,B)&&(j[B]=D[B]);return j},TextProperty.prototype.setCurrentData=function(j){j.__complete||this.completeTextData(j),this.currentData=j,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(j){this.effectsSequence.push(j),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(j){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||j){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var D=this.currentData,B=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var R;this.lock=!0,this._mdf=!1;var F=this.effectsSequence.length,U=j||this.data.d.k[this.keysIndex].s;for(R=0;R<F;R+=1)U=B!==this.keysIndex?this.effectsSequence[R](U,U.t):this.effectsSequence[R](this.currentData,U.t);D!==U&&this.setCurrentData(U),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var j=this.data.d.k,D=this.elem.comp.renderedFrame,B=0,R=j.length;B<=R-1&&!(B===R-1||j[B+1].t>D);)B+=1;return this.keysIndex!==B&&(this.keysIndex=B),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(j){for(var D,B,R=[],F=0,U=j.length,Y=!1;F<U;)D=j.charCodeAt(F),FontManager.isCombinedCharacter(D)?R[R.length-1]+=j.charAt(F):D>=55296&&D<=56319?(B=j.charCodeAt(F+1))>=56320&&B<=57343?(Y||FontManager.isModifier(D,B)?(R[R.length-1]+=j.substr(F,2),Y=!1):R.push(j.substr(F,2)),F+=1):R.push(j.charAt(F)):D>56319?(B=j.charCodeAt(F+1),FontManager.isZeroWidthJoiner(D,B)?(Y=!0,R[R.length-1]+=j.substr(F,2),F+=1):R.push(j.charAt(F))):FontManager.isZeroWidthJoiner(D)?(R[R.length-1]+=j.charAt(F),Y=!0):R.push(j.charAt(F)),F+=1;return R},TextProperty.prototype.completeTextData=function(j){j.__complete=!0;var D,B,R,F,U,Y,q,X=this.elem.globalData.fontManager,W=this.data,K=[],G=0,Z=W.m.g,Q=0,te=0,re=0,J=[],ie=0,ne=0,oe=X.getFontByName(j.f),ue=0,ce=getFontProperties(oe);j.fWeight=ce.weight,j.fStyle=ce.style,j.finalSize=j.s,j.finalText=this.buildFinalText(j.t),B=j.finalText.length,j.finalLineHeight=j.lh;var fe,ae=j.tr/1e3*j.finalSize;if(j.sz)for(var he,ve,de=!0,se=j.sz[0],ge=j.sz[1];de;){he=0,ie=0,B=(ve=this.buildFinalText(j.t)).length,ae=j.tr/1e3*j.finalSize;var be=-1;for(D=0;D<B;D+=1)fe=ve[D].charCodeAt(0),R=!1,ve[D]===" "?be=D:fe!==13&&fe!==3||(ie=0,R=!0,he+=j.finalLineHeight||1.2*j.finalSize),X.chars?(q=X.getCharData(ve[D],oe.fStyle,oe.fFamily),ue=R?0:q.w*j.finalSize/100):ue=X.measureText(ve[D],j.f,j.finalSize),ie+ue>se&&ve[D]!==" "?(be===-1?B+=1:D=be,he+=j.finalLineHeight||1.2*j.finalSize,ve.splice(D,be===D?1:0,"\r"),be=-1,ie=0):(ie+=ue,ie+=ae);he+=oe.ascent*j.finalSize/100,this.canResize&&j.finalSize>this.minimumFontSize&&ge<he?(j.finalSize-=1,j.finalLineHeight=j.finalSize*j.lh/j.s):(j.finalText=ve,B=j.finalText.length,de=!1)}ie=-ae,ue=0;var le,pe=0;for(D=0;D<B;D+=1)if(R=!1,(fe=(le=j.finalText[D]).charCodeAt(0))===13||fe===3?(pe=0,J.push(ie),ne=ie>ne?ie:ne,ie=-2*ae,F="",R=!0,re+=1):F=le,X.chars?(q=X.getCharData(le,oe.fStyle,X.getFontByName(j.f).fFamily),ue=R?0:q.w*j.finalSize/100):ue=X.measureText(F,j.f,j.finalSize),le===" "?pe+=ue+ae:(ie+=ue+ae+pe,pe=0),K.push({l:ue,an:ue,add:Q,n:R,anIndexes:[],val:F,line:re,animatorJustifyOffset:0}),Z==2){if(Q+=ue,F===""||F===" "||D===B-1){for(F!==""&&F!==" "||(Q-=ue);te<=D;)K[te].an=Q,K[te].ind=G,K[te].extra=ue,te+=1;G+=1,Q=0}}else if(Z==3){if(Q+=ue,F===""||D===B-1){for(F===""&&(Q-=ue);te<=D;)K[te].an=Q,K[te].ind=G,K[te].extra=ue,te+=1;Q=0,G+=1}}else K[G].ind=G,K[G].extra=0,G+=1;if(j.l=K,ne=ie>ne?ie:ne,J.push(ie),j.sz)j.boxWidth=j.sz[0],j.justifyOffset=0;else switch(j.boxWidth=ne,j.j){case 1:j.justifyOffset=-j.boxWidth;break;case 2:j.justifyOffset=-j.boxWidth/2;break;default:j.justifyOffset=0}j.lineWidths=J;var Se,Ae,ye,Me,Ie=W.a;Y=Ie.length;var xe=[];for(U=0;U<Y;U+=1){for((Se=Ie[U]).a.sc&&(j.strokeColorAnim=!0),Se.a.sw&&(j.strokeWidthAnim=!0),(Se.a.fc||Se.a.fh||Se.a.fs||Se.a.fb)&&(j.fillColorAnim=!0),Me=0,ye=Se.s.b,D=0;D<B;D+=1)(Ae=K[D]).anIndexes[U]=Me,(ye==1&&Ae.val!==""||ye==2&&Ae.val!==""&&Ae.val!==" "||ye==3&&(Ae.n||Ae.val==" "||D==B-1)||ye==4&&(Ae.n||D==B-1))&&(Se.s.rn===1&&xe.push(Me),Me+=1);W.a[U].s.totalChars=Me;var me,we=-1;if(Se.s.rn===1)for(D=0;D<B;D+=1)we!=(Ae=K[D]).anIndexes[U]&&(we=Ae.anIndexes[U],me=xe.splice(Math.floor(Math.random()*xe.length),1)[0]),Ae.anIndexes[U]=me}j.yOffset=j.finalLineHeight||1.2*j.finalSize,j.ls=j.ls||0,j.ascent=oe.ascent*j.finalSize/100},TextProperty.prototype.updateDocumentData=function(j,D){D=D===void 0?this.keysIndex:D;var B=this.copyData({},this.data.d.k[D].s);B=this.copyData(B,j),this.data.d.k[D].s=B,this.recalculate(D),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(j){var D=this.data.d.k[j].s;D.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(D)},TextProperty.prototype.canResizeFont=function(j){this.canResize=j,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(j){this.minimumFontSize=Math.floor(j)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var j=Math.max,D=Math.min,B=Math.floor;function R(F,U){this._currentTextLength=-1,this.k=!1,this.data=U,this.elem=F,this.comp=F.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(F),this.s=PropertyFactory.getProp(F,U.s||{k:0},0,0,this),this.e="e"in U?PropertyFactory.getProp(F,U.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(F,U.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(F,U.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(F,U.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(F,U.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(F,U.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return R.prototype={getMult:function(F){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var U=0,Y=0,q=1,X=1;this.ne.v>0?U=this.ne.v/100:Y=-this.ne.v/100,this.xe.v>0?q=1-this.xe.v/100:X=1+this.xe.v/100;var W=BezierFactory.getBezierEasing(U,Y,q,X).get,K=0,G=this.finalS,Z=this.finalE,Q=this.data.sh;if(Q===2)K=W(K=Z===G?F>=Z?1:0:j(0,D(.5/(Z-G)+(F-G)/(Z-G),1)));else if(Q===3)K=W(K=Z===G?F>=Z?0:1:1-j(0,D(.5/(Z-G)+(F-G)/(Z-G),1)));else if(Q===4)Z===G?K=0:(K=j(0,D(.5/(Z-G)+(F-G)/(Z-G),1)))<.5?K*=2:K=1-2*(K-.5),K=W(K);else if(Q===5){if(Z===G)K=0;else{var te=Z-G,re=-te/2+(F=D(j(0,F+.5-G),Z-G)),J=te/2;K=Math.sqrt(1-re*re/(J*J))}K=W(K)}else Q===6?(Z===G?K=0:(F=D(j(0,F+.5-G),Z-G),K=(1+Math.cos(Math.PI+2*Math.PI*F/(Z-G)))/2),K=W(K)):(F>=B(G)&&(K=j(0,D(F-G<0?D(Z,1)-(G-F):Z-F,1))),K=W(K));if(this.sm.v!==100){var ie=.01*this.sm.v;ie===0&&(ie=1e-8);var ne=.5-.5*ie;K<ne?K=0:(K=(K-ne)/ie)>1&&(K=1)}return K*this.a.v},getValue:function(F){this.iterateDynamicProperties(),this._mdf=F||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,F&&this.data.r===2&&(this.e.v=this._currentTextLength);var U=this.data.r===2?1:100/this.data.totalChars,Y=this.o.v/U,q=this.s.v/U+Y,X=this.e.v/U+Y;if(q>X){var W=q;q=X,X=W}this.finalS=q,this.finalE=X}},extendPrototype([DynamicPropertyContainer],R),{getTextSelectorProp:function(F,U,Y){return new R(F,U)}}}();function TextAnimatorDataProperty(j,D,B){var R={propType:!1},F=PropertyFactory.getProp,U=D.a;this.a={r:U.r?F(j,U.r,0,degToRads,B):R,rx:U.rx?F(j,U.rx,0,degToRads,B):R,ry:U.ry?F(j,U.ry,0,degToRads,B):R,sk:U.sk?F(j,U.sk,0,degToRads,B):R,sa:U.sa?F(j,U.sa,0,degToRads,B):R,s:U.s?F(j,U.s,1,.01,B):R,a:U.a?F(j,U.a,1,0,B):R,o:U.o?F(j,U.o,0,.01,B):R,p:U.p?F(j,U.p,1,0,B):R,sw:U.sw?F(j,U.sw,0,0,B):R,sc:U.sc?F(j,U.sc,1,0,B):R,fc:U.fc?F(j,U.fc,1,0,B):R,fh:U.fh?F(j,U.fh,0,0,B):R,fs:U.fs?F(j,U.fs,0,.01,B):R,fb:U.fb?F(j,U.fb,0,.01,B):R,t:U.t?F(j,U.t,0,0,B):R},this.s=TextSelectorProp.getTextSelectorProp(j,D.s,B),this.s.t=D.s.t}function TextAnimatorProperty(j,D,B){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=j,this._renderType=D,this._elem=B,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(B)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var j,D,B=this._textData.a.length,R=PropertyFactory.getProp;for(j=0;j<B;j+=1)D=this._textData.a[j],this._animatorsData[j]=new TextAnimatorDataProperty(this._elem,D,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:R(this._elem,this._textData.p.a,0,0,this),f:R(this._elem,this._textData.p.f,0,0,this),l:R(this._elem,this._textData.p.l,0,0,this),r:R(this._elem,this._textData.p.r,0,0,this),p:R(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=R(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(j,D){if(this.lettersChangedFlag=D,this._mdf||this._isFirstFrame||D||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var B,R,F,U,Y,q,X,W,K,G,Z,Q,te,re,J,ie,ne,oe,ue,ce=this._moreOptions.alignment.v,fe=this._animatorsData,ae=this._textData,he=this.mHelper,ve=this._renderType,de=this.renderedLetters.length,se=j.l;if(this._hasMaskedPath){if(ue=this._pathData.m,!this._pathData.n||this._pathData._mdf){var ge,be=ue.v;for(this._pathData.r.v&&(be=be.reverse()),Y={tLength:0,segments:[]},U=be._length-1,ie=0,F=0;F<U;F+=1)ge=bez.buildBezierData(be.v[F],be.v[F+1],[be.o[F][0]-be.v[F][0],be.o[F][1]-be.v[F][1]],[be.i[F+1][0]-be.v[F+1][0],be.i[F+1][1]-be.v[F+1][1]]),Y.tLength+=ge.segmentLength,Y.segments.push(ge),ie+=ge.segmentLength;F=U,ue.v.c&&(ge=bez.buildBezierData(be.v[F],be.v[0],[be.o[F][0]-be.v[F][0],be.o[F][1]-be.v[F][1]],[be.i[0][0]-be.v[0][0],be.i[0][1]-be.v[0][1]]),Y.tLength+=ge.segmentLength,Y.segments.push(ge),ie+=ge.segmentLength),this._pathData.pi=Y}if(Y=this._pathData.pi,q=this._pathData.f.v,Z=0,G=1,W=0,K=!0,re=Y.segments,q<0&&ue.v.c)for(Y.tLength<Math.abs(q)&&(q=-Math.abs(q)%Y.tLength),G=(te=re[Z=re.length-1].points).length-1;q<0;)q+=te[G].partialLength,(G-=1)<0&&(G=(te=re[Z-=1].points).length-1);Q=(te=re[Z].points)[G-1],J=(X=te[G]).partialLength}U=se.length,B=0,R=0;var le,pe,Se,Ae,ye,Me=1.2*j.finalSize*.714,Ie=!0;Se=fe.length;var xe,me,we,_e,Te,Ne,Ee,De,Ce,Pe,ze,Oe,ke=-1,Be=q,je=Z,Fe=G,Re=-1,Ze="",We=this.defaultPropsArray;if(j.j===2||j.j===1){var Ve=0,Ue=0,Qe=j.j===2?-.5:-1,He=0,Ye=!0;for(F=0;F<U;F+=1)if(se[F].n){for(Ve&&(Ve+=Ue);He<F;)se[He].animatorJustifyOffset=Ve,He+=1;Ve=0,Ye=!0}else{for(pe=0;pe<Se;pe+=1)(le=fe[pe].a).t.propType&&(Ye&&j.j===2&&(Ue+=le.t.v*Qe),(ye=fe[pe].s.getMult(se[F].anIndexes[pe],ae.a[pe].s.totalChars)).length?Ve+=le.t.v*ye[0]*Qe:Ve+=le.t.v*ye*Qe);Ye=!1}for(Ve&&(Ve+=Ue);He<F;)se[He].animatorJustifyOffset=Ve,He+=1}for(F=0;F<U;F+=1){if(he.reset(),_e=1,se[F].n)B=0,R+=j.yOffset,R+=Ie?1:0,q=Be,Ie=!1,this._hasMaskedPath&&(G=Fe,Q=(te=re[Z=je].points)[G-1],J=(X=te[G]).partialLength,W=0),Ze="",ze="",Ce="",Oe="",We=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Re!==se[F].line){switch(j.j){case 1:q+=ie-j.lineWidths[se[F].line];break;case 2:q+=(ie-j.lineWidths[se[F].line])/2}Re=se[F].line}ke!==se[F].ind&&(se[ke]&&(q+=se[ke].extra),q+=se[F].an/2,ke=se[F].ind),q+=ce[0]*se[F].an*.005;var Xe=0;for(pe=0;pe<Se;pe+=1)(le=fe[pe].a).p.propType&&((ye=fe[pe].s.getMult(se[F].anIndexes[pe],ae.a[pe].s.totalChars)).length?Xe+=le.p.v[0]*ye[0]:Xe+=le.p.v[0]*ye),le.a.propType&&((ye=fe[pe].s.getMult(se[F].anIndexes[pe],ae.a[pe].s.totalChars)).length?Xe+=le.a.v[0]*ye[0]:Xe+=le.a.v[0]*ye);for(K=!0,this._pathData.a.v&&(q=.5*se[0].an+(ie-this._pathData.f.v-.5*se[0].an-.5*se[se.length-1].an)*ke/(U-1),q+=this._pathData.f.v);K;)W+J>=q+Xe||!te?(ne=(q+Xe-W)/X.partialLength,me=Q.point[0]+(X.point[0]-Q.point[0])*ne,we=Q.point[1]+(X.point[1]-Q.point[1])*ne,he.translate(-ce[0]*se[F].an*.005,-ce[1]*Me*.01),K=!1):te&&(W+=X.partialLength,(G+=1)>=te.length&&(G=0,re[Z+=1]?te=re[Z].points:ue.v.c?(G=0,te=re[Z=0].points):(W-=X.partialLength,te=null)),te&&(Q=X,J=(X=te[G]).partialLength));xe=se[F].an/2-se[F].add,he.translate(-xe,0,0)}else xe=se[F].an/2-se[F].add,he.translate(-xe,0,0),he.translate(-ce[0]*se[F].an*.005,-ce[1]*Me*.01,0);for(pe=0;pe<Se;pe+=1)(le=fe[pe].a).t.propType&&(ye=fe[pe].s.getMult(se[F].anIndexes[pe],ae.a[pe].s.totalChars),B===0&&j.j===0||(this._hasMaskedPath?ye.length?q+=le.t.v*ye[0]:q+=le.t.v*ye:ye.length?B+=le.t.v*ye[0]:B+=le.t.v*ye));for(j.strokeWidthAnim&&(Ne=j.sw||0),j.strokeColorAnim&&(Te=j.sc?[j.sc[0],j.sc[1],j.sc[2]]:[0,0,0]),j.fillColorAnim&&j.fc&&(Ee=[j.fc[0],j.fc[1],j.fc[2]]),pe=0;pe<Se;pe+=1)(le=fe[pe].a).a.propType&&((ye=fe[pe].s.getMult(se[F].anIndexes[pe],ae.a[pe].s.totalChars)).length?he.translate(-le.a.v[0]*ye[0],-le.a.v[1]*ye[1],le.a.v[2]*ye[2]):he.translate(-le.a.v[0]*ye,-le.a.v[1]*ye,le.a.v[2]*ye));for(pe=0;pe<Se;pe+=1)(le=fe[pe].a).s.propType&&((ye=fe[pe].s.getMult(se[F].anIndexes[pe],ae.a[pe].s.totalChars)).length?he.scale(1+(le.s.v[0]-1)*ye[0],1+(le.s.v[1]-1)*ye[1],1):he.scale(1+(le.s.v[0]-1)*ye,1+(le.s.v[1]-1)*ye,1));for(pe=0;pe<Se;pe+=1){if(le=fe[pe].a,ye=fe[pe].s.getMult(se[F].anIndexes[pe],ae.a[pe].s.totalChars),le.sk.propType&&(ye.length?he.skewFromAxis(-le.sk.v*ye[0],le.sa.v*ye[1]):he.skewFromAxis(-le.sk.v*ye,le.sa.v*ye)),le.r.propType&&(ye.length?he.rotateZ(-le.r.v*ye[2]):he.rotateZ(-le.r.v*ye)),le.ry.propType&&(ye.length?he.rotateY(le.ry.v*ye[1]):he.rotateY(le.ry.v*ye)),le.rx.propType&&(ye.length?he.rotateX(le.rx.v*ye[0]):he.rotateX(le.rx.v*ye)),le.o.propType&&(ye.length?_e+=(le.o.v*ye[0]-_e)*ye[0]:_e+=(le.o.v*ye-_e)*ye),j.strokeWidthAnim&&le.sw.propType&&(ye.length?Ne+=le.sw.v*ye[0]:Ne+=le.sw.v*ye),j.strokeColorAnim&&le.sc.propType)for(De=0;De<3;De+=1)ye.length?Te[De]+=(le.sc.v[De]-Te[De])*ye[0]:Te[De]+=(le.sc.v[De]-Te[De])*ye;if(j.fillColorAnim&&j.fc){if(le.fc.propType)for(De=0;De<3;De+=1)ye.length?Ee[De]+=(le.fc.v[De]-Ee[De])*ye[0]:Ee[De]+=(le.fc.v[De]-Ee[De])*ye;le.fh.propType&&(Ee=ye.length?addHueToRGB(Ee,le.fh.v*ye[0]):addHueToRGB(Ee,le.fh.v*ye)),le.fs.propType&&(Ee=ye.length?addSaturationToRGB(Ee,le.fs.v*ye[0]):addSaturationToRGB(Ee,le.fs.v*ye)),le.fb.propType&&(Ee=ye.length?addBrightnessToRGB(Ee,le.fb.v*ye[0]):addBrightnessToRGB(Ee,le.fb.v*ye))}}for(pe=0;pe<Se;pe+=1)(le=fe[pe].a).p.propType&&(ye=fe[pe].s.getMult(se[F].anIndexes[pe],ae.a[pe].s.totalChars),this._hasMaskedPath?ye.length?he.translate(0,le.p.v[1]*ye[0],-le.p.v[2]*ye[1]):he.translate(0,le.p.v[1]*ye,-le.p.v[2]*ye):ye.length?he.translate(le.p.v[0]*ye[0],le.p.v[1]*ye[1],-le.p.v[2]*ye[2]):he.translate(le.p.v[0]*ye,le.p.v[1]*ye,-le.p.v[2]*ye));if(j.strokeWidthAnim&&(Ce=Ne<0?0:Ne),j.strokeColorAnim&&(Pe="rgb("+Math.round(255*Te[0])+","+Math.round(255*Te[1])+","+Math.round(255*Te[2])+")"),j.fillColorAnim&&j.fc&&(ze="rgb("+Math.round(255*Ee[0])+","+Math.round(255*Ee[1])+","+Math.round(255*Ee[2])+")"),this._hasMaskedPath){if(he.translate(0,-j.ls),he.translate(0,ce[1]*Me*.01+R,0),this._pathData.p.v){oe=(X.point[1]-Q.point[1])/(X.point[0]-Q.point[0]);var Je=180*Math.atan(oe)/Math.PI;X.point[0]<Q.point[0]&&(Je+=180),he.rotate(-Je*Math.PI/180)}he.translate(me,we,0),q-=ce[0]*se[F].an*.005,se[F+1]&&ke!==se[F+1].ind&&(q+=se[F].an/2,q+=.001*j.tr*j.finalSize)}else{switch(he.translate(B,R,0),j.ps&&he.translate(j.ps[0],j.ps[1]+j.ascent,0),j.j){case 1:he.translate(se[F].animatorJustifyOffset+j.justifyOffset+(j.boxWidth-j.lineWidths[se[F].line]),0,0);break;case 2:he.translate(se[F].animatorJustifyOffset+j.justifyOffset+(j.boxWidth-j.lineWidths[se[F].line])/2,0,0)}he.translate(0,-j.ls),he.translate(xe,0,0),he.translate(ce[0]*se[F].an*.005,ce[1]*Me*.01,0),B+=se[F].l+.001*j.tr*j.finalSize}ve==="html"?Ze=he.toCSS():ve==="svg"?Ze=he.to2dCSS():We=[he.props[0],he.props[1],he.props[2],he.props[3],he.props[4],he.props[5],he.props[6],he.props[7],he.props[8],he.props[9],he.props[10],he.props[11],he.props[12],he.props[13],he.props[14],he.props[15]],Oe=_e}de<=F?(Ae=new LetterProps(Oe,Ce,Pe,ze,Ze,We),this.renderedLetters.push(Ae),de+=1,this.lettersChangedFlag=!0):(Ae=this.renderedLetters[F],this.lettersChangedFlag=Ae.update(Oe,Ce,Pe,ze,Ze,We)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(j,D,B){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(j,D,B),this.textProperty=new TextProperty(this,j.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(j.t,this.renderType,this),this.initTransform(j,D,B),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(j){this._mdf=!1,this.prepareRenderableFrame(j),this.prepareProperties(j,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(j,D){var B,R,F=D.length,U="";for(B=0;B<F;B+=1)D[B].ty==="sh"&&(R=D[B].ks.k,U+=buildShapeString(R,R.i.length,!0,j));return U},ITextElement.prototype.updateDocumentData=function(j,D){this.textProperty.updateDocumentData(j,D)},ITextElement.prototype.canResizeFont=function(j){this.textProperty.canResizeFont(j)},ITextElement.prototype.setMinimumFontSize=function(j){this.textProperty.setMinimumFontSize(j)},ITextElement.prototype.applyTextPropertiesToMatrix=function(j,D,B,R,F){switch(j.ps&&D.translate(j.ps[0],j.ps[1]+j.ascent,0),D.translate(0,-j.ls,0),j.j){case 1:D.translate(j.justifyOffset+(j.boxWidth-j.lineWidths[B]),0,0);break;case 2:D.translate(j.justifyOffset+(j.boxWidth-j.lineWidths[B])/2,0,0)}D.translate(R,F,0)},ITextElement.prototype.buildColor=function(j){return"rgb("+Math.round(255*j[0])+","+Math.round(255*j[1])+","+Math.round(255*j[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(j,D,B){this.textSpans=[],this.renderType="svg",this.initElement(j,D,B)}function ISolidElement(j,D,B){this.initElement(j,D,B)}function NullElement(j,D,B){this.initFrame(),this.initBaseData(j,D,B),this.initFrame(),this.initTransform(j,D,B),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(j,D,B){this.layers=j.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(j,D,B),this.tm=j.tm?PropertyFactory.getProp(this,j.tm,0,D.frameRate,this):{_placeholder:!0}}function SVGRenderer(j,D){this.animationItem=j,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var B="";if(D&&D.title){var R=createNS("title"),F=createElementID();R.setAttribute("id",F),R.textContent=D.title,this.svgElement.appendChild(R),B+=F}if(D&&D.description){var U=createNS("desc"),Y=createElementID();U.setAttribute("id",Y),U.textContent=D.description,this.svgElement.appendChild(U),B+=" "+Y}B&&this.svgElement.setAttribute("aria-labelledby",B);var q=createNS("defs");this.svgElement.appendChild(q);var X=createNS("g");this.svgElement.appendChild(X),this.layerElement=X,this.renderConfig={preserveAspectRatio:D&&D.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:D&&D.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:D&&D.contentVisibility||"visible",progressiveLoad:D&&D.progressiveLoad||!1,hideOnTransparent:!(D&&D.hideOnTransparent===!1),viewBoxOnly:D&&D.viewBoxOnly||!1,viewBoxSize:D&&D.viewBoxSize||!1,className:D&&D.className||"",id:D&&D.id||"",focusable:D&&D.focusable,filterSize:{width:D&&D.filterSize&&D.filterSize.width||"100%",height:D&&D.filterSize&&D.filterSize.height||"100%",x:D&&D.filterSize&&D.filterSize.x||"0%",y:D&&D.filterSize&&D.filterSize.y||"0%"}},this.globalData={_mdf:!1,frameNum:-1,defs:q,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(j){for(var D=0,B=j.length,R=[],F="";D<B;)j[D]===String.fromCharCode(13)||j[D]===String.fromCharCode(3)?(R.push(F),F=""):F+=j[D],D+=1;return R.push(F),R},SVGTextLottieElement.prototype.buildNewText=function(){var j,D;this.addDynamicProperty(this);var B=this.textProperty.currentData;this.renderedLetters=createSizedArray(B?B.l.length:0),B.fc?this.layerElement.setAttribute("fill",this.buildColor(B.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),B.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(B.sc)),this.layerElement.setAttribute("stroke-width",B.sw)),this.layerElement.setAttribute("font-size",B.finalSize);var R=this.globalData.fontManager.getFontByName(B.f);if(R.fClass)this.layerElement.setAttribute("class",R.fClass);else{this.layerElement.setAttribute("font-family",R.fFamily);var F=B.fWeight,U=B.fStyle;this.layerElement.setAttribute("font-style",U),this.layerElement.setAttribute("font-weight",F)}this.layerElement.setAttribute("aria-label",B.t);var Y,q=B.l||[],X=!!this.globalData.fontManager.chars;D=q.length;var W=this.mHelper,K=this.data.singleShape,G=0,Z=0,Q=!0,te=.001*B.tr*B.finalSize;if(!K||X||B.sz){var re,J=this.textSpans.length;for(j=0;j<D;j+=1){if(this.textSpans[j]||(this.textSpans[j]={span:null,childSpan:null,glyph:null}),!X||!K||j===0){if(Y=J>j?this.textSpans[j].span:createNS(X?"g":"text"),J<=j){if(Y.setAttribute("stroke-linecap","butt"),Y.setAttribute("stroke-linejoin","round"),Y.setAttribute("stroke-miterlimit","4"),this.textSpans[j].span=Y,X){var ie=createNS("g");Y.appendChild(ie),this.textSpans[j].childSpan=ie}this.textSpans[j].span=Y,this.layerElement.appendChild(Y)}Y.style.display="inherit"}if(W.reset(),W.scale(B.finalSize/100,B.finalSize/100),K&&(q[j].n&&(G=-te,Z+=B.yOffset,Z+=Q?1:0,Q=!1),this.applyTextPropertiesToMatrix(B,W,q[j].line,G,Z),G+=q[j].l||0,G+=te),X){var ne;if((re=this.globalData.fontManager.getCharData(B.finalText[j],R.fStyle,this.globalData.fontManager.getFontByName(B.f).fFamily)).t===1)ne=new SVGCompElement(re.data,this.globalData,this);else{var oe=emptyShapeData;re.data&&re.data.shapes&&(oe=re.data),ne=new SVGShapeElement(oe,this.globalData,this)}this.textSpans[j].glyph=ne,ne._debug=!0,ne.prepareFrame(0),ne.renderFrame(),this.textSpans[j].childSpan.appendChild(ne.layerElement),this.textSpans[j].childSpan.setAttribute("transform","scale("+B.finalSize/100+","+B.finalSize/100+")")}else K&&Y.setAttribute("transform","translate("+W.props[12]+","+W.props[13]+")"),Y.textContent=q[j].val,Y.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}K&&Y&&Y.setAttribute("d","")}else{var ue=this.textContainer,ce="start";switch(B.j){case 1:ce="end";break;case 2:ce="middle";break;default:ce="start"}ue.setAttribute("text-anchor",ce),ue.setAttribute("letter-spacing",te);var fe=this.buildTextContents(B.finalText);for(D=fe.length,Z=B.ps?B.ps[1]+B.ascent:0,j=0;j<D;j+=1)(Y=this.textSpans[j].span||createNS("tspan")).textContent=fe[j],Y.setAttribute("x",0),Y.setAttribute("y",Z),Y.style.display="inherit",ue.appendChild(Y),this.textSpans[j]||(this.textSpans[j]={span:null,glyph:null}),this.textSpans[j].span=Y,Z+=B.finalLineHeight;this.layerElement.appendChild(ue)}for(;j<this.textSpans.length;)this.textSpans[j].span.style.display="none",j+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var j=this.layerElement.getBBox();this.bbox={top:j.y,left:j.x,width:j.width,height:j.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var j,D,B=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,j=0;j<B;j+=1)(D=this.textSpans[j].glyph)&&(D.prepareFrame(this.comp.renderedFrame-this.data.st),D._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var j,D;this._sizeChanged=!0;var B,R,F,U=this.textAnimator.renderedLetters,Y=this.textProperty.currentData.l;for(D=Y.length,j=0;j<D;j+=1)Y[j].n||(B=U[j],R=this.textSpans[j].span,(F=this.textSpans[j].glyph)&&F.renderFrame(),B._mdf.m&&R.setAttribute("transform",B.m),B._mdf.o&&R.setAttribute("opacity",B.o),B._mdf.sw&&R.setAttribute("stroke-width",B.sw),B._mdf.sc&&R.setAttribute("stroke",B.sc),B._mdf.fc&&R.setAttribute("fill",B.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var j=createNS("rect");j.setAttribute("width",this.data.sw),j.setAttribute("height",this.data.sh),j.setAttribute("fill",this.data.sc),this.layerElement.appendChild(j)},NullElement.prototype.prepareFrame=function(j){this.prepareProperties(j,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(j){return new NullElement(j,this.globalData,this)},SVGRendererBase.prototype.createShape=function(j){return new SVGShapeElement(j,this.globalData,this)},SVGRendererBase.prototype.createText=function(j){return new SVGTextLottieElement(j,this.globalData,this)},SVGRendererBase.prototype.createImage=function(j){return new IImageElement(j,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(j){return new ISolidElement(j,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(j){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+j.w+" "+j.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",j.w),this.svgElement.setAttribute("height",j.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var D=this.globalData.defs;this.setupGlobalData(j,D),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=j;var B=createNS("clipPath"),R=createNS("rect");R.setAttribute("width",j.w),R.setAttribute("height",j.h),R.setAttribute("x",0),R.setAttribute("y",0);var F=createElementID();B.setAttribute("id",F),B.appendChild(R),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+F+")"),D.appendChild(B),this.layers=j.layers,this.elements=createSizedArray(j.layers.length)},SVGRendererBase.prototype.destroy=function(){var j;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var D=this.layers?this.layers.length:0;for(j=0;j<D;j+=1)this.elements[j]&&this.elements[j].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.buildItem=function(j){var D=this.elements;if(!D[j]&&this.layers[j].ty!==99){D[j]=!0;var B=this.createItem(this.layers[j]);D[j]=B,getExpressionsPlugin()&&(this.layers[j].ty===0&&this.globalData.projectInterface.registerComposition(B),B.initExpressions()),this.appendElementInPos(B,j),this.layers[j].tt&&(this.elements[j-1]&&this.elements[j-1]!==!0?B.setMatte(D[j-1].layerId):(this.buildItem(j-1),this.addPendingElement(B)))}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var j=this.pendingElements.pop();if(j.checkParenting(),j.data.tt)for(var D=0,B=this.elements.length;D<B;){if(this.elements[D]===j){j.setMatte(this.elements[D-1].layerId);break}D+=1}}},SVGRendererBase.prototype.renderFrame=function(j){if(this.renderedFrame!==j&&!this.destroyed){var D;j===null?j=this.renderedFrame:this.renderedFrame=j,this.globalData.frameNum=j,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=j,this.globalData._mdf=!1;var B=this.layers.length;for(this.completeLayers||this.checkLayers(j),D=B-1;D>=0;D-=1)(this.completeLayers||this.elements[D])&&this.elements[D].prepareFrame(j-this.layers[D].st);if(this.globalData._mdf)for(D=0;D<B;D+=1)(this.completeLayers||this.elements[D])&&this.elements[D].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(j,D){var B=j.getBaseElement();if(B){for(var R,F=0;F<D;)this.elements[F]&&this.elements[F]!==!0&&this.elements[F].getBaseElement()&&(R=this.elements[F].getBaseElement()),F+=1;R?this.layerElement.insertBefore(B,R):this.layerElement.appendChild(B)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(j,D,B){this.initFrame(),this.initBaseData(j,D,B),this.initTransform(j,D,B),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&D.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(j){if(this._mdf=!1,this.prepareRenderableFrame(j),this.prepareProperties(j,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=j/this.data.sr;else{var D=this.tm.v;D===this.data.op&&(D=this.data.op-1),this.renderedFrame=D}var B,R=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),B=R-1;B>=0;B-=1)(this.completeLayers||this.elements[B])&&(this.elements[B].prepareFrame(this.renderedFrame-this.layers[B].st),this.elements[B]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var j,D=this.layers.length;for(j=0;j<D;j+=1)(this.completeLayers||this.elements[j])&&this.elements[j].renderFrame()},ICompElement.prototype.setElements=function(j){this.elements=j},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var j,D=this.layers.length;for(j=0;j<D;j+=1)this.elements[j]&&this.elements[j].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(j){return new SVGCompElement(j,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(j){return new SVGCompElement(j,this.globalData,this)},registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier);var Expressions=function(){var j={};return j.initExpressions=function(D){var B=0,R=[];D.renderer.compInterface=CompExpressionInterface(D.renderer),D.renderer.globalData.projectInterface.registerComposition(D.renderer),D.renderer.globalData.pushExpression=function(){B+=1},D.renderer.globalData.popExpression=function(){(B-=1)===0&&function(){var F,U=R.length;for(F=0;F<U;F+=1)R[F].release();R.length=0}()},D.renderer.globalData.registerExpressionProperty=function(F){R.indexOf(F)===-1&&R.push(F)}},j}();function _typeof$1(j){return(_typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D})(j)}function seedRandom(j,D){var B=this,R=D.pow(256,6),F=D.pow(2,52),U=2*F;function Y(K){var G,Z=K.length,Q=this,te=0,re=Q.i=Q.j=0,J=Q.S=[];for(Z||(K=[Z++]);te<256;)J[te]=te++;for(te=0;te<256;te++)J[te]=J[re=255&re+K[te%Z]+(G=J[te])],J[re]=G;Q.g=function(ie){for(var ne,oe=0,ue=Q.i,ce=Q.j,fe=Q.S;ie--;)ne=fe[ue=255&ue+1],oe=256*oe+fe[255&(fe[ue]=fe[ce=255&ce+ne])+(fe[ce]=ne)];return Q.i=ue,Q.j=ce,oe}}function q(K,G){return G.i=K.i,G.j=K.j,G.S=K.S.slice(),G}function X(K,G){for(var Z,Q=K+"",te=0;te<Q.length;)G[255&te]=255&(Z^=19*G[255&te])+Q.charCodeAt(te++);return W(G)}function W(K){return String.fromCharCode.apply(0,K)}D.seedrandom=function(K,G,Z){var Q=[],te=X(function ie(ne,oe){var ue,ce=[],fe=_typeof$1(ne);if(oe&&fe=="object")for(ue in ne)try{ce.push(ie(ne[ue],oe-1))}catch{}return ce.length?ce:fe=="string"?ne:ne+"\0"}((G=G===!0?{entropy:!0}:G||{}).entropy?[K,W(j)]:K===null?function(){try{var ie=new Uint8Array(256);return(B.crypto||B.msCrypto).getRandomValues(ie),W(ie)}catch{var ne=B.navigator,oe=ne&&ne.plugins;return[+new Date,B,oe,B.screen,W(j)]}}():K,3),Q),re=new Y(Q),J=function(){for(var ie=re.g(6),ne=R,oe=0;ie<F;)ie=256*(ie+oe),ne*=256,oe=re.g(1);for(;ie>=U;)ie/=2,ne/=2,oe>>>=1;return(ie+oe)/ne};return J.int32=function(){return 0|re.g(4)},J.quick=function(){return re.g(4)/4294967296},J.double=J,X(W(re.S),j),(G.pass||Z||function(ie,ne,oe,ue){return ue&&(ue.S&&q(ue,re),ie.state=function(){return q(re,{})}),oe?(D.random=ie,ne):ie})(J,te,"global"in G?G.global:this==D,G.state)},X(D.random(),j)}function initialize$2(j){seedRandom([],j)}var propTypes={SHAPE:"shape"};function _typeof(j){return(_typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(D){return typeof D}:function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D})(j)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(j){return j.constructor===Array||j.constructor===Float32Array}function isNumerable(j,D){return j==="number"||j==="boolean"||j==="string"||D instanceof Number}function $bm_neg(j){var D=_typeof(j);if(D==="number"||D==="boolean"||j instanceof Number)return-j;if($bm_isInstanceOfArray(j)){var B,R=j.length,F=[];for(B=0;B<R;B+=1)F[B]=-j[B];return F}return j.propType?j.v:-j}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(j,D){var B=_typeof(j),R=_typeof(D);if(B==="string"||R==="string"||isNumerable(B,j)&&isNumerable(R,D))return j+D;if($bm_isInstanceOfArray(j)&&isNumerable(R,D))return(j=j.slice(0))[0]+=D,j;if(isNumerable(B,j)&&$bm_isInstanceOfArray(D))return(D=D.slice(0))[0]=j+D[0],D;if($bm_isInstanceOfArray(j)&&$bm_isInstanceOfArray(D)){for(var F=0,U=j.length,Y=D.length,q=[];F<U||F<Y;)(typeof j[F]=="number"||j[F]instanceof Number)&&(typeof D[F]=="number"||D[F]instanceof Number)?q[F]=j[F]+D[F]:q[F]=D[F]===void 0?j[F]:j[F]||D[F],F+=1;return q}return 0}var add=sum;function sub(j,D){var B=_typeof(j),R=_typeof(D);if(isNumerable(B,j)&&isNumerable(R,D))return B==="string"&&(j=parseInt(j,10)),R==="string"&&(D=parseInt(D,10)),j-D;if($bm_isInstanceOfArray(j)&&isNumerable(R,D))return(j=j.slice(0))[0]-=D,j;if(isNumerable(B,j)&&$bm_isInstanceOfArray(D))return(D=D.slice(0))[0]=j-D[0],D;if($bm_isInstanceOfArray(j)&&$bm_isInstanceOfArray(D)){for(var F=0,U=j.length,Y=D.length,q=[];F<U||F<Y;)(typeof j[F]=="number"||j[F]instanceof Number)&&(typeof D[F]=="number"||D[F]instanceof Number)?q[F]=j[F]-D[F]:q[F]=D[F]===void 0?j[F]:j[F]||D[F],F+=1;return q}return 0}function mul(j,D){var B,R,F,U=_typeof(j),Y=_typeof(D);if(isNumerable(U,j)&&isNumerable(Y,D))return j*D;if($bm_isInstanceOfArray(j)&&isNumerable(Y,D)){for(F=j.length,B=createTypedArray("float32",F),R=0;R<F;R+=1)B[R]=j[R]*D;return B}if(isNumerable(U,j)&&$bm_isInstanceOfArray(D)){for(F=D.length,B=createTypedArray("float32",F),R=0;R<F;R+=1)B[R]=j*D[R];return B}return 0}function div(j,D){var B,R,F,U=_typeof(j),Y=_typeof(D);if(isNumerable(U,j)&&isNumerable(Y,D))return j/D;if($bm_isInstanceOfArray(j)&&isNumerable(Y,D)){for(F=j.length,B=createTypedArray("float32",F),R=0;R<F;R+=1)B[R]=j[R]/D;return B}if(isNumerable(U,j)&&$bm_isInstanceOfArray(D)){for(F=D.length,B=createTypedArray("float32",F),R=0;R<F;R+=1)B[R]=j/D[R];return B}return 0}function mod(j,D){return typeof j=="string"&&(j=parseInt(j,10)),typeof D=="string"&&(D=parseInt(D,10)),j%D}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(j,D,B){if(D>B){var R=B;B=D,D=R}return Math.min(Math.max(j,D),B)}function radiansToDegrees(j){return j/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(j){return j*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(j,D){if(typeof j=="number"||j instanceof Number)return D=D||0,Math.abs(j-D);var B;D||(D=helperLengthArray);var R=Math.min(j.length,D.length),F=0;for(B=0;B<R;B+=1)F+=Math.pow(D[B]-j[B],2);return Math.sqrt(F)}function normalize(j){return div(j,length(j))}function rgbToHsl(j){var D,B,R=j[0],F=j[1],U=j[2],Y=Math.max(R,F,U),q=Math.min(R,F,U),X=(Y+q)/2;if(Y===q)D=0,B=0;else{var W=Y-q;switch(B=X>.5?W/(2-Y-q):W/(Y+q),Y){case R:D=(F-U)/W+(F<U?6:0);break;case F:D=(U-R)/W+2;break;case U:D=(R-F)/W+4}D/=6}return[D,B,X,j[3]]}function hue2rgb(j,D,B){return B<0&&(B+=1),B>1&&(B-=1),B<1/6?j+6*(D-j)*B:B<.5?D:B<2/3?j+(D-j)*(2/3-B)*6:j}function hslToRgb(j){var D,B,R,F=j[0],U=j[1],Y=j[2];if(U===0)D=Y,R=Y,B=Y;else{var q=Y<.5?Y*(1+U):Y+U-Y*U,X=2*Y-q;D=hue2rgb(X,q,F+1/3),B=hue2rgb(X,q,F),R=hue2rgb(X,q,F-1/3)}return[D,B,R,j[3]]}function linear(j,D,B,R,F){if(R!==void 0&&F!==void 0||(R=D,F=B,D=0,B=1),B<D){var U=B;B=D,D=U}if(j<=D)return R;if(j>=B)return F;var Y,q=B===D?0:(j-D)/(B-D);if(!R.length)return R+(F-R)*q;var X=R.length,W=createTypedArray("float32",X);for(Y=0;Y<X;Y+=1)W[Y]=R[Y]+(F[Y]-R[Y])*q;return W}function random(j,D){if(D===void 0&&(j===void 0?(j=0,D=1):(D=j,j=void 0)),D.length){var B,R=D.length;j||(j=createTypedArray("float32",R));var F=createTypedArray("float32",R),U=BMMath.random();for(B=0;B<R;B+=1)F[B]=j[B]+U*(D[B]-j[B]);return F}return j===void 0&&(j=0),j+BMMath.random()*(D-j)}function createPath(j,D,B,R){var F,U=j.length,Y=shapePool.newElement();Y.setPathData(!!R,U);var q,X,W=[0,0];for(F=0;F<U;F+=1)q=D&&D[F]?D[F]:W,X=B&&B[F]?B[F]:W,Y.setTripleAt(j[F][0],j[F][1],X[0]+j[F][0],X[1]+j[F][1],q[0]+j[F][0],q[1]+j[F][1],F,!0);return Y}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=function(j,D){var B,R,F=this.pv.length?this.pv.length:1,U=createTypedArray("float32",F),Y=Math.floor(5*time);for(B=0,R=0;B<Y;){for(R=0;R<F;R+=1)U[R]+=-D+2*D*BMMath.random();B+=1}var q=5*time,X=q-Math.floor(q),W=createTypedArray("float32",F);if(F>1){for(R=0;R<F;R+=1)W[R]=this.pv[R]+U[R]+(-D+2*D*BMMath.random())*X;return W}return this.pv+U[0]+(-D+2*D*BMMath.random())*X}.bind(this);function loopInDuration(j,D){return loopIn(j,D,!0)}function loopOutDuration(j,D){return loopOut(j,D,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(j,D){var B=[D[0]-j[0],D[1]-j[1],D[2]-j[2]],R=Math.atan2(B[0],Math.sqrt(B[1]*B[1]+B[2]*B[2]))/degToRads;return[-Math.atan2(B[1],B[2])/degToRads,R,0]}function easeOut(j,D,B,R,F){return applyEase(easeOutBez,j,D,B,R,F)}function easeIn(j,D,B,R,F){return applyEase(easeInBez,j,D,B,R,F)}function ease(j,D,B,R,F){return applyEase(easeInOutBez,j,D,B,R,F)}function applyEase(j,D,B,R,F,U){F===void 0?(F=B,U=R):D=(D-B)/(R-B),D>1?D=1:D<0&&(D=0);var Y=j(D);if($bm_isInstanceOfArray(F)){var q,X=F.length,W=createTypedArray("float32",X);for(q=0;q<X;q+=1)W[q]=(U[q]-F[q])*Y+F[q];return W}return(U-F)*Y+F}function nearestKey(j){var D,B,R,F=data.k.length;if(data.k.length&&typeof data.k[0]!="number")if(B=-1,(j*=elem.comp.globalData.frameRate)<data.k[0].t)B=1,R=data.k[0].t;else{for(D=0;D<F-1;D+=1){if(j===data.k[D].t){B=D+1,R=data.k[D].t;break}if(j>data.k[D].t&&j<data.k[D+1].t){j-data.k[D].t>data.k[D+1].t-j?(B=D+2,R=data.k[D+1].t):(B=D+1,R=data.k[D].t);break}}B===-1&&(B=D+1,R=data.k[D].t)}else B=0,R=0;var U={};return U.index=B,U.time=R/elem.comp.globalData.frameRate,U}function key(j){var D,B,R;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+j);j-=1,D={time:data.k[j].t/elem.comp.globalData.frameRate,value:[]};var F=Object.prototype.hasOwnProperty.call(data.k[j],"s")?data.k[j].s:data.k[j-1].e;for(R=F.length,B=0;B<R;B+=1)D[B]=F[B],D.value[B]=F[B];return D}function framesToTime(j,D){return D||(D=elem.comp.globalData.frameRate),j/D}function timeToFrames(j,D){return j||j===0||(j=time),D||(D=elem.comp.globalData.frameRate),j*D}function seedRandom(j){BMMath.seedrandom(randSeed+j)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(j,D){return typeof value=="string"?D===void 0?value.substring(j):value.substring(j,D):""}function substr(j,D){return typeof value=="string"?D===void 0?value.substr(j):value.substr(j,D):""}function posterizeTime(j){time=j===0?0:Math.floor(time*j)/j,value=valueAtTime(time)}var index=elem.data.ind;!elem.hierarchy||elem.hierarchy.length;var parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(j){return value=j,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType!==4||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),!(!elem.hierarchy||!elem.hierarchy.length)&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers={searchExpressions:function(j,D,B){D.x&&(B.k=!0,B.x=!0,B.initiateExpression=ExpressionManager.initiateExpression,B.effectsSequence.push(B.initiateExpression(j,D,B).bind(B)))},getSpeedAtTime:function(j){var D=this.getValueAtTime(j),B=this.getValueAtTime(j+-.01),R=0;if(D.length){var F;for(F=0;F<D.length;F+=1)R+=Math.pow(B[F]-D[F],2);R=100*Math.sqrt(R)}else R=0;return R},getVelocityAtTime:function(j){if(this.vel!==void 0)return this.vel;var D,B,R=this.getValueAtTime(j),F=this.getValueAtTime(j+-.001);if(R.length)for(D=createTypedArray("float32",R.length),B=0;B<R.length;B+=1)D[B]=(F[B]-R[B])/-.001;else D=(F-R)/-.001;return D},getValueAtTime:function(j){return j*=this.elem.globalData.frameRate,(j-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<j?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(j,this._cachingAtTime),this._cachingAtTime.lastFrame=j),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(j){this.propertyGroup=j}};function addPropertyDecorator(){function j(G,Z,Q){if(!this.k||!this.keyframes)return this.pv;G=G?G.toLowerCase():"";var te,re,J,ie,ne,oe=this.comp.renderedFrame,ue=this.keyframes,ce=ue[ue.length-1].t;if(oe<=ce)return this.pv;if(Q?re=ce-(te=Z?Math.abs(ce-this.elem.comp.globalData.frameRate*Z):Math.max(0,ce-this.elem.data.ip)):((!Z||Z>ue.length-1)&&(Z=ue.length-1),te=ce-(re=ue[ue.length-1-Z].t)),G==="pingpong"){if(Math.floor((oe-re)/te)%2!=0)return this.getValueAtTime((te-(oe-re)%te+re)/this.comp.globalData.frameRate,0)}else{if(G==="offset"){var fe=this.getValueAtTime(re/this.comp.globalData.frameRate,0),ae=this.getValueAtTime(ce/this.comp.globalData.frameRate,0),he=this.getValueAtTime(((oe-re)%te+re)/this.comp.globalData.frameRate,0),ve=Math.floor((oe-re)/te);if(this.pv.length){for(ie=(ne=new Array(fe.length)).length,J=0;J<ie;J+=1)ne[J]=(ae[J]-fe[J])*ve+he[J];return ne}return(ae-fe)*ve+he}if(G==="continue"){var de=this.getValueAtTime(ce/this.comp.globalData.frameRate,0),se=this.getValueAtTime((ce-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(ie=(ne=new Array(de.length)).length,J=0;J<ie;J+=1)ne[J]=de[J]+(de[J]-se[J])*((oe-ce)/this.comp.globalData.frameRate)/5e-4;return ne}return de+(oe-ce)/.001*(de-se)}}return this.getValueAtTime(((oe-re)%te+re)/this.comp.globalData.frameRate,0)}function D(G,Z,Q){if(!this.k)return this.pv;G=G?G.toLowerCase():"";var te,re,J,ie,ne,oe=this.comp.renderedFrame,ue=this.keyframes,ce=ue[0].t;if(oe>=ce)return this.pv;if(Q?re=ce+(te=Z?Math.abs(this.elem.comp.globalData.frameRate*Z):Math.max(0,this.elem.data.op-ce)):((!Z||Z>ue.length-1)&&(Z=ue.length-1),te=(re=ue[Z].t)-ce),G==="pingpong"){if(Math.floor((ce-oe)/te)%2==0)return this.getValueAtTime(((ce-oe)%te+ce)/this.comp.globalData.frameRate,0)}else{if(G==="offset"){var fe=this.getValueAtTime(ce/this.comp.globalData.frameRate,0),ae=this.getValueAtTime(re/this.comp.globalData.frameRate,0),he=this.getValueAtTime((te-(ce-oe)%te+ce)/this.comp.globalData.frameRate,0),ve=Math.floor((ce-oe)/te)+1;if(this.pv.length){for(ie=(ne=new Array(fe.length)).length,J=0;J<ie;J+=1)ne[J]=he[J]-(ae[J]-fe[J])*ve;return ne}return he-(ae-fe)*ve}if(G==="continue"){var de=this.getValueAtTime(ce/this.comp.globalData.frameRate,0),se=this.getValueAtTime((ce+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(ie=(ne=new Array(de.length)).length,J=0;J<ie;J+=1)ne[J]=de[J]+(de[J]-se[J])*(ce-oe)/.001;return ne}return de+(de-se)*(ce-oe)/.001}}return this.getValueAtTime((te-((ce-oe)%te+ce))/this.comp.globalData.frameRate,0)}function B(G,Z){if(!this.k)return this.pv;if(G=.5*(G||.4),(Z=Math.floor(Z||5))<=1)return this.pv;var Q,te,re=this.comp.renderedFrame/this.comp.globalData.frameRate,J=re-G,ie=Z>1?(re+G-J)/(Z-1):1,ne=0,oe=0;for(Q=this.pv.length?createTypedArray("float32",this.pv.length):0;ne<Z;){if(te=this.getValueAtTime(J+ne*ie),this.pv.length)for(oe=0;oe<this.pv.length;oe+=1)Q[oe]+=te[oe];else Q+=te;ne+=1}if(this.pv.length)for(oe=0;oe<this.pv.length;oe+=1)Q[oe]/=Z;else Q/=Z;return Q}function R(G){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var Z=this._transformCachingAtTime.v;if(Z.cloneFromProps(this.pre.props),this.appliedTransformations<1){var Q=this.a.getValueAtTime(G);Z.translate(-Q[0]*this.a.mult,-Q[1]*this.a.mult,Q[2]*this.a.mult)}if(this.appliedTransformations<2){var te=this.s.getValueAtTime(G);Z.scale(te[0]*this.s.mult,te[1]*this.s.mult,te[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var re=this.sk.getValueAtTime(G),J=this.sa.getValueAtTime(G);Z.skewFromAxis(-re*this.sk.mult,J*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var ie=this.r.getValueAtTime(G);Z.rotate(-ie*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var ne=this.rz.getValueAtTime(G),oe=this.ry.getValueAtTime(G),ue=this.rx.getValueAtTime(G),ce=this.or.getValueAtTime(G);Z.rotateZ(-ne*this.rz.mult).rotateY(oe*this.ry.mult).rotateX(ue*this.rx.mult).rotateZ(-ce[2]*this.or.mult).rotateY(ce[1]*this.or.mult).rotateX(ce[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var fe=this.px.getValueAtTime(G),ae=this.py.getValueAtTime(G);if(this.data.p.z){var he=this.pz.getValueAtTime(G);Z.translate(fe*this.px.mult,ae*this.py.mult,-he*this.pz.mult)}else Z.translate(fe*this.px.mult,ae*this.py.mult,0)}else{var ve=this.p.getValueAtTime(G);Z.translate(ve[0]*this.p.mult,ve[1]*this.p.mult,-ve[2]*this.p.mult)}return Z}function F(){return this.v.clone(new Matrix)}var U=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(G,Z,Q){var te=U(G,Z,Q);return te.dynamicProperties.length?te.getValueAtTime=R.bind(te):te.getValueAtTime=F.bind(te),te.setGroupProperty=expressionHelpers.setGroupProperty,te};var Y=PropertyFactory.getProp;PropertyFactory.getProp=function(G,Z,Q,te,re){var J=Y(G,Z,Q,te,re);J.kf?J.getValueAtTime=expressionHelpers.getValueAtTime.bind(J):J.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(J),J.setGroupProperty=expressionHelpers.setGroupProperty,J.loopOut=j,J.loopIn=D,J.smooth=B,J.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(J),J.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(J),J.numKeys=Z.a===1?Z.k.length:0,J.propertyIndex=Z.ix;var ie=0;return Q!==0&&(ie=createTypedArray("float32",Z.a===1?Z.k[0].s.length:Z.k.length)),J._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:ie},expressionHelpers.searchExpressions(G,Z,J),J.k&&re.addDynamicProperty(J),J};var q=ShapePropertyFactory.getConstructorFunction(),X=ShapePropertyFactory.getKeyframedConstructorFunction();function W(){}W.prototype={vertices:function(G,Z){this.k&&this.getValue();var Q,te=this.v;Z!==void 0&&(te=this.getValueAtTime(Z,0));var re=te._length,J=te[G],ie=te.v,ne=createSizedArray(re);for(Q=0;Q<re;Q+=1)ne[Q]=G==="i"||G==="o"?[J[Q][0]-ie[Q][0],J[Q][1]-ie[Q][1]]:[J[Q][0],J[Q][1]];return ne},points:function(G){return this.vertices("v",G)},inTangents:function(G){return this.vertices("i",G)},outTangents:function(G){return this.vertices("o",G)},isClosed:function(){return this.v.c},pointOnPath:function(G,Z){var Q=this.v;Z!==void 0&&(Q=this.getValueAtTime(Z,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(Q));for(var te,re=this._segmentsLength,J=re.lengths,ie=re.totalLength*G,ne=0,oe=J.length,ue=0;ne<oe;){if(ue+J[ne].addedLength>ie){var ce=ne,fe=Q.c&&ne===oe-1?0:ne+1,ae=(ie-ue)/J[ne].addedLength;te=bez.getPointInSegment(Q.v[ce],Q.v[fe],Q.o[ce],Q.i[fe],ae,J[ne]);break}ue+=J[ne].addedLength,ne+=1}return te||(te=Q.c?[Q.v[0][0],Q.v[0][1]]:[Q.v[Q._length-1][0],Q.v[Q._length-1][1]]),te},vectorOnPath:function(G,Z,Q){G==1?G=this.v.c:G==0&&(G=.999);var te=this.pointOnPath(G,Z),re=this.pointOnPath(G+.001,Z),J=re[0]-te[0],ie=re[1]-te[1],ne=Math.sqrt(Math.pow(J,2)+Math.pow(ie,2));return ne===0?[0,0]:Q==="tangent"?[J/ne,ie/ne]:[-ie/ne,J/ne]},tangentOnPath:function(G,Z){return this.vectorOnPath(G,Z,"tangent")},normalOnPath:function(G,Z){return this.vectorOnPath(G,Z,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([W],q),extendPrototype([W],X),X.prototype.getValueAtTime=function(G){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),G*=this.elem.globalData.frameRate,(G-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<G?this._caching.lastIndex:0,this._cachingAtTime.lastTime=G,this.interpolateShape(G,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},X.prototype.initiateExpression=ExpressionManager.initiateExpression;var K=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(G,Z,Q,te,re){var J=K(G,Z,Q,te,re);return J.propertyIndex=Z.ix,J.lock=!1,Q===3?expressionHelpers.searchExpressions(G,Z.pt,J):Q===4&&expressionHelpers.searchExpressions(G,Z.ks,J),J.k&&G.addDynamicProperty(J),J}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(j,D){var B=this.calculateExpression(D);if(j.t!==B){var R={};return this.copyData(R,j),R.t=B.toString(),R.__complete=!1,R}return j},TextProperty.prototype.searchProperty=function(){var j=this.searchKeyframes(),D=this.searchExpressions();return this.kf=j||D,this.kf},TextProperty.prototype.searchExpressions=function(){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}}function initialize(){addDecorator()}return setExpressionsPlugin(Expressions),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie})}),jszip=createCommonjsModule(function(j,D){/*!
  668. JSZip v3.10.0 - A JavaScript class for generating and reading zip files
  669. <http://stuartk.com/jszip>
  670. (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
  671. Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
  672. JSZip uses the library pako released under the MIT license :
  673. https://github.com/nodeca/pako/blob/main/LICENSE
  674. */(function(B){j.exports=B()})(function(){return function B(R,F,U){function Y(W,K){if(!F[W]){if(!R[W]){var G=typeof commonjsRequire=="function"&&commonjsRequire;if(!K&&G)return G(W,!0);if(q)return q(W,!0);var Z=new Error("Cannot find module '"+W+"'");throw Z.code="MODULE_NOT_FOUND",Z}var Q=F[W]={exports:{}};R[W][0].call(Q.exports,function(te){var re=R[W][1][te];return Y(re||te)},Q,Q.exports,B,R,F,U)}return F[W].exports}for(var q=typeof commonjsRequire=="function"&&commonjsRequire,X=0;X<U.length;X++)Y(U[X]);return Y}({1:[function(B,R,F){var U=B("./utils"),Y=B("./support"),q="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";F.encode=function(X){for(var W,K,G,Z,Q,te,re,J=[],ie=0,ne=X.length,oe=ne,ue=U.getTypeOf(X)!=="string";ie<X.length;)oe=ne-ie,ue?(W=X[ie++],K=ie<ne?X[ie++]:0,G=ie<ne?X[ie++]:0):(W=X.charCodeAt(ie++),K=ie<ne?X.charCodeAt(ie++):0,G=ie<ne?X.charCodeAt(ie++):0),Z=W>>2,Q=(3&W)<<4|K>>4,te=oe>1?(15&K)<<2|G>>6:64,re=oe>2?63&G:64,J.push(q.charAt(Z)+q.charAt(Q)+q.charAt(te)+q.charAt(re));return J.join("")},F.decode=function(X){var W,K,G,Z,Q,te,re=0,J=0;if(X.substr(0,5)==="data:")throw new Error("Invalid base64 input, it looks like a data url.");var ie,ne=3*(X=X.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(X.charAt(X.length-1)===q.charAt(64)&&ne--,X.charAt(X.length-2)===q.charAt(64)&&ne--,ne%1!=0)throw new Error("Invalid base64 input, bad content length.");for(ie=Y.uint8array?new Uint8Array(0|ne):new Array(0|ne);re<X.length;)W=q.indexOf(X.charAt(re++))<<2|(Z=q.indexOf(X.charAt(re++)))>>4,K=(15&Z)<<4|(Q=q.indexOf(X.charAt(re++)))>>2,G=(3&Q)<<6|(te=q.indexOf(X.charAt(re++))),ie[J++]=W,Q!==64&&(ie[J++]=K),te!==64&&(ie[J++]=G);return ie}},{"./support":30,"./utils":32}],2:[function(B,R,F){var U=B("./external"),Y=B("./stream/DataWorker"),q=B("./stream/Crc32Probe"),X=B("./stream/DataLengthProbe");function W(K,G,Z,Q,te){this.compressedSize=K,this.uncompressedSize=G,this.crc32=Z,this.compression=Q,this.compressedContent=te}W.prototype={getContentWorker:function(){var K=new Y(U.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new X("data_length")),G=this;return K.on("end",function(){if(this.streamInfo.data_length!==G.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),K},getCompressedWorker:function(){return new Y(U.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},W.createWorkerFrom=function(K,G,Z){return K.pipe(new q).pipe(new X("uncompressedSize")).pipe(G.compressWorker(Z)).pipe(new X("compressedSize")).withStreamInfo("compression",G)},R.exports=W},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(B,R,F){var U=B("./stream/GenericWorker");F.STORE={magic:"\0\0",compressWorker:function(Y){return new U("STORE compression")},uncompressWorker:function(){return new U("STORE decompression")}},F.DEFLATE=B("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(B,R,F){var U=B("./utils"),Y=function(){for(var q,X=[],W=0;W<256;W++){q=W;for(var K=0;K<8;K++)q=1&q?3988292384^q>>>1:q>>>1;X[W]=q}return X}();R.exports=function(q,X){return q!==void 0&&q.length?U.getTypeOf(q)!=="string"?function(W,K,G,Z){var Q=Y,te=Z+G;W^=-1;for(var re=Z;re<te;re++)W=W>>>8^Q[255&(W^K[re])];return-1^W}(0|X,q,q.length,0):function(W,K,G,Z){var Q=Y,te=Z+G;W^=-1;for(var re=Z;re<te;re++)W=W>>>8^Q[255&(W^K.charCodeAt(re))];return-1^W}(0|X,q,q.length,0):0}},{"./utils":32}],5:[function(B,R,F){F.base64=!1,F.binary=!1,F.dir=!1,F.createFolders=!0,F.date=null,F.compression=null,F.compressionOptions=null,F.comment=null,F.unixPermissions=null,F.dosPermissions=null},{}],6:[function(B,R,F){var U=null;U=typeof Promise<"u"?Promise:B("lie"),R.exports={Promise:U}},{lie:37}],7:[function(B,R,F){var U=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",Y=B("pako"),q=B("./utils"),X=B("./stream/GenericWorker"),W=U?"uint8array":"array";function K(G,Z){X.call(this,"FlateWorker/"+G),this._pako=null,this._pakoAction=G,this._pakoOptions=Z,this.meta={}}F.magic="\b\0",q.inherits(K,X),K.prototype.processChunk=function(G){this.meta=G.meta,this._pako===null&&this._createPako(),this._pako.push(q.transformTo(W,G.data),!1)},K.prototype.flush=function(){X.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},K.prototype.cleanUp=function(){X.prototype.cleanUp.call(this),this._pako=null},K.prototype._createPako=function(){this._pako=new Y[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var G=this;this._pako.onData=function(Z){G.push({data:Z,meta:G.meta})}},F.compressWorker=function(G){return new K("Deflate",G)},F.uncompressWorker=function(){return new K("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(B,R,F){var U=B("../utils"),Y=B("../stream/GenericWorker"),q=B("../utf8"),X=B("../crc32"),W=B("../signature"),K=function(te,re){var J,ie="";for(J=0;J<re;J++)ie+=String.fromCharCode(255&te),te>>>=8;return ie},G=function(te,re,J,ie,ne,oe){var ue,ce,fe=te.file,ae=te.compression,he=oe!==q.utf8encode,ve=U.transformTo("string",oe(fe.name)),de=U.transformTo("string",q.utf8encode(fe.name)),se=fe.comment,ge=U.transformTo("string",oe(se)),be=U.transformTo("string",q.utf8encode(se)),le=de.length!==fe.name.length,pe=be.length!==se.length,Se="",Ae="",ye="",Me=fe.dir,Ie=fe.date,xe={crc32:0,compressedSize:0,uncompressedSize:0};re&&!J||(xe.crc32=te.crc32,xe.compressedSize=te.compressedSize,xe.uncompressedSize=te.uncompressedSize);var me=0;re&&(me|=8),he||!le&&!pe||(me|=2048);var we,_e,Te,Ne=0,Ee=0;Me&&(Ne|=16),ne==="UNIX"?(Ee=798,Ne|=(we=fe.unixPermissions,_e=Me,Te=we,we||(Te=_e?16893:33204),(65535&Te)<<16)):(Ee=20,Ne|=63&(fe.dosPermissions||0)),ue=Ie.getUTCHours(),ue<<=6,ue|=Ie.getUTCMinutes(),ue<<=5,ue|=Ie.getUTCSeconds()/2,ce=Ie.getUTCFullYear()-1980,ce<<=4,ce|=Ie.getUTCMonth()+1,ce<<=5,ce|=Ie.getUTCDate(),le&&(Ae=K(1,1)+K(X(ve),4)+de,Se+="up"+K(Ae.length,2)+Ae),pe&&(ye=K(1,1)+K(X(ge),4)+be,Se+="uc"+K(ye.length,2)+ye);var De="";return De+=`
  675. \0`,De+=K(me,2),De+=ae.magic,De+=K(ue,2),De+=K(ce,2),De+=K(xe.crc32,4),De+=K(xe.compressedSize,4),De+=K(xe.uncompressedSize,4),De+=K(ve.length,2),De+=K(Se.length,2),{fileRecord:W.LOCAL_FILE_HEADER+De+ve+Se,dirRecord:W.CENTRAL_FILE_HEADER+K(Ee,2)+De+K(ge.length,2)+"\0\0\0\0"+K(Ne,4)+K(ie,4)+ve+Se+ge}},Z=function(te){return W.DATA_DESCRIPTOR+K(te.crc32,4)+K(te.compressedSize,4)+K(te.uncompressedSize,4)};function Q(te,re,J,ie){Y.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=re,this.zipPlatform=J,this.encodeFileName=ie,this.streamFiles=te,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}U.inherits(Q,Y),Q.prototype.push=function(te){var re=te.meta.percent||0,J=this.entriesCount,ie=this._sources.length;this.accumulate?this.contentBuffer.push(te):(this.bytesWritten+=te.data.length,Y.prototype.push.call(this,{data:te.data,meta:{currentFile:this.currentFile,percent:J?(re+100*(J-ie-1))/J:100}}))},Q.prototype.openedSource=function(te){this.currentSourceOffset=this.bytesWritten,this.currentFile=te.file.name;var re=this.streamFiles&&!te.file.dir;if(re){var J=G(te,re,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:J.fileRecord,meta:{percent:0}})}else this.accumulate=!0},Q.prototype.closedSource=function(te){this.accumulate=!1;var re=this.streamFiles&&!te.file.dir,J=G(te,re,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(J.dirRecord),re)this.push({data:Z(te),meta:{percent:100}});else for(this.push({data:J.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},Q.prototype.flush=function(){for(var te=this.bytesWritten,re=0;re<this.dirRecords.length;re++)this.push({data:this.dirRecords[re],meta:{percent:100}});var J=this.bytesWritten-te,ie=function(ne,oe,ue,ce,fe){var ae=U.transformTo("string",fe(ce));return W.CENTRAL_DIRECTORY_END+"\0\0\0\0"+K(ne,2)+K(ne,2)+K(oe,4)+K(ue,4)+K(ae.length,2)+ae}(this.dirRecords.length,J,te,this.zipComment,this.encodeFileName);this.push({data:ie,meta:{percent:100}})},Q.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},Q.prototype.registerPrevious=function(te){this._sources.push(te);var re=this;return te.on("data",function(J){re.processChunk(J)}),te.on("end",function(){re.closedSource(re.previous.streamInfo),re._sources.length?re.prepareNextSource():re.end()}),te.on("error",function(J){re.error(J)}),this},Q.prototype.resume=function(){return!!Y.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},Q.prototype.error=function(te){var re=this._sources;if(!Y.prototype.error.call(this,te))return!1;for(var J=0;J<re.length;J++)try{re[J].error(te)}catch{}return!0},Q.prototype.lock=function(){Y.prototype.lock.call(this);for(var te=this._sources,re=0;re<te.length;re++)te[re].lock()},R.exports=Q},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(B,R,F){var U=B("../compressions"),Y=B("./ZipFileWorker");F.generateWorker=function(q,X,W){var K=new Y(X.streamFiles,W,X.platform,X.encodeFileName),G=0;try{q.forEach(function(Z,Q){G++;var te=function(ne,oe){var ue=ne||oe,ce=U[ue];if(!ce)throw new Error(ue+" is not a valid compression method !");return ce}(Q.options.compression,X.compression),re=Q.options.compressionOptions||X.compressionOptions||{},J=Q.dir,ie=Q.date;Q._compressWorker(te,re).withStreamInfo("file",{name:Z,dir:J,date:ie,comment:Q.comment||"",unixPermissions:Q.unixPermissions,dosPermissions:Q.dosPermissions}).pipe(K)}),K.entriesCount=G}catch(Z){K.error(Z)}return K}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(B,R,F){function U(){if(!(this instanceof U))return new U;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var Y=new U;for(var q in this)typeof this[q]!="function"&&(Y[q]=this[q]);return Y}}U.prototype=B("./object"),U.prototype.loadAsync=B("./load"),U.support=B("./support"),U.defaults=B("./defaults"),U.version="3.10.0",U.loadAsync=function(Y,q){return new U().loadAsync(Y,q)},U.external=B("./external"),R.exports=U},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(B,R,F){var U=B("./utils"),Y=B("./external"),q=B("./utf8"),X=B("./zipEntries"),W=B("./stream/Crc32Probe"),K=B("./nodejsUtils");function G(Z){return new Y.Promise(function(Q,te){var re=Z.decompressed.getContentWorker().pipe(new W);re.on("error",function(J){te(J)}).on("end",function(){re.streamInfo.crc32!==Z.decompressed.crc32?te(new Error("Corrupted zip : CRC32 mismatch")):Q()}).resume()})}R.exports=function(Z,Q){var te=this;return Q=U.extend(Q||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:q.utf8decode}),K.isNode&&K.isStream(Z)?Y.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):U.prepareContent("the loaded zip file",Z,!0,Q.optimizedBinaryString,Q.base64).then(function(re){var J=new X(Q);return J.load(re),J}).then(function(re){var J=[Y.Promise.resolve(re)],ie=re.files;if(Q.checkCRC32)for(var ne=0;ne<ie.length;ne++)J.push(G(ie[ne]));return Y.Promise.all(J)}).then(function(re){for(var J=re.shift(),ie=J.files,ne=0;ne<ie.length;ne++){var oe=ie[ne],ue=oe.fileNameStr,ce=U.resolve(oe.fileNameStr);te.file(ce,oe.decompressed,{binary:!0,optimizedBinaryString:!0,date:oe.date,dir:oe.dir,comment:oe.fileCommentStr.length?oe.fileCommentStr:null,unixPermissions:oe.unixPermissions,dosPermissions:oe.dosPermissions,createFolders:Q.createFolders}),oe.dir||(te.file(ce).unsafeOriginalName=ue)}return J.zipComment.length&&(te.comment=J.zipComment),te})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(B,R,F){var U=B("../utils"),Y=B("../stream/GenericWorker");function q(X,W){Y.call(this,"Nodejs stream input adapter for "+X),this._upstreamEnded=!1,this._bindStream(W)}U.inherits(q,Y),q.prototype._bindStream=function(X){var W=this;this._stream=X,X.pause(),X.on("data",function(K){W.push({data:K,meta:{percent:0}})}).on("error",function(K){W.isPaused?this.generatedError=K:W.error(K)}).on("end",function(){W.isPaused?W._upstreamEnded=!0:W.end()})},q.prototype.pause=function(){return!!Y.prototype.pause.call(this)&&(this._stream.pause(),!0)},q.prototype.resume=function(){return!!Y.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},R.exports=q},{"../stream/GenericWorker":28,"../utils":32}],13:[function(B,R,F){var U=B("readable-stream").Readable;function Y(q,X,W){U.call(this,X),this._helper=q;var K=this;q.on("data",function(G,Z){K.push(G)||K._helper.pause(),W&&W(Z)}).on("error",function(G){K.emit("error",G)}).on("end",function(){K.push(null)})}B("../utils").inherits(Y,U),Y.prototype._read=function(){this._helper.resume()},R.exports=Y},{"../utils":32,"readable-stream":16}],14:[function(B,R,F){R.exports={isNode:typeof Buffer<"u",newBufferFrom:function(U,Y){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(U,Y);if(typeof U=="number")throw new Error('The "data" argument must not be a number');return new Buffer(U,Y)},allocBuffer:function(U){if(Buffer.alloc)return Buffer.alloc(U);var Y=new Buffer(U);return Y.fill(0),Y},isBuffer:function(U){return Buffer.isBuffer(U)},isStream:function(U){return U&&typeof U.on=="function"&&typeof U.pause=="function"&&typeof U.resume=="function"}}},{}],15:[function(B,R,F){var U=B("./utf8"),Y=B("./utils"),q=B("./stream/GenericWorker"),X=B("./stream/StreamHelper"),W=B("./defaults"),K=B("./compressedObject"),G=B("./zipObject"),Z=B("./generate"),Q=B("./nodejsUtils"),te=B("./nodejs/NodejsStreamInputAdapter"),re=function(ce,fe,ae){var he,ve=Y.getTypeOf(fe),de=Y.extend(ae||{},W);de.date=de.date||new Date,de.compression!==null&&(de.compression=de.compression.toUpperCase()),typeof de.unixPermissions=="string"&&(de.unixPermissions=parseInt(de.unixPermissions,8)),de.unixPermissions&&16384&de.unixPermissions&&(de.dir=!0),de.dosPermissions&&16&de.dosPermissions&&(de.dir=!0),de.dir&&(ce=ie(ce)),de.createFolders&&(he=J(ce))&&ne.call(this,he,!0);var se=ve==="string"&&de.binary===!1&&de.base64===!1;ae&&ae.binary!==void 0||(de.binary=!se),(fe instanceof K&&fe.uncompressedSize===0||de.dir||!fe||fe.length===0)&&(de.base64=!1,de.binary=!0,fe="",de.compression="STORE",ve="string");var ge=null;ge=fe instanceof K||fe instanceof q?fe:Q.isNode&&Q.isStream(fe)?new te(ce,fe):Y.prepareContent(ce,fe,de.binary,de.optimizedBinaryString,de.base64);var be=new G(ce,ge,de);this.files[ce]=be},J=function(ce){ce.slice(-1)==="/"&&(ce=ce.substring(0,ce.length-1));var fe=ce.lastIndexOf("/");return fe>0?ce.substring(0,fe):""},ie=function(ce){return ce.slice(-1)!=="/"&&(ce+="/"),ce},ne=function(ce,fe){return fe=fe!==void 0?fe:W.createFolders,ce=ie(ce),this.files[ce]||re.call(this,ce,null,{dir:!0,createFolders:fe}),this.files[ce]};function oe(ce){return Object.prototype.toString.call(ce)==="[object RegExp]"}var ue={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(ce){var fe,ae,he;for(fe in this.files)he=this.files[fe],(ae=fe.slice(this.root.length,fe.length))&&fe.slice(0,this.root.length)===this.root&&ce(ae,he)},filter:function(ce){var fe=[];return this.forEach(function(ae,he){ce(ae,he)&&fe.push(he)}),fe},file:function(ce,fe,ae){if(arguments.length===1){if(oe(ce)){var he=ce;return this.filter(function(de,se){return!se.dir&&he.test(de)})}var ve=this.files[this.root+ce];return ve&&!ve.dir?ve:null}return ce=this.root+ce,re.call(this,ce,fe,ae),this},folder:function(ce){if(!ce)return this;if(oe(ce))return this.filter(function(ve,de){return de.dir&&ce.test(ve)});var fe=this.root+ce,ae=ne.call(this,fe),he=this.clone();return he.root=ae.name,he},remove:function(ce){ce=this.root+ce;var fe=this.files[ce];if(fe||(ce.slice(-1)!=="/"&&(ce+="/"),fe=this.files[ce]),fe&&!fe.dir)delete this.files[ce];else for(var ae=this.filter(function(ve,de){return de.name.slice(0,ce.length)===ce}),he=0;he<ae.length;he++)delete this.files[ae[he].name];return this},generate:function(ce){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(ce){var fe,ae={};try{if((ae=Y.extend(ce||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:U.utf8encode})).type=ae.type.toLowerCase(),ae.compression=ae.compression.toUpperCase(),ae.type==="binarystring"&&(ae.type="string"),!ae.type)throw new Error("No output type specified.");Y.checkSupport(ae.type),ae.platform!=="darwin"&&ae.platform!=="freebsd"&&ae.platform!=="linux"&&ae.platform!=="sunos"||(ae.platform="UNIX"),ae.platform==="win32"&&(ae.platform="DOS");var he=ae.comment||this.comment||"";fe=Z.generateWorker(this,ae,he)}catch(ve){(fe=new q("error")).error(ve)}return new X(fe,ae.type||"string",ae.mimeType)},generateAsync:function(ce,fe){return this.generateInternalStream(ce).accumulate(fe)},generateNodeStream:function(ce,fe){return(ce=ce||{}).type||(ce.type="nodebuffer"),this.generateInternalStream(ce).toNodejsStream(fe)}};R.exports=ue},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(B,R,F){R.exports=B("stream")},{stream:void 0}],17:[function(B,R,F){var U=B("./DataReader");function Y(q){U.call(this,q);for(var X=0;X<this.data.length;X++)q[X]=255&q[X]}B("../utils").inherits(Y,U),Y.prototype.byteAt=function(q){return this.data[this.zero+q]},Y.prototype.lastIndexOfSignature=function(q){for(var X=q.charCodeAt(0),W=q.charCodeAt(1),K=q.charCodeAt(2),G=q.charCodeAt(3),Z=this.length-4;Z>=0;--Z)if(this.data[Z]===X&&this.data[Z+1]===W&&this.data[Z+2]===K&&this.data[Z+3]===G)return Z-this.zero;return-1},Y.prototype.readAndCheckSignature=function(q){var X=q.charCodeAt(0),W=q.charCodeAt(1),K=q.charCodeAt(2),G=q.charCodeAt(3),Z=this.readData(4);return X===Z[0]&&W===Z[1]&&K===Z[2]&&G===Z[3]},Y.prototype.readData=function(q){if(this.checkOffset(q),q===0)return[];var X=this.data.slice(this.zero+this.index,this.zero+this.index+q);return this.index+=q,X},R.exports=Y},{"../utils":32,"./DataReader":18}],18:[function(B,R,F){var U=B("../utils");function Y(q){this.data=q,this.length=q.length,this.index=0,this.zero=0}Y.prototype={checkOffset:function(q){this.checkIndex(this.index+q)},checkIndex:function(q){if(this.length<this.zero+q||q<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+q+"). Corrupted zip ?")},setIndex:function(q){this.checkIndex(q),this.index=q},skip:function(q){this.setIndex(this.index+q)},byteAt:function(q){},readInt:function(q){var X,W=0;for(this.checkOffset(q),X=this.index+q-1;X>=this.index;X--)W=(W<<8)+this.byteAt(X);return this.index+=q,W},readString:function(q){return U.transformTo("string",this.readData(q))},readData:function(q){},lastIndexOfSignature:function(q){},readAndCheckSignature:function(q){},readDate:function(){var q=this.readInt(4);return new Date(Date.UTC(1980+(q>>25&127),(q>>21&15)-1,q>>16&31,q>>11&31,q>>5&63,(31&q)<<1))}},R.exports=Y},{"../utils":32}],19:[function(B,R,F){var U=B("./Uint8ArrayReader");function Y(q){U.call(this,q)}B("../utils").inherits(Y,U),Y.prototype.readData=function(q){this.checkOffset(q);var X=this.data.slice(this.zero+this.index,this.zero+this.index+q);return this.index+=q,X},R.exports=Y},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(B,R,F){var U=B("./DataReader");function Y(q){U.call(this,q)}B("../utils").inherits(Y,U),Y.prototype.byteAt=function(q){return this.data.charCodeAt(this.zero+q)},Y.prototype.lastIndexOfSignature=function(q){return this.data.lastIndexOf(q)-this.zero},Y.prototype.readAndCheckSignature=function(q){return q===this.readData(4)},Y.prototype.readData=function(q){this.checkOffset(q);var X=this.data.slice(this.zero+this.index,this.zero+this.index+q);return this.index+=q,X},R.exports=Y},{"../utils":32,"./DataReader":18}],21:[function(B,R,F){var U=B("./ArrayReader");function Y(q){U.call(this,q)}B("../utils").inherits(Y,U),Y.prototype.readData=function(q){if(this.checkOffset(q),q===0)return new Uint8Array(0);var X=this.data.subarray(this.zero+this.index,this.zero+this.index+q);return this.index+=q,X},R.exports=Y},{"../utils":32,"./ArrayReader":17}],22:[function(B,R,F){var U=B("../utils"),Y=B("../support"),q=B("./ArrayReader"),X=B("./StringReader"),W=B("./NodeBufferReader"),K=B("./Uint8ArrayReader");R.exports=function(G){var Z=U.getTypeOf(G);return U.checkSupport(Z),Z!=="string"||Y.uint8array?Z==="nodebuffer"?new W(G):Y.uint8array?new K(U.transformTo("uint8array",G)):new q(U.transformTo("array",G)):new X(G)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(B,R,F){F.LOCAL_FILE_HEADER="PK",F.CENTRAL_FILE_HEADER="PK",F.CENTRAL_DIRECTORY_END="PK",F.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",F.ZIP64_CENTRAL_DIRECTORY_END="PK",F.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(B,R,F){var U=B("./GenericWorker"),Y=B("../utils");function q(X){U.call(this,"ConvertWorker to "+X),this.destType=X}Y.inherits(q,U),q.prototype.processChunk=function(X){this.push({data:Y.transformTo(this.destType,X.data),meta:X.meta})},R.exports=q},{"../utils":32,"./GenericWorker":28}],25:[function(B,R,F){var U=B("./GenericWorker"),Y=B("../crc32");function q(){U.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}B("../utils").inherits(q,U),q.prototype.processChunk=function(X){this.streamInfo.crc32=Y(X.data,this.streamInfo.crc32||0),this.push(X)},R.exports=q},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(B,R,F){var U=B("../utils"),Y=B("./GenericWorker");function q(X){Y.call(this,"DataLengthProbe for "+X),this.propName=X,this.withStreamInfo(X,0)}U.inherits(q,Y),q.prototype.processChunk=function(X){if(X){var W=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=W+X.data.length}Y.prototype.processChunk.call(this,X)},R.exports=q},{"../utils":32,"./GenericWorker":28}],27:[function(B,R,F){var U=B("../utils"),Y=B("./GenericWorker");function q(X){Y.call(this,"DataWorker");var W=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,X.then(function(K){W.dataIsReady=!0,W.data=K,W.max=K&&K.length||0,W.type=U.getTypeOf(K),W.isPaused||W._tickAndRepeat()},function(K){W.error(K)})}U.inherits(q,Y),q.prototype.cleanUp=function(){Y.prototype.cleanUp.call(this),this.data=null},q.prototype.resume=function(){return!!Y.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,U.delay(this._tickAndRepeat,[],this)),!0)},q.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(U.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},q.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var X=null,W=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":X=this.data.substring(this.index,W);break;case"uint8array":X=this.data.subarray(this.index,W);break;case"array":case"nodebuffer":X=this.data.slice(this.index,W)}return this.index=W,this.push({data:X,meta:{percent:this.max?this.index/this.max*100:0}})},R.exports=q},{"../utils":32,"./GenericWorker":28}],28:[function(B,R,F){function U(Y){this.name=Y||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}U.prototype={push:function(Y){this.emit("data",Y)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(Y){this.emit("error",Y)}return!0},error:function(Y){return!this.isFinished&&(this.isPaused?this.generatedError=Y:(this.isFinished=!0,this.emit("error",Y),this.previous&&this.previous.error(Y),this.cleanUp()),!0)},on:function(Y,q){return this._listeners[Y].push(q),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(Y,q){if(this._listeners[Y])for(var X=0;X<this._listeners[Y].length;X++)this._listeners[Y][X].call(this,q)},pipe:function(Y){return Y.registerPrevious(this)},registerPrevious:function(Y){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=Y.streamInfo,this.mergeStreamInfo(),this.previous=Y;var q=this;return Y.on("data",function(X){q.processChunk(X)}),Y.on("end",function(){q.end()}),Y.on("error",function(X){q.error(X)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var Y=!1;return this.generatedError&&(this.error(this.generatedError),Y=!0),this.previous&&this.previous.resume(),!Y},flush:function(){},processChunk:function(Y){this.push(Y)},withStreamInfo:function(Y,q){return this.extraStreamInfo[Y]=q,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var Y in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(Y)&&(this.streamInfo[Y]=this.extraStreamInfo[Y])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var Y="Worker "+this.name;return this.previous?this.previous+" -> "+Y:Y}},R.exports=U},{}],29:[function(B,R,F){var U=B("../utils"),Y=B("./ConvertWorker"),q=B("./GenericWorker"),X=B("../base64"),W=B("../support"),K=B("../external"),G=null;if(W.nodestream)try{G=B("../nodejs/NodejsStreamOutputAdapter")}catch{}function Z(te,re){return new K.Promise(function(J,ie){var ne=[],oe=te._internalType,ue=te._outputType,ce=te._mimeType;te.on("data",function(fe,ae){ne.push(fe),re&&re(ae)}).on("error",function(fe){ne=[],ie(fe)}).on("end",function(){try{var fe=function(ae,he,ve){switch(ae){case"blob":return U.newBlob(U.transformTo("arraybuffer",he),ve);case"base64":return X.encode(he);default:return U.transformTo(ae,he)}}(ue,function(ae,he){var ve,de=0,se=null,ge=0;for(ve=0;ve<he.length;ve++)ge+=he[ve].length;switch(ae){case"string":return he.join("");case"array":return Array.prototype.concat.apply([],he);case"uint8array":for(se=new Uint8Array(ge),ve=0;ve<he.length;ve++)se.set(he[ve],de),de+=he[ve].length;return se;case"nodebuffer":return Buffer.concat(he);default:throw new Error("concat : unsupported type '"+ae+"'")}}(oe,ne),ce);J(fe)}catch(ae){ie(ae)}ne=[]}).resume()})}function Q(te,re,J){var ie=re;switch(re){case"blob":case"arraybuffer":ie="uint8array";break;case"base64":ie="string"}try{this._internalType=ie,this._outputType=re,this._mimeType=J,U.checkSupport(ie),this._worker=te.pipe(new Y(ie)),te.lock()}catch(ne){this._worker=new q("error"),this._worker.error(ne)}}Q.prototype={accumulate:function(te){return Z(this,te)},on:function(te,re){var J=this;return te==="data"?this._worker.on(te,function(ie){re.call(J,ie.data,ie.meta)}):this._worker.on(te,function(){U.delay(re,arguments,J)}),this},resume:function(){return U.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(te){if(U.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new G(this,{objectMode:this._outputType!=="nodebuffer"},te)}},R.exports=Q},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(B,R,F){if(F.base64=!0,F.array=!0,F.string=!0,F.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",F.nodebuffer=typeof Buffer<"u",F.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")F.blob=!1;else{var U=new ArrayBuffer(0);try{F.blob=new Blob([U],{type:"application/zip"}).size===0}catch{try{var Y=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);Y.append(U),F.blob=Y.getBlob("application/zip").size===0}catch{F.blob=!1}}}try{F.nodestream=!!B("readable-stream").Readable}catch{F.nodestream=!1}},{"readable-stream":16}],31:[function(B,R,F){for(var U=B("./utils"),Y=B("./support"),q=B("./nodejsUtils"),X=B("./stream/GenericWorker"),W=new Array(256),K=0;K<256;K++)W[K]=K>=252?6:K>=248?5:K>=240?4:K>=224?3:K>=192?2:1;W[254]=W[254]=1;function G(){X.call(this,"utf-8 decode"),this.leftOver=null}function Z(){X.call(this,"utf-8 encode")}F.utf8encode=function(Q){return Y.nodebuffer?q.newBufferFrom(Q,"utf-8"):function(te){var re,J,ie,ne,oe,ue=te.length,ce=0;for(ne=0;ne<ue;ne++)(64512&(J=te.charCodeAt(ne)))==55296&&ne+1<ue&&(64512&(ie=te.charCodeAt(ne+1)))==56320&&(J=65536+(J-55296<<10)+(ie-56320),ne++),ce+=J<128?1:J<2048?2:J<65536?3:4;for(re=Y.uint8array?new Uint8Array(ce):new Array(ce),oe=0,ne=0;oe<ce;ne++)(64512&(J=te.charCodeAt(ne)))==55296&&ne+1<ue&&(64512&(ie=te.charCodeAt(ne+1)))==56320&&(J=65536+(J-55296<<10)+(ie-56320),ne++),J<128?re[oe++]=J:J<2048?(re[oe++]=192|J>>>6,re[oe++]=128|63&J):J<65536?(re[oe++]=224|J>>>12,re[oe++]=128|J>>>6&63,re[oe++]=128|63&J):(re[oe++]=240|J>>>18,re[oe++]=128|J>>>12&63,re[oe++]=128|J>>>6&63,re[oe++]=128|63&J);return re}(Q)},F.utf8decode=function(Q){return Y.nodebuffer?U.transformTo("nodebuffer",Q).toString("utf-8"):function(te){var re,J,ie,ne,oe=te.length,ue=new Array(2*oe);for(J=0,re=0;re<oe;)if((ie=te[re++])<128)ue[J++]=ie;else if((ne=W[ie])>4)ue[J++]=65533,re+=ne-1;else{for(ie&=ne===2?31:ne===3?15:7;ne>1&&re<oe;)ie=ie<<6|63&te[re++],ne--;ne>1?ue[J++]=65533:ie<65536?ue[J++]=ie:(ie-=65536,ue[J++]=55296|ie>>10&1023,ue[J++]=56320|1023&ie)}return ue.length!==J&&(ue.subarray?ue=ue.subarray(0,J):ue.length=J),U.applyFromCharCode(ue)}(Q=U.transformTo(Y.uint8array?"uint8array":"array",Q))},U.inherits(G,X),G.prototype.processChunk=function(Q){var te=U.transformTo(Y.uint8array?"uint8array":"array",Q.data);if(this.leftOver&&this.leftOver.length){if(Y.uint8array){var re=te;(te=new Uint8Array(re.length+this.leftOver.length)).set(this.leftOver,0),te.set(re,this.leftOver.length)}else te=this.leftOver.concat(te);this.leftOver=null}var J=function(ne,oe){var ue;for((oe=oe||ne.length)>ne.length&&(oe=ne.length),ue=oe-1;ue>=0&&(192&ne[ue])==128;)ue--;return ue<0||ue===0?oe:ue+W[ne[ue]]>oe?ue:oe}(te),ie=te;J!==te.length&&(Y.uint8array?(ie=te.subarray(0,J),this.leftOver=te.subarray(J,te.length)):(ie=te.slice(0,J),this.leftOver=te.slice(J,te.length))),this.push({data:F.utf8decode(ie),meta:Q.meta})},G.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:F.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},F.Utf8DecodeWorker=G,U.inherits(Z,X),Z.prototype.processChunk=function(Q){this.push({data:F.utf8encode(Q.data),meta:Q.meta})},F.Utf8EncodeWorker=Z},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(B,R,F){var U=B("./support"),Y=B("./base64"),q=B("./nodejsUtils"),X=B("./external");function W(re){return re}function K(re,J){for(var ie=0;ie<re.length;++ie)J[ie]=255&re.charCodeAt(ie);return J}B("setimmediate"),F.newBlob=function(re,J){F.checkSupport("blob");try{return new Blob([re],{type:J})}catch{try{var ie=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return ie.append(re),ie.getBlob(J)}catch{throw new Error("Bug : can't construct the Blob.")}}};var G={stringifyByChunk:function(re,J,ie){var ne=[],oe=0,ue=re.length;if(ue<=ie)return String.fromCharCode.apply(null,re);for(;oe<ue;)J==="array"||J==="nodebuffer"?ne.push(String.fromCharCode.apply(null,re.slice(oe,Math.min(oe+ie,ue)))):ne.push(String.fromCharCode.apply(null,re.subarray(oe,Math.min(oe+ie,ue)))),oe+=ie;return ne.join("")},stringifyByChar:function(re){for(var J="",ie=0;ie<re.length;ie++)J+=String.fromCharCode(re[ie]);return J},applyCanBeUsed:{uint8array:function(){try{return U.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return U.nodebuffer&&String.fromCharCode.apply(null,q.allocBuffer(1)).length===1}catch{return!1}}()}};function Z(re){var J=65536,ie=F.getTypeOf(re),ne=!0;if(ie==="uint8array"?ne=G.applyCanBeUsed.uint8array:ie==="nodebuffer"&&(ne=G.applyCanBeUsed.nodebuffer),ne)for(;J>1;)try{return G.stringifyByChunk(re,ie,J)}catch{J=Math.floor(J/2)}return G.stringifyByChar(re)}function Q(re,J){for(var ie=0;ie<re.length;ie++)J[ie]=re[ie];return J}F.applyFromCharCode=Z;var te={};te.string={string:W,array:function(re){return K(re,new Array(re.length))},arraybuffer:function(re){return te.string.uint8array(re).buffer},uint8array:function(re){return K(re,new Uint8Array(re.length))},nodebuffer:function(re){return K(re,q.allocBuffer(re.length))}},te.array={string:Z,array:W,arraybuffer:function(re){return new Uint8Array(re).buffer},uint8array:function(re){return new Uint8Array(re)},nodebuffer:function(re){return q.newBufferFrom(re)}},te.arraybuffer={string:function(re){return Z(new Uint8Array(re))},array:function(re){return Q(new Uint8Array(re),new Array(re.byteLength))},arraybuffer:W,uint8array:function(re){return new Uint8Array(re)},nodebuffer:function(re){return q.newBufferFrom(new Uint8Array(re))}},te.uint8array={string:Z,array:function(re){return Q(re,new Array(re.length))},arraybuffer:function(re){return re.buffer},uint8array:W,nodebuffer:function(re){return q.newBufferFrom(re)}},te.nodebuffer={string:Z,array:function(re){return Q(re,new Array(re.length))},arraybuffer:function(re){return te.nodebuffer.uint8array(re).buffer},uint8array:function(re){return Q(re,new Uint8Array(re.length))},nodebuffer:W},F.transformTo=function(re,J){if(J||(J=""),!re)return J;F.checkSupport(re);var ie=F.getTypeOf(J);return te[ie][re](J)},F.resolve=function(re){for(var J=re.split("/"),ie=[],ne=0;ne<J.length;ne++){var oe=J[ne];oe==="."||oe===""&&ne!==0&&ne!==J.length-1||(oe===".."?ie.pop():ie.push(oe))}return ie.join("/")},F.getTypeOf=function(re){return typeof re=="string"?"string":Object.prototype.toString.call(re)==="[object Array]"?"array":U.nodebuffer&&q.isBuffer(re)?"nodebuffer":U.uint8array&&re instanceof Uint8Array?"uint8array":U.arraybuffer&&re instanceof ArrayBuffer?"arraybuffer":void 0},F.checkSupport=function(re){if(!U[re.toLowerCase()])throw new Error(re+" is not supported by this platform")},F.MAX_VALUE_16BITS=65535,F.MAX_VALUE_32BITS=-1,F.pretty=function(re){var J,ie,ne="";for(ie=0;ie<(re||"").length;ie++)ne+="\\x"+((J=re.charCodeAt(ie))<16?"0":"")+J.toString(16).toUpperCase();return ne},F.delay=function(re,J,ie){setImmediate(function(){re.apply(ie||null,J||[])})},F.inherits=function(re,J){var ie=function(){};ie.prototype=J.prototype,re.prototype=new ie},F.extend=function(){var re,J,ie={};for(re=0;re<arguments.length;re++)for(J in arguments[re])arguments[re].hasOwnProperty(J)&&ie[J]===void 0&&(ie[J]=arguments[re][J]);return ie},F.prepareContent=function(re,J,ie,ne,oe){return X.Promise.resolve(J).then(function(ue){return U.blob&&(ue instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(ue))!==-1)&&typeof FileReader<"u"?new X.Promise(function(ce,fe){var ae=new FileReader;ae.onload=function(he){ce(he.target.result)},ae.onerror=function(he){fe(he.target.error)},ae.readAsArrayBuffer(ue)}):ue}).then(function(ue){var ce,fe=F.getTypeOf(ue);return fe?(fe==="arraybuffer"?ue=F.transformTo("uint8array",ue):fe==="string"&&(oe?ue=Y.decode(ue):ie&&ne!==!0&&(ue=K(ce=ue,U.uint8array?new Uint8Array(ce.length):new Array(ce.length)))),ue):X.Promise.reject(new Error("Can't read the data of '"+re+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(B,R,F){var U=B("./reader/readerFor"),Y=B("./utils"),q=B("./signature"),X=B("./zipEntry"),W=(B("./utf8"),B("./support"));function K(G){this.files=[],this.loadOptions=G}K.prototype={checkSignature:function(G){if(!this.reader.readAndCheckSignature(G)){this.reader.index-=4;var Z=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+Y.pretty(Z)+", expected "+Y.pretty(G)+")")}},isSignature:function(G,Z){var Q=this.reader.index;this.reader.setIndex(G);var te=this.reader.readString(4)===Z;return this.reader.setIndex(Q),te},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var G=this.reader.readData(this.zipCommentLength),Z=W.uint8array?"uint8array":"array",Q=Y.transformTo(Z,G);this.zipComment=this.loadOptions.decodeFileName(Q)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var G,Z,Q,te=this.zip64EndOfCentralSize-44;0<te;)G=this.reader.readInt(2),Z=this.reader.readInt(4),Q=this.reader.readData(Z),this.zip64ExtensibleData[G]={id:G,length:Z,value:Q}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var G,Z;for(G=0;G<this.files.length;G++)Z=this.files[G],this.reader.setIndex(Z.localHeaderOffset),this.checkSignature(q.LOCAL_FILE_HEADER),Z.readLocalPart(this.reader),Z.handleUTF8(),Z.processAttributes()},readCentralDir:function(){var G;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(q.CENTRAL_FILE_HEADER);)(G=new X({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(G);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var G=this.reader.lastIndexOfSignature(q.CENTRAL_DIRECTORY_END);if(G<0)throw this.isSignature(0,q.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(G);var Z=G;if(this.checkSignature(q.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Y.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Y.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Y.MAX_VALUE_16BITS||this.centralDirRecords===Y.MAX_VALUE_16BITS||this.centralDirSize===Y.MAX_VALUE_32BITS||this.centralDirOffset===Y.MAX_VALUE_32BITS){if(this.zip64=!0,(G=this.reader.lastIndexOfSignature(q.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(G),this.checkSignature(q.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,q.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(q.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(q.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var Q=this.centralDirOffset+this.centralDirSize;this.zip64&&(Q+=20,Q+=12+this.zip64EndOfCentralSize);var te=Z-Q;if(te>0)this.isSignature(Z,q.CENTRAL_FILE_HEADER)||(this.reader.zero=te);else if(te<0)throw new Error("Corrupted zip: missing "+Math.abs(te)+" bytes.")},prepareReader:function(G){this.reader=U(G)},load:function(G){this.prepareReader(G),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},R.exports=K},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(B,R,F){var U=B("./reader/readerFor"),Y=B("./utils"),q=B("./compressedObject"),X=B("./crc32"),W=B("./utf8"),K=B("./compressions"),G=B("./support");function Z(Q,te){this.options=Q,this.loadOptions=te}Z.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(Q){var te,re;if(Q.skip(22),this.fileNameLength=Q.readInt(2),re=Q.readInt(2),this.fileName=Q.readData(this.fileNameLength),Q.skip(re),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((te=function(J){for(var ie in K)if(K.hasOwnProperty(ie)&&K[ie].magic===J)return K[ie];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+Y.pretty(this.compressionMethod)+" unknown (inner file : "+Y.transformTo("string",this.fileName)+")");this.decompressed=new q(this.compressedSize,this.uncompressedSize,this.crc32,te,Q.readData(this.compressedSize))},readCentralPart:function(Q){this.versionMadeBy=Q.readInt(2),Q.skip(2),this.bitFlag=Q.readInt(2),this.compressionMethod=Q.readString(2),this.date=Q.readDate(),this.crc32=Q.readInt(4),this.compressedSize=Q.readInt(4),this.uncompressedSize=Q.readInt(4);var te=Q.readInt(2);if(this.extraFieldsLength=Q.readInt(2),this.fileCommentLength=Q.readInt(2),this.diskNumberStart=Q.readInt(2),this.internalFileAttributes=Q.readInt(2),this.externalFileAttributes=Q.readInt(4),this.localHeaderOffset=Q.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");Q.skip(te),this.readExtraFields(Q),this.parseZIP64ExtraField(Q),this.fileComment=Q.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var Q=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),Q===0&&(this.dosPermissions=63&this.externalFileAttributes),Q===3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(Q){if(this.extraFields[1]){var te=U(this.extraFields[1].value);this.uncompressedSize===Y.MAX_VALUE_32BITS&&(this.uncompressedSize=te.readInt(8)),this.compressedSize===Y.MAX_VALUE_32BITS&&(this.compressedSize=te.readInt(8)),this.localHeaderOffset===Y.MAX_VALUE_32BITS&&(this.localHeaderOffset=te.readInt(8)),this.diskNumberStart===Y.MAX_VALUE_32BITS&&(this.diskNumberStart=te.readInt(4))}},readExtraFields:function(Q){var te,re,J,ie=Q.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});Q.index+4<ie;)te=Q.readInt(2),re=Q.readInt(2),J=Q.readData(re),this.extraFields[te]={id:te,length:re,value:J};Q.setIndex(ie)},handleUTF8:function(){var Q=G.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=W.utf8decode(this.fileName),this.fileCommentStr=W.utf8decode(this.fileComment);else{var te=this.findExtraFieldUnicodePath();if(te!==null)this.fileNameStr=te;else{var re=Y.transformTo(Q,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(re)}var J=this.findExtraFieldUnicodeComment();if(J!==null)this.fileCommentStr=J;else{var ie=Y.transformTo(Q,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(ie)}}},findExtraFieldUnicodePath:function(){var Q=this.extraFields[28789];if(Q){var te=U(Q.value);return te.readInt(1)!==1||X(this.fileName)!==te.readInt(4)?null:W.utf8decode(te.readData(Q.length-5))}return null},findExtraFieldUnicodeComment:function(){var Q=this.extraFields[25461];if(Q){var te=U(Q.value);return te.readInt(1)!==1||X(this.fileComment)!==te.readInt(4)?null:W.utf8decode(te.readData(Q.length-5))}return null}},R.exports=Z},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(B,R,F){var U=B("./stream/StreamHelper"),Y=B("./stream/DataWorker"),q=B("./utf8"),X=B("./compressedObject"),W=B("./stream/GenericWorker"),K=function(te,re,J){this.name=te,this.dir=J.dir,this.date=J.date,this.comment=J.comment,this.unixPermissions=J.unixPermissions,this.dosPermissions=J.dosPermissions,this._data=re,this._dataBinary=J.binary,this.options={compression:J.compression,compressionOptions:J.compressionOptions}};K.prototype={internalStream:function(te){var re=null,J="string";try{if(!te)throw new Error("No output type specified.");var ie=(J=te.toLowerCase())==="string"||J==="text";J!=="binarystring"&&J!=="text"||(J="string"),re=this._decompressWorker();var ne=!this._dataBinary;ne&&!ie&&(re=re.pipe(new q.Utf8EncodeWorker)),!ne&&ie&&(re=re.pipe(new q.Utf8DecodeWorker))}catch(oe){(re=new W("error")).error(oe)}return new U(re,J,"")},async:function(te,re){return this.internalStream(te).accumulate(re)},nodeStream:function(te,re){return this.internalStream(te||"nodebuffer").toNodejsStream(re)},_compressWorker:function(te,re){if(this._data instanceof X&&this._data.compression.magic===te.magic)return this._data.getCompressedWorker();var J=this._decompressWorker();return this._dataBinary||(J=J.pipe(new q.Utf8EncodeWorker)),X.createWorkerFrom(J,te,re)},_decompressWorker:function(){return this._data instanceof X?this._data.getContentWorker():this._data instanceof W?this._data:new Y(this._data)}};for(var G=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Z=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Q=0;Q<G.length;Q++)K.prototype[G[Q]]=Z;R.exports=K},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(B,R,F){(function(U){var Y,q,X=U.MutationObserver||U.WebKitMutationObserver;if(X){var W=0,K=new X(te),G=U.document.createTextNode("");K.observe(G,{characterData:!0}),Y=function(){G.data=W=++W%2}}else if(U.setImmediate||U.MessageChannel===void 0)Y="document"in U&&"onreadystatechange"in U.document.createElement("script")?function(){var re=U.document.createElement("script");re.onreadystatechange=function(){te(),re.onreadystatechange=null,re.parentNode.removeChild(re),re=null},U.document.documentElement.appendChild(re)}:function(){setTimeout(te,0)};else{var Z=new U.MessageChannel;Z.port1.onmessage=te,Y=function(){Z.port2.postMessage(0)}}var Q=[];function te(){var re,J;q=!0;for(var ie=Q.length;ie;){for(J=Q,Q=[],re=-1;++re<ie;)J[re]();ie=Q.length}q=!1}R.exports=function(re){Q.push(re)!==1||q||Y()}}).call(this,commonjsGlobal!==void 0?commonjsGlobal:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(B,R,F){var U=B("immediate");function Y(){}var q={},X=["REJECTED"],W=["FULFILLED"],K=["PENDING"];function G(ie){if(typeof ie!="function")throw new TypeError("resolver must be a function");this.state=K,this.queue=[],this.outcome=void 0,ie!==Y&&re(this,ie)}function Z(ie,ne,oe){this.promise=ie,typeof ne=="function"&&(this.onFulfilled=ne,this.callFulfilled=this.otherCallFulfilled),typeof oe=="function"&&(this.onRejected=oe,this.callRejected=this.otherCallRejected)}function Q(ie,ne,oe){U(function(){var ue;try{ue=ne(oe)}catch(ce){return q.reject(ie,ce)}ue===ie?q.reject(ie,new TypeError("Cannot resolve promise with itself")):q.resolve(ie,ue)})}function te(ie){var ne=ie&&ie.then;if(ie&&(typeof ie=="object"||typeof ie=="function")&&typeof ne=="function")return function(){ne.apply(ie,arguments)}}function re(ie,ne){var oe=!1;function ue(ae){oe||(oe=!0,q.reject(ie,ae))}function ce(ae){oe||(oe=!0,q.resolve(ie,ae))}var fe=J(function(){ne(ce,ue)});fe.status==="error"&&ue(fe.value)}function J(ie,ne){var oe={};try{oe.value=ie(ne),oe.status="success"}catch(ue){oe.status="error",oe.value=ue}return oe}R.exports=G,G.prototype.finally=function(ie){if(typeof ie!="function")return this;var ne=this.constructor;return this.then(function(oe){return ne.resolve(ie()).then(function(){return oe})},function(oe){return ne.resolve(ie()).then(function(){throw oe})})},G.prototype.catch=function(ie){return this.then(null,ie)},G.prototype.then=function(ie,ne){if(typeof ie!="function"&&this.state===W||typeof ne!="function"&&this.state===X)return this;var oe=new this.constructor(Y);return this.state!==K?Q(oe,this.state===W?ie:ne,this.outcome):this.queue.push(new Z(oe,ie,ne)),oe},Z.prototype.callFulfilled=function(ie){q.resolve(this.promise,ie)},Z.prototype.otherCallFulfilled=function(ie){Q(this.promise,this.onFulfilled,ie)},Z.prototype.callRejected=function(ie){q.reject(this.promise,ie)},Z.prototype.otherCallRejected=function(ie){Q(this.promise,this.onRejected,ie)},q.resolve=function(ie,ne){var oe=J(te,ne);if(oe.status==="error")return q.reject(ie,oe.value);var ue=oe.value;if(ue)re(ie,ue);else{ie.state=W,ie.outcome=ne;for(var ce=-1,fe=ie.queue.length;++ce<fe;)ie.queue[ce].callFulfilled(ne)}return ie},q.reject=function(ie,ne){ie.state=X,ie.outcome=ne;for(var oe=-1,ue=ie.queue.length;++oe<ue;)ie.queue[oe].callRejected(ne);return ie},G.resolve=function(ie){return ie instanceof this?ie:q.resolve(new this(Y),ie)},G.reject=function(ie){var ne=new this(Y);return q.reject(ne,ie)},G.all=function(ie){var ne=this;if(Object.prototype.toString.call(ie)!=="[object Array]")return this.reject(new TypeError("must be an array"));var oe=ie.length,ue=!1;if(!oe)return this.resolve([]);for(var ce=new Array(oe),fe=0,ae=-1,he=new this(Y);++ae<oe;)ve(ie[ae],ae);return he;function ve(de,se){ne.resolve(de).then(function(ge){ce[se]=ge,++fe!==oe||ue||(ue=!0,q.resolve(he,ce))},function(ge){ue||(ue=!0,q.reject(he,ge))})}},G.race=function(ie){var ne=this;if(Object.prototype.toString.call(ie)!=="[object Array]")return this.reject(new TypeError("must be an array"));var oe=ie.length,ue=!1;if(!oe)return this.resolve([]);for(var ce=-1,fe=new this(Y);++ce<oe;)ae=ie[ce],ne.resolve(ae).then(function(he){ue||(ue=!0,q.resolve(fe,he))},function(he){ue||(ue=!0,q.reject(fe,he))});var ae;return fe}},{immediate:36}],38:[function(B,R,F){var U={};(0,B("./lib/utils/common").assign)(U,B("./lib/deflate"),B("./lib/inflate"),B("./lib/zlib/constants")),R.exports=U},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(B,R,F){var U=B("./zlib/deflate"),Y=B("./utils/common"),q=B("./utils/strings"),X=B("./zlib/messages"),W=B("./zlib/zstream"),K=Object.prototype.toString;function G(Q){if(!(this instanceof G))return new G(Q);this.options=Y.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},Q||{});var te=this.options;te.raw&&te.windowBits>0?te.windowBits=-te.windowBits:te.gzip&&te.windowBits>0&&te.windowBits<16&&(te.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new W,this.strm.avail_out=0;var re=U.deflateInit2(this.strm,te.level,te.method,te.windowBits,te.memLevel,te.strategy);if(re!==0)throw new Error(X[re]);if(te.header&&U.deflateSetHeader(this.strm,te.header),te.dictionary){var J;if(J=typeof te.dictionary=="string"?q.string2buf(te.dictionary):K.call(te.dictionary)==="[object ArrayBuffer]"?new Uint8Array(te.dictionary):te.dictionary,(re=U.deflateSetDictionary(this.strm,J))!==0)throw new Error(X[re]);this._dict_set=!0}}function Z(Q,te){var re=new G(te);if(re.push(Q,!0),re.err)throw re.msg||X[re.err];return re.result}G.prototype.push=function(Q,te){var re,J,ie=this.strm,ne=this.options.chunkSize;if(this.ended)return!1;J=te===~~te?te:te===!0?4:0,typeof Q=="string"?ie.input=q.string2buf(Q):K.call(Q)==="[object ArrayBuffer]"?ie.input=new Uint8Array(Q):ie.input=Q,ie.next_in=0,ie.avail_in=ie.input.length;do{if(ie.avail_out===0&&(ie.output=new Y.Buf8(ne),ie.next_out=0,ie.avail_out=ne),(re=U.deflate(ie,J))!==1&&re!==0)return this.onEnd(re),this.ended=!0,!1;ie.avail_out!==0&&(ie.avail_in!==0||J!==4&&J!==2)||(this.options.to==="string"?this.onData(q.buf2binstring(Y.shrinkBuf(ie.output,ie.next_out))):this.onData(Y.shrinkBuf(ie.output,ie.next_out)))}while((ie.avail_in>0||ie.avail_out===0)&&re!==1);return J===4?(re=U.deflateEnd(this.strm),this.onEnd(re),this.ended=!0,re===0):J!==2||(this.onEnd(0),ie.avail_out=0,!0)},G.prototype.onData=function(Q){this.chunks.push(Q)},G.prototype.onEnd=function(Q){Q===0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Y.flattenChunks(this.chunks)),this.chunks=[],this.err=Q,this.msg=this.strm.msg},F.Deflate=G,F.deflate=Z,F.deflateRaw=function(Q,te){return(te=te||{}).raw=!0,Z(Q,te)},F.gzip=function(Q,te){return(te=te||{}).gzip=!0,Z(Q,te)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(B,R,F){var U=B("./zlib/inflate"),Y=B("./utils/common"),q=B("./utils/strings"),X=B("./zlib/constants"),W=B("./zlib/messages"),K=B("./zlib/zstream"),G=B("./zlib/gzheader"),Z=Object.prototype.toString;function Q(re){if(!(this instanceof Q))return new Q(re);this.options=Y.assign({chunkSize:16384,windowBits:0,to:""},re||{});var J=this.options;J.raw&&J.windowBits>=0&&J.windowBits<16&&(J.windowBits=-J.windowBits,J.windowBits===0&&(J.windowBits=-15)),!(J.windowBits>=0&&J.windowBits<16)||re&&re.windowBits||(J.windowBits+=32),J.windowBits>15&&J.windowBits<48&&!(15&J.windowBits)&&(J.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new K,this.strm.avail_out=0;var ie=U.inflateInit2(this.strm,J.windowBits);if(ie!==X.Z_OK)throw new Error(W[ie]);this.header=new G,U.inflateGetHeader(this.strm,this.header)}function te(re,J){var ie=new Q(J);if(ie.push(re,!0),ie.err)throw ie.msg||W[ie.err];return ie.result}Q.prototype.push=function(re,J){var ie,ne,oe,ue,ce,fe,ae=this.strm,he=this.options.chunkSize,ve=this.options.dictionary,de=!1;if(this.ended)return!1;ne=J===~~J?J:J===!0?X.Z_FINISH:X.Z_NO_FLUSH,typeof re=="string"?ae.input=q.binstring2buf(re):Z.call(re)==="[object ArrayBuffer]"?ae.input=new Uint8Array(re):ae.input=re,ae.next_in=0,ae.avail_in=ae.input.length;do{if(ae.avail_out===0&&(ae.output=new Y.Buf8(he),ae.next_out=0,ae.avail_out=he),(ie=U.inflate(ae,X.Z_NO_FLUSH))===X.Z_NEED_DICT&&ve&&(fe=typeof ve=="string"?q.string2buf(ve):Z.call(ve)==="[object ArrayBuffer]"?new Uint8Array(ve):ve,ie=U.inflateSetDictionary(this.strm,fe)),ie===X.Z_BUF_ERROR&&de===!0&&(ie=X.Z_OK,de=!1),ie!==X.Z_STREAM_END&&ie!==X.Z_OK)return this.onEnd(ie),this.ended=!0,!1;ae.next_out&&(ae.avail_out!==0&&ie!==X.Z_STREAM_END&&(ae.avail_in!==0||ne!==X.Z_FINISH&&ne!==X.Z_SYNC_FLUSH)||(this.options.to==="string"?(oe=q.utf8border(ae.output,ae.next_out),ue=ae.next_out-oe,ce=q.buf2string(ae.output,oe),ae.next_out=ue,ae.avail_out=he-ue,ue&&Y.arraySet(ae.output,ae.output,oe,ue,0),this.onData(ce)):this.onData(Y.shrinkBuf(ae.output,ae.next_out)))),ae.avail_in===0&&ae.avail_out===0&&(de=!0)}while((ae.avail_in>0||ae.avail_out===0)&&ie!==X.Z_STREAM_END);return ie===X.Z_STREAM_END&&(ne=X.Z_FINISH),ne===X.Z_FINISH?(ie=U.inflateEnd(this.strm),this.onEnd(ie),this.ended=!0,ie===X.Z_OK):ne!==X.Z_SYNC_FLUSH||(this.onEnd(X.Z_OK),ae.avail_out=0,!0)},Q.prototype.onData=function(re){this.chunks.push(re)},Q.prototype.onEnd=function(re){re===X.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Y.flattenChunks(this.chunks)),this.chunks=[],this.err=re,this.msg=this.strm.msg},F.Inflate=Q,F.inflate=te,F.inflateRaw=function(re,J){return(J=J||{}).raw=!0,te(re,J)},F.ungzip=te},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(B,R,F){var U=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";F.assign=function(X){for(var W=Array.prototype.slice.call(arguments,1);W.length;){var K=W.shift();if(K){if(typeof K!="object")throw new TypeError(K+"must be non-object");for(var G in K)K.hasOwnProperty(G)&&(X[G]=K[G])}}return X},F.shrinkBuf=function(X,W){return X.length===W?X:X.subarray?X.subarray(0,W):(X.length=W,X)};var Y={arraySet:function(X,W,K,G,Z){if(W.subarray&&X.subarray)X.set(W.subarray(K,K+G),Z);else for(var Q=0;Q<G;Q++)X[Z+Q]=W[K+Q]},flattenChunks:function(X){var W,K,G,Z,Q,te;for(G=0,W=0,K=X.length;W<K;W++)G+=X[W].length;for(te=new Uint8Array(G),Z=0,W=0,K=X.length;W<K;W++)Q=X[W],te.set(Q,Z),Z+=Q.length;return te}},q={arraySet:function(X,W,K,G,Z){for(var Q=0;Q<G;Q++)X[Z+Q]=W[K+Q]},flattenChunks:function(X){return[].concat.apply([],X)}};F.setTyped=function(X){X?(F.Buf8=Uint8Array,F.Buf16=Uint16Array,F.Buf32=Int32Array,F.assign(F,Y)):(F.Buf8=Array,F.Buf16=Array,F.Buf32=Array,F.assign(F,q))},F.setTyped(U)},{}],42:[function(B,R,F){var U=B("./common"),Y=!0,q=!0;try{String.fromCharCode.apply(null,[0])}catch{Y=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{q=!1}for(var X=new U.Buf8(256),W=0;W<256;W++)X[W]=W>=252?6:W>=248?5:W>=240?4:W>=224?3:W>=192?2:1;function K(G,Z){if(Z<65537&&(G.subarray&&q||!G.subarray&&Y))return String.fromCharCode.apply(null,U.shrinkBuf(G,Z));for(var Q="",te=0;te<Z;te++)Q+=String.fromCharCode(G[te]);return Q}X[254]=X[254]=1,F.string2buf=function(G){var Z,Q,te,re,J,ie=G.length,ne=0;for(re=0;re<ie;re++)(64512&(Q=G.charCodeAt(re)))==55296&&re+1<ie&&(64512&(te=G.charCodeAt(re+1)))==56320&&(Q=65536+(Q-55296<<10)+(te-56320),re++),ne+=Q<128?1:Q<2048?2:Q<65536?3:4;for(Z=new U.Buf8(ne),J=0,re=0;J<ne;re++)(64512&(Q=G.charCodeAt(re)))==55296&&re+1<ie&&(64512&(te=G.charCodeAt(re+1)))==56320&&(Q=65536+(Q-55296<<10)+(te-56320),re++),Q<128?Z[J++]=Q:Q<2048?(Z[J++]=192|Q>>>6,Z[J++]=128|63&Q):Q<65536?(Z[J++]=224|Q>>>12,Z[J++]=128|Q>>>6&63,Z[J++]=128|63&Q):(Z[J++]=240|Q>>>18,Z[J++]=128|Q>>>12&63,Z[J++]=128|Q>>>6&63,Z[J++]=128|63&Q);return Z},F.buf2binstring=function(G){return K(G,G.length)},F.binstring2buf=function(G){for(var Z=new U.Buf8(G.length),Q=0,te=Z.length;Q<te;Q++)Z[Q]=G.charCodeAt(Q);return Z},F.buf2string=function(G,Z){var Q,te,re,J,ie=Z||G.length,ne=new Array(2*ie);for(te=0,Q=0;Q<ie;)if((re=G[Q++])<128)ne[te++]=re;else if((J=X[re])>4)ne[te++]=65533,Q+=J-1;else{for(re&=J===2?31:J===3?15:7;J>1&&Q<ie;)re=re<<6|63&G[Q++],J--;J>1?ne[te++]=65533:re<65536?ne[te++]=re:(re-=65536,ne[te++]=55296|re>>10&1023,ne[te++]=56320|1023&re)}return K(ne,te)},F.utf8border=function(G,Z){var Q;for((Z=Z||G.length)>G.length&&(Z=G.length),Q=Z-1;Q>=0&&(192&G[Q])==128;)Q--;return Q<0||Q===0?Z:Q+X[G[Q]]>Z?Q:Z}},{"./common":41}],43:[function(B,R,F){R.exports=function(U,Y,q,X){for(var W=65535&U|0,K=U>>>16&65535|0,G=0;q!==0;){q-=G=q>2e3?2e3:q;do K=K+(W=W+Y[X++]|0)|0;while(--G);W%=65521,K%=65521}return W|K<<16|0}},{}],44:[function(B,R,F){R.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(B,R,F){var U=function(){for(var Y,q=[],X=0;X<256;X++){Y=X;for(var W=0;W<8;W++)Y=1&Y?3988292384^Y>>>1:Y>>>1;q[X]=Y}return q}();R.exports=function(Y,q,X,W){var K=U,G=W+X;Y^=-1;for(var Z=W;Z<G;Z++)Y=Y>>>8^K[255&(Y^q[Z])];return-1^Y}},{}],46:[function(B,R,F){var U,Y=B("../utils/common"),q=B("./trees"),X=B("./adler32"),W=B("./crc32"),K=B("./messages");function G(se,ge){return se.msg=K[ge],ge}function Z(se){return(se<<1)-(se>4?9:0)}function Q(se){for(var ge=se.length;--ge>=0;)se[ge]=0}function te(se){var ge=se.state,be=ge.pending;be>se.avail_out&&(be=se.avail_out),be!==0&&(Y.arraySet(se.output,ge.pending_buf,ge.pending_out,be,se.next_out),se.next_out+=be,ge.pending_out+=be,se.total_out+=be,se.avail_out-=be,ge.pending-=be,ge.pending===0&&(ge.pending_out=0))}function re(se,ge){q._tr_flush_block(se,se.block_start>=0?se.block_start:-1,se.strstart-se.block_start,ge),se.block_start=se.strstart,te(se.strm)}function J(se,ge){se.pending_buf[se.pending++]=ge}function ie(se,ge){se.pending_buf[se.pending++]=ge>>>8&255,se.pending_buf[se.pending++]=255&ge}function ne(se,ge){var be,le,pe=se.max_chain_length,Se=se.strstart,Ae=se.prev_length,ye=se.nice_match,Me=se.strstart>se.w_size-262?se.strstart-(se.w_size-262):0,Ie=se.window,xe=se.w_mask,me=se.prev,we=se.strstart+258,_e=Ie[Se+Ae-1],Te=Ie[Se+Ae];se.prev_length>=se.good_match&&(pe>>=2),ye>se.lookahead&&(ye=se.lookahead);do if(Ie[(be=ge)+Ae]===Te&&Ie[be+Ae-1]===_e&&Ie[be]===Ie[Se]&&Ie[++be]===Ie[Se+1]){Se+=2,be++;do;while(Ie[++Se]===Ie[++be]&&Ie[++Se]===Ie[++be]&&Ie[++Se]===Ie[++be]&&Ie[++Se]===Ie[++be]&&Ie[++Se]===Ie[++be]&&Ie[++Se]===Ie[++be]&&Ie[++Se]===Ie[++be]&&Ie[++Se]===Ie[++be]&&Se<we);if(le=258-(we-Se),Se=we-258,le>Ae){if(se.match_start=ge,Ae=le,le>=ye)break;_e=Ie[Se+Ae-1],Te=Ie[Se+Ae]}}while((ge=me[ge&xe])>Me&&--pe!=0);return Ae<=se.lookahead?Ae:se.lookahead}function oe(se){var ge,be,le,pe,Se,Ae,ye,Me,Ie,xe,me=se.w_size;do{if(pe=se.window_size-se.lookahead-se.strstart,se.strstart>=me+(me-262)){Y.arraySet(se.window,se.window,me,me,0),se.match_start-=me,se.strstart-=me,se.block_start-=me,ge=be=se.hash_size;do le=se.head[--ge],se.head[ge]=le>=me?le-me:0;while(--be);ge=be=me;do le=se.prev[--ge],se.prev[ge]=le>=me?le-me:0;while(--be);pe+=me}if(se.strm.avail_in===0)break;if(Ae=se.strm,ye=se.window,Me=se.strstart+se.lookahead,Ie=pe,xe=void 0,(xe=Ae.avail_in)>Ie&&(xe=Ie),be=xe===0?0:(Ae.avail_in-=xe,Y.arraySet(ye,Ae.input,Ae.next_in,xe,Me),Ae.state.wrap===1?Ae.adler=X(Ae.adler,ye,xe,Me):Ae.state.wrap===2&&(Ae.adler=W(Ae.adler,ye,xe,Me)),Ae.next_in+=xe,Ae.total_in+=xe,xe),se.lookahead+=be,se.lookahead+se.insert>=3)for(Se=se.strstart-se.insert,se.ins_h=se.window[Se],se.ins_h=(se.ins_h<<se.hash_shift^se.window[Se+1])&se.hash_mask;se.insert&&(se.ins_h=(se.ins_h<<se.hash_shift^se.window[Se+3-1])&se.hash_mask,se.prev[Se&se.w_mask]=se.head[se.ins_h],se.head[se.ins_h]=Se,Se++,se.insert--,!(se.lookahead+se.insert<3)););}while(se.lookahead<262&&se.strm.avail_in!==0)}function ue(se,ge){for(var be,le;;){if(se.lookahead<262){if(oe(se),se.lookahead<262&&ge===0)return 1;if(se.lookahead===0)break}if(be=0,se.lookahead>=3&&(se.ins_h=(se.ins_h<<se.hash_shift^se.window[se.strstart+3-1])&se.hash_mask,be=se.prev[se.strstart&se.w_mask]=se.head[se.ins_h],se.head[se.ins_h]=se.strstart),be!==0&&se.strstart-be<=se.w_size-262&&(se.match_length=ne(se,be)),se.match_length>=3)if(le=q._tr_tally(se,se.strstart-se.match_start,se.match_length-3),se.lookahead-=se.match_length,se.match_length<=se.max_lazy_match&&se.lookahead>=3){se.match_length--;do se.strstart++,se.ins_h=(se.ins_h<<se.hash_shift^se.window[se.strstart+3-1])&se.hash_mask,be=se.prev[se.strstart&se.w_mask]=se.head[se.ins_h],se.head[se.ins_h]=se.strstart;while(--se.match_length!=0);se.strstart++}else se.strstart+=se.match_length,se.match_length=0,se.ins_h=se.window[se.strstart],se.ins_h=(se.ins_h<<se.hash_shift^se.window[se.strstart+1])&se.hash_mask;else le=q._tr_tally(se,0,se.window[se.strstart]),se.lookahead--,se.strstart++;if(le&&(re(se,!1),se.strm.avail_out===0))return 1}return se.insert=se.strstart<2?se.strstart:2,ge===4?(re(se,!0),se.strm.avail_out===0?3:4):se.last_lit&&(re(se,!1),se.strm.avail_out===0)?1:2}function ce(se,ge){for(var be,le,pe;;){if(se.lookahead<262){if(oe(se),se.lookahead<262&&ge===0)return 1;if(se.lookahead===0)break}if(be=0,se.lookahead>=3&&(se.ins_h=(se.ins_h<<se.hash_shift^se.window[se.strstart+3-1])&se.hash_mask,be=se.prev[se.strstart&se.w_mask]=se.head[se.ins_h],se.head[se.ins_h]=se.strstart),se.prev_length=se.match_length,se.prev_match=se.match_start,se.match_length=2,be!==0&&se.prev_length<se.max_lazy_match&&se.strstart-be<=se.w_size-262&&(se.match_length=ne(se,be),se.match_length<=5&&(se.strategy===1||se.match_length===3&&se.strstart-se.match_start>4096)&&(se.match_length=2)),se.prev_length>=3&&se.match_length<=se.prev_length){pe=se.strstart+se.lookahead-3,le=q._tr_tally(se,se.strstart-1-se.prev_match,se.prev_length-3),se.lookahead-=se.prev_length-1,se.prev_length-=2;do++se.strstart<=pe&&(se.ins_h=(se.ins_h<<se.hash_shift^se.window[se.strstart+3-1])&se.hash_mask,be=se.prev[se.strstart&se.w_mask]=se.head[se.ins_h],se.head[se.ins_h]=se.strstart);while(--se.prev_length!=0);if(se.match_available=0,se.match_length=2,se.strstart++,le&&(re(se,!1),se.strm.avail_out===0))return 1}else if(se.match_available){if((le=q._tr_tally(se,0,se.window[se.strstart-1]))&&re(se,!1),se.strstart++,se.lookahead--,se.strm.avail_out===0)return 1}else se.match_available=1,se.strstart++,se.lookahead--}return se.match_available&&(le=q._tr_tally(se,0,se.window[se.strstart-1]),se.match_available=0),se.insert=se.strstart<2?se.strstart:2,ge===4?(re(se,!0),se.strm.avail_out===0?3:4):se.last_lit&&(re(se,!1),se.strm.avail_out===0)?1:2}function fe(se,ge,be,le,pe){this.good_length=se,this.max_lazy=ge,this.nice_length=be,this.max_chain=le,this.func=pe}function ae(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Y.Buf16(1146),this.dyn_dtree=new Y.Buf16(122),this.bl_tree=new Y.Buf16(78),Q(this.dyn_ltree),Q(this.dyn_dtree),Q(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Y.Buf16(16),this.heap=new Y.Buf16(573),Q(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Y.Buf16(573),Q(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function he(se){var ge;return se&&se.state?(se.total_in=se.total_out=0,se.data_type=2,(ge=se.state).pending=0,ge.pending_out=0,ge.wrap<0&&(ge.wrap=-ge.wrap),ge.status=ge.wrap?42:113,se.adler=ge.wrap===2?0:1,ge.last_flush=0,q._tr_init(ge),0):G(se,-2)}function ve(se){var ge=he(se);return ge===0&&function(be){be.window_size=2*be.w_size,Q(be.head),be.max_lazy_match=U[be.level].max_lazy,be.good_match=U[be.level].good_length,be.nice_match=U[be.level].nice_length,be.max_chain_length=U[be.level].max_chain,be.strstart=0,be.block_start=0,be.lookahead=0,be.insert=0,be.match_length=be.prev_length=2,be.match_available=0,be.ins_h=0}(se.state),ge}function de(se,ge,be,le,pe,Se){if(!se)return-2;var Ae=1;if(ge===-1&&(ge=6),le<0?(Ae=0,le=-le):le>15&&(Ae=2,le-=16),pe<1||pe>9||be!==8||le<8||le>15||ge<0||ge>9||Se<0||Se>4)return G(se,-2);le===8&&(le=9);var ye=new ae;return se.state=ye,ye.strm=se,ye.wrap=Ae,ye.gzhead=null,ye.w_bits=le,ye.w_size=1<<ye.w_bits,ye.w_mask=ye.w_size-1,ye.hash_bits=pe+7,ye.hash_size=1<<ye.hash_bits,ye.hash_mask=ye.hash_size-1,ye.hash_shift=~~((ye.hash_bits+3-1)/3),ye.window=new Y.Buf8(2*ye.w_size),ye.head=new Y.Buf16(ye.hash_size),ye.prev=new Y.Buf16(ye.w_size),ye.lit_bufsize=1<<pe+6,ye.pending_buf_size=4*ye.lit_bufsize,ye.pending_buf=new Y.Buf8(ye.pending_buf_size),ye.d_buf=1*ye.lit_bufsize,ye.l_buf=3*ye.lit_bufsize,ye.level=ge,ye.strategy=Se,ye.method=be,ve(se)}U=[new fe(0,0,0,0,function(se,ge){var be=65535;for(be>se.pending_buf_size-5&&(be=se.pending_buf_size-5);;){if(se.lookahead<=1){if(oe(se),se.lookahead===0&&ge===0)return 1;if(se.lookahead===0)break}se.strstart+=se.lookahead,se.lookahead=0;var le=se.block_start+be;if((se.strstart===0||se.strstart>=le)&&(se.lookahead=se.strstart-le,se.strstart=le,re(se,!1),se.strm.avail_out===0)||se.strstart-se.block_start>=se.w_size-262&&(re(se,!1),se.strm.avail_out===0))return 1}return se.insert=0,ge===4?(re(se,!0),se.strm.avail_out===0?3:4):(se.strstart>se.block_start&&(re(se,!1),se.strm.avail_out),1)}),new fe(4,4,8,4,ue),new fe(4,5,16,8,ue),new fe(4,6,32,32,ue),new fe(4,4,16,16,ce),new fe(8,16,32,32,ce),new fe(8,16,128,128,ce),new fe(8,32,128,256,ce),new fe(32,128,258,1024,ce),new fe(32,258,258,4096,ce)],F.deflateInit=function(se,ge){return de(se,ge,8,15,8,0)},F.deflateInit2=de,F.deflateReset=ve,F.deflateResetKeep=he,F.deflateSetHeader=function(se,ge){return se&&se.state?se.state.wrap!==2?-2:(se.state.gzhead=ge,0):-2},F.deflate=function(se,ge){var be,le,pe,Se;if(!se||!se.state||ge>5||ge<0)return se?G(se,-2):-2;if(le=se.state,!se.output||!se.input&&se.avail_in!==0||le.status===666&&ge!==4)return G(se,se.avail_out===0?-5:-2);if(le.strm=se,be=le.last_flush,le.last_flush=ge,le.status===42)if(le.wrap===2)se.adler=0,J(le,31),J(le,139),J(le,8),le.gzhead?(J(le,(le.gzhead.text?1:0)+(le.gzhead.hcrc?2:0)+(le.gzhead.extra?4:0)+(le.gzhead.name?8:0)+(le.gzhead.comment?16:0)),J(le,255&le.gzhead.time),J(le,le.gzhead.time>>8&255),J(le,le.gzhead.time>>16&255),J(le,le.gzhead.time>>24&255),J(le,le.level===9?2:le.strategy>=2||le.level<2?4:0),J(le,255&le.gzhead.os),le.gzhead.extra&&le.gzhead.extra.length&&(J(le,255&le.gzhead.extra.length),J(le,le.gzhead.extra.length>>8&255)),le.gzhead.hcrc&&(se.adler=W(se.adler,le.pending_buf,le.pending,0)),le.gzindex=0,le.status=69):(J(le,0),J(le,0),J(le,0),J(le,0),J(le,0),J(le,le.level===9?2:le.strategy>=2||le.level<2?4:0),J(le,3),le.status=113);else{var Ae=8+(le.w_bits-8<<4)<<8;Ae|=(le.strategy>=2||le.level<2?0:le.level<6?1:le.level===6?2:3)<<6,le.strstart!==0&&(Ae|=32),Ae+=31-Ae%31,le.status=113,ie(le,Ae),le.strstart!==0&&(ie(le,se.adler>>>16),ie(le,65535&se.adler)),se.adler=1}if(le.status===69)if(le.gzhead.extra){for(pe=le.pending;le.gzindex<(65535&le.gzhead.extra.length)&&(le.pending!==le.pending_buf_size||(le.gzhead.hcrc&&le.pending>pe&&(se.adler=W(se.adler,le.pending_buf,le.pending-pe,pe)),te(se),pe=le.pending,le.pending!==le.pending_buf_size));)J(le,255&le.gzhead.extra[le.gzindex]),le.gzindex++;le.gzhead.hcrc&&le.pending>pe&&(se.adler=W(se.adler,le.pending_buf,le.pending-pe,pe)),le.gzindex===le.gzhead.extra.length&&(le.gzindex=0,le.status=73)}else le.status=73;if(le.status===73)if(le.gzhead.name){pe=le.pending;do{if(le.pending===le.pending_buf_size&&(le.gzhead.hcrc&&le.pending>pe&&(se.adler=W(se.adler,le.pending_buf,le.pending-pe,pe)),te(se),pe=le.pending,le.pending===le.pending_buf_size)){Se=1;break}Se=le.gzindex<le.gzhead.name.length?255&le.gzhead.name.charCodeAt(le.gzindex++):0,J(le,Se)}while(Se!==0);le.gzhead.hcrc&&le.pending>pe&&(se.adler=W(se.adler,le.pending_buf,le.pending-pe,pe)),Se===0&&(le.gzindex=0,le.status=91)}else le.status=91;if(le.status===91)if(le.gzhead.comment){pe=le.pending;do{if(le.pending===le.pending_buf_size&&(le.gzhead.hcrc&&le.pending>pe&&(se.adler=W(se.adler,le.pending_buf,le.pending-pe,pe)),te(se),pe=le.pending,le.pending===le.pending_buf_size)){Se=1;break}Se=le.gzindex<le.gzhead.comment.length?255&le.gzhead.comment.charCodeAt(le.gzindex++):0,J(le,Se)}while(Se!==0);le.gzhead.hcrc&&le.pending>pe&&(se.adler=W(se.adler,le.pending_buf,le.pending-pe,pe)),Se===0&&(le.status=103)}else le.status=103;if(le.status===103&&(le.gzhead.hcrc?(le.pending+2>le.pending_buf_size&&te(se),le.pending+2<=le.pending_buf_size&&(J(le,255&se.adler),J(le,se.adler>>8&255),se.adler=0,le.status=113)):le.status=113),le.pending!==0){if(te(se),se.avail_out===0)return le.last_flush=-1,0}else if(se.avail_in===0&&Z(ge)<=Z(be)&&ge!==4)return G(se,-5);if(le.status===666&&se.avail_in!==0)return G(se,-5);if(se.avail_in!==0||le.lookahead!==0||ge!==0&&le.status!==666){var ye=le.strategy===2?function(Me,Ie){for(var xe;;){if(Me.lookahead===0&&(oe(Me),Me.lookahead===0)){if(Ie===0)return 1;break}if(Me.match_length=0,xe=q._tr_tally(Me,0,Me.window[Me.strstart]),Me.lookahead--,Me.strstart++,xe&&(re(Me,!1),Me.strm.avail_out===0))return 1}return Me.insert=0,Ie===4?(re(Me,!0),Me.strm.avail_out===0?3:4):Me.last_lit&&(re(Me,!1),Me.strm.avail_out===0)?1:2}(le,ge):le.strategy===3?function(Me,Ie){for(var xe,me,we,_e,Te=Me.window;;){if(Me.lookahead<=258){if(oe(Me),Me.lookahead<=258&&Ie===0)return 1;if(Me.lookahead===0)break}if(Me.match_length=0,Me.lookahead>=3&&Me.strstart>0&&(me=Te[we=Me.strstart-1])===Te[++we]&&me===Te[++we]&&me===Te[++we]){_e=Me.strstart+258;do;while(me===Te[++we]&&me===Te[++we]&&me===Te[++we]&&me===Te[++we]&&me===Te[++we]&&me===Te[++we]&&me===Te[++we]&&me===Te[++we]&&we<_e);Me.match_length=258-(_e-we),Me.match_length>Me.lookahead&&(Me.match_length=Me.lookahead)}if(Me.match_length>=3?(xe=q._tr_tally(Me,1,Me.match_length-3),Me.lookahead-=Me.match_length,Me.strstart+=Me.match_length,Me.match_length=0):(xe=q._tr_tally(Me,0,Me.window[Me.strstart]),Me.lookahead--,Me.strstart++),xe&&(re(Me,!1),Me.strm.avail_out===0))return 1}return Me.insert=0,Ie===4?(re(Me,!0),Me.strm.avail_out===0?3:4):Me.last_lit&&(re(Me,!1),Me.strm.avail_out===0)?1:2}(le,ge):U[le.level].func(le,ge);if(ye!==3&&ye!==4||(le.status=666),ye===1||ye===3)return se.avail_out===0&&(le.last_flush=-1),0;if(ye===2&&(ge===1?q._tr_align(le):ge!==5&&(q._tr_stored_block(le,0,0,!1),ge===3&&(Q(le.head),le.lookahead===0&&(le.strstart=0,le.block_start=0,le.insert=0))),te(se),se.avail_out===0))return le.last_flush=-1,0}return ge!==4?0:le.wrap<=0?1:(le.wrap===2?(J(le,255&se.adler),J(le,se.adler>>8&255),J(le,se.adler>>16&255),J(le,se.adler>>24&255),J(le,255&se.total_in),J(le,se.total_in>>8&255),J(le,se.total_in>>16&255),J(le,se.total_in>>24&255)):(ie(le,se.adler>>>16),ie(le,65535&se.adler)),te(se),le.wrap>0&&(le.wrap=-le.wrap),le.pending!==0?0:1)},F.deflateEnd=function(se){var ge;return se&&se.state?(ge=se.state.status)!==42&&ge!==69&&ge!==73&&ge!==91&&ge!==103&&ge!==113&&ge!==666?G(se,-2):(se.state=null,ge===113?G(se,-3):0):-2},F.deflateSetDictionary=function(se,ge){var be,le,pe,Se,Ae,ye,Me,Ie,xe=ge.length;if(!se||!se.state||(Se=(be=se.state).wrap)===2||Se===1&&be.status!==42||be.lookahead)return-2;for(Se===1&&(se.adler=X(se.adler,ge,xe,0)),be.wrap=0,xe>=be.w_size&&(Se===0&&(Q(be.head),be.strstart=0,be.block_start=0,be.insert=0),Ie=new Y.Buf8(be.w_size),Y.arraySet(Ie,ge,xe-be.w_size,be.w_size,0),ge=Ie,xe=be.w_size),Ae=se.avail_in,ye=se.next_in,Me=se.input,se.avail_in=xe,se.next_in=0,se.input=ge,oe(be);be.lookahead>=3;){le=be.strstart,pe=be.lookahead-2;do be.ins_h=(be.ins_h<<be.hash_shift^be.window[le+3-1])&be.hash_mask,be.prev[le&be.w_mask]=be.head[be.ins_h],be.head[be.ins_h]=le,le++;while(--pe);be.strstart=le,be.lookahead=2,oe(be)}return be.strstart+=be.lookahead,be.block_start=be.strstart,be.insert=be.lookahead,be.lookahead=0,be.match_length=be.prev_length=2,be.match_available=0,se.next_in=ye,se.input=Me,se.avail_in=Ae,be.wrap=Se,0},F.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(B,R,F){R.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(B,R,F){R.exports=function(U,Y){var q,X,W,K,G,Z,Q,te,re,J,ie,ne,oe,ue,ce,fe,ae,he,ve,de,se,ge,be,le,pe;q=U.state,X=U.next_in,le=U.input,W=X+(U.avail_in-5),K=U.next_out,pe=U.output,G=K-(Y-U.avail_out),Z=K+(U.avail_out-257),Q=q.dmax,te=q.wsize,re=q.whave,J=q.wnext,ie=q.window,ne=q.hold,oe=q.bits,ue=q.lencode,ce=q.distcode,fe=(1<<q.lenbits)-1,ae=(1<<q.distbits)-1;e:do{oe<15&&(ne+=le[X++]<<oe,oe+=8,ne+=le[X++]<<oe,oe+=8),he=ue[ne&fe];t:for(;;){if(ne>>>=ve=he>>>24,oe-=ve,(ve=he>>>16&255)===0)pe[K++]=65535&he;else{if(!(16&ve)){if(!(64&ve)){he=ue[(65535&he)+(ne&(1<<ve)-1)];continue t}if(32&ve){q.mode=12;break e}U.msg="invalid literal/length code",q.mode=30;break e}de=65535&he,(ve&=15)&&(oe<ve&&(ne+=le[X++]<<oe,oe+=8),de+=ne&(1<<ve)-1,ne>>>=ve,oe-=ve),oe<15&&(ne+=le[X++]<<oe,oe+=8,ne+=le[X++]<<oe,oe+=8),he=ce[ne&ae];r:for(;;){if(ne>>>=ve=he>>>24,oe-=ve,!(16&(ve=he>>>16&255))){if(!(64&ve)){he=ce[(65535&he)+(ne&(1<<ve)-1)];continue r}U.msg="invalid distance code",q.mode=30;break e}if(se=65535&he,oe<(ve&=15)&&(ne+=le[X++]<<oe,(oe+=8)<ve&&(ne+=le[X++]<<oe,oe+=8)),(se+=ne&(1<<ve)-1)>Q){U.msg="invalid distance too far back",q.mode=30;break e}if(ne>>>=ve,oe-=ve,se>(ve=K-G)){if((ve=se-ve)>re&&q.sane){U.msg="invalid distance too far back",q.mode=30;break e}if(ge=0,be=ie,J===0){if(ge+=te-ve,ve<de){de-=ve;do pe[K++]=ie[ge++];while(--ve);ge=K-se,be=pe}}else if(J<ve){if(ge+=te+J-ve,(ve-=J)<de){de-=ve;do pe[K++]=ie[ge++];while(--ve);if(ge=0,J<de){de-=ve=J;do pe[K++]=ie[ge++];while(--ve);ge=K-se,be=pe}}}else if(ge+=J-ve,ve<de){de-=ve;do pe[K++]=ie[ge++];while(--ve);ge=K-se,be=pe}for(;de>2;)pe[K++]=be[ge++],pe[K++]=be[ge++],pe[K++]=be[ge++],de-=3;de&&(pe[K++]=be[ge++],de>1&&(pe[K++]=be[ge++]))}else{ge=K-se;do pe[K++]=pe[ge++],pe[K++]=pe[ge++],pe[K++]=pe[ge++],de-=3;while(de>2);de&&(pe[K++]=pe[ge++],de>1&&(pe[K++]=pe[ge++]))}break}}break}}while(X<W&&K<Z);X-=de=oe>>3,ne&=(1<<(oe-=de<<3))-1,U.next_in=X,U.next_out=K,U.avail_in=X<W?W-X+5:5-(X-W),U.avail_out=K<Z?Z-K+257:257-(K-Z),q.hold=ne,q.bits=oe}},{}],49:[function(B,R,F){var U=B("../utils/common"),Y=B("./adler32"),q=B("./crc32"),X=B("./inffast"),W=B("./inftrees");function K(ce){return(ce>>>24&255)+(ce>>>8&65280)+((65280&ce)<<8)+((255&ce)<<24)}function G(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new U.Buf16(320),this.work=new U.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Z(ce){var fe;return ce&&ce.state?(fe=ce.state,ce.total_in=ce.total_out=fe.total=0,ce.msg="",fe.wrap&&(ce.adler=1&fe.wrap),fe.mode=1,fe.last=0,fe.havedict=0,fe.dmax=32768,fe.head=null,fe.hold=0,fe.bits=0,fe.lencode=fe.lendyn=new U.Buf32(852),fe.distcode=fe.distdyn=new U.Buf32(592),fe.sane=1,fe.back=-1,0):-2}function Q(ce){var fe;return ce&&ce.state?((fe=ce.state).wsize=0,fe.whave=0,fe.wnext=0,Z(ce)):-2}function te(ce,fe){var ae,he;return ce&&ce.state?(he=ce.state,fe<0?(ae=0,fe=-fe):(ae=1+(fe>>4),fe<48&&(fe&=15)),fe&&(fe<8||fe>15)?-2:(he.window!==null&&he.wbits!==fe&&(he.window=null),he.wrap=ae,he.wbits=fe,Q(ce))):-2}function re(ce,fe){var ae,he;return ce?(he=new G,ce.state=he,he.window=null,(ae=te(ce,fe))!==0&&(ce.state=null),ae):-2}var J,ie,ne=!0;function oe(ce){if(ne){var fe;for(J=new U.Buf32(512),ie=new U.Buf32(32),fe=0;fe<144;)ce.lens[fe++]=8;for(;fe<256;)ce.lens[fe++]=9;for(;fe<280;)ce.lens[fe++]=7;for(;fe<288;)ce.lens[fe++]=8;for(W(1,ce.lens,0,288,J,0,ce.work,{bits:9}),fe=0;fe<32;)ce.lens[fe++]=5;W(2,ce.lens,0,32,ie,0,ce.work,{bits:5}),ne=!1}ce.lencode=J,ce.lenbits=9,ce.distcode=ie,ce.distbits=5}function ue(ce,fe,ae,he){var ve,de=ce.state;return de.window===null&&(de.wsize=1<<de.wbits,de.wnext=0,de.whave=0,de.window=new U.Buf8(de.wsize)),he>=de.wsize?(U.arraySet(de.window,fe,ae-de.wsize,de.wsize,0),de.wnext=0,de.whave=de.wsize):((ve=de.wsize-de.wnext)>he&&(ve=he),U.arraySet(de.window,fe,ae-he,ve,de.wnext),(he-=ve)?(U.arraySet(de.window,fe,ae-he,he,0),de.wnext=he,de.whave=de.wsize):(de.wnext+=ve,de.wnext===de.wsize&&(de.wnext=0),de.whave<de.wsize&&(de.whave+=ve))),0}F.inflateReset=Q,F.inflateReset2=te,F.inflateResetKeep=Z,F.inflateInit=function(ce){return re(ce,15)},F.inflateInit2=re,F.inflate=function(ce,fe){var ae,he,ve,de,se,ge,be,le,pe,Se,Ae,ye,Me,Ie,xe,me,we,_e,Te,Ne,Ee,De,Ce,Pe,ze=0,Oe=new U.Buf8(4),ke=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!ce||!ce.state||!ce.output||!ce.input&&ce.avail_in!==0)return-2;(ae=ce.state).mode===12&&(ae.mode=13),se=ce.next_out,ve=ce.output,be=ce.avail_out,de=ce.next_in,he=ce.input,ge=ce.avail_in,le=ae.hold,pe=ae.bits,Se=ge,Ae=be,De=0;e:for(;;)switch(ae.mode){case 1:if(ae.wrap===0){ae.mode=13;break}for(;pe<16;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}if(2&ae.wrap&&le===35615){ae.check=0,Oe[0]=255&le,Oe[1]=le>>>8&255,ae.check=q(ae.check,Oe,2,0),le=0,pe=0,ae.mode=2;break}if(ae.flags=0,ae.head&&(ae.head.done=!1),!(1&ae.wrap)||(((255&le)<<8)+(le>>8))%31){ce.msg="incorrect header check",ae.mode=30;break}if((15&le)!=8){ce.msg="unknown compression method",ae.mode=30;break}if(pe-=4,Ee=8+(15&(le>>>=4)),ae.wbits===0)ae.wbits=Ee;else if(Ee>ae.wbits){ce.msg="invalid window size",ae.mode=30;break}ae.dmax=1<<Ee,ce.adler=ae.check=1,ae.mode=512&le?10:12,le=0,pe=0;break;case 2:for(;pe<16;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}if(ae.flags=le,(255&ae.flags)!=8){ce.msg="unknown compression method",ae.mode=30;break}if(57344&ae.flags){ce.msg="unknown header flags set",ae.mode=30;break}ae.head&&(ae.head.text=le>>8&1),512&ae.flags&&(Oe[0]=255&le,Oe[1]=le>>>8&255,ae.check=q(ae.check,Oe,2,0)),le=0,pe=0,ae.mode=3;case 3:for(;pe<32;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}ae.head&&(ae.head.time=le),512&ae.flags&&(Oe[0]=255&le,Oe[1]=le>>>8&255,Oe[2]=le>>>16&255,Oe[3]=le>>>24&255,ae.check=q(ae.check,Oe,4,0)),le=0,pe=0,ae.mode=4;case 4:for(;pe<16;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}ae.head&&(ae.head.xflags=255&le,ae.head.os=le>>8),512&ae.flags&&(Oe[0]=255&le,Oe[1]=le>>>8&255,ae.check=q(ae.check,Oe,2,0)),le=0,pe=0,ae.mode=5;case 5:if(1024&ae.flags){for(;pe<16;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}ae.length=le,ae.head&&(ae.head.extra_len=le),512&ae.flags&&(Oe[0]=255&le,Oe[1]=le>>>8&255,ae.check=q(ae.check,Oe,2,0)),le=0,pe=0}else ae.head&&(ae.head.extra=null);ae.mode=6;case 6:if(1024&ae.flags&&((ye=ae.length)>ge&&(ye=ge),ye&&(ae.head&&(Ee=ae.head.extra_len-ae.length,ae.head.extra||(ae.head.extra=new Array(ae.head.extra_len)),U.arraySet(ae.head.extra,he,de,ye,Ee)),512&ae.flags&&(ae.check=q(ae.check,he,ye,de)),ge-=ye,de+=ye,ae.length-=ye),ae.length))break e;ae.length=0,ae.mode=7;case 7:if(2048&ae.flags){if(ge===0)break e;ye=0;do Ee=he[de+ye++],ae.head&&Ee&&ae.length<65536&&(ae.head.name+=String.fromCharCode(Ee));while(Ee&&ye<ge);if(512&ae.flags&&(ae.check=q(ae.check,he,ye,de)),ge-=ye,de+=ye,Ee)break e}else ae.head&&(ae.head.name=null);ae.length=0,ae.mode=8;case 8:if(4096&ae.flags){if(ge===0)break e;ye=0;do Ee=he[de+ye++],ae.head&&Ee&&ae.length<65536&&(ae.head.comment+=String.fromCharCode(Ee));while(Ee&&ye<ge);if(512&ae.flags&&(ae.check=q(ae.check,he,ye,de)),ge-=ye,de+=ye,Ee)break e}else ae.head&&(ae.head.comment=null);ae.mode=9;case 9:if(512&ae.flags){for(;pe<16;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}if(le!==(65535&ae.check)){ce.msg="header crc mismatch",ae.mode=30;break}le=0,pe=0}ae.head&&(ae.head.hcrc=ae.flags>>9&1,ae.head.done=!0),ce.adler=ae.check=0,ae.mode=12;break;case 10:for(;pe<32;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}ce.adler=ae.check=K(le),le=0,pe=0,ae.mode=11;case 11:if(ae.havedict===0)return ce.next_out=se,ce.avail_out=be,ce.next_in=de,ce.avail_in=ge,ae.hold=le,ae.bits=pe,2;ce.adler=ae.check=1,ae.mode=12;case 12:if(fe===5||fe===6)break e;case 13:if(ae.last){le>>>=7&pe,pe-=7&pe,ae.mode=27;break}for(;pe<3;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}switch(ae.last=1&le,pe-=1,3&(le>>>=1)){case 0:ae.mode=14;break;case 1:if(oe(ae),ae.mode=20,fe===6){le>>>=2,pe-=2;break e}break;case 2:ae.mode=17;break;case 3:ce.msg="invalid block type",ae.mode=30}le>>>=2,pe-=2;break;case 14:for(le>>>=7&pe,pe-=7&pe;pe<32;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}if((65535&le)!=(le>>>16^65535)){ce.msg="invalid stored block lengths",ae.mode=30;break}if(ae.length=65535&le,le=0,pe=0,ae.mode=15,fe===6)break e;case 15:ae.mode=16;case 16:if(ye=ae.length){if(ye>ge&&(ye=ge),ye>be&&(ye=be),ye===0)break e;U.arraySet(ve,he,de,ye,se),ge-=ye,de+=ye,be-=ye,se+=ye,ae.length-=ye;break}ae.mode=12;break;case 17:for(;pe<14;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}if(ae.nlen=257+(31&le),le>>>=5,pe-=5,ae.ndist=1+(31&le),le>>>=5,pe-=5,ae.ncode=4+(15&le),le>>>=4,pe-=4,ae.nlen>286||ae.ndist>30){ce.msg="too many length or distance symbols",ae.mode=30;break}ae.have=0,ae.mode=18;case 18:for(;ae.have<ae.ncode;){for(;pe<3;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}ae.lens[ke[ae.have++]]=7&le,le>>>=3,pe-=3}for(;ae.have<19;)ae.lens[ke[ae.have++]]=0;if(ae.lencode=ae.lendyn,ae.lenbits=7,Ce={bits:ae.lenbits},De=W(0,ae.lens,0,19,ae.lencode,0,ae.work,Ce),ae.lenbits=Ce.bits,De){ce.msg="invalid code lengths set",ae.mode=30;break}ae.have=0,ae.mode=19;case 19:for(;ae.have<ae.nlen+ae.ndist;){for(;me=(ze=ae.lencode[le&(1<<ae.lenbits)-1])>>>16&255,we=65535&ze,!((xe=ze>>>24)<=pe);){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}if(we<16)le>>>=xe,pe-=xe,ae.lens[ae.have++]=we;else{if(we===16){for(Pe=xe+2;pe<Pe;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}if(le>>>=xe,pe-=xe,ae.have===0){ce.msg="invalid bit length repeat",ae.mode=30;break}Ee=ae.lens[ae.have-1],ye=3+(3&le),le>>>=2,pe-=2}else if(we===17){for(Pe=xe+3;pe<Pe;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}pe-=xe,Ee=0,ye=3+(7&(le>>>=xe)),le>>>=3,pe-=3}else{for(Pe=xe+7;pe<Pe;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}pe-=xe,Ee=0,ye=11+(127&(le>>>=xe)),le>>>=7,pe-=7}if(ae.have+ye>ae.nlen+ae.ndist){ce.msg="invalid bit length repeat",ae.mode=30;break}for(;ye--;)ae.lens[ae.have++]=Ee}}if(ae.mode===30)break;if(ae.lens[256]===0){ce.msg="invalid code -- missing end-of-block",ae.mode=30;break}if(ae.lenbits=9,Ce={bits:ae.lenbits},De=W(1,ae.lens,0,ae.nlen,ae.lencode,0,ae.work,Ce),ae.lenbits=Ce.bits,De){ce.msg="invalid literal/lengths set",ae.mode=30;break}if(ae.distbits=6,ae.distcode=ae.distdyn,Ce={bits:ae.distbits},De=W(2,ae.lens,ae.nlen,ae.ndist,ae.distcode,0,ae.work,Ce),ae.distbits=Ce.bits,De){ce.msg="invalid distances set",ae.mode=30;break}if(ae.mode=20,fe===6)break e;case 20:ae.mode=21;case 21:if(ge>=6&&be>=258){ce.next_out=se,ce.avail_out=be,ce.next_in=de,ce.avail_in=ge,ae.hold=le,ae.bits=pe,X(ce,Ae),se=ce.next_out,ve=ce.output,be=ce.avail_out,de=ce.next_in,he=ce.input,ge=ce.avail_in,le=ae.hold,pe=ae.bits,ae.mode===12&&(ae.back=-1);break}for(ae.back=0;me=(ze=ae.lencode[le&(1<<ae.lenbits)-1])>>>16&255,we=65535&ze,!((xe=ze>>>24)<=pe);){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}if(me&&!(240&me)){for(_e=xe,Te=me,Ne=we;me=(ze=ae.lencode[Ne+((le&(1<<_e+Te)-1)>>_e)])>>>16&255,we=65535&ze,!(_e+(xe=ze>>>24)<=pe);){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}le>>>=_e,pe-=_e,ae.back+=_e}if(le>>>=xe,pe-=xe,ae.back+=xe,ae.length=we,me===0){ae.mode=26;break}if(32&me){ae.back=-1,ae.mode=12;break}if(64&me){ce.msg="invalid literal/length code",ae.mode=30;break}ae.extra=15&me,ae.mode=22;case 22:if(ae.extra){for(Pe=ae.extra;pe<Pe;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}ae.length+=le&(1<<ae.extra)-1,le>>>=ae.extra,pe-=ae.extra,ae.back+=ae.extra}ae.was=ae.length,ae.mode=23;case 23:for(;me=(ze=ae.distcode[le&(1<<ae.distbits)-1])>>>16&255,we=65535&ze,!((xe=ze>>>24)<=pe);){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}if(!(240&me)){for(_e=xe,Te=me,Ne=we;me=(ze=ae.distcode[Ne+((le&(1<<_e+Te)-1)>>_e)])>>>16&255,we=65535&ze,!(_e+(xe=ze>>>24)<=pe);){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}le>>>=_e,pe-=_e,ae.back+=_e}if(le>>>=xe,pe-=xe,ae.back+=xe,64&me){ce.msg="invalid distance code",ae.mode=30;break}ae.offset=we,ae.extra=15&me,ae.mode=24;case 24:if(ae.extra){for(Pe=ae.extra;pe<Pe;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}ae.offset+=le&(1<<ae.extra)-1,le>>>=ae.extra,pe-=ae.extra,ae.back+=ae.extra}if(ae.offset>ae.dmax){ce.msg="invalid distance too far back",ae.mode=30;break}ae.mode=25;case 25:if(be===0)break e;if(ye=Ae-be,ae.offset>ye){if((ye=ae.offset-ye)>ae.whave&&ae.sane){ce.msg="invalid distance too far back",ae.mode=30;break}ye>ae.wnext?(ye-=ae.wnext,Me=ae.wsize-ye):Me=ae.wnext-ye,ye>ae.length&&(ye=ae.length),Ie=ae.window}else Ie=ve,Me=se-ae.offset,ye=ae.length;ye>be&&(ye=be),be-=ye,ae.length-=ye;do ve[se++]=Ie[Me++];while(--ye);ae.length===0&&(ae.mode=21);break;case 26:if(be===0)break e;ve[se++]=ae.length,be--,ae.mode=21;break;case 27:if(ae.wrap){for(;pe<32;){if(ge===0)break e;ge--,le|=he[de++]<<pe,pe+=8}if(Ae-=be,ce.total_out+=Ae,ae.total+=Ae,Ae&&(ce.adler=ae.check=ae.flags?q(ae.check,ve,Ae,se-Ae):Y(ae.check,ve,Ae,se-Ae)),Ae=be,(ae.flags?le:K(le))!==ae.check){ce.msg="incorrect data check",ae.mode=30;break}le=0,pe=0}ae.mode=28;case 28:if(ae.wrap&&ae.flags){for(;pe<32;){if(ge===0)break e;ge--,le+=he[de++]<<pe,pe+=8}if(le!==(4294967295&ae.total)){ce.msg="incorrect length check",ae.mode=30;break}le=0,pe=0}ae.mode=29;case 29:De=1;break e;case 30:De=-3;break e;case 31:return-4;case 32:default:return-2}return ce.next_out=se,ce.avail_out=be,ce.next_in=de,ce.avail_in=ge,ae.hold=le,ae.bits=pe,(ae.wsize||Ae!==ce.avail_out&&ae.mode<30&&(ae.mode<27||fe!==4))&&ue(ce,ce.output,ce.next_out,Ae-ce.avail_out)?(ae.mode=31,-4):(Se-=ce.avail_in,Ae-=ce.avail_out,ce.total_in+=Se,ce.total_out+=Ae,ae.total+=Ae,ae.wrap&&Ae&&(ce.adler=ae.check=ae.flags?q(ae.check,ve,Ae,ce.next_out-Ae):Y(ae.check,ve,Ae,ce.next_out-Ae)),ce.data_type=ae.bits+(ae.last?64:0)+(ae.mode===12?128:0)+(ae.mode===20||ae.mode===15?256:0),(Se===0&&Ae===0||fe===4)&&De===0&&(De=-5),De)},F.inflateEnd=function(ce){if(!ce||!ce.state)return-2;var fe=ce.state;return fe.window&&(fe.window=null),ce.state=null,0},F.inflateGetHeader=function(ce,fe){var ae;return ce&&ce.state&&2&(ae=ce.state).wrap?(ae.head=fe,fe.done=!1,0):-2},F.inflateSetDictionary=function(ce,fe){var ae,he=fe.length;return ce&&ce.state?(ae=ce.state).wrap!==0&&ae.mode!==11?-2:ae.mode===11&&Y(1,fe,he,0)!==ae.check?-3:ue(ce,fe,he,he)?(ae.mode=31,-4):(ae.havedict=1,0):-2},F.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(B,R,F){var U=B("../utils/common"),Y=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],q=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],X=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],W=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];R.exports=function(K,G,Z,Q,te,re,J,ie){var ne,oe,ue,ce,fe,ae,he,ve,de,se=ie.bits,ge=0,be=0,le=0,pe=0,Se=0,Ae=0,ye=0,Me=0,Ie=0,xe=0,me=null,we=0,_e=new U.Buf16(16),Te=new U.Buf16(16),Ne=null,Ee=0;for(ge=0;ge<=15;ge++)_e[ge]=0;for(be=0;be<Q;be++)_e[G[Z+be]]++;for(Se=se,pe=15;pe>=1&&_e[pe]===0;pe--);if(Se>pe&&(Se=pe),pe===0)return te[re++]=20971520,te[re++]=20971520,ie.bits=1,0;for(le=1;le<pe&&_e[le]===0;le++);for(Se<le&&(Se=le),Me=1,ge=1;ge<=15;ge++)if(Me<<=1,(Me-=_e[ge])<0)return-1;if(Me>0&&(K===0||pe!==1))return-1;for(Te[1]=0,ge=1;ge<15;ge++)Te[ge+1]=Te[ge]+_e[ge];for(be=0;be<Q;be++)G[Z+be]!==0&&(J[Te[G[Z+be]]++]=be);if(K===0?(me=Ne=J,ae=19):K===1?(me=Y,we-=257,Ne=q,Ee-=257,ae=256):(me=X,Ne=W,ae=-1),xe=0,be=0,ge=le,fe=re,Ae=Se,ye=0,ue=-1,ce=(Ie=1<<Se)-1,K===1&&Ie>852||K===2&&Ie>592)return 1;for(;;){he=ge-ye,J[be]<ae?(ve=0,de=J[be]):J[be]>ae?(ve=Ne[Ee+J[be]],de=me[we+J[be]]):(ve=96,de=0),ne=1<<ge-ye,le=oe=1<<Ae;do te[fe+(xe>>ye)+(oe-=ne)]=he<<24|ve<<16|de|0;while(oe!==0);for(ne=1<<ge-1;xe&ne;)ne>>=1;if(ne!==0?(xe&=ne-1,xe+=ne):xe=0,be++,--_e[ge]==0){if(ge===pe)break;ge=G[Z+J[be]]}if(ge>Se&&(xe&ce)!==ue){for(ye===0&&(ye=Se),fe+=le,Me=1<<(Ae=ge-ye);Ae+ye<pe&&!((Me-=_e[Ae+ye])<=0);)Ae++,Me<<=1;if(Ie+=1<<Ae,K===1&&Ie>852||K===2&&Ie>592)return 1;te[ue=xe&ce]=Se<<24|Ae<<16|fe-re|0}}return xe!==0&&(te[fe+xe]=ge-ye<<24|64<<16|0),ie.bits=Se,0}},{"../utils/common":41}],51:[function(B,R,F){R.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(B,R,F){var U=B("../utils/common");function Y(me){for(var we=me.length;--we>=0;)me[we]=0}var q=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],X=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],W=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],K=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],G=new Array(576);Y(G);var Z=new Array(60);Y(Z);var Q=new Array(512);Y(Q);var te=new Array(256);Y(te);var re=new Array(29);Y(re);var J,ie,ne,oe=new Array(30);function ue(me,we,_e,Te,Ne){this.static_tree=me,this.extra_bits=we,this.extra_base=_e,this.elems=Te,this.max_length=Ne,this.has_stree=me&&me.length}function ce(me,we){this.dyn_tree=me,this.max_code=0,this.stat_desc=we}function fe(me){return me<256?Q[me]:Q[256+(me>>>7)]}function ae(me,we){me.pending_buf[me.pending++]=255&we,me.pending_buf[me.pending++]=we>>>8&255}function he(me,we,_e){me.bi_valid>16-_e?(me.bi_buf|=we<<me.bi_valid&65535,ae(me,me.bi_buf),me.bi_buf=we>>16-me.bi_valid,me.bi_valid+=_e-16):(me.bi_buf|=we<<me.bi_valid&65535,me.bi_valid+=_e)}function ve(me,we,_e){he(me,_e[2*we],_e[2*we+1])}function de(me,we){var _e=0;do _e|=1&me,me>>>=1,_e<<=1;while(--we>0);return _e>>>1}function se(me,we,_e){var Te,Ne,Ee=new Array(16),De=0;for(Te=1;Te<=15;Te++)Ee[Te]=De=De+_e[Te-1]<<1;for(Ne=0;Ne<=we;Ne++){var Ce=me[2*Ne+1];Ce!==0&&(me[2*Ne]=de(Ee[Ce]++,Ce))}}function ge(me){var we;for(we=0;we<286;we++)me.dyn_ltree[2*we]=0;for(we=0;we<30;we++)me.dyn_dtree[2*we]=0;for(we=0;we<19;we++)me.bl_tree[2*we]=0;me.dyn_ltree[512]=1,me.opt_len=me.static_len=0,me.last_lit=me.matches=0}function be(me){me.bi_valid>8?ae(me,me.bi_buf):me.bi_valid>0&&(me.pending_buf[me.pending++]=me.bi_buf),me.bi_buf=0,me.bi_valid=0}function le(me,we,_e,Te){var Ne=2*we,Ee=2*_e;return me[Ne]<me[Ee]||me[Ne]===me[Ee]&&Te[we]<=Te[_e]}function pe(me,we,_e){for(var Te=me.heap[_e],Ne=_e<<1;Ne<=me.heap_len&&(Ne<me.heap_len&&le(we,me.heap[Ne+1],me.heap[Ne],me.depth)&&Ne++,!le(we,Te,me.heap[Ne],me.depth));)me.heap[_e]=me.heap[Ne],_e=Ne,Ne<<=1;me.heap[_e]=Te}function Se(me,we,_e){var Te,Ne,Ee,De,Ce=0;if(me.last_lit!==0)do Te=me.pending_buf[me.d_buf+2*Ce]<<8|me.pending_buf[me.d_buf+2*Ce+1],Ne=me.pending_buf[me.l_buf+Ce],Ce++,Te===0?ve(me,Ne,we):(ve(me,(Ee=te[Ne])+256+1,we),(De=q[Ee])!==0&&he(me,Ne-=re[Ee],De),ve(me,Ee=fe(--Te),_e),(De=X[Ee])!==0&&he(me,Te-=oe[Ee],De));while(Ce<me.last_lit);ve(me,256,we)}function Ae(me,we){var _e,Te,Ne,Ee=we.dyn_tree,De=we.stat_desc.static_tree,Ce=we.stat_desc.has_stree,Pe=we.stat_desc.elems,ze=-1;for(me.heap_len=0,me.heap_max=573,_e=0;_e<Pe;_e++)Ee[2*_e]!==0?(me.heap[++me.heap_len]=ze=_e,me.depth[_e]=0):Ee[2*_e+1]=0;for(;me.heap_len<2;)Ee[2*(Ne=me.heap[++me.heap_len]=ze<2?++ze:0)]=1,me.depth[Ne]=0,me.opt_len--,Ce&&(me.static_len-=De[2*Ne+1]);for(we.max_code=ze,_e=me.heap_len>>1;_e>=1;_e--)pe(me,Ee,_e);Ne=Pe;do _e=me.heap[1],me.heap[1]=me.heap[me.heap_len--],pe(me,Ee,1),Te=me.heap[1],me.heap[--me.heap_max]=_e,me.heap[--me.heap_max]=Te,Ee[2*Ne]=Ee[2*_e]+Ee[2*Te],me.depth[Ne]=(me.depth[_e]>=me.depth[Te]?me.depth[_e]:me.depth[Te])+1,Ee[2*_e+1]=Ee[2*Te+1]=Ne,me.heap[1]=Ne++,pe(me,Ee,1);while(me.heap_len>=2);me.heap[--me.heap_max]=me.heap[1],function(Oe,ke){var Be,je,Fe,Re,Ze,We,Ve=ke.dyn_tree,Ue=ke.max_code,Qe=ke.stat_desc.static_tree,He=ke.stat_desc.has_stree,Ye=ke.stat_desc.extra_bits,Xe=ke.stat_desc.extra_base,Je=ke.stat_desc.max_length,et=0;for(Re=0;Re<=15;Re++)Oe.bl_count[Re]=0;for(Ve[2*Oe.heap[Oe.heap_max]+1]=0,Be=Oe.heap_max+1;Be<573;Be++)(Re=Ve[2*Ve[2*(je=Oe.heap[Be])+1]+1]+1)>Je&&(Re=Je,et++),Ve[2*je+1]=Re,je>Ue||(Oe.bl_count[Re]++,Ze=0,je>=Xe&&(Ze=Ye[je-Xe]),We=Ve[2*je],Oe.opt_len+=We*(Re+Ze),He&&(Oe.static_len+=We*(Qe[2*je+1]+Ze)));if(et!==0){do{for(Re=Je-1;Oe.bl_count[Re]===0;)Re--;Oe.bl_count[Re]--,Oe.bl_count[Re+1]+=2,Oe.bl_count[Je]--,et-=2}while(et>0);for(Re=Je;Re!==0;Re--)for(je=Oe.bl_count[Re];je!==0;)(Fe=Oe.heap[--Be])>Ue||(Ve[2*Fe+1]!==Re&&(Oe.opt_len+=(Re-Ve[2*Fe+1])*Ve[2*Fe],Ve[2*Fe+1]=Re),je--)}}(me,we),se(Ee,ze,me.bl_count)}function ye(me,we,_e){var Te,Ne,Ee=-1,De=we[1],Ce=0,Pe=7,ze=4;for(De===0&&(Pe=138,ze=3),we[2*(_e+1)+1]=65535,Te=0;Te<=_e;Te++)Ne=De,De=we[2*(Te+1)+1],++Ce<Pe&&Ne===De||(Ce<ze?me.bl_tree[2*Ne]+=Ce:Ne!==0?(Ne!==Ee&&me.bl_tree[2*Ne]++,me.bl_tree[32]++):Ce<=10?me.bl_tree[34]++:me.bl_tree[36]++,Ce=0,Ee=Ne,De===0?(Pe=138,ze=3):Ne===De?(Pe=6,ze=3):(Pe=7,ze=4))}function Me(me,we,_e){var Te,Ne,Ee=-1,De=we[1],Ce=0,Pe=7,ze=4;for(De===0&&(Pe=138,ze=3),Te=0;Te<=_e;Te++)if(Ne=De,De=we[2*(Te+1)+1],!(++Ce<Pe&&Ne===De)){if(Ce<ze)do ve(me,Ne,me.bl_tree);while(--Ce!=0);else Ne!==0?(Ne!==Ee&&(ve(me,Ne,me.bl_tree),Ce--),ve(me,16,me.bl_tree),he(me,Ce-3,2)):Ce<=10?(ve(me,17,me.bl_tree),he(me,Ce-3,3)):(ve(me,18,me.bl_tree),he(me,Ce-11,7));Ce=0,Ee=Ne,De===0?(Pe=138,ze=3):Ne===De?(Pe=6,ze=3):(Pe=7,ze=4)}}Y(oe);var Ie=!1;function xe(me,we,_e,Te){he(me,0+(Te?1:0),3),function(Ne,Ee,De,Ce){be(Ne),Ce&&(ae(Ne,De),ae(Ne,~De)),U.arraySet(Ne.pending_buf,Ne.window,Ee,De,Ne.pending),Ne.pending+=De}(me,we,_e,!0)}F._tr_init=function(me){Ie||(function(){var we,_e,Te,Ne,Ee,De=new Array(16);for(Te=0,Ne=0;Ne<28;Ne++)for(re[Ne]=Te,we=0;we<1<<q[Ne];we++)te[Te++]=Ne;for(te[Te-1]=Ne,Ee=0,Ne=0;Ne<16;Ne++)for(oe[Ne]=Ee,we=0;we<1<<X[Ne];we++)Q[Ee++]=Ne;for(Ee>>=7;Ne<30;Ne++)for(oe[Ne]=Ee<<7,we=0;we<1<<X[Ne]-7;we++)Q[256+Ee++]=Ne;for(_e=0;_e<=15;_e++)De[_e]=0;for(we=0;we<=143;)G[2*we+1]=8,we++,De[8]++;for(;we<=255;)G[2*we+1]=9,we++,De[9]++;for(;we<=279;)G[2*we+1]=7,we++,De[7]++;for(;we<=287;)G[2*we+1]=8,we++,De[8]++;for(se(G,287,De),we=0;we<30;we++)Z[2*we+1]=5,Z[2*we]=de(we,5);J=new ue(G,q,257,286,15),ie=new ue(Z,X,0,30,15),ne=new ue(new Array(0),W,0,19,7)}(),Ie=!0),me.l_desc=new ce(me.dyn_ltree,J),me.d_desc=new ce(me.dyn_dtree,ie),me.bl_desc=new ce(me.bl_tree,ne),me.bi_buf=0,me.bi_valid=0,ge(me)},F._tr_stored_block=xe,F._tr_flush_block=function(me,we,_e,Te){var Ne,Ee,De=0;me.level>0?(me.strm.data_type===2&&(me.strm.data_type=function(Ce){var Pe,ze=4093624447;for(Pe=0;Pe<=31;Pe++,ze>>>=1)if(1&ze&&Ce.dyn_ltree[2*Pe]!==0)return 0;if(Ce.dyn_ltree[18]!==0||Ce.dyn_ltree[20]!==0||Ce.dyn_ltree[26]!==0)return 1;for(Pe=32;Pe<256;Pe++)if(Ce.dyn_ltree[2*Pe]!==0)return 1;return 0}(me)),Ae(me,me.l_desc),Ae(me,me.d_desc),De=function(Ce){var Pe;for(ye(Ce,Ce.dyn_ltree,Ce.l_desc.max_code),ye(Ce,Ce.dyn_dtree,Ce.d_desc.max_code),Ae(Ce,Ce.bl_desc),Pe=18;Pe>=3&&Ce.bl_tree[2*K[Pe]+1]===0;Pe--);return Ce.opt_len+=3*(Pe+1)+5+5+4,Pe}(me),Ne=me.opt_len+3+7>>>3,(Ee=me.static_len+3+7>>>3)<=Ne&&(Ne=Ee)):Ne=Ee=_e+5,_e+4<=Ne&&we!==-1?xe(me,we,_e,Te):me.strategy===4||Ee===Ne?(he(me,2+(Te?1:0),3),Se(me,G,Z)):(he(me,4+(Te?1:0),3),function(Ce,Pe,ze,Oe){var ke;for(he(Ce,Pe-257,5),he(Ce,ze-1,5),he(Ce,Oe-4,4),ke=0;ke<Oe;ke++)he(Ce,Ce.bl_tree[2*K[ke]+1],3);Me(Ce,Ce.dyn_ltree,Pe-1),Me(Ce,Ce.dyn_dtree,ze-1)}(me,me.l_desc.max_code+1,me.d_desc.max_code+1,De+1),Se(me,me.dyn_ltree,me.dyn_dtree)),ge(me),Te&&be(me)},F._tr_tally=function(me,we,_e){return me.pending_buf[me.d_buf+2*me.last_lit]=we>>>8&255,me.pending_buf[me.d_buf+2*me.last_lit+1]=255&we,me.pending_buf[me.l_buf+me.last_lit]=255&_e,me.last_lit++,we===0?me.dyn_ltree[2*_e]++:(me.matches++,we--,me.dyn_ltree[2*(te[_e]+256+1)]++,me.dyn_dtree[2*fe(we)]++),me.last_lit===me.lit_bufsize-1},F._tr_align=function(me){he(me,2,3),ve(me,256,G),function(we){we.bi_valid===16?(ae(we,we.bi_buf),we.bi_buf=0,we.bi_valid=0):we.bi_valid>=8&&(we.pending_buf[we.pending++]=255&we.bi_buf,we.bi_buf>>=8,we.bi_valid-=8)}(me)}},{"../utils/common":41}],53:[function(B,R,F){R.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(B,R,F){(function(U){(function(Y,q){if(!Y.setImmediate){var X,W,K,G,Z,Q=1,te={},re=!1,J=Y.document,ie=Object.getPrototypeOf&&Object.getPrototypeOf(Y);ie=ie&&ie.setTimeout?ie:Y,{}.toString.call(Y.process)==="[object process]"?X=function(ue){process.nextTick(function(){oe(ue)})}:function(){if(Y.postMessage&&!Y.importScripts){var ue=!0,ce=Y.onmessage;return Y.onmessage=function(){ue=!1},Y.postMessage("","*"),Y.onmessage=ce,ue}}()?(G="setImmediate$"+Math.random()+"$",Z=function(ue){ue.source===Y&&typeof ue.data=="string"&&ue.data.indexOf(G)===0&&oe(+ue.data.slice(G.length))},Y.addEventListener?Y.addEventListener("message",Z,!1):Y.attachEvent("onmessage",Z),X=function(ue){Y.postMessage(G+ue,"*")}):Y.MessageChannel?((K=new MessageChannel).port1.onmessage=function(ue){oe(ue.data)},X=function(ue){K.port2.postMessage(ue)}):J&&"onreadystatechange"in J.createElement("script")?(W=J.documentElement,X=function(ue){var ce=J.createElement("script");ce.onreadystatechange=function(){oe(ue),ce.onreadystatechange=null,W.removeChild(ce),ce=null},W.appendChild(ce)}):X=function(ue){setTimeout(oe,0,ue)},ie.setImmediate=function(ue){typeof ue!="function"&&(ue=new Function(""+ue));for(var ce=new Array(arguments.length-1),fe=0;fe<ce.length;fe++)ce[fe]=arguments[fe+1];var ae={callback:ue,args:ce};return te[Q]=ae,X(Q),Q++},ie.clearImmediate=ne}function ne(ue){delete te[ue]}function oe(ue){if(re)setTimeout(oe,0,ue);else{var ce=te[ue];if(ce){re=!0;try{(function(fe){var ae=fe.callback,he=fe.args;switch(he.length){case 0:ae();break;case 1:ae(he[0]);break;case 2:ae(he[0],he[1]);break;case 3:ae(he[0],he[1],he[2]);break;default:ae.apply(void 0,he)}})(ce)}finally{ne(ue),re=!1}}}}})(typeof self>"u"?U===void 0?this:U:self)}).call(this,commonjsGlobal!==void 0?commonjsGlobal:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})}),_templateObject$1,styles$9=r$3(_templateObject$1||(_templateObject$1=_taggedTemplateLiteral([`
  676. * {
  677. box-sizing: border-box;
  678. }
  679. :host {
  680. --lottie-player-toolbar-height: 35px;
  681. --lottie-player-toolbar-background-color: transparent;
  682. --lottie-player-toolbar-icon-color: #999;
  683. --lottie-player-toolbar-icon-hover-color: #222;
  684. --lottie-player-toolbar-icon-active-color: #555;
  685. --lottie-player-seeker-track-color: #ccc;
  686. --lottie-player-seeker-thumb-color: rgba(0, 107, 120, 0.8);
  687. --lottie-player-seeker-display: block;
  688. display: block;
  689. width: 100%;
  690. height: 100%;
  691. }
  692. .main {
  693. display: flex;
  694. flex-direction: column;
  695. height: 100%;
  696. width: 100%;
  697. }
  698. .animation {
  699. width: 100%;
  700. height: 100%;
  701. display: flex;
  702. }
  703. .animation.controls {
  704. height: calc(100% - 35px);
  705. }
  706. .toolbar {
  707. display: flex;
  708. align-items: center;
  709. justify-items: center;
  710. background-color: var(--lottie-player-toolbar-background-color);
  711. margin: 0 5px;
  712. height: 35px;
  713. }
  714. .toolbar button {
  715. cursor: pointer;
  716. fill: var(--lottie-player-toolbar-icon-color);
  717. display: flex;
  718. background: none;
  719. border: 0;
  720. padding: 0;
  721. outline: none;
  722. height: 100%;
  723. }
  724. .toolbar button:hover {
  725. fill: var(--lottie-player-toolbar-icon-hover-color);
  726. }
  727. .toolbar button.active {
  728. fill: var(--lottie-player-toolbar-icon-active-color);
  729. }
  730. .toolbar button.active:hover {
  731. fill: var(--lottie-player-toolbar-icon-hover-color);
  732. }
  733. .toolbar button:focus {
  734. outline: 1px dotted var(--lottie-player-toolbar-icon-active-color);
  735. }
  736. .toolbar button svg {
  737. }
  738. .toolbar button.disabled svg {
  739. display: none;
  740. }
  741. .seeker {
  742. -webkit-appearance: none;
  743. width: 95%;
  744. outline: none;
  745. background-color: var(--lottie-player-toolbar-background-color);
  746. display: var(--lottie-player-seeker-display);
  747. }
  748. .seeker::-webkit-slider-runnable-track {
  749. width: 100%;
  750. height: 5px;
  751. cursor: pointer;
  752. background: var(--lottie-player-seeker-track-color);
  753. border-radius: 3px;
  754. }
  755. .seeker::-webkit-slider-thumb {
  756. height: 15px;
  757. width: 15px;
  758. border-radius: 50%;
  759. background: var(--lottie-player-seeker-thumb-color);
  760. cursor: pointer;
  761. -webkit-appearance: none;
  762. margin-top: -5px;
  763. }
  764. .seeker:focus::-webkit-slider-runnable-track {
  765. background: #999;
  766. }
  767. .seeker::-moz-range-track {
  768. width: 100%;
  769. height: 5px;
  770. cursor: pointer;
  771. background: var(--lottie-player-seeker-track-color);
  772. border-radius: 3px;
  773. }
  774. .seeker::-moz-range-thumb {
  775. height: 15px;
  776. width: 15px;
  777. border-radius: 50%;
  778. background: var(--lottie-player-seeker-thumb-color);
  779. cursor: pointer;
  780. }
  781. .seeker::-ms-track {
  782. width: 100%;
  783. height: 5px;
  784. cursor: pointer;
  785. background: transparent;
  786. border-color: transparent;
  787. color: transparent;
  788. }
  789. .seeker::-ms-fill-lower {
  790. background: var(--lottie-player-seeker-track-color);
  791. border-radius: 3px;
  792. }
  793. .seeker::-ms-fill-upper {
  794. background: var(--lottie-player-seeker-track-color);
  795. border-radius: 3px;
  796. }
  797. .seeker::-ms-thumb {
  798. border: 0;
  799. height: 15px;
  800. width: 15px;
  801. border-radius: 50%;
  802. background: var(--lottie-player-seeker-thumb-color);
  803. cursor: pointer;
  804. }
  805. .seeker:focus::-ms-fill-lower {
  806. background: var(--lottie-player-seeker-track-color);
  807. }
  808. .seeker:focus::-ms-fill-upper {
  809. background: var(--lottie-player-seeker-track-color);
  810. }
  811. .error {
  812. display: flex;
  813. justify-content: center;
  814. height: 100%;
  815. align-items: center;
  816. }
  817. `]))),_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,PlayerState,PlayMode,PlayerEvents;function fetchPath(j){return new Promise((D,B)=>{const R=new XMLHttpRequest;R.open("GET",j,!0),R.responseType="arraybuffer",R.send(),R.onreadystatechange=function(){R.readyState==4&&R.status==200&&jszip.loadAsync(R.response).then(F=>{F.file("manifest.json").async("string").then(U=>{const Y=JSON.parse(U);if(!("animations"in Y))throw new Error("Manifest not found");if(Y.animations.length===0)throw new Error("No animations listed in the manifest");const q=Y.animations[0];F.file("animations/".concat(q.id,".json")).async("string").then(X=>{const W=JSON.parse(X);"assets"in W&&Promise.all(W.assets.map(K=>{if(K.p&&F.file("images/".concat(K.p))!=null)return new Promise(G=>{const Z=K.p.split(".").pop();F.file("images/".concat(K.p)).async("base64").then(Q=>{K.p=Z==="svg"||Z==="svg+xml"?"data:image/svg+xml;base64,"+Q:"data:;base64,"+Q,K.e=1,G()})})})).then(()=>{D(W)})})})}).catch(F=>{B(F)})}})}(function(j){j.Loading="loading",j.Playing="playing",j.Paused="paused",j.Stopped="stopped",j.Frozen="frozen",j.Error="error"})(PlayerState||(PlayerState={})),function(j){j.Normal="normal",j.Bounce="bounce"}(PlayMode||(PlayMode={})),function(j){j.Load="load",j.Error="error",j.Ready="ready",j.Play="play",j.Pause="pause",j.Stop="stop",j.Freeze="freeze",j.Loop="loop",j.Complete="complete",j.Frame="frame"}(PlayerEvents||(PlayerEvents={}));let DotLottiePlayer=class extends s$4{constructor(){super(...arguments),this.mode=PlayMode.Normal,this.autoplay=!1,this.background="transparent",this.controls=!1,this.direction=1,this.hover=!1,this.loop=!1,this.renderer="svg",this.speed=1,this.currentState=PlayerState.Loading,this.intermission=1,this._counter=0}_onVisibilityChange(){document.hidden&&this.currentState===PlayerState.Playing?this.freeze():this.currentState===PlayerState.Frozen&&this.play()}_handleSeekChange(j){if(!this._lottie||isNaN(j.target.value))return;const D=j.target.value/100*this._lottie.totalFrames;this.seek(D)}async load(j){if(!this.shadowRoot)return;const D={container:this.container,loop:!1,autoplay:!1,renderer:this.renderer,rendererSettings:{scaleMode:"noScale",clearCanvas:!1,progressiveLoad:!0,hideOnTransparent:!0}};try{const B=await fetchPath(j);this._lottie&&this._lottie.destroy(),this._lottie=lottie_svg.loadAnimation(Object.assign(Object.assign({},D),{animationData:B}))}catch{return this.currentState=PlayerState.Error,void this.dispatchEvent(new CustomEvent(PlayerEvents.Error))}this._lottie&&(this._lottie.addEventListener("enterFrame",()=>{this.seeker=this._lottie.currentFrame/this._lottie.totalFrames*100,this.dispatchEvent(new CustomEvent(PlayerEvents.Frame,{detail:{frame:this._lottie.currentFrame,seeker:this.seeker}}))}),this._lottie.addEventListener("complete",()=>{this.currentState===PlayerState.Playing?!this.loop||this.count&&this._counter>=this.count?this.dispatchEvent(new CustomEvent(PlayerEvents.Complete)):this.mode===PlayMode.Bounce?(this.count&&(this._counter+=.5),setTimeout(()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Loop)),this.currentState===PlayerState.Playing&&(this._lottie.setDirection(-1*this._lottie.playDirection),this._lottie.play())},this.intermission)):(this.count&&(this._counter+=1),window.setTimeout(()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Loop)),this.currentState===PlayerState.Playing&&(this._lottie.stop(),this._lottie.play())},this.intermission)):this.dispatchEvent(new CustomEvent(PlayerEvents.Complete))}),this._lottie.addEventListener("DOMLoaded",()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Ready))}),this._lottie.addEventListener("data_ready",()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Load))}),this._lottie.addEventListener("data_failed",()=>{this.currentState=PlayerState.Error,this.dispatchEvent(new CustomEvent(PlayerEvents.Error))}),this.container.addEventListener("mouseenter",()=>{this.hover&&this.currentState!==PlayerState.Playing&&this.play()}),this.container.addEventListener("mouseleave",()=>{this.hover&&this.currentState===PlayerState.Playing&&this.stop()}),this.setSpeed(this.speed),this.setDirection(this.direction),this.autoplay&&this.play())}getLottie(){return this._lottie}play(){this._lottie&&(this._lottie.play(),this.currentState=PlayerState.Playing,this.dispatchEvent(new CustomEvent(PlayerEvents.Play)))}pause(){this._lottie&&(this._lottie.pause(),this.currentState=PlayerState.Paused,this.dispatchEvent(new CustomEvent(PlayerEvents.Pause)))}stop(){this._lottie&&(this._counter=0,this._lottie.stop(),this.currentState=PlayerState.Stopped,this.dispatchEvent(new CustomEvent(PlayerEvents.Stop)))}seek(j){if(!this._lottie)return;const D=j.toString().match(/^([0-9]+)(%?)$/);if(!D)return;const B=D[2]==="%"?this._lottie.totalFrames*Number(D[1])/100:D[1];this.seeker=B,this.currentState===PlayerState.Playing?this._lottie.goToAndPlay(B,!0):(this._lottie.goToAndStop(B,!0),this._lottie.pause())}snapshot(){let j=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];if(!this.shadowRoot)return;const D=this.shadowRoot.querySelector(".animation svg"),B=new XMLSerializer().serializeToString(D);if(j){const R=document.createElement("a");R.href="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(B),R.download="download_"+this.seeker+".svg",document.body.appendChild(R),R.click(),document.body.removeChild(R)}return B}freeze(){this._lottie&&(this._lottie.pause(),this.currentState=PlayerState.Frozen,this.dispatchEvent(new CustomEvent(PlayerEvents.Freeze)))}setSpeed(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;this._lottie&&this._lottie.setSpeed(j)}setDirection(j){this._lottie&&this._lottie.setDirection(j)}setLooping(j){this._lottie&&(this.loop=j,this._lottie.loop=j)}togglePlay(){return this.currentState===PlayerState.Playing?this.pause():this.play()}toggleLooping(){this.setLooping(!this.loop)}static get styles(){return styles$9}async firstUpdated(){"IntersectionObserver"in window&&(this._io=new IntersectionObserver(j=>{j[0].isIntersecting?this.currentState===PlayerState.Frozen&&this.play():this.currentState===PlayerState.Playing&&this.freeze()}),this._io.observe(this.container)),document.hidden!==void 0&&document.addEventListener("visibilitychange",()=>this._onVisibilityChange()),this.src&&await this.load(this.src)}disconnectedCallback(){this._io&&(this._io.disconnect(),this._io=void 0),document.removeEventListener("visibilitychange",()=>this._onVisibilityChange())}renderControls(){const j=this.currentState===PlayerState.Playing,D=this.currentState===PlayerState.Paused,B=this.currentState===PlayerState.Stopped;return $(_templateObject||(_templateObject=_taggedTemplateLiteral([`
  818. <div id="lottie-controls" aria-label="lottie-animation-controls" class="toolbar">
  819. <button
  820. id="lottie-play-button"
  821. @click=`,`
  822. class=`,`
  823. style="align-items:center;"
  824. tabindex="0"
  825. aria-label="play-pause"
  826. >
  827. `,`
  828. </button>
  829. <button
  830. id="lottie-stop-button"
  831. @click=`,`
  832. class=`,`
  833. style="align-items:center;"
  834. tabindex="0"
  835. aria-label="stop"
  836. >
  837. <svg width="24" height="24" aria-hidden="true" focusable="false">
  838. <path d="M6 6h12v12H6V6z" />
  839. </svg>
  840. </button>
  841. <input
  842. id="lottie-seeker-input"
  843. class="seeker"
  844. type="range"
  845. min="0"
  846. step="1"
  847. max="100"
  848. .value=`,`
  849. @input=`,`
  850. @mousedown=`,`
  851. @mouseup=`,`
  852. aria-valuemin="1"
  853. aria-valuemax="100"
  854. role="slider"
  855. aria-valuenow=`,`
  856. tabindex="0"
  857. aria-label="lottie-seek-input"
  858. />
  859. <button
  860. id="lottie-loop-toggle"
  861. @click=`,`
  862. class=`,`
  863. style="align-items:center;"
  864. tabindex="0"
  865. aria-label="loop-toggle"
  866. >
  867. <svg width="24" height="24" aria-hidden="true" focusable="false">
  868. <path
  869. d="M17.016 17.016v-4.031h1.969v6h-12v3l-3.984-3.984 3.984-3.984v3h10.031zM6.984 6.984v4.031H5.015v-6h12v-3l3.984 3.984-3.984 3.984v-3H6.984z"
  870. />
  871. </svg>
  872. </button>
  873. </div>
  874. `])),this.togglePlay,j||D?"active":"",$(j?_templateObject2||(_templateObject2=_taggedTemplateLiteral([`
  875. <svg width="24" height="24" aria-hidden="true" focusable="false">
  876. <path d="M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z" />
  877. </svg>
  878. `])):_templateObject3||(_templateObject3=_taggedTemplateLiteral([`
  879. <svg width="24" height="24" aria-hidden="true" focusable="false">
  880. <path d="M8.016 5.016L18.985 12 8.016 18.984V5.015z" />
  881. </svg>
  882. `]))),this.stop,B?"active":"",this.seeker,this._handleSeekChange,()=>{this._prevState=this.currentState,this.freeze()},()=>{this._prevState===PlayerState.Playing&&this.play()},this.seeker,this.toggleLooping,this.loop?"active":"")}render(){const j=this.controls?"main controls":"main",D=this.controls?"animation controls":"animation";return $(_templateObject4||(_templateObject4=_taggedTemplateLiteral([`
  883. <div id="animation-container" class=`,` lang="en" role="img">
  884. <div id="animation" class=`,' style="background:',`;">
  885. `,`
  886. </div>
  887. `,`
  888. </div>
  889. `])),j,D,this.background,this.currentState===PlayerState.Error?$(_templateObject5||(_templateObject5=_taggedTemplateLiteral([`
  890. <div class="error">⚠️</div>
  891. `]))):void 0,this.controls?this.renderControls():void 0)}};__decorate([i$4(".animation")],DotLottiePlayer.prototype,"container",void 0),__decorate([e$5()],DotLottiePlayer.prototype,"mode",void 0),__decorate([e$5({type:Boolean})],DotLottiePlayer.prototype,"autoplay",void 0),__decorate([e$5({type:String,reflect:!0})],DotLottiePlayer.prototype,"background",void 0),__decorate([e$5({type:Boolean})],DotLottiePlayer.prototype,"controls",void 0),__decorate([e$5({type:Number})],DotLottiePlayer.prototype,"count",void 0),__decorate([e$5({type:Number})],DotLottiePlayer.prototype,"direction",void 0),__decorate([e$5({type:Boolean})],DotLottiePlayer.prototype,"hover",void 0),__decorate([e$5({type:Boolean,reflect:!0})],DotLottiePlayer.prototype,"loop",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"renderer",void 0),__decorate([e$5({type:Number})],DotLottiePlayer.prototype,"speed",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"src",void 0),__decorate([e$5({type:String})],DotLottiePlayer.prototype,"currentState",void 0),__decorate([e$5()],DotLottiePlayer.prototype,"seeker",void 0),__decorate([e$5()],DotLottiePlayer.prototype,"intermission",void 0),DotLottiePlayer=__decorate([n$1("dotlottie-player")],DotLottiePlayer);const StartEvaluating=""+new URL("start-evaluating-7994767f.lottie",import.meta.url).href,Recording=""+new URL("recording2-feb0931b.lottie",import.meta.url).href;let backtime=0;const search$5=useOriginSearch(),initBehaviorId$2=""+new Date().valueOf(),evaluating=ref(!1),playStatus=ref("stop"),endloading=ref(!1),connentLoading=ref(!1),playUrl=ref(""),endResult=ref(null),animate$1={mounted:j=>{j.addEventListener("click",D=>{D.target.classList.add("animate__animated","animate__tada")}),j.addEventListener("animationend",D=>{D.target.classList.remove("animate__animated","animate__tada")})}},browserInfo$3=browser(),formatPitch=j=>j?state$4.sett.hertz&&state$4.sett.hertz!==442?j/442*state$4.sett.hertz:j:-1,formatTimes=()=>{var U,Y,q,X,W,K,G,Z,Q,te;const j=((Y=(U=state$2.times)==null?void 0:U[0])==null?void 0:Y.difftime)||0;let D=!1,B=!1,R=!1;const F=[];for(let re=0;re<state$2.times.length;re++){const J=state$2.times[re],ie=getNoteByMeasuresSlursStart(J),ne=state.speed/state$2.baseSpeed,oe=j+(J.sourceRelativeTime||J.relativeTime),ue=j+(J.sourceRelaEndtime||J.relaEndtime),fe=(typeof ie.voiceEntry.isStaccato=="function"?ie.voiceEntry.isStaccato():ie.voiceEntry.isStaccato)?.5:1;(ie.formatLyricsEntries.contains("Play")||ie.formatLyricsEntries.contains("Play..."))&&(D=!1),ie.formatLyricsEntries.contains("Listen")&&(D=!0),ie.formatLyricsEntries.contains("纯律结束")&&(B=!1),ie.formatLyricsEntries.contains("纯律")&&(B=!0);const ae=state$2.times[re+1];R&&(ie.stave||!ie.noteElement.isRestFlag||ae&&!ae.noteElement.isRestFlag)&&(R=!1),ie.noteElement.isRestFlag&&ie.stave&&ae&&ae.noteElement.isRestFlag&&(R=!0);const he={timeStamp:oe*1e3/ne,duration:(ue*1e3/ne-oe*1e3/ne)*fe,frequency:formatPitch((X=(q=J.noteElement)==null?void 0:q.pitch)==null?void 0:X.frequency),nextFrequency:formatPitch((K=(W=J.noteElement)==null?void 0:W.pitch)==null?void 0:K.nextFrequency),prevFrequency:formatPitch((Z=(G=J.noteElement)==null?void 0:G.pitch)==null?void 0:Z.prevFrequency),measureIndex:ie.measureOpenIndex,measureRenderIndex:ie.noteElement.sourceMeasure.measureListIndex,dontEvaluating:D||B||J.skipMode,musicalNotesIndex:J.i,denominator:(Q=ie.noteElement)==null?void 0:Q.Length.denominator,isOrnament:!!((te=ie==null?void 0:ie.voiceEntry)!=null&&te.ornamentContainer)};F.push(he)}return F},connect=async()=>{var U,Y,q,X,W;connentLoading.value=!0;const j=sessionStorage.getItem("behaviorId")||search$5.behaviorId||initBehaviorId$2,D=state.speed/state$2.baseSpeed,B={musicXmlInfos:formatTimes(),subjectId:state$2.subjectId,detailId:(U=state$2.activeDetail)==null?void 0:U.id,examSongId:search$5.id,xmlUrl:(q=(Y=state$2)==null?void 0:Y.activeDetail)==null?void 0:q.xmlUrl,partIndex:state$2.partIndex,behaviorId:j,platform:"WEB",clientId:"student",hertz:state$4.sett.hertz,reactionTimeMs:parseFloat(""+state$4.eva.reactionTimeMs)||0,speed:state.speed,heardLevel:state$4.eva.difficulty,beatLength:Math.round(getFixTime(state$2.times[0].beatSpeed)*1e3/D)},R=useClientType();R==="student"?B.clientId="student":R==="teacher"?B.clientId="teacher":B.clientId="education",browserInfo$3.android&&(B.platform="ANDROID"),browserInfo$3.ios&&(B.platform="IOS");const F=await promisefiyPostMessage({api:"startEvaluating",content:B});if((X=F==null?void 0:F.content)!=null&&X.reson)throw Toast.fail({message:(W=F==null?void 0:F.content)==null?void 0:W.reson}),connentLoading.value=!1,F;connentLoading.value=!1},sendOffsetTime=j=>{postMessage({api:"proxyServiceMessage",content:{header:{commond:"audioPlayStart",type:"SOUND_COMPARE"},body:{offsetTime:j}}},()=>{backtime=0})},cancelTheEvaluation=()=>{resetPlayStatus(),clearIntervalTimeline(),setCurrentTime(0),playStatus.value="stop",postMessage({api:"endEvaluating",content:{musicScoreId:search$5.id}},j=>{evaluating.value=!1,Toast.clear()})},stopPlay=(j=!0)=>{console.log("调用stopPlay"),startButtonShow.value=!0,cancelTheEvaluation()},evaluatStopPlay=stopPlay,startPlay=()=>{console.log("连接服务成功,开始播放",new Date().getTime()-state.clickTime),state$4.eva.mute?changeMode("background"):changeAllMode(),startButtonShow.value=!1,setPlayState()},setPlayer=async()=>{if(console.log("调用setPlayer"),state.clickTime=new Date().getTime(),resetPlayStatus(),state.evaluatingTips=!1,state$2.isPauseRecording){evaluating.value=!1,startPlay();return}state$2.evaluatings={},setCurrentTime(0);const j=Toast({duration:0,message:"服务连接中...",type:"loading"});try{await connect(),startPlay(),setTimeout(()=>{Toast.clear(),j.close()},100)}catch{state.evaluatingStatus=!1,Toast.clear()}},togglePlay=()=>{if(state$2.isPauseRecording){evaluating.value=!1,startPlay();return}evaluating.value?stopPlay():setPlayer()},cancelEvaluating=j=>{j!=null&&j.content.reson&&stopPlay()},timeupdate=()=>{var j;if(console.log("播放事件被触发",playUrl.value,evaluating.value),playUrl.value){const D=new Date().getTime();console.log("第一次播放时间",D);const B=(j=state.audiosInstance)==null?void 0:j.audios[playUrl.value].currentTime;console.log("已播放时长: ",B*1e3),console.log("不减掉已播放时间: ",D-backtime);const R=D-backtime-B*1e3;console.log("真正播放延迟",R),setTimeout(()=>{sendOffsetTime(R)},220)}},playerStop=()=>{console.log("playerStop播放器停止事件",endloading.value),!endloading.value&&(playStatus.value="stop",endloading.value=!0,startButtonShow.value=!0,resetPlayStatus(),clearIntervalTimeline(),setCurrentTime(0),Toast({duration:0,message:"评分中...",type:"loading"}),postMessage({api:"endEvaluating",content:{musicScoreId:useOriginSearch().id}},j=>{console.log("调用endEvaluating结束",j),endloading.value=!1,evaluating.value=!1}))},evaluatPlayerStop=playerStop,endevent=j=>{var D;((D=j.target)==null?void 0:D.src)===playUrl.value&&playStatus.value==="play"&&(playerStop(),canSubmit.value=!0),state$2.isAppPlay&&(playerStop(),canSubmit.value=!0)},start$1=()=>{if(playStatus.value="play",state$2.isPauseRecording){postMessage({api:"resumeRecording"},()=>{evaluating.value=!0,state$2.isPauseRecording=!1,setCaptureMode()});return}console.log("开始录音",new Date().getTime()),postMessage({api:"startRecording"},()=>{var j,D;console.log("开始录音回调时间",new Date().getTime()),backtime=new Date().getTime(),evaluating.value=!0,console.log("midiUrl",(j=state$2.activeDetail)==null?void 0:j.midiUrl),(D=state$2.activeDetail)!=null&&D.midiUrl&&setTimeout(()=>{sendOffsetTime(0)},220)})},submitEvaluationScore=async j=>{if(state$2.setting&&state$2.setting.mode==="EVALUATING"){if(!canSubmit.value){Toast("请完成整首曲目评测!");return}try{await request.post("/activity/evaluationScore",{requestType:"json",data:{userId:state$3.user.userId,score:j.score,...state$2.setting.submitData}})}catch{}canSubmit.value=!1}},canSubmit=ref(!1),sendResult=j=>{var D,B;if(j!=null&&j.content){const R=(D=j==null?void 0:j.content)==null?void 0:D.body;if((j==null?void 0:j.content.header.commond)==="overall")console.log("结束评测返回",R),console.log(j),Toast.clear(),endResult.value=R,evaluatingShow.value=!0,submitEvaluationScore(R);else if((j==null?void 0:j.content.header.commond)!=="checkDone"){if((j==null?void 0:j.content.header.commond)!=="checking"){const F=Y=>{for(;Y>=0;){const q=state$2.times[Y];if(q.stave)return q;Y--}},U=(Y,q,X=!1)=>{const W=getBoundingBoxByverticalNote(Y);console.log(state$2.evaluatings,W),state$2.evaluatings={...state$2.evaluatings,[W.measureIndex]:{...W,...getLeveByScoreMeasure(q.score),score:q.score,dontTransition:X}}};for(let Y=0;Y<state$2.times.length;Y++){let q=state$2.times[Y];if(R.measureRenderIndex==q.noteElement.sourceMeasure.measureListIndex){if(!q.stave){const X=F(Y);X&&(q=X)}if(!q.noteElement.tie)U(q,R);else for(const X of q.noteElement.tie.notes){const W=getParentNote(X);W&&U(W,R,X.NoteToGraphicalNoteObjectId!==((B=q.noteElement.tie.StartNote)==null?void 0:B.NoteToGraphicalNoteObjectId))}break}}}}}},onProgress=()=>{var j;state.currentTimeNum>=((j=state$2.times[state$2.times.length-1])==null?void 0:j.time)-2&&(canSubmit.value=!0)},cloudMetronome=j=>{startButtonShow.value=!0},Evaluating$1=defineComponent({name:"ColexiuEvaluating",directives:{animate:animate$1},setup(j,{expose:D}){return onMounted(async()=>{var B,R,F,U;state.evaluatingTips=!0,state$2.section=[],state$2.sectionStatus=!1,changeAllMode(),playUrl.value=state.songs.background||state.songs.music,(R=(B=state.audiosInstance)==null?void 0:B.audios[playUrl.value])==null||R.addEventListener("play",timeupdate),(U=(F=state.audiosInstance)==null?void 0:F.audios[playUrl.value])==null||U.addEventListener("timeupdate",onProgress),event.on("next-click",playerStop),event.on("ended",endevent),listenerMessage("sendResult",sendResult),listenerMessage("cancelEvaluating",cancelEvaluating),listenerMessage("cloudTimeUpdae",onProgress),event.on("tickDestroy",cloudMetronome),event.on("tickEnd",start$1),await pause(),setCurrentTime(0)}),onBeforeUnmount(()=>{var B,R,F,U;(R=(B=state.audiosInstance)==null?void 0:B.audios[playUrl.value])==null||R.removeEventListener("play",timeupdate),(U=(F=state.audiosInstance)==null?void 0:F.audios[playUrl.value])==null||U.removeEventListener("timeupdate",onProgress),event.off("next-click",playerStop),event.off("ended",endevent),event.off("tickDestroy",cloudMetronome),removeListenerMessage("sendResult",sendResult),removeListenerMessage("cancelEvaluating",cancelEvaluating),removeListenerMessage("cloudTimeUpdae",onProgress),event.off("tickEnd",start$1)}),D({setPlayer,startPlay,stopPlay,togglePlay,playerStop,evaluating,connentLoading,playStatus,cancelTheEvaluation}),()=>createVNode(Fragment,null,[withDirectives(createVNode(Button,{class:[styles$e.button,styles$e.hasText],style:{display:state$2.frozenMode?"none":""},onClick:()=>{state.evaluatingStatus=!1,(playStatus.value==="play"||playStatus.value==="connecting")&&cancelTheEvaluation()}},{default:()=>[createVNode(ButtonIcon,{name:"practise"},null),createVNode("span",null,[createTextVNode("练习")])]}),[[resolveDirective("animate")]]),createVNode(Evaluating,{data:endResult.value},null),evaluating.value?createVNode(Teleport,{to:"body",key:"Recording"},{default:()=>[createVNode("div",{class:styles$e.dialogueBox},[createVNode("div",{class:styles$e.inRadio},[createTextVNode("收音中...")]),createVNode(resolveComponent("dotlottie-player"),{src:Recording,autoplay:!0,loop:!0,class:styles$e.animation},null)])]}):createVNode(Teleport,{to:"body",key:"StartEvaluating"},{default:()=>[createVNode("div",{class:styles$e.dialogueBox},[createVNode("div",{class:styles$e.dialogue},[createVNode("div",null,[createTextVNode("演奏前请调整好乐器,保证最佳演奏状态。"),createVNode("span",{class:styles$e.triangle},null)])]),createVNode(resolveComponent("dotlottie-player"),{src:StartEvaluating,autoplay:!0,loop:!0,class:styles$e.animation},null)])]})])}}),ErrorIcon=""+new URL("error-4d7eb6c9.svg",import.meta.url).href,Empty=defineComponent({name:"ColexiuEmpty",props:{description:{type:String,default:"网络错误"},imageSize:{type:Number,default:200},image:{type:String,default:ErrorIcon}},setup(j,{slots:D}){const B=()=>postMessage({api:"back"}),{image:R,imageSize:F,description:U}=toRefs(j);return()=>createVNode(Empty$1,{image:R.value,imageSize:F.value,description:U.value},{default:()=>[D.default?D.default():createVNode(Button,{type:"primary",onClick:B},{default:()=>[createTextVNode("返回")]})]})}}),item="_item_6tre7_1",tag="_tag_6tre7_23",tabs$1="_tabs_6tre7_60",list="_list_6tre7_105",tab="_tab_6tre7_60",styles$8={item,tag,tabs:tabs$1,list,tab},chargeType={VIP:"会员",CHARGE:"点播",FREE:"免费"},SwitchTag=defineComponent({name:"SwitchTag",props:{type:String},setup(j){return()=>createVNode(Tag,{plain:!0,class:[styles$8.tag,j.type,"van-hairline--surround"]},{default:()=>[chargeType[j.type]]})}}),Item=defineComponent({name:"MusicList-MusicScore-Item",props:{item:{type:Object}},setup(j){const D=useOriginSearch(),B=sessionStorage.getItem("behaviorId")||""+new Date().valueOf(),R=()=>{var F;pause(),postMessage({api:"cloudDestroy"}),postMessage({api:"cloudLoading",content:{show:!0,type:"fullscreen"}}),location.href=location.origin+location.pathname+"?"+queryString.stringify({...D,behaviorId:B,id:(F=j.item)==null?void 0:F.id,_t:new Date().valueOf()})};return()=>{var F,U,Y;return createVNode("div",{class:[styles$8.item,{active:((F=j.item)==null?void 0:F.id)==D.id}],onClick:()=>R()},[createVNode("div",{style:{display:"flex"}},[(((U=j.item)==null?void 0:U.paymentType)||"").split(",").map(q=>createVNode(SwitchTag,{key:q,type:q},null))]),createVNode("p",null,[(Y=j.item)==null?void 0:Y.musicSheetName])])}}});function _isSlot$2(j){return typeof j=="function"||Object.prototype.toString.call(j)==="[object Object]"&&!isVNode(j)}const List=defineComponent({name:"MusicList-MusicScore-List",props:{list:{type:Array,default:()=>[]},url:{type:String,default:""},moreSearch:{type:Object,default:()=>({})}},emits:["refresh"],setup(j,{emit:D}){const B=ref(!1),R=ref(!1),F=ref(1),U=ref([]),Y=ref(),q=async()=>{if(j.url){B.value=!0;try{const W=await request(j.url,{params:{page:F.value,...j.moreSearch}});U.value=[...U.value,...W.data.rows],R.value=W.data.totalPage<F.value}catch{}B.value=!1}};onMounted(q);const X=()=>{!B.value&&!R.value&&(F.value=F.value+1,q())};return()=>{let W;return!U.value.length&&!B.value?createVNode(Empty,{description:"暂无曲目"},{default:()=>[createVNode("span",null,null)]}):createVNode("div",{class:styles$8.tab},[createVNode(List$1,{ref:Y,class:styles$8.list,loading:B.value,finished:R.value,onLoad:X},_isSlot$2(W=U.value.map(K=>createVNode(Item,{item:K,key:K.id},null)))?W:{default:()=>[W]})])}}}),search$4=useOriginSearch(),MusicScore=defineComponent({name:"MusicList-MusicScore",setup(){return()=>createVNode(List,{url:"/music/sheet/queryRelatedList",moreSearch:{albumId:search$4.albumId,musicSheetId:search$4.id}},null)}}),Collection=defineComponent({name:"MusicList-MusicScore",setup(){return()=>createVNode(List,{url:"/music/sheet/favorite"},null)}}),Practice=defineComponent({name:"MusicList-Practice",setup(){return()=>createVNode(List,{url:"/music/sheet/practice"},null)}}),Content$1=defineComponent({name:"MusicListContent",setup(){return()=>createVNode(Tabs,{class:styles$8.tabs},{default:()=>[createVNode(Tab,{title:"其他曲谱"},{default:()=>[createVNode(MusicScore,null,null)]}),createVNode(Tab,{title:"最近练习"},{default:()=>[createVNode(Practice,null,null)]}),createVNode(Tab,{class:styles$8.tab,title:"我的收藏"},{default:()=>[createVNode(Collection,null,null)]})]})}}),visible=ref(!1),survive=ref(!1),open$1=()=>{visible.value=!0,survive.value=!0},close=()=>{visible.value=!1},closed=()=>{survive.value=!1},MusicList=defineComponent({name:"MusicList",setup(j){return()=>createVNode(Popup,{show:visible.value,onClickOverlay:close,onClosed:closed,position:"right",teleport:"body",style:{height:"100vh",width:"55vw",borderRadius:"5px 0 0 5px",overflow:"hidden"}},{default:()=>[survive.value&&createVNode(Content$1,j,null)]})}}),InfoIcon=""+new URL("info-ba658f25.svg",import.meta.url).href,iconTv=""+new URL("tv-e0e4a552.svg",import.meta.url).href,iconYijian=""+new URL("yijian-93a8e5bd.svg",import.meta.url).href,setting="_setting_y55es_1",sliderWrap="_sliderWrap_y55es_45",slider="_slider_y55es_45",noticebar="_noticebar_y55es_68",groupBox="_groupBox_y55es_74",btnsbar="_btnsbar_y55es_93",btn="_btn_y55es_93",radioGroup="_radioGroup_y55es_124",styles$7={setting,sliderWrap,slider,noticebar,groupBox,btnsbar,btn,radioGroup},tabs="_tabs_e40bs_1",styles$6={tabs},show=ref(!1),HelperPopup=defineComponent({name:"HelperPopup",setup(){return()=>createVNode(Popup,{show:show.value,position:"right",round:!0,teleport:"body",onClickOverlay:()=>show.value=!1,style:{height:"100vh",width:"40vw",overflow:"hidden"}},{default:()=>[createVNode(Tabs,{class:styles$6.tabs},{default:()=>[createVNode(Tab,{title:"投屏"},{default:()=>[createVNode("iframe",{src:location.origin+"/student/#/guide"},null)]}),createVNode(Tab,{title:"帮助"},{default:()=>[createVNode("iframe",{src:location.origin+"/student/#/helpCenter?platformType=ANALYSIS"},null)]})]})]})}});var rafExports={},raf$1={get exports(){return rafExports},set exports(j){rafExports=j}},performanceNowExports={},performanceNow={get exports(){return performanceNowExports},set exports(j){performanceNowExports=j}};(function(){var j,D,B,R,F,U;typeof performance<"u"&&performance!==null&&performance.now?performanceNow.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(performanceNow.exports=function(){return(j()-F)/1e6},D=process.hrtime,j=function(){var Y;return Y=D(),Y[0]*1e9+Y[1]},R=j(),U=process.uptime()*1e9,F=R-U):Date.now?(performanceNow.exports=function(){return Date.now()-B},B=Date.now()):(performanceNow.exports=function(){return new Date().getTime()-B},B=new Date().getTime())}).call(commonjsGlobal$1);var now=performanceNowExports,root=typeof window>"u"?commonjsGlobal$1:window,vendors=["moz","webkit"],suffix="AnimationFrame",raf=root["request"+suffix],caf=root["cancel"+suffix]||root["cancelRequest"+suffix];for(var i$1=0;!raf&&i$1<vendors.length;i$1++)raf=root[vendors[i$1]+"Request"+suffix],caf=root[vendors[i$1]+"Cancel"+suffix]||root[vendors[i$1]+"CancelRequest"+suffix];if(!raf||!caf){var last=0,id=0,queue=[],frameDuration=1e3/60;raf=function(j){if(queue.length===0){var D=now(),B=Math.max(0,frameDuration-(D-last));last=B+D,setTimeout(function(){var R=queue.slice(0);queue.length=0;for(var F=0;F<R.length;F++)if(!R[F].cancelled)try{R[F].callback(last)}catch(U){setTimeout(function(){throw U},0)}},Math.round(B))}return queue.push({handle:++id,callback:j,cancelled:!1}),id},caf=function(j){for(var D=0;D<queue.length;D++)queue[D].handle===j&&(queue[D].cancelled=!0)}}raf$1.exports=function(j){return raf.call(root,j)};rafExports.cancel=function(){caf.apply(root,arguments)};rafExports.polyfill=function(j){j||(j=root),j.requestAnimationFrame=raf,j.cancelAnimationFrame=caf};var rgbcolor=function(j){this.ok=!1,this.alpha=1,j.charAt(0)=="#"&&(j=j.substr(1,6)),j=j.replace(/ /g,""),j=j.toLowerCase();var D={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};j=D[j]||j;for(var B=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(X){return[parseInt(X[1]),parseInt(X[2]),parseInt(X[3]),parseFloat(X[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(X){return[parseInt(X[1]),parseInt(X[2]),parseInt(X[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(X){return[parseInt(X[1],16),parseInt(X[2],16),parseInt(X[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(X){return[parseInt(X[1]+X[1],16),parseInt(X[2]+X[2],16),parseInt(X[3]+X[3],16)]}}],R=0;R<B.length;R++){var F=B[R].re,U=B[R].process,Y=F.exec(j);if(Y){var q=U(Y);this.r=q[0],this.g=q[1],this.b=q[2],q.length>3&&(this.alpha=q[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var X=this.r.toString(16),W=this.g.toString(16),K=this.b.toString(16);return X.length==1&&(X="0"+X),W.length==1&&(W="0"+W),K.length==1&&(K="0"+K),"#"+X+W+K},this.getHelpXML=function(){for(var X=new Array,W=0;W<B.length;W++)for(var K=B[W].example,G=0;G<K.length;G++)X[X.length]=K[G];for(var Z in D)X[X.length]=Z;var Q=document.createElement("ul");Q.setAttribute("id","rgbcolor-examples");for(var W=0;W<X.length;W++)try{var te=document.createElement("li"),re=new RGBColor(X[W]),J=document.createElement("div");J.style.cssText="margin: 3px; border: 1px solid black; background:"+re.toHex()+"; color:"+re.toHex(),J.appendChild(document.createTextNode("test"));var ie=document.createTextNode(" "+X[W]+" -> "+re.toRGB()+" -> "+re.toHex());te.appendChild(J),te.appendChild(ie),Q.appendChild(te)}catch{}return Q}};/*! *****************************************************************************
  892. Copyright (c) Microsoft Corporation.
  893. Permission to use, copy, modify, and/or distribute this software for any
  894. purpose with or without fee is hereby granted.
  895. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  896. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  897. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  898. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  899. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  900. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  901. PERFORMANCE OF THIS SOFTWARE.
  902. ***************************************************************************** */var t=function(j,D){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,R){B.__proto__=R}||function(B,R){for(var F in R)Object.prototype.hasOwnProperty.call(R,F)&&(B[F]=R[F])})(j,D)};function r(j,D){if(typeof D!="function"&&D!==null)throw new TypeError("Class extends value "+String(D)+" is not a constructor or null");function B(){this.constructor=j}t(j,D),j.prototype=D===null?Object.create(D):(B.prototype=D.prototype,new B)}function e(j){var D="";Array.isArray(j)||(j=[j]);for(var B=0;B<j.length;B++){var R=j[B];if(R.type===_.CLOSE_PATH)D+="z";else if(R.type===_.HORIZ_LINE_TO)D+=(R.relative?"h":"H")+R.x;else if(R.type===_.VERT_LINE_TO)D+=(R.relative?"v":"V")+R.y;else if(R.type===_.MOVE_TO)D+=(R.relative?"m":"M")+R.x+" "+R.y;else if(R.type===_.LINE_TO)D+=(R.relative?"l":"L")+R.x+" "+R.y;else if(R.type===_.CURVE_TO)D+=(R.relative?"c":"C")+R.x1+" "+R.y1+" "+R.x2+" "+R.y2+" "+R.x+" "+R.y;else if(R.type===_.SMOOTH_CURVE_TO)D+=(R.relative?"s":"S")+R.x2+" "+R.y2+" "+R.x+" "+R.y;else if(R.type===_.QUAD_TO)D+=(R.relative?"q":"Q")+R.x1+" "+R.y1+" "+R.x+" "+R.y;else if(R.type===_.SMOOTH_QUAD_TO)D+=(R.relative?"t":"T")+R.x+" "+R.y;else{if(R.type!==_.ARC)throw new Error('Unexpected command type "'+R.type+'" at index '+B+".");D+=(R.relative?"a":"A")+R.rX+" "+R.rY+" "+R.xRot+" "+ +R.lArcFlag+" "+ +R.sweepFlag+" "+R.x+" "+R.y}}return D}function i(j,D){var B=j[0],R=j[1];return[B*Math.cos(D)-R*Math.sin(D),B*Math.sin(D)+R*Math.cos(D)]}function a(){for(var j=[],D=0;D<arguments.length;D++)j[D]=arguments[D];for(var B=0;B<j.length;B++)if(typeof j[B]!="number")throw new Error("assertNumbers arguments["+B+"] is not a number. "+typeof j[B]+" == typeof "+j[B]);return!0}var n=Math.PI;function o(j,D,B){j.lArcFlag=j.lArcFlag===0?0:1,j.sweepFlag=j.sweepFlag===0?0:1;var R=j.rX,F=j.rY,U=j.x,Y=j.y;R=Math.abs(j.rX),F=Math.abs(j.rY);var q=i([(D-U)/2,(B-Y)/2],-j.xRot/180*n),X=q[0],W=q[1],K=Math.pow(X,2)/Math.pow(R,2)+Math.pow(W,2)/Math.pow(F,2);1<K&&(R*=Math.sqrt(K),F*=Math.sqrt(K)),j.rX=R,j.rY=F;var G=Math.pow(R,2)*Math.pow(W,2)+Math.pow(F,2)*Math.pow(X,2),Z=(j.lArcFlag!==j.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(R,2)*Math.pow(F,2)-G)/G)),Q=R*W/F*Z,te=-F*X/R*Z,re=i([Q,te],j.xRot/180*n);j.cX=re[0]+(D+U)/2,j.cY=re[1]+(B+Y)/2,j.phi1=Math.atan2((W-te)/F,(X-Q)/R),j.phi2=Math.atan2((-W-te)/F,(-X-Q)/R),j.sweepFlag===0&&j.phi2>j.phi1&&(j.phi2-=2*n),j.sweepFlag===1&&j.phi2<j.phi1&&(j.phi2+=2*n),j.phi1*=180/n,j.phi2*=180/n}function s(j,D,B){a(j,D,B);var R=j*j+D*D-B*B;if(0>R)return[];if(R===0)return[[j*B/(j*j+D*D),D*B/(j*j+D*D)]];var F=Math.sqrt(R);return[[(j*B+D*F)/(j*j+D*D),(D*B-j*F)/(j*j+D*D)],[(j*B-D*F)/(j*j+D*D),(D*B+j*F)/(j*j+D*D)]]}var u,h=Math.PI/180;function c$1(j,D,B){return(1-B)*j+B*D}function y(j,D,B,R){return j+Math.cos(R/180*n)*D+Math.sin(R/180*n)*B}function p(j,D,B,R){var F=1e-6,U=D-j,Y=B-D,q=3*U+3*(R-B)-6*Y,X=6*(Y-U),W=3*U;return Math.abs(q)<F?[-W/X]:function(K,G,Z){Z===void 0&&(Z=1e-6);var Q=K*K/4-G;if(Q<-Z)return[];if(Q<=Z)return[-K/2];var te=Math.sqrt(Q);return[-K/2-te,-K/2+te]}(X/q,W/q,F)}function m$1(j,D,B,R,F){var U=1-F;return j*(U*U*U)+D*(3*U*U*F)+B*(3*U*F*F)+R*(F*F*F)}(function(j){function D(){return F(function(q,X,W){return q.relative&&(q.x1!==void 0&&(q.x1+=X),q.y1!==void 0&&(q.y1+=W),q.x2!==void 0&&(q.x2+=X),q.y2!==void 0&&(q.y2+=W),q.x!==void 0&&(q.x+=X),q.y!==void 0&&(q.y+=W),q.relative=!1),q})}function B(){var q=NaN,X=NaN,W=NaN,K=NaN;return F(function(G,Z,Q){return G.type&_.SMOOTH_CURVE_TO&&(G.type=_.CURVE_TO,q=isNaN(q)?Z:q,X=isNaN(X)?Q:X,G.x1=G.relative?Z-q:2*Z-q,G.y1=G.relative?Q-X:2*Q-X),G.type&_.CURVE_TO?(q=G.relative?Z+G.x2:G.x2,X=G.relative?Q+G.y2:G.y2):(q=NaN,X=NaN),G.type&_.SMOOTH_QUAD_TO&&(G.type=_.QUAD_TO,W=isNaN(W)?Z:W,K=isNaN(K)?Q:K,G.x1=G.relative?Z-W:2*Z-W,G.y1=G.relative?Q-K:2*Q-K),G.type&_.QUAD_TO?(W=G.relative?Z+G.x1:G.x1,K=G.relative?Q+G.y1:G.y1):(W=NaN,K=NaN),G})}function R(){var q=NaN,X=NaN;return F(function(W,K,G){if(W.type&_.SMOOTH_QUAD_TO&&(W.type=_.QUAD_TO,q=isNaN(q)?K:q,X=isNaN(X)?G:X,W.x1=W.relative?K-q:2*K-q,W.y1=W.relative?G-X:2*G-X),W.type&_.QUAD_TO){q=W.relative?K+W.x1:W.x1,X=W.relative?G+W.y1:W.y1;var Z=W.x1,Q=W.y1;W.type=_.CURVE_TO,W.x1=((W.relative?0:K)+2*Z)/3,W.y1=((W.relative?0:G)+2*Q)/3,W.x2=(W.x+2*Z)/3,W.y2=(W.y+2*Q)/3}else q=NaN,X=NaN;return W})}function F(q){var X=0,W=0,K=NaN,G=NaN;return function(Z){if(isNaN(K)&&!(Z.type&_.MOVE_TO))throw new Error("path must start with moveto");var Q=q(Z,X,W,K,G);return Z.type&_.CLOSE_PATH&&(X=K,W=G),Z.x!==void 0&&(X=Z.relative?X+Z.x:Z.x),Z.y!==void 0&&(W=Z.relative?W+Z.y:Z.y),Z.type&_.MOVE_TO&&(K=X,G=W),Q}}function U(q,X,W,K,G,Z){return a(q,X,W,K,G,Z),F(function(Q,te,re,J){var ie=Q.x1,ne=Q.x2,oe=Q.relative&&!isNaN(J),ue=Q.x!==void 0?Q.x:oe?0:te,ce=Q.y!==void 0?Q.y:oe?0:re;function fe(me){return me*me}Q.type&_.HORIZ_LINE_TO&&X!==0&&(Q.type=_.LINE_TO,Q.y=Q.relative?0:re),Q.type&_.VERT_LINE_TO&&W!==0&&(Q.type=_.LINE_TO,Q.x=Q.relative?0:te),Q.x!==void 0&&(Q.x=Q.x*q+ce*W+(oe?0:G)),Q.y!==void 0&&(Q.y=ue*X+Q.y*K+(oe?0:Z)),Q.x1!==void 0&&(Q.x1=Q.x1*q+Q.y1*W+(oe?0:G)),Q.y1!==void 0&&(Q.y1=ie*X+Q.y1*K+(oe?0:Z)),Q.x2!==void 0&&(Q.x2=Q.x2*q+Q.y2*W+(oe?0:G)),Q.y2!==void 0&&(Q.y2=ne*X+Q.y2*K+(oe?0:Z));var ae=q*K-X*W;if(Q.xRot!==void 0&&(q!==1||X!==0||W!==0||K!==1))if(ae===0)delete Q.rX,delete Q.rY,delete Q.xRot,delete Q.lArcFlag,delete Q.sweepFlag,Q.type=_.LINE_TO;else{var he=Q.xRot*Math.PI/180,ve=Math.sin(he),de=Math.cos(he),se=1/fe(Q.rX),ge=1/fe(Q.rY),be=fe(de)*se+fe(ve)*ge,le=2*ve*de*(se-ge),pe=fe(ve)*se+fe(de)*ge,Se=be*K*K-le*X*K+pe*X*X,Ae=le*(q*K+X*W)-2*(be*W*K+pe*q*X),ye=be*W*W-le*q*W+pe*q*q,Me=(Math.atan2(Ae,Se-ye)+Math.PI)%Math.PI/2,Ie=Math.sin(Me),xe=Math.cos(Me);Q.rX=Math.abs(ae)/Math.sqrt(Se*fe(xe)+Ae*Ie*xe+ye*fe(Ie)),Q.rY=Math.abs(ae)/Math.sqrt(Se*fe(Ie)-Ae*Ie*xe+ye*fe(xe)),Q.xRot=180*Me/Math.PI}return Q.sweepFlag!==void 0&&0>ae&&(Q.sweepFlag=+!Q.sweepFlag),Q})}function Y(){return function(q){var X={};for(var W in q)X[W]=q[W];return X}}j.ROUND=function(q){function X(W){return Math.round(W*q)/q}return q===void 0&&(q=1e13),a(q),function(W){return W.x1!==void 0&&(W.x1=X(W.x1)),W.y1!==void 0&&(W.y1=X(W.y1)),W.x2!==void 0&&(W.x2=X(W.x2)),W.y2!==void 0&&(W.y2=X(W.y2)),W.x!==void 0&&(W.x=X(W.x)),W.y!==void 0&&(W.y=X(W.y)),W.rX!==void 0&&(W.rX=X(W.rX)),W.rY!==void 0&&(W.rY=X(W.rY)),W}},j.TO_ABS=D,j.TO_REL=function(){return F(function(q,X,W){return q.relative||(q.x1!==void 0&&(q.x1-=X),q.y1!==void 0&&(q.y1-=W),q.x2!==void 0&&(q.x2-=X),q.y2!==void 0&&(q.y2-=W),q.x!==void 0&&(q.x-=X),q.y!==void 0&&(q.y-=W),q.relative=!0),q})},j.NORMALIZE_HVZ=function(q,X,W){return q===void 0&&(q=!0),X===void 0&&(X=!0),W===void 0&&(W=!0),F(function(K,G,Z,Q,te){if(isNaN(Q)&&!(K.type&_.MOVE_TO))throw new Error("path must start with moveto");return X&&K.type&_.HORIZ_LINE_TO&&(K.type=_.LINE_TO,K.y=K.relative?0:Z),W&&K.type&_.VERT_LINE_TO&&(K.type=_.LINE_TO,K.x=K.relative?0:G),q&&K.type&_.CLOSE_PATH&&(K.type=_.LINE_TO,K.x=K.relative?Q-G:Q,K.y=K.relative?te-Z:te),K.type&_.ARC&&(K.rX===0||K.rY===0)&&(K.type=_.LINE_TO,delete K.rX,delete K.rY,delete K.xRot,delete K.lArcFlag,delete K.sweepFlag),K})},j.NORMALIZE_ST=B,j.QT_TO_C=R,j.INFO=F,j.SANITIZE=function(q){q===void 0&&(q=0),a(q);var X=NaN,W=NaN,K=NaN,G=NaN;return F(function(Z,Q,te,re,J){var ie=Math.abs,ne=!1,oe=0,ue=0;if(Z.type&_.SMOOTH_CURVE_TO&&(oe=isNaN(X)?0:Q-X,ue=isNaN(W)?0:te-W),Z.type&(_.CURVE_TO|_.SMOOTH_CURVE_TO)?(X=Z.relative?Q+Z.x2:Z.x2,W=Z.relative?te+Z.y2:Z.y2):(X=NaN,W=NaN),Z.type&_.SMOOTH_QUAD_TO?(K=isNaN(K)?Q:2*Q-K,G=isNaN(G)?te:2*te-G):Z.type&_.QUAD_TO?(K=Z.relative?Q+Z.x1:Z.x1,G=Z.relative?te+Z.y1:Z.y2):(K=NaN,G=NaN),Z.type&_.LINE_COMMANDS||Z.type&_.ARC&&(Z.rX===0||Z.rY===0||!Z.lArcFlag)||Z.type&_.CURVE_TO||Z.type&_.SMOOTH_CURVE_TO||Z.type&_.QUAD_TO||Z.type&_.SMOOTH_QUAD_TO){var ce=Z.x===void 0?0:Z.relative?Z.x:Z.x-Q,fe=Z.y===void 0?0:Z.relative?Z.y:Z.y-te;oe=isNaN(K)?Z.x1===void 0?oe:Z.relative?Z.x:Z.x1-Q:K-Q,ue=isNaN(G)?Z.y1===void 0?ue:Z.relative?Z.y:Z.y1-te:G-te;var ae=Z.x2===void 0?0:Z.relative?Z.x:Z.x2-Q,he=Z.y2===void 0?0:Z.relative?Z.y:Z.y2-te;ie(ce)<=q&&ie(fe)<=q&&ie(oe)<=q&&ie(ue)<=q&&ie(ae)<=q&&ie(he)<=q&&(ne=!0)}return Z.type&_.CLOSE_PATH&&ie(Q-re)<=q&&ie(te-J)<=q&&(ne=!0),ne?[]:Z})},j.MATRIX=U,j.ROTATE=function(q,X,W){X===void 0&&(X=0),W===void 0&&(W=0),a(q,X,W);var K=Math.sin(q),G=Math.cos(q);return U(G,K,-K,G,X-X*G+W*K,W-X*K-W*G)},j.TRANSLATE=function(q,X){return X===void 0&&(X=0),a(q,X),U(1,0,0,1,q,X)},j.SCALE=function(q,X){return X===void 0&&(X=q),a(q,X),U(q,0,0,X,0,0)},j.SKEW_X=function(q){return a(q),U(1,0,Math.atan(q),1,0,0)},j.SKEW_Y=function(q){return a(q),U(1,Math.atan(q),0,1,0,0)},j.X_AXIS_SYMMETRY=function(q){return q===void 0&&(q=0),a(q),U(-1,0,0,1,q,0)},j.Y_AXIS_SYMMETRY=function(q){return q===void 0&&(q=0),a(q),U(1,0,0,-1,0,q)},j.A_TO_C=function(){return F(function(q,X,W){return _.ARC===q.type?function(K,G,Z){var Q,te,re,J;K.cX||o(K,G,Z);for(var ie=Math.min(K.phi1,K.phi2),ne=Math.max(K.phi1,K.phi2)-ie,oe=Math.ceil(ne/90),ue=new Array(oe),ce=G,fe=Z,ae=0;ae<oe;ae++){var he=c$1(K.phi1,K.phi2,ae/oe),ve=c$1(K.phi1,K.phi2,(ae+1)/oe),de=ve-he,se=4/3*Math.tan(de*h/4),ge=[Math.cos(he*h)-se*Math.sin(he*h),Math.sin(he*h)+se*Math.cos(he*h)],be=ge[0],le=ge[1],pe=[Math.cos(ve*h),Math.sin(ve*h)],Se=pe[0],Ae=pe[1],ye=[Se+se*Math.sin(ve*h),Ae-se*Math.cos(ve*h)],Me=ye[0],Ie=ye[1];ue[ae]={relative:K.relative,type:_.CURVE_TO};var xe=function(me,we){var _e=i([me*K.rX,we*K.rY],K.xRot),Te=_e[0],Ne=_e[1];return[K.cX+Te,K.cY+Ne]};Q=xe(be,le),ue[ae].x1=Q[0],ue[ae].y1=Q[1],te=xe(Me,Ie),ue[ae].x2=te[0],ue[ae].y2=te[1],re=xe(Se,Ae),ue[ae].x=re[0],ue[ae].y=re[1],K.relative&&(ue[ae].x1-=ce,ue[ae].y1-=fe,ue[ae].x2-=ce,ue[ae].y2-=fe,ue[ae].x-=ce,ue[ae].y-=fe),ce=(J=[ue[ae].x,ue[ae].y])[0],fe=J[1]}return ue}(q,q.relative?0:X,q.relative?0:W):q})},j.ANNOTATE_ARCS=function(){return F(function(q,X,W){return q.relative&&(X=0,W=0),_.ARC===q.type&&o(q,X,W),q})},j.CLONE=Y,j.CALCULATE_BOUNDS=function(){var q=function(Z){var Q={};for(var te in Z)Q[te]=Z[te];return Q},X=D(),W=R(),K=B(),G=F(function(Z,Q,te){var re=K(W(X(q(Z))));function J(Ie){Ie>G.maxX&&(G.maxX=Ie),Ie<G.minX&&(G.minX=Ie)}function ie(Ie){Ie>G.maxY&&(G.maxY=Ie),Ie<G.minY&&(G.minY=Ie)}if(re.type&_.DRAWING_COMMANDS&&(J(Q),ie(te)),re.type&_.HORIZ_LINE_TO&&J(re.x),re.type&_.VERT_LINE_TO&&ie(re.y),re.type&_.LINE_TO&&(J(re.x),ie(re.y)),re.type&_.CURVE_TO){J(re.x),ie(re.y);for(var ne=0,oe=p(Q,re.x1,re.x2,re.x);ne<oe.length;ne++)0<(Me=oe[ne])&&1>Me&&J(m$1(Q,re.x1,re.x2,re.x,Me));for(var ue=0,ce=p(te,re.y1,re.y2,re.y);ue<ce.length;ue++)0<(Me=ce[ue])&&1>Me&&ie(m$1(te,re.y1,re.y2,re.y,Me))}if(re.type&_.ARC){J(re.x),ie(re.y),o(re,Q,te);for(var fe=re.xRot/180*Math.PI,ae=Math.cos(fe)*re.rX,he=Math.sin(fe)*re.rX,ve=-Math.sin(fe)*re.rY,de=Math.cos(fe)*re.rY,se=re.phi1<re.phi2?[re.phi1,re.phi2]:-180>re.phi2?[re.phi2+360,re.phi1+360]:[re.phi2,re.phi1],ge=se[0],be=se[1],le=function(Ie){var xe=Ie[0],me=Ie[1],we=180*Math.atan2(me,xe)/Math.PI;return we<ge?we+360:we},pe=0,Se=s(ve,-ae,0).map(le);pe<Se.length;pe++)(Me=Se[pe])>ge&&Me<be&&J(y(re.cX,ae,ve,Me));for(var Ae=0,ye=s(de,-he,0).map(le);Ae<ye.length;Ae++){var Me;(Me=ye[Ae])>ge&&Me<be&&ie(y(re.cY,he,de,Me))}}return Z});return G.minX=1/0,G.maxX=-1/0,G.minY=1/0,G.maxY=-1/0,G}})(u||(u={}));var O,l=function(){function j(){}return j.prototype.round=function(D){return this.transform(u.ROUND(D))},j.prototype.toAbs=function(){return this.transform(u.TO_ABS())},j.prototype.toRel=function(){return this.transform(u.TO_REL())},j.prototype.normalizeHVZ=function(D,B,R){return this.transform(u.NORMALIZE_HVZ(D,B,R))},j.prototype.normalizeST=function(){return this.transform(u.NORMALIZE_ST())},j.prototype.qtToC=function(){return this.transform(u.QT_TO_C())},j.prototype.aToC=function(){return this.transform(u.A_TO_C())},j.prototype.sanitize=function(D){return this.transform(u.SANITIZE(D))},j.prototype.translate=function(D,B){return this.transform(u.TRANSLATE(D,B))},j.prototype.scale=function(D,B){return this.transform(u.SCALE(D,B))},j.prototype.rotate=function(D,B,R){return this.transform(u.ROTATE(D,B,R))},j.prototype.matrix=function(D,B,R,F,U,Y){return this.transform(u.MATRIX(D,B,R,F,U,Y))},j.prototype.skewX=function(D){return this.transform(u.SKEW_X(D))},j.prototype.skewY=function(D){return this.transform(u.SKEW_Y(D))},j.prototype.xSymmetry=function(D){return this.transform(u.X_AXIS_SYMMETRY(D))},j.prototype.ySymmetry=function(D){return this.transform(u.Y_AXIS_SYMMETRY(D))},j.prototype.annotateArcs=function(){return this.transform(u.ANNOTATE_ARCS())},j}(),T=function(j){return j===" "||j===" "||j==="\r"||j===`
  903. `},v=function(j){return"0".charCodeAt(0)<=j.charCodeAt(0)&&j.charCodeAt(0)<="9".charCodeAt(0)},f=function(j){function D(){var B=j.call(this)||this;return B.curNumber="",B.curCommandType=-1,B.curCommandRelative=!1,B.canParseCommandOrComma=!0,B.curNumberHasExp=!1,B.curNumberHasExpDigits=!1,B.curNumberHasDecimal=!1,B.curArgs=[],B}return r(D,j),D.prototype.finish=function(B){if(B===void 0&&(B=[]),this.parse(" ",B),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return B},D.prototype.parse=function(B,R){var F=this;R===void 0&&(R=[]);for(var U=function(G){R.push(G),F.curArgs.length=0,F.canParseCommandOrComma=!0},Y=0;Y<B.length;Y++){var q=B[Y],X=!(this.curCommandType!==_.ARC||this.curArgs.length!==3&&this.curArgs.length!==4||this.curNumber.length!==1||this.curNumber!=="0"&&this.curNumber!=="1"),W=v(q)&&(this.curNumber==="0"&&q==="0"||X);if(!v(q)||W)if(q!=="e"&&q!=="E")if(q!=="-"&&q!=="+"||!this.curNumberHasExp||this.curNumberHasExpDigits)if(q!=="."||this.curNumberHasExp||this.curNumberHasDecimal||X){if(this.curNumber&&this.curCommandType!==-1){var K=Number(this.curNumber);if(isNaN(K))throw new SyntaxError("Invalid number ending at "+Y);if(this.curCommandType===_.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>K)throw new SyntaxError('Expected positive number, got "'+K+'" at index "'+Y+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+Y+'"')}this.curArgs.push(K),this.curArgs.length===N[this.curCommandType]&&(_.HORIZ_LINE_TO===this.curCommandType?U({type:_.HORIZ_LINE_TO,relative:this.curCommandRelative,x:K}):_.VERT_LINE_TO===this.curCommandType?U({type:_.VERT_LINE_TO,relative:this.curCommandRelative,y:K}):this.curCommandType===_.MOVE_TO||this.curCommandType===_.LINE_TO||this.curCommandType===_.SMOOTH_QUAD_TO?(U({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),_.MOVE_TO===this.curCommandType&&(this.curCommandType=_.LINE_TO)):this.curCommandType===_.CURVE_TO?U({type:_.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===_.SMOOTH_CURVE_TO?U({type:_.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===_.QUAD_TO?U({type:_.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===_.ARC&&U({type:_.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!T(q))if(q===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(q!=="+"&&q!=="-"&&q!==".")if(W)this.curNumber=q,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+Y+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+q+'" at index '+Y+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,q!=="z"&&q!=="Z")if(q==="h"||q==="H")this.curCommandType=_.HORIZ_LINE_TO,this.curCommandRelative=q==="h";else if(q==="v"||q==="V")this.curCommandType=_.VERT_LINE_TO,this.curCommandRelative=q==="v";else if(q==="m"||q==="M")this.curCommandType=_.MOVE_TO,this.curCommandRelative=q==="m";else if(q==="l"||q==="L")this.curCommandType=_.LINE_TO,this.curCommandRelative=q==="l";else if(q==="c"||q==="C")this.curCommandType=_.CURVE_TO,this.curCommandRelative=q==="c";else if(q==="s"||q==="S")this.curCommandType=_.SMOOTH_CURVE_TO,this.curCommandRelative=q==="s";else if(q==="q"||q==="Q")this.curCommandType=_.QUAD_TO,this.curCommandRelative=q==="q";else if(q==="t"||q==="T")this.curCommandType=_.SMOOTH_QUAD_TO,this.curCommandRelative=q==="t";else{if(q!=="a"&&q!=="A")throw new SyntaxError('Unexpected character "'+q+'" at index '+Y+".");this.curCommandType=_.ARC,this.curCommandRelative=q==="a"}else R.push({type:_.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=q,this.curNumberHasDecimal=q==="."}else this.curNumber+=q,this.curNumberHasDecimal=!0;else this.curNumber+=q;else this.curNumber+=q,this.curNumberHasExp=!0;else this.curNumber+=q,this.curNumberHasExpDigits=this.curNumberHasExp}return R},D.prototype.transform=function(B){return Object.create(this,{parse:{value:function(R,F){F===void 0&&(F=[]);for(var U=0,Y=Object.getPrototypeOf(this).parse.call(this,R);U<Y.length;U++){var q=Y[U],X=B(q);Array.isArray(X)?F.push.apply(F,X):F.push(X)}return F}}})},D}(l),_=function(j){function D(B){var R=j.call(this)||this;return R.commands=typeof B=="string"?D.parse(B):B,R}return r(D,j),D.prototype.encode=function(){return D.encode(this.commands)},D.prototype.getBounds=function(){var B=u.CALCULATE_BOUNDS();return this.transform(B),B},D.prototype.transform=function(B){for(var R=[],F=0,U=this.commands;F<U.length;F++){var Y=B(U[F]);Array.isArray(Y)?R.push.apply(R,Y):R.push(Y)}return this.commands=R,this},D.encode=function(B){return e(B)},D.parse=function(B){var R=new f,F=[];return R.parse(B,F),R.finish(F),F},D.CLOSE_PATH=1,D.MOVE_TO=2,D.HORIZ_LINE_TO=4,D.VERT_LINE_TO=8,D.LINE_TO=16,D.CURVE_TO=32,D.SMOOTH_CURVE_TO=64,D.QUAD_TO=128,D.SMOOTH_QUAD_TO=256,D.ARC=512,D.LINE_COMMANDS=D.LINE_TO|D.HORIZ_LINE_TO|D.VERT_LINE_TO,D.DRAWING_COMMANDS=D.HORIZ_LINE_TO|D.VERT_LINE_TO|D.LINE_TO|D.CURVE_TO|D.SMOOTH_CURVE_TO|D.QUAD_TO|D.SMOOTH_QUAD_TO|D.ARC,D}(l),N=((O={})[_.MOVE_TO]=2,O[_.LINE_TO]=2,O[_.HORIZ_LINE_TO]=1,O[_.VERT_LINE_TO]=1,O[_.CLOSE_PATH]=0,O[_.QUAD_TO]=4,O[_.SMOOTH_QUAD_TO]=2,O[_.CURVE_TO]=6,O[_.SMOOTH_CURVE_TO]=4,O[_.ARC]=7,O);function _typeof(j){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(D){return typeof D}:_typeof=function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},_typeof(j)}function _classCallCheck(j,D){if(!(j instanceof D))throw new TypeError("Cannot call a class as a function")}var mulTable=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],shgTable=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function getImageDataFromCanvas(j,D,B,R,F){if(typeof j=="string"&&(j=document.getElementById(j)),!j||_typeof(j)!=="object"||!("getContext"in j))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var U=j.getContext("2d");try{return U.getImageData(D,B,R,F)}catch(Y){throw new Error("unable to access image data: "+Y)}}function processCanvasRGBA(j,D,B,R,F,U){if(!(isNaN(U)||U<1)){U|=0;var Y=getImageDataFromCanvas(j,D,B,R,F);Y=processImageDataRGBA(Y,D,B,R,F,U),j.getContext("2d").putImageData(Y,D,B)}}function processImageDataRGBA(j,D,B,R,F,U){for(var Y=j.data,q=2*U+1,X=R-1,W=F-1,K=U+1,G=K*(K+1)/2,Z=new BlurStack,Q=Z,te,re=1;re<q;re++)Q=Q.next=new BlurStack,re===K&&(te=Q);Q.next=Z;for(var J=null,ie=null,ne=0,oe=0,ue=mulTable[U],ce=shgTable[U],fe=0;fe<F;fe++){Q=Z;for(var ae=Y[oe],he=Y[oe+1],ve=Y[oe+2],de=Y[oe+3],se=0;se<K;se++)Q.r=ae,Q.g=he,Q.b=ve,Q.a=de,Q=Q.next;for(var ge=0,be=0,le=0,pe=0,Se=K*ae,Ae=K*he,ye=K*ve,Me=K*de,Ie=G*ae,xe=G*he,me=G*ve,we=G*de,_e=1;_e<K;_e++){var Te=oe+((X<_e?X:_e)<<2),Ne=Y[Te],Ee=Y[Te+1],De=Y[Te+2],Ce=Y[Te+3],Pe=K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ht<F;ht++){var Ke=oe<<2;Y[Ke+3]=Ye=dt*ue>>ce,Ye>0?(Ye=255/Ye,Y[Ke]=(rt*ue>>ce)*Ye,Y[Ke+1]=(it*ue>>ce)*Ye,Y[Ke+2]=(nt*ue>>ce)*Ye):Y[Ke]=Y[Ke+1]=Y[Ke+2]=0,rt-=Xe,it-=Je,nt-=et,dt-=tt,Xe-=J.r,Je-=J.g,et-=J.b,tt-=J.a,Ke=Ve+((Ke=ht+K)<W?Ke:W)*R<<2,rt+=at+=J.r=Y[Ke],it+=ut+=J.g=Y[Ke+1],nt+=Le+=J.b=Y[Ke+2],dt+=st+=J.a=Y[Ke+3],J=J.next,Xe+=Ue=ie.r,Je+=Qe=ie.g,et+=He=ie.b,tt+=Ye=ie.a,at-=Ue,ut-=Qe,Le-=He,st-=Ye,ie=ie.next,oe+=R}}return j}var BlurStack=function j(){_classCallCheck(this,j),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null};function offscreen(){let{DOMParser:j}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const D={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:j,createCanvas(B,R){return new OffscreenCanvas(B,R)},async createImage(B){const F=await(await fetch(B)).blob();return await createImageBitmap(F)}};return(typeof globalThis.DOMParser<"u"||typeof j>"u")&&Reflect.deleteProperty(D,"DOMParser"),D}function node(j){let{DOMParser:D,canvas:B,fetch:R}=j;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:D,fetch:R,createCanvas:B.createCanvas,createImage:B.loadImage}}var index=Object.freeze({__proto__:null,offscreen,node});function compressSpaces(j){return j.replace(/(?!\u3000)\s+/gm," ")}function trimLeft(j){return j.replace(/^[\n \t]+/,"")}function trimRight(j){return j.replace(/[\n \t]+$/,"")}function toNumbers(j){const D=j.match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm);return D?D.map(parseFloat):[]}function toMatrixValue(j){const D=toNumbers(j);return[D[0]||0,D[1]||0,D[2]||0,D[3]||0,D[4]||0,D[5]||0]}const allUppercase=/^[A-Z-]+$/;function normalizeAttributeName(j){return allUppercase.test(j)?j.toLowerCase():j}function parseExternalUrl(j){const D=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(j);return D&&(D[2]||D[3]||D[4])||""}function normalizeColor(j){if(!j.startsWith("rgb"))return j;let D=3;return j.replace(/\d+(\.\d+)?/g,(R,F)=>D--&&F?String(Math.round(parseFloat(R))):R)}const attributeRegex=/(\[[^\]]+\])/g,idRegex=/(#[^\s+>~.[:]+)/g,classRegex=/(\.[^\s+>~.[:]+)/g,pseudoElementRegex=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,pseudoClassWithBracketsRegex=/(:[\w-]+\([^)]*\))/gi,pseudoClassRegex=/(:[^\s+>~.[:]+)/g,elementRegex=/([^\s+>~.[:]+)/g;function findSelectorMatch(j,D){const B=D.exec(j);return B?[j.replace(D," "),B.length]:[j,0]}function getSelectorSpecificity(j){const D=[0,0,0];let B=j.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),R=0;return[B,R]=findSelectorMatch(B,attributeRegex),D[1]+=R,[B,R]=findSelectorMatch(B,idRegex),D[0]+=R,[B,R]=findSelectorMatch(B,classRegex),D[1]+=R,[B,R]=findSelectorMatch(B,pseudoElementRegex),D[2]+=R,[B,R]=findSelectorMatch(B,pseudoClassWithBracketsRegex),D[1]+=R,[B,R]=findSelectorMatch(B,pseudoClassRegex),D[1]+=R,B=B.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[B,R]=findSelectorMatch(B,elementRegex),D[2]+=R,D.join("")}const PSEUDO_ZERO=1e-8;function vectorMagnitude(j){return Math.sqrt(Math.pow(j[0],2)+Math.pow(j[1],2))}function vectorsRatio(j,D){return(j[0]*D[0]+j[1]*D[1])/(vectorMagnitude(j)*vectorMagnitude(D))}function vectorsAngle(j,D){return(j[0]*D[1]<j[1]*D[0]?-1:1)*Math.acos(vectorsRatio(j,D))}function CB1(j){return j*j*j}function CB2(j){return 3*j*j*(1-j)}function CB3(j){return 3*j*(1-j)*(1-j)}function CB4(j){return(1-j)*(1-j)*(1-j)}function QB1(j){return j*j}function QB2(j){return 2*j*(1-j)}function QB3(j){return(1-j)*(1-j)}class Property{static empty(D){return new Property(D,"EMPTY","")}split(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ";const{document:B,name:R}=this;return compressSpaces(this.getString()).trim().split(D).map(F=>new Property(B,R,F))}hasValue(D){const B=this.value;return B!==null&&B!==""&&(D||B!==0)&&typeof B<"u"}isString(D){const{value:B}=this,R=typeof B=="string";return!R||!D?R:D.test(B)}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;const D=this.getString();switch(!0){case D.endsWith("px"):case/^[0-9]+$/.test(D):return!0;default:return!1}}setValue(D){return this.value=D,this}getValue(D){return typeof D>"u"||this.hasValue()?this.value:D}getNumber(D){if(!this.hasValue())return typeof D>"u"?0:parseFloat(D);const{value:B}=this;let R=parseFloat(B);return this.isString(/%$/)&&(R/=100),R}getString(D){return typeof D>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(D)}getColor(D){let B=this.getString(D);return this.isNormalizedColor||(this.isNormalizedColor=!0,B=normalizeColor(B),this.value=B),B}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(D){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;const[R,F]=typeof D=="boolean"?[void 0,D]:[D],{viewPort:U}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(U.computeSize("x"),U.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(U.computeSize("x"),U.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*U.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*U.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case(this.isString(/%$/)&&F):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*U.computeSize(R);default:{const Y=this.getNumber();return B&&Y<1?Y*U.computeSize(R):Y}}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){const D=this.getString(),B=/#([^)'"]+)/.exec(D),R=(B==null?void 0:B[1])||D;return this.document.definitions[R]}getFillStyleDefinition(D,B){let R=this.getDefinition();if(!R)return null;if(typeof R.createGradient=="function"&&"getBoundingBox"in D)return R.createGradient(this.document.ctx,D,B);if(typeof R.createPattern=="function"){if(R.getHrefAttribute().hasValue()){const F=R.getAttribute("patternTransform");R=R.getHrefAttribute().getDefinition(),R&&F.hasValue()&&R.getAttribute("patternTransform",!0).setValue(F.value)}if(R)return R.createPattern(this.document.ctx,D,B)}return null}getTextBaseline(){if(!this.hasValue())return null;const D=this.getString();return Property.textBaselineMapping[D]||null}addOpacity(D){let B=this.getColor();const R=B.length;let F=0;for(let U=0;U<R&&(B[U]===","&&F++,F!==3);U++);if(D.hasValue()&&this.isString()&&F!==3){const U=new rgbcolor(B);U.ok&&(U.alpha=D.getNumber(),B=U.toRGBA())}return new Property(this.document,this.name,B)}constructor(D,B,R){this.document=D,this.name=B,this.value=R,this.isNormalizedColor=!1}}Property.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};class ViewPort{clear(){this.viewPorts=[]}setCurrent(D,B){this.viewPorts.push({width:D,height:B})}removeCurrent(){this.viewPorts.pop()}getRoot(){const[D]=this.viewPorts;return D||getDefault()}getCurrent(){const{viewPorts:D}=this,B=D[D.length-1];return B||getDefault()}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(D){return typeof D=="number"?D:D==="x"?this.width:D==="y"?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}constructor(){this.viewPorts=[]}}ViewPort.DEFAULT_VIEWPORT_WIDTH=800;ViewPort.DEFAULT_VIEWPORT_HEIGHT=600;function getDefault(){return{width:ViewPort.DEFAULT_VIEWPORT_WIDTH,height:ViewPort.DEFAULT_VIEWPORT_HEIGHT}}class Point{static parse(D){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const[R=B,F=B]=toNumbers(D);return new Point(R,F)}static parseScale(D){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const[R=B,F=R]=toNumbers(D);return new Point(R,F)}static parsePath(D){const B=toNumbers(D),R=B.length,F=[];for(let U=0;U<R;U+=2)F.push(new Point(B[U],B[U+1]));return F}angleTo(D){return Math.atan2(D.y-this.y,D.x-this.x)}applyTransform(D){const{x:B,y:R}=this,F=B*D[0]+R*D[2]+D[4],U=B*D[1]+R*D[3]+D[5];this.x=F,this.y=U}constructor(D,B){this.x=D,this.y=B}}class Mouse{isWorking(){return this.working}start(){if(this.working)return;const{screen:D,onClick:B,onMouseMove:R}=this,F=D.ctx.canvas;F.onclick=B,F.onmousemove=R,this.working=!0}stop(){if(!this.working)return;const D=this.screen.ctx.canvas;this.working=!1,D.onclick=null,D.onmousemove=null}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(!this.working)return;const{screen:D,events:B,eventElements:R}=this,{style:F}=D.ctx.canvas;let U;F&&(F.cursor=""),B.forEach((Y,q)=>{let{run:X}=Y;for(U=R[q];U;)X(U),U=U.parent}),this.events=[],this.eventElements=[]}checkPath(D,B){if(!this.working||!B)return;const{events:R,eventElements:F}=this;R.forEach((U,Y)=>{let{x:q,y:X}=U;!F[Y]&&B.isPointInPath&&B.isPointInPath(q,X)&&(F[Y]=D)})}checkBoundingBox(D,B){if(!this.working||!B)return;const{events:R,eventElements:F}=this;R.forEach((U,Y)=>{let{x:q,y:X}=U;!F[Y]&&B.isPointInBox(q,X)&&(F[Y]=D)})}mapXY(D,B){const{window:R,ctx:F}=this.screen,U=new Point(D,B);let Y=F.canvas;for(;Y;)U.x-=Y.offsetLeft,U.y-=Y.offsetTop,Y=Y.offsetParent;return R!=null&&R.scrollX&&(U.x+=R.scrollX),R!=null&&R.scrollY&&(U.y+=R.scrollY),U}onClick(D){const{x:B,y:R}=this.mapXY(D.clientX,D.clientY);this.events.push({type:"onclick",x:B,y:R,run(F){F.onClick&&F.onClick()}})}onMouseMove(D){const{x:B,y:R}=this.mapXY(D.clientX,D.clientY);this.events.push({type:"onmousemove",x:B,y:R,run(F){F.onMouseMove&&F.onMouseMove()}})}constructor(D){this.screen=D,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}}const defaultWindow=typeof window<"u"?window:null,defaultFetch$1=typeof fetch<"u"?fetch.bind(void 0):void 0;class Screen{wait(D){this.waits.push(D)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;const D=this.waits.every(B=>B());return D&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=D,D}setDefaults(D){D.strokeStyle="rgba(0,0,0,0)",D.lineCap="butt",D.lineJoin="miter",D.miterLimit=4}setViewBox(D){let{document:B,ctx:R,aspectRatio:F,width:U,desiredWidth:Y,height:q,desiredHeight:X,minX:W=0,minY:K=0,refX:G,refY:Z,clip:Q=!1,clipX:te=0,clipY:re=0}=D;const J=compressSpaces(F).replace(/^defer\s/,""),[ie,ne]=J.split(" "),oe=ie||"xMidYMid",ue=ne||"meet",ce=U/Y,fe=q/X,ae=Math.min(ce,fe),he=Math.max(ce,fe);let ve=Y,de=X;ue==="meet"&&(ve*=ae,de*=ae),ue==="slice"&&(ve*=he,de*=he);const se=new Property(B,"refX",G),ge=new Property(B,"refY",Z),be=se.hasValue()&&ge.hasValue();if(be&&R.translate(-ae*se.getPixels("x"),-ae*ge.getPixels("y")),Q){const le=ae*te,pe=ae*re;R.beginPath(),R.moveTo(le,pe),R.lineTo(U,pe),R.lineTo(U,q),R.lineTo(le,q),R.closePath(),R.clip()}if(!be){const le=ue==="meet"&&ae===fe,pe=ue==="slice"&&he===fe,Se=ue==="meet"&&ae===ce,Ae=ue==="slice"&&he===ce;oe.startsWith("xMid")&&(le||pe)&&R.translate(U/2-ve/2,0),oe.endsWith("YMid")&&(Se||Ae)&&R.translate(0,q/2-de/2),oe.startsWith("xMax")&&(le||pe)&&R.translate(U-ve,0),oe.endsWith("YMax")&&(Se||Ae)&&R.translate(0,q-de)}switch(!0){case oe==="none":R.scale(ce,fe);break;case ue==="meet":R.scale(ae,ae);break;case ue==="slice":R.scale(he,he);break}R.translate(-W,-K)}start(D){let{enableRedraw:B=!1,ignoreMouse:R=!1,ignoreAnimation:F=!1,ignoreDimensions:U=!1,ignoreClear:Y=!1,forceRedraw:q,scaleWidth:X,scaleHeight:W,offsetX:K,offsetY:G}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{mouse:Z}=this,Q=1e3/Screen.FRAMERATE;if(this.frameDuration=Q,this.readyPromise=new Promise(ne=>{this.resolveReady=ne}),this.isReady()&&this.render(D,U,Y,X,W,K,G),!B)return;let te=Date.now(),re=te,J=0;const ie=()=>{te=Date.now(),J=te-re,J>=Q&&(re=te-J%Q,this.shouldUpdate(F,q)&&(this.render(D,U,Y,X,W,K,G),Z.runEvents())),this.intervalId=rafExports(ie)};R||Z.start(),this.intervalId=rafExports(ie)}stop(){this.intervalId&&(rafExports.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(D,B){if(!D){const{frameDuration:R}=this;if(this.animations.reduce((U,Y)=>Y.update(R)||U,!1))return!0}return!!(typeof B=="function"&&B()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(D,B,R,F,U,Y,q){const{viewPort:X,ctx:W,isFirstRender:K}=this,G=W.canvas;X.clear(),G.width&&G.height&&X.setCurrent(G.width,G.height);const Z=D.getStyle("width"),Q=D.getStyle("height");!B&&(K||typeof F!="number"&&typeof U!="number")&&(Z.hasValue()&&(G.width=Z.getPixels("x"),G.style&&(G.style.width="".concat(G.width,"px"))),Q.hasValue()&&(G.height=Q.getPixels("y"),G.style&&(G.style.height="".concat(G.height,"px"))));let te=G.clientWidth||G.width,re=G.clientHeight||G.height;if(B&&Z.hasValue()&&Q.hasValue()&&(te=Z.getPixels("x"),re=Q.getPixels("y")),X.setCurrent(te,re),typeof Y=="number"&&D.getAttribute("x",!0).setValue(Y),typeof q=="number"&&D.getAttribute("y",!0).setValue(q),typeof F=="number"||typeof U=="number"){const J=toNumbers(D.getAttribute("viewBox").getString());let ie=0,ne=0;if(typeof F=="number"){const ue=D.getStyle("width");ue.hasValue()?ie=ue.getPixels("x")/F:J[2]&&!isNaN(J[2])&&(ie=J[2]/F)}if(typeof U=="number"){const ue=D.getStyle("height");ue.hasValue()?ne=ue.getPixels("y")/U:J[3]&&!isNaN(J[3])&&(ne=J[3]/U)}ie||(ie=ne),ne||(ne=ie),D.getAttribute("width",!0).setValue(F),D.getAttribute("height",!0).setValue(U);const oe=D.getStyle("transform",!0,!0);oe.setValue("".concat(oe.getString()," scale(").concat(1/ie,", ").concat(1/ne,")"))}R||W.clearRect(0,0,te,re),D.render(W),K&&(this.isFirstRender=!1)}constructor(D,{fetch:B=defaultFetch$1,window:R=defaultWindow}={}){if(this.ctx=D,this.viewPort=new ViewPort,this.mouse=new Mouse(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=R,!B)throw new Error("Can't find 'fetch' in 'globalThis', please provide it via options");this.fetch=B}}Screen.defaultWindow=defaultWindow;Screen.defaultFetch=defaultFetch$1;Screen.FRAMERATE=30;Screen.MAX_VIRTUAL_PIXELS=3e4;const{defaultFetch}=Screen,DefaultDOMParser=typeof DOMParser<"u"?DOMParser:void 0;class Parser{async parse(D){return D.startsWith("<")?this.parseFromString(D):this.load(D)}parseFromString(D){const B=new this.DOMParser;try{return this.checkDocument(B.parseFromString(D,"image/svg+xml"))}catch{return this.checkDocument(B.parseFromString(D,"text/xml"))}}checkDocument(D){const B=D.getElementsByTagName("parsererror")[0];if(B)throw new Error(B.textContent||"Unknown parse error");return D}async load(D){const R=await(await this.fetch(D)).text();return this.parseFromString(R)}constructor({fetch:D=defaultFetch,DOMParser:B=DefaultDOMParser}={}){if(!D)throw new Error("Can't find 'fetch' in 'globalThis', please provide it via options");if(!B)throw new Error("Can't find 'DOMParser' in 'globalThis', please provide it via options");this.fetch=D,this.DOMParser=B}}class Translate{apply(D){const{x:B,y:R}=this.point;D.translate(B||0,R||0)}unapply(D){const{x:B,y:R}=this.point;D.translate(-1*B||0,-1*R||0)}applyToPoint(D){const{x:B,y:R}=this.point;D.applyTransform([1,0,0,1,B||0,R||0])}constructor(D,B){this.type="translate",this.point=Point.parse(B)}}class Rotate{apply(D){const{cx:B,cy:R,originX:F,originY:U,angle:Y}=this,q=B+F.getPixels("x"),X=R+U.getPixels("y");D.translate(q,X),D.rotate(Y.getRadians()),D.translate(-q,-X)}unapply(D){const{cx:B,cy:R,originX:F,originY:U,angle:Y}=this,q=B+F.getPixels("x"),X=R+U.getPixels("y");D.translate(q,X),D.rotate(-1*Y.getRadians()),D.translate(-q,-X)}applyToPoint(D){const{cx:B,cy:R,angle:F}=this,U=F.getRadians();D.applyTransform([1,0,0,1,B||0,R||0]),D.applyTransform([Math.cos(U),Math.sin(U),-Math.sin(U),Math.cos(U),0,0]),D.applyTransform([1,0,0,1,-B||0,-R||0])}constructor(D,B,R){this.type="rotate";const F=toNumbers(B);this.angle=new Property(D,"angle",F[0]),this.originX=R[0],this.originY=R[1],this.cx=F[1]||0,this.cy=F[2]||0}}class Scale{apply(D){const{scale:{x:B,y:R},originX:F,originY:U}=this,Y=F.getPixels("x"),q=U.getPixels("y");D.translate(Y,q),D.scale(B,R||B),D.translate(-Y,-q)}unapply(D){const{scale:{x:B,y:R},originX:F,originY:U}=this,Y=F.getPixels("x"),q=U.getPixels("y");D.translate(Y,q),D.scale(1/B,1/R||B),D.translate(-Y,-q)}applyToPoint(D){const{x:B,y:R}=this.scale;D.applyTransform([B||0,0,0,R||0,0,0])}constructor(D,B,R){this.type="scale";const F=Point.parseScale(B);(F.x===0||F.y===0)&&(F.x=PSEUDO_ZERO,F.y=PSEUDO_ZERO),this.scale=F,this.originX=R[0],this.originY=R[1]}}class Matrix{apply(D){const{originX:B,originY:R,matrix:F}=this,U=B.getPixels("x"),Y=R.getPixels("y");D.translate(U,Y),D.transform(F[0],F[1],F[2],F[3],F[4],F[5]),D.translate(-U,-Y)}unapply(D){const{originX:B,originY:R,matrix:F}=this,U=F[0],Y=F[2],q=F[4],X=F[1],W=F[3],K=F[5],G=0,Z=0,Q=1,te=1/(U*(W*Q-K*Z)-Y*(X*Q-K*G)+q*(X*Z-W*G)),re=B.getPixels("x"),J=R.getPixels("y");D.translate(re,J),D.transform(te*(W*Q-K*Z),te*(K*G-X*Q),te*(q*Z-Y*Q),te*(U*Q-q*G),te*(Y*K-q*W),te*(q*X-U*K)),D.translate(-re,-J)}applyToPoint(D){D.applyTransform(this.matrix)}constructor(D,B,R){this.type="matrix",this.matrix=toMatrixValue(B),this.originX=R[0],this.originY=R[1]}}class Skew extends Matrix{constructor(D,B,R){super(D,B,R),this.type="skew",this.angle=new Property(D,"angle",B)}}class SkewX extends Skew{constructor(D,B,R){super(D,B,R),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class SkewY extends Skew{constructor(D,B,R){super(D,B,R),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}function parseTransforms(j){return compressSpaces(j).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function parseTransform(j){const[D="",B=""]=j.split("(");return[D.trim(),B.trim().replace(")","")]}class Transform{static fromElement(D,B){const R=B.getStyle("transform",!1,!0);if(R.hasValue()){const[F,U=F]=B.getStyle("transform-origin",!1,!0).split();if(F&&U){const Y=[F,U];return new Transform(D,R.getString(),Y)}}return null}apply(D){this.transforms.forEach(B=>B.apply(D))}unapply(D){this.transforms.forEach(B=>B.unapply(D))}applyToPoint(D){this.transforms.forEach(B=>B.applyToPoint(D))}constructor(D,B,R){this.document=D,this.transforms=[],parseTransforms(B).forEach(U=>{if(U==="none")return;const[Y,q]=parseTransform(U),X=Transform.transformTypes[Y];X&&this.transforms.push(new X(this.document,q,R))})}}Transform.transformTypes={translate:Translate,rotate:Rotate,scale:Scale,matrix:Matrix,skewX:SkewX,skewY:SkewY};let Element$1=class{getAttribute(D){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const R=this.attributes[D];if(!R&&B){const F=new Property(this.document,D,"");return this.attributes[D]=F,F}return R||Property.empty(this.document)}getHrefAttribute(){let D;for(const B in this.attributes)if(B==="href"||B.endsWith(":href")){D=this.attributes[B];break}return D||Property.empty(this.document)}getStyle(D){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const F=this.styles[D];if(F)return F;const U=this.getAttribute(D);if(U.hasValue())return this.styles[D]=U,U;if(!R){const{parent:Y}=this;if(Y){const q=Y.getStyle(D);if(q.hasValue())return q}}if(B){const Y=new Property(this.document,D,"");return this.styles[D]=Y,Y}return Property.empty(this.document)}render(D){if(!(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")){if(D.save(),this.getStyle("mask").hasValue()){const B=this.getStyle("mask").getDefinition();B&&(this.applyEffects(D),B.apply(D,this))}else if(this.getStyle("filter").getValue("none")!=="none"){const B=this.getStyle("filter").getDefinition();B&&(this.applyEffects(D),B.apply(D,this))}else this.setContext(D),this.renderChildren(D),this.clearContext(D);D.restore()}}setContext(D){}applyEffects(D){const B=Transform.fromElement(this.document,this);B&&B.apply(D);const R=this.getStyle("clip-path",!1,!0);if(R.hasValue()){const F=R.getDefinition();F&&F.apply(D)}}clearContext(D){}renderChildren(D){this.children.forEach(B=>{B.render(D)})}addChild(D){const B=D instanceof Element$1?D:this.document.createElement(D);B.parent=this,Element$1.ignoreChildTypes.includes(B.type)||this.children.push(B)}matchesSelector(D){var B;const{node:R}=this;if(typeof R.matches=="function")return R.matches(D);const F=(B=R.getAttribute)===null||B===void 0?void 0:B.call(R,"class");return!F||F===""?!1:F.split(" ").some(U=>".".concat(U)===D)}addStylesFromStyleDefinition(){const{styles:D,stylesSpecificity:B}=this.document;let R;for(const F in D)if(!F.startsWith("@")&&this.matchesSelector(F)){const U=D[F],Y=B[F];if(U)for(const q in U){let X=this.stylesSpecificity[q];typeof X>"u"&&(X="000"),Y&&Y>=X&&(R=U[q],R&&(this.styles[q]=R),this.stylesSpecificity[q]=Y)}}}removeStyles(D,B){return B.reduce((F,U)=>{const Y=D.getStyle(U);if(!Y.hasValue())return F;const q=Y.getString();return Y.setValue(""),[...F,[U,q]]},[])}restoreStyles(D,B){B.forEach(R=>{let[F,U]=R;D.getStyle(F,!0).setValue(U)})}isFirstChild(){var D;return((D=this.parent)===null||D===void 0?void 0:D.children.indexOf(this))===0}constructor(D,B,R=!1){if(this.document=D,this.node=B,this.captureTextNodes=R,this.type="",this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!B||B.nodeType!==1)return;Array.from(B.attributes).forEach(Y=>{const q=normalizeAttributeName(Y.nodeName);this.attributes[q]=new Property(D,q,Y.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()&&this.getAttribute("style").getString().split(";").map(q=>q.trim()).forEach(q=>{if(!q)return;const[X,W]=q.split(":").map(K=>K.trim());X&&(this.styles[X]=new Property(D,X,W))});const{definitions:F}=D,U=this.getAttribute("id");U.hasValue()&&(F[U.getString()]||(F[U.getString()]=this)),Array.from(B.childNodes).forEach(Y=>{if(Y.nodeType===1)this.addChild(Y);else if(R&&(Y.nodeType===3||Y.nodeType===4)){const q=D.createTextNode(Y);q.getText().length>0&&this.addChild(q)}})}};Element$1.ignoreChildTypes=["title"];class UnknownElement extends Element$1{constructor(D,B,R){super(D,B,R)}}function wrapFontFamily(j){const D=j.trim();return/^('|")/.test(D)?D:'"'.concat(D,'"')}function prepareFontFamily(j){return typeof process>"u"?j:j.trim().split(",").map(wrapFontFamily).join(",")}function prepareFontStyle(j){if(!j)return"";const D=j.trim().toLowerCase();switch(D){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return D;default:return/^oblique\s+(-|)\d+deg$/.test(D)?D:""}}function prepareFontWeight(j){if(!j)return"";const D=j.trim().toLowerCase();switch(D){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return D;default:return/^[\d.]+$/.test(D)?D:""}}class Font{static parse(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",B=arguments.length>1?arguments[1]:void 0,R="",F="",U="",Y="",q="";const X=compressSpaces(D).trim().split(" "),W={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return X.forEach(K=>{switch(!0){case(!W.fontStyle&&Font.styles.includes(K)):K!=="inherit"&&(R=K),W.fontStyle=!0;break;case(!W.fontVariant&&Font.variants.includes(K)):K!=="inherit"&&(F=K),W.fontStyle=!0,W.fontVariant=!0;break;case(!W.fontWeight&&Font.weights.includes(K)):K!=="inherit"&&(U=K),W.fontStyle=!0,W.fontVariant=!0,W.fontWeight=!0;break;case!W.fontSize:K!=="inherit"&&(Y=K.split("/")[0]||""),W.fontStyle=!0,W.fontVariant=!0,W.fontWeight=!0,W.fontSize=!0;break;default:K!=="inherit"&&(q+=K)}}),new Font(R,F,U,Y,q,B)}toString(){return[prepareFontStyle(this.fontStyle),this.fontVariant,prepareFontWeight(this.fontWeight),this.fontSize,prepareFontFamily(this.fontFamily)].join(" ").trim()}constructor(D,B,R,F,U,Y){const q=Y?typeof Y=="string"?Font.parse(Y):Y:{};this.fontFamily=U||q.fontFamily,this.fontSize=F||q.fontSize,this.fontStyle=D||q.fontStyle,this.fontWeight=R||q.fontWeight,this.fontVariant=B||q.fontVariant}}Font.styles="normal|italic|oblique|inherit";Font.variants="normal|small-caps|inherit";Font.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class BoundingBox{get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(D,B){typeof D<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=D,this.x2=D),D<this.x1&&(this.x1=D),D>this.x2&&(this.x2=D)),typeof B<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=B,this.y2=B),B<this.y1&&(this.y1=B),B>this.y2&&(this.y2=B))}addX(D){this.addPoint(D,0)}addY(D){this.addPoint(0,D)}addBoundingBox(D){if(!D)return;const{x1:B,y1:R,x2:F,y2:U}=D;this.addPoint(B,R),this.addPoint(F,U)}sumCubic(D,B,R,F,U){return Math.pow(1-D,3)*B+3*Math.pow(1-D,2)*D*R+3*(1-D)*Math.pow(D,2)*F+Math.pow(D,3)*U}bezierCurveAdd(D,B,R,F,U){const Y=6*B-12*R+6*F,q=-3*B+9*R-9*F+3*U,X=3*R-3*B;if(q===0){if(Y===0)return;const Z=-X/Y;0<Z&&Z<1&&(D?this.addX(this.sumCubic(Z,B,R,F,U)):this.addY(this.sumCubic(Z,B,R,F,U)));return}const W=Math.pow(Y,2)-4*X*q;if(W<0)return;const K=(-Y+Math.sqrt(W))/(2*q);0<K&&K<1&&(D?this.addX(this.sumCubic(K,B,R,F,U)):this.addY(this.sumCubic(K,B,R,F,U)));const G=(-Y-Math.sqrt(W))/(2*q);0<G&&G<1&&(D?this.addX(this.sumCubic(G,B,R,F,U)):this.addY(this.sumCubic(G,B,R,F,U)))}addBezierCurve(D,B,R,F,U,Y,q,X){this.addPoint(D,B),this.addPoint(q,X),this.bezierCurveAdd(!0,D,R,U,q),this.bezierCurveAdd(!1,B,F,Y,X)}addQuadraticCurve(D,B,R,F,U,Y){const q=D+.6666666666666666*(R-D),X=B+2/3*(F-B),W=q+1/3*(U-D),K=X+1/3*(Y-B);this.addBezierCurve(D,B,q,W,X,K,U,Y)}isPointInBox(D,B){const{x1:R,y1:F,x2:U,y2:Y}=this;return R<=D&&D<=U&&F<=B&&B<=Y}constructor(D=Number.NaN,B=Number.NaN,R=Number.NaN,F=Number.NaN){this.x1=D,this.y1=B,this.x2=R,this.y2=F,this.addPoint(D,B),this.addPoint(R,F)}}class RenderedElement extends Element$1{calculateOpacity(){let D=1,B=this;for(;B;){const R=B.getStyle("opacity",!1,!0);R.hasValue(!0)&&(D*=R.getNumber()),B=B.parent}return D}setContext(D){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!B){const R=this.getStyle("fill"),F=this.getStyle("fill-opacity"),U=this.getStyle("stroke"),Y=this.getStyle("stroke-opacity");if(R.isUrlDefinition()){const Q=R.getFillStyleDefinition(this,F);Q&&(D.fillStyle=Q)}else if(R.hasValue()){R.getString()==="currentColor"&&R.setValue(this.getStyle("color").getColor());const Q=R.getColor();Q!=="inherit"&&(D.fillStyle=Q==="none"?"rgba(0,0,0,0)":Q)}if(F.hasValue()){const Q=new Property(this.document,"fill",D.fillStyle).addOpacity(F).getColor();D.fillStyle=Q}if(U.isUrlDefinition()){const Q=U.getFillStyleDefinition(this,Y);Q&&(D.strokeStyle=Q)}else if(U.hasValue()){U.getString()==="currentColor"&&U.setValue(this.getStyle("color").getColor());const Q=U.getString();Q!=="inherit"&&(D.strokeStyle=Q==="none"?"rgba(0,0,0,0)":Q)}if(Y.hasValue()){const Q=new Property(this.document,"stroke",D.strokeStyle).addOpacity(Y).getString();D.strokeStyle=Q}const q=this.getStyle("stroke-width");if(q.hasValue()){const Q=q.getPixels();D.lineWidth=Q||PSEUDO_ZERO}const X=this.getStyle("stroke-linecap"),W=this.getStyle("stroke-linejoin"),K=this.getStyle("stroke-miterlimit"),G=this.getStyle("stroke-dasharray"),Z=this.getStyle("stroke-dashoffset");if(X.hasValue()&&(D.lineCap=X.getString()),W.hasValue()&&(D.lineJoin=W.getString()),K.hasValue()&&(D.miterLimit=K.getNumber()),G.hasValue()&&G.getString()!=="none"){const Q=toNumbers(G.getString());typeof D.setLineDash<"u"?D.setLineDash(Q):typeof D.webkitLineDash<"u"?D.webkitLineDash=Q:typeof D.mozDash<"u"&&!(Q.length===1&&Q[0]===0)&&(D.mozDash=Q);const te=Z.getPixels();typeof D.lineDashOffset<"u"?D.lineDashOffset=te:typeof D.webkitLineDashOffset<"u"?D.webkitLineDashOffset=te:typeof D.mozDashOffset<"u"&&(D.mozDashOffset=te)}}if(this.modifiedEmSizeStack=!1,typeof D.font<"u"){const R=this.getStyle("font"),F=this.getStyle("font-style"),U=this.getStyle("font-variant"),Y=this.getStyle("font-weight"),q=this.getStyle("font-size"),X=this.getStyle("font-family"),W=new Font(F.getString(),U.getString(),Y.getString(),q.hasValue()?"".concat(q.getPixels(!0),"px"):"",X.getString(),Font.parse(R.getString(),D.font));F.setValue(W.fontStyle),U.setValue(W.fontVariant),Y.setValue(W.fontWeight),q.setValue(W.fontSize),X.setValue(W.fontFamily),D.font=W.toString(),q.isPixels()&&(this.document.emSize=q.getPixels(),this.modifiedEmSizeStack=!0)}B||(this.applyEffects(D),D.globalAlpha=this.calculateOpacity())}clearContext(D){super.clearContext(D),this.modifiedEmSizeStack&&this.document.popEmSize()}constructor(...D){super(...D),this.modifiedEmSizeStack=!1}}class TextElement extends RenderedElement{setContext(D){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super.setContext(D,B);const R=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();R&&(D.textBaseline=R)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(D){if(this.type!=="text")return this.getTElementBoundingBox(D);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(D);let B=null;return this.children.forEach((R,F)=>{const U=this.getChildBoundingBox(D,this,this,F);B?B.addBoundingBox(U):B=U}),B}getFontSize(){const{document:D,parent:B}=this,R=Font.parse(D.ctx.font).fontSize;return B.getStyle("font-size").getNumber(R)}getTElementBoundingBox(D){const B=this.getFontSize();return new BoundingBox(this.x,this.y-B,this.x+this.measureText(D),this.y)}getGlyph(D,B,R){const F=B[R];let U;if(D.isArabic){var Y;const q=B.length,X=B[R-1],W=B[R+1];let K="isolated";(R===0||X===" ")&&R<q-1&&W!==" "&&(K="terminal"),R>0&&X!==" "&&R<q-1&&W!==" "&&(K="medial"),R>0&&X!==" "&&(R===q-1||W===" ")&&(K="initial"),U=((Y=D.arabicGlyphs[F])===null||Y===void 0?void 0:Y[K])||D.glyphs[F]}else U=D.glyphs[F];return U||(U=D.missingGlyph),U}getText(){return""}getTextFromNode(D){const B=D||this.node,R=Array.from(B.parentNode.childNodes),F=R.indexOf(B),U=R.length-1;let Y=compressSpaces(B.textContent||"");return F===0&&(Y=trimLeft(Y)),F===U&&(Y=trimRight(Y)),Y}renderChildren(D){if(this.type!=="text"){this.renderTElementChildren(D);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(D),this.children.forEach((R,F)=>{this.renderChild(D,this,this,F)});const{mouse:B}=this.document.screen;B.isWorking()&&B.checkBoundingBox(this,this.getBoundingBox(D))}renderTElementChildren(D){const{document:B,parent:R}=this,F=this.getText(),U=R.getStyle("font-family").getDefinition();if(U){const{unitsPerEm:X}=U.fontFace,W=Font.parse(B.ctx.font),K=R.getStyle("font-size").getNumber(W.fontSize),G=R.getStyle("font-style").getString(W.fontStyle),Z=K/X,Q=U.isRTL?F.split("").reverse().join(""):F,te=toNumbers(R.getAttribute("dx").getString()),re=Q.length;for(let J=0;J<re;J++){const ie=this.getGlyph(U,Q,J);D.translate(this.x,this.y),D.scale(Z,-Z);const ne=D.lineWidth;D.lineWidth=D.lineWidth*X/K,G==="italic"&&D.transform(1,0,.4,1,0,0),ie.render(D),G==="italic"&&D.transform(1,0,-.4,1,0,0),D.lineWidth=ne,D.scale(1/Z,-1/Z),D.translate(-this.x,-this.y),this.x+=K*(ie.horizAdvX||U.horizAdvX)/X,typeof te[J]<"u"&&!isNaN(te[J])&&(this.x+=te[J])}return}const{x:Y,y:q}=this;D.fillStyle&&D.fillText(F,Y,q),D.strokeStyle&&D.strokeText(F,Y,q)}applyAnchoring(){if(this.textChunkStart>=this.leafTexts.length)return;const D=this.leafTexts[this.textChunkStart],B=D.getStyle("text-anchor").getString("start"),R=!1;let F=0;B==="start"&&!R||B==="end"&&R?F=D.x-this.minX:B==="end"&&!R||B==="start"&&R?F=D.x-this.maxX:F=D.x-(this.minX+this.maxX)/2;for(let U=this.textChunkStart;U<this.leafTexts.length;U++)this.leafTexts[U].x+=F;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}adjustChildCoordinatesRecursive(D){this.children.forEach((B,R)=>{this.adjustChildCoordinatesRecursiveCore(D,this,this,R)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(D,B,R,F){const U=R.children[F];U.children.length>0?U.children.forEach((Y,q)=>{B.adjustChildCoordinatesRecursiveCore(D,B,U,q)}):this.adjustChildCoordinates(D,B,R,F)}adjustChildCoordinates(D,B,R,F){const U=R.children[F];if(typeof U.measureText!="function")return U;D.save(),U.setContext(D,!0);const Y=U.getAttribute("x"),q=U.getAttribute("y"),X=U.getAttribute("dx"),W=U.getAttribute("dy"),K=U.getStyle("font-family").getDefinition(),G=Boolean(K==null?void 0:K.isRTL);F===0&&(Y.hasValue()||Y.setValue(U.getInheritedAttribute("x")),q.hasValue()||q.setValue(U.getInheritedAttribute("y")),X.hasValue()||X.setValue(U.getInheritedAttribute("dx")),W.hasValue()||W.setValue(U.getInheritedAttribute("dy")));const Z=U.measureText(D);return G&&(B.x-=Z),Y.hasValue()?(B.applyAnchoring(),U.x=Y.getPixels("x"),X.hasValue()&&(U.x+=X.getPixels("x"))):(X.hasValue()&&(B.x+=X.getPixels("x")),U.x=B.x),B.x=U.x,G||(B.x+=Z),q.hasValue()?(U.y=q.getPixels("y"),W.hasValue()&&(U.y+=W.getPixels("y"))):(W.hasValue()&&(B.y+=W.getPixels("y")),U.y=B.y),B.y=U.y,B.leafTexts.push(U),B.minX=Math.min(B.minX,U.x,U.x+Z),B.maxX=Math.max(B.maxX,U.x,U.x+Z),U.clearContext(D),D.restore(),U}getChildBoundingBox(D,B,R,F){const U=R.children[F];if(typeof U.getBoundingBox!="function")return null;const Y=U.getBoundingBox(D);return Y&&U.children.forEach((q,X)=>{const W=B.getChildBoundingBox(D,B,U,X);Y.addBoundingBox(W)}),Y}renderChild(D,B,R,F){const U=R.children[F];U.render(D),U.children.forEach((Y,q)=>{B.renderChild(D,B,U,q)})}measureText(D){const{measureCache:B}=this;if(~B)return B;const R=this.getText(),F=this.measureTargetText(D,R);return this.measureCache=F,F}measureTargetText(D,B){if(!B.length)return 0;const{parent:R}=this,F=R.getStyle("font-family").getDefinition();if(F){const Y=this.getFontSize(),q=F.isRTL?B.split("").reverse().join(""):B,X=toNumbers(R.getAttribute("dx").getString()),W=q.length;let K=0;for(let G=0;G<W;G++){const Z=this.getGlyph(F,q,G);K+=(Z.horizAdvX||F.horizAdvX)*Y/F.fontFace.unitsPerEm,typeof X[G]<"u"&&!isNaN(X[G])&&(K+=X[G])}return K}if(!D.measureText)return B.length*10;D.save(),this.setContext(D,!0);const{width:U}=D.measureText(B);return this.clearContext(D),D.restore(),U}getInheritedAttribute(D){let B=this;for(;B instanceof TextElement&&B.isFirstChild()&&B.parent;){const R=B.parent.getAttribute(D);if(R.hasValue(!0))return R.getString("0");B=B.parent}return null}constructor(D,B,R){super(D,B,new.target===TextElement?!0:R),this.type="text",this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.measureCache=-1}}class TSpanElement extends TextElement{getText(){return this.text}constructor(D,B,R){super(D,B,new.target===TSpanElement?!0:R),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}}class TextNode extends TSpanElement{constructor(...D){super(...D),this.type="textNode"}}class PathParser extends _{reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new Point(0,0),this.control=new Point(0,0),this.current=new Point(0,0),this.points=[],this.angles=[]}isEnd(){const{i:D,commands:B}=this;return D>=B.length-1}next(){const D=this.commands[++this.i];return this.previousCommand=this.command,this.command=D,D}getPoint(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y";const R=new Point(this.command[D],this.command[B]);return this.makeAbsolute(R)}getAsControlPoint(D,B){const R=this.getPoint(D,B);return this.control=R,R}getAsCurrentPoint(D,B){const R=this.getPoint(D,B);return this.current=R,R}getReflectedControlPoint(){const D=this.previousCommand.type;if(D!==_.CURVE_TO&&D!==_.SMOOTH_CURVE_TO&&D!==_.QUAD_TO&&D!==_.SMOOTH_QUAD_TO)return this.current;const{current:{x:B,y:R},control:{x:F,y:U}}=this;return new Point(2*B-F,2*R-U)}makeAbsolute(D){if(this.command.relative){const{x:B,y:R}=this.current;D.x+=B,D.y+=R}return D}addMarker(D,B,R){const{points:F,angles:U}=this;R&&U.length>0&&!U[U.length-1]&&(U[U.length-1]=F[F.length-1].angleTo(R)),this.addMarkerAngle(D,B?B.angleTo(D):null)}addMarkerAngle(D,B){this.points.push(D),this.angles.push(B)}getMarkerPoints(){return this.points}getMarkerAngles(){const{angles:D}=this,B=D.length;for(let R=0;R<B;R++)if(!D[R]){for(let F=R+1;F<B;F++)if(D[F]){D[R]=D[F];break}}return D}constructor(D){super(D.replace(/([+\-.])\s+/gm,"$1").replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,"")),this.control=new Point(0,0),this.start=new Point(0,0),this.current=new Point(0,0),this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}}class PathElement extends RenderedElement{path(D){const{pathParser:B}=this,R=new BoundingBox;for(B.reset(),D&&D.beginPath();!B.isEnd();)switch(B.next().type){case PathParser.MOVE_TO:this.pathM(D,R);break;case PathParser.LINE_TO:this.pathL(D,R);break;case PathParser.HORIZ_LINE_TO:this.pathH(D,R);break;case PathParser.VERT_LINE_TO:this.pathV(D,R);break;case PathParser.CURVE_TO:this.pathC(D,R);break;case PathParser.SMOOTH_CURVE_TO:this.pathS(D,R);break;case PathParser.QUAD_TO:this.pathQ(D,R);break;case PathParser.SMOOTH_QUAD_TO:this.pathT(D,R);break;case PathParser.ARC:this.pathA(D,R);break;case PathParser.CLOSE_PATH:this.pathZ(D,R);break}return R}getBoundingBox(D){return this.path()}getMarkers(){const{pathParser:D}=this,B=D.getMarkerPoints(),R=D.getMarkerAngles();return B.map((U,Y)=>[U,R[Y]])}renderChildren(D){this.path(D),this.document.screen.mouse.checkPath(this,D);const B=this.getStyle("fill-rule");D.fillStyle!==""&&(B.getString("inherit")!=="inherit"?D.fill(B.getString()):D.fill()),D.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(D.save(),D.setTransform(1,0,0,1,0,0),D.stroke(),D.restore()):D.stroke());const R=this.getMarkers();if(R){const F=R.length-1,U=this.getStyle("marker-start"),Y=this.getStyle("marker-mid"),q=this.getStyle("marker-end");if(U.isUrlDefinition()){const X=U.getDefinition(),[W,K]=R[0];X.render(D,W,K)}if(Y.isUrlDefinition()){const X=Y.getDefinition();for(let W=1;W<F;W++){const[K,G]=R[W];X.render(D,K,G)}}if(q.isUrlDefinition()){const X=q.getDefinition(),[W,K]=R[F];X.render(D,W,K)}}}static pathM(D){const B=D.getAsCurrentPoint();return D.start=D.current,{point:B}}pathM(D,B){const{pathParser:R}=this,{point:F}=PathElement.pathM(R),{x:U,y:Y}=F;R.addMarker(F),B.addPoint(U,Y),D&&D.moveTo(U,Y)}static pathL(D){const{current:B}=D,R=D.getAsCurrentPoint();return{current:B,point:R}}pathL(D,B){const{pathParser:R}=this,{current:F,point:U}=PathElement.pathL(R),{x:Y,y:q}=U;R.addMarker(U,F),B.addPoint(Y,q),D&&D.lineTo(Y,q)}static pathH(D){const{current:B,command:R}=D,F=new Point((R.relative?B.x:0)+R.x,B.y);return D.current=F,{current:B,point:F}}pathH(D,B){const{pathParser:R}=this,{current:F,point:U}=PathElement.pathH(R),{x:Y,y:q}=U;R.addMarker(U,F),B.addPoint(Y,q),D&&D.lineTo(Y,q)}static pathV(D){const{current:B,command:R}=D,F=new Point(B.x,(R.relative?B.y:0)+R.y);return D.current=F,{current:B,point:F}}pathV(D,B){const{pathParser:R}=this,{current:F,point:U}=PathElement.pathV(R),{x:Y,y:q}=U;R.addMarker(U,F),B.addPoint(Y,q),D&&D.lineTo(Y,q)}static pathC(D){const{current:B}=D,R=D.getPoint("x1","y1"),F=D.getAsControlPoint("x2","y2"),U=D.getAsCurrentPoint();return{current:B,point:R,controlPoint:F,currentPoint:U}}pathC(D,B){const{pathParser:R}=this,{current:F,point:U,controlPoint:Y,currentPoint:q}=PathElement.pathC(R);R.addMarker(q,Y,U),B.addBezierCurve(F.x,F.y,U.x,U.y,Y.x,Y.y,q.x,q.y),D&&D.bezierCurveTo(U.x,U.y,Y.x,Y.y,q.x,q.y)}static pathS(D){const{current:B}=D,R=D.getReflectedControlPoint(),F=D.getAsControlPoint("x2","y2"),U=D.getAsCurrentPoint();return{current:B,point:R,controlPoint:F,currentPoint:U}}pathS(D,B){const{pathParser:R}=this,{current:F,point:U,controlPoint:Y,currentPoint:q}=PathElement.pathS(R);R.addMarker(q,Y,U),B.addBezierCurve(F.x,F.y,U.x,U.y,Y.x,Y.y,q.x,q.y),D&&D.bezierCurveTo(U.x,U.y,Y.x,Y.y,q.x,q.y)}static pathQ(D){const{current:B}=D,R=D.getAsControlPoint("x1","y1"),F=D.getAsCurrentPoint();return{current:B,controlPoint:R,currentPoint:F}}pathQ(D,B){const{pathParser:R}=this,{current:F,controlPoint:U,currentPoint:Y}=PathElement.pathQ(R);R.addMarker(Y,U,U),B.addQuadraticCurve(F.x,F.y,U.x,U.y,Y.x,Y.y),D&&D.quadraticCurveTo(U.x,U.y,Y.x,Y.y)}static pathT(D){const{current:B}=D,R=D.getReflectedControlPoint();D.control=R;const F=D.getAsCurrentPoint();return{current:B,controlPoint:R,currentPoint:F}}pathT(D,B){const{pathParser:R}=this,{current:F,controlPoint:U,currentPoint:Y}=PathElement.pathT(R);R.addMarker(Y,U,U),B.addQuadraticCurve(F.x,F.y,U.x,U.y,Y.x,Y.y),D&&D.quadraticCurveTo(U.x,U.y,Y.x,Y.y)}static pathA(D){const{current:B,command:R}=D;let{rX:F,rY:U,xRot:Y,lArcFlag:q,sweepFlag:X}=R;const W=Y*(Math.PI/180),K=D.getAsCurrentPoint(),G=new Point(Math.cos(W)*(B.x-K.x)/2+Math.sin(W)*(B.y-K.y)/2,-Math.sin(W)*(B.x-K.x)/2+Math.cos(W)*(B.y-K.y)/2),Z=Math.pow(G.x,2)/Math.pow(F,2)+Math.pow(G.y,2)/Math.pow(U,2);Z>1&&(F*=Math.sqrt(Z),U*=Math.sqrt(Z));let Q=(q===X?-1:1)*Math.sqrt((Math.pow(F,2)*Math.pow(U,2)-Math.pow(F,2)*Math.pow(G.y,2)-Math.pow(U,2)*Math.pow(G.x,2))/(Math.pow(F,2)*Math.pow(G.y,2)+Math.pow(U,2)*Math.pow(G.x,2)));isNaN(Q)&&(Q=0);const te=new Point(Q*F*G.y/U,Q*-U*G.x/F),re=new Point((B.x+K.x)/2+Math.cos(W)*te.x-Math.sin(W)*te.y,(B.y+K.y)/2+Math.sin(W)*te.x+Math.cos(W)*te.y),J=vectorsAngle([1,0],[(G.x-te.x)/F,(G.y-te.y)/U]),ie=[(G.x-te.x)/F,(G.y-te.y)/U],ne=[(-G.x-te.x)/F,(-G.y-te.y)/U];let oe=vectorsAngle(ie,ne);return vectorsRatio(ie,ne)<=-1&&(oe=Math.PI),vectorsRatio(ie,ne)>=1&&(oe=0),{currentPoint:K,rX:F,rY:U,sweepFlag:X,xAxisRotation:W,centp:re,a1:J,ad:oe}}pathA(D,B){const{pathParser:R}=this,{currentPoint:F,rX:U,rY:Y,sweepFlag:q,xAxisRotation:X,centp:W,a1:K,ad:G}=PathElement.pathA(R),Z=1-q?1:-1,Q=K+Z*(G/2),te=new Point(W.x+U*Math.cos(Q),W.y+Y*Math.sin(Q));if(R.addMarkerAngle(te,Q-Z*Math.PI/2),R.addMarkerAngle(F,Q-Z*Math.PI),B.addPoint(F.x,F.y),D&&!isNaN(K)&&!isNaN(G)){const re=U>Y?U:Y,J=U>Y?1:U/Y,ie=U>Y?Y/U:1;D.translate(W.x,W.y),D.rotate(X),D.scale(J,ie),D.arc(0,0,re,K,K+G,Boolean(1-q)),D.scale(1/J,1/ie),D.rotate(-X),D.translate(-W.x,-W.y)}}static pathZ(D){D.current=D.start}pathZ(D,B){PathElement.pathZ(this.pathParser),D&&B.x1!==B.x2&&B.y1!==B.y2&&D.closePath()}constructor(D,B,R){super(D,B,R),this.type="path",this.pathParser=new PathParser(this.getAttribute("d").getString())}}class SVGElement extends RenderedElement{setContext(D){var B;const{document:R}=this,{screen:F,window:U}=R,Y=D.canvas;if(F.setDefaults(D),"style"in Y&&typeof D.font<"u"&&U&&typeof U.getComputedStyle<"u"){D.font=U.getComputedStyle(Y).getPropertyValue("font");const ne=new Property(R,"fontSize",Font.parse(D.font).fontSize);ne.hasValue()&&(R.rootEmSize=ne.getPixels("y"),R.emSize=R.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);let{width:q,height:X}=F.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");const W=this.getAttribute("refX"),K=this.getAttribute("refY"),G=this.getAttribute("viewBox"),Z=G.hasValue()?toNumbers(G.getString()):null,Q=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible";let te=0,re=0,J=0,ie=0;Z&&(te=Z[0],re=Z[1]),this.root||(q=this.getStyle("width").getPixels("x"),X=this.getStyle("height").getPixels("y"),this.type==="marker"&&(J=te,ie=re,te=0,re=0)),F.viewPort.setCurrent(q,X),this.node&&(!this.parent||((B=this.node.parentNode)===null||B===void 0?void 0:B.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(D),D.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),Z&&(q=Z[2],X=Z[3]),R.setViewBox({ctx:D,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:F.viewPort.width,desiredWidth:q,height:F.viewPort.height,desiredHeight:X,minX:te,minY:re,refX:W.getValue(),refY:K.getValue(),clip:Q,clipX:J,clipY:ie}),Z&&(F.viewPort.removeCurrent(),F.viewPort.setCurrent(q,X))}clearContext(D){super.clearContext(D),this.document.screen.viewPort.removeCurrent()}resize(D){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:D,R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const F=this.getAttribute("width",!0),U=this.getAttribute("height",!0),Y=this.getAttribute("viewBox"),q=this.getAttribute("style"),X=F.getNumber(0),W=U.getNumber(0);if(R)if(typeof R=="string")this.getAttribute("preserveAspectRatio",!0).setValue(R);else{const K=this.getAttribute("preserveAspectRatio");K.hasValue()&&K.setValue(K.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(F.setValue(D),U.setValue(B),Y.hasValue()||Y.setValue("0 0 ".concat(X||D," ").concat(W||B)),q.hasValue()){const K=this.getStyle("width"),G=this.getStyle("height");K.hasValue()&&K.setValue("".concat(D,"px")),G.hasValue()&&G.setValue("".concat(B,"px"))}}constructor(...D){super(...D),this.type="svg",this.root=!1}}class RectElement extends PathElement{path(D){const B=this.getAttribute("x").getPixels("x"),R=this.getAttribute("y").getPixels("y"),F=this.getStyle("width",!1,!0).getPixels("x"),U=this.getStyle("height",!1,!0).getPixels("y"),Y=this.getAttribute("rx"),q=this.getAttribute("ry");let X=Y.getPixels("x"),W=q.getPixels("y");if(Y.hasValue()&&!q.hasValue()&&(W=X),q.hasValue()&&!Y.hasValue()&&(X=W),X=Math.min(X,F/2),W=Math.min(W,U/2),D){const K=4*((Math.sqrt(2)-1)/3);D.beginPath(),U>0&&F>0&&(D.moveTo(B+X,R),D.lineTo(B+F-X,R),D.bezierCurveTo(B+F-X+K*X,R,B+F,R+W-K*W,B+F,R+W),D.lineTo(B+F,R+U-W),D.bezierCurveTo(B+F,R+U-W+K*W,B+F-X+K*X,R+U,B+F-X,R+U),D.lineTo(B+X,R+U),D.bezierCurveTo(B+X-K*X,R+U,B,R+U-W+K*W,B,R+U-W),D.lineTo(B,R+W),D.bezierCurveTo(B,R+W-K*W,B+X-K*X,R,B+X,R),D.closePath())}return new BoundingBox(B,R,B+F,R+U)}getMarkers(){return null}constructor(...D){super(...D),this.type="rect"}}class CircleElement extends PathElement{path(D){const B=this.getAttribute("cx").getPixels("x"),R=this.getAttribute("cy").getPixels("y"),F=this.getAttribute("r").getPixels();return D&&F>0&&(D.beginPath(),D.arc(B,R,F,0,Math.PI*2,!1),D.closePath()),new BoundingBox(B-F,R-F,B+F,R+F)}getMarkers(){return null}constructor(...D){super(...D),this.type="circle"}}class EllipseElement extends PathElement{path(D){const B=4*((Math.sqrt(2)-1)/3),R=this.getAttribute("rx").getPixels("x"),F=this.getAttribute("ry").getPixels("y"),U=this.getAttribute("cx").getPixels("x"),Y=this.getAttribute("cy").getPixels("y");return D&&R>0&&F>0&&(D.beginPath(),D.moveTo(U+R,Y),D.bezierCurveTo(U+R,Y+B*F,U+B*R,Y+F,U,Y+F),D.bezierCurveTo(U-B*R,Y+F,U-R,Y+B*F,U-R,Y),D.bezierCurveTo(U-R,Y-B*F,U-B*R,Y-F,U,Y-F),D.bezierCurveTo(U+B*R,Y-F,U+R,Y-B*F,U+R,Y),D.closePath()),new BoundingBox(U-R,Y-F,U+R,Y+F)}getMarkers(){return null}constructor(...D){super(...D),this.type="ellipse"}}class LineElement extends PathElement{getPoints(){return[new Point(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Point(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(D){const[{x:B,y:R},{x:F,y:U}]=this.getPoints();return D&&(D.beginPath(),D.moveTo(B,R),D.lineTo(F,U)),new BoundingBox(B,R,F,U)}getMarkers(){const[D,B]=this.getPoints(),R=D.angleTo(B);return[[D,R],[B,R]]}constructor(...D){super(...D),this.type="line"}}class PolylineElement extends PathElement{path(D){const{points:B}=this,[{x:R,y:F}]=B,U=new BoundingBox(R,F);return D&&(D.beginPath(),D.moveTo(R,F)),B.forEach(Y=>{let{x:q,y:X}=Y;U.addPoint(q,X),D&&D.lineTo(q,X)}),U}getMarkers(){const{points:D}=this,B=D.length-1,R=[];return D.forEach((F,U)=>{U!==B&&R.push([F,F.angleTo(D[U+1])])}),R.length>0&&R.push([D[D.length-1],R[R.length-1][1]]),R}constructor(D,B,R){super(D,B,R),this.type="polyline",this.points=[],this.points=Point.parsePath(this.getAttribute("points").getString())}}class PolygonElement extends PolylineElement{path(D){const B=super.path(D),[{x:R,y:F}]=this.points;return D&&(D.lineTo(R,F),D.closePath()),B}constructor(...D){super(...D),this.type="polygon"}}class PatternElement extends Element$1{createPattern(D,B,R){const F=this.getStyle("width").getPixels("x",!0),U=this.getStyle("height").getPixels("y",!0),Y=new SVGElement(this.document,null);Y.attributes.viewBox=new Property(this.document,"viewBox",this.getAttribute("viewBox").getValue()),Y.attributes.width=new Property(this.document,"width","".concat(F,"px")),Y.attributes.height=new Property(this.document,"height","".concat(U,"px")),Y.attributes.transform=new Property(this.document,"transform",this.getAttribute("patternTransform").getValue()),Y.children=this.children;const q=this.document.createCanvas(F,U),X=q.getContext("2d"),W=this.getAttribute("x"),K=this.getAttribute("y");W.hasValue()&&K.hasValue()&&X.translate(W.getPixels("x",!0),K.getPixels("y",!0)),R.hasValue()?this.styles["fill-opacity"]=R:Reflect.deleteProperty(this.styles,"fill-opacity");for(let Z=-1;Z<=1;Z++)for(let Q=-1;Q<=1;Q++)X.save(),Y.attributes.x=new Property(this.document,"x",Z*q.width),Y.attributes.y=new Property(this.document,"y",Q*q.height),Y.render(X),X.restore();return D.createPattern(q,"repeat")}constructor(...D){super(...D),this.type="pattern"}}class MarkerElement extends Element$1{render(D,B,R){if(!B)return;const{x:F,y:U}=B,Y=this.getAttribute("orient").getString("auto"),q=this.getAttribute("markerUnits").getString("strokeWidth");D.translate(F,U),Y==="auto"&&D.rotate(R),q==="strokeWidth"&&D.scale(D.lineWidth,D.lineWidth),D.save();const X=new SVGElement(this.document);X.type=this.type,X.attributes.viewBox=new Property(this.document,"viewBox",this.getAttribute("viewBox").getValue()),X.attributes.refX=new Property(this.document,"refX",this.getAttribute("refX").getValue()),X.attributes.refY=new Property(this.document,"refY",this.getAttribute("refY").getValue()),X.attributes.width=new Property(this.document,"width",this.getAttribute("markerWidth").getValue()),X.attributes.height=new Property(this.document,"height",this.getAttribute("markerHeight").getValue()),X.attributes.overflow=new Property(this.document,"overflow",this.getAttribute("overflow").getValue()),X.attributes.fill=new Property(this.document,"fill",this.getAttribute("fill").getColor("black")),X.attributes.stroke=new Property(this.document,"stroke",this.getAttribute("stroke").getValue("none")),X.children=this.children,X.render(D),D.restore(),q==="strokeWidth"&&D.scale(1/D.lineWidth,1/D.lineWidth),Y==="auto"&&D.rotate(-R),D.translate(-F,-U)}constructor(...D){super(...D),this.type="marker"}}class DefsElement extends Element$1{render(){}constructor(...D){super(...D),this.type="defs"}}class GElement extends RenderedElement{getBoundingBox(D){const B=new BoundingBox;return this.children.forEach(R=>{B.addBoundingBox(R.getBoundingBox(D))}),B}constructor(...D){super(...D),this.type="g"}}class GradientElement extends Element$1{getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(D,B,R){let F=this;this.getHrefAttribute().hasValue()&&(F=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(F));const{stops:U}=F,Y=this.getGradient(D,B);if(!Y)return this.addParentOpacity(R,U[U.length-1].color);if(U.forEach(q=>{Y.addColorStop(q.offset,this.addParentOpacity(R,q.color))}),this.getAttribute("gradientTransform").hasValue()){const{document:q}=this,{MAX_VIRTUAL_PIXELS:X}=Screen,{viewPort:W}=q.screen,K=W.getRoot(),G=new RectElement(q);G.attributes.x=new Property(q,"x",-X/3),G.attributes.y=new Property(q,"y",-X/3),G.attributes.width=new Property(q,"width",X),G.attributes.height=new Property(q,"height",X);const Z=new GElement(q);Z.attributes.transform=new Property(q,"transform",this.getAttribute("gradientTransform").getValue()),Z.children=[G];const Q=new SVGElement(q);Q.attributes.x=new Property(q,"x",0),Q.attributes.y=new Property(q,"y",0),Q.attributes.width=new Property(q,"width",K.width),Q.attributes.height=new Property(q,"height",K.height),Q.children=[Z];const te=q.createCanvas(K.width,K.height),re=te.getContext("2d");return re.fillStyle=Y,Q.render(re),re.createPattern(te,"no-repeat")}return Y}inheritStopContainer(D){this.attributesToInherit.forEach(B=>{!this.getAttribute(B).hasValue()&&D.getAttribute(B).hasValue()&&this.getAttribute(B,!0).setValue(D.getAttribute(B).getValue())})}addParentOpacity(D,B){return D.hasValue()?new Property(this.document,"color",B).addOpacity(D).getColor():B}constructor(D,B,R){super(D,B,R),this.attributesToInherit=["gradientUnits"],this.stops=[];const{stops:F,children:U}=this;U.forEach(Y=>{Y.type==="stop"&&F.push(Y)})}}class LinearGradientElement extends GradientElement{getGradient(D,B){const R=this.getGradientUnits()==="objectBoundingBox",F=R?B.getBoundingBox(D):null;if(R&&!F)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));const U=R?F.x+F.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),Y=R?F.y+F.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),q=R?F.x+F.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),X=R?F.y+F.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return U===q&&Y===X?null:D.createLinearGradient(U,Y,q,X)}constructor(D,B,R){super(D,B,R),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}}class RadialGradientElement extends GradientElement{getGradient(D,B){const R=this.getGradientUnits()==="objectBoundingBox",F=B.getBoundingBox(D);if(R&&!F)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");const U=R?F.x+F.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),Y=R?F.y+F.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y");let q=U,X=Y;this.getAttribute("fx").hasValue()&&(q=R?F.x+F.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(X=R?F.y+F.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));const W=R?(F.width+F.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),K=this.getAttribute("fr").getPixels();return D.createRadialGradient(q,X,K,U,Y,W)}constructor(D,B,R){super(D,B,R),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}}class StopElement extends Element$1{constructor(D,B,R){super(D,B,R),this.type="stop";const F=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),U=this.getStyle("stop-opacity");let Y=this.getStyle("stop-color",!0);Y.getString()===""&&Y.setValue("#000"),U.hasValue()&&(Y=Y.addOpacity(U)),this.offset=F,this.color=Y.getColor()}}class AnimateElement extends Element$1{getProperty(){const D=this.getAttribute("attributeType").getString(),B=this.getAttribute("attributeName").getString();return D==="CSS"?this.parent.getStyle(B,!0):this.parent.getAttribute(B,!0)}calcValue(){const{initialUnits:D}=this,{progress:B,from:R,to:F}=this.getProgress();let U=R.getNumber()+(F.getNumber()-R.getNumber())*B;return D==="%"&&(U*=100),"".concat(U).concat(D)}update(D){const{parent:B}=this,R=this.getProperty();if(this.initialValue||(this.initialValue=R.getString(),this.initialUnits=R.getUnits()),this.duration>this.maxDuration){const U=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(U==="freeze"&&!this.frozen)this.frozen=!0,B&&R&&(B.animationFrozen=!0,B.animationFrozenValue=R.getString());else if(U==="remove"&&!this.removed)return this.removed=!0,B&&R&&R.setValue(B.animationFrozen?B.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=D;let F=!1;if(this.begin<this.duration){let U=this.calcValue();const Y=this.getAttribute("type");if(Y.hasValue()){const q=Y.getString();U="".concat(q,"(").concat(U,")")}R.setValue(U),F=!0}return F}getProgress(){const{document:D,values:B}=this;let R=(this.duration-this.begin)/(this.maxDuration-this.begin),F,U;if(B.hasValue()){const Y=R*(B.getValue().length-1),q=Math.floor(Y),X=Math.ceil(Y);let W;W=B.getValue()[q],F=new Property(D,"from",W?parseFloat(W):0),W=B.getValue()[X],U=new Property(D,"to",W?parseFloat(W):0),R=(Y-q)/(X-q)}else F=this.from,U=this.to;return{progress:R,from:F,to:U}}constructor(D,B,R){super(D,B,R),this.type="animate",this.duration=0,this.initialUnits="",this.removed=!1,this.frozen=!1,D.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new Property(D,"values",null);const F=this.getAttribute("values");F.hasValue()&&this.values.setValue(F.getString().split(";"))}}class AnimateColorElement extends AnimateElement{calcValue(){const{progress:D,from:B,to:R}=this.getProgress(),F=new rgbcolor(B.getColor()),U=new rgbcolor(R.getColor());if(F.ok&&U.ok){const Y=F.r+(U.r-F.r)*D,q=F.g+(U.g-F.g)*D,X=F.b+(U.b-F.b)*D;return"rgb(".concat(Math.floor(Y),", ").concat(Math.floor(q),", ").concat(Math.floor(X),")")}return this.getAttribute("from").getColor()}constructor(...D){super(...D),this.type="animateColor"}}class AnimateTransformElement extends AnimateElement{calcValue(){const{progress:D,from:B,to:R}=this.getProgress(),F=toNumbers(B.getString()),U=toNumbers(R.getString());return F.map((q,X)=>{const W=U[X];return q+(W-q)*D}).join(" ")}constructor(...D){super(...D),this.type="animateTransform"}}class FontFaceElement extends Element$1{constructor(D,B,R){super(D,B,R),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class GlyphElement extends PathElement{constructor(D,B,R){super(D,B,R),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class MissingGlyphElement extends GlyphElement{constructor(...D){super(...D),this.type="missing-glyph",this.horizAdvX=0}}class FontElement extends Element$1{render(){}constructor(D,B,R){super(D,B,R),this.type="font",this.isArabic=!1,this.glyphs={},this.arabicGlyphs={},this.isRTL=!1,this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();const{definitions:F}=D,{children:U}=this;for(const Y of U)if(Y instanceof FontFaceElement){this.fontFace=Y;const q=Y.getStyle("font-family");q.hasValue()&&(F[q.getString()]=this)}else if(Y instanceof MissingGlyphElement)this.missingGlyph=Y;else if(Y instanceof GlyphElement)if(Y.arabicForm){this.isRTL=!0,this.isArabic=!0;const q=this.arabicGlyphs[Y.unicode];typeof q>"u"?this.arabicGlyphs[Y.unicode]={[Y.arabicForm]:Y}:q[Y.arabicForm]=Y}else this.glyphs[Y.unicode]=Y}}class TRefElement extends TextElement{getText(){const D=this.getHrefAttribute().getDefinition();if(D){const B=D.children[0];if(B)return B.getText()}return""}constructor(...D){super(...D),this.type="tref"}}class AElement extends TextElement{getText(){return this.text}renderChildren(D){if(this.hasText){super.renderChildren(D);const{document:B,x:R,y:F}=this,{mouse:U}=B.screen,Y=new Property(B,"fontSize",Font.parse(B.ctx.font).fontSize);U.isWorking()&&U.checkBoundingBox(this,new BoundingBox(R,F-Y.getPixels("y"),R+this.measureText(D),F))}else if(this.children.length>0){const B=new GElement(this.document);B.children=this.children,B.parent=this,B.render(D)}}onClick(){const{window:D}=this.document;D&&D.open(this.getHrefAttribute().getString())}onMouseMove(){const D=this.document.ctx;D.canvas.style.cursor="pointer"}constructor(D,B,R){super(D,B,R),this.type="a";const{childNodes:F}=B,U=F[0],Y=F.length>0&&Array.from(F).every(q=>q.nodeType===3);this.hasText=Y,this.text=Y?this.getTextFromNode(U):""}}class TextPathElement extends TextElement{getText(){return this.text}path(D){const{dataArray:B}=this;D&&D.beginPath(),B.forEach(R=>{let{type:F,points:U}=R;switch(F){case PathParser.LINE_TO:D&&D.lineTo(U[0],U[1]);break;case PathParser.MOVE_TO:D&&D.moveTo(U[0],U[1]);break;case PathParser.CURVE_TO:D&&D.bezierCurveTo(U[0],U[1],U[2],U[3],U[4],U[5]);break;case PathParser.QUAD_TO:D&&D.quadraticCurveTo(U[0],U[1],U[2],U[3]);break;case PathParser.ARC:{const[Y,q,X,W,K,G,Z,Q]=U,te=X>W?X:W,re=X>W?1:X/W,J=X>W?W/X:1;D&&(D.translate(Y,q),D.rotate(Z),D.scale(re,J),D.arc(0,0,te,K,K+G,Boolean(1-Q)),D.scale(1/re,1/J),D.rotate(-Z),D.translate(-Y,-q));break}case PathParser.CLOSE_PATH:D&&D.closePath();break}})}renderChildren(D){this.setTextData(D),D.save();const B=this.parent.getStyle("text-decoration").getString(),R=this.getFontSize(),{glyphInfo:F}=this,U=D.fillStyle;B==="underline"&&D.beginPath(),F.forEach((Y,q)=>{const{p0:X,p1:W,rotation:K,text:G}=Y;D.save(),D.translate(X.x,X.y),D.rotate(K),D.fillStyle&&D.fillText(G,0,0),D.strokeStyle&&D.strokeText(G,0,0),D.restore(),B==="underline"&&(q===0&&D.moveTo(X.x,X.y+R/8),D.lineTo(W.x,W.y+R/5))}),B==="underline"&&(D.lineWidth=R/20,D.strokeStyle=U,D.stroke(),D.closePath()),D.restore()}getLetterSpacingAt(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[D]||0}findSegmentToFitChar(D,B,R,F,U,Y,q,X,W){let K=Y,G=this.measureText(D,X);X===" "&&B==="justify"&&R<F&&(G+=(F-R)/U),W>-1&&(K+=this.getLetterSpacingAt(W));const Z=this.textHeight/20,Q=this.getEquidistantPointOnPath(K,Z,0),te=this.getEquidistantPointOnPath(K+G,Z,0),re={p0:Q,p1:te},J=Q&&te?Math.atan2(te.y-Q.y,te.x-Q.x):0;if(q){const ie=Math.cos(Math.PI/2+J)*q,ne=Math.cos(-J)*q;re.p0={...Q,x:Q.x+ie,y:Q.y+ne},re.p1={...te,x:te.x+ie,y:te.y+ne}}return K+=G,{offset:K,segment:re,rotation:J}}measureText(D,B){const{measuresCache:R}=this,F=B||this.getText();if(R.has(F))return R.get(F);const U=this.measureTargetText(D,F);return R.set(F,U),U}setTextData(D){if(this.glyphInfo)return;const B=this.getText(),R=B.split(""),F=B.split(" ").length-1,U=this.parent.getAttribute("dx").split().map(oe=>oe.getPixels("x")),Y=this.parent.getAttribute("dy").getPixels("y"),q=this.parent.getStyle("text-anchor").getString("start"),X=this.getStyle("letter-spacing"),W=this.parent.getStyle("letter-spacing");let K=0;!X.hasValue()||X.getValue()==="inherit"?K=W.getPixels():X.hasValue()&&X.getValue()!=="initial"&&X.getValue()!=="unset"&&(K=X.getPixels());const G=[],Z=B.length;this.letterSpacingCache=G;for(let oe=0;oe<Z;oe++)G.push(typeof U[oe]<"u"?U[oe]:K);const Q=G.reduce((oe,ue,ce)=>ce===0?0:oe+ue||0,0),te=this.measureText(D),re=Math.max(te+Q,0);this.textWidth=te,this.textHeight=this.getFontSize(),this.glyphInfo=[];const J=this.getPathLength(),ie=this.getStyle("startOffset").getNumber(0)*J;let ne=0;(q==="middle"||q==="center")&&(ne=-re/2),(q==="end"||q==="right")&&(ne=-re),ne+=ie,R.forEach((oe,ue)=>{const{offset:ce,segment:fe,rotation:ae}=this.findSegmentToFitChar(D,q,re,J,F,ne,Y,oe,ue);ne=ce,!(!fe.p0||!fe.p1)&&this.glyphInfo.push({text:R[ue],p0:fe.p0,p1:fe.p1,rotation:ae})})}parsePathData(D){if(this.pathLength=-1,!D)return[];const B=[],{pathParser:R}=D;for(R.reset();!R.isEnd();){const{current:F}=R,U=F?F.x:0,Y=F?F.y:0,q=R.next();let X=q.type,W=[];switch(q.type){case PathParser.MOVE_TO:this.pathM(R,W);break;case PathParser.LINE_TO:X=this.pathL(R,W);break;case PathParser.HORIZ_LINE_TO:X=this.pathH(R,W);break;case PathParser.VERT_LINE_TO:X=this.pathV(R,W);break;case PathParser.CURVE_TO:this.pathC(R,W);break;case PathParser.SMOOTH_CURVE_TO:X=this.pathS(R,W);break;case PathParser.QUAD_TO:this.pathQ(R,W);break;case PathParser.SMOOTH_QUAD_TO:X=this.pathT(R,W);break;case PathParser.ARC:W=this.pathA(R);break;case PathParser.CLOSE_PATH:PathElement.pathZ(R);break}q.type!==PathParser.CLOSE_PATH?B.push({type:X,points:W,start:{x:U,y:Y},pathLength:this.calcLength(U,Y,X,W)}):B.push({type:PathParser.CLOSE_PATH,points:[],pathLength:0})}return B}pathM(D,B){const{x:R,y:F}=PathElement.pathM(D).point;B.push(R,F)}pathL(D,B){const{x:R,y:F}=PathElement.pathL(D).point;return B.push(R,F),PathParser.LINE_TO}pathH(D,B){const{x:R,y:F}=PathElement.pathH(D).point;return B.push(R,F),PathParser.LINE_TO}pathV(D,B){const{x:R,y:F}=PathElement.pathV(D).point;return B.push(R,F),PathParser.LINE_TO}pathC(D,B){const{point:R,controlPoint:F,currentPoint:U}=PathElement.pathC(D);B.push(R.x,R.y,F.x,F.y,U.x,U.y)}pathS(D,B){const{point:R,controlPoint:F,currentPoint:U}=PathElement.pathS(D);return B.push(R.x,R.y,F.x,F.y,U.x,U.y),PathParser.CURVE_TO}pathQ(D,B){const{controlPoint:R,currentPoint:F}=PathElement.pathQ(D);B.push(R.x,R.y,F.x,F.y)}pathT(D,B){const{controlPoint:R,currentPoint:F}=PathElement.pathT(D);return B.push(R.x,R.y,F.x,F.y),PathParser.QUAD_TO}pathA(D){let{rX:B,rY:R,sweepFlag:F,xAxisRotation:U,centp:Y,a1:q,ad:X}=PathElement.pathA(D);return F===0&&X>0&&(X-=2*Math.PI),F===1&&X<0&&(X+=2*Math.PI),[Y.x,Y.y,B,R,q,X,U,F]}calcLength(D,B,R,F){let U=0,Y=null,q=null,X=0;switch(R){case PathParser.LINE_TO:return this.getLineLength(D,B,F[0],F[1]);case PathParser.CURVE_TO:for(U=0,Y=this.getPointOnCubicBezier(0,D,B,F[0],F[1],F[2],F[3],F[4],F[5]),X=.01;X<=1;X+=.01)q=this.getPointOnCubicBezier(X,D,B,F[0],F[1],F[2],F[3],F[4],F[5]),U+=this.getLineLength(Y.x,Y.y,q.x,q.y),Y=q;return U;case PathParser.QUAD_TO:for(U=0,Y=this.getPointOnQuadraticBezier(0,D,B,F[0],F[1],F[2],F[3]),X=.01;X<=1;X+=.01)q=this.getPointOnQuadraticBezier(X,D,B,F[0],F[1],F[2],F[3]),U+=this.getLineLength(Y.x,Y.y,q.x,q.y),Y=q;return U;case PathParser.ARC:{U=0;const W=F[4],K=F[5],G=F[4]+K;let Z=Math.PI/180;if(Math.abs(W-G)<Z&&(Z=Math.abs(W-G)),Y=this.getPointOnEllipticalArc(F[0],F[1],F[2],F[3],W,0),K<0)for(X=W-Z;X>G;X-=Z)q=this.getPointOnEllipticalArc(F[0],F[1],F[2],F[3],X,0),U+=this.getLineLength(Y.x,Y.y,q.x,q.y),Y=q;else for(X=W+Z;X<G;X+=Z)q=this.getPointOnEllipticalArc(F[0],F[1],F[2],F[3],X,0),U+=this.getLineLength(Y.x,Y.y,q.x,q.y),Y=q;return q=this.getPointOnEllipticalArc(F[0],F[1],F[2],F[3],G,0),U+=this.getLineLength(Y.x,Y.y,q.x,q.y),U}}return 0}getPointOnLine(D,B,R,F,U){let Y=arguments.length>5&&arguments[5]!==void 0?arguments[5]:B,q=arguments.length>6&&arguments[6]!==void 0?arguments[6]:R;const X=(U-R)/(F-B+PSEUDO_ZERO);let W=Math.sqrt(D*D/(1+X*X));F<B&&(W*=-1);let K=X*W,G=null;if(F===B)G={x:Y,y:q+K};else if((q-R)/(Y-B+PSEUDO_ZERO)===X)G={x:Y+W,y:q+K};else{let Z=0,Q=0;const te=this.getLineLength(B,R,F,U);if(te<PSEUDO_ZERO)return null;let re=(Y-B)*(F-B)+(q-R)*(U-R);re/=te*te,Z=B+re*(F-B),Q=R+re*(U-R);const J=this.getLineLength(Y,q,Z,Q),ie=Math.sqrt(D*D-J*J);W=Math.sqrt(ie*ie/(1+X*X)),F<B&&(W*=-1),K=X*W,G={x:Z+W,y:Q+K}}return G}getPointOnPath(D){const B=this.getPathLength();let R=0,F=null;if(D<-5e-5||D-5e-5>B)return null;const{dataArray:U}=this;for(const Y of U){if(Y&&(Y.pathLength<5e-5||R+Y.pathLength+5e-5<D)){R+=Y.pathLength;continue}const q=D-R;let X=0;switch(Y.type){case PathParser.LINE_TO:F=this.getPointOnLine(q,Y.start.x,Y.start.y,Y.points[0],Y.points[1],Y.start.x,Y.start.y);break;case PathParser.ARC:{const W=Y.points[4],K=Y.points[5],G=Y.points[4]+K;if(X=W+q/Y.pathLength*K,K<0&&X<G||K>=0&&X>G)break;F=this.getPointOnEllipticalArc(Y.points[0],Y.points[1],Y.points[2],Y.points[3],X,Y.points[6]);break}case PathParser.CURVE_TO:X=q/Y.pathLength,X>1&&(X=1),F=this.getPointOnCubicBezier(X,Y.start.x,Y.start.y,Y.points[0],Y.points[1],Y.points[2],Y.points[3],Y.points[4],Y.points[5]);break;case PathParser.QUAD_TO:X=q/Y.pathLength,X>1&&(X=1),F=this.getPointOnQuadraticBezier(X,Y.start.x,Y.start.y,Y.points[0],Y.points[1],Y.points[2],Y.points[3]);break}if(F)return F;break}return null}getLineLength(D,B,R,F){return Math.sqrt((R-D)*(R-D)+(F-B)*(F-B))}getPathLength(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce((D,B)=>B.pathLength>0?D+B.pathLength:D,0)),this.pathLength}getPointOnCubicBezier(D,B,R,F,U,Y,q,X,W){const K=X*CB1(D)+Y*CB2(D)+F*CB3(D)+B*CB4(D),G=W*CB1(D)+q*CB2(D)+U*CB3(D)+R*CB4(D);return{x:K,y:G}}getPointOnQuadraticBezier(D,B,R,F,U,Y,q){const X=Y*QB1(D)+F*QB2(D)+B*QB3(D),W=q*QB1(D)+U*QB2(D)+R*QB3(D);return{x:X,y:W}}getPointOnEllipticalArc(D,B,R,F,U,Y){const q=Math.cos(Y),X=Math.sin(Y),W={x:R*Math.cos(U),y:F*Math.sin(U)};return{x:D+(W.x*q-W.y*X),y:B+(W.x*X+W.y*q)}}buildEquidistantCache(D,B){const R=this.getPathLength(),F=B||.25,U=D||R/100;if(!this.equidistantCache||this.equidistantCache.step!==U||this.equidistantCache.precision!==F){this.equidistantCache={step:U,precision:F,points:[]};let Y=0;for(let q=0;q<=R;q+=F){const X=this.getPointOnPath(q),W=this.getPointOnPath(q+F);!X||!W||(Y+=this.getLineLength(X.x,X.y,W.x,W.y),Y>=U&&(this.equidistantCache.points.push({x:X.x,y:X.y,distance:q}),Y-=U))}}}getEquidistantPointOnPath(D,B,R){if(this.buildEquidistantCache(B,R),D<0||D-this.getPathLength()>5e-5)return null;const F=Math.round(D/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[F]||null}constructor(D,B,R){super(D,B,R),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);const F=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(F)}}const dataUriRegex=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class ImageElement extends RenderedElement{async loadImage(D){try{const B=await this.document.createImage(D);this.image=B}catch(B){console.error('Error while loading image "'.concat(D,'":'),B)}this.loaded=!0}async loadSvg(D){const B=dataUriRegex.exec(D);if(B){const R=B[5];R&&(B[4]==="base64"?this.image=atob(R):this.image=decodeURIComponent(R))}else try{const F=await(await this.document.fetch(D)).text();this.image=F}catch(R){console.error('Error while loading image "'.concat(D,'":'),R)}this.loaded=!0}renderChildren(D){const{document:B,image:R,loaded:F}=this,U=this.getAttribute("x").getPixels("x"),Y=this.getAttribute("y").getPixels("y"),q=this.getStyle("width").getPixels("x"),X=this.getStyle("height").getPixels("y");if(!(!F||!R||!q||!X)){if(D.save(),D.translate(U,Y),typeof R=="string"){const W=B.canvg.forkString(D,R,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:q,scaleHeight:X}),{documentElement:K}=W.document;K&&(K.parent=this),W.render()}else B.setViewBox({ctx:D,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:q,desiredWidth:R.width,height:X,desiredHeight:R.height}),this.loaded&&(!("complete"in R)||R.complete)&&D.drawImage(R,0,0);D.restore()}}getBoundingBox(){const D=this.getAttribute("x").getPixels("x"),B=this.getAttribute("y").getPixels("y"),R=this.getStyle("width").getPixels("x"),F=this.getStyle("height").getPixels("y");return new BoundingBox(D,B,D+R,B+F)}constructor(D,B,R){super(D,B,R),this.type="image",this.loaded=!1;const F=this.getHrefAttribute().getString();if(!F)return;const U=F.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(F);D.images.push(this),U?this.loadSvg(F):this.loadImage(F)}}class SymbolElement extends RenderedElement{render(D){}constructor(...D){super(...D),this.type="symbol"}}class SVGFontLoader{async load(D,B){try{const{document:R}=this,U=(await R.canvg.parser.load(B)).getElementsByTagName("font");Array.from(U).forEach(Y=>{const q=R.createElement(Y);R.definitions[D]=q})}catch(R){console.error('Error while loading font "'.concat(B,'":'),R)}this.loaded=!0}constructor(D){this.document=D,this.loaded=!1,D.fonts.push(this)}}class StyleElement extends Element$1{constructor(D,B,R){super(D,B,R),this.type="style",compressSpaces(Array.from(B.childNodes).map(Y=>Y.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach(Y=>{const q=Y.trim();if(!q)return;const X=q.split("{"),W=X[0].split(","),K=X[1].split(";");W.forEach(G=>{const Z=G.trim();if(!Z)return;const Q=D.styles[Z]||{};if(K.forEach(te=>{const re=te.indexOf(":"),J=te.substr(0,re).trim(),ie=te.substr(re+1,te.length-re).trim();J&&ie&&(Q[J]=new Property(D,J,ie))}),D.styles[Z]=Q,D.stylesSpecificity[Z]=getSelectorSpecificity(Z),Z==="@font-face"){const te=Q["font-family"].getString().replace(/"|'/g,"");Q.src.getString().split(",").forEach(J=>{if(J.indexOf('format("svg")')>0){const ie=parseExternalUrl(J);ie&&new SVGFontLoader(D).load(te,ie)}})}})})}}StyleElement.parseExternalUrl=parseExternalUrl;class UseElement extends RenderedElement{setContext(D){super.setContext(D);const B=this.getAttribute("x"),R=this.getAttribute("y");B.hasValue()&&D.translate(B.getPixels("x"),0),R.hasValue()&&D.translate(0,R.getPixels("y"))}path(D){const{element:B}=this;B&&B.path(D)}renderChildren(D){const{document:B,element:R}=this;if(R){let F=R;if(R.type==="symbol"&&(F=new SVGElement(B),F.attributes.viewBox=new Property(B,"viewBox",R.getAttribute("viewBox").getString()),F.attributes.preserveAspectRatio=new Property(B,"preserveAspectRatio",R.getAttribute("preserveAspectRatio").getString()),F.attributes.overflow=new Property(B,"overflow",R.getAttribute("overflow").getString()),F.children=R.children,R.styles.opacity=new Property(B,"opacity",this.calculateOpacity())),F.type==="svg"){const Y=this.getStyle("width",!1,!0),q=this.getStyle("height",!1,!0);Y.hasValue()&&(F.attributes.width=new Property(B,"width",Y.getString())),q.hasValue()&&(F.attributes.height=new Property(B,"height",q.getString()))}const U=F.parent;F.parent=this,F.render(D),F.parent=U}}getBoundingBox(D){const{element:B}=this;return B?B.getBoundingBox(D):null}elementTransform(){const{document:D,element:B}=this;return B?Transform.fromElement(D,B):null}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}constructor(...D){super(...D),this.type="use"}}function imGet(j,D,B,R,F,U){return j[B*R*4+D*4+U]}function imSet(j,D,B,R,F,U,Y){j[B*R*4+D*4+U]=Y}function m(j,D,B){return j[D]*B}function c(j,D,B,R){return D+Math.cos(j)*B+Math.sin(j)*R}class FeColorMatrixElement extends Element$1{apply(D,B,R,F,U){const{includeOpacity:Y,matrix:q}=this,X=D.getImageData(0,0,F,U);for(let W=0;W<U;W++)for(let K=0;K<F;K++){const G=imGet(X.data,K,W,F,U,0),Z=imGet(X.data,K,W,F,U,1),Q=imGet(X.data,K,W,F,U,2),te=imGet(X.data,K,W,F,U,3);let re=m(q,0,G)+m(q,1,Z)+m(q,2,Q)+m(q,3,te)+m(q,4,1),J=m(q,5,G)+m(q,6,Z)+m(q,7,Q)+m(q,8,te)+m(q,9,1),ie=m(q,10,G)+m(q,11,Z)+m(q,12,Q)+m(q,13,te)+m(q,14,1),ne=m(q,15,G)+m(q,16,Z)+m(q,17,Q)+m(q,18,te)+m(q,19,1);Y&&(re=0,J=0,ie=0,ne*=te/255),imSet(X.data,K,W,F,U,0,re),imSet(X.data,K,W,F,U,1,J),imSet(X.data,K,W,F,U,2,ie),imSet(X.data,K,W,F,U,3,ne)}D.clearRect(0,0,F,U),D.putImageData(X,0,0)}constructor(D,B,R){super(D,B,R),this.type="feColorMatrix";let F=toNumbers(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":{const U=F[0];F=[.213+.787*U,.715-.715*U,.072-.072*U,0,0,.213-.213*U,.715+.285*U,.072-.072*U,0,0,.213-.213*U,.715-.715*U,.072+.928*U,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{const U=F[0]*Math.PI/180;F=[c(U,.213,.787,-.213),c(U,.715,-.715,-.715),c(U,.072,-.072,.928),0,0,c(U,.213,-.213,.143),c(U,.715,.285,.14),c(U,.072,-.072,-.283),0,0,c(U,.213,-.213,-.787),c(U,.715,-.715,.715),c(U,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}this.matrix=F,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}}class MaskElement extends Element$1{apply(D,B){const{document:R}=this;let F=this.getAttribute("x").getPixels("x"),U=this.getAttribute("y").getPixels("y"),Y=this.getStyle("width").getPixels("x"),q=this.getStyle("height").getPixels("y");if(!Y&&!q){const Q=new BoundingBox;this.children.forEach(te=>{Q.addBoundingBox(te.getBoundingBox(D))}),F=Math.floor(Q.x1),U=Math.floor(Q.y1),Y=Math.floor(Q.width),q=Math.floor(Q.height)}const X=this.removeStyles(B,MaskElement.ignoreStyles),W=R.createCanvas(F+Y,U+q),K=W.getContext("2d");R.screen.setDefaults(K),this.renderChildren(K),new FeColorMatrixElement(R,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(K,0,0,F+Y,U+q);const G=R.createCanvas(F+Y,U+q),Z=G.getContext("2d");R.screen.setDefaults(Z),B.render(Z),Z.globalCompositeOperation="destination-in",Z.fillStyle=K.createPattern(W,"no-repeat"),Z.fillRect(0,0,F+Y,U+q),D.fillStyle=Z.createPattern(G,"no-repeat"),D.fillRect(0,0,F+Y,U+q),this.restoreStyles(B,X)}render(D){}constructor(...D){super(...D),this.type="mask"}}MaskElement.ignoreStyles=["mask","transform","clip-path"];const noop=()=>{};class ClipPathElement extends Element$1{apply(D){const{document:B}=this,R=Reflect.getPrototypeOf(D),{beginPath:F,closePath:U}=D;R&&(R.beginPath=noop,R.closePath=noop),Reflect.apply(F,D,[]),this.children.forEach(Y=>{if(!("path"in Y))return;let q="elementTransform"in Y?Y.elementTransform():null;q||(q=Transform.fromElement(B,Y)),q&&q.apply(D),Y.path(D),R&&(R.closePath=U),q&&q.unapply(D)}),Reflect.apply(U,D,[]),D.clip(),R&&(R.beginPath=F,R.closePath=U)}render(D){}constructor(...D){super(...D),this.type="clipPath"}}class FilterElement extends Element$1{apply(D,B){const{document:R,children:F}=this,U="getBoundingBox"in B?B.getBoundingBox(D):null;if(!U)return;let Y=0,q=0;F.forEach(ie=>{const ne=ie.extraFilterDistance||0;Y=Math.max(Y,ne),q=Math.max(q,ne)});const X=Math.floor(U.width),W=Math.floor(U.height),K=X+2*Y,G=W+2*q;if(K<1||G<1)return;const Z=Math.floor(U.x),Q=Math.floor(U.y),te=this.removeStyles(B,FilterElement.ignoreStyles),re=R.createCanvas(K,G),J=re.getContext("2d");R.screen.setDefaults(J),J.translate(-Z+Y,-Q+q),B.render(J),F.forEach(ie=>{typeof ie.apply=="function"&&ie.apply(J,0,0,K,G)}),D.drawImage(re,0,0,K,G,Z-Y,Q-q,K,G),this.restoreStyles(B,te)}render(D){}constructor(...D){super(...D),this.type="filter"}}FilterElement.ignoreStyles=["filter","transform","clip-path"];class FeDropShadowElement extends Element$1{apply(D,B,R,F,U){}constructor(D,B,R){super(D,B,R),this.type="feDropShadow",this.addStylesFromStyleDefinition()}}class FeMorphologyElement extends Element$1{apply(D,B,R,F,U){}constructor(...D){super(...D),this.type="feMorphology"}}class FeCompositeElement extends Element$1{apply(D,B,R,F,U){}constructor(...D){super(...D),this.type="feComposite"}}class FeGaussianBlurElement extends Element$1{apply(D,B,R,F,U){const{document:Y,blurRadius:q}=this,X=Y.window?Y.window.document.body:null,W=D.canvas;W.id=Y.getUniqueId(),X&&(W.style.display="none",X.appendChild(W)),processCanvasRGBA(W,B,R,F,U,q),X&&X.removeChild(W)}constructor(D,B,R){super(D,B,R),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}}class TitleElement extends Element$1{constructor(...D){super(...D),this.type="title"}}class DescElement extends Element$1{constructor(...D){super(...D),this.type="desc"}}const elements={svg:SVGElement,rect:RectElement,circle:CircleElement,ellipse:EllipseElement,line:LineElement,polyline:PolylineElement,polygon:PolygonElement,path:PathElement,pattern:PatternElement,marker:MarkerElement,defs:DefsElement,linearGradient:LinearGradientElement,radialGradient:RadialGradientElement,stop:StopElement,animate:AnimateElement,animateColor:AnimateColorElement,animateTransform:AnimateTransformElement,font:FontElement,"font-face":FontFaceElement,"missing-glyph":MissingGlyphElement,glyph:GlyphElement,text:TextElement,tspan:TSpanElement,tref:TRefElement,a:AElement,textPath:TextPathElement,image:ImageElement,g:GElement,symbol:SymbolElement,style:StyleElement,use:UseElement,mask:MaskElement,clipPath:ClipPathElement,filter:FilterElement,feDropShadow:FeDropShadowElement,feMorphology:FeMorphologyElement,feComposite:FeCompositeElement,feColorMatrix:FeColorMatrixElement,feGaussianBlur:FeGaussianBlurElement,title:TitleElement,desc:DescElement};function createCanvas(j,D){const B=document.createElement("canvas");return B.width=j,B.height=D,B}async function createImage(j){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const B=document.createElement("img");return D&&(B.crossOrigin="Anonymous"),new Promise((R,F)=>{B.onload=()=>{R(B)},B.onerror=(U,Y,q,X,W)=>{F(W)},B.src=j})}const DEFAULT_EM_SIZE=12;let Document$1=class{bindCreateImage(D,B){return typeof B=="boolean"?(R,F)=>D(R,typeof F=="boolean"?F:B):D}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){const{emSizeStack:D}=this;return D[D.length-1]||DEFAULT_EM_SIZE}set emSize(D){const{emSizeStack:B}=this;B.push(D)}popEmSize(){const{emSizeStack:D}=this;D.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(D=>D.loaded)}isFontsLoaded(){return this.fonts.every(D=>D.loaded)}createDocumentElement(D){const B=this.createElement(D.documentElement);return B.root=!0,B.addStylesFromStyleDefinition(),this.documentElement=B,B}createElement(D){const B=D.nodeName.replace(/^[^:]+:/,""),R=Document$1.elementTypes[B];return R?new R(this,D):new UnknownElement(this,D)}createTextNode(D){return new TextNode(this,D)}setViewBox(D){this.screen.setViewBox({document:this,...D})}constructor(D,{rootEmSize:B=DEFAULT_EM_SIZE,emSize:R=DEFAULT_EM_SIZE,createCanvas:F=Document$1.createCanvas,createImage:U=Document$1.createImage,anonymousCrossOrigin:Y}={}){this.canvg=D,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=D.screen,this.rootEmSize=B,this.emSize=R,this.createCanvas=F,this.createImage=this.bindCreateImage(U,Y),this.screen.wait(()=>this.isImagesLoaded()),this.screen.wait(()=>this.isFontsLoaded())}};Document$1.createCanvas=createCanvas;Document$1.createImage=createImage;Document$1.elementTypes=elements;class Canvg{static async from(D,B){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const U=await new Parser(R).parse(B);return new Canvg(D,U,R)}static fromString(D,B){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const U=new Parser(R).parseFromString(B);return new Canvg(D,U,R)}fork(D,B){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Canvg.from(D,B,{...this.options,...R})}forkString(D,B){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Canvg.fromString(D,B,{...this.options,...R})}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}async render(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.start({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0,...D}),await this.ready(),this.stop()}start(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{documentElement:B,screen:R,options:F}=this;R.start(B,{enableRedraw:!0,...F,...D})}stop(){this.screen.stop()}resize(D){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:D,R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(D,B,R)}constructor(D,B,R={}){this.parser=new Parser(R),this.screen=new Screen(D,R),this.options=R;const F=new Document$1(this,R),U=F.createDocumentElement(B);this.document=F,this.documentElement=U}}globalThis&&globalThis.__awaiter;globalThis&&globalThis.__awaiter;globalThis&&globalThis.__awaiter;globalThis&&globalThis.__awaiter;globalThis&&globalThis.__awaiter;globalThis&&globalThis.__awaiter;const bg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbwAAACNCAYAAADM4c9jAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABvKADAAQAAAABAAAAjQAAAADzprXxAABAAElEQVR4Ae2dd3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QWNdMLwpW6DCP4zfmvWfop+F/np9W+ZnolCR/K0GC+x10LpCKCg/z66K9oIqUqAIYwKQpz9LtZrLIpaKMTadZYjBZIF/eS4zniW5OyGLmrzu2U0QBcbjWrghWXNxQ2xZi5EQoryyt4HQWQ5/1KA5RV48Y7g2elYHL60xDjJLW3EWXxOO1kpxUi8D2Bl5JwEQB0PHVyY4HpOZKgyAD2ui2iIWn5eirmZHFA8zNuQ077X2WAjqh4iBCrbftRA/dpOhBjx7h5/FGpnzUgYCrGP28z0cnFGOZp3LtoYza44D2NlY2L6CZunZGsKzn9hTOo9KmUK9Rb7hZZT7KGV1hpuMpKsgUNujiB64dRyvPevXv7aLPd0N9ocfRDuQPv+ecqYGJL7De7xF6lWoR6QcsujE+ub99EyGQ62zEMR++c0bqKVWwGIH3OMD8JFyyzy+985zuX0rSb4CgP+Fymny9Rv0Afp10HoIn2Uc63t7fPU6ZpB+XTlYZZ3k95/z9XfwmxgCDLMVEx0nq8LHUIkjr6bx2LOO7689tnlOIrxfIJC6Mcd23pAPd+cJ23Sh5hmUGrX5HpqjIyRqvlpYkDoi+HFKo3nwcaon/qlBid57oEbou4ohf9/TgOdtqwHK63wVOnMsnluR9rM2CFh2GR5g7tWsM90O7hdKW8U1/DN9PyaZWVZoxAbzPG4EmZvi6C0SHFZ57V5RHFpJR6uryOAo4CjgKOAo4CjgKOAo4CjgKOAo4CjgKbjQL/H0U4I+33KKiUAAAAAElFTkSuQmCC",bgImg=new Image;bgImg.src=bg;async function imgToCanvas(j){const D=document.createElement("img");D.src=j,D.setAttribute("crossOrigin","anonymous"),await new Promise(R=>D.onload=R);const B=document.createElement("canvas");return B.width=D.width,B.height=D.height,B.getContext("2d").drawImage(D,0,0),B}function addWatermark(j,D){const F=Math.max(j.width,j.height),U=Math.floor(F/600)*5,Y=Math.floor(F/500)*5,q=j.getContext("2d");q.rotate(-30*Math.PI/180),console.log(q);for(let X=0;X<U;X++)for(let W=0;W<Y;W++)q.drawImage(bgImg,X*600-F,W*500-F/2);return j}function convasToImg(j){var D=new Image;return D.src=j.toDataURL("image/png"),D}async function startRun(j){const B=await imgToCanvas(j),R=addWatermark(B);return convasToImg(R).src}window.OffscreenCanvas||(window.OffscreenCanvas=class{constructor(D,B){Ge(this,"canvas");return this.canvas=document.createElement("canvas"),this.canvas.width=D,this.canvas.height=B,this.canvas.convertToBlob=()=>new Promise(R=>{this.canvas.toBlob(R)}),this.canvas}});const preset=index.offscreen();function blobToBase64(j){return new Promise((D,B)=>{const R=new FileReader;R.onloadend=()=>D(R.result),R.readAsDataURL(j)})}async function svgtopng(j,D,B){const R=new OffscreenCanvas(D,B),F=R.getContext("2d"),U=await Canvg.fromString(F,j,preset);U.resize(D*2,B*2,"xMidYMid meet"),await U.start();const Y=await R.convertToBlob();return await blobToBase64(Y)}const feedback="_feedback_1x8ma_1",title$1="_title_1x8ma_7",wrap$1="_wrap_1x8ma_14",sub="_sub_1x8ma_17",group="_group_1x8ma_23",text="_text_1x8ma_51",submit="_submit_1x8ma_72",styles$5={feedback,title:title$1,wrap:wrap$1,sub,group,text,submit},bgSubmit=""+new URL("submit-a571df10.png",import.meta.url).href,__vite_glob_0_0=""+new URL("back-0e8784e6.svg",import.meta.url).href,__vite_glob_0_1=""+new URL("setting-39685e69.svg",import.meta.url).href,header="_header_1l0s0_1",left="_left_1l0s0_10",styles$4={header,left};function getImageUrl(j){return new URL(Object.assign({"./icons/back.svg":__vite_glob_0_0,"./icons/setting.svg":__vite_glob_0_1})[`./icons/${j}.svg`],self.location).href}const settingPopup$1=ref(null),suggestPopup$1=ref(null);defineComponent({name:"ColexiuHeader",setup(){const[j]=useMenu();return()=>createVNode("div",{class:[styles$4.header,j.value?"animate__animated animate__fadeInDown":"animate__animated animate__fadeOutUp"]},[createVNode("div",{class:styles$4.left},[createVNode(Button,{icon:getImageUrl("back"),onClick:()=>postMessage({api:"back"})},null)]),createVNode(Button,{icon:getImageUrl("setting"),onClick:()=>{var D;console.log(settingPopup$1.value),(D=settingPopup$1.value)==null||D.onShow()},disabled:state.evaluatingStatus},null),createVNode(Popups,{ref:settingPopup$1,style:{borderRadius:"8px"}},{default:()=>[createVNode(Setting,null,null)]}),createVNode(Popups,{ref:suggestPopup$1,overlay:!1,style:{borderRadius:"8px"}},{default:()=>[createVNode(Feedback,null,null)]})])}});function _isSlot$1(j){return typeof j=="function"||Object.prototype.toString.call(j)==="[object Object]"&&!isVNode(j)}const Feedback=defineComponent({name:"ColexiuFeedBack",setup(){const j=ref("识别不准"),D=ref(""),B=ref(!1),R=[{name:"识别不准"},{name:"无法评测"},{name:"不出评测结果"},{name:"曲谱不一致"},{name:"指法错误"},{name:"其他"}],F=()=>{var U;try{if(!D.value)return Toast("请先填写意见反馈");B.value=!0,request.post("/sysParamConfig/add",{data:{content:D.value+"#"+j.value,type:"SMART_PRACTICE"}}),(U=suggestPopup$1.value)==null||U.close(),Toast("意见反馈已提交")}catch{}B.value=!1};return()=>{let U;return createVNode("div",{class:styles$5.feedback},[createVNode("div",{class:styles$5.title},[createTextVNode("意见反馈")]),createVNode("div",{class:styles$5.wrap},[createVNode("div",{class:styles$5.sub},[createTextVNode("请选择问题类型备份")]),createVNode(RadioGroup,{class:styles$5.group,modelValue:j.value,"onUpdate:modelValue":Y=>j.value=Y},{default:()=>[createVNode(Row,{gutter:4},_isSlot$1(U=R.map(Y=>createVNode(Col,{span:8},{default:()=>[createVNode(Radio,{name:Y.name},{default:()=>[Y.name]})]})))?U:{default:()=>[U]})]}),createVNode(Field,{type:"textarea",class:styles$5.text,placeholder:"请详细描述您遇到的问题,以便我们尽快为您解决!",maxlength:200,rows:"2",autosize:!0,"show-word-limit":!0,modelValue:D.value,"onUpdate:modelValue":Y=>D.value=Y},null),createVNode("div",{style:{display:"flex",justifyContent:"center"}},[createVNode(Button,{onClick:F,class:styles$5.submit},{default:()=>[createVNode("img",{style:{width:"100%"},src:bgSubmit,alt:"提交"},null)]})])])])}}}),suggestPopup=ref(null),confirmShow$1=ref(!1),switchProps$2={"active-color":"#2dc7aa","inactive-color":"#CCCCCC",size:"20px"},Seet=defineComponent({name:"ColexiuSettingSett",setup(){return()=>createVNode(Fragment,null,[createVNode("div",null,[createVNode(NoticeBar,{class:styles$7.noticebar,"left-icon":InfoIcon,text:"全局设置会更改所有乐谱练习及评测"},null),createVNode("div",{class:styles$7.groupBox,style:{height:"auto"}},[createVNode(Cell,{center:!0,border:!1,title:"护眼模式"},{default:()=>[createVNode(Switch,mergeProps({modelValue:state$4.sett.eyeProtection,"onUpdate:modelValue":j=>state$4.sett.eyeProtection=j},switchProps$2),null)]}),createVNode(Divider,null,null)]),createVNode("div",{class:styles$7.btnsbar},[createVNode(Button,{class:styles$7.btn,icon:iconTv,onClick:()=>show.value=!0},{default:()=>[createTextVNode("投屏帮助")]}),createVNode(Button,{class:styles$7.btn,icon:iconYijian,onClick:()=>{var j;(j=suggestPopup.value)==null||j.onShow()}},{default:()=>[createTextVNode("意见反馈")]})])]),createVNode(Popups,{ref:suggestPopup,overlay:!1,style:{borderRadius:"8px"}},{default:()=>[createVNode(Feedback,null,null)]}),createVNode(Dialog.Component,{teleport:"body",class:styles$f.confirm,style:{overflow:"initial"},show:confirmShow$1.value,"onUpdate:show":j=>confirmShow$1.value=j,message:"设置成功,是否立即重新加载?"},{title:()=>createVNode("img",{class:styles$f.iconTitle,src:iconTitle},null),footer:()=>createVNode("div",{class:styles$f.footer},[createVNode("img",{src:iconCancel,onClick:()=>confirmShow$1.value=!1},null),createVNode("img",{src:iconConfirm,onClick:useReload},null)])})])}});ref(!1);const switchProps$1={"active-color":"#2dc7aa","inactive-color":"#CCCCCC",size:"20px"},Practise=defineComponent({name:"ColexiuSettingPractise",setup(){return()=>createVNode("div",null,[createVNode("div",{class:styles$7.groupBox},[createVNode(Cell,{center:!0,border:!1,title:"循环播放"},{default:()=>[createVNode(Switch,mergeProps({modelValue:state$4.sett.loop,"onUpdate:modelValue":j=>state$4.sett.loop=j},switchProps$1),{default:()=>[createTextVNode("off")]})]}),createVNode(Divider,null,null),createVNode(Cell,{center:!0,border:!1,title:"显示指法"},{default:()=>[createVNode(Switch,mergeProps({modelValue:state$4.sett.fingering,"onUpdate:modelValue":j=>state$4.sett.fingering=j},switchProps$1,{onChange:j=>{state$4.sett.fingering=j,event.emit("settingFingeringChange")}}),{default:()=>[createTextVNode("off")]})]})])])}}),switchProps={"active-color":"#2dc7aa","inactive-color":"#CCCCCC",size:"20px"},Evaluat=defineComponent({name:"ColexiuSettingPractise",setup(){return()=>createVNode("div",null,[createVNode("div",{class:styles$7.groupBox},[createVNode(Cell,{center:!0,border:!1,title:"评测难度"},{default:()=>[createVNode(RadioGroup,{iconSize:20,class:styles$7.radioGroup,modelValue:state$4.eva.difficulty,"onUpdate:modelValue":j=>state$4.eva.difficulty=j},{default:()=>[createVNode(Radio,{name:"BEGINNER"},{default:()=>[createTextVNode("入门")]}),createVNode(Radio,{name:"ADVANCED"},{default:()=>[createTextVNode("进阶")]}),createVNode(Radio,{name:"PERFORMER"},{default:()=>[createTextVNode("大师")]})]})]}),createVNode(Divider,null,null),createVNode(Cell,{center:!0,border:!1,title:"校音提醒"},{default:()=>[createVNode(Switch,mergeProps({modelValue:state$4.sett.tuning,"onUpdate:modelValue":j=>state$4.sett.tuning=j},switchProps),{default:()=>[createTextVNode("off")]})]}),createVNode(Divider,null,null),createVNode(Cell,{center:!0,border:!1,title:"摄像头"},{default:()=>[createVNode(Switch,mergeProps({modelValue:state$4.sett.camera,"onUpdate:modelValue":j=>state$4.sett.camera=j},switchProps),{default:()=>[createTextVNode("off")]})]}),state$4.sett.camera&&createVNode(Fragment,null,[createVNode(Divider,null,null),createVNode("div",{class:styles$7.sliderWrap},[createVNode("div",{class:"cell__title"},[createTextVNode("透明度")]),createVNode(Slider,{min:0,max:100,modelValue:state$4.sett.opacity,"onUpdate:modelValue":j=>state$4.sett.opacity=j},{button:()=>createVNode("div",{class:styles$7.slider},[state$4.sett.opacity])})])]),createVNode(Divider,null,null),createVNode(Cell,{center:!0,border:!1,title:"保存到相册"},{default:()=>[createVNode(Switch,mergeProps({modelValue:state$4.eva.save,"onUpdate:modelValue":j=>state$4.eva.save=j},switchProps),{default:()=>[createTextVNode("off")]})]}),createVNode(Divider,null,null),createVNode(Cell,{center:!0,border:!1,title:"评测伴奏"},{default:()=>[createVNode(Switch,mergeProps({modelValue:state$4.eva.mute,"onUpdate:modelValue":j=>state$4.eva.mute=j},switchProps),{default:()=>[createTextVNode("off")]})]}),createVNode(Divider,null,null),createVNode(Cell,{center:!0,border:!1,title:"标准音高"},{default:()=>[createVNode("div",{style:{display:"flex"}},[createVNode(RadioGroup,{iconSize:20,class:styles$7.radioGroup,modelValue:state$4.sett.hertz,"onUpdate:modelValue":j=>state$4.sett.hertz=j},{default:()=>[createVNode(Radio,{name:440},{default:()=>[createTextVNode("440")]}),createVNode(Radio,{name:442},{default:()=>[createTextVNode("442")]})]})])]}),createVNode(Divider,null,null),createVNode(Cell,{center:!0,border:!1,title:"反应时间(毫秒)"},{default:()=>[createVNode(Field,{modelValue:state$4.eva.reactionTimeMs,"onUpdate:modelValue":j=>state$4.eva.reactionTimeMs=j,inputAlign:"right",onBlur:()=>{state$4.eva.reactionTimeMs=Math.max(-300,Math.min(300,state$4.eva.reactionTimeMs))||0}},null)]})])])}}),Setting=defineComponent({name:"ColexiuSetting",props:{active:{type:String,default:"1"}},setup(j){return()=>createVNode("div",{class:styles$7.setting},[createVNode(Tabs,{active:j.active},{default:()=>[createVNode(Tab,{title:"全局设置",name:"1"},{default:()=>[createVNode(Seet,null,null)]}),createVNode(Tab,{title:"练习设置",name:"2"},{default:()=>[createVNode(Practise,null,null)]}),createVNode(Tab,{title:"评测设置",name:"3"},{default:()=>[createVNode(Evaluat,null,null)]})]})])}}),modelWraper="_modelWraper_iddf4_1",wrap="_wrap_iddf4_8",styles$3={modelWraper,wrap},ModelWraper=defineComponent({name:"modelWraper",props:{show:{type:Boolean,default:!1},onChangeModelType:{type:Function,default:()=>{}}},setup(j,D){return()=>createVNode(Teleport,{to:"body"},{default:()=>[createVNode("div",{class:styles$3.modelWraper},[createVNode(Transition,{mode:"out-in","enter-active-class":"animate__animated animate__flipInX","leave-active-class":"animate__animated animate__fadeOut"},{default:()=>[j.show&&createVNode("div",{class:styles$3.wrap},[createVNode("img",{onClick:()=>j.onChangeModelType("practice"),src:model1},null),createVNode("img",{onClick:()=>j.onChangeModelType("follow"),src:model3},null),createVNode("img",{onClick:()=>j.onChangeModelType("evaluation"),src:model2},null)])]})])]})}}),follow="_follow_1izp1_4",title="_title_1izp1_12",endBtns="_endBtns_1izp1_16",button="_button_1izp1_21",hasText="_hasText_1izp1_29",bigIcon="_bigIcon_1izp1_52",start="_start_1izp1_59",styles$2={follow,title,endBtns,button,hasText,bigIcon,start},iconFollwBtn=""+new URL("icon-follwBtn-40b797fe.svg",import.meta.url).href,togglePlayer=(j=!1)=>{let D=document.querySelector("#globalPlayer");D&&(D.style.display=j?"":"none")},data=reactive({list:[],index:0,start:!1});useToggle(!0);const noteFrequency=ref(0),audioFrequency=ref(0),followTime=ref(0),openToggleRecord=(j=!0)=>{if(postMessage({api:"cloudToggleFollow",content:{state:j?"start":"end"}}),j)followTime.value=Date.now();else{const D=Date.now()-followTime.value;followTime.value!==0&&D>0&&(followTime.value=0,updatePlayTime$1(D/1e3))}},initBehaviorId$1=""+new Date().valueOf();async function updatePlayTime$1(j){const D=useOriginSearch(),B=sessionStorage.getItem("behaviorId")||D.behaviorId||initBehaviorId$1,R=useClientType(),F=useOriginSearch().id,U=location.hash.split("?")[0].split("/").pop()||F||"";try{const Y=await request.post("/sysMusicRecord/add",{prefix:R==="teacher"?"/api-teacher":"/api-student",data:{musicSheetId:U,sysMusicScoreId:U,feature:"CLOUD_STUDY_TRAIN",playTime:j,deviceType:getPlatform(),behaviorId:B}})}catch{}}const onClear=()=>{state$2.times.forEach(j=>{const D=document.querySelector(`div[data-vf=vf${j.id}]`);D&&(D.classList.remove("follow-error"),D.classList.remove("follow-success"))})},handleStart=()=>{onClear(),data.start=!0,openToggleRecord(!0),data.index=0,data.list=[],state.osmd.cursor.reset(),getNoteIndex(),refreshView()},handleEnd=()=>{data.start=!1,openToggleRecord(!1),data.index=0,state.osmd.cursor.reset(),getNoteIndex()},next=()=>{state.osmd.product?state.osmd.cursor.setPosition(state$2.times[data.index].cursorBox):state.osmd.cursor.next(),refreshView()},getNoteIndex=()=>{const j=state$2.times[data.index];return j.frequency?(noteFrequency.value=j.frequency,state$2.fixedKey=j.realKey,{id:j.id,min:j.frequency-(j.frequency-j.noteElement.pitch.prevFrequency)*.1,max:j.frequency+(j.noteElement.pitch.nextFrequency-j.frequency)*.1}):(data.index=data.index+1,next(),getNoteIndex())};let checking=!1;const onFollowTime=j=>{var B;const D=(B=j==null?void 0:j.content)==null?void 0:B.frequency;audioFrequency.value=D,data.list.push(D),checked()},checked=()=>{if(checking)return;checking=!0;const j=getNoteIndex();for(let D=0;D<data.list.length;D++){const B=data.list[D];if(B>j.min&&B<j.max){console.log(j.min,B,j.max),next(),data.index+=1,data.list=data.list.slice(D+1),setColor(j,!0),checking=!1;return}}setColor(j),checking=!1},setColor=(j,D=!1)=>{const B=document.querySelector(`div[data-vf=vf${j.id}]`);B&&(D?(B.classList.remove("follow-error"),B.classList.add("follow-success")):(B.classList.remove("follow-success"),B.classList.add("follow-error")))},Follow=defineComponent({name:"follow",setup(j,{expose:D}){return onMounted(()=>{togglePlayer(),console.log("开始监听"),listenerMessage("cloudFollowTime",onFollowTime)}),onUnmounted(()=>{removeListenerMessage("cloudFollowTime",onFollowTime),togglePlayer(!0),onClear()}),D({data,handleEnd}),()=>createVNode(Teleport,{to:"#colexiu-detail-music-sheet"},{default:()=>[createVNode("div",{class:styles$2.follow},[createVNode(Transition,{name:"start",duration:300},{default:()=>[!data.start&&createVNode(Button,{style:{backgroundImage:`url(${iconFollwBtn})`},class:[styles$2.button,styles$2.start,styles$2.followBtn],onClick:()=>handleStart()},{default:()=>[createTextVNode("开始")]})]})])]})}}),iconFollowEndBtn=""+new URL("icon-followEndBtn-7fe21406.svg",import.meta.url).href,confirmShow=ref(!1),search$3=useOriginSearch(),startButtonShow=ref(!0),evaluatingRef=ref({}),settingPopup=ref(null);ref(null);const followRef=ref(null),animate={mounted:j=>{j.addEventListener("click",D=>{D.target.classList.add("animate__animated","animate__tada")}),j.addEventListener("animationend",D=>{D.target.classList.remove("animate__animated","animate__tada")})}},beforeCheck=j=>{var Y,q,X,W;const D=search$3.setting||{},B=(Y=state$2.activeDetail)==null?void 0:Y.paymentType,R=(q=state$2.activeDetail)==null?void 0:q.orderStatus,F=(X=state$2.activeDetail)==null?void 0:X.play,U=((W=state$3.user)==null?void 0:W.membershipDays)||0;if(useClientType()==="web"||F||D.feeType==="FREE")return j(!0);if(B!=null&&B.includes("VIP")&&(B!=null&&B.includes("CHARGE"))&&!(U>0)&&R!=="PAID")return permissionPopup.active="memberAndDemand",permissionPopup.show=!0,j(!1);if(B==="VIP"&&!(U>0))return permissionPopup.active="member",permissionPopup.show=!0,j(!1);if(B==="CHARGE"&&R!=="PAID")return permissionPopup.active="demand",permissionPopup.show=!0,j(!1);j(!0)},back=()=>{postMessage({api:"back"})},startEvaluat=()=>{console.log("开始评测"),beforeCheck(j=>{j&&(setCurrentTime(0),state.evaluatingStatus=!0)})},modelType=ref("init"),modelWraperShow=ref(!0),onChangeModelType=j=>{var D;if(modelWraperShow.value=!1,j!==modelType.value){if(j==="evaluation")changeSpeed((D=state$2.activeDetail)==null?void 0:D.originalSpeed,!1),startEvaluat();else{const B=store_legacy.get("speeds")||{},R=useOriginSearch();B[R.id]&&changeSpeed(B[R.id])}nextTick(()=>{modelType.value=j})}},Buttons=defineComponent({name:"Colexiu-Buttons",directives:{animate},props:{onSetMusicScoreType:{type:Function,default:j=>{}}},emits:["setMusicScoreType"],setup(j,{emit:D}){const[B]=useWiredHeadsetCheck(),R=ref(),[F]=useMenu(),U=ref(!1),Y=ref(!1),q=ref(""),X=G=>{q.value=G.text,confirmShow.value=!0},W=()=>{q.value==="五线谱"?state$4.sett.type="staff":q.value==="简谱"?(state$4.sett.type="jianpu",state$4.sett.keySignature=!1):q.value==="固定调"&&(state$4.sett.type="jianpu",state$4.sett.keySignature=!0)},K=G=>{if(G==="staff")return state$4.sett.type===G;if(G==="shoudiao")return state$4.sett.type==="jianpu"&&!state$4.sett.keySignature;if(G==="guding")return state$4.sett.type==="jianpu"&&state$4.sett.keySignature};return()=>{var Z,Q,te,re,J,ie,ne;const G=((Z=state$2.activeDetail)!=null&&Z.isAppPlay?((Q=state$2.activeDetail)==null?void 0:Q.midiUrl)==="":state.isFirstPlay||((te=state.audiosInstance)==null?void 0:te.length)==1)||state.evaluatingStatus||((re=state$2.activeDetail)==null?void 0:re.isAppPlay)&&state$2.midiPlayIniting;return createVNode("div",{class:[styles$e.container,F.value?"animate__animated animate__fadeInDown":"animate__animated animate__fadeOutUp"]},[createVNode("div",{class:styles$e.leftButton},[createVNode(Button,{class:classnames(styles$e.button,styles$e.backbtn),onClick:back},{default:()=>[createVNode(ButtonIcon,{name:"icon-back"},null)]}),createVNode("div",{class:styles$e.titleWrap},[createVNode("div",{class:styles$e.title},[(J=state$2.activeDetail)==null?void 0:J.musicSheetName]),search$3.albumName&&createVNode("div",{class:styles$e.album},[search$3.albumName])])]),createVNode("div",{class:styles$e.centerButton},[createVNode(Transition,{name:"finish"},{default:()=>{var oe,ue;return[B.value&&!((oe=evaluatingRef.value)!=null&&oe.connentLoading)&&!startButtonShow.value&&createVNode(Button,{style:{backgroundImage:`url(${iconEvaluatingEnd})`},class:[styles$e.button,styles$e.finish],onClick:()=>{var ce,fe;(fe=(ce=evaluatingRef.value)==null?void 0:ce.playerStop)==null||fe.call(ce)}},{default:()=>[createTextVNode("结束评测")]}),((ue=followRef==null?void 0:followRef.value)==null?void 0:ue.data.start)&&createVNode(Button,{style:{backgroundImage:`url(${iconFollowEndBtn})`},class:[styles$e.button,styles$e.finish,styles$e.followEndBtn],onClick:()=>{var ce,fe;(fe=(ce=followRef.value)==null?void 0:ce.handleEnd)==null||fe.call(ce)}},{default:()=>[createTextVNode("结束演奏")]})]}})]),createVNode("div",{class:[styles$e.moreButton],style:{opacity:state$2.initRendered?1:0}},[modelType.value!=="init"&&!state$2.frozenMode&&createVNode(Button,{class:classnames(styles$e.button,styles$e.hasText),disabled:state.evaluatingStatus&&!startButtonShow.value||((ie=followRef.value)==null?void 0:ie.data.start),onClick:()=>{var oe,ue,ce;modelType.value==="practice"&&(resetPlayStatus(),setCurrentTime(0)),modelType.value==="evaluation"&&(state.evaluatingStatus=!1,(((oe=evaluatingRef.value)==null?void 0:oe.playStatus.value)==="play"||((ue=evaluatingRef.value)==null?void 0:ue.playStatus.value)==="connecting")&&((ce=evaluatingRef.value)==null||ce.cancelTheEvaluation())),modelType.value="init",modelWraperShow.value=!0}},{default:()=>[createVNode(ButtonIcon,{key:"modelType",name:"modelType"},null),createVNode("span",null,[createTextVNode("模式")])]}),modelType.value==="evaluation"&&createVNode(Fragment,null,[createVNode(Popover,{show:U.value,"onUpdate:show":oe=>U.value=oe,overlay:!1,placement:"bottom-end",class:"cameraPopover","show-arrow":!1},{default:()=>[createVNode(CellGroup,{border:!1},{default:()=>[createVNode(Cell,{center:!0,title:"摄像头"},{default:()=>[createVNode("div",{style:"display:flex;justify-content: flex-end;"},[createVNode(Switch,mergeProps({disabled:!startButtonShow.value,modelValue:state$4.sett.camera,"onUpdate:modelValue":oe=>state$4.sett.camera=oe},switchProps),{default:()=>[createTextVNode("off")]})])]}),state$4.sett.camera&&createVNode(Cell,{class:"cameraOpacity",center:!0,title:"透明度"},{default:()=>[createVNode(Slider,{min:0,max:100,modelValue:state$4.sett.opacity,"onUpdate:modelValue":oe=>state$4.sett.opacity=oe},{button:()=>createVNode("div",{class:styles$e.slider},[state$4.sett.opacity])})]})]})],reference:()=>createVNode("div",null,[createVNode(Button,{class:classnames(styles$e.button,styles$e.hasText)},{default:()=>[createVNode(ButtonIcon,{key:"camera",name:"camera"},null),createVNode("span",null,[createTextVNode("摄像头")])]})])}),createVNode("div",{style:{display:"none"}},[state.evaluatingStatus?createVNode(Evaluating$1,{ref:evaluatingRef,key:"lianxi"},null):createVNode(Button,{class:classnames(styles$e.button,styles$e.hasText),onClick:startEvaluat},{default:()=>[createVNode(ButtonIcon,{key:"evaluating",name:"evaluating"},null),createVNode("span",null,[createTextVNode("评测")])]})])]),modelType.value==="practice"&&createVNode(Fragment,null,[createVNode(Button,{class:classnames(styles$e.button,styles$e.hasText),onClick:()=>changeMode(state.mode==="background"?"music":"background"),disabled:G},{default:()=>[createVNode(ButtonIcon,{key:"music",name:state.mode==="music"?"music":"accompaniment"},null),createVNode("span",null,[state.mode==="background"?"伴奏":"原声"])]}),createVNode(Button,{class:classnames(styles$e.button,styles$e.hasText),onClick:sectionChange,disabled:state.evaluatingStatus},{default:()=>[createVNode(ButtonIcon,{key:"section",name:"section"+(state$2.section.length&&state$2.section.length<=2?state$2.section.length:"")},null),createVNode("span",null,[createTextVNode("选段")])]}),createVNode(Button,{class:classnames(styles$e.button,styles$e.hasText),onClick:()=>{state$4.sett.fingering=!state$4.sett.fingering,event.emit("settingFingeringChange")}},{default:()=>[createVNode(ButtonIcon,{key:"music",name:state$4.sett.fingering?"fingeringOn":"fingeringOff"},null),createVNode("span",null,[createTextVNode("指法")])]})]),["practice","evaluation"].includes(modelType.value)&&createVNode(Popover,{trigger:"manual",overlay:!1,placement:"bottom",class:styles$e.popover,show:F.value&&state.speedShow&&!(state.evaluatingStatus||state.playState==="play"),"onUpdate:show":oe=>state.speedShow=oe},{default:()=>[createVNode(Speed,{ref:R,updateSpeed:oe=>state.speed=oe,changed:changeSpeed,mode:state.mode,changeMode,lib:{speed:state.speed},class:styles$e.speed},null)],reference:()=>createVNode(Button,{class:classnames(styles$e.button,styles$e.hasText,styles$e.speedButton),disabled:state.evaluatingStatus||state.playState==="play",onClick:()=>{var oe;(oe=R.value)==null||oe.refUpdateSpeed(state.speed),state.speedShow=!state.speedShow}},{default:()=>[createVNode(ButtonIcon,{name:"speed"},null),createVNode("span",null,[createTextVNode("速度")]),createVNode("span",{class:styles$e.label},[state.speed])]})}),(ne=state$2.activeDetail)!=null&&ne.notation?createVNode(Popover,{class:styles$e.toggleMusicType,placement:"bottom-end",show:Y.value,"onUpdate:show":oe=>{var ue;state.playState==="play"||state.evaluatingStatus&&!startButtonShow.value||(ue=followRef.value)!=null&&ue.data.start||(Y.value=oe)}},{reference:()=>{var oe;return createVNode(Button,{disabled:state.playState==="play"||state.evaluatingStatus&&!startButtonShow.value||((oe=followRef.value)==null?void 0:oe.data.start),class:classnames(styles$e.button,styles$e.hasText,styles$e.speedButton)},{default:()=>[createVNode(ButtonIcon,{name:"icon-zhuanpu"},null),createVNode("span",null,[K("staff")?"转简谱":"转五线谱"])]})},default:()=>createVNode(Fragment,null,[createVNode("div",{role:"menuitem",class:"van-popover__action",onClick:()=>X({text:"五线谱"})},[createVNode(ButtonIcon,{key:"type",name:K("staff")?"icon-staff-active":"icon-staff"},null),createVNode("div",{class:["action-text",K("staff")&&"action-active"]},[createTextVNode("五线谱")])]),createVNode("div",{role:"menuitem",class:"van-popover__action",onClick:()=>X({text:"简谱"})},[createVNode(ButtonIcon,{key:"type",name:K("shoudiao")?"shuodiao-active":"shuodiao"},null),createVNode("div",{class:["action-text",K("shoudiao")&&"action-active"]},[createTextVNode("首调")])]),createVNode("div",{role:"menuitem",class:"van-popover__action",onClick:()=>X({text:"固定调"})},[createVNode(ButtonIcon,{key:"type",name:K("guding")?"guding-active":"guding"},null),createVNode("div",{class:["action-text",K("guding")&&"action-active"]},[createTextVNode("固定调")])])])}):null,state$2.initRendered&&createVNode(Fragment,null,[createVNode(Button,{class:classnames(styles$e.button,styles$e.hasText),onClick:()=>{var oe;(oe=settingPopup.value)==null||oe.onShow()},disabled:state.evaluatingStatus&&!startButtonShow.value},{default:()=>[createVNode(ButtonIcon,{name:"setting"},null),createVNode("span",null,[createTextVNode("设置")])]}),createVNode(Popups,{ref:settingPopup,style:{borderRadius:"8px"}},{default:()=>[createVNode(Setting,{active:modelType.value=="practice"?"2":modelType.value=="evaluation"?"3":"1"},null)]})]),modelType.value==="follow"&&createVNode(Fragment,null,[createVNode(Follow,{ref:followRef},null)])]),createVNode(Teleport,{to:"body"},{default:()=>[modelType.value!=="evaluation"&&createVNode("div",{class:classnames(styles$e.btnMusicList),onClick:open$1},[createVNode(ButtonIcon,{name:"music-list1"},null)])]}),state$2.initRendered&&!state$2.frozenMode&&createVNode(ModelWraper,{show:modelWraperShow.value,onChangeModelType},null),createVNode(FloatWraper,null,null),createVNode(Dialog.Component,{teleport:"body",class:styles$f.confirm,style:{overflow:"initial"},show:confirmShow.value,"onUpdate:show":oe=>confirmShow.value=oe,message:"设置成功,是否立即重新加载?"},{title:()=>createVNode("img",{class:styles$f.iconTitle,src:iconTitle},null),footer:()=>createVNode("div",{class:styles$f.footer},[createVNode("img",{src:iconCancel,onClick:()=>confirmShow.value=!1},null),createVNode("img",{src:iconConfirm,onClick:()=>{W(),useReload()}},null)])})])}}}),scoreInfos={1:{img:Image1,tips:"你的演奏不太好,音准和完整性还需加强,再练一练吧~",mome:"敢于尝试"},2:{img:Image2,tips:"你的演奏还不熟练,音准和完整性还需加强,加紧训练才能有好成绩哦~",mome:"还要加油哦~"},3:{img:Image3,tips:"你的演奏还不流畅,音准和节奏还需加强,科学的练习才能更完美哦~",mome:"突破自我"},4:{img:Image4,tips:"你的演奏还不错,继续加油吧,加强音准,离完美就差一步啦~",mome:"崭露头角"},5:{img:Image5,tips:"你的演奏非常不错,音准的把握和节奏稍有瑕疵,完整性把握的很好~",mome:"你很棒"}};ref(!1);const search$2=useOriginSearch(),Content=defineComponent({name:"ColexiuEvaluating",props:{data:{type:Object,default:()=>null}},emits:["restart","upload"],setup(j,{emit:D}){const B=ref(!1),R=ref(""),{data:F}=toRefs(j),U=location.origin.indexOf("localhost")>-1||location.origin.indexOf("192.168")>-1?"":"/accompany",Y=()=>{var G,Z,Q,te,re,J,ie,ne,oe;const K={id:(G=F.value)==null?void 0:G.recordId,musicId:search$2.id,name:((Z=state$3.user)==null?void 0:Z.username)||"",subjectName:(((Q=state$3.user)==null?void 0:Q.subjectName)||"").split(",")[0]||"",avatar:encodeURIComponent(((te=state$3.user)==null?void 0:te.avatar)||""),score:((re=F.value)==null?void 0:re.score)||0,examSongName:((J=state$2.activeDetail)==null?void 0:J.examSongName)||""};return state$2.isPercussion||(K.intonation=(ie=F.value)==null?void 0:ie.intonation,K.cadence=(ne=F.value)==null?void 0:ne.cadence,K.integrity=(oe=F.value)==null?void 0:oe.integrity),`${location.origin}${U}/share-colexiu-evaluating/index.html?${queryString.stringify(K)}`},q=K=>{const G=K.target;G&&(G.contentWindow.setPng=Z=>{R.value=Z})},X=()=>{R.value&&postMessage({api:"shareAchievements",content:{title:"分享我的乐器练习进度,一起见证我的成长!",desc:"晒一下我的评测分数,快来“小酷AI”上和我PK一下吧!",image:R.value,video:"",type:"image",button:["copy"],url:Y()}},K=>{var G,Z,Q;(G=K==null?void 0:K.content)!=null&&G.status&&(B.value=!1),(Z=K==null?void 0:K.content)!=null&&Z.message&&Toast((Q=K==null?void 0:K.content)==null?void 0:Q.message)})},W=()=>{var K;postMessage({api:"openWebView",content:{url:location.origin+U+"/colexiu-report.html?source=evaluation&musicId="+search$2.id+"&id="+((K=F.value)==null?void 0:K.recordId)||"",orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0}})};return()=>{var G,Z;const K=getLeveByScoreId((G=F.value)==null?void 0:G.score);return createVNode("div",null,[createVNode("div",{class:styles$f.box},[createVNode("div",{class:styles$f.wrap},[createVNode("div",{class:styles$f.top},[K===5&&createVNode("img",{class:styles$f.iconLeft,src:iconBadge},null),createVNode("div",{class:styles$f.title},[createVNode("div",{style:{position:"relative",zIndex:1,"white-space":"nowrap"}},[createVNode("span",{class:styles$f.num},[(Z=F.value)==null?void 0:Z.score]),createVNode("span",{class:styles$f.txt},[createTextVNode("分 "),createVNode("span",null,[scoreInfos[K].mome])])]),createVNode("div",{class:styles$f.line},null)]),createVNode("img",{class:styles$f.iconTop,src:scoreInfos[K].img},null)]),createVNode("div",{class:styles$f.evaluatWrap},[createVNode(Grid,null,{default:()=>[createVNode(GridItem,null,{icon:()=>createVNode("div",null,[createVNode("img",{class:styles$f.evaluatIcon,src:IntonationIcon},null),createVNode("span",{class:styles$f.evaluatTitle},[createTextVNode("音准")])]),text:()=>{var Q;return createVNode("span",{class:styles$f.fraction},[(Q=F.value)==null?void 0:Q.intonation,createVNode("span",null,[createTextVNode("分")])])}}),createVNode("div",{class:styles$f.line},null),createVNode(GridItem,null,{icon:()=>createVNode("div",null,[createVNode("img",{class:styles$f.evaluatIcon,src:CadenceIcon},null),createVNode("span",{class:styles$f.evaluatTitle},[createTextVNode("节奏")])]),text:()=>{var Q;return createVNode("span",{class:styles$f.fraction},[(Q=F.value)==null?void 0:Q.cadence,createVNode("span",null,[createTextVNode("分")])])}}),createVNode("div",{class:styles$f.line},null),createVNode(GridItem,null,{icon:()=>createVNode("div",null,[createVNode("img",{class:styles$f.evaluatIcon,src:IntegrityIcon},null),createVNode("span",{class:styles$f.evaluatTitle},[createTextVNode("完整性")])]),text:()=>{var Q;return createVNode("span",{class:styles$f.fraction},[(Q=F.value)==null?void 0:Q.integrity,createVNode("span",null,[createTextVNode("分")])])}})]})]),createVNode("div",{class:styles$f.tips},[scoreInfos[K].tips]),createVNode("div",{class:styles$f.btns},[state$2.frozenMode?null:createVNode(Button,{onClick:()=>{state.evaluatingStatus=!1,onChangeModelType("practice")}},{default:()=>[createVNode("img",{class:styles$f.btnIcon,src:iconLianxi},null)]}),createVNode(Button,{style:{margin:"0 4px"},onClick:()=>D("restart")},{default:()=>[createVNode("img",{class:styles$f.btnIcon,src:TryIcon},null)]}),createVNode(Button,{onClick:W},{default:()=>[createVNode("img",{class:styles$f.btnIcon,src:iconReport,alt:"查看报告"},null)]})])]),createVNode(Popup,{teleport:"body",show:B.value,style:{background:"transparent"}},{default:()=>[createVNode("div",{style:{textAlign:"right"}},[createVNode(Button,{class:styles$f.sbtn,onClick:X,round:!0,type:"primary",color:"#2DC7AA"},{default:()=>[createTextVNode("分享")]}),createVNode(Button,{class:styles$f.sbtn,onClick:()=>B.value=!1,round:!0},{default:()=>[createTextVNode("关闭")]})]),createVNode("iframe",{style:{width:"50vw",border:"none",height:"70vh",marginTop:"1vh"},src:Y(),onLoad:q},null)]}),createVNode(Button,{class:styles$f.button,icon:backIcon,onClick:()=>D("restart")},null),createVNode(Button,{class:styles$f.skepBtn,onClick:()=>D("upload")},{default:()=>[createTextVNode("保存演奏")]}),createVNode(Button,{class:[styles$f.skepBtn,styles$f.sharBtn],onClick:()=>B.value=!0},{default:()=>[createTextVNode("分享")]})])])}}}),evaluatingShow=ref(!1),open=ref(!1),Evaluating=defineComponent({name:"ColexiuEvaluating",props:{data:{type:Object,default:()=>null}},emits:["restart"],setup(j){const D=ref(!1),B=state$4.sett.camera&&state$4.eva.save;console.log(state$4.sett.camera,state$4.eva.save);const R=U=>{var Y,q;postMessage({api:"proxyServiceMessage",content:{header:{commond:"videoUpload",status:200,type:"SOUND_COMPARE"},body:{filePath:(Y=U==null?void 0:U.content)==null?void 0:Y.filePath,recordId:(q=j.data)==null?void 0:q.recordId}}})},F=()=>{B?postMessage({api:"videoUpdate"},U=>{if(D.value=!1,U!=null&&U.content){if(U.content.type==="error"){Toast(U.content.message);return}R(U)}}):(D.value=!1,R(),Toast.success("上传成功"))};return()=>createVNode("div",null,[createVNode(Popup,{position:"bottom",show:evaluatingShow.value,"onUpdate:show":U=>evaluatingShow.value=U,onOpen:()=>open.value=!0,onClosed:()=>open.value=!1,teleport:"body",style:{backgroundColor:"transparent"}},{default:()=>[open&&createVNode(Content,{data:j.data,onUpload:()=>D.value=!0,onRestart:()=>evaluatingShow.value=!1},null)]}),createVNode(Dialog.Component,{teleport:"body",class:styles$f.confirm,style:{overflow:"initial"},show:D.value,"onUpdate:show":U=>D.value=U,message:`评测${B?"音视频":"音频"}是否保存演奏?`},{title:()=>createVNode("img",{class:styles$f.iconTitle,src:iconTitle},null),footer:()=>createVNode("div",{class:styles$f.footer},[createVNode("img",{src:iconCancel,onClick:()=>D.value=!1},null),createVNode("img",{src:iconConfirm,onClick:F},null)])})])}}),soundNeedShow=()=>{if(state.evaluatingStatus&&!permissionPopup.show){let j=-1;const D=localStorage.getItem(storeKeys.lastCheckTime);try{const B=dayjs(parseFloat(D||"0"));B.isValid()&&(j=Math.abs(B.diff(dayjs(new Date().valueOf()),"day")))}catch{}(state$4.sett.tuning||j>0||!D)&&(soundEffectShow.value=!0)}},setWiredStatus=j=>{state.evaluatingStatus?(permissionPopup.active="earphone",permissionPopup.show=!(j!=null&&j.content.checkIsWired),soundNeedShow()):permissionPopup.show=!1},useWiredHeadsetCheck=()=>{const j=ref(!1);return watch(()=>state.evaluatingStatus,()=>{postMessage({api:"isWiredHeadsetOn"},setWiredStatus)}),watch(()=>permissionPopup.show,()=>{soundNeedShow()}),watch([()=>state.evaluatingStatus],()=>{Toast.clear(),state.evaluatingStatus||(state.evaluatingTips=!1,pause(),setCurrentTime(0)),state$4.sett.fingering&&event.emit("settingFingeringChange")}),watch([()=>state.evaluatingStatus,()=>permissionPopup.show,()=>soundEffectShow.value],([D,B,R])=>{j.value=D&&!B&&!R,state.evaluatingStatus||(state$2.evaluatings={},evaluatingShow.value=!1)}),onMounted(()=>{listenerMessage("listenerWiredStatus",setWiredStatus)}),onBeforeUnmount(()=>{removeListenerMessage("listenerWiredStatus",setWiredStatus)}),[j]},browserInfo$2=browser(),useFee=(j,D)=>{var W,K,G;console.log("maxtime",j,D);const B=((W=state$2.activeDetail)==null?void 0:W.orderStatus)||D,F=useOriginSearch().setting||{};if((K=state$2.activeDetail)!=null&&K.play||F.feeType==="FREE")return;const U=useClientType();if(!browserInfo$2.isApp&&U==="web"||j!=null&&j.includes("VIP")&&((G=state$3.user)==null?void 0:G.membershipDays)>0||j!=null&&j.includes("CHARGE")&&B==="PAID")return;const Y=ref(-1),q=state$2.times[state$2.times.length-1];q&&(Y.value=Math.max(10,q.time*state$2.freeRate));const X=Z=>{var te,re,J;const Q=((te=state$2.activeDetail)==null?void 0:te.orderStatus)||D;U!="web"&&Y.value>=0&&state.currentTimeNum>=Y.value&&(j!=null&&j.includes("CHARGE")&&j.includes("VIP")?Q!=="PAID"&&!(((re=state$3.user)==null?void 0:re.membershipDays)>0)&&(permissionPopup.active="memberAndDemand",permissionPopup.show=!0,pause()):j==="CHARGE"?Q!=="PAID"&&(permissionPopup.active="demand",permissionPopup.show=!0,pause()):j==="VIP"&&(((J=state$3.user)==null?void 0:J.membershipDays)>0||(permissionPopup.active="member",permissionPopup.show=!0,pause())))};state.audiosInstance.event.on("timeupdate",X),listenerMessage("cloudTimeUpdae",X),onBeforeUnmount(()=>{state.audiosInstance.event.off("timeupdate",X),removeListenerMessage("cloudTimeUpdae",X)})},search$1=useOriginSearch(),browserInfo$1=browser(),useClientType=()=>{let j=location.pathname.indexOf("/student/")===0||browserInfo$1.isStudent,D=location.pathname.indexOf("/teacher/")===0||browserInfo$1.isTeacher,B="student";return j&&(B="student"),D&&(B="teacher"),search$1.client&&(B=search$1.client),B},MemberDefaultData={membershipDays:1},useUpdateMember=()=>{request.get(`/music/sheet/detail/${search$1.id}`,{prefix:useClientType()==="teacher"?"/api-teacher":"/api-student"}).then(j=>{state$2.activeDetail&&(state$2.activeDetail.orderStatus=j.data.orderStatus,state$2.activeDetail.play=j.data.play)})},useUser=()=>{const j=usePageVisibility(),D=async()=>{try{const B=useClientType();if(B==="student"){const{data:R}=await request.get("/appLoginUser/getUserInfo");state$3.user=R}if(B==="teacher"){const{data:R}=await request.get("/appLoginUser/getUserInfo",{prefix:"/api-teacher"});state$3.user={...MemberDefaultData,...R}}B==="web"&&(state$3.user={...MemberDefaultData})}catch{}};D(),watch(j,async B=>{var R,F;permissionPopup.show=!1,B==="visible"&&((R=state$3.user)==null?void 0:R.membershipDays)===0&&D(),B==="visible"&&((F=state$2.activeDetail)==null?void 0:F.orderStatus)!=="PAID"&&useUpdateMember()})},typeById={2:{name:"flute",direction:"transverse"},4:{name:"clarinet",direction:"vertical",width:"1rem",paddingLeft:"0rem"},5:{name:"saxophone",direction:"vertical",width:"2rem"},6:{name:"saxophone",direction:"vertical",width:"2rem"},12:{name:"trumpet",direction:"transverse",height:"80px"},13:{name:"horn",direction:"vertical",width:"3.5rem"},14:{name:"trombone",direction:"transverse",height:"80px"},15:{name:"up-bass-horn",direction:"vertical",width:"3rem"},17:{name:"tuba",direction:"vertical",width:"3rem"},120:{name:"piccolo",direction:"vertical",width:"1rem"},136:{name:"hulusi-flute",direction:"vertical",width:"1.2rem"},135:{name:"pan-flute",direction:"vertical",width:"2.5rem"},134:{name:"ocarina",direction:"vertical",width:"2rem"},137:{name:"melodica",direction:"transverse"},130:{name:"ukulele",direction:"vertical",width:"2rem"},140:{name:"mouthorgan",direction:"transverse",height:"80px"},150:{name:"piano",direction:"transverse",height:"80px"}},relationships={flute17:{59:[27,26,25,15,24,22,17,20],60:[1,2,3,5,7,9,11,12,13,15],1060:[1,2,3,5,7,9,1011,12,13,15],61:[1,2,3,5,7,9,13,15],1061:[1,2,3,5,7,9,1013,15],62:[1,2,3,5,7,9,15],1062:[1,2,3,5,7,9,1010,15],63:[1,2,3,5,7,9,10,15],1063:[1,2,3,5,7,1009,10,15],64:[1,2,3,5,7,10,15],1064:[1,2,3,5,1007,10,15],65:[1,2,3,5,10,15],1065:[1,2,3,1005,9,10,15],66:[1,2,3,9,10,15],1066:[1,2,3,1009,10,15],67:[1,2,3,10,15],1067:[1,2,3,1004,10,15],68:[1,2,3,4,10,15],1068:[[1,2,1003,4,10,15],[1,2,1003,1004,10,15]],69:[1,2,10,15],1069:[1,1002,10,14],70:[[1,5,10,15],[1,10,14]],1070:[1,1005,10,15],71:[1,10,15],1071:[1,10,1015],72:[1,10],1072:[1001,10],73:[13],1073:[1006,13],74:[2,3,5,7,9,15],1074:[2,3,5,7,9,1013,15],75:[2,3,5,7,9,10,15],1075:[2,3,5,7,9,10,15],76:[1,2,3,5,7,10,15],1076:[1,2,3,5,1007,10,15],77:[1,2,3,5,10,15],1077:[1,2,3,1005,9,10,15],78:[1,2,3,9,10,15],1078:[1,2,3,1009,10,15],79:[1,2,3,10,15],1079:[1,2,3,4,10,15],80:[1,2,3,4,10,15],1080:[1,2,1003,4,10,15],81:[1,2,10,15],1081:[1,1002,10,15],82:[[1,5,10],[1,10,14]],1082:[1,1005,10,15],83:[1,10,15],1083:[1,10,1015],84:[1,10],1084:[1001,10],85:[10],1085:[1006,10],86:[2,3,10,15],1086:[2,3,1008,10,15],87:[1,2,3,4,5,7,8,10,15],1087:[1,2,1003,4,5,7,8,10,15],88:[1,2,5,7,10,15],1088:[1,1002,5,7,10,15],89:[1,3,5,10,15],1089:[1,3,1005,9,10,15],90:[1,3,9,10,15],1090:[1,3,9,10,1015],91:[1,2,3,10],1091:[1,2,3,1006,10],92:[2,3,4,10],1092:[2,3,4,1006,10],93:[2,5,10,15],1093:[1002,5,10,15],94:[5,6,15],1094:[1,3,1005,1006,8,15],95:[1,3,8,15],1095:[1,3,8,10,1015],96:[1,2,3,4,5,11],1096:[1001,2,3,4,5,11]},flute:{59:[27,26,25,15,24,22,17,20],60:[27,26,25,15,24,22,17,20],61:[27,26,25,15,24,22,17,21],62:[27,26,25,15,24,22,17],63:[27,26,25,15,24,22,17,19],64:[27,26,25,15,24,22,19],65:[27,26,25,15,24,19],66:[27,26,25,15,17,19],67:[27,26,25,15,19],68:[27,26,25,15,18,19],69:[27,26,15,19],70:[[27,14,19],[27,24,15,19]],71:[27,15,19],72:[27,19],73:[19],74:[26,25,24,22,17,15],75:[26,25,24,22,17,19,15],76:[27,26,25,15,24,22,19],77:[27,26,25,15,24,19],78:[27,26,25,15,17,19],79:[27,26,25,15,19],80:[27,26,25,15,18,19],81:[27,26,15,19],82:[[27,14,19],[27,24,15,19]],83:[27,15,19],84:[27,19],85:[19],86:[26,25,15,19],87:[27,26,25,15,24,22,17,18,19],88:[27,26,15,24,22,19],89:[27,25,24,15,19],90:[27,25,17,15,19],91:[27,26,25,19],92:[26,25,18,19],93:[26,24,15,19],94:[23,24,15,19],95:[27,25,15,16],96:[27,26,25,18,24,19]},clarinet:{52:[[3,4,6,8,9,11,14,18,20],[3,4,6,8,9,11,14,20]],53:[[3,4,6,8,9,11,12,20],[3,4,6,8,9,11,18,20]],54:[[3,4,6,8,9,11,13,18,20],[3,4,6,8,9,11,13,20],[3,4,6,8,9,11,15]],55:[3,4,6,8,9,11,20],56:[3,4,6,8,9,11,16,20],57:[3,4,6,8,9,20],58:[3,4,6,8,20],59:[[3,4,6,9,20],[3,4,6,8,10,20]],60:[3,4,6,20],61:[3,4,6,7,20],62:[3,4,20],63:[[3,4,20,24],[3,4,5,20],[3,8,20]],64:[3,20],65:[20],66:[[3],[20,23,24]],67:[],68:[2],69:[1],70:[1,19],71:[[3,4,6,8,9,11,14,18,19,20],[3,4,6,8,9,11,14,19,20]],72:[[3,4,6,8,9,11,12,19,20],[3,4,6,8,9,11,18,19,20]],73:[[3,4,6,8,9,11,13,19,20],[3,4,6,8,9,11,13,18,19,20],[3,4,6,8,9,11,15,19,20]],74:[3,4,6,8,9,11,19,20],75:[3,4,6,8,9,11,16,19,20],76:[3,4,6,8,9,19,20],77:[3,4,6,8,19,20],78:[[3,4,6,9,19,20],[3,4,6,8,10,19,20]],79:[3,4,6,19,20],80:[3,4,6,7,19,20],81:[3,4,19,20],82:[[3,4,19,20,24],[3,4,5,19,20],[3,4,8,19,20]],83:[3,19,20],84:[19,20],85:[4,6,8,9,19,20],86:[4,6,8,16,19,20],87:[[4,6,8,10,16,19,20],[4,6,9,16,19,20]],88:[4,6,16,19,20],89:[4,6,7,16,19,20]},trumpet:{0:[1,2,3],54:[4,5,6],55:[4,2,6],56:[1,5,6],57:[4,5,3],58:[4,2,3],59:[1,5,3],60:[1,2,3],61:[4,5,6],62:[4,2,6],63:[1,5,6],64:[4,5,3],65:[4,2,3],66:[1,5,3],67:[1,2,3],68:[1,5,6],69:[4,5,3],70:[4,2,3],71:[1,5,3],72:[1,2,3],73:[4,5,3],74:[4,2,3],75:[1,5,3],76:[1,2,3],77:[4,2,3],78:[1,4,3],79:[1,2,3],80:[1,5,6],81:[4,5,3],82:[4,2,3],83:[1,5,3],84:[1,2,3]},horn:{53:[1],54:[2],55:[],56:[2,3],57:[1,2],58:[1],59:[2],60:[],61:[1,2],62:[1],63:[2],64:[],65:[1],66:[2],67:[],68:[0,2,3],69:[0,1,2],70:[0,1],71:[0,2],72:[0],73:[0,2,3],74:[0,1,2],75:[0,1],76:[0,2],77:[0],78:[0,2],79:[0],80:[0,2,3],81:[0,1,2],82:[0,1],83:[0,2],84:[0]},upBassHorn:{0:[1,2,3],40:[4,5,6],41:[4,2,6],42:[1,5,6],43:[4,5,3],44:[4,2,3],45:[1,5,3],46:[1,2,3],47:[4,5,6],48:[4,2,6],49:[1,5,6],50:[4,5,3],51:[4,2,3],52:[1,5,3],53:[1,2,3],54:[1,5,6],55:[4,5,3],56:[4,2,3],57:[1,5,3],58:[1,2,3],59:[4,5,3],60:[4,2,3],61:[1,5,3],62:[1,2,3],63:[4,2,3],64:[1,5,3],65:[1,2,3],66:[1,5,6],67:[4,5,3],68:[4,2,3],69:[1,5,3],70:[1,2,3]},trombone:{0:[1],40:[22],41:[11],42:[5],43:[4],44:[3],45:[2],46:[1],47:[22],48:[11],49:[5],50:[4],51:[3],52:[2],53:[1],54:[5],55:[4],56:[3],57:[2],58:[1],59:[4],60:[3],61:[2],62:[1],63:[3],64:[2],65:[1],66:[5],67:[4],68:[3],69:[2],70:[1]},saxophone:{58:[2,4,5,13,17,18,19,23],59:[2,4,5,11,17,18,19,23],60:[2,4,5,17,18,19,23],61:[2,4,5,12,17,18,19,23],62:[2,4,5,17,18,19],63:[2,4,5,17,18,19,22],64:[2,4,5,17,18],65:[2,4,5,17],66:[[2,4,5,18],[2,4,5,17,21]],67:[2,4,5],68:[2,4,5,10],69:[2,4],70:[[2,4,16],[2,17],[2,3]],71:[2],72:[[4],[2,15]],73:[],74:[2,4,5,6,17,18,19],75:[2,4,5,6,17,18,19,22],76:[2,4,5,6,17,18],77:[2,4,5,6,17],78:[[2,4,5,6,18],[2,4,5,6,17,21]],79:[2,4,5,6],80:[2,4,5,6,10],81:[2,4,6],82:[[2,4,6,16],[2,6,17],[2,3,6]],83:[2,6],84:[[4,6],[2,6,15]],85:[6],86:[6,9],87:[6,7,8],88:[6,8,9,14],89:[[6,7,8,9,14],[1,4,6]]},tuba:{0:[1,2,3],28:[4,5,6],29:[4,2,6],30:[1,5,6],31:[4,5,3],32:[4,2,3],33:[1,5,3],34:[1,2,3],35:[4,5,6],36:[4,2,6],37:[1,5,6],38:[4,5,3],39:[4,2,3],40:[1,5,3],41:[1,2,3],42:[1,5,6],43:[4,5,3],44:[4,2,3],45:[1,5,3],46:[1,2,3],47:[4,5,3],48:[4,2,3],49:[1,5,3],50:[1,2,3],51:[4,2,3],52:[1,5,3],53:[1,2,3],54:[1,5,6],55:[4,5,3],56:[4,2,3],57:[1,5,3],58:[1,2,3]},piccolo:{72:[11,2,33,4,5,6,7,8],73:[11,2,33,4,5,6,7,88],74:[11,2,33,4,5,6,7],75:[11,2,33,4,5,6,77],76:[11,2,33,4,5,6],77:[11,2,33,4,5,7,8],78:[11,2,33,4,6,7],79:[11,2,33,4],80:[11,2,33,5,6,77],81:[11,2,33],82:[[11,2,4,5],[11,3,4,5]],83:[[11,2],[11,33,4]],84:[11,33],85:[[2,33],[11]],86:[33],87:[33,4,5,6,7],88:[1,2,33,4,5,6],89:[1,2,33,4,5,7],90:[1,2,33,4,6],91:[1,2,33,4],92:[1,2,33,5],93:[1,2,33],94:[1,2,33,5,6,7],95:[1,2,33,5,6],96:[1,2,5,6],97:[1,2,4,5,7,8],98:[1,2,4]},smallDrum:{0:["active","active-left","active-right"],64:["left","right"]},hulusi:{59:[7,6,5,4,3,2,1],60:[7,6,5,4,3,2],61:[7,6,5,4,3],62:[7,6,5,4],63:[7,6,5],64:[7,6],65:[[7,5,4,3,2,1],[7,5,4,3,2],[7,66]],66:[7]},pan:{54:[21],56:[20],58:[19],60:[18],62:[17],64:[16],66:[15],68:[14],70:[13],72:[12],74:[11],76:[10],78:[9],80:[8],82:[7],84:[6],86:[5],88:[4],90:[3],92:[2],94:[1]},ocarina:{57:[1,2,3,4,5,6,7,8,9,10,11,12],58:[1,2,3,4,5,6,8,9,10,11,12],59:[1,2,4,5,6,8,9,10,11,12],60:[1,2,4,5,6,11,12],61:[1,2,4,5,6,7,8,9,11,12],62:[1,2,4,5,6,8,9,11,12],63:[1,2,4,5,6,8,10,11,12],64:[1,2,4,5,6,8,11,12],65:[1,2,4,5,6,11,12],66:[1,2,4,6,9,11,12],67:[1,2,4,6,11,12],68:[1,2,6,9,11,12],69:[1,2,6,11,12],70:[1,2,6,9,11,12],71:[1,6,9,11,12],72:[6,11,12],73:[2,6,12],74:[6,12],75:[2,6],76:[6],77:[]},melodica:{56:[1],57:[2],58:[3],59:[4],60:[5],61:[6],62:[7],63:[8],64:[9],65:[10],66:[11],67:[12],68:[13],69:[14],70:[15],71:[16],72:[17],73:[18],74:[19],75:[20],76:[21],77:[22],78:[23],79:[24],80:[25],81:[26],82:[27],83:[28],84:[29],85:[30],86:[31],87:[32]},ukulele:{60:[3,300],61:[3,301],62:[3,302],63:[3,303],64:[2,200],65:[2,201],66:[2,202],67:[2,203],68:[2,204],69:[1,100],70:[1,101],71:[1,102],72:[1,103],73:[1,104],74:[1,105],75:[1,106],76:[1,107],77:[1,108],78:[1,109],79:[1,110],80:[1,111],81:[1,112],82:[1,113],83:[1,114],84:[1,115],85:[1,116],86:[1,117]},mouthorgan:{53:[101],54:[1],55:[102],56:[2],57:[103],58:[3],59:[104],60:[105],61:[4],62:[106],63:[5],64:[107],65:[108],66:[6],67:[109],68:[7],69:[110],70:[8],71:[111],72:[112],73:[9],74:[113],75:[10],76:[114],77:[115],78:[11],79:[116],80:[12],81:[117],82:[13],83:[118],84:[119],85:[14],86:[120],87:[15],88:[121],89:[122]},piano:{21:[101],22:[1],23:[102],24:[103],25:[2],26:[104],27:[3],28:[105],29:[106],30:[4],31:[107],32:[5],33:[108],34:[6],35:[109],36:[110],37:[7],38:[111],39:[8],40:[112],41:[113],42:[9],43:[114],44:[10],45:[115],46:[11],47:[116],48:[117],49:[12],50:[118],51:[13],52:[119],53:[120],54:[14],55:[121],56:[15],57:[122],58:[16],59:[123],60:[124],61:[17],62:[125],63:[18],64:[126],65:[127],66:[19],67:[128],68:[20],69:[129],70:[21],71:[130],72:[131],73:[22],74:[132],75:[23],76:[133],77:[134],78:[24],79:[135],80:[25],81:[136],82:[26],83:[137],84:[138],85:[27],86:[139],87:[28],88:[140],89:[141],90:[29],91:[142],92:[30],93:[143],94:[31],95:[144],96:[145],97:[32],98:[146],99:[33],100:[147],101:[148],102:[34],103:[149],104:[35],105:[150],106:[36],107:[151],108:[152]}},getTypes=async j=>{switch(j){case"flute":return{json:(await __vitePreload(()=>import("./index-70ca4a73.js"),[],import.meta.url)).default,relationship:relationships.flute,height:"60px",styles:{}};case"clarinet":return{json:(await __vitePreload(()=>import("./index-2499965c.js"),[],import.meta.url)).default,relationship:relationships.clarinet,styles:{marginLeft:".4rem",marginRight:".7rem"}};case"trumpet":return{json:(await __vitePreload(()=>import("./index-f01bef28.js"),[],import.meta.url)).default,relationship:relationships.trumpet};case"horn":return{json:(await __vitePreload(()=>import("./index-20c025d3.js"),[],import.meta.url)).default,relationship:relationships.horn,height:"212px",width:"252px"};case"tuba":return{json:(await __vitePreload(()=>import("./index-902205b3.js"),[],import.meta.url)).default,relationship:relationships.tuba};case"piccolo":return{json:(await __vitePreload(()=>import("./index-3b5fe9c5.js"),[],import.meta.url)).default,relationship:relationships.piccolo};case"up-bass-horn":return{json:(await __vitePreload(()=>import("./index-ad5b3309.js"),[],import.meta.url)).default,relationship:relationships.upBassHorn};case"trombone":return{json:(await __vitePreload(()=>import("./index-51973f5e.js"),[],import.meta.url)).default,relationship:relationships.trombone};case"saxophone":return{json:(await __vitePreload(()=>import("./index-5f35fb88.js"),[],import.meta.url)).default,relationship:relationships.saxophone,styles:{marginLeft:".2rem",marginRight:".3rem"}};case"small-drum":return{json:(await __vitePreload(()=>import("./index-f45b4b54.js"),[],import.meta.url)).default,relationship:relationships.smallDrum,width:"180px"};case"hulusi-flute":return{json:(await __vitePreload(()=>import("./index-3dc255fb.js"),[],import.meta.url)).default,relationship:relationships.hulusi,styles:{marginLeft:".6rem",marginRight:".7rem"}};case"pan-flute":return{json:(await __vitePreload(()=>import("./index-2bda0f6c.js"),[],import.meta.url)).default,relationship:relationships.pan,width:"240px",styles:{marginTop:"auto",marginLeft:".6rem",marginRight:".7rem"}};case"ocarina":return{json:(await __vitePreload(()=>import("./index-6e6ad231.js"),[],import.meta.url)).default,relationship:relationships.ocarina,width:"180px",styles:{marginTop:"auto"}};case"melodica":return{json:(await __vitePreload(()=>import("./index-4fe07c71.js"),[],import.meta.url)).default,relationship:relationships.melodica,height:"80px",styles:{marginTop:"auto"}};case"ukulele":return{json:(await __vitePreload(()=>import("./index-2b3cdef8.js"),[],import.meta.url)).default,relationship:relationships.ukulele};case"mouthorgan":return{json:(await __vitePreload(()=>import("./index-dc78c58e.js"),[],import.meta.url)).default,relationship:relationships.mouthorgan};case"piano":return{json:(await __vitePreload(()=>import("./index-ecf52a27.js"),[],import.meta.url)).default,relationship:relationships.piano};default:return null}},container="_container_ajal8_1",changeIndex="_changeIndex_ajal8_6",activeopacity="_activeopacity_ajal8_1",leftrotates="_leftrotates_ajal8_1",rightrotates="_rightrotates_ajal8_1",styles$1={container,changeIndex,activeopacity,leftrotates,rightrotates},getImageSize=j=>new Promise((D,B)=>{const R=new Image;R.src=j,R.onload=()=>{D(R)},R.onerror=F=>D(R)}),formatFixedKey=(j,D)=>j==="piccolo"&&state$2.times[0]?ref(D+(1-state$2.times[0].octaveOffset)*12):ref(D),formatRelationship=(j,D)=>{let B=j[D]||j[0]||[];return typeof B[0]=="number"||typeof B[0]=="string"?[B]:typeof B[0]=="object"?B:[[]]},useFingeringSrc=(j,D,B)=>{const R=ref("");return j&&D==="trombone"&&!j.relationship[B]?(R.value=j.json.full2,R):(R.value=j.json.full,R)},FingeringComponent=defineComponent({name:"fingering",props:{type:{type:String,default:""},fixedKey:{type:Number,default:0},fingeringInfo:{type:Object},loaded:{type:Function,default:()=>{}},viewInfo:{type:Object}},setup(j,{expose:D}){const B=toRefs(j),R=ref(null),F=ref(null),U=ref(0),Y=ref(0);return D({container:R,containerWidth:U}),()=>{var G,Z,Q,te,re,J,ie,ne,oe,ue,ce,fe,ae,he,ve;if(!((G=B.viewInfo.value)!=null&&G.activeType))return null;const q=formatFixedKey((Z=j.fingeringInfo)==null?void 0:Z.name,B.fixedKey.value).value,X=formatRelationship((te=(Q=B.viewInfo.value)==null?void 0:Q.activeType)==null?void 0:te.relationship,q||0),W=()=>{let de=Y.value===X.length-1?0:Y.value+1;Y.value=de},K=X[Y.value]||[];return createVNode("div",{ref:R,class:classnames((re=j.fingeringInfo)==null?void 0:re.name,styles$1.container),style:{width:((J=j.fingeringInfo)==null?void 0:J.direction)==="vertical"?(ie=j.fingeringInfo)==null?void 0:ie.width:"",height:((ne=j.fingeringInfo)==null?void 0:ne.direction)==="transverse"?((oe=j.fingeringInfo)==null?void 0:oe.height)||"":"100%",display:"flex",paddingLeft:((ue=j.fingeringInfo)==null?void 0:ue.direction)==="vertical"?(ce=j.fingeringInfo)==null?void 0:ce.paddingLeft:"",paddingRight:((fe=j.fingeringInfo)==null?void 0:fe.direction)==="vertical"?(ae=j.fingeringInfo)==null?void 0:ae.paddingRight:""}},[K.includes(0)?createVNode("span",{style:{position:"absolute",top:".5vh",right:".5vw",color:"rgb(1, 193, 181)",fontWeight:"bold"}},[createTextVNode("转调")]):null,createVNode("img",{ref:F,src:(he=B.viewInfo.value)==null?void 0:he.fullsrc,style:{width:"auto",maxWidth:"100%",maxHeight:((ve=j.fingeringInfo)==null?void 0:ve.name)=="ukulele"?"110%":"100%"}},null),K.map((de,se)=>{var be,le,pe,Se,Ae,ye,Me,Ie;const ge=typeof de=="string"?de.replace("active-",""):String(de);return createVNode("img",{"data-index":ge,style:{position:"absolute",top:((be=F.value)==null?void 0:be.offsetTop)+"px",left:((le=F.value)==null?void 0:le.offsetLeft)+"px",zIndex:se,height:((pe=F.value)==null?void 0:pe.height)+"px",width:((Se=F.value)==null?void 0:Se.width)+"px",maxWidth:"100%",maxHeight:((Ae=j.fingeringInfo)==null?void 0:Ae.name)=="ukulele"?"110%":"100%"},src:(Ie=(Me=(ye=B.viewInfo.value)==null?void 0:ye.activeType)==null?void 0:Me.json)==null?void 0:Ie[ge]},null)}),X.length>1?createVNode("div",{role:"button",onClick:W,class:["substituteFinger",styles$1.changeIndex]},[createTextVNode("替指")]):null])}}}),formatdata={Flute:2,Clarinet:4,Trombone:14,Tuba:17,Trumpet:12,Horn:13,AltoSaxophone:6,TenorSaxophone:6,Saxophone:6,UpBassHorn:15,Melodica:137,HulusiFlute:136,PanFlute:135,Ocarina:134,Recorder:120,Ukulele:130,Mouthorgan:140,Piano:150},formatId=j=>formatdata[j]||-1,fingeringWidth=ref(0),fingeringStatus=ref("hidden"),fingeringViewInfo=async j=>{const D=j;if(D){const B=await getTypes(D.name);if(B){const R=formatFixedKey(D.name,state$2.fixedKey),F=useFingeringSrc(B,D.name,R.value),{width:U,height:Y}=await getImageSize(F.value),q=document.getElementById("colexiu-detail-music-sheet").clientHeight||0,X=state.evaluatingStatus?0:U,W=q/Y;return fingeringWidth.value=q?W*X:X,U&&(fingeringStatus.value="show"),reactive({width:U,height:Y,scale:W,usedFixedKey:R.value,fullsrc:F.value,activeType:B,detail:D})}}else fingeringStatus.value="hidden"},useFingering=async(j="")=>{const D=ref({}),B=ref({}),R=await fingeringViewInfo(typeById[formatId(j)]);return D.value=(R==null?void 0:R.activeType)||{},B.value=(R==null?void 0:R.detail)||{},[fingeringStatus,fingeringWidth,D,B]},ee=new eventemitter3Exports;let playStartTime$1=0;class MultipleAudio{constructor(D){Ge(this,"audios",{});Ge(this,"audioList",[]);Ge(this,"length",0);Ge(this,"status","init");Ge(this,"speed",90);Ge(this,"muted",!1);Ge(this,"audio",null);Ge(this,"event",ee);Ge(this,"currentTime",0);Ge(this,"duration",0);Ge(this,"timer",null);Ge(this,"accelerateRefreshPlayer",()=>{if(this.timer)return;const D=this.currentTime;let B=new Date().getTime();this.timer=setInterval(()=>{this.currentTime=(new Date().getTime()-B)/1e3+D,this.event.emit("timeupdate",this)},10)});Ge(this,"clearAccelerateRefreshPlayer",()=>{clearInterval(this.timer),this.timer=null});Ge(this,"setVolume",(D,B)=>{let R=setInterval(()=>{Object.values(this.audios).map(F=>{D?(F.volume-=.01,F.volume<=.01&&(F.volume=0,clearInterval(R),B&&B())):(F.volume+=.01,F.volume>=1&&(F.volume=1,clearInterval(R),B&&B())),console.log(F.volume)})},16.7)});this.setSongs(D)}async setSongs(D){this.audioList=D.filter(F=>!!F).map(F=>F),this.audio=null,this.event.removeAllListeners(),this.audios={};const B=D.filter(F=>!!F).map(async F=>({url:F})),R=await Promise.all(B);for(const F of R){const U=new Audio(F.url);U.load(),this.audios[F.url]=U,this.audio||(this.audio=U)}this.length=B.length,this.audio&&(this.audio.addEventListener("loadedmetadata",F=>{this.setDuration()}),this.audio.addEventListener("timeupdate",F=>{var Y;this.currentTime=((Y=this.audio)==null?void 0:Y.currentTime)||0,this.event.emit("timeupdate",F);let U=!1;this.currentTime===this.duration&&!U&&(U=!0)})),D.length&&(this.status=this.getStatus()),this.event.on("allWaiting",()=>{this.hasWaitng()&&this.event.emit("waiting")}),this.event.on("allPlaying",()=>{this.hasWaitng()||this.event.emit("playing")}),this.syncEvent()}setDuration(D){var R;const B=Object.values(D||this.audios||{});if(B.length){const F=[];for(const Y of B){const q=Y.duration;q>0&&F.push(q)}const U=Math.floor(Math.max(...F)-Math.min(...F));U>=1&&console.log("该教程原音与伴奏时长超过"+U+"秒,请修改后使用"),this.duration=Math.min(...F),this.duration>0&&((R=this.event)==null||R.emit("loadedmetadata",null,this.duration))}}destroyed(){this.pause(),this.event.removeAllListeners(),this.audio=null,this.audios={}}hasWaitng(){let D=!1;for(const B of Object.values(this.audios))if(B.dataset.status==="waiting"){D=!0;break}return D}syncEvent(){let D=!1;const B=q=>{var X;D=!1,console.log("开始触发play事件",new Date().getTime()),this.event.emit("play",q),((X=q.target)==null?void 0:X.src)===this.audioList[0]&&(playStartTime$1=new Date().getTime())},R=async q=>{var X;if(await this.pause(),this.event.emit("pause",q),((X=q.target)==null?void 0:X.src)===this.audioList[0]){const W=new Date().getTime()-playStartTime$1;this.event.emit("updatePlayTime",W/1e3)}},F=q=>{this.status==="play"&&(q.target.dataset.status="waiting"),this.event.emit("allWaiting")},U=q=>{q.target.dataset.status="",this.event.emit("allPlaying")},Y=async q=>{D||(D=!0,await this.pause());for(const X in this.audios)Object.prototype.hasOwnProperty.call(this.audios,X)&&this.event.emit("ended",{target:this.audios[X]})};for(const q of Object.values(this.audios))q.addEventListener("loadedmetadata",()=>this.setDuration(this.audios)),q.addEventListener("play",B),q.addEventListener("pause",R),q.addEventListener("waiting",F),q.addEventListener("playing",U),q.addEventListener("ended",Y)}getStatus(){var D;return this.audio?(D=this.audio)!=null&&D.paused?"pause":"play":"init"}play(D){return this.getStatus()!=="play"?new Promise(B=>{setTimeout(()=>{new Date().getTime(),Object.values(this.audios).map(async(R,F)=>{console.log("play duration",R.duration),await R.play()}),B(this.audios)},D||100)}):(this.status=this.getStatus(),Promise.resolve())}pause(){return this.status=this.getStatus(),Promise.all(Object.values(this.audios).map(async D=>await D.pause())).then(D=>(this.status=this.getStatus(),D))}setMute(D,B){B?this.audios[B]&&(this.audios[B].muted=D):(this.muted=D,Object.values(this.audios).map(R=>R.muted=D))}setSpeed(D,B){B?this.audios[B]&&(this.audios[B].playbackRate=D):(this.speed=D,Object.values(this.audios).map(R=>(R.playbackRate=D,R)))}setCurrentTime(D){this.currentTime=D,Object.values(this.audios).map(B=>B.currentTime=D)}toggleMute(D){D?this.audios[D]&&(this.audios[D].muted=!this.audios[D].muted):(Object.values(this.audios).map(B=>B.muted=!this.muted),this.muted=!this.muted)}async togglePlay(D){if(this.getStatus()==="pause")return await this.play(D);if(this.getStatus()==="play")return this.setMute(!0),await this.pause()}}const search=useOriginSearch(),skpList=["Ukulele"],useXml=async(j,D)=>{let B=ref("");try{const R=await request$1(j),F=getCustomInfo(R);if(skpList.includes(F.code))B.value=R;else{B.value=formatXML(F.parsedXML,{title:D.musicSheetName});const U=Number(search["part-index"])||0;B.value=onlyVisible(B.value,U)}}catch{}return B},useMp3s=async j=>{var X;const B=useOriginSearch()["part-index"]||0,R=(X=j.background)==null?void 0:X[B];state.songs={background:encodeURI(j.audioFileUrl||j.metronomeUrl||j.url||""),music:encodeURI((R==null?void 0:R.audioFileUrl)||(R==null?void 0:R.metronomeUrl)||"")},console.log("backgroundUrl",state.songs.background),console.log("musicUrl",state.songs.music),state$2.isAppPlay=j.audioType==="MIDI";let F={skipTick:!1,repeatedBeats:!0,scoreSize:"middle"},U={};state$2.activeDetail={...j,examSongId:j.id,originalSpeed:90,isAppPlay:j.audioType==="MIDI",extConfigJson:{...F}},state$4.sett.hertz=j.aiDefaultFrequency&&parseInt(""+j.aiDefaultFrequency||"440")||440;try{U=JSON.parse((j==null?void 0:j.extConfigJson)||"")}catch{}state$2.activeDetail.extConfigJson={...state$2.activeDetail.extConfigJson,...U};const Y=state$2.activeDetail.extConfigJson.scoreSize,q=store_legacy.get("zooms")||{};Y&&!q[""+j.id]&&(store_legacy.set("zooms",{...q,[""+j.id]:Y}),state$4.sett.scoreSize=Y),state$2.needTick=j.audioType==="MP3"&&j.mp3Type==="MP3"||j.audioType==="MIDI",state$2.skipTick=state$2.activeDetail.extConfigJson.skipTick,state$2.repeatedBeats=state$2.activeDetail.extConfigJson.repeatedBeats,state.songs.music||changeMode("background"),state.audiosInstance||(state.audiosInstance=new MultipleAudio(Object.values(state.songs)))},useSpecialShapedScreen=()=>{const j=ref(0);return postMessage({api:"isSpecialShapedScreen"},D=>{const B=D==null?void 0:D.content.notchHeight;state$2.notchHeight=(browser().ios?B*2:B)||(D!=null&&D.content.isSpecialShapedScreen&&browser().ios?100:0),j.value=state$2.notchHeight,state$2.isSpecialShapedScreen=D==null?void 0:D.content.isSpecialShapedScreen}),[j]},useDetail=j=>{const D=useClientType(),B=ref("loading"),R=ref({});return B.value="loading",request.get(`/musicSheet/detail/${j}`,{prefix:D==="teacher"?"/api-teacher":"/api-student"}).then(F=>{useMp3s(F.data),R.value={...F.data},R.value.notation==0&&(state$4.sett.type="staff"),state$2.subjectId=(F.data.musicSubject||"").split(",")[0]||0,window.DYSubjectId=formatId(F.data.code),B.value="success"}).catch(()=>B.value="error"),[B,R]},useSuspendPlay=()=>{listenerMessage("suspendPlay",()=>{state$2.activeTick>-1&&stopTick(),console.log(state.playState),state.playState==="play"&&(resetPlayStatus(),state.evaluatingStatus&&evaluatStopPlay(!1))})},event=new eventemitter3Exports,browserInfo=browser(),initBehaviorId=""+new Date().valueOf(),getLinkId=()=>{const j=useOriginSearch().id;return location.hash.split("?")[0].split("/").pop()||j||""},getFixTime=j=>{const D=getDuration(state.osmd);let B=D.numerator||0,R=D.denominator||4;return state$2.repeatedBeats&&(B=B===2?4:B),!state$2.needTick&&!state$2.skipTick?R*60/j/R*B:0};let prevIndex=0;const state=reactive({songs:{},playState:"init",sectionHint:new SectionHint,audiosInstance:null,mode:"music",isFirstPlay:!0,metro:null,metroing:!1,duration:"0:00",durationNum:0,currentTime:"0:00",currentTimeNum:0,loading:!1,speed:90,browser:browser(),speedShow:!1,progressShow:!1,touched:!1,osmd:null,tickPlayer:null,evaluatingStatus:!1,evaluatingTips:!1,clickTime:0,evaluatingFixTime:0,cameraStatus:!1,captureStatus:!1,ticking:!1,partIndex:0,activeIndex:0}),syncStepIndex=j=>{var D;state.osmd.hidden!==!1&&state.osmd.cursor.show(),prevIndex=j,setStepIndex(state.osmd,j),refreshIndex((D=state$2.times[j])==null?void 0:D.time)};watchEffect(()=>{state$2.maskStatus=state.playState==="play"});const syncPlayState=async()=>{if(state$2.activeDetail.isAppPlay){const j=await promisefiyPostMessage({api:"cloudGetMediaStatus"}),D=j==null?void 0:j.content.status;state.playState=D}else state.playState=state.audiosInstance.getStatus()},setCurrentTime=j=>{console.log("setCurrentTime",j);const D=j;state$2.fixedKey=0,state.currentTimeNum=D,state.currentTime=formatTime(D),state$2.activeDetail.isAppPlay?promisefiyPostMessage({api:"cloudSetCurrentTime",content:{currentTime:j*1e3,songID:state$2.activeDetail.examSongId}}):state.audiosInstance.setCurrentTime(D),refreshView(),syncPlayState();const B=getIndex(state$2.times,state.currentTimeNum);syncStepIndex(B)},getActiveMidiId=()=>{var j,D,B,R,F,U;return((U=(F=(R=(B=(D=(j=state.osmd)==null?void 0:j.sheet)==null?void 0:D.instruments)==null?void 0:B[0])==null?void 0:R.subInstruments)==null?void 0:F[0])==null?void 0:U.midiInstrumentID)??0},changeMode=async j=>{var B,R;const D=j==="background"?"music":"background";if(console.log(!state.songs[j],j,D),state$2.activeDetail.isAppPlay){const F=new Map;for(const U of state$2.partListNames)F.set(U,60);for(const U of getVoicePartInfo().partListNames)F.set(U,D==="background"?100:0);promisefiyPostMessage({api:"cloudVolume",content:{activeMidiId:getActiveMidiId(),activeMidiVolume:D==="background"?100:0,parts:Array.from(F.keys()).map(U=>({name:U,volume:F.get(U)}))}})}state.mode=j,(B=state.audiosInstance)==null||B.setMute(!0,state.songs[D]),(R=state.audiosInstance)==null||R.setMute(!1,state.songs[j])},changeAllMode=()=>{var j,D;if((j=state$2.activeDetail)!=null&&j.isAppPlay){const B=new Map;for(const R of state$2.partListNames)B.set(R,1);promisefiyPostMessage({api:"cloudVolume",content:{activeMidiId:getActiveMidiId(),activeMidiVolume:100,parts:Array.from(B.keys()).map(R=>({name:R,volume:B.get(R)}))}})}else state.mode="background",(D=state.audiosInstance)==null||D.setMute(!0)},changeSpeed=(j,D=!0)=>{var R;const B=store_legacy.get("speeds")||{};D&&(B[getLinkId()]=j,store_legacy.set("speeds",B)),state.speed=j,(R=state.audiosInstance)==null||R.setSpeed(j/state$2.baseSpeed),promisefiyPostMessage({api:"cloudChangeSpeed",content:{speed:j,originalSpeed:state$2.activeDetail.originalSpeed,songID:state$2.activeDetail.examSongId}}),state.playState==="play"&&syncStepIndex(getIndex(state$2.times,state.currentTimeNum))},resetCursor=()=>{state.osmd&&(state.osmd.product?state.osmd.cursor.setPosition({...state$2.times[0].cursorBox}):state.osmd.cursor.reset(),state.osmd.cursor.hide(),state$2.fixedKey=0)},refreshIndexBase=j=>{if(j<0)return;const{osmd:D}=state;D&&state$2.times[j]&&(state$2.sectionStatus||state.sectionHint.show(),state$2.times[j]&&state$2.times[j].noteElement&&state.sectionHint.showForElement(state$2.times[j]),D.product||D.cursor.hidden!==!1&&(D.cursor.reset(),D.cursor.show(),state$2.fixedKey=0),prevIndex!==j&&(setStepIndex(state.osmd,state$2.times[j].i,prevIndex),prevIndex=j),state$2.fixedKey=state$2.times[j].realKey,state$2.activeNote=state$2.times[j])},refreshIndex=j=>{const{osmd:D}=state;if(D&&(j||state.audiosInstance.audio)){const B=j||state.audiosInstance.audio.currentTime,R=getIndex(state$2.times,B);state.activeIndex=R,removeRepateBackground(R);const F=state$2.times[state$2.times.length-1],U=(F==null?void 0:F.sourceEndTime)||(F==null?void 0:F.endtime);B>U?(state.osmd.cursor.hide(),state.sectionHint.destroy()):state$2.times[R]&&refreshIndexBase(R)}},removeRepateBackground=j=>{var D,B;if(state.evaluatingStatus&&j){const R=state$2.times[j],F=state$2.times[j+1]||R,U=(B=(D=F==null?void 0:F.noteElement)==null?void 0:D.sourceMeasure)==null?void 0:B.measureListIndex;F&&state$2.evaluatings[U]&&j>0&&(state$2.evaluatings={...state$2.evaluatings,[U]:void 0})}},refreshPlayer=async j=>{var B,R;const{osmd:D}=state;if(D&&(j||state.audiosInstance.audio)){const F=j||state.audiosInstance.audio.currentTime,U=0;if(F+1<U){setCurrentTime(U);return}if((()=>{if(state$2.sectionStatus&&state$2.section.length===2){F>=state$2.section[0].time&&(state$2.sectionFlash=!1);const X=state$2.times[state$2.section[1].i+1],W=X?X.halfTone===0?state$2.section[1].endtime:X.time:state.durationNum;return F+(browserInfo.xiaomi?.2:.08)>=W}return!1})()){state.audiosInstance.setMute(!0),state.osmd.cursor.hide(),(B=state$2.activeDetail)!=null&&B.isAppPlay?pause():await state.audiosInstance.pause(),setSectionModeCurrentTime(),clearAccelerateRefreshPlayer(),setTimeout(()=>setPlayState(),1e3),state.loading=!1;return}(R=state$2.activeDetail)!=null&&R.isAppPlay&&state.durationNum+3<F&&(state.evaluatingStatus?(pause(),event.emit("ended",new Event("ended"))):state$4.sett.loop?(await pause(),await setCurrentTime(0),await play()):pause())}},resetPlayStatus=async j=>{try{prevIndex=0,state.osmd.cursor.reset(),state.osmd.cursor.hide(),state$2.fixedKey=0,state$2.sectionFlash=!1,state.sectionHint&&state.sectionHint.destroy(),j||(state$2.activeDetail.isAppPlay?(await promisefiyPostMessage({api:"cloudSuspend",content:{songID:state$2.activeDetail.examSongId}}),endCapture()):(console.log("resetPlayStatus调用暂停"),state.audiosInstance.pause())),syncPlayState()}catch(D){console.log("resetPlayStatus错误",D)}},play=async()=>{state.isFirstPlay&&(resetPlayStatus(),state$2.fixedKey=0),state$2.activeDetail.isAppPlay?(await syncPlayState(),promisefiyPostMessage({api:"cloudSuspend",content:{songID:state$2.activeDetail.examSongId}}),startCapture()):(state.playState=state.audiosInstance.getStatus(),clearAccelerateRefreshPlayer(),accelerateRefreshPlayer(),startCapture())},setDelayTime=async j=>new Promise(D=>{setTimeout(()=>{D(j)},j)}),pause=async()=>{state$2.sectionStatus&&state.osmd.cursor.hide(),state$2.activeDetail.isAppPlay?(await syncPlayState(),await promisefiyPostMessage({api:"cloudSuspend"}),await setDelayTime(200),endCapture()):(state.playState=state.audiosInstance.getStatus(),clearAccelerateRefreshPlayer(),state.audiosInstance.pause(),setTimeout(()=>{endCapture()},200))},waiting=()=>{state.loading=!0},playing=()=>{state.loading=!1},ended=lodashExports.debounce(async j=>{resetPlayStatus(),state$2.fixedKey=0,state.evaluatingStatus||(refreshPlayer(0),state$4.sett.loop&&await setPlayState()),setCurrentTime(0),event.emit("ended",j)},300,{leading:!0,trailing:!1});let timer=null;const accelerateRefreshPlayer=()=>{timer||!state.audiosInstance||(timer=setInterval(()=>{requestAnimationFrame(()=>{refreshPlayer(),state.audiosInstance.getStatus()==="play"&&refreshIndex()})},16.7))},clearAccelerateRefreshPlayer=()=>{clearInterval(timer),timer=null},sectionChange=()=>{state$2.sectionStatus=!state$2.sectionStatus,clearAccelerateRefreshPlayer(),resetPlayStatus(),state$2.sectionStatus||(setCurrentTime(0),state$2.fixedKey=0),state$2.sectionStatus&&state$2.section.length!=2&&resetCursor()},getFirsrNoteByMeasureListIndex=(j,D=!0)=>{var B,R,F;for(const U of state$2.times)if(((R=(B=U==null?void 0:U.noteElement)==null?void 0:B.sourceMeasure)==null?void 0:R.measureListIndex)===j){let Y=null;for(const q of U.measures)getSlursNote(q)&&(Y=getSlursNote(q));if(Y&&((F=Y.sourceMeasure)==null?void 0:F.measureListIndex)!==j){for(const q of state$2.times)if(q.noteElement.NoteToGraphicalNoteObjectId===Y.NoteToGraphicalNoteObjectId)return q}return U}return null},setSectionModeCurrentTime=()=>{var j,D;if(console.log(state$2.needTick,"setSectionModeCurrentTime"),state$2.needTick)setCurrentTime(state$2.section[0].sourceStartTime||state$2.section[0].time);else{const B=(D=(j=state$2.section[0].noteElement)==null?void 0:j.sourceMeasure)==null?void 0:D.measureListIndex;B>0?(setCurrentTime(getFirsrNoteByMeasureListIndex(B-1).time),state$2.sectionFlash=!0):setCurrentTime(0)}},setPlayerView=()=>{console.log(state$2.sectionStatus,"detailState.sectionStatus"),console.log(state$2.needTick),state$2.sectionStatus&&(syncStepIndex(getIndex(state$2.times,state.currentTimeNum)),state$2.section.length===2?setSectionModeCurrentTime():(state$2.section=[],state$2.sectionBoundingBoxs=[],state$2.sectionStatus=!1,Toast.clear()))},cloudToggleState=async()=>{const j=await promisefiyPostMessage({api:"cloudGetMediaStatus"}),D=j==null?void 0:j.content.status;if(D==="init")return;D==="suspend"?(await promisefiyPostMessage({api:"cloudPlay",content:{songID:state$2.activeDetail.examSongId,startTime:state.currentTimeNum*1e3,originalSpeed:state$2.activeDetail.originalSpeed,speed:state.speed,hertz:440}}),startCapture()):(await promisefiyPostMessage({api:"cloudSuspend"}),endCapture());const B=await promisefiyPostMessage({api:"cloudGetMediaStatus"});state.playState=B==null?void 0:B.content.status,console.log(B,"cloudGetMediaStatused")},toggleState=async j=>{state$2.activeDetail.isAppPlay?await cloudToggleState():(console.log(state$2.activeDetail),console.log("delay",j),state.isFirstPlay=!1,setPlayerView(),await state.audiosInstance.togglePlay(j),state.evaluatingStatus||changeMode(state.mode),state.playState=state.audiosInstance.getStatus())},setActiveKey=j=>{state$2.activeTick=j},setTickStop=()=>{console.log("节拍器结束",new Date().getTime()-state.clickTime),state$2.activeTick=-1,state$2.activeTickRepeat=1,toggleState(getTickTime(state.speed/state$2.baseSpeed))};let timeliner=-1;const clearIntervalTimeline=()=>{clearInterval(timeliner)},onTickDestroy=()=>{event.emit("tickDestroy")},setTick=(j,D)=>{var R,F,U,Y,q,X,W;console.log("ticking");const B=()=>{j(),event.emit("tickEnd")};if(state$2.needTick){let{numerator:K,denominator:G}=getDuration(state.osmd);if(state.osmd.numerator&&state.osmd.denominator&&(K=state.osmd.numerator,G=state.osmd.denominator),state$2.activeDetail.isAppPlay)state.ticking=!0,postMessage({api:"cloudMetronome",content:{repeat:K===2?2:1,denominator:G,numerator:K}},Z=>{state.ticking=!1,(Z==null?void 0:Z.content.status)==="finish"?B():(Z==null?void 0:Z.content.status)==="cancel"&&event.emit("tickDestroy")});else{const Z=K===2?2:1;state$2.activeTickRepeat=Z,console.log("ticking"),state.tickPlayer=new Player(K,(D||state.speed)/90),(R=state.tickPlayer)==null||R.start(K,(D||state.speed)/90,Z),(F=state.tickPlayer)==null||F.event.off("tick",setActiveKey),(U=state.tickPlayer)==null||U.event.off("stop",B),(Y=state.tickPlayer)==null||Y.event.off("destroy",onTickDestroy),(q=state.tickPlayer)==null||q.event.on("tick",setActiveKey),(X=state.tickPlayer)==null||X.event.on("stop",B),(W=state.tickPlayer)==null||W.event.on("destroy",onTickDestroy)}}else B()},setPlayState=async()=>{if(!(state$2.activeTick>-1||state.ticking)){if(await syncPlayState(),console.table({playState:state.playState,currentTime:state.currentTimeNum}),state.playState!=="pause"&&state.playState!=="suspend"){await toggleState();return}console.log("设置播放"),setPlayerView(),setTick(setTickStop)}},stopTick=()=>{state.tickPlayer&&state.tickPlayer.destroy(),event.emit("stopTick"),state$2.activeTickRepeat=1,state$2.activeTick=-1},windowResize=()=>{const j=getIndex(state$2.times,state.currentTimeNum);setTimeout(()=>{var D,B;(B=state.sectionHint)==null||B.showForElement((D=state$2.times[j])==null?void 0:D.noteElement)},200)},loadedmetadata=()=>{state.duration=formatTime(state.audiosInstance.duration),state.durationNum=state.audiosInstance.duration};let prevDiff=0,viewing=!1;const refreshView=()=>{var R;let j,D;(R=state==null?void 0:state.osmd)!=null&&R.product&&(j=state.osmd.cursor.img,D=document.querySelector("#colexiu-detail-music-sheet"));const B=Math.max(parseFloat((j||state.osmd.cursor.cursorElement).style.top),0);Math.abs(prevDiff-B)>10&&!viewing&&(viewing=!0,setTimeout(()=>{viewing=!1,(D||(state$3.clintNmae==="colexiu"?state.osmd.container.parentElement.parentElement:state.osmd.container.parentElement)).scrollTo({top:B,left:0,behavior:"smooth"}),prevDiff=B},100))},updatePlayTime=async j=>{if(!state.evaluatingStatus){const D=useOriginSearch(),B=sessionStorage.getItem("behaviorId")||D.behaviorId||initBehaviorId,R=useClientType();try{const F=await request.post("/sysMusicRecord/add",{prefix:R==="teacher"?"/api-teacher":"/api-student",data:{musicSheetId:getLinkId(),sysMusicScoreId:getLinkId(),feature:"CLOUD_STUDY_TRAIN",playTime:j,deviceType:getPlatform(),behaviorId:B}});event.emit("updatePlayTimeSuccess",F.data)}catch{}}},setAudioInit=()=>{state.audiosInstance.event.on("loadedmetadata",loadedmetadata),state.audiosInstance.event.on("waiting",waiting),state.audiosInstance.event.on("playing",playing),state.audiosInstance.event.on("play",play,!1),state.audiosInstance.event.on("pause",pause,!1),state.audiosInstance.event.on("ended",ended,!1),state.audiosInstance.event.on("updatePlayTime",updatePlayTime,!1),listenerMessage("cloudplayed",async()=>{await syncPlayState(),state.currentTimeNum=0,state.currentTime="00:00",state.audiosInstance.event.emit("ended",new Event("ended"))}),listenerMessage("cloudTimeUpdae",j=>{const D=(j==null?void 0:j.content.currentTime)/1e3;state.playState==="play"&&(state.currentTimeNum=D,state.currentTime=formatTime(D),refreshPlayer(D),refreshIndex(D)),refreshView()}),state.audiosInstance.event.on("timeupdate",()=>{state.currentTimeNum=state.audiosInstance.currentTime,state.currentTime=formatTime(state.audiosInstance.currentTime),requestAnimationFrame(()=>{state.audiosInstance.getStatus()==="play"&&refreshPlayer(),refreshView()})}),window.addEventListener("resize",windowResize)},setStepView=(j,D)=>{prevIndex=Math.max(j.i,0),syncStepIndex(j.i),D&&refreshPlayer(D),refreshView()},noteClick=j=>{if(state.isFirstPlay){Toast("开始播放后才能调整进度");return}let D=getNoteBySlursStart(getActtiveNoteByTimes(j));if(D){const B=D.sourceStartTime||D.time;setCurrentTime(B),setStepView(D.i,B),state$2.fixedKey=D.realKey,state$2.activeNote=D}};let playStartTime=0;const startCapture=async()=>{var j;(j=state$2.activeDetail)!=null&&j.isAppPlay&&(playStartTime=new Date().getTime(),console.log("startCapture",playStartTime)),state$4.sett.camera&&browserInfo.isApp&&!state.captureStatus&&state.evaluatingStatus&&state$4.eva.save&&(state.captureStatus=!0,postMessage({api:"startCapture"},()=>{postMessage({api:"setCaptureMode",content:{mode:"evaluating"}})}))},endCapture=async()=>{var j,D;if((j=state$2.activeDetail)!=null&&j.isAppPlay){const B=new Date().getTime()-playStartTime;playStartTime!==0&&B>0&&((D=state.audiosInstance)==null||D.event.emit("updatePlayTime",B/1e3),playStartTime=0)}browserInfo.isApp&&state.evaluatingStatus&&state$4.sett.camera&&state.captureStatus&&(postMessage({api:"endCapture"},()=>{state.captureStatus=!1}),evaluatPlayerStop())},setCaptureMode=async()=>{browserInfo.isApp&&state$4.sett.camera&&postMessage({api:"setCaptureMode",content:{mode:state.evaluatingStatus?"evaluating":"practice"}})},section="_section_fxysl_1",measure="_measure_fxysl_1",dontTransition="_dontTransition_fxysl_5",after="_after_fxysl_5",img="_img_fxysl_22",font="_font_fxysl_30",bad="_bad_fxysl_35",good="_good_fxysl_43",great="_great_fxysl_51",perfect="_perfect_fxysl_58",noteWrap="_noteWrap_fxysl_80",noteBase="_noteBase_fxysl_86",noteRight="_noteRight_fxysl_89",noteError="_noteError_fxysl_92",flash="_flash_fxysl_124",restFlag="_restFlag_fxysl_127",restFlagActive="_restFlagActive_fxysl_141",flicker="_flicker_fxysl_1",styles={section,measure,dontTransition,after,img,font,bad,good,great,perfect,noteWrap,noteBase,noteRight,noteError,flash,restFlag,restFlagActive,flicker},restPromptData=reactive({list:[]}),restPromptMain=j=>{calculateMergeRest(j)};function calculateMergeRest(j){var U,Y,q,X,W,K,G,Z,Q;const D=[],B=document.querySelector("#osmdSvgPage1"),R=((U=B.getAttribute("viewBox"))==null?void 0:U.split(" "))||[];let F=Number(B.getAttribute("width"))/Number(R[2]);F=isNaN(F)?1:F;for(let te=0;te<j.length;te++){const re=j[te],J=((q=(Y=re==null?void 0:re.noteElement)==null?void 0:Y.sourceMeasure)==null?void 0:q.MeasureNumberXML)||-1,ie=((W=(X=re==null?void 0:re.noteElement)==null?void 0:X.sourceMeasure)==null?void 0:W.multipleRestMeasures)||0,ne=((G=(K=re==null?void 0:re.noteElement)==null?void 0:K.sourceMeasure)==null?void 0:G.allRests)||!1;if(!D.find(ue=>ue.measureNumberXML===J)&&ne&&ie>1){const ue=getStaveBox((Q=(Z=re==null?void 0:re.stave)==null?void 0:Z.attrs)==null?void 0:Q.id,F);D.push({measureNumberXML:J,allRests:ne,multipleRestMeasures:ie,staveBox:ue})}}restPromptData.list=D}function getStaveBox(j,D){var R;if(!j)return{};const B=document.querySelector("#"+j);if(B){const F=(R=B==null?void 0:B.nextElementSibling)==null?void 0:R.getBBox();return{left:F.x*D+"px",top:F.y*D+"px",width:F.width*D+"px",height:F.height*D+"px"}}return{}}function _isSlot(j){return typeof j=="function"||Object.prototype.toString.call(j)==="[object Object]"&&!isVNode(j)}const sectionRef=ref(null),noteInfoItems=reactive({duration:!1,numerator:!1,denominator:!1,i:!1,time:!1,speed:!1});window.setNoteInfoItems=j=>{for(const D in j)Object.prototype.hasOwnProperty.call(j,D)&&(noteInfoItems[D]=j[D])};const uniqueByPosition=j=>{const D={};for(const B of j)B&&B.start_x&&(D[`${B.x}-${B.y}`]=B);return D};watchEffect(()=>{state$2.sectionStatus?state$2.section.length?state$2.section.length===1&&(Toast.clear(),Toast({duration:0,message:"请选择结束节点",position:"top"})):(state$2.befireSection=null,Toast.clear(),Toast({duration:0,message:"请选择开始节点",position:"top"})):(state$2.section=[],state$2.sectionBoundingBoxs=[],Toast.clear())});const Section=defineComponent({name:"section-box",props:{type:{type:String,default:"evaluating"},top:{type:Number,default:0},left:{type:Number,default:0}},data(){return{sectionTop:0,sectionLeft:0}},methods:{getBoundingBoxByNote(j,D){var F,U,Y,q,X,W,K,G,Z,Q,te;const B=(Y=(U=(F=j.sourceMeasure)==null?void 0:F.verticalMeasureList)==null?void 0:U[0])==null?void 0:Y.boundingBox;if(!B)return null;const R={...B.absolutePosition,...B.size,...D};return R.x=R.x*10,R.y=R.y*10,R.width=R.width*10,R.height=R.height*10,(K=(W=(X=(q=j==null?void 0:j.sourceMeasure)==null?void 0:q.verticalMeasureList)==null?void 0:X[0])==null?void 0:W.stave)!=null&&K.height&&(R.height=(te=(Q=(Z=(G=j.sourceMeasure)==null?void 0:G.verticalMeasureList)==null?void 0:Z[0])==null?void 0:Q.stave)==null?void 0:te.height),R},setSettionBackground(){var U,Y,q,X,W;state$2.sectionBoundingBoxs=[];const[j,D]=state$2.section.sort((K,G)=>K.i-G.i),B=Math.abs(D.i-j.i)+1;D.noteLength;const R=[],F=[];for(let K=0;K<B;K++){const G=K+j.i,Q=state$2.times[G].noteElement,te=Q.sourceMeasure.measureListIndex;if(K===0&&te!==0&&!state$2.needTick){const re=getFirsrNoteByMeasureListIndex(te-1),J=re==null?void 0:re.noteElement;if(J){for(let ie=(U=J.sourceMeasure)==null?void 0:U.measureListIndex;ie<((q=(Y=j.noteElement)==null?void 0:Y.sourceMeasure)==null?void 0:q.measureListIndex);ie++)if(!R.includes(ie)){for(const ne of state$2.times)if(((W=(X=ne.noteElement)==null?void 0:X.sourceMeasure)==null?void 0:W.measureListIndex)===ie&&!R.includes(ie)){const oe=this.getBoundingBoxByNote(ne.noteElement,{before:!0});if(state$2.befireSection=ne,!oe)continue;state$2.sectionBoundingBoxs.push(oe),F.push(oe.height),R.push(ie)}}}}if(!R.includes(te)){R.push(te);const re=this.getBoundingBoxByNote(Q);re&&(state$2.sectionBoundingBoxs.push(re),F.push(re.height))}}state$2.sectionBoundingBoxs.map(K=>(K.height=Math.max(...F),K))},setSection(j){const D=getActtiveNoteByTimes(j);if(console.log("🚀 ~ activeNote",D),D&&state$2.section.length<2){const B=state$2.section.length;if(B===0){const R=getNoteBySlursStart(D,!0);state$2.section.push(state$2.times[R.i-R.si])}if(B===1){const R=getNoteBySlursStart(D,!0,"end");state$2.section.push(state$2.times[R.i-R.si+R.noteLength-1])}}state$2.section.length===2&&(Toast.clear(),this.setSettionBackground())},sectionClick(j){if(state$2.sectionStatus)this.setSection(j);else{if(state$2.mode!=="contact"||state.evaluatingStatus)return;event$1.emit("section-click",j)}},filterTimes(j){const D=[];return j.filter(B=>{const R=D.includes(B.id);return D.push(B.id),!R})}},mounted(){var j,D;Toast.clear(),state$2.section=[],this.sectionTop=(j=sectionRef.value)==null?void 0:j.getBoundingClientRect().top,this.sectionLeft=(D=sectionRef.value)==null?void 0:D.getBoundingClientRect().left},beforeUnmount(){Toast.clear(),state$2.sectionStatus=!1,state$2.section=[]},render(){var Y,q,X;let j;const D=state$4.sett.eyeProtection?"var(--eye-section-border-color)":"var(--section-border-color)",B=W=>state$4.sett.eyeProtection?W.before?"var(--section-background-color)":"var(--eye-section-background-color)":W.before?"var(--eye-section-background-color)":"var(--section-background-color)",R=((X=(q=(Y=state$2.times[state.activeIndex])==null?void 0:Y.noteElement)==null?void 0:q.sourceMeasure)==null?void 0:X.MeasureNumberXML)||-2,F=restPromptData.list.find(W=>{const K=R-W.measureNumberXML;return W.allRests&&K>=0&&K<W.multipleRestMeasures}),U=F?R-F.measureNumberXML+1:0;return createVNode("div",{class:styles.section,ref:sectionRef},[this.filterTimes(state$2.times).map(W=>{var J,ie,ne,oe;if(!W.svgElelent)return null;let K;try{K=W.svgElelent.bbox||((ie=(J=W.svgElelent).getBoundingBox)==null?void 0:ie.call(J)),!K&&((oe=(ne=W.svgElelent)==null?void 0:ne.attrs)!=null&&oe.el)&&(K=W.svgElelent.attrs.el.getBBox(),K.w=K.width<15?15:K.width,K.h=K.height<11?11:K.height)}catch(ue){console.log(ue)}if(!K)return null;state$4.sett.type==="jianpu"&&W.svgElelent&&W.svgElelent.top_y&&W.svgElelent.note_height&&(K.y=W.svgElelent.top_y-W.svgElelent.note_height);let{x:G,y:Z,h:Q,w:te}=K,re=null;return W.si===0&&(re=this.getBoundingBoxByNote(W.noteElement)),createVNode(Fragment,null,[W.si===0&&re&&createVNode("div",{"data-id":W.id,style:{position:"absolute",top:formatZoom(re.y)+"px",left:formatZoom(re.x)+"px",height:formatZoom(re.height)+"px",width:formatZoom(re.width)+"px"},onClick:state$2.sectionStatus?this.sectionClick:void 0},null),createVNode("div",{"data-id":W.id,"data-vf":"vf"+W.id,class:styles.noteWrap,style:{position:"absolute",top:formatZoom(Z)+"px",left:formatZoom(G)+"px",height:formatZoom(Q)+"px",width:formatZoom(te)+"px",background:Object.values(noteInfoItems).find(ue=>ue===!0)?"rgba(255, 255, 255, 0.8)":""},onClick:this.sectionClick},[noteInfoItems.duration&&createVNode(Fragment,null,[parseInt(W.duration*100+"")/100,createVNode("br",null,null)]),noteInfoItems.time&&createVNode(Fragment,null,[W.time.toFixed(2),createVNode("br",null,null)]),noteInfoItems.numerator&&createVNode(Fragment,null,[W.noteElement.sourceMeasure.activeTimeSignature.numerator,createVNode("br",null,null),createVNode("br",null,null)]),noteInfoItems.denominator&&createVNode(Fragment,null,[W.noteElement.sourceMeasure.activeTimeSignature.denominator,createVNode("br",null,null),createVNode("br",null,null)]),noteInfoItems.i&&createVNode(Fragment,null,[W.i,createVNode("br",null,null),createVNode("br",null,null)]),noteInfoItems.speed&&createVNode(Fragment,null,[W.speed.toFixed(0),createVNode("br",null,null),createVNode("br",null,null)]),createVNode("div",{class:[styles.noteBase,styles.noteRight]},[createVNode(Icon,{name:"success",size:"16",color:"var(--primary-color)"},null)]),createVNode("div",{class:[styles.noteBase,styles.noteError]},[createVNode(Icon,{name:"cross",size:"16",color:"red"},null)])])])}),state$2.section.map((W,K)=>{var Q;const G=getBoundingBoxByverticalNote(W);let Z;try{const te=W.svgElelent.bbox||((Q=W.svgElelent)==null?void 0:Q.getBoundingBox());Z=formatZoom((te==null?void 0:te.x)||(K===0?G.start_x:G.end_x))}catch(te){console.log(te)}return Z?K===0&&G?createVNode("div",{style:{position:"absolute",top:formatZoom(G.y)-5+"px",left:formatZoom(G.x)+"px",height:formatZoom(G.height)+"px",border:`5px solid ${D}`,borderColor:`${D} transparent ${D} ${D}`,borderRight:"none",width:"5px"}},null):K===1&&G?(G.width=formatZoom(Z-G.x+15),createVNode("div",{style:{position:"absolute",top:formatZoom(G.y-5)+"px",left:formatZoom(G.end_x-3)-5+"px",height:formatZoom(G.height)+"px",border:`5px solid ${D}`,borderColor:`${D} ${D} ${D} transparent`,borderLeft:"none",width:"5px"}},null)):null:null}),state$2.sectionBoundingBoxs.map(W=>{var K;return createVNode("div",{class:{[styles.flash]:W.before&&state$2.sectionFlash&&state.playState==="play"},style:{position:"absolute",top:formatZoom(W.y)+"px",left:formatZoom(W.x)+"px",height:formatZoom((K=getBoundingBoxByverticalNote(state$2.section[0]))==null?void 0:K.height)+"px",width:formatZoom(W.width)+"px",backgroundColor:B(W)}},null)}),createVNode(TransitionGroup,{name:"list",duration:800},_isSlot(j=Object.values(uniqueByPosition(Object.values(state$2.evaluatings))).map(W=>W?createVNode("div",{key:W.y+W.x+W.text,class:classnames(styles[W.text],styles.measure,{[styles.dontTransition]:W.dontTransition}),style:{position:"absolute",top:formatZoom(W.y)+this.top+"px",left:formatZoom(W.x)+this.left+"px",height:formatZoom(W.height)+"px",width:formatZoom(W.width)+"px"}},[this.type==="evaluating"?createVNode("span",{class:styles.after},[createVNode("span",{class:styles.img},null),createVNode("span",{class:styles.font},[W.score])]):null]):createVNode("span",null,null)))?j:{default:()=>[j]}),F&&createVNode("div",{class:["dotWrap",styles.restMeasure],style:F.staveBox},[createVNode("div",{class:"dot"},[U])])])}});class Cursor{constructor(D){Ge(this,"img");Ge(this,"x");Ge(this,"y");Ge(this,"width");Ge(this,"height");Ge(this,"src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAABCAYAAAASC7TOAAAAAXNSR0IArs4c6QAAABdJREFUGFdj3Pp5c0Ptm2oGdNAs0soAAHslBd3n2kNUAAAAAElFTkSuQmCC");this.x=D.x,this.y=D.y,this.width=D.w,this.height=D.h,this.img=document.createElement("img"),this.img.src=this.src,this.img.style.position="absolute",this.img.style.zIndex="-1",this.setValue()}reset(){var B,R;const D=(R=(B=state$2.times)==null?void 0:B[0])==null?void 0:R.cursorBox;D&&this.setPosition(D)}show(){this.img.style.display=""}hide(){this.img.style.display="none"}setPosition({x:D,y:B,w:R,h:F}){this.x=D,this.y=B,this.width=R,this.height=F,this.setValue()}setValue(){this.img.style.left=this.x+"px",this.img.style.top=this.y+"px",this.img.style.width=this.width+"px",this.img.style.height=this.height+"px",this.show()}}const rendered=ref(!1),MusicSheet=defineComponent({name:"music-score",props:{isSoundEffect:{type:Boolean,default:!1},score:{type:String,default:""},showPartNames:{type:Boolean,default:!1},opotions:{type:Object,default:()=>{}},EngravingRules:{type:Object,default:()=>{}},showSection:{type:Boolean,default:!0}},emits:["rerender","startRender","renderError","loaddingEnd"],setup(j,{emit:D,expose:B}){const R=async ne=>{var ue;event$1.off("section-click",noteClick),D("startRender");const oe=await request$1.get(ne);if(W.value){let ce=document.createElement("div");ce.innerHTML=oe,(ue=W.value)==null||ue.appendChild(ce.firstElementChild);let fe=document.querySelector("#osmdSvgPage1");const ae=document.getElementById("svgContainer");let he=fe==null?void 0:fe.getAttribute("width"),ve=fe==null?void 0:fe.getAttribute("height");if(he=isNaN(Number(he))?0:Number(he),ve=isNaN(Number(ve))?0:Number(ve),he&&ve){let de=ve/he,se=(ae==null?void 0:ae.offsetWidth)||document.body.clientWidth;state$2.zoom=se/he,fe==null||fe.setAttribute("width",se),fe==null||fe.setAttribute("height",se*de+"")}D("loaddingEnd")}},F=async ne=>{var ue,ce,fe,ae,he,ve,de,se,ge,be,le,pe,Se,Ae,ye,Me,Ie;const oe=await request$1.get(ne);if(state$4.sett.scoreSize=((ue=oe==null?void 0:oe.osmd)==null?void 0:ue.scoreSize)||"middle",oe&&Array.isArray(oe.times)){for(let xe=0;xe<oe.times.length;xe++){const me=oe.times[xe];(ce=me==null?void 0:me.svgElelent)!=null&&ce.bbox&&(me.svgElelent.bbox.x*=state$2.zoom,me.svgElelent.bbox.y*=state$2.zoom,me.svgElelent.bbox.w*=state$2.zoom,me.svgElelent.bbox.h*=state$2.zoom),(ve=(he=(ae=(fe=me.noteElement)==null?void 0:fe.sourceMeasure)==null?void 0:ae.verticalMeasureList)==null?void 0:he[0])!=null&&ve.boundingBox&&(me.noteElement.sourceMeasure.verticalMeasureList[0].boundingBox.absolutePosition.x*=state$2.zoom,me.noteElement.sourceMeasure.verticalMeasureList[0].boundingBox.absolutePosition.y*=state$2.zoom,me.noteElement.sourceMeasure.verticalMeasureList[0].boundingBox.size.width*=state$2.zoom,me.noteElement.sourceMeasure.verticalMeasureList[0].boundingBox.size.height*=state$2.zoom),(be=(ge=(se=(de=me.noteElement)==null?void 0:de.sourceMeasure)==null?void 0:se.verticalMeasureList)==null?void 0:ge[0])!=null&&be.stave&&(me.noteElement.sourceMeasure.verticalMeasureList[0].stave.x*=state$2.zoom,me.noteElement.sourceMeasure.verticalMeasureList[0].stave.y*=state$2.zoom,me.noteElement.sourceMeasure.verticalMeasureList[0].stave.width*=state$2.zoom,me.noteElement.sourceMeasure.verticalMeasureList[0].stave.height*=state$2.zoom,me.noteElement.sourceMeasure.verticalMeasureList[0].stave.start_x*=state$2.zoom,me.noteElement.sourceMeasure.verticalMeasureList[0].stave.end_x*=state$2.zoom),(le=me==null?void 0:me.cursorBox)!=null&&le.move&&(me.cursorBox.x*=state$2.zoom,me.cursorBox.y=me.cursorBox.y*state$2.zoom+10,me.cursorBox.w*=state$2.zoom,me.cursorBox.h*=state$2.zoom)}state$2.times=oe.times,(Ae=(Se=(pe=state$2.times)==null?void 0:pe[0])==null?void 0:Se.cursorBox)!=null&&Ae.move&&(oe.osmd.cursor=new Cursor({...(Me=(ye=state$2.times)==null?void 0:ye[0])==null?void 0:Me.cursorBox}),(Ie=W.value)==null||Ie.appendChild(oe.osmd.cursor.img)),state$2.renderType="cache",D("rerender",oe.osmd),state.isFirstPlay=!1,event$1.on("section-click",noteClick)}},{EngravingRules:U,opotions:Y,showPartNames:q,score:X}=toRefs(j),W=ref();let K=ref();const G=()=>{event$1.off("section-click",noteClick),D("startRender"),K.value=useOsmd(W,{...Y.value,drawPartNames:q.value},U.value).value,K.value&&(useEngravingRules(K.value,U.value),state.isFirstPlay=!1,event$1.on("section-click",noteClick))},Z=async ne=>{await R(ne.svg),F(ne.json)};onMounted(async()=>{var oe,ue,ce,fe,ae,he,ve,de,se;if(rendered.value)return;if(state$4.sett.type==="staff"&&!((ue=(oe=state$2)==null?void 0:oe.activeDetail)!=null&&ue.musicSvg)||state$4.sett.type==="jianpu"&&state$4.sett.keySignature&&!((fe=(ce=state$2)==null?void 0:ce.activeDetail)!=null&&fe.musicFirstSvg)||state$4.sett.type==="jianpu"&&!state$4.sett.keySignature&&!((he=(ae=state$2)==null?void 0:ae.activeDetail)!=null&&he.musicJianSvg)){G();return}let ne=null;try{state$4.sett.type==="staff"&&((ve=state$2.activeDetail)!=null&&ve.musicSvg)?ne=JSON.parse(state$2.activeDetail.musicSvg):state$4.sett.keySignature&&((de=state$2.activeDetail)!=null&&de.musicFirstSvg)?ne=JSON.parse(state$2.activeDetail.musicFirstSvg):(se=state$2.activeDetail)!=null&&se.musicJianSvg&&(ne=JSON.parse(state$2.activeDetail.musicJianSvg))}catch(ge){console.error(ge),state$2.renderType="native"}ne&&!j.isSoundEffect?Z(ne):G()}),onUnmounted(()=>{event$1.off("section-click",noteClick)}),watch([X,K],async()=>{if(K&&K.value&&X.value)try{D("startRender"),await useOsmdLoader(K.value,X.value),D("rerender",K.value),event$1.emit("loaded"),re()}catch(ne){console.error(ne),D("renderError")}},{immediate:!0});const Q=async({score:ne}={})=>{const oe=ne||X.value;Toast("加载中,请稍后..."),setTimeout(async()=>{if(K&&K.value&&oe){await K.value.clear(),G();try{state$2.section=[],state$2.sectionStatus=!1,await useOsmdLoader(K.value,oe),D("rerender",K.value),event$1.emit("loaded"),re()}catch(ue){console.error(ue),D("renderError")}}},100)},te=async()=>{var ne;await((ne=K.value)==null?void 0:ne.render())},re=()=>{var ue,ce;const ne=Array.from(W.value.querySelectorAll(".staffline")),oe=4;for(let fe=0,ae=ne.length;fe<ae;fe++){const he=ne[fe],ve=he.getBBox(),de=ve.y+ve.height/2,se=Array.from(he.querySelectorAll(".vf-measure")),ge=Array.from(he.querySelectorAll(".vf-curve")),be=Array.from(he.querySelectorAll(".vf-measure > .vf-voices")),le=Array.from(he.querySelectorAll(".vf-measure > .vf-beams")),pe=Array.from(he.querySelectorAll(".vf-ties")),Se=Array.from(he.querySelectorAll(".vf-line")),Ae=Array.from(he.querySelectorAll(".vf-measure > .vf-stave text"));Array.from(he.querySelectorAll(".vf-measure > .vf-stave rect[fill=none]"));const ye=Array.from(he.querySelectorAll(".vf-measure .vf-staveSection")),Me=["To Coda","D.S. al Coda","Coda"];Ae.filter(Te=>Me.includes(Te.textContent||"")).forEach(Te=>{le.forEach(Ne=>{var Ce;const Ee=ie(Te,Ne),De=Te==null?void 0:Te.previousSibling;if(Ee.isCollision){const Pe=Number(Te.getAttribute("y"))-(Ee.b1-Ee.t2)-oe+"";Te.setAttribute("y",Pe),De&&De.getAttribute("stroke-width")==="0.3"&&De.getAttribute("stroke")==="none"&&(((Ce=De.getAttribute("d"))==null?void 0:Ce.length)||0)>3e3&&(De.style.transform=`translateY(${-(Ee.b1-Ee.t2+oe)}px)`)}}),be.forEach(Ne=>{var Ce;const Ee=ie(Te,Ne),De=Te==null?void 0:Te.previousSibling;if(Ee.isCollision){const Pe=Number(Te.getAttribute("y"))-(Ee.b1-Ee.t2)-oe+"";Te.setAttribute("y",Pe),De&&De.getAttribute("stroke-width")==="0.3"&&De.getAttribute("stroke")==="none"&&(((Ce=De.getAttribute("d"))==null?void 0:Ce.length)||0)>3e3&&(De.style.transform=`translateY(${-(Ee.b1-Ee.t2+oe)}px)`)}})}),ye.forEach(Te=>{let Ne=0;[...ge,...pe,...be].forEach(Ee=>{const De=ie(Te,Ee);De.isCollision&&(Ne=Math.min(Ne,De.t2-De.b1-oe))}),Te.style.transform=`translateY(${Ne}px)`});let Ie=Array.from(he.querySelectorAll(".vf-text > text")).filter(Te=>Te.getBBox().y<de);for(let Te=0;Te<Ie.length;Te++){const Ne=Ie[Te];for(let Ee=0;Ee<Ie.length;Ee++){if(Ne.parentNode===Ie[Ee].parentNode)continue;if(ie(Ne,Ie[Ee]).isCollision&&Ne.textContent===Ie[Ee].textContent){(ue=Ie[Ee].parentNode)==null||ue.removeChild(Ie[Ee]);continue}}}Ie=Array.from(he.querySelectorAll(".vf-text > text")).filter(Te=>Te.getBBox().y<de);let xe=0,me=[];Ie.forEach(Te=>{const Ne=Te.getBBox();Ne.y<de&&(xe=Math.max(xe,Ne.y+Ne.height),me.push(Te))}),xe!==0&&me.length>1&&me.forEach(Te=>{Te.setAttribute("y",xe+"")}),Ie.forEach(Te=>{[...ge,...se,...Se].forEach(Ne=>{let Ee=ie(Te,Ne);if(Ee.isCollision&&Ee.b1<Ee.b2&&Ee.t1<Ee.b2-(Ee.b2-Ee.t2)/2){const De=Number(Te.getAttribute("y"))-(Ee.b1-Ee.t2)-oe+"";Te.setAttribute("y",De)}})}),Ie.forEach(Te=>{Ie.forEach(Ne=>{if(Te.parentNode!==Ne.parentNode&&!["marcato","legato"].includes(Te.textContent))if(["marcato","legato"].includes(Ne.textContent)){if(ie(Te,Ne,30,30).isCollision){const De=Te.getBBox();Ne.setAttribute("x",De.x+De.width+5+""),Ne.setAttribute("y",De.y+De.height-5+"")}}else{const Ee=ie(Te,Ne);if(Ee.isCollision){const De=Number(Te.getAttribute("y")),Ce=Ee.b2-Ee.t2<24?24:Ee.b2-Ee.t2;Ne.setAttribute("y",De-Ce-.5+"")}}})});const we=Array.from(he.querySelectorAll(".vf-text > text")).filter(Te=>Te.getBBox().y>de),_e=Array.from(he.querySelectorAll(".vf-line")).filter(Te=>Te.getBBox().y>de);for(let Te=0;Te<we.length;Te++){const Ne=we[Te];for(let Ee=0;Ee<we.length;Ee++){if(Ne.parentNode===we[Ee].parentNode)continue;if(ie(Ne,we[Ee]).isCollision&&Ne.textContent===we[Ee].textContent){(ce=we[Ee].parentNode)==null||ce.removeChild(we[Ee]);continue}}}we.forEach(Te=>{[...se].forEach(Ne=>{let Ee=ie(Te,Ne);Ee.isCollision&&Te.setAttribute("y",Ee.b2+Math.abs(Ee.t1-Number(Te.getAttribute("y")))+"")})}),_e.forEach(Te=>{var Ee;const Ne=[];if((Ee=Te.nextElementSibling)!=null&&Ee.classList.contains("vf-line")&&we.forEach(De=>{let Ce=ie(Te,De,20,20);Ce.isCollision&&Ne.push({text:De,result:Ce})}),Ne.length===1){const De=Ne[0].result,Ce=Ne[0].text;De.x2+De.w2<De.x1||De.x2>De.x1+De.w1?Math.abs(De.y2-De.y1)>10&&Ce.setAttribute("y",De.y1+De.h2/2+""):Math.abs(De.x2-De.x1)<Math.abs(De.x2+De.w2-De.x1-De.w1)?(Ce.setAttribute("x",De.x1-De.w2-5+""),Math.abs(De.y2-De.y1)>10&&Ce.setAttribute("y",De.y1+De.h2/2+"")):(Ce.setAttribute("x",De.x1+De.w1+5+""),Math.abs(De.y2-De.y1)>10&&Ce.setAttribute("y",De.y1+De.h2/2+""))}else if(Ne.length===2){const De=Ne[0].result,Ce=Ne[0].text,Pe=Ne[1].result,ze=Ne[1].text;Ce.setAttribute("x",De.x1-De.w2-5+""),Math.abs(De.y2-De.y1)>10&&Ce.setAttribute("y",De.y1+De.h2/2+""),ze.setAttribute("x",Pe.x1+Pe.w1+5+""),Math.abs(Pe.y2-Pe.y1)>10&&ze.setAttribute("y",Pe.y1+Pe.h2/2+"")}}),we.forEach(Te=>{we.forEach(Ne=>{if(Te.parentNode!==Ne.parentNode&&!["marcato","legato","cresc.","Cantabile"].includes(Te.textContent))if(["marcato","legato","cresc.","Cantabile"].includes(Ne.textContent)){if(ie(Te,Ne,30,30).isCollision){const De=Te.getBBox();Ne.setAttribute("x",De.x+De.width+5+""),Ne.setAttribute("y",De.y+De.height-5+"")}}else{const Ee=ie(Te,Ne);Ee.isCollision&&Ne.setAttribute("y",Ee.y1+Ee.h1+Ee.h2+"")}})})}setTimeout(()=>J())},J=()=>{if(!W.value)return;const ne=W.value.querySelector("svg");if(!ne)return;const oe=ne.getBBox();let ue=Array.from(W.value.querySelectorAll(".vf-stavetempo")).reduce((ve,de)=>{var se;return ve.find(ge=>ge.outerHTML===de.outerHTML)?(se=de==null?void 0:de.parentNode)==null||se.removeChild(de):ve.push(de),ve},[]);const ce=Array.from(W.value.querySelectorAll(".staffline")),fe=Array.from(W.value.querySelectorAll(".staffline > .vf-measure")),ae=Array.from(W.value.querySelectorAll(".staffline > .vf-text")),he=Array.from(W.value.querySelectorAll(".staffline > .vf-curve"));ue.forEach(ve=>{let de=0;[...fe,...ae,...he].forEach(be=>{const le=ie(ve,be);le.isCollision&&(le.b1<le.b2||le.r1>le.l2||le.l1<le.r2)&&(de=Math.min(de,le.t2-le.b1))}),de!==0&&(ve.style.transform=`translateY(${de}px)`);const se=ve.getBBox(),ge=(se.x+se.width)*.7-Number(ne.getAttribute("width"));ge>0&&([...ce,...ue].forEach(be=>{if(ve!=be){const le=ie(ve,be,Math.abs(ge),Math.abs(de));le.isCollision&&(de=le.t2-le.b1)}}),ve.style.transform=`translate(-${ge/.7}px,${de}px)`)}),oe.y<0&&ne.setAttribute("height",Number(ne.getAttribute("height"))-oe.y+10+"")},ie=(ne,oe,ue=0,ce=0)=>{const fe=ne.getBBox(),ae=oe.getBBox();let he=fe.y-ce,ve=fe.x-ue,de=fe.x+fe.width+ue,se=fe.y+fe.height+ce,ge=ae.y,be=ae.x,le=ae.x+ae.width,pe=ae.y+ae.height;return se<ge||ve>le||he>pe||de<be?{isCollision:!1,t1:he,l1:ve,r1:de,b1:se,t2:ge,l2:be,r2:le,b2:pe,x1:fe.x,y1:fe.y,x2:ae.x,y2:ae.y,h1:fe.height,h2:ae.height,w1:fe.width,w2:ae.width}:{isCollision:!0,t1:he,l1:ve,r1:de,b1:se,t2:ge,l2:be,r2:le,b2:pe,x1:fe.x,y1:fe.y,x2:ae.x,y2:ae.y,h1:fe.height,h2:ae.height,w1:fe.width,w2:ae.width}};return B({setRender:Q,reRender:te}),()=>createVNode("div",{id:"svgContainer",class:styles$h.container,style:{position:"relative"}},[createVNode("div",{ref:W},null),j.showSection&&createVNode(Section,{style:{position:"absolute",width:"100%",height:"100%",zIndex:1,top:0,left:0}},null)])}});export{MusicList as $,setCurrentTime as A,ButtonIcon as B,Canvg as C,Dialog as D,Empty as E,ended as F,Grid as G,permissionPopup as H,refreshIndex as I,iconColse as J,typeById as K,FingeringComponent as L,MusicSheet as M,formatId as N,getTypes as O,formatFixedKey as P,useFingeringSrc as Q,getImageSize as R,Section as S,useDetail as T,event as U,useUser as V,useSuspendPlay as W,Buttons as X,modelType as Y,SoundEffect as Z,HelperPopup as _,GridItem as a,useFee as a0,changeSpeed as a1,setAudioInit as a2,restPromptMain as a3,useFingering as a4,stopTick as a5,SwipeItem as a6,Swipe as a7,callInterceptor as a8,Tabs as a9,Tab as aa,getTvIconUrl as ab,getEnvHostname as ac,score as ad,Popover as ae,Player as af,changeAllMode as ag,resetPlayStatus as ah,getFixTime as ai,setCaptureMode as aj,clearIntervalTimeline as ak,getNoteByMeasuresSlursStart as al,getLeveByScore as am,Switch as an,eventemitter3Exports as ao,noteClick as ap,Icons as aq,sectionChange as ar,Speed as as,setPrefix as at,useReload as au,relationships as av,getVoicePartInfo as aw,MultipleAudio as ax,idIsInClassIds as ay,appoggianceFormate as az,useSpecialShapedScreen as b,getParentNote as c,getCustomInfo as d,getBoundingBoxByverticalNote as e,formatXML as f,getAllNodes as g,getLeveByScoreMeasure as h,event$1 as i,styles$h as j,index as k,startRun as l,useXml as m,svgtopng as n,onlyVisible as o,changeMode as p,getDuration as q,useClientType as r,state as s,useWiredHeadsetCheck as t,useOriginSearch as u,styles$e as v,evaluatingRef as w,startButtonShow as x,iconEvaluatingStart as y,setPlayState as z};